Add :distant-foreground to faces.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3c334c14
JD
12013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2
3 * faces.el (face-x-resources): Add :distant-foreground.
4 (region): Use :distant-foreground for gtk and ns.
5
9bc236c8
TH
62013-11-01 Tassilo Horn <tsdh@gnu.org>
7
8 Allow multiple bibliographies when BibLaTeX is used rathen than
9 BibTeX.
10 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
11 (reftex-locate-bibliography-files): Us it.
12
d14c81ee
CB
132013-11-01 Claudio Bley <claudio.bley@googlemail.com>
14
0e7690de
CB
15 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16 allow comments in pbm files.
17
d14c81ee
CB
18 * term/w32-win.el (dynamic-library-alist): Support newer versions
19 of libjpeg starting with v7: look only for the DLL from the
20 version against which Emacs was built.
ac1bf374 21 Support versions of libpng beyond 1.4.x.
019c8218 22 Support libtiff v4.x.
d14c81ee 23
983d0df5
BB
242013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
25
26 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
27 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
28 Add property :safe.
29 (ruby-deep-arglist): Add property :type.
30
47f58d85
GM
312013-10-31 Glenn Morris <rgm@gnu.org>
32
33 * Makefile.in (custom-deps, finder-data): No need to setq the target
34 variables, we are in the right directory and the defaults work fine.
35
4f85b479
GM
362013-10-30 Glenn Morris <rgm@gnu.org>
37
ca7dd4cd
GM
38 * Makefile.in (autoloads): Do not use abs_lisp.
39
4f85b479
GM
40 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
41 `newline' does not respect `standard-output', so use `princ'.
42
cf59e41c
AA
432013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
44
45 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
46 * buff-menu.el (Buffer-menu--unmark): New function.
47 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
48
74cf04fb
GM
492013-10-30 Glenn Morris <rgm@gnu.org>
50
b040b60e
GM
51 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
52
f53d3815
GM
53 * emacs-lisp/package.el (lm-homepage): Declare.
54
5413d873
GM
55 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
56 Fix doc typos.
57
cecedb36
GM
58 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
59
74cf04fb
GM
60 * Makefile.in (finder-data, autoloads, update-subdirs)
61 (compile-main, compile-clean, compile-always, bootstrap-clean):
62 Check return value of cd.
63 (compile-calc): Remove.
64
195ee2f0
SM
652013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
66
ae4002ce
SM
67 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
68
69 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
70 (byte-compile-and-folded): New function.
71 (=, <, >, <=, >=): Use it.
72
73 * dos-w32.el (minibuffer-history-case-insensitive-variables)
74 (path-separator, null-device, buffer-file-coding-system)
75 (lpr-headers-switches): Check system-type before modifying them.
76 (find-buffer-file-type-coding-system): Mark obsolete.
77 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
78 find-file-not-found-set-buffer-file-coding-system.
79 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
80 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
81 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
82 (w32-direct-print-region-helper, w32-direct-print-region-function)
83 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
84 * startup.el (normal-top-level-add-subdirs-to-load-path):
85 * ps-print.el (ps-print-region-function):
86 * lpr.el (print-region-function): Use new name.
87
53b39e89
SM
88 * subr.el (custom-declare-variable-early): Remove function.
89 (custom-declare-variable-list): Remove var.
90 (error, user-error): Remove `while' loop.
91 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
92 (user-emacs-directory-warning, locate-user-emacs-file):
93 Move to files.el.
94 * simple.el (read-quoted-char-radix, read-quoted-char):
95 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
96 Move from subr.el.
97 * custom.el (custom-declare-variable-list): Don't process
98 custom-declare-variable-list.
99
195ee2f0
SM
100 * progmodes/python.el (python-shell-get-buffer): New function.
101 (python-shell-get-process): Use it.
102 (python-shell-send-string): Always use utf-8 and add a cookie to tell
103 Python which encoding was used. Don't split-string since we only care
104 about the first line. Return the temp-file, if applicable.
105 (python-shell-send-region): Tell compile.el how to turn locations in
106 the temp-file into locations in the source buffer.
107
7e3561ee
SM
1082013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
109
4c9797cb
SM
110 * subr.el (undefined): Add missing behavior from the C code for
111 unbound keys.
112
3472b6c6
SM
113 * rect.el: Use lexical-binding. Add new rectangular region support.
114 (rectangle-mark): New command.
115 (rectangle--region): New var.
116 (deactivate-mark-hook): Reset rectangle--region.
117 (rectangle--extract-region, rectangle--insert-for-yank)
118 (rectangle--highlight-for-redisplay)
119 (rectangle--unhighlight-for-redisplay): New functions.
120 (region-extract-function, redisplay-unhighlight-region-function)
121 (redisplay-highlight-region-function): Use them to handle
122 rectangular region.
123 * simple.el (region-extract-function): New var.
124 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
125 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
126 (kill-region): Replace obsolete `yank-handler' arg with `region'.
127 (copy-region-as-kill, kill-ring-save): Add `region' argument.
128 (redisplay-unhighlight-region-function)
129 (redisplay-highlight-region-function): New vars.
130 (redisplay--update-region-highlight): New function.
131 (pre-redisplay-function): Use it.
132 (exchange-point-and-mark): Don't deactivate the mark before
133 reactivate-it anyway.
134 * comint.el (comint-kill-region): Remove yank-handler argument.
135 * delsel.el (delete-backward-char, backward-delete-char-untabify)
136 (delete-char): Remove property, since it's now part of their
137 default behavior.
138 (self-insert-iso): Remove property since this command doesn't exist.
139
7e3561ee
SM
140 * emacs-lisp/package.el (package--download-one-archive)
141 (describe-package-1): Don't query the user about final newline.
142
b9bef71f
DC
1432013-10-29 Daniel Colascione <dancol@dancol.org>
144
145 * net/tramp.el (tramp-methods): Document new functionality.
146 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
147 tramp-hostname-checker if method provides one instead of scanning
148 argument list for "%h" to decide hostname acceptability.
149
4efc33f0
MA
1502013-10-28 Michael Albinus <michael.albinus@gmx.de>
151
152 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
153 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
154 Handle COPY-CONTENTS. (Bug#15737)
155
ed42a877
DU
1562013-10-28 Daiki Ueno <ueno@gnu.org>
157
158 * epa-file.el
7e3561ee
SM
159 (epa-file-cache-passphrase-for-symmetric-encryption):
160 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 161
18c9f8a2
XF
1622013-10-27 Xue Fuqiao <xfq.free@gmail.com>
163
7a4bc7be
XF
164 * image.el (defimage):
165 (image-load-path): Doc fixes.
18c9f8a2 166
b1e8e010
AM
1672013-10-27 Alan Mackenzie <acm@muc.de>
168
169 Indent statements in macros following "##" correctly.
7e3561ee
SM
170 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
171 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 172
73d40d1e 1732013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
174
175 * linum.el (linum-update-window): Fix boundary test (bug#13446).
176
c8c605ac
DG
1772013-10-27 Dmitry Gutov <dgutov@yandex.ru>
178
179 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
180 after `=' is probably a new expression.
181
ca7e59d4
RS
1822013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
183
184 * man.el (man-imenu-title): New option.
185 (Man-mode-map): Add menu. (Bug#15722)
186 (Man-mode): Add imenu to menu.
187
bae91342
DG
1882013-10-26 Dmitry Gutov <dgutov@yandex.ru>
189
190 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
191 specific in what the first arg can be: a non-keyword word,
192 string/regexp/percent literal opener, opening paren, or unary
193 operator followed directly by word.
194
eb89dc14
SM
1952013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
198 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
199 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
200 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
201 Remove vars, they do not apply any more.
202 (prolog-mode-abbrev-table): Remove redundant declaration.
203 (prolog-upper-case-string, prolog-lower-case-string): Remove.
204 (prolog-use-smie): Remove.
205 (prolog-smie-rules): Add indentation rule for the if-then-else layout
206 supported by prolog-electric-if-then-else-flag.
207 (prolog-mode-variables, prolog-menu): Use setq-local.
208 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
209 Remove binding to `Backspace' since this key doesn't exist anyway.
210 Remove bindings for electric self-inserting keys.
211 (prog-mode): Assume it's defined.
212 (prolog-post-self-insert): New function.
213 (prolog-mode): Use it.
214 (prolog-indent-line, prolog-indent-level)
215 (prolog-find-indent-of-matching-paren)
216 (prolog-indentation-level-of-line, prolog-goto-comment-column)
217 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
218 (prolog-goto-next-paren, prolog-in-string-or-comment)
219 (prolog-tokenize, prolog-inside-mline-comment)
220 (prolog-find-start-of-mline-comment): Remove functions.
221 (prolog-find-unmatched-paren, prolog-clause-end)
222 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
223 (prolog-electric--if-then-else): Rename from
224 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
225 (prolog-tokenize-searchkey): Remove const.
226 (prolog-clause-info): Use forward-sexp.
227 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
228 (prolog-electric-if-then-else): Remove commands.
229 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
230 for use in post-self-insert-hook.
231 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
232 for use in post-self-insert-hook.
233 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
234 for use in post-self-insert-hook.
235 (prolog-electric--underscore): Rename from prolog-electric--underscore;
236 adapt it for use in post-self-insert-hook.
237
3dab0a83
MA
2382013-10-25 Michael Albinus <michael.albinus@gmx.de>
239
240 * emacs-lisp/ert.el (ert-run-tests-interactively):
241 Use `completing-read'. (Bug#9756)
242
fbfd0e1d
EZ
2432013-10-25 Eli Zaretskii <eliz@gnu.org>
244
245 * simple.el (line-move): Call line-move-1 instead of
246 line-move-visual when the current window hscroll is zero, but
247 temporary-goal-column indicates we will need to hscroll as result
248 of the movement. (Bug#15712)
249
963ce636
DG
2502013-10-25 Dmitry Gutov <dgutov@yandex.ru>
251
252 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
253 capitalization. Use :visible instead of :active.
254 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
255 commands that are used with SMIE.
256 (ruby-do-end-to-brace): Insert space after `{'.
257
a0be396a
JA
2582013-10-25 John Anthony <john@jo.hnanthony.com>
259
f73754c9
JA
260 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
261
262 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 263
f5bf77df
GM
2642013-10-25 Glenn Morris <rgm@gnu.org>
265
266 * vc/vc.el (vc-print-log): Don't use a working revision unless
267 one was explicitly specified. (Bug#15322)
268
37241f62
SM
2692013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * subr.el (add-to-list): Preserve return value in compiler-macro
272 (bug#15692).
273
6408a65d
RS
2742013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
275
276 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
277 result. Ask user to retry using '-all' flag. (Bug#15701)
278
71e3276b
SM
2792013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * emacs-lisp/smie.el: New smie-config system.
282 (smie-config): New defcustom.
283 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
284 (smie-config-guess, smie-config-save): New commands.
285 (smie-config--mode-local, smie-config--buffer-local)
286 (smie-config--trace, smie-config--modefuns): New vars.
287 (smie-config--advice, smie-config--mode-hook)
288 (smie-config--setter, smie-config-local, smie-config--get-trace)
289 (smie-config--guess-value, smie-config--guess): New functions.
290 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
291 text properties. Treat "string fence" syntax like string syntax.
292
293 * progmodes/sh-script.el (sh-use-smie): Change default.
294 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
295 (sh-var-value): Simplify by CSE.
296 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
297 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
298 is used.
299 (sh-guess-basic-offset): Use cl-incf.
300 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
301
60db713e
HE
3022013-10-24 Helmut Eller <eller.helmut@gmail.com>
303
304 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
305 (bug#15699).
306
8b251df6
GM
3072013-10-24 Glenn Morris <rgm@gnu.org>
308
309 * Makefile.in (abs_top_srcdir): Remove.
310 (update-subdirs): Use relative path to update-subdirs.
311
6be0e22b
EZ
3122013-10-24 Eli Zaretskii <eliz@gnu.org>
313
314 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
315 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
316 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
317 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 318
50b5b857
MA
3192013-10-24 Michael Albinus <michael.albinus@gmx.de>
320
321 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
322 (ert-test-skipped): New error.
323 (ert-skip, ert-stats-skipped): New defuns.
324 (ert--skip-unless): New macro.
325 (ert-test-skipped): New struct.
326 (ert--run-test-debugger, ert-test-result-type-p)
327 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
328 (ert--stats-set-test-and-result, ert-char-for-test-result)
329 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 330 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 331 Handle skipped tests. (Bug#9803)
50b5b857 332
6f317c2f
GM
3332013-10-24 Glenn Morris <rgm@gnu.org>
334
e43817c1
GM
335 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
336
6f317c2f
GM
337 * Makefile.in (abs_top_srcdir): New, set by configure.
338 (update-subdirs): Correct build-aux location.
339
369bbf71
DG
3402013-10-24 Dmitry Gutov <dgutov@yandex.ru>
341
8297b2cf
DG
342 * vc/vc.el (vc-print-root-log): Always set `default-directory'
343 value, whether we could auto-deduce `backend', or not.
344
369bbf71
DG
345 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
346 with parameters" example. Simplify the "is it block or is it
347 hash" check, but also make it more thorough.
348
d5f1282f
MF
3492013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
350
351 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
352
bc4aaa31
SM
3532013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
354
03d44565
SM
355 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
356 { if it is hanging.
357
bc4aaa31
SM
358 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
359 :before ";".
360
f493ff19
JB
3612013-10-23 Jed Brown <jed@59A2.org> (tiny change)
362
363 * progmodes/compile.el (compilation-directory-matcher)
364 (compilation-page-delimiter):
365 Support GNU Make-4.0 directory quoting. (Bug#15678)
366
c744a3b9
LL
3672013-10-23 Leo Liu <sdl.web@gmail.com>
368
369 * ido.el (ido-tidy): Handle read-only text.
370
b8e3b0a9
GM
3712013-10-23 Glenn Morris <rgm@gnu.org>
372
373 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
374 (emacs, compile, compile-always):
375 Quote entities that might contain whitespace.
376 (custom-deps, finder-data, autoloads): Use abs_lisp.
377 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
378 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
379 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
380
ee4282cd
DG
3812013-10-23 Dmitry Gutov <dgutov@yandex.ru>
382
bc4aaa31
SM
383 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
384 Use `following-char'.
7790a270 385
ee4282cd 3862013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
387
388 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
389 * progmodes/ruby-mode.el (ruby-smie-rules):
390 Remove corresponding workaround. Fix indentation rule of ";" so it
391 also applies when ";" is the parent.
392
d40a46d7
XF
3932013-10-22 Xue Fuqiao <xfq.free@gmail.com>
394
395 * frame.el (display-screens, display-pixel-height)
396 (display-pixel-width, display-mm-width, display-backing-store)
397 (display-save-under, display-planes, display-color-cells)
7790a270
SM
398 (display-visual-class, display-monitor-attributes-list):
399 Mention the optional ‘display’ argument in doc strings.
d40a46d7 400
a0f143c9
MG
4012013-10-22 Michael Gauland <mikelygee@amuri.net>
402
403 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
404 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
405
18cacc39
DG
4062013-10-21 Dmitry Gutov <dgutov@yandex.ru>
407
408 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
409 TODO. Add "." after " @ ".
410 (ruby-smie--at-dot-call): New function. Checks if point at method
411 call with explicit target.
412 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
413 to the method name tokens when it precedes them.
414 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
415 (ruby-smie-rules): Add rule for indentation before and after "."
416 token.
417
df74c4be
SM
4182013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
419
c6dab55f
SM
420 * textmodes/remember.el (remember-diary-extract-entries):
421 Avoid add-to-list.
422
df74c4be
SM
423 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
424 an instruction.
425
8c1ae481
DG
4262013-10-21 Dmitry Gutov <dgutov@yandex.ru>
427
cfef16c0
DG
428 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
429 (ruby-smie--implicit-semi-p): Add new operator chars.
430
8c1ae481
DG
431 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
432 `smie-down-list'.
433 (ruby-smie--args-separator-p): Check that there's no newline
434 between method call and its arguments.
435
87756ca9
AM
4362013-10-20 Alan Mackenzie <acm@muc.de>
437
438 Allow comma separated lists after Java "implements".
439
df74c4be
SM
440 * progmodes/cc-engine.el (c-backward-over-enum-header):
441 Parse commas.
87756ca9
AM
442 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
443 from a "disallowed" list in enum fontification.
444
c25f8957
JB
4452013-10-20 Johan Bockgård <bojohan@gnu.org>
446
df74c4be 447 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 448
c25f8957
JB
449 * progmodes/verilog-mode.el (verilog-mode): Don't set
450 comment-indent-function globally.
451
aca5fcdc
JD
4522013-10-20 Jan Djärv <jan.h.d@swipnet.se>
453
5f161884
JD
454 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
455 Move Info menu item creation to ns-win.el.
456
457 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
458 in menu bar.
459
aca5fcdc
JD
460 * menu-bar.el: Move GNUStep specific menus...
461
462 * term/ns-win.el (ns-initialize-window-system): ... to here.
463
914b7f98
SM
4642013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * simple.el (newline): Only run post-self-insert-hook when
467 called interactively.
468
846ffe77
JB
4692013-10-19 Johan Bockgård <bojohan@gnu.org>
470
471 * icomplete.el (icomplete-with-completion-tables): Add :version.
472
033f22dd
AM
4732013-10-19 Alan Mackenzie <acm@muc.de>
474
475 Fix fontification bugs with constructors and const.
476
477 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
478 CASE 2) Remove the check for the absence of a suffix construct
479 after a function declaration with only types (no identifiers) in
480 the parentheses. Also, accept a function declaration with just a
481 type inside the parentheses, if this type can be positively
482 recognised as such, or if a prefix keyword like "explicit" nails
483 down the construct as a declaration.
484
58ce0cfc
EZ
4852013-10-19 Eli Zaretskii <eliz@gnu.org>
486
487 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
488 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
489 the problem whereby selecting a menu item that leads to a
490 minibuffer prompt moves the cursor out of the minibuffer window,
491 making it hard to type at the prompt. Suggested by Stefan Monnier
492 <monnier@iro.umontreal.ca>.
493
50e28e7d
JD
4942013-10-19 Jan Djärv <jan.h.d@swipnet.se>
495
496 * menu-bar.el: Don't make Services menu.
497
7deed4bf
RS
4982013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
499
500 * ffap.el: Handle "/usr/include/c++/<version>" directories.
501 (ffap-alist): Use ffap-c++-mode for c++-mode.
502 (ffap-c++-path): New variable.
503 (ffap-c++-mode): New function.
504
7bcb455b
JVJ
5052013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
506
507 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
508
f0ff1cd5
MA
5092013-10-18 Michael Albinus <michael.albinus@gmx.de>
510
511 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
512 introduced on 2013-09-08, which results in an infinite loop
513 requesting a password.
514
d64da4b7
GM
5152013-10-18 Glenn Morris <rgm@gnu.org>
516
517 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
518
ea89ff08
WS
5192013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
520
521 Sync with upstream verilog-mode revision 1a6ecec7.
522 * progmodes/verilog-mode.el (verilog-mode-version): Update.
523 (verilog-mode-release-date): Remove.
524 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
525 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
526 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
527 (verilog-auto-tieoff-ignore-regexp)
528 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
529 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
530 (verilog-signals-with, verilog-dir-cache-preserving)
531 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
532 Doc fixes.
533 (verilog-case-fold): New option, to control case folding in
534 regexp searches, bug597.
535 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
536 (verilog-string-match-fold, verilog-in-paren-count)
537 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
538 (verilog-at-close-struct-p): New functions.
539 (verilog-beg-block-re-ordered, verilog-extended-case-re)
540 (verilog-forward-sexp, verilog-set-auto-endcomments):
541 (verilog-leap-to-case-head): Handle "unique0" case.
542 (verilog-in-constraint-re): New constant.
543 (verilog-keywords, verilog-type-font-keywords):
544 Add some SystemVerilog 1800-2012 keywords.
545 (verilog-label-be): Remove unimplemented argument, bug669.
546 (verilog-batch-execute-func): When batch expanding clear
547 create-lockfiles to prevent spurious user locks when a file ends
548 up not changing.
549 (verilog-calculate-indent, verilog-calc-1)
550 (verilog-at-close-constraint-p, verilog-at-constraint-p)
551 (verilog-do-indent): Fix indentation of nested constraints
552 and structures.
553 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
554 (verilog-auto-inst-param): Use verilog-string-match-fold.
555 (verilog-read-inst-module-matcher):
556 Fix AUTOINST on gate primitives with #1.
557 (verilog-read-decls): Fix double-declaring user-defined typed signals.
558 Reads all user-defined typed variables.
559 (verilog-read-defines): Fix reading definitions inside comments, bug647.
560 (verilog-signals-matching-regexp)
561 (verilog-signals-not-matching-regexp, verilog-auto):
562 Respect verilog-case-fold.
563 (verilog-diff-report): Fix line count.
564 (verilog-auto-assign-modport): Remove unused local `modi'.
565 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
566 better handle multidimensional arrays.
567 Fix packed array ports misadding bit index in AUTOINST, bug637.
568 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
569 to not double-declare existing outputs and inputs, respectively.
570 (verilog-template-map): Bind U to verilog-sk-uvm-component.
571 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
572 (verilog-sk-uvm-component): New skeleton.
573 (verilog-submit-bug-report): Add verilog-case-fold,
574 remove verilog-mode-release-date.
575
ef566920
BR
5762013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
577
578 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
579 as before.
580
29df8a0b
RT
5812013-10-18 Reuben Thomas <rrt@sc3d.org>
582
583 * textmodes/remember.el (remember): set buffer-offer-save in
584 remember buffers (bug#13566).
585
04a19a79
DC
5862013-10-18 Daniel Colascione <dancol@dancol.org>
587
588 When evaluating forms in ielm, direct standard output to ielm
589 buffer. Add new ielm-return-for-effect command. Remove trailing
590 whitespace throughout.
591
592 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
593 (ielm-return-for-effect): New command.
594 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
595 (ielm-eval-input): Accept optional `for-effect' parameter.
596 Bind `standard-output' to stream we create using
04a19a79
DC
597 `ielm-standard-output-impl'. Suppress printing result when
598 `for-effect'.
599 (ielm-standard-output-impl): New function.
600 (inferior-emacs-lisp-mode): Explain new features in documentation.
601
4c1f03ef
MA
6022013-10-17 Michael Albinus <michael.albinus@gmx.de>
603
604 Code cleanup.
605
606 * net/tramp.el (tramp-debug-message): Do not check for connection
607 buffer.
608 (tramp-message): Use "vector" connection property.
609
610 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
611 (tramp-equal-remote, tramp-eshell-directory-change)
612 * net/tramp-adb.el (tramp-adb-handle-copy-file)
613 (tramp-adb-handle-rename-file)
614 * net/tramp-cmds.el (tramp-list-remote-buffers)
615 (tramp-cleanup-connection, tramp-cleanup-this-connection)
616 * net/tramp-compat.el (tramp-compat-process-running-p)
617 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
618 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
619 (tramp-gvfs-handle-rename-file)
620 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
621 (tramp-set-file-uid-gid)
622 * net/tramp-smb.el (tramp-smb-handle-copy-file)
623 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
624 of `file-remote-p'.
625
626 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
627 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
628 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
629 (tramp-gw-open-network-stream): Suppress unrelated traces.
630
631 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
632 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
633 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
634 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
635 connection property.
636
637 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 638 persistency file.
4c1f03ef
MA
639
640 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
641 Refactor common code. Improve debug message.
642 (tramp-maybe-open-connection)
643 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
644 connection buffer too early.
645
646 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
647 from `tramp-smb-actions-with-acl'.
648 (tramp-smb-actions-set-acl): New defconst.
649 (tramp-smb-handle-copy-directory)
650 (tramp-smb-action-get-acl): New defun, renamed from
651 `tramp-smb-action-with-acl'.
652 (tramp-smb-action-set-acl): New defun.
653 (tramp-smb-handle-set-file-acl): Rewrite.
654
642eb8b6
GM
6552013-10-17 Glenn Morris <rgm@gnu.org>
656
657 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
658
85527ff3
SM
6592013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
660
921c1d62
SM
661 * skeleton.el (skeleton-newline): Remove.
662 (skeleton-internal-1): Use (insert "\n") instead.
663
e333fb10
SM
664 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
665 let-bindings.
666
85527ff3
SM
667 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
668 forward-sexp-function while we redo its job (bug#15613).
669
c8722a97
JB
6702013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
671
672 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
673 represented by lists.
674
7a550bbb
GM
6752013-10-16 Glenn Morris <rgm@gnu.org>
676
677 * tmm.el (tmm--history): New dynamic variable.
678 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
679
f19da8ad
MA
6802013-10-16 Michael Albinus <michael.albinus@gmx.de>
681
682 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
683 (tramp-smb-errors): Add error messages.
684 (tramp-smb-actions-with-acl): New defconst.
685 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
686 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
687 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
688 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
689 (tramp-smb-get-stat-capability): Fix tests.
690
a24b9961
DK
6912013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
692
693 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
694 (bug#15580).
695
62ad85e6
GM
6962013-10-16 Glenn Morris <rgm@gnu.org>
697
0283d6b0
GM
698 * ansi-color.el (ansi-color-drop-regexp):
699 Add 1J, 1K, 2K. (Bug#15617)
700
012e2f9f
GM
701 * files.el (hack-local-variables--warned-lexical): New.
702 (hack-local-variables):
703 Warn about misplaced lexical-binding. (Bug#15616)
704
62ad85e6
GM
705 * net/eww.el (eww-render): Always set eww-current-url,
706 and update header line. (Bug#15622)
707 (eww-display-html): ... Rather than just doing it here.
708
6456c0ea
EZ
7092013-10-15 Eli Zaretskii <eliz@gnu.org>
710
711 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
712 menu navigations commands.
713
c2de5588
DK
7142013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
715
716 * progmodes/subword.el (subword-capitalize): Be careful when
717 the search for [[:alpha:]] fails (bug#15580).
718
ccd4a783
EZ
7192013-10-14 Eli Zaretskii <eliz@gnu.org>
720
721 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
722 to commands that scroll the menu.
723
1eda1d8d
DG
7242013-10-14 Dmitry Gutov <dgutov@yandex.ru>
725
c2de5588
DK
726 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
727 Handle methods ending with `?' and `!'.
1eda1d8d 728
e70181b8
AM
7292013-10-14 Akinori MUSHA <knu@iDaemons.org>
730
731 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
732 `japanese-cp932' to `cp932' to fix the problem where saving a
733 source file written in Shift_JIS twice would end up having
734 `coding: japanese-cp932' which Ruby could not recognize.
735 (ruby-mode-set-encoding): Add support for encodings mapped to nil
736 in `ruby-encoding-map'.
737 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
738 doesn't need to be explicitly declared in magic comment.
739 (ruby-encoding-map): Add type declaration for better customize UI.
740
9148ee92
GM
7412013-10-13 Glenn Morris <rgm@gnu.org>
742
a5d38e34
GM
743 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
744 Occur buffers are read-only. http://bugs.debian.org/720775
745
9148ee92
GM
746 * emacs-lisp/authors.el (authors-fixed-entries):
747 Comment out old alpha stuff.
748
a9ba094b
DG
7492013-10-13 Dmitry Gutov <dgutov@yandex.ru>
750
751 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
752 to `after-save-hook' instead of `before-save-hook'.
753 (ruby-mode-set-encoding): Use the value of coding system used to
754 write the file. Call `basic-save-buffer-1' after modifying the
755 buffer.
756
7a068717
AM
7572013-10-13 Alan Mackenzie <acm@muc.de>
758
759 Fix indentation/fontification of Java enum with
760 "implements"/generic.
761
c2de5588
DK
762 * progmodes/cc-engine.el (c-backward-over-enum-header):
763 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
764 (c-inside-bracelist-p): Uses new function above.
765 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
766 function above.
767 (c-font-lock-enum-tail): Uses new function above.
768
85b64f02
KH
7692013-10-13 Kenichi Handa <handa@gnu.org>
770
771 * international/mule-cmds.el (select-safe-coding-system): Remove a
772 superfluous condition in chekcing whether a coding system is safe
773 or not.
774
fc7f501b
OK
7752013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
776
777 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
778
fdcb2049
AP
7792013-10-13 Andreas Politz <politza@hochschule-trier.de>
780
781 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
782
8c106d17
GM
7832013-10-13 Glenn Morris <rgm@gnu.org>
784
feab892d
GM
785 * menu-bar.el (menu-bar-update-buffers):
786 Unify Buffers menu prompt string. (Bug#15576)
787
b22d0686
GM
788 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
789
8c106d17
GM
790 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
791 Add some entries.
792 (authors-fixed-entries): Use accented form of name.
793
1b12c797
SM
7942013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
795
650fa7bf 796 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 797 method calls (bug#15594).
650fa7bf
SM
798 (ruby-smie--args-separator-p): New function.
799 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
800 recognize paren-free method calls.
801
1b12c797
SM
802 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
803 internals of universal-argument.
804
029619c8
EZ
8052013-10-11 Eli Zaretskii <eliz@gnu.org>
806
807 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
808 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
809 dropped menu on second mouse click on the menu bar.
029619c8 810
dd070019
SM
8112013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
814 (explicit-shell-file-name): Declare.
815 (sh--vars-before-point, sh--cmd-completion-table): New functions.
816 (sh-completion-at-point-function): New function.
817 (sh-mode): Use it.
818 (sh-smie--keyword-p): Remove unused argument.
819 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
820 vars.
821 (sh-set-shell): Always setup SMIE, even if we use the
822 old indentation code.
823
0922b826
DG
8242013-10-11 Dmitry Gutov <dgutov@yandex.ru>
825
b68e2926
DG
826 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
827 cases of ? and =.
828 (ruby-smie-rules): Simplify the "do" rule. The cases when the
829 predicate would return nil are almost non-existent.
830 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
831
0922b826
DG
832 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
833 cache also after commands that modify the buffer but don't move
834 point.
835
ee041f2d
SM
8362013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * env.el (substitute-env-in-file-name): New function.
839 (substitute-env-vars): Extend the meaning of the optional arg.
840
a5dab159
EZ
8412013-10-10 Eli Zaretskii <eliz@gnu.org>
842
843 * term/w32-win.el (dynamic-library-alist): Define separate lists
844 of GIF DLLs for versions before and after 5.0.0 of giflib.
845 (Bug#15531)
846
db138698
JT
8472013-10-10 João Távora <joaotavora@gmail.com>
848
849 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
850 not locked, use last revision and current source as
851 defaults. (Bug#15569)
852
2f6e161e
MY
8532013-10-10 Masatake YAMATO <yamato@redhat.com>
854
855 * menu-bar.el (menu-bar-open): Don't use popup-menu if
856 menu-bar is hidden.
857
6c8413fc
MR
8582013-10-10 Martin Rudalics <rudalics@gmx.at>
859
860 * window.el (pop-to-buffer-same-window): Fix doc-string.
861 (Bug#15492)
862
20832de0
SM
8632013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
866
c6e8ae77
AC
8672013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
868
869 * calendar/icalendar.el (icalendar-import-file):
870 Fix interactive spec. (Bug#15482)
871
9db13baf
GM
8722013-10-10 Glenn Morris <rgm@gnu.org>
873
9271e90e
GM
874 * desktop.el (desktop-save): Default to saving in .emacs.d,
875 since PWD is no longer in desktop-path by default. (Bug#15319)
876
9db13baf
GM
877 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
878 now that text mode has a menu with the same entry.
879 (menu-bar-text-mode-auto-fill): Remove now unused func.
880 * textmodes/text-mode.el (text-mode-map):
881 Use auto-fill help text from menu-bar.el.
882
a0be396a 8832013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
884
885 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
886
2edcd3c7
JL
8872013-10-09 Juri Linkov <juri@jurta.org>
888
889 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
890 instead of this-command-keys. Add universal-argument-more and
891 universal-argument-minus to the list of prefix commands. (Bug#15568)
892
574411d0
GM
8932013-10-09 Glenn Morris <rgm@gnu.org>
894
14afa541
GM
895 * vc/vc-svn.el (vc-svn-create-repo):
896 Expand paths in file://... url. (Bug#15446)
897
574411d0
GM
898 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
899 Add some entries.
900 (authors): Remove unused local variables.
901
79804536
SM
9022013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 * profiler.el: Create a more coherent calltree from partial backtraces.
905 (profiler-format): Hide the tail with `invisible' so that C-s can still
906 find the hidden elements.
907 (profiler-calltree-depth): Don't recurse so enthusiastically.
908 (profiler-function-equal): New hash-table-test.
909 (profiler-calltree-build-unified): New function.
910 (profiler-calltree-build): Use it.
911 (profiler-report-make-name-part): Indent the calltree less.
912 (profiler-report-mode): Add visibility specs for profiler-format.
913 (profiler-report-expand-entry, profiler-report-toggle-entry):
914 Expand the whole subtree when provided with a prefix arg.
915
238150c8
DG
9162013-10-09 Dmitry Gutov <dgutov@yandex.ru>
917
918 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
919 iuwu-mod token.
920 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
921 hanging iuwu-mod token.
922 (ruby-smie--forward-token): Do not include a dot after a token in
923 that token.
924 (ruby-smie--backward-token): Likewise.
925
b0949cc4
JL
9262013-10-08 Juri Linkov <juri@jurta.org>
927
928 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
929 to isearch-other-control-char.
930 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
931 and isearch-post-command-hook to post-command-hook.
932 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
933 and isearch-post-command-hook from post-command-hook.
934 (isearch-unread-key-sequence)
935 (isearch-reread-key-sequence-naturally)
936 (isearch-lookup-scroll-key, isearch-other-control-char)
937 (isearch-other-meta-char): Remove functions.
938 (isearch-pre-command-hook, isearch-post-command-hook):
939 New functions based on isearch-other-meta-char rewritten
940 relying on the new behavior of overriding-terminal-local-map
941 that does not replace the local keymaps any more. (Bug#15200)
942
4ed77415
EZ
9432013-10-08 Eli Zaretskii <eliz@gnu.org>
944
945 Support menus on text-mode terminals.
946 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
947 functionality.
948
949 * tooltip.el (tooltip-mode): Don't error out on TTYs.
950
c2de5588
DK
951 * menu-bar.el (popup-menu, popup-menu-normalize-position):
952 Move here from mouse.el.
4ed77415
EZ
953 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
954 and arrow keys.
955 (tty-menu-navigation-map): New map for TTY menu navigation.
956
957 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
958
959 * frame.el (display-mouse-p): Report text-mode mouse as available
960 on w32.
961 (display-popup-menus-p): Report availability if mouse is
962 available; don't condition on window-system.
963
964 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
965 (tty-menu-selected-face): New faces.
966
b7d5bd82
TL
9672013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
968
06286513
SM
969 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
970 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
971 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
972 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
973 New constants.
974 (lisp-mode-variables): New `elisp' argument.
975 (emacs-lisp-mode): Use it.
976 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
977 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
978
b7d5bd82
TL
979 * indent.el: Use lexical-binding.
980 (indent-region): Add progress reporter.
981 (tab-stop-list): Make it implicitly extend to infinity by repeating the
982 last step.
983 (indent--next-tab-stop): New function to implement this behavior.
984 (tab-to-tab-stop, move-to-tab-stop): Use it.
985
9862013-10-08 Teemu Likonen <tlikonen@iki.fi>
987
988 * indent.el (indent-rigidly--current-indentation): New function.
989 (indent-rigidly-map): New var.
990 (indent-rigidly): Use it to provide interactive mode (bug#8196).
991
5ea75d23
BG
9922013-10-08 Bastien Guerry <bzg@gnu.org>
993
994 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
995
cc5da1ec
SM
9962013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
997
8ffa1a0b
SM
998 * progmodes/perl-mode.el: Use lexical-binding.
999 Remove redundant :group args.
1000 (perl-nochange): Change default to be closer to other major modes's
1001 standard behavior.
1002 (perl-indent-line): Don't consider text on current line as a
1003 valid beginning of function from which to indent.
1004
f2223371
SM
1005 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1006 with more than one argument (bug#15538).
1007
44256060
SM
1008 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1009
cc5da1ec
SM
1010 * vc/pcvs.el: Use lexical-binding.
1011 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1012 environment of `eval'.
1013 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1014 than a list of expressions. Adjust callers.
1015 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1016
0ea1599d
DG
10172013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1018
1019 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1020 case of the dot in a chained method call being on the following line.
0ea1599d 1021
da3e5ebb
SM
10222013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1023
2abb4e65
SM
1024 * electric.el (electric-indent-inhibit): New var.
1025 (electric-indent-post-self-insert-function): Use it.
1026 * progmodes/python.el (python-mode): Set it.
1027
d2e0e795
SM
1028 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1029 open braces.
1030
1031 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1032
bdc6b4c8
SM
1033 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1034 (css-mode): Use electric-indent-chars.
1035
da3e5ebb
SM
1036 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1037 (font-lock-beg, font-lock-end): Move before first use.
1038 (nxml-mode): Use syntax-propertize-function.
1039 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1040 (nxml-extend-after-change-region): Remove.
1041 * nxml/xmltok.el: Use lexical-binding.
1042 (xmltok-save): Use `declare'.
1043 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1044 * nxml/nxml-util.el: Use lexical-binding.
1045 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1046 Use `declare'.
1047 * nxml/nxml-ns.el: Use lexical-binding.
1048 (nxml-ns-save): Use `declare'.
1049 (nxml-ns-prefixes-for): Avoid add-to-list.
1050 * nxml/rng-match.el: Use lexical-binding.
1051 (rng--ipattern): Use cl-defstruct.
1052 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1053 (rng-cons-group-after, rng-subst-group-after)
1054 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1055 Use closures instead of `(lambda...).
1056
f8f91d5d
MA
10572013-10-07 Michael Albinus <michael.albinus@gmx.de>
1058
1059 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1060 of BEG and END.
1061
da3e5ebb
SM
1062 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1063 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1064 (tramp-gvfs-handle-insert-file-contents): Remove function.
1065
da3e5ebb
SM
1066 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1067 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1068
1069 * net/trampver.el: Update release number.
1070
7ccae3b1
SM
10712013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1072
55ca2c0d
SM
1073 * progmodes/compile.el (compilation-parse-errors):
1074 Use compilation--put-prop.
1075 (compilation--ensure-parse): Check compilation-multiline.
1076
731fc3ae
SM
1077 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1078
da3e5ebb
SM
1079 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1080 lexical-binding.
a5833280 1081
2e7ba2c2
SM
1082 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1083
7ccae3b1
SM
1084 * progmodes/ruby-mode.el: Fix recently added tests.
1085 (ruby-smie-grammar): Add - and +.
1086 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1087 (ruby-smie--backward-id): New functions.
1088 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1089 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1090 any more.
1091
85698d63
LL
10922013-10-07 Leo Liu <sdl.web@gmail.com>
1093
1094 * register.el (register-preview-delay)
1095 (register-preview-functions): New variables.
1096 (register-read-with-preview, register-preview)
1097 (register-describe-oneline): New functions.
1098 (point-to-register, window-configuration-to-register)
1099 (frame-configuration-to-register, jump-to-register)
1100 (number-to-register, view-register, insert-register)
1101 (copy-to-register, append-to-register, prepend-to-register)
1102 (copy-rectangle-to-register): Use register-read-with-preview to
1103 read register. (Bug#15525)
1104
3986af6c
DS
11052013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1106
1107 * net/network-stream.el (network-stream-open-starttls): Don't add
1108 --insecure if it's already present, because that gnutls-cli
1109 rejects getting that parameter twice.
1110
5cd9cda9
DG
11112013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1112
1113 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1114 keyword, too.
1115
da9ea6d9
DG
11162013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1117
1118 * newcomment.el (comment-use-global-state): Change default value
1119 to t, mark obsolete (Bug#15251).
1120 (comment-beginning): In addition to `comment-to-syntax', check the
1121 value of `comment-use-global-state'.
1122
34d1a133
SM
11232013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1126 (ruby-comment-column): Follow the global default, by default.
1127 (ruby-smie-grammar): Add assignment syntax.
1128 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1129 open-paren, a comma, or a \.
1130 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1131 and line continuations.
1132 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1133 followed by implicit semi-colons. Add rule for string concatenation
1134 and for indentation at BOB.
1135 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1136
1137 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1138 calling next-sexp, since next-token may have skipped chars which
1139 next-sexp doesn't know should be skipped!
1140
6f6ab820
LL
11412013-10-05 Leo Liu <sdl.web@gmail.com>
1142
34d1a133
SM
1143 * progmodes/octave.el (octave-send-region):
1144 Call compilation-forget-errors.
6f6ab820 1145
34ca0f4c
XF
11462013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1147
1148 * vc/vc-svn.el (vc-svn-find-admin-dir):
1149 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1150 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1151 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1152 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1153
a27c1b72
SM
11542013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1157
258ab3bc
SM
11582013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * subr.el (read-passwd): Hide chars even when called within a context
1161 where after-change-functions is disabled (bug#15501).
1162 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1163 until we removed ourself from overriding-terminal-local-map.
1164
939fb29c
LL
11652013-10-04 Leo Liu <sdl.web@gmail.com>
1166
258ab3bc
SM
1167 * progmodes/octave.el (inferior-octave-mode):
1168 Call compilation-forget-errors.
939fb29c 1169
63bd7f35
XF
11702013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1171
1172 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1173
9e6229fa
MA
11742013-10-04 Michael Albinus <michael.albinus@gmx.de>
1175
1176 * net/secrets.el (secrets-create-collection): Add optional
1177 argument ALIAS. Use proper Label keyword. Append ALIAS as
1178 dbus-call-method argument. (Bug#15516)
1179
1dab32a3
LL
11802013-10-04 Leo Liu <sdl.web@gmail.com>
1181
1182 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1183 (inferior-octave-compilation-font-lock-keywords): New variables.
1184 (compilation-error-regexp-alist)
1185 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1186 (inferior-octave-mode): Use compilation-shell-minor-mode.
1187
6cad7ba3
JS
11882013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1189
1190 * minibuffer.el (completion--replace): Be careful that `end' might be
1191 a marker.
1192
acbadd00
DU
11932013-10-03 Daiki Ueno <ueno@gnu.org>
1194
1195 Add support for package signature checking.
1196 * emacs-lisp/package.el (url-http-file-exists-p)
1197 (epg-make-context, epg-context-set-home-directory)
1198 (epg-verify-string, epg-context-result-for)
1199 (epg-signature-status, epg-signature-to-string)
1200 (epg-check-configuration, epg-configuration)
1201 (epg-import-keys-from-file): Declare.
1202 (package-check-signature): New user option.
1203 (package-unsigned-archives): New user option.
1204 (package-desc): Add `signed' field.
1205 (package-load-descriptor): Set `signed' field if .signed file exists.
1206 (package--archive-file-exists-p): New function.
1207 (package--check-signature): New function.
1208 (package-install-from-archive): Check package signature.
1209 (package--download-one-archive): Check archive signature.
1210 (package-delete): Remove .signed file.
1211 (package-import-keyring): New command.
1212 (package-refresh-contents): Import default keyring.
1213 (package-desc-status): Add "unsigned" status.
1214 (describe-package-1, package-menu--print-info)
1215 (package-menu-mark-delete, package-menu--find-upgrades)
1216 (package-menu--status-predicate): Support "unsigned" status.
1217
adf2aa61
SM
12182013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1221 the new compilation scheme using the new byte-codes.
1222
1223 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1224 (byte-pophandler): New byte codes.
1225 (byte-goto-ops): Adjust accordingly.
1226 (byte-compile--use-old-handlers): New var.
1227 (byte-compile-catch): Use new byte codes depending on
1228 byte-compile--use-old-handlers.
1229 (byte-compile-condition-case--old): Rename from
1230 byte-compile-condition-case.
1231 (byte-compile-condition-case--new): New function.
1232 (byte-compile-condition-case): New function that dispatches depending
1233 on byte-compile--use-old-handlers.
1234 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1235 when we can.
1236
1237 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1238 Optimize under `condition-case' and `catch' if
1239 byte-compile--use-old-handlers is nil.
1240 (disassemble-offset): Handle new bytecodes.
1241
328a8179
SM
12422013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * subr.el (error): Use `declare'.
1245 (decode-char, encode-char): Use advertised-calling-convention instead
1246 of the docstring to discourage use of the `restriction' arg.
1247
15a1e936
DU
12482013-10-03 Daiki Ueno <ueno@gnu.org>
1249
1250 * epg.el (epg-verify-file): Add a comment saying that it does not
1251 notify verification error as a return value nor a signal.
1252 (epg-verify-string): Ditto.
1253
376f862a
KR
12542013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1255
1256 * progmodes/compile.el (compilation-start): Try globbing the arg to
1257 `cd' (bug#15417).
1258
a2f93a5f
MA
12592013-10-02 Michael Albinus <michael.albinus@gmx.de>
1260
1261 Sync with Tramp 2.2.8.
1262
1263 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1264 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1265 * net/trampver.el: Update release number.
1266
0daa0804
JD
12672013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1268
1269 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1270 and default-process-coding-system for darwin only.
1271
abd1ae34
SM
12722013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1275
be4e325d
MH
12762013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1277
1278 * vc/vc-git.el (vc-git-grep): Disable pager.
1279
e9155c4a
DG
12802013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1281
494e898b
DG
1282 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1283 Use :url instead of :homepage, as per
1284 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1285
e9155c4a
DG
1286 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1287 non-nil, use `syntax-ppss' (Bug#15251).
1288
481a8e0f
RS
12892013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1290
be4e325d
MH
1291 * progmodes/octave.el (inferior-octave-startup-file):
1292 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1293
056453c6
DG
12942013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1295
be4e325d
MH
1296 * emacs-lisp/package.el (package-desc-from-define):
1297 Accept additional arguments as plist, convert them to an alist and store
1298 them in the `extras' slot.
056453c6
DG
1299 (package-generate-description-file): Convert extras alist back to
1300 plist and append to the `define-package' form arguments.
1301 (package--alist-to-plist): New function.
1302 (package--ac-desc): Add `extras' slot.
1303 (package--add-to-archive-contents): Check if the archive-contents
1304 vector is long enough, and if it is, pass its `extras' slot value
1305 to `package-desc-create'.
1306 (package-buffer-info): Call `lm-homepage', pass the returned value
1307 to `package-desc-from-define'.
1308 (describe-package-1): Render the homepage button (Bug#13291).
1309
be4e325d
MH
1310 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1311 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1312
832966e5
JD
13132013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1314
1315 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1316 and default-process-coding-system to utf-8-unix (Bug#15402).
1317
6cfe977d
XF
13182013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1319
1320 * subr.el (looking-back): Do not recommend using looking-back.
1321
38de11bd
AM
13222013-09-28 Alan Mackenzie <acm@muc.de>
1323
1324 Fix indentation/fontification of Java enum with "implements".
1325
1326 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1327 regexp which matches "implements", etc., in Java.
1328 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1329 specifier clauses coming after "enum".
1330 * progmodes/cc-fonts.el (c-font-lock-declarations)
1331 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1332 after "enum".
1333
1610938f
JD
13342013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1335
1336 * faces.el (region): Change ns_selection_color to
1337 ns_selection_fg_color, add ns_selection_bg_color.
1338
e090f499
LL
13392013-09-28 Leo Liu <sdl.web@gmail.com>
1340
4d2e94d1
LL
1341 * progmodes/octave.el (inferior-octave-completion-table)
1342 (inferior-octave-completion-at-point): Minor tweaks.
1343
e090f499
LL
1344 * textmodes/ispell.el (ispell-lookup-words): Rename from
1345 lookup-words. (Bug#15460)
1346 (lookup-words): Obsolete.
1347 (ispell-complete-word, ispell-command-loop): All uses changed.
1348
7e138a62
RS
13492013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1350
1351 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1352 (octave-mode-menu): Add octave-send-buffer.
1353 (octave-send-buffer): New function.
1354
5af5ed08
RS
13552013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1356
1357 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1358 octave-lookfor.
1359 (octave-mode-menu): Add octave-lookfor.
1360 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1361 octave-lookfor.
1362 (octave-lookfor): New function.
1363
3b7b2692
SM
13642013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1365
1366 * emacs-lisp/cl-macs.el:
1367 (cl--loop-destr-temps): Remove.
1368 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1369 its convention.
1370 (cl--loop-set-iterator-function): New function.
1371 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1372 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1373 Bind `it' with `let' instead of substituting it with `cl-subst'.
1374 (cl--unused-var-p): New function.
1375 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1376 Eliminate some unused variable warnings (bug#15326).
1377
529fb53f
TH
13782013-09-27 Tassilo Horn <tsdh@gnu.org>
1379
1380 * doc-view.el (doc-view-scale-reset): Rename from
1381 `doc-view-reset-zoom-level'.
1382 (doc-view-scale-adjust): New command.
1383 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1384 `doc-view-scale-adjust'.
1385
0550c95a
TH
13862013-09-26 Tassilo Horn <tsdh@gnu.org>
1387
1388 * doc-view.el (doc-view-reset-zoom-level): New command.
1389 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1390 zoom commands (bug#15466).
1391
6950f152
KH
13922013-09-26 Kenichi Handa <handa@gnu.org>
1393
1394 * international/quail.el (quail-help): Make it not a command.
1395
39587580
LL
13962013-09-26 Leo Liu <sdl.web@gmail.com>
1397
1398 * minibuffer.el (completion-all-sorted-completions): Make args
1399 optional as they are.
1400
00578659
DC
14012013-09-25 Daniel Colascione <dancol@dancol.org>
1402
1403 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1404 specs are and that they're not evaluated.
1405
0c173878
SS
14062013-09-24 Sam Steingold <sds@gnu.org>
1407
1408 * midnight.el (clean-buffer-list-kill-regexps)
1409 (clean-buffer-list-kill-buffer-names): Update for the new Man
1410 buffer naming which includes the object name.
1411
84998447
SM
14122013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1413
1414 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1415 (eshell-parse-command, eshell-parse-pipeline): Use it since
1416 eshell-separate-commands requires a dynamic scoped var.
1417 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1418
33215353
LL
14192013-09-23 Leo Liu <sdl.web@gmail.com>
1420
1421 * autoinsert.el (auto-insert-alist): Make the value of
1422 lexical-binding match its file setting.
1423
57b16162
JB
14242013-09-23 Juanma Barranquero <lekktu@gmail.com>
1425
c8af4e67
JB
1426 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1427
57b16162
JB
1428 * autoarg.el (autoarg-kp-digit-argument):
1429 * electric.el (Electric-command-loop):
1430 * kmacro.el (kmacro-step-edit-insert):
1431 Do not set universal-argument-num-events.
1432
7186ba60
LL
14332013-09-22 Leo Liu <sdl.web@gmail.com>
1434
1435 * files.el (interpreter-mode-alist): Add octave.
1436
ece15004
AM
14372013-09-21 Alan Mackenzie <acm@muc.de>
1438
1439 C++: fontify identifier in declaration following "public:" correctly.
1440 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1441 to match "public", etc.
1442 (c-decl-prefix-re): Add ":" into the C++ value.
1443 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1444 bit. Add a check for a ":" preceded by "public", etc.
1445
75d83e22
EZ
14462013-09-21 Eli Zaretskii <eliz@gnu.org>
1447
1448 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1449 recognized by GDB 7.5 and later.
1450
d052d3bd
XF
14512013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1452
1453 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1454
31dca772
R
14552013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1456
1457 * subr.el (internal--call-interactively): New const.
1458 (called-interactively-p): Use it (bug#3984).
1459
98ccf24e
XF
14602013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1461
1462 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1463 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1464 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1465
c39cc7d1
SM
14662013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1469 (eshell-ls-orig-insert-directory): Remove.
1470 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1471 (eshell-ls-use-in-dired): Use advice-add/remove.
1472 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1473 Add `orig-fun' arg for use in :around advice.
1474 Make it check (redundantly) eshell-ls-use-in-dired.
1475
9a0289a2
GM
14762013-09-19 Glenn Morris <rgm@gnu.org>
1477
a2c501b8
GM
1478 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1479
c440407a
GM
1480 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1481
9a0289a2
GM
1482 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1483
85e05915
MA
14842013-09-19 Michael Albinus <michael.albinus@gmx.de>
1485
1486 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1487 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1488 (tramp-get-remote-python): New defuns.
1489 (tramp-get-remote-uid-with-perl)
1490 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1491 contributed by yary <not.com@gmail.com> (tiny change).
1492 (tramp-get-remote-uid-with-python)
1493 (tramp-get-remote-gid-with-python): New defuns. Python code
1494 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1495 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1496
ce503312
GM
14972013-09-19 Glenn Morris <rgm@gnu.org>
1498
f7544773
GM
1499 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1500
72fd2877
GM
1501 * eshell/em-unix.el (eshell-remove-entries):
1502 Rename argument to avoid name-clash with global `top-level'.
1503
336b5a56
GM
1504 * eshell/esh-proc.el (eshell-kill-process-function):
1505 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1506 (eshell-reset-after-proc): Remove unused arg `proc'.
1507
57a3a53d
GM
1508 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1509 (directory-files-and-attributes): Mark unused arg.
1510
3261d4af
GM
1511 * eshell/em-unix.el (eshell-remove-entries):
1512 Remove unused arg `path'. Update callers.
1513
8e51b5d0
GM
1514 * eshell/em-hist.el (eshell-hist-parse-arguments):
1515 Remove unused arg `silent'. Update callers.
1516
ce503312
GM
1517 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1518 Fix (f)boundp mix-up.
1519
1520 * eshell/em-smart.el (eshell-smart-scroll-window)
1521 (eshell-disable-after-change):
336b5a56 1522 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1523
ee3ce8a7
AM
15242013-09-18 Alan Mackenzie <acm@muc.de>
1525
1526 Fix fontification of type when followed by "const".
1527 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1528 "known" types from fontification.
1529
ec9177ba
GM
15302013-09-18 Glenn Morris <rgm@gnu.org>
1531
7bb3e768
GM
1532 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1533 (chart-face-list): Drop Emacsen without display-color-p.
1534
5148da15
GM
1535 * net/eww.el (libxml-parse-html-region): Declare.
1536 (eww-display-html): Explicit error if no libxml2 support.
1537
2f68e157
GM
1538 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1539
9019d095
GM
1540 * image.el (image-type-from-buffer, image-multi-frame-p):
1541 Remove --without-x warning/error.
67645389 1542
5f30349b 1543 * mouse.el (mouse-yank-primary):
45069b2e 1544 * term.el (term-mouse-paste):
5f30349b
GM
1545 Reorder to silence --without-x compilation.
1546
cd8edbbe
GM
1547 * mpc.el (doc-view-mode): Silence --without-x compilation.
1548
8a78544e
GM
1549 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1550 Silence --without-x compilation.
1551
12679bfd
GM
1552 * progmodes/gud.el (gud-find-file, gud-mode):
1553 Silence --without-x compilation.
1554 (tooltip-mode): Declare.
30810a05 1555
f0047cb9
GM
1556 * wdired.el (dired-backup-overwrite): Remove declaration.
1557 (wdired-mode-map): Add doc string.
1558
e740f9d2
GM
1559 * custom.el (x-get-resource): Declare.
1560
92d77c89
GM
1561 * eshell/em-glob.el (ange-cache):
1562 * eshell/em-unix.el (ange-cache): Declare.
1563
76e69577
GM
1564 * faces.el (x-display-list, x-open-connection, x-get-resource):
1565 Declare.
7e58af4b
GM
1566
1567 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1568 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1569 Declare.
76e69577 1570
4bd4c0af 1571 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1572
ffb82dbd
GM
1573 * net/gnutls.el (gnutls-log-level): Declare.
1574
986ed135
GM
1575 * net/shr.el (image-size, image-animate): Declare.
1576
e740f9d2
GM
1577 * simple.el (font-info): Declare.
1578
d2f3e9f8
GM
1579 * subr.el (x-popup-dialog): Declare.
1580
047a1a4c
GM
1581 * term/common-win.el (x-select-enable-primary)
1582 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1583 Declare.
1584
f4a1d572
GM
1585 * term/ns-win.el (x-handle-args): Declare.
1586
e843de77
GM
1587 * term/x-win.el (x-select-enable-clipboard): Declare.
1588
5fa89513
GM
1589 * term/w32-win.el (create-default-fontset): Declare.
1590
38702b5b
GM
1591 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1592 Declare.
1593
e740f9d2
GM
1594 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1595 (fit-frame-to-buffer): Explicit error if --without-x.
1596 (mouse-autoselect-window-select): Silence compiler.
1597
49a053fc
GM
1598 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1599
1600 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1601 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1602 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1603 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1604 Remove unused local variables.
1605
1606 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1607
ec9177ba
GM
1608 * textmodes/two-column.el: Make 2C-split work for --without-x.
1609 (scroll-bar-columns): Autoload.
1610 (top-level): Require fringe when compiling.
1611
9f25cb77
LL
16122013-09-18 Leo Liu <sdl.web@gmail.com>
1613
1614 * subr.el (add-hook): Robustify to handle closure as well.
1615
2b42da98
GM
16162013-09-17 Glenn Morris <rgm@gnu.org>
1617
1618 * simple.el (messages-buffer-mode-map): Unbind "g".
1619
e8b66a6a
SM
16202013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1621
9c0ad4f7
SM
1622 * help-mode.el (help-mode-finish): Use derived-mode-p.
1623 Remove obsolete highlighting.
1624
7a806dfb
SM
1625 * play/life.el (life-mode): Use define-derived-mode. Derive from
1626 special-mode.
1627 (life): Let-bind inhibit-read-only.
1628 (life-setup): Avoid `setq'. Use `life-mode'.
1629
96dbf5a8
SM
1630 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1631 which should not be needed any more.
1632 (package-menu-refresh, package-menu-describe-package): Use user-error.
1633
e8b66a6a
SM
1634 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1635 (eshell-post-rewrite-command-hook): Make obsolete.
1636 (eshell-parse-command): Simplify.
1637 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1638 (eshell--cmd): Declare.
1639 (eshell-parse-pipeline): Remove unused var `final-p'.
1640 Pass a dynvar to eshell-post-rewrite-command-hook.
1641 Implement the new eshell-post-rewrite-command-function.
1642 (eshell-invoke-directly): Remove unused arg `input'.
1643 * eshell/esh-io.el (eshell-io-initialize):
1644 Use eshell-post-rewrite-command-function (bug#15399).
1645 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1646 adjust to new calling convention.
1647 (eshell-create-handles): Rename args to avoid clashing with dynvar
1648 `standard-output'.
1649
90582f05
GM
16502013-09-17 Glenn Morris <rgm@gnu.org>
1651
1652 * simple.el (messages-buffer-mode): New major mode.
1653 (messages-buffer): New function.
1654 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1655 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1656 (ert-run-test): Use `messages-buffer' function.
90582f05 1657 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1658 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1659 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1660
39eb0cb5 16612013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1662
1663 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1664
1f1e06e2
SM
1665 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1666
70568a90
SM
16672013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1668
504a0381
SM
1669 * icomplete.el (icomplete-in-buffer): New var.
1670 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1671 vars and replace them with functions.
1672 (icomplete-minibuffer-setup): Adjust accordingly.
1673 (icomplete--completion-table, icomplete--completion-predicate)
1674 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1675 New functions.
1676 (icomplete-forward-completions, icomplete-backward-completions)
1677 (icomplete-simple-completing-p, icomplete-exhibit)
1678 (icomplete-completions): Use them.
1679 (icomplete--in-region-buffer): New var.
1680 (icomplete--in-region-setup): New function.
1681 (icomplete-mode): Use it.
1682
70568a90
SM
1683 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1684 (bug#15379).
1685 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1686 return args and options.
1687 (eshell-eval-using-options): Use the new return value of
1688 eshell--do-opts to set the options's vars in their scope.
1689 (eshell--set-option): Rename from eshell-set-option.
1690 Add arg `opt-vals'.
1691 (eshell--process-option): Rename from eshell-process-option.
1692 Add arg `opt-vals'.
1693 (eshell--process-args): Use an `opt-vals' alist to store the options's
1694 values during their processing and return them additionally to the
1695 remaining args.
1696
578c21bc
DG
16972013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1698
1699 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1700 continuation character an operator, as far as indentation is
1701 concerned (Bug#15369).
1702
c089653d
MR
17032013-09-15 Martin Rudalics <rudalics@gmx.at>
1704
1705 * window.el (window--state-put-2): Don't process buffer state
1706 when buffer doesn't exist any more (Bug#15382).
1707
1e53bb4b
GM
17082013-09-15 Glenn Morris <rgm@gnu.org>
1709
30753242
GM
1710 * eshell/em-unix.el (eshell/rm):
1711 Make -f ignore missing files. (Bug#15373)
1712
1e53bb4b
GM
1713 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1714 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1715 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1716
0d8863b3
GM
17172013-09-14 Glenn Morris <rgm@gnu.org>
1718
1719 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1720
d3fc6549
GM
17212013-09-13 Glenn Morris <rgm@gnu.org>
1722
1723 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1724 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1725
fcd42c11
DA
17262013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1727
1728 * frame.el (x-focus-frame): Mark as declared in frame.c.
1729
7830899f
SM
17302013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * ls-lisp.el: Use advice-add.
1733 (original-insert-directory): Remove.
1734 (ls-lisp--insert-directory): Rename from insert-directory; add
1735 `orig-fun' argument.
1736 (insert-directory): Advise.
1737
84387cd2
EZ
17382013-09-13 Eli Zaretskii <eliz@gnu.org>
1739
1740 * term.el (term-emulate-terminal): Decode the command string
1741 before passing it to term-command-hook. (Bug#15337)
1742
35ffc6ba
GM
17432013-09-13 Glenn Morris <rgm@gnu.org>
1744
5c3f9bcc
GM
1745 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1746
2ada368a
GM
1747 * eshell/esh-ext.el (eshell-search-path): Declare.
1748
fcef2e13
GM
1749 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1750 Otherwise an error occurs if eshell-dirs module not loaded.
1751
35ffc6ba
GM
1752 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1753
35c3d36e
MA
17542013-09-13 Michael Albinus <michael.albinus@gmx.de>
1755
1756 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1757 `tramp-check-proper-host'. Check for a valid method name.
1758
1759 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1760 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1761 * net/tramp-sh.el (tramp-maybe-open-connection):
1762 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1763
1764 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1765 also for hash values.
1766
ae5e4c48
SM
17672013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1768
379add74
SM
1769 * term/ns-win.el (parameters): Don't declare as dynamic.
1770 (before-make-frame-hook): Don't add ineffective function.
1771
ae5e4c48
SM
1772 * eshell/*.el: Use lexical-binding (bug#15231).
1773
b5623270
KH
17742013-09-12 Kenichi Handa <handa@gnu.org>
1775
ae5e4c48 1776 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1777
30213927
GM
17782013-09-12 Glenn Morris <rgm@gnu.org>
1779
be94d713 1780 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1781 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1782
44915370
GM
1783 * subr.el (do-after-load-evaluation): Also give compiler warnings
1784 when obsolete files are used (except by obsolete files).
1785
a6ae021f
GM
1786 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1787 in the status output, assume `filename' is the first. (Bug#15322)
1788
40e64f0c
GM
1789 * vc/vc.el (vc-deduce-fileset): Doc fix.
1790
16d9f896
GM
1791 * calc/calc-help.el (Info-goto-node):
1792 * progmodes/cperl-mode.el (Info-find-node):
1793 * vc/ediff.el (Info-goto-node): Update declarations.
1794
dea01c6e
GM
1795 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1796
759880bf 1797 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1798 (vc-bzr-pull): Require vc-dispatcher.
1799 * vc/vc-git.el (vc-compilation-mode): Declare.
1800 (vc-git-pull): Require vc-dispatcher.
1801
08d66420
GM
1802 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1803
30b626e9
GM
1804 * progmodes/octave.el (help-button-action): Declare.
1805
8c05cb10
GM
1806 * shell.el (shell-directory-tracker): Output error as a message
1807 rather than just returning it as a string.
1808 (shell-process-pushd): Remove useless use of message.
1809
30213927
GM
1810 * dframe.el (dframe-timer-fn):
1811 * files.el (dir-locals-read-from-file):
1812 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1813 (mpc-format):
1814 * reveal.el (reveal-post-command):
1815 * saveplace.el (load-save-place-alist-from-file):
1816 * shell.el (shell-resync-dirs):
1817 * w32-common-fns.el (x-get-selection-value):
1818 * emacs-lisp/copyright.el (copyright-find-copyright):
1819 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1820 * emulation/tpu-edt.el (tpu-copy-keyfile):
1821 * play/bubbles.el (bubbles--mark-neighbourhood):
1822 * progmodes/executable.el
1823 (executable-make-buffer-file-executable-if-script-p):
1824 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1825
d3b049e6
SM
18262013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1827
170266d0
SM
1828 Cleanup Eshell to rely less on dynamic scoping.
1829 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1830 last-value, and ext-command here. Bind `args' closer to `body'.
1831 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1832 (eshell--args): Declare new dynamic var.
1833 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1834 last-value, and ext-command. Pass `args' to `body'.
1835 (eshell-process-args): Bind eshell--args.
1836 (eshell-set-option): Use eshell--args.
1837 * eshell/eshell.el (eshell): Use derived-mode-p.
1838 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1839 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1840 (eshell-glob-function): Declare.
1841 * eshell/esh-util.el: Require cl-lib.
1842 (eshell-read-hosts-file): Avoid add-to-list.
1843 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1844 `err'.
1845 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1846 Declare.
1847 (eshell/diff): Remove unused var `err'.
1848 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1849 `killflag'.
1850 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1851 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1852 first use.
1853 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1854 Move declaration before first use.
1855 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1856 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1857 rely on cl-return.
1858
56834f3b
GM
18592013-09-12 Glenn Morris <rgm@gnu.org>
1860
1861 * term/ns-win.el (global-map): Remove binding for ispell-next,
1862 deleted 1999-05-29. (Bug#15357)
1863
5c91a2b8
GM
18642013-09-11 Glenn Morris <rgm@gnu.org>
1865
da712f22
GM
1866 * echistory.el (electric-command-history): Remove call to deleted func.
1867
512e4cdc
GM
1868 * play/landmark.el (landmark-mode): Fix typos.
1869
d3506ca5
GM
1870 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1871 Check cvs-sort-ignore-file is bound.
1872
5c91a2b8
GM
1873 * savehist.el: No need for cl when compiling on Emacs.
1874
feeff482
SM
18752013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1876
656bd483
SM
1877 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1878 (bug#15338).
d3b049e6
SM
1879 (eshell-self-insert-command, eshell-send-invisible):
1880 Remove unused argument.
656bd483
SM
1881 (eshell-handle-control-codes): Remove unused var `orig'.
1882 Avoid delete-backward-char.
1883
feeff482
SM
1884 * files.el (set-auto-mode): Simplify a bit further.
1885
2a08047a
GM
18862013-09-11 Glenn Morris <rgm@gnu.org>
1887
1888 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1889 (set-auto-mode): Don't regexp-quote elements.
1890 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1891 * progmodes/cc-mode.el (interpreter-mode-alist):
1892 * progmodes/ruby-mode.el (interpreter-mode-alist):
1893 Revert previous change.
1894
34675540
SM
18952013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1b3b87df
SM
1897 * play/snake.el (snake-mode):
1898 * play/mpuz.el (mpuz-mode):
1899 * play/landmark.el (lm-mode):
1900 * play/blackbox.el (blackbox-mode):
1901 * play/5x5.el (5x5-mode):
1902 * obsolete/options.el (Edit-options-mode):
1903 * net/quickurl.el (quickurl-list-mode):
1904 * net/newst-treeview.el (newsticker-treeview-mode):
1905 * mail/rmailsum.el (rmail-summary-mode):
1906 * mail/mspools.el (mspools-mode):
1907 * locate.el (locate-mode):
1908 * ibuffer.el (ibuffer-mode):
1909 * emulation/ws-mode.el (wordstar-mode):
1910 * emacs-lisp/debug.el (debugger-mode):
1911 * array.el (array-mode):
1912 * net/eudc.el (eudc-mode): Use define-derived-mode.
1913 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1914 Move initialization into declaration.
1915 (mairix-searches-mode): Use define-derived-mode.
1916 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1917 (eudc-edit-hotlist): Use dolist.
1918 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1919 (Man-mode): Use define-derived-mode.
1920 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1921 (Info-edit-mode): Use define-derived-mode.
1922 (Info-cease-edit): Use Info-mode.
1923 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1924 into declaration.
1925 (eshell-mode): Use define-derived-mode.
1926 * chistory.el (command-history-mode-map): Rename from
1927 command-history-map.
1928 (command-history-mode): Use define-derived-mode.
da712f22 1929 (Command-history-setup): Remove function.
1b3b87df
SM
1930 * calc/calc.el (calc-trail-mode-map): New var.
1931 (calc-trail-mode): Use define-derived-mode.
1932 (calc-trail-buffer): Set calc-main-buffer manually.
1933 * bookmark.el (bookmark-insert-annotation): New function.
1934 (bookmark-edit-annotation): Use it.
1935 (bookmark-edit-annotation-mode): Make it a proper major mode.
1936 (bookmark-send-edited-annotation): Use derived-mode-p.
1937 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1938 closer to its ideal place. Use \' to match EOS.
1939
34675540
SM
1940 * profiler.el (profiler-calltree-find): Use function-equal.
1941
6a5c15d9
GM
19422013-09-10 Glenn Morris <rgm@gnu.org>
1943
1af4c220
GM
1944 * files.el (interpreter-mode-alist): Convert to regexps.
1945 (set-auto-mode): Adapt for this. (Bug#15306)
1946 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1947 Comment out unused variable.
1948 * progmodes/cc-mode.el (interpreter-mode-alist):
1949 * progmodes/python.el (interpreter-mode-alist):
1950 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1951 * progmodes/sh-script.el (sh-set-shell):
1952 No longer use interpreter-mode-alist to get list of shells.
1953
6a5c15d9
GM
1954 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1955
8c27f5ff
SM
19562013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1957
02ef6c1a 1958 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1959 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1960 Bind switch-frame explicitly. Replace universal-argument-minus with
1961 a conditional binding.
1962 (universal-argument-num-events, saved-overriding-map): Remove.
1963 (restore-overriding-map): Remove.
1964 (universal-argument--mode): Rename from save&set-overriding-map,
1965 and rewrite.
1966 (universal-argument, universal-argument-more, negative-argument)
1967 (digit-argument): Adjust accordingly.
1968 (universal-argument-minus): Remove.
1969 (universal-argument-other-key): Remove.
1970
8c27f5ff
SM
1971 * subr.el (with-demoted-errors): Add `format' argument.
1972
6480194c
MA
19732013-09-10 Michael Albinus <michael.albinus@gmx.de>
1974
1975 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1976 `tramp-cleanup-connection'.
1977
1978 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1979 parameters KEEP-DEBUG and KEEP-PASSWORD.
1980
1981 * net/tramp.el (tramp-file-name-handler):
1982 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1983 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1984 (tramp-maybe-open-connection):
8c27f5ff
SM
1985 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1986 Use `tramp-cleanup-connection'.
6480194c 1987
8c27f5ff
SM
1988 * net/tramp-sh.el (tramp-maybe-open-connection):
1989 Catch 'uname-changed inside the progress reporter.
6480194c 1990
e5e916d8
GM
19912013-09-10 Glenn Morris <rgm@gnu.org>
1992
9a2c9b47
GM
1993 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1994
e5e916d8
GM
1995 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1996 returns "alternate access method" in mode (eg "-rw-r--r--.").
1997
144e38fe
GM
19982013-09-08 Glenn Morris <rgm@gnu.org>
1999
2000 * saveplace.el (load-save-place-alist-from-file):
2001 Demote errors. (Bug#15305)
2002
af9ff9e8
MA
20032013-09-08 Michael Albinus <michael.albinus@gmx.de>
2004
2005 Improve compatibility with older Emacsen, and XEmacs.
2006
2007 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2008 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2009 (with-tramp-progress-reporter): Do not let-bind `result'.
2010 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2011 (tramp-handle-make-auto-save-file-name): New function, moved from
2012 tramp-sh.el.
2013
2014 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2015 for `make-auto-save-file-name'.
8c27f5ff
SM
2016 (tramp-adb--gnu-switches-to-ash):
2017 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2018
2019 * net/tramp-cache.el (tramp-cache-print): Call
2020 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2021
2022 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2023 bound. It isn't for XEmacs.
2024
8c27f5ff
SM
2025 * net/tramp-compat.el (tramp-compat-copy-file):
2026 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2027 (tramp-compat-replace-regexp-in-string): New defun.
2028
2029 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2030 for `make-auto-save-file-name'.
2031 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2032 `copy-file'.
2033 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2034 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2035 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2036
8c27f5ff
SM
2037 * net/tramp-gw.el (tramp-gw-open-network-stream):
2038 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2039
8c27f5ff
SM
2040 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2041 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2042 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2043 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2044 (tramp-sh-file-inotifywait-process-filter):
2045 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2046 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2047
2048 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2049 for `make-auto-save-file-name'.
8c27f5ff
SM
2050 (tramp-smb-handle-copy-directory):
2051 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2052 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2053 (tramp-smb-handle-copy-file): Improve error message.
2054 (tramp-smb-handle-rename-file): Rename directly only in case
2055 `newname' does not exist yet. This is a restriction of smbclient.
2056 (tramp-smb-maybe-open-connection): Rerun the function only when
2057 `auth-sources' is non-nil.
2058
0ca754d0
KH
20592013-09-08 Kenichi Handa <handa@gnu.org>
2060
2061 * international/characters.el: Set category "^" (Combining) for
2062 more characters.
2063
e8dd0787
AM
20642013-09-07 Alan Mackenzie <acm@muc.de>
2065
2066 Correctly fontify Java class constructors.
2067 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2068 in Java Mode.
2069 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2070 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2071 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2072 "typeless" declaration there.
2073
f2f248e7
RW
20742013-09-07 Roland Winkler <winkler@gnu.org>
2075
2076 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2077 field subtitle for entry type book.
2078
67982e2b
SM
20792013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2080
2081 * minibuffer.el: Make minibuffer-complete call completion-in-region
2082 rather than other way around.
2083 (completion--some, completion-pcm--find-all-completions):
2084 Don't delay signals when debugging.
2085 (minibuffer-completion-contents): Beware fields within the
2086 minibuffer contents.
2087 (completion-all-sorted-completions): Use defvar-local.
2088 (completion--do-completion, completion--cache-all-sorted-completions)
2089 (completion-all-sorted-completions, minibuffer-force-complete):
2090 Add args `beg' and `end'.
2091 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2092 (minibuffer-complete): Use completion-in-region.
2093 (completion-complete-and-exit): New fun, extracted from
2094 minibuffer-complete-and-exit.
2095 (minibuffer-complete-and-exit): Use it.
2096 (completion--complete-and-exit): Rename from
2097 minibuffer--complete-and-exit.
2098 (completion-in-region--single-word): New function, extracted from
2099 minibuffer-complete-word.
2100 (minibuffer-complete-word): Use it.
2101 (display-completion-list): Make `common-substring' argument obsolete.
2102 (completion--in-region): Call completion--in-region-1 instead of
2103 minibuffer-complete.
2104 (completion-help-at-point): Pass boundaries to
2105 minibuffer-completion-help as args rather than via an overlay.
2106 (completion-pcm--string->pattern): Use `any-delim'.
2107 (completion-pcm--optimize-pattern): New function.
2108 (completion-pcm--pattern->regex): Handle `any-delim'.
2109 * icomplete.el (icomplete-forward-completions)
2110 (icomplete-backward-completions, icomplete-completions):
2111 Adjust calls to completion-all-sorted-completions and
2112 completion--cache-all-sorted-completions.
2113 (icomplete-with-completion-tables): Default to t.
2114 * emacs-lisp/crm.el (crm--current-element): Rename from
2115 crm--select-current-element. Don't put an overlay but return the
2116 boundaries instead.
2117 (crm--completion-command): Take two new args to bind to the boundaries.
2118 (crm-completion-help): Adjust accordingly.
2119 (crm-complete): Use completion-in-region.
2120 (crm-complete-word): Use completion-in-region--single-word.
2121 (crm-complete-and-exit): Use completion-complete-and-exit.
2122
e17d94a5
SM
21232013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2126 than dynamically.
2127
96727100
JL
21282013-09-06 Juri Linkov <juri@jurta.org>
2129
2130 * info.el (Info-display-images-node): When image file doesn't exist
2131 display text version of the image if it's provided in the Info file.
2132 Otherwise, display the location of missing image from SRC attribute.
2133 Add help-echo text property from ALT attribute. (Bug#15279)
2134
86cf7329
SM
21352013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2138 (edit-abbrevs-mode): Use define-derived-mode.
2139
2140 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2141 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2142 that it's defined.
2143 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2144 Use define-derived-mode.
2145
2146 * epg.el (epg-start-encrypt): Minor CSE simplification.
2147
816244a2
WX
21482013-09-06 William Xu <william.xwl@gmail.com>
2149
2150 * arc-mode.el: Add support for 7za (bug#15264).
2151 (archive-7z-program): New var.
2152 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2153 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2154 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2155
1486fa31
MA
21562013-09-06 Michael Albinus <michael.albinus@gmx.de>
2157
2158 Remove URL syntax.
2159
2160 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2161 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2162 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2163 (tramp-postfix-host-format, tramp-file-name-regexp)
2164 (tramp-completion-file-name-regexp)
2165 (tramp-completion-dissect-file-name)
2166 (tramp-handle-substitute-in-file-name): Remove 'url case.
2167 (tramp-file-name-regexp-url)
2168 (tramp-completion-file-name-regexp-url): Remove constants.
2169
39785324
GM
21702013-09-06 Glenn Morris <rgm@gnu.org>
2171
2172 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2173
1f896cb7
DG
21742013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2175
2176 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2177 keywords" below "here-doc beginnings" (Bug#15270).
2178
c0458e0b
SM
21792013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * subr.el (pop): Use `car-safe'.
2182 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2183 to detect unused `pop' return value.
2184
2185 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2186 var `block-regexp'.
2187 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2188 (python-fill-string): Remove unused var `marker'.
2189 (python-skeleton-add-menu-items): Remove unused var `items'.
2190
2191 * international/mule-cmds.el: Require CL.
2192 (find-coding-systems-for-charsets): Avoid add-to-list.
2193 (sanitize-coding-system-list): New function, extracted from
2194 select-safe-coding-system-interactively.
2195 (select-safe-coding-system-interactively): Use it.
2196 (read-input-method-name): Accept symbols for `default'.
2197
2198 * emacs-lisp/advice.el (defadvice): Add indent rule.
2199
6c42fc3e
DH
22002013-09-05 Daniel Hackney <dan@haxney.org>
2201
2202 * dired-x.el:
2203 * net/ange-ftp.el:
2204 * net/browse-url.el:
2205 * net/dbus.el:
2206 * net/eudc.el:
2207 * net/eudcb-ldap.el:
2208 * net/eww.el:
2209 * net/imap.el:
2210 * printing.el:
2211 * vc/ediff-diff.el:
2212 * vc/ediff-init.el:
2213 * vc/ediff-merg.el:
2214 * vc/ediff-mult.el:
2215 * vc/ediff-util.el:
2216 * vc/ediff-wind.el:
2217 * vc/ediff.el:
2218 * vc/emerge.el:
2219 * vc/pcvs.el:
2220 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2221 byte compiler. Remove some unused let-bound variables.
2222
4c528aab
SM
22232013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2226 a "ref-cell", since it gets better optimized (bug#14883).
2227
bd15c390
GM
22282013-09-05 Glenn Morris <rgm@gnu.org>
2229
2230 * progmodes/cc-awk.el (c-forward-sws): Declare.
2231
1c3ac2e5
GM
22322013-09-04 Glenn Morris <rgm@gnu.org>
2233
2234 * generic-x.el [rul-generic-mode]: Require cc-mode.
2235 (c++-mode-syntax-table): Declare.
2236 (rul-generic-mode-syntax-table): Init in the defvar.
2237
52b1cc79
SM
22382013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2239
c828af56
SM
2240 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2241 (vc-do-command, vc-set-async-update):
2242 * vc/vc-mtn.el (vc-mtn-dir-status):
2243 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2244 (vc-hg-pull, vc-hg-merge-branch):
2245 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2246 (vc-git-merge-branch):
2247 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2248 (vc-cvs-dir-status-files):
2249 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2250 (vc-bzr-dir-status-files):
2251 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2252 * vc/vc-annotate.el: Use lexical-binding.
2253 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2254 (vc-sentinel-movepoint): Declare.
2255 (vc-annotate): Don't use `goto-line'.
2256 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2257 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2258 (vc-sentinel-movepoint): Declare.
2259 * vc/vc-svn.el: Use lexical-binding.
2260 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2261 * vc/vc-sccs.el:
2262 * vc/vc-rcs.el: Use lexical-binding.
2263
abae272c
SM
2264 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2265 `deleted'. Don't drop errors silently.
2266
52b1cc79
SM
2267 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2268
63191d9f
XF
22692013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2270
2271 * vc/vc.el (vc-ignore): Rewrite.
2272 (vc-default-ignore): New function.
2273 (vc-default-ignore-completion-table): Use find-ignore-file.
2274
2275 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2276 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2277 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2278 Remove. Most code moved to vc.el.
2279
9d3f707c
SM
22802013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2281
abae272c 2282 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2283 * net/tramp-smb.el (tramp-smb-get-file-entries):
2284 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2285 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2286
fde38d49
SM
2287 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2288 Update call to it.
2289 (eww-change-select): Remove unused var `properties'.
2290 (eww-make-unique-file-name): Remove unused var `base'.
2291
2292 * finder.el (finder-compile-keywords): Don't mess with windows.
2293
84032db7
SM
2294 * calculator.el (calculator-funcall): Fix typo in last change.
2295
724f5e41
SM
2296 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2297
14b511d4
SM
2298 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2299 <pkg>-autoloads.el file stop us.
2300
9d3f707c 2301 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2302 warnings, and factor out common code.
9d3f707c 2303
88527bc0
DG
23042013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2305
2306 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2307 two-character operators and whether the character preceding them
2308 changes their meaning (Bug#15208).
2309
96edb677
FEG
23102013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2311
2312 Format code sent to Python shell for robustness.
9d3f707c
SM
2313 * progmodes/python.el (python-shell-buffer-substring):
2314 New function.
96edb677
FEG
2315 (python-shell-send-region, python-shell-send-buffer): Use it.
2316
95beaef3
MA
23172013-09-02 Michael Albinus <michael.albinus@gmx.de>
2318
2319 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2320 * net/tramp.el (tramp-user-error): ... here.
2321 (tramp-find-method, tramp-check-proper-host)
2322 (tramp-dissect-file-name, tramp-debug-message)
2323 (tramp-handle-shell-command):
2324 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2325 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2326
2327 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2328
f167c27b
MR
23292013-09-02 Martin Rudalics <rudalics@gmx.at>
2330
2331 * avoid.el (mouse-avoidance-point-position)
2332 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2333 returns nil.
2334
cd16c5f1
FEG
23352013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2336
2337 * progmodes/python.el (python-shell-completion-get-completions):
2338 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2339 (python-nav-if-name-main): New command.
cd16c5f1 2340
e73c3a0d
GM
23412013-09-01 Glenn Morris <rgm@gnu.org>
2342
f8ccce03
GM
2343 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2344 Avoid leading space in $wins. Otherwise the sed command used by
2345 eg compile-main ends up containing "/*.el". (Bug#15170)
2346
e73c3a0d
GM
2347 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2348
415f808e
GM
23492013-08-30 Glenn Morris <rgm@gnu.org>
2350
2351 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2352 Fix is-this-a-directory logic. (Bug#15220)
2353
f069bba8
SM
23542013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2355
112798c1
SM
2356 * textmodes/css-mode.el: Use SMIE.
2357 (css-smie-grammar): New var.
2358 (css-smie--forward-token, css-smie--backward-token)
2359 (css-smie-rules): New functions.
2360 (css-mode): Use them.
2361 (css-navigation-syntax-table): Remove var.
2362 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2363 (css-indent-calculate, css-indent-line): Remove functions.
2364
2365 Misc changes to reduce use of `(lambda...); and other cleanups.
2366 * cus-edit.el: Use lexical-binding.
2367 (customize-push-and-save, customize-apropos)
2368 (custom-buffer-create-internal): Use closures.
2369 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2370 * progmodes/ada-xref.el: Use setq.
2371 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2372 * dframe.el: Use lexical-binding.
2373 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2374 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2375 * descr-text.el: Use lexical-binding.
2376 (describe-text-widget, describe-text-sexp, describe-property-list):
2377 Use closures.
2378 * comint.el (comint-history-isearch-push-state): Use a closure.
2379 * calculator.el: Use lexical-binding.
2380 (calculator-number-to-string): Make it work with lexical-binding.
2381 (calculator-funcall): Same and use cl-letf.
2382
2da4c3ab
SM
2383 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2384 (lisp--company-doc-string, lisp--company-location): New functions.
2385 (lisp-completion-at-point): Use them to improve Company support.
2386
f069bba8
SM
2387 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2388 params of lambda expressions.
2389 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2390 (ruby-smie--opening-pipe-p): New function.
2391 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2392 symbols and matched |...| for formal params.
2393 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2394 from being treated as hanging. Handle "rescue".
2395
6758b6a8
GM
23962013-08-29 Glenn Morris <rgm@gnu.org>
2397
2398 * progmodes/cc-engine.el (c-pull-open-brace):
2399 Move definition before use.
2400
e8dfd197
SM
24012013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2404 are immutable. Don't use `unsafe' any more.
2405 (cl--defsubst-expand): Don't substitute at the same time as keeping
2406 a residual unused let-binding. Don't use `unsafe' any more.
2407
cc585c96
GM
24082013-08-29 Glenn Morris <rgm@gnu.org>
2409
ba579ea6
GM
2410 * calendar/cal-china.el (calendar-chinese-year-cache):
2411 Recenter on 2015.
2412
8201a87e
GM
2413 * nxml/nxml-util.el (nxml-debug-clear-inside):
2414 Use cl-loop rather than loop.
2415
6ee877c7
GM
2416 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2417
cc585c96
GM
2418 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2419
27be8d39
GM
24202013-08-28 Glenn Morris <rgm@gnu.org>
2421
397440a1
GM
2422 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2423
2bb762d4
GM
2424 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2425
27be8d39
GM
2426 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2427
2d69b99e
SM
24282013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2429
f663baa7
SM
2430 * simple.el (repeat-complex-command--called-interactively-skip):
2431 New function.
2432 (repeat-complex-command): Use it (bug#14136).
2433
dd4f8b74
SM
2434 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2435 (c-define-abbrev-table): Add `doc' argument.
2436 (c-mode-abbrev-table, c++-mode-abbrev-table)
2437 (objc-mode-abbrev-table, java-mode-abbrev-table)
2438 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2439 (awk-mode-abbrev-table): Use it.
2440 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2441 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2442 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2443 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2444 Move initialization into the declaration; and remove any
2445 autoload cookie.
2446
b58969f7
SM
2447 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2448 and dynamic let binding.
2449
4021d6a6
SM
2450 * vc/smerge-mode.el: Remove redundant :group args.
2451
2d69b99e
SM
2452 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2453 to load-path.
2454
274919fd
JL
24552013-08-28 Juri Linkov <juri@jurta.org>
2456
2457 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2458 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2459 (isearch-other-meta-char): Handle an undefined shifted printing
2460 character by downshifting it. (Bug#15200)
2461
121f8c95
JL
24622013-08-28 Juri Linkov <juri@jurta.org>
2463
2464 * isearch.el (isearch-search): Change regexp error message for
2465 non-regexp searches. (Bug#15166)
2466
50b13cde
PE
24672013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2468
2469 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2470 for portability to hosts where /bin/sh has problems.
2471
95888bca
SM
24722013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2475
bbe558f1
JL
24762013-08-27 Juri Linkov <juri@jurta.org>
2477
2478 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2479 in the keyboard macro. (Bug#15126)
2480
26f98a7d
JL
24812013-08-27 Juri Linkov <juri@jurta.org>
2482
2483 * isearch.el (isearch-quote-char): Comment out converting unibyte
2484 to multibyte, thus syncing with its `quoted-insert' counterpart.
2485 (Bug#15166)
2486
7c97d35e
MR
24872013-08-27 Martin Rudalics <rudalics@gmx.at>
2488
2489 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2490 argument in call of get-largest-window (Bug#15185).
2491 Reported by Stephen Leake.
7c97d35e 2492
a0b5606e 24932013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2494
2495 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2496
9e89d835
SM
24972013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2500 from a matcher-function unless there's no more matches (bug#15161).
2501
78fc2530
MA
25022013-08-26 Michael Albinus <michael.albinus@gmx.de>
2503
2504 * minibuffer.el: Revert change from 2013-08-20.
2505
2506 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2507 with text property `tramp-default', if appropriate.
2508 (tramp-check-proper-host): New defun.
2509 (tramp-dissect-file-name): Do not check hostname. Revert change
2510 of 2013-03-18.
2511 (tramp-backtrace): Make VEC-OR-PROC optional.
2512
2513 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2514 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2515 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2516 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2517 Apply `tramp-check-proper-host'.
78fc2530 2518
edca97cd
TH
25192013-08-26 Tassilo Horn <tsdh@gnu.org>
2520
2521 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2522 lambda expression in order to have `describe-variable' display it.
2523
df54bcbd
MA
25242013-08-26 Michael Albinus <michael.albinus@gmx.de>
2525
2526 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2527 BUF can be optional. (Bug#15186)
2528
eed99101
XF
25292013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2530
2531 * progmodes/flymake.el (flymake-get-real-file-name-function):
2532 Fix broken customization. (Bug#15184)
2533
b5eb9035
AM
25342013-08-25 Alan Mackenzie <acm@muc.de>
2535
8a51e842
AM
2536 Improve indentation of bracelists defined by macros (without "=").
2537
2538 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2539 expansion begins with "{", regard it as bracelist when it doesn't
2540 contain a ";".
2541
869455d4
AM
2542 Parse C++ inher-intro when there's a template split over 2 lines.
2543
2544 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2545 rigorously the search for "class" etc. followed by ":".
2546
2547 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2548 random languages a regexp which never matches rather than nil.
2549
b5eb9035
AM
2550 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2551
2552 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2553 (c-awk-regexp-one-line-possibly-open-char-list-re)
2554 (c-awk-one-line-possibly-open-regexp-re)
2555 (c-awk-one-line-non-syn-ws*-re): Remove.
2556 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2557 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2558 (c-awk-space*-unclosed-regexp-/-re): New constants.
2559 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2560 aren't regexp delimiters.
2561
2562 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2563 handling for a rare situation in AWK Mode involving unterminated
2564 strings/regexps.
2565
61611d54
GM
25662013-08-23 Glenn Morris <rgm@gnu.org>
2567
2d85dc34
GM
2568 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2569
cb8d2612
GM
2570 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2571
bb35f42f
GM
2572 * files.el (create-file-buffer): If the result would begin with
2573 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2574
b9808e77
SM
25752013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2576
e3a66363
SM
2577 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2578 text-properties (bug#15155).
2579
b9808e77
SM
2580 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2581 exist any more.
2582 (calc-keypad-redraw): Remove unused var `pad'.
2583 (calc-keypad-press): Remove unused var `menu'.
2584
7fd5f65e
MR
25852013-08-23 Martin Rudalics <rudalics@gmx.at>
2586
b9808e77
SM
2587 * window.el (display-buffer-pop-up-frame):
2588 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2589 use it as the new frame's buffer (Bug#15133).
2590
8352b530
SM
25912013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * calendar/timeclock.el: Minor cleanups.
2594 (timeclock-ask-before-exiting, timeclock-use-display-time):
2595 Use `symbol'.
2596 (timeclock-modeline-display): Define as alias before the
2597 actual definition.
2598 (timeclock-mode-line-display): Use define-minor-mode.
2599 (timeclock-day-list-template): Make it a function, add an argument.
2600 (timeclock-day-list-required, timeclock-day-list-length)
2601 (timeclock-day-list-debt, timeclock-day-list-span)
2602 (timeclock-day-list-break): Adjust calls accordingly.
2603
9f7b1925
SM
26042013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2607 Use read--expression so that completion works again.
2608
6e50e983
SS
26092013-08-21 Sam Steingold <sds@gnu.org>
2610
2611 Add rudimentary inferior shell interaction
2612 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2613 (sh-set-shell): Reset it.
9f7b1925
SM
2614 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2615 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2616
dbb0d350
SM
26172013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * align.el: Use lexical-binding.
2620 (align-region): Simplify accordingly.
2621
c88586a9
MA
26222013-08-20 Michael Albinus <michael.albinus@gmx.de>
2623
2624 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2625
2626 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2627 `non-essential' up.
2628
f95527c8
MA
26292013-08-17 Michael Albinus <michael.albinus@gmx.de>
2630
2631 * net/tramp.el:
2632 * net/tramp-adb.el:
2633 * net/tramp-cmds.el:
2634 * net/tramp-ftp.el:
2635 * net/tramp-gvfs.el:
2636 * net/tramp-gw.el:
2637 * net/tramp-sh.el: Don't wrap external variable declarations by
2638 `eval-when-compile'.
2639
4b5fe4ee
LMI
26402013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2641
2642 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2643 now that Emacs supports ImageMagick animations.
2644
13c366c9
MA
26452013-08-16 Michael Albinus <michael.albinus@gmx.de>
2646
2647 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2648 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2649
3dfc5cd6
MR
26502013-08-16 Martin Rudalics <rudalics@gmx.at>
2651
2652 * window.el (mouse-autoselect-window-select): Do autoselect when
2653 mouse pointer is on margin.
2654
4bbb4381
WP
26552013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2656
2657 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2658
3a2ddc2d
GM
26592013-08-16 Glenn Morris <rgm@gnu.org>
2660
e8bedf5a
GM
2661 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2662 Handle "Remote Directory" response of some clients. (Bug#15058)
2663
58c4682f
GM
2664 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2665 Tweak warning. (Bug#14926)
2666
57953f49
GM
2667 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2668 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2669
3a2ddc2d
GM
2670 * image-mode.el (image-mode-map): Add menu items to reverse,
2671 increase, decrease, reset animation speed.
2672 (image--set-speed, image-increase-speed, image-decrease-speed)
2673 (image-reverse-speed, image-reset-speed): New functions.
2674 (image-mode-map): Add bindings for speed commands.
2675
2676 * image.el (image-animate-get-speed, image-animate-set-speed):
2677 New functions.
2678 (image-animate-timeout): Respect image :speed property.
2679
10fa0ed3
SM
26802013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2681
2682 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2683 previous line (bug#15101).
2684 (debugger-eval-expression, debugger-record-expression):
2685 Use read--expression (bug#15102).
2686
5d89d9d2
MA
26872013-08-15 Michael Albinus <michael.albinus@gmx.de>
2688
2689 Remove byte compiler warnings, visible when compiling with
2690 `byte-compile-force-lexical-warnings' set to t.
2691
2692 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2693 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2694 (tramp-handle-unhandled-file-name-directory)
2695 (tramp-handle-file-notify-add-watch, tramp-action-login)
2696 (tramp-action-succeed, tramp-action-permission-denied)
2697 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2698 arguments with "_".
2699
2700 * net/tramp-adb.el (tramp-adb-parse-device-names)
2701 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2702 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2703 (tramp-adb-handle-file-truename): Remove unused arguments.
2704
2705 * net/tramp-cache.el (tramp-flush-directory-property)
2706 (tramp-flush-connection-property, tramp-list-connections)
2707 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2708
10fa0ed3
SM
2709 * net/tramp-compat.el (tramp-compat-make-temp-file):
2710 Rename FILENAME to F.
5d89d9d2
MA
2711
2712 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2713 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2714 (tramp-zeroconf-parse-workstation-device-names)
2715 (tramp-zeroconf-parse-webdav-device-names)
2716 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2717
2718 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2719 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2720
2721 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2722 arguments.
2723 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2724 (tramp-sh-handle-insert-file-contents-literally)
2725 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2726 with "_".
2727 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2728 Remove unused variables.
2729
2730 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2731 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2732 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2733
2734 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2735 Make them a defconst.
2736 (tramp-uuencode-region): Remove unused variable.
2737
62f33bae
JB
27382013-08-14 Juanma Barranquero <lekktu@gmail.com>
2739
2740 * frameset.el (frameset--prop-setter): New function.
2741 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2742 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2743 parameter was already set in FILTERED. Doc fix.
2744 (frameset--record-minibuffer-relationships): Allow saving a
2745 minibufferless frame without its corresponding minibuffer frame.
2746 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2747 frame, if the frame id matches.
2748 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2749 frames before orphaned ones.
2750 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2751
c660a885
MR
27522013-08-14 Martin Rudalics <rudalics@gmx.at>
2753
2754 * window.el (window-make-atom): Don't overwrite parameter
2755 already present.
2756 (display-buffer-in-atom-window): Handle special case where we
2757 split an already atomic window.
2758 (window--major-non-side-window, display-buffer-in-side-window)
2759 (window--side-check): Ignore minibuffer window when walking
2760 window tree.
2761 (window-deletable-p): Return 'frame only if no other frame uses
2762 our minibuffer window.
2763 (record-window-buffer): Run buffer-list-update-hook.
2764 (split-window): Make sure window--check-frame won't destroy an
2765 existing atomic window in case the new window gets nested
2766 inside.
2767 (display-buffer-at-bottom): Ignore minibuffer window when
2768 walking window tree. Don't split a side window.
2769 (pop-to-buffer): Don't set-buffer here, the select-window call
2770 should do that.
2771 (mouse-autoselect-window-select): Autoselect only if we are in the
2772 text portion of the window.
2773
8259030d
LMI
27742013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2775
21c58ae2
LMI
2776 * net/shr.el (shr-parse-image-data): New function to grab both the
2777 data itself and the Content-Type.
2778 (shr-put-image): Use it.
2779
2780 * net/eww.el (eww-display-image): Ditto.
2781
8259030d
LMI
2782 * image.el (image-content-type-suffixes): New variable.
2783
ad756449
FEG
27842013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2785
2786 * progmodes/python.el (python-imenu--build-tree)
2787 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2788
f73f4ce6
XF
27892013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2790
2791 * simple.el (backward-word): Mention the optional argument.
2792
1f585e65
SM
27932013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * frameset.el (frameset--make): Rename constructor from make-frameset.
2796 (frameset-p, frameset-valid-p): Don't autoload.
2797 (frameset-valid-p): Use normal accessors.
2798
af1c6c84
GM
27992013-08-13 Glenn Morris <rgm@gnu.org>
2800
55e47f95
GM
2801 * progmodes/compile.el (compile-command): Tweak example in doc.
2802 * obsolete/scribe.el (scribe-mode):
2803 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2804
f0024d8c
GM
2805 * mail/feedmail.el (feedmail-confirm-outgoing)
2806 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2807
2808 * cus-start.el (truncate-partial-width-windows): Fix type.
2809
2810 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2811
af1c6c84
GM
2812 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2813
5514cc4c
SM
28142013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 * emacs-lisp/timer.el (timer--time-setter): New function.
2817 (timer--time): Use it as gv-setter.
2818
2819 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2820 setter is not a symbol.
2821
7997a2f1
GJ
28222013-08-12 Grégoire Jadi <daimrod@gmail.com>
2823
2824 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2825 if sending fails. This makes debugging easier.
2826
01f1a9ab
JB
28272013-08-12 Juanma Barranquero <lekktu@gmail.com>
2828
2829 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2830 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2831 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2832
594a4307
EZ
28332013-08-12 Eli Zaretskii <eliz@gnu.org>
2834
2835 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2836
7a22490f 28372013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2838
2839 * format.el (format-annotate-function):
2840 Handle read-only text properties in the source. (Bug#14887)
2841
3e41a054
LMI
28422013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2843
5514cc4c
SM
2844 * net/eww.el (eww-display-html): Ignore coding system errors.
2845 One web site uses "utf-8lias" as the coding system.
3e41a054 2846
7ec326db
JB
28472013-08-11 Juanma Barranquero <lekktu@gmail.com>
2848
2849 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2850
5660113b
JB
28512013-08-10 Juanma Barranquero <lekktu@gmail.com>
2852
9a4ebc74
JB
2853 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2854 (tutorial--detailed-help): Remove unused local variables.
2855 (tutorial--save-tutorial-to): Use ignore-errors.
2856 (help-with-tutorial): Use looking-at-p.
2857
2858 * view.el (view-buffer-other-window, view-buffer-other-frame):
2859 Mark unused arguments.
2860
2861 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2862 (woman-select-symbol-fonts, woman, woman-find-file)
2863 (woman-insert-file-contents, woman-non-underline-faces):
2864 Use string-match-p.
2865 (woman1-unquote): Move declaration.
2866
2867 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2868 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2869 argument. Remove unused local variable.
2870 (xml-parse-elem-type): Use string-match-p.
2871 (xml-substitute-numeric-entities): Use ignore-errors.
2872
45fdb482
JB
2873 * calculator.el (calculator): Mark unused argument.
2874 (calculator-paste, calculator-quit, calculator-integer-p):
2875 Use ignore-errors.
2876 (calculator-string-to-number, calculator-decimal, calculator-exp)
2877 (calculator-op-or-exp): Use string-match-p.
2878
2879 * dired.el (dired-buffer-more-recently-used-p): Declare.
2880 (dired-insert-set-properties, dired-insert-old-subdirs):
2881 Use ignore-errors.
2882
2883 * dired-aux.el (dired-compress): Use ignore-errors.
2884 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2885 (dired-do-async-shell-command, dired-do-shell-command)
2886 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2887 (dired-insert-subdir-validate): Use string-match-p.
2888 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2889 (dired-add-entry): Use string-match-p, looking-at-p.
2890 (dired-insert-subdir-newpos): Remove unused local variable.
2891
2892 * filenotify.el (file-notify-callback): Remove unused local variable.
2893
2894 * filesets.el (filesets-error): Mark unused argument.
2895 (filesets-which-command-p, filesets-filter-dir-names)
2896 (filesets-directory-files, filesets-get-external-viewer)
2897 (filesets-ingroup-get-data): Use string-match-p.
2898
2899 * find-file.el (ff-other-file-name, ff-other-file-name)
2900 (ff-find-the-other-file, ff-cc-hh-converter):
2901 Remove unused local variables.
2902 (ff-get-file-name): Use string-match-p.
2903 (ff-all-dirs-under): Use ignore-errors.
2904
2905 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2906 (follow-select-if-visible): Remove unused local variable.
2907
2908 * forms.el (read-file-filter): Move declaration.
2909 (forms--make-format, forms--make-parser, forms-insert-record):
2910 Quote function with #'.
2911 (forms--update): Use string-match-p. Quote function with #'.
2912
2913 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2914 (help-make-xrefs): Use looking-at-p.
2915 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2916
2917 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2918 (ibuffer-confirm-operation-on): Use string-match-p.
2919
2920 * msb.el (msb-item-handler, msb-dired-item-handler):
2921 Mark unused arguments.
2922
2923 * ses.el (ses-decode-cell-symbol)
2924 (ses-kill-override): Remove unused local variable.
2925 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2926 (ses-load): Use ignore-errors, looking-at-p.
2927 (ses-jump-safe): Use ignore-errors.
2928 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2929
2930 * tabify.el (untabify, tabify): Mark unused arguments.
2931
2932 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2933 Mark unused argument.
2934 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2935 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2936
c880af52
JB
2937 * emacs-lisp/timer.el (timer--time): Define setter with
2938 gv-define-setter to avoid deprecation warning.
2939
5660113b 2940 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2941 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2942 (cmpl-statistics-block): Remove (body was commented out).
2943 All callers changed.
2944 (add-completions-from-buffer, load-completions-from-file):
2945 Remove unused variables.
2946
156aab80
JB
29472013-08-09 Juanma Barranquero <lekktu@gmail.com>
2948
5c5dee78
JB
2949 * filecache.el (file-cache-delete-file-list):
2950 Print message only when told so.
2951 (file-cache-files-matching): Use #' in mapconcat argument.
2952
156aab80
JB
2953 * ffap.el (ffap-url-at-point): Fix reference to variable
2954 thing-at-point-default-mail-uri-scheme.
2955
ad9dcd70
SM
29562013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2957
54bd972f
SM
2958 * subr.el (define-error): New function.
2959 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2960 error-file-not-found and define with define-error.
2961 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2962 and define with define-error.
2963 * userlock.el (file-locked, file-supersession):
2964 * simple.el (mark-inactive):
2965 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2966 * progmodes/ada-mode.el (ada-mode-errors):
2967 * play/life.el (life-extinct):
2968 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2969 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2970 * nxml/rng-util.el (rng-error):
2971 * nxml/rng-uri.el (rng-uri-error):
2972 * nxml/rng-match.el (rng-compile-error):
2973 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2974 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2975 * nxml/nxml-rap.el (nxml-scan-error):
2976 * nxml/nxml-outln.el (nxml-outline-error):
2977 * net/soap-client.el (soap-error):
2978 * net/gnutls.el (gnutls-error):
2979 * net/ange-ftp.el (ftp-error):
2980 * mpc.el (mpc-proc-error):
2981 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2982 (json-number-format, json-string-escape, json-string-format)
2983 (json-key-format, json-object-format):
2984 * jka-compr.el (compression-error):
2985 * international/quail.el (quail-error):
2986 * international/kkc.el (kkc-error):
2987 * emacs-lisp/ert.el (ert-test-failed):
2988 * calc/calc.el (calc-error, inexact-result, math-overflow)
2989 (math-underflow):
2990 * bookmark.el (bookmark-error-no-filename):
2991 * epg.el (epg-error): Define with define-error.
2992
0ea9e53a
SM
2993 * time.el (display-time-event-handler)
2994 (display-time-next-load-average): Don't call sit-for since it seems
2995 unnecessary (bug#15045).
2996
b0429158
SM
2997 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2998 Use #' instead of ' to quote functions.
2999 (checkdoc-output-mode): Use setq-local.
3000 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3001 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3002 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3003 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3004 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3005 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3006 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3007 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3008
ad9dcd70
SM
3009 * ido.el (ido-completion-help): Fix up compiler warning.
3010
77187e6f
JB
30112013-08-09 Juanma Barranquero <lekktu@gmail.com>
3012
3013 * frameset.el (frameset-p): Add autoload cookie.
3014 (frameset--jump-to-register): New function, based on code moved from
3015 register.el.
3016 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3017
3018 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3019 (frameset-restore, frameset-save, frameset-session-filter-alist):
3020 Remove declarations.
3021 (register-alist): Doc fix.
3022 (frameset-to-register): Move to frameset.el.
3023 (jump-to-register, describe-register-1): Remove frameset-specific code.
3024
9d3aa82c
JB
30252013-08-08 Juanma Barranquero <lekktu@gmail.com>
3026
3027 * allout-widgets.el (allout-widgets-pre-command-business)
3028 (allout-widgets-post-command-business)
3029 (allout-widgets-after-change-handler)
3030 (allout-decorate-item-and-context, allout-set-boundary-marker)
3031 (allout-body-modification-handler)
3032 (allout-graphics-modification-handler): Mark ignored arguments.
3033 (allout-widgets-post-command-business)
3034 (allout-widgets-exposure-change-processor)
3035 (allout-widgets-exposure-undo-processor)
3036 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3037 (allout-parse-item-at-point, allout-decorate-item-guides)
3038 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3039 * allout.el (epa-passphrase-callback-function): Declare.
3040 (allout-overlay-insert-in-front-handler)
3041 (allout-overlay-interior-modification-handler)
3042 (allout-isearch-end-handler, allout-chart-siblings)
3043 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3044 (allout-yank-processing, allout-process-exposed)
3045 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3046 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3047 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3048 (lisp-indent-defform): Mark ignored arguments.
3049 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3050 (calculate-lisp-indent): Remove unused variables.
3051 * international/characters.el (indian-2-column, arabic-2-column)
3052 (tibetan): Mark ignored arguments.
3053 (use-cjk-char-width-table): Mark ignored arguments.
3054 Remove unused variables.
3055 * international/fontset.el (build-default-fontset-data)
3056 (x-compose-font-name, create-fontset-from-fontset-spec):
3057 Mark ignored arguments.
3058 (fontset-plain-name): Remove unused variables.
3059 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3060 (keyboard-coding-system): Mark ignored arguments.
3061 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3062 * help.el (resize-temp-buffer-window):
3063 * window.el (display-buffer-in-major-side-window)
3064 (display-buffer-in-side-window, display-buffer-in-previous-window):
3065 Remove unused variables.
3066 * isearch.el (isearch-forward-symbol):
3067 * version.el (emacs-bzr-version-bzr):
3068 * international/mule-cmds.el (current-language-environment):
3069 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3070 (x-handle-display):
3071 * term/pc-win.el (x-list-fonts, x-display-planes)
3072 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3073 (x-server-version, x-display-screens, x-display-mm-height)
3074 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3075 (x-selection-owner-p, x-own-selection-internal)
3076 (x-disown-selection-internal, x-get-selection-internal)
3077 (msdos-initialize-window-system):
3078 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3079 * term/x-win.el (x-handle-no-bitmap-icon):
3080 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3081 (vc-default-find-file-hook, vc-default-extra-menu):
3082 Mark ignored arguments.
3083
0ca3f70e
SM
30842013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3085
3086 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3087 break-condition in the context of the debugged code (bug#12685).
3088
74c5d24c
CS
30892013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3090
3091 * comint.el:
3092 Do not use an overlay to highlight the last prompt. (Bug#14744)
3093 (comint-mode): Make comint-last-prompt buffer local.
3094 (comint-last-prompt): New variable.
3095 (comint-last-prompt-overlay): Remove. Superseded by
3096 comint-last-prompt.
0ca3f70e
SM
3097 (comint-snapshot-last-prompt, comint-output-filter):
3098 Use comint-last-prompt.
74c5d24c 3099
c03c02ee
JB
31002013-08-08 Juanma Barranquero <lekktu@gmail.com>
3101
a3738d20 3102 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3103 (frameset-save): Check validity of the resulting frameset.
3104
04263d23
XF
31052013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3106
3107 * ido.el (ido-record-command): Add doc string.
3108
76c5e5ab
JB
31092013-08-08 Juanma Barranquero <lekktu@gmail.com>
3110
3111 * frameset.el (frameset): Do not disable creation of the default
3112 frameset-p predicate. Doc fix.
3113 (frameset-valid-p): New function, copied from the old predicate-p.
3114 Add additional checks.
3115 (frameset-restore): Check with frameset-valid-p.
3116 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3117 (frameset-name, frameset-description, frameset-properties)
3118 (frameset-states): Add docstring.
f9dbf1cb
JB
3119 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3120 (frameset-filter-alist): Doc fixes.
76c5e5ab 3121
bd0c3c0b
JB
31222013-08-08 Juanma Barranquero <lekktu@gmail.com>
3123
3124 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3125
c735544c
SM
31262013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3129 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3130 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3131 (byte-compile-normal-call): Remove obsolescence check.
3132
2805a651
JB
31332013-08-08 Juanma Barranquero <lekktu@gmail.com>
3134
3677ffeb
JB
3135 * frameset.el (frameset-restore): Doc fix.
3136
2805a651
JB
3137 * register.el (frameset-frame-id, frameset-frame-with-id)
3138 (frameset-p, frameset-restore, frameset-save): Declare.
3139 (register-alist): Document framesets.
3140 (frameset-session-filter-alist): Declare.
3141 (frameset-to-register): New function.
3142 (jump-to-register): Implement jumping to framesets. Doc fix.
3143 (describe-register-1): Describe framesets.
3144
3145 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3146
a912c016
JB
31472013-08-07 Juanma Barranquero <lekktu@gmail.com>
3148
3149 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3150 Use lexical-binding.
3151
3152 * frameset.el (frameset): Use type vector, not list (incompatible
3153 change). Do not declare a new constructor, use the default one.
3154 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3155 `name' and `description', respectively, and add read-only slot
3156 `timestamp'. Doc fixes.
3157 (frameset-copy, frameset-persistent-filter-alist)
3158 (frameset-filter-alist, frameset-switch-to-gui-p)
3159 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3160 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3161 (frameset-filter-iconified, frameset-keep-original-display-p):
3162 Doc fixes.
3163 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3164 Rename from frameset-filter-(save|restore)-param. All callers changed.
3165 Doc fix.
3166 (frameset-p): Adapt to change to vector and be more thorough.
3167 Change arg name to OBJECT. Doc fix.
3168 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3169 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3170 All callers changed.
3171 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3172 All callers changed.
3173 (frameset--record-minibuffer-relationships): Rename from
3174 frameset--process-minibuffer-frames. All callers changed.
3175 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3176 Use new default constructor (again). Doc fix.
3177 (frameset--find-frame-if): Rename from `frameset--find-frame.
3178 All callers changed.
3179 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3180 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3181 Doc fix.
3182 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3183 PARAMETERS and WINDOW-STATE, respectively.
3184 (frameset-restore): Add new keyword argument PREDICATE.
3185 Reset frameset--target-display to nil. Doc fix.
3186
bb41480a
SM
31872013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3188
f001e98e
SM
3189 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3190 (bat-mode): Use it.
3191 (bat-mode-syntax-table): Mark \n as end-of-comment.
3192 (bat-font-lock-keywords): Remove comment rule.
3193
7679edb1
SM
3194 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3195 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3196
bb41480a
SM
3197 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3198 (byte-compile-callargs-warn): Use `push'.
3199 (byte-compile-arglist-warn): Ignore higher-order "calls".
3200 (byte-compile-file-form-autoload): Use `pcase'.
3201 (byte-compile-function-form): If quoting a symbol, check that it exists.
3202
cdc1ebb9
EZ
32032013-08-07 Eli Zaretskii <eliz@gnu.org>
3204
3205 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3206 and add a few popular commands found in batch files.
3207 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3208 (dos-mode): Doc fixes.
3209
312b1740
SM
32102013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3211
3212 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3213 (dos-mode): Use setq-local. Add space after "rem".
3214 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3215 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3216
400a3178
AM
32172013-08-07 Arni Magnusson <arnima@hafro.is>
3218
3219 * progmodes/dos.el: New file.
3220 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3221 dos-mode.
3222
3b5c03d3
GM
32232013-08-06 Glenn Morris <rgm@gnu.org>
3224
3225 * calendar/calendar.el: Add new faces, and day-header-array.
3226 (calendar-weekday-header, calendar-weekend-header)
3227 (calendar-month-header): New faces.
3228 (calendar-day-header-construct): New function.
3229 (calendar-day-header-width): Also :set calendar-day-header-array.
3230 (calendar-american-month-header, calendar-european-month-header)
3231 (calendar-iso-month-header): Use calendar- faces.
3232 (calendar-generate-month):
3233 Use calendar-day-header-array for day headers; apply faces to them.
3234 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3235 (calendar-abbrev-construct): Add optional maxlen argument.
3236 (calendar-day-name-array): Doc fix.
3237 (calendar-day-name-array, calendar-abbrev-length)
3238 (calendar-day-abbrev-array):
3239 Also :set calendar-day-header-array, and maybe redraw.
3240 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3241 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3242 (calendar-day-name): Add option to use header array.
3243
ec6a2d7a
LMI
32442013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3245
3246 * net/shr.el (shr-render-td): Remove debugging.
3247 (shr-render-td): Make width computation consistent by defaulting
3248 all zero-width columns to 10 characters. This may not be optimal,
3249 but it's at least consistent.
2122cb6d
LMI
3250 (shr-make-table-1): Redo last change to fix the real problem in
3251 colspan handling.
ec6a2d7a 3252
ed4fd9c5
DA
32532013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3254
0ca3f70e
SM
3255 * files.el (cache-long-line-scans):
3256 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3257
64e22afe
JB
32582013-08-06 Juanma Barranquero <lekktu@gmail.com>
3259
024b38fc
JB
3260 * frameset.el (frameset, frameset-filter-alist)
3261 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3262 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3263 (frameset-compute-pos): Rename from frameset--compute-pos,
3264 and add docstring.
3265 (frameset-move-onscreen): Use frameset-compute-pos.
3266 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3267
64e22afe
JB
3268 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3269 Fix typos in docstrings.
3270
c8c2aca8
DA
32712013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3272
3273 * frame.el (get-other-frame): Tiny cleanup.
3274
1d237bba
JB
32752013-08-06 Juanma Barranquero <lekktu@gmail.com>
3276
8951efef
JB
3277 * vc/vc.el (vc-default-ignore-completion-table):
3278 Silence byte-compiler warning.
3279
307764cc
JB
3280 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3281 slot , which can indeed be nil.
3282 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3283 Move entry for `left' from persistent to live filter alist.
3284 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3285 Doc fixes.
3286 (frameset-filter-params): When restoring a frame, copy items added to
3287 `filtered', to avoid unwittingly modifying the original parameters.
3288 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3289 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3290
1d237bba
JB
3291 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3292 to use looking-at-p instead of looking-at. (Bug#15028)
3293
dc6c0eda
SM
32942013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3295
3296 Revert introduction of isearch-filter-predicates (bug#14714).
3297 Rely on add-function instead.
3298 * isearch.el (isearch-filter-predicates): Rename it back to
3299 isearch-filter-predicate.
3300 (isearch-message-prefix): Use advice-function-mapc and advice
3301 properties to get the isearch-message-prefix.
3302 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3303 instead of run-hook-with-args-until-failure.
3304 (isearch-filter-visible): Not obsolete any more.
3305 * loadup.el: Preload nadvice.
3306 * replace.el (perform-replace): Revert to funcall
3307 instead of run-hook-with-args-until-failure.
3308 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3309 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3310 dired-isearch-filenames-toggle; make it into a proper minor mode.
3311 Use add/remove-function.
3312 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3313 Call the minor-mode rather than add/remove-hook.
3314 (dired-isearch-filter-filenames):
3315 Remove isearch-message-prefix property.
3316 * info.el (Info--search-loop): New function, extracted from Info-search.
3317 Funcall isearch-filter-predicate instead of
3318 run-hook-with-args-until-failure isearch-filter-predicates.
3319 (Info-search): Use it.
3320 (Info-mode): Use isearch-filter-predicate instead of
3321 isearch-filter-predicates.
3322
290d5b58
DA
33232013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3324
3325 Do not call to `selected-window' where it is assumed by default.
3326 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3327 `window-hscroll', `window-width', `window-height', `window-buffer',
3328 `window-frame', `window-start', `window-point', `next-window'
3329 and `window-display-table'.
3330 * abbrev.el (abbrev--default-expand):
3331 * bs.el (bs--show-with-configuration):
3332 * buff-menu.el (Buffer-menu-mouse-select):
3333 * calc/calc.el (calc):
3334 * calendar/calendar.el (calendar-generate-window):
3335 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3336 (diary-make-entry):
3337 * comint.el (send-invisible, comint-dynamic-complete-filename)
3338 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3339 * completion.el (complete):
3340 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3341 * disp-table.el (describe-current-display-table):
3342 * doc-view.el (doc-view-insert-image):
3343 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3344 * ehelp.el (with-electric-help):
3345 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3346 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3347 * emacs-lisp/helper.el (Helper-help-scroller):
3348 * emulation/cua-base.el (cua--post-command-handler-1):
3349 * eshell/esh-mode.el (eshell-output-filter):
3350 * ffap.el (ffap-gnus-wrapper):
3351 * help-macro.el (make-help-screen):
3352 * hilit-chg.el (highlight-compare-buffers):
3353 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3354 * hl-line.el (global-hl-line-highlight):
3355 * icomplete.el (icomplete-simple-completing-p):
3356 * isearch.el (isearch-done):
3357 * jit-lock.el (jit-lock-stealth-fontify):
3358 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3359 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3360 * mpc.el (mpc-tagbrowser, mpc):
3361 * net/rcirc.el (rcirc-any-buffer):
3362 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3363 * play/landmark.el (landmark-max-width, landmark-max-height):
3364 * play/zone.el (zone):
3365 * progmodes/compile.el (compilation-goto-locus):
3366 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3367 * progmodes/etags.el (find-tag-other-window):
3368 * progmodes/fortran.el (fortran-column-ruler):
3369 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3370 * progmodes/verilog-mode.el (verilog-point-text):
3371 * reposition.el (reposition-window):
3372 * rot13.el (toggle-rot13-mode):
3373 * server.el (server-switch-buffer):
3374 * shell.el (shell-dynamic-complete-command)
3375 (shell-dynamic-complete-environment-variable):
3376 * simple.el (insert-buffer, set-selective-display)
3377 (delete-completion-window):
3378 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3379 (speedbar-recenter):
3380 * startup.el (fancy-splash-head):
3381 * textmodes/ispell.el (ispell-command-loop):
3382 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3383 * tutorial.el (help-with-tutorial):
3384 * vc/add-log.el (add-change-log-entry):
3385 * vc/compare-w.el (compare-windows):
3386 * vc/ediff-help.el (ediff-indent-help-message):
3387 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3388 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3389 (ediff-setup-control-frame):
3390 * vc/emerge.el (emerge-position-region):
3391 * vc/pcvs-util.el (cvs-bury-buffer):
3392 * window.el (walk-windows, mouse-autoselect-window-select):
3393 * winner.el (winner-set-conf, winner-undo): Related users changed.
3394
38276e01
JB
33952013-08-05 Juanma Barranquero <lekktu@gmail.com>
3396
3397 * frameset.el (frameset--set-id): Doc fix.
3398 (frameset-frame-id, frameset-frame-id-equal-p)
3399 (frameset-locate-frame-id): New functions.
3400 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3401 (frameset-restore): Use them.
3402
12b4c0ea
DA
34032013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3404
3405 Do not call to `selected-frame' where it is assumed by default.
3406 Affected functions are `raise-frame', `redraw-frame',
3407 `frame-first-window', `frame-terminal' and `delete-frame'.
3408 * calendar/appt.el (appt-disp-window):
3409 * epg.el (epg-wait-for-completion):
3410 * follow.el (follow-delete-other-windows-and-split)
3411 (follow-avoid-tail-recenter):
3412 * international/mule.el (set-terminal-coding-system):
3413 * mail/rmail.el (rmail-mail-return):
3414 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3415 * progmodes/f90.el (f90-add-imenu-menu):
3416 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3417 * server.el (server-switch-buffer):
3418 * simple.el (delete-completion-window):
3419 * talk.el (talk):
3420 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3421 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3422 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3423 * vc/ediff.el (ediff-documentation): Related users changed.
3424 * frame.el (selected-terminal): Remove the leftover.
3425
17f25e76
GM
34262013-08-05 Glenn Morris <rgm@gnu.org>
3427
3428 * calendar/calendar.el (calendar-generate-month):
3429 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3430 (calendar-generate-month, calendar-font-lock-keywords):
3431 Fix for calendar-day-header-width > length of any day name.
17f25e76 3432
063233c3
JB
34332013-08-05 Juanma Barranquero <lekktu@gmail.com>
3434
3435 * desktop.el (desktop-clear): Use new name of sort predicate.
3436
3437 * frameset.el (frameset): Add docstring. Move :version property to its
3438 own `version' slot.
3439 (frameset-copy): Rename from copy-frameset.
3440 (frameset-p): Check more thoroughly.
3441 (frameset-prop): Do not check for :version, which is no longer a prop.
3442 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3443 Use new :never value instead of t.
3444 (frameset-filter-alist): Expand and clarify docstring.
3445 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3446 (frameset-filter-minibuffer, frameset-filter-save-param)
3447 (frameset-filter-restore-param, frameset-filter-iconified):
3448 Add pointer to docstring of frameset-filter-alist.
3449 (frameset-filter-params): Rename filter values to be more meaningful:
3450 :never instead of t, and reverse the meanings of :save and :restore.
3451 (frameset--process-minibuffer-frames): Clarify error message.
3452 (frameset-save): Avoid unnecessary and confusing call to framep.
3453 Use new BOA constructor for framesets.
3454 (frameset--reuse-list): Doc fix.
3455 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3456 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3457 (frameset-minibufferless-first-p): Doc fix.
3458 Rename from frameset-sort-frames-for-deletion.
3459 (frameset-restore): Doc fixes. Use new function names.
3460 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3461
d5671a82
JB
34622013-08-04 Juanma Barranquero <lekktu@gmail.com>
3463
3464 * desktop.el (desktop-restore-forces-onscreen)
3465 (desktop-restore-reuses-frames): Document :keyword constant values.
3466 (desktop-filter-parameters-alist): Remove, now identical to
3467 frameset-filter-alist.
3468 (desktop--filter-tty*): Remove, moved to frameset.el.
3469 (desktop-save-frameset, desktop-restore-frameset):
3470 Do not pass :filters argument.
3471
3472 * frameset.el (frameset-live-filter-alist)
3473 (frameset-persistent-filter-alist): New variables.
3474 (frameset-filter-alist): Use them. Add autoload cookie.
3475 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3476 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3477 `frameset--id' (it's supposed to be internal to frameset.el).
3478 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3479 (frameset--initial-params): New function.
3480 (frameset--get-frame): Use it. Doc fix.
3481 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3482 Accept :all, not 'all.
3483 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3484 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3485 with fbound symbols. Fix frame id matching, and remove matching ids if
3486 the frame being restored is deleted. Obey :delete.
3487
671d5c16
SM
34882013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * subr.el (macrop): New function.
3491 (text-clone--maintaining): New var.
3492 (text-clone--maintain): Rename from text-clone-maintain. Use it
3493 instead of inhibit-modification-hooks.
3494
3495 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3496 a proxy, so as handle autoloads and redefinitions of the target.
3497 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3498
3499 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3500 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3501 (pcase--mutually-exclusive-p): New function.
3502 (pcase--split-consp): Use it.
3503 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3504 mutually exclusive with the current predicate.
3505
3506 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3507 (edebug-macrop): Remove. Use `macrop' instead.
3508 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3509 (ad-macro-p):
3510 * eshell/esh-cmd.el (eshell-macrop):
3511 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3512
1d44e9dc
SM
35132013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3516 (advice-mapc): New function, using it.
3517 (advice-function-member-p): New function.
3518 (advice--normalize): Store the cdr in advice--saved-rewrite since
3519 that's the part that will be changed.
3520 (advice--symbol-function): New function.
3521 (advice-remove): Handle removal before the function is defined.
3522 Adjust to new advice--saved-rewrite.
3523 (advice-member-p): Use advice-function-member-p and
3524 advice--symbol-function.
3525
5414a283
JB
35262013-08-04 Juanma Barranquero <lekktu@gmail.com>
3527
51d30f2c
JB
3528 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3529 (frameset-filter-minibuffer): Doc fix.
3530 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3531 (frameset--set-id, frameset--process-minibuffer-frames)
3532 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3533 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3534
5414a283
JB
3535 * desktop.el (desktop-clear): Only delete frames when called
3536 interactively and desktop-restore-frames is non-nil. Doc fix.
3537 (desktop-read): Set desktop-saved-frameset to nil.
3538
ab419665
XF
35392013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3540
3541 * vc/vc.el (vc-ignore): Rewrite.
3542 (vc-default-ignore-completion-table):
3543 (vc--read-lines):
3544 (vc--add-line, vc--remove-regexp): New functions.
3545
3546 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3547 (vc-svn-ignore-completion-table): New function.
3548
3549 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3550 (vc-hg-ignore-completion-table):
3551 (vc-hg-find-ignore-file): New functions.
3552
3553 * vc/vc-git.el (vc-git-ignore): Rewrite.
3554 (vc-git-ignore-completion-table):
3555 (vc-git-find-ignore-file): New functions.
3556
3557 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3558
3559 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3560 (vc-bzr-ignore-completion-table):
3561 (vc-bzr-find-ignore-file): New functions.
3562
2613dea2
JB
35632013-08-03 Juanma Barranquero <lekktu@gmail.com>
3564
3565 * frameset.el (frameset-prop): New function and setter.
3566 (frameset-save): Do not modify frame list passed by the caller.
3567
9c959872
SM
35682013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3571
a104f656
SM
35722013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3573
70122acf
SM
3574 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3575 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3576
a104f656
SM
3577 * custom.el (custom-initialize-default, custom-initialize-set)
3578 (custom-initialize-reset, custom-initialize-changed): Affect the
3579 toplevel-default-value (bug#6275, bug#14586).
3580 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3581 for bug#6275.
3582
f078d570
JB
35832013-08-02 Juanma Barranquero <lekktu@gmail.com>
3584
185e3b5a
JB
3585 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3586 Add cl-def* expressions.
3587
f078d570
JB
3588 * frameset.el (frameset-filter-params): Fix order of arguments.
3589
9421876d
JB
35902013-08-02 Juanma Barranquero <lekktu@gmail.com>
3591
3592 Move code related to saving frames to frameset.el.
3593 * desktop.el: Require frameset.
3594 (desktop-restore-frames): Doc fix.
3595 (desktop-restore-reuses-frames): Rename from
3596 desktop-restoring-reuses-frames.
3597 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3598 (desktop-clear): Clear frames too.
3599 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3600 (desktop--filter-tty*, desktop-save, desktop-read):
3601 Use frameset functions.
3602 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3603 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3604 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3605 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3606 (desktop--process-minibuffer-frames, desktop-save-frames)
3607 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3608 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3609 (desktop--sort-states, desktop-restoring-frames-p)
3610 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3611 (desktop-restoring-frameset-p, desktop-restore-frameset)
3612 (desktop--check-dont-save, desktop-save-frameset): New functions.
3613 (desktop--app-id): New constant.
3614 (desktop-first-buffer, desktop-buffer-ok-count)
3615 (desktop-buffer-fail-count): Move before first use.
3616 * frameset.el: New file.
3617
76dc5996
SM
36182013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * files.el: Use lexical-binding.
3621 (dir-locals-read-from-file): Remove unused `err' variable.
3622 (hack-dir-local-variables--warned-coding): New var.
3623 (hack-dir-local-variables): Use it to avoid repeated warnings.
3624 (make-backup-file-name--default-function): New function.
3625 (make-backup-file-name-function): Use it as default.
3626 (buffer-stale--default-function): New function.
3627 (buffer-stale-function): Use it as default.
3628 (revert-buffer-insert-file-contents--default-function): New function.
3629 (revert-buffer-insert-file-contents-function): Use it as default.
3630 (insert-directory): Avoid add-to-list.
3631
3632 * autorevert.el (auto-revert-handler): Simplify.
3633 Use buffer-stale--default-function.
3634
06d36e2b
TH
36352013-08-01 Tassilo Horn <tsdh@gnu.org>
3636
5f648ab4
TH
3637 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3638
06d36e2b
TH
3639 * whitespace.el (whitespace-ensure-local-variables): New function.
3640 (whitespace-cleanup-region): Call it.
3641 (whitespace-turn-on): Call it.
3642
a43dc424
MA
36432013-08-01 Michael Albinus <michael.albinus@gmx.de>
3644
3645 Complete file name handlers.
3646
3647 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3648 (tramp-handle-verify-visited-file-modtime)
3649 (tramp-handle-file-notify-rm-watch): New functions.
3650 (tramp-call-process): Do not bind `default-directory'.
3651
44e18199
JB
3652 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3653 Order alphabetically.
a43dc424
MA
3654 [access-file, add-name-to-file, dired-call-process]:
3655 [dired-compress-file, file-acl, file-notify-rm-watch]:
3656 [file-ownership-preserved-p, file-selinux-context]:
3657 [make-directory-internal, make-symbolic-link, set-file-acl]:
3658 [set-file-selinux-context, set-visited-file-modtime]:
3659 [verify-visited-file-modtime]: Add handler.
3660 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3661
3662 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3663 [file-notify-add-watch, file-notify-rm-watch]:
3664 [set-file-times, set-visited-file-modtime]:
3665 [verify-visited-file-modtime]: Add handler.
3666 (with-tramp-gvfs-error-message)
3667 (tramp-gvfs-handle-set-visited-file-modtime)
3668 (tramp-gvfs-fuse-file-name): Remove.
3669 (tramp-gvfs-handle-file-notify-add-watch)
3670 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3671 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3672
44e18199
JB
3673 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3674 Order alphabetically.
a43dc424
MA
3675 [file-notify-rm-watch ]: Use default Tramp handler.
3676 [executable-find]: Remove private handler.
3677 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3678 `default-directory'.
3679 (tramp-sh-handle-executable-find)
3680 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3681 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3682 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3683 Do not use `format' in `tramp-message'.
3684
3685 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3686 [file-notify-rm-watch, set-visited-file-modtime]:
3687 [verify-visited-file-modtime]: Add handler.
3688 (tramp-smb-call-winexe): Do not bind `default-directory'.
3689
7188b515
XF
36902013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3691
3692 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3693
2412ee1a
DG
36942013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3695
3696 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3697 use it.
3698 (log-view-diff-changeset): Same.
3699 (log-view-diff-common): Call backend command `previous-revision'
3700 to find out the previous revision, in both cases. Swap the
3701 variables `to' and `fr', so that `fr' usually refers to the
3702 earlier revision (Bug#14989).
3703
5002a754
KRC
37042013-07-31 Kan-Ru Chen <kanru@kanru.info>
3705
3706 * ibuf-ext.el (ibuffer-filter-by-filename):
3707 Make it work with dired buffers too.
3708
44e18199 37092013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3710
3711 * emacs-lisp/re-builder.el (reb-color-display-p):
3712 * files.el (save-buffers-kill-terminal):
3713 * net/browse-url.el (browse-url):
3714 * server.el (server-save-buffers-kill-terminal):
3715 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3716 Prefer nil to selected-frame for the first arg of frame-parameter.
3717
aeca3fbb
XF
37182013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3719
3720 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3721
158bc55c
SB
37222013-07-30 Stephen Berman <stephen.berman@gmx.net>
3723
3724 * minibuffer.el (completion--twq-all): Try and preserve each
3725 completion's case choice (bug#14907).
3726
d50fceab
LMI
37272013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3728
ac38e731
LMI
3729 * net/network-stream.el (open-network-stream): Mention the new
3730 :nogreeting parameter.
3731 (network-stream-open-starttls): Use the :nogreeting parameter
3732 (bug#14938).
3733
1211de50
LMI
3734 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3735
997798bf
LMI
3736 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3737 more natural than popping.
3738
d50fceab 3739 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3740 (shr-urlify): Highlight under mouse.
d50fceab 3741
5c09de04
XF
37422013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3743
207d1d04
XF
3744 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3745
3746 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3747
5c09de04
XF
3748 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3749 buffer for output.
3750
3cd51eaa
XF
3751 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3752 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3753
44e18199 3754 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3755 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3756
3757 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3758
3759 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3760 buffer for output.
3761
35a89bdd
EZ
37622013-07-29 Eli Zaretskii <eliz@gnu.org>
3763
3764 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3765 initial frame is minibuffer-less. (Bug#14841)
3766
78822e94
MA
37672013-07-29 Michael Albinus <michael.albinus@gmx.de>
3768
3769 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3770 option.
3771
3772 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3773 (tramp-maybe-open-connection): Use it.
3774
9503c190
JB
37752013-07-28 Juanma Barranquero <lekktu@gmail.com>
3776
3777 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3778 minimal set of parameters passed when creating a frame, because
3779 the minibuffer status of a frame cannot be changed later.
3780
d5a845b4
SB
37812013-07-28 Stephen Berman <stephen.berman@gmx.net>
3782
3783 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3784 replace-regexp-in-string and inadvertent omissions in previous change.
3785 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3786 name of filtered items buffer.
d5a845b4 3787
ddeffb17
JB
37882013-07-28 Juanma Barranquero <lekktu@gmail.com>
3789
3790 * desktop.el: Optionally force offscreen frames back onscreen.
3791 (desktop-restoring-reuses-frames): New option.
3792 (desktop--compute-pos, desktop--move-onscreen): New functions.
3793 (desktop--make-frame): Use desktop--move-onscreen.
3794
f5950f7a
AM
37952013-07-27 Alan Mackenzie <acm@muc.de>
3796
3797 Fontify a Java generic method as a function.
3798 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3799 value to t.
3800
ae43b66a
SB
38012013-07-27 Stephen Berman <stephen.berman@gmx.net>
3802
3803 * calendar/todo-mode.el: Add command to rename todo files.
3804 (todo-rename-file): New command.
3805 (todo-key-bindings-t): Add key binding for it. Change the
3806 bindings of todo-filter-regexp-items(-multifile) to use `x'
3807 instead of `r', since the latter is better suited to the new
3808 renaming command.
3809
5ab78d3d
AM
38102013-07-27 Alan Mackenzie <acm@muc.de>
3811
3812 Make Java try-with-resources statement parse properly.
3813 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3814 (c-block-stmt-1-2-key): New language constants/variables.
3815 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3816 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3817 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3818 with c-block-stmt-1-2-key.
5ab78d3d 3819
d85c4d50
JB
38202013-07-27 Juanma Barranquero <lekktu@gmail.com>
3821
3822 * desktop.el (desktop--make-frame): Apply most frame parameters after
3823 creating the frame to force (partially or totally) offscreen frames to
3824 be restored as such.
3825
e4c467f9
XF
38262013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3827
3828 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3829 (Bug#14948)
e4c467f9 3830
7ced0d04
SM
38312013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3834 `base' arg of backtrace-frame.
3835
fec92060
EZ
38362013-07-26 Eli Zaretskii <eliz@gnu.org>
3837
3838 * simple.el (list-processes): Doc fix.
3839
d58d31fb
JB
38402013-07-26 Juanma Barranquero <lekktu@gmail.com>
3841
3842 * desktop.el (desktop--select-frame):
d85c4d50 3843 Try harder to reuse existing frames.
d58d31fb 3844
53ff3e77
SM
38452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3848 (edebug-eval): Use backtrace-eval.
3849 (edebug--display, edebug--recursive-edit): Don't let-bind the
3850 edebug-outer-* vars that keep track of variables we locally let-bind.
3851 (edebug-outside-excursion): Don't restore outside values of locally
3852 let-bound vars.
3853 (edebug--display): Use user-error.
3854 (cl-lexical-debug, cl-debug-env): Remove.
3855
045f7a53
JB
38562013-07-26 Juanma Barranquero <lekktu@gmail.com>
3857
3858 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3859 are restored to be sure that they are visible before deleting any
3860 remaining ones.
3861
59070b32
MM
38622013-07-26 Matthias Meulien <orontee@gmail.com>
3863
742a3501
XF
3864 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3865 vc-print-root-log. (Bug#14948)
59070b32 3866
b1fb3596
RS
38672013-07-26 Richard Stallman <rms@gnu.org>
3868
3869 Add aliases for encrypting mail.
3870 * epa.el (epa-mail-aliases): New option.
3871 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3872 Bind inhibit-read-only so read-only text doesn't ruin everything.
3873 (epa-mail-default-recipients): New subroutine broken out.
3874 Handle epa-mail-aliases.
3875
56ea7291
SM
38762013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 Add support for lexical variables to the debugger's `e' command.
3879 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3880 vars, except for debugger-outer-match-data.
3881 (debugger-frame-number): Move check for "on a function call" from
3882 callers into it. Add `skip-base' argument.
3883 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3884 (debugger-env-macro): Only reset the state stored in non-variables,
3885 i.e. current-buffer and match-data.
3886 (debugger-eval-expression): Rewrite using backtrace-eval.
3887 * subr.el (internal--called-interactively-p--get-frame): Remove.
3888 (called-interactively-p):
3889 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3890 `base' arg of backtrace-frame instead.
3891
15ac32d5
GM
38922013-07-26 Glenn Morris <rgm@gnu.org>
3893
8358a09d
GM
3894 * align.el (align-regexp): Doc fix. (Bug#14857)
3895 (align-region): Explicit error if subexpression missing/does not match.
3896
15ac32d5
GM
3897 * simple.el (global-visual-line-mode):
3898 Do not duplicate the mode lighter. (Bug#14858)
3899
f47ad11b
MR
39002013-07-25 Martin Rudalics <rudalics@gmx.at>
3901
3902 * window.el (display-buffer): In display-buffer bind
3903 split-window-keep-point to t, bug#14829.
3904
02530987
JB
39052013-07-25 Juanma Barranquero <lekktu@gmail.com>
3906
3907 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3908 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3909 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3910 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3911 Change accordingly.
f63ebeb5
JB
3912 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3913 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3914
6ccb9cab 39152013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3916
6ccb9cab 3917 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3918
cb3a56d2
JB
39192013-07-25 Juanma Barranquero <lekktu@gmail.com>
3920
3921 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3922 parameter to modify-frame-parameters if the value has not changed;
3923 this is a workaround for bug#14949.
3924 (desktop--make-frame): On cl-delete-if call, check parameter name,
3925 not full parameter.
3926
7aa7fff0
XF
39272013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3928
3929 * vc/vc.el (vc-ignore): New function.
3930
3931 * vc/vc-svn.el (vc-svn-ignore): New function.
3932
3933 * vc/vc-hg.el (vc-hg-ignore): New function.
3934
3935 * vc/vc-git.el (vc-git-ignore): New function.
3936
3937 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3938 (vc-dir-ignore): New function.
3939
3940 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3941 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3942
3943 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3944
3945 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3946
889acc5c
JB
39472013-07-24 Juanma Barranquero <lekktu@gmail.com>
3948
3949 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3950 (desktop-restore-frames): Warn when deleting an existing frame failed.
3951
86c40970
GM
39522013-07-24 Glenn Morris <rgm@gnu.org>
3953
3954 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3955
d5d3c58a
MA
39562013-07-24 Michael Albinus <michael.albinus@gmx.de>
3957
3958 * filenotify.el (file-notify-supported-p):
3959 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3960 Remove functions.
3961
3962 * autorevert.el (auto-revert-use-notify):
3963 (auto-revert-notify-add-watch):
3964 * net/tramp.el (tramp-file-name-for-operation):
3965 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3967 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3968 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3969 Remove `file-notify-supported-p' entry.
3970
d100084b
GM
39712013-07-24 Glenn Morris <rgm@gnu.org>
3972
3973 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3974 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3975
ac93e56b
SM
39762013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3977
249eea30
SM
3978 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3979 checked with memq (bug#14935).
3980
ac93e56b
SM
3981 * files.el (revert-buffer-function): Use a non-nil default.
3982 (revert-buffer-preserve-modes): Declare var to
3983 provide access to the `preserve-modes' argument.
3984 (revert-buffer): Let-bind it.
3985 (revert-buffer--default): New function, extracted from revert-buffer.
3986
2cdeb903
SM
39872013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * lpr.el: Signal print errors more prominently.
3990 (print-region-function): Don't default to nil.
3991 (lpr-print-region): New function, extracted from print-region-1.
3992 Check lpr's return value and signal an error in case of problem.
3993 (print-region-1): Use it.
3994 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3995 versions instead.
3996 (ps-printer-name): Default to nil.
3997 (ps-printer-name-option): Default to lpr-printer-switch.
3998 (ps-print-region-function): Don't default to nil.
3999 (ps-postscript-code-directory): Simplify default.
4000 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4001 (ps-string-list, ps-eval-switch, ps-flatten-list)
4002 (ps-flatten-list-1): Remove.
4003 (ps-multibyte-buffer): Avoid setq.
4004 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4005 (print-region-function, ps-print-region-function): Don't set them here.
4006
73600831
XF
40072013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4008
0e55c076
XF
4009 * ido.el (ido-fractionp):
4010 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4011 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4012 (ido-max-directory-size, ido-max-dir-file-cache)
4013 (ido-decorations): Doc fix.
4014
73600831
XF
4015 * ansi-color.el: Fix old URL.
4016
3d012865
MM
40172013-07-23 Michael R. Mauger <michael@mauger.com>
4018
e903c210 4019 * progmodes/sql.el: Version 3.3
3d012865
MM
4020 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4021 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4022 (sql-interactive-remove-continuation-prompt): Rewrite, use
4023 functions above. Fix continuation prompt and complete output line
4024 handling.
4025 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4026 redirected output buffer.
4027 (sql-mode): Restore deleted code (Bug#13591).
4028
da77a2e2
JB
40292013-07-23 Juanma Barranquero <lekktu@gmail.com>
4030
4031 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4032
80ff0c71
MA
40332013-07-23 Michael Albinus <michael.albinus@gmx.de>
4034
4035 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4036
4037 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4038 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4039 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4040
b61d71e4
JB
40412013-07-23 Juanma Barranquero <lekktu@gmail.com>
4042
4043 * desktop.el (desktop-clear): Simplify; remove useless checks
4044 against invalid buffer names.
4045 (desktop-list*): Use cl-list*.
4046 (desktop-buffer-info, desktop-create-buffer): Simplify.
4047
c3512092
LL
40482013-07-23 Leo Liu <sdl.web@gmail.com>
4049
4050 * bookmark.el (bookmark-make-record): Restore NAME as a default
4051 value. (Bug#14933)
4052
0ac26976
SM
40532013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4054
7d22ce18
SM
4055 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4056 extracted from autoload--insert-text.
4057 (autoload--insert-text): Remove.
4058 (autoload--print-cookie-text): New function, extracted from
4059 autoload--insert-cookie-text.
4060 (autoload--insert-cookie-text): Remove.
4061 (autoload-generate-file-autoloads): Adjust calls accordingly.
4062
9b2607e8
SM
4063 * winner.el (winner-hook-installed-p): Remove.
4064 (winner-mode): Simplify accordingly.
4065
c43a8618
SM
4066 * subr.el (add-to-list): Fix compiler-macro when `append' is
4067 not constant. Don't use `cl-member' for the base case.
4068
0ac26976
SM
4069 * progmodes/subword.el: Fix boundary case (bug#13758).
4070 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4071 own group.
4072 (subword-backward-regexp): Make it a constant.
4073 (subword-forward-internal): Don't treat a trailing capital as the
4074 beginning of a word.
4075
6874724a
AR
40762013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4077
4078 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4079 global value of tabulated-list-revert-hook (bug#14930).
4080
70f1b5e8
JB
40812013-07-22 Juanma Barranquero <lekktu@gmail.com>
4082
a1c80d9d
JB
4083 * desktop.el: Require 'cl-lib.
4084 (desktop-before-saving-frames-functions): New hook.
4085 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4086 for frames being saved. Rename from desktop--save-minibuffer-frames.
4087 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4088 Do not save frames with non-nil `desktop-dont-save' parameter.
4089 Filter out deleted frames.
a1c80d9d
JB
4090 (desktop--find-frame): Use cl-find-if.
4091 (desktop--select-frame): Use cl-(first|second|third) to access values
4092 of desktop-mini.
4093 (desktop--make-frame): Use cl-delete-if.
4094 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4095 (desktop-restore-frames): Use cl-(first|second|third) to access values
4096 of desktop-mini. Look for visible frame at the end, not while
4097 restoring frames.
4098
70f1b5e8
JB
4099 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4100 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4101 Use string-match-p, looking-at-p (bug#14927).
4102
728dc3cc
JB
41032013-07-21 Juanma Barranquero <lekktu@gmail.com>
4104
56bc453c
JB
4105 * desktop.el (desktop-saved-frame-states):
4106 Rename from desktop--saved-states; all users changed.
4107 (desktop-save-frames): Rename from desktop--save-frames.
4108 Do not save state to desktop file.
4109 (desktop-save): Save desktop-saved-frame-states to desktop file
4110 and reset to nil.
4111 (desktop-restoring-frames-p): New function.
4112 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4113 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4114 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4115
728dc3cc
JB
4116 * desktop.el: Correctly restore iconified frames.
4117 (desktop--filter-iconified-position): New function.
4118 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4119
862f1c9c
GM
41202013-07-20 Glenn Morris <rgm@gnu.org>
4121
c4074c9f
GM
4122 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4123 Let `message' do the formatting.
4124 (def-gdb-preempt-display-buffer): Add explicit format.
4125
d828e5f9
GM
4126 * image-dired.el (image-dired-track-original-file):
4127 Use with-current-buffer.
4128 (image-dired-track-thumbnail): Use with-current-buffer.
4129 Avoid changing point of wrong window.
4130
862f1c9c
GM
4131 * image-dired.el (image-dired-track-original-file):
4132 Avoid changing point of wrong window. (Bug#14909)
4133
f0398ec1 41342013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4135
4136 * progmodes/gdb-mi.el (gdb-done-or-error):
4137 Guard against "%" in gdb output. (Bug#14127)
4138
1451928f
AS
41392013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4140
763a086d
JB
4141 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4142 (Bug#14826)
f7a03897 4143
1451928f
AS
4144 * international/mule.el (coding-system-iso-2022-flags): Fix last
4145 change.
4146
99107004
KH
41472013-07-20 Kenichi Handa <handa@gnu.org>
4148
763a086d
JB
4149 * international/mule.el (coding-system-iso-2022-flags):
4150 Add `8-bit-level-4'. (Bug#8522)
99107004 4151
48494e06
LMI
41522013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4153
8ba8eec5
LMI
4154 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4155 (bug#14815).
4156
dfbc66e3
LMI
4157 * net/eww.el (eww-process-text-input): Allow inputting when the
4158 point is at the start of the line, as the properties aren't
4159 front-sticky.
4160
48494e06
LMI
4161 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4162 degenerate widths.
4163
77c92cb9
RS
41642013-07-19 Richard Stallman <rms@gnu.org>
4165
aec7da77
RS
4166 * epa.el (epa-popup-info-window): Doc fix.
4167
77c92cb9
RS
4168 * subr.el (split-string): New arg TRIM.
4169
945c5bb1
JB
41702013-07-18 Juanma Barranquero <lekktu@gmail.com>
4171
4172 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4173 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4174
e06ec67f
MA
41752013-07-18 Michael Albinus <michael.albinus@gmx.de>
4176
c7064f05 4177 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4178 `file-notify-support'. Do not autoload. Adapt all uses.
4179 (file-notify-supported-p): New defun.
4180
c7064f05
JB
4181 * autorevert.el (auto-revert-use-notify):
4182 Use `file-notify-supported-p' instead of `file-notify-support'.
4183 Adapt docstring.
e06ec67f
MA
4184 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4185
4186 * net/tramp.el (tramp-file-name-for-operation):
4187 Add `file-notify-supported-p'.
4188
4189 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4190 New defun.
4191 (tramp-sh-file-name-handler-alist): Add it as handler for
4192 `file-notify-supported-p '.
4193
4194 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4195 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4196 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4197 Add `ignore' as handler for `file-notify-*' functions.
4198
5dc8a629
EZ
41992013-07-17 Eli Zaretskii <eliz@gnu.org>
4200
4201 * simple.el (line-move-partial, line-move): Don't start vscroll or
4202 scroll-up if the current line is not taller than the window.
4203 (Bug#14881)
4204
77aea2fb
DG
42052013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4206
4207 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4208 highlight question marks in the method names as strings.
ac72c08d
DG
4209 (ruby-block-beg-keywords): Inline.
4210 (ruby-font-lock-keyword-beg-re): Extract from
4211 `ruby-font-lock-keywords'.
77aea2fb 4212
18c26d81
JD
42132013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4214
4215 * frame.el (blink-cursor-blinks): New defcustom.
4216 (blink-cursor-blinks-done): New defvar.
4217 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4218 (blink-cursor-timer-function): Check if number of blinks has been
4219 done on X and NS.
4220 (blink-cursor-suspend, blink-cursor-check): New defuns.
4221
da48522e
GM
42222013-07-15 Glenn Morris <rgm@gnu.org>
4223
4224 * edmacro.el (edmacro-format-keys): Fix previous change.
4225
0463c1ef
PE
42262013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4227
4228 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4229 The hack didn't work outside English locales anyway.
4230
b43f6451
JB
42312013-07-15 Juanma Barranquero <lekktu@gmail.com>
4232
4233 * simple.el (define-alternatives): Rename from alternatives-define,
4234 per RMS' suggestion.
4235
b958c0ad
JB
42362013-07-14 Juanma Barranquero <lekktu@gmail.com>
4237
4238 * desktop.el (desktop-restore-frames): Change default to t.
4239 (desktop-restore-in-current-display): Now offer more options.
4240 (desktop-restoring-reuses-frames): New customization option.
4241 (desktop--saved-states): Doc fix.
4242 (desktop-filter-parameters-alist): New variable, renamed and expanded
4243 from desktop--excluded-frame-parameters.
4244 (desktop--target-display): New variable.
4245 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4246 (desktop--filter-tty*, desktop--filter-*-color)
4247 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4248 (desktop--filter-save-desktop-parm)
4249 (desktop-restore-in-original-display-p): New functions.
4250 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4251 (desktop--save-minibuffer-frames): New function, inspired by a similar
4252 function from Martin Rudalics.
4253 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4254 (desktop--restore-in-this-display-p): Remove.
4255 (desktop--find-frame): Rename from desktop--find-frame-in-display
4256 and add predicate argument.
4257 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4258 (desktop--reuse-list): New variable.
4259 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4260 New functions.
4261 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4262
f6dd8b36
MA
42632013-07-14 Michael Albinus <michael.albinus@gmx.de>
4264
4265 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4266
2ce3c565
DG
42672013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4268
763a086d
JB
4269 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4270 Highlight conversion methods on Kernel.
2ce3c565 4271
2cdb7698
AM
42722013-07-13 Alan Mackenzie <acm@muc.de>
4273
4274 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4275 and comment it out. This out-commenting enables certain C++
4276 declarations to be parsed correctly.
4277
1a67b811
EZ
42782013-07-13 Eli Zaretskii <eliz@gnu.org>
4279
1b796d6b
EZ
4280 * international/mule.el (define-coding-system): Doc fix.
4281
1a67b811
EZ
4282 * simple.el (default-font-height): Don't call font-info if the
4283 frame's default font didn't change since the frame was created.
4284 (Bug#14838)
4285
58fbe886
LL
42862013-07-13 Leo Liu <sdl.web@gmail.com>
4287
4288 * ido.el (ido-read-file-name): Guard against non-symbol value.
4289
1f0480d4
FEG
42902013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4291
4292 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4293 in nested defuns.
4294
97ead0e5
LL
42952013-07-13 Leo Liu <sdl.web@gmail.com>
4296
4297 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4298 ido-set-matches call. (Bug#6852)
4299
0880a952
DG
43002013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4301
4302 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4303 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4304 Ruby 2.0.
4305 (ruby-font-lock-keywords): Distinguish calls to functions with
4306 module-like names from module references. Highlight character
4307 literals.
4308
a7d8babb
SDJ
43092013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4310
4311 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4312 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4313
acfcc8c5
JB
43142013-07-12 Juanma Barranquero <lekktu@gmail.com>
4315
4316 * desktop.el (desktop--v2s): Remove unused local variable.
4317 (desktop-save-buffer): Make defvar-local; adjust docstring.
4318 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4319 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4320
051f2775
AS
43212013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4322
4323 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4324
f24e7572
GM
43252013-07-12 Eli Zaretskii <eliz@gnu.org>
4326
4327 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4328 (Bug#14842)
4329
539a920c
GM
43302013-07-12 Glenn Morris <rgm@gnu.org>
4331
4332 * doc-view.el: Require cl-lib at runtime too.
4333 (doc-view-remove-if): Remove.
4334 (doc-view-search-next-match, doc-view-search-previous-match):
4335 Use cl-remove-if.
4336
4337 * edmacro.el: Require cl-lib at runtime too.
4338 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4339 (edmacro-mismatch, edmacro-subseq): Remove.
4340
4341 * shadowfile.el: Require cl-lib.
4342 (shadow-remove-if): Remove.
4343 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4344 Use cl-remove-if.
4345
4346 * wid-edit.el: Require cl-lib.
4347 (widget-choose): Use cl-remove-if.
4348 (widget-remove-if): Remove.
4349
4350 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4351 (ebrowse-delete-if-not): Remove.
4352 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4353 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4354 Use cl-delete-if-not.
4355
1048af7c
JB
43562013-07-12 Juanma Barranquero <lekktu@gmail.com>
4357
4358 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4359 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4360
6c0674ee
LL
43612013-07-12 Leo Liu <sdl.web@gmail.com>
4362
4363 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4364
a19b3c2d
GM
43652013-07-11 Glenn Morris <rgm@gnu.org>
4366
4582a01c
GM
4367 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4368 (edebug-gensym-index, edebug-gensym):
4369 Remove reimplementation of cl-gensym.
4370 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4371
4372 * thumbs.el: Require cl-lib at run-time too.
4373 (thumbs-gensym-counter, thumbs-gensym):
4374 Remove reimplementation of cl-gensym.
4375 (thumbs-temp-file): Use cl-gensym.
4376
a19b3c2d
GM
4377 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4378 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4379 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4380 (ert--union, ert--gensym-counter, ert--gensym-counter)
4381 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4382 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4383 (ert-make-test-unbound, ert--expand-should-1)
4384 (ert--expand-should, ert--should-error-handle-error)
4385 (should-error, ert--explain-equal-rec)
4386 (ert--plist-difference-explanation, ert-select-tests)
4387 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4388 Use cl-lib functions rather than reimplementations.
4389
88f6a933
MA
43902013-07-11 Michael Albinus <michael.albinus@gmx.de>
4391
4392 * net/tramp.el (tramp-methods): Extend docstring.
4393 (tramp-connection-timeout): New defcustom.
4394 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4395 (with-tramp-progress-reporter): Simplify.
4396 (tramp-process-actions): Improve messages.
4397
4398 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4399 * net/tramp-sh.el (tramp-maybe-open-connection):
4400 Use `tramp-connection-timeout'.
4401 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4402 (Bug#14808)
4403
a43d577e
LL
44042013-07-11 Leo Liu <sdl.web@gmail.com>
4405
4406 * ido.el (ido-read-file-name): Conform to the requirements of
4407 read-file-name. (Bug#11861)
4408 (ido-read-directory-name): Conform to the requirements of
4409 read-directory-name.
4410
d77974bf
JB
44112013-07-11 Juanma Barranquero <lekktu@gmail.com>
4412
4413 * subr.el (delay-warning): New function.
4414
35cb8a3e
EZ
44152013-07-10 Eli Zaretskii <eliz@gnu.org>
4416
4417 * simple.el (default-line-height): New function.
4418 (line-move-partial, line-move): Use it instead of computing the
4419 line height inline.
4420 (line-move-partial): Always compute ROWH. If the last line is
4421 partially-visible, but its text is completely visible, allow
4422 cursor to enter such a partially-visible line.
4423
525c5c77
MA
44242013-07-10 Michael Albinus <michael.albinus@gmx.de>
4425
4426 Improve error messages. (Bug#14808)
4427
4428 * net/tramp.el (tramp-current-connection): New defvar, moved from
4429 tramp-sh.el.
0ac26976 4430 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4431 needed anymore.
0ac26976
SM
4432 (tramp-error-with-buffer): Show message in minibuffer.
4433 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4434 (with-tramp-progress-reporter): Improve messages.
4435 (tramp-process-actions): Use progress reporter. Delete process in
4436 case of error. Improve messages.
4437
763a086d
JB
4438 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4439 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4440 (tramp-current-connection): Remove.
525c5c77
MA
4441 (tramp-maybe-open-connection): The car of
4442 `tramp-current-connection' are the first 3 slots of the vector.
4443
c7a4d368
TZ
44442013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4445
4446 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4447 inside continued strings.
4448
954b166e
PE
44492013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4450
4451 Timestamp fixes for undo (Bug#14824).
4452 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4453
56973319
LL
44542013-07-10 Leo Liu <sdl.web@gmail.com>
4455
4456 * files.el (require-final-newline): Allow safe local value.
4457 (Bug#14834)
4458
5550a72c
LL
44592013-07-09 Leo Liu <sdl.web@gmail.com>
4460
4461 * ido.el (ido-read-directory-name): Handle fallback.
4462 (ido-read-file-name): Update DIR to ido-current-directory.
4463 (Bug#1516)
c28b9050 4464 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4465
70c46b28
DG
44662013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4467
4468 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4469 "autoload". Remove "warn lower camel case" section, previously
4470 commented out. Highlight negation char. Do not highlight the
4471 target in singleton method definitions.
4472
0b64b838
SM
44732013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4474
7fd72e2c
SM
4475 * faces.el (tty-setup-hook): Declare the hook.
4476
0b64b838
SM
4477 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4478 and detect when a guard/pred depends on local vars (bug#14773).
4479 (pcase--u1): Adjust caller.
4480
ab49d60b
EZ
44812013-07-08 Eli Zaretskii <eliz@gnu.org>
4482
4483 * simple.el (line-move-partial, line-move): Account for
4484 line-spacing.
701d79aa
EZ
4485 (line-move-partial): Avoid setting vscroll when the last
4486 partially-visible line in window is of default height.
ab49d60b 4487
2d756ae0
LMI
44882013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4489
4490 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4491 been used a while.
4492
ed095bd7
JB
44932013-07-07 Juanma Barranquero <lekktu@gmail.com>
4494
4495 * subr.el (read-quoted-char): Remove unused local variable `char'.
4496
f1e6674b
MK
44972013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4498
584ee3fc
GM
4499 * ediff.el (ediff-version): Version update.
4500 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4501 (ediff-merge-with-ancestor-command, ediff-directories-command)
4502 (ediff-directories3-command, ediff-merge-directories-command)
4503 (ediff-merge-directories-with-ancestor-command): New functions.
4504 All are command-line interfaces to ediff: to facilitate calling
4505 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4506
4507 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4508 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4509
584ee3fc
GM
4510 * viper.el (viper-version): Version update.
4511 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4512
584ee3fc
GM
45132013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4516 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4517 (viper-intercept-ESC-key): Simplify.
4518 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4519 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4520 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4521 (viper-setup-ESC-to-escape): New functions.
4522 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4523 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4524
9aff9b38
EZ
45252013-07-07 Eli Zaretskii <eliz@gnu.org>
4526
5165d44a
JB
4527 * simple.el (default-font-height, window-screen-lines):
4528 New functions.
9aff9b38
EZ
4529 (line-move, line-move-partial): Use them instead of
4530 frame-char-height and window-text-height. This makes scrolling
4531 text smoother when the buffer's default face uses a font that is
4532 different from the frame's default font.
4533
1afb1d07
JD
45342013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4535
4536 * files.el (write-file): Do not display confirm dialog for NS,
4537 it does its own dialog, which can't be cancelled (Bug#14578).
4538
23de972a
EZ
45392013-07-06 Eli Zaretskii <eliz@gnu.org>
4540
4541 * simple.el (line-move-partial): Adjust the row returned by
4542 posn-at-point for the current window-vscroll. (Bug#14567)
4543
54a42486
MA
45442013-07-06 Michael Albinus <michael.albinus@gmx.de>
4545
4546 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4547 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4548 spaces.
4549
34ada5f4
MR
45502013-07-06 Martin Rudalics <rudalics@gmx.at>
4551
4552 * window.el (window-state-put-stale-windows): New variable.
4553 (window--state-put-2): Save list of windows without matching buffer.
4554 (window-state-put): Remove "bufferless" windows if possible.
4555
11e03d89
JB
45562013-07-06 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * simple.el (alternatives-define): Remove leftover :group keyword.
4559 Tweak docstring.
4560
3504a4be
LL
45612013-07-06 Leo Liu <sdl.web@gmail.com>
4562
4563 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4564 (ido-enable-virtual-buffers): New variable.
4565 (ido-buffer-internal, ido-toggle-virtual-buffers)
4566 (ido-make-buffer-list): Use it.
4567 (ido-exhibit): Support turning on and off virtual buffers
4568 automatically.
4569
61e56e2c
JB
45702013-07-06 Juanma Barranquero <lekktu@gmail.com>
4571
4572 * simple.el (alternatives-define): New macro.
4573
321e1a9c
SM
45742013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * subr.el (read-quoted-char): Use read-key.
4577 (sit-for): Let read-event decode tty input (bug#14782).
4578
d610f6dd
SB
45792013-07-05 Stephen Berman <stephen.berman@gmx.net>
4580
4581 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4582 mode command and externally. Fix various related bugs.
4583 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4584 (todo-delete-file): New command.
4585 (todo-check-file): New function.
4586 (todo-show): Handle external deletion of the file we're trying to
4587 show (bug#14688). Replace called-interactively-p by an optional
4588 prefix argument to avoid problematic interaction with catch form
4589 when byte compiled (bug#14702).
4590 (todo-quit): Handle external deletion of the archive's todo file.
4591 Make sure the buffer that was visiting the archive file is still
4592 live before trying to bury it.
4593 (todo-category-completions): Handle external deletion of any
4594 category completion files.
4595 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4596 of todo files, in case of external deletion.
4597 (todo-add-file): Replace unnecessary setq by let-binding.
4598 (todo-find-archive): Check whether there are any archives.
4599 Replace unnecessary setq by let-binding.
4600 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4601 archive buffer whether or not the archive already exists.
4602 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4603 check if the archive is new; if it is, update list of archives.
4604 (todo-default-todo-file): Allow nil to be a valid value for when
4605 there are no todo files.
4606 (todo-reevaluate-default-file-defcustom): Use corrected definition
4607 of todo-default-todo-file.
4608 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4609 (todo-delete-category, todo-show-categories-table)
4610 (todo-category-number): Clarify comment.
4611 (todo-filter-items): Clarify documentation string.
4612 (todo-show-current-file, todo-display-as-todo-file)
4613 (todo-reset-and-enable-done-separator): Tweak documentation string.
4614 (todo-done-separator): Make separator length window-width, since
4615 bug#2749 is now fixed.
4616
ddbdfd6f
MA
46172013-07-05 Michael Albinus <michael.albinus@gmx.de>
4618
321e1a9c
SM
4619 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4620 Support both "gvfs-monitor-dir" and "inotifywait".
4621 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4622 `tramp-sh-file-notify-process-filter'.
4623 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4624 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4625
96eb829a
LL
46262013-07-05 Leo Liu <sdl.web@gmail.com>
4627
4628 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4629
cf13177e
YM
46302013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4631
4632 * frame.el (display-pixel-height, display-pixel-width)
4633 (display-mm-height, display-mm-width): Mention behavior on
4634 multi-monitor setups in docstrings.
4635 (w32-display-monitor-attributes-list): Declare function.
4636 (display-monitor-attributes-list): Use it.
4637
864c58ca
MA
46382013-07-04 Michael Albinus <michael.albinus@gmx.de>
4639
4640 * filenotify.el: New package.
4641
4642 * autorevert.el (top): Require filenotify.el.
4643 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4644 instead.
4645 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4646 (auto-revert-notify-handler): Use `file-notify-*' functions.
4647
4648 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4649
321e1a9c
SM
4650 * net/tramp.el (tramp-file-name-for-operation):
4651 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4652
4653 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4654 for `file-notify-add-watch' and `file-notify-rm-watch'.
4655 (tramp-process-sentinel): Improve trace.
4656 (tramp-sh-handle-file-notify-add-watch)
4657 (tramp-sh-file-notify-process-filter)
4658 (tramp-sh-handle-file-notify-rm-watch)
4659 (tramp-get-remote-inotifywait): New defuns.
4660
96673afe
JL
46612013-07-03 Juri Linkov <juri@jurta.org>
4662
4663 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4664 call of `occur-read-primary-args' to interactive spec.
4665
4666 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4667 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4668
924494f4
MM
46692013-07-03 Matthias Meulien <orontee@gmail.com>
4670
4671 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4672 `Buffer-menu-multi-occur'. Add it to the menu.
4673 (Buffer-menu-mode): Document it in docstring.
4674 (Buffer-menu-multi-occur): New command. (Bug#14673)
4675
56f75efc
DG
46762013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4677
4678 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4679 keywords and built-ins.
4680
9b057d61
GM
46812013-07-03 Glenn Morris <rgm@gnu.org>
4682
208dee4d
GM
4683 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4684
9b057d61
GM
4685 Make info-xref checks case-sensitive by default
4686 * info.el (Info-find-node, Info-find-in-tag-table)
4687 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4688 Add option for exact case matching of nodes.
4689 * info-xref.el (info-xref): New custom group.
4690 (info-xref-case-fold): New option.
4691 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4692
e01aa29c
LL
46932013-07-03 Leo Liu <sdl.web@gmail.com>
4694
4695 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4696
3086ca2e
DG
46972013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4698
4699 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4700 middle of block statement initially, lower the depth. Remove
4701 FIXME comment, not longer valid. Remove middle of block statement
4702 detection, no need to do that anymore since we've been using
4703 `ruby-parse-region' here.
4704
a3b49114
JD
47052013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4706
4707 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4708
08e5c823 47092013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4710
4711 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4712
2addf922
JB
47132013-07-01 Juanma Barranquero <lekktu@gmail.com>
4714
4715 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4716 (desktop-restore-in-current-display): New customization option.
4717 (desktop--excluded-frame-parameters): Add `font'.
4718 (desktop--save-frames): Rename from desktop--save-windows.
4719 (desktop--restore-in-this-display-p): New function.
4720 (desktop--make-full-frame): Remove unwanted width/height from
4721 full(width|height) frames.
4722 (desktop--restore-frames): Rename from desktop--restore-windows.
4723 Obey desktop-restore-current-display. Do not delete old frames or
4724 select a new frame unless we were able to restore at least one frame.
4725
ef099a94
MN
47262013-06-30 Michal Nazarewicz <mina86@mina86.com>
4727
4728 * files.el (find-file-noselect): Simplify conditional expression.
4729
4730 * remember.el (remember-append-to-file):
4731 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4732
4733 Add `remember-notes' function to store random notes across Emacs
4734 restarts.
4735 * remember.el (remember-data-file): Add :set callback to affect
4736 notes buffer (if any).
4737 (remember-notes): New command.
4738 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4739 New defcustoms for the `remember-notes' function.
4740 (remember-notes-save-and-bury-buffer): New command.
4741 (remember-notes-mode-map): New variable.
4742 (remember-mode): New minor mode.
4743 (remember-notes--kill-buffer-query): New function.
4744 * startup.el (initial-buffer-choice): Add notes to custom type.
4745
0865d506
EZ
47462013-06-30 Eli Zaretskii <eliz@gnu.org>
4747
0ba54312
EZ
4748 * bindings.el (right-char, left-char): Don't call sit-for, this is
4749 no longer needed. Use arithmetic comparison only for numerical
4750 arguments.
4751
ef099a94
MN
4752 * international/mule-cmds.el (select-safe-coding-system):
4753 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4754
2fae38e5
LMI
47552013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4756
4757 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4758 progression on degenerate tables.
ef099a94 4759 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4760
a47cbd64
JB
47612013-06-30 Juanma Barranquero <lekktu@gmail.com>
4762
4763 Some fixes and improvements for desktop frame restoration.
4764 It is still experimental and disabled by default.
4765 * desktop.el (desktop--save-windows): Put the selected frame at
4766 the head of the list.
4767 (desktop--make-full-frame): New function.
4768 (desktop--restore-windows): Try to re-select the frame that was
4769 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4770 just show an error message and continue. Set up maximized frames
4771 so they have default non-maximized dimensions.
a47cbd64 4772
6dbafa30
DG
47732013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4774
ef099a94
MN
4775 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4776 Don't start heredoc inside a string or comment.
6dbafa30 4777
4c672a0f
EZ
47782013-06-29 Eli Zaretskii <eliz@gnu.org>
4779
4780 * bindings.el (visual-order-cursor-movement): New defcustom.
4781 (right-char, left-char): Provide visual-order cursor motion by
4782 calling move-point-visually. Update the doc strings.
4783
50960f36
KH
47842013-06-28 Kenichi Handa <handa@gnu.org>
4785
4786 * international/mule.el (define-coding-system): New coding system
4787 properties :inhibit-null-byte-detection,
4788 :inhibit-iso-escape-detection, and :prefer-utf-8.
4789 (set-buffer-file-coding-system): If :charset-list property of
4790 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4791 appropriate for setting.
4792
c1ea3abf
JB
4793 * international/mule-cmds.el (select-safe-coding-system):
4794 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4795 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4796
4797 * international/mule-conf.el (prefer-utf-8): New coding system.
4798 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4799 files.
4800
75dbaf9d
IK
48012013-06-28 Ivan Kanis <ivan@kanis.fr>
4802
eadb6068
IK
4803 * net/shr.el (shr-render-region): New function.
4804
75dbaf9d
IK
4805 * net/eww.el: Autoload `eww-browse-url'.
4806
9ea5cf9f
DG
48072013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4808
c1ea3abf
JB
4809 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4810 Adapt to `package-desc-version' being a list.
4811 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4812 archive element.
4813
39c0e36f
JB
48142013-06-27 Juanma Barranquero <lekktu@gmail.com>
4815
4816 New experimental feature to save&restore window and frame setup.
4817 * desktop.el (desktop-save-windows): New defcustom.
4818 (desktop--saved-states): New var.
4819 (desktop--excluded-frame-parameters): New defconst.
4820 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4821 (desktop--restore-windows, desktop--save-windows): New functions.
4822 (desktop-save): Call `desktop--save-windows'.
4823 (desktop-read): Call `desktop--restore-windows'.
4824
7f13406b
LMI
48252013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4826
ef099a94 4827 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4828
1e072639
SB
48292013-06-27 Stephen Berman <stephen.berman@gmx.net>
4830
4831 * info.el (Info-try-follow-nearest-node): Move search for footnote
4832 above search for node name to prevent missing a footnote (bug#14717).
4833
f3e2cbde
SB
48342013-06-27 Stephen Berman <stephen.berman@gmx.net>
4835
4836 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4837
99906aa0
LL
48382013-06-27 Leo Liu <sdl.web@gmail.com>
4839
4840 * net/eww.el (eww-read-bookmarks): Check file size.
4841
539f75f4
SM
48422013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4845 advice--pending if newdef is nil or an autoload (bug#13820).
4846 (advice-mapc): New function.
4847
843571cb
LMI
48482013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4849
4850 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4851 probably.
23a75d7f 4852 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4853 (eww-add-bookmark): New command.
4854 (eww-bookmark-mode): New mode and commands.
a285ce99 4855 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4856 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4857
f2136e1e
GM
48582013-06-26 Glenn Morris <rgm@gnu.org>
4859
eab35f39
GM
4860 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4861 (hfy-size): Handle ttys. (Bug#14668)
4862
f2136e1e
GM
4863 * info-xref.el: Update for Texinfo 5 change in *note format.
4864 (info-xref-node-re, info-xref-note-re): New constants.
4865 (info-xref-check-buffer): Use info-xref-note-re.
4866
a49ff80c
SM
48672013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4868
a343d218
SM
4869 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4870
a49ff80c
SM
4871 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4872 nil terminate the loop (bug#14718).
4873
8308f184
LMI
48742013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4875
4876 * net/eww.el: Rework history traversal. When going forward/back,
4877 put these actions into the history, too, so that they can be
4878 replayed.
26bf2b82 4879 (eww-render): Move the history reset to the correct buffer.
8308f184 4880
ec64c273
JL
48812013-06-25 Juri Linkov <juri@jurta.org>
4882
4883 * files-x.el (modify-dir-local-variable): Change the header comment
4884 in the file with directory local variables. (Bug#14692)
4885
e080a9d7
JL
4886 * files-x.el (read-file-local-variable-value): Add `default'.
4887 (Bug#14710)
4888
bfbc93a1
IK
48892013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4890
4891 * net/eww.el (eww-make-unique-file-name): Create a unique file
4892 name before saving to entering `y' accidentally asynchronously.
4893
48942013-06-25 Ivan Kanis <ivan@kanis.fr>
4895
4896 * net/eww.el (eww-download): New command and keystroke.
4897
16f74f10
LMI
48982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4899
a49ff80c 4900 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4901
4902 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4903 be more consistent with Info and dired.
4904
4905 * net/eww.el (eww-mode-map): Ditto.
4906
12059709
SM
49072013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4908
4909 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4910 packages from archives.
4911 (package-archive-contents): Change format; include obsolete packages.
4912 (package-desc): Use `dir' to mark builtin packages.
4913 (package--from-builtin): Set the `dir' field to `builtin'.
4914 (generated-autoload-file, version-control): Declare.
4915 (package-compute-transaction): Change first arg and return value to be
4916 lists of package-descs. Adjust to new package-archive-contents format.
4917 (package--add-to-archive-contents): Adjust to new
4918 package-archive-contents format.
4919 (package-download-transaction): Arg is now a list of package-descs.
4920 (package-install): If `pkg' is a package name, pass it as
4921 a requirement, so it is subject to the usual (e.g. disabled) checks.
4922 (describe-package): Accept package-desc as well.
4923 (describe-package-1): Describe a specific package-desc. Add links to
4924 other package-descs for the same package name.
4925 (package-menu-describe-package): Pass the actual package-desc.
4926 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4927 works correctly.
4928 (package-desc-status): New function.
4929 (package-menu--refresh): New function, extracted
4930 from package-menu--generate.
4931 (package-menu--generate): Use it.
4932 (package-delete): Update package-alist.
4933 (package-menu-execute): Don't call package-initialize.
4934
4935 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4936 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4937 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4938 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4939 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4940 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4941
8bbdea0f
MR
49422013-06-25 Martin Rudalics <rudalics@gmx.at>
4943
4944 * window.el (window--state-get-1): Workaround for bug#14527.
4945 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4946
e82b0991
LMI
49472013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4948
4949 * net/eww.el (eww-back-url): Implement the history by stashing all
4950 the data into a list.
d3f0f918 4951 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4952
c763842b
SM
49532013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4956 for values and use read--expression for expressions (bug#14710).
4957 (read-file-local-variable): Avoid setq.
4958 (read-file-local-variable-mode): Use minor-mode-list.
4959
bceff189
RW
49602013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4961
864c58ca 4962 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4963 for DOI URLs.
4964
45f431c6
RW
49652013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4966
864c58ca 4967 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4968 Update imenu-support when dialect changes.
4969
f42d8237
LL
49702013-06-25 Leo Liu <sdl.web@gmail.com>
4971
4972 * ido.el (ido-read-internal): Allow forward slash on windows.
4973
be549ce6
LMI
49742013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4975
4976 * net/eww.el (eww): Start of strings is \\`, not ^.
4977
71d4c19d
IK
49782013-06-24 Ivan Kanis <ivan@kanis.fr>
4979
5196f88a
IK
4980 * net/shr.el (shr-browse-url): Fix interactive spec.
4981
71d4c19d
IK
4982 * net/eww.el (eww): Add a trailing slash to domain names.
4983
ae36ca55
JB
49842013-06-24 Juanma Barranquero <lekktu@gmail.com>
4985
4986 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4987
0ebd92a3
LMI
49882013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4989
bdaa086b
LMI
4990 * net/shr.el (shr-browse-url): Use an external browser if given a
4991 prefix.
4992
c763842b 4993 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4994
b89fc156
IK
49952013-06-24 Ivan Kanis <ivan@kanis.fr>
4996
4997 * net/eww.el (eww): Work more correctly for file: URLs.
4998 (eww-detect-charset): Allow quoted charsets.
4999 (eww-yank-page-url): New command and keystroke.
5000
18eb4bca
DU
50012013-06-24 Daiki Ueno <ueno@gnu.org>
5002
5003 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5004 file name of gpg executable.
5005 (epg-context-program): New function.
5006 (epg-context-home-directory): New function.
5007 (epg-context-set-program): New function.
5008 (epg-context-set-home-directory): New function.
5009 (epg--start): Use `epg-context-program' instead of
5010 'epg-gpg-program'.
5011 (epg--list-keys-1): Likewise.
5012
6c6268c8
LL
50132013-06-24 Leo Liu <sdl.web@gmail.com>
5014
5015 * ido.el (ido-read-internal): Fix bug#14620.
5016
5e400cb3
JB
50172013-06-23 Juanma Barranquero <lekktu@gmail.com>
5018
5019 * faces.el (face-documentation): Simplify.
5020 (read-face-attribute, tty-find-type, x-resolve-font-name):
5021 Use `string-match-p'.
5022 (list-faces-display): Use `string-match-p'. Simplify.
5023 (face-spec-recalc): Check face to avoid face alias loops.
5024 (read-color): Use `string-match-p' and non-capturing parenthesis.
5025
f3f9606c
LMI
50262013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5027
5028 * net/shr.el (shr-rescale-image): Use the new
5029 :max-width/:max-height functionality.
5030
a3ca09b9
IK
50312013-06-23 Ivan Kanis <ivan@kanis.fr>
5032
5033 * net/eww.el (eww-search-prefix): New variable.
5034 (eww): Use it.
f865b474
IK
5035 (eww-external-browser): New variable.
5036 (eww-mode-map): New keystroke.
5037 (eww-browse-with-external-browser): New command.
a3ca09b9 5038
e854cfc7
IK
5039 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5040
18bb9e21
JB
50412013-06-23 Juanma Barranquero <lekktu@gmail.com>
5042
5043 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5044 Don't skip aligning the next header field when padding is 0;
5045 otherwise, field width is not respected unless the title is as
5046 wide as the field.
5047
5b165ade
SM
50482013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5049
5050 * emacs-lisp/package.el (package-el-version): Remove.
5051 (package-process-define-package): Fix inf-loop.
5052 (package-install): Allow symbols as arguments again.
5053
12adebe9
DG
50542013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5055
5056 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5057 add some more keyword-like methods.
5058 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5059
388573ee
JB
50602013-06-22 Juanma Barranquero <lekktu@gmail.com>
5061
5062 * bs.el (bs-buffer-show-mark): Make defvar-local.
5063 (bs-mode): Use setq-local.
5064
5065 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5066 (emacs-lock--try-unlocking): Make defvar-local.
5067
4582a01c 50682013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5069
2663dd23
GM
5070 * play/cookie1.el (cookie-apropos): Minor simplification.
5071
3d94f3ad
GM
5072 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5073
f72e2fdb
DG
50742013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5075
5076 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5077 `regexp-opt', it breaks the build during dumping.
5078
73eab938
DG
50792013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5080
c763842b
SM
5081 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5082 Highlight keyword-like methods on Kernel and Module with
73eab938 5083 font-lock-builtin-face.
5cf8176d
DG
5084 (auto-mode-alist): Consolidate different entries into one regexp
5085 and add more *file-s.
73eab938 5086
d26255f6
SB
50872013-06-21 Stephen Berman <stephen.berman@gmx.net>
5088
5089 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5090
5091 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5092 (diary-entry): Use it in the action of this button type instead of
5093 diary-goto-entry.
5094
5095 * calendar/todo-mode.el: New version.
5096 (todo-add-category): Append new category to end of file and give
5097 it the highest number, instead of putting it at the beginning and
5098 giving it 0. Incorporate noninteractive functionality.
5099 (todo-forward-category): Adapt to 1-based category numbering.
5100 Allow skipping over archived categories.
5101 (todo-backward-category): Derive from todo-forward-category.
5102 (todo-backward-item, todo-forward-item): Make noninteractive and
5103 delegate interactive part to new commands. Make sensitive to done items.
5104 (todo-categories): Make value an alist of category names and
5105 vectors of item counts.
5106 (todo-category-beg): Make a defconst.
5107 (todo-category-number): Use 1 instead of 0 as initial value.
5108 (todo-category-select): Make sensitive to overlays, optional item
5109 highlighting and done items.
5110 (todo-delete-item): Make sensitive to overlays and marked and done items.
5111 (todo-edit-item): Make sensitive to overlays and editing of
5112 date/time header optional. Add format checks.
5113 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5114 no-op if point is not on an item. Advertise using todo-edit-quit.
5115 (todo-edit-mode): Make sensitive to new format, font-locking, and
5116 multiple todo files.
5117 (todo-insert-item, todo-insert-item-here): Derive from
5118 todo-basic-insert-item and extend functionality.
5119 (todo-item-end, todo-item-start): Make sensitive to done items.
5120 (todo-item-string): Don't return text properties. Restore point.
5121 (todo-jump-to-category): Make sensitive to multiple todo files and
5122 todo archives. Use extended category completion.
5123 (todo-lower-item, todo-raise-item): Rename to *-priority and
5124 derive from todo-set-item-priority.
5125 (todo-mode): Derive from special-mode. Make sensitive to new
5126 format, font-locking and multiple todo files. Make read-only.
5127 (todo-mode-map): Don't suppress digit keys, so they can supply
5128 prefix arguments. Add many new key bindings.
5129 (todo-prefix): Insert as an overlay instead of file text.
5130 Change semantics from diary date expression to purely visual mark.
5131 (todo-print): Rename to todo-print-buffer. Make buffer display
5132 features printable. Remove option to restrict number of items
5133 printed. Add option to print to file.
5134 (todo-print-function): Rename to todo-print-buffer-function.
5135 (todo-quit): Extend to handle exiting new todo modes.
5136 (todo-remove-item): Make sensitive to overlays.
5137 (todo-save): Extend to buffers of filtered items.
5138 (todo-show): Make sensitive to done items, multiple todo files and
5139 new todo modes. Offer to convert legacy todo file before creating
5140 first new todo file.
5141 (todo-show-priorities): Rename to todo-top-priorities.
5142 Change semantics of value 0.
5143 (todo-top-priorities): Rename to todo-filter-top-priorities,
5144 derive from todo-filter-items and extend functionality.
5145 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5146 and extend functionality to other types of filtered items.
5147 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5148 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5149 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5150 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5151 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5152 (todo-edit-mode-hook, todo-entry-prefix-function)
5153 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5154 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5155 (todo-initials, todo-insert-threshold, todo-item-string-start)
5156 (todo-line-string, todo-menu, todo-mode-hook)
5157 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5158 (todo-print-priorities, todo-remove-separator)
5159 (todo-save-top-priorities-too, todo-string-count-lines)
5160 (todo-string-multiline-p, todo-time-string-format)
5161 (todo-tmp-buffer-name): Remove.
5162 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5163 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5164 (todo-edit-category-diary-inclusion)
5165 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5166 (todo-edit-file, todo-edit-item-date-day)
5167 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5168 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5169 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5170 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5171 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5172 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5173 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5174 (todo-filter-top-priorities-multifile, todo-find-archive)
5175 (todo-find-filtered-items-file, todo-go-to-source-item)
5176 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5177 (todo-jump-to-archive-category, todo-lower-category)
5178 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5179 (todo-move-category, todo-move-item, todo-next-button)
5180 (todo-next-item, todo-padded-string, todo-powerset)
5181 (todo-previous-button, todo-previous-item)
5182 (todo-print-buffer-to-file, todo-raise-category)
5183 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5184 (todo-set-category-number, todo-set-item-priority)
5185 (todo-set-top-priorities-in-category)
5186 (todo-set-top-priorities-in-file, todo-show-categories-table)
5187 (todo-sort-categories-alphabetically-or-numerically)
5188 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5189 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5190 (todo-toggle-item-header, todo-toggle-item-highlighting)
5191 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5192 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5193 (todo-unarchive-items, todo-unmark-category): New commands.
5194 (todo-absolute-file-name, todo-add-to-buffer-list)
5195 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5196 (todo-basic-insert-item, todo-category-completions)
5197 (todo-category-number, todo-category-string-matcher-1)
5198 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5199 (todo-check-format, todo-clear-matches)
5200 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5201 (todo-current-category, todo-date-string-matcher)
5202 (todo-define-insertion-command, todo-diary-expired-matcher)
5203 (todo-diary-goto-entry, todo-diary-item-p)
5204 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5205 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5206 (todo-done-item-section-p, todo-done-separator)
5207 (todo-done-string-matcher, todo-files, todo-filter-items)
5208 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5209 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5210 (todo-insert-category-line, todo-insert-item-from-calendar)
5211 (todo-insert-sort-button, todo-insert-with-overlays)
5212 (todo-insertion-command-name, todo-insertion-key-bindings)
5213 (todo-label-to-key, todo-longest-category-name-length)
5214 (todo-make-categories-list, todo-mode-external-set)
5215 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5216 (todo-modes-set-3, todo-multiple-filter-files)
5217 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5218 (todo-read-category, todo-read-date, todo-read-dayname)
5219 (todo-read-file-name, todo-read-time)
5220 (todo-reevaluate-category-completions-files-defcustom)
5221 (todo-reevaluate-default-file-defcustom)
5222 (todo-reevaluate-filelist-defcustoms)
5223 (todo-reevaluate-filter-files-defcustom)
5224 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5225 (todo-reset-done-separator, todo-reset-done-separator-string)
5226 (todo-reset-done-string, todo-reset-global-current-todo-file)
5227 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5228 (todo-reset-prefix, todo-set-categories)
5229 (todo-set-date-from-calendar, todo-set-show-current-file)
5230 (todo-set-top-priorities, todo-short-file-name)
5231 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5232 (todo-total-item-counts, todo-update-buffer-list)
5233 (todo-update-categories-display, todo-update-categories-sexp)
5234 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5235 New functions.
5236 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5237 New major modes.
5238 (todo-categories, todo-display, todo-edit, todo-faces)
5239 (todo-filtered): New defgroups.
5240 (todo-archived-only, todo-button, todo-category-string, todo-date)
5241 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5242 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5243 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5244 (todo-add-item-if-new-category, todo-always-add-time-string)
5245 (todo-categories-align, todo-categories-archived-label)
5246 (todo-categories-category-label, todo-categories-diary-label)
5247 (todo-categories-done-label, todo-categories-number-separator)
5248 (todo-categories-todo-label, todo-categories-totals-label)
5249 (todo-category-completions-files, todo-completion-ignore-case)
5250 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5251 (todo-done-separator-string, todo-done-string)
5252 (todo-files-function, todo-filter-done-items, todo-filter-files)
5253 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5254 (todo-initial-category, todo-initial-file, todo-item-mark)
5255 (todo-legacy-date-time-regexp, todo-mode-line-function)
5256 (todo-nondiary-marker, todo-number-prefix)
5257 (todo-print-buffer-function, todo-show-current-file)
5258 (todo-show-done-only, todo-show-first, todo-show-with-done)
5259 (todo-skip-archived-categories, todo-top-priorities-overrides)
5260 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5261 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5262 New defcustoms.
5263 (todo-category-done, todo-date-pattern, todo-date-string-start)
5264 (todo-diary-items-buffer, todo-done-string-start)
5265 (todo-filtered-items-buffer, todo-item-start)
5266 (todo-month-abbrev-array, todo-month-name-array)
5267 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5268 (todo-top-priorities-buffer): New defconsts.
5269 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5270 (todo-categories-with-marks, todo-category-string-face)
5271 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5272 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5273 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5274 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5275 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5276 (todo-font-lock-keywords, todo-global-current-todo-file)
5277 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5278 (todo-insertion-commands-args)
5279 (todo-insertion-commands-args-genlist)
5280 (todo-insertion-commands-names, todo-insertion-map)
5281 (todo-key-bindings-t, todo-key-bindings-t+a)
5282 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5283 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5284 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5285 (todo-visited): New variables.
5286
cad5d1cb
GM
52872013-06-21 Glenn Morris <rgm@gnu.org>
5288
5289 * play/cookie1.el (cookie-apropos): Add optional display argument.
5290 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5291 (psychoanalyze-pinhead): Use cookie-doctor.
5292
9e277302
JB
52932013-06-21 Juanma Barranquero <lekktu@gmail.com>
5294
5295 * emacs-lisp/package.el (tar-get-file-descriptor)
5296 (tar--extract): Declare.
5297
c5b0993e
EW
52982013-06-21 Eduard Wiebe <usenet@pusto.de>
5299
5300 Extend flymake's warning predicate to be a function (bug#14217).
5301 * progmodes/flymake.el (flymake-warning-predicate): New.
5302 (flymake-parse-line): Use it.
5303 (flymake-warning-re): Make obsolete alias to
5304 `flymake-warning-predicate'.
5305
a7d2d465
SM
53062013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5307
5308 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5309 (package-obsolete-list): Remove.
5310 (package-activate): Remove min-version argument. Add `force' argument.
5311 Adjust to new package-alist format.
5312 (package-mark-obsolete): Remove.
5313 (package-unpack): Force reload of the package's autoloads.
5314 (package-installed-p): Check builtins if the installed package is not
5315 recent enough.
5316 (package-initialize): Don't reset package-obsolete-list.
5317 Don't specify which package version to activate.
5318 (package-process-define-package, describe-package-1)
5319 (package-menu--generate): Adjust to new package-alist format.
5320
cedf5c9d
JB
53212013-06-21 Juanma Barranquero <lekktu@gmail.com>
5322
5323 * allout-widgets.el (allout-widgets-mode-off)
5324 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5325 (allout-widgets-post-command-business)
5326 (allout-widgets-after-copy-or-kill-function)
5327 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5328 (allout-decorate-item-and-context)
5329 (allout-graphics-modification-handler): Fix typos in docstrings.
5330 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5331
5332 * cmuscheme.el (scheme-start-file): Doc fix.
5333 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5334 (scheme-input-filter): Use `string-match-p'.
5335
5336 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5337
5338 * dired-x.el: Use Dired consistently in docstrings.
5339
5340 * dired.el: Use Dired consistently in docstrings.
5341 (dired-readin, dired-mode): Use `setq-local'.
5342 (dired-switches-alist): Make defvar-local.
5343 (dired-buffers-for-dir): Use `zerop'.
5344 (dired-safe-switches-p, dired-switches-escape-p)
5345 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5346 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5347 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5348 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5349 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5350 (dired-toggle-marks, dired-mark-files-containing-regexp)
5351 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5352 (dired-flag-auto-save-files, dired-flag-backup-files):
5353 Use `looking-at-p'.
5354 (dired-mark-files-regexp, dired-build-subdir-alist):
5355 Use `string-match-p', `looking-at-p'.
5356
5357 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5358 (direct-print-region-helper): Use `string-match-p'.
5359
aed838b5
LL
53602013-06-21 Leo Liu <sdl.web@gmail.com>
5361
cedf5c9d
JB
5362 * comint.el (comint-redirect-results-list-from-process):
5363 Fix infinite loop.
aed838b5 5364
d80a808f
LMI
53652013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5366
5367 * net/eww.el (eww-update-header-line-format): Quote % characters.
5368
e7a526e3
GM
53692013-06-21 Glenn Morris <rgm@gnu.org>
5370
5371 * play/cookie1.el (cookie): New custom group.
5372 (cookie-file): New option.
5373 (cookie-check-file): New function.
5374 (cookie): Make it interactive. Make start and end messages optional.
5375 Interactively, display the result. Default to cookie-file.
5376 (cookie-insert): Default to cookie-file.
5377 (cookie-snarf): Make start and end messages optional.
5378 Default to cookie-file. Use with-temp-buffer.
5379 (cookie-read): Rename from read-cookie.
5380 Make start and end messages optional. Default to cookie-file.
5381 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5382 Do not autoload it.
e7a526e3
GM
5383 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5384 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5385
62efb35e
LL
53862013-06-21 Leo Liu <sdl.web@gmail.com>
5387
5388 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5389
21e3f963
GM
53902013-06-21 Glenn Morris <rgm@gnu.org>
5391
5392 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5393
fd846ab4
SM
53942013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5395 Daniel Hackney <dan@haxney.org>
5396
5397 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5398 Consolidate the single-file vs tarball code.
5399 (package-desc-suffix): New function.
5400 (package-desc-full-name): Don't bother inlining it.
5401 (package-load-descriptor): Return the new package-desc.
5402 (package-mark-obsolete): Remove unused arg `package'.
5403 (package-unpack): Make it work for single files as well.
5404 Make it update package-alist.
5405 (package--make-autoloads-and-stuff): Rename from
5406 package--make-autoloads-and-compile. Don't compile any more.
5407 (package--compile): New function.
5408 (package-generate-description-file): New function, extracted from
5409 package-unpack-single.
5410 (package-unpack-single): Remove.
5411 (package--with-work-buffer): Add indentation and debugging info.
5412 (package-download-single): Remove.
5413 (package-install-from-archive): Rename from package-download-tar, make
5414 it take a pkg-desc, and make it work for single files as well.
5415 (package-download-transaction): Simplify.
5416 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5417 external tar program.
5418 (package-install-from-buffer): Remove `pkg-desc' argument.
5419 Use package-tar-file-info for tar-mode buffers.
5420 (package-install-file): Simplify accordingly.
5421 (package-archive-base): Change to take a pkg-desc.
5422 * tar-mode.el (tar--check-descriptor): New function, extracted from
5423 tar-get-descriptor.
5424 (tar-get-descriptor): Use it.
5425 (tar-get-file-descriptor): New function.
5426 (tar--extract): New function, extracted from tar-extract.
5427 (tar--extract): Use it.
5428 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5429 case the summary uses non-ascii. Adjust to new calling convention of
5430 package-tar-file-info.
5431
b7deae5e
LL
54322013-06-21 Leo Liu <sdl.web@gmail.com>
5433
fd846ab4
SM
5434 * comint.el (comint-redirect-results-list-from-process):
5435 Fix random delay. (Bug#14681)
b7deae5e 5436
7a65a0b2
JB
54372013-06-21 Juanma Barranquero <lekktu@gmail.com>
5438
5439 * profiler.el (profiler-format-number): Use log, not log10.
5440
1493c2af
JB
54412013-06-20 Juanma Barranquero <lekktu@gmail.com>
5442
5443 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5444
aff6371e
SM
54452013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5448 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5449 yet available.
5450 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5451 (AUTOGENEL): ... here.
5452 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5453 (cl--defsubst-expand): Use it.
5454
89561f72
PE
54552013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5456
5457 * subr.el (log10): Move here from C code, and declare as obsolete.
5458 All uses of (log10 X) replaced with (log X 10).
5459
47199123
JB
54602013-06-20 Juanma Barranquero <lekktu@gmail.com>
5461
5462 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5463 Declare with `defvar-local'.
5464 (tabulated-list-use-header-line, tabulated-list-entries)
5465 (tabulated-list-padding, tabulated-list-printer)
5466 (tabulated-list-sort-key): Declare with `defvar-local'.
5467 (tabulated-list-init-header, tabulated-list-print-fake-header):
5468 Use `setq-local'.
5469
4a172eab
MA
54702013-06-20 Michael Albinus <michael.albinus@gmx.de>
5471
47199123
JB
5472 * arc-mode.el (archive-mode): Add `archive-write-file' to
5473 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5474
5fc0acc0
JB
54752013-06-20 Juanma Barranquero <lekktu@gmail.com>
5476
d5b27848
JB
5477 * cus-edit.el (custom-commands): Fix typos.
5478 (custom-display): Fix tooltip text.
5479 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5480 Fix typos in docstrings.
5481 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5482 (custom-unlispify-menu-entry, custom-magic-value-create)
5483 (custom-add-see-also, custom-group-value-create): Use ?\s.
5484 (custom-guess-type, customize-apropos, editable-field)
5485 (custom-face-value-create): Use `string-match-p'.
5486 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5487
5488 * custom.el (custom-load-symbol): Use `string-match-p'.
5489
a5c581d8
JB
5490 * ansi-color.el: Convert to lexical binding.
5491 (ansi-colors): Fix URL.
5492 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5493 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5494 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5495
970ad972
G
54962013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5497
5498 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5499
5500 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5501
55022013-06-19 Tom Tromey <tromey@redhat.com>
5503
5504 * net/eww.el (eww-top-url): Remove.
5505 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5506 (eww-render): Set new variables. Don't set eww-top-url.
5507 (eww-handle-link): Handle "prev", "home", and "contents".
5508 Downcase the rel text.
5509 (eww-top-url): Choose best top URL.
5510
55112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5512
5513 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5514 relying in widget.el. Using widget.el leads to too many
5515 user interface inconsistencies.
5516 (eww-self-insert): Implement entering commands in text fields.
5517 (eww-process-text-input): New function to make text input field editing
5518 work.
5519 (eww-submit): Rewrite to use the new-style form methods.
5520 (eww-select-display): Display the correct selected item.
5521 (eww-change-select): Implement changing the select value.
5522 (eww-toggle-checkbox): Implement radio/checkboxes.
5523 (eww-update-field): Fix compilation error.
5524 (eww-tag-textarea): Implement <textarea>.
5525
5526 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5527 we don't shadow mode-specific bindings.
5528
5529 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5530 nothing to push.
5531
5532 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5533
4582a01c 55342013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5535
5536 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5537
15b263dc
MA
55382013-06-19 Michael Albinus <michael.albinus@gmx.de>
5539
5540 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5541 not needed.
5542
5543 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5544
8f5297f7
LMI
55452013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5546
5547 * net/browse-url.el (browse-url-browser-function):
5548 `eww-browse-url' has the right calling signature, `eww' does not.
5549
011c4552
GM
55502013-06-19 Glenn Morris <rgm@gnu.org>
5551
2285bd27
GM
5552 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5553 Only eval autoloaded macros.
5554 (byte-compile-autoload): Only give the macro warning for macros.
5555
1d653303
GM
5556 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5557 (ps-underlined-faces): Declare.
5558
bdd779ec
GM
5559 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5560 (speedbar-add-supported-extension): Declare.
5561
011c4552
GM
5562 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5563 Don't include a date stamp in the header of the generated file;
5564 it leads to needless differences between output files.
5565
e59dfb0e
MA
55662013-06-19 Michael Albinus <michael.albinus@gmx.de>
5567
c763842b
SM
5568 * net/secrets.el (secrets-struct-secret-content-type):
5569 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5570 Some servers do not offer introspection.
e59dfb0e 5571
102626e2
SM
55722013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * electric.el (electric-pair-mode): Improve interaction with
5575 electric-layout-mode.
5576 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5577 (electric-pair-syntax): Use text-mode-syntax-table in comments
5578 and strings.
5579 (electric-pair--insert): New function.
5580 (electric-pair-post-self-insert-function): Use it and
5581 electric--after-char-pos.
5582
ad528125
LL
55832013-06-19 Leo Liu <sdl.web@gmail.com>
5584
5585 * progmodes/octave.el (octave-help): Fix regexp.
5586
924d6997
G
55872013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5588
5589 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5590 (shr-table-horizontal-line): Allow nil as a value, and change the
5591 default.
5592 (shr-insert-table-ruler): Respect the nil value.
5593
55942013-06-18 Tom Tromey <tromey@barimba>
5595
5596 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5597 New defvars.
5598 (eww-open-file): New defun.
5599 (eww-render): Initialize new variables.
5600 (eww-display-html): Handle "link" and "a".
5601 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5602 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5603 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5604 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5605 New defuns.
924d6997 5606
d1bbba4f
DG
56072013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5608
5609 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5610 Distinguish ternary operator tokens from slash symbol and slash
5611 char literal.
5612
14dd22d2
JB
56132013-06-18 Juanma Barranquero <lekktu@gmail.com>
5614
5615 Convert symbol prettification into minor mode and global minor mode.
5616
5617 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5618 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5619 (prettify-symbols--keywords): Rename from
5620 `prog-prettify-symbols-alist' and make a local defvar.
5621 (prettify-symbols--compose-symbol): Rename from
5622 `prog--prettify-font-lock-compose-symbol'.
5623 (prettify-symbols--make-keywords): Rename from
5624 `prog-prettify-font-lock-symbols-keywords' and simplify.
5625 (prog-prettify-install): Remove.
5626 (prettify-symbols-mode): New minor mode, based on
5627 `prog-prettify-install'.
5628 (turn-on-prettify-symbols-mode): New function.
5629 (global-prettify-symbols-mode): New globalized minor mode.
5630
5631 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5632 * progmodes/cfengine.el (cfengine3-mode):
5633 * progmodes/perl-mode.el (perl-mode): Don't call
5634 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5635
292c880c
JL
56362013-06-18 Juri Linkov <juri@jurta.org>
5637
5638 * files-x.el (modify-file-local-variable-message): New function.
5639 (modify-file-local-variable)
5640 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5641 and call `modify-file-local-variable-message' when it's non-nil.
5642 (add-file-local-variable, delete-file-local-variable)
5643 (add-file-local-variable-prop-line)
5644 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5645 and use it. (Bug#9820)
5646
0950aa27
JL
56472013-06-18 Juri Linkov <juri@jurta.org>
5648
5649 * emulation/vi.el (vi-shell-op):
5650 * emulation/vip.el (vip-execute-com, ex-command):
5651 * emulation/viper-cmd.el (viper-exec-bang):
5652 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5653 the call of `shell-command-on-region'. (Bug#14637)
5654
5655 * simple.el (shell-command-on-region): Doc fix.
5656
8fbcca16
SM
56572013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5660 (bug#14633).
5661
dd7426ea
GM
56622013-06-18 Glenn Morris <rgm@gnu.org>
5663
4ba54f7d
GM
5664 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5665
dd7426ea
GM
5666 * newcomment.el (comment-search-forward, comment-search-backward):
5667 Doc fix. (Bug#14376)
5668
58aa805b
JB
56692013-06-18 Juanma Barranquero <lekktu@gmail.com>
5670
5671 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5672 (buffer-face-mode-invoke): Doc fix.
5673
9a08a617
MM
56742013-06-18 Matthias Meulien <orontee@gmail.com>
5675
5676 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5677 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5678
f2f426ca
GM
56792013-06-18 Glenn Morris <rgm@gnu.org>
5680
9445f99b
GM
5681 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5682 Replace obsolete function generic-make-keywords with its expansion.
5683
e0df2d14
GM
5684 * progmodes/python.el (ffap-alist): Declare.
5685
f2f426ca
GM
5686 * textmodes/reftex.el (bibtex-mode-map): Declare.
5687
f7f9a720
SM
56882013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5691 (package-unpack, package-unpack-single): Return the pkg-dir.
5692 (package-download-transaction): Use it to update package-alist.
5693
57ff04e0
LMI
56942013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5695
5696 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5697 possible choice.
5698
c048c022
JL
56992013-06-17 Juri Linkov <juri@jurta.org>
5700
5701 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5702
b5bcaee5
DG
57032013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5704
a020afb9
JB
5705 * emacs-lisp/package.el (package-load-descriptor):
5706 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5707 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5708
551e07e5
JB
57092013-06-17 Juanma Barranquero <lekktu@gmail.com>
5710
5711 * startup.el (command-line): Expand package name returned by
5712 `package--description-file' (bug#14639).
5713
d363bffb
DG
57142013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5715
5716 * emacs-lisp/package.el (package-load-descriptor): Do not call
5717 `emacs-lisp-mode', just use its syntax table.
5718
f612933b
JB
57192013-06-17 Juanma Barranquero <lekktu@gmail.com>
5720
5721 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5722 `font-lock-extra-managed-props' if any prettifying keyword is added.
5723 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5724 (prog-mode): Use `setq-local'.
5725
db3b7db5
SM
57262013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * international/characters.el (standard-case-table): Set syntax of ?»
5729 and ?« to punctuation.
5730
f3d674df
JB
57312013-06-16 Juanma Barranquero <lekktu@gmail.com>
5732
5733 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5734 Save relevant match data before calling `syntax-ppss' (bug#14595).
5735
31489a32
JL
57362013-06-15 Juri Linkov <juri@jurta.org>
5737
5738 * files-x.el (modify-file-local-variable-prop-line): Add local
5739 variables to the end of the existing comment on the first line.
5740 Use `file-auto-mode-skip' to skip interpreter magic line,
5741 and also skip XML declaration.
5742
66bd25ab
SM
57432013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * startup.el (package--builtin-versions): New var.
5746 (package-subdirectory-regexp): Remove.
5747 (package--description-file): Hard code its value instead.
5748
5749 * emacs-lisp/package.el: Don't activate packages older than builtin.
5750 (package-obsolete-list): Rename from package-obsolete-alist, and make
5751 it into a simple list of package-desc.
5752 (package-strip-version): Remove.
5753 (package-built-in-p): Use package--builtin-versions.
5754 (package-mark-obsolete): Simplify.
5755 (package-process-define-package): Mark it obsolete if older than the
5756 builtin version.
5757 (package-handle-response): Use line-end-position.
5758 (package-read-archive-contents, package--download-one-archive):
5759 Simplify.
5760 (package--add-to-archive-contents): Skip if older than the builtin or
5761 installed version.
5762 (package-menu-describe-package): Fix last change.
5763 (package-list-unversioned): New var.
5764 (package-menu--generate): Use it.
5765
5766 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5767 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5768 (autoload-builtin-package-versions): New variable.
5769 (autoload-generate-file-autoloads): Use them.
5770 Remove the list of autoloaded functions/macros from the
5771 (autoload...) comments.
5772
5773 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5774
9583ec36
EZ
57752013-06-15 Eli Zaretskii <eliz@gnu.org>
5776
5777 * simple.el (line-move-partial): Don't jump to the next screen
5778 line as soon as it becomes visible. Instead, continue enlarging
5779 the vscroll until the portion of a tall screen line that's left on
5780 display is about the height of the frame's default font.
5781 (Bug#14567)
5782
f0100d8a
GM
57832013-06-15 Glenn Morris <rgm@gnu.org>
5784
b86a85ca
GM
5785 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5786 compilation-error-regexp-alist void, or local while let-bound.
5787
f0100d8a
GM
5788 * progmodes/make-mode.el (makefile-mode-syntax-table):
5789 Treat "=" as punctuation. (Bug#14614)
5790
05e7ce90
JB
57912013-06-15 Juanma Barranquero <lekktu@gmail.com>
5792
5793 * help-fns.el (describe-variable):
5794 Add extra line for permanent-local variables.
5795
12e5e86e
SH
57962013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5797
5798 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5799 Add export, import, library. (Bug#9164)
5800 (library): Set indent function.
5801
230dcbaf
GM
58022013-06-14 Glenn Morris <rgm@gnu.org>
5803
5804 * term/xterm.el (xterm--query):
5805 Stop after first matching handler. (Bug#14615)
5806
e36b2d20 58072013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5808
5809 Add support for dired in saveplace.
5810 * dired.el (dired-initial-position-hook): New variable.
5811 (dired-initial-position): Call hook to place cursor position.
5812 * saveplace.el (save-place-to-alist): Add dired position.
5813 (save-place-dired-hook): New function.
5814
0b31660d
SM
58152013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5816
bf1e6ae8
SM
5817 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5818 through a symbol rather than letrec.
5819
1b8dff23
SM
5820 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5821 (package-desc): Add `dir' field.
5822 (package-desc-full-name): New function.
5823 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5824 (package-maybe-load-descriptor): Remove.
5825 (package-load-all-descriptors): Just call package-load-descriptor.
5826 (package--disabled-p): New function.
5827 (package-desc-vers, package-desc-doc): Remove aliases.
5828 (package--dir): Remove function.
5829 (package-activate): Check if a package is disabled.
5830 (package-process-define-package): New function, extracted from
5831 define-package.
5832 (define-package): Turn into a place holder.
5833 (package-unpack-single, package-tar-file-info):
5834 Use package--description-file.
5835 (package-compute-transaction): Use package--disabled-p.
5836 (package-download-transaction): Don't call
5837 package-maybe-load-descriptor since they're all loaded anyway.
5838 (package-install): Change argument to be a pkg-desc.
5839 (package-delete): Use a single pkg-desc argument.
5840 (describe-package-1): Use package-desc-dir instead of package--dir.
5841 Use package-desc property instead of package-symbol.
5842 (package-install-button-action): Adjust accordingly.
5843 (package--push): Rewrite.
5844 (package-menu--print-info): Adjust accordingly. Change the ID format
5845 to be a pkg-desc.
5846 (package-menu-describe-package, package-menu-get-status)
5847 (package-menu--find-upgrades, package-menu-mark-upgrades)
5848 (package-menu-execute, package-menu--name-predicate):
5849 Adjust accordingly.
5850 * startup.el (package--description-file): New function.
5851 (command-line): Use it.
5852 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5853 Use package-desc-version.
5854
0b31660d
SM
5855 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5856 (byte-compile-preprocess): Use it.
5857 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5858 can't quite recognize.
5859 (byte-compile-add-to-list): Remove.
5860 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5861 (cconv-closure-convert): Add assertion.
5862
5863 * emacs-lisp/map-ynp.el: Use lexical-binding.
5864 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5865 Factor out some repeated code.
5866
de0503df
SM
58672013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * subr.el (with-eval-after-load): New macro.
5870 (eval-after-load): Allow form to be a function.
5871 take advantage of lexical-binding.
5872 (do-after-load-evaluation): Use dolist and adjust to new format.
5873 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5874
bc5c8c5a
JL
58752013-06-13 Juri Linkov <juri@jurta.org>
5876
5877 * replace.el (perform-replace): Display "symbol " and other search
5878 modes from `isearch-message-prefix' in the *Help* buffer.
5879
5880 * isearch.el (isearch-query-replace): Add " symbol" and other
5881 possible search modes from `isearch-message-prefix' to the prompt.
5882 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5883 when reading a regexp to collect.
5884
a22289f7
JL
58852013-06-13 Juri Linkov <juri@jurta.org>
5886
5887 * isearch.el (word-search-regexp): Match whitespace if the search
5888 string begins or ends in whitespace. The LAX arg is applied to
5889 both ends of the search string. Use `regexp-quote' and explicit
5890 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5891 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5892 boundaries are replaced with symbol boundaries, and characters
5893 between symbols match non-word non-symbol syntax. (Bug#14602)
5894
cb89acab
JL
58952013-06-13 Juri Linkov <juri@jurta.org>
5896
5897 * isearch.el (isearch-del-char): Don't exceed the length of
5898 `isearch-string' by the prefix arg. (Bug#14563)
5899
6e8cfc81
JL
59002013-06-13 Juri Linkov <juri@jurta.org>
5901
5902 * isearch.el (isearch-yank-word, isearch-yank-line)
5903 (isearch-char-by-name, isearch-quote-char)
5904 (isearch-printing-char, isearch-process-search-char):
5905 Add optional count prefix arg. (Bug#14563)
5906
5907 * international/isearch-x.el
5908 (isearch-process-search-multibyte-characters):
5909 Add optional count prefix arg.
5910
c23d55f4
VS
59112013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5914 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5915 lexical-binding.
5916
59172013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5918
5919 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5920
ba947bc4
GM
59212013-06-13 Glenn Morris <rgm@gnu.org>
5922
8baeb37a
GM
5923 * startup.el (tty-handle-args):
5924 Don't just discard "--" and anything after. (Bug#14608)
5925
ba947bc4
GM
5926 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5927
9abefce4
MA
59282013-06-13 Michael Albinus <michael.albinus@gmx.de>
5929
5930 Implement changes in Secret Service API. Make it backward compatible.
5931 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5932 (secrets-create-item): Use it. Prefix properties with interface.
5933
5755011f
MH
59342013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5935
5936 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5937 (term-emulate-terminal): Respect term-suppress-hard-newline.
5938
1261d2da
S
59392013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5940
5941 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5942 Only remove a `thumb-file' overlay. (Bug#14548)
5943
868490bb
GJ
59442013-06-12 Grégoire Jadi <daimrod@gmail.com>
5945
5946 * mail/reporter.el (reporter-submit-bug-report):
5947 Handle missing package-name. (Bug#14600)
5948
79d7167f
TH
59492013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5950
5951 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5952 (reftex-citation-prompt, reftex-default-bibliography)
5953 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5954 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5955 (reftex-bib-sort-author, reftex-bib-sort-year)
5956 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5957 (reftex-extract-bib-entries-from-thebibliography)
5958 (reftex-get-bibkey-default, reftex-get-bib-names)
5959 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5960 (reftex-format-bib-entry, reftex-parse-bibitem)
5961 (reftex-format-bibitem, reftex-do-citation)
5962 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5963 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5964 (reftex-insert-bib-matches, reftex-format-citation)
5965 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5966 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5967 existing comments into docstrings.
5968
5f9dbd7a
XF
59692013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5970
5971 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5972
94df41ab
AS
59732013-06-12 Andreas Schwab <schwab@suse.de>
5974
5975 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5976 for auto-save files.
5977
a7f3fecc
GM
59782013-06-12 Glenn Morris <rgm@gnu.org>
5979
001809f6
GM
5980 * ido.el (ido-delete-ignored-files): Remove.
5981 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5982 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5983
834b5ded
EL
59842013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5985
08c73ed2
EL
5986 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5987
834b5ded
EL
5988 * ido.el (ido-delete-ignored-files): New function,
5989 split from ido-make-file-list-1.
5990 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5991 (ido-make-file-list-1): Use ido-delete-ignored-files.
5992
daabf15a
LL
59932013-06-12 Leo Liu <sdl.web@gmail.com>
5994
5995 * progmodes/octave.el (inferior-octave-startup)
5996 (inferior-octave-completion-table)
5997 (inferior-octave-track-window-width-change)
5998 (octave-eldoc-function-signatures, octave-help)
5999 (octave-find-definition): Use single quoted strings.
6000 (inferior-octave-startup-args): Change default value.
6001 (inferior-octave-startup): Do not hard code "-i" and
6002 "--no-line-editing".
6003 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6004 (inferior-octave-directory-tracker): Use it.
6005 (octave-goto-function-definition): Robustify.
6006 (octave-help): Support highlighting operators in 'See also'.
6007 (octave-find-definition): Find subfunctions only in Octave mode.
6008
cf4e5178
SM
60092013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * help-fns.el (help-fns--compiler-macro): If the handler function is
6012 named, then put a link to it.
6013 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6014 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6015 (cl-typep): Use it.
6016 (cl-eval-when): Simplify debug spec.
6017 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6018 compiler-macro function instead of setting `compiler-macro-file'.
6019
99c81280 60202013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6021
6022 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6023 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6024
f56be016
SM
60252013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6026 Daniel Hackney <dan@haxney.org>
6027
6028 First part of Daniel Hackney's patch to package.el.
6029 * emacs-lisp/package.el: Use defstruct.
6030 (package-desc): New, main struct.
6031 (package--bi-desc, package--ac-desc): New structs, used to describe the
6032 format in external files.
6033 (package-desc-vers): Replace with package-desc-version accessor.
6034 (package-desc-doc): Replace with package-desc-summary accessor.
6035 (package-activate-1): Remove `package' arg since the pkg-vec now
6036 includes the name.
6037 (define-package): Use package-desc-from-define.
6038 (package-unpack-single): Change file-name arg to be a symbol.
6039 (package--add-to-archive-contents): Use package-desc-create and new
6040 accessor functions to package--ac-desc.
6041 (package-buffer-info, package-tar-file-info): Return a package-desc.
6042 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6043 arg to be a package-desc.
6044 (package-install-file): Adjust accordingly. Use \' to match EOS.
6045 (package--from-builtin): New function.
6046 (describe-package-1, package-menu--generate): Use it.
6047 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6048 (package-generate-autoloads): Idem and return the name of the file.
6049 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6050 Change pkg-info arg to be a package-desc.
6051 Use package-make-ac-desc.
6052 (package-upload-file): Use \' to match EOS.
6053 * finder.el (finder-compile-keywords): Use package-make-builtin.
6054
31119d63
SM
60552013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6056
931a2762
SM
6057 * vc/vc.el (vc-deduce-fileset): Change error message.
6058 (vc-read-backend): New function.
6059 (vc-next-action): Use it.
6060
5a3eb0c6
SM
6061 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6062
e3eb1bb7
SM
6063 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6064 (prolog-font-lock-keywords): Use regexp-opt instead.
6065 Don't manually highlight strings.
6066 (prolog-mode-variables): Simplify comment-start-skip.
6067 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6068
31119d63
SM
6069 * emacs-lisp/generic.el (generic--normalise-comments)
6070 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6071 (generic-mode-set-comments): Use them.
6072 (generic-bracket-support): Use setq-local.
6073 (generic-make-keywords-list): Declare obsolete.
6074
7de135d0
GM
60752013-06-11 Glenn Morris <rgm@gnu.org>
6076
6077 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6078 Prettify after setting font-lock-defaults. (Bug#14574)
6079
fa6bc6fd
JB
60802013-06-11 Juanma Barranquero <lekktu@gmail.com>
6081
6082 * replace.el (query-replace, occur-read-regexp-defaults-function)
6083 (replace-search):
6084 * subr.el (declare-function, number-sequence, local-set-key)
6085 (substitute-key-definition, locate-user-emacs-file)
6086 (with-silent-modifications, split-string, eval-after-load):
6087 Fix typos, remove unneeded backslashes and reflow some docstrings.
6088
cf1f9b9a
SM
60892013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6092 default for Elisp files.
6093
56602a4b
GM
60942013-06-11 Glenn Morris <rgm@gnu.org>
6095
6096 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6097 although define-derived-mode was doing this anyway. (Bug#14583)
6098
30ae0b2c
JB
60992013-06-10 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6102 Fix make-variable-buffer-local call to refer to the correct variable.
6103
fa472906
AG
61042013-06-10 Aidan Gauland <aidalgol@amuri.net>
6105
6106 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6107 (eshell-visual-subcommands, eshell-visual-options):
6108 Add summary line to docstrings. Add cross-references.
fa472906 6109
ff4871b9
GM
61102013-06-10 Glenn Morris <rgm@gnu.org>
6111
6112 * epa.el (epa-read-file-name): New function. (Bug#14510)
6113 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6114
04fcf1b0
AG
61152013-06-09 Aidan Gauland <aidalgol@amuri.net>
6116
6117 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6118 output redirection to be ignored with visual commands.
6119
88b00caa
AG
61202013-06-09 Aidan Gauland <aidalgol@amuri.net>
6121
6122 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6123 (eshell-term-initialize): Move long lambda to separate function
6124 eshell-visual-command-p.
e7b41c4c
JB
6125 * eshell/em-dirs.el (eshell-dirs-initialise):
6126 * eshell/em-script.el (eshell-script-initialize):
6127 Add missing #' to lambda.
88b00caa 6128
fda74125
LL
61292013-06-08 Leo Liu <sdl.web@gmail.com>
6130
6131 * progmodes/octave.el (octave-add-log-current-defun): New function.
6132 (octave-mode): Set add-log-current-defun-function.
6133 (octave-goto-function-definition): Do not move point if not found.
6134 (octave-find-definition): Enhance to try subfunctions first.
6135
467f3b33
GM
61362013-06-08 Glenn Morris <rgm@gnu.org>
6137
6138 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6139 (byte-compile-backward-char, byte-compile-backward-word):
6140 Improve previous change, to handle non-explicit nil.
6141
544badc3
SM
61422013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6145 (smie--opener/closer-at-point): New function.
6146 (smie--matching-block-data): Use it. Don't match from right after an
6147 opener or right before a closer. Obey smie-blink-matching-inners.
6148 Don't signal a mismatch for repeated inners like "switch..case..case".
6149
a175bf33
LL
61502013-06-07 Leo Liu <sdl.web@gmail.com>
6151
6152 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6153 to t. (Bug#14303)
ce8209d4
LL
6154 (octave-function-header-regexp): Fix. (Bug#14570)
6155 (octave-help-mode-finish-hook, octave-help-mode-finish):
6156 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6157
6158 * newcomment.el (comment-search-backward): Revert last change.
6159 (Bug#14434)
6160
6161 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6162
a822acff
EZ
61632013-06-07 Eli Zaretskii <eliz@gnu.org>
6164
6165 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6166 through xargs, to avoid failure due to MS-Windows limitations on
6167 command-line length.
6168
961166f5
GM
61692013-06-06 Glenn Morris <rgm@gnu.org>
6170
d0341459
GM
6171 * font-lock.el (lisp-font-lock-keywords-2):
6172 Treat user-error like error.
6173
961166f5
GM
6174 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6175 (byte-compile-backward-char, byte-compile-backward-word):
6176 Handle explicit nil arguments. (Bug#14565)
6177
80fa505f
AM
61782013-06-05 Alan Mackenzie <acm@muc.de>
6179
6180 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6181 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6182 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6183 (Bug#9706)
80fa505f 6184
fccdc796
SM
61852013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6186
6187 * autorevert.el (auto-revert-notify-handler): Use memq.
6188 Hide assertion failure.
6189
6190 * skeleton.el: Use cl-lib.
6191 (skeleton-further-elements): Use defvar-local.
6192 (skeleton-insert): Use cl-progv.
6193
9bfff84b
TZ
61942013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6195
6196 * progmodes/prog-mode.el (prog-prettify-symbols)
6197 (prog-prettify-install): Update docstrings.
6198
55577e7c
SM
61992013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 * simple.el: Move all the prog-mode code to prog-mode.el.
6202 * progmodes/prog-mode.el: New file.
6203 * loadup.el: Add prog-mode.el.
6204
8fc57765
TZ
62052013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6206
6207 * simple.el (prog-prettify-symbols): Add version.
6208 (prog-prettify-install): Add convenience function to prettify symbols.
6209
6210 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6211 (perl--augmented-font-lock-keywords-1)
6212 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6213 variables and use it.
6214
6215 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6216 (cfengine3-mode): Remove unneeded variable and use it.
6217
6218 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6219 (lisp--augmented-font-lock-keywords-1)
6220 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6221 Remove unneeded variables and use it.
6222
650645d5 62232013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6224
6225 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6226 to point when opening the connection. (Bug#14380)
28f5da6d 6227
781b4af6
SM
62282013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * subr.el (load-history-regexp, load-history-filename-element)
6231 (eval-after-load, after-load-functions, do-after-load-evaluation)
6232 (eval-next-after-load, display-delayed-warnings)
6233 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6234 definition of save-match-data.
6235 (overriding-local-map): Remove accidental obsolescence declaration.
6236
6237 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6238
3ca0d0b4
TZ
62392013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6240
6241 Generalize symbol prettify support to prog-mode and implement it
6242 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6243 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6244 (prog--prettify-font-lock-compose-symbol)
6245 (prog-prettify-font-lock-symbols-keywords): New variables and
6246 functions to support symbol prettification.
6247 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6248 (lisp--augmented-font-lock-keywords-1)
6249 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6250 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6251 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6252 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6253 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6254 * progmodes/perl-mode.el (perl-prettify-symbols)
6255 (perl--font-lock-compose-symbol)
6256 (perl--font-lock-symbols-keywords): Move to prog-mode.
6257 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6258 (perl-font-lock-keywords-1)
6259 (perl-font-lock-keywords-2): Remove explicit prettify support.
6260 (perl--augmented-font-lock-keywords)
6261 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6262 (perl--augmented-font-lock-keywords-2, perl-mode):
6263 Implement prettify support.
3ca0d0b4 6264
976cb066
LL
62652013-06-05 Leo Liu <sdl.web@gmail.com>
6266
6267 Re-implement smie matching block highlight using
6268 show-paren-data-function. (Bug#14395)
6269 * emacs-lisp/smie.el (smie-matching-block-highlight)
6270 (smie--highlight-matching-block-overlay)
6271 (smie--highlight-matching-block-lastpos)
6272 (smie-highlight-matching-block)
6273 (smie-highlight-matching-block-mode): Remove.
6274 (smie--matching-block-data-cache): New variable.
6275 (smie--matching-block-data): New function.
6276 (smie-setup): Use smie--matching-block-data for
6277 show-paren-data-function.
6278
6279 * progmodes/octave.el (octave-mode-menu): Fix.
6280 (octave-find-definition): Skip garbage lines.
6281
208d0342
SM
62822013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 Fix compilation error with simultaneous dynamic+lexical scoping.
6285 Add warning when a defvar appears after the first let-binding.
6286 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6287 (byte-compile-close-variables): Initialize it.
6288 (byte-compile--declare-var): New function.
6289 (byte-compile-file-form-defvar)
6290 (byte-compile-file-form-define-abbrev-table)
6291 (byte-compile-file-form-custom-declare-variable): Use it.
6292 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6293 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6294 (byte-compile-bind): Handle dynamic bindings that shadow
6295 lexical bindings.
6296 (byte-compile-unbind): Make arg non-optional.
6297 (byte-compile-let): Simplify.
6298 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6299 (cconv--analyse-function, cconv-analyse-form): Populate it.
6300 Protect byte-compile-bound-variables to limit the scope of defvars.
6301 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6302 Remove unneeded rule for `declare'.
6303
6304 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6305 so as to avoid depending on cl-adjoin at run-time.
6306 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6307
6308 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6309 (macroexp--warn-and-return): Use it.
6310
2587b005
LL
63112013-06-05 Leo Liu <sdl.web@gmail.com>
6312
6313 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6314
f1da3c88
LL
63152013-06-04 Leo Liu <sdl.web@gmail.com>
6316
6317 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6318 (compilation-auto-jump): Suppress the "Mark set" message to give
6319 way to exit message.
6320
3caa391f
AM
63212013-06-04 Alan Mackenzie <acm@muc.de>
6322
6323 Remove faulty optimisation from indentation calculation.
6324 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6325 search limit based on 2000 characters back from indent-point.
6326
068922a2
TH
63272013-06-03 Tassilo Horn <tsdh@gnu.org>
6328
6329 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6330
1f8fdd53
SM
63312013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6332
bbcc4d97
SM
6333 * emacs-lisp/lisp.el: Use lexical-binding.
6334 (lisp--local-variables-1, lisp--local-variables): New functions.
6335 (lisp--local-variables-completion-table): New var.
208d0342 6336 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6337
1f8fdd53
SM
6338 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6339 eagerly (bug#14422).
6340
c9628c79
MA
63412013-06-03 Michael Albinus <michael.albinus@gmx.de>
6342
6343 * autorevert.el (auto-revert-notify-enabled)
6344 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6345 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6346 (auto-revert-notify-handler): Handle also gfilenotify.
6347
e7b41c4c 6348 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6349 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6350 Remove.
c9628c79 6351
e5e4a942
JL
63522013-06-03 Juri Linkov <juri@jurta.org>
6353
6354 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6355 `M-s h .'. (Bug#14427)
6356
6357 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6358 command `hi-lock-face-symbol-at-point'.
6359 (hi-lock-face-symbol-at-point): New command.
6360 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6361 (hi-lock-menu): Add `highlight-symbol-at-point'.
6362 (hi-lock-mode): Doc fix.
6363
6364 * isearch.el (isearch-forward-symbol-at-point): New command.
6365 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6366 (isearch-highlight-regexp): Add a regexp which matches
6367 words/symbols for word/symbol mode.
6368
6369 * subr.el (find-tag-default-bounds): New function with the body
6370 mostly moved from `find-tag-default'.
6371 (find-tag-default): Move most code to `find-tag-default-bounds',
6372 call it and apply `buffer-substring-no-properties' afterwards.
6373
26b3353a
TH
63742013-06-03 Tassilo Horn <tsdh@gnu.org>
6375
781b4af6
SM
6376 * eshell/em-term.el (eshell-term-initialize):
6377 Use `cl-intersection' rather than `intersection'.
26b3353a 6378
51b60f53
XF
63792013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6380
fe054b63 6381 * vc/log-view.el: Doc fix.
d3ffe17c 6382 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6383
a0eb10b3 63842013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6385
6386 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6387 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6388 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6389 (eieio-unbound, eieio-default-superclass)
6390 (eieio--define-field-accessors, method-static, method-before)
6391 (method-primary, method-after, method-num-lists)
6392 (method-generic-before, method-generic-primary)
6393 (method-generic-after, method-num-slots)
6394 (eieio-specialized-key-to-generic-key)
6395 (eieio--check-type, class-v, class-p)
6396 (eieio-class-name, define-obsolete-function-alias)
6397 (eieio-class-parents-fast, eieio-class-children-fast)
6398 (same-class-fast-p, class-constructor, generic-p)
6399 (generic-primary-only-p, generic-primary-only-one-p)
6400 (class-option-assoc, class-option, eieio-object-p)
6401 (class-abstract-p, class-method-invocation-order)
6402 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6403 (eieio-class-un-autoload, eieio-defclass)
6404 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6405 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6406 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6407 (eieio-defgeneric-reset-generic-form)
6408 (eieio-defgeneric-form-primary-only)
6409 (eieio-defgeneric-reset-generic-form-primary-only)
6410 (eieio-defgeneric-form-primary-only-one)
6411 (eieio-defgeneric-reset-generic-form-primary-only-one)
6412 (eieio-unbind-method-implementations)
6413 (eieio--defmethod, eieio--typep)
6414 (eieio-perform-slot-validation, eieio-validate-slot-value)
6415 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6416 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6417 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6418 (eieio-slot-name-index, eieio-class-slot-name-index)
6419 (eieio-set-defaults, eieio-initarg-to-attribute)
6420 (eieio-attribute-to-initarg, eieio-c3-candidate)
6421 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6422 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6423 (eieio-class-precedence-list, eieio-generic-call-methodname)
6424 (eieio-generic-call-arglst, eieio-generic-call-key)
6425 (eieio-generic-call-next-method-list)
6426 (eieio-pre-method-execution-functions, eieio-generic-call)
6427 (eieio-generic-call-primary-only, eieiomt-method-list)
6428 (eieiomt-optimizing-obarray, eieiomt-install)
6429 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6430 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6431 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6432 (defclass): Remove `eval-and-compile' from macro.
6433 (call-next-method, shared-initialize): Instead of using
6434 `scoped-class' variable, use new eieio--scoped-class, and
6435 eieio--with-scoped-class.
6436 (initialize-instance): Rename local variable 'scoped-class' to
6437 'this-class' to remove ambiguitity from old global.
6438
6439 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6440 eieio.el.
4f405069
JB
6441 (eieio--scoped-class-stack): New variable.
6442 (eieio--scoped-class): New fcn.
890f7890
DE
6443 (eieio--with-scoped-class): New scoping macro.
6444 (eieio-defclass): Use pushnew instead of add-to-list.
6445 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6446 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6447 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6448 `scoped-class' variable, use new eieio--scoped-class, and
6449 eieio--with-scoped-class.
6450
6451 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6452
d105b0e2
TH
64532013-06-02 Tassilo Horn <tsdh@gnu.org>
6454
6455 * eshell/esh-ext.el (eshell-external-command): Pass args to
6456 `eshell-find-interpreter'.
6457 (eshell-find-interpreter): Add new second parameter ARGS.
6458
6459 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6460 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6461
6462 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6463 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6464
6465 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6466 (eshell-visual-options): New defcustom.
6467 (eshell-escape-control-x): Adapt docstring.
6468 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6469 `eshell-visual-options' in addition to `eshell-visual-commands'.
6470 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6471
f46305c8 64722013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6473
6474 * progmodes/python.el (python-indent-block-enders): Add break,
6475 continue and raise keywords.
6476
d870df21
GM
64772013-06-01 Glenn Morris <rgm@gnu.org>
6478
9133b82e
GM
6479 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6480
02c992ec 6481 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6482 * progmodes/cc-cmds.el (delete-forward-p):
6483 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6484 * progmodes/cc-engine.el (buffer-syntactic-context):
6485 * progmodes/cc-fonts.el (face-property-instance):
6486 * progmodes/cc-mode.el (set-keymap-parents):
6487 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6488 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6489 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6490 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6491 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6492
31e7b090
GM
6493 * progmodes/cc-vars.el (other): Emacs has this widget since
6494 at least 21.1, so don't (re)define it.
6495
d870df21
GM
6496 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6497 Replace the obsolete alias pcomplete-arg-quote-list.
6498
c75c93c7
LL
64992013-06-01 Leo Liu <sdl.web@gmail.com>
6500
6501 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6502 punctuation syntax.
6503 (inferior-octave-minimal-columns)
6504 (inferior-octave-last-column-width): New variables.
6505 (inferior-octave-track-window-width-change): New function.
6506 (inferior-octave-mode): Adjust column width so that Octave output,
6507 for example from 'ls', can fit into the window nicely.
6508
973d1e12
DG
65092013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6510
6511 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6512 Highlight expansions inside regexp literals.
6513
0888c286
GM
65142013-05-31 Glenn Morris <rgm@gnu.org>
6515
e26aac1f
GM
6516 * obsolete/sym-comp.el (symbol-complete):
6517 Replace obsolete completion-annotate-function.
6518
0888c286
GM
6519 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6520
19bb8e62
DG
65212013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6522
781b4af6
SM
6523 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6524 New function, checks if point is inside a literal that allows
19bb8e62
DG
6525 expression expansion.
6526 (ruby-syntax-propertize-expansion): Use it.
6527 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6528 around the body.
6529
01dea85f
JL
65302013-05-30 Juri Linkov <juri@jurta.org>
6531
6532 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6533 to "\M-si".
6534 (isearch-invisible): New variable.
6535 (isearch-forward): Doc fix.
6536 (isearch-mode): Set `isearch-invisible'
6537 to the value of `search-invisible'.
6538 (isearch-toggle-case-fold): Doc fix.
6539 (isearch-toggle-invisible): New command.
6540 (isearch-query-replace): Let-bind `search-invisible'
6541 to the value of `isearch-invisible'.
6542 (isearch-search): Use `isearch-invisible' instead of
6543 `search-invisible'. Let-bind `search-invisible'
6544 to the value of `isearch-invisible'. (Bug#11378)
6545
ab1bdce5
JL
65462013-05-30 Juri Linkov <juri@jurta.org>
6547
6548 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6549 call when `query-flag' is nil and `search-invisible' is non-nil.
6550 (Bug#11746)
6551
d6d236e2
GM
65522013-05-30 Glenn Morris <rgm@gnu.org>
6553
8accd027
GM
6554 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6555
2a8bed1c
GM
6556 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6557 (cc-require): Suppress spurious "noruntime" warnings.
6558 (cc-require-when-compile): Use fboundp, for sake of compiler.
6559
d6d236e2
GM
6560 * progmodes/cc-mode.el: Move load of cc-vars before that of
6561 cc-langs (which in turn loads cc-vars), to quieten compiler.
6562
9190b35b
SM
65632013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6564
6565 * paren.el: Simplify the code.
6566 (show-paren-mode): Always start the timer.
6567 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6568 (show-paren--overlay, show-paren--overlay-1): Rename from
6569 show-paren-overlay and show-paren-overlay-1, and initialize to an
6570 overlay rather than to nil.
6571 (show-paren-function): Misc cleanup and simplifications.
6572
4f8d1cf6
SM
65732013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6574
6575 * paren.el (show-paren-data-function): New hook.
6576 (show-paren--default): New function, extracted from show-paren-function.
6577 (show-paren-function): Use show-paren-data-function.
6578
02d844b5
GM
65792013-05-30 Glenn Morris <rgm@gnu.org>
6580
d209d4a9
GM
6581 * ielm.el (ielm-map, ielm-complete-symbol):
6582 Use completion-at-point rather than obsolete functions.
6583 (inferior-emacs-lisp-mode): Doc fix.
6584 Set completion-at-point-functions, rather than
6585 comint-dynamic-complete-functions.
6586
2082faa6
GM
6587 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6588 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6589 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6590
dd8620de
GM
6591 * image.el (image-animated-p): Tweak definition.
6592
ceca95b1
GM
6593 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6594 (rlogin-process-connection-type): Tweak default. Add set-after.
6595 (rlogin-host): Doc fix.
6596 (rlogin): Tweak prompt.
6597 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6598
ee9f1acc
GM
6599 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6600 * progmodes/tcl.el (inferior-tcl-mode-map):
6601 Use completion-at-point rather than obsolete alias.
6602
45ce222e
GM
6603 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6604
02d844b5
GM
6605 * minibuffer.el (read-file-name-completion-ignore-case):
6606 Move before completion--in-region, for eager macro expansion.
6607
ac44d6c1
JL
66082013-05-29 Juri Linkov <juri@jurta.org>
6609
6610 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6611 for total count of matching lines. Add `global-matches' for total
6612 count of matches. Rename `matches' to `lines' for count of
6613 matching lines. Add `matches' for count of matches.
6614 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6615 to `prev-line' for line number of prev match endpt.
6616 Increment `matches' for every match. Print the number of
6617 matching lines in the header.
6618 (occur-context-lines): Rename `lines' to `curr-line'.
6619 Rename `prev-lines' to `prev-line'. (Bug#14017)
6620
3c9c9d38
JL
66212013-05-29 Juri Linkov <juri@jurta.org>
6622
6623 * replace.el (perform-replace): Add `skip-read-only-count',
6624 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6625 Increment them for corresponding conditions and report the number
6626 of skipped occurrences in the final message. (Bug#11746)
6627 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6628 (replace-string, replace-regexp): Doc fix.
6629
33e249a2
SM
66302013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6631
8e399682
SM
6632 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6633
33e249a2 6634 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6635 prog-mode-map (bug#14504).
33e249a2 6636
f236dd84
LL
66372013-05-29 Leo Liu <sdl.web@gmail.com>
6638
6639 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6640 (octave-help): Small simplification.
6641
6642 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6643 off the highlight first.
6644
3694d13f
GM
66452013-05-29 Glenn Morris <rgm@gnu.org>
6646
03983bdc
GM
6647 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6648 Handle idlwave-last-system-routine-info-cons-cell being nil.
6649
bc74a74a
GM
6650 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6651 (idlwave-write-paths): Simplify via with-temp-buffer.
6652
8b394200
GM
6653 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6654 * emulation/cua-rect.el: Also load cua-base at run time.
6655
3694d13f
GM
6656 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6657 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6658 (cperl-imenu-on-info): Require imenu.
6659
336d7284
AM
66602013-05-28 Alan Mackenzie <acm@muc.de>
6661
6662 Handle "capitalised keywords" correctly.
33e249a2 6663 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6664
cb29c582
AG
66652013-05-28 Aidan Gauland <aidalgol@amuri.net>
6666
781b4af6 6667 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6668
690e44b2
GM
66692013-05-28 Glenn Morris <rgm@gnu.org>
6670
e658d75c
GM
6671 * vc/vc-arch.el (vc-exec-after): Declare.
6672 (vc-switches): Autoload.
6673 * vc/vc-bzr.el: No need to require vc when compiling.
6674 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6675 (vc-resynch-buffer, vc-dir-refresh): Declare.
6676 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6677 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6678 (vc-resynch-buffer): Declare.
6679 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6680 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6681 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6682 (grep-read-regexp, grep-read-files, grep-expand-template)
6683 (vc-dir-refresh): Declare.
6684 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6685 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6686 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6687 * vc/vc-mtn.el (vc-exec-after): Declare.
6688 (vc-switches): Autoload.
6689 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6690 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6691 (vc-file-tree-walk): Declare.
712b9732
GM
6692 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6693 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6694 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6695 * vc/vc-svn.el (vc-exec-after): Declare.
6696 (vc-switches, vc-setup-buffer): Autoload.
6697 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6698 Autoload.
6699 (vc-resynch-buffer): Declare.
6700
98e87fb3
GM
6701 * obsolete/fast-lock.el (byte-compile-warnings):
6702 Don't warn about obsolete features in this obsolete file.
6703
f5379553
GM
6704 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6705 Move definition before use.
6706
7a20ef83
GM
6707 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6708 (dun-unix-verbs): Remove dun-zippy.
6709 (dun-zippy): Remove function.
6710
690e44b2
GM
6711 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6712
3a52ccf7
JL
67132013-05-27 Juri Linkov <juri@jurta.org>
6714
6715 * replace.el (replace-search): New function with code moved out
6716 from `perform-replace'.
6717 (replace-highlight, replace-dehighlight): Move function definitions
6718 up closer to `replace-search'. (Bug#11746)
6719
d289938a
JL
67202013-05-27 Juri Linkov <juri@jurta.org>
6721
6722 * replace.el (perform-replace): Ignore invisible matches.
6723 In addition to checking `query-replace-skip-read-only', also
6724 filter out matches by calling `run-hook-with-args-until-failure'
6725 on `isearch-filter-predicates', and also check `search-invisible'
6726 for t or call `isearch-range-invisible'.
6727 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6728
66fc57e3
JL
67292013-05-27 Juri Linkov <juri@jurta.org>
6730
6731 * isearch.el (isearch-filter-predicates): Rename from
6732 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6733 (isearch-message-prefix): Display text from the property
6734 `isearch-message-prefix' of the currently active filters.
6735 (isearch-search): Don't compare `isearch-filter-predicate' with
6736 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6737 on `isearch-filter-predicates'. Also check `search-invisible' for t
6738 or call `isearch-range-invisible'.
6739 (isearch-filter-visible): Make obsolete.
6740 (isearch-lazy-highlight-search):
6741 Call `run-hook-with-args-until-failure' on
6742 `isearch-filter-predicates' and use `isearch-range-invisible'.
6743
6744 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6745 `isearch-filter-predicates' instead of `funcall'ing
6746 `isearch-filter-predicate'.
6747 (Info-mode): Set `Info-isearch-filter' to
6748 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6749
6750 * dired-aux.el (dired-isearch-filter-predicate-orig):
6751 Remove variable.
6752 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6753 (dired-isearch-filenames-end): Add and remove
6754 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6755 instead of changing the value of `isearch-filter-predicate'.
6756 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6757 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6758 Put property `isearch-message-prefix' to "filename " on
6759 `dired-isearch-filter-filenames'.
6760
6761 * wdired.el (wdired-change-to-wdired-mode):
6762 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6763 locally instead of changing `isearch-filter-predicate'.
6764 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6765
f1a60a0f
DG
67662013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6767
6768 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6769 return the commit hash (Bug#14459). Also set the
6770 `vc-git-detached' property.
6771 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6772 (vc-git-mode-line-string): Use the same help-echo format whether
6773 in detached mode or not, because we know the actual revision now.
6774 When in detached mode, shorten the revision to 7 chars.
6775
7f17cc40
SM
67762013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * emacs-lisp/easy-mmode.el (define-minor-mode):
6779 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6780 mode hook and provide a docstring.
6781
25c8401c
AM
67822013-05-27 Alan Mackenzie <acm@muc.de>
6783
6784 Remove spurious syntax-table text properties inserted by C-y.
6785 * progmodes/cc-mode.el (c-after-change): Also clear hard
6786 syntax-table property with value nil.
6787
dde84790
MA
67882013-05-27 Michael Albinus <michael.albinus@gmx.de>
6789
6790 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6791 when reading the events; the buffer layout shall not be changed.
6792
837fd9af
LL
67932013-05-27 Leo Liu <sdl.web@gmail.com>
6794
6795 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6796 New variable.
6797 (inferior-octave-directory-tracker): Automatically re-sync
6798 default-directory.
6799 (octave-help): Improve handling of 'See also'.
6800
4fd996b3
SM
68012013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6802
416f1802
SM
6803 * doc-view.el: Minor naming convention tweaks.
6804 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6805
4fd996b3
SM
6806 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6807 even if there's no `display' property yet (bug#14435).
6808
a052ef3b
EZ
68092013-05-25 Eli Zaretskii <eliz@gnu.org>
6810
4fd996b3 6811 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6812
6813 * Makefile.in (custom-deps, finder-data, autoloads)
6814 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6815 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6816 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6817
c9023370
SM
68182013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6821 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6822 Don't burp at EOB.
c9023370 6823
24d699fa
LL
68242013-05-25 Leo Liu <sdl.web@gmail.com>
6825
6826 * comint.el (comint-previous-matching-input): Do not flood the
6827 *Messages* buffer with trivial messages.
6828
17e5c0cc
SM
68292013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6830
6831 * progmodes/flymake.el (flymake-nop): Don't return a string.
6832 (flymake-set-at): Fix typo.
6833
6834 * simple.el (read--expression): New function, extracted from
6835 eval-expression. Set completion-at-point-functions (bug#14465).
6836 (eval-expression, eval-minibuffer): Use it.
6837
5d028165
XF
68382013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6839
6840 * progmodes/flymake.el (flymake-save-buffer-in-file)
6841 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6842 (flymake-selected-frame, flymake-log, flymake-ins-after)
6843 (flymake-set-at, flymake-get-buildfile-from-cache)
6844 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6845 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6846 Refine the doc string.
6847 (flymake-get-file-name-mode-and-masks): Reformat.
6848 (flymake-get-real-file-name-function): Fix a minor bug.
6849
7a1d7ba7
JL
68502013-05-24 Juri Linkov <juri@jurta.org>
6851
6852 * progmodes/grep.el (grep-mode-font-lock-keywords):
6853 Support =linenumber= format used by git-grep for lines with
6854 function names. (Bug#13549)
6855
650cff3d
SM
68562013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6857
6858 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6859 0 after a semi-colon; it works better for smie-auto-fill.
6860 (octave--indent-new-comment-line): New function.
6861 (octave-indent-new-comment-line): Use it (indirectly).
6862 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6863 modify comment-line-break-function.
6864
6865 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6866 (smie-setup): Use add-function to set it.
6867
9631677d
SS
68682013-05-24 Sam Steingold <sds@gnu.org>
6869
6870 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6871 argument (before the `interactive' argument).
6872
50105835
SM
68732013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6874
6875 * image-mode.el (image-mode-winprops): Add winprops to
6876 image-mode-winprops-alist before running
6877 image-mode-new-window-functions.
6878 * doc-view.el (doc-view-new-window-function): Don't delay
6879 doc-view-goto-page via timers (bug#14435).
6880
57b9823e
TH
68812013-05-24 Tassilo Horn <tsdh@gnu.org>
6882
6883 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6884 (doc-view-desktop-save-buffer): New function.
6885 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6886 (desktop-buffer-mode-handlers):
6887 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6888 handler.
6889 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6890 `desktop-save-buffer' function.
6891
91aafa16
MA
68922013-05-24 Michael Albinus <michael.albinus@gmx.de>
6893
6894 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6895 (tramp-gvfs-file-name-handler): Raise a user error when
6896 `tramp-gvfs-enabled' is nil.
6897 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6898 Do not raise a user error when loading package. (Bug#14447)
6899
ec076379
MA
6900 * net/xesam.el: Move to obsolete/.
6901
db785726
GM
69022013-05-24 Glenn Morris <rgm@gnu.org>
6903
af5c7606
GM
6904 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6905
e5d1916a
GM
6906 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6907
ded62b08
GM
6908 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6909 (Info-find-node, Man-getpage-in-background): Declare.
6910
9e614a3f
GM
6911 * mail/unrmail.el (unrmail):
6912 Replace obsolete detect-coding-with-priority.
6913
892f8ca3
GM
6914 * net/socks.el (socks-split-string): Use this rather than split-string.
6915 (socks-nslookup-host): Update for above change.
6916 (dynamic-choice, s5-dynamic-choice-match)
6917 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6918 Comment out unused code.
6919
3c291973
GM
6920 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6921 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6922 (gud-tooltip-echo-area): Make obsolete.
6923 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6924
43cc956b
GM
6925 * progmodes/js.el (js--optimize-arglist): Declare.
6926
dab49a3b
GM
6927 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6928
36b9d085
GM
6929 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6930 (ediff-window-C): Declare.
6931
e354ae76
GM
6932 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6933 Tweak requires to silence compiler.
6934
b8e57bf4
GM
6935 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6936 (he-search-string, he-tried-table, he-expand-list)
6937 (he-init-string, he-string-member, he-substitute-string)
6938 (he-reset-string): Declare.
6939
db785726
GM
6940 * obsolete/options.el (list-options): Use custom-variable-p,
6941 rather than obsolete alias.
6942
b3531901
SS
69432013-05-23 Sam Steingold <sds@gnu.org>
6944
6945 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6946 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6947 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6948
bdda4c66
SM
69492013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * emacs-lisp/smie.el (smie-indent-forward-token)
6952 (smie-indent-backward-token): Handle string tokens (bug#14381).
6953
c43d45f9
TH
69542013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6955
fe1eb856
RS
6956 * ielm.el (ielm-menu): New menu.
6957 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6958
fe1eb856
RS
69592013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6960
6961 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6962 Fix deactivate action.
6963
6964 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6965 Add cleveref macros.
074dd971 6966
c43d45f9
TH
6967 * lisp/textmodes/reftex-parse.el
6968 (reftex-locate-bibliography-files): Accept options for
6969 bibliography commands.
6970 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6971 Add addbibresource. Basic Biblatex support.
6972
7764286e
MA
69732013-05-23 Michael Albinus <michael.albinus@gmx.de>
6974
6975 * net/tramp-gvfs.el (top):
6976 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6977 when loading package. (Bug#14447)
6978
d361bc10
GM
69792013-05-23 Glenn Morris <rgm@gnu.org>
6980
8fa23984
GM
6981 * progmodes/js.el: No need to load comint when compiling.
6982 (ring-insert, comint-send-string, comint-send-input)
6983 (comint-last-input-end, ido-chop): Declare.
6984
a5c7df1a
GM
6985 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6986 * vc/ediff-mult.el: Adjust requires.
6987 (ediff-directories-internal, ediff-directory-revisions-internal)
6988 (ediff-patch-file-internal): Declare.
6989 * vc/ediff-ptch.el: Adjust requires.
6990 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6991 (ediff-find-file): Autoload.
6992 * vc/ediff-util.el: No need to load ediff when compiling.
6993 (ediff-regions-internal): Declare.
6994 * vc/ediff-wind.el: Adjust requires.
6995 (ediff-compute-toolbar-width): Define when compiling.
6996 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6997 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6998 (dired-get-filename, dired-get-marked-files)
6999 (ediff-last-dir-patch, ediff-patch-default-directory)
7000 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7001 (ediff-patch-buffer-internal): Declare.
7002
e2aec513
GM
7003 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7004 (ispell-process, ispell-buffer-local-words, lm-summary)
7005 (lm-section-start, lm-section-end): Declare.
7006 (checkdoc-ispell-init): Simplify.
7007
e68bbd7c
GM
7008 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7009 (he-string-member, he-reset-string, he-substitute-string): Declare.
7010
7efe0991
GM
7011 * eshell/em-ls.el: Adjust requires.
7012 (eshell-glob-regexp): Declare.
f87b1284
GM
7013 * eshell/em-tramp.el: Adjust requires.
7014 (eshell-parse-command): Autoload.
7015 * eshell/em-xtra.el: Adjust requires.
7016 (eshell-parse-command): Autoload.
7017 * eshell/esh-ext.el: Adjust requires.
7018 (eshell-parse-command, eshell-close-handles): Autoload.
7019 * eshell/esh-io.el: Adjust requires.
7020 (eshell-output-filter): Autoload.
7021 * eshell/esh-util.el: No need to load tramp when compiling.
7022 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7023 Declare.
7024 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7025 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7026 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7027 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7028 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7029 * eshell/esh-opt.el, eshell/esh-proc.el:
7030 * eshell/esh-var.el: Adjust requires.
7031 * eshell/eshell.el: Do not require esh-util twice.
7032 (eshell-add-input-to-history): Declare.
7033 (eshell-command): Check history module is active before using it.
7034
d361bc10
GM
7035 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7036
85d090a9
LL
70372013-05-22 Leo Liu <sdl.web@gmail.com>
7038
7039 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7040
5d0acd9d
MA
70412013-05-22 Michael Albinus <michael.albinus@gmx.de>
7042
7043 * autorevert.el (auto-revert-notify-add-watch)
7044 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7045 it indicates changes in file modification time.
7046
0cdffd7d
GM
70472013-05-22 Glenn Morris <rgm@gnu.org>
7048
ca5995ec
GM
7049 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7050 Always delete the autoloaded function from the noruntime and
7051 unresolved functions lists.
7052
6450907e
GM
7053 * allout.el: No need to load epa, epg, overlay when compiling.
7054 (epg-context-set-passphrase-callback, epg-list-keys)
7055 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7056 (epg-key-user-id-list): Declare.
7057
9c6906f6
GM
7058 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7059 (viper-set-parsing-style-toggling-macro)
7060 (viper-set-emacs-state-searchstyle-macros):
7061 Use called-interactively-p on Emacs.
7062 (viper-looking-back): Make it an obsolete alias. Update callers.
7063 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7064 Use looking-back rather than viper-looking-back.
7065 (viper-tmp-insert-at-eob, viper-enlarge-region)
7066 (viper-read-string-with-history, viper-register-to-point)
7067 (viper-append-to-register, viper-change-state-to-vi)
7068 (viper-backward-char-carefully, viper-forward-char-carefully)
7069 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7070 (viper-change-state-to-emacs): Declare.
7071 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7072 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7073 * emulation/viper-mous.el: Do not load viper-cmd.
7074 (viper-backward-char-carefully, viper-forward-char-carefully)
7075 (viper-forward-word, viper-adjust-window): Declare.
7076
5f70c169
GM
7077 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7078
b1b7f300
GM
7079 * progmodes/idlw-help.el (idlwave-help-fontify):
7080 Use called-interactively-p.
7081
f6ebbb46
GM
7082 * term/w32console.el (w32-get-console-codepage)
7083 (w32-get-console-output-codepage): Declare.
7084
0cdffd7d
GM
7085 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7086 Remove unnecessary declarations.
7087 (dframe-message): Doc fix.
7088
7089 * info.el (dframe-select-attached-frame, dframe-current-frame):
7090 Declare.
7091
7092 * speedbar.el (speedbar-message): Make it an obsolete alias.
7093 Update all callers.
7094 (speedbar-with-attached-buffer)
7095 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7096 (speedbar-with-writable): Use backquote.
7097 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7098 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7099 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7100 rather than speedbar- aliases.
7101 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7102 (speedbar-make-specialized-keymap, speedbar-insert-button)
7103 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7104 (speedbar-do-function-pointer): Declare.
7105 (rmail-speedbar-button, rmail-speedbar-find-file)
7106 (rmail-speedbar-move-message):
7107 Use dframe-with-attached-buffer rather than speedbar- alias.
7108 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7109 (dframe-message, speedbar-make-specialized-keymap)
7110 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7111 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7112 (speedbar-insert-button, dframe-select-attached-frame)
7113 (dframe-maybee-jump-to-attached-frame)
7114 (speedbar-change-initial-expansion-list)
7115 (speedbar-previously-used-expansion-list-name): Declare.
7116 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7117 Use dframe-message, dframe-with-attached-buffer rather than
7118 speedbar- aliases.
7119 (gud-sentinel): Silence compiler.
7120 * progmodes/vhdl-mode.el (speedbar-refresh)
7121 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7122 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7123 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7124 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7125 (speedbar-file-lists, speedbar-make-tag-line)
7126 (speedbar-line-directory, speedbar-goto-this-file)
7127 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7128 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7129 (speedbar-make-button, speedbar-reset-scanners)
7130 (speedbar-files-item-info, speedbar-line-text)
7131 (speedbar-find-file-in-frame, speedbar-set-timer)
7132 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7133 (speedbar-with-writable): Do not (re)define it.
7134 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7135 rather than speedbar- alias.
7136
ee44b62a
LL
71372013-05-21 Leo Liu <sdl.web@gmail.com>
7138
7139 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7140 menu items.
7141 (octave-mode): Tweak fill-nobreak-predicate.
7142 (inferior-octave-startup): Check process to avoid infinite loop.
7143 (inferior-octave): Pop to buffer first to show abornmal process
7144 exit information.
7145
640f050f
GM
71462013-05-21 Glenn Morris <rgm@gnu.org>
7147
79458038
GM
7148 * printing.el (pr-menu-bar): Define when compiling.
7149
9cc3e83f
LL
71502013-05-21 Leo Liu <sdl.web@gmail.com>
7151
7152 * progmodes/octave.el (octave-auto-fill): Remove.
7153 (octave-indent-new-comment-line): Improve.
7154 (octave-mode): Use auto fill mode through
4f405069 7155 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7156 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7157 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7158 (octave-help): Show parent directory.
7159
f440830d
GM
71602013-05-21 Glenn Morris <rgm@gnu.org>
7161
7162 * files.el (dired-unmark):
7163 * progmodes/gud.el (gdb-input): Update declarations.
7164
7165 * calculator.el (electric, ehelp): No need to load when compiling.
7166 (Electric-command-loop, electric-describe-mode): Declare.
7167
7168 * doc-view.el (doc-view-current-converter-processes): Move before use.
7169
7170 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7171 Move MODE-set-explicitly definition before use.
7172
7173 * international/mule-diag.el (mule-diag):
7174 Don't use obsolete window-system-version.
7175
7176 * mail/feedmail.el (smtpmail): No need to load when compiling.
7177 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7178
7179 * mail/mail-utils.el (rfc822): No need to load when compiling.
7180 (rfc822-addresses): Autoload it.
7181 (mail-strip-quoted-names): Trivial simplification.
7182
7183 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7184 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7185
7186 * net/snmp-mode.el (tempo): Don't duplicate requires.
7187
7188 * progmodes/prolog.el (info): No need to load when compiling.
7189 (comint): Require before shell requires it.
7190 (Info-goto-node): Autoload it.
7191 (Info-follow-nearest-node): Declare.
7192 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7193
7194 * textmodes/artist.el (picture-mode-exit): Declare.
7195
7196 * textmodes/reftex-parse.el (reftex-parse-from-file):
7197 Trivial rewrite so the compiler can parse it better.
7198
b4da2cbb
LL
71992013-05-20 Leo Liu <sdl.web@gmail.com>
7200
7201 * progmodes/octave.el (octave-help-mode-map)
7202 (octave-help-mode-finish-hook): New variables.
7203 (octave-help-mode, octave-help-mode-finish): New functions.
7204 (octave-help): Use octave-help-mode.
7205
33c0f65b
GM
72062013-05-20 Glenn Morris <rgm@gnu.org>
7207
7208 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7209
1a0a0a8a
DG
72102013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7211
7212 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7213 start at point, so that expansion starting right after opening
7214 slash in a regexp is recognized.
7215 (ruby-syntax-before-regexp-re): New defvar, extracted from
7216 ruby-syntax-propertize-function. Since the value of this regexp
7217 is looked up at runtime now, we should be able to turn
7218 `ruby-syntax-methods-before-regexp' into a defcustom later.
7219 (ruby-syntax-propertize-function): Split regexp matching into two
7220 parts, for opening and closing slashes. That allows us to skip
7221 over string interpolations and support multiline regexps.
7222 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7223 for them, which calls `ruby-syntax-propertize-expansion'.
7224 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7225 call to `ruby-syntax-propertize-function'.
7226 (ruby-syntax-propertize-expansion): Extracted from
7227 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7228 (ruby-syntax-propertize-percent-literal): Leave point right after
7229 the percent symbol, so that the expression expansion rule can
7230 propertize the contents.
462388b6
DG
7231 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7232 heredoc openers.
7233 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7234
c1a6c0a4
JL
72352013-05-18 Juri Linkov <juri@jurta.org>
7236
7237 * man.el (Man-default-man-entry): Remove `-' from the end
7238 of the default value. (Bug#14400)
7239
8051fccd
GM
72402013-05-18 Glenn Morris <rgm@gnu.org>
7241
7242 * comint.el (comint-password-prompt-regexp):
7243 Allow "password for XXX" where XXX contains colons (eg https://...).
7244
5e80b74f
LL
72452013-05-18 Leo Liu <sdl.web@gmail.com>
7246
7247 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7248 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7249 (octave-source-directories): Don't check process.
7250 (octave-source-directories, octave-find-definition): Doc fix.
7251
521a54c5
GM
72522013-05-18 Glenn Morris <rgm@gnu.org>
7253
86a94b05
GM
7254 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7255 Remove backspace/delete bindings. (Bug#14392)
7256
521a54c5
GM
7257 * cus-dep.el (custom-make-dependencies): Sort the output.
7258 (custom-versions-load-alist): Convert comment to doc.
7259
42caeb89
LL
72602013-05-17 Leo Liu <sdl.web@gmail.com>
7261
7262 * newcomment.el (comment-search-backward): Stricter in finding
7263 comment start. (Bug#14303)
7264
7265 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7266 (octave-comment-start-skip): Properly anchored.
7267
e219dd97
LL
72682013-05-17 Leo Liu <sdl.web@gmail.com>
7269
fe1eb856
RS
7270 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7271 Clean up when turned off. (Bug#14395)
e219dd97
LL
7272 (smie--highlight-matching-block-overlay): No longer buffer-local.
7273 (smie-highlight-matching-block): Adjust.
7274
dc5dcb4b
PE
72752013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7276
7277 Doc string fix for "nanoseconds" (Bug#14406).
7278 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7279 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7280
1db165f0
JB
72812013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7282
7283 * calc/calc-units.el (math-extract-units): Preserve powers
7284 of units.
7285
c7a8fcac
LL
72862013-05-17 Leo Liu <sdl.web@gmail.com>
7287
7288 * subr.el (delete-consecutive-dups): New function.
7289 * ido.el (ido-set-matches-1): Use it.
7290 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7291 * ido.el (ido-remove-consecutive-dups): Remove.
7292
f678b18a
SM
72932013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7296 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7297 regexp-opt's `words'.
7298
ebfe68e8
LL
72992013-05-16 Leo Liu <sdl.web@gmail.com>
7300
7301 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7302 (smie--highlight-matching-block-overlay)
7303 (smie--highlight-matching-block-lastpos)
7304 (smie--highlight-matching-block-timer): New variables.
7305 (smie-highlight-matching-block): New function.
7306 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7307 (smie-setup): Conditionally enable smie-blink-matching-open.
7308
bc8bc17d
WS
73092013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7310
7311 Sync with upstream verilog-mode r840.
7312 * progmodes/verilog-mode.el (verilog-mode-version)
7313 (verilog-mode-release-date): Update.
7314 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7315 (verilog-sig-tieoff): Fix string error on
7316 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7317 (verilog-read-decls): Fix parameters confusing
7318 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7319
df065a0b
EZ
73202013-05-16 Eli Zaretskii <eliz@gnu.org>
7321
7322 * subr.el (reveal-filename): New function.
7323
7324 * loadup.el: Compute Emacs executable versions on MS-Windows,
7325 where executables have the .exe extension. Add a hard link
7326 emacs-XX.YY.ZZ.exe on MS-Windows.
7327
7328 * Makefile.in (XARGS_LIMIT): New variable.
7329 (custom-deps, finder-data, autoloads)
7330 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7331 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7332 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7333 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7334
2d4bf34b
LL
73352013-05-16 Leo Liu <sdl.web@gmail.com>
7336
7337 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7338 (octave-mode-menu, octave-mode-map): Remove its uses.
7339
6b9c2d85
RZ
73402013-05-16 Reto Zimmermann <reto@gnu.org>
7341
7342 Sync with upstream vhdl mode v3.34.2.
7343 * progmodes/vhdl-mode.el: Use `push' throughout.
7344 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7345 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7346 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7347 (vhdl-actual-generic-name): New option to derive actual generic name.
7348 (vhdl-port-paste-signals): Replace formal by actual generics.
7349 (vhdl-beautify): New name for old group vhdl-align. Update users.
7350 (vhdl-beautify-options): New option.
7351 (vhdl-last-input-event): New compat alias. Use throughout.
7352 (vhdl-goto-line): Replace user level function `goto-line'.
7353 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7354 vhdl-fix-statement-buffer.
7355 (vhdl-create-mode-menu): Add some entries.
7356 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7357 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7358 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7359 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7360 to force statements on one line.
7361 (vhdl-remove-trailing-spaces-region):
7362 New, split from vhdl-remove-trailing-spaces.
7363 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7364 Respect vhdl-beautify-options.
7365 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7366 (vhdl-update-sensitivity-list): Not add with index if exists without.
7367 Not include array index with signal. Ignore keywords in comments.
7368 (vhdl-get-visible-signals): Regexp tweaks.
7369 (vhdl-template-component-inst): Handle empty library.
7370 (vhdl-template-type): Add template for 'enum' type.
7371 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7372 Use vhdl-replace-string.
7373 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7374 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7375 (vhdl-speedbar-initialize): Update for above name change.
7376 (vhdl-compose-wire-components): Fix in handling of constants.
7377 (vhdl-error-regexp-emacs-alist): New variable.
7378 (vhdl-error-regexp-add-emacs): New function;
7379 adds support for new compile.el (Emacs 22+)
7380 (vhdl-generate-makefile-1): Change target order for single lib. units.
7381 Allow use of absolute file names.
7382
9df4ec5e
LL
73832013-05-16 Leo Liu <sdl.web@gmail.com>
7384
7385 * simple.el (prog-indent-sexp): Indent enclosing defun.
7386
f5ba00a6
GM
73872013-05-15 Glenn Morris <rgm@gnu.org>
7388
ed8be7ff
GM
7389 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7390 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7391 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7392 (whitespace-highlight): Move to whitespace group.
7393
7394 * comint.el (comint-source):
7395 * pcmpl-linux.el (pcmpl-linux):
7396 * shell.el (shell-faces):
7397 * eshell/esh-opt.el (eshell-opt):
7398 * international/ccl.el (ccl): Remove empty custom groups.
7399
7400 * completion.el (dynamic-completion-mode):
7401 * jit-lock.el (jit-lock-debug-mode):
7402 * minibuffer.el (completion-in-region-mode):
7403 * type-break.el (type-break-mode-line-message-mode)
7404 (type-break-query-mode):
7405 * emulation/tpu-edt.el (tpu-edt-mode):
7406 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7407 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7408 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7409
7410 * term/xterm.el (xterm): Change parent group to terminals.
7411
7412 * master.el (master): Remove empty custom group.
7413 (master-mode): Remove unused :group argument.
7414 * textmodes/refill.el (refill): Remove empty custom group.
7415 (refill-mode): Remove unused :group argument.
7416
7417 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7418
82a7c41b
GM
7419 * cus-dep.el: Provide a feature.
7420 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7421 Don't mistakenly ignore files whose basenames match a basename
7422 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7423 Add a fallback method for getting :group.
f5ba00a6 7424
6d65486d
JL
74252013-05-15 Juri Linkov <juri@jurta.org>
7426
da547b32
JL
7427 * isearch.el (isearch-char-by-name): Rename from
7428 `isearch-insert-char-by-name'. Doc fix.
7429 (isearch-forward): Mention `isearch-char-by-name' in
7430 the docstring. (Bug#13348)
7431
6d65486d
JL
7432 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7433 `exit-minibuffer' instead of
7434 `isearch-nonincremental-exit-minibuffer'.
7435 (isearch-edit-string): Remove mention of
7436 `isearch-nonincremental-exit-minibuffer' from docstring.
7437 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7438 (isearch-forward-exit-minibuffer)
7439 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7440
c9990474
SM
74412013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7442
6e911150
SM
7443 * loadup.el: Just use unversioned DOC.
7444
c9990474
SM
7445 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7446 literals as extending to EOB.
7447 (nxml-last-fontify-end): Remove unused variable.
7448 (nxml-after-change1): Use with-silent-modifications.
7449 (nxml-extend-after-change-region): Simplify.
7450 (nxml-extend-after-change-region1): Remove function.
7451 (nxml-after-change1): Don't adjust for dependent regions.
7452 (nxml-fontify-matcher): Simplify.
7453 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7454 (xmltok-add-dependent): Remove function.
7455 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7456 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7457 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7458 unclosed <[[, <?, comment, and other literals as extending to EOB.
7459 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7460 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7461 Remove functions.
7462 (rng-do-some-validation-1): Don't mark dependent regions.
7463 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7464 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7465 (nxml-clear-dependent-regions): Remove functions.
7466 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7467 (nxml-ensure-scan-up-to-date):
7468 Don't clear&mark dependent regions.
7469
e3772e98
LL
74702013-05-15 Leo Liu <sdl.web@gmail.com>
7471
c9990474
SM
7472 * progmodes/octave.el (octave-goto-function-definition):
7473 Improve and fix callers.
e3772e98 7474
5ac2eb34
SM
74752013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7476
c46c57b0
SM
7477 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7478 the setter (bug#14387).
7479
5ac2eb34
SM
7480 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7481 surrounding group (bug#14402).
7482
180ed218
JL
74832013-05-14 Juri Linkov <juri@jurta.org>
7484
7485 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7486 (Bug#14390)
7487
0ac0fecb
GM
74882013-05-14 Glenn Morris <rgm@gnu.org>
7489
7490 * progmodes/f90.el (f90-imenu-generic-expression):
7491 Fix typo in 2013-05-08 change. (Bug#14402)
7492
2e78e6a7
JPG
74932013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7494
5ac2eb34
SM
7495 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7496 Remove signals for which replies are never received.
2e78e6a7 7497
53267cca
JPG
74982013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7499
7500 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7501 (gdb-handler-alist, gdb-handler-number): Remove variables.
7502 (gdb-handler-list): New variable.
7503 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7504 (gdb-pending-handler-p, gdb-handle-reply)
7505 (gdb-remove-all-pending-triggers): New functions.
7506 (gdb-discard-unordered-replies): New defcustom.
7507 (gdb-handler): New defstruct.
7508 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7509 instead of gdb-pending-triggers. Update docstring.
7510 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7511 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7512 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7513 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7514 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7515 (gdb-frame-handler): Pending triggers are now automatically managed.
7516 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7517 Remove argument.
7518 (gdb-input): Automatically handles pending triggers. Update docstring.
7519 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7520 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7521 Update comments.
7522 (gdb-done-or-error): Now use gdb-handle-reply.
7523
d04ce803
JPG
75242013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7525
7526 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7527 gdb-debug-log.
7528
0114073a
GM
75292013-05-14 Glenn Morris <rgm@gnu.org>
7530
7531 * subr.el (user-emacs-directory-warning): New option.
7532 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7533
4d25fd7e
LL
75342013-05-14 Leo Liu <sdl.web@gmail.com>
7535
7536 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7537 during redisplay.
7538 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7539 (octave-font-lock-texinfo-comment): Fix invalid search bound
7540 error: wrong side of point.
4d25fd7e 7541
27c8b6eb
GM
75422013-05-14 Glenn Morris <rgm@gnu.org>
7543
61aaeb01
GM
7544 * progmodes/flymake.el (flymake-xml-program): New option.
7545 (flymake-xml-init): Use it.
7546
5bf90bc5
GM
7547 * term/xterm.el: Provide a feature.
7548
7549 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7550
f4c7dfd2
GM
75512013-05-13 Glenn Morris <rgm@gnu.org>
7552
7553 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7554 Add compat aliases as a hack workaround. (Bug#14384)
7555
2aeb3a1d
LL
75562013-05-13 Leo Liu <sdl.web@gmail.com>
7557
b0e069c2
LL
7558 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7559 ###, and %!.
f5a9432f
LL
7560 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7561 C-M-q.
b0e069c2
LL
7562 (octave-comment-start-skip): Include %!.
7563 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7564
30ea8374
LL
75652013-05-12 Leo Liu <sdl.web@gmail.com>
7566
7567 * progmodes/octave.el (inferior-octave-startup): Store the value
7568 of __octave_srcdir__ for octave-source-directories.
7569 (inferior-octave-check-process): New function refactored out of
7570 inferior-octave-send-list-and-digest.
7571 (octave-source-directories)
7572 (octave-find-definition-filename-function): New variables.
7573 (octave-source-directories)
7574 (octave-find-definition-default-filename): New functions.
7575 (octave-find-definition): Improve to find functions implemented in C++.
7576
472a3834
GM
75772013-05-12 Glenn Morris <rgm@gnu.org>
7578
7579 * calendar/diary-lib.el (diary-outlook-format-1):
7580 Don't include dayname in the output. (Bug#14349)
7581
3191b52f
GM
75822013-05-11 Glenn Morris <rgm@gnu.org>
7583
0060ac73
GM
7584 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7585
3191b52f
GM
7586 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7587 Treat cc-provide like provide.
7588
e065ba74
KR
75892013-05-11 Kevin Ryde <user42@zip.com.au>
7590
7591 * cus-dep.el (custom-make-dependencies):
7592 Use generated-autoload-load-name for the sake of files such
7593 such cedet/semantic/bovine/c.el, where the base file name
7594 is not in load-path. (Bug#5277)
7595
36f84c37
GM
75962013-05-11 Glenn Morris <rgm@gnu.org>
7597
7598 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7599 Provide features.
7600
c8730c3a
LL
76012013-05-11 Leo Liu <sdl.web@gmail.com>
7602
7603 * progmodes/octave.el (octave-indent-comment): Improve.
7604 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7605 (octave-eldoc-function-signatures, octave-eldoc-function):
7606 New functions.
c8730c3a
LL
7607 (octave-mode, inferior-octave-mode): Add eldoc support.
7608
212e29f2
RS
76092013-05-11 Richard Stallman <rms@gnu.org>
7610
7611 * epa.el (epa-decrypt-file): Take output file name as argument
7612 and read it using `interactive'.
7613
083fe0d7
LL
76142013-05-11 Leo Liu <sdl.web@gmail.com>
7615
7616 * progmodes/octave.el (octave-beginning-of-line)
7617 (octave-end-of-line): Check before using up-list because it jumps
7618 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7619 (octave-indent-comment): New function.
7620 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7621 (octave-begin-keywords, octave-end-keywords)
7622 (octave-reserved-words, octave-smie-bnf-table)
7623 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7624
8582e4c4
GM
76252013-05-11 Glenn Morris <rgm@gnu.org>
7626
f20def1f
GM
7627 * faces.el (internal-face-x-get-resource):
7628 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7629 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7630 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7631 Fix declarations.
f20def1f 7632
445f95e2
GM
7633 * calc/calc-menu.el: Make it loadable in isolation.
7634
7635 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7636 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7637 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7638 (eudc-bbdb-query-internal): Require 'bbdb.
7639
99fb2756
GM
7640 * lpr.el (lpr-headers-switches):
7641 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7642
7643 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7644
0da7ad96
GM
7645 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7646
8582e4c4
GM
7647 * term.el (term-set-escape-char): Make it idempotent.
7648
f71c50d0
LL
76492013-05-10 Leo Liu <sdl.web@gmail.com>
7650
5ac2eb34
SM
7651 * progmodes/octave.el (inferior-octave-completion-table):
7652 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7653 completion due to bug#11906.
7654 (octave-beginning-of-defun): Re-write to be more general.
7655
d5837773
GM
76562013-05-10 Glenn Morris <rgm@gnu.org>
7657
7658 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7659
027c0f75
SM
76602013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * comint.el (comint-redirect-send-command-to-process): Use :around
7663 rather than :override for comint-redirect-filter.
7664 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7665 Call it instead of comint-redirect-original-filter-function (which
7666 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7667
4465bfb4
JD
76682013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7669
7670 * frame.el (display-monitor-attributes-list): Add NS case.
7671 (ns-display-monitor-attributes-list): Declare.
7672
2d809ffa 76732013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7674
7675 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7676
e54eeb9b
GM
76772013-05-09 Glenn Morris <rgm@gnu.org>
7678
56cd351d
GM
7679 * international/fontset.el (vertical-centering-font-regexp):
7680 Set standard-value.
7681
d84b6108
GM
7682 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7683
a931698a
GM
7684 * bookmark.el (bookmark-search-delay):
7685 * cus-start.el (vertical-centering-font-regexp):
7686 * ps-mule.el (ps-mule-font-info-database-default):
7687 * ps-print.el (ps-default-fg, ps-default-bg):
7688 * type-break.el (type-break-good-break-interval):
7689 * whitespace.el (whitespace-indentation-regexp)
7690 (whitespace-space-after-tab-regexp):
7691 * emacs-lisp/testcover.el (testcover-1value-functions)
7692 (testcover-noreturn-functions, testcover-progn-functions)
7693 (testcover-prog1-functions):
7694 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7695 * eshell/em-glob.el (eshell-glob-translate-alist):
7696 * play/tetris.el (tetris-tty-colors):
7697 * progmodes/cpp.el (cpp-face-default-list):
7698 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7699 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7700 (idlwave-help-browser-generic-args):
7701 * progmodes/make-mode.el (makefile-special-targets-list):
7702 * progmodes/python.el (python-shell-virtualenv-path):
7703 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7704 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7705 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7706 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7707 * textmodes/reftex-vars.el (reftex-format-label-function):
7708 * textmodes/remember.el (remember-diary-file): Fix custom types.
7709
e54eeb9b
GM
7710 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7711 Add :version.
7712
455851dd
LL
77132013-05-09 Leo Liu <sdl.web@gmail.com>
7714
7715 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7716 Restore file completion. (Bug#14300)
455851dd
LL
7717 (inferior-octave-startup): Fix incorrect highlighting for the
7718 first prompt.
7719
a9e4425b
SM
77202013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * progmodes/ruby-mode.el: First cut at SMIE support.
7723 (ruby-use-smie): New var.
7724 (ruby-smie-grammar): New constant.
7725 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7726 (ruby-smie--forward-token, ruby-smie--backward-token)
7727 (ruby-smie-rules): New functions.
7728 (ruby-mode-variables): Setup SMIE if applicable.
7729
060ca408
EZ
77302013-05-08 Eli Zaretskii <eliz@gnu.org>
7731
7732 * simple.el (line-move-visual): Signal beginning/end of buffer
7733 only if vertical-motion moved less than it was requested. Avoids
7734 silly incorrect error messages when there are display strings with
7735 multiple newlines at EOL.
7736
1d5963cc
SM
77372013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7740 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7741 (prolog-char-quote-workaround):
7742 * progmodes/cperl-mode.el (cperl-under-as-char):
7743 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7744 Mark as obsolete.
7745 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7746 their declaration.
7747 (vhdl-mode-syntax-table-init): Remove.
7748
c9990474
SM
7749 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7750 last change.
1d5963cc
SM
7751
7752 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7753 syntax for "_".
7754 (ld-script-font-lock-keywords):
7755 Change regexps to use things like \_< and \_>.
7756
7757 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7758 Change all regexps to use things like \_< and \_>.
7759
7760 * progmodes/autoconf.el (autoconf-definition-regexp)
7761 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7762 Handle a _ with symbol syntax.
7763 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7764
c9990474
SM
7765 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7766 Consolidate declaration.
1d5963cc
SM
7767 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7768 the declaration.
7769 (ada-create-syntax-table): Remove.
7770 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7771 already has the right syntax nowadays.
7772 (ada-goto-next-word): Don't change the syntax of "_".
7773
7774 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7775 with-wrapper-hook.
7776
72d3cfca
SS
77772013-05-08 Sam Steingold <sds@gnu.org>
7778
7779 * thingatpt.el (thing-at-point): Accept optional second argument
7780 NO-PROPERTIES to strip the text properties from the return value.
7781 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7782 to `thing-at-point' instead of stripping the properties ourselves.
7783 Also, when `thing-at-point' fails to find a url, prepend "http://"
7784 to the filename at point on the assumption that the user is
7785 pointing at something like gnu.org/gnu.
7786
5cb15713
JB
77872013-05-08 Juanma Barranquero <lekktu@gmail.com>
7788
7789 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7790 * faces.el (crm-separator):
7791 Silence byte-compiler.
7792
7793 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7794 (tool-bar-map): Remove unneeded defvars.
7795
ea78b95b
LL
77962013-05-08 Leo Liu <sdl.web@gmail.com>
7797
7798 Re-work a fix for bug#10994 based on Le Wang's patch.
7799 * ido.el (ido-remove-consecutive-dups): New helper.
7800 (ido-completing-read): Use it.
7801 (ido-chop): Revert fix for bug#10994.
7802
dc7466df
AS
78032013-05-08 Adam Spiers <emacs@adamspiers.org>
7804
7805 * cus-edit.el (custom-save-variables):
7806 Pretty-print long values. (Bug#14187)
7807
9ecf672a
GM
78082013-05-08 Glenn Morris <rgm@gnu.org>
7809
7810 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7811 (m4-mode-syntax-table): Init in the defvar.
7812 (m4-mode-abbrev-table): Let define-derived-mode define it.
7813
3f555be8
TT
78142013-05-08 Tom Tromey <tromey@redhat.com>
7815
7816 * progmodes/m4-mode.el (m4-mode-syntax-table):
7817 Do not treat "_" as word constituent. (Bug#14167)
7818
7cc8ae06
GM
78192013-05-07 Glenn Morris <rgm@gnu.org>
7820
4f58bc06
GM
7821 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7822 Remove explicit eshell-isearch-cancel-map.
7823
7cc8ae06
GM
7824 * progmodes/f90.el (f90-smart-end-names): New option.
7825 (f90-smart-end): Doc fix.
7826 (f90-end-block-optional-name): New constant.
7827 (f90-block-match): Respect f90-smart-end-names.
7828
ceb57e59
SM
78292013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7832 about implicit semi-colons (bug#14218).
7833
4e3f9230
YM
78342013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7835
7836 * frame.el (display-monitor-attributes-list)
7837 (frame-monitor-attributes): New functions.
7838
203a5572
LL
78392013-05-06 Leo Liu <sdl.web@gmail.com>
7840
7841 * progmodes/octave.el (octave-syntax-propertize-function): Change
7842 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7843 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7844 (octave-completion-at-point): Rename from
203a5572
LL
7845 octave-completion-at-point-function.
7846 (inferior-octave-directory-tracker): Robustify.
7847 (octave-text-functions): Remove and fix its uses. No such things
7848 any more.
7849
ee6cff99
SM
78502013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * emacs-lisp/trace.el (trace--display-buffer): New function.
7853 (trace-make-advice): Use it.
7854
32985194
JL
78552013-05-06 Juri Linkov <juri@jurta.org>
7856
7857 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7858 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7859 Doc fix.
7860 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7861 in the help string. (Bug#12985)
7862
a1c700de
KD
78632013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7864
7865 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7866
c67c0839
SM
78672013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7868
323885fd
SM
7869 * progmodes/perl-mode.el: Add support for here documents.
7870 (perl-syntax-propertize-function): Match here-doc markers.
7871 (perl-syntax-propertize-special-constructs): Find their end.
7872 (perl-imenu-generic-expression): Use [:alnum:].
7873
c67c0839
SM
7874 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7875 (advice--add-function): Refresh the advice if already present
7876 (bug#14317).
7877
d491e7a8
IA
78782013-05-06 Ivan Andrus <darthandrus@gmail.com>
7879
7880 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7881
ddf9925e
GM
78822013-05-06 Glenn Morris <rgm@gnu.org>
7883
7cc3af27
GM
7884 * w32-fns.el (w32-charset-info-alist): Declare.
7885
16e343d6
GM
7886 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7887 of its defcustom properties.
7888 (eshell-cmpl-initialize): No need to load pcomplete.
7889
7d889a47
GM
7890 * generic-x.el: No need to require comint when compiling.
7891
ddf9925e
GM
7892 * net/eudc-export.el: Make it loadable without bbdb.
7893 (top-level): Use require rather than load-library.
7894 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7895 (eudc-batch-export-records-to-bbdb)
7896 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7897 Require bbdb.
7898
1e2c18df
SM
78992013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7902 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7903 some tweaks, instead.
7904
02502a5f
LL
79052013-05-05 Leo Liu <sdl.web@gmail.com>
7906
7907 * progmodes/octave.el (octave-font-lock-keywords)
7908 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7909 (inferior-octave-send-list-and-digest): Improve error message.
7910 (octave-mode, inferior-octave-mode): Use setq-local.
7911 (octave-help): Set info-lookup-mode.
7912
0dc04f42
RS
79132013-05-05 Richard Stallman <rms@gnu.org>
7914
6c54491c
RS
7915 * vc/compare-w.el (compare-windows-whitespace):
7916 Treat no-break space as whitespace.
7917
0dc04f42
RS
7918 * mail/rmailsum.el (rmail-summary-rmail-update):
7919 Detect empty summary and don't change selected message.
7920 (rmail-summary-goto-msg): Likewise.
7921
df8f35df
RS
7922 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7923 Doc fixes, rename args.
7924
5356e1a3
AM
79252013-05-05 Alan Mackenzie <acm@muc.de>
7926
7927 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7928
d44014cb
JL
79292013-05-05 Juri Linkov <juri@jurta.org>
7930
7931 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7932 to not add the length of the summary segment to the return value.
7933 (Bug#14125)
7934
c129b51f
LL
79352013-05-05 Leo Liu <sdl.web@gmail.com>
7936
7937 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7938 (inferior-octave-output-filter): Remove.
7939 (octave-send-region, inferior-octave-startup): Fix callers.
7940 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7941 (octave-binary-file-extensions): New user variable.
7942 (octave-find-definition): Confirm if opening binary files.
7943 (octave-help-file): Use octave-find-definition to get the binary
7944 confirmation.
7945 (octave-help): Adjust for octave-help-file change.
7946
aa7dab97
SM
79472013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7948
7949 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7950 Merge the two entries that handle function definitions.
7951 (pascal--syntax-propertize): New const.
7952 (pascal-mode): Use it. Use setq-local.
7953
fd3a9a6b
GM
79542013-05-04 Glenn Morris <rgm@gnu.org>
7955
7956 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7957 (diary-from-outlook): Respect diary-from-outlook-function.
7958
30c7e542
SM
79592013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7962 Move the declaration from C.
7963 (read-minibuffer, eval-minibuffer): Move from C.
7964 (completion-setup-function): Avoid minibuffer-completion-contents.
7965
b54f978b
LL
79662013-05-03 Leo Liu <sdl.web@gmail.com>
7967
7968 * progmodes/octave.el (octave-font-lock-keywords): Do not
7969 dehighlight 'end' in comments or strings.
30c7e542
SM
7970 (octave-completing-read, octave-goto-function-definition):
7971 New helpers.
d4d0f9b3
LL
7972 (octave-help-buffer): New user variable.
7973 (octave-help-file, octave-help-function): New button types.
7974 (octave-help): New command and bind it to C-h ;.
7975 (octave-find-definition): New command and bind it to M-.
d74a1581 7976 (user-error): Alias to error if not defined.
b54f978b 7977
27135018
LL
79782013-05-02 Leo Liu <sdl.web@gmail.com>
7979
7980 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7981 for \. (bug#14332)
7982 (octave-font-lock-keywords): Include [ and {.
7983
0d634d3a
LL
79842013-05-02 Leo Liu <sdl.web@gmail.com>
7985
7986 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7987 (inferior-octave): Remove calling comint-mode and return the buffer.
7988 (inferior-octave-startup): Cosmetic changes.
7989
b4c8295e
LL
79902013-05-02 Leo Liu <sdl.web@gmail.com>
7991
30c7e542
SM
7992 * progmodes/octave.el (octave-syntax-propertize-function):
7993 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7994
f12ad6ec
GM
79952013-05-02 Glenn Morris <rgm@gnu.org>
7996
7997 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7998 * desktop.el (vc-dir-mode): Just autoload it here.
7999
30cac1e0
AM
80002013-05-02 Alan Mackenzie <acm@muc.de>
8001
8002 Eliminate variable c-standard-font-lock-fontify-region-function.
8003 * progmodes/cc-mode.el
8004 (c-standard-font-lock-fontify-region-function): Remove.
8005 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8006
d8ef28b1
LL
80072013-05-01 Leo Liu <sdl.web@gmail.com>
8008
2640d52e 8009 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8010 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8011 variables were removed from Octave in 2007.
d8ef28b1
LL
8012 (inferior-octave-startup): Fix uses.
8013 (comint-line-beginning-position): Remove compatibility code for
8014 emacs 21.
8015
ac63ec89
JL
80162013-05-01 Juri Linkov <juri@jurta.org>
8017
8018 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8019
9e9be37c
JL
80202013-05-01 Juri Linkov <juri@jurta.org>
8021
8022 * comint.el (comint-previous-matching-input): Don't print message
8023 "History item: %d" when `isearch-mode' is active.
8024 (comint-history-isearch-message): Print message "History item: %d"
8025 when `comint-input-ring-index' is not empty and this function is
8026 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8027
9b92c13b
LL
80282013-05-01 Leo Liu <sdl.web@gmail.com>
8029
8030 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8031 definitions. Use completion-at-point to insert keywords.
8032 (octave-abbrev-start): Remove.
8033 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8034
b12d33d7
LL
80352013-04-30 Leo Liu <sdl.web@gmail.com>
8036
8037 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8038 change.
8039
3d1c39fa
AM
80402013-04-30 Alan Mackenzie <acm@muc.de>
8041
8042 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8043 * progmodes/cc-engine.el (c-back-over-member-initializers):
8044 new function.
3d1c39fa
AM
8045 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8046 (most) member init lists.
8047
5147fc17
RS
80482013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8049
8050 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8051 variable.
8052
5b78d7fc
LL
80532013-04-30 Leo Liu <sdl.web@gmail.com>
8054
8055 * progmodes/octave.el (octave-variables): Remove. No builtin
8056 variables any more. All converted to functions.
8057 (octave-font-lock-keywords, octave-completion-at-point-function):
8058 Fix uses.
8059 (octave-font-lock-texinfo-comment): New user variable.
8060 (octave-texinfo-font-lock-keywords): New variable for texinfo
8061 comment block.
8062 (octave-function-comment-block): New face.
8063 (octave-font-lock-texinfo-comment): New function.
8064 (octave-mode): Font lock texinfo comment block.
8065
38d8527b
LL
80662013-04-29 Leo Liu <sdl.web@gmail.com>
8067
8068 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8069 indexing expression.
8070 (octave-continuation-string): Do not use \.
8071 (inferior-octave-complete-impossible): Remove.
8072 (inferior-octave-completion-table)
8073 (inferior-octave-completion-at-point): Remove its uses.
8074 (inferior-octave-startup): completion_matches was introduced to
8075 Octave in 1996 so safe to assume it.
8076 (octave-function-file-comment): Improve to follow how Octave does it.
8077 (octave-update-function-file-comment): Tweak.
8078
2ec12cb0
LL
80792013-04-29 Leo Liu <sdl.web@gmail.com>
8080
8081 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8082 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8083 (octave-function-file-comment): Fix typo.
8084 (octave-sync-function-file-names): Use read-char-choice.
8085
6eaed048
JB
80862013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8087
8088 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8089 to t for the less important warnings.
8090
3ffa2d4f
DH
80912013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8092
8093 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8094
685c9501
GM
80952013-04-27 Glenn Morris <rgm@gnu.org>
8096
8097 * vc/log-view.el (log-view-current-entry):
8098 Treat "---" separator lines as part of the following rev. (Bug#14169)
8099
0208ede7
JL
81002013-04-27 Juri Linkov <juri@jurta.org>
8101
8102 * subr.el (read-number): Doc fix about using it by interactive
8103 code letter `n'. (Bug#14254)
8104
5db9dace
JL
81052013-04-27 Juri Linkov <juri@jurta.org>
8106
8107 * desktop.el (desktop-auto-save-timeout): New option.
8108 (desktop-file-checksum): New variable.
8109 (desktop-save): Add optional arg `auto-save' and don't auto-save
8110 if nothing changed.
8111 (desktop-auto-save-timer): New variable.
8112 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8113 (after-init-hook): Call `desktop-auto-save-set-timer'.
8114 Suggested by Reuben Thomas <rrt@sc3d.org> in
8115 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8116
b7260dd4
LL
81172013-04-27 Leo Liu <sdl.web@gmail.com>
8118
8119 * progmodes/octave.el (octave-function-file-p)
8120 (octave-skip-comment-forward, octave-function-file-comment)
8121 (octave-update-function-file-comment): New functions.
8122 (octave-mode-map): Bind C-c ; to
8123 octave-update-function-file-comment.
8124 (octave-mode-menu): Add octave-update-function-file-comment.
8125 (octave-mode, inferior-octave-mode): Fix doc-string.
8126 (octave-insert-defun): Conform to Octave's coding convention.
8127 (Bug#14285)
8128
8129 * files.el (basic-save-buffer): Don't let errors in
8130 before-save-hook prevent saving buffer.
8131
c46da669
RW
81322013-04-20 Roland Winkler <winkler@gnu.org>
8133
8134 * faces.el (read-face-name): Use completing-read if arg multiple
8135 is nil.
8136
a81ee1eb
IL
81372013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8138
8139 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8140 displayed, move point to after the totals line.
8141 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8142 for the details.
8143
4fac34ce
SM
81442013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8147 Add current dir to the load-path.
8148 (package-generate-autoloads): Don't rely on
8149 autoload-ensure-default-file.
8150
f6bfc063
RT
81512013-04-26 Reuben Thomas <rrt@sc3d.org>
8152
d40ab5cf
BG
8153 * textmodes/remember.el (remember-store-in-files): Document that
8154 the file name format is passed to `format-time-string'.
f6bfc063 8155
e55d3b04
LL
81562013-04-26 Leo Liu <sdl.web@gmail.com>
8157
8158 * progmodes/octave.el (octave-sync-function-file-names): New function.
8159 (octave-mode): Use it in before-save-hook.
8160
e53052d3
SM
81612013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8162
140ef50c
SM
8163 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8164 (bug#14274).
8165
e53052d3
SM
8166 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8167 \n and comment, even if it's not an implicit ; (bug#14218).
8168
af80458d 81692013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8170
8171 * subr.el (read-number): Once more use `read' rather than
8172 `string-to-number', to trap non-numeric input. (Bug#14254)
8173
af80458d 81742013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8175
8176 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8177 Use `syntax-multiline' text property consistently instead of
8a621d53 8178 `font-lock-multiline'. (Bug#14237)
70203c2e 8179
e6ea1f6c
GM
81802013-04-26 Glenn Morris <rgm@gnu.org>
8181
8182 * emacs-lisp/shadow.el (list-load-path-shadows):
8183 No longer necessary to check for duplicate simple.el, since
8184 2012-07-07 change to init_lread to not include installation lisp
8185 directories in load-path when running uninstalled. (Bug#14270)
8186
070ccca4
LL
81872013-04-26 Leo Liu <sdl.web@gmail.com>
8188
8189 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8190 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8191 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8192 octave-in-string-or-comment-p.
8193 (octave-in-comment-p, octave-in-string-p)
8194 (octave-in-string-or-comment-p): Replace defsubst with defun.
8195
9d1c5fb6
PE
81962013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8197
8198 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8199
c034abda
BG
82002013-04-25 Bastien Guerry <bzg@gnu.org>
8201
8202 * textmodes/remember.el (remember-data-directory)
8203 (remember-directory-file-name-format): Fix custom types.
8204
584ea277
LL
82052013-04-25 Leo Liu <sdl.web@gmail.com>
8206
e53052d3
SM
8207 * progmodes/octave.el (octave-completion-at-point-function):
8208 Make use of inferior octave process.
584ea277
LL
8209 (octave-initialize-completions): Remove.
8210 (inferior-octave-completion-table): New function.
8211 (inferior-octave-completion-at-point): Use it.
8212 (octave-completion-alist): Remove.
8213
1693b06a
SM
82142013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8217 (opascal-mode-syntax-table): New var.
8218 (opascal-literal-kind, opascal-is-literal-end)
8219 (opascal-literal-token-at): Rewrite.
8220 (opascal--literal-start-re, opascal-font-lock-keywords)
8221 (opascal--syntax-propertize): New constants.
8222 (opascal-font-lock-defaults): Adjust.
8223 (opascal-mode): Use them. Set comment-<foo> variables as well.
8224 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8225 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8226 (delphi-other-face, opascal-other-face): Remove face variables.
8227 (opascal-save-state): Remove macro.
8228 (opascal-fontifying-progress-step): Remove constant.
8229 (opascal--ignore-changes): Remove var.
8230 (opascal-set-token-property, opascal-parse-next-literal)
8231 (opascal-is-stable-literal, opascal-complete-literal)
8232 (opascal-is-literal-start, opascal-face-of)
8233 (opascal-parse-region, opascal-parse-region-until-stable)
8234 (opascal-fontify-region, opascal-after-change)
8235 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8236 (opascal-debug-parse-region, opascal-debug-parse-window)
8237 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8238 (opascal-debug-fontify-buffer): Remove.
8239 (opascal-debug-mode-map): Adjust accordingly.
8240
be64c05d
LL
82412013-04-25 Leo Liu <sdl.web@gmail.com>
8242
8243 Merge octave-mod.el and octave-inf.el into octave.el with some
8244 cleanups.
8245 * progmodes/octave.el: New file renamed from octave-mod.el.
8246 * progmodes/octave-inf.el: Merged into octave.el.
8247 * progmodes/octave-mod.el: Renamed to octave.el.
8248
d79d37bd
TH
82492013-04-25 Tassilo Horn <tsdh@gnu.org>
8250
8251 * textmodes/reftex-vars.el
8252 (reftex-label-ignored-macros-and-environments): New defcustom.
8253
8254 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8255
ced3fc5d
SM
82562013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8259 (smie-indent-keyword): Improve the check to ensure that the next
8260 comment is really on the same line.
8261 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8262
8263 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8264 semi-colons if the line is not otherwise empty (bug#14218).
8265
1c141dad
GM
82662013-04-25 Glenn Morris <rgm@gnu.org>
8267
8268 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8269
5058062a
SM
82702013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * progmodes/opascal.el (opascal-set-token-property): Rename from
8273 opascal-set-text-properties and only set `token' (bug#14134).
8274 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8275 (opascal-literal-text-properties): Remove.
8276 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8277 Adjust callers.
8278
5db9dace 82792013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8280
8281 * textmodes/remember.el (remember-handler-functions): Add an
8282 option for a new handler `remember-store-in-files'.
8283 (remember-data-directory, remember-directory-file-name-format):
8284 New options.
8285 (remember-store-in-files): New function to store remember notes
8286 as separate files within a directory.
8287
4391916c
MH
82882013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8289
8290 * progmodes/compile.el (compilation-next-error-function):
8291 Pass "formats" to compilation-find-file (bug#11777).
8292
bb7cdf58
GM
82932013-04-24 Glenn Morris <rgm@gnu.org>
8294
3b8fe752 8295 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8296 * vc/vc-hg.el (vc-hg-print-log):
8297 * vc/vc-svn.el (vc-svn-print-log):
8298 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8299
bb7cdf58
GM
8300 * vc/vc-bzr.el (vc-bzr-print-log):
8301 * vc/vc-cvs.el (vc-cvs-print-log):
8302 * vc/vc-git.el (vc-git-print-log):
8303 * vc/vc-hg.el (vc-hg-print-log):
8304 * vc/vc-mtn.el (vc-mtn-print-log):
8305 * vc/vc-rcs.el (vc-rcs-print-log):
8306 * vc/vc-sccs.el (vc-sccs-print-log):
8307 * vc/vc-svn.el (vc-svn-print-log):
8308 * vc/vc.el (vc-print-log-internal): Doc fixes.
8309
b46a056e
GM
83102013-04-23 Glenn Morris <rgm@gnu.org>
8311
8312 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8313 Remove venerable code attempting to avoid substitute-command-keys.
8314
0aecf718
TH
83152013-04-23 Tassilo Horn <tsdh@gnu.org>
8316
4391916c
MH
8317 * textmodes/reftex-vars.el (reftex-label-regexps):
8318 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8319
117f94cf
SM
83202013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8321
4391916c 8322 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8323 Use lexical-binding.
8324 (jit-lock-force-redisplay): Use markers, check buffer's continued
8325 existence and beware narrowed buffers.
8326 (jit-lock-fontify-now): Adjust call accordingly.
8327
1d829c64
SM
83282013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8331 to avoid misleading the user.
8332
72d548a9
LL
83332013-04-22 Leo Liu <sdl.web@gmail.com>
8334
8335 * info-look.el: Prefer latex2e.info. (Bug#14240)
8336
d0853629
MA
83372013-04-22 Michael Albinus <michael.albinus@gmx.de>
8338
8339 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8340
8341 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8342 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8343 (tramp-set-completion-function, tramp-parse-putty):
8344 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8345 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8346 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8347 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8348 (tramp-call-local-coding-command): Use `tramp-call-process'
8349 instead of `tramp-compat-call-process'.
8350
8351 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8352 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8353 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8354 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8355 (tramp-maybe-send-script): Check for Perl binary.
8356 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8357
38cc0210
DU
83582013-04-22 Daiki Ueno <ueno@gnu.org>
8359
8360 * epg.el (epg-context-pinentry-mode): New function.
8361 (epg-context-set-pinentry-mode): New function.
8362 (epg--start): Pass --pinentry-mode option to gpg command.
8363
cc641ee1
XF
83642013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8365
02d844b5 8366 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8367 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8368 `completion-at-point'. (Bug#13774)
5d4e5c31 8369
cc641ee1
XF
8370 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8371 default key binding for `describe-distribution' has been moved to
8372 `C-h C-o'. (Bug#13970)
8373
1b42ee43
GM
83742013-04-21 Glenn Morris <rgm@gnu.org>
8375
8376 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8377 Add doc strings.
8378 (vc-print-log): Clarify interactive prompt.
8379
a6d63d97
GM
83802013-04-20 Glenn Morris <rgm@gnu.org>
8381
8382 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8383 No longer include timestamp etc information.
8384
d7f5c16f
RW
83852013-04-20 Roland Winkler <winkler@gnu.org>
8386
8387 * faces.el (read-face-name): Bug fix, return just one face if arg
8388 multiple is nil. (Bug#14209)
8389
bcd7a0a4
SM
83902013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8393 (remove-function): Autoload.
8394
8395 * comint.el (comint-redirect-original-filter-function): Remove.
8396 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8397 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8398 (vc-cvs-annotate-command):
bcd7a0a4
SM
8399 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8400 * progmodes/prolog.el (prolog-consult-compile):
8401 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8402 Use add/remove-function instead.
8403 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8404 (gud-tooltip-process-output, gud-tooltip-tips):
8405 Use add/remove-function instead.
8406 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8407 (scheme-interaction-mode, exit-scheme-interaction-mode):
8408 Use add/remove-function instead.
8409
8410 * vc/vc-dispatcher.el: Use lexical-binding.
8411 (vc--process-sentinel): Rename from vc-process-sentinel.
8412 Change last arg to be the code to run. Don't use vc-previous-sentinel
8413 and vc-sentinel-commands any more.
8414 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8415 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8416
e36b2d20 84172013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8418
bcd7a0a4 8419 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8420 Handle function names with a single character. (Bug#14111)
4d3268ba 8421
781b4af6 84222013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8423
8424 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8425 for subroutines defined in an eval (bug#14182).
8426
7d688336
TV
84272013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8428
8429 * bookmark.el (bookmark-completing-read): Improve handling of empty
8430 string (bug#14176).
8431
31dcede0
SM
84322013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8433
8434 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8435
adc31213
FEG
84362013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8437
8438 New faster Imenu implementation (bug#14058).
8439 * progmodes/python.el:
8440 (python-imenu-prev-index-position):
8441 (python-imenu-format-item-label-function)
8442 (python-imenu-format-parent-item-label-function)
8443 (python-imenu-format-parent-item-jump-label-function):
8444 New vars.
8445 (python-imenu-format-item-label)
8446 (python-imenu-format-parent-item-label)
8447 (python-imenu-format-parent-item-jump-label)
8448 (python-imenu--put-parent, python-imenu--build-tree)
8449 (python-imenu-create-index, python-imenu-create-flat-index)
8450 (python-util-popn): New functions.
8451 (python-mode): Set imenu-create-index-function to
8452 python-imenu-create-index.
8453
cdca8255
SM
84542013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8455
8456 * winner.el (winner-active-region): Use region-active-p, activate-mark
8457 and deactivate-mark (bug#14225).
8458
8459 * simple.el (deactivate-mark): Don't inline it.
8460
beb42340
MA
84612013-04-18 Michael Albinus <michael.albinus@gmx.de>
8462
8463 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8464
fc7f4d7e
TH
84652013-04-18 Tassilo Horn <tsdh@gnu.org>
8466
8467 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8468 file extensions from the archive-mode entry in order to prefer
8469 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8470
29f47822
LL
84712013-04-18 Leo Liu <sdl.web@gmail.com>
8472
8473 * bindings.el (help-event-list): Add ?\?.
8474
d36ed1c8
SM
84752013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 * subr.el (with-wrapper-hook): Declare obsolete.
8478 * simple.el (filter-buffer-substring-function): New hook.
8479 (filter-buffer-substring): Use it.
8480 (filter-buffer-substring-functions): Mark obsolete.
8481 * minibuffer.el (completion-in-region-function): New hook.
8482 (completion-in-region): Use it.
8483 (completion-in-region-functions): Mark obsolete.
8484 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8485 * abbrev.el (abbrev-expand-function): New hook.
8486 (expand-abbrev): Use it.
8487 (abbrev-expand-functions): Mark obsolete.
8488 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8489 and :filter-return.
8490
04754d36
FEG
84912013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8492
8493 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8494 and do not care about match data.
8495
dd8791e9
SM
84962013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8499 completion tables when completing error conditions and
8500 `declare' arguments.
8501 (lisp-complete-symbol, field-complete): Mark as obsolete.
8502 (check-parens): Unmatched parens are user errors.
8503 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8504
ffe54a13
AM
85052013-04-17 Michal Nazarewicz <mina86@mina86.com>
8506
dd8791e9
SM
8507 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8508 command changed buffer (ie. `flyspell-pre-buffer' is not current
8509 buffer), which prevents making decisions based on invalid value of
8510 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8511 cause an error when `flyspell-pre-point' was nil after switching
8512 buffers.
8513 (flyspell-post-command-hook): No longer needs to change buffers when
8514 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8515
ec7e39f2
AM
85162013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8517
8518 * textmodes/ispell.el (ispell-add-per-file-word-list):
8519 Fix `flyspell-correct-word-before-point' error when accepting
8520 words and `coment-padding' is an integer by using
8521 `comment-normalize-vars' (Bug #14214).
8522
083850a6
FEG
85232013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8524
8525 New defun movement commands.
8526 * progmodes/python.el (python-nav--syntactically)
8527 (python-nav--forward-defun, python-nav-backward-defun)
8528 (python-nav-forward-defun): New functions.
8529
619ed6e1
FEG
85302013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8531
8532 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8533 (python-syntax-context): Use named compiler-macro for backwards
8534 compatibility with Emacs 24.x.
8535
7a1beb6c
LL
85362013-04-17 Leo Liu <sdl.web@gmail.com>
8537
8538 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8539 octave-hide-process-buffer.
8540
2d3fa3e5
SM
85412013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8542
8543 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8544 (bug#14216).
8545
7ce5be54
JPG
85462013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8547
8548 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8549 Fix adjustment of offset when receiving incomplete responses from GDB
8550 (bug#14129).
8551
351edece
SM
85522013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8555 python-mode-abbrev-table.
8556 (python-skeleton-define): Adjust accordingly.
8557 (python-mode-abbrev-table): New table that inherits from it so that
8558 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8559
8560 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8561 (abbrev-symbol): Use it.
8562 (abbrev--before-point): Use it since we already handle inheritance.
8563
613f9481
LL
85642013-04-16 Leo Liu <sdl.web@gmail.com>
8565
8566 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8567 binding to info-lookup-symbol.
8568
51646b62
JB
85692013-04-16 Juanma Barranquero <lekktu@gmail.com>
8570
8571 * minibuffer.el (completion--twq-all):
8572 * term/ns-win.el (ns-initialize-window-system):
8573 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8574
efb3f01d
SM
85752013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8576
36c0a301
SM
8577 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8578 global bindings.
8579
efb3f01d
SM
8580 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8581
fb549d64
DG
85822013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8583
8584 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8585 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8586 to nil.
8587 (ruby-end-of-defun): Remove the unused arg, change the docstring
8588 to reflect that this function is only used as the value of
8589 `end-of-defun-function'.
8590 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8591 to reflect an earlier change that beginning/end-of-defun functions
8592 jump between methods in a class definition, as well as top-level
8593 functions.
8594
21e8fe2f
SM
85952013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8596
8597 * minibuffer.el (minibuffer-complete): Don't just scroll
8598 a *Completions* that's been iconified.
8599 (minibuffer-force-complete): Make sure repetitions do cycle when going
8600 through completion-in-region -> minibuffer-complete.
8601
20e527d0
AM
86022013-04-15 Alan Mackenzie <acm@muc.de>
8603
8604 Correct the placement of c-cpp-delimiters when there're #s not at
8605 col 0.
8606
8607 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8608 place a submatch around the #.
21e8fe2f
SM
8609 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8610 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8611 on the #, not BOL.
8612
dabefae5
SM
86132013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8616 (advice--member-p): New arg `name'.
8617 (advice--add-function, advice-member-p): Use it (bug#14202).
8618
85c9ab64
AM
86192013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8620
8621 Reformulate java imenu-generic-expression.
8622 The old expression contained ill formed regexps.
8623
8624 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8625 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8626 (cc-imenu-java-method-arg-regexp): New defconsts.
8627 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8628 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8629 handling of spaces in the regexp.
8630
0f821d99
AM
86312013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8632
8633 * textmodes/ispell.el (ispell-command-loop): Remove
8634 flyspell highlight of a word when ispell accepts it (bug #14178).
8635
eb922adf
MA
86362013-04-15 Michael Albinus <michael.albinus@gmx.de>
8637
8638 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8639 uses code from the previous `ange-ftp-run-real-handler'.
8640 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8641 only in case that function exist. This is needed for proper
8642 unloading of Tramp.
8643
4d9a0979
TH
86442013-04-15 Tassilo Horn <tsdh@gnu.org>
8645
8646 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8647
8648 * textmodes/reftex.el (reftex-compile-variables): Use it.
8649
a829b0dc
SM
86502013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8651
91e8293c
SM
8652 * files.el (normal-mode): Only use default major-mode if no other mode
8653 was specified.
8654
830aed4d
SM
8655 * emacs-lisp/trace.el (trace-values): New function.
8656
a829b0dc
SM
8657 * files.el: Allow : in local variables (bug#14089).
8658 (hack-local-variable-regexp): New var.
8659 (hack-local-variables-prop-line, hack-local-variables): Use it.
8660
7ae9f0fb
RW
86612013-04-13 Roland Winkler <winkler@gnu.org>
8662
8663 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8664 data before it gets modified by bibtex-beginning-of-entry.
8665
6646e848
RW
86662013-04-13 Roland Winkler <winkler@gnu.org>
8667
8668 * textmodes/bibtex.el (bibtex-url): Doc fix.
8669
86702013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8671
8672 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8673 does not visit a BibTeX file, exclude it from the list of buffers
8674 returned by bibtex-initialize.
8675
0aa3616e
SB
86762013-04-13 Stephen Berman <stephen.berman@gmx.net>
8677
8678 * window.el (split-window): Remove interactive form, since as a
8679 command this function is a special case of split-window-below.
8680 Correct doc string.
8681
011cddd6
RW
86822013-04-12 Roland Winkler <winkler@gnu.org>
8683
8684 * faces.el (read-face-name): Do not override value of arg default.
8685 Allow single faces and strings as default values. Remove those
8686 elements from return value that are not faces.
8687 (describe-face): Simplify.
8688 (face-at-point): New optional args thing and multiple so that this
8689 function can provide the same functionality previously provided by
8690 read-face-name.
8691 (make-face-bold, make-face-unbold, make-face-italic)
8692 (make-face-unitalic, make-face-bold-italic, invert-face)
8693 (modify-face, read-face-and-attribute): Use face-at-point.
8694
8695 * cus-edit.el (customize-face, customize-face-other-window)
8696 * cus-theme.el (custom-theme-add-face)
8697 * face-remap.el (buffer-face-set)
8698 * facemenu.el (facemenu-set-face): Use face-at-point.
8699
f24e0036
MA
87002013-04-12 Michael Albinus <michael.albinus@gmx.de>
8701
8702 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8703
da3cda2d
TH
87042013-04-10 Tassilo Horn <tsdh@gnu.org>
8705
8706 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8707 off leading { and trailing } from field values.
8708
15e54145
SM
87092013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8710
78ce603d
SM
8711 * emacs-lisp/timer.el (timer--check): New function.
8712 (timer--time, timer-set-function, timer-event-handler): Use it.
8713 (timer-set-idle-time): Simplify.
8714 (timer--activate): CSE.
8715 (timer-event-handler): Give more info in error message.
8716 (internal-timer-start-idle): New function, moved from C.
8717
15e54145
SM
8718 * mpc.el (mpc-proc): Add `restart' argument.
8719 (mpc-proc-cmd): Use it.
8720 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8721 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8722 less often.
8723
7144c627
MY
87242013-04-10 Masatake YAMATO <yamato@redhat.com>
8725
8726 * progmodes/sh-script.el: Implement `sh-mode' own
8727 `add-log-current-defun-function' (bug#14112).
8728 (sh-current-defun-name): New function.
8729 (sh-mode): Use the function.
8730
b39792eb
BG
87312013-04-09 Bastien Guerry <bzg@gnu.org>
8732
8733 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8734
8acdeb71
SM
87352013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8736
6fcdab68
SM
8737 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8738
8acdeb71
SM
8739 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8740 timer (bug#14156).
8741
e3e7b504
NF
87422013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8743
8744 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8745 declaration.
8746
201bb296
LL
87472013-04-07 Leo Liu <sdl.web@gmail.com>
8748
8749 * pcmpl-x.el: New file.
8750
ebb19708
DA
87512013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8752
8753 Do not set x-display-name until X connection is established.
8754 This is needed to prevent from weird situation described at
8755 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8756 * frame.el (make-frame): Set x-display-name after call to
8757 window system initialization function, not before.
8758 * term/x-win.el (x-initialize-window-system): Add optional
8759 display argument and use it.
8760 * term/w32-win.el (w32-initialize-window-system):
8761 * term/ns-win.el (ns-initialize-window-system):
8762 * term/pc-win.el (msdos-initialize-window-system):
8763 Add compatible optional display argument.
8764
33bb237a
EZ
87652013-04-06 Eli Zaretskii <eliz@gnu.org>
8766
8767 * files.el (normal-backup-enable-predicate): On MS-Windows and
8768 MS-DOS compare truenames of temporary-file-directory and of the
8769 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8770 don't fail comparison by compare-strings. Also, compare file
8771 names case-insensitively on MS-Windows and MS-DOS.
8772
134abf1f
SM
87732013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8776 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8777
d695cb94
DG
87782013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8779
e3e7b504
NF
8780 * whitespace.el (whitespace-color-on, whitespace-color-off):
8781 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8782
f4ad7ea1 87832013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8784
8785 * ispell.el (ispell-set-spellchecker-params):
8786 Really set `ispell-args' for all equivs.
8787
632556e4
SM
87882013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8789
8790 * ido.el (ido-completions): Use extra elements of ido-decorations
8791 (bug#14143).
8792 (ido-decorations): Update docstring.
8793
2a417372
MA
87942013-04-05 Michael Albinus <michael.albinus@gmx.de>
8795
8796 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8797 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8798 nil during initialization, in order not to miss changes since the
8799 file was opened. (Bug#14140)
8800
fc164b0c
LL
88012013-04-05 Leo Liu <sdl.web@gmail.com>
8802
8803 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8804
0ccecc08
JB
88052013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8806
8807 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8808
51af1aa2
GM
88092013-04-04 Glenn Morris <rgm@gnu.org>
8810
8811 * electric.el (electric-pair-inhibit-predicate): Add :version.
8812
b208ebc6
SM
88132013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8816 when a package is required several times (bug#14082).
8817
f3d3eaf0
RW
88182013-04-04 Roland Winkler <winkler@gnu.org>
8819
8820 * faces.el (read-face-name): Behave as promised by the docstring.
8821 Assume that arg default is a list of faces.
8822 (describe-face): Call read-face-name with list of default faces.
8823
2575da50
TV
88242013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8825
8826 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8827 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8828 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8829 the header.
8830 (bookmark-exit-hook-internal): Save even if list is empty.
8831
397703b4
YH
88322013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8833
8834 * emacs-lisp/package.el (package-pinned-packages): New var.
8835 (package--add-to-archive-contents): Obey it (bug#14118).
8836
691e26ae
AM
88372013-04-03 Alan Mackenzie <acm@muc.de>
8838
8a621d53
JB
8839 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8840 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8841
8842 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8843 parameter `not-in-delimiter'. Handle being inside comment opener.
8844 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8845 character in case we're typing a '*' after a '/'.
8846 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8847 instead by passing the parameter to c-state-pp-to-literal.
8848
8849 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8850 for elt. 7 of a parse state.
8851
4b725a70
PE
88522013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8853
8854 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8855 * international/latin1-disp.el, international/mule-util.el:
8856 * language/cyril-util.el, language/european.el, language/ind-util.el:
8857 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8858 * language/tibetan.el, language/viet-util.el:
8859 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8860
15c579f0
SM
88612013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8864 (electric-pair-post-self-insert-function): Use it.
8865 (electric-pair-default-inhibit): New function, extracted from
8866 electric-pair-post-self-insert-function.
8867
a77e2924
RW
88682013-03-31 Roland Winkler <winkler@gnu.org>
8869
8870 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8871
2bd8a4a8
SM
88722013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8875
8d3655be 88762013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8877
8878 Un-indent after "pass" and "return" statements (Bug#13888)
8879 * progmodes/python.el (python-indent-block-enders): New var.
8880 (python-indent-calculate-indentation): Use it.
8881
8d3655be 88822013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8883
8884 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8885 defun. Defining it as defalias could introduce too eager
8886 byte-compiler optimization. (Bug#14030)
8887
8d3655be 88882013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8889
8890 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8891
0b1619da
LL
88922013-03-30 Leo Liu <sdl.web@gmail.com>
8893
8894 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8895 (kmacro-execute-from-register): Pass the keyboard macro to
8896 kmacro-call-macro or repeating won't work correctly.
8897
0b938190
TZ
88982013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8899
8900 * progmodes/subword.el: Back to using `forward-symbol'.
8901
8902 * subr.el (forward-whitespace, forward-symbol)
8903 (forward-same-syntax): Move from thingatpt.el.
8904
35710234
LL
89052013-03-29 Leo Liu <sdl.web@gmail.com>
8906
8907 * kmacro.el (kmacro-to-register): New command.
8908 (kmacro-execute-from-register): New function.
8909 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8910
efc0bb73
SM
89112013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * mpc.el: Use defvar-local and setq-local.
8914 (mpc--proc-connect): Connection failures are not bugs.
8915 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8916 (mpc-volume-map): Bind to the up-events.
8917
75a2f981
TZ
89182013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8919
8920 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8921 instead of `forward-symbol'.
8922
17c781d1
SM
89232013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8926 (edebug--recursive-edit): Use it.
8927 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8928 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8929
f67bfbcf
LL
89302013-03-28 Leo Liu <sdl.web@gmail.com>
8931
8932 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8933
b59f639d
EZ
89342013-03-27 Eli Zaretskii <eliz@gnu.org>
8935
8936 * facemenu.el (list-colors-callback): New defvar.
8937 (list-colors-redisplay): New function.
8938 (list-colors-display): Install list-colors-redisplay as the
8939 revert-buffer-function. (Bug#14063)
8940
f557c1b1
SM
89412013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8942
b1da2957
SM
8943 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8944 and suffixes don't overlap (bug#14061).
8945
f557c1b1
SM
8946 * case-table.el: Use lexical-binding.
8947 (case-table-get-table): New function.
8948 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8949
002668e1
TZ
89502013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8951
8952 * progmodes/subword.el: Add `superword-mode' to do word motion
8953 over symbol_words (parallels and leverages `subword-mode' which
8954 does word motion inside MixedCaseWords).
8955
73572c72
AG
89562013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8957
78b8f320 8958 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8959 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8960
69b2c07e
SM
89612013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8962
8963 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8964 Change return value to be a sexp. Delay `get-buffer' to after
8965 restoring the desktop (bug#13951).
8966
08bb5ee2
LL
89672013-03-26 Leo Liu <sdl.web@gmail.com>
8968
8969 * register.el: Move semantic tag handling back to
8970 cedet/semantic/senator.el. (Bug#14052)
8971
8d4c974e
SM
89722013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8975 into the prompt either (bug#13963).
8976
b234d92c
SM
89772013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8978
8979 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8980 part of "(error-foo)".
8981
ddfa3cb4
JL
89822013-03-24 Juri Linkov <juri@jurta.org>
8983
8984 * replace.el (list-matching-lines-prefix-face): New defcustom.
8985 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8986 `occur-engine' if `face-differs-from-default-p' returns t.
8987 (occur-engine): Add `,' inside backquote construct to evaluate
8988 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8989 Pass `prefix-face' to the functions `occur-context-lines' and
8990 `occur-engine-add-prefix'.
8991 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8992 `prefix-face' and propertize the prefix with `prefix-face'.
8993 (Bug#14017)
8994
7b0e2f85
LL
89952013-03-24 Leo Liu <sdl.web@gmail.com>
8996
8997 * nxml/rng-valid.el (rng-validate-while-idle)
8998 (rng-validate-quick-while-idle): Guard against deleted buffer.
8999 (Bug#13999)
9000
9001 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9002 is the last entry in kill-buffer-hook.
9003
9004 * files.el (kill-buffer-hook): Doc fix.
9005
b3082f49
DG
90062013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9007
b234d92c
SM
9008 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9009 Make it safe-local.
bde73d27 9010
b3082f49
DG
9011 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9012
a320a2db
LL
90132013-03-23 Leo Liu <sdl.web@gmail.com>
9014
7e74b0fb
LL
9015 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9016 Remove.
9017
9018 * nxml/rng-valid.el (rng-validate-mode)
9019 (rng-after-change-function, rng-do-some-validation):
9020 * nxml/rng-maint.el (rng-validate-buffer):
9021 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9022 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9023 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9024 (nxml-extend-after-change-region): Use with-silent-modifications.
9025
a320a2db
LL
9026 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9027 timer-idle-list.
9028
9029 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9030 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9031 timer-idle-list. (Bug#13999)
9032
e38e6780
JL
90332013-03-23 Juri Linkov <juri@jurta.org>
9034
9035 * info.el (info-index-match): New face.
9036 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9037 main pattern and add text properties with the new face to matches
9038 in index entries relative to the beginning of the index entry.
9039 (Bug#14015)
9040
e8cc7880
DE
90412013-03-21 Eric Ludlam <zappo@gnu.org>
9042
9043 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9044 Inhibit read only while inserting objects.
9045
9bb0d822
TZ
90462013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9047
9048 * progmodes/cfengine.el: Update docs to mention
9049 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9050 symbol motion. Remove "_" from the word syntax.
9051
aa703640
TZ
90522013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9053
9054 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9055 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9056
afff09d0
JL
90572013-03-20 Juri Linkov <juri@jurta.org>
9058
9059 * info.el (Info-next-reference-or-link)
9060 (Info-prev-reference-or-link): New functions.
9061 (Info-next-reference, Info-prev-reference): Use them.
9062 (Info-try-follow-nearest-node): Handle footnote navigation.
9063 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9064
9a1ff164
SM
90652013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9068 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9069
2667d15d
PE
90702013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9071
9072 Suppress unnecessary non-ASCII chatter during build process.
9073 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9074 (batch-skkdic-convert): Suppress most of the chatter.
9075 It's not needed so much now that machines are faster,
9076 and its non-ASCII component was confusing; see Dmitry Gutov in
9077 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9078
438b0579
LL
90792013-03-20 Leo Liu <sdl.web@gmail.com>
9080
9081 * ido.el (ido-chop): Fix bug#10994.
9082
c128ab07
DG
90832013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9084
9085 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9086 Remove vars.
9a1ff164
SM
9087 (whitespace-color-on, whitespace-color-off):
9088 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9089
0e6008c5
SM
90902013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9091
9092 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9093 remapping in mode-line.
9094 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9095
627b52b0
DG
90962013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9097
9098 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9099 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9100 (whitespace-font-lock-keywords): Change description.
9101 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9102 the constructed keywords instead.
9103 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9104
50c3a20b
LL
91052013-03-19 Leo Liu <sdl.web@gmail.com>
9106
9107 * progmodes/compile.el (compilation-display-error): New command.
9108 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9109 C-o. (Bug#13992)
9110
2aa2157b
PE
91112013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9112
9113 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9114
e477dbfa
JD
91152013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9116
9117 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9118
64ab82d1
MA
91192013-03-18 Michael Albinus <michael.albinus@gmx.de>
9120
9121 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9122
9123 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9124 * net/tramp-gvfs.el (top):
9125 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9126 (tramp-handle-shell-command): Use it.
9127 (tramp-dissect-file-name): Raise an error when hostname is a
9128 method name, and neither method nor user is specified.
9129
9130 * net/trampver.el: Update release number.
9131
33cef733
LL
91322013-03-18 Leo Liu <sdl.web@gmail.com>
9133
9134 Make sure eldoc can be turned off properly.
9135 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9136 eldoc-mode.
9137 (eldoc-display-message-p): Revert last change.
9138 (eldoc-display-message-no-interference-p)
9139 (eldoc-print-current-symbol-info): Tweak.
9140
2167b7b2
TH
91412013-03-18 Tassilo Horn <tsdh@gnu.org>
9142
9143 * doc-view.el (doc-view-new-window-function): Check the new window
9144 overlay's display property instead the char property of the
9145 buffer's first char. Use `with-selected-window' instead of
9146 `save-window-excursion' with `select-window'.
9147 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9148 display property instead the char property of the buffer's first char.
2167b7b2 9149
982efbcd
PE
91502013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9151
9152 Automate the build of ja-dic.el (Bug#13984).
9153 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9154 from the input, rather than assume that it's been done for us by the
9155 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9156 the current date into a ja-dic.el comment, as that complicates
9157 regression testing.
9158
2fcc7665
SM
91592013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * whitespace.el: Fix double evaluation.
9162 (whitespace-space, whitespace-hspace, whitespace-tab)
9163 (whitespace-newline, whitespace-trailing, whitespace-line)
9164 (whitespace-space-before-tab, whitespace-indentation)
9165 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9166 obsolete defvars.
9167 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9168 (whitespace-color-on): Use a single font-lock-add-keywords call.
9169 Fix double-evaluation of face variables.
9170
67c0a6e6
MA
91712013-03-17 Michael Albinus <michael.albinus@gmx.de>
9172
2fcc7665
SM
9173 * net/tramp-adb.el (tramp-adb-parse-device-names):
9174 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9175 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9176
69489f1d
LL
91772013-03-17 Leo Liu <sdl.web@gmail.com>
9178
9179 Extend eldoc to display info in the mode-line. (Bug#13978)
9180 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9181 (eldoc-mode-line-string): New variable.
9182 (eldoc-minibuffer-message): New function.
9183 (eldoc-message-function): New variable.
9184 (eldoc-message): Use it.
9185 (eldoc-display-message-p)
2fcc7665
SM
9186 (eldoc-display-message-no-interference-p):
9187 Support eldoc-post-insert-mode.
69489f1d
LL
9188
9189 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9190 (eval-expression): Run it.
9191
9c44569e
RW
91922013-03-17 Roland Winkler <winkler@gnu.org>
9193
9194 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9195 strings in the list of return values.
9196
327f1f6f
JB
91972013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9198
9199 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9200 radix before checking for HMS forms.
9201
67ed8fcd
LL
92022013-03-16 Leo Liu <sdl.web@gmail.com>
9203
9204 * progmodes/scheme.el: Add indentation and font-locking for λ.
9205 (Bug#13975)
9206
78be8b64 92072013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9208
9209 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9210 token before point (bug#13942).
9211
78be8b64 92122013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9213
95b43468 9214 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9215
98e775e6
EZ
92162013-03-16 Eli Zaretskii <eliz@gnu.org>
9217
9218 * startup.el (command-line-normalize-file-name): Fix handling of
9219 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9220 <xfq.free@gmail.com> in
9221 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9222
2edd6029
MA
92232013-03-15 Michael Albinus <michael.albinus@gmx.de>
9224
9225 Sync with Tramp 2.2.7.
9226
9227 * net/trampver.el: Update release number.
9228
d35f5864
TH
92292013-03-14 Tassilo Horn <tsdh@gnu.org>
9230
e903c210 9231 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9232 (doc-view-insert-image): Don't modify overlay associated to
9233 non-live windows, and implement horizontal centering of image in
9234 case it's smaller than the window.
9235 (doc-view-new-window-function): Force redisplay of new windows on
9236 doc-view buffers.
d35f5864 9237
1c4a85ed
KF
92382013-03-13 Karl Fogel <kfogel@red-bean.com>
9239
9240 * saveplace.el (save-place-alist-to-file): Don't sort
9241 `save-place-alist', just pretty-print it (bug#13882).
9242
85b66a21
MA
92432013-03-13 Michael Albinus <michael.albinus@gmx.de>
9244
a020afb9
JB
9245 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9246 Check whether `default-file-name-coding-system' is bound.
9247 It isn't in XEmacs.
85b66a21 9248
175600da
SM
92492013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9250
e7f7cb1a
SM
9251 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9252 backquotes for `obsolete' (bug#13929).
9253
175600da
SM
9254 * international/mule.el (find-auto-coding): Include file name in
9255 obsolescence warning (bug#13922).
9256
ca68a22e
TZ
92572013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9258
9259 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9260 for CFEngine 3-specific indentation.
9261 (cfengine3-indent-line): Use it. Fix up category regex.
9262 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9263
940e5099
SM
92642013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9265
9266 * type-break.el (type-break-file-name):
9267 * textmodes/remember.el (remember-data-file):
9268 * strokes.el (strokes-file):
9269 * shadowfile.el (shadow-initialize):
9270 * saveplace.el (save-place-file):
9271 * ps-bdf.el (bdf-cache-file):
9272 * progmodes/idlwave.el (idlwave-config-directory):
9273 * net/quickurl.el (quickurl-url-file):
9274 * international/kkc.el (kkc-init-file-name):
9275 * ido.el (ido-save-directory-list-file):
9276 * emulation/viper.el (viper-custom-file-name):
9277 * emulation/vip.el (vip-startup-file):
9278 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9279 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9280
cc725808
PE
92812013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9282
9283 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9284 * language/thai-word.el: Switch to UTF-8.
9285
a020afb9 9286See ChangeLog.16 for earlier changes.
e3d51b27
MR
9287
9288;; Local Variables:
9289;; coding: utf-8
e3d51b27
MR
9290;; End:
9291
ab422c4d 9292 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9293
9294 This file is part of GNU Emacs.
9295
9296 GNU Emacs is free software: you can redistribute it and/or modify
9297 it under the terms of the GNU General Public License as published by
9298 the Free Software Foundation, either version 3 of the License, or
9299 (at your option) any later version.
9300
9301 GNU Emacs is distributed in the hope that it will be useful,
9302 but WITHOUT ANY WARRANTY; without even the implied warranty of
9303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9304 GNU General Public License for more details.
9305
9306 You should have received a copy of the GNU General Public License
9307 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.