* chartab.c (make_sub_char_table): Fix size typo.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
43668fb1
SM
12013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4 at bobp (bug#15826).
5 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6
daddb3fd
DH
72013-11-08 Darren Hoo <darren.hoo@gmail.com>
8
9 * man.el (Man-start-calling): New macro, extracted from
10 Man-getpage-in-background.
11 (Man-getpage-in-background): Use it.
12 (Man-update-manpage): New command.
13 (Man-mode-map): Bind it.
14
1f923923
DG
152013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16
17 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
18 of "and", "or", "&&" and "||".
19 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
20 argument. Prohibit opening curly brace because it could only be a
21 block opener in that position.
daddb3fd
DH
22 (ruby-smie--forward-token, ruby-smie--backward-token):
23 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
24 arguments.
25 (ruby-smie--indent-to-stmt): New function, seeks the end of
26 previous statement or beginning of buffer.
27 (ruby-smie-rules): Use it.
28 (ruby-smie-rules): Check if there's a ":" before a curly block
29 opener candidate; if there is, it's a hash.
30
3220d527
SM
312013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
32
33 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
34 (cl--block-wrapper): Fix last accidental change.
35
1eb1f9e0
MA
362013-11-07 Michael Albinus <michael.albinus@gmx.de>
37
38 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
39 Instrument, in order to hunt failure on hydra.
40
e6e4db3c
NT
412013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
42
43 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
44 malformed bindings form (bug#15814).
45
b420ccfc
DG
462013-11-07 Dmitry Gutov <dgutov@yandex.ru>
47
48 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
49 "." compared to " @ ". This incidentally fixes some indentation
50 examples with "do".
e6e4db3c 51 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
52 (ruby-smie-grammar): New tokens: "and" and "or".
53 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
54 Exclude "and" and "or". Remove "do" in order to work around token
55 priorities.
56 (ruby-smie-rules): Add all infix tokens. Handle the case of
57 beginning-of-buffer.
b420ccfc 58
6b4ac03e
GM
592013-11-06 Glenn Morris <rgm@gnu.org>
60
61 * Makefile.in (setwins_almost, setwins_for_subdirs):
62 Avoid accidental matches.
63
5ca114d1
SM
642013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * menu-bar.el (popup-menu): Use key-binding.
67
f72552bd
EZ
682013-11-06 Eli Zaretskii <eliz@gnu.org>
69
70 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
71 menus, support also the menus produced by minor modes.
72 (Bug#15817)
73
5d5c701e
LL
742013-11-06 Leo Liu <sdl.web@gmail.com>
75
76 * thingatpt.el (thing-at-point-looking-at): Add optional arg
77 DISTANCE to bound the search. All uses changed. (Bug#15808)
78
0a8b75e2
GM
792013-11-06 Glenn Morris <rgm@gnu.org>
80
81 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
82 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
83 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 84
a35287ea
SM
852013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
86
feca4e2d
SM
87 * electric.el (electric-indent-just-newline): New command.
88 (electric-indent-mode-map): New keymap.
89 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
90 Re-add :group which weren't redundant.
91
a35287ea
SM
92 * electric.el (electric-indent-local-mode): New minor mode.
93 (electric-indent-functions-without-reindent): New var.
94 (electric-indent-post-self-insert-function): Use it.
95 * emacs-lisp/gv.el (buffer-local-value): Add setter.
96
375761b2
EZ
972013-11-05 Eli Zaretskii <eliz@gnu.org>
98
9a6ad735
EZ
99 * international/quail.el (quail-help): Be more explicit about the
100 meaning of the labels shown on the keys. (Bug#15800)
101
375761b2
EZ
102 * startup.el (normal-top-level): Load the subdirs.el files before
103 setting the locale environment. (Bug#15805)
104
520a6e4a
SM
1052013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
106
0acfafef
SM
107 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
108 via arguments so as to get the right ones (bug#15418).
109
520a6e4a
SM
110 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
111
15826261
MA
1122013-11-05 Michael Albinus <michael.albinus@gmx.de>
113
114 Fix problems found while writing a test suite.
115
116 * net/tramp-compat.el (tramp-compat-load): New defun.
117 * net/tramp.el (tramp-handle-load): Use it.
118
119 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
120 "(numberp ok-if-already-exists)" correctly.
121
d35f31a4
XF
1222013-11-05 Xue Fuqiao <xfq.free@gmail.com>
123
124 * international/characters.el (glyphless-char-display-control):
125 Add usage note.
126
ae93bc74
BB
1272013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
128
520a6e4a
SM
129 * progmodes/python.el (python-mode):
130 * progmodes/scheme.el (scheme-mode):
131 * progmodes/prolog.el (prolog-mode):
132 * progmodes/ruby-mode.el (ruby-mode):
133 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
134 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 135
0ade65b5
SM
1362013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
137
a0d5f7a4
SM
138 * rect.el (rectangle--highlight-for-redisplay):
139 * emacs-lisp/smie.el (smie--next-indent-change):
140 Use buffer-chars-modified-tick.
141
c93f3f5c
SM
142 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
143
0ade65b5
SM
144 * electric.el (electric-indent-post-self-insert-function):
145 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
146
ef9dd188
HE
1472013-11-04 Helmut Eller <eller.helmut@gmail.com>
148
149 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
150
306e7308
NT
1512013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
152
153 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
154 (bug#15786).
155
e5afbcac
SM
1562013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
157
1d01ad41
SM
158 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
159
e5afbcac
SM
160 * progmodes/python.el: Fix up last change.
161 (python-shell--save-temp-file): New function.
162 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
163 `string' comes from the current buffer.
164 (python-shell-send-string-no-output): Remove `msg' arg.
165 (python--use-fake-loc): New var.
166 (python-shell-buffer-substring): Obey it. Try to compensate for the
167 extra coding line added by python-shell--save-temp-file.
168 (python-shell-send-region): Use python-shell--save-temp-file and
169 python-shell-send-file directly. Add `nomain' argument.
170 (python-shell-send-buffer): Use python-shell-send-region.
171 (python-electric-pair-string-delimiter): New function.
172 (python-mode): Use it.
173
d0065ff1
EZ
1742013-11-04 Eli Zaretskii <eliz@gnu.org>
175
176 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
177 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
178 environment and decoding all of the default-directory's to here
179 from command-line.
180 (command-line): Decode also argv[0].
181
182 * loadup.el: Error out if default-directory is a multibyte string
183 when we are dumping.
184
185 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
186
7397c587
TZ
1872013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
188
189 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
190 (package-menu--print-info, package-menu--archive-predicate):
191 Add Archive column to package list.
7397c587 192
b27cc9fc
MA
1932013-11-04 Michael Albinus <michael.albinus@gmx.de>
194
195 Fix problems found while writing a test suite.
196
197 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
198 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
199 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
200 to nil when running original file name handler. Otherwise,
201 there are problems with constructs like "$$FOO".
202
203 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
204 for `localname'.
205
d8c4f18a
BB
2062013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
207
7b530552
BB
208 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
209
210 * subr.el (version<, version<=, version=):
211 Update docstrings with information for snapshot versions.
212
d8c4f18a
BB
213 * helpers.el: New library for misc helper functions.
214 (hash-table-keys): New function returning a list of hash keys.
215 (hash-table-values): New function returning a list of hash values.
216
dca01b09
DG
2172013-11-04 Dmitry Gutov <dgutov@yandex.ru>
218
219 * progmodes/ruby-mode.el (ruby-smie--forward-token)
220 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
221
0a749fa0
MN
2222013-11-04 Michal Nazarewicz <mina86@mina86.com>
223
224 * textmodes/fill.el (fill-single-char-nobreak-p): New function
225 checking whether point is after a 1-letter word.
226
2272013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
228
229 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
230 Don't infloop when expanding region over `multiline' syntax-type that
231 begins a line (bug#15778).
232
4aca7145
SM
2332013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
236 Make it into a proper minor mode.
237 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
238 (rectangle-mark-mode-map): New keymap.
239 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
240
a0833f62
GM
2412013-11-04 Glenn Morris <rgm@gnu.org>
242
243 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
244
e61845c1
SM
2452013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
248 (ruby-smie-rules): Use smie-rule-parent instead.
249
250 * emacs-lisp/smie.el (smie-rule-parent): Always call
251 smie-indent-virtual rather than only for hanging tokens.
252 (smie--next-indent-change): New helper command.
253
62942f89
GM
2542013-11-03 Glenn Morris <rgm@gnu.org>
255
256 * Makefile.in (abs_srcdir): Remove.
257 (emacs): Unset EMACSLOADPATH.
258
b0b9e592
GM
2592013-11-02 Glenn Morris <rgm@gnu.org>
260
18ba6a33 261 * Makefile.in (EMACS): Use a relative filename.
8061810d 262 (abs_top_builddir): Remove.
18ba6a33
GM
263 (custom-deps, finder-data, autoloads): Use --chdir.
264
6a8b929e
GM
265 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
266
c617f3d0
GM
267 Use relative filenames in TAGS files.
268 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
269 (lisptagsfiles4, TAGS): Use relative file names.
270 (TAGS-LISP): Remove.
271 (maintainer-clean): No more TAGS-LISP file.
272
b0b9e592
GM
273 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
274 (lisptagsfiles4): Use absolute filenames again.
275 (TAGS, TAGS-LISP): Not everything needs to run in one line.
276 Remove all *loaddefs files, not just the first. Remove esh-groups.
277 (maintainer-clean): Delete TAGS, TAGS-LISP.
278
d1c0ea6a
BB
2792013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
280
e61845c1
SM
281 * emacs-lisp/package.el (package-version-join):
282 Recognize snapshot versions.
d1c0ea6a 283
684d71c6
BB
2842013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
285
286 * subr.el (version-regexp-alist): Add support for snapshot versions.
287
3d42b968
DG
2882013-11-02 Dmitry Gutov <dgutov@yandex.ru>
289
e61845c1
SM
290 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
291 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
292 skip over our direct parent if it's an assignment token..
293 (ruby-smie-rules): Use it.
294
7ffd3721
DG
2952013-11-02 Dmitry Gutov <dgutov@yandex.ru>
296
297 * progmodes/ruby-mode.el Use `syntax-propertize-function'
298 unconditionally. Remove now unnecessary forward declarations.
299 Remove XEmacs-specific setup.
300 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
301 (ruby-font-lock-syntactic-keywords)
302 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
303 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
304 (ruby-here-doc-end-syntax): Remove.
305 (ruby-mode): Don't check whether `syntax-propertize-rules' is
306 defined as function.
307
a3996a2e
BB
3082013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
309
310 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
311
6f9260e8
BB
3122013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
313
314 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
315 table and abbrev table, `define-derived-mode' does that for us
316 anyway.
317
6014de84
GM
3182013-11-01 Glenn Morris <rgm@gnu.org>
319
320 * Makefile.in: Remove manual mh-e dependencies (writing .elc
321 files is atomic for some time, so no parallel compilation issues).
322
3c334c14
JD
3232013-11-01 Jan Djärv <jan.h.d@swipnet.se>
324
325 * faces.el (face-x-resources): Add :distant-foreground.
326 (region): Use :distant-foreground for gtk and ns.
327
9bc236c8
TH
3282013-11-01 Tassilo Horn <tsdh@gnu.org>
329
5246583b 330 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
331 BibTeX.
332 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
333 (reftex-locate-bibliography-files): Us it.
334
d14c81ee
CB
3352013-11-01 Claudio Bley <claudio.bley@googlemail.com>
336
0e7690de
CB
337 * image.el (image-type-header-regexps): Fix the 'pbm' part to
338 allow comments in pbm files.
339
d14c81ee
CB
340 * term/w32-win.el (dynamic-library-alist): Support newer versions
341 of libjpeg starting with v7: look only for the DLL from the
342 version against which Emacs was built.
ac1bf374 343 Support versions of libpng beyond 1.4.x.
019c8218 344 Support libtiff v4.x.
d14c81ee 345
983d0df5
BB
3462013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
347
348 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
349 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
350 Add property :safe.
351 (ruby-deep-arglist): Add property :type.
352
47f58d85
GM
3532013-10-31 Glenn Morris <rgm@gnu.org>
354
355 * Makefile.in (custom-deps, finder-data): No need to setq the target
356 variables, we are in the right directory and the defaults work fine.
357
4f85b479
GM
3582013-10-30 Glenn Morris <rgm@gnu.org>
359
ca7dd4cd
GM
360 * Makefile.in (autoloads): Do not use abs_lisp.
361
4f85b479
GM
362 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
363 `newline' does not respect `standard-output', so use `princ'.
364
cf59e41c
AA
3652013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
366
367 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
368 * buff-menu.el (Buffer-menu--unmark): New function.
369 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
370
74cf04fb
GM
3712013-10-30 Glenn Morris <rgm@gnu.org>
372
b040b60e
GM
373 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
374
f53d3815
GM
375 * emacs-lisp/package.el (lm-homepage): Declare.
376
5413d873
GM
377 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
378 Fix doc typos.
379
cecedb36
GM
380 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
381
74cf04fb
GM
382 * Makefile.in (finder-data, autoloads, update-subdirs)
383 (compile-main, compile-clean, compile-always, bootstrap-clean):
384 Check return value of cd.
385 (compile-calc): Remove.
386
195ee2f0
SM
3872013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
388
ae4002ce
SM
389 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
390
391 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
392 (byte-compile-and-folded): New function.
393 (=, <, >, <=, >=): Use it.
394
395 * dos-w32.el (minibuffer-history-case-insensitive-variables)
396 (path-separator, null-device, buffer-file-coding-system)
397 (lpr-headers-switches): Check system-type before modifying them.
398 (find-buffer-file-type-coding-system): Mark obsolete.
399 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
400 find-file-not-found-set-buffer-file-coding-system.
401 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
402 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
403 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
404 (w32-direct-print-region-helper, w32-direct-print-region-function)
405 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
406 * startup.el (normal-top-level-add-subdirs-to-load-path):
407 * ps-print.el (ps-print-region-function):
408 * lpr.el (print-region-function): Use new name.
409
53b39e89
SM
410 * subr.el (custom-declare-variable-early): Remove function.
411 (custom-declare-variable-list): Remove var.
412 (error, user-error): Remove `while' loop.
413 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
414 (user-emacs-directory-warning, locate-user-emacs-file):
415 Move to files.el.
416 * simple.el (read-quoted-char-radix, read-quoted-char):
417 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
418 Move from subr.el.
419 * custom.el (custom-declare-variable-list): Don't process
420 custom-declare-variable-list.
421
195ee2f0
SM
422 * progmodes/python.el (python-shell-get-buffer): New function.
423 (python-shell-get-process): Use it.
424 (python-shell-send-string): Always use utf-8 and add a cookie to tell
425 Python which encoding was used. Don't split-string since we only care
426 about the first line. Return the temp-file, if applicable.
427 (python-shell-send-region): Tell compile.el how to turn locations in
428 the temp-file into locations in the source buffer.
429
7e3561ee
SM
4302013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
431
4c9797cb
SM
432 * subr.el (undefined): Add missing behavior from the C code for
433 unbound keys.
434
3472b6c6
SM
435 * rect.el: Use lexical-binding. Add new rectangular region support.
436 (rectangle-mark): New command.
437 (rectangle--region): New var.
438 (deactivate-mark-hook): Reset rectangle--region.
439 (rectangle--extract-region, rectangle--insert-for-yank)
440 (rectangle--highlight-for-redisplay)
441 (rectangle--unhighlight-for-redisplay): New functions.
442 (region-extract-function, redisplay-unhighlight-region-function)
443 (redisplay-highlight-region-function): Use them to handle
444 rectangular region.
445 * simple.el (region-extract-function): New var.
446 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
447 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
448 (kill-region): Replace obsolete `yank-handler' arg with `region'.
449 (copy-region-as-kill, kill-ring-save): Add `region' argument.
450 (redisplay-unhighlight-region-function)
451 (redisplay-highlight-region-function): New vars.
452 (redisplay--update-region-highlight): New function.
453 (pre-redisplay-function): Use it.
454 (exchange-point-and-mark): Don't deactivate the mark before
455 reactivate-it anyway.
456 * comint.el (comint-kill-region): Remove yank-handler argument.
457 * delsel.el (delete-backward-char, backward-delete-char-untabify)
458 (delete-char): Remove property, since it's now part of their
459 default behavior.
460 (self-insert-iso): Remove property since this command doesn't exist.
461
7e3561ee
SM
462 * emacs-lisp/package.el (package--download-one-archive)
463 (describe-package-1): Don't query the user about final newline.
464
b9bef71f
DC
4652013-10-29 Daniel Colascione <dancol@dancol.org>
466
467 * net/tramp.el (tramp-methods): Document new functionality.
468 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
469 tramp-hostname-checker if method provides one instead of scanning
470 argument list for "%h" to decide hostname acceptability.
471
4efc33f0
MA
4722013-10-28 Michael Albinus <michael.albinus@gmx.de>
473
474 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
475 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
476 Handle COPY-CONTENTS. (Bug#15737)
477
ed42a877
DU
4782013-10-28 Daiki Ueno <ueno@gnu.org>
479
480 * epa-file.el
7e3561ee
SM
481 (epa-file-cache-passphrase-for-symmetric-encryption):
482 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 483
18c9f8a2
XF
4842013-10-27 Xue Fuqiao <xfq.free@gmail.com>
485
7a4bc7be
XF
486 * image.el (defimage):
487 (image-load-path): Doc fixes.
18c9f8a2 488
b1e8e010
AM
4892013-10-27 Alan Mackenzie <acm@muc.de>
490
491 Indent statements in macros following "##" correctly.
7e3561ee
SM
492 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
493 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 494
73d40d1e 4952013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
496
497 * linum.el (linum-update-window): Fix boundary test (bug#13446).
498
c8c605ac
DG
4992013-10-27 Dmitry Gutov <dgutov@yandex.ru>
500
501 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
502 after `=' is probably a new expression.
503
ca7e59d4
RS
5042013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
505
506 * man.el (man-imenu-title): New option.
507 (Man-mode-map): Add menu. (Bug#15722)
508 (Man-mode): Add imenu to menu.
509
bae91342
DG
5102013-10-26 Dmitry Gutov <dgutov@yandex.ru>
511
512 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
513 specific in what the first arg can be: a non-keyword word,
514 string/regexp/percent literal opener, opening paren, or unary
515 operator followed directly by word.
516
eb89dc14
SM
5172013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
520 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
521 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
522 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
523 Remove vars, they do not apply any more.
524 (prolog-mode-abbrev-table): Remove redundant declaration.
525 (prolog-upper-case-string, prolog-lower-case-string): Remove.
526 (prolog-use-smie): Remove.
527 (prolog-smie-rules): Add indentation rule for the if-then-else layout
528 supported by prolog-electric-if-then-else-flag.
529 (prolog-mode-variables, prolog-menu): Use setq-local.
530 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
531 Remove binding to `Backspace' since this key doesn't exist anyway.
532 Remove bindings for electric self-inserting keys.
533 (prog-mode): Assume it's defined.
534 (prolog-post-self-insert): New function.
535 (prolog-mode): Use it.
536 (prolog-indent-line, prolog-indent-level)
537 (prolog-find-indent-of-matching-paren)
538 (prolog-indentation-level-of-line, prolog-goto-comment-column)
539 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
540 (prolog-goto-next-paren, prolog-in-string-or-comment)
541 (prolog-tokenize, prolog-inside-mline-comment)
542 (prolog-find-start-of-mline-comment): Remove functions.
543 (prolog-find-unmatched-paren, prolog-clause-end)
544 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
545 (prolog-electric--if-then-else): Rename from
546 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
547 (prolog-tokenize-searchkey): Remove const.
548 (prolog-clause-info): Use forward-sexp.
549 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
550 (prolog-electric-if-then-else): Remove commands.
551 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
552 for use in post-self-insert-hook.
553 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
554 for use in post-self-insert-hook.
555 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
556 for use in post-self-insert-hook.
557 (prolog-electric--underscore): Rename from prolog-electric--underscore;
558 adapt it for use in post-self-insert-hook.
559
3dab0a83
MA
5602013-10-25 Michael Albinus <michael.albinus@gmx.de>
561
562 * emacs-lisp/ert.el (ert-run-tests-interactively):
563 Use `completing-read'. (Bug#9756)
564
fbfd0e1d
EZ
5652013-10-25 Eli Zaretskii <eliz@gnu.org>
566
567 * simple.el (line-move): Call line-move-1 instead of
568 line-move-visual when the current window hscroll is zero, but
569 temporary-goal-column indicates we will need to hscroll as result
570 of the movement. (Bug#15712)
571
963ce636
DG
5722013-10-25 Dmitry Gutov <dgutov@yandex.ru>
573
574 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
575 capitalization. Use :visible instead of :active.
576 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
577 commands that are used with SMIE.
578 (ruby-do-end-to-brace): Insert space after `{'.
579
a0be396a
JA
5802013-10-25 John Anthony <john@jo.hnanthony.com>
581
f73754c9
JA
582 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
583
584 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 585
f5bf77df
GM
5862013-10-25 Glenn Morris <rgm@gnu.org>
587
588 * vc/vc.el (vc-print-log): Don't use a working revision unless
589 one was explicitly specified. (Bug#15322)
590
37241f62
SM
5912013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * subr.el (add-to-list): Preserve return value in compiler-macro
594 (bug#15692).
595
6408a65d
RS
5962013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
597
598 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
599 result. Ask user to retry using '-all' flag. (Bug#15701)
600
71e3276b
SM
6012013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * emacs-lisp/smie.el: New smie-config system.
604 (smie-config): New defcustom.
605 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
606 (smie-config-guess, smie-config-save): New commands.
607 (smie-config--mode-local, smie-config--buffer-local)
608 (smie-config--trace, smie-config--modefuns): New vars.
609 (smie-config--advice, smie-config--mode-hook)
610 (smie-config--setter, smie-config-local, smie-config--get-trace)
611 (smie-config--guess-value, smie-config--guess): New functions.
612 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
613 text properties. Treat "string fence" syntax like string syntax.
614
615 * progmodes/sh-script.el (sh-use-smie): Change default.
616 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
617 (sh-var-value): Simplify by CSE.
618 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
619 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
620 is used.
621 (sh-guess-basic-offset): Use cl-incf.
622 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
623
60db713e
HE
6242013-10-24 Helmut Eller <eller.helmut@gmail.com>
625
626 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
627 (bug#15699).
628
8b251df6
GM
6292013-10-24 Glenn Morris <rgm@gnu.org>
630
631 * Makefile.in (abs_top_srcdir): Remove.
632 (update-subdirs): Use relative path to update-subdirs.
633
6be0e22b
EZ
6342013-10-24 Eli Zaretskii <eliz@gnu.org>
635
636 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
637 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
638 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
639 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 640
50b5b857
MA
6412013-10-24 Michael Albinus <michael.albinus@gmx.de>
642
643 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
644 (ert-test-skipped): New error.
645 (ert-skip, ert-stats-skipped): New defuns.
646 (ert--skip-unless): New macro.
647 (ert-test-skipped): New struct.
648 (ert--run-test-debugger, ert-test-result-type-p)
649 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
650 (ert--stats-set-test-and-result, ert-char-for-test-result)
651 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 652 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 653 Handle skipped tests. (Bug#9803)
50b5b857 654
6f317c2f
GM
6552013-10-24 Glenn Morris <rgm@gnu.org>
656
e43817c1
GM
657 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
658
6f317c2f
GM
659 * Makefile.in (abs_top_srcdir): New, set by configure.
660 (update-subdirs): Correct build-aux location.
661
369bbf71
DG
6622013-10-24 Dmitry Gutov <dgutov@yandex.ru>
663
8297b2cf
DG
664 * vc/vc.el (vc-print-root-log): Always set `default-directory'
665 value, whether we could auto-deduce `backend', or not.
666
369bbf71
DG
667 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
668 with parameters" example. Simplify the "is it block or is it
669 hash" check, but also make it more thorough.
670
d5f1282f
MF
6712013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
672
673 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
674
bc4aaa31
SM
6752013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
676
03d44565
SM
677 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
678 { if it is hanging.
679
bc4aaa31
SM
680 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
681 :before ";".
682
f493ff19
JB
6832013-10-23 Jed Brown <jed@59A2.org> (tiny change)
684
685 * progmodes/compile.el (compilation-directory-matcher)
686 (compilation-page-delimiter):
687 Support GNU Make-4.0 directory quoting. (Bug#15678)
688
c744a3b9
LL
6892013-10-23 Leo Liu <sdl.web@gmail.com>
690
691 * ido.el (ido-tidy): Handle read-only text.
692
b8e3b0a9
GM
6932013-10-23 Glenn Morris <rgm@gnu.org>
694
695 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
696 (emacs, compile, compile-always):
697 Quote entities that might contain whitespace.
698 (custom-deps, finder-data, autoloads): Use abs_lisp.
699 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
700 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
701 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
702
ee4282cd
DG
7032013-10-23 Dmitry Gutov <dgutov@yandex.ru>
704
bc4aaa31
SM
705 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
706 Use `following-char'.
7790a270 707
ee4282cd 7082013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
709
710 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
711 * progmodes/ruby-mode.el (ruby-smie-rules):
712 Remove corresponding workaround. Fix indentation rule of ";" so it
713 also applies when ";" is the parent.
714
d40a46d7
XF
7152013-10-22 Xue Fuqiao <xfq.free@gmail.com>
716
717 * frame.el (display-screens, display-pixel-height)
718 (display-pixel-width, display-mm-width, display-backing-store)
719 (display-save-under, display-planes, display-color-cells)
7790a270
SM
720 (display-visual-class, display-monitor-attributes-list):
721 Mention the optional ‘display’ argument in doc strings.
d40a46d7 722
a0f143c9
MG
7232013-10-22 Michael Gauland <mikelygee@amuri.net>
724
725 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
726 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
727
18cacc39
DG
7282013-10-21 Dmitry Gutov <dgutov@yandex.ru>
729
730 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
731 TODO. Add "." after " @ ".
732 (ruby-smie--at-dot-call): New function. Checks if point at method
733 call with explicit target.
734 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
735 to the method name tokens when it precedes them.
736 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
737 (ruby-smie-rules): Add rule for indentation before and after "."
738 token.
739
df74c4be
SM
7402013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
741
c6dab55f
SM
742 * textmodes/remember.el (remember-diary-extract-entries):
743 Avoid add-to-list.
744
df74c4be
SM
745 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
746 an instruction.
747
8c1ae481
DG
7482013-10-21 Dmitry Gutov <dgutov@yandex.ru>
749
cfef16c0
DG
750 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
751 (ruby-smie--implicit-semi-p): Add new operator chars.
752
8c1ae481
DG
753 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
754 `smie-down-list'.
755 (ruby-smie--args-separator-p): Check that there's no newline
756 between method call and its arguments.
757
87756ca9
AM
7582013-10-20 Alan Mackenzie <acm@muc.de>
759
760 Allow comma separated lists after Java "implements".
761
df74c4be
SM
762 * progmodes/cc-engine.el (c-backward-over-enum-header):
763 Parse commas.
87756ca9
AM
764 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
765 from a "disallowed" list in enum fontification.
766
c25f8957
JB
7672013-10-20 Johan Bockgård <bojohan@gnu.org>
768
df74c4be 769 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 770
c25f8957
JB
771 * progmodes/verilog-mode.el (verilog-mode): Don't set
772 comment-indent-function globally.
773
aca5fcdc
JD
7742013-10-20 Jan Djärv <jan.h.d@swipnet.se>
775
5f161884
JD
776 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
777 Move Info menu item creation to ns-win.el.
778
779 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
780 in menu bar.
781
aca5fcdc
JD
782 * menu-bar.el: Move GNUStep specific menus...
783
784 * term/ns-win.el (ns-initialize-window-system): ... to here.
785
914b7f98
SM
7862013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
787
788 * simple.el (newline): Only run post-self-insert-hook when
789 called interactively.
790
846ffe77
JB
7912013-10-19 Johan Bockgård <bojohan@gnu.org>
792
793 * icomplete.el (icomplete-with-completion-tables): Add :version.
794
033f22dd
AM
7952013-10-19 Alan Mackenzie <acm@muc.de>
796
797 Fix fontification bugs with constructors and const.
798
799 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
800 CASE 2) Remove the check for the absence of a suffix construct
801 after a function declaration with only types (no identifiers) in
802 the parentheses. Also, accept a function declaration with just a
803 type inside the parentheses, if this type can be positively
804 recognised as such, or if a prefix keyword like "explicit" nails
805 down the construct as a declaration.
806
58ce0cfc
EZ
8072013-10-19 Eli Zaretskii <eliz@gnu.org>
808
809 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
810 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
811 the problem whereby selecting a menu item that leads to a
812 minibuffer prompt moves the cursor out of the minibuffer window,
813 making it hard to type at the prompt. Suggested by Stefan Monnier
814 <monnier@iro.umontreal.ca>.
815
50e28e7d
JD
8162013-10-19 Jan Djärv <jan.h.d@swipnet.se>
817
818 * menu-bar.el: Don't make Services menu.
819
7deed4bf
RS
8202013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
821
822 * ffap.el: Handle "/usr/include/c++/<version>" directories.
823 (ffap-alist): Use ffap-c++-mode for c++-mode.
824 (ffap-c++-path): New variable.
825 (ffap-c++-mode): New function.
826
7bcb455b
JVJ
8272013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
828
829 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
830
f0ff1cd5
MA
8312013-10-18 Michael Albinus <michael.albinus@gmx.de>
832
833 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
834 introduced on 2013-09-08, which results in an infinite loop
835 requesting a password.
836
d64da4b7
GM
8372013-10-18 Glenn Morris <rgm@gnu.org>
838
839 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
840
ea89ff08
WS
8412013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
842
843 Sync with upstream verilog-mode revision 1a6ecec7.
844 * progmodes/verilog-mode.el (verilog-mode-version): Update.
845 (verilog-mode-release-date): Remove.
846 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
847 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
848 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
849 (verilog-auto-tieoff-ignore-regexp)
850 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
851 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
852 (verilog-signals-with, verilog-dir-cache-preserving)
853 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
854 Doc fixes.
855 (verilog-case-fold): New option, to control case folding in
856 regexp searches, bug597.
857 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
858 (verilog-string-match-fold, verilog-in-paren-count)
859 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
860 (verilog-at-close-struct-p): New functions.
861 (verilog-beg-block-re-ordered, verilog-extended-case-re)
862 (verilog-forward-sexp, verilog-set-auto-endcomments):
863 (verilog-leap-to-case-head): Handle "unique0" case.
864 (verilog-in-constraint-re): New constant.
865 (verilog-keywords, verilog-type-font-keywords):
866 Add some SystemVerilog 1800-2012 keywords.
867 (verilog-label-be): Remove unimplemented argument, bug669.
868 (verilog-batch-execute-func): When batch expanding clear
869 create-lockfiles to prevent spurious user locks when a file ends
870 up not changing.
871 (verilog-calculate-indent, verilog-calc-1)
872 (verilog-at-close-constraint-p, verilog-at-constraint-p)
873 (verilog-do-indent): Fix indentation of nested constraints
874 and structures.
875 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
876 (verilog-auto-inst-param): Use verilog-string-match-fold.
877 (verilog-read-inst-module-matcher):
878 Fix AUTOINST on gate primitives with #1.
879 (verilog-read-decls): Fix double-declaring user-defined typed signals.
880 Reads all user-defined typed variables.
881 (verilog-read-defines): Fix reading definitions inside comments, bug647.
882 (verilog-signals-matching-regexp)
883 (verilog-signals-not-matching-regexp, verilog-auto):
884 Respect verilog-case-fold.
885 (verilog-diff-report): Fix line count.
886 (verilog-auto-assign-modport): Remove unused local `modi'.
887 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
888 better handle multidimensional arrays.
889 Fix packed array ports misadding bit index in AUTOINST, bug637.
890 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
891 to not double-declare existing outputs and inputs, respectively.
892 (verilog-template-map): Bind U to verilog-sk-uvm-component.
893 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
894 (verilog-sk-uvm-component): New skeleton.
895 (verilog-submit-bug-report): Add verilog-case-fold,
896 remove verilog-mode-release-date.
897
ef566920
BR
8982013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
899
900 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
901 as before.
902
29df8a0b
RT
9032013-10-18 Reuben Thomas <rrt@sc3d.org>
904
905 * textmodes/remember.el (remember): set buffer-offer-save in
906 remember buffers (bug#13566).
907
04a19a79
DC
9082013-10-18 Daniel Colascione <dancol@dancol.org>
909
910 When evaluating forms in ielm, direct standard output to ielm
911 buffer. Add new ielm-return-for-effect command. Remove trailing
912 whitespace throughout.
913
914 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
915 (ielm-return-for-effect): New command.
916 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
917 (ielm-eval-input): Accept optional `for-effect' parameter.
918 Bind `standard-output' to stream we create using
04a19a79
DC
919 `ielm-standard-output-impl'. Suppress printing result when
920 `for-effect'.
921 (ielm-standard-output-impl): New function.
922 (inferior-emacs-lisp-mode): Explain new features in documentation.
923
4c1f03ef
MA
9242013-10-17 Michael Albinus <michael.albinus@gmx.de>
925
926 Code cleanup.
927
928 * net/tramp.el (tramp-debug-message): Do not check for connection
929 buffer.
930 (tramp-message): Use "vector" connection property.
931
932 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
933 (tramp-equal-remote, tramp-eshell-directory-change)
934 * net/tramp-adb.el (tramp-adb-handle-copy-file)
935 (tramp-adb-handle-rename-file)
936 * net/tramp-cmds.el (tramp-list-remote-buffers)
937 (tramp-cleanup-connection, tramp-cleanup-this-connection)
938 * net/tramp-compat.el (tramp-compat-process-running-p)
939 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
940 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
941 (tramp-gvfs-handle-rename-file)
942 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
943 (tramp-set-file-uid-gid)
944 * net/tramp-smb.el (tramp-smb-handle-copy-file)
945 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
946 of `file-remote-p'.
947
948 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
949 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
950 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
951 (tramp-gw-open-network-stream): Suppress unrelated traces.
952
953 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
954 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
955 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
956 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
957 connection property.
958
959 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 960 persistency file.
4c1f03ef
MA
961
962 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
963 Refactor common code. Improve debug message.
964 (tramp-maybe-open-connection)
965 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
966 connection buffer too early.
967
968 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
969 from `tramp-smb-actions-with-acl'.
970 (tramp-smb-actions-set-acl): New defconst.
971 (tramp-smb-handle-copy-directory)
972 (tramp-smb-action-get-acl): New defun, renamed from
973 `tramp-smb-action-with-acl'.
974 (tramp-smb-action-set-acl): New defun.
975 (tramp-smb-handle-set-file-acl): Rewrite.
976
642eb8b6
GM
9772013-10-17 Glenn Morris <rgm@gnu.org>
978
979 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
980
85527ff3
SM
9812013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
982
921c1d62
SM
983 * skeleton.el (skeleton-newline): Remove.
984 (skeleton-internal-1): Use (insert "\n") instead.
985
e333fb10
SM
986 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
987 let-bindings.
988
85527ff3
SM
989 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
990 forward-sexp-function while we redo its job (bug#15613).
991
c8722a97
JB
9922013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
993
994 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
995 represented by lists.
996
7a550bbb
GM
9972013-10-16 Glenn Morris <rgm@gnu.org>
998
999 * tmm.el (tmm--history): New dynamic variable.
1000 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1001
f19da8ad
MA
10022013-10-16 Michael Albinus <michael.albinus@gmx.de>
1003
1004 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1005 (tramp-smb-errors): Add error messages.
1006 (tramp-smb-actions-with-acl): New defconst.
1007 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1008 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1009 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1010 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1011 (tramp-smb-get-stat-capability): Fix tests.
1012
a24b9961
DK
10132013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1014
1015 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1016 (bug#15580).
1017
62ad85e6
GM
10182013-10-16 Glenn Morris <rgm@gnu.org>
1019
0283d6b0
GM
1020 * ansi-color.el (ansi-color-drop-regexp):
1021 Add 1J, 1K, 2K. (Bug#15617)
1022
012e2f9f
GM
1023 * files.el (hack-local-variables--warned-lexical): New.
1024 (hack-local-variables):
1025 Warn about misplaced lexical-binding. (Bug#15616)
1026
62ad85e6
GM
1027 * net/eww.el (eww-render): Always set eww-current-url,
1028 and update header line. (Bug#15622)
1029 (eww-display-html): ... Rather than just doing it here.
1030
6456c0ea
EZ
10312013-10-15 Eli Zaretskii <eliz@gnu.org>
1032
1033 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1034 menu navigations commands.
1035
c2de5588
DK
10362013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1037
1038 * progmodes/subword.el (subword-capitalize): Be careful when
1039 the search for [[:alpha:]] fails (bug#15580).
1040
ccd4a783
EZ
10412013-10-14 Eli Zaretskii <eliz@gnu.org>
1042
1043 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1044 to commands that scroll the menu.
1045
1eda1d8d
DG
10462013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1047
c2de5588
DK
1048 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1049 Handle methods ending with `?' and `!'.
1eda1d8d 1050
e70181b8
AM
10512013-10-14 Akinori MUSHA <knu@iDaemons.org>
1052
1053 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1054 `japanese-cp932' to `cp932' to fix the problem where saving a
1055 source file written in Shift_JIS twice would end up having
1056 `coding: japanese-cp932' which Ruby could not recognize.
1057 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1058 in `ruby-encoding-map'.
1059 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1060 doesn't need to be explicitly declared in magic comment.
1061 (ruby-encoding-map): Add type declaration for better customize UI.
1062
9148ee92
GM
10632013-10-13 Glenn Morris <rgm@gnu.org>
1064
a5d38e34
GM
1065 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1066 Occur buffers are read-only. http://bugs.debian.org/720775
1067
9148ee92
GM
1068 * emacs-lisp/authors.el (authors-fixed-entries):
1069 Comment out old alpha stuff.
1070
a9ba094b
DG
10712013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1072
1073 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1074 to `after-save-hook' instead of `before-save-hook'.
1075 (ruby-mode-set-encoding): Use the value of coding system used to
1076 write the file. Call `basic-save-buffer-1' after modifying the
1077 buffer.
1078
7a068717
AM
10792013-10-13 Alan Mackenzie <acm@muc.de>
1080
1081 Fix indentation/fontification of Java enum with
1082 "implements"/generic.
1083
c2de5588
DK
1084 * progmodes/cc-engine.el (c-backward-over-enum-header):
1085 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1086 (c-inside-bracelist-p): Uses new function above.
1087 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1088 function above.
1089 (c-font-lock-enum-tail): Uses new function above.
1090
85b64f02
KH
10912013-10-13 Kenichi Handa <handa@gnu.org>
1092
1093 * international/mule-cmds.el (select-safe-coding-system): Remove a
1094 superfluous condition in chekcing whether a coding system is safe
1095 or not.
1096
fc7f501b
OK
10972013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1098
1099 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1100
fdcb2049
AP
11012013-10-13 Andreas Politz <politza@hochschule-trier.de>
1102
1103 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1104
8c106d17
GM
11052013-10-13 Glenn Morris <rgm@gnu.org>
1106
feab892d
GM
1107 * menu-bar.el (menu-bar-update-buffers):
1108 Unify Buffers menu prompt string. (Bug#15576)
1109
b22d0686
GM
1110 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1111
8c106d17
GM
1112 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1113 Add some entries.
1114 (authors-fixed-entries): Use accented form of name.
1115
1b12c797
SM
11162013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1117
650fa7bf 1118 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1119 method calls (bug#15594).
650fa7bf
SM
1120 (ruby-smie--args-separator-p): New function.
1121 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1122 recognize paren-free method calls.
1123
1b12c797
SM
1124 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1125 internals of universal-argument.
1126
029619c8
EZ
11272013-10-11 Eli Zaretskii <eliz@gnu.org>
1128
1129 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1130 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1131 dropped menu on second mouse click on the menu bar.
029619c8 1132
dd070019
SM
11332013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1134
1135 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1136 (explicit-shell-file-name): Declare.
1137 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1138 (sh-completion-at-point-function): New function.
1139 (sh-mode): Use it.
1140 (sh-smie--keyword-p): Remove unused argument.
1141 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1142 vars.
1143 (sh-set-shell): Always setup SMIE, even if we use the
1144 old indentation code.
1145
0922b826
DG
11462013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1147
b68e2926
DG
1148 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1149 cases of ? and =.
1150 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1151 predicate would return nil are almost non-existent.
1152 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1153
0922b826
DG
1154 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1155 cache also after commands that modify the buffer but don't move
1156 point.
1157
ee041f2d
SM
11582013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * env.el (substitute-env-in-file-name): New function.
1161 (substitute-env-vars): Extend the meaning of the optional arg.
1162
a5dab159
EZ
11632013-10-10 Eli Zaretskii <eliz@gnu.org>
1164
1165 * term/w32-win.el (dynamic-library-alist): Define separate lists
1166 of GIF DLLs for versions before and after 5.0.0 of giflib.
1167 (Bug#15531)
1168
db138698
JT
11692013-10-10 João Távora <joaotavora@gmail.com>
1170
1171 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1172 not locked, use last revision and current source as
1173 defaults. (Bug#15569)
1174
2f6e161e
MY
11752013-10-10 Masatake YAMATO <yamato@redhat.com>
1176
1177 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1178 menu-bar is hidden.
1179
6c8413fc
MR
11802013-10-10 Martin Rudalics <rudalics@gmx.at>
1181
1182 * window.el (pop-to-buffer-same-window): Fix doc-string.
1183 (Bug#15492)
1184
20832de0
SM
11852013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1186
1187 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1188
c6e8ae77
AC
11892013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1190
1191 * calendar/icalendar.el (icalendar-import-file):
1192 Fix interactive spec. (Bug#15482)
1193
9db13baf
GM
11942013-10-10 Glenn Morris <rgm@gnu.org>
1195
9271e90e
GM
1196 * desktop.el (desktop-save): Default to saving in .emacs.d,
1197 since PWD is no longer in desktop-path by default. (Bug#15319)
1198
9db13baf
GM
1199 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1200 now that text mode has a menu with the same entry.
1201 (menu-bar-text-mode-auto-fill): Remove now unused func.
1202 * textmodes/text-mode.el (text-mode-map):
1203 Use auto-fill help text from menu-bar.el.
1204
a0be396a 12052013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1206
1207 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1208
2edcd3c7
JL
12092013-10-09 Juri Linkov <juri@jurta.org>
1210
1211 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1212 instead of this-command-keys. Add universal-argument-more and
1213 universal-argument-minus to the list of prefix commands. (Bug#15568)
1214
574411d0
GM
12152013-10-09 Glenn Morris <rgm@gnu.org>
1216
14afa541
GM
1217 * vc/vc-svn.el (vc-svn-create-repo):
1218 Expand paths in file://... url. (Bug#15446)
1219
574411d0
GM
1220 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1221 Add some entries.
1222 (authors): Remove unused local variables.
1223
79804536
SM
12242013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * profiler.el: Create a more coherent calltree from partial backtraces.
1227 (profiler-format): Hide the tail with `invisible' so that C-s can still
1228 find the hidden elements.
1229 (profiler-calltree-depth): Don't recurse so enthusiastically.
1230 (profiler-function-equal): New hash-table-test.
1231 (profiler-calltree-build-unified): New function.
1232 (profiler-calltree-build): Use it.
1233 (profiler-report-make-name-part): Indent the calltree less.
1234 (profiler-report-mode): Add visibility specs for profiler-format.
1235 (profiler-report-expand-entry, profiler-report-toggle-entry):
1236 Expand the whole subtree when provided with a prefix arg.
1237
238150c8
DG
12382013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1239
1240 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1241 iuwu-mod token.
1242 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1243 hanging iuwu-mod token.
1244 (ruby-smie--forward-token): Do not include a dot after a token in
1245 that token.
1246 (ruby-smie--backward-token): Likewise.
1247
b0949cc4
JL
12482013-10-08 Juri Linkov <juri@jurta.org>
1249
1250 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1251 to isearch-other-control-char.
1252 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1253 and isearch-post-command-hook to post-command-hook.
1254 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1255 and isearch-post-command-hook from post-command-hook.
1256 (isearch-unread-key-sequence)
1257 (isearch-reread-key-sequence-naturally)
1258 (isearch-lookup-scroll-key, isearch-other-control-char)
1259 (isearch-other-meta-char): Remove functions.
1260 (isearch-pre-command-hook, isearch-post-command-hook):
1261 New functions based on isearch-other-meta-char rewritten
1262 relying on the new behavior of overriding-terminal-local-map
1263 that does not replace the local keymaps any more. (Bug#15200)
1264
4ed77415
EZ
12652013-10-08 Eli Zaretskii <eliz@gnu.org>
1266
1267 Support menus on text-mode terminals.
1268 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1269 functionality.
1270
1271 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1272
c2de5588
DK
1273 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1274 Move here from mouse.el.
4ed77415
EZ
1275 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1276 and arrow keys.
1277 (tty-menu-navigation-map): New map for TTY menu navigation.
1278
1279 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1280
1281 * frame.el (display-mouse-p): Report text-mode mouse as available
1282 on w32.
1283 (display-popup-menus-p): Report availability if mouse is
1284 available; don't condition on window-system.
1285
1286 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1287 (tty-menu-selected-face): New faces.
1288
b7d5bd82
TL
12892013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1290
06286513
SM
1291 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1292 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1293 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1294 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1295 New constants.
1296 (lisp-mode-variables): New `elisp' argument.
1297 (emacs-lisp-mode): Use it.
1298 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1299 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1300
b7d5bd82
TL
1301 * indent.el: Use lexical-binding.
1302 (indent-region): Add progress reporter.
1303 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1304 last step.
1305 (indent--next-tab-stop): New function to implement this behavior.
1306 (tab-to-tab-stop, move-to-tab-stop): Use it.
1307
13082013-10-08 Teemu Likonen <tlikonen@iki.fi>
1309
1310 * indent.el (indent-rigidly--current-indentation): New function.
1311 (indent-rigidly-map): New var.
1312 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1313
5ea75d23
BG
13142013-10-08 Bastien Guerry <bzg@gnu.org>
1315
1316 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1317
cc5da1ec
SM
13182013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1319
8ffa1a0b
SM
1320 * progmodes/perl-mode.el: Use lexical-binding.
1321 Remove redundant :group args.
1322 (perl-nochange): Change default to be closer to other major modes's
1323 standard behavior.
1324 (perl-indent-line): Don't consider text on current line as a
1325 valid beginning of function from which to indent.
1326
f2223371
SM
1327 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1328 with more than one argument (bug#15538).
1329
44256060
SM
1330 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1331
cc5da1ec
SM
1332 * vc/pcvs.el: Use lexical-binding.
1333 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1334 environment of `eval'.
1335 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1336 than a list of expressions. Adjust callers.
1337 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1338
0ea1599d
DG
13392013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1340
1341 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1342 case of the dot in a chained method call being on the following line.
0ea1599d 1343
da3e5ebb
SM
13442013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1345
2abb4e65
SM
1346 * electric.el (electric-indent-inhibit): New var.
1347 (electric-indent-post-self-insert-function): Use it.
1348 * progmodes/python.el (python-mode): Set it.
1349
d2e0e795
SM
1350 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1351 open braces.
1352
1353 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1354
bdc6b4c8
SM
1355 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1356 (css-mode): Use electric-indent-chars.
1357
da3e5ebb
SM
1358 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1359 (font-lock-beg, font-lock-end): Move before first use.
1360 (nxml-mode): Use syntax-propertize-function.
1361 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1362 (nxml-extend-after-change-region): Remove.
1363 * nxml/xmltok.el: Use lexical-binding.
1364 (xmltok-save): Use `declare'.
1365 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1366 * nxml/nxml-util.el: Use lexical-binding.
1367 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1368 Use `declare'.
1369 * nxml/nxml-ns.el: Use lexical-binding.
1370 (nxml-ns-save): Use `declare'.
1371 (nxml-ns-prefixes-for): Avoid add-to-list.
1372 * nxml/rng-match.el: Use lexical-binding.
1373 (rng--ipattern): Use cl-defstruct.
1374 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1375 (rng-cons-group-after, rng-subst-group-after)
1376 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1377 Use closures instead of `(lambda...).
1378
f8f91d5d
MA
13792013-10-07 Michael Albinus <michael.albinus@gmx.de>
1380
1381 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1382 of BEG and END.
1383
da3e5ebb
SM
1384 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1385 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1386 (tramp-gvfs-handle-insert-file-contents): Remove function.
1387
da3e5ebb
SM
1388 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1389 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1390
1391 * net/trampver.el: Update release number.
1392
7ccae3b1
SM
13932013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1394
55ca2c0d
SM
1395 * progmodes/compile.el (compilation-parse-errors):
1396 Use compilation--put-prop.
1397 (compilation--ensure-parse): Check compilation-multiline.
1398
731fc3ae
SM
1399 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1400
da3e5ebb
SM
1401 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1402 lexical-binding.
a5833280 1403
2e7ba2c2
SM
1404 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1405
7ccae3b1
SM
1406 * progmodes/ruby-mode.el: Fix recently added tests.
1407 (ruby-smie-grammar): Add - and +.
1408 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1409 (ruby-smie--backward-id): New functions.
1410 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1411 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1412 any more.
1413
85698d63
LL
14142013-10-07 Leo Liu <sdl.web@gmail.com>
1415
1416 * register.el (register-preview-delay)
1417 (register-preview-functions): New variables.
1418 (register-read-with-preview, register-preview)
1419 (register-describe-oneline): New functions.
1420 (point-to-register, window-configuration-to-register)
1421 (frame-configuration-to-register, jump-to-register)
1422 (number-to-register, view-register, insert-register)
1423 (copy-to-register, append-to-register, prepend-to-register)
1424 (copy-rectangle-to-register): Use register-read-with-preview to
1425 read register. (Bug#15525)
1426
3986af6c
DS
14272013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1428
1429 * net/network-stream.el (network-stream-open-starttls): Don't add
1430 --insecure if it's already present, because that gnutls-cli
1431 rejects getting that parameter twice.
1432
5cd9cda9
DG
14332013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1434
1435 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1436 keyword, too.
1437
da9ea6d9
DG
14382013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1439
1440 * newcomment.el (comment-use-global-state): Change default value
1441 to t, mark obsolete (Bug#15251).
1442 (comment-beginning): In addition to `comment-to-syntax', check the
1443 value of `comment-use-global-state'.
1444
34d1a133
SM
14452013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1448 (ruby-comment-column): Follow the global default, by default.
1449 (ruby-smie-grammar): Add assignment syntax.
1450 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1451 open-paren, a comma, or a \.
1452 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1453 and line continuations.
1454 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1455 followed by implicit semi-colons. Add rule for string concatenation
1456 and for indentation at BOB.
1457 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1458
1459 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1460 calling next-sexp, since next-token may have skipped chars which
1461 next-sexp doesn't know should be skipped!
1462
6f6ab820
LL
14632013-10-05 Leo Liu <sdl.web@gmail.com>
1464
34d1a133
SM
1465 * progmodes/octave.el (octave-send-region):
1466 Call compilation-forget-errors.
6f6ab820 1467
34ca0f4c
XF
14682013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1469
1470 * vc/vc-svn.el (vc-svn-find-admin-dir):
1471 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1472 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1473 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1474 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1475
a27c1b72
SM
14762013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1479
258ab3bc
SM
14802013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * subr.el (read-passwd): Hide chars even when called within a context
1483 where after-change-functions is disabled (bug#15501).
1484 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1485 until we removed ourself from overriding-terminal-local-map.
1486
939fb29c
LL
14872013-10-04 Leo Liu <sdl.web@gmail.com>
1488
258ab3bc
SM
1489 * progmodes/octave.el (inferior-octave-mode):
1490 Call compilation-forget-errors.
939fb29c 1491
63bd7f35
XF
14922013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1493
1494 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1495
9e6229fa
MA
14962013-10-04 Michael Albinus <michael.albinus@gmx.de>
1497
1498 * net/secrets.el (secrets-create-collection): Add optional
1499 argument ALIAS. Use proper Label keyword. Append ALIAS as
1500 dbus-call-method argument. (Bug#15516)
1501
1dab32a3
LL
15022013-10-04 Leo Liu <sdl.web@gmail.com>
1503
1504 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1505 (inferior-octave-compilation-font-lock-keywords): New variables.
1506 (compilation-error-regexp-alist)
1507 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1508 (inferior-octave-mode): Use compilation-shell-minor-mode.
1509
6cad7ba3
JS
15102013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1511
1512 * minibuffer.el (completion--replace): Be careful that `end' might be
1513 a marker.
1514
acbadd00
DU
15152013-10-03 Daiki Ueno <ueno@gnu.org>
1516
1517 Add support for package signature checking.
1518 * emacs-lisp/package.el (url-http-file-exists-p)
1519 (epg-make-context, epg-context-set-home-directory)
1520 (epg-verify-string, epg-context-result-for)
1521 (epg-signature-status, epg-signature-to-string)
1522 (epg-check-configuration, epg-configuration)
1523 (epg-import-keys-from-file): Declare.
1524 (package-check-signature): New user option.
1525 (package-unsigned-archives): New user option.
1526 (package-desc): Add `signed' field.
1527 (package-load-descriptor): Set `signed' field if .signed file exists.
1528 (package--archive-file-exists-p): New function.
1529 (package--check-signature): New function.
1530 (package-install-from-archive): Check package signature.
1531 (package--download-one-archive): Check archive signature.
1532 (package-delete): Remove .signed file.
1533 (package-import-keyring): New command.
1534 (package-refresh-contents): Import default keyring.
1535 (package-desc-status): Add "unsigned" status.
1536 (describe-package-1, package-menu--print-info)
1537 (package-menu-mark-delete, package-menu--find-upgrades)
1538 (package-menu--status-predicate): Support "unsigned" status.
1539
adf2aa61
SM
15402013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1541
1542 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1543 the new compilation scheme using the new byte-codes.
1544
1545 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1546 (byte-pophandler): New byte codes.
1547 (byte-goto-ops): Adjust accordingly.
1548 (byte-compile--use-old-handlers): New var.
1549 (byte-compile-catch): Use new byte codes depending on
1550 byte-compile--use-old-handlers.
1551 (byte-compile-condition-case--old): Rename from
1552 byte-compile-condition-case.
1553 (byte-compile-condition-case--new): New function.
1554 (byte-compile-condition-case): New function that dispatches depending
1555 on byte-compile--use-old-handlers.
1556 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1557 when we can.
1558
1559 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1560 Optimize under `condition-case' and `catch' if
1561 byte-compile--use-old-handlers is nil.
1562 (disassemble-offset): Handle new bytecodes.
1563
328a8179
SM
15642013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 * subr.el (error): Use `declare'.
1567 (decode-char, encode-char): Use advertised-calling-convention instead
1568 of the docstring to discourage use of the `restriction' arg.
1569
15a1e936
DU
15702013-10-03 Daiki Ueno <ueno@gnu.org>
1571
1572 * epg.el (epg-verify-file): Add a comment saying that it does not
1573 notify verification error as a return value nor a signal.
1574 (epg-verify-string): Ditto.
1575
376f862a
KR
15762013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1577
1578 * progmodes/compile.el (compilation-start): Try globbing the arg to
1579 `cd' (bug#15417).
1580
a2f93a5f
MA
15812013-10-02 Michael Albinus <michael.albinus@gmx.de>
1582
1583 Sync with Tramp 2.2.8.
1584
1585 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1586 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1587 * net/trampver.el: Update release number.
1588
0daa0804
JD
15892013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1590
1591 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1592 and default-process-coding-system for darwin only.
1593
abd1ae34
SM
15942013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1595
1596 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1597
be4e325d
MH
15982013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1599
1600 * vc/vc-git.el (vc-git-grep): Disable pager.
1601
e9155c4a
DG
16022013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1603
494e898b
DG
1604 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1605 Use :url instead of :homepage, as per
1606 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1607
e9155c4a
DG
1608 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1609 non-nil, use `syntax-ppss' (Bug#15251).
1610
481a8e0f
RS
16112013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1612
be4e325d
MH
1613 * progmodes/octave.el (inferior-octave-startup-file):
1614 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1615
056453c6
DG
16162013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1617
be4e325d
MH
1618 * emacs-lisp/package.el (package-desc-from-define):
1619 Accept additional arguments as plist, convert them to an alist and store
1620 them in the `extras' slot.
056453c6
DG
1621 (package-generate-description-file): Convert extras alist back to
1622 plist and append to the `define-package' form arguments.
1623 (package--alist-to-plist): New function.
1624 (package--ac-desc): Add `extras' slot.
1625 (package--add-to-archive-contents): Check if the archive-contents
1626 vector is long enough, and if it is, pass its `extras' slot value
1627 to `package-desc-create'.
1628 (package-buffer-info): Call `lm-homepage', pass the returned value
1629 to `package-desc-from-define'.
1630 (describe-package-1): Render the homepage button (Bug#13291).
1631
be4e325d
MH
1632 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1633 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1634
832966e5
JD
16352013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1636
1637 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1638 and default-process-coding-system to utf-8-unix (Bug#15402).
1639
6cfe977d
XF
16402013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1641
1642 * subr.el (looking-back): Do not recommend using looking-back.
1643
38de11bd
AM
16442013-09-28 Alan Mackenzie <acm@muc.de>
1645
1646 Fix indentation/fontification of Java enum with "implements".
1647
1648 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1649 regexp which matches "implements", etc., in Java.
1650 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1651 specifier clauses coming after "enum".
1652 * progmodes/cc-fonts.el (c-font-lock-declarations)
1653 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1654 after "enum".
1655
1610938f
JD
16562013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1657
1658 * faces.el (region): Change ns_selection_color to
1659 ns_selection_fg_color, add ns_selection_bg_color.
1660
e090f499
LL
16612013-09-28 Leo Liu <sdl.web@gmail.com>
1662
4d2e94d1
LL
1663 * progmodes/octave.el (inferior-octave-completion-table)
1664 (inferior-octave-completion-at-point): Minor tweaks.
1665
e090f499
LL
1666 * textmodes/ispell.el (ispell-lookup-words): Rename from
1667 lookup-words. (Bug#15460)
1668 (lookup-words): Obsolete.
1669 (ispell-complete-word, ispell-command-loop): All uses changed.
1670
7e138a62
RS
16712013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1672
1673 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1674 (octave-mode-menu): Add octave-send-buffer.
1675 (octave-send-buffer): New function.
1676
5af5ed08
RS
16772013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1678
1679 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1680 octave-lookfor.
1681 (octave-mode-menu): Add octave-lookfor.
1682 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1683 octave-lookfor.
1684 (octave-lookfor): New function.
1685
3b7b2692
SM
16862013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * emacs-lisp/cl-macs.el:
1689 (cl--loop-destr-temps): Remove.
1690 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1691 its convention.
1692 (cl--loop-set-iterator-function): New function.
1693 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1694 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1695 Bind `it' with `let' instead of substituting it with `cl-subst'.
1696 (cl--unused-var-p): New function.
1697 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1698 Eliminate some unused variable warnings (bug#15326).
1699
529fb53f
TH
17002013-09-27 Tassilo Horn <tsdh@gnu.org>
1701
1702 * doc-view.el (doc-view-scale-reset): Rename from
1703 `doc-view-reset-zoom-level'.
1704 (doc-view-scale-adjust): New command.
1705 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1706 `doc-view-scale-adjust'.
1707
0550c95a
TH
17082013-09-26 Tassilo Horn <tsdh@gnu.org>
1709
1710 * doc-view.el (doc-view-reset-zoom-level): New command.
1711 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1712 zoom commands (bug#15466).
1713
6950f152
KH
17142013-09-26 Kenichi Handa <handa@gnu.org>
1715
1716 * international/quail.el (quail-help): Make it not a command.
1717
39587580
LL
17182013-09-26 Leo Liu <sdl.web@gmail.com>
1719
1720 * minibuffer.el (completion-all-sorted-completions): Make args
1721 optional as they are.
1722
00578659
DC
17232013-09-25 Daniel Colascione <dancol@dancol.org>
1724
1725 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1726 specs are and that they're not evaluated.
1727
0c173878
SS
17282013-09-24 Sam Steingold <sds@gnu.org>
1729
1730 * midnight.el (clean-buffer-list-kill-regexps)
1731 (clean-buffer-list-kill-buffer-names): Update for the new Man
1732 buffer naming which includes the object name.
1733
84998447
SM
17342013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1737 (eshell-parse-command, eshell-parse-pipeline): Use it since
1738 eshell-separate-commands requires a dynamic scoped var.
1739 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1740
33215353
LL
17412013-09-23 Leo Liu <sdl.web@gmail.com>
1742
1743 * autoinsert.el (auto-insert-alist): Make the value of
1744 lexical-binding match its file setting.
1745
57b16162
JB
17462013-09-23 Juanma Barranquero <lekktu@gmail.com>
1747
c8af4e67
JB
1748 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1749
57b16162
JB
1750 * autoarg.el (autoarg-kp-digit-argument):
1751 * electric.el (Electric-command-loop):
1752 * kmacro.el (kmacro-step-edit-insert):
1753 Do not set universal-argument-num-events.
1754
7186ba60
LL
17552013-09-22 Leo Liu <sdl.web@gmail.com>
1756
1757 * files.el (interpreter-mode-alist): Add octave.
1758
ece15004
AM
17592013-09-21 Alan Mackenzie <acm@muc.de>
1760
1761 C++: fontify identifier in declaration following "public:" correctly.
1762 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1763 to match "public", etc.
1764 (c-decl-prefix-re): Add ":" into the C++ value.
1765 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1766 bit. Add a check for a ":" preceded by "public", etc.
1767
75d83e22
EZ
17682013-09-21 Eli Zaretskii <eliz@gnu.org>
1769
1770 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1771 recognized by GDB 7.5 and later.
1772
d052d3bd
XF
17732013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1774
1775 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1776
31dca772
R
17772013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1778
1779 * subr.el (internal--call-interactively): New const.
1780 (called-interactively-p): Use it (bug#3984).
1781
98ccf24e
XF
17822013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1783
1784 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1785 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1786 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1787
c39cc7d1
SM
17882013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1791 (eshell-ls-orig-insert-directory): Remove.
1792 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1793 (eshell-ls-use-in-dired): Use advice-add/remove.
1794 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1795 Add `orig-fun' arg for use in :around advice.
1796 Make it check (redundantly) eshell-ls-use-in-dired.
1797
9a0289a2
GM
17982013-09-19 Glenn Morris <rgm@gnu.org>
1799
a2c501b8
GM
1800 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1801
c440407a
GM
1802 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1803
9a0289a2
GM
1804 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1805
85e05915
MA
18062013-09-19 Michael Albinus <michael.albinus@gmx.de>
1807
1808 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1809 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1810 (tramp-get-remote-python): New defuns.
1811 (tramp-get-remote-uid-with-perl)
1812 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1813 contributed by yary <not.com@gmail.com> (tiny change).
1814 (tramp-get-remote-uid-with-python)
1815 (tramp-get-remote-gid-with-python): New defuns. Python code
1816 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1817 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1818
ce503312
GM
18192013-09-19 Glenn Morris <rgm@gnu.org>
1820
f7544773
GM
1821 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1822
72fd2877
GM
1823 * eshell/em-unix.el (eshell-remove-entries):
1824 Rename argument to avoid name-clash with global `top-level'.
1825
336b5a56
GM
1826 * eshell/esh-proc.el (eshell-kill-process-function):
1827 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1828 (eshell-reset-after-proc): Remove unused arg `proc'.
1829
57a3a53d
GM
1830 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1831 (directory-files-and-attributes): Mark unused arg.
1832
3261d4af
GM
1833 * eshell/em-unix.el (eshell-remove-entries):
1834 Remove unused arg `path'. Update callers.
1835
8e51b5d0
GM
1836 * eshell/em-hist.el (eshell-hist-parse-arguments):
1837 Remove unused arg `silent'. Update callers.
1838
ce503312
GM
1839 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1840 Fix (f)boundp mix-up.
1841
1842 * eshell/em-smart.el (eshell-smart-scroll-window)
1843 (eshell-disable-after-change):
336b5a56 1844 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1845
ee3ce8a7
AM
18462013-09-18 Alan Mackenzie <acm@muc.de>
1847
1848 Fix fontification of type when followed by "const".
1849 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1850 "known" types from fontification.
1851
ec9177ba
GM
18522013-09-18 Glenn Morris <rgm@gnu.org>
1853
7bb3e768
GM
1854 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1855 (chart-face-list): Drop Emacsen without display-color-p.
1856
5148da15
GM
1857 * net/eww.el (libxml-parse-html-region): Declare.
1858 (eww-display-html): Explicit error if no libxml2 support.
1859
2f68e157
GM
1860 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1861
9019d095
GM
1862 * image.el (image-type-from-buffer, image-multi-frame-p):
1863 Remove --without-x warning/error.
67645389 1864
5f30349b 1865 * mouse.el (mouse-yank-primary):
45069b2e 1866 * term.el (term-mouse-paste):
5f30349b
GM
1867 Reorder to silence --without-x compilation.
1868
cd8edbbe
GM
1869 * mpc.el (doc-view-mode): Silence --without-x compilation.
1870
8a78544e
GM
1871 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1872 Silence --without-x compilation.
1873
12679bfd
GM
1874 * progmodes/gud.el (gud-find-file, gud-mode):
1875 Silence --without-x compilation.
1876 (tooltip-mode): Declare.
30810a05 1877
f0047cb9
GM
1878 * wdired.el (dired-backup-overwrite): Remove declaration.
1879 (wdired-mode-map): Add doc string.
1880
e740f9d2
GM
1881 * custom.el (x-get-resource): Declare.
1882
92d77c89
GM
1883 * eshell/em-glob.el (ange-cache):
1884 * eshell/em-unix.el (ange-cache): Declare.
1885
76e69577
GM
1886 * faces.el (x-display-list, x-open-connection, x-get-resource):
1887 Declare.
7e58af4b
GM
1888
1889 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1890 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1891 Declare.
76e69577 1892
4bd4c0af 1893 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1894
ffb82dbd
GM
1895 * net/gnutls.el (gnutls-log-level): Declare.
1896
986ed135
GM
1897 * net/shr.el (image-size, image-animate): Declare.
1898
e740f9d2
GM
1899 * simple.el (font-info): Declare.
1900
d2f3e9f8
GM
1901 * subr.el (x-popup-dialog): Declare.
1902
047a1a4c
GM
1903 * term/common-win.el (x-select-enable-primary)
1904 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1905 Declare.
1906
f4a1d572
GM
1907 * term/ns-win.el (x-handle-args): Declare.
1908
e843de77
GM
1909 * term/x-win.el (x-select-enable-clipboard): Declare.
1910
5fa89513
GM
1911 * term/w32-win.el (create-default-fontset): Declare.
1912
38702b5b
GM
1913 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1914 Declare.
1915
e740f9d2
GM
1916 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1917 (fit-frame-to-buffer): Explicit error if --without-x.
1918 (mouse-autoselect-window-select): Silence compiler.
1919
49a053fc
GM
1920 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1921
1922 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1923 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1924 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1925 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1926 Remove unused local variables.
1927
1928 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1929
ec9177ba
GM
1930 * textmodes/two-column.el: Make 2C-split work for --without-x.
1931 (scroll-bar-columns): Autoload.
1932 (top-level): Require fringe when compiling.
1933
9f25cb77
LL
19342013-09-18 Leo Liu <sdl.web@gmail.com>
1935
1936 * subr.el (add-hook): Robustify to handle closure as well.
1937
2b42da98
GM
19382013-09-17 Glenn Morris <rgm@gnu.org>
1939
1940 * simple.el (messages-buffer-mode-map): Unbind "g".
1941
e8b66a6a
SM
19422013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1943
9c0ad4f7
SM
1944 * help-mode.el (help-mode-finish): Use derived-mode-p.
1945 Remove obsolete highlighting.
1946
7a806dfb
SM
1947 * play/life.el (life-mode): Use define-derived-mode. Derive from
1948 special-mode.
1949 (life): Let-bind inhibit-read-only.
1950 (life-setup): Avoid `setq'. Use `life-mode'.
1951
96dbf5a8
SM
1952 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1953 which should not be needed any more.
1954 (package-menu-refresh, package-menu-describe-package): Use user-error.
1955
e8b66a6a
SM
1956 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1957 (eshell-post-rewrite-command-hook): Make obsolete.
1958 (eshell-parse-command): Simplify.
1959 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1960 (eshell--cmd): Declare.
1961 (eshell-parse-pipeline): Remove unused var `final-p'.
1962 Pass a dynvar to eshell-post-rewrite-command-hook.
1963 Implement the new eshell-post-rewrite-command-function.
1964 (eshell-invoke-directly): Remove unused arg `input'.
1965 * eshell/esh-io.el (eshell-io-initialize):
1966 Use eshell-post-rewrite-command-function (bug#15399).
1967 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1968 adjust to new calling convention.
1969 (eshell-create-handles): Rename args to avoid clashing with dynvar
1970 `standard-output'.
1971
90582f05
GM
19722013-09-17 Glenn Morris <rgm@gnu.org>
1973
1974 * simple.el (messages-buffer-mode): New major mode.
1975 (messages-buffer): New function.
1976 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1977 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1978 (ert-run-test): Use `messages-buffer' function.
90582f05 1979 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1980 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1981 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1982
39eb0cb5 19832013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1984
1985 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1986
1f1e06e2
SM
1987 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1988
70568a90
SM
19892013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1990
504a0381
SM
1991 * icomplete.el (icomplete-in-buffer): New var.
1992 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1993 vars and replace them with functions.
1994 (icomplete-minibuffer-setup): Adjust accordingly.
1995 (icomplete--completion-table, icomplete--completion-predicate)
1996 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1997 New functions.
1998 (icomplete-forward-completions, icomplete-backward-completions)
1999 (icomplete-simple-completing-p, icomplete-exhibit)
2000 (icomplete-completions): Use them.
2001 (icomplete--in-region-buffer): New var.
2002 (icomplete--in-region-setup): New function.
2003 (icomplete-mode): Use it.
2004
70568a90
SM
2005 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2006 (bug#15379).
2007 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2008 return args and options.
2009 (eshell-eval-using-options): Use the new return value of
2010 eshell--do-opts to set the options's vars in their scope.
2011 (eshell--set-option): Rename from eshell-set-option.
2012 Add arg `opt-vals'.
2013 (eshell--process-option): Rename from eshell-process-option.
2014 Add arg `opt-vals'.
2015 (eshell--process-args): Use an `opt-vals' alist to store the options's
2016 values during their processing and return them additionally to the
2017 remaining args.
2018
578c21bc
DG
20192013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2020
2021 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2022 continuation character an operator, as far as indentation is
2023 concerned (Bug#15369).
2024
c089653d
MR
20252013-09-15 Martin Rudalics <rudalics@gmx.at>
2026
2027 * window.el (window--state-put-2): Don't process buffer state
2028 when buffer doesn't exist any more (Bug#15382).
2029
1e53bb4b
GM
20302013-09-15 Glenn Morris <rgm@gnu.org>
2031
30753242
GM
2032 * eshell/em-unix.el (eshell/rm):
2033 Make -f ignore missing files. (Bug#15373)
2034
1e53bb4b
GM
2035 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2036 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2037 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2038
0d8863b3
GM
20392013-09-14 Glenn Morris <rgm@gnu.org>
2040
2041 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2042
d3fc6549
GM
20432013-09-13 Glenn Morris <rgm@gnu.org>
2044
2045 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2046 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2047
fcd42c11
DA
20482013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2049
2050 * frame.el (x-focus-frame): Mark as declared in frame.c.
2051
7830899f
SM
20522013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2053
2054 * ls-lisp.el: Use advice-add.
2055 (original-insert-directory): Remove.
2056 (ls-lisp--insert-directory): Rename from insert-directory; add
2057 `orig-fun' argument.
2058 (insert-directory): Advise.
2059
84387cd2
EZ
20602013-09-13 Eli Zaretskii <eliz@gnu.org>
2061
2062 * term.el (term-emulate-terminal): Decode the command string
2063 before passing it to term-command-hook. (Bug#15337)
2064
35ffc6ba
GM
20652013-09-13 Glenn Morris <rgm@gnu.org>
2066
5c3f9bcc
GM
2067 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2068
2ada368a
GM
2069 * eshell/esh-ext.el (eshell-search-path): Declare.
2070
fcef2e13
GM
2071 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2072 Otherwise an error occurs if eshell-dirs module not loaded.
2073
35ffc6ba
GM
2074 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2075
35c3d36e
MA
20762013-09-13 Michael Albinus <michael.albinus@gmx.de>
2077
2078 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2079 `tramp-check-proper-host'. Check for a valid method name.
2080
2081 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2082 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2083 * net/tramp-sh.el (tramp-maybe-open-connection):
2084 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2085
2086 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2087 also for hash values.
2088
ae5e4c48
SM
20892013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2090
379add74
SM
2091 * term/ns-win.el (parameters): Don't declare as dynamic.
2092 (before-make-frame-hook): Don't add ineffective function.
2093
ae5e4c48
SM
2094 * eshell/*.el: Use lexical-binding (bug#15231).
2095
b5623270
KH
20962013-09-12 Kenichi Handa <handa@gnu.org>
2097
ae5e4c48 2098 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2099
30213927
GM
21002013-09-12 Glenn Morris <rgm@gnu.org>
2101
be94d713 2102 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2103 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2104
44915370
GM
2105 * subr.el (do-after-load-evaluation): Also give compiler warnings
2106 when obsolete files are used (except by obsolete files).
2107
a6ae021f
GM
2108 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2109 in the status output, assume `filename' is the first. (Bug#15322)
2110
40e64f0c
GM
2111 * vc/vc.el (vc-deduce-fileset): Doc fix.
2112
16d9f896
GM
2113 * calc/calc-help.el (Info-goto-node):
2114 * progmodes/cperl-mode.el (Info-find-node):
2115 * vc/ediff.el (Info-goto-node): Update declarations.
2116
dea01c6e
GM
2117 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2118
759880bf 2119 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2120 (vc-bzr-pull): Require vc-dispatcher.
2121 * vc/vc-git.el (vc-compilation-mode): Declare.
2122 (vc-git-pull): Require vc-dispatcher.
2123
08d66420
GM
2124 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2125
30b626e9
GM
2126 * progmodes/octave.el (help-button-action): Declare.
2127
8c05cb10
GM
2128 * shell.el (shell-directory-tracker): Output error as a message
2129 rather than just returning it as a string.
2130 (shell-process-pushd): Remove useless use of message.
2131
30213927
GM
2132 * dframe.el (dframe-timer-fn):
2133 * files.el (dir-locals-read-from-file):
2134 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2135 (mpc-format):
2136 * reveal.el (reveal-post-command):
2137 * saveplace.el (load-save-place-alist-from-file):
2138 * shell.el (shell-resync-dirs):
2139 * w32-common-fns.el (x-get-selection-value):
2140 * emacs-lisp/copyright.el (copyright-find-copyright):
2141 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2142 * emulation/tpu-edt.el (tpu-copy-keyfile):
2143 * play/bubbles.el (bubbles--mark-neighbourhood):
2144 * progmodes/executable.el
2145 (executable-make-buffer-file-executable-if-script-p):
2146 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2147
d3b049e6
SM
21482013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2149
170266d0
SM
2150 Cleanup Eshell to rely less on dynamic scoping.
2151 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2152 last-value, and ext-command here. Bind `args' closer to `body'.
2153 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2154 (eshell--args): Declare new dynamic var.
2155 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2156 last-value, and ext-command. Pass `args' to `body'.
2157 (eshell-process-args): Bind eshell--args.
2158 (eshell-set-option): Use eshell--args.
2159 * eshell/eshell.el (eshell): Use derived-mode-p.
2160 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2161 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2162 (eshell-glob-function): Declare.
2163 * eshell/esh-util.el: Require cl-lib.
2164 (eshell-read-hosts-file): Avoid add-to-list.
2165 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2166 `err'.
2167 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2168 Declare.
2169 (eshell/diff): Remove unused var `err'.
2170 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2171 `killflag'.
2172 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2173 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2174 first use.
2175 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2176 Move declaration before first use.
2177 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2178 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2179 rely on cl-return.
2180
56834f3b
GM
21812013-09-12 Glenn Morris <rgm@gnu.org>
2182
2183 * term/ns-win.el (global-map): Remove binding for ispell-next,
2184 deleted 1999-05-29. (Bug#15357)
2185
5c91a2b8
GM
21862013-09-11 Glenn Morris <rgm@gnu.org>
2187
da712f22
GM
2188 * echistory.el (electric-command-history): Remove call to deleted func.
2189
512e4cdc
GM
2190 * play/landmark.el (landmark-mode): Fix typos.
2191
d3506ca5
GM
2192 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2193 Check cvs-sort-ignore-file is bound.
2194
5c91a2b8
GM
2195 * savehist.el: No need for cl when compiling on Emacs.
2196
feeff482
SM
21972013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2198
656bd483
SM
2199 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2200 (bug#15338).
d3b049e6
SM
2201 (eshell-self-insert-command, eshell-send-invisible):
2202 Remove unused argument.
656bd483
SM
2203 (eshell-handle-control-codes): Remove unused var `orig'.
2204 Avoid delete-backward-char.
2205
feeff482
SM
2206 * files.el (set-auto-mode): Simplify a bit further.
2207
2a08047a
GM
22082013-09-11 Glenn Morris <rgm@gnu.org>
2209
2210 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2211 (set-auto-mode): Don't regexp-quote elements.
2212 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2213 * progmodes/cc-mode.el (interpreter-mode-alist):
2214 * progmodes/ruby-mode.el (interpreter-mode-alist):
2215 Revert previous change.
2216
34675540
SM
22172013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2218
1b3b87df
SM
2219 * play/snake.el (snake-mode):
2220 * play/mpuz.el (mpuz-mode):
2221 * play/landmark.el (lm-mode):
2222 * play/blackbox.el (blackbox-mode):
2223 * play/5x5.el (5x5-mode):
2224 * obsolete/options.el (Edit-options-mode):
2225 * net/quickurl.el (quickurl-list-mode):
2226 * net/newst-treeview.el (newsticker-treeview-mode):
2227 * mail/rmailsum.el (rmail-summary-mode):
2228 * mail/mspools.el (mspools-mode):
2229 * locate.el (locate-mode):
2230 * ibuffer.el (ibuffer-mode):
2231 * emulation/ws-mode.el (wordstar-mode):
2232 * emacs-lisp/debug.el (debugger-mode):
2233 * array.el (array-mode):
2234 * net/eudc.el (eudc-mode): Use define-derived-mode.
2235 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2236 Move initialization into declaration.
2237 (mairix-searches-mode): Use define-derived-mode.
2238 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2239 (eudc-edit-hotlist): Use dolist.
2240 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2241 (Man-mode): Use define-derived-mode.
2242 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2243 (Info-edit-mode): Use define-derived-mode.
2244 (Info-cease-edit): Use Info-mode.
2245 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2246 into declaration.
2247 (eshell-mode): Use define-derived-mode.
2248 * chistory.el (command-history-mode-map): Rename from
2249 command-history-map.
2250 (command-history-mode): Use define-derived-mode.
da712f22 2251 (Command-history-setup): Remove function.
1b3b87df
SM
2252 * calc/calc.el (calc-trail-mode-map): New var.
2253 (calc-trail-mode): Use define-derived-mode.
2254 (calc-trail-buffer): Set calc-main-buffer manually.
2255 * bookmark.el (bookmark-insert-annotation): New function.
2256 (bookmark-edit-annotation): Use it.
2257 (bookmark-edit-annotation-mode): Make it a proper major mode.
2258 (bookmark-send-edited-annotation): Use derived-mode-p.
2259 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2260 closer to its ideal place. Use \' to match EOS.
2261
34675540
SM
2262 * profiler.el (profiler-calltree-find): Use function-equal.
2263
6a5c15d9
GM
22642013-09-10 Glenn Morris <rgm@gnu.org>
2265
1af4c220
GM
2266 * files.el (interpreter-mode-alist): Convert to regexps.
2267 (set-auto-mode): Adapt for this. (Bug#15306)
2268 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2269 Comment out unused variable.
2270 * progmodes/cc-mode.el (interpreter-mode-alist):
2271 * progmodes/python.el (interpreter-mode-alist):
2272 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2273 * progmodes/sh-script.el (sh-set-shell):
2274 No longer use interpreter-mode-alist to get list of shells.
2275
6a5c15d9
GM
2276 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2277
8c27f5ff
SM
22782013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2279
02ef6c1a 2280 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2281 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2282 Bind switch-frame explicitly. Replace universal-argument-minus with
2283 a conditional binding.
2284 (universal-argument-num-events, saved-overriding-map): Remove.
2285 (restore-overriding-map): Remove.
2286 (universal-argument--mode): Rename from save&set-overriding-map,
2287 and rewrite.
2288 (universal-argument, universal-argument-more, negative-argument)
2289 (digit-argument): Adjust accordingly.
2290 (universal-argument-minus): Remove.
2291 (universal-argument-other-key): Remove.
2292
8c27f5ff
SM
2293 * subr.el (with-demoted-errors): Add `format' argument.
2294
6480194c
MA
22952013-09-10 Michael Albinus <michael.albinus@gmx.de>
2296
2297 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2298 `tramp-cleanup-connection'.
2299
2300 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2301 parameters KEEP-DEBUG and KEEP-PASSWORD.
2302
2303 * net/tramp.el (tramp-file-name-handler):
2304 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2305 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2306 (tramp-maybe-open-connection):
8c27f5ff
SM
2307 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2308 Use `tramp-cleanup-connection'.
6480194c 2309
8c27f5ff
SM
2310 * net/tramp-sh.el (tramp-maybe-open-connection):
2311 Catch 'uname-changed inside the progress reporter.
6480194c 2312
e5e916d8
GM
23132013-09-10 Glenn Morris <rgm@gnu.org>
2314
9a2c9b47
GM
2315 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2316
e5e916d8
GM
2317 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2318 returns "alternate access method" in mode (eg "-rw-r--r--.").
2319
144e38fe
GM
23202013-09-08 Glenn Morris <rgm@gnu.org>
2321
2322 * saveplace.el (load-save-place-alist-from-file):
2323 Demote errors. (Bug#15305)
2324
af9ff9e8
MA
23252013-09-08 Michael Albinus <michael.albinus@gmx.de>
2326
2327 Improve compatibility with older Emacsen, and XEmacs.
2328
2329 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2330 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2331 (with-tramp-progress-reporter): Do not let-bind `result'.
2332 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2333 (tramp-handle-make-auto-save-file-name): New function, moved from
2334 tramp-sh.el.
2335
2336 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2337 for `make-auto-save-file-name'.
8c27f5ff
SM
2338 (tramp-adb--gnu-switches-to-ash):
2339 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2340
2341 * net/tramp-cache.el (tramp-cache-print): Call
2342 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2343
2344 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2345 bound. It isn't for XEmacs.
2346
8c27f5ff
SM
2347 * net/tramp-compat.el (tramp-compat-copy-file):
2348 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2349 (tramp-compat-replace-regexp-in-string): New defun.
2350
2351 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2352 for `make-auto-save-file-name'.
2353 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2354 `copy-file'.
2355 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2356 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2357 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2358
8c27f5ff
SM
2359 * net/tramp-gw.el (tramp-gw-open-network-stream):
2360 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2361
8c27f5ff
SM
2362 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2363 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2364 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2365 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2366 (tramp-sh-file-inotifywait-process-filter):
2367 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2368 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2369
2370 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2371 for `make-auto-save-file-name'.
8c27f5ff
SM
2372 (tramp-smb-handle-copy-directory):
2373 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2374 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2375 (tramp-smb-handle-copy-file): Improve error message.
2376 (tramp-smb-handle-rename-file): Rename directly only in case
2377 `newname' does not exist yet. This is a restriction of smbclient.
2378 (tramp-smb-maybe-open-connection): Rerun the function only when
2379 `auth-sources' is non-nil.
2380
0ca754d0
KH
23812013-09-08 Kenichi Handa <handa@gnu.org>
2382
2383 * international/characters.el: Set category "^" (Combining) for
2384 more characters.
2385
e8dd0787
AM
23862013-09-07 Alan Mackenzie <acm@muc.de>
2387
2388 Correctly fontify Java class constructors.
2389 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2390 in Java Mode.
2391 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2392 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2393 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2394 "typeless" declaration there.
2395
f2f248e7
RW
23962013-09-07 Roland Winkler <winkler@gnu.org>
2397
2398 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2399 field subtitle for entry type book.
2400
67982e2b
SM
24012013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * minibuffer.el: Make minibuffer-complete call completion-in-region
2404 rather than other way around.
2405 (completion--some, completion-pcm--find-all-completions):
2406 Don't delay signals when debugging.
2407 (minibuffer-completion-contents): Beware fields within the
2408 minibuffer contents.
2409 (completion-all-sorted-completions): Use defvar-local.
2410 (completion--do-completion, completion--cache-all-sorted-completions)
2411 (completion-all-sorted-completions, minibuffer-force-complete):
2412 Add args `beg' and `end'.
2413 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2414 (minibuffer-complete): Use completion-in-region.
2415 (completion-complete-and-exit): New fun, extracted from
2416 minibuffer-complete-and-exit.
2417 (minibuffer-complete-and-exit): Use it.
2418 (completion--complete-and-exit): Rename from
2419 minibuffer--complete-and-exit.
2420 (completion-in-region--single-word): New function, extracted from
2421 minibuffer-complete-word.
2422 (minibuffer-complete-word): Use it.
2423 (display-completion-list): Make `common-substring' argument obsolete.
2424 (completion--in-region): Call completion--in-region-1 instead of
2425 minibuffer-complete.
2426 (completion-help-at-point): Pass boundaries to
2427 minibuffer-completion-help as args rather than via an overlay.
2428 (completion-pcm--string->pattern): Use `any-delim'.
2429 (completion-pcm--optimize-pattern): New function.
2430 (completion-pcm--pattern->regex): Handle `any-delim'.
2431 * icomplete.el (icomplete-forward-completions)
2432 (icomplete-backward-completions, icomplete-completions):
2433 Adjust calls to completion-all-sorted-completions and
2434 completion--cache-all-sorted-completions.
2435 (icomplete-with-completion-tables): Default to t.
2436 * emacs-lisp/crm.el (crm--current-element): Rename from
2437 crm--select-current-element. Don't put an overlay but return the
2438 boundaries instead.
2439 (crm--completion-command): Take two new args to bind to the boundaries.
2440 (crm-completion-help): Adjust accordingly.
2441 (crm-complete): Use completion-in-region.
2442 (crm-complete-word): Use completion-in-region--single-word.
2443 (crm-complete-and-exit): Use completion-complete-and-exit.
2444
e17d94a5
SM
24452013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2448 than dynamically.
2449
96727100
JL
24502013-09-06 Juri Linkov <juri@jurta.org>
2451
2452 * info.el (Info-display-images-node): When image file doesn't exist
2453 display text version of the image if it's provided in the Info file.
2454 Otherwise, display the location of missing image from SRC attribute.
2455 Add help-echo text property from ALT attribute. (Bug#15279)
2456
86cf7329
SM
24572013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2458
2459 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2460 (edit-abbrevs-mode): Use define-derived-mode.
2461
2462 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2463 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2464 that it's defined.
2465 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2466 Use define-derived-mode.
2467
2468 * epg.el (epg-start-encrypt): Minor CSE simplification.
2469
816244a2
WX
24702013-09-06 William Xu <william.xwl@gmail.com>
2471
2472 * arc-mode.el: Add support for 7za (bug#15264).
2473 (archive-7z-program): New var.
2474 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2475 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2476 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2477
1486fa31
MA
24782013-09-06 Michael Albinus <michael.albinus@gmx.de>
2479
2480 Remove URL syntax.
2481
2482 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2483 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2484 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2485 (tramp-postfix-host-format, tramp-file-name-regexp)
2486 (tramp-completion-file-name-regexp)
2487 (tramp-completion-dissect-file-name)
2488 (tramp-handle-substitute-in-file-name): Remove 'url case.
2489 (tramp-file-name-regexp-url)
2490 (tramp-completion-file-name-regexp-url): Remove constants.
2491
39785324
GM
24922013-09-06 Glenn Morris <rgm@gnu.org>
2493
2494 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2495
1f896cb7
DG
24962013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2497
2498 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2499 keywords" below "here-doc beginnings" (Bug#15270).
2500
c0458e0b
SM
25012013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * subr.el (pop): Use `car-safe'.
2504 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2505 to detect unused `pop' return value.
2506
2507 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2508 var `block-regexp'.
2509 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2510 (python-fill-string): Remove unused var `marker'.
2511 (python-skeleton-add-menu-items): Remove unused var `items'.
2512
2513 * international/mule-cmds.el: Require CL.
2514 (find-coding-systems-for-charsets): Avoid add-to-list.
2515 (sanitize-coding-system-list): New function, extracted from
2516 select-safe-coding-system-interactively.
2517 (select-safe-coding-system-interactively): Use it.
2518 (read-input-method-name): Accept symbols for `default'.
2519
2520 * emacs-lisp/advice.el (defadvice): Add indent rule.
2521
6c42fc3e
DH
25222013-09-05 Daniel Hackney <dan@haxney.org>
2523
2524 * dired-x.el:
2525 * net/ange-ftp.el:
2526 * net/browse-url.el:
2527 * net/dbus.el:
2528 * net/eudc.el:
2529 * net/eudcb-ldap.el:
2530 * net/eww.el:
2531 * net/imap.el:
2532 * printing.el:
2533 * vc/ediff-diff.el:
2534 * vc/ediff-init.el:
2535 * vc/ediff-merg.el:
2536 * vc/ediff-mult.el:
2537 * vc/ediff-util.el:
2538 * vc/ediff-wind.el:
2539 * vc/ediff.el:
2540 * vc/emerge.el:
2541 * vc/pcvs.el:
2542 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2543 byte compiler. Remove some unused let-bound variables.
2544
4c528aab
SM
25452013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2548 a "ref-cell", since it gets better optimized (bug#14883).
2549
bd15c390
GM
25502013-09-05 Glenn Morris <rgm@gnu.org>
2551
2552 * progmodes/cc-awk.el (c-forward-sws): Declare.
2553
1c3ac2e5
GM
25542013-09-04 Glenn Morris <rgm@gnu.org>
2555
2556 * generic-x.el [rul-generic-mode]: Require cc-mode.
2557 (c++-mode-syntax-table): Declare.
2558 (rul-generic-mode-syntax-table): Init in the defvar.
2559
52b1cc79
SM
25602013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2561
c828af56
SM
2562 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2563 (vc-do-command, vc-set-async-update):
2564 * vc/vc-mtn.el (vc-mtn-dir-status):
2565 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2566 (vc-hg-pull, vc-hg-merge-branch):
2567 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2568 (vc-git-merge-branch):
2569 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2570 (vc-cvs-dir-status-files):
2571 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2572 (vc-bzr-dir-status-files):
2573 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2574 * vc/vc-annotate.el: Use lexical-binding.
2575 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2576 (vc-sentinel-movepoint): Declare.
2577 (vc-annotate): Don't use `goto-line'.
2578 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2579 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2580 (vc-sentinel-movepoint): Declare.
2581 * vc/vc-svn.el: Use lexical-binding.
2582 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2583 * vc/vc-sccs.el:
2584 * vc/vc-rcs.el: Use lexical-binding.
2585
abae272c
SM
2586 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2587 `deleted'. Don't drop errors silently.
2588
52b1cc79
SM
2589 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2590
63191d9f
XF
25912013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2592
2593 * vc/vc.el (vc-ignore): Rewrite.
2594 (vc-default-ignore): New function.
2595 (vc-default-ignore-completion-table): Use find-ignore-file.
2596
2597 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2598 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2599 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2600 Remove. Most code moved to vc.el.
2601
9d3f707c
SM
26022013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2603
abae272c 2604 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2605 * net/tramp-smb.el (tramp-smb-get-file-entries):
2606 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2607 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2608
fde38d49
SM
2609 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2610 Update call to it.
2611 (eww-change-select): Remove unused var `properties'.
2612 (eww-make-unique-file-name): Remove unused var `base'.
2613
2614 * finder.el (finder-compile-keywords): Don't mess with windows.
2615
84032db7
SM
2616 * calculator.el (calculator-funcall): Fix typo in last change.
2617
724f5e41
SM
2618 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2619
14b511d4
SM
2620 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2621 <pkg>-autoloads.el file stop us.
2622
9d3f707c 2623 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2624 warnings, and factor out common code.
9d3f707c 2625
88527bc0
DG
26262013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2627
2628 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2629 two-character operators and whether the character preceding them
2630 changes their meaning (Bug#15208).
2631
96edb677
FEG
26322013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2633
2634 Format code sent to Python shell for robustness.
9d3f707c
SM
2635 * progmodes/python.el (python-shell-buffer-substring):
2636 New function.
96edb677
FEG
2637 (python-shell-send-region, python-shell-send-buffer): Use it.
2638
95beaef3
MA
26392013-09-02 Michael Albinus <michael.albinus@gmx.de>
2640
2641 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2642 * net/tramp.el (tramp-user-error): ... here.
2643 (tramp-find-method, tramp-check-proper-host)
2644 (tramp-dissect-file-name, tramp-debug-message)
2645 (tramp-handle-shell-command):
2646 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2647 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2648
2649 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2650
f167c27b
MR
26512013-09-02 Martin Rudalics <rudalics@gmx.at>
2652
2653 * avoid.el (mouse-avoidance-point-position)
2654 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2655 returns nil.
2656
cd16c5f1
FEG
26572013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2658
2659 * progmodes/python.el (python-shell-completion-get-completions):
2660 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2661 (python-nav-if-name-main): New command.
cd16c5f1 2662
e73c3a0d
GM
26632013-09-01 Glenn Morris <rgm@gnu.org>
2664
f8ccce03
GM
2665 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2666 Avoid leading space in $wins. Otherwise the sed command used by
2667 eg compile-main ends up containing "/*.el". (Bug#15170)
2668
e73c3a0d
GM
2669 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2670
415f808e
GM
26712013-08-30 Glenn Morris <rgm@gnu.org>
2672
2673 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2674 Fix is-this-a-directory logic. (Bug#15220)
2675
f069bba8
SM
26762013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2677
112798c1
SM
2678 * textmodes/css-mode.el: Use SMIE.
2679 (css-smie-grammar): New var.
2680 (css-smie--forward-token, css-smie--backward-token)
2681 (css-smie-rules): New functions.
2682 (css-mode): Use them.
2683 (css-navigation-syntax-table): Remove var.
2684 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2685 (css-indent-calculate, css-indent-line): Remove functions.
2686
2687 Misc changes to reduce use of `(lambda...); and other cleanups.
2688 * cus-edit.el: Use lexical-binding.
2689 (customize-push-and-save, customize-apropos)
2690 (custom-buffer-create-internal): Use closures.
2691 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2692 * progmodes/ada-xref.el: Use setq.
2693 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2694 * dframe.el: Use lexical-binding.
2695 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2696 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2697 * descr-text.el: Use lexical-binding.
2698 (describe-text-widget, describe-text-sexp, describe-property-list):
2699 Use closures.
2700 * comint.el (comint-history-isearch-push-state): Use a closure.
2701 * calculator.el: Use lexical-binding.
2702 (calculator-number-to-string): Make it work with lexical-binding.
2703 (calculator-funcall): Same and use cl-letf.
2704
2da4c3ab
SM
2705 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2706 (lisp--company-doc-string, lisp--company-location): New functions.
2707 (lisp-completion-at-point): Use them to improve Company support.
2708
f069bba8
SM
2709 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2710 params of lambda expressions.
2711 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2712 (ruby-smie--opening-pipe-p): New function.
2713 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2714 symbols and matched |...| for formal params.
2715 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2716 from being treated as hanging. Handle "rescue".
2717
6758b6a8
GM
27182013-08-29 Glenn Morris <rgm@gnu.org>
2719
2720 * progmodes/cc-engine.el (c-pull-open-brace):
2721 Move definition before use.
2722
e8dfd197
SM
27232013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2726 are immutable. Don't use `unsafe' any more.
2727 (cl--defsubst-expand): Don't substitute at the same time as keeping
2728 a residual unused let-binding. Don't use `unsafe' any more.
2729
cc585c96
GM
27302013-08-29 Glenn Morris <rgm@gnu.org>
2731
ba579ea6
GM
2732 * calendar/cal-china.el (calendar-chinese-year-cache):
2733 Recenter on 2015.
2734
8201a87e
GM
2735 * nxml/nxml-util.el (nxml-debug-clear-inside):
2736 Use cl-loop rather than loop.
2737
6ee877c7
GM
2738 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2739
cc585c96
GM
2740 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2741
27be8d39
GM
27422013-08-28 Glenn Morris <rgm@gnu.org>
2743
397440a1
GM
2744 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2745
2bb762d4
GM
2746 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2747
27be8d39
GM
2748 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2749
2d69b99e
SM
27502013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2751
f663baa7
SM
2752 * simple.el (repeat-complex-command--called-interactively-skip):
2753 New function.
2754 (repeat-complex-command): Use it (bug#14136).
2755
dd4f8b74
SM
2756 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2757 (c-define-abbrev-table): Add `doc' argument.
2758 (c-mode-abbrev-table, c++-mode-abbrev-table)
2759 (objc-mode-abbrev-table, java-mode-abbrev-table)
2760 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2761 (awk-mode-abbrev-table): Use it.
2762 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2763 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2764 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2765 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2766 Move initialization into the declaration; and remove any
2767 autoload cookie.
2768
b58969f7
SM
2769 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2770 and dynamic let binding.
2771
4021d6a6
SM
2772 * vc/smerge-mode.el: Remove redundant :group args.
2773
2d69b99e
SM
2774 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2775 to load-path.
2776
274919fd
JL
27772013-08-28 Juri Linkov <juri@jurta.org>
2778
2779 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2780 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2781 (isearch-other-meta-char): Handle an undefined shifted printing
2782 character by downshifting it. (Bug#15200)
2783
121f8c95
JL
27842013-08-28 Juri Linkov <juri@jurta.org>
2785
2786 * isearch.el (isearch-search): Change regexp error message for
2787 non-regexp searches. (Bug#15166)
2788
50b13cde
PE
27892013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2790
2791 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2792 for portability to hosts where /bin/sh has problems.
2793
95888bca
SM
27942013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2797
bbe558f1
JL
27982013-08-27 Juri Linkov <juri@jurta.org>
2799
2800 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2801 in the keyboard macro. (Bug#15126)
2802
26f98a7d
JL
28032013-08-27 Juri Linkov <juri@jurta.org>
2804
2805 * isearch.el (isearch-quote-char): Comment out converting unibyte
2806 to multibyte, thus syncing with its `quoted-insert' counterpart.
2807 (Bug#15166)
2808
7c97d35e
MR
28092013-08-27 Martin Rudalics <rudalics@gmx.at>
2810
2811 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2812 argument in call of get-largest-window (Bug#15185).
2813 Reported by Stephen Leake.
7c97d35e 2814
a0b5606e 28152013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2816
2817 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2818
9e89d835
SM
28192013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2820
2821 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2822 from a matcher-function unless there's no more matches (bug#15161).
2823
78fc2530
MA
28242013-08-26 Michael Albinus <michael.albinus@gmx.de>
2825
2826 * minibuffer.el: Revert change from 2013-08-20.
2827
2828 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2829 with text property `tramp-default', if appropriate.
2830 (tramp-check-proper-host): New defun.
2831 (tramp-dissect-file-name): Do not check hostname. Revert change
2832 of 2013-03-18.
2833 (tramp-backtrace): Make VEC-OR-PROC optional.
2834
2835 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2836 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2837 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2838 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2839 Apply `tramp-check-proper-host'.
78fc2530 2840
edca97cd
TH
28412013-08-26 Tassilo Horn <tsdh@gnu.org>
2842
2843 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2844 lambda expression in order to have `describe-variable' display it.
2845
df54bcbd
MA
28462013-08-26 Michael Albinus <michael.albinus@gmx.de>
2847
2848 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2849 BUF can be optional. (Bug#15186)
2850
eed99101
XF
28512013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2852
2853 * progmodes/flymake.el (flymake-get-real-file-name-function):
2854 Fix broken customization. (Bug#15184)
2855
b5eb9035
AM
28562013-08-25 Alan Mackenzie <acm@muc.de>
2857
8a51e842
AM
2858 Improve indentation of bracelists defined by macros (without "=").
2859
2860 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2861 expansion begins with "{", regard it as bracelist when it doesn't
2862 contain a ";".
2863
869455d4
AM
2864 Parse C++ inher-intro when there's a template split over 2 lines.
2865
2866 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2867 rigorously the search for "class" etc. followed by ":".
2868
2869 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2870 random languages a regexp which never matches rather than nil.
2871
b5eb9035
AM
2872 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2873
2874 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2875 (c-awk-regexp-one-line-possibly-open-char-list-re)
2876 (c-awk-one-line-possibly-open-regexp-re)
2877 (c-awk-one-line-non-syn-ws*-re): Remove.
2878 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2879 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2880 (c-awk-space*-unclosed-regexp-/-re): New constants.
2881 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2882 aren't regexp delimiters.
2883
2884 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2885 handling for a rare situation in AWK Mode involving unterminated
2886 strings/regexps.
2887
61611d54
GM
28882013-08-23 Glenn Morris <rgm@gnu.org>
2889
2d85dc34
GM
2890 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2891
cb8d2612
GM
2892 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2893
bb35f42f
GM
2894 * files.el (create-file-buffer): If the result would begin with
2895 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2896
b9808e77
SM
28972013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2898
e3a66363
SM
2899 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2900 text-properties (bug#15155).
2901
b9808e77
SM
2902 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2903 exist any more.
2904 (calc-keypad-redraw): Remove unused var `pad'.
2905 (calc-keypad-press): Remove unused var `menu'.
2906
7fd5f65e
MR
29072013-08-23 Martin Rudalics <rudalics@gmx.at>
2908
b9808e77
SM
2909 * window.el (display-buffer-pop-up-frame):
2910 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2911 use it as the new frame's buffer (Bug#15133).
2912
8352b530
SM
29132013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2914
2915 * calendar/timeclock.el: Minor cleanups.
2916 (timeclock-ask-before-exiting, timeclock-use-display-time):
2917 Use `symbol'.
2918 (timeclock-modeline-display): Define as alias before the
2919 actual definition.
2920 (timeclock-mode-line-display): Use define-minor-mode.
2921 (timeclock-day-list-template): Make it a function, add an argument.
2922 (timeclock-day-list-required, timeclock-day-list-length)
2923 (timeclock-day-list-debt, timeclock-day-list-span)
2924 (timeclock-day-list-break): Adjust calls accordingly.
2925
9f7b1925
SM
29262013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2929 Use read--expression so that completion works again.
2930
6e50e983
SS
29312013-08-21 Sam Steingold <sds@gnu.org>
2932
2933 Add rudimentary inferior shell interaction
2934 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2935 (sh-set-shell): Reset it.
9f7b1925
SM
2936 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2937 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2938
dbb0d350
SM
29392013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * align.el: Use lexical-binding.
2942 (align-region): Simplify accordingly.
2943
c88586a9
MA
29442013-08-20 Michael Albinus <michael.albinus@gmx.de>
2945
2946 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2947
2948 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2949 `non-essential' up.
2950
f95527c8
MA
29512013-08-17 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * net/tramp.el:
2954 * net/tramp-adb.el:
2955 * net/tramp-cmds.el:
2956 * net/tramp-ftp.el:
2957 * net/tramp-gvfs.el:
2958 * net/tramp-gw.el:
2959 * net/tramp-sh.el: Don't wrap external variable declarations by
2960 `eval-when-compile'.
2961
4b5fe4ee
LMI
29622013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2963
2964 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2965 now that Emacs supports ImageMagick animations.
2966
13c366c9
MA
29672013-08-16 Michael Albinus <michael.albinus@gmx.de>
2968
2969 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2970 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2971
3dfc5cd6
MR
29722013-08-16 Martin Rudalics <rudalics@gmx.at>
2973
2974 * window.el (mouse-autoselect-window-select): Do autoselect when
2975 mouse pointer is on margin.
2976
4bbb4381
WP
29772013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2978
2979 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2980
3a2ddc2d
GM
29812013-08-16 Glenn Morris <rgm@gnu.org>
2982
e8bedf5a
GM
2983 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2984 Handle "Remote Directory" response of some clients. (Bug#15058)
2985
58c4682f
GM
2986 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2987 Tweak warning. (Bug#14926)
2988
57953f49
GM
2989 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2990 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2991
3a2ddc2d
GM
2992 * image-mode.el (image-mode-map): Add menu items to reverse,
2993 increase, decrease, reset animation speed.
2994 (image--set-speed, image-increase-speed, image-decrease-speed)
2995 (image-reverse-speed, image-reset-speed): New functions.
2996 (image-mode-map): Add bindings for speed commands.
2997
2998 * image.el (image-animate-get-speed, image-animate-set-speed):
2999 New functions.
3000 (image-animate-timeout): Respect image :speed property.
3001
10fa0ed3
SM
30022013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3005 previous line (bug#15101).
3006 (debugger-eval-expression, debugger-record-expression):
3007 Use read--expression (bug#15102).
3008
5d89d9d2
MA
30092013-08-15 Michael Albinus <michael.albinus@gmx.de>
3010
3011 Remove byte compiler warnings, visible when compiling with
3012 `byte-compile-force-lexical-warnings' set to t.
3013
3014 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3015 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3016 (tramp-handle-unhandled-file-name-directory)
3017 (tramp-handle-file-notify-add-watch, tramp-action-login)
3018 (tramp-action-succeed, tramp-action-permission-denied)
3019 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3020 arguments with "_".
3021
3022 * net/tramp-adb.el (tramp-adb-parse-device-names)
3023 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3024 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3025 (tramp-adb-handle-file-truename): Remove unused arguments.
3026
3027 * net/tramp-cache.el (tramp-flush-directory-property)
3028 (tramp-flush-connection-property, tramp-list-connections)
3029 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3030
10fa0ed3
SM
3031 * net/tramp-compat.el (tramp-compat-make-temp-file):
3032 Rename FILENAME to F.
5d89d9d2
MA
3033
3034 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3035 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3036 (tramp-zeroconf-parse-workstation-device-names)
3037 (tramp-zeroconf-parse-webdav-device-names)
3038 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3039
3040 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3041 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3042
3043 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3044 arguments.
3045 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3046 (tramp-sh-handle-insert-file-contents-literally)
3047 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3048 with "_".
3049 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3050 Remove unused variables.
3051
3052 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3053 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3054 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3055
3056 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3057 Make them a defconst.
3058 (tramp-uuencode-region): Remove unused variable.
3059
62f33bae
JB
30602013-08-14 Juanma Barranquero <lekktu@gmail.com>
3061
3062 * frameset.el (frameset--prop-setter): New function.
3063 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3064 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3065 parameter was already set in FILTERED. Doc fix.
3066 (frameset--record-minibuffer-relationships): Allow saving a
3067 minibufferless frame without its corresponding minibuffer frame.
3068 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3069 frame, if the frame id matches.
3070 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3071 frames before orphaned ones.
3072 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3073
c660a885
MR
30742013-08-14 Martin Rudalics <rudalics@gmx.at>
3075
3076 * window.el (window-make-atom): Don't overwrite parameter
3077 already present.
3078 (display-buffer-in-atom-window): Handle special case where we
3079 split an already atomic window.
3080 (window--major-non-side-window, display-buffer-in-side-window)
3081 (window--side-check): Ignore minibuffer window when walking
3082 window tree.
3083 (window-deletable-p): Return 'frame only if no other frame uses
3084 our minibuffer window.
3085 (record-window-buffer): Run buffer-list-update-hook.
3086 (split-window): Make sure window--check-frame won't destroy an
3087 existing atomic window in case the new window gets nested
3088 inside.
3089 (display-buffer-at-bottom): Ignore minibuffer window when
3090 walking window tree. Don't split a side window.
3091 (pop-to-buffer): Don't set-buffer here, the select-window call
3092 should do that.
3093 (mouse-autoselect-window-select): Autoselect only if we are in the
3094 text portion of the window.
3095
8259030d
LMI
30962013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3097
21c58ae2
LMI
3098 * net/shr.el (shr-parse-image-data): New function to grab both the
3099 data itself and the Content-Type.
3100 (shr-put-image): Use it.
3101
3102 * net/eww.el (eww-display-image): Ditto.
3103
8259030d
LMI
3104 * image.el (image-content-type-suffixes): New variable.
3105
ad756449
FEG
31062013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3107
3108 * progmodes/python.el (python-imenu--build-tree)
3109 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3110
f73f4ce6
XF
31112013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3112
3113 * simple.el (backward-word): Mention the optional argument.
3114
1f585e65
SM
31152013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * frameset.el (frameset--make): Rename constructor from make-frameset.
3118 (frameset-p, frameset-valid-p): Don't autoload.
3119 (frameset-valid-p): Use normal accessors.
3120
af1c6c84
GM
31212013-08-13 Glenn Morris <rgm@gnu.org>
3122
55e47f95
GM
3123 * progmodes/compile.el (compile-command): Tweak example in doc.
3124 * obsolete/scribe.el (scribe-mode):
3125 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3126
f0024d8c
GM
3127 * mail/feedmail.el (feedmail-confirm-outgoing)
3128 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3129
3130 * cus-start.el (truncate-partial-width-windows): Fix type.
3131
3132 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3133
af1c6c84
GM
3134 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3135
5514cc4c
SM
31362013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * emacs-lisp/timer.el (timer--time-setter): New function.
3139 (timer--time): Use it as gv-setter.
3140
3141 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3142 setter is not a symbol.
3143
7997a2f1
GJ
31442013-08-12 Grégoire Jadi <daimrod@gmail.com>
3145
3146 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3147 if sending fails. This makes debugging easier.
3148
01f1a9ab
JB
31492013-08-12 Juanma Barranquero <lekktu@gmail.com>
3150
3151 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3152 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3153 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3154
594a4307
EZ
31552013-08-12 Eli Zaretskii <eliz@gnu.org>
3156
3157 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3158
7a22490f 31592013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3160
3161 * format.el (format-annotate-function):
3162 Handle read-only text properties in the source. (Bug#14887)
3163
3e41a054
LMI
31642013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3165
5514cc4c
SM
3166 * net/eww.el (eww-display-html): Ignore coding system errors.
3167 One web site uses "utf-8lias" as the coding system.
3e41a054 3168
7ec326db
JB
31692013-08-11 Juanma Barranquero <lekktu@gmail.com>
3170
3171 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3172
5660113b
JB
31732013-08-10 Juanma Barranquero <lekktu@gmail.com>
3174
9a4ebc74
JB
3175 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3176 (tutorial--detailed-help): Remove unused local variables.
3177 (tutorial--save-tutorial-to): Use ignore-errors.
3178 (help-with-tutorial): Use looking-at-p.
3179
3180 * view.el (view-buffer-other-window, view-buffer-other-frame):
3181 Mark unused arguments.
3182
3183 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3184 (woman-select-symbol-fonts, woman, woman-find-file)
3185 (woman-insert-file-contents, woman-non-underline-faces):
3186 Use string-match-p.
3187 (woman1-unquote): Move declaration.
3188
3189 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3190 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3191 argument. Remove unused local variable.
3192 (xml-parse-elem-type): Use string-match-p.
3193 (xml-substitute-numeric-entities): Use ignore-errors.
3194
45fdb482
JB
3195 * calculator.el (calculator): Mark unused argument.
3196 (calculator-paste, calculator-quit, calculator-integer-p):
3197 Use ignore-errors.
3198 (calculator-string-to-number, calculator-decimal, calculator-exp)
3199 (calculator-op-or-exp): Use string-match-p.
3200
3201 * dired.el (dired-buffer-more-recently-used-p): Declare.
3202 (dired-insert-set-properties, dired-insert-old-subdirs):
3203 Use ignore-errors.
3204
3205 * dired-aux.el (dired-compress): Use ignore-errors.
3206 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3207 (dired-do-async-shell-command, dired-do-shell-command)
3208 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3209 (dired-insert-subdir-validate): Use string-match-p.
3210 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3211 (dired-add-entry): Use string-match-p, looking-at-p.
3212 (dired-insert-subdir-newpos): Remove unused local variable.
3213
3214 * filenotify.el (file-notify-callback): Remove unused local variable.
3215
3216 * filesets.el (filesets-error): Mark unused argument.
3217 (filesets-which-command-p, filesets-filter-dir-names)
3218 (filesets-directory-files, filesets-get-external-viewer)
3219 (filesets-ingroup-get-data): Use string-match-p.
3220
3221 * find-file.el (ff-other-file-name, ff-other-file-name)
3222 (ff-find-the-other-file, ff-cc-hh-converter):
3223 Remove unused local variables.
3224 (ff-get-file-name): Use string-match-p.
3225 (ff-all-dirs-under): Use ignore-errors.
3226
3227 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3228 (follow-select-if-visible): Remove unused local variable.
3229
3230 * forms.el (read-file-filter): Move declaration.
3231 (forms--make-format, forms--make-parser, forms-insert-record):
3232 Quote function with #'.
3233 (forms--update): Use string-match-p. Quote function with #'.
3234
3235 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3236 (help-make-xrefs): Use looking-at-p.
3237 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3238
3239 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3240 (ibuffer-confirm-operation-on): Use string-match-p.
3241
3242 * msb.el (msb-item-handler, msb-dired-item-handler):
3243 Mark unused arguments.
3244
3245 * ses.el (ses-decode-cell-symbol)
3246 (ses-kill-override): Remove unused local variable.
3247 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3248 (ses-load): Use ignore-errors, looking-at-p.
3249 (ses-jump-safe): Use ignore-errors.
3250 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3251
3252 * tabify.el (untabify, tabify): Mark unused arguments.
3253
3254 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3255 Mark unused argument.
3256 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3257 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3258
c880af52
JB
3259 * emacs-lisp/timer.el (timer--time): Define setter with
3260 gv-define-setter to avoid deprecation warning.
3261
5660113b 3262 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3263 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3264 (cmpl-statistics-block): Remove (body was commented out).
3265 All callers changed.
3266 (add-completions-from-buffer, load-completions-from-file):
3267 Remove unused variables.
3268
156aab80
JB
32692013-08-09 Juanma Barranquero <lekktu@gmail.com>
3270
5c5dee78
JB
3271 * filecache.el (file-cache-delete-file-list):
3272 Print message only when told so.
3273 (file-cache-files-matching): Use #' in mapconcat argument.
3274
156aab80
JB
3275 * ffap.el (ffap-url-at-point): Fix reference to variable
3276 thing-at-point-default-mail-uri-scheme.
3277
ad9dcd70
SM
32782013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3279
54bd972f
SM
3280 * subr.el (define-error): New function.
3281 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3282 error-file-not-found and define with define-error.
3283 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3284 and define with define-error.
3285 * userlock.el (file-locked, file-supersession):
3286 * simple.el (mark-inactive):
3287 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3288 * progmodes/ada-mode.el (ada-mode-errors):
3289 * play/life.el (life-extinct):
3290 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3291 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3292 * nxml/rng-util.el (rng-error):
3293 * nxml/rng-uri.el (rng-uri-error):
3294 * nxml/rng-match.el (rng-compile-error):
3295 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3296 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3297 * nxml/nxml-rap.el (nxml-scan-error):
3298 * nxml/nxml-outln.el (nxml-outline-error):
3299 * net/soap-client.el (soap-error):
3300 * net/gnutls.el (gnutls-error):
3301 * net/ange-ftp.el (ftp-error):
3302 * mpc.el (mpc-proc-error):
3303 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3304 (json-number-format, json-string-escape, json-string-format)
3305 (json-key-format, json-object-format):
3306 * jka-compr.el (compression-error):
3307 * international/quail.el (quail-error):
3308 * international/kkc.el (kkc-error):
3309 * emacs-lisp/ert.el (ert-test-failed):
3310 * calc/calc.el (calc-error, inexact-result, math-overflow)
3311 (math-underflow):
3312 * bookmark.el (bookmark-error-no-filename):
3313 * epg.el (epg-error): Define with define-error.
3314
0ea9e53a
SM
3315 * time.el (display-time-event-handler)
3316 (display-time-next-load-average): Don't call sit-for since it seems
3317 unnecessary (bug#15045).
3318
b0429158
SM
3319 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3320 Use #' instead of ' to quote functions.
3321 (checkdoc-output-mode): Use setq-local.
3322 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3323 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3324 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3325 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3326 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3327 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3328 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3329 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3330
ad9dcd70
SM
3331 * ido.el (ido-completion-help): Fix up compiler warning.
3332
77187e6f
JB
33332013-08-09 Juanma Barranquero <lekktu@gmail.com>
3334
3335 * frameset.el (frameset-p): Add autoload cookie.
3336 (frameset--jump-to-register): New function, based on code moved from
3337 register.el.
3338 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3339
3340 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3341 (frameset-restore, frameset-save, frameset-session-filter-alist):
3342 Remove declarations.
3343 (register-alist): Doc fix.
3344 (frameset-to-register): Move to frameset.el.
3345 (jump-to-register, describe-register-1): Remove frameset-specific code.
3346
9d3aa82c
JB
33472013-08-08 Juanma Barranquero <lekktu@gmail.com>
3348
3349 * allout-widgets.el (allout-widgets-pre-command-business)
3350 (allout-widgets-post-command-business)
3351 (allout-widgets-after-change-handler)
3352 (allout-decorate-item-and-context, allout-set-boundary-marker)
3353 (allout-body-modification-handler)
3354 (allout-graphics-modification-handler): Mark ignored arguments.
3355 (allout-widgets-post-command-business)
3356 (allout-widgets-exposure-change-processor)
3357 (allout-widgets-exposure-undo-processor)
3358 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3359 (allout-parse-item-at-point, allout-decorate-item-guides)
3360 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3361 * allout.el (epa-passphrase-callback-function): Declare.
3362 (allout-overlay-insert-in-front-handler)
3363 (allout-overlay-interior-modification-handler)
3364 (allout-isearch-end-handler, allout-chart-siblings)
3365 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3366 (allout-yank-processing, allout-process-exposed)
3367 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3368 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3369 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3370 (lisp-indent-defform): Mark ignored arguments.
3371 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3372 (calculate-lisp-indent): Remove unused variables.
3373 * international/characters.el (indian-2-column, arabic-2-column)
3374 (tibetan): Mark ignored arguments.
3375 (use-cjk-char-width-table): Mark ignored arguments.
3376 Remove unused variables.
3377 * international/fontset.el (build-default-fontset-data)
3378 (x-compose-font-name, create-fontset-from-fontset-spec):
3379 Mark ignored arguments.
3380 (fontset-plain-name): Remove unused variables.
3381 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3382 (keyboard-coding-system): Mark ignored arguments.
3383 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3384 * help.el (resize-temp-buffer-window):
3385 * window.el (display-buffer-in-major-side-window)
3386 (display-buffer-in-side-window, display-buffer-in-previous-window):
3387 Remove unused variables.
3388 * isearch.el (isearch-forward-symbol):
3389 * version.el (emacs-bzr-version-bzr):
3390 * international/mule-cmds.el (current-language-environment):
3391 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3392 (x-handle-display):
3393 * term/pc-win.el (x-list-fonts, x-display-planes)
3394 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3395 (x-server-version, x-display-screens, x-display-mm-height)
3396 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3397 (x-selection-owner-p, x-own-selection-internal)
3398 (x-disown-selection-internal, x-get-selection-internal)
3399 (msdos-initialize-window-system):
3400 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3401 * term/x-win.el (x-handle-no-bitmap-icon):
3402 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3403 (vc-default-find-file-hook, vc-default-extra-menu):
3404 Mark ignored arguments.
3405
0ca3f70e
SM
34062013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3409 break-condition in the context of the debugged code (bug#12685).
3410
74c5d24c
CS
34112013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3412
3413 * comint.el:
3414 Do not use an overlay to highlight the last prompt. (Bug#14744)
3415 (comint-mode): Make comint-last-prompt buffer local.
3416 (comint-last-prompt): New variable.
3417 (comint-last-prompt-overlay): Remove. Superseded by
3418 comint-last-prompt.
0ca3f70e
SM
3419 (comint-snapshot-last-prompt, comint-output-filter):
3420 Use comint-last-prompt.
74c5d24c 3421
c03c02ee
JB
34222013-08-08 Juanma Barranquero <lekktu@gmail.com>
3423
a3738d20 3424 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3425 (frameset-save): Check validity of the resulting frameset.
3426
04263d23
XF
34272013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3428
3429 * ido.el (ido-record-command): Add doc string.
3430
76c5e5ab
JB
34312013-08-08 Juanma Barranquero <lekktu@gmail.com>
3432
3433 * frameset.el (frameset): Do not disable creation of the default
3434 frameset-p predicate. Doc fix.
3435 (frameset-valid-p): New function, copied from the old predicate-p.
3436 Add additional checks.
3437 (frameset-restore): Check with frameset-valid-p.
3438 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3439 (frameset-name, frameset-description, frameset-properties)
3440 (frameset-states): Add docstring.
f9dbf1cb
JB
3441 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3442 (frameset-filter-alist): Doc fixes.
76c5e5ab 3443
bd0c3c0b
JB
34442013-08-08 Juanma Barranquero <lekktu@gmail.com>
3445
3446 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3447
c735544c
SM
34482013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3451 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3452 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3453 (byte-compile-normal-call): Remove obsolescence check.
3454
2805a651
JB
34552013-08-08 Juanma Barranquero <lekktu@gmail.com>
3456
3677ffeb
JB
3457 * frameset.el (frameset-restore): Doc fix.
3458
2805a651
JB
3459 * register.el (frameset-frame-id, frameset-frame-with-id)
3460 (frameset-p, frameset-restore, frameset-save): Declare.
3461 (register-alist): Document framesets.
3462 (frameset-session-filter-alist): Declare.
3463 (frameset-to-register): New function.
3464 (jump-to-register): Implement jumping to framesets. Doc fix.
3465 (describe-register-1): Describe framesets.
3466
3467 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3468
a912c016
JB
34692013-08-07 Juanma Barranquero <lekktu@gmail.com>
3470
3471 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3472 Use lexical-binding.
3473
3474 * frameset.el (frameset): Use type vector, not list (incompatible
3475 change). Do not declare a new constructor, use the default one.
3476 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3477 `name' and `description', respectively, and add read-only slot
3478 `timestamp'. Doc fixes.
3479 (frameset-copy, frameset-persistent-filter-alist)
3480 (frameset-filter-alist, frameset-switch-to-gui-p)
3481 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3482 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3483 (frameset-filter-iconified, frameset-keep-original-display-p):
3484 Doc fixes.
3485 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3486 Rename from frameset-filter-(save|restore)-param. All callers changed.
3487 Doc fix.
3488 (frameset-p): Adapt to change to vector and be more thorough.
3489 Change arg name to OBJECT. Doc fix.
3490 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3491 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3492 All callers changed.
3493 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3494 All callers changed.
3495 (frameset--record-minibuffer-relationships): Rename from
3496 frameset--process-minibuffer-frames. All callers changed.
3497 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3498 Use new default constructor (again). Doc fix.
3499 (frameset--find-frame-if): Rename from `frameset--find-frame.
3500 All callers changed.
3501 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3502 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3503 Doc fix.
3504 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3505 PARAMETERS and WINDOW-STATE, respectively.
3506 (frameset-restore): Add new keyword argument PREDICATE.
3507 Reset frameset--target-display to nil. Doc fix.
3508
bb41480a
SM
35092013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3510
f001e98e
SM
3511 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3512 (bat-mode): Use it.
3513 (bat-mode-syntax-table): Mark \n as end-of-comment.
3514 (bat-font-lock-keywords): Remove comment rule.
3515
7679edb1
SM
3516 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3517 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3518
bb41480a
SM
3519 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3520 (byte-compile-callargs-warn): Use `push'.
3521 (byte-compile-arglist-warn): Ignore higher-order "calls".
3522 (byte-compile-file-form-autoload): Use `pcase'.
3523 (byte-compile-function-form): If quoting a symbol, check that it exists.
3524
cdc1ebb9
EZ
35252013-08-07 Eli Zaretskii <eliz@gnu.org>
3526
3527 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3528 and add a few popular commands found in batch files.
3529 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3530 (dos-mode): Doc fixes.
3531
312b1740
SM
35322013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3535 (dos-mode): Use setq-local. Add space after "rem".
3536 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3537 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3538
400a3178
AM
35392013-08-07 Arni Magnusson <arnima@hafro.is>
3540
3541 * progmodes/dos.el: New file.
3542 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3543 dos-mode.
3544
3b5c03d3
GM
35452013-08-06 Glenn Morris <rgm@gnu.org>
3546
3547 * calendar/calendar.el: Add new faces, and day-header-array.
3548 (calendar-weekday-header, calendar-weekend-header)
3549 (calendar-month-header): New faces.
3550 (calendar-day-header-construct): New function.
3551 (calendar-day-header-width): Also :set calendar-day-header-array.
3552 (calendar-american-month-header, calendar-european-month-header)
3553 (calendar-iso-month-header): Use calendar- faces.
3554 (calendar-generate-month):
3555 Use calendar-day-header-array for day headers; apply faces to them.
3556 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3557 (calendar-abbrev-construct): Add optional maxlen argument.
3558 (calendar-day-name-array): Doc fix.
3559 (calendar-day-name-array, calendar-abbrev-length)
3560 (calendar-day-abbrev-array):
3561 Also :set calendar-day-header-array, and maybe redraw.
3562 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3563 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3564 (calendar-day-name): Add option to use header array.
3565
ec6a2d7a
LMI
35662013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3567
3568 * net/shr.el (shr-render-td): Remove debugging.
3569 (shr-render-td): Make width computation consistent by defaulting
3570 all zero-width columns to 10 characters. This may not be optimal,
3571 but it's at least consistent.
2122cb6d
LMI
3572 (shr-make-table-1): Redo last change to fix the real problem in
3573 colspan handling.
ec6a2d7a 3574
ed4fd9c5
DA
35752013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3576
0ca3f70e
SM
3577 * files.el (cache-long-line-scans):
3578 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3579
64e22afe
JB
35802013-08-06 Juanma Barranquero <lekktu@gmail.com>
3581
024b38fc
JB
3582 * frameset.el (frameset, frameset-filter-alist)
3583 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3584 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3585 (frameset-compute-pos): Rename from frameset--compute-pos,
3586 and add docstring.
3587 (frameset-move-onscreen): Use frameset-compute-pos.
3588 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3589
64e22afe
JB
3590 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3591 Fix typos in docstrings.
3592
c8c2aca8
DA
35932013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3594
3595 * frame.el (get-other-frame): Tiny cleanup.
3596
1d237bba
JB
35972013-08-06 Juanma Barranquero <lekktu@gmail.com>
3598
8951efef
JB
3599 * vc/vc.el (vc-default-ignore-completion-table):
3600 Silence byte-compiler warning.
3601
307764cc
JB
3602 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3603 slot , which can indeed be nil.
3604 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3605 Move entry for `left' from persistent to live filter alist.
3606 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3607 Doc fixes.
3608 (frameset-filter-params): When restoring a frame, copy items added to
3609 `filtered', to avoid unwittingly modifying the original parameters.
3610 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3611 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3612
1d237bba
JB
3613 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3614 to use looking-at-p instead of looking-at. (Bug#15028)
3615
dc6c0eda
SM
36162013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 Revert introduction of isearch-filter-predicates (bug#14714).
3619 Rely on add-function instead.
3620 * isearch.el (isearch-filter-predicates): Rename it back to
3621 isearch-filter-predicate.
3622 (isearch-message-prefix): Use advice-function-mapc and advice
3623 properties to get the isearch-message-prefix.
3624 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3625 instead of run-hook-with-args-until-failure.
3626 (isearch-filter-visible): Not obsolete any more.
3627 * loadup.el: Preload nadvice.
3628 * replace.el (perform-replace): Revert to funcall
3629 instead of run-hook-with-args-until-failure.
3630 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3631 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3632 dired-isearch-filenames-toggle; make it into a proper minor mode.
3633 Use add/remove-function.
3634 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3635 Call the minor-mode rather than add/remove-hook.
3636 (dired-isearch-filter-filenames):
3637 Remove isearch-message-prefix property.
3638 * info.el (Info--search-loop): New function, extracted from Info-search.
3639 Funcall isearch-filter-predicate instead of
3640 run-hook-with-args-until-failure isearch-filter-predicates.
3641 (Info-search): Use it.
3642 (Info-mode): Use isearch-filter-predicate instead of
3643 isearch-filter-predicates.
3644
290d5b58
DA
36452013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3646
3647 Do not call to `selected-window' where it is assumed by default.
3648 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3649 `window-hscroll', `window-width', `window-height', `window-buffer',
3650 `window-frame', `window-start', `window-point', `next-window'
3651 and `window-display-table'.
3652 * abbrev.el (abbrev--default-expand):
3653 * bs.el (bs--show-with-configuration):
3654 * buff-menu.el (Buffer-menu-mouse-select):
3655 * calc/calc.el (calc):
3656 * calendar/calendar.el (calendar-generate-window):
3657 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3658 (diary-make-entry):
3659 * comint.el (send-invisible, comint-dynamic-complete-filename)
3660 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3661 * completion.el (complete):
3662 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3663 * disp-table.el (describe-current-display-table):
3664 * doc-view.el (doc-view-insert-image):
3665 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3666 * ehelp.el (with-electric-help):
3667 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3668 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3669 * emacs-lisp/helper.el (Helper-help-scroller):
3670 * emulation/cua-base.el (cua--post-command-handler-1):
3671 * eshell/esh-mode.el (eshell-output-filter):
3672 * ffap.el (ffap-gnus-wrapper):
3673 * help-macro.el (make-help-screen):
3674 * hilit-chg.el (highlight-compare-buffers):
3675 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3676 * hl-line.el (global-hl-line-highlight):
3677 * icomplete.el (icomplete-simple-completing-p):
3678 * isearch.el (isearch-done):
3679 * jit-lock.el (jit-lock-stealth-fontify):
3680 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3681 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3682 * mpc.el (mpc-tagbrowser, mpc):
3683 * net/rcirc.el (rcirc-any-buffer):
3684 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3685 * play/landmark.el (landmark-max-width, landmark-max-height):
3686 * play/zone.el (zone):
3687 * progmodes/compile.el (compilation-goto-locus):
3688 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3689 * progmodes/etags.el (find-tag-other-window):
3690 * progmodes/fortran.el (fortran-column-ruler):
3691 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3692 * progmodes/verilog-mode.el (verilog-point-text):
3693 * reposition.el (reposition-window):
3694 * rot13.el (toggle-rot13-mode):
3695 * server.el (server-switch-buffer):
3696 * shell.el (shell-dynamic-complete-command)
3697 (shell-dynamic-complete-environment-variable):
3698 * simple.el (insert-buffer, set-selective-display)
3699 (delete-completion-window):
3700 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3701 (speedbar-recenter):
3702 * startup.el (fancy-splash-head):
3703 * textmodes/ispell.el (ispell-command-loop):
3704 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3705 * tutorial.el (help-with-tutorial):
3706 * vc/add-log.el (add-change-log-entry):
3707 * vc/compare-w.el (compare-windows):
3708 * vc/ediff-help.el (ediff-indent-help-message):
3709 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3710 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3711 (ediff-setup-control-frame):
3712 * vc/emerge.el (emerge-position-region):
3713 * vc/pcvs-util.el (cvs-bury-buffer):
3714 * window.el (walk-windows, mouse-autoselect-window-select):
3715 * winner.el (winner-set-conf, winner-undo): Related users changed.
3716
38276e01
JB
37172013-08-05 Juanma Barranquero <lekktu@gmail.com>
3718
3719 * frameset.el (frameset--set-id): Doc fix.
3720 (frameset-frame-id, frameset-frame-id-equal-p)
3721 (frameset-locate-frame-id): New functions.
3722 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3723 (frameset-restore): Use them.
3724
12b4c0ea
DA
37252013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3726
3727 Do not call to `selected-frame' where it is assumed by default.
3728 Affected functions are `raise-frame', `redraw-frame',
3729 `frame-first-window', `frame-terminal' and `delete-frame'.
3730 * calendar/appt.el (appt-disp-window):
3731 * epg.el (epg-wait-for-completion):
3732 * follow.el (follow-delete-other-windows-and-split)
3733 (follow-avoid-tail-recenter):
3734 * international/mule.el (set-terminal-coding-system):
3735 * mail/rmail.el (rmail-mail-return):
3736 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3737 * progmodes/f90.el (f90-add-imenu-menu):
3738 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3739 * server.el (server-switch-buffer):
3740 * simple.el (delete-completion-window):
3741 * talk.el (talk):
3742 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3743 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3744 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3745 * vc/ediff.el (ediff-documentation): Related users changed.
3746 * frame.el (selected-terminal): Remove the leftover.
3747
17f25e76
GM
37482013-08-05 Glenn Morris <rgm@gnu.org>
3749
3750 * calendar/calendar.el (calendar-generate-month):
3751 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3752 (calendar-generate-month, calendar-font-lock-keywords):
3753 Fix for calendar-day-header-width > length of any day name.
17f25e76 3754
063233c3
JB
37552013-08-05 Juanma Barranquero <lekktu@gmail.com>
3756
3757 * desktop.el (desktop-clear): Use new name of sort predicate.
3758
3759 * frameset.el (frameset): Add docstring. Move :version property to its
3760 own `version' slot.
3761 (frameset-copy): Rename from copy-frameset.
3762 (frameset-p): Check more thoroughly.
3763 (frameset-prop): Do not check for :version, which is no longer a prop.
3764 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3765 Use new :never value instead of t.
3766 (frameset-filter-alist): Expand and clarify docstring.
3767 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3768 (frameset-filter-minibuffer, frameset-filter-save-param)
3769 (frameset-filter-restore-param, frameset-filter-iconified):
3770 Add pointer to docstring of frameset-filter-alist.
3771 (frameset-filter-params): Rename filter values to be more meaningful:
3772 :never instead of t, and reverse the meanings of :save and :restore.
3773 (frameset--process-minibuffer-frames): Clarify error message.
3774 (frameset-save): Avoid unnecessary and confusing call to framep.
3775 Use new BOA constructor for framesets.
3776 (frameset--reuse-list): Doc fix.
3777 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3778 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3779 (frameset-minibufferless-first-p): Doc fix.
3780 Rename from frameset-sort-frames-for-deletion.
3781 (frameset-restore): Doc fixes. Use new function names.
3782 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3783
d5671a82
JB
37842013-08-04 Juanma Barranquero <lekktu@gmail.com>
3785
3786 * desktop.el (desktop-restore-forces-onscreen)
3787 (desktop-restore-reuses-frames): Document :keyword constant values.
3788 (desktop-filter-parameters-alist): Remove, now identical to
3789 frameset-filter-alist.
3790 (desktop--filter-tty*): Remove, moved to frameset.el.
3791 (desktop-save-frameset, desktop-restore-frameset):
3792 Do not pass :filters argument.
3793
3794 * frameset.el (frameset-live-filter-alist)
3795 (frameset-persistent-filter-alist): New variables.
3796 (frameset-filter-alist): Use them. Add autoload cookie.
3797 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3798 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3799 `frameset--id' (it's supposed to be internal to frameset.el).
3800 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3801 (frameset--initial-params): New function.
3802 (frameset--get-frame): Use it. Doc fix.
3803 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3804 Accept :all, not 'all.
3805 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3806 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3807 with fbound symbols. Fix frame id matching, and remove matching ids if
3808 the frame being restored is deleted. Obey :delete.
3809
671d5c16
SM
38102013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * subr.el (macrop): New function.
3813 (text-clone--maintaining): New var.
3814 (text-clone--maintain): Rename from text-clone-maintain. Use it
3815 instead of inhibit-modification-hooks.
3816
3817 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3818 a proxy, so as handle autoloads and redefinitions of the target.
3819 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3820
3821 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3822 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3823 (pcase--mutually-exclusive-p): New function.
3824 (pcase--split-consp): Use it.
3825 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3826 mutually exclusive with the current predicate.
3827
3828 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3829 (edebug-macrop): Remove. Use `macrop' instead.
3830 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3831 (ad-macro-p):
3832 * eshell/esh-cmd.el (eshell-macrop):
3833 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3834
1d44e9dc
SM
38352013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3836
3837 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3838 (advice-mapc): New function, using it.
3839 (advice-function-member-p): New function.
3840 (advice--normalize): Store the cdr in advice--saved-rewrite since
3841 that's the part that will be changed.
3842 (advice--symbol-function): New function.
3843 (advice-remove): Handle removal before the function is defined.
3844 Adjust to new advice--saved-rewrite.
3845 (advice-member-p): Use advice-function-member-p and
3846 advice--symbol-function.
3847
5414a283
JB
38482013-08-04 Juanma Barranquero <lekktu@gmail.com>
3849
51d30f2c
JB
3850 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3851 (frameset-filter-minibuffer): Doc fix.
3852 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3853 (frameset--set-id, frameset--process-minibuffer-frames)
3854 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3855 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3856
5414a283
JB
3857 * desktop.el (desktop-clear): Only delete frames when called
3858 interactively and desktop-restore-frames is non-nil. Doc fix.
3859 (desktop-read): Set desktop-saved-frameset to nil.
3860
ab419665
XF
38612013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3862
3863 * vc/vc.el (vc-ignore): Rewrite.
3864 (vc-default-ignore-completion-table):
3865 (vc--read-lines):
3866 (vc--add-line, vc--remove-regexp): New functions.
3867
3868 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3869 (vc-svn-ignore-completion-table): New function.
3870
3871 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3872 (vc-hg-ignore-completion-table):
3873 (vc-hg-find-ignore-file): New functions.
3874
3875 * vc/vc-git.el (vc-git-ignore): Rewrite.
3876 (vc-git-ignore-completion-table):
3877 (vc-git-find-ignore-file): New functions.
3878
3879 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3880
3881 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3882 (vc-bzr-ignore-completion-table):
3883 (vc-bzr-find-ignore-file): New functions.
3884
2613dea2
JB
38852013-08-03 Juanma Barranquero <lekktu@gmail.com>
3886
3887 * frameset.el (frameset-prop): New function and setter.
3888 (frameset-save): Do not modify frame list passed by the caller.
3889
9c959872
SM
38902013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3893
a104f656
SM
38942013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3895
70122acf
SM
3896 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3897 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3898
a104f656
SM
3899 * custom.el (custom-initialize-default, custom-initialize-set)
3900 (custom-initialize-reset, custom-initialize-changed): Affect the
3901 toplevel-default-value (bug#6275, bug#14586).
3902 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3903 for bug#6275.
3904
f078d570
JB
39052013-08-02 Juanma Barranquero <lekktu@gmail.com>
3906
185e3b5a
JB
3907 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3908 Add cl-def* expressions.
3909
f078d570
JB
3910 * frameset.el (frameset-filter-params): Fix order of arguments.
3911
9421876d
JB
39122013-08-02 Juanma Barranquero <lekktu@gmail.com>
3913
3914 Move code related to saving frames to frameset.el.
3915 * desktop.el: Require frameset.
3916 (desktop-restore-frames): Doc fix.
3917 (desktop-restore-reuses-frames): Rename from
3918 desktop-restoring-reuses-frames.
3919 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3920 (desktop-clear): Clear frames too.
3921 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3922 (desktop--filter-tty*, desktop-save, desktop-read):
3923 Use frameset functions.
3924 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3925 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3926 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3927 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3928 (desktop--process-minibuffer-frames, desktop-save-frames)
3929 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3930 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3931 (desktop--sort-states, desktop-restoring-frames-p)
3932 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3933 (desktop-restoring-frameset-p, desktop-restore-frameset)
3934 (desktop--check-dont-save, desktop-save-frameset): New functions.
3935 (desktop--app-id): New constant.
3936 (desktop-first-buffer, desktop-buffer-ok-count)
3937 (desktop-buffer-fail-count): Move before first use.
3938 * frameset.el: New file.
3939
76dc5996
SM
39402013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * files.el: Use lexical-binding.
3943 (dir-locals-read-from-file): Remove unused `err' variable.
3944 (hack-dir-local-variables--warned-coding): New var.
3945 (hack-dir-local-variables): Use it to avoid repeated warnings.
3946 (make-backup-file-name--default-function): New function.
3947 (make-backup-file-name-function): Use it as default.
3948 (buffer-stale--default-function): New function.
3949 (buffer-stale-function): Use it as default.
3950 (revert-buffer-insert-file-contents--default-function): New function.
3951 (revert-buffer-insert-file-contents-function): Use it as default.
3952 (insert-directory): Avoid add-to-list.
3953
3954 * autorevert.el (auto-revert-handler): Simplify.
3955 Use buffer-stale--default-function.
3956
06d36e2b
TH
39572013-08-01 Tassilo Horn <tsdh@gnu.org>
3958
5f648ab4
TH
3959 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3960
06d36e2b
TH
3961 * whitespace.el (whitespace-ensure-local-variables): New function.
3962 (whitespace-cleanup-region): Call it.
3963 (whitespace-turn-on): Call it.
3964
a43dc424
MA
39652013-08-01 Michael Albinus <michael.albinus@gmx.de>
3966
3967 Complete file name handlers.
3968
3969 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3970 (tramp-handle-verify-visited-file-modtime)
3971 (tramp-handle-file-notify-rm-watch): New functions.
3972 (tramp-call-process): Do not bind `default-directory'.
3973
44e18199
JB
3974 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3975 Order alphabetically.
a43dc424
MA
3976 [access-file, add-name-to-file, dired-call-process]:
3977 [dired-compress-file, file-acl, file-notify-rm-watch]:
3978 [file-ownership-preserved-p, file-selinux-context]:
3979 [make-directory-internal, make-symbolic-link, set-file-acl]:
3980 [set-file-selinux-context, set-visited-file-modtime]:
3981 [verify-visited-file-modtime]: Add handler.
3982 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3983
3984 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3985 [file-notify-add-watch, file-notify-rm-watch]:
3986 [set-file-times, set-visited-file-modtime]:
3987 [verify-visited-file-modtime]: Add handler.
3988 (with-tramp-gvfs-error-message)
3989 (tramp-gvfs-handle-set-visited-file-modtime)
3990 (tramp-gvfs-fuse-file-name): Remove.
3991 (tramp-gvfs-handle-file-notify-add-watch)
3992 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3993 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3994
44e18199
JB
3995 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3996 Order alphabetically.
a43dc424
MA
3997 [file-notify-rm-watch ]: Use default Tramp handler.
3998 [executable-find]: Remove private handler.
3999 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4000 `default-directory'.
4001 (tramp-sh-handle-executable-find)
4002 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4003 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4004 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4005 Do not use `format' in `tramp-message'.
4006
4007 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4008 [file-notify-rm-watch, set-visited-file-modtime]:
4009 [verify-visited-file-modtime]: Add handler.
4010 (tramp-smb-call-winexe): Do not bind `default-directory'.
4011
7188b515
XF
40122013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4013
4014 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4015
2412ee1a
DG
40162013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4017
4018 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4019 use it.
4020 (log-view-diff-changeset): Same.
4021 (log-view-diff-common): Call backend command `previous-revision'
4022 to find out the previous revision, in both cases. Swap the
4023 variables `to' and `fr', so that `fr' usually refers to the
4024 earlier revision (Bug#14989).
4025
5002a754
KRC
40262013-07-31 Kan-Ru Chen <kanru@kanru.info>
4027
4028 * ibuf-ext.el (ibuffer-filter-by-filename):
4029 Make it work with dired buffers too.
4030
44e18199 40312013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4032
4033 * emacs-lisp/re-builder.el (reb-color-display-p):
4034 * files.el (save-buffers-kill-terminal):
4035 * net/browse-url.el (browse-url):
4036 * server.el (server-save-buffers-kill-terminal):
4037 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4038 Prefer nil to selected-frame for the first arg of frame-parameter.
4039
aeca3fbb
XF
40402013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4041
4042 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4043
158bc55c
SB
40442013-07-30 Stephen Berman <stephen.berman@gmx.net>
4045
4046 * minibuffer.el (completion--twq-all): Try and preserve each
4047 completion's case choice (bug#14907).
4048
d50fceab
LMI
40492013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4050
ac38e731
LMI
4051 * net/network-stream.el (open-network-stream): Mention the new
4052 :nogreeting parameter.
4053 (network-stream-open-starttls): Use the :nogreeting parameter
4054 (bug#14938).
4055
1211de50
LMI
4056 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4057
997798bf
LMI
4058 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4059 more natural than popping.
4060
d50fceab 4061 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4062 (shr-urlify): Highlight under mouse.
d50fceab 4063
5c09de04
XF
40642013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4065
207d1d04
XF
4066 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4067
4068 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4069
5c09de04
XF
4070 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4071 buffer for output.
4072
3cd51eaa
XF
4073 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4074 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4075
44e18199 4076 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4077 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4078
4079 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4080
4081 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4082 buffer for output.
4083
35a89bdd
EZ
40842013-07-29 Eli Zaretskii <eliz@gnu.org>
4085
4086 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4087 initial frame is minibuffer-less. (Bug#14841)
4088
78822e94
MA
40892013-07-29 Michael Albinus <michael.albinus@gmx.de>
4090
4091 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4092 option.
4093
4094 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4095 (tramp-maybe-open-connection): Use it.
4096
9503c190
JB
40972013-07-28 Juanma Barranquero <lekktu@gmail.com>
4098
4099 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4100 minimal set of parameters passed when creating a frame, because
4101 the minibuffer status of a frame cannot be changed later.
4102
d5a845b4
SB
41032013-07-28 Stephen Berman <stephen.berman@gmx.net>
4104
4105 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4106 replace-regexp-in-string and inadvertent omissions in previous change.
4107 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4108 name of filtered items buffer.
d5a845b4 4109
ddeffb17
JB
41102013-07-28 Juanma Barranquero <lekktu@gmail.com>
4111
4112 * desktop.el: Optionally force offscreen frames back onscreen.
4113 (desktop-restoring-reuses-frames): New option.
4114 (desktop--compute-pos, desktop--move-onscreen): New functions.
4115 (desktop--make-frame): Use desktop--move-onscreen.
4116
f5950f7a
AM
41172013-07-27 Alan Mackenzie <acm@muc.de>
4118
4119 Fontify a Java generic method as a function.
4120 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4121 value to t.
4122
ae43b66a
SB
41232013-07-27 Stephen Berman <stephen.berman@gmx.net>
4124
4125 * calendar/todo-mode.el: Add command to rename todo files.
4126 (todo-rename-file): New command.
4127 (todo-key-bindings-t): Add key binding for it. Change the
4128 bindings of todo-filter-regexp-items(-multifile) to use `x'
4129 instead of `r', since the latter is better suited to the new
4130 renaming command.
4131
5ab78d3d
AM
41322013-07-27 Alan Mackenzie <acm@muc.de>
4133
4134 Make Java try-with-resources statement parse properly.
4135 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4136 (c-block-stmt-1-2-key): New language constants/variables.
4137 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4138 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4139 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4140 with c-block-stmt-1-2-key.
5ab78d3d 4141
d85c4d50
JB
41422013-07-27 Juanma Barranquero <lekktu@gmail.com>
4143
4144 * desktop.el (desktop--make-frame): Apply most frame parameters after
4145 creating the frame to force (partially or totally) offscreen frames to
4146 be restored as such.
4147
e4c467f9
XF
41482013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4149
4150 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4151 (Bug#14948)
e4c467f9 4152
7ced0d04
SM
41532013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4156 `base' arg of backtrace-frame.
4157
fec92060
EZ
41582013-07-26 Eli Zaretskii <eliz@gnu.org>
4159
4160 * simple.el (list-processes): Doc fix.
4161
d58d31fb
JB
41622013-07-26 Juanma Barranquero <lekktu@gmail.com>
4163
4164 * desktop.el (desktop--select-frame):
d85c4d50 4165 Try harder to reuse existing frames.
d58d31fb 4166
53ff3e77
SM
41672013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4170 (edebug-eval): Use backtrace-eval.
4171 (edebug--display, edebug--recursive-edit): Don't let-bind the
4172 edebug-outer-* vars that keep track of variables we locally let-bind.
4173 (edebug-outside-excursion): Don't restore outside values of locally
4174 let-bound vars.
4175 (edebug--display): Use user-error.
4176 (cl-lexical-debug, cl-debug-env): Remove.
4177
045f7a53
JB
41782013-07-26 Juanma Barranquero <lekktu@gmail.com>
4179
4180 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4181 are restored to be sure that they are visible before deleting any
4182 remaining ones.
4183
59070b32
MM
41842013-07-26 Matthias Meulien <orontee@gmail.com>
4185
742a3501
XF
4186 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4187 vc-print-root-log. (Bug#14948)
59070b32 4188
b1fb3596
RS
41892013-07-26 Richard Stallman <rms@gnu.org>
4190
4191 Add aliases for encrypting mail.
4192 * epa.el (epa-mail-aliases): New option.
4193 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4194 Bind inhibit-read-only so read-only text doesn't ruin everything.
4195 (epa-mail-default-recipients): New subroutine broken out.
4196 Handle epa-mail-aliases.
4197
56ea7291
SM
41982013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 Add support for lexical variables to the debugger's `e' command.
4201 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4202 vars, except for debugger-outer-match-data.
4203 (debugger-frame-number): Move check for "on a function call" from
4204 callers into it. Add `skip-base' argument.
4205 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4206 (debugger-env-macro): Only reset the state stored in non-variables,
4207 i.e. current-buffer and match-data.
4208 (debugger-eval-expression): Rewrite using backtrace-eval.
4209 * subr.el (internal--called-interactively-p--get-frame): Remove.
4210 (called-interactively-p):
4211 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4212 `base' arg of backtrace-frame instead.
4213
15ac32d5
GM
42142013-07-26 Glenn Morris <rgm@gnu.org>
4215
8358a09d
GM
4216 * align.el (align-regexp): Doc fix. (Bug#14857)
4217 (align-region): Explicit error if subexpression missing/does not match.
4218
15ac32d5
GM
4219 * simple.el (global-visual-line-mode):
4220 Do not duplicate the mode lighter. (Bug#14858)
4221
f47ad11b
MR
42222013-07-25 Martin Rudalics <rudalics@gmx.at>
4223
4224 * window.el (display-buffer): In display-buffer bind
4225 split-window-keep-point to t, bug#14829.
4226
02530987
JB
42272013-07-25 Juanma Barranquero <lekktu@gmail.com>
4228
4229 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4230 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4231 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4232 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4233 Change accordingly.
f63ebeb5
JB
4234 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4235 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4236
6ccb9cab 42372013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4238
6ccb9cab 4239 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4240
cb3a56d2
JB
42412013-07-25 Juanma Barranquero <lekktu@gmail.com>
4242
4243 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4244 parameter to modify-frame-parameters if the value has not changed;
4245 this is a workaround for bug#14949.
4246 (desktop--make-frame): On cl-delete-if call, check parameter name,
4247 not full parameter.
4248
7aa7fff0
XF
42492013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4250
4251 * vc/vc.el (vc-ignore): New function.
4252
4253 * vc/vc-svn.el (vc-svn-ignore): New function.
4254
4255 * vc/vc-hg.el (vc-hg-ignore): New function.
4256
4257 * vc/vc-git.el (vc-git-ignore): New function.
4258
4259 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4260 (vc-dir-ignore): New function.
4261
4262 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4263 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4264
4265 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4266
4267 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4268
889acc5c
JB
42692013-07-24 Juanma Barranquero <lekktu@gmail.com>
4270
4271 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4272 (desktop-restore-frames): Warn when deleting an existing frame failed.
4273
86c40970
GM
42742013-07-24 Glenn Morris <rgm@gnu.org>
4275
4276 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4277
d5d3c58a
MA
42782013-07-24 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * filenotify.el (file-notify-supported-p):
4281 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4282 Remove functions.
4283
4284 * autorevert.el (auto-revert-use-notify):
4285 (auto-revert-notify-add-watch):
4286 * net/tramp.el (tramp-file-name-for-operation):
4287 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4288 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4289 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4290 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4291 Remove `file-notify-supported-p' entry.
4292
d100084b
GM
42932013-07-24 Glenn Morris <rgm@gnu.org>
4294
4295 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4296 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4297
ac93e56b
SM
42982013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4299
249eea30
SM
4300 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4301 checked with memq (bug#14935).
4302
ac93e56b
SM
4303 * files.el (revert-buffer-function): Use a non-nil default.
4304 (revert-buffer-preserve-modes): Declare var to
4305 provide access to the `preserve-modes' argument.
4306 (revert-buffer): Let-bind it.
4307 (revert-buffer--default): New function, extracted from revert-buffer.
4308
2cdeb903
SM
43092013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * lpr.el: Signal print errors more prominently.
4312 (print-region-function): Don't default to nil.
4313 (lpr-print-region): New function, extracted from print-region-1.
4314 Check lpr's return value and signal an error in case of problem.
4315 (print-region-1): Use it.
4316 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4317 versions instead.
4318 (ps-printer-name): Default to nil.
4319 (ps-printer-name-option): Default to lpr-printer-switch.
4320 (ps-print-region-function): Don't default to nil.
4321 (ps-postscript-code-directory): Simplify default.
4322 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4323 (ps-string-list, ps-eval-switch, ps-flatten-list)
4324 (ps-flatten-list-1): Remove.
4325 (ps-multibyte-buffer): Avoid setq.
4326 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4327 (print-region-function, ps-print-region-function): Don't set them here.
4328
73600831
XF
43292013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4330
0e55c076
XF
4331 * ido.el (ido-fractionp):
4332 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4333 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4334 (ido-max-directory-size, ido-max-dir-file-cache)
4335 (ido-decorations): Doc fix.
4336
73600831
XF
4337 * ansi-color.el: Fix old URL.
4338
3d012865
MM
43392013-07-23 Michael R. Mauger <michael@mauger.com>
4340
e903c210 4341 * progmodes/sql.el: Version 3.3
3d012865
MM
4342 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4343 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4344 (sql-interactive-remove-continuation-prompt): Rewrite, use
4345 functions above. Fix continuation prompt and complete output line
4346 handling.
4347 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4348 redirected output buffer.
4349 (sql-mode): Restore deleted code (Bug#13591).
4350
da77a2e2
JB
43512013-07-23 Juanma Barranquero <lekktu@gmail.com>
4352
4353 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4354
80ff0c71
MA
43552013-07-23 Michael Albinus <michael.albinus@gmx.de>
4356
4357 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4358
4359 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4360 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4361 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4362
b61d71e4
JB
43632013-07-23 Juanma Barranquero <lekktu@gmail.com>
4364
4365 * desktop.el (desktop-clear): Simplify; remove useless checks
4366 against invalid buffer names.
4367 (desktop-list*): Use cl-list*.
4368 (desktop-buffer-info, desktop-create-buffer): Simplify.
4369
c3512092
LL
43702013-07-23 Leo Liu <sdl.web@gmail.com>
4371
4372 * bookmark.el (bookmark-make-record): Restore NAME as a default
4373 value. (Bug#14933)
4374
0ac26976
SM
43752013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4376
7d22ce18
SM
4377 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4378 extracted from autoload--insert-text.
4379 (autoload--insert-text): Remove.
4380 (autoload--print-cookie-text): New function, extracted from
4381 autoload--insert-cookie-text.
4382 (autoload--insert-cookie-text): Remove.
4383 (autoload-generate-file-autoloads): Adjust calls accordingly.
4384
9b2607e8
SM
4385 * winner.el (winner-hook-installed-p): Remove.
4386 (winner-mode): Simplify accordingly.
4387
c43a8618
SM
4388 * subr.el (add-to-list): Fix compiler-macro when `append' is
4389 not constant. Don't use `cl-member' for the base case.
4390
0ac26976
SM
4391 * progmodes/subword.el: Fix boundary case (bug#13758).
4392 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4393 own group.
4394 (subword-backward-regexp): Make it a constant.
4395 (subword-forward-internal): Don't treat a trailing capital as the
4396 beginning of a word.
4397
6874724a
AR
43982013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4399
4400 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4401 global value of tabulated-list-revert-hook (bug#14930).
4402
70f1b5e8
JB
44032013-07-22 Juanma Barranquero <lekktu@gmail.com>
4404
a1c80d9d
JB
4405 * desktop.el: Require 'cl-lib.
4406 (desktop-before-saving-frames-functions): New hook.
4407 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4408 for frames being saved. Rename from desktop--save-minibuffer-frames.
4409 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4410 Do not save frames with non-nil `desktop-dont-save' parameter.
4411 Filter out deleted frames.
a1c80d9d
JB
4412 (desktop--find-frame): Use cl-find-if.
4413 (desktop--select-frame): Use cl-(first|second|third) to access values
4414 of desktop-mini.
4415 (desktop--make-frame): Use cl-delete-if.
4416 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4417 (desktop-restore-frames): Use cl-(first|second|third) to access values
4418 of desktop-mini. Look for visible frame at the end, not while
4419 restoring frames.
4420
70f1b5e8
JB
4421 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4422 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4423 Use string-match-p, looking-at-p (bug#14927).
4424
728dc3cc
JB
44252013-07-21 Juanma Barranquero <lekktu@gmail.com>
4426
56bc453c
JB
4427 * desktop.el (desktop-saved-frame-states):
4428 Rename from desktop--saved-states; all users changed.
4429 (desktop-save-frames): Rename from desktop--save-frames.
4430 Do not save state to desktop file.
4431 (desktop-save): Save desktop-saved-frame-states to desktop file
4432 and reset to nil.
4433 (desktop-restoring-frames-p): New function.
4434 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4435 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4436 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4437
728dc3cc
JB
4438 * desktop.el: Correctly restore iconified frames.
4439 (desktop--filter-iconified-position): New function.
4440 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4441
862f1c9c
GM
44422013-07-20 Glenn Morris <rgm@gnu.org>
4443
c4074c9f
GM
4444 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4445 Let `message' do the formatting.
4446 (def-gdb-preempt-display-buffer): Add explicit format.
4447
d828e5f9
GM
4448 * image-dired.el (image-dired-track-original-file):
4449 Use with-current-buffer.
4450 (image-dired-track-thumbnail): Use with-current-buffer.
4451 Avoid changing point of wrong window.
4452
862f1c9c
GM
4453 * image-dired.el (image-dired-track-original-file):
4454 Avoid changing point of wrong window. (Bug#14909)
4455
f0398ec1 44562013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4457
4458 * progmodes/gdb-mi.el (gdb-done-or-error):
4459 Guard against "%" in gdb output. (Bug#14127)
4460
1451928f
AS
44612013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4462
763a086d
JB
4463 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4464 (Bug#14826)
f7a03897 4465
1451928f
AS
4466 * international/mule.el (coding-system-iso-2022-flags): Fix last
4467 change.
4468
99107004
KH
44692013-07-20 Kenichi Handa <handa@gnu.org>
4470
763a086d
JB
4471 * international/mule.el (coding-system-iso-2022-flags):
4472 Add `8-bit-level-4'. (Bug#8522)
99107004 4473
48494e06
LMI
44742013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4475
8ba8eec5
LMI
4476 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4477 (bug#14815).
4478
dfbc66e3
LMI
4479 * net/eww.el (eww-process-text-input): Allow inputting when the
4480 point is at the start of the line, as the properties aren't
4481 front-sticky.
4482
48494e06
LMI
4483 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4484 degenerate widths.
4485
77c92cb9
RS
44862013-07-19 Richard Stallman <rms@gnu.org>
4487
aec7da77
RS
4488 * epa.el (epa-popup-info-window): Doc fix.
4489
77c92cb9
RS
4490 * subr.el (split-string): New arg TRIM.
4491
945c5bb1
JB
44922013-07-18 Juanma Barranquero <lekktu@gmail.com>
4493
4494 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4495 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4496
e06ec67f
MA
44972013-07-18 Michael Albinus <michael.albinus@gmx.de>
4498
c7064f05 4499 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4500 `file-notify-support'. Do not autoload. Adapt all uses.
4501 (file-notify-supported-p): New defun.
4502
c7064f05
JB
4503 * autorevert.el (auto-revert-use-notify):
4504 Use `file-notify-supported-p' instead of `file-notify-support'.
4505 Adapt docstring.
e06ec67f
MA
4506 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4507
4508 * net/tramp.el (tramp-file-name-for-operation):
4509 Add `file-notify-supported-p'.
4510
4511 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4512 New defun.
4513 (tramp-sh-file-name-handler-alist): Add it as handler for
4514 `file-notify-supported-p '.
4515
4516 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4517 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4518 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4519 Add `ignore' as handler for `file-notify-*' functions.
4520
5dc8a629
EZ
45212013-07-17 Eli Zaretskii <eliz@gnu.org>
4522
4523 * simple.el (line-move-partial, line-move): Don't start vscroll or
4524 scroll-up if the current line is not taller than the window.
4525 (Bug#14881)
4526
77aea2fb
DG
45272013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4528
4529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4530 highlight question marks in the method names as strings.
ac72c08d
DG
4531 (ruby-block-beg-keywords): Inline.
4532 (ruby-font-lock-keyword-beg-re): Extract from
4533 `ruby-font-lock-keywords'.
77aea2fb 4534
18c26d81
JD
45352013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4536
4537 * frame.el (blink-cursor-blinks): New defcustom.
4538 (blink-cursor-blinks-done): New defvar.
4539 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4540 (blink-cursor-timer-function): Check if number of blinks has been
4541 done on X and NS.
4542 (blink-cursor-suspend, blink-cursor-check): New defuns.
4543
da48522e
GM
45442013-07-15 Glenn Morris <rgm@gnu.org>
4545
4546 * edmacro.el (edmacro-format-keys): Fix previous change.
4547
0463c1ef
PE
45482013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4549
4550 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4551 The hack didn't work outside English locales anyway.
4552
b43f6451
JB
45532013-07-15 Juanma Barranquero <lekktu@gmail.com>
4554
4555 * simple.el (define-alternatives): Rename from alternatives-define,
4556 per RMS' suggestion.
4557
b958c0ad
JB
45582013-07-14 Juanma Barranquero <lekktu@gmail.com>
4559
4560 * desktop.el (desktop-restore-frames): Change default to t.
4561 (desktop-restore-in-current-display): Now offer more options.
4562 (desktop-restoring-reuses-frames): New customization option.
4563 (desktop--saved-states): Doc fix.
4564 (desktop-filter-parameters-alist): New variable, renamed and expanded
4565 from desktop--excluded-frame-parameters.
4566 (desktop--target-display): New variable.
4567 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4568 (desktop--filter-tty*, desktop--filter-*-color)
4569 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4570 (desktop--filter-save-desktop-parm)
4571 (desktop-restore-in-original-display-p): New functions.
4572 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4573 (desktop--save-minibuffer-frames): New function, inspired by a similar
4574 function from Martin Rudalics.
4575 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4576 (desktop--restore-in-this-display-p): Remove.
4577 (desktop--find-frame): Rename from desktop--find-frame-in-display
4578 and add predicate argument.
4579 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4580 (desktop--reuse-list): New variable.
4581 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4582 New functions.
4583 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4584
f6dd8b36
MA
45852013-07-14 Michael Albinus <michael.albinus@gmx.de>
4586
4587 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4588
2ce3c565
DG
45892013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4590
763a086d
JB
4591 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4592 Highlight conversion methods on Kernel.
2ce3c565 4593
2cdb7698
AM
45942013-07-13 Alan Mackenzie <acm@muc.de>
4595
4596 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4597 and comment it out. This out-commenting enables certain C++
4598 declarations to be parsed correctly.
4599
1a67b811
EZ
46002013-07-13 Eli Zaretskii <eliz@gnu.org>
4601
1b796d6b
EZ
4602 * international/mule.el (define-coding-system): Doc fix.
4603
1a67b811
EZ
4604 * simple.el (default-font-height): Don't call font-info if the
4605 frame's default font didn't change since the frame was created.
4606 (Bug#14838)
4607
58fbe886
LL
46082013-07-13 Leo Liu <sdl.web@gmail.com>
4609
4610 * ido.el (ido-read-file-name): Guard against non-symbol value.
4611
1f0480d4
FEG
46122013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4613
4614 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4615 in nested defuns.
4616
97ead0e5
LL
46172013-07-13 Leo Liu <sdl.web@gmail.com>
4618
4619 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4620 ido-set-matches call. (Bug#6852)
4621
0880a952
DG
46222013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4623
4624 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4625 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4626 Ruby 2.0.
4627 (ruby-font-lock-keywords): Distinguish calls to functions with
4628 module-like names from module references. Highlight character
4629 literals.
4630
a7d8babb
SDJ
46312013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4632
4633 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4634 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4635
acfcc8c5
JB
46362013-07-12 Juanma Barranquero <lekktu@gmail.com>
4637
4638 * desktop.el (desktop--v2s): Remove unused local variable.
4639 (desktop-save-buffer): Make defvar-local; adjust docstring.
4640 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4641 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4642
051f2775
AS
46432013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4644
4645 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4646
f24e7572
GM
46472013-07-12 Eli Zaretskii <eliz@gnu.org>
4648
4649 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4650 (Bug#14842)
4651
539a920c
GM
46522013-07-12 Glenn Morris <rgm@gnu.org>
4653
4654 * doc-view.el: Require cl-lib at runtime too.
4655 (doc-view-remove-if): Remove.
4656 (doc-view-search-next-match, doc-view-search-previous-match):
4657 Use cl-remove-if.
4658
4659 * edmacro.el: Require cl-lib at runtime too.
4660 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4661 (edmacro-mismatch, edmacro-subseq): Remove.
4662
4663 * shadowfile.el: Require cl-lib.
4664 (shadow-remove-if): Remove.
4665 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4666 Use cl-remove-if.
4667
4668 * wid-edit.el: Require cl-lib.
4669 (widget-choose): Use cl-remove-if.
4670 (widget-remove-if): Remove.
4671
4672 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4673 (ebrowse-delete-if-not): Remove.
4674 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4675 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4676 Use cl-delete-if-not.
4677
1048af7c
JB
46782013-07-12 Juanma Barranquero <lekktu@gmail.com>
4679
4680 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4681 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4682
6c0674ee
LL
46832013-07-12 Leo Liu <sdl.web@gmail.com>
4684
4685 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4686
a19b3c2d
GM
46872013-07-11 Glenn Morris <rgm@gnu.org>
4688
4582a01c
GM
4689 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4690 (edebug-gensym-index, edebug-gensym):
4691 Remove reimplementation of cl-gensym.
4692 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4693
4694 * thumbs.el: Require cl-lib at run-time too.
4695 (thumbs-gensym-counter, thumbs-gensym):
4696 Remove reimplementation of cl-gensym.
4697 (thumbs-temp-file): Use cl-gensym.
4698
a19b3c2d
GM
4699 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4700 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4701 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4702 (ert--union, ert--gensym-counter, ert--gensym-counter)
4703 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4704 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4705 (ert-make-test-unbound, ert--expand-should-1)
4706 (ert--expand-should, ert--should-error-handle-error)
4707 (should-error, ert--explain-equal-rec)
4708 (ert--plist-difference-explanation, ert-select-tests)
4709 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4710 Use cl-lib functions rather than reimplementations.
4711
88f6a933
MA
47122013-07-11 Michael Albinus <michael.albinus@gmx.de>
4713
4714 * net/tramp.el (tramp-methods): Extend docstring.
4715 (tramp-connection-timeout): New defcustom.
4716 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4717 (with-tramp-progress-reporter): Simplify.
4718 (tramp-process-actions): Improve messages.
4719
4720 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4721 * net/tramp-sh.el (tramp-maybe-open-connection):
4722 Use `tramp-connection-timeout'.
4723 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4724 (Bug#14808)
4725
a43d577e
LL
47262013-07-11 Leo Liu <sdl.web@gmail.com>
4727
4728 * ido.el (ido-read-file-name): Conform to the requirements of
4729 read-file-name. (Bug#11861)
4730 (ido-read-directory-name): Conform to the requirements of
4731 read-directory-name.
4732
d77974bf
JB
47332013-07-11 Juanma Barranquero <lekktu@gmail.com>
4734
4735 * subr.el (delay-warning): New function.
4736
35cb8a3e
EZ
47372013-07-10 Eli Zaretskii <eliz@gnu.org>
4738
4739 * simple.el (default-line-height): New function.
4740 (line-move-partial, line-move): Use it instead of computing the
4741 line height inline.
4742 (line-move-partial): Always compute ROWH. If the last line is
4743 partially-visible, but its text is completely visible, allow
4744 cursor to enter such a partially-visible line.
4745
525c5c77
MA
47462013-07-10 Michael Albinus <michael.albinus@gmx.de>
4747
4748 Improve error messages. (Bug#14808)
4749
4750 * net/tramp.el (tramp-current-connection): New defvar, moved from
4751 tramp-sh.el.
0ac26976 4752 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4753 needed anymore.
0ac26976
SM
4754 (tramp-error-with-buffer): Show message in minibuffer.
4755 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4756 (with-tramp-progress-reporter): Improve messages.
4757 (tramp-process-actions): Use progress reporter. Delete process in
4758 case of error. Improve messages.
4759
763a086d
JB
4760 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4761 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4762 (tramp-current-connection): Remove.
525c5c77
MA
4763 (tramp-maybe-open-connection): The car of
4764 `tramp-current-connection' are the first 3 slots of the vector.
4765
c7a4d368
TZ
47662013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4767
4768 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4769 inside continued strings.
4770
954b166e
PE
47712013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4772
4773 Timestamp fixes for undo (Bug#14824).
4774 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4775
56973319
LL
47762013-07-10 Leo Liu <sdl.web@gmail.com>
4777
4778 * files.el (require-final-newline): Allow safe local value.
4779 (Bug#14834)
4780
5550a72c
LL
47812013-07-09 Leo Liu <sdl.web@gmail.com>
4782
4783 * ido.el (ido-read-directory-name): Handle fallback.
4784 (ido-read-file-name): Update DIR to ido-current-directory.
4785 (Bug#1516)
c28b9050 4786 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4787
70c46b28
DG
47882013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4789
4790 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4791 "autoload". Remove "warn lower camel case" section, previously
4792 commented out. Highlight negation char. Do not highlight the
4793 target in singleton method definitions.
4794
0b64b838
SM
47952013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4796
7fd72e2c
SM
4797 * faces.el (tty-setup-hook): Declare the hook.
4798
0b64b838
SM
4799 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4800 and detect when a guard/pred depends on local vars (bug#14773).
4801 (pcase--u1): Adjust caller.
4802
ab49d60b
EZ
48032013-07-08 Eli Zaretskii <eliz@gnu.org>
4804
4805 * simple.el (line-move-partial, line-move): Account for
4806 line-spacing.
701d79aa
EZ
4807 (line-move-partial): Avoid setting vscroll when the last
4808 partially-visible line in window is of default height.
ab49d60b 4809
2d756ae0
LMI
48102013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4811
4812 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4813 been used a while.
4814
ed095bd7
JB
48152013-07-07 Juanma Barranquero <lekktu@gmail.com>
4816
4817 * subr.el (read-quoted-char): Remove unused local variable `char'.
4818
f1e6674b
MK
48192013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4820
584ee3fc
GM
4821 * ediff.el (ediff-version): Version update.
4822 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4823 (ediff-merge-with-ancestor-command, ediff-directories-command)
4824 (ediff-directories3-command, ediff-merge-directories-command)
4825 (ediff-merge-directories-with-ancestor-command): New functions.
4826 All are command-line interfaces to ediff: to facilitate calling
4827 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4828
4829 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4830 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4831
584ee3fc
GM
4832 * viper.el (viper-version): Version update.
4833 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4834
584ee3fc
GM
48352013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4838 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4839 (viper-intercept-ESC-key): Simplify.
4840 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4841 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4842 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4843 (viper-setup-ESC-to-escape): New functions.
4844 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4845 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4846
9aff9b38
EZ
48472013-07-07 Eli Zaretskii <eliz@gnu.org>
4848
5165d44a
JB
4849 * simple.el (default-font-height, window-screen-lines):
4850 New functions.
9aff9b38
EZ
4851 (line-move, line-move-partial): Use them instead of
4852 frame-char-height and window-text-height. This makes scrolling
4853 text smoother when the buffer's default face uses a font that is
4854 different from the frame's default font.
4855
1afb1d07
JD
48562013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4857
4858 * files.el (write-file): Do not display confirm dialog for NS,
4859 it does its own dialog, which can't be cancelled (Bug#14578).
4860
23de972a
EZ
48612013-07-06 Eli Zaretskii <eliz@gnu.org>
4862
4863 * simple.el (line-move-partial): Adjust the row returned by
4864 posn-at-point for the current window-vscroll. (Bug#14567)
4865
54a42486
MA
48662013-07-06 Michael Albinus <michael.albinus@gmx.de>
4867
4868 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4869 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4870 spaces.
4871
34ada5f4
MR
48722013-07-06 Martin Rudalics <rudalics@gmx.at>
4873
4874 * window.el (window-state-put-stale-windows): New variable.
4875 (window--state-put-2): Save list of windows without matching buffer.
4876 (window-state-put): Remove "bufferless" windows if possible.
4877
11e03d89
JB
48782013-07-06 Juanma Barranquero <lekktu@gmail.com>
4879
4880 * simple.el (alternatives-define): Remove leftover :group keyword.
4881 Tweak docstring.
4882
3504a4be
LL
48832013-07-06 Leo Liu <sdl.web@gmail.com>
4884
4885 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4886 (ido-enable-virtual-buffers): New variable.
4887 (ido-buffer-internal, ido-toggle-virtual-buffers)
4888 (ido-make-buffer-list): Use it.
4889 (ido-exhibit): Support turning on and off virtual buffers
4890 automatically.
4891
61e56e2c
JB
48922013-07-06 Juanma Barranquero <lekktu@gmail.com>
4893
4894 * simple.el (alternatives-define): New macro.
4895
321e1a9c
SM
48962013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4897
4898 * subr.el (read-quoted-char): Use read-key.
4899 (sit-for): Let read-event decode tty input (bug#14782).
4900
d610f6dd
SB
49012013-07-05 Stephen Berman <stephen.berman@gmx.net>
4902
4903 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4904 mode command and externally. Fix various related bugs.
4905 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4906 (todo-delete-file): New command.
4907 (todo-check-file): New function.
4908 (todo-show): Handle external deletion of the file we're trying to
4909 show (bug#14688). Replace called-interactively-p by an optional
4910 prefix argument to avoid problematic interaction with catch form
4911 when byte compiled (bug#14702).
4912 (todo-quit): Handle external deletion of the archive's todo file.
4913 Make sure the buffer that was visiting the archive file is still
4914 live before trying to bury it.
4915 (todo-category-completions): Handle external deletion of any
4916 category completion files.
4917 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4918 of todo files, in case of external deletion.
4919 (todo-add-file): Replace unnecessary setq by let-binding.
4920 (todo-find-archive): Check whether there are any archives.
4921 Replace unnecessary setq by let-binding.
4922 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4923 archive buffer whether or not the archive already exists.
4924 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4925 check if the archive is new; if it is, update list of archives.
4926 (todo-default-todo-file): Allow nil to be a valid value for when
4927 there are no todo files.
4928 (todo-reevaluate-default-file-defcustom): Use corrected definition
4929 of todo-default-todo-file.
4930 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4931 (todo-delete-category, todo-show-categories-table)
4932 (todo-category-number): Clarify comment.
4933 (todo-filter-items): Clarify documentation string.
4934 (todo-show-current-file, todo-display-as-todo-file)
4935 (todo-reset-and-enable-done-separator): Tweak documentation string.
4936 (todo-done-separator): Make separator length window-width, since
4937 bug#2749 is now fixed.
4938
ddbdfd6f
MA
49392013-07-05 Michael Albinus <michael.albinus@gmx.de>
4940
321e1a9c
SM
4941 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4942 Support both "gvfs-monitor-dir" and "inotifywait".
4943 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4944 `tramp-sh-file-notify-process-filter'.
4945 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4946 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4947
96eb829a
LL
49482013-07-05 Leo Liu <sdl.web@gmail.com>
4949
4950 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4951
cf13177e
YM
49522013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4953
4954 * frame.el (display-pixel-height, display-pixel-width)
4955 (display-mm-height, display-mm-width): Mention behavior on
4956 multi-monitor setups in docstrings.
4957 (w32-display-monitor-attributes-list): Declare function.
4958 (display-monitor-attributes-list): Use it.
4959
864c58ca
MA
49602013-07-04 Michael Albinus <michael.albinus@gmx.de>
4961
4962 * filenotify.el: New package.
4963
4964 * autorevert.el (top): Require filenotify.el.
4965 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4966 instead.
4967 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4968 (auto-revert-notify-handler): Use `file-notify-*' functions.
4969
4970 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4971
321e1a9c
SM
4972 * net/tramp.el (tramp-file-name-for-operation):
4973 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4974
4975 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4976 for `file-notify-add-watch' and `file-notify-rm-watch'.
4977 (tramp-process-sentinel): Improve trace.
4978 (tramp-sh-handle-file-notify-add-watch)
4979 (tramp-sh-file-notify-process-filter)
4980 (tramp-sh-handle-file-notify-rm-watch)
4981 (tramp-get-remote-inotifywait): New defuns.
4982
96673afe
JL
49832013-07-03 Juri Linkov <juri@jurta.org>
4984
4985 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4986 call of `occur-read-primary-args' to interactive spec.
4987
4988 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4989 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4990
924494f4
MM
49912013-07-03 Matthias Meulien <orontee@gmail.com>
4992
4993 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4994 `Buffer-menu-multi-occur'. Add it to the menu.
4995 (Buffer-menu-mode): Document it in docstring.
4996 (Buffer-menu-multi-occur): New command. (Bug#14673)
4997
56f75efc
DG
49982013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4999
5000 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5001 keywords and built-ins.
5002
9b057d61
GM
50032013-07-03 Glenn Morris <rgm@gnu.org>
5004
208dee4d
GM
5005 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5006
9b057d61
GM
5007 Make info-xref checks case-sensitive by default
5008 * info.el (Info-find-node, Info-find-in-tag-table)
5009 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5010 Add option for exact case matching of nodes.
5011 * info-xref.el (info-xref): New custom group.
5012 (info-xref-case-fold): New option.
5013 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5014
e01aa29c
LL
50152013-07-03 Leo Liu <sdl.web@gmail.com>
5016
5017 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5018
3086ca2e
DG
50192013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5020
5021 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5022 middle of block statement initially, lower the depth. Remove
5023 FIXME comment, not longer valid. Remove middle of block statement
5024 detection, no need to do that anymore since we've been using
5025 `ruby-parse-region' here.
5026
a3b49114
JD
50272013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5028
5029 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5030
08e5c823 50312013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5032
5033 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5034
2addf922
JB
50352013-07-01 Juanma Barranquero <lekktu@gmail.com>
5036
5037 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5038 (desktop-restore-in-current-display): New customization option.
5039 (desktop--excluded-frame-parameters): Add `font'.
5040 (desktop--save-frames): Rename from desktop--save-windows.
5041 (desktop--restore-in-this-display-p): New function.
5042 (desktop--make-full-frame): Remove unwanted width/height from
5043 full(width|height) frames.
5044 (desktop--restore-frames): Rename from desktop--restore-windows.
5045 Obey desktop-restore-current-display. Do not delete old frames or
5046 select a new frame unless we were able to restore at least one frame.
5047
ef099a94
MN
50482013-06-30 Michal Nazarewicz <mina86@mina86.com>
5049
5050 * files.el (find-file-noselect): Simplify conditional expression.
5051
5052 * remember.el (remember-append-to-file):
5053 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5054
5055 Add `remember-notes' function to store random notes across Emacs
5056 restarts.
5057 * remember.el (remember-data-file): Add :set callback to affect
5058 notes buffer (if any).
5059 (remember-notes): New command.
5060 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5061 New defcustoms for the `remember-notes' function.
5062 (remember-notes-save-and-bury-buffer): New command.
5063 (remember-notes-mode-map): New variable.
5064 (remember-mode): New minor mode.
5065 (remember-notes--kill-buffer-query): New function.
5066 * startup.el (initial-buffer-choice): Add notes to custom type.
5067
0865d506
EZ
50682013-06-30 Eli Zaretskii <eliz@gnu.org>
5069
0ba54312
EZ
5070 * bindings.el (right-char, left-char): Don't call sit-for, this is
5071 no longer needed. Use arithmetic comparison only for numerical
5072 arguments.
5073
ef099a94
MN
5074 * international/mule-cmds.el (select-safe-coding-system):
5075 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5076
2fae38e5
LMI
50772013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5078
5079 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5080 progression on degenerate tables.
ef099a94 5081 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5082
a47cbd64
JB
50832013-06-30 Juanma Barranquero <lekktu@gmail.com>
5084
5085 Some fixes and improvements for desktop frame restoration.
5086 It is still experimental and disabled by default.
5087 * desktop.el (desktop--save-windows): Put the selected frame at
5088 the head of the list.
5089 (desktop--make-full-frame): New function.
5090 (desktop--restore-windows): Try to re-select the frame that was
5091 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5092 just show an error message and continue. Set up maximized frames
5093 so they have default non-maximized dimensions.
a47cbd64 5094
6dbafa30
DG
50952013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5096
ef099a94
MN
5097 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5098 Don't start heredoc inside a string or comment.
6dbafa30 5099
4c672a0f
EZ
51002013-06-29 Eli Zaretskii <eliz@gnu.org>
5101
5102 * bindings.el (visual-order-cursor-movement): New defcustom.
5103 (right-char, left-char): Provide visual-order cursor motion by
5104 calling move-point-visually. Update the doc strings.
5105
50960f36
KH
51062013-06-28 Kenichi Handa <handa@gnu.org>
5107
5108 * international/mule.el (define-coding-system): New coding system
5109 properties :inhibit-null-byte-detection,
5110 :inhibit-iso-escape-detection, and :prefer-utf-8.
5111 (set-buffer-file-coding-system): If :charset-list property of
5112 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5113 appropriate for setting.
5114
c1ea3abf
JB
5115 * international/mule-cmds.el (select-safe-coding-system):
5116 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5117 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5118
5119 * international/mule-conf.el (prefer-utf-8): New coding system.
5120 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5121 files.
5122
75dbaf9d
IK
51232013-06-28 Ivan Kanis <ivan@kanis.fr>
5124
eadb6068
IK
5125 * net/shr.el (shr-render-region): New function.
5126
75dbaf9d
IK
5127 * net/eww.el: Autoload `eww-browse-url'.
5128
9ea5cf9f
DG
51292013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5130
c1ea3abf
JB
5131 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5132 Adapt to `package-desc-version' being a list.
5133 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5134 archive element.
5135
39c0e36f
JB
51362013-06-27 Juanma Barranquero <lekktu@gmail.com>
5137
5138 New experimental feature to save&restore window and frame setup.
5139 * desktop.el (desktop-save-windows): New defcustom.
5140 (desktop--saved-states): New var.
5141 (desktop--excluded-frame-parameters): New defconst.
5142 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5143 (desktop--restore-windows, desktop--save-windows): New functions.
5144 (desktop-save): Call `desktop--save-windows'.
5145 (desktop-read): Call `desktop--restore-windows'.
5146
7f13406b
LMI
51472013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5148
ef099a94 5149 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5150
1e072639
SB
51512013-06-27 Stephen Berman <stephen.berman@gmx.net>
5152
5153 * info.el (Info-try-follow-nearest-node): Move search for footnote
5154 above search for node name to prevent missing a footnote (bug#14717).
5155
f3e2cbde
SB
51562013-06-27 Stephen Berman <stephen.berman@gmx.net>
5157
5158 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5159
99906aa0
LL
51602013-06-27 Leo Liu <sdl.web@gmail.com>
5161
5162 * net/eww.el (eww-read-bookmarks): Check file size.
5163
539f75f4
SM
51642013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5167 advice--pending if newdef is nil or an autoload (bug#13820).
5168 (advice-mapc): New function.
5169
843571cb
LMI
51702013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5171
5172 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5173 probably.
23a75d7f 5174 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5175 (eww-add-bookmark): New command.
5176 (eww-bookmark-mode): New mode and commands.
a285ce99 5177 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5178 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5179
f2136e1e
GM
51802013-06-26 Glenn Morris <rgm@gnu.org>
5181
eab35f39
GM
5182 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5183 (hfy-size): Handle ttys. (Bug#14668)
5184
f2136e1e
GM
5185 * info-xref.el: Update for Texinfo 5 change in *note format.
5186 (info-xref-node-re, info-xref-note-re): New constants.
5187 (info-xref-check-buffer): Use info-xref-note-re.
5188
a49ff80c
SM
51892013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5190
a343d218
SM
5191 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5192
a49ff80c
SM
5193 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5194 nil terminate the loop (bug#14718).
5195
8308f184
LMI
51962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5197
5198 * net/eww.el: Rework history traversal. When going forward/back,
5199 put these actions into the history, too, so that they can be
5200 replayed.
26bf2b82 5201 (eww-render): Move the history reset to the correct buffer.
8308f184 5202
ec64c273
JL
52032013-06-25 Juri Linkov <juri@jurta.org>
5204
5205 * files-x.el (modify-dir-local-variable): Change the header comment
5206 in the file with directory local variables. (Bug#14692)
5207
e080a9d7
JL
5208 * files-x.el (read-file-local-variable-value): Add `default'.
5209 (Bug#14710)
5210
bfbc93a1
IK
52112013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5212
5213 * net/eww.el (eww-make-unique-file-name): Create a unique file
5214 name before saving to entering `y' accidentally asynchronously.
5215
52162013-06-25 Ivan Kanis <ivan@kanis.fr>
5217
5218 * net/eww.el (eww-download): New command and keystroke.
5219
16f74f10
LMI
52202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5221
a49ff80c 5222 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5223
5224 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5225 be more consistent with Info and dired.
5226
5227 * net/eww.el (eww-mode-map): Ditto.
5228
12059709
SM
52292013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5232 packages from archives.
5233 (package-archive-contents): Change format; include obsolete packages.
5234 (package-desc): Use `dir' to mark builtin packages.
5235 (package--from-builtin): Set the `dir' field to `builtin'.
5236 (generated-autoload-file, version-control): Declare.
5237 (package-compute-transaction): Change first arg and return value to be
5238 lists of package-descs. Adjust to new package-archive-contents format.
5239 (package--add-to-archive-contents): Adjust to new
5240 package-archive-contents format.
5241 (package-download-transaction): Arg is now a list of package-descs.
5242 (package-install): If `pkg' is a package name, pass it as
5243 a requirement, so it is subject to the usual (e.g. disabled) checks.
5244 (describe-package): Accept package-desc as well.
5245 (describe-package-1): Describe a specific package-desc. Add links to
5246 other package-descs for the same package name.
5247 (package-menu-describe-package): Pass the actual package-desc.
5248 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5249 works correctly.
5250 (package-desc-status): New function.
5251 (package-menu--refresh): New function, extracted
5252 from package-menu--generate.
5253 (package-menu--generate): Use it.
5254 (package-delete): Update package-alist.
5255 (package-menu-execute): Don't call package-initialize.
5256
5257 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5258 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5259 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5260 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5261 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5262 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5263
8bbdea0f
MR
52642013-06-25 Martin Rudalics <rudalics@gmx.at>
5265
5266 * window.el (window--state-get-1): Workaround for bug#14527.
5267 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5268
e82b0991
LMI
52692013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5270
5271 * net/eww.el (eww-back-url): Implement the history by stashing all
5272 the data into a list.
d3f0f918 5273 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5274
c763842b
SM
52752013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5276
5277 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5278 for values and use read--expression for expressions (bug#14710).
5279 (read-file-local-variable): Avoid setq.
5280 (read-file-local-variable-mode): Use minor-mode-list.
5281
bceff189
RW
52822013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5283
864c58ca 5284 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5285 for DOI URLs.
5286
45f431c6
RW
52872013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5288
864c58ca 5289 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5290 Update imenu-support when dialect changes.
5291
f42d8237
LL
52922013-06-25 Leo Liu <sdl.web@gmail.com>
5293
5294 * ido.el (ido-read-internal): Allow forward slash on windows.
5295
be549ce6
LMI
52962013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5297
5298 * net/eww.el (eww): Start of strings is \\`, not ^.
5299
71d4c19d
IK
53002013-06-24 Ivan Kanis <ivan@kanis.fr>
5301
5196f88a
IK
5302 * net/shr.el (shr-browse-url): Fix interactive spec.
5303
71d4c19d
IK
5304 * net/eww.el (eww): Add a trailing slash to domain names.
5305
ae36ca55
JB
53062013-06-24 Juanma Barranquero <lekktu@gmail.com>
5307
5308 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5309
0ebd92a3
LMI
53102013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5311
bdaa086b
LMI
5312 * net/shr.el (shr-browse-url): Use an external browser if given a
5313 prefix.
5314
c763842b 5315 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5316
b89fc156
IK
53172013-06-24 Ivan Kanis <ivan@kanis.fr>
5318
5319 * net/eww.el (eww): Work more correctly for file: URLs.
5320 (eww-detect-charset): Allow quoted charsets.
5321 (eww-yank-page-url): New command and keystroke.
5322
18eb4bca
DU
53232013-06-24 Daiki Ueno <ueno@gnu.org>
5324
5325 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5326 file name of gpg executable.
5327 (epg-context-program): New function.
5328 (epg-context-home-directory): New function.
5329 (epg-context-set-program): New function.
5330 (epg-context-set-home-directory): New function.
5331 (epg--start): Use `epg-context-program' instead of
5332 'epg-gpg-program'.
5333 (epg--list-keys-1): Likewise.
5334
6c6268c8
LL
53352013-06-24 Leo Liu <sdl.web@gmail.com>
5336
5337 * ido.el (ido-read-internal): Fix bug#14620.
5338
5e400cb3
JB
53392013-06-23 Juanma Barranquero <lekktu@gmail.com>
5340
5341 * faces.el (face-documentation): Simplify.
5342 (read-face-attribute, tty-find-type, x-resolve-font-name):
5343 Use `string-match-p'.
5344 (list-faces-display): Use `string-match-p'. Simplify.
5345 (face-spec-recalc): Check face to avoid face alias loops.
5346 (read-color): Use `string-match-p' and non-capturing parenthesis.
5347
f3f9606c
LMI
53482013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5349
5350 * net/shr.el (shr-rescale-image): Use the new
5351 :max-width/:max-height functionality.
5352
a3ca09b9
IK
53532013-06-23 Ivan Kanis <ivan@kanis.fr>
5354
5355 * net/eww.el (eww-search-prefix): New variable.
5356 (eww): Use it.
f865b474
IK
5357 (eww-external-browser): New variable.
5358 (eww-mode-map): New keystroke.
5359 (eww-browse-with-external-browser): New command.
a3ca09b9 5360
e854cfc7
IK
5361 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5362
18bb9e21
JB
53632013-06-23 Juanma Barranquero <lekktu@gmail.com>
5364
5365 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5366 Don't skip aligning the next header field when padding is 0;
5367 otherwise, field width is not respected unless the title is as
5368 wide as the field.
5369
5b165ade
SM
53702013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * emacs-lisp/package.el (package-el-version): Remove.
5373 (package-process-define-package): Fix inf-loop.
5374 (package-install): Allow symbols as arguments again.
5375
12adebe9
DG
53762013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5377
5378 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5379 add some more keyword-like methods.
5380 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5381
388573ee
JB
53822013-06-22 Juanma Barranquero <lekktu@gmail.com>
5383
5384 * bs.el (bs-buffer-show-mark): Make defvar-local.
5385 (bs-mode): Use setq-local.
5386
5387 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5388 (emacs-lock--try-unlocking): Make defvar-local.
5389
4582a01c 53902013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5391
2663dd23
GM
5392 * play/cookie1.el (cookie-apropos): Minor simplification.
5393
3d94f3ad
GM
5394 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5395
f72e2fdb
DG
53962013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5397
5398 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5399 `regexp-opt', it breaks the build during dumping.
5400
73eab938
DG
54012013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5402
c763842b
SM
5403 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5404 Highlight keyword-like methods on Kernel and Module with
73eab938 5405 font-lock-builtin-face.
5cf8176d
DG
5406 (auto-mode-alist): Consolidate different entries into one regexp
5407 and add more *file-s.
73eab938 5408
d26255f6
SB
54092013-06-21 Stephen Berman <stephen.berman@gmx.net>
5410
5411 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5412
5413 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5414 (diary-entry): Use it in the action of this button type instead of
5415 diary-goto-entry.
5416
5417 * calendar/todo-mode.el: New version.
5418 (todo-add-category): Append new category to end of file and give
5419 it the highest number, instead of putting it at the beginning and
5420 giving it 0. Incorporate noninteractive functionality.
5421 (todo-forward-category): Adapt to 1-based category numbering.
5422 Allow skipping over archived categories.
5423 (todo-backward-category): Derive from todo-forward-category.
5424 (todo-backward-item, todo-forward-item): Make noninteractive and
5425 delegate interactive part to new commands. Make sensitive to done items.
5426 (todo-categories): Make value an alist of category names and
5427 vectors of item counts.
5428 (todo-category-beg): Make a defconst.
5429 (todo-category-number): Use 1 instead of 0 as initial value.
5430 (todo-category-select): Make sensitive to overlays, optional item
5431 highlighting and done items.
5432 (todo-delete-item): Make sensitive to overlays and marked and done items.
5433 (todo-edit-item): Make sensitive to overlays and editing of
5434 date/time header optional. Add format checks.
5435 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5436 no-op if point is not on an item. Advertise using todo-edit-quit.
5437 (todo-edit-mode): Make sensitive to new format, font-locking, and
5438 multiple todo files.
5439 (todo-insert-item, todo-insert-item-here): Derive from
5440 todo-basic-insert-item and extend functionality.
5441 (todo-item-end, todo-item-start): Make sensitive to done items.
5442 (todo-item-string): Don't return text properties. Restore point.
5443 (todo-jump-to-category): Make sensitive to multiple todo files and
5444 todo archives. Use extended category completion.
5445 (todo-lower-item, todo-raise-item): Rename to *-priority and
5446 derive from todo-set-item-priority.
5447 (todo-mode): Derive from special-mode. Make sensitive to new
5448 format, font-locking and multiple todo files. Make read-only.
5449 (todo-mode-map): Don't suppress digit keys, so they can supply
5450 prefix arguments. Add many new key bindings.
5451 (todo-prefix): Insert as an overlay instead of file text.
5452 Change semantics from diary date expression to purely visual mark.
5453 (todo-print): Rename to todo-print-buffer. Make buffer display
5454 features printable. Remove option to restrict number of items
5455 printed. Add option to print to file.
5456 (todo-print-function): Rename to todo-print-buffer-function.
5457 (todo-quit): Extend to handle exiting new todo modes.
5458 (todo-remove-item): Make sensitive to overlays.
5459 (todo-save): Extend to buffers of filtered items.
5460 (todo-show): Make sensitive to done items, multiple todo files and
5461 new todo modes. Offer to convert legacy todo file before creating
5462 first new todo file.
5463 (todo-show-priorities): Rename to todo-top-priorities.
5464 Change semantics of value 0.
5465 (todo-top-priorities): Rename to todo-filter-top-priorities,
5466 derive from todo-filter-items and extend functionality.
5467 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5468 and extend functionality to other types of filtered items.
5469 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5470 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5471 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5472 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5473 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5474 (todo-edit-mode-hook, todo-entry-prefix-function)
5475 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5476 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5477 (todo-initials, todo-insert-threshold, todo-item-string-start)
5478 (todo-line-string, todo-menu, todo-mode-hook)
5479 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5480 (todo-print-priorities, todo-remove-separator)
5481 (todo-save-top-priorities-too, todo-string-count-lines)
5482 (todo-string-multiline-p, todo-time-string-format)
5483 (todo-tmp-buffer-name): Remove.
5484 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5485 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5486 (todo-edit-category-diary-inclusion)
5487 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5488 (todo-edit-file, todo-edit-item-date-day)
5489 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5490 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5491 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5492 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5493 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5494 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5495 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5496 (todo-filter-top-priorities-multifile, todo-find-archive)
5497 (todo-find-filtered-items-file, todo-go-to-source-item)
5498 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5499 (todo-jump-to-archive-category, todo-lower-category)
5500 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5501 (todo-move-category, todo-move-item, todo-next-button)
5502 (todo-next-item, todo-padded-string, todo-powerset)
5503 (todo-previous-button, todo-previous-item)
5504 (todo-print-buffer-to-file, todo-raise-category)
5505 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5506 (todo-set-category-number, todo-set-item-priority)
5507 (todo-set-top-priorities-in-category)
5508 (todo-set-top-priorities-in-file, todo-show-categories-table)
5509 (todo-sort-categories-alphabetically-or-numerically)
5510 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5511 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5512 (todo-toggle-item-header, todo-toggle-item-highlighting)
5513 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5514 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5515 (todo-unarchive-items, todo-unmark-category): New commands.
5516 (todo-absolute-file-name, todo-add-to-buffer-list)
5517 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5518 (todo-basic-insert-item, todo-category-completions)
5519 (todo-category-number, todo-category-string-matcher-1)
5520 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5521 (todo-check-format, todo-clear-matches)
5522 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5523 (todo-current-category, todo-date-string-matcher)
5524 (todo-define-insertion-command, todo-diary-expired-matcher)
5525 (todo-diary-goto-entry, todo-diary-item-p)
5526 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5527 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5528 (todo-done-item-section-p, todo-done-separator)
5529 (todo-done-string-matcher, todo-files, todo-filter-items)
5530 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5531 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5532 (todo-insert-category-line, todo-insert-item-from-calendar)
5533 (todo-insert-sort-button, todo-insert-with-overlays)
5534 (todo-insertion-command-name, todo-insertion-key-bindings)
5535 (todo-label-to-key, todo-longest-category-name-length)
5536 (todo-make-categories-list, todo-mode-external-set)
5537 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5538 (todo-modes-set-3, todo-multiple-filter-files)
5539 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5540 (todo-read-category, todo-read-date, todo-read-dayname)
5541 (todo-read-file-name, todo-read-time)
5542 (todo-reevaluate-category-completions-files-defcustom)
5543 (todo-reevaluate-default-file-defcustom)
5544 (todo-reevaluate-filelist-defcustoms)
5545 (todo-reevaluate-filter-files-defcustom)
5546 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5547 (todo-reset-done-separator, todo-reset-done-separator-string)
5548 (todo-reset-done-string, todo-reset-global-current-todo-file)
5549 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5550 (todo-reset-prefix, todo-set-categories)
5551 (todo-set-date-from-calendar, todo-set-show-current-file)
5552 (todo-set-top-priorities, todo-short-file-name)
5553 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5554 (todo-total-item-counts, todo-update-buffer-list)
5555 (todo-update-categories-display, todo-update-categories-sexp)
5556 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5557 New functions.
5558 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5559 New major modes.
5560 (todo-categories, todo-display, todo-edit, todo-faces)
5561 (todo-filtered): New defgroups.
5562 (todo-archived-only, todo-button, todo-category-string, todo-date)
5563 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5564 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5565 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5566 (todo-add-item-if-new-category, todo-always-add-time-string)
5567 (todo-categories-align, todo-categories-archived-label)
5568 (todo-categories-category-label, todo-categories-diary-label)
5569 (todo-categories-done-label, todo-categories-number-separator)
5570 (todo-categories-todo-label, todo-categories-totals-label)
5571 (todo-category-completions-files, todo-completion-ignore-case)
5572 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5573 (todo-done-separator-string, todo-done-string)
5574 (todo-files-function, todo-filter-done-items, todo-filter-files)
5575 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5576 (todo-initial-category, todo-initial-file, todo-item-mark)
5577 (todo-legacy-date-time-regexp, todo-mode-line-function)
5578 (todo-nondiary-marker, todo-number-prefix)
5579 (todo-print-buffer-function, todo-show-current-file)
5580 (todo-show-done-only, todo-show-first, todo-show-with-done)
5581 (todo-skip-archived-categories, todo-top-priorities-overrides)
5582 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5583 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5584 New defcustoms.
5585 (todo-category-done, todo-date-pattern, todo-date-string-start)
5586 (todo-diary-items-buffer, todo-done-string-start)
5587 (todo-filtered-items-buffer, todo-item-start)
5588 (todo-month-abbrev-array, todo-month-name-array)
5589 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5590 (todo-top-priorities-buffer): New defconsts.
5591 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5592 (todo-categories-with-marks, todo-category-string-face)
5593 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5594 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5595 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5596 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5597 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5598 (todo-font-lock-keywords, todo-global-current-todo-file)
5599 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5600 (todo-insertion-commands-args)
5601 (todo-insertion-commands-args-genlist)
5602 (todo-insertion-commands-names, todo-insertion-map)
5603 (todo-key-bindings-t, todo-key-bindings-t+a)
5604 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5605 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5606 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5607 (todo-visited): New variables.
5608
cad5d1cb
GM
56092013-06-21 Glenn Morris <rgm@gnu.org>
5610
5611 * play/cookie1.el (cookie-apropos): Add optional display argument.
5612 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5613 (psychoanalyze-pinhead): Use cookie-doctor.
5614
9e277302
JB
56152013-06-21 Juanma Barranquero <lekktu@gmail.com>
5616
5617 * emacs-lisp/package.el (tar-get-file-descriptor)
5618 (tar--extract): Declare.
5619
c5b0993e
EW
56202013-06-21 Eduard Wiebe <usenet@pusto.de>
5621
5622 Extend flymake's warning predicate to be a function (bug#14217).
5623 * progmodes/flymake.el (flymake-warning-predicate): New.
5624 (flymake-parse-line): Use it.
5625 (flymake-warning-re): Make obsolete alias to
5626 `flymake-warning-predicate'.
5627
a7d2d465
SM
56282013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5631 (package-obsolete-list): Remove.
5632 (package-activate): Remove min-version argument. Add `force' argument.
5633 Adjust to new package-alist format.
5634 (package-mark-obsolete): Remove.
5635 (package-unpack): Force reload of the package's autoloads.
5636 (package-installed-p): Check builtins if the installed package is not
5637 recent enough.
5638 (package-initialize): Don't reset package-obsolete-list.
5639 Don't specify which package version to activate.
5640 (package-process-define-package, describe-package-1)
5641 (package-menu--generate): Adjust to new package-alist format.
5642
cedf5c9d
JB
56432013-06-21 Juanma Barranquero <lekktu@gmail.com>
5644
5645 * allout-widgets.el (allout-widgets-mode-off)
5646 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5647 (allout-widgets-post-command-business)
5648 (allout-widgets-after-copy-or-kill-function)
5649 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5650 (allout-decorate-item-and-context)
5651 (allout-graphics-modification-handler): Fix typos in docstrings.
5652 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5653
5654 * cmuscheme.el (scheme-start-file): Doc fix.
5655 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5656 (scheme-input-filter): Use `string-match-p'.
5657
5658 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5659
5660 * dired-x.el: Use Dired consistently in docstrings.
5661
5662 * dired.el: Use Dired consistently in docstrings.
5663 (dired-readin, dired-mode): Use `setq-local'.
5664 (dired-switches-alist): Make defvar-local.
5665 (dired-buffers-for-dir): Use `zerop'.
5666 (dired-safe-switches-p, dired-switches-escape-p)
5667 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5668 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5669 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5670 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5671 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5672 (dired-toggle-marks, dired-mark-files-containing-regexp)
5673 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5674 (dired-flag-auto-save-files, dired-flag-backup-files):
5675 Use `looking-at-p'.
5676 (dired-mark-files-regexp, dired-build-subdir-alist):
5677 Use `string-match-p', `looking-at-p'.
5678
5679 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5680 (direct-print-region-helper): Use `string-match-p'.
5681
aed838b5
LL
56822013-06-21 Leo Liu <sdl.web@gmail.com>
5683
cedf5c9d
JB
5684 * comint.el (comint-redirect-results-list-from-process):
5685 Fix infinite loop.
aed838b5 5686
d80a808f
LMI
56872013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688
5689 * net/eww.el (eww-update-header-line-format): Quote % characters.
5690
e7a526e3
GM
56912013-06-21 Glenn Morris <rgm@gnu.org>
5692
5693 * play/cookie1.el (cookie): New custom group.
5694 (cookie-file): New option.
5695 (cookie-check-file): New function.
5696 (cookie): Make it interactive. Make start and end messages optional.
5697 Interactively, display the result. Default to cookie-file.
5698 (cookie-insert): Default to cookie-file.
5699 (cookie-snarf): Make start and end messages optional.
5700 Default to cookie-file. Use with-temp-buffer.
5701 (cookie-read): Rename from read-cookie.
5702 Make start and end messages optional. Default to cookie-file.
5703 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5704 Do not autoload it.
e7a526e3
GM
5705 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5706 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5707
62efb35e
LL
57082013-06-21 Leo Liu <sdl.web@gmail.com>
5709
5710 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5711
21e3f963
GM
57122013-06-21 Glenn Morris <rgm@gnu.org>
5713
5714 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5715
fd846ab4
SM
57162013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5717 Daniel Hackney <dan@haxney.org>
5718
5719 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5720 Consolidate the single-file vs tarball code.
5721 (package-desc-suffix): New function.
5722 (package-desc-full-name): Don't bother inlining it.
5723 (package-load-descriptor): Return the new package-desc.
5724 (package-mark-obsolete): Remove unused arg `package'.
5725 (package-unpack): Make it work for single files as well.
5726 Make it update package-alist.
5727 (package--make-autoloads-and-stuff): Rename from
5728 package--make-autoloads-and-compile. Don't compile any more.
5729 (package--compile): New function.
5730 (package-generate-description-file): New function, extracted from
5731 package-unpack-single.
5732 (package-unpack-single): Remove.
5733 (package--with-work-buffer): Add indentation and debugging info.
5734 (package-download-single): Remove.
5735 (package-install-from-archive): Rename from package-download-tar, make
5736 it take a pkg-desc, and make it work for single files as well.
5737 (package-download-transaction): Simplify.
5738 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5739 external tar program.
5740 (package-install-from-buffer): Remove `pkg-desc' argument.
5741 Use package-tar-file-info for tar-mode buffers.
5742 (package-install-file): Simplify accordingly.
5743 (package-archive-base): Change to take a pkg-desc.
5744 * tar-mode.el (tar--check-descriptor): New function, extracted from
5745 tar-get-descriptor.
5746 (tar-get-descriptor): Use it.
5747 (tar-get-file-descriptor): New function.
5748 (tar--extract): New function, extracted from tar-extract.
5749 (tar--extract): Use it.
5750 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5751 case the summary uses non-ascii. Adjust to new calling convention of
5752 package-tar-file-info.
5753
b7deae5e
LL
57542013-06-21 Leo Liu <sdl.web@gmail.com>
5755
fd846ab4
SM
5756 * comint.el (comint-redirect-results-list-from-process):
5757 Fix random delay. (Bug#14681)
b7deae5e 5758
7a65a0b2
JB
57592013-06-21 Juanma Barranquero <lekktu@gmail.com>
5760
5761 * profiler.el (profiler-format-number): Use log, not log10.
5762
1493c2af
JB
57632013-06-20 Juanma Barranquero <lekktu@gmail.com>
5764
5765 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5766
aff6371e
SM
57672013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5768
5769 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5770 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5771 yet available.
5772 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5773 (AUTOGENEL): ... here.
5774 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5775 (cl--defsubst-expand): Use it.
5776
89561f72
PE
57772013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5778
5779 * subr.el (log10): Move here from C code, and declare as obsolete.
5780 All uses of (log10 X) replaced with (log X 10).
5781
47199123
JB
57822013-06-20 Juanma Barranquero <lekktu@gmail.com>
5783
5784 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5785 Declare with `defvar-local'.
5786 (tabulated-list-use-header-line, tabulated-list-entries)
5787 (tabulated-list-padding, tabulated-list-printer)
5788 (tabulated-list-sort-key): Declare with `defvar-local'.
5789 (tabulated-list-init-header, tabulated-list-print-fake-header):
5790 Use `setq-local'.
5791
4a172eab
MA
57922013-06-20 Michael Albinus <michael.albinus@gmx.de>
5793
47199123
JB
5794 * arc-mode.el (archive-mode): Add `archive-write-file' to
5795 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5796
5fc0acc0
JB
57972013-06-20 Juanma Barranquero <lekktu@gmail.com>
5798
d5b27848
JB
5799 * cus-edit.el (custom-commands): Fix typos.
5800 (custom-display): Fix tooltip text.
5801 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5802 Fix typos in docstrings.
5803 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5804 (custom-unlispify-menu-entry, custom-magic-value-create)
5805 (custom-add-see-also, custom-group-value-create): Use ?\s.
5806 (custom-guess-type, customize-apropos, editable-field)
5807 (custom-face-value-create): Use `string-match-p'.
5808 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5809
5810 * custom.el (custom-load-symbol): Use `string-match-p'.
5811
a5c581d8
JB
5812 * ansi-color.el: Convert to lexical binding.
5813 (ansi-colors): Fix URL.
5814 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5815 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5816 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5817
970ad972
G
58182013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5819
5820 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5821
5822 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5823
58242013-06-19 Tom Tromey <tromey@redhat.com>
5825
5826 * net/eww.el (eww-top-url): Remove.
5827 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5828 (eww-render): Set new variables. Don't set eww-top-url.
5829 (eww-handle-link): Handle "prev", "home", and "contents".
5830 Downcase the rel text.
5831 (eww-top-url): Choose best top URL.
5832
58332013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5834
5835 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5836 relying in widget.el. Using widget.el leads to too many
5837 user interface inconsistencies.
5838 (eww-self-insert): Implement entering commands in text fields.
5839 (eww-process-text-input): New function to make text input field editing
5840 work.
5841 (eww-submit): Rewrite to use the new-style form methods.
5842 (eww-select-display): Display the correct selected item.
5843 (eww-change-select): Implement changing the select value.
5844 (eww-toggle-checkbox): Implement radio/checkboxes.
5845 (eww-update-field): Fix compilation error.
5846 (eww-tag-textarea): Implement <textarea>.
5847
5848 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5849 we don't shadow mode-specific bindings.
5850
5851 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5852 nothing to push.
5853
5854 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5855
4582a01c 58562013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5857
5858 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5859
15b263dc
MA
58602013-06-19 Michael Albinus <michael.albinus@gmx.de>
5861
5862 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5863 not needed.
5864
5865 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5866
8f5297f7
LMI
58672013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5868
5869 * net/browse-url.el (browse-url-browser-function):
5870 `eww-browse-url' has the right calling signature, `eww' does not.
5871
011c4552
GM
58722013-06-19 Glenn Morris <rgm@gnu.org>
5873
2285bd27
GM
5874 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5875 Only eval autoloaded macros.
5876 (byte-compile-autoload): Only give the macro warning for macros.
5877
1d653303
GM
5878 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5879 (ps-underlined-faces): Declare.
5880
bdd779ec
GM
5881 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5882 (speedbar-add-supported-extension): Declare.
5883
011c4552
GM
5884 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5885 Don't include a date stamp in the header of the generated file;
5886 it leads to needless differences between output files.
5887
e59dfb0e
MA
58882013-06-19 Michael Albinus <michael.albinus@gmx.de>
5889
c763842b
SM
5890 * net/secrets.el (secrets-struct-secret-content-type):
5891 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5892 Some servers do not offer introspection.
e59dfb0e 5893
102626e2
SM
58942013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * electric.el (electric-pair-mode): Improve interaction with
5897 electric-layout-mode.
5898 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5899 (electric-pair-syntax): Use text-mode-syntax-table in comments
5900 and strings.
5901 (electric-pair--insert): New function.
5902 (electric-pair-post-self-insert-function): Use it and
5903 electric--after-char-pos.
5904
ad528125
LL
59052013-06-19 Leo Liu <sdl.web@gmail.com>
5906
5907 * progmodes/octave.el (octave-help): Fix regexp.
5908
924d6997
G
59092013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5910
5911 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5912 (shr-table-horizontal-line): Allow nil as a value, and change the
5913 default.
5914 (shr-insert-table-ruler): Respect the nil value.
5915
59162013-06-18 Tom Tromey <tromey@barimba>
5917
5918 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5919 New defvars.
5920 (eww-open-file): New defun.
5921 (eww-render): Initialize new variables.
5922 (eww-display-html): Handle "link" and "a".
5923 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5924 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5925 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5926 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5927 New defuns.
924d6997 5928
d1bbba4f
DG
59292013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5930
5931 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5932 Distinguish ternary operator tokens from slash symbol and slash
5933 char literal.
5934
14dd22d2
JB
59352013-06-18 Juanma Barranquero <lekktu@gmail.com>
5936
5937 Convert symbol prettification into minor mode and global minor mode.
5938
5939 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5940 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5941 (prettify-symbols--keywords): Rename from
5942 `prog-prettify-symbols-alist' and make a local defvar.
5943 (prettify-symbols--compose-symbol): Rename from
5944 `prog--prettify-font-lock-compose-symbol'.
5945 (prettify-symbols--make-keywords): Rename from
5946 `prog-prettify-font-lock-symbols-keywords' and simplify.
5947 (prog-prettify-install): Remove.
5948 (prettify-symbols-mode): New minor mode, based on
5949 `prog-prettify-install'.
5950 (turn-on-prettify-symbols-mode): New function.
5951 (global-prettify-symbols-mode): New globalized minor mode.
5952
5953 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5954 * progmodes/cfengine.el (cfengine3-mode):
5955 * progmodes/perl-mode.el (perl-mode): Don't call
5956 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5957
292c880c
JL
59582013-06-18 Juri Linkov <juri@jurta.org>
5959
5960 * files-x.el (modify-file-local-variable-message): New function.
5961 (modify-file-local-variable)
5962 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5963 and call `modify-file-local-variable-message' when it's non-nil.
5964 (add-file-local-variable, delete-file-local-variable)
5965 (add-file-local-variable-prop-line)
5966 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5967 and use it. (Bug#9820)
5968
0950aa27
JL
59692013-06-18 Juri Linkov <juri@jurta.org>
5970
5971 * emulation/vi.el (vi-shell-op):
5972 * emulation/vip.el (vip-execute-com, ex-command):
5973 * emulation/viper-cmd.el (viper-exec-bang):
5974 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5975 the call of `shell-command-on-region'. (Bug#14637)
5976
5977 * simple.el (shell-command-on-region): Doc fix.
5978
8fbcca16
SM
59792013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5982 (bug#14633).
5983
dd7426ea
GM
59842013-06-18 Glenn Morris <rgm@gnu.org>
5985
4ba54f7d
GM
5986 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5987
dd7426ea
GM
5988 * newcomment.el (comment-search-forward, comment-search-backward):
5989 Doc fix. (Bug#14376)
5990
58aa805b
JB
59912013-06-18 Juanma Barranquero <lekktu@gmail.com>
5992
5993 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5994 (buffer-face-mode-invoke): Doc fix.
5995
9a08a617
MM
59962013-06-18 Matthias Meulien <orontee@gmail.com>
5997
5998 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5999 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6000
f2f426ca
GM
60012013-06-18 Glenn Morris <rgm@gnu.org>
6002
9445f99b
GM
6003 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6004 Replace obsolete function generic-make-keywords with its expansion.
6005
e0df2d14
GM
6006 * progmodes/python.el (ffap-alist): Declare.
6007
f2f426ca
GM
6008 * textmodes/reftex.el (bibtex-mode-map): Declare.
6009
f7f9a720
SM
60102013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6013 (package-unpack, package-unpack-single): Return the pkg-dir.
6014 (package-download-transaction): Use it to update package-alist.
6015
57ff04e0
LMI
60162013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6017
6018 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6019 possible choice.
6020
c048c022
JL
60212013-06-17 Juri Linkov <juri@jurta.org>
6022
6023 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6024
b5bcaee5
DG
60252013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6026
a020afb9
JB
6027 * emacs-lisp/package.el (package-load-descriptor):
6028 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6029 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6030
551e07e5
JB
60312013-06-17 Juanma Barranquero <lekktu@gmail.com>
6032
6033 * startup.el (command-line): Expand package name returned by
6034 `package--description-file' (bug#14639).
6035
d363bffb
DG
60362013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6037
6038 * emacs-lisp/package.el (package-load-descriptor): Do not call
6039 `emacs-lisp-mode', just use its syntax table.
6040
f612933b
JB
60412013-06-17 Juanma Barranquero <lekktu@gmail.com>
6042
6043 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6044 `font-lock-extra-managed-props' if any prettifying keyword is added.
6045 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6046 (prog-mode): Use `setq-local'.
6047
db3b7db5
SM
60482013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * international/characters.el (standard-case-table): Set syntax of ?»
6051 and ?« to punctuation.
6052
f3d674df
JB
60532013-06-16 Juanma Barranquero <lekktu@gmail.com>
6054
6055 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6056 Save relevant match data before calling `syntax-ppss' (bug#14595).
6057
31489a32
JL
60582013-06-15 Juri Linkov <juri@jurta.org>
6059
6060 * files-x.el (modify-file-local-variable-prop-line): Add local
6061 variables to the end of the existing comment on the first line.
6062 Use `file-auto-mode-skip' to skip interpreter magic line,
6063 and also skip XML declaration.
6064
66bd25ab
SM
60652013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * startup.el (package--builtin-versions): New var.
6068 (package-subdirectory-regexp): Remove.
6069 (package--description-file): Hard code its value instead.
6070
6071 * emacs-lisp/package.el: Don't activate packages older than builtin.
6072 (package-obsolete-list): Rename from package-obsolete-alist, and make
6073 it into a simple list of package-desc.
6074 (package-strip-version): Remove.
6075 (package-built-in-p): Use package--builtin-versions.
6076 (package-mark-obsolete): Simplify.
6077 (package-process-define-package): Mark it obsolete if older than the
6078 builtin version.
6079 (package-handle-response): Use line-end-position.
6080 (package-read-archive-contents, package--download-one-archive):
6081 Simplify.
6082 (package--add-to-archive-contents): Skip if older than the builtin or
6083 installed version.
6084 (package-menu-describe-package): Fix last change.
6085 (package-list-unversioned): New var.
6086 (package-menu--generate): Use it.
6087
6088 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6089 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6090 (autoload-builtin-package-versions): New variable.
6091 (autoload-generate-file-autoloads): Use them.
6092 Remove the list of autoloaded functions/macros from the
6093 (autoload...) comments.
6094
6095 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6096
9583ec36
EZ
60972013-06-15 Eli Zaretskii <eliz@gnu.org>
6098
6099 * simple.el (line-move-partial): Don't jump to the next screen
6100 line as soon as it becomes visible. Instead, continue enlarging
6101 the vscroll until the portion of a tall screen line that's left on
6102 display is about the height of the frame's default font.
6103 (Bug#14567)
6104
f0100d8a
GM
61052013-06-15 Glenn Morris <rgm@gnu.org>
6106
b86a85ca
GM
6107 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6108 compilation-error-regexp-alist void, or local while let-bound.
6109
f0100d8a
GM
6110 * progmodes/make-mode.el (makefile-mode-syntax-table):
6111 Treat "=" as punctuation. (Bug#14614)
6112
05e7ce90
JB
61132013-06-15 Juanma Barranquero <lekktu@gmail.com>
6114
6115 * help-fns.el (describe-variable):
6116 Add extra line for permanent-local variables.
6117
12e5e86e
SH
61182013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6119
6120 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6121 Add export, import, library. (Bug#9164)
6122 (library): Set indent function.
6123
230dcbaf
GM
61242013-06-14 Glenn Morris <rgm@gnu.org>
6125
6126 * term/xterm.el (xterm--query):
6127 Stop after first matching handler. (Bug#14615)
6128
e36b2d20 61292013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6130
6131 Add support for dired in saveplace.
6132 * dired.el (dired-initial-position-hook): New variable.
6133 (dired-initial-position): Call hook to place cursor position.
6134 * saveplace.el (save-place-to-alist): Add dired position.
6135 (save-place-dired-hook): New function.
6136
0b31660d
SM
61372013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6138
bf1e6ae8
SM
6139 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6140 through a symbol rather than letrec.
6141
1b8dff23
SM
6142 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6143 (package-desc): Add `dir' field.
6144 (package-desc-full-name): New function.
6145 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6146 (package-maybe-load-descriptor): Remove.
6147 (package-load-all-descriptors): Just call package-load-descriptor.
6148 (package--disabled-p): New function.
6149 (package-desc-vers, package-desc-doc): Remove aliases.
6150 (package--dir): Remove function.
6151 (package-activate): Check if a package is disabled.
6152 (package-process-define-package): New function, extracted from
6153 define-package.
6154 (define-package): Turn into a place holder.
6155 (package-unpack-single, package-tar-file-info):
6156 Use package--description-file.
6157 (package-compute-transaction): Use package--disabled-p.
6158 (package-download-transaction): Don't call
6159 package-maybe-load-descriptor since they're all loaded anyway.
6160 (package-install): Change argument to be a pkg-desc.
6161 (package-delete): Use a single pkg-desc argument.
6162 (describe-package-1): Use package-desc-dir instead of package--dir.
6163 Use package-desc property instead of package-symbol.
6164 (package-install-button-action): Adjust accordingly.
6165 (package--push): Rewrite.
6166 (package-menu--print-info): Adjust accordingly. Change the ID format
6167 to be a pkg-desc.
6168 (package-menu-describe-package, package-menu-get-status)
6169 (package-menu--find-upgrades, package-menu-mark-upgrades)
6170 (package-menu-execute, package-menu--name-predicate):
6171 Adjust accordingly.
6172 * startup.el (package--description-file): New function.
6173 (command-line): Use it.
6174 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6175 Use package-desc-version.
6176
0b31660d
SM
6177 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6178 (byte-compile-preprocess): Use it.
6179 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6180 can't quite recognize.
6181 (byte-compile-add-to-list): Remove.
6182 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6183 (cconv-closure-convert): Add assertion.
6184
6185 * emacs-lisp/map-ynp.el: Use lexical-binding.
6186 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6187 Factor out some repeated code.
6188
de0503df
SM
61892013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * subr.el (with-eval-after-load): New macro.
6192 (eval-after-load): Allow form to be a function.
6193 take advantage of lexical-binding.
6194 (do-after-load-evaluation): Use dolist and adjust to new format.
6195 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6196
bc5c8c5a
JL
61972013-06-13 Juri Linkov <juri@jurta.org>
6198
6199 * replace.el (perform-replace): Display "symbol " and other search
6200 modes from `isearch-message-prefix' in the *Help* buffer.
6201
6202 * isearch.el (isearch-query-replace): Add " symbol" and other
6203 possible search modes from `isearch-message-prefix' to the prompt.
6204 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6205 when reading a regexp to collect.
6206
a22289f7
JL
62072013-06-13 Juri Linkov <juri@jurta.org>
6208
6209 * isearch.el (word-search-regexp): Match whitespace if the search
6210 string begins or ends in whitespace. The LAX arg is applied to
6211 both ends of the search string. Use `regexp-quote' and explicit
6212 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6213 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6214 boundaries are replaced with symbol boundaries, and characters
6215 between symbols match non-word non-symbol syntax. (Bug#14602)
6216
cb89acab
JL
62172013-06-13 Juri Linkov <juri@jurta.org>
6218
6219 * isearch.el (isearch-del-char): Don't exceed the length of
6220 `isearch-string' by the prefix arg. (Bug#14563)
6221
6e8cfc81
JL
62222013-06-13 Juri Linkov <juri@jurta.org>
6223
6224 * isearch.el (isearch-yank-word, isearch-yank-line)
6225 (isearch-char-by-name, isearch-quote-char)
6226 (isearch-printing-char, isearch-process-search-char):
6227 Add optional count prefix arg. (Bug#14563)
6228
6229 * international/isearch-x.el
6230 (isearch-process-search-multibyte-characters):
6231 Add optional count prefix arg.
6232
c23d55f4
VS
62332013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6234
6235 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6236 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6237 lexical-binding.
6238
62392013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6240
6241 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6242
ba947bc4
GM
62432013-06-13 Glenn Morris <rgm@gnu.org>
6244
8baeb37a
GM
6245 * startup.el (tty-handle-args):
6246 Don't just discard "--" and anything after. (Bug#14608)
6247
ba947bc4
GM
6248 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6249
9abefce4
MA
62502013-06-13 Michael Albinus <michael.albinus@gmx.de>
6251
6252 Implement changes in Secret Service API. Make it backward compatible.
6253 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6254 (secrets-create-item): Use it. Prefix properties with interface.
6255
5755011f
MH
62562013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6257
6258 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6259 (term-emulate-terminal): Respect term-suppress-hard-newline.
6260
1261d2da
S
62612013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6262
6263 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6264 Only remove a `thumb-file' overlay. (Bug#14548)
6265
868490bb
GJ
62662013-06-12 Grégoire Jadi <daimrod@gmail.com>
6267
6268 * mail/reporter.el (reporter-submit-bug-report):
6269 Handle missing package-name. (Bug#14600)
6270
79d7167f
TH
62712013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6272
6273 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6274 (reftex-citation-prompt, reftex-default-bibliography)
6275 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6276 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6277 (reftex-bib-sort-author, reftex-bib-sort-year)
6278 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6279 (reftex-extract-bib-entries-from-thebibliography)
6280 (reftex-get-bibkey-default, reftex-get-bib-names)
6281 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6282 (reftex-format-bib-entry, reftex-parse-bibitem)
6283 (reftex-format-bibitem, reftex-do-citation)
6284 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6285 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6286 (reftex-insert-bib-matches, reftex-format-citation)
6287 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6288 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6289 existing comments into docstrings.
6290
5f9dbd7a
XF
62912013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6292
6293 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6294
94df41ab
AS
62952013-06-12 Andreas Schwab <schwab@suse.de>
6296
6297 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6298 for auto-save files.
6299
a7f3fecc
GM
63002013-06-12 Glenn Morris <rgm@gnu.org>
6301
001809f6
GM
6302 * ido.el (ido-delete-ignored-files): Remove.
6303 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6304 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6305
834b5ded
EL
63062013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6307
08c73ed2
EL
6308 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6309
834b5ded
EL
6310 * ido.el (ido-delete-ignored-files): New function,
6311 split from ido-make-file-list-1.
6312 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6313 (ido-make-file-list-1): Use ido-delete-ignored-files.
6314
daabf15a
LL
63152013-06-12 Leo Liu <sdl.web@gmail.com>
6316
6317 * progmodes/octave.el (inferior-octave-startup)
6318 (inferior-octave-completion-table)
6319 (inferior-octave-track-window-width-change)
6320 (octave-eldoc-function-signatures, octave-help)
6321 (octave-find-definition): Use single quoted strings.
6322 (inferior-octave-startup-args): Change default value.
6323 (inferior-octave-startup): Do not hard code "-i" and
6324 "--no-line-editing".
6325 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6326 (inferior-octave-directory-tracker): Use it.
6327 (octave-goto-function-definition): Robustify.
6328 (octave-help): Support highlighting operators in 'See also'.
6329 (octave-find-definition): Find subfunctions only in Octave mode.
6330
cf4e5178
SM
63312013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 * help-fns.el (help-fns--compiler-macro): If the handler function is
6334 named, then put a link to it.
6335 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6336 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6337 (cl-typep): Use it.
6338 (cl-eval-when): Simplify debug spec.
6339 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6340 compiler-macro function instead of setting `compiler-macro-file'.
6341
99c81280 63422013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6343
6344 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6345 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6346
f56be016
SM
63472013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6348 Daniel Hackney <dan@haxney.org>
6349
6350 First part of Daniel Hackney's patch to package.el.
6351 * emacs-lisp/package.el: Use defstruct.
6352 (package-desc): New, main struct.
6353 (package--bi-desc, package--ac-desc): New structs, used to describe the
6354 format in external files.
6355 (package-desc-vers): Replace with package-desc-version accessor.
6356 (package-desc-doc): Replace with package-desc-summary accessor.
6357 (package-activate-1): Remove `package' arg since the pkg-vec now
6358 includes the name.
6359 (define-package): Use package-desc-from-define.
6360 (package-unpack-single): Change file-name arg to be a symbol.
6361 (package--add-to-archive-contents): Use package-desc-create and new
6362 accessor functions to package--ac-desc.
6363 (package-buffer-info, package-tar-file-info): Return a package-desc.
6364 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6365 arg to be a package-desc.
6366 (package-install-file): Adjust accordingly. Use \' to match EOS.
6367 (package--from-builtin): New function.
6368 (describe-package-1, package-menu--generate): Use it.
6369 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6370 (package-generate-autoloads): Idem and return the name of the file.
6371 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6372 Change pkg-info arg to be a package-desc.
6373 Use package-make-ac-desc.
6374 (package-upload-file): Use \' to match EOS.
6375 * finder.el (finder-compile-keywords): Use package-make-builtin.
6376
31119d63
SM
63772013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6378
931a2762
SM
6379 * vc/vc.el (vc-deduce-fileset): Change error message.
6380 (vc-read-backend): New function.
6381 (vc-next-action): Use it.
6382
5a3eb0c6
SM
6383 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6384
e3eb1bb7
SM
6385 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6386 (prolog-font-lock-keywords): Use regexp-opt instead.
6387 Don't manually highlight strings.
6388 (prolog-mode-variables): Simplify comment-start-skip.
6389 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6390
31119d63
SM
6391 * emacs-lisp/generic.el (generic--normalise-comments)
6392 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6393 (generic-mode-set-comments): Use them.
6394 (generic-bracket-support): Use setq-local.
6395 (generic-make-keywords-list): Declare obsolete.
6396
7de135d0
GM
63972013-06-11 Glenn Morris <rgm@gnu.org>
6398
6399 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6400 Prettify after setting font-lock-defaults. (Bug#14574)
6401
fa6bc6fd
JB
64022013-06-11 Juanma Barranquero <lekktu@gmail.com>
6403
6404 * replace.el (query-replace, occur-read-regexp-defaults-function)
6405 (replace-search):
6406 * subr.el (declare-function, number-sequence, local-set-key)
6407 (substitute-key-definition, locate-user-emacs-file)
6408 (with-silent-modifications, split-string, eval-after-load):
6409 Fix typos, remove unneeded backslashes and reflow some docstrings.
6410
cf1f9b9a
SM
64112013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6414 default for Elisp files.
6415
56602a4b
GM
64162013-06-11 Glenn Morris <rgm@gnu.org>
6417
6418 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6419 although define-derived-mode was doing this anyway. (Bug#14583)
6420
30ae0b2c
JB
64212013-06-10 Juanma Barranquero <lekktu@gmail.com>
6422
6423 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6424 Fix make-variable-buffer-local call to refer to the correct variable.
6425
fa472906
AG
64262013-06-10 Aidan Gauland <aidalgol@amuri.net>
6427
6428 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6429 (eshell-visual-subcommands, eshell-visual-options):
6430 Add summary line to docstrings. Add cross-references.
fa472906 6431
ff4871b9
GM
64322013-06-10 Glenn Morris <rgm@gnu.org>
6433
6434 * epa.el (epa-read-file-name): New function. (Bug#14510)
6435 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6436
04fcf1b0
AG
64372013-06-09 Aidan Gauland <aidalgol@amuri.net>
6438
6439 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6440 output redirection to be ignored with visual commands.
6441
88b00caa
AG
64422013-06-09 Aidan Gauland <aidalgol@amuri.net>
6443
6444 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6445 (eshell-term-initialize): Move long lambda to separate function
6446 eshell-visual-command-p.
e7b41c4c
JB
6447 * eshell/em-dirs.el (eshell-dirs-initialise):
6448 * eshell/em-script.el (eshell-script-initialize):
6449 Add missing #' to lambda.
88b00caa 6450
fda74125
LL
64512013-06-08 Leo Liu <sdl.web@gmail.com>
6452
6453 * progmodes/octave.el (octave-add-log-current-defun): New function.
6454 (octave-mode): Set add-log-current-defun-function.
6455 (octave-goto-function-definition): Do not move point if not found.
6456 (octave-find-definition): Enhance to try subfunctions first.
6457
467f3b33
GM
64582013-06-08 Glenn Morris <rgm@gnu.org>
6459
6460 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6461 (byte-compile-backward-char, byte-compile-backward-word):
6462 Improve previous change, to handle non-explicit nil.
6463
544badc3
SM
64642013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6467 (smie--opener/closer-at-point): New function.
6468 (smie--matching-block-data): Use it. Don't match from right after an
6469 opener or right before a closer. Obey smie-blink-matching-inners.
6470 Don't signal a mismatch for repeated inners like "switch..case..case".
6471
a175bf33
LL
64722013-06-07 Leo Liu <sdl.web@gmail.com>
6473
6474 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6475 to t. (Bug#14303)
ce8209d4
LL
6476 (octave-function-header-regexp): Fix. (Bug#14570)
6477 (octave-help-mode-finish-hook, octave-help-mode-finish):
6478 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6479
6480 * newcomment.el (comment-search-backward): Revert last change.
6481 (Bug#14434)
6482
6483 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6484
a822acff
EZ
64852013-06-07 Eli Zaretskii <eliz@gnu.org>
6486
6487 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6488 through xargs, to avoid failure due to MS-Windows limitations on
6489 command-line length.
6490
961166f5
GM
64912013-06-06 Glenn Morris <rgm@gnu.org>
6492
d0341459
GM
6493 * font-lock.el (lisp-font-lock-keywords-2):
6494 Treat user-error like error.
6495
961166f5
GM
6496 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6497 (byte-compile-backward-char, byte-compile-backward-word):
6498 Handle explicit nil arguments. (Bug#14565)
6499
80fa505f
AM
65002013-06-05 Alan Mackenzie <acm@muc.de>
6501
6502 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6503 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6504 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6505 (Bug#9706)
80fa505f 6506
fccdc796
SM
65072013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * autorevert.el (auto-revert-notify-handler): Use memq.
6510 Hide assertion failure.
6511
6512 * skeleton.el: Use cl-lib.
6513 (skeleton-further-elements): Use defvar-local.
6514 (skeleton-insert): Use cl-progv.
6515
9bfff84b
TZ
65162013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6517
6518 * progmodes/prog-mode.el (prog-prettify-symbols)
6519 (prog-prettify-install): Update docstrings.
6520
55577e7c
SM
65212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * simple.el: Move all the prog-mode code to prog-mode.el.
6524 * progmodes/prog-mode.el: New file.
6525 * loadup.el: Add prog-mode.el.
6526
8fc57765
TZ
65272013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6528
6529 * simple.el (prog-prettify-symbols): Add version.
6530 (prog-prettify-install): Add convenience function to prettify symbols.
6531
6532 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6533 (perl--augmented-font-lock-keywords-1)
6534 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6535 variables and use it.
6536
6537 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6538 (cfengine3-mode): Remove unneeded variable and use it.
6539
6540 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6541 (lisp--augmented-font-lock-keywords-1)
6542 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6543 Remove unneeded variables and use it.
6544
650645d5 65452013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6546
6547 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6548 to point when opening the connection. (Bug#14380)
28f5da6d 6549
781b4af6
SM
65502013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * subr.el (load-history-regexp, load-history-filename-element)
6553 (eval-after-load, after-load-functions, do-after-load-evaluation)
6554 (eval-next-after-load, display-delayed-warnings)
6555 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6556 definition of save-match-data.
6557 (overriding-local-map): Remove accidental obsolescence declaration.
6558
6559 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6560
3ca0d0b4
TZ
65612013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6562
6563 Generalize symbol prettify support to prog-mode and implement it
6564 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6565 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6566 (prog--prettify-font-lock-compose-symbol)
6567 (prog-prettify-font-lock-symbols-keywords): New variables and
6568 functions to support symbol prettification.
6569 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6570 (lisp--augmented-font-lock-keywords-1)
6571 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6572 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6573 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6574 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6575 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6576 * progmodes/perl-mode.el (perl-prettify-symbols)
6577 (perl--font-lock-compose-symbol)
6578 (perl--font-lock-symbols-keywords): Move to prog-mode.
6579 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6580 (perl-font-lock-keywords-1)
6581 (perl-font-lock-keywords-2): Remove explicit prettify support.
6582 (perl--augmented-font-lock-keywords)
6583 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6584 (perl--augmented-font-lock-keywords-2, perl-mode):
6585 Implement prettify support.
3ca0d0b4 6586
976cb066
LL
65872013-06-05 Leo Liu <sdl.web@gmail.com>
6588
6589 Re-implement smie matching block highlight using
6590 show-paren-data-function. (Bug#14395)
6591 * emacs-lisp/smie.el (smie-matching-block-highlight)
6592 (smie--highlight-matching-block-overlay)
6593 (smie--highlight-matching-block-lastpos)
6594 (smie-highlight-matching-block)
6595 (smie-highlight-matching-block-mode): Remove.
6596 (smie--matching-block-data-cache): New variable.
6597 (smie--matching-block-data): New function.
6598 (smie-setup): Use smie--matching-block-data for
6599 show-paren-data-function.
6600
6601 * progmodes/octave.el (octave-mode-menu): Fix.
6602 (octave-find-definition): Skip garbage lines.
6603
208d0342
SM
66042013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 Fix compilation error with simultaneous dynamic+lexical scoping.
6607 Add warning when a defvar appears after the first let-binding.
6608 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6609 (byte-compile-close-variables): Initialize it.
6610 (byte-compile--declare-var): New function.
6611 (byte-compile-file-form-defvar)
6612 (byte-compile-file-form-define-abbrev-table)
6613 (byte-compile-file-form-custom-declare-variable): Use it.
6614 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6615 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6616 (byte-compile-bind): Handle dynamic bindings that shadow
6617 lexical bindings.
6618 (byte-compile-unbind): Make arg non-optional.
6619 (byte-compile-let): Simplify.
6620 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6621 (cconv--analyse-function, cconv-analyse-form): Populate it.
6622 Protect byte-compile-bound-variables to limit the scope of defvars.
6623 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6624 Remove unneeded rule for `declare'.
6625
6626 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6627 so as to avoid depending on cl-adjoin at run-time.
6628 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6629
6630 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6631 (macroexp--warn-and-return): Use it.
6632
2587b005
LL
66332013-06-05 Leo Liu <sdl.web@gmail.com>
6634
6635 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6636
f1da3c88
LL
66372013-06-04 Leo Liu <sdl.web@gmail.com>
6638
6639 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6640 (compilation-auto-jump): Suppress the "Mark set" message to give
6641 way to exit message.
6642
3caa391f
AM
66432013-06-04 Alan Mackenzie <acm@muc.de>
6644
6645 Remove faulty optimisation from indentation calculation.
6646 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6647 search limit based on 2000 characters back from indent-point.
6648
068922a2
TH
66492013-06-03 Tassilo Horn <tsdh@gnu.org>
6650
6651 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6652
1f8fdd53
SM
66532013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6654
bbcc4d97
SM
6655 * emacs-lisp/lisp.el: Use lexical-binding.
6656 (lisp--local-variables-1, lisp--local-variables): New functions.
6657 (lisp--local-variables-completion-table): New var.
208d0342 6658 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6659
1f8fdd53
SM
6660 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6661 eagerly (bug#14422).
6662
c9628c79
MA
66632013-06-03 Michael Albinus <michael.albinus@gmx.de>
6664
6665 * autorevert.el (auto-revert-notify-enabled)
6666 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6667 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6668 (auto-revert-notify-handler): Handle also gfilenotify.
6669
e7b41c4c 6670 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6671 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6672 Remove.
c9628c79 6673
e5e4a942
JL
66742013-06-03 Juri Linkov <juri@jurta.org>
6675
6676 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6677 `M-s h .'. (Bug#14427)
6678
6679 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6680 command `hi-lock-face-symbol-at-point'.
6681 (hi-lock-face-symbol-at-point): New command.
6682 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6683 (hi-lock-menu): Add `highlight-symbol-at-point'.
6684 (hi-lock-mode): Doc fix.
6685
6686 * isearch.el (isearch-forward-symbol-at-point): New command.
6687 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6688 (isearch-highlight-regexp): Add a regexp which matches
6689 words/symbols for word/symbol mode.
6690
6691 * subr.el (find-tag-default-bounds): New function with the body
6692 mostly moved from `find-tag-default'.
6693 (find-tag-default): Move most code to `find-tag-default-bounds',
6694 call it and apply `buffer-substring-no-properties' afterwards.
6695
26b3353a
TH
66962013-06-03 Tassilo Horn <tsdh@gnu.org>
6697
781b4af6
SM
6698 * eshell/em-term.el (eshell-term-initialize):
6699 Use `cl-intersection' rather than `intersection'.
26b3353a 6700
51b60f53
XF
67012013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6702
fe054b63 6703 * vc/log-view.el: Doc fix.
d3ffe17c 6704 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6705
a0eb10b3 67062013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6707
6708 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6709 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6710 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6711 (eieio-unbound, eieio-default-superclass)
6712 (eieio--define-field-accessors, method-static, method-before)
6713 (method-primary, method-after, method-num-lists)
6714 (method-generic-before, method-generic-primary)
6715 (method-generic-after, method-num-slots)
6716 (eieio-specialized-key-to-generic-key)
6717 (eieio--check-type, class-v, class-p)
6718 (eieio-class-name, define-obsolete-function-alias)
6719 (eieio-class-parents-fast, eieio-class-children-fast)
6720 (same-class-fast-p, class-constructor, generic-p)
6721 (generic-primary-only-p, generic-primary-only-one-p)
6722 (class-option-assoc, class-option, eieio-object-p)
6723 (class-abstract-p, class-method-invocation-order)
6724 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6725 (eieio-class-un-autoload, eieio-defclass)
6726 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6727 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6728 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6729 (eieio-defgeneric-reset-generic-form)
6730 (eieio-defgeneric-form-primary-only)
6731 (eieio-defgeneric-reset-generic-form-primary-only)
6732 (eieio-defgeneric-form-primary-only-one)
6733 (eieio-defgeneric-reset-generic-form-primary-only-one)
6734 (eieio-unbind-method-implementations)
6735 (eieio--defmethod, eieio--typep)
6736 (eieio-perform-slot-validation, eieio-validate-slot-value)
6737 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6738 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6739 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6740 (eieio-slot-name-index, eieio-class-slot-name-index)
6741 (eieio-set-defaults, eieio-initarg-to-attribute)
6742 (eieio-attribute-to-initarg, eieio-c3-candidate)
6743 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6744 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6745 (eieio-class-precedence-list, eieio-generic-call-methodname)
6746 (eieio-generic-call-arglst, eieio-generic-call-key)
6747 (eieio-generic-call-next-method-list)
6748 (eieio-pre-method-execution-functions, eieio-generic-call)
6749 (eieio-generic-call-primary-only, eieiomt-method-list)
6750 (eieiomt-optimizing-obarray, eieiomt-install)
6751 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6752 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6753 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6754 (defclass): Remove `eval-and-compile' from macro.
6755 (call-next-method, shared-initialize): Instead of using
6756 `scoped-class' variable, use new eieio--scoped-class, and
6757 eieio--with-scoped-class.
6758 (initialize-instance): Rename local variable 'scoped-class' to
6759 'this-class' to remove ambiguitity from old global.
6760
6761 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6762 eieio.el.
4f405069
JB
6763 (eieio--scoped-class-stack): New variable.
6764 (eieio--scoped-class): New fcn.
890f7890
DE
6765 (eieio--with-scoped-class): New scoping macro.
6766 (eieio-defclass): Use pushnew instead of add-to-list.
6767 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6768 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6769 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6770 `scoped-class' variable, use new eieio--scoped-class, and
6771 eieio--with-scoped-class.
6772
6773 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6774
d105b0e2
TH
67752013-06-02 Tassilo Horn <tsdh@gnu.org>
6776
6777 * eshell/esh-ext.el (eshell-external-command): Pass args to
6778 `eshell-find-interpreter'.
6779 (eshell-find-interpreter): Add new second parameter ARGS.
6780
6781 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6782 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6783
6784 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6785 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6786
6787 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6788 (eshell-visual-options): New defcustom.
6789 (eshell-escape-control-x): Adapt docstring.
6790 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6791 `eshell-visual-options' in addition to `eshell-visual-commands'.
6792 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6793
f46305c8 67942013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6795
6796 * progmodes/python.el (python-indent-block-enders): Add break,
6797 continue and raise keywords.
6798
d870df21
GM
67992013-06-01 Glenn Morris <rgm@gnu.org>
6800
9133b82e
GM
6801 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6802
02c992ec 6803 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6804 * progmodes/cc-cmds.el (delete-forward-p):
6805 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6806 * progmodes/cc-engine.el (buffer-syntactic-context):
6807 * progmodes/cc-fonts.el (face-property-instance):
6808 * progmodes/cc-mode.el (set-keymap-parents):
6809 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6810 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6811 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6812 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6813 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6814
31e7b090
GM
6815 * progmodes/cc-vars.el (other): Emacs has this widget since
6816 at least 21.1, so don't (re)define it.
6817
d870df21
GM
6818 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6819 Replace the obsolete alias pcomplete-arg-quote-list.
6820
c75c93c7
LL
68212013-06-01 Leo Liu <sdl.web@gmail.com>
6822
6823 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6824 punctuation syntax.
6825 (inferior-octave-minimal-columns)
6826 (inferior-octave-last-column-width): New variables.
6827 (inferior-octave-track-window-width-change): New function.
6828 (inferior-octave-mode): Adjust column width so that Octave output,
6829 for example from 'ls', can fit into the window nicely.
6830
973d1e12
DG
68312013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6832
6833 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6834 Highlight expansions inside regexp literals.
6835
0888c286
GM
68362013-05-31 Glenn Morris <rgm@gnu.org>
6837
e26aac1f
GM
6838 * obsolete/sym-comp.el (symbol-complete):
6839 Replace obsolete completion-annotate-function.
6840
0888c286
GM
6841 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6842
19bb8e62
DG
68432013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6844
781b4af6
SM
6845 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6846 New function, checks if point is inside a literal that allows
19bb8e62
DG
6847 expression expansion.
6848 (ruby-syntax-propertize-expansion): Use it.
6849 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6850 around the body.
6851
01dea85f
JL
68522013-05-30 Juri Linkov <juri@jurta.org>
6853
6854 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6855 to "\M-si".
6856 (isearch-invisible): New variable.
6857 (isearch-forward): Doc fix.
6858 (isearch-mode): Set `isearch-invisible'
6859 to the value of `search-invisible'.
6860 (isearch-toggle-case-fold): Doc fix.
6861 (isearch-toggle-invisible): New command.
6862 (isearch-query-replace): Let-bind `search-invisible'
6863 to the value of `isearch-invisible'.
6864 (isearch-search): Use `isearch-invisible' instead of
6865 `search-invisible'. Let-bind `search-invisible'
6866 to the value of `isearch-invisible'. (Bug#11378)
6867
ab1bdce5
JL
68682013-05-30 Juri Linkov <juri@jurta.org>
6869
6870 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6871 call when `query-flag' is nil and `search-invisible' is non-nil.
6872 (Bug#11746)
6873
d6d236e2
GM
68742013-05-30 Glenn Morris <rgm@gnu.org>
6875
8accd027
GM
6876 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6877
2a8bed1c
GM
6878 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6879 (cc-require): Suppress spurious "noruntime" warnings.
6880 (cc-require-when-compile): Use fboundp, for sake of compiler.
6881
d6d236e2
GM
6882 * progmodes/cc-mode.el: Move load of cc-vars before that of
6883 cc-langs (which in turn loads cc-vars), to quieten compiler.
6884
9190b35b
SM
68852013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * paren.el: Simplify the code.
6888 (show-paren-mode): Always start the timer.
6889 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6890 (show-paren--overlay, show-paren--overlay-1): Rename from
6891 show-paren-overlay and show-paren-overlay-1, and initialize to an
6892 overlay rather than to nil.
6893 (show-paren-function): Misc cleanup and simplifications.
6894
4f8d1cf6
SM
68952013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * paren.el (show-paren-data-function): New hook.
6898 (show-paren--default): New function, extracted from show-paren-function.
6899 (show-paren-function): Use show-paren-data-function.
6900
02d844b5
GM
69012013-05-30 Glenn Morris <rgm@gnu.org>
6902
d209d4a9
GM
6903 * ielm.el (ielm-map, ielm-complete-symbol):
6904 Use completion-at-point rather than obsolete functions.
6905 (inferior-emacs-lisp-mode): Doc fix.
6906 Set completion-at-point-functions, rather than
6907 comint-dynamic-complete-functions.
6908
2082faa6
GM
6909 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6910 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6911 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6912
dd8620de
GM
6913 * image.el (image-animated-p): Tweak definition.
6914
ceca95b1
GM
6915 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6916 (rlogin-process-connection-type): Tweak default. Add set-after.
6917 (rlogin-host): Doc fix.
6918 (rlogin): Tweak prompt.
6919 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6920
ee9f1acc
GM
6921 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6922 * progmodes/tcl.el (inferior-tcl-mode-map):
6923 Use completion-at-point rather than obsolete alias.
6924
45ce222e
GM
6925 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6926
02d844b5
GM
6927 * minibuffer.el (read-file-name-completion-ignore-case):
6928 Move before completion--in-region, for eager macro expansion.
6929
ac44d6c1
JL
69302013-05-29 Juri Linkov <juri@jurta.org>
6931
6932 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6933 for total count of matching lines. Add `global-matches' for total
6934 count of matches. Rename `matches' to `lines' for count of
6935 matching lines. Add `matches' for count of matches.
6936 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6937 to `prev-line' for line number of prev match endpt.
6938 Increment `matches' for every match. Print the number of
6939 matching lines in the header.
6940 (occur-context-lines): Rename `lines' to `curr-line'.
6941 Rename `prev-lines' to `prev-line'. (Bug#14017)
6942
3c9c9d38
JL
69432013-05-29 Juri Linkov <juri@jurta.org>
6944
6945 * replace.el (perform-replace): Add `skip-read-only-count',
6946 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6947 Increment them for corresponding conditions and report the number
6948 of skipped occurrences in the final message. (Bug#11746)
6949 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6950 (replace-string, replace-regexp): Doc fix.
6951
33e249a2
SM
69522013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6953
8e399682
SM
6954 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6955
33e249a2 6956 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6957 prog-mode-map (bug#14504).
33e249a2 6958
f236dd84
LL
69592013-05-29 Leo Liu <sdl.web@gmail.com>
6960
6961 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6962 (octave-help): Small simplification.
6963
6964 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6965 off the highlight first.
6966
3694d13f
GM
69672013-05-29 Glenn Morris <rgm@gnu.org>
6968
03983bdc
GM
6969 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6970 Handle idlwave-last-system-routine-info-cons-cell being nil.
6971
bc74a74a
GM
6972 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6973 (idlwave-write-paths): Simplify via with-temp-buffer.
6974
8b394200
GM
6975 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6976 * emulation/cua-rect.el: Also load cua-base at run time.
6977
3694d13f
GM
6978 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6979 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6980 (cperl-imenu-on-info): Require imenu.
6981
336d7284
AM
69822013-05-28 Alan Mackenzie <acm@muc.de>
6983
6984 Handle "capitalised keywords" correctly.
33e249a2 6985 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6986
cb29c582
AG
69872013-05-28 Aidan Gauland <aidalgol@amuri.net>
6988
781b4af6 6989 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6990
690e44b2
GM
69912013-05-28 Glenn Morris <rgm@gnu.org>
6992
e658d75c
GM
6993 * vc/vc-arch.el (vc-exec-after): Declare.
6994 (vc-switches): Autoload.
6995 * vc/vc-bzr.el: No need to require vc when compiling.
6996 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6997 (vc-resynch-buffer, vc-dir-refresh): Declare.
6998 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6999 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7000 (vc-resynch-buffer): Declare.
7001 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7002 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7003 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7004 (grep-read-regexp, grep-read-files, grep-expand-template)
7005 (vc-dir-refresh): Declare.
7006 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7007 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7008 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7009 * vc/vc-mtn.el (vc-exec-after): Declare.
7010 (vc-switches): Autoload.
7011 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7012 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7013 (vc-file-tree-walk): Declare.
712b9732
GM
7014 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7015 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7016 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7017 * vc/vc-svn.el (vc-exec-after): Declare.
7018 (vc-switches, vc-setup-buffer): Autoload.
7019 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7020 Autoload.
7021 (vc-resynch-buffer): Declare.
7022
98e87fb3
GM
7023 * obsolete/fast-lock.el (byte-compile-warnings):
7024 Don't warn about obsolete features in this obsolete file.
7025
f5379553
GM
7026 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7027 Move definition before use.
7028
7a20ef83
GM
7029 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7030 (dun-unix-verbs): Remove dun-zippy.
7031 (dun-zippy): Remove function.
7032
690e44b2
GM
7033 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7034
3a52ccf7
JL
70352013-05-27 Juri Linkov <juri@jurta.org>
7036
7037 * replace.el (replace-search): New function with code moved out
7038 from `perform-replace'.
7039 (replace-highlight, replace-dehighlight): Move function definitions
7040 up closer to `replace-search'. (Bug#11746)
7041
d289938a
JL
70422013-05-27 Juri Linkov <juri@jurta.org>
7043
7044 * replace.el (perform-replace): Ignore invisible matches.
7045 In addition to checking `query-replace-skip-read-only', also
7046 filter out matches by calling `run-hook-with-args-until-failure'
7047 on `isearch-filter-predicates', and also check `search-invisible'
7048 for t or call `isearch-range-invisible'.
7049 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7050
66fc57e3
JL
70512013-05-27 Juri Linkov <juri@jurta.org>
7052
7053 * isearch.el (isearch-filter-predicates): Rename from
7054 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7055 (isearch-message-prefix): Display text from the property
7056 `isearch-message-prefix' of the currently active filters.
7057 (isearch-search): Don't compare `isearch-filter-predicate' with
7058 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7059 on `isearch-filter-predicates'. Also check `search-invisible' for t
7060 or call `isearch-range-invisible'.
7061 (isearch-filter-visible): Make obsolete.
7062 (isearch-lazy-highlight-search):
7063 Call `run-hook-with-args-until-failure' on
7064 `isearch-filter-predicates' and use `isearch-range-invisible'.
7065
7066 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7067 `isearch-filter-predicates' instead of `funcall'ing
7068 `isearch-filter-predicate'.
7069 (Info-mode): Set `Info-isearch-filter' to
7070 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7071
7072 * dired-aux.el (dired-isearch-filter-predicate-orig):
7073 Remove variable.
7074 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7075 (dired-isearch-filenames-end): Add and remove
7076 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7077 instead of changing the value of `isearch-filter-predicate'.
7078 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7079 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7080 Put property `isearch-message-prefix' to "filename " on
7081 `dired-isearch-filter-filenames'.
7082
7083 * wdired.el (wdired-change-to-wdired-mode):
7084 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7085 locally instead of changing `isearch-filter-predicate'.
7086 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7087
f1a60a0f
DG
70882013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7089
7090 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7091 return the commit hash (Bug#14459). Also set the
7092 `vc-git-detached' property.
7093 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7094 (vc-git-mode-line-string): Use the same help-echo format whether
7095 in detached mode or not, because we know the actual revision now.
7096 When in detached mode, shorten the revision to 7 chars.
7097
7f17cc40
SM
70982013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * emacs-lisp/easy-mmode.el (define-minor-mode):
7101 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7102 mode hook and provide a docstring.
7103
25c8401c
AM
71042013-05-27 Alan Mackenzie <acm@muc.de>
7105
7106 Remove spurious syntax-table text properties inserted by C-y.
7107 * progmodes/cc-mode.el (c-after-change): Also clear hard
7108 syntax-table property with value nil.
7109
dde84790
MA
71102013-05-27 Michael Albinus <michael.albinus@gmx.de>
7111
7112 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7113 when reading the events; the buffer layout shall not be changed.
7114
837fd9af
LL
71152013-05-27 Leo Liu <sdl.web@gmail.com>
7116
7117 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7118 New variable.
7119 (inferior-octave-directory-tracker): Automatically re-sync
7120 default-directory.
7121 (octave-help): Improve handling of 'See also'.
7122
4fd996b3
SM
71232013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7124
416f1802
SM
7125 * doc-view.el: Minor naming convention tweaks.
7126 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7127
4fd996b3
SM
7128 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7129 even if there's no `display' property yet (bug#14435).
7130
a052ef3b
EZ
71312013-05-25 Eli Zaretskii <eliz@gnu.org>
7132
4fd996b3 7133 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7134
7135 * Makefile.in (custom-deps, finder-data, autoloads)
7136 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7137 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7138 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7139
c9023370
SM
71402013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7143 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7144 Don't burp at EOB.
c9023370 7145
24d699fa
LL
71462013-05-25 Leo Liu <sdl.web@gmail.com>
7147
7148 * comint.el (comint-previous-matching-input): Do not flood the
7149 *Messages* buffer with trivial messages.
7150
17e5c0cc
SM
71512013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * progmodes/flymake.el (flymake-nop): Don't return a string.
7154 (flymake-set-at): Fix typo.
7155
7156 * simple.el (read--expression): New function, extracted from
7157 eval-expression. Set completion-at-point-functions (bug#14465).
7158 (eval-expression, eval-minibuffer): Use it.
7159
5d028165
XF
71602013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7161
7162 * progmodes/flymake.el (flymake-save-buffer-in-file)
7163 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7164 (flymake-selected-frame, flymake-log, flymake-ins-after)
7165 (flymake-set-at, flymake-get-buildfile-from-cache)
7166 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7167 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7168 Refine the doc string.
7169 (flymake-get-file-name-mode-and-masks): Reformat.
7170 (flymake-get-real-file-name-function): Fix a minor bug.
7171
7a1d7ba7
JL
71722013-05-24 Juri Linkov <juri@jurta.org>
7173
7174 * progmodes/grep.el (grep-mode-font-lock-keywords):
7175 Support =linenumber= format used by git-grep for lines with
7176 function names. (Bug#13549)
7177
650cff3d
SM
71782013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7181 0 after a semi-colon; it works better for smie-auto-fill.
7182 (octave--indent-new-comment-line): New function.
7183 (octave-indent-new-comment-line): Use it (indirectly).
7184 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7185 modify comment-line-break-function.
7186
7187 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7188 (smie-setup): Use add-function to set it.
7189
9631677d
SS
71902013-05-24 Sam Steingold <sds@gnu.org>
7191
7192 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7193 argument (before the `interactive' argument).
7194
50105835
SM
71952013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * image-mode.el (image-mode-winprops): Add winprops to
7198 image-mode-winprops-alist before running
7199 image-mode-new-window-functions.
7200 * doc-view.el (doc-view-new-window-function): Don't delay
7201 doc-view-goto-page via timers (bug#14435).
7202
57b9823e
TH
72032013-05-24 Tassilo Horn <tsdh@gnu.org>
7204
7205 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7206 (doc-view-desktop-save-buffer): New function.
7207 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7208 (desktop-buffer-mode-handlers):
7209 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7210 handler.
7211 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7212 `desktop-save-buffer' function.
7213
91aafa16
MA
72142013-05-24 Michael Albinus <michael.albinus@gmx.de>
7215
7216 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7217 (tramp-gvfs-file-name-handler): Raise a user error when
7218 `tramp-gvfs-enabled' is nil.
7219 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7220 Do not raise a user error when loading package. (Bug#14447)
7221
ec076379
MA
7222 * net/xesam.el: Move to obsolete/.
7223
db785726
GM
72242013-05-24 Glenn Morris <rgm@gnu.org>
7225
af5c7606
GM
7226 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7227
e5d1916a
GM
7228 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7229
ded62b08
GM
7230 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7231 (Info-find-node, Man-getpage-in-background): Declare.
7232
9e614a3f
GM
7233 * mail/unrmail.el (unrmail):
7234 Replace obsolete detect-coding-with-priority.
7235
892f8ca3
GM
7236 * net/socks.el (socks-split-string): Use this rather than split-string.
7237 (socks-nslookup-host): Update for above change.
7238 (dynamic-choice, s5-dynamic-choice-match)
7239 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7240 Comment out unused code.
7241
3c291973
GM
7242 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7243 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7244 (gud-tooltip-echo-area): Make obsolete.
7245 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7246
43cc956b
GM
7247 * progmodes/js.el (js--optimize-arglist): Declare.
7248
dab49a3b
GM
7249 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7250
36b9d085
GM
7251 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7252 (ediff-window-C): Declare.
7253
e354ae76
GM
7254 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7255 Tweak requires to silence compiler.
7256
b8e57bf4
GM
7257 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7258 (he-search-string, he-tried-table, he-expand-list)
7259 (he-init-string, he-string-member, he-substitute-string)
7260 (he-reset-string): Declare.
7261
db785726
GM
7262 * obsolete/options.el (list-options): Use custom-variable-p,
7263 rather than obsolete alias.
7264
b3531901
SS
72652013-05-23 Sam Steingold <sds@gnu.org>
7266
7267 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7268 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7269 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7270
bdda4c66
SM
72712013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7272
7273 * emacs-lisp/smie.el (smie-indent-forward-token)
7274 (smie-indent-backward-token): Handle string tokens (bug#14381).
7275
c43d45f9
TH
72762013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7277
fe1eb856
RS
7278 * ielm.el (ielm-menu): New menu.
7279 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7280
fe1eb856
RS
72812013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7282
7283 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7284 Fix deactivate action.
7285
7286 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7287 Add cleveref macros.
074dd971 7288
c43d45f9
TH
7289 * lisp/textmodes/reftex-parse.el
7290 (reftex-locate-bibliography-files): Accept options for
7291 bibliography commands.
7292 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7293 Add addbibresource. Basic Biblatex support.
7294
7764286e
MA
72952013-05-23 Michael Albinus <michael.albinus@gmx.de>
7296
7297 * net/tramp-gvfs.el (top):
7298 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7299 when loading package. (Bug#14447)
7300
d361bc10
GM
73012013-05-23 Glenn Morris <rgm@gnu.org>
7302
8fa23984
GM
7303 * progmodes/js.el: No need to load comint when compiling.
7304 (ring-insert, comint-send-string, comint-send-input)
7305 (comint-last-input-end, ido-chop): Declare.
7306
a5c7df1a
GM
7307 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7308 * vc/ediff-mult.el: Adjust requires.
7309 (ediff-directories-internal, ediff-directory-revisions-internal)
7310 (ediff-patch-file-internal): Declare.
7311 * vc/ediff-ptch.el: Adjust requires.
7312 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7313 (ediff-find-file): Autoload.
7314 * vc/ediff-util.el: No need to load ediff when compiling.
7315 (ediff-regions-internal): Declare.
7316 * vc/ediff-wind.el: Adjust requires.
7317 (ediff-compute-toolbar-width): Define when compiling.
7318 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7319 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7320 (dired-get-filename, dired-get-marked-files)
7321 (ediff-last-dir-patch, ediff-patch-default-directory)
7322 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7323 (ediff-patch-buffer-internal): Declare.
7324
e2aec513
GM
7325 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7326 (ispell-process, ispell-buffer-local-words, lm-summary)
7327 (lm-section-start, lm-section-end): Declare.
7328 (checkdoc-ispell-init): Simplify.
7329
e68bbd7c
GM
7330 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7331 (he-string-member, he-reset-string, he-substitute-string): Declare.
7332
7efe0991
GM
7333 * eshell/em-ls.el: Adjust requires.
7334 (eshell-glob-regexp): Declare.
f87b1284
GM
7335 * eshell/em-tramp.el: Adjust requires.
7336 (eshell-parse-command): Autoload.
7337 * eshell/em-xtra.el: Adjust requires.
7338 (eshell-parse-command): Autoload.
7339 * eshell/esh-ext.el: Adjust requires.
7340 (eshell-parse-command, eshell-close-handles): Autoload.
7341 * eshell/esh-io.el: Adjust requires.
7342 (eshell-output-filter): Autoload.
7343 * eshell/esh-util.el: No need to load tramp when compiling.
7344 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7345 Declare.
7346 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7347 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7348 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7349 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7350 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7351 * eshell/esh-opt.el, eshell/esh-proc.el:
7352 * eshell/esh-var.el: Adjust requires.
7353 * eshell/eshell.el: Do not require esh-util twice.
7354 (eshell-add-input-to-history): Declare.
7355 (eshell-command): Check history module is active before using it.
7356
d361bc10
GM
7357 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7358
85d090a9
LL
73592013-05-22 Leo Liu <sdl.web@gmail.com>
7360
7361 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7362
5d0acd9d
MA
73632013-05-22 Michael Albinus <michael.albinus@gmx.de>
7364
7365 * autorevert.el (auto-revert-notify-add-watch)
7366 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7367 it indicates changes in file modification time.
7368
0cdffd7d
GM
73692013-05-22 Glenn Morris <rgm@gnu.org>
7370
ca5995ec
GM
7371 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7372 Always delete the autoloaded function from the noruntime and
7373 unresolved functions lists.
7374
6450907e
GM
7375 * allout.el: No need to load epa, epg, overlay when compiling.
7376 (epg-context-set-passphrase-callback, epg-list-keys)
7377 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7378 (epg-key-user-id-list): Declare.
7379
9c6906f6
GM
7380 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7381 (viper-set-parsing-style-toggling-macro)
7382 (viper-set-emacs-state-searchstyle-macros):
7383 Use called-interactively-p on Emacs.
7384 (viper-looking-back): Make it an obsolete alias. Update callers.
7385 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7386 Use looking-back rather than viper-looking-back.
7387 (viper-tmp-insert-at-eob, viper-enlarge-region)
7388 (viper-read-string-with-history, viper-register-to-point)
7389 (viper-append-to-register, viper-change-state-to-vi)
7390 (viper-backward-char-carefully, viper-forward-char-carefully)
7391 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7392 (viper-change-state-to-emacs): Declare.
7393 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7394 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7395 * emulation/viper-mous.el: Do not load viper-cmd.
7396 (viper-backward-char-carefully, viper-forward-char-carefully)
7397 (viper-forward-word, viper-adjust-window): Declare.
7398
5f70c169
GM
7399 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7400
b1b7f300
GM
7401 * progmodes/idlw-help.el (idlwave-help-fontify):
7402 Use called-interactively-p.
7403
f6ebbb46
GM
7404 * term/w32console.el (w32-get-console-codepage)
7405 (w32-get-console-output-codepage): Declare.
7406
0cdffd7d
GM
7407 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7408 Remove unnecessary declarations.
7409 (dframe-message): Doc fix.
7410
7411 * info.el (dframe-select-attached-frame, dframe-current-frame):
7412 Declare.
7413
7414 * speedbar.el (speedbar-message): Make it an obsolete alias.
7415 Update all callers.
7416 (speedbar-with-attached-buffer)
7417 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7418 (speedbar-with-writable): Use backquote.
7419 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7420 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7421 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7422 rather than speedbar- aliases.
7423 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7424 (speedbar-make-specialized-keymap, speedbar-insert-button)
7425 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7426 (speedbar-do-function-pointer): Declare.
7427 (rmail-speedbar-button, rmail-speedbar-find-file)
7428 (rmail-speedbar-move-message):
7429 Use dframe-with-attached-buffer rather than speedbar- alias.
7430 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7431 (dframe-message, speedbar-make-specialized-keymap)
7432 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7433 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7434 (speedbar-insert-button, dframe-select-attached-frame)
7435 (dframe-maybee-jump-to-attached-frame)
7436 (speedbar-change-initial-expansion-list)
7437 (speedbar-previously-used-expansion-list-name): Declare.
7438 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7439 Use dframe-message, dframe-with-attached-buffer rather than
7440 speedbar- aliases.
7441 (gud-sentinel): Silence compiler.
7442 * progmodes/vhdl-mode.el (speedbar-refresh)
7443 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7444 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7445 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7446 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7447 (speedbar-file-lists, speedbar-make-tag-line)
7448 (speedbar-line-directory, speedbar-goto-this-file)
7449 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7450 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7451 (speedbar-make-button, speedbar-reset-scanners)
7452 (speedbar-files-item-info, speedbar-line-text)
7453 (speedbar-find-file-in-frame, speedbar-set-timer)
7454 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7455 (speedbar-with-writable): Do not (re)define it.
7456 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7457 rather than speedbar- alias.
7458
ee44b62a
LL
74592013-05-21 Leo Liu <sdl.web@gmail.com>
7460
7461 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7462 menu items.
7463 (octave-mode): Tweak fill-nobreak-predicate.
7464 (inferior-octave-startup): Check process to avoid infinite loop.
7465 (inferior-octave): Pop to buffer first to show abornmal process
7466 exit information.
7467
640f050f
GM
74682013-05-21 Glenn Morris <rgm@gnu.org>
7469
79458038
GM
7470 * printing.el (pr-menu-bar): Define when compiling.
7471
9cc3e83f
LL
74722013-05-21 Leo Liu <sdl.web@gmail.com>
7473
7474 * progmodes/octave.el (octave-auto-fill): Remove.
7475 (octave-indent-new-comment-line): Improve.
7476 (octave-mode): Use auto fill mode through
4f405069 7477 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7478 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7479 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7480 (octave-help): Show parent directory.
7481
f440830d
GM
74822013-05-21 Glenn Morris <rgm@gnu.org>
7483
7484 * files.el (dired-unmark):
7485 * progmodes/gud.el (gdb-input): Update declarations.
7486
7487 * calculator.el (electric, ehelp): No need to load when compiling.
7488 (Electric-command-loop, electric-describe-mode): Declare.
7489
7490 * doc-view.el (doc-view-current-converter-processes): Move before use.
7491
7492 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7493 Move MODE-set-explicitly definition before use.
7494
7495 * international/mule-diag.el (mule-diag):
7496 Don't use obsolete window-system-version.
7497
7498 * mail/feedmail.el (smtpmail): No need to load when compiling.
7499 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7500
7501 * mail/mail-utils.el (rfc822): No need to load when compiling.
7502 (rfc822-addresses): Autoload it.
7503 (mail-strip-quoted-names): Trivial simplification.
7504
7505 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7506 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7507
7508 * net/snmp-mode.el (tempo): Don't duplicate requires.
7509
7510 * progmodes/prolog.el (info): No need to load when compiling.
7511 (comint): Require before shell requires it.
7512 (Info-goto-node): Autoload it.
7513 (Info-follow-nearest-node): Declare.
7514 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7515
7516 * textmodes/artist.el (picture-mode-exit): Declare.
7517
7518 * textmodes/reftex-parse.el (reftex-parse-from-file):
7519 Trivial rewrite so the compiler can parse it better.
7520
b4da2cbb
LL
75212013-05-20 Leo Liu <sdl.web@gmail.com>
7522
7523 * progmodes/octave.el (octave-help-mode-map)
7524 (octave-help-mode-finish-hook): New variables.
7525 (octave-help-mode, octave-help-mode-finish): New functions.
7526 (octave-help): Use octave-help-mode.
7527
33c0f65b
GM
75282013-05-20 Glenn Morris <rgm@gnu.org>
7529
7530 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7531
1a0a0a8a
DG
75322013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7533
7534 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7535 start at point, so that expansion starting right after opening
7536 slash in a regexp is recognized.
7537 (ruby-syntax-before-regexp-re): New defvar, extracted from
7538 ruby-syntax-propertize-function. Since the value of this regexp
7539 is looked up at runtime now, we should be able to turn
7540 `ruby-syntax-methods-before-regexp' into a defcustom later.
7541 (ruby-syntax-propertize-function): Split regexp matching into two
7542 parts, for opening and closing slashes. That allows us to skip
7543 over string interpolations and support multiline regexps.
7544 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7545 for them, which calls `ruby-syntax-propertize-expansion'.
7546 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7547 call to `ruby-syntax-propertize-function'.
7548 (ruby-syntax-propertize-expansion): Extracted from
7549 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7550 (ruby-syntax-propertize-percent-literal): Leave point right after
7551 the percent symbol, so that the expression expansion rule can
7552 propertize the contents.
462388b6
DG
7553 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7554 heredoc openers.
7555 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7556
c1a6c0a4
JL
75572013-05-18 Juri Linkov <juri@jurta.org>
7558
7559 * man.el (Man-default-man-entry): Remove `-' from the end
7560 of the default value. (Bug#14400)
7561
8051fccd
GM
75622013-05-18 Glenn Morris <rgm@gnu.org>
7563
7564 * comint.el (comint-password-prompt-regexp):
7565 Allow "password for XXX" where XXX contains colons (eg https://...).
7566
5e80b74f
LL
75672013-05-18 Leo Liu <sdl.web@gmail.com>
7568
7569 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7570 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7571 (octave-source-directories): Don't check process.
7572 (octave-source-directories, octave-find-definition): Doc fix.
7573
521a54c5
GM
75742013-05-18 Glenn Morris <rgm@gnu.org>
7575
86a94b05
GM
7576 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7577 Remove backspace/delete bindings. (Bug#14392)
7578
521a54c5
GM
7579 * cus-dep.el (custom-make-dependencies): Sort the output.
7580 (custom-versions-load-alist): Convert comment to doc.
7581
42caeb89
LL
75822013-05-17 Leo Liu <sdl.web@gmail.com>
7583
7584 * newcomment.el (comment-search-backward): Stricter in finding
7585 comment start. (Bug#14303)
7586
7587 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7588 (octave-comment-start-skip): Properly anchored.
7589
e219dd97
LL
75902013-05-17 Leo Liu <sdl.web@gmail.com>
7591
fe1eb856
RS
7592 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7593 Clean up when turned off. (Bug#14395)
e219dd97
LL
7594 (smie--highlight-matching-block-overlay): No longer buffer-local.
7595 (smie-highlight-matching-block): Adjust.
7596
dc5dcb4b
PE
75972013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7598
7599 Doc string fix for "nanoseconds" (Bug#14406).
7600 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7601 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7602
1db165f0
JB
76032013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7604
7605 * calc/calc-units.el (math-extract-units): Preserve powers
7606 of units.
7607
c7a8fcac
LL
76082013-05-17 Leo Liu <sdl.web@gmail.com>
7609
7610 * subr.el (delete-consecutive-dups): New function.
7611 * ido.el (ido-set-matches-1): Use it.
7612 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7613 * ido.el (ido-remove-consecutive-dups): Remove.
7614
f678b18a
SM
76152013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7616
7617 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7618 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7619 regexp-opt's `words'.
7620
ebfe68e8
LL
76212013-05-16 Leo Liu <sdl.web@gmail.com>
7622
7623 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7624 (smie--highlight-matching-block-overlay)
7625 (smie--highlight-matching-block-lastpos)
7626 (smie--highlight-matching-block-timer): New variables.
7627 (smie-highlight-matching-block): New function.
7628 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7629 (smie-setup): Conditionally enable smie-blink-matching-open.
7630
bc8bc17d
WS
76312013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7632
7633 Sync with upstream verilog-mode r840.
7634 * progmodes/verilog-mode.el (verilog-mode-version)
7635 (verilog-mode-release-date): Update.
7636 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7637 (verilog-sig-tieoff): Fix string error on
7638 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7639 (verilog-read-decls): Fix parameters confusing
7640 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7641
df065a0b
EZ
76422013-05-16 Eli Zaretskii <eliz@gnu.org>
7643
7644 * subr.el (reveal-filename): New function.
7645
7646 * loadup.el: Compute Emacs executable versions on MS-Windows,
7647 where executables have the .exe extension. Add a hard link
7648 emacs-XX.YY.ZZ.exe on MS-Windows.
7649
7650 * Makefile.in (XARGS_LIMIT): New variable.
7651 (custom-deps, finder-data, autoloads)
7652 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7653 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7654 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7655 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7656
2d4bf34b
LL
76572013-05-16 Leo Liu <sdl.web@gmail.com>
7658
7659 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7660 (octave-mode-menu, octave-mode-map): Remove its uses.
7661
6b9c2d85
RZ
76622013-05-16 Reto Zimmermann <reto@gnu.org>
7663
7664 Sync with upstream vhdl mode v3.34.2.
7665 * progmodes/vhdl-mode.el: Use `push' throughout.
7666 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7667 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7668 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7669 (vhdl-actual-generic-name): New option to derive actual generic name.
7670 (vhdl-port-paste-signals): Replace formal by actual generics.
7671 (vhdl-beautify): New name for old group vhdl-align. Update users.
7672 (vhdl-beautify-options): New option.
7673 (vhdl-last-input-event): New compat alias. Use throughout.
7674 (vhdl-goto-line): Replace user level function `goto-line'.
7675 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7676 vhdl-fix-statement-buffer.
7677 (vhdl-create-mode-menu): Add some entries.
7678 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7679 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7680 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7681 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7682 to force statements on one line.
7683 (vhdl-remove-trailing-spaces-region):
7684 New, split from vhdl-remove-trailing-spaces.
7685 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7686 Respect vhdl-beautify-options.
7687 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7688 (vhdl-update-sensitivity-list): Not add with index if exists without.
7689 Not include array index with signal. Ignore keywords in comments.
7690 (vhdl-get-visible-signals): Regexp tweaks.
7691 (vhdl-template-component-inst): Handle empty library.
7692 (vhdl-template-type): Add template for 'enum' type.
7693 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7694 Use vhdl-replace-string.
7695 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7696 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7697 (vhdl-speedbar-initialize): Update for above name change.
7698 (vhdl-compose-wire-components): Fix in handling of constants.
7699 (vhdl-error-regexp-emacs-alist): New variable.
7700 (vhdl-error-regexp-add-emacs): New function;
7701 adds support for new compile.el (Emacs 22+)
7702 (vhdl-generate-makefile-1): Change target order for single lib. units.
7703 Allow use of absolute file names.
7704
9df4ec5e
LL
77052013-05-16 Leo Liu <sdl.web@gmail.com>
7706
7707 * simple.el (prog-indent-sexp): Indent enclosing defun.
7708
f5ba00a6
GM
77092013-05-15 Glenn Morris <rgm@gnu.org>
7710
ed8be7ff
GM
7711 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7712 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7713 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7714 (whitespace-highlight): Move to whitespace group.
7715
7716 * comint.el (comint-source):
7717 * pcmpl-linux.el (pcmpl-linux):
7718 * shell.el (shell-faces):
7719 * eshell/esh-opt.el (eshell-opt):
7720 * international/ccl.el (ccl): Remove empty custom groups.
7721
7722 * completion.el (dynamic-completion-mode):
7723 * jit-lock.el (jit-lock-debug-mode):
7724 * minibuffer.el (completion-in-region-mode):
7725 * type-break.el (type-break-mode-line-message-mode)
7726 (type-break-query-mode):
7727 * emulation/tpu-edt.el (tpu-edt-mode):
7728 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7729 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7730 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7731
7732 * term/xterm.el (xterm): Change parent group to terminals.
7733
7734 * master.el (master): Remove empty custom group.
7735 (master-mode): Remove unused :group argument.
7736 * textmodes/refill.el (refill): Remove empty custom group.
7737 (refill-mode): Remove unused :group argument.
7738
7739 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7740
82a7c41b
GM
7741 * cus-dep.el: Provide a feature.
7742 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7743 Don't mistakenly ignore files whose basenames match a basename
7744 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7745 Add a fallback method for getting :group.
f5ba00a6 7746
6d65486d
JL
77472013-05-15 Juri Linkov <juri@jurta.org>
7748
da547b32
JL
7749 * isearch.el (isearch-char-by-name): Rename from
7750 `isearch-insert-char-by-name'. Doc fix.
7751 (isearch-forward): Mention `isearch-char-by-name' in
7752 the docstring. (Bug#13348)
7753
6d65486d
JL
7754 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7755 `exit-minibuffer' instead of
7756 `isearch-nonincremental-exit-minibuffer'.
7757 (isearch-edit-string): Remove mention of
7758 `isearch-nonincremental-exit-minibuffer' from docstring.
7759 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7760 (isearch-forward-exit-minibuffer)
7761 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7762
c9990474
SM
77632013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7764
6e911150
SM
7765 * loadup.el: Just use unversioned DOC.
7766
c9990474
SM
7767 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7768 literals as extending to EOB.
7769 (nxml-last-fontify-end): Remove unused variable.
7770 (nxml-after-change1): Use with-silent-modifications.
7771 (nxml-extend-after-change-region): Simplify.
7772 (nxml-extend-after-change-region1): Remove function.
7773 (nxml-after-change1): Don't adjust for dependent regions.
7774 (nxml-fontify-matcher): Simplify.
7775 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7776 (xmltok-add-dependent): Remove function.
7777 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7778 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7779 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7780 unclosed <[[, <?, comment, and other literals as extending to EOB.
7781 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7782 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7783 Remove functions.
7784 (rng-do-some-validation-1): Don't mark dependent regions.
7785 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7786 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7787 (nxml-clear-dependent-regions): Remove functions.
7788 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7789 (nxml-ensure-scan-up-to-date):
7790 Don't clear&mark dependent regions.
7791
e3772e98
LL
77922013-05-15 Leo Liu <sdl.web@gmail.com>
7793
c9990474
SM
7794 * progmodes/octave.el (octave-goto-function-definition):
7795 Improve and fix callers.
e3772e98 7796
5ac2eb34
SM
77972013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7798
c46c57b0
SM
7799 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7800 the setter (bug#14387).
7801
5ac2eb34
SM
7802 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7803 surrounding group (bug#14402).
7804
180ed218
JL
78052013-05-14 Juri Linkov <juri@jurta.org>
7806
7807 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7808 (Bug#14390)
7809
0ac0fecb
GM
78102013-05-14 Glenn Morris <rgm@gnu.org>
7811
7812 * progmodes/f90.el (f90-imenu-generic-expression):
7813 Fix typo in 2013-05-08 change. (Bug#14402)
7814
2e78e6a7
JPG
78152013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7816
5ac2eb34
SM
7817 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7818 Remove signals for which replies are never received.
2e78e6a7 7819
53267cca
JPG
78202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7821
7822 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7823 (gdb-handler-alist, gdb-handler-number): Remove variables.
7824 (gdb-handler-list): New variable.
7825 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7826 (gdb-pending-handler-p, gdb-handle-reply)
7827 (gdb-remove-all-pending-triggers): New functions.
7828 (gdb-discard-unordered-replies): New defcustom.
7829 (gdb-handler): New defstruct.
7830 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7831 instead of gdb-pending-triggers. Update docstring.
7832 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7833 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7834 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7835 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7836 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7837 (gdb-frame-handler): Pending triggers are now automatically managed.
7838 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7839 Remove argument.
7840 (gdb-input): Automatically handles pending triggers. Update docstring.
7841 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7842 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7843 Update comments.
7844 (gdb-done-or-error): Now use gdb-handle-reply.
7845
d04ce803
JPG
78462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7847
7848 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7849 gdb-debug-log.
7850
0114073a
GM
78512013-05-14 Glenn Morris <rgm@gnu.org>
7852
7853 * subr.el (user-emacs-directory-warning): New option.
7854 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7855
4d25fd7e
LL
78562013-05-14 Leo Liu <sdl.web@gmail.com>
7857
7858 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7859 during redisplay.
7860 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7861 (octave-font-lock-texinfo-comment): Fix invalid search bound
7862 error: wrong side of point.
4d25fd7e 7863
27c8b6eb
GM
78642013-05-14 Glenn Morris <rgm@gnu.org>
7865
61aaeb01
GM
7866 * progmodes/flymake.el (flymake-xml-program): New option.
7867 (flymake-xml-init): Use it.
7868
5bf90bc5
GM
7869 * term/xterm.el: Provide a feature.
7870
7871 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7872
f4c7dfd2
GM
78732013-05-13 Glenn Morris <rgm@gnu.org>
7874
7875 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7876 Add compat aliases as a hack workaround. (Bug#14384)
7877
2aeb3a1d
LL
78782013-05-13 Leo Liu <sdl.web@gmail.com>
7879
b0e069c2
LL
7880 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7881 ###, and %!.
f5a9432f
LL
7882 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7883 C-M-q.
b0e069c2
LL
7884 (octave-comment-start-skip): Include %!.
7885 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7886
30ea8374
LL
78872013-05-12 Leo Liu <sdl.web@gmail.com>
7888
7889 * progmodes/octave.el (inferior-octave-startup): Store the value
7890 of __octave_srcdir__ for octave-source-directories.
7891 (inferior-octave-check-process): New function refactored out of
7892 inferior-octave-send-list-and-digest.
7893 (octave-source-directories)
7894 (octave-find-definition-filename-function): New variables.
7895 (octave-source-directories)
7896 (octave-find-definition-default-filename): New functions.
7897 (octave-find-definition): Improve to find functions implemented in C++.
7898
472a3834
GM
78992013-05-12 Glenn Morris <rgm@gnu.org>
7900
7901 * calendar/diary-lib.el (diary-outlook-format-1):
7902 Don't include dayname in the output. (Bug#14349)
7903
3191b52f
GM
79042013-05-11 Glenn Morris <rgm@gnu.org>
7905
0060ac73
GM
7906 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7907
3191b52f
GM
7908 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7909 Treat cc-provide like provide.
7910
e065ba74
KR
79112013-05-11 Kevin Ryde <user42@zip.com.au>
7912
7913 * cus-dep.el (custom-make-dependencies):
7914 Use generated-autoload-load-name for the sake of files such
7915 such cedet/semantic/bovine/c.el, where the base file name
7916 is not in load-path. (Bug#5277)
7917
36f84c37
GM
79182013-05-11 Glenn Morris <rgm@gnu.org>
7919
7920 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7921 Provide features.
7922
c8730c3a
LL
79232013-05-11 Leo Liu <sdl.web@gmail.com>
7924
7925 * progmodes/octave.el (octave-indent-comment): Improve.
7926 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7927 (octave-eldoc-function-signatures, octave-eldoc-function):
7928 New functions.
c8730c3a
LL
7929 (octave-mode, inferior-octave-mode): Add eldoc support.
7930
212e29f2
RS
79312013-05-11 Richard Stallman <rms@gnu.org>
7932
7933 * epa.el (epa-decrypt-file): Take output file name as argument
7934 and read it using `interactive'.
7935
083fe0d7
LL
79362013-05-11 Leo Liu <sdl.web@gmail.com>
7937
7938 * progmodes/octave.el (octave-beginning-of-line)
7939 (octave-end-of-line): Check before using up-list because it jumps
7940 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7941 (octave-indent-comment): New function.
7942 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7943 (octave-begin-keywords, octave-end-keywords)
7944 (octave-reserved-words, octave-smie-bnf-table)
7945 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7946
8582e4c4
GM
79472013-05-11 Glenn Morris <rgm@gnu.org>
7948
f20def1f
GM
7949 * faces.el (internal-face-x-get-resource):
7950 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7951 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7952 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7953 Fix declarations.
f20def1f 7954
445f95e2
GM
7955 * calc/calc-menu.el: Make it loadable in isolation.
7956
7957 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7958 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7959 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7960 (eudc-bbdb-query-internal): Require 'bbdb.
7961
99fb2756
GM
7962 * lpr.el (lpr-headers-switches):
7963 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7964
7965 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7966
0da7ad96
GM
7967 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7968
8582e4c4
GM
7969 * term.el (term-set-escape-char): Make it idempotent.
7970
f71c50d0
LL
79712013-05-10 Leo Liu <sdl.web@gmail.com>
7972
5ac2eb34
SM
7973 * progmodes/octave.el (inferior-octave-completion-table):
7974 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7975 completion due to bug#11906.
7976 (octave-beginning-of-defun): Re-write to be more general.
7977
d5837773
GM
79782013-05-10 Glenn Morris <rgm@gnu.org>
7979
7980 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7981
027c0f75
SM
79822013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * comint.el (comint-redirect-send-command-to-process): Use :around
7985 rather than :override for comint-redirect-filter.
7986 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7987 Call it instead of comint-redirect-original-filter-function (which
7988 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7989
4465bfb4
JD
79902013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7991
7992 * frame.el (display-monitor-attributes-list): Add NS case.
7993 (ns-display-monitor-attributes-list): Declare.
7994
2d809ffa 79952013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7996
7997 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7998
e54eeb9b
GM
79992013-05-09 Glenn Morris <rgm@gnu.org>
8000
56cd351d
GM
8001 * international/fontset.el (vertical-centering-font-regexp):
8002 Set standard-value.
8003
d84b6108
GM
8004 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8005
a931698a
GM
8006 * bookmark.el (bookmark-search-delay):
8007 * cus-start.el (vertical-centering-font-regexp):
8008 * ps-mule.el (ps-mule-font-info-database-default):
8009 * ps-print.el (ps-default-fg, ps-default-bg):
8010 * type-break.el (type-break-good-break-interval):
8011 * whitespace.el (whitespace-indentation-regexp)
8012 (whitespace-space-after-tab-regexp):
8013 * emacs-lisp/testcover.el (testcover-1value-functions)
8014 (testcover-noreturn-functions, testcover-progn-functions)
8015 (testcover-prog1-functions):
8016 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8017 * eshell/em-glob.el (eshell-glob-translate-alist):
8018 * play/tetris.el (tetris-tty-colors):
8019 * progmodes/cpp.el (cpp-face-default-list):
8020 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8021 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8022 (idlwave-help-browser-generic-args):
8023 * progmodes/make-mode.el (makefile-special-targets-list):
8024 * progmodes/python.el (python-shell-virtualenv-path):
8025 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8026 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8027 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8028 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8029 * textmodes/reftex-vars.el (reftex-format-label-function):
8030 * textmodes/remember.el (remember-diary-file): Fix custom types.
8031
e54eeb9b
GM
8032 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8033 Add :version.
8034
455851dd
LL
80352013-05-09 Leo Liu <sdl.web@gmail.com>
8036
8037 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8038 Restore file completion. (Bug#14300)
455851dd
LL
8039 (inferior-octave-startup): Fix incorrect highlighting for the
8040 first prompt.
8041
a9e4425b
SM
80422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * progmodes/ruby-mode.el: First cut at SMIE support.
8045 (ruby-use-smie): New var.
8046 (ruby-smie-grammar): New constant.
8047 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8048 (ruby-smie--forward-token, ruby-smie--backward-token)
8049 (ruby-smie-rules): New functions.
8050 (ruby-mode-variables): Setup SMIE if applicable.
8051
060ca408
EZ
80522013-05-08 Eli Zaretskii <eliz@gnu.org>
8053
8054 * simple.el (line-move-visual): Signal beginning/end of buffer
8055 only if vertical-motion moved less than it was requested. Avoids
8056 silly incorrect error messages when there are display strings with
8057 multiple newlines at EOL.
8058
1d5963cc
SM
80592013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8062 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8063 (prolog-char-quote-workaround):
8064 * progmodes/cperl-mode.el (cperl-under-as-char):
8065 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8066 Mark as obsolete.
8067 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8068 their declaration.
8069 (vhdl-mode-syntax-table-init): Remove.
8070
c9990474
SM
8071 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8072 last change.
1d5963cc
SM
8073
8074 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8075 syntax for "_".
8076 (ld-script-font-lock-keywords):
8077 Change regexps to use things like \_< and \_>.
8078
8079 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8080 Change all regexps to use things like \_< and \_>.
8081
8082 * progmodes/autoconf.el (autoconf-definition-regexp)
8083 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8084 Handle a _ with symbol syntax.
8085 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8086
c9990474
SM
8087 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8088 Consolidate declaration.
1d5963cc
SM
8089 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8090 the declaration.
8091 (ada-create-syntax-table): Remove.
8092 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8093 already has the right syntax nowadays.
8094 (ada-goto-next-word): Don't change the syntax of "_".
8095
8096 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8097 with-wrapper-hook.
8098
72d3cfca
SS
80992013-05-08 Sam Steingold <sds@gnu.org>
8100
8101 * thingatpt.el (thing-at-point): Accept optional second argument
8102 NO-PROPERTIES to strip the text properties from the return value.
8103 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8104 to `thing-at-point' instead of stripping the properties ourselves.
8105 Also, when `thing-at-point' fails to find a url, prepend "http://"
8106 to the filename at point on the assumption that the user is
8107 pointing at something like gnu.org/gnu.
8108
5cb15713
JB
81092013-05-08 Juanma Barranquero <lekktu@gmail.com>
8110
8111 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8112 * faces.el (crm-separator):
8113 Silence byte-compiler.
8114
8115 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8116 (tool-bar-map): Remove unneeded defvars.
8117
ea78b95b
LL
81182013-05-08 Leo Liu <sdl.web@gmail.com>
8119
8120 Re-work a fix for bug#10994 based on Le Wang's patch.
8121 * ido.el (ido-remove-consecutive-dups): New helper.
8122 (ido-completing-read): Use it.
8123 (ido-chop): Revert fix for bug#10994.
8124
dc7466df
AS
81252013-05-08 Adam Spiers <emacs@adamspiers.org>
8126
8127 * cus-edit.el (custom-save-variables):
8128 Pretty-print long values. (Bug#14187)
8129
9ecf672a
GM
81302013-05-08 Glenn Morris <rgm@gnu.org>
8131
8132 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8133 (m4-mode-syntax-table): Init in the defvar.
8134 (m4-mode-abbrev-table): Let define-derived-mode define it.
8135
3f555be8
TT
81362013-05-08 Tom Tromey <tromey@redhat.com>
8137
8138 * progmodes/m4-mode.el (m4-mode-syntax-table):
8139 Do not treat "_" as word constituent. (Bug#14167)
8140
7cc8ae06
GM
81412013-05-07 Glenn Morris <rgm@gnu.org>
8142
4f58bc06
GM
8143 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8144 Remove explicit eshell-isearch-cancel-map.
8145
7cc8ae06
GM
8146 * progmodes/f90.el (f90-smart-end-names): New option.
8147 (f90-smart-end): Doc fix.
8148 (f90-end-block-optional-name): New constant.
8149 (f90-block-match): Respect f90-smart-end-names.
8150
ceb57e59
SM
81512013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8154 about implicit semi-colons (bug#14218).
8155
4e3f9230
YM
81562013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8157
8158 * frame.el (display-monitor-attributes-list)
8159 (frame-monitor-attributes): New functions.
8160
203a5572
LL
81612013-05-06 Leo Liu <sdl.web@gmail.com>
8162
8163 * progmodes/octave.el (octave-syntax-propertize-function): Change
8164 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8165 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8166 (octave-completion-at-point): Rename from
203a5572
LL
8167 octave-completion-at-point-function.
8168 (inferior-octave-directory-tracker): Robustify.
8169 (octave-text-functions): Remove and fix its uses. No such things
8170 any more.
8171
ee6cff99
SM
81722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * emacs-lisp/trace.el (trace--display-buffer): New function.
8175 (trace-make-advice): Use it.
8176
32985194
JL
81772013-05-06 Juri Linkov <juri@jurta.org>
8178
8179 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8180 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8181 Doc fix.
8182 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8183 in the help string. (Bug#12985)
8184
a1c700de
KD
81852013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8186
8187 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8188
c67c0839
SM
81892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8190
323885fd
SM
8191 * progmodes/perl-mode.el: Add support for here documents.
8192 (perl-syntax-propertize-function): Match here-doc markers.
8193 (perl-syntax-propertize-special-constructs): Find their end.
8194 (perl-imenu-generic-expression): Use [:alnum:].
8195
c67c0839
SM
8196 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8197 (advice--add-function): Refresh the advice if already present
8198 (bug#14317).
8199
d491e7a8
IA
82002013-05-06 Ivan Andrus <darthandrus@gmail.com>
8201
8202 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8203
ddf9925e
GM
82042013-05-06 Glenn Morris <rgm@gnu.org>
8205
7cc3af27
GM
8206 * w32-fns.el (w32-charset-info-alist): Declare.
8207
16e343d6
GM
8208 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8209 of its defcustom properties.
8210 (eshell-cmpl-initialize): No need to load pcomplete.
8211
7d889a47
GM
8212 * generic-x.el: No need to require comint when compiling.
8213
ddf9925e
GM
8214 * net/eudc-export.el: Make it loadable without bbdb.
8215 (top-level): Use require rather than load-library.
8216 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8217 (eudc-batch-export-records-to-bbdb)
8218 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8219 Require bbdb.
8220
1e2c18df
SM
82212013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8224 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8225 some tweaks, instead.
8226
02502a5f
LL
82272013-05-05 Leo Liu <sdl.web@gmail.com>
8228
8229 * progmodes/octave.el (octave-font-lock-keywords)
8230 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8231 (inferior-octave-send-list-and-digest): Improve error message.
8232 (octave-mode, inferior-octave-mode): Use setq-local.
8233 (octave-help): Set info-lookup-mode.
8234
0dc04f42
RS
82352013-05-05 Richard Stallman <rms@gnu.org>
8236
6c54491c
RS
8237 * vc/compare-w.el (compare-windows-whitespace):
8238 Treat no-break space as whitespace.
8239
0dc04f42
RS
8240 * mail/rmailsum.el (rmail-summary-rmail-update):
8241 Detect empty summary and don't change selected message.
8242 (rmail-summary-goto-msg): Likewise.
8243
df8f35df
RS
8244 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8245 Doc fixes, rename args.
8246
5356e1a3
AM
82472013-05-05 Alan Mackenzie <acm@muc.de>
8248
8249 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8250
d44014cb
JL
82512013-05-05 Juri Linkov <juri@jurta.org>
8252
8253 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8254 to not add the length of the summary segment to the return value.
8255 (Bug#14125)
8256
c129b51f
LL
82572013-05-05 Leo Liu <sdl.web@gmail.com>
8258
8259 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8260 (inferior-octave-output-filter): Remove.
8261 (octave-send-region, inferior-octave-startup): Fix callers.
8262 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8263 (octave-binary-file-extensions): New user variable.
8264 (octave-find-definition): Confirm if opening binary files.
8265 (octave-help-file): Use octave-find-definition to get the binary
8266 confirmation.
8267 (octave-help): Adjust for octave-help-file change.
8268
aa7dab97
SM
82692013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8270
8271 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8272 Merge the two entries that handle function definitions.
8273 (pascal--syntax-propertize): New const.
8274 (pascal-mode): Use it. Use setq-local.
8275
fd3a9a6b
GM
82762013-05-04 Glenn Morris <rgm@gnu.org>
8277
8278 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8279 (diary-from-outlook): Respect diary-from-outlook-function.
8280
30c7e542
SM
82812013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8284 Move the declaration from C.
8285 (read-minibuffer, eval-minibuffer): Move from C.
8286 (completion-setup-function): Avoid minibuffer-completion-contents.
8287
b54f978b
LL
82882013-05-03 Leo Liu <sdl.web@gmail.com>
8289
8290 * progmodes/octave.el (octave-font-lock-keywords): Do not
8291 dehighlight 'end' in comments or strings.
30c7e542
SM
8292 (octave-completing-read, octave-goto-function-definition):
8293 New helpers.
d4d0f9b3
LL
8294 (octave-help-buffer): New user variable.
8295 (octave-help-file, octave-help-function): New button types.
8296 (octave-help): New command and bind it to C-h ;.
8297 (octave-find-definition): New command and bind it to M-.
d74a1581 8298 (user-error): Alias to error if not defined.
b54f978b 8299
27135018
LL
83002013-05-02 Leo Liu <sdl.web@gmail.com>
8301
8302 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8303 for \. (bug#14332)
8304 (octave-font-lock-keywords): Include [ and {.
8305
0d634d3a
LL
83062013-05-02 Leo Liu <sdl.web@gmail.com>
8307
8308 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8309 (inferior-octave): Remove calling comint-mode and return the buffer.
8310 (inferior-octave-startup): Cosmetic changes.
8311
b4c8295e
LL
83122013-05-02 Leo Liu <sdl.web@gmail.com>
8313
30c7e542
SM
8314 * progmodes/octave.el (octave-syntax-propertize-function):
8315 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8316
f12ad6ec
GM
83172013-05-02 Glenn Morris <rgm@gnu.org>
8318
8319 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8320 * desktop.el (vc-dir-mode): Just autoload it here.
8321
30cac1e0
AM
83222013-05-02 Alan Mackenzie <acm@muc.de>
8323
8324 Eliminate variable c-standard-font-lock-fontify-region-function.
8325 * progmodes/cc-mode.el
8326 (c-standard-font-lock-fontify-region-function): Remove.
8327 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8328
d8ef28b1
LL
83292013-05-01 Leo Liu <sdl.web@gmail.com>
8330
2640d52e 8331 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8332 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8333 variables were removed from Octave in 2007.
d8ef28b1
LL
8334 (inferior-octave-startup): Fix uses.
8335 (comint-line-beginning-position): Remove compatibility code for
8336 emacs 21.
8337
ac63ec89
JL
83382013-05-01 Juri Linkov <juri@jurta.org>
8339
8340 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8341
9e9be37c
JL
83422013-05-01 Juri Linkov <juri@jurta.org>
8343
8344 * comint.el (comint-previous-matching-input): Don't print message
8345 "History item: %d" when `isearch-mode' is active.
8346 (comint-history-isearch-message): Print message "History item: %d"
8347 when `comint-input-ring-index' is not empty and this function is
8348 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8349
9b92c13b
LL
83502013-05-01 Leo Liu <sdl.web@gmail.com>
8351
8352 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8353 definitions. Use completion-at-point to insert keywords.
8354 (octave-abbrev-start): Remove.
8355 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8356
b12d33d7
LL
83572013-04-30 Leo Liu <sdl.web@gmail.com>
8358
8359 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8360 change.
8361
3d1c39fa
AM
83622013-04-30 Alan Mackenzie <acm@muc.de>
8363
8364 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8365 * progmodes/cc-engine.el (c-back-over-member-initializers):
8366 new function.
3d1c39fa
AM
8367 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8368 (most) member init lists.
8369
5147fc17
RS
83702013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8371
8372 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8373 variable.
8374
5b78d7fc
LL
83752013-04-30 Leo Liu <sdl.web@gmail.com>
8376
8377 * progmodes/octave.el (octave-variables): Remove. No builtin
8378 variables any more. All converted to functions.
8379 (octave-font-lock-keywords, octave-completion-at-point-function):
8380 Fix uses.
8381 (octave-font-lock-texinfo-comment): New user variable.
8382 (octave-texinfo-font-lock-keywords): New variable for texinfo
8383 comment block.
8384 (octave-function-comment-block): New face.
8385 (octave-font-lock-texinfo-comment): New function.
8386 (octave-mode): Font lock texinfo comment block.
8387
38d8527b
LL
83882013-04-29 Leo Liu <sdl.web@gmail.com>
8389
8390 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8391 indexing expression.
8392 (octave-continuation-string): Do not use \.
8393 (inferior-octave-complete-impossible): Remove.
8394 (inferior-octave-completion-table)
8395 (inferior-octave-completion-at-point): Remove its uses.
8396 (inferior-octave-startup): completion_matches was introduced to
8397 Octave in 1996 so safe to assume it.
8398 (octave-function-file-comment): Improve to follow how Octave does it.
8399 (octave-update-function-file-comment): Tweak.
8400
2ec12cb0
LL
84012013-04-29 Leo Liu <sdl.web@gmail.com>
8402
8403 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8404 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8405 (octave-function-file-comment): Fix typo.
8406 (octave-sync-function-file-names): Use read-char-choice.
8407
6eaed048
JB
84082013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8409
8410 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8411 to t for the less important warnings.
8412
3ffa2d4f
DH
84132013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8414
8415 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8416
685c9501
GM
84172013-04-27 Glenn Morris <rgm@gnu.org>
8418
8419 * vc/log-view.el (log-view-current-entry):
8420 Treat "---" separator lines as part of the following rev. (Bug#14169)
8421
0208ede7
JL
84222013-04-27 Juri Linkov <juri@jurta.org>
8423
8424 * subr.el (read-number): Doc fix about using it by interactive
8425 code letter `n'. (Bug#14254)
8426
5db9dace
JL
84272013-04-27 Juri Linkov <juri@jurta.org>
8428
8429 * desktop.el (desktop-auto-save-timeout): New option.
8430 (desktop-file-checksum): New variable.
8431 (desktop-save): Add optional arg `auto-save' and don't auto-save
8432 if nothing changed.
8433 (desktop-auto-save-timer): New variable.
8434 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8435 (after-init-hook): Call `desktop-auto-save-set-timer'.
8436 Suggested by Reuben Thomas <rrt@sc3d.org> in
8437 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8438
b7260dd4
LL
84392013-04-27 Leo Liu <sdl.web@gmail.com>
8440
8441 * progmodes/octave.el (octave-function-file-p)
8442 (octave-skip-comment-forward, octave-function-file-comment)
8443 (octave-update-function-file-comment): New functions.
8444 (octave-mode-map): Bind C-c ; to
8445 octave-update-function-file-comment.
8446 (octave-mode-menu): Add octave-update-function-file-comment.
8447 (octave-mode, inferior-octave-mode): Fix doc-string.
8448 (octave-insert-defun): Conform to Octave's coding convention.
8449 (Bug#14285)
8450
8451 * files.el (basic-save-buffer): Don't let errors in
8452 before-save-hook prevent saving buffer.
8453
c46da669
RW
84542013-04-20 Roland Winkler <winkler@gnu.org>
8455
8456 * faces.el (read-face-name): Use completing-read if arg multiple
8457 is nil.
8458
a81ee1eb
IL
84592013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8460
8461 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8462 displayed, move point to after the totals line.
8463 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8464 for the details.
8465
4fac34ce
SM
84662013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8467
8468 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8469 Add current dir to the load-path.
8470 (package-generate-autoloads): Don't rely on
8471 autoload-ensure-default-file.
8472
f6bfc063
RT
84732013-04-26 Reuben Thomas <rrt@sc3d.org>
8474
d40ab5cf
BG
8475 * textmodes/remember.el (remember-store-in-files): Document that
8476 the file name format is passed to `format-time-string'.
f6bfc063 8477
e55d3b04
LL
84782013-04-26 Leo Liu <sdl.web@gmail.com>
8479
8480 * progmodes/octave.el (octave-sync-function-file-names): New function.
8481 (octave-mode): Use it in before-save-hook.
8482
e53052d3
SM
84832013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8484
140ef50c
SM
8485 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8486 (bug#14274).
8487
e53052d3
SM
8488 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8489 \n and comment, even if it's not an implicit ; (bug#14218).
8490
af80458d 84912013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8492
8493 * subr.el (read-number): Once more use `read' rather than
8494 `string-to-number', to trap non-numeric input. (Bug#14254)
8495
af80458d 84962013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8497
8498 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8499 Use `syntax-multiline' text property consistently instead of
8a621d53 8500 `font-lock-multiline'. (Bug#14237)
70203c2e 8501
e6ea1f6c
GM
85022013-04-26 Glenn Morris <rgm@gnu.org>
8503
8504 * emacs-lisp/shadow.el (list-load-path-shadows):
8505 No longer necessary to check for duplicate simple.el, since
8506 2012-07-07 change to init_lread to not include installation lisp
8507 directories in load-path when running uninstalled. (Bug#14270)
8508
070ccca4
LL
85092013-04-26 Leo Liu <sdl.web@gmail.com>
8510
8511 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8512 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8513 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8514 octave-in-string-or-comment-p.
8515 (octave-in-comment-p, octave-in-string-p)
8516 (octave-in-string-or-comment-p): Replace defsubst with defun.
8517
9d1c5fb6
PE
85182013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8519
8520 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8521
c034abda
BG
85222013-04-25 Bastien Guerry <bzg@gnu.org>
8523
8524 * textmodes/remember.el (remember-data-directory)
8525 (remember-directory-file-name-format): Fix custom types.
8526
584ea277
LL
85272013-04-25 Leo Liu <sdl.web@gmail.com>
8528
e53052d3
SM
8529 * progmodes/octave.el (octave-completion-at-point-function):
8530 Make use of inferior octave process.
584ea277
LL
8531 (octave-initialize-completions): Remove.
8532 (inferior-octave-completion-table): New function.
8533 (inferior-octave-completion-at-point): Use it.
8534 (octave-completion-alist): Remove.
8535
1693b06a
SM
85362013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8539 (opascal-mode-syntax-table): New var.
8540 (opascal-literal-kind, opascal-is-literal-end)
8541 (opascal-literal-token-at): Rewrite.
8542 (opascal--literal-start-re, opascal-font-lock-keywords)
8543 (opascal--syntax-propertize): New constants.
8544 (opascal-font-lock-defaults): Adjust.
8545 (opascal-mode): Use them. Set comment-<foo> variables as well.
8546 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8547 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8548 (delphi-other-face, opascal-other-face): Remove face variables.
8549 (opascal-save-state): Remove macro.
8550 (opascal-fontifying-progress-step): Remove constant.
8551 (opascal--ignore-changes): Remove var.
8552 (opascal-set-token-property, opascal-parse-next-literal)
8553 (opascal-is-stable-literal, opascal-complete-literal)
8554 (opascal-is-literal-start, opascal-face-of)
8555 (opascal-parse-region, opascal-parse-region-until-stable)
8556 (opascal-fontify-region, opascal-after-change)
8557 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8558 (opascal-debug-parse-region, opascal-debug-parse-window)
8559 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8560 (opascal-debug-fontify-buffer): Remove.
8561 (opascal-debug-mode-map): Adjust accordingly.
8562
be64c05d
LL
85632013-04-25 Leo Liu <sdl.web@gmail.com>
8564
8565 Merge octave-mod.el and octave-inf.el into octave.el with some
8566 cleanups.
8567 * progmodes/octave.el: New file renamed from octave-mod.el.
8568 * progmodes/octave-inf.el: Merged into octave.el.
8569 * progmodes/octave-mod.el: Renamed to octave.el.
8570
d79d37bd
TH
85712013-04-25 Tassilo Horn <tsdh@gnu.org>
8572
8573 * textmodes/reftex-vars.el
8574 (reftex-label-ignored-macros-and-environments): New defcustom.
8575
8576 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8577
ced3fc5d
SM
85782013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8581 (smie-indent-keyword): Improve the check to ensure that the next
8582 comment is really on the same line.
8583 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8584
8585 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8586 semi-colons if the line is not otherwise empty (bug#14218).
8587
1c141dad
GM
85882013-04-25 Glenn Morris <rgm@gnu.org>
8589
8590 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8591
5058062a
SM
85922013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * progmodes/opascal.el (opascal-set-token-property): Rename from
8595 opascal-set-text-properties and only set `token' (bug#14134).
8596 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8597 (opascal-literal-text-properties): Remove.
8598 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8599 Adjust callers.
8600
5db9dace 86012013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8602
8603 * textmodes/remember.el (remember-handler-functions): Add an
8604 option for a new handler `remember-store-in-files'.
8605 (remember-data-directory, remember-directory-file-name-format):
8606 New options.
8607 (remember-store-in-files): New function to store remember notes
8608 as separate files within a directory.
8609
4391916c
MH
86102013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8611
8612 * progmodes/compile.el (compilation-next-error-function):
8613 Pass "formats" to compilation-find-file (bug#11777).
8614
bb7cdf58
GM
86152013-04-24 Glenn Morris <rgm@gnu.org>
8616
3b8fe752 8617 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8618 * vc/vc-hg.el (vc-hg-print-log):
8619 * vc/vc-svn.el (vc-svn-print-log):
8620 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8621
bb7cdf58
GM
8622 * vc/vc-bzr.el (vc-bzr-print-log):
8623 * vc/vc-cvs.el (vc-cvs-print-log):
8624 * vc/vc-git.el (vc-git-print-log):
8625 * vc/vc-hg.el (vc-hg-print-log):
8626 * vc/vc-mtn.el (vc-mtn-print-log):
8627 * vc/vc-rcs.el (vc-rcs-print-log):
8628 * vc/vc-sccs.el (vc-sccs-print-log):
8629 * vc/vc-svn.el (vc-svn-print-log):
8630 * vc/vc.el (vc-print-log-internal): Doc fixes.
8631
b46a056e
GM
86322013-04-23 Glenn Morris <rgm@gnu.org>
8633
8634 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8635 Remove venerable code attempting to avoid substitute-command-keys.
8636
0aecf718
TH
86372013-04-23 Tassilo Horn <tsdh@gnu.org>
8638
4391916c
MH
8639 * textmodes/reftex-vars.el (reftex-label-regexps):
8640 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8641
117f94cf
SM
86422013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8643
4391916c 8644 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8645 Use lexical-binding.
8646 (jit-lock-force-redisplay): Use markers, check buffer's continued
8647 existence and beware narrowed buffers.
8648 (jit-lock-fontify-now): Adjust call accordingly.
8649
1d829c64
SM
86502013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8653 to avoid misleading the user.
8654
72d548a9
LL
86552013-04-22 Leo Liu <sdl.web@gmail.com>
8656
8657 * info-look.el: Prefer latex2e.info. (Bug#14240)
8658
d0853629
MA
86592013-04-22 Michael Albinus <michael.albinus@gmx.de>
8660
8661 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8662
8663 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8664 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8665 (tramp-set-completion-function, tramp-parse-putty):
8666 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8667 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8668 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8669 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8670 (tramp-call-local-coding-command): Use `tramp-call-process'
8671 instead of `tramp-compat-call-process'.
8672
8673 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8674 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8675 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8676 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8677 (tramp-maybe-send-script): Check for Perl binary.
8678 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8679
38cc0210
DU
86802013-04-22 Daiki Ueno <ueno@gnu.org>
8681
8682 * epg.el (epg-context-pinentry-mode): New function.
8683 (epg-context-set-pinentry-mode): New function.
8684 (epg--start): Pass --pinentry-mode option to gpg command.
8685
cc641ee1
XF
86862013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8687
02d844b5 8688 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8689 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8690 `completion-at-point'. (Bug#13774)
5d4e5c31 8691
cc641ee1
XF
8692 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8693 default key binding for `describe-distribution' has been moved to
8694 `C-h C-o'. (Bug#13970)
8695
1b42ee43
GM
86962013-04-21 Glenn Morris <rgm@gnu.org>
8697
8698 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8699 Add doc strings.
8700 (vc-print-log): Clarify interactive prompt.
8701
a6d63d97
GM
87022013-04-20 Glenn Morris <rgm@gnu.org>
8703
8704 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8705 No longer include timestamp etc information.
8706
d7f5c16f
RW
87072013-04-20 Roland Winkler <winkler@gnu.org>
8708
8709 * faces.el (read-face-name): Bug fix, return just one face if arg
8710 multiple is nil. (Bug#14209)
8711
bcd7a0a4
SM
87122013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8713
8714 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8715 (remove-function): Autoload.
8716
8717 * comint.el (comint-redirect-original-filter-function): Remove.
8718 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8719 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8720 (vc-cvs-annotate-command):
bcd7a0a4
SM
8721 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8722 * progmodes/prolog.el (prolog-consult-compile):
8723 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8724 Use add/remove-function instead.
8725 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8726 (gud-tooltip-process-output, gud-tooltip-tips):
8727 Use add/remove-function instead.
8728 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8729 (scheme-interaction-mode, exit-scheme-interaction-mode):
8730 Use add/remove-function instead.
8731
8732 * vc/vc-dispatcher.el: Use lexical-binding.
8733 (vc--process-sentinel): Rename from vc-process-sentinel.
8734 Change last arg to be the code to run. Don't use vc-previous-sentinel
8735 and vc-sentinel-commands any more.
8736 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8737 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8738
e36b2d20 87392013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8740
bcd7a0a4 8741 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8742 Handle function names with a single character. (Bug#14111)
4d3268ba 8743
781b4af6 87442013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8745
8746 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8747 for subroutines defined in an eval (bug#14182).
8748
7d688336
TV
87492013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8750
8751 * bookmark.el (bookmark-completing-read): Improve handling of empty
8752 string (bug#14176).
8753
31dcede0
SM
87542013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8757
adc31213
FEG
87582013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8759
8760 New faster Imenu implementation (bug#14058).
8761 * progmodes/python.el:
8762 (python-imenu-prev-index-position):
8763 (python-imenu-format-item-label-function)
8764 (python-imenu-format-parent-item-label-function)
8765 (python-imenu-format-parent-item-jump-label-function):
8766 New vars.
8767 (python-imenu-format-item-label)
8768 (python-imenu-format-parent-item-label)
8769 (python-imenu-format-parent-item-jump-label)
8770 (python-imenu--put-parent, python-imenu--build-tree)
8771 (python-imenu-create-index, python-imenu-create-flat-index)
8772 (python-util-popn): New functions.
8773 (python-mode): Set imenu-create-index-function to
8774 python-imenu-create-index.
8775
cdca8255
SM
87762013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * winner.el (winner-active-region): Use region-active-p, activate-mark
8779 and deactivate-mark (bug#14225).
8780
8781 * simple.el (deactivate-mark): Don't inline it.
8782
beb42340
MA
87832013-04-18 Michael Albinus <michael.albinus@gmx.de>
8784
8785 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8786
fc7f4d7e
TH
87872013-04-18 Tassilo Horn <tsdh@gnu.org>
8788
8789 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8790 file extensions from the archive-mode entry in order to prefer
8791 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8792
29f47822
LL
87932013-04-18 Leo Liu <sdl.web@gmail.com>
8794
8795 * bindings.el (help-event-list): Add ?\?.
8796
d36ed1c8
SM
87972013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * subr.el (with-wrapper-hook): Declare obsolete.
8800 * simple.el (filter-buffer-substring-function): New hook.
8801 (filter-buffer-substring): Use it.
8802 (filter-buffer-substring-functions): Mark obsolete.
8803 * minibuffer.el (completion-in-region-function): New hook.
8804 (completion-in-region): Use it.
8805 (completion-in-region-functions): Mark obsolete.
8806 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8807 * abbrev.el (abbrev-expand-function): New hook.
8808 (expand-abbrev): Use it.
8809 (abbrev-expand-functions): Mark obsolete.
8810 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8811 and :filter-return.
8812
04754d36
FEG
88132013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8814
8815 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8816 and do not care about match data.
8817
dd8791e9
SM
88182013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8819
8820 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8821 completion tables when completing error conditions and
8822 `declare' arguments.
8823 (lisp-complete-symbol, field-complete): Mark as obsolete.
8824 (check-parens): Unmatched parens are user errors.
8825 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8826
ffe54a13
AM
88272013-04-17 Michal Nazarewicz <mina86@mina86.com>
8828
dd8791e9
SM
8829 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8830 command changed buffer (ie. `flyspell-pre-buffer' is not current
8831 buffer), which prevents making decisions based on invalid value of
8832 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8833 cause an error when `flyspell-pre-point' was nil after switching
8834 buffers.
8835 (flyspell-post-command-hook): No longer needs to change buffers when
8836 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8837
ec7e39f2
AM
88382013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8839
8840 * textmodes/ispell.el (ispell-add-per-file-word-list):
8841 Fix `flyspell-correct-word-before-point' error when accepting
8842 words and `coment-padding' is an integer by using
8843 `comment-normalize-vars' (Bug #14214).
8844
083850a6
FEG
88452013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8846
8847 New defun movement commands.
8848 * progmodes/python.el (python-nav--syntactically)
8849 (python-nav--forward-defun, python-nav-backward-defun)
8850 (python-nav-forward-defun): New functions.
8851
619ed6e1
FEG
88522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8853
8854 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8855 (python-syntax-context): Use named compiler-macro for backwards
8856 compatibility with Emacs 24.x.
8857
7a1beb6c
LL
88582013-04-17 Leo Liu <sdl.web@gmail.com>
8859
8860 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8861 octave-hide-process-buffer.
8862
2d3fa3e5
SM
88632013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8864
8865 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8866 (bug#14216).
8867
7ce5be54
JPG
88682013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8869
8870 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8871 Fix adjustment of offset when receiving incomplete responses from GDB
8872 (bug#14129).
8873
351edece
SM
88742013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8877 python-mode-abbrev-table.
8878 (python-skeleton-define): Adjust accordingly.
8879 (python-mode-abbrev-table): New table that inherits from it so that
8880 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8881
8882 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8883 (abbrev-symbol): Use it.
8884 (abbrev--before-point): Use it since we already handle inheritance.
8885
613f9481
LL
88862013-04-16 Leo Liu <sdl.web@gmail.com>
8887
8888 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8889 binding to info-lookup-symbol.
8890
51646b62
JB
88912013-04-16 Juanma Barranquero <lekktu@gmail.com>
8892
8893 * minibuffer.el (completion--twq-all):
8894 * term/ns-win.el (ns-initialize-window-system):
8895 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8896
efb3f01d
SM
88972013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8898
36c0a301
SM
8899 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8900 global bindings.
8901
efb3f01d
SM
8902 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8903
fb549d64
DG
89042013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8905
8906 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8907 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8908 to nil.
8909 (ruby-end-of-defun): Remove the unused arg, change the docstring
8910 to reflect that this function is only used as the value of
8911 `end-of-defun-function'.
8912 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8913 to reflect an earlier change that beginning/end-of-defun functions
8914 jump between methods in a class definition, as well as top-level
8915 functions.
8916
21e8fe2f
SM
89172013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * minibuffer.el (minibuffer-complete): Don't just scroll
8920 a *Completions* that's been iconified.
8921 (minibuffer-force-complete): Make sure repetitions do cycle when going
8922 through completion-in-region -> minibuffer-complete.
8923
20e527d0
AM
89242013-04-15 Alan Mackenzie <acm@muc.de>
8925
8926 Correct the placement of c-cpp-delimiters when there're #s not at
8927 col 0.
8928
8929 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8930 place a submatch around the #.
21e8fe2f
SM
8931 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8932 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8933 on the #, not BOL.
8934
dabefae5
SM
89352013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8938 (advice--member-p): New arg `name'.
8939 (advice--add-function, advice-member-p): Use it (bug#14202).
8940
85c9ab64
AM
89412013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8942
8943 Reformulate java imenu-generic-expression.
8944 The old expression contained ill formed regexps.
8945
8946 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8947 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8948 (cc-imenu-java-method-arg-regexp): New defconsts.
8949 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8950 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8951 handling of spaces in the regexp.
8952
0f821d99
AM
89532013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8954
8955 * textmodes/ispell.el (ispell-command-loop): Remove
8956 flyspell highlight of a word when ispell accepts it (bug #14178).
8957
eb922adf
MA
89582013-04-15 Michael Albinus <michael.albinus@gmx.de>
8959
8960 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8961 uses code from the previous `ange-ftp-run-real-handler'.
8962 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8963 only in case that function exist. This is needed for proper
8964 unloading of Tramp.
8965
4d9a0979
TH
89662013-04-15 Tassilo Horn <tsdh@gnu.org>
8967
8968 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8969
8970 * textmodes/reftex.el (reftex-compile-variables): Use it.
8971
a829b0dc
SM
89722013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8973
91e8293c
SM
8974 * files.el (normal-mode): Only use default major-mode if no other mode
8975 was specified.
8976
830aed4d
SM
8977 * emacs-lisp/trace.el (trace-values): New function.
8978
a829b0dc
SM
8979 * files.el: Allow : in local variables (bug#14089).
8980 (hack-local-variable-regexp): New var.
8981 (hack-local-variables-prop-line, hack-local-variables): Use it.
8982
7ae9f0fb
RW
89832013-04-13 Roland Winkler <winkler@gnu.org>
8984
8985 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8986 data before it gets modified by bibtex-beginning-of-entry.
8987
6646e848
RW
89882013-04-13 Roland Winkler <winkler@gnu.org>
8989
8990 * textmodes/bibtex.el (bibtex-url): Doc fix.
8991
89922013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8993
8994 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8995 does not visit a BibTeX file, exclude it from the list of buffers
8996 returned by bibtex-initialize.
8997
0aa3616e
SB
89982013-04-13 Stephen Berman <stephen.berman@gmx.net>
8999
9000 * window.el (split-window): Remove interactive form, since as a
9001 command this function is a special case of split-window-below.
9002 Correct doc string.
9003
011cddd6
RW
90042013-04-12 Roland Winkler <winkler@gnu.org>
9005
9006 * faces.el (read-face-name): Do not override value of arg default.
9007 Allow single faces and strings as default values. Remove those
9008 elements from return value that are not faces.
9009 (describe-face): Simplify.
9010 (face-at-point): New optional args thing and multiple so that this
9011 function can provide the same functionality previously provided by
9012 read-face-name.
9013 (make-face-bold, make-face-unbold, make-face-italic)
9014 (make-face-unitalic, make-face-bold-italic, invert-face)
9015 (modify-face, read-face-and-attribute): Use face-at-point.
9016
9017 * cus-edit.el (customize-face, customize-face-other-window)
9018 * cus-theme.el (custom-theme-add-face)
9019 * face-remap.el (buffer-face-set)
9020 * facemenu.el (facemenu-set-face): Use face-at-point.
9021
f24e0036
MA
90222013-04-12 Michael Albinus <michael.albinus@gmx.de>
9023
9024 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9025
da3cda2d
TH
90262013-04-10 Tassilo Horn <tsdh@gnu.org>
9027
9028 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9029 off leading { and trailing } from field values.
9030
15e54145
SM
90312013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9032
78ce603d
SM
9033 * emacs-lisp/timer.el (timer--check): New function.
9034 (timer--time, timer-set-function, timer-event-handler): Use it.
9035 (timer-set-idle-time): Simplify.
9036 (timer--activate): CSE.
9037 (timer-event-handler): Give more info in error message.
9038 (internal-timer-start-idle): New function, moved from C.
9039
15e54145
SM
9040 * mpc.el (mpc-proc): Add `restart' argument.
9041 (mpc-proc-cmd): Use it.
9042 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9043 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9044 less often.
9045
7144c627
MY
90462013-04-10 Masatake YAMATO <yamato@redhat.com>
9047
9048 * progmodes/sh-script.el: Implement `sh-mode' own
9049 `add-log-current-defun-function' (bug#14112).
9050 (sh-current-defun-name): New function.
9051 (sh-mode): Use the function.
9052
b39792eb
BG
90532013-04-09 Bastien Guerry <bzg@gnu.org>
9054
9055 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9056
8acdeb71
SM
90572013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9058
6fcdab68
SM
9059 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9060
8acdeb71
SM
9061 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9062 timer (bug#14156).
9063
e3e7b504
NF
90642013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9065
9066 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9067 declaration.
9068
201bb296
LL
90692013-04-07 Leo Liu <sdl.web@gmail.com>
9070
9071 * pcmpl-x.el: New file.
9072
ebb19708
DA
90732013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9074
9075 Do not set x-display-name until X connection is established.
9076 This is needed to prevent from weird situation described at
9077 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9078 * frame.el (make-frame): Set x-display-name after call to
9079 window system initialization function, not before.
9080 * term/x-win.el (x-initialize-window-system): Add optional
9081 display argument and use it.
9082 * term/w32-win.el (w32-initialize-window-system):
9083 * term/ns-win.el (ns-initialize-window-system):
9084 * term/pc-win.el (msdos-initialize-window-system):
9085 Add compatible optional display argument.
9086
33bb237a
EZ
90872013-04-06 Eli Zaretskii <eliz@gnu.org>
9088
9089 * files.el (normal-backup-enable-predicate): On MS-Windows and
9090 MS-DOS compare truenames of temporary-file-directory and of the
9091 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9092 don't fail comparison by compare-strings. Also, compare file
9093 names case-insensitively on MS-Windows and MS-DOS.
9094
134abf1f
SM
90952013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9098 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9099
d695cb94
DG
91002013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9101
e3e7b504
NF
9102 * whitespace.el (whitespace-color-on, whitespace-color-off):
9103 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9104
f4ad7ea1 91052013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9106
9107 * ispell.el (ispell-set-spellchecker-params):
9108 Really set `ispell-args' for all equivs.
9109
632556e4
SM
91102013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * ido.el (ido-completions): Use extra elements of ido-decorations
9113 (bug#14143).
9114 (ido-decorations): Update docstring.
9115
2a417372
MA
91162013-04-05 Michael Albinus <michael.albinus@gmx.de>
9117
9118 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9119 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9120 nil during initialization, in order not to miss changes since the
9121 file was opened. (Bug#14140)
9122
fc164b0c
LL
91232013-04-05 Leo Liu <sdl.web@gmail.com>
9124
9125 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9126
0ccecc08
JB
91272013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9128
9129 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9130
51af1aa2
GM
91312013-04-04 Glenn Morris <rgm@gnu.org>
9132
9133 * electric.el (electric-pair-inhibit-predicate): Add :version.
9134
b208ebc6
SM
91352013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9138 when a package is required several times (bug#14082).
9139
f3d3eaf0
RW
91402013-04-04 Roland Winkler <winkler@gnu.org>
9141
9142 * faces.el (read-face-name): Behave as promised by the docstring.
9143 Assume that arg default is a list of faces.
9144 (describe-face): Call read-face-name with list of default faces.
9145
2575da50
TV
91462013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9147
9148 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9149 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9150 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9151 the header.
9152 (bookmark-exit-hook-internal): Save even if list is empty.
9153
397703b4
YH
91542013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9155
9156 * emacs-lisp/package.el (package-pinned-packages): New var.
9157 (package--add-to-archive-contents): Obey it (bug#14118).
9158
691e26ae
AM
91592013-04-03 Alan Mackenzie <acm@muc.de>
9160
8a621d53
JB
9161 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9162 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9163
9164 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9165 parameter `not-in-delimiter'. Handle being inside comment opener.
9166 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9167 character in case we're typing a '*' after a '/'.
9168 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9169 instead by passing the parameter to c-state-pp-to-literal.
9170
9171 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9172 for elt. 7 of a parse state.
9173
4b725a70
PE
91742013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9175
9176 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9177 * international/latin1-disp.el, international/mule-util.el:
9178 * language/cyril-util.el, language/european.el, language/ind-util.el:
9179 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9180 * language/tibetan.el, language/viet-util.el:
9181 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9182
15c579f0
SM
91832013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9184
9185 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9186 (electric-pair-post-self-insert-function): Use it.
9187 (electric-pair-default-inhibit): New function, extracted from
9188 electric-pair-post-self-insert-function.
9189
a77e2924
RW
91902013-03-31 Roland Winkler <winkler@gnu.org>
9191
9192 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9193
2bd8a4a8
SM
91942013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9197
8d3655be 91982013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9199
9200 Un-indent after "pass" and "return" statements (Bug#13888)
9201 * progmodes/python.el (python-indent-block-enders): New var.
9202 (python-indent-calculate-indentation): Use it.
9203
8d3655be 92042013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9205
9206 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9207 defun. Defining it as defalias could introduce too eager
9208 byte-compiler optimization. (Bug#14030)
9209
8d3655be 92102013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9211
9212 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9213
0b1619da
LL
92142013-03-30 Leo Liu <sdl.web@gmail.com>
9215
9216 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9217 (kmacro-execute-from-register): Pass the keyboard macro to
9218 kmacro-call-macro or repeating won't work correctly.
9219
0b938190
TZ
92202013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9221
9222 * progmodes/subword.el: Back to using `forward-symbol'.
9223
9224 * subr.el (forward-whitespace, forward-symbol)
9225 (forward-same-syntax): Move from thingatpt.el.
9226
35710234
LL
92272013-03-29 Leo Liu <sdl.web@gmail.com>
9228
9229 * kmacro.el (kmacro-to-register): New command.
9230 (kmacro-execute-from-register): New function.
9231 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9232
efc0bb73
SM
92332013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * mpc.el: Use defvar-local and setq-local.
9236 (mpc--proc-connect): Connection failures are not bugs.
9237 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9238 (mpc-volume-map): Bind to the up-events.
9239
75a2f981
TZ
92402013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9241
9242 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9243 instead of `forward-symbol'.
9244
17c781d1
SM
92452013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9248 (edebug--recursive-edit): Use it.
9249 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9250 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9251
f67bfbcf
LL
92522013-03-28 Leo Liu <sdl.web@gmail.com>
9253
9254 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9255
b59f639d
EZ
92562013-03-27 Eli Zaretskii <eliz@gnu.org>
9257
9258 * facemenu.el (list-colors-callback): New defvar.
9259 (list-colors-redisplay): New function.
9260 (list-colors-display): Install list-colors-redisplay as the
9261 revert-buffer-function. (Bug#14063)
9262
f557c1b1
SM
92632013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9264
b1da2957
SM
9265 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9266 and suffixes don't overlap (bug#14061).
9267
f557c1b1
SM
9268 * case-table.el: Use lexical-binding.
9269 (case-table-get-table): New function.
9270 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9271
002668e1
TZ
92722013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9273
9274 * progmodes/subword.el: Add `superword-mode' to do word motion
9275 over symbol_words (parallels and leverages `subword-mode' which
9276 does word motion inside MixedCaseWords).
9277
73572c72
AG
92782013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9279
78b8f320 9280 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9281 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9282
69b2c07e
SM
92832013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9286 Change return value to be a sexp. Delay `get-buffer' to after
9287 restoring the desktop (bug#13951).
9288
08bb5ee2
LL
92892013-03-26 Leo Liu <sdl.web@gmail.com>
9290
9291 * register.el: Move semantic tag handling back to
9292 cedet/semantic/senator.el. (Bug#14052)
9293
8d4c974e
SM
92942013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9297 into the prompt either (bug#13963).
9298
b234d92c
SM
92992013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9302 part of "(error-foo)".
9303
ddfa3cb4
JL
93042013-03-24 Juri Linkov <juri@jurta.org>
9305
9306 * replace.el (list-matching-lines-prefix-face): New defcustom.
9307 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9308 `occur-engine' if `face-differs-from-default-p' returns t.
9309 (occur-engine): Add `,' inside backquote construct to evaluate
9310 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9311 Pass `prefix-face' to the functions `occur-context-lines' and
9312 `occur-engine-add-prefix'.
9313 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9314 `prefix-face' and propertize the prefix with `prefix-face'.
9315 (Bug#14017)
9316
7b0e2f85
LL
93172013-03-24 Leo Liu <sdl.web@gmail.com>
9318
9319 * nxml/rng-valid.el (rng-validate-while-idle)
9320 (rng-validate-quick-while-idle): Guard against deleted buffer.
9321 (Bug#13999)
9322
9323 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9324 is the last entry in kill-buffer-hook.
9325
9326 * files.el (kill-buffer-hook): Doc fix.
9327
b3082f49
DG
93282013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9329
b234d92c
SM
9330 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9331 Make it safe-local.
bde73d27 9332
b3082f49
DG
9333 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9334
a320a2db
LL
93352013-03-23 Leo Liu <sdl.web@gmail.com>
9336
7e74b0fb
LL
9337 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9338 Remove.
9339
9340 * nxml/rng-valid.el (rng-validate-mode)
9341 (rng-after-change-function, rng-do-some-validation):
9342 * nxml/rng-maint.el (rng-validate-buffer):
9343 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9344 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9345 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9346 (nxml-extend-after-change-region): Use with-silent-modifications.
9347
a320a2db
LL
9348 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9349 timer-idle-list.
9350
9351 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9352 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9353 timer-idle-list. (Bug#13999)
9354
e38e6780
JL
93552013-03-23 Juri Linkov <juri@jurta.org>
9356
9357 * info.el (info-index-match): New face.
9358 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9359 main pattern and add text properties with the new face to matches
9360 in index entries relative to the beginning of the index entry.
9361 (Bug#14015)
9362
e8cc7880
DE
93632013-03-21 Eric Ludlam <zappo@gnu.org>
9364
9365 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9366 Inhibit read only while inserting objects.
9367
9bb0d822
TZ
93682013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9369
9370 * progmodes/cfengine.el: Update docs to mention
9371 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9372 symbol motion. Remove "_" from the word syntax.
9373
aa703640
TZ
93742013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9375
9376 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9377 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9378
afff09d0
JL
93792013-03-20 Juri Linkov <juri@jurta.org>
9380
9381 * info.el (Info-next-reference-or-link)
9382 (Info-prev-reference-or-link): New functions.
9383 (Info-next-reference, Info-prev-reference): Use them.
9384 (Info-try-follow-nearest-node): Handle footnote navigation.
9385 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9386
9a1ff164
SM
93872013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9388
9389 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9390 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9391
2667d15d
PE
93922013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9393
9394 Suppress unnecessary non-ASCII chatter during build process.
9395 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9396 (batch-skkdic-convert): Suppress most of the chatter.
9397 It's not needed so much now that machines are faster,
9398 and its non-ASCII component was confusing; see Dmitry Gutov in
9399 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9400
438b0579
LL
94012013-03-20 Leo Liu <sdl.web@gmail.com>
9402
9403 * ido.el (ido-chop): Fix bug#10994.
9404
c128ab07
DG
94052013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9406
9407 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9408 Remove vars.
9a1ff164
SM
9409 (whitespace-color-on, whitespace-color-off):
9410 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9411
0e6008c5
SM
94122013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9413
9414 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9415 remapping in mode-line.
9416 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9417
627b52b0
DG
94182013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9419
9420 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9421 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9422 (whitespace-font-lock-keywords): Change description.
9423 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9424 the constructed keywords instead.
9425 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9426
50c3a20b
LL
94272013-03-19 Leo Liu <sdl.web@gmail.com>
9428
9429 * progmodes/compile.el (compilation-display-error): New command.
9430 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9431 C-o. (Bug#13992)
9432
2aa2157b
PE
94332013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9434
9435 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9436
e477dbfa
JD
94372013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9438
9439 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9440
64ab82d1
MA
94412013-03-18 Michael Albinus <michael.albinus@gmx.de>
9442
9443 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9444
9445 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9446 * net/tramp-gvfs.el (top):
9447 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9448 (tramp-handle-shell-command): Use it.
9449 (tramp-dissect-file-name): Raise an error when hostname is a
9450 method name, and neither method nor user is specified.
9451
9452 * net/trampver.el: Update release number.
9453
33cef733
LL
94542013-03-18 Leo Liu <sdl.web@gmail.com>
9455
9456 Make sure eldoc can be turned off properly.
9457 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9458 eldoc-mode.
9459 (eldoc-display-message-p): Revert last change.
9460 (eldoc-display-message-no-interference-p)
9461 (eldoc-print-current-symbol-info): Tweak.
9462
2167b7b2
TH
94632013-03-18 Tassilo Horn <tsdh@gnu.org>
9464
9465 * doc-view.el (doc-view-new-window-function): Check the new window
9466 overlay's display property instead the char property of the
9467 buffer's first char. Use `with-selected-window' instead of
9468 `save-window-excursion' with `select-window'.
9469 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9470 display property instead the char property of the buffer's first char.
2167b7b2 9471
982efbcd
PE
94722013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9473
9474 Automate the build of ja-dic.el (Bug#13984).
9475 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9476 from the input, rather than assume that it's been done for us by the
9477 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9478 the current date into a ja-dic.el comment, as that complicates
9479 regression testing.
9480
2fcc7665
SM
94812013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * whitespace.el: Fix double evaluation.
9484 (whitespace-space, whitespace-hspace, whitespace-tab)
9485 (whitespace-newline, whitespace-trailing, whitespace-line)
9486 (whitespace-space-before-tab, whitespace-indentation)
9487 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9488 obsolete defvars.
9489 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9490 (whitespace-color-on): Use a single font-lock-add-keywords call.
9491 Fix double-evaluation of face variables.
9492
67c0a6e6
MA
94932013-03-17 Michael Albinus <michael.albinus@gmx.de>
9494
2fcc7665
SM
9495 * net/tramp-adb.el (tramp-adb-parse-device-names):
9496 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9497 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9498
69489f1d
LL
94992013-03-17 Leo Liu <sdl.web@gmail.com>
9500
9501 Extend eldoc to display info in the mode-line. (Bug#13978)
9502 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9503 (eldoc-mode-line-string): New variable.
9504 (eldoc-minibuffer-message): New function.
9505 (eldoc-message-function): New variable.
9506 (eldoc-message): Use it.
9507 (eldoc-display-message-p)
2fcc7665
SM
9508 (eldoc-display-message-no-interference-p):
9509 Support eldoc-post-insert-mode.
69489f1d
LL
9510
9511 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9512 (eval-expression): Run it.
9513
9c44569e
RW
95142013-03-17 Roland Winkler <winkler@gnu.org>
9515
9516 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9517 strings in the list of return values.
9518
327f1f6f
JB
95192013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9520
9521 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9522 radix before checking for HMS forms.
9523
67ed8fcd
LL
95242013-03-16 Leo Liu <sdl.web@gmail.com>
9525
9526 * progmodes/scheme.el: Add indentation and font-locking for λ.
9527 (Bug#13975)
9528
78be8b64 95292013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9530
9531 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9532 token before point (bug#13942).
9533
78be8b64 95342013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9535
95b43468 9536 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9537
98e775e6
EZ
95382013-03-16 Eli Zaretskii <eliz@gnu.org>
9539
9540 * startup.el (command-line-normalize-file-name): Fix handling of
9541 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9542 <xfq.free@gmail.com> in
9543 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9544
2edd6029
MA
95452013-03-15 Michael Albinus <michael.albinus@gmx.de>
9546
9547 Sync with Tramp 2.2.7.
9548
9549 * net/trampver.el: Update release number.
9550
d35f5864
TH
95512013-03-14 Tassilo Horn <tsdh@gnu.org>
9552
e903c210 9553 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9554 (doc-view-insert-image): Don't modify overlay associated to
9555 non-live windows, and implement horizontal centering of image in
9556 case it's smaller than the window.
9557 (doc-view-new-window-function): Force redisplay of new windows on
9558 doc-view buffers.
d35f5864 9559
1c4a85ed
KF
95602013-03-13 Karl Fogel <kfogel@red-bean.com>
9561
9562 * saveplace.el (save-place-alist-to-file): Don't sort
9563 `save-place-alist', just pretty-print it (bug#13882).
9564
85b66a21
MA
95652013-03-13 Michael Albinus <michael.albinus@gmx.de>
9566
a020afb9
JB
9567 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9568 Check whether `default-file-name-coding-system' is bound.
9569 It isn't in XEmacs.
85b66a21 9570
175600da
SM
95712013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9572
e7f7cb1a
SM
9573 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9574 backquotes for `obsolete' (bug#13929).
9575
175600da
SM
9576 * international/mule.el (find-auto-coding): Include file name in
9577 obsolescence warning (bug#13922).
9578
ca68a22e
TZ
95792013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9580
9581 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9582 for CFEngine 3-specific indentation.
9583 (cfengine3-indent-line): Use it. Fix up category regex.
9584 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9585
940e5099
SM
95862013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * type-break.el (type-break-file-name):
9589 * textmodes/remember.el (remember-data-file):
9590 * strokes.el (strokes-file):
9591 * shadowfile.el (shadow-initialize):
9592 * saveplace.el (save-place-file):
9593 * ps-bdf.el (bdf-cache-file):
9594 * progmodes/idlwave.el (idlwave-config-directory):
9595 * net/quickurl.el (quickurl-url-file):
9596 * international/kkc.el (kkc-init-file-name):
9597 * ido.el (ido-save-directory-list-file):
9598 * emulation/viper.el (viper-custom-file-name):
9599 * emulation/vip.el (vip-startup-file):
9600 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9601 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9602
cc725808
PE
96032013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9604
9605 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9606 * language/thai-word.el: Switch to UTF-8.
9607
a020afb9 9608See ChangeLog.16 for earlier changes.
e3d51b27
MR
9609
9610;; Local Variables:
9611;; coding: utf-8
e3d51b27
MR
9612;; End:
9613
ab422c4d 9614 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9615
9616 This file is part of GNU Emacs.
9617
9618 GNU Emacs is free software: you can redistribute it and/or modify
9619 it under the terms of the GNU General Public License as published by
9620 the Free Software Foundation, either version 3 of the License, or
9621 (at your option) any later version.
9622
9623 GNU Emacs is distributed in the hope that it will be useful,
9624 but WITHOUT ANY WARRANTY; without even the implied warranty of
9625 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9626 GNU General Public License for more details.
9627
9628 You should have received a copy of the GNU General Public License
9629 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.