* thingatpt.el (thing-at-point-looking-at): Add optional arg
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
5d5c701e
LL
12013-11-06 Leo Liu <sdl.web@gmail.com>
2
3 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4 DISTANCE to bound the search. All uses changed. (Bug#15808)
5
0a8b75e2
GM
62013-11-06 Glenn Morris <rgm@gnu.org>
7
8 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
9 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
10 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 11
a35287ea
SM
122013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
13
feca4e2d
SM
14 * electric.el (electric-indent-just-newline): New command.
15 (electric-indent-mode-map): New keymap.
16 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
17 Re-add :group which weren't redundant.
18
a35287ea
SM
19 * electric.el (electric-indent-local-mode): New minor mode.
20 (electric-indent-functions-without-reindent): New var.
21 (electric-indent-post-self-insert-function): Use it.
22 * emacs-lisp/gv.el (buffer-local-value): Add setter.
23
375761b2
EZ
242013-11-05 Eli Zaretskii <eliz@gnu.org>
25
9a6ad735
EZ
26 * international/quail.el (quail-help): Be more explicit about the
27 meaning of the labels shown on the keys. (Bug#15800)
28
375761b2
EZ
29 * startup.el (normal-top-level): Load the subdirs.el files before
30 setting the locale environment. (Bug#15805)
31
520a6e4a
SM
322013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
33
0acfafef
SM
34 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
35 via arguments so as to get the right ones (bug#15418).
36
520a6e4a
SM
37 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
38
15826261
MA
392013-11-05 Michael Albinus <michael.albinus@gmx.de>
40
41 Fix problems found while writing a test suite.
42
43 * net/tramp-compat.el (tramp-compat-load): New defun.
44 * net/tramp.el (tramp-handle-load): Use it.
45
46 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
47 "(numberp ok-if-already-exists)" correctly.
48
d35f31a4
XF
492013-11-05 Xue Fuqiao <xfq.free@gmail.com>
50
51 * international/characters.el (glyphless-char-display-control):
52 Add usage note.
53
ae93bc74
BB
542013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
55
520a6e4a
SM
56 * progmodes/python.el (python-mode):
57 * progmodes/scheme.el (scheme-mode):
58 * progmodes/prolog.el (prolog-mode):
59 * progmodes/ruby-mode.el (ruby-mode):
60 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
61 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 62
0ade65b5
SM
632013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
64
a0d5f7a4
SM
65 * rect.el (rectangle--highlight-for-redisplay):
66 * emacs-lisp/smie.el (smie--next-indent-change):
67 Use buffer-chars-modified-tick.
68
c93f3f5c
SM
69 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
70
0ade65b5
SM
71 * electric.el (electric-indent-post-self-insert-function):
72 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
73
ef9dd188
HE
742013-11-04 Helmut Eller <eller.helmut@gmail.com>
75
76 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
77
306e7308
NT
782013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
79
80 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
81 (bug#15786).
82
e5afbcac
SM
832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
84
1d01ad41
SM
85 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
86
e5afbcac
SM
87 * progmodes/python.el: Fix up last change.
88 (python-shell--save-temp-file): New function.
89 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
90 `string' comes from the current buffer.
91 (python-shell-send-string-no-output): Remove `msg' arg.
92 (python--use-fake-loc): New var.
93 (python-shell-buffer-substring): Obey it. Try to compensate for the
94 extra coding line added by python-shell--save-temp-file.
95 (python-shell-send-region): Use python-shell--save-temp-file and
96 python-shell-send-file directly. Add `nomain' argument.
97 (python-shell-send-buffer): Use python-shell-send-region.
98 (python-electric-pair-string-delimiter): New function.
99 (python-mode): Use it.
100
d0065ff1
EZ
1012013-11-04 Eli Zaretskii <eliz@gnu.org>
102
103 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
104 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
105 environment and decoding all of the default-directory's to here
106 from command-line.
107 (command-line): Decode also argv[0].
108
109 * loadup.el: Error out if default-directory is a multibyte string
110 when we are dumping.
111
112 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
113
7397c587
TZ
1142013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
115
116 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
117 (package-menu--print-info, package-menu--archive-predicate):
118 Add Archive column to package list.
7397c587 119
b27cc9fc
MA
1202013-11-04 Michael Albinus <michael.albinus@gmx.de>
121
122 Fix problems found while writing a test suite.
123
124 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
125 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
126 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
127 to nil when running original file name handler. Otherwise,
128 there are problems with constructs like "$$FOO".
129
130 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
131 for `localname'.
132
d8c4f18a
BB
1332013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
134
7b530552
BB
135 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
136
137 * subr.el (version<, version<=, version=):
138 Update docstrings with information for snapshot versions.
139
d8c4f18a
BB
140 * helpers.el: New library for misc helper functions.
141 (hash-table-keys): New function returning a list of hash keys.
142 (hash-table-values): New function returning a list of hash values.
143
dca01b09
DG
1442013-11-04 Dmitry Gutov <dgutov@yandex.ru>
145
146 * progmodes/ruby-mode.el (ruby-smie--forward-token)
147 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
148
0a749fa0
MN
1492013-11-04 Michal Nazarewicz <mina86@mina86.com>
150
151 * textmodes/fill.el (fill-single-char-nobreak-p): New function
152 checking whether point is after a 1-letter word.
153
1542013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
155
156 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
157 Don't infloop when expanding region over `multiline' syntax-type that
158 begins a line (bug#15778).
159
4aca7145
SM
1602013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
163 Make it into a proper minor mode.
164 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
165 (rectangle-mark-mode-map): New keymap.
166 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
167
a0833f62
GM
1682013-11-04 Glenn Morris <rgm@gnu.org>
169
170 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
171
e61845c1
SM
1722013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
175 (ruby-smie-rules): Use smie-rule-parent instead.
176
177 * emacs-lisp/smie.el (smie-rule-parent): Always call
178 smie-indent-virtual rather than only for hanging tokens.
179 (smie--next-indent-change): New helper command.
180
62942f89
GM
1812013-11-03 Glenn Morris <rgm@gnu.org>
182
183 * Makefile.in (abs_srcdir): Remove.
184 (emacs): Unset EMACSLOADPATH.
185
b0b9e592
GM
1862013-11-02 Glenn Morris <rgm@gnu.org>
187
18ba6a33 188 * Makefile.in (EMACS): Use a relative filename.
8061810d 189 (abs_top_builddir): Remove.
18ba6a33
GM
190 (custom-deps, finder-data, autoloads): Use --chdir.
191
6a8b929e
GM
192 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
193
c617f3d0
GM
194 Use relative filenames in TAGS files.
195 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
196 (lisptagsfiles4, TAGS): Use relative file names.
197 (TAGS-LISP): Remove.
198 (maintainer-clean): No more TAGS-LISP file.
199
b0b9e592
GM
200 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
201 (lisptagsfiles4): Use absolute filenames again.
202 (TAGS, TAGS-LISP): Not everything needs to run in one line.
203 Remove all *loaddefs files, not just the first. Remove esh-groups.
204 (maintainer-clean): Delete TAGS, TAGS-LISP.
205
d1c0ea6a
BB
2062013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
207
e61845c1
SM
208 * emacs-lisp/package.el (package-version-join):
209 Recognize snapshot versions.
d1c0ea6a 210
684d71c6
BB
2112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
212
213 * subr.el (version-regexp-alist): Add support for snapshot versions.
214
3d42b968
DG
2152013-11-02 Dmitry Gutov <dgutov@yandex.ru>
216
e61845c1
SM
217 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
218 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
219 skip over our direct parent if it's an assignment token..
220 (ruby-smie-rules): Use it.
221
7ffd3721
DG
2222013-11-02 Dmitry Gutov <dgutov@yandex.ru>
223
224 * progmodes/ruby-mode.el Use `syntax-propertize-function'
225 unconditionally. Remove now unnecessary forward declarations.
226 Remove XEmacs-specific setup.
227 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
228 (ruby-font-lock-syntactic-keywords)
229 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
230 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
231 (ruby-here-doc-end-syntax): Remove.
232 (ruby-mode): Don't check whether `syntax-propertize-rules' is
233 defined as function.
234
a3996a2e
BB
2352013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
236
237 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
238
6f9260e8
BB
2392013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
240
241 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
242 table and abbrev table, `define-derived-mode' does that for us
243 anyway.
244
6014de84
GM
2452013-11-01 Glenn Morris <rgm@gnu.org>
246
247 * Makefile.in: Remove manual mh-e dependencies (writing .elc
248 files is atomic for some time, so no parallel compilation issues).
249
3c334c14
JD
2502013-11-01 Jan Djärv <jan.h.d@swipnet.se>
251
252 * faces.el (face-x-resources): Add :distant-foreground.
253 (region): Use :distant-foreground for gtk and ns.
254
9bc236c8
TH
2552013-11-01 Tassilo Horn <tsdh@gnu.org>
256
5246583b 257 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
258 BibTeX.
259 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
260 (reftex-locate-bibliography-files): Us it.
261
d14c81ee
CB
2622013-11-01 Claudio Bley <claudio.bley@googlemail.com>
263
0e7690de
CB
264 * image.el (image-type-header-regexps): Fix the 'pbm' part to
265 allow comments in pbm files.
266
d14c81ee
CB
267 * term/w32-win.el (dynamic-library-alist): Support newer versions
268 of libjpeg starting with v7: look only for the DLL from the
269 version against which Emacs was built.
ac1bf374 270 Support versions of libpng beyond 1.4.x.
019c8218 271 Support libtiff v4.x.
d14c81ee 272
983d0df5
BB
2732013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
274
275 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
276 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
277 Add property :safe.
278 (ruby-deep-arglist): Add property :type.
279
47f58d85
GM
2802013-10-31 Glenn Morris <rgm@gnu.org>
281
282 * Makefile.in (custom-deps, finder-data): No need to setq the target
283 variables, we are in the right directory and the defaults work fine.
284
4f85b479
GM
2852013-10-30 Glenn Morris <rgm@gnu.org>
286
ca7dd4cd
GM
287 * Makefile.in (autoloads): Do not use abs_lisp.
288
4f85b479
GM
289 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
290 `newline' does not respect `standard-output', so use `princ'.
291
cf59e41c
AA
2922013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
293
294 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
295 * buff-menu.el (Buffer-menu--unmark): New function.
296 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
297
74cf04fb
GM
2982013-10-30 Glenn Morris <rgm@gnu.org>
299
b040b60e
GM
300 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
301
f53d3815
GM
302 * emacs-lisp/package.el (lm-homepage): Declare.
303
5413d873
GM
304 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
305 Fix doc typos.
306
cecedb36
GM
307 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
308
74cf04fb
GM
309 * Makefile.in (finder-data, autoloads, update-subdirs)
310 (compile-main, compile-clean, compile-always, bootstrap-clean):
311 Check return value of cd.
312 (compile-calc): Remove.
313
195ee2f0
SM
3142013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
315
ae4002ce
SM
316 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
317
318 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
319 (byte-compile-and-folded): New function.
320 (=, <, >, <=, >=): Use it.
321
322 * dos-w32.el (minibuffer-history-case-insensitive-variables)
323 (path-separator, null-device, buffer-file-coding-system)
324 (lpr-headers-switches): Check system-type before modifying them.
325 (find-buffer-file-type-coding-system): Mark obsolete.
326 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
327 find-file-not-found-set-buffer-file-coding-system.
328 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
329 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
330 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
331 (w32-direct-print-region-helper, w32-direct-print-region-function)
332 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
333 * startup.el (normal-top-level-add-subdirs-to-load-path):
334 * ps-print.el (ps-print-region-function):
335 * lpr.el (print-region-function): Use new name.
336
53b39e89
SM
337 * subr.el (custom-declare-variable-early): Remove function.
338 (custom-declare-variable-list): Remove var.
339 (error, user-error): Remove `while' loop.
340 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
341 (user-emacs-directory-warning, locate-user-emacs-file):
342 Move to files.el.
343 * simple.el (read-quoted-char-radix, read-quoted-char):
344 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
345 Move from subr.el.
346 * custom.el (custom-declare-variable-list): Don't process
347 custom-declare-variable-list.
348
195ee2f0
SM
349 * progmodes/python.el (python-shell-get-buffer): New function.
350 (python-shell-get-process): Use it.
351 (python-shell-send-string): Always use utf-8 and add a cookie to tell
352 Python which encoding was used. Don't split-string since we only care
353 about the first line. Return the temp-file, if applicable.
354 (python-shell-send-region): Tell compile.el how to turn locations in
355 the temp-file into locations in the source buffer.
356
7e3561ee
SM
3572013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
358
4c9797cb
SM
359 * subr.el (undefined): Add missing behavior from the C code for
360 unbound keys.
361
3472b6c6
SM
362 * rect.el: Use lexical-binding. Add new rectangular region support.
363 (rectangle-mark): New command.
364 (rectangle--region): New var.
365 (deactivate-mark-hook): Reset rectangle--region.
366 (rectangle--extract-region, rectangle--insert-for-yank)
367 (rectangle--highlight-for-redisplay)
368 (rectangle--unhighlight-for-redisplay): New functions.
369 (region-extract-function, redisplay-unhighlight-region-function)
370 (redisplay-highlight-region-function): Use them to handle
371 rectangular region.
372 * simple.el (region-extract-function): New var.
373 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
374 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
375 (kill-region): Replace obsolete `yank-handler' arg with `region'.
376 (copy-region-as-kill, kill-ring-save): Add `region' argument.
377 (redisplay-unhighlight-region-function)
378 (redisplay-highlight-region-function): New vars.
379 (redisplay--update-region-highlight): New function.
380 (pre-redisplay-function): Use it.
381 (exchange-point-and-mark): Don't deactivate the mark before
382 reactivate-it anyway.
383 * comint.el (comint-kill-region): Remove yank-handler argument.
384 * delsel.el (delete-backward-char, backward-delete-char-untabify)
385 (delete-char): Remove property, since it's now part of their
386 default behavior.
387 (self-insert-iso): Remove property since this command doesn't exist.
388
7e3561ee
SM
389 * emacs-lisp/package.el (package--download-one-archive)
390 (describe-package-1): Don't query the user about final newline.
391
b9bef71f
DC
3922013-10-29 Daniel Colascione <dancol@dancol.org>
393
394 * net/tramp.el (tramp-methods): Document new functionality.
395 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
396 tramp-hostname-checker if method provides one instead of scanning
397 argument list for "%h" to decide hostname acceptability.
398
4efc33f0
MA
3992013-10-28 Michael Albinus <michael.albinus@gmx.de>
400
401 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
402 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
403 Handle COPY-CONTENTS. (Bug#15737)
404
ed42a877
DU
4052013-10-28 Daiki Ueno <ueno@gnu.org>
406
407 * epa-file.el
7e3561ee
SM
408 (epa-file-cache-passphrase-for-symmetric-encryption):
409 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 410
18c9f8a2
XF
4112013-10-27 Xue Fuqiao <xfq.free@gmail.com>
412
7a4bc7be
XF
413 * image.el (defimage):
414 (image-load-path): Doc fixes.
18c9f8a2 415
b1e8e010
AM
4162013-10-27 Alan Mackenzie <acm@muc.de>
417
418 Indent statements in macros following "##" correctly.
7e3561ee
SM
419 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
420 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 421
73d40d1e 4222013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
423
424 * linum.el (linum-update-window): Fix boundary test (bug#13446).
425
c8c605ac
DG
4262013-10-27 Dmitry Gutov <dgutov@yandex.ru>
427
428 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
429 after `=' is probably a new expression.
430
ca7e59d4
RS
4312013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
432
433 * man.el (man-imenu-title): New option.
434 (Man-mode-map): Add menu. (Bug#15722)
435 (Man-mode): Add imenu to menu.
436
bae91342
DG
4372013-10-26 Dmitry Gutov <dgutov@yandex.ru>
438
439 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
440 specific in what the first arg can be: a non-keyword word,
441 string/regexp/percent literal opener, opening paren, or unary
442 operator followed directly by word.
443
eb89dc14
SM
4442013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
445
446 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
447 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
448 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
449 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
450 Remove vars, they do not apply any more.
451 (prolog-mode-abbrev-table): Remove redundant declaration.
452 (prolog-upper-case-string, prolog-lower-case-string): Remove.
453 (prolog-use-smie): Remove.
454 (prolog-smie-rules): Add indentation rule for the if-then-else layout
455 supported by prolog-electric-if-then-else-flag.
456 (prolog-mode-variables, prolog-menu): Use setq-local.
457 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
458 Remove binding to `Backspace' since this key doesn't exist anyway.
459 Remove bindings for electric self-inserting keys.
460 (prog-mode): Assume it's defined.
461 (prolog-post-self-insert): New function.
462 (prolog-mode): Use it.
463 (prolog-indent-line, prolog-indent-level)
464 (prolog-find-indent-of-matching-paren)
465 (prolog-indentation-level-of-line, prolog-goto-comment-column)
466 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
467 (prolog-goto-next-paren, prolog-in-string-or-comment)
468 (prolog-tokenize, prolog-inside-mline-comment)
469 (prolog-find-start-of-mline-comment): Remove functions.
470 (prolog-find-unmatched-paren, prolog-clause-end)
471 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
472 (prolog-electric--if-then-else): Rename from
473 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
474 (prolog-tokenize-searchkey): Remove const.
475 (prolog-clause-info): Use forward-sexp.
476 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
477 (prolog-electric-if-then-else): Remove commands.
478 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
479 for use in post-self-insert-hook.
480 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
481 for use in post-self-insert-hook.
482 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
483 for use in post-self-insert-hook.
484 (prolog-electric--underscore): Rename from prolog-electric--underscore;
485 adapt it for use in post-self-insert-hook.
486
3dab0a83
MA
4872013-10-25 Michael Albinus <michael.albinus@gmx.de>
488
489 * emacs-lisp/ert.el (ert-run-tests-interactively):
490 Use `completing-read'. (Bug#9756)
491
fbfd0e1d
EZ
4922013-10-25 Eli Zaretskii <eliz@gnu.org>
493
494 * simple.el (line-move): Call line-move-1 instead of
495 line-move-visual when the current window hscroll is zero, but
496 temporary-goal-column indicates we will need to hscroll as result
497 of the movement. (Bug#15712)
498
963ce636
DG
4992013-10-25 Dmitry Gutov <dgutov@yandex.ru>
500
501 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
502 capitalization. Use :visible instead of :active.
503 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
504 commands that are used with SMIE.
505 (ruby-do-end-to-brace): Insert space after `{'.
506
a0be396a
JA
5072013-10-25 John Anthony <john@jo.hnanthony.com>
508
f73754c9
JA
509 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
510
511 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 512
f5bf77df
GM
5132013-10-25 Glenn Morris <rgm@gnu.org>
514
515 * vc/vc.el (vc-print-log): Don't use a working revision unless
516 one was explicitly specified. (Bug#15322)
517
37241f62
SM
5182013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * subr.el (add-to-list): Preserve return value in compiler-macro
521 (bug#15692).
522
6408a65d
RS
5232013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
524
525 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
526 result. Ask user to retry using '-all' flag. (Bug#15701)
527
71e3276b
SM
5282013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * emacs-lisp/smie.el: New smie-config system.
531 (smie-config): New defcustom.
532 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
533 (smie-config-guess, smie-config-save): New commands.
534 (smie-config--mode-local, smie-config--buffer-local)
535 (smie-config--trace, smie-config--modefuns): New vars.
536 (smie-config--advice, smie-config--mode-hook)
537 (smie-config--setter, smie-config-local, smie-config--get-trace)
538 (smie-config--guess-value, smie-config--guess): New functions.
539 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
540 text properties. Treat "string fence" syntax like string syntax.
541
542 * progmodes/sh-script.el (sh-use-smie): Change default.
543 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
544 (sh-var-value): Simplify by CSE.
545 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
546 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
547 is used.
548 (sh-guess-basic-offset): Use cl-incf.
549 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
550
60db713e
HE
5512013-10-24 Helmut Eller <eller.helmut@gmail.com>
552
553 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
554 (bug#15699).
555
8b251df6
GM
5562013-10-24 Glenn Morris <rgm@gnu.org>
557
558 * Makefile.in (abs_top_srcdir): Remove.
559 (update-subdirs): Use relative path to update-subdirs.
560
6be0e22b
EZ
5612013-10-24 Eli Zaretskii <eliz@gnu.org>
562
563 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
564 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
565 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
566 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 567
50b5b857
MA
5682013-10-24 Michael Albinus <michael.albinus@gmx.de>
569
570 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
571 (ert-test-skipped): New error.
572 (ert-skip, ert-stats-skipped): New defuns.
573 (ert--skip-unless): New macro.
574 (ert-test-skipped): New struct.
575 (ert--run-test-debugger, ert-test-result-type-p)
576 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
577 (ert--stats-set-test-and-result, ert-char-for-test-result)
578 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 579 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 580 Handle skipped tests. (Bug#9803)
50b5b857 581
6f317c2f
GM
5822013-10-24 Glenn Morris <rgm@gnu.org>
583
e43817c1
GM
584 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
585
6f317c2f
GM
586 * Makefile.in (abs_top_srcdir): New, set by configure.
587 (update-subdirs): Correct build-aux location.
588
369bbf71
DG
5892013-10-24 Dmitry Gutov <dgutov@yandex.ru>
590
8297b2cf
DG
591 * vc/vc.el (vc-print-root-log): Always set `default-directory'
592 value, whether we could auto-deduce `backend', or not.
593
369bbf71
DG
594 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
595 with parameters" example. Simplify the "is it block or is it
596 hash" check, but also make it more thorough.
597
d5f1282f
MF
5982013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
599
600 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
601
bc4aaa31
SM
6022013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
603
03d44565
SM
604 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
605 { if it is hanging.
606
bc4aaa31
SM
607 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
608 :before ";".
609
f493ff19
JB
6102013-10-23 Jed Brown <jed@59A2.org> (tiny change)
611
612 * progmodes/compile.el (compilation-directory-matcher)
613 (compilation-page-delimiter):
614 Support GNU Make-4.0 directory quoting. (Bug#15678)
615
c744a3b9
LL
6162013-10-23 Leo Liu <sdl.web@gmail.com>
617
618 * ido.el (ido-tidy): Handle read-only text.
619
b8e3b0a9
GM
6202013-10-23 Glenn Morris <rgm@gnu.org>
621
622 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
623 (emacs, compile, compile-always):
624 Quote entities that might contain whitespace.
625 (custom-deps, finder-data, autoloads): Use abs_lisp.
626 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
627 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
628 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
629
ee4282cd
DG
6302013-10-23 Dmitry Gutov <dgutov@yandex.ru>
631
bc4aaa31
SM
632 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
633 Use `following-char'.
7790a270 634
ee4282cd 6352013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
636
637 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
638 * progmodes/ruby-mode.el (ruby-smie-rules):
639 Remove corresponding workaround. Fix indentation rule of ";" so it
640 also applies when ";" is the parent.
641
d40a46d7
XF
6422013-10-22 Xue Fuqiao <xfq.free@gmail.com>
643
644 * frame.el (display-screens, display-pixel-height)
645 (display-pixel-width, display-mm-width, display-backing-store)
646 (display-save-under, display-planes, display-color-cells)
7790a270
SM
647 (display-visual-class, display-monitor-attributes-list):
648 Mention the optional ‘display’ argument in doc strings.
d40a46d7 649
a0f143c9
MG
6502013-10-22 Michael Gauland <mikelygee@amuri.net>
651
652 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
653 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
654
18cacc39
DG
6552013-10-21 Dmitry Gutov <dgutov@yandex.ru>
656
657 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
658 TODO. Add "." after " @ ".
659 (ruby-smie--at-dot-call): New function. Checks if point at method
660 call with explicit target.
661 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
662 to the method name tokens when it precedes them.
663 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
664 (ruby-smie-rules): Add rule for indentation before and after "."
665 token.
666
df74c4be
SM
6672013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
668
c6dab55f
SM
669 * textmodes/remember.el (remember-diary-extract-entries):
670 Avoid add-to-list.
671
df74c4be
SM
672 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
673 an instruction.
674
8c1ae481
DG
6752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
676
cfef16c0
DG
677 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
678 (ruby-smie--implicit-semi-p): Add new operator chars.
679
8c1ae481
DG
680 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
681 `smie-down-list'.
682 (ruby-smie--args-separator-p): Check that there's no newline
683 between method call and its arguments.
684
87756ca9
AM
6852013-10-20 Alan Mackenzie <acm@muc.de>
686
687 Allow comma separated lists after Java "implements".
688
df74c4be
SM
689 * progmodes/cc-engine.el (c-backward-over-enum-header):
690 Parse commas.
87756ca9
AM
691 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
692 from a "disallowed" list in enum fontification.
693
c25f8957
JB
6942013-10-20 Johan Bockgård <bojohan@gnu.org>
695
df74c4be 696 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 697
c25f8957
JB
698 * progmodes/verilog-mode.el (verilog-mode): Don't set
699 comment-indent-function globally.
700
aca5fcdc
JD
7012013-10-20 Jan Djärv <jan.h.d@swipnet.se>
702
5f161884
JD
703 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
704 Move Info menu item creation to ns-win.el.
705
706 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
707 in menu bar.
708
aca5fcdc
JD
709 * menu-bar.el: Move GNUStep specific menus...
710
711 * term/ns-win.el (ns-initialize-window-system): ... to here.
712
914b7f98
SM
7132013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * simple.el (newline): Only run post-self-insert-hook when
716 called interactively.
717
846ffe77
JB
7182013-10-19 Johan Bockgård <bojohan@gnu.org>
719
720 * icomplete.el (icomplete-with-completion-tables): Add :version.
721
033f22dd
AM
7222013-10-19 Alan Mackenzie <acm@muc.de>
723
724 Fix fontification bugs with constructors and const.
725
726 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
727 CASE 2) Remove the check for the absence of a suffix construct
728 after a function declaration with only types (no identifiers) in
729 the parentheses. Also, accept a function declaration with just a
730 type inside the parentheses, if this type can be positively
731 recognised as such, or if a prefix keyword like "explicit" nails
732 down the construct as a declaration.
733
58ce0cfc
EZ
7342013-10-19 Eli Zaretskii <eliz@gnu.org>
735
736 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
737 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
738 the problem whereby selecting a menu item that leads to a
739 minibuffer prompt moves the cursor out of the minibuffer window,
740 making it hard to type at the prompt. Suggested by Stefan Monnier
741 <monnier@iro.umontreal.ca>.
742
50e28e7d
JD
7432013-10-19 Jan Djärv <jan.h.d@swipnet.se>
744
745 * menu-bar.el: Don't make Services menu.
746
7deed4bf
RS
7472013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
748
749 * ffap.el: Handle "/usr/include/c++/<version>" directories.
750 (ffap-alist): Use ffap-c++-mode for c++-mode.
751 (ffap-c++-path): New variable.
752 (ffap-c++-mode): New function.
753
7bcb455b
JVJ
7542013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
755
756 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
757
f0ff1cd5
MA
7582013-10-18 Michael Albinus <michael.albinus@gmx.de>
759
760 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
761 introduced on 2013-09-08, which results in an infinite loop
762 requesting a password.
763
d64da4b7
GM
7642013-10-18 Glenn Morris <rgm@gnu.org>
765
766 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
767
ea89ff08
WS
7682013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
769
770 Sync with upstream verilog-mode revision 1a6ecec7.
771 * progmodes/verilog-mode.el (verilog-mode-version): Update.
772 (verilog-mode-release-date): Remove.
773 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
774 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
775 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
776 (verilog-auto-tieoff-ignore-regexp)
777 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
778 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
779 (verilog-signals-with, verilog-dir-cache-preserving)
780 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
781 Doc fixes.
782 (verilog-case-fold): New option, to control case folding in
783 regexp searches, bug597.
784 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
785 (verilog-string-match-fold, verilog-in-paren-count)
786 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
787 (verilog-at-close-struct-p): New functions.
788 (verilog-beg-block-re-ordered, verilog-extended-case-re)
789 (verilog-forward-sexp, verilog-set-auto-endcomments):
790 (verilog-leap-to-case-head): Handle "unique0" case.
791 (verilog-in-constraint-re): New constant.
792 (verilog-keywords, verilog-type-font-keywords):
793 Add some SystemVerilog 1800-2012 keywords.
794 (verilog-label-be): Remove unimplemented argument, bug669.
795 (verilog-batch-execute-func): When batch expanding clear
796 create-lockfiles to prevent spurious user locks when a file ends
797 up not changing.
798 (verilog-calculate-indent, verilog-calc-1)
799 (verilog-at-close-constraint-p, verilog-at-constraint-p)
800 (verilog-do-indent): Fix indentation of nested constraints
801 and structures.
802 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
803 (verilog-auto-inst-param): Use verilog-string-match-fold.
804 (verilog-read-inst-module-matcher):
805 Fix AUTOINST on gate primitives with #1.
806 (verilog-read-decls): Fix double-declaring user-defined typed signals.
807 Reads all user-defined typed variables.
808 (verilog-read-defines): Fix reading definitions inside comments, bug647.
809 (verilog-signals-matching-regexp)
810 (verilog-signals-not-matching-regexp, verilog-auto):
811 Respect verilog-case-fold.
812 (verilog-diff-report): Fix line count.
813 (verilog-auto-assign-modport): Remove unused local `modi'.
814 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
815 better handle multidimensional arrays.
816 Fix packed array ports misadding bit index in AUTOINST, bug637.
817 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
818 to not double-declare existing outputs and inputs, respectively.
819 (verilog-template-map): Bind U to verilog-sk-uvm-component.
820 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
821 (verilog-sk-uvm-component): New skeleton.
822 (verilog-submit-bug-report): Add verilog-case-fold,
823 remove verilog-mode-release-date.
824
ef566920
BR
8252013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
826
827 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
828 as before.
829
29df8a0b
RT
8302013-10-18 Reuben Thomas <rrt@sc3d.org>
831
832 * textmodes/remember.el (remember): set buffer-offer-save in
833 remember buffers (bug#13566).
834
04a19a79
DC
8352013-10-18 Daniel Colascione <dancol@dancol.org>
836
837 When evaluating forms in ielm, direct standard output to ielm
838 buffer. Add new ielm-return-for-effect command. Remove trailing
839 whitespace throughout.
840
841 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
842 (ielm-return-for-effect): New command.
843 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
844 (ielm-eval-input): Accept optional `for-effect' parameter.
845 Bind `standard-output' to stream we create using
04a19a79
DC
846 `ielm-standard-output-impl'. Suppress printing result when
847 `for-effect'.
848 (ielm-standard-output-impl): New function.
849 (inferior-emacs-lisp-mode): Explain new features in documentation.
850
4c1f03ef
MA
8512013-10-17 Michael Albinus <michael.albinus@gmx.de>
852
853 Code cleanup.
854
855 * net/tramp.el (tramp-debug-message): Do not check for connection
856 buffer.
857 (tramp-message): Use "vector" connection property.
858
859 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
860 (tramp-equal-remote, tramp-eshell-directory-change)
861 * net/tramp-adb.el (tramp-adb-handle-copy-file)
862 (tramp-adb-handle-rename-file)
863 * net/tramp-cmds.el (tramp-list-remote-buffers)
864 (tramp-cleanup-connection, tramp-cleanup-this-connection)
865 * net/tramp-compat.el (tramp-compat-process-running-p)
866 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
867 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
868 (tramp-gvfs-handle-rename-file)
869 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
870 (tramp-set-file-uid-gid)
871 * net/tramp-smb.el (tramp-smb-handle-copy-file)
872 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
873 of `file-remote-p'.
874
875 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
876 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
877 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
878 (tramp-gw-open-network-stream): Suppress unrelated traces.
879
880 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
881 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
882 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
883 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
884 connection property.
885
886 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 887 persistency file.
4c1f03ef
MA
888
889 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
890 Refactor common code. Improve debug message.
891 (tramp-maybe-open-connection)
892 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
893 connection buffer too early.
894
895 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
896 from `tramp-smb-actions-with-acl'.
897 (tramp-smb-actions-set-acl): New defconst.
898 (tramp-smb-handle-copy-directory)
899 (tramp-smb-action-get-acl): New defun, renamed from
900 `tramp-smb-action-with-acl'.
901 (tramp-smb-action-set-acl): New defun.
902 (tramp-smb-handle-set-file-acl): Rewrite.
903
642eb8b6
GM
9042013-10-17 Glenn Morris <rgm@gnu.org>
905
906 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
907
85527ff3
SM
9082013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
909
921c1d62
SM
910 * skeleton.el (skeleton-newline): Remove.
911 (skeleton-internal-1): Use (insert "\n") instead.
912
e333fb10
SM
913 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
914 let-bindings.
915
85527ff3
SM
916 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
917 forward-sexp-function while we redo its job (bug#15613).
918
c8722a97
JB
9192013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
920
921 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
922 represented by lists.
923
7a550bbb
GM
9242013-10-16 Glenn Morris <rgm@gnu.org>
925
926 * tmm.el (tmm--history): New dynamic variable.
927 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
928
f19da8ad
MA
9292013-10-16 Michael Albinus <michael.albinus@gmx.de>
930
931 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
932 (tramp-smb-errors): Add error messages.
933 (tramp-smb-actions-with-acl): New defconst.
934 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
935 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
936 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
937 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
938 (tramp-smb-get-stat-capability): Fix tests.
939
a24b9961
DK
9402013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
941
942 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
943 (bug#15580).
944
62ad85e6
GM
9452013-10-16 Glenn Morris <rgm@gnu.org>
946
0283d6b0
GM
947 * ansi-color.el (ansi-color-drop-regexp):
948 Add 1J, 1K, 2K. (Bug#15617)
949
012e2f9f
GM
950 * files.el (hack-local-variables--warned-lexical): New.
951 (hack-local-variables):
952 Warn about misplaced lexical-binding. (Bug#15616)
953
62ad85e6
GM
954 * net/eww.el (eww-render): Always set eww-current-url,
955 and update header line. (Bug#15622)
956 (eww-display-html): ... Rather than just doing it here.
957
6456c0ea
EZ
9582013-10-15 Eli Zaretskii <eliz@gnu.org>
959
960 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
961 menu navigations commands.
962
c2de5588
DK
9632013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
964
965 * progmodes/subword.el (subword-capitalize): Be careful when
966 the search for [[:alpha:]] fails (bug#15580).
967
ccd4a783
EZ
9682013-10-14 Eli Zaretskii <eliz@gnu.org>
969
970 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
971 to commands that scroll the menu.
972
1eda1d8d
DG
9732013-10-14 Dmitry Gutov <dgutov@yandex.ru>
974
c2de5588
DK
975 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
976 Handle methods ending with `?' and `!'.
1eda1d8d 977
e70181b8
AM
9782013-10-14 Akinori MUSHA <knu@iDaemons.org>
979
980 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
981 `japanese-cp932' to `cp932' to fix the problem where saving a
982 source file written in Shift_JIS twice would end up having
983 `coding: japanese-cp932' which Ruby could not recognize.
984 (ruby-mode-set-encoding): Add support for encodings mapped to nil
985 in `ruby-encoding-map'.
986 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
987 doesn't need to be explicitly declared in magic comment.
988 (ruby-encoding-map): Add type declaration for better customize UI.
989
9148ee92
GM
9902013-10-13 Glenn Morris <rgm@gnu.org>
991
a5d38e34
GM
992 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
993 Occur buffers are read-only. http://bugs.debian.org/720775
994
9148ee92
GM
995 * emacs-lisp/authors.el (authors-fixed-entries):
996 Comment out old alpha stuff.
997
a9ba094b
DG
9982013-10-13 Dmitry Gutov <dgutov@yandex.ru>
999
1000 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1001 to `after-save-hook' instead of `before-save-hook'.
1002 (ruby-mode-set-encoding): Use the value of coding system used to
1003 write the file. Call `basic-save-buffer-1' after modifying the
1004 buffer.
1005
7a068717
AM
10062013-10-13 Alan Mackenzie <acm@muc.de>
1007
1008 Fix indentation/fontification of Java enum with
1009 "implements"/generic.
1010
c2de5588
DK
1011 * progmodes/cc-engine.el (c-backward-over-enum-header):
1012 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1013 (c-inside-bracelist-p): Uses new function above.
1014 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1015 function above.
1016 (c-font-lock-enum-tail): Uses new function above.
1017
85b64f02
KH
10182013-10-13 Kenichi Handa <handa@gnu.org>
1019
1020 * international/mule-cmds.el (select-safe-coding-system): Remove a
1021 superfluous condition in chekcing whether a coding system is safe
1022 or not.
1023
fc7f501b
OK
10242013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1025
1026 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1027
fdcb2049
AP
10282013-10-13 Andreas Politz <politza@hochschule-trier.de>
1029
1030 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1031
8c106d17
GM
10322013-10-13 Glenn Morris <rgm@gnu.org>
1033
feab892d
GM
1034 * menu-bar.el (menu-bar-update-buffers):
1035 Unify Buffers menu prompt string. (Bug#15576)
1036
b22d0686
GM
1037 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1038
8c106d17
GM
1039 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1040 Add some entries.
1041 (authors-fixed-entries): Use accented form of name.
1042
1b12c797
SM
10432013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1044
650fa7bf 1045 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1046 method calls (bug#15594).
650fa7bf
SM
1047 (ruby-smie--args-separator-p): New function.
1048 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1049 recognize paren-free method calls.
1050
1b12c797
SM
1051 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1052 internals of universal-argument.
1053
029619c8
EZ
10542013-10-11 Eli Zaretskii <eliz@gnu.org>
1055
1056 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1057 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1058 dropped menu on second mouse click on the menu bar.
029619c8 1059
dd070019
SM
10602013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1063 (explicit-shell-file-name): Declare.
1064 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1065 (sh-completion-at-point-function): New function.
1066 (sh-mode): Use it.
1067 (sh-smie--keyword-p): Remove unused argument.
1068 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1069 vars.
1070 (sh-set-shell): Always setup SMIE, even if we use the
1071 old indentation code.
1072
0922b826
DG
10732013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1074
b68e2926
DG
1075 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1076 cases of ? and =.
1077 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1078 predicate would return nil are almost non-existent.
1079 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1080
0922b826
DG
1081 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1082 cache also after commands that modify the buffer but don't move
1083 point.
1084
ee041f2d
SM
10852013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * env.el (substitute-env-in-file-name): New function.
1088 (substitute-env-vars): Extend the meaning of the optional arg.
1089
a5dab159
EZ
10902013-10-10 Eli Zaretskii <eliz@gnu.org>
1091
1092 * term/w32-win.el (dynamic-library-alist): Define separate lists
1093 of GIF DLLs for versions before and after 5.0.0 of giflib.
1094 (Bug#15531)
1095
db138698
JT
10962013-10-10 João Távora <joaotavora@gmail.com>
1097
1098 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1099 not locked, use last revision and current source as
1100 defaults. (Bug#15569)
1101
2f6e161e
MY
11022013-10-10 Masatake YAMATO <yamato@redhat.com>
1103
1104 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1105 menu-bar is hidden.
1106
6c8413fc
MR
11072013-10-10 Martin Rudalics <rudalics@gmx.at>
1108
1109 * window.el (pop-to-buffer-same-window): Fix doc-string.
1110 (Bug#15492)
1111
20832de0
SM
11122013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1115
c6e8ae77
AC
11162013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1117
1118 * calendar/icalendar.el (icalendar-import-file):
1119 Fix interactive spec. (Bug#15482)
1120
9db13baf
GM
11212013-10-10 Glenn Morris <rgm@gnu.org>
1122
9271e90e
GM
1123 * desktop.el (desktop-save): Default to saving in .emacs.d,
1124 since PWD is no longer in desktop-path by default. (Bug#15319)
1125
9db13baf
GM
1126 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1127 now that text mode has a menu with the same entry.
1128 (menu-bar-text-mode-auto-fill): Remove now unused func.
1129 * textmodes/text-mode.el (text-mode-map):
1130 Use auto-fill help text from menu-bar.el.
1131
a0be396a 11322013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1133
1134 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1135
2edcd3c7
JL
11362013-10-09 Juri Linkov <juri@jurta.org>
1137
1138 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1139 instead of this-command-keys. Add universal-argument-more and
1140 universal-argument-minus to the list of prefix commands. (Bug#15568)
1141
574411d0
GM
11422013-10-09 Glenn Morris <rgm@gnu.org>
1143
14afa541
GM
1144 * vc/vc-svn.el (vc-svn-create-repo):
1145 Expand paths in file://... url. (Bug#15446)
1146
574411d0
GM
1147 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1148 Add some entries.
1149 (authors): Remove unused local variables.
1150
79804536
SM
11512013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * profiler.el: Create a more coherent calltree from partial backtraces.
1154 (profiler-format): Hide the tail with `invisible' so that C-s can still
1155 find the hidden elements.
1156 (profiler-calltree-depth): Don't recurse so enthusiastically.
1157 (profiler-function-equal): New hash-table-test.
1158 (profiler-calltree-build-unified): New function.
1159 (profiler-calltree-build): Use it.
1160 (profiler-report-make-name-part): Indent the calltree less.
1161 (profiler-report-mode): Add visibility specs for profiler-format.
1162 (profiler-report-expand-entry, profiler-report-toggle-entry):
1163 Expand the whole subtree when provided with a prefix arg.
1164
238150c8
DG
11652013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1166
1167 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1168 iuwu-mod token.
1169 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1170 hanging iuwu-mod token.
1171 (ruby-smie--forward-token): Do not include a dot after a token in
1172 that token.
1173 (ruby-smie--backward-token): Likewise.
1174
b0949cc4
JL
11752013-10-08 Juri Linkov <juri@jurta.org>
1176
1177 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1178 to isearch-other-control-char.
1179 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1180 and isearch-post-command-hook to post-command-hook.
1181 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1182 and isearch-post-command-hook from post-command-hook.
1183 (isearch-unread-key-sequence)
1184 (isearch-reread-key-sequence-naturally)
1185 (isearch-lookup-scroll-key, isearch-other-control-char)
1186 (isearch-other-meta-char): Remove functions.
1187 (isearch-pre-command-hook, isearch-post-command-hook):
1188 New functions based on isearch-other-meta-char rewritten
1189 relying on the new behavior of overriding-terminal-local-map
1190 that does not replace the local keymaps any more. (Bug#15200)
1191
4ed77415
EZ
11922013-10-08 Eli Zaretskii <eliz@gnu.org>
1193
1194 Support menus on text-mode terminals.
1195 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1196 functionality.
1197
1198 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1199
c2de5588
DK
1200 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1201 Move here from mouse.el.
4ed77415
EZ
1202 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1203 and arrow keys.
1204 (tty-menu-navigation-map): New map for TTY menu navigation.
1205
1206 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1207
1208 * frame.el (display-mouse-p): Report text-mode mouse as available
1209 on w32.
1210 (display-popup-menus-p): Report availability if mouse is
1211 available; don't condition on window-system.
1212
1213 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1214 (tty-menu-selected-face): New faces.
1215
b7d5bd82
TL
12162013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1217
06286513
SM
1218 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1219 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1220 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1221 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1222 New constants.
1223 (lisp-mode-variables): New `elisp' argument.
1224 (emacs-lisp-mode): Use it.
1225 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1226 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1227
b7d5bd82
TL
1228 * indent.el: Use lexical-binding.
1229 (indent-region): Add progress reporter.
1230 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1231 last step.
1232 (indent--next-tab-stop): New function to implement this behavior.
1233 (tab-to-tab-stop, move-to-tab-stop): Use it.
1234
12352013-10-08 Teemu Likonen <tlikonen@iki.fi>
1236
1237 * indent.el (indent-rigidly--current-indentation): New function.
1238 (indent-rigidly-map): New var.
1239 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1240
5ea75d23
BG
12412013-10-08 Bastien Guerry <bzg@gnu.org>
1242
1243 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1244
cc5da1ec
SM
12452013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1246
8ffa1a0b
SM
1247 * progmodes/perl-mode.el: Use lexical-binding.
1248 Remove redundant :group args.
1249 (perl-nochange): Change default to be closer to other major modes's
1250 standard behavior.
1251 (perl-indent-line): Don't consider text on current line as a
1252 valid beginning of function from which to indent.
1253
f2223371
SM
1254 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1255 with more than one argument (bug#15538).
1256
44256060
SM
1257 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1258
cc5da1ec
SM
1259 * vc/pcvs.el: Use lexical-binding.
1260 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1261 environment of `eval'.
1262 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1263 than a list of expressions. Adjust callers.
1264 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1265
0ea1599d
DG
12662013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1267
1268 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1269 case of the dot in a chained method call being on the following line.
0ea1599d 1270
da3e5ebb
SM
12712013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1272
2abb4e65
SM
1273 * electric.el (electric-indent-inhibit): New var.
1274 (electric-indent-post-self-insert-function): Use it.
1275 * progmodes/python.el (python-mode): Set it.
1276
d2e0e795
SM
1277 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1278 open braces.
1279
1280 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1281
bdc6b4c8
SM
1282 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1283 (css-mode): Use electric-indent-chars.
1284
da3e5ebb
SM
1285 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1286 (font-lock-beg, font-lock-end): Move before first use.
1287 (nxml-mode): Use syntax-propertize-function.
1288 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1289 (nxml-extend-after-change-region): Remove.
1290 * nxml/xmltok.el: Use lexical-binding.
1291 (xmltok-save): Use `declare'.
1292 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1293 * nxml/nxml-util.el: Use lexical-binding.
1294 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1295 Use `declare'.
1296 * nxml/nxml-ns.el: Use lexical-binding.
1297 (nxml-ns-save): Use `declare'.
1298 (nxml-ns-prefixes-for): Avoid add-to-list.
1299 * nxml/rng-match.el: Use lexical-binding.
1300 (rng--ipattern): Use cl-defstruct.
1301 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1302 (rng-cons-group-after, rng-subst-group-after)
1303 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1304 Use closures instead of `(lambda...).
1305
f8f91d5d
MA
13062013-10-07 Michael Albinus <michael.albinus@gmx.de>
1307
1308 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1309 of BEG and END.
1310
da3e5ebb
SM
1311 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1312 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1313 (tramp-gvfs-handle-insert-file-contents): Remove function.
1314
da3e5ebb
SM
1315 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1316 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1317
1318 * net/trampver.el: Update release number.
1319
7ccae3b1
SM
13202013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1321
55ca2c0d
SM
1322 * progmodes/compile.el (compilation-parse-errors):
1323 Use compilation--put-prop.
1324 (compilation--ensure-parse): Check compilation-multiline.
1325
731fc3ae
SM
1326 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1327
da3e5ebb
SM
1328 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1329 lexical-binding.
a5833280 1330
2e7ba2c2
SM
1331 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1332
7ccae3b1
SM
1333 * progmodes/ruby-mode.el: Fix recently added tests.
1334 (ruby-smie-grammar): Add - and +.
1335 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1336 (ruby-smie--backward-id): New functions.
1337 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1338 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1339 any more.
1340
85698d63
LL
13412013-10-07 Leo Liu <sdl.web@gmail.com>
1342
1343 * register.el (register-preview-delay)
1344 (register-preview-functions): New variables.
1345 (register-read-with-preview, register-preview)
1346 (register-describe-oneline): New functions.
1347 (point-to-register, window-configuration-to-register)
1348 (frame-configuration-to-register, jump-to-register)
1349 (number-to-register, view-register, insert-register)
1350 (copy-to-register, append-to-register, prepend-to-register)
1351 (copy-rectangle-to-register): Use register-read-with-preview to
1352 read register. (Bug#15525)
1353
3986af6c
DS
13542013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1355
1356 * net/network-stream.el (network-stream-open-starttls): Don't add
1357 --insecure if it's already present, because that gnutls-cli
1358 rejects getting that parameter twice.
1359
5cd9cda9
DG
13602013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1361
1362 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1363 keyword, too.
1364
da9ea6d9
DG
13652013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1366
1367 * newcomment.el (comment-use-global-state): Change default value
1368 to t, mark obsolete (Bug#15251).
1369 (comment-beginning): In addition to `comment-to-syntax', check the
1370 value of `comment-use-global-state'.
1371
34d1a133
SM
13722013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1375 (ruby-comment-column): Follow the global default, by default.
1376 (ruby-smie-grammar): Add assignment syntax.
1377 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1378 open-paren, a comma, or a \.
1379 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1380 and line continuations.
1381 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1382 followed by implicit semi-colons. Add rule for string concatenation
1383 and for indentation at BOB.
1384 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1385
1386 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1387 calling next-sexp, since next-token may have skipped chars which
1388 next-sexp doesn't know should be skipped!
1389
6f6ab820
LL
13902013-10-05 Leo Liu <sdl.web@gmail.com>
1391
34d1a133
SM
1392 * progmodes/octave.el (octave-send-region):
1393 Call compilation-forget-errors.
6f6ab820 1394
34ca0f4c
XF
13952013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1396
1397 * vc/vc-svn.el (vc-svn-find-admin-dir):
1398 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1399 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1400 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1401 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1402
a27c1b72
SM
14032013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1406
258ab3bc
SM
14072013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * subr.el (read-passwd): Hide chars even when called within a context
1410 where after-change-functions is disabled (bug#15501).
1411 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1412 until we removed ourself from overriding-terminal-local-map.
1413
939fb29c
LL
14142013-10-04 Leo Liu <sdl.web@gmail.com>
1415
258ab3bc
SM
1416 * progmodes/octave.el (inferior-octave-mode):
1417 Call compilation-forget-errors.
939fb29c 1418
63bd7f35
XF
14192013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1420
1421 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1422
9e6229fa
MA
14232013-10-04 Michael Albinus <michael.albinus@gmx.de>
1424
1425 * net/secrets.el (secrets-create-collection): Add optional
1426 argument ALIAS. Use proper Label keyword. Append ALIAS as
1427 dbus-call-method argument. (Bug#15516)
1428
1dab32a3
LL
14292013-10-04 Leo Liu <sdl.web@gmail.com>
1430
1431 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1432 (inferior-octave-compilation-font-lock-keywords): New variables.
1433 (compilation-error-regexp-alist)
1434 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1435 (inferior-octave-mode): Use compilation-shell-minor-mode.
1436
6cad7ba3
JS
14372013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1438
1439 * minibuffer.el (completion--replace): Be careful that `end' might be
1440 a marker.
1441
acbadd00
DU
14422013-10-03 Daiki Ueno <ueno@gnu.org>
1443
1444 Add support for package signature checking.
1445 * emacs-lisp/package.el (url-http-file-exists-p)
1446 (epg-make-context, epg-context-set-home-directory)
1447 (epg-verify-string, epg-context-result-for)
1448 (epg-signature-status, epg-signature-to-string)
1449 (epg-check-configuration, epg-configuration)
1450 (epg-import-keys-from-file): Declare.
1451 (package-check-signature): New user option.
1452 (package-unsigned-archives): New user option.
1453 (package-desc): Add `signed' field.
1454 (package-load-descriptor): Set `signed' field if .signed file exists.
1455 (package--archive-file-exists-p): New function.
1456 (package--check-signature): New function.
1457 (package-install-from-archive): Check package signature.
1458 (package--download-one-archive): Check archive signature.
1459 (package-delete): Remove .signed file.
1460 (package-import-keyring): New command.
1461 (package-refresh-contents): Import default keyring.
1462 (package-desc-status): Add "unsigned" status.
1463 (describe-package-1, package-menu--print-info)
1464 (package-menu-mark-delete, package-menu--find-upgrades)
1465 (package-menu--status-predicate): Support "unsigned" status.
1466
adf2aa61
SM
14672013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1470 the new compilation scheme using the new byte-codes.
1471
1472 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1473 (byte-pophandler): New byte codes.
1474 (byte-goto-ops): Adjust accordingly.
1475 (byte-compile--use-old-handlers): New var.
1476 (byte-compile-catch): Use new byte codes depending on
1477 byte-compile--use-old-handlers.
1478 (byte-compile-condition-case--old): Rename from
1479 byte-compile-condition-case.
1480 (byte-compile-condition-case--new): New function.
1481 (byte-compile-condition-case): New function that dispatches depending
1482 on byte-compile--use-old-handlers.
1483 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1484 when we can.
1485
1486 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1487 Optimize under `condition-case' and `catch' if
1488 byte-compile--use-old-handlers is nil.
1489 (disassemble-offset): Handle new bytecodes.
1490
328a8179
SM
14912013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * subr.el (error): Use `declare'.
1494 (decode-char, encode-char): Use advertised-calling-convention instead
1495 of the docstring to discourage use of the `restriction' arg.
1496
15a1e936
DU
14972013-10-03 Daiki Ueno <ueno@gnu.org>
1498
1499 * epg.el (epg-verify-file): Add a comment saying that it does not
1500 notify verification error as a return value nor a signal.
1501 (epg-verify-string): Ditto.
1502
376f862a
KR
15032013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1504
1505 * progmodes/compile.el (compilation-start): Try globbing the arg to
1506 `cd' (bug#15417).
1507
a2f93a5f
MA
15082013-10-02 Michael Albinus <michael.albinus@gmx.de>
1509
1510 Sync with Tramp 2.2.8.
1511
1512 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1513 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1514 * net/trampver.el: Update release number.
1515
0daa0804
JD
15162013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1517
1518 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1519 and default-process-coding-system for darwin only.
1520
abd1ae34
SM
15212013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1522
1523 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1524
be4e325d
MH
15252013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1526
1527 * vc/vc-git.el (vc-git-grep): Disable pager.
1528
e9155c4a
DG
15292013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1530
494e898b
DG
1531 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1532 Use :url instead of :homepage, as per
1533 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1534
e9155c4a
DG
1535 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1536 non-nil, use `syntax-ppss' (Bug#15251).
1537
481a8e0f
RS
15382013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1539
be4e325d
MH
1540 * progmodes/octave.el (inferior-octave-startup-file):
1541 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1542
056453c6
DG
15432013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1544
be4e325d
MH
1545 * emacs-lisp/package.el (package-desc-from-define):
1546 Accept additional arguments as plist, convert them to an alist and store
1547 them in the `extras' slot.
056453c6
DG
1548 (package-generate-description-file): Convert extras alist back to
1549 plist and append to the `define-package' form arguments.
1550 (package--alist-to-plist): New function.
1551 (package--ac-desc): Add `extras' slot.
1552 (package--add-to-archive-contents): Check if the archive-contents
1553 vector is long enough, and if it is, pass its `extras' slot value
1554 to `package-desc-create'.
1555 (package-buffer-info): Call `lm-homepage', pass the returned value
1556 to `package-desc-from-define'.
1557 (describe-package-1): Render the homepage button (Bug#13291).
1558
be4e325d
MH
1559 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1560 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1561
832966e5
JD
15622013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1563
1564 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1565 and default-process-coding-system to utf-8-unix (Bug#15402).
1566
6cfe977d
XF
15672013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1568
1569 * subr.el (looking-back): Do not recommend using looking-back.
1570
38de11bd
AM
15712013-09-28 Alan Mackenzie <acm@muc.de>
1572
1573 Fix indentation/fontification of Java enum with "implements".
1574
1575 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1576 regexp which matches "implements", etc., in Java.
1577 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1578 specifier clauses coming after "enum".
1579 * progmodes/cc-fonts.el (c-font-lock-declarations)
1580 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1581 after "enum".
1582
1610938f
JD
15832013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1584
1585 * faces.el (region): Change ns_selection_color to
1586 ns_selection_fg_color, add ns_selection_bg_color.
1587
e090f499
LL
15882013-09-28 Leo Liu <sdl.web@gmail.com>
1589
4d2e94d1
LL
1590 * progmodes/octave.el (inferior-octave-completion-table)
1591 (inferior-octave-completion-at-point): Minor tweaks.
1592
e090f499
LL
1593 * textmodes/ispell.el (ispell-lookup-words): Rename from
1594 lookup-words. (Bug#15460)
1595 (lookup-words): Obsolete.
1596 (ispell-complete-word, ispell-command-loop): All uses changed.
1597
7e138a62
RS
15982013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1599
1600 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1601 (octave-mode-menu): Add octave-send-buffer.
1602 (octave-send-buffer): New function.
1603
5af5ed08
RS
16042013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1605
1606 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1607 octave-lookfor.
1608 (octave-mode-menu): Add octave-lookfor.
1609 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1610 octave-lookfor.
1611 (octave-lookfor): New function.
1612
3b7b2692
SM
16132013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * emacs-lisp/cl-macs.el:
1616 (cl--loop-destr-temps): Remove.
1617 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1618 its convention.
1619 (cl--loop-set-iterator-function): New function.
1620 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1621 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1622 Bind `it' with `let' instead of substituting it with `cl-subst'.
1623 (cl--unused-var-p): New function.
1624 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1625 Eliminate some unused variable warnings (bug#15326).
1626
529fb53f
TH
16272013-09-27 Tassilo Horn <tsdh@gnu.org>
1628
1629 * doc-view.el (doc-view-scale-reset): Rename from
1630 `doc-view-reset-zoom-level'.
1631 (doc-view-scale-adjust): New command.
1632 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1633 `doc-view-scale-adjust'.
1634
0550c95a
TH
16352013-09-26 Tassilo Horn <tsdh@gnu.org>
1636
1637 * doc-view.el (doc-view-reset-zoom-level): New command.
1638 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1639 zoom commands (bug#15466).
1640
6950f152
KH
16412013-09-26 Kenichi Handa <handa@gnu.org>
1642
1643 * international/quail.el (quail-help): Make it not a command.
1644
39587580
LL
16452013-09-26 Leo Liu <sdl.web@gmail.com>
1646
1647 * minibuffer.el (completion-all-sorted-completions): Make args
1648 optional as they are.
1649
00578659
DC
16502013-09-25 Daniel Colascione <dancol@dancol.org>
1651
1652 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1653 specs are and that they're not evaluated.
1654
0c173878
SS
16552013-09-24 Sam Steingold <sds@gnu.org>
1656
1657 * midnight.el (clean-buffer-list-kill-regexps)
1658 (clean-buffer-list-kill-buffer-names): Update for the new Man
1659 buffer naming which includes the object name.
1660
84998447
SM
16612013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1664 (eshell-parse-command, eshell-parse-pipeline): Use it since
1665 eshell-separate-commands requires a dynamic scoped var.
1666 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1667
33215353
LL
16682013-09-23 Leo Liu <sdl.web@gmail.com>
1669
1670 * autoinsert.el (auto-insert-alist): Make the value of
1671 lexical-binding match its file setting.
1672
57b16162
JB
16732013-09-23 Juanma Barranquero <lekktu@gmail.com>
1674
c8af4e67
JB
1675 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1676
57b16162
JB
1677 * autoarg.el (autoarg-kp-digit-argument):
1678 * electric.el (Electric-command-loop):
1679 * kmacro.el (kmacro-step-edit-insert):
1680 Do not set universal-argument-num-events.
1681
7186ba60
LL
16822013-09-22 Leo Liu <sdl.web@gmail.com>
1683
1684 * files.el (interpreter-mode-alist): Add octave.
1685
ece15004
AM
16862013-09-21 Alan Mackenzie <acm@muc.de>
1687
1688 C++: fontify identifier in declaration following "public:" correctly.
1689 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1690 to match "public", etc.
1691 (c-decl-prefix-re): Add ":" into the C++ value.
1692 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1693 bit. Add a check for a ":" preceded by "public", etc.
1694
75d83e22
EZ
16952013-09-21 Eli Zaretskii <eliz@gnu.org>
1696
1697 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1698 recognized by GDB 7.5 and later.
1699
d052d3bd
XF
17002013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1701
1702 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1703
31dca772
R
17042013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1705
1706 * subr.el (internal--call-interactively): New const.
1707 (called-interactively-p): Use it (bug#3984).
1708
98ccf24e
XF
17092013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1710
1711 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1712 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1713 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1714
c39cc7d1
SM
17152013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1718 (eshell-ls-orig-insert-directory): Remove.
1719 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1720 (eshell-ls-use-in-dired): Use advice-add/remove.
1721 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1722 Add `orig-fun' arg for use in :around advice.
1723 Make it check (redundantly) eshell-ls-use-in-dired.
1724
9a0289a2
GM
17252013-09-19 Glenn Morris <rgm@gnu.org>
1726
a2c501b8
GM
1727 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1728
c440407a
GM
1729 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1730
9a0289a2
GM
1731 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1732
85e05915
MA
17332013-09-19 Michael Albinus <michael.albinus@gmx.de>
1734
1735 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1736 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1737 (tramp-get-remote-python): New defuns.
1738 (tramp-get-remote-uid-with-perl)
1739 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1740 contributed by yary <not.com@gmail.com> (tiny change).
1741 (tramp-get-remote-uid-with-python)
1742 (tramp-get-remote-gid-with-python): New defuns. Python code
1743 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1744 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1745
ce503312
GM
17462013-09-19 Glenn Morris <rgm@gnu.org>
1747
f7544773
GM
1748 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1749
72fd2877
GM
1750 * eshell/em-unix.el (eshell-remove-entries):
1751 Rename argument to avoid name-clash with global `top-level'.
1752
336b5a56
GM
1753 * eshell/esh-proc.el (eshell-kill-process-function):
1754 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1755 (eshell-reset-after-proc): Remove unused arg `proc'.
1756
57a3a53d
GM
1757 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1758 (directory-files-and-attributes): Mark unused arg.
1759
3261d4af
GM
1760 * eshell/em-unix.el (eshell-remove-entries):
1761 Remove unused arg `path'. Update callers.
1762
8e51b5d0
GM
1763 * eshell/em-hist.el (eshell-hist-parse-arguments):
1764 Remove unused arg `silent'. Update callers.
1765
ce503312
GM
1766 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1767 Fix (f)boundp mix-up.
1768
1769 * eshell/em-smart.el (eshell-smart-scroll-window)
1770 (eshell-disable-after-change):
336b5a56 1771 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1772
ee3ce8a7
AM
17732013-09-18 Alan Mackenzie <acm@muc.de>
1774
1775 Fix fontification of type when followed by "const".
1776 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1777 "known" types from fontification.
1778
ec9177ba
GM
17792013-09-18 Glenn Morris <rgm@gnu.org>
1780
7bb3e768
GM
1781 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1782 (chart-face-list): Drop Emacsen without display-color-p.
1783
5148da15
GM
1784 * net/eww.el (libxml-parse-html-region): Declare.
1785 (eww-display-html): Explicit error if no libxml2 support.
1786
2f68e157
GM
1787 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1788
9019d095
GM
1789 * image.el (image-type-from-buffer, image-multi-frame-p):
1790 Remove --without-x warning/error.
67645389 1791
5f30349b 1792 * mouse.el (mouse-yank-primary):
45069b2e 1793 * term.el (term-mouse-paste):
5f30349b
GM
1794 Reorder to silence --without-x compilation.
1795
cd8edbbe
GM
1796 * mpc.el (doc-view-mode): Silence --without-x compilation.
1797
8a78544e
GM
1798 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1799 Silence --without-x compilation.
1800
12679bfd
GM
1801 * progmodes/gud.el (gud-find-file, gud-mode):
1802 Silence --without-x compilation.
1803 (tooltip-mode): Declare.
30810a05 1804
f0047cb9
GM
1805 * wdired.el (dired-backup-overwrite): Remove declaration.
1806 (wdired-mode-map): Add doc string.
1807
e740f9d2
GM
1808 * custom.el (x-get-resource): Declare.
1809
92d77c89
GM
1810 * eshell/em-glob.el (ange-cache):
1811 * eshell/em-unix.el (ange-cache): Declare.
1812
76e69577
GM
1813 * faces.el (x-display-list, x-open-connection, x-get-resource):
1814 Declare.
7e58af4b
GM
1815
1816 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1817 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1818 Declare.
76e69577 1819
4bd4c0af 1820 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1821
ffb82dbd
GM
1822 * net/gnutls.el (gnutls-log-level): Declare.
1823
986ed135
GM
1824 * net/shr.el (image-size, image-animate): Declare.
1825
e740f9d2
GM
1826 * simple.el (font-info): Declare.
1827
d2f3e9f8
GM
1828 * subr.el (x-popup-dialog): Declare.
1829
047a1a4c
GM
1830 * term/common-win.el (x-select-enable-primary)
1831 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1832 Declare.
1833
f4a1d572
GM
1834 * term/ns-win.el (x-handle-args): Declare.
1835
e843de77
GM
1836 * term/x-win.el (x-select-enable-clipboard): Declare.
1837
5fa89513
GM
1838 * term/w32-win.el (create-default-fontset): Declare.
1839
38702b5b
GM
1840 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1841 Declare.
1842
e740f9d2
GM
1843 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1844 (fit-frame-to-buffer): Explicit error if --without-x.
1845 (mouse-autoselect-window-select): Silence compiler.
1846
49a053fc
GM
1847 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1848
1849 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1850 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1851 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1852 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1853 Remove unused local variables.
1854
1855 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1856
ec9177ba
GM
1857 * textmodes/two-column.el: Make 2C-split work for --without-x.
1858 (scroll-bar-columns): Autoload.
1859 (top-level): Require fringe when compiling.
1860
9f25cb77
LL
18612013-09-18 Leo Liu <sdl.web@gmail.com>
1862
1863 * subr.el (add-hook): Robustify to handle closure as well.
1864
2b42da98
GM
18652013-09-17 Glenn Morris <rgm@gnu.org>
1866
1867 * simple.el (messages-buffer-mode-map): Unbind "g".
1868
e8b66a6a
SM
18692013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1870
9c0ad4f7
SM
1871 * help-mode.el (help-mode-finish): Use derived-mode-p.
1872 Remove obsolete highlighting.
1873
7a806dfb
SM
1874 * play/life.el (life-mode): Use define-derived-mode. Derive from
1875 special-mode.
1876 (life): Let-bind inhibit-read-only.
1877 (life-setup): Avoid `setq'. Use `life-mode'.
1878
96dbf5a8
SM
1879 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1880 which should not be needed any more.
1881 (package-menu-refresh, package-menu-describe-package): Use user-error.
1882
e8b66a6a
SM
1883 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1884 (eshell-post-rewrite-command-hook): Make obsolete.
1885 (eshell-parse-command): Simplify.
1886 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1887 (eshell--cmd): Declare.
1888 (eshell-parse-pipeline): Remove unused var `final-p'.
1889 Pass a dynvar to eshell-post-rewrite-command-hook.
1890 Implement the new eshell-post-rewrite-command-function.
1891 (eshell-invoke-directly): Remove unused arg `input'.
1892 * eshell/esh-io.el (eshell-io-initialize):
1893 Use eshell-post-rewrite-command-function (bug#15399).
1894 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1895 adjust to new calling convention.
1896 (eshell-create-handles): Rename args to avoid clashing with dynvar
1897 `standard-output'.
1898
90582f05
GM
18992013-09-17 Glenn Morris <rgm@gnu.org>
1900
1901 * simple.el (messages-buffer-mode): New major mode.
1902 (messages-buffer): New function.
1903 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1904 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1905 (ert-run-test): Use `messages-buffer' function.
90582f05 1906 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1907 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1908 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1909
39eb0cb5 19102013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1911
1912 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1913
1f1e06e2
SM
1914 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1915
70568a90
SM
19162013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1917
504a0381
SM
1918 * icomplete.el (icomplete-in-buffer): New var.
1919 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1920 vars and replace them with functions.
1921 (icomplete-minibuffer-setup): Adjust accordingly.
1922 (icomplete--completion-table, icomplete--completion-predicate)
1923 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1924 New functions.
1925 (icomplete-forward-completions, icomplete-backward-completions)
1926 (icomplete-simple-completing-p, icomplete-exhibit)
1927 (icomplete-completions): Use them.
1928 (icomplete--in-region-buffer): New var.
1929 (icomplete--in-region-setup): New function.
1930 (icomplete-mode): Use it.
1931
70568a90
SM
1932 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1933 (bug#15379).
1934 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1935 return args and options.
1936 (eshell-eval-using-options): Use the new return value of
1937 eshell--do-opts to set the options's vars in their scope.
1938 (eshell--set-option): Rename from eshell-set-option.
1939 Add arg `opt-vals'.
1940 (eshell--process-option): Rename from eshell-process-option.
1941 Add arg `opt-vals'.
1942 (eshell--process-args): Use an `opt-vals' alist to store the options's
1943 values during their processing and return them additionally to the
1944 remaining args.
1945
578c21bc
DG
19462013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1947
1948 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1949 continuation character an operator, as far as indentation is
1950 concerned (Bug#15369).
1951
c089653d
MR
19522013-09-15 Martin Rudalics <rudalics@gmx.at>
1953
1954 * window.el (window--state-put-2): Don't process buffer state
1955 when buffer doesn't exist any more (Bug#15382).
1956
1e53bb4b
GM
19572013-09-15 Glenn Morris <rgm@gnu.org>
1958
30753242
GM
1959 * eshell/em-unix.el (eshell/rm):
1960 Make -f ignore missing files. (Bug#15373)
1961
1e53bb4b
GM
1962 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1963 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1964 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1965
0d8863b3
GM
19662013-09-14 Glenn Morris <rgm@gnu.org>
1967
1968 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1969
d3fc6549
GM
19702013-09-13 Glenn Morris <rgm@gnu.org>
1971
1972 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1973 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1974
fcd42c11
DA
19752013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1976
1977 * frame.el (x-focus-frame): Mark as declared in frame.c.
1978
7830899f
SM
19792013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1980
1981 * ls-lisp.el: Use advice-add.
1982 (original-insert-directory): Remove.
1983 (ls-lisp--insert-directory): Rename from insert-directory; add
1984 `orig-fun' argument.
1985 (insert-directory): Advise.
1986
84387cd2
EZ
19872013-09-13 Eli Zaretskii <eliz@gnu.org>
1988
1989 * term.el (term-emulate-terminal): Decode the command string
1990 before passing it to term-command-hook. (Bug#15337)
1991
35ffc6ba
GM
19922013-09-13 Glenn Morris <rgm@gnu.org>
1993
5c3f9bcc
GM
1994 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1995
2ada368a
GM
1996 * eshell/esh-ext.el (eshell-search-path): Declare.
1997
fcef2e13
GM
1998 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1999 Otherwise an error occurs if eshell-dirs module not loaded.
2000
35ffc6ba
GM
2001 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2002
35c3d36e
MA
20032013-09-13 Michael Albinus <michael.albinus@gmx.de>
2004
2005 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2006 `tramp-check-proper-host'. Check for a valid method name.
2007
2008 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2009 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2010 * net/tramp-sh.el (tramp-maybe-open-connection):
2011 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2012
2013 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2014 also for hash values.
2015
ae5e4c48
SM
20162013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2017
379add74
SM
2018 * term/ns-win.el (parameters): Don't declare as dynamic.
2019 (before-make-frame-hook): Don't add ineffective function.
2020
ae5e4c48
SM
2021 * eshell/*.el: Use lexical-binding (bug#15231).
2022
b5623270
KH
20232013-09-12 Kenichi Handa <handa@gnu.org>
2024
ae5e4c48 2025 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2026
30213927
GM
20272013-09-12 Glenn Morris <rgm@gnu.org>
2028
be94d713 2029 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2030 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2031
44915370
GM
2032 * subr.el (do-after-load-evaluation): Also give compiler warnings
2033 when obsolete files are used (except by obsolete files).
2034
a6ae021f
GM
2035 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2036 in the status output, assume `filename' is the first. (Bug#15322)
2037
40e64f0c
GM
2038 * vc/vc.el (vc-deduce-fileset): Doc fix.
2039
16d9f896
GM
2040 * calc/calc-help.el (Info-goto-node):
2041 * progmodes/cperl-mode.el (Info-find-node):
2042 * vc/ediff.el (Info-goto-node): Update declarations.
2043
dea01c6e
GM
2044 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2045
759880bf 2046 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2047 (vc-bzr-pull): Require vc-dispatcher.
2048 * vc/vc-git.el (vc-compilation-mode): Declare.
2049 (vc-git-pull): Require vc-dispatcher.
2050
08d66420
GM
2051 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2052
30b626e9
GM
2053 * progmodes/octave.el (help-button-action): Declare.
2054
8c05cb10
GM
2055 * shell.el (shell-directory-tracker): Output error as a message
2056 rather than just returning it as a string.
2057 (shell-process-pushd): Remove useless use of message.
2058
30213927
GM
2059 * dframe.el (dframe-timer-fn):
2060 * files.el (dir-locals-read-from-file):
2061 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2062 (mpc-format):
2063 * reveal.el (reveal-post-command):
2064 * saveplace.el (load-save-place-alist-from-file):
2065 * shell.el (shell-resync-dirs):
2066 * w32-common-fns.el (x-get-selection-value):
2067 * emacs-lisp/copyright.el (copyright-find-copyright):
2068 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2069 * emulation/tpu-edt.el (tpu-copy-keyfile):
2070 * play/bubbles.el (bubbles--mark-neighbourhood):
2071 * progmodes/executable.el
2072 (executable-make-buffer-file-executable-if-script-p):
2073 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2074
d3b049e6
SM
20752013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2076
170266d0
SM
2077 Cleanup Eshell to rely less on dynamic scoping.
2078 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2079 last-value, and ext-command here. Bind `args' closer to `body'.
2080 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2081 (eshell--args): Declare new dynamic var.
2082 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2083 last-value, and ext-command. Pass `args' to `body'.
2084 (eshell-process-args): Bind eshell--args.
2085 (eshell-set-option): Use eshell--args.
2086 * eshell/eshell.el (eshell): Use derived-mode-p.
2087 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2088 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2089 (eshell-glob-function): Declare.
2090 * eshell/esh-util.el: Require cl-lib.
2091 (eshell-read-hosts-file): Avoid add-to-list.
2092 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2093 `err'.
2094 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2095 Declare.
2096 (eshell/diff): Remove unused var `err'.
2097 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2098 `killflag'.
2099 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2100 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2101 first use.
2102 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2103 Move declaration before first use.
2104 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2105 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2106 rely on cl-return.
2107
56834f3b
GM
21082013-09-12 Glenn Morris <rgm@gnu.org>
2109
2110 * term/ns-win.el (global-map): Remove binding for ispell-next,
2111 deleted 1999-05-29. (Bug#15357)
2112
5c91a2b8
GM
21132013-09-11 Glenn Morris <rgm@gnu.org>
2114
da712f22
GM
2115 * echistory.el (electric-command-history): Remove call to deleted func.
2116
512e4cdc
GM
2117 * play/landmark.el (landmark-mode): Fix typos.
2118
d3506ca5
GM
2119 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2120 Check cvs-sort-ignore-file is bound.
2121
5c91a2b8
GM
2122 * savehist.el: No need for cl when compiling on Emacs.
2123
feeff482
SM
21242013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2125
656bd483
SM
2126 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2127 (bug#15338).
d3b049e6
SM
2128 (eshell-self-insert-command, eshell-send-invisible):
2129 Remove unused argument.
656bd483
SM
2130 (eshell-handle-control-codes): Remove unused var `orig'.
2131 Avoid delete-backward-char.
2132
feeff482
SM
2133 * files.el (set-auto-mode): Simplify a bit further.
2134
2a08047a
GM
21352013-09-11 Glenn Morris <rgm@gnu.org>
2136
2137 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2138 (set-auto-mode): Don't regexp-quote elements.
2139 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2140 * progmodes/cc-mode.el (interpreter-mode-alist):
2141 * progmodes/ruby-mode.el (interpreter-mode-alist):
2142 Revert previous change.
2143
34675540
SM
21442013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2145
1b3b87df
SM
2146 * play/snake.el (snake-mode):
2147 * play/mpuz.el (mpuz-mode):
2148 * play/landmark.el (lm-mode):
2149 * play/blackbox.el (blackbox-mode):
2150 * play/5x5.el (5x5-mode):
2151 * obsolete/options.el (Edit-options-mode):
2152 * net/quickurl.el (quickurl-list-mode):
2153 * net/newst-treeview.el (newsticker-treeview-mode):
2154 * mail/rmailsum.el (rmail-summary-mode):
2155 * mail/mspools.el (mspools-mode):
2156 * locate.el (locate-mode):
2157 * ibuffer.el (ibuffer-mode):
2158 * emulation/ws-mode.el (wordstar-mode):
2159 * emacs-lisp/debug.el (debugger-mode):
2160 * array.el (array-mode):
2161 * net/eudc.el (eudc-mode): Use define-derived-mode.
2162 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2163 Move initialization into declaration.
2164 (mairix-searches-mode): Use define-derived-mode.
2165 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2166 (eudc-edit-hotlist): Use dolist.
2167 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2168 (Man-mode): Use define-derived-mode.
2169 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2170 (Info-edit-mode): Use define-derived-mode.
2171 (Info-cease-edit): Use Info-mode.
2172 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2173 into declaration.
2174 (eshell-mode): Use define-derived-mode.
2175 * chistory.el (command-history-mode-map): Rename from
2176 command-history-map.
2177 (command-history-mode): Use define-derived-mode.
da712f22 2178 (Command-history-setup): Remove function.
1b3b87df
SM
2179 * calc/calc.el (calc-trail-mode-map): New var.
2180 (calc-trail-mode): Use define-derived-mode.
2181 (calc-trail-buffer): Set calc-main-buffer manually.
2182 * bookmark.el (bookmark-insert-annotation): New function.
2183 (bookmark-edit-annotation): Use it.
2184 (bookmark-edit-annotation-mode): Make it a proper major mode.
2185 (bookmark-send-edited-annotation): Use derived-mode-p.
2186 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2187 closer to its ideal place. Use \' to match EOS.
2188
34675540
SM
2189 * profiler.el (profiler-calltree-find): Use function-equal.
2190
6a5c15d9
GM
21912013-09-10 Glenn Morris <rgm@gnu.org>
2192
1af4c220
GM
2193 * files.el (interpreter-mode-alist): Convert to regexps.
2194 (set-auto-mode): Adapt for this. (Bug#15306)
2195 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2196 Comment out unused variable.
2197 * progmodes/cc-mode.el (interpreter-mode-alist):
2198 * progmodes/python.el (interpreter-mode-alist):
2199 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2200 * progmodes/sh-script.el (sh-set-shell):
2201 No longer use interpreter-mode-alist to get list of shells.
2202
6a5c15d9
GM
2203 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2204
8c27f5ff
SM
22052013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2206
02ef6c1a 2207 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2208 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2209 Bind switch-frame explicitly. Replace universal-argument-minus with
2210 a conditional binding.
2211 (universal-argument-num-events, saved-overriding-map): Remove.
2212 (restore-overriding-map): Remove.
2213 (universal-argument--mode): Rename from save&set-overriding-map,
2214 and rewrite.
2215 (universal-argument, universal-argument-more, negative-argument)
2216 (digit-argument): Adjust accordingly.
2217 (universal-argument-minus): Remove.
2218 (universal-argument-other-key): Remove.
2219
8c27f5ff
SM
2220 * subr.el (with-demoted-errors): Add `format' argument.
2221
6480194c
MA
22222013-09-10 Michael Albinus <michael.albinus@gmx.de>
2223
2224 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2225 `tramp-cleanup-connection'.
2226
2227 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2228 parameters KEEP-DEBUG and KEEP-PASSWORD.
2229
2230 * net/tramp.el (tramp-file-name-handler):
2231 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2232 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2233 (tramp-maybe-open-connection):
8c27f5ff
SM
2234 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2235 Use `tramp-cleanup-connection'.
6480194c 2236
8c27f5ff
SM
2237 * net/tramp-sh.el (tramp-maybe-open-connection):
2238 Catch 'uname-changed inside the progress reporter.
6480194c 2239
e5e916d8
GM
22402013-09-10 Glenn Morris <rgm@gnu.org>
2241
9a2c9b47
GM
2242 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2243
e5e916d8
GM
2244 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2245 returns "alternate access method" in mode (eg "-rw-r--r--.").
2246
144e38fe
GM
22472013-09-08 Glenn Morris <rgm@gnu.org>
2248
2249 * saveplace.el (load-save-place-alist-from-file):
2250 Demote errors. (Bug#15305)
2251
af9ff9e8
MA
22522013-09-08 Michael Albinus <michael.albinus@gmx.de>
2253
2254 Improve compatibility with older Emacsen, and XEmacs.
2255
2256 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2257 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2258 (with-tramp-progress-reporter): Do not let-bind `result'.
2259 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2260 (tramp-handle-make-auto-save-file-name): New function, moved from
2261 tramp-sh.el.
2262
2263 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2264 for `make-auto-save-file-name'.
8c27f5ff
SM
2265 (tramp-adb--gnu-switches-to-ash):
2266 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2267
2268 * net/tramp-cache.el (tramp-cache-print): Call
2269 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2270
2271 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2272 bound. It isn't for XEmacs.
2273
8c27f5ff
SM
2274 * net/tramp-compat.el (tramp-compat-copy-file):
2275 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2276 (tramp-compat-replace-regexp-in-string): New defun.
2277
2278 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2279 for `make-auto-save-file-name'.
2280 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2281 `copy-file'.
2282 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2283 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2284 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2285
8c27f5ff
SM
2286 * net/tramp-gw.el (tramp-gw-open-network-stream):
2287 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2288
8c27f5ff
SM
2289 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2290 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2291 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2292 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2293 (tramp-sh-file-inotifywait-process-filter):
2294 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2295 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2296
2297 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2298 for `make-auto-save-file-name'.
8c27f5ff
SM
2299 (tramp-smb-handle-copy-directory):
2300 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2301 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2302 (tramp-smb-handle-copy-file): Improve error message.
2303 (tramp-smb-handle-rename-file): Rename directly only in case
2304 `newname' does not exist yet. This is a restriction of smbclient.
2305 (tramp-smb-maybe-open-connection): Rerun the function only when
2306 `auth-sources' is non-nil.
2307
0ca754d0
KH
23082013-09-08 Kenichi Handa <handa@gnu.org>
2309
2310 * international/characters.el: Set category "^" (Combining) for
2311 more characters.
2312
e8dd0787
AM
23132013-09-07 Alan Mackenzie <acm@muc.de>
2314
2315 Correctly fontify Java class constructors.
2316 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2317 in Java Mode.
2318 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2319 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2320 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2321 "typeless" declaration there.
2322
f2f248e7
RW
23232013-09-07 Roland Winkler <winkler@gnu.org>
2324
2325 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2326 field subtitle for entry type book.
2327
67982e2b
SM
23282013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * minibuffer.el: Make minibuffer-complete call completion-in-region
2331 rather than other way around.
2332 (completion--some, completion-pcm--find-all-completions):
2333 Don't delay signals when debugging.
2334 (minibuffer-completion-contents): Beware fields within the
2335 minibuffer contents.
2336 (completion-all-sorted-completions): Use defvar-local.
2337 (completion--do-completion, completion--cache-all-sorted-completions)
2338 (completion-all-sorted-completions, minibuffer-force-complete):
2339 Add args `beg' and `end'.
2340 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2341 (minibuffer-complete): Use completion-in-region.
2342 (completion-complete-and-exit): New fun, extracted from
2343 minibuffer-complete-and-exit.
2344 (minibuffer-complete-and-exit): Use it.
2345 (completion--complete-and-exit): Rename from
2346 minibuffer--complete-and-exit.
2347 (completion-in-region--single-word): New function, extracted from
2348 minibuffer-complete-word.
2349 (minibuffer-complete-word): Use it.
2350 (display-completion-list): Make `common-substring' argument obsolete.
2351 (completion--in-region): Call completion--in-region-1 instead of
2352 minibuffer-complete.
2353 (completion-help-at-point): Pass boundaries to
2354 minibuffer-completion-help as args rather than via an overlay.
2355 (completion-pcm--string->pattern): Use `any-delim'.
2356 (completion-pcm--optimize-pattern): New function.
2357 (completion-pcm--pattern->regex): Handle `any-delim'.
2358 * icomplete.el (icomplete-forward-completions)
2359 (icomplete-backward-completions, icomplete-completions):
2360 Adjust calls to completion-all-sorted-completions and
2361 completion--cache-all-sorted-completions.
2362 (icomplete-with-completion-tables): Default to t.
2363 * emacs-lisp/crm.el (crm--current-element): Rename from
2364 crm--select-current-element. Don't put an overlay but return the
2365 boundaries instead.
2366 (crm--completion-command): Take two new args to bind to the boundaries.
2367 (crm-completion-help): Adjust accordingly.
2368 (crm-complete): Use completion-in-region.
2369 (crm-complete-word): Use completion-in-region--single-word.
2370 (crm-complete-and-exit): Use completion-complete-and-exit.
2371
e17d94a5
SM
23722013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2375 than dynamically.
2376
96727100
JL
23772013-09-06 Juri Linkov <juri@jurta.org>
2378
2379 * info.el (Info-display-images-node): When image file doesn't exist
2380 display text version of the image if it's provided in the Info file.
2381 Otherwise, display the location of missing image from SRC attribute.
2382 Add help-echo text property from ALT attribute. (Bug#15279)
2383
86cf7329
SM
23842013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2387 (edit-abbrevs-mode): Use define-derived-mode.
2388
2389 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2390 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2391 that it's defined.
2392 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2393 Use define-derived-mode.
2394
2395 * epg.el (epg-start-encrypt): Minor CSE simplification.
2396
816244a2
WX
23972013-09-06 William Xu <william.xwl@gmail.com>
2398
2399 * arc-mode.el: Add support for 7za (bug#15264).
2400 (archive-7z-program): New var.
2401 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2402 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2403 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2404
1486fa31
MA
24052013-09-06 Michael Albinus <michael.albinus@gmx.de>
2406
2407 Remove URL syntax.
2408
2409 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2410 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2411 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2412 (tramp-postfix-host-format, tramp-file-name-regexp)
2413 (tramp-completion-file-name-regexp)
2414 (tramp-completion-dissect-file-name)
2415 (tramp-handle-substitute-in-file-name): Remove 'url case.
2416 (tramp-file-name-regexp-url)
2417 (tramp-completion-file-name-regexp-url): Remove constants.
2418
39785324
GM
24192013-09-06 Glenn Morris <rgm@gnu.org>
2420
2421 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2422
1f896cb7
DG
24232013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2424
2425 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2426 keywords" below "here-doc beginnings" (Bug#15270).
2427
c0458e0b
SM
24282013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * subr.el (pop): Use `car-safe'.
2431 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2432 to detect unused `pop' return value.
2433
2434 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2435 var `block-regexp'.
2436 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2437 (python-fill-string): Remove unused var `marker'.
2438 (python-skeleton-add-menu-items): Remove unused var `items'.
2439
2440 * international/mule-cmds.el: Require CL.
2441 (find-coding-systems-for-charsets): Avoid add-to-list.
2442 (sanitize-coding-system-list): New function, extracted from
2443 select-safe-coding-system-interactively.
2444 (select-safe-coding-system-interactively): Use it.
2445 (read-input-method-name): Accept symbols for `default'.
2446
2447 * emacs-lisp/advice.el (defadvice): Add indent rule.
2448
6c42fc3e
DH
24492013-09-05 Daniel Hackney <dan@haxney.org>
2450
2451 * dired-x.el:
2452 * net/ange-ftp.el:
2453 * net/browse-url.el:
2454 * net/dbus.el:
2455 * net/eudc.el:
2456 * net/eudcb-ldap.el:
2457 * net/eww.el:
2458 * net/imap.el:
2459 * printing.el:
2460 * vc/ediff-diff.el:
2461 * vc/ediff-init.el:
2462 * vc/ediff-merg.el:
2463 * vc/ediff-mult.el:
2464 * vc/ediff-util.el:
2465 * vc/ediff-wind.el:
2466 * vc/ediff.el:
2467 * vc/emerge.el:
2468 * vc/pcvs.el:
2469 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2470 byte compiler. Remove some unused let-bound variables.
2471
4c528aab
SM
24722013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2475 a "ref-cell", since it gets better optimized (bug#14883).
2476
bd15c390
GM
24772013-09-05 Glenn Morris <rgm@gnu.org>
2478
2479 * progmodes/cc-awk.el (c-forward-sws): Declare.
2480
1c3ac2e5
GM
24812013-09-04 Glenn Morris <rgm@gnu.org>
2482
2483 * generic-x.el [rul-generic-mode]: Require cc-mode.
2484 (c++-mode-syntax-table): Declare.
2485 (rul-generic-mode-syntax-table): Init in the defvar.
2486
52b1cc79
SM
24872013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2488
c828af56
SM
2489 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2490 (vc-do-command, vc-set-async-update):
2491 * vc/vc-mtn.el (vc-mtn-dir-status):
2492 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2493 (vc-hg-pull, vc-hg-merge-branch):
2494 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2495 (vc-git-merge-branch):
2496 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2497 (vc-cvs-dir-status-files):
2498 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2499 (vc-bzr-dir-status-files):
2500 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2501 * vc/vc-annotate.el: Use lexical-binding.
2502 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2503 (vc-sentinel-movepoint): Declare.
2504 (vc-annotate): Don't use `goto-line'.
2505 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2506 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2507 (vc-sentinel-movepoint): Declare.
2508 * vc/vc-svn.el: Use lexical-binding.
2509 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2510 * vc/vc-sccs.el:
2511 * vc/vc-rcs.el: Use lexical-binding.
2512
abae272c
SM
2513 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2514 `deleted'. Don't drop errors silently.
2515
52b1cc79
SM
2516 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2517
63191d9f
XF
25182013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2519
2520 * vc/vc.el (vc-ignore): Rewrite.
2521 (vc-default-ignore): New function.
2522 (vc-default-ignore-completion-table): Use find-ignore-file.
2523
2524 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2525 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2526 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2527 Remove. Most code moved to vc.el.
2528
9d3f707c
SM
25292013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2530
abae272c 2531 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2532 * net/tramp-smb.el (tramp-smb-get-file-entries):
2533 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2534 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2535
fde38d49
SM
2536 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2537 Update call to it.
2538 (eww-change-select): Remove unused var `properties'.
2539 (eww-make-unique-file-name): Remove unused var `base'.
2540
2541 * finder.el (finder-compile-keywords): Don't mess with windows.
2542
84032db7
SM
2543 * calculator.el (calculator-funcall): Fix typo in last change.
2544
724f5e41
SM
2545 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2546
14b511d4
SM
2547 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2548 <pkg>-autoloads.el file stop us.
2549
9d3f707c 2550 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2551 warnings, and factor out common code.
9d3f707c 2552
88527bc0
DG
25532013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2554
2555 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2556 two-character operators and whether the character preceding them
2557 changes their meaning (Bug#15208).
2558
96edb677
FEG
25592013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2560
2561 Format code sent to Python shell for robustness.
9d3f707c
SM
2562 * progmodes/python.el (python-shell-buffer-substring):
2563 New function.
96edb677
FEG
2564 (python-shell-send-region, python-shell-send-buffer): Use it.
2565
95beaef3
MA
25662013-09-02 Michael Albinus <michael.albinus@gmx.de>
2567
2568 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2569 * net/tramp.el (tramp-user-error): ... here.
2570 (tramp-find-method, tramp-check-proper-host)
2571 (tramp-dissect-file-name, tramp-debug-message)
2572 (tramp-handle-shell-command):
2573 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2575
2576 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2577
f167c27b
MR
25782013-09-02 Martin Rudalics <rudalics@gmx.at>
2579
2580 * avoid.el (mouse-avoidance-point-position)
2581 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2582 returns nil.
2583
cd16c5f1
FEG
25842013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2585
2586 * progmodes/python.el (python-shell-completion-get-completions):
2587 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2588 (python-nav-if-name-main): New command.
cd16c5f1 2589
e73c3a0d
GM
25902013-09-01 Glenn Morris <rgm@gnu.org>
2591
f8ccce03
GM
2592 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2593 Avoid leading space in $wins. Otherwise the sed command used by
2594 eg compile-main ends up containing "/*.el". (Bug#15170)
2595
e73c3a0d
GM
2596 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2597
415f808e
GM
25982013-08-30 Glenn Morris <rgm@gnu.org>
2599
2600 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2601 Fix is-this-a-directory logic. (Bug#15220)
2602
f069bba8
SM
26032013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2604
112798c1
SM
2605 * textmodes/css-mode.el: Use SMIE.
2606 (css-smie-grammar): New var.
2607 (css-smie--forward-token, css-smie--backward-token)
2608 (css-smie-rules): New functions.
2609 (css-mode): Use them.
2610 (css-navigation-syntax-table): Remove var.
2611 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2612 (css-indent-calculate, css-indent-line): Remove functions.
2613
2614 Misc changes to reduce use of `(lambda...); and other cleanups.
2615 * cus-edit.el: Use lexical-binding.
2616 (customize-push-and-save, customize-apropos)
2617 (custom-buffer-create-internal): Use closures.
2618 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2619 * progmodes/ada-xref.el: Use setq.
2620 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2621 * dframe.el: Use lexical-binding.
2622 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2623 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2624 * descr-text.el: Use lexical-binding.
2625 (describe-text-widget, describe-text-sexp, describe-property-list):
2626 Use closures.
2627 * comint.el (comint-history-isearch-push-state): Use a closure.
2628 * calculator.el: Use lexical-binding.
2629 (calculator-number-to-string): Make it work with lexical-binding.
2630 (calculator-funcall): Same and use cl-letf.
2631
2da4c3ab
SM
2632 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2633 (lisp--company-doc-string, lisp--company-location): New functions.
2634 (lisp-completion-at-point): Use them to improve Company support.
2635
f069bba8
SM
2636 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2637 params of lambda expressions.
2638 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2639 (ruby-smie--opening-pipe-p): New function.
2640 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2641 symbols and matched |...| for formal params.
2642 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2643 from being treated as hanging. Handle "rescue".
2644
6758b6a8
GM
26452013-08-29 Glenn Morris <rgm@gnu.org>
2646
2647 * progmodes/cc-engine.el (c-pull-open-brace):
2648 Move definition before use.
2649
e8dfd197
SM
26502013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2653 are immutable. Don't use `unsafe' any more.
2654 (cl--defsubst-expand): Don't substitute at the same time as keeping
2655 a residual unused let-binding. Don't use `unsafe' any more.
2656
cc585c96
GM
26572013-08-29 Glenn Morris <rgm@gnu.org>
2658
ba579ea6
GM
2659 * calendar/cal-china.el (calendar-chinese-year-cache):
2660 Recenter on 2015.
2661
8201a87e
GM
2662 * nxml/nxml-util.el (nxml-debug-clear-inside):
2663 Use cl-loop rather than loop.
2664
6ee877c7
GM
2665 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2666
cc585c96
GM
2667 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2668
27be8d39
GM
26692013-08-28 Glenn Morris <rgm@gnu.org>
2670
397440a1
GM
2671 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2672
2bb762d4
GM
2673 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2674
27be8d39
GM
2675 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2676
2d69b99e
SM
26772013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2678
f663baa7
SM
2679 * simple.el (repeat-complex-command--called-interactively-skip):
2680 New function.
2681 (repeat-complex-command): Use it (bug#14136).
2682
dd4f8b74
SM
2683 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2684 (c-define-abbrev-table): Add `doc' argument.
2685 (c-mode-abbrev-table, c++-mode-abbrev-table)
2686 (objc-mode-abbrev-table, java-mode-abbrev-table)
2687 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2688 (awk-mode-abbrev-table): Use it.
2689 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2690 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2691 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2692 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2693 Move initialization into the declaration; and remove any
2694 autoload cookie.
2695
b58969f7
SM
2696 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2697 and dynamic let binding.
2698
4021d6a6
SM
2699 * vc/smerge-mode.el: Remove redundant :group args.
2700
2d69b99e
SM
2701 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2702 to load-path.
2703
274919fd
JL
27042013-08-28 Juri Linkov <juri@jurta.org>
2705
2706 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2707 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2708 (isearch-other-meta-char): Handle an undefined shifted printing
2709 character by downshifting it. (Bug#15200)
2710
121f8c95
JL
27112013-08-28 Juri Linkov <juri@jurta.org>
2712
2713 * isearch.el (isearch-search): Change regexp error message for
2714 non-regexp searches. (Bug#15166)
2715
50b13cde
PE
27162013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2717
2718 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2719 for portability to hosts where /bin/sh has problems.
2720
95888bca
SM
27212013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2724
bbe558f1
JL
27252013-08-27 Juri Linkov <juri@jurta.org>
2726
2727 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2728 in the keyboard macro. (Bug#15126)
2729
26f98a7d
JL
27302013-08-27 Juri Linkov <juri@jurta.org>
2731
2732 * isearch.el (isearch-quote-char): Comment out converting unibyte
2733 to multibyte, thus syncing with its `quoted-insert' counterpart.
2734 (Bug#15166)
2735
7c97d35e
MR
27362013-08-27 Martin Rudalics <rudalics@gmx.at>
2737
2738 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2739 argument in call of get-largest-window (Bug#15185).
2740 Reported by Stephen Leake.
7c97d35e 2741
a0b5606e 27422013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2743
2744 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2745
9e89d835
SM
27462013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2749 from a matcher-function unless there's no more matches (bug#15161).
2750
78fc2530
MA
27512013-08-26 Michael Albinus <michael.albinus@gmx.de>
2752
2753 * minibuffer.el: Revert change from 2013-08-20.
2754
2755 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2756 with text property `tramp-default', if appropriate.
2757 (tramp-check-proper-host): New defun.
2758 (tramp-dissect-file-name): Do not check hostname. Revert change
2759 of 2013-03-18.
2760 (tramp-backtrace): Make VEC-OR-PROC optional.
2761
2762 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2763 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2764 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2765 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2766 Apply `tramp-check-proper-host'.
78fc2530 2767
edca97cd
TH
27682013-08-26 Tassilo Horn <tsdh@gnu.org>
2769
2770 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2771 lambda expression in order to have `describe-variable' display it.
2772
df54bcbd
MA
27732013-08-26 Michael Albinus <michael.albinus@gmx.de>
2774
2775 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2776 BUF can be optional. (Bug#15186)
2777
eed99101
XF
27782013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2779
2780 * progmodes/flymake.el (flymake-get-real-file-name-function):
2781 Fix broken customization. (Bug#15184)
2782
b5eb9035
AM
27832013-08-25 Alan Mackenzie <acm@muc.de>
2784
8a51e842
AM
2785 Improve indentation of bracelists defined by macros (without "=").
2786
2787 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2788 expansion begins with "{", regard it as bracelist when it doesn't
2789 contain a ";".
2790
869455d4
AM
2791 Parse C++ inher-intro when there's a template split over 2 lines.
2792
2793 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2794 rigorously the search for "class" etc. followed by ":".
2795
2796 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2797 random languages a regexp which never matches rather than nil.
2798
b5eb9035
AM
2799 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2800
2801 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2802 (c-awk-regexp-one-line-possibly-open-char-list-re)
2803 (c-awk-one-line-possibly-open-regexp-re)
2804 (c-awk-one-line-non-syn-ws*-re): Remove.
2805 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2806 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2807 (c-awk-space*-unclosed-regexp-/-re): New constants.
2808 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2809 aren't regexp delimiters.
2810
2811 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2812 handling for a rare situation in AWK Mode involving unterminated
2813 strings/regexps.
2814
61611d54
GM
28152013-08-23 Glenn Morris <rgm@gnu.org>
2816
2d85dc34
GM
2817 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2818
cb8d2612
GM
2819 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2820
bb35f42f
GM
2821 * files.el (create-file-buffer): If the result would begin with
2822 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2823
b9808e77
SM
28242013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2825
e3a66363
SM
2826 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2827 text-properties (bug#15155).
2828
b9808e77
SM
2829 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2830 exist any more.
2831 (calc-keypad-redraw): Remove unused var `pad'.
2832 (calc-keypad-press): Remove unused var `menu'.
2833
7fd5f65e
MR
28342013-08-23 Martin Rudalics <rudalics@gmx.at>
2835
b9808e77
SM
2836 * window.el (display-buffer-pop-up-frame):
2837 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2838 use it as the new frame's buffer (Bug#15133).
2839
8352b530
SM
28402013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * calendar/timeclock.el: Minor cleanups.
2843 (timeclock-ask-before-exiting, timeclock-use-display-time):
2844 Use `symbol'.
2845 (timeclock-modeline-display): Define as alias before the
2846 actual definition.
2847 (timeclock-mode-line-display): Use define-minor-mode.
2848 (timeclock-day-list-template): Make it a function, add an argument.
2849 (timeclock-day-list-required, timeclock-day-list-length)
2850 (timeclock-day-list-debt, timeclock-day-list-span)
2851 (timeclock-day-list-break): Adjust calls accordingly.
2852
9f7b1925
SM
28532013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2856 Use read--expression so that completion works again.
2857
6e50e983
SS
28582013-08-21 Sam Steingold <sds@gnu.org>
2859
2860 Add rudimentary inferior shell interaction
2861 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2862 (sh-set-shell): Reset it.
9f7b1925
SM
2863 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2864 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2865
dbb0d350
SM
28662013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * align.el: Use lexical-binding.
2869 (align-region): Simplify accordingly.
2870
c88586a9
MA
28712013-08-20 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2874
2875 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2876 `non-essential' up.
2877
f95527c8
MA
28782013-08-17 Michael Albinus <michael.albinus@gmx.de>
2879
2880 * net/tramp.el:
2881 * net/tramp-adb.el:
2882 * net/tramp-cmds.el:
2883 * net/tramp-ftp.el:
2884 * net/tramp-gvfs.el:
2885 * net/tramp-gw.el:
2886 * net/tramp-sh.el: Don't wrap external variable declarations by
2887 `eval-when-compile'.
2888
4b5fe4ee
LMI
28892013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2890
2891 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2892 now that Emacs supports ImageMagick animations.
2893
13c366c9
MA
28942013-08-16 Michael Albinus <michael.albinus@gmx.de>
2895
2896 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2897 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2898
3dfc5cd6
MR
28992013-08-16 Martin Rudalics <rudalics@gmx.at>
2900
2901 * window.el (mouse-autoselect-window-select): Do autoselect when
2902 mouse pointer is on margin.
2903
4bbb4381
WP
29042013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2905
2906 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2907
3a2ddc2d
GM
29082013-08-16 Glenn Morris <rgm@gnu.org>
2909
e8bedf5a
GM
2910 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2911 Handle "Remote Directory" response of some clients. (Bug#15058)
2912
58c4682f
GM
2913 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2914 Tweak warning. (Bug#14926)
2915
57953f49
GM
2916 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2917 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2918
3a2ddc2d
GM
2919 * image-mode.el (image-mode-map): Add menu items to reverse,
2920 increase, decrease, reset animation speed.
2921 (image--set-speed, image-increase-speed, image-decrease-speed)
2922 (image-reverse-speed, image-reset-speed): New functions.
2923 (image-mode-map): Add bindings for speed commands.
2924
2925 * image.el (image-animate-get-speed, image-animate-set-speed):
2926 New functions.
2927 (image-animate-timeout): Respect image :speed property.
2928
10fa0ed3
SM
29292013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2932 previous line (bug#15101).
2933 (debugger-eval-expression, debugger-record-expression):
2934 Use read--expression (bug#15102).
2935
5d89d9d2
MA
29362013-08-15 Michael Albinus <michael.albinus@gmx.de>
2937
2938 Remove byte compiler warnings, visible when compiling with
2939 `byte-compile-force-lexical-warnings' set to t.
2940
2941 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2942 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2943 (tramp-handle-unhandled-file-name-directory)
2944 (tramp-handle-file-notify-add-watch, tramp-action-login)
2945 (tramp-action-succeed, tramp-action-permission-denied)
2946 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2947 arguments with "_".
2948
2949 * net/tramp-adb.el (tramp-adb-parse-device-names)
2950 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2951 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2952 (tramp-adb-handle-file-truename): Remove unused arguments.
2953
2954 * net/tramp-cache.el (tramp-flush-directory-property)
2955 (tramp-flush-connection-property, tramp-list-connections)
2956 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2957
10fa0ed3
SM
2958 * net/tramp-compat.el (tramp-compat-make-temp-file):
2959 Rename FILENAME to F.
5d89d9d2
MA
2960
2961 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2962 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2963 (tramp-zeroconf-parse-workstation-device-names)
2964 (tramp-zeroconf-parse-webdav-device-names)
2965 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2966
2967 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2968 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2969
2970 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2971 arguments.
2972 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2973 (tramp-sh-handle-insert-file-contents-literally)
2974 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2975 with "_".
2976 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2977 Remove unused variables.
2978
2979 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2980 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2981 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2982
2983 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2984 Make them a defconst.
2985 (tramp-uuencode-region): Remove unused variable.
2986
62f33bae
JB
29872013-08-14 Juanma Barranquero <lekktu@gmail.com>
2988
2989 * frameset.el (frameset--prop-setter): New function.
2990 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2991 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2992 parameter was already set in FILTERED. Doc fix.
2993 (frameset--record-minibuffer-relationships): Allow saving a
2994 minibufferless frame without its corresponding minibuffer frame.
2995 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2996 frame, if the frame id matches.
2997 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2998 frames before orphaned ones.
2999 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3000
c660a885
MR
30012013-08-14 Martin Rudalics <rudalics@gmx.at>
3002
3003 * window.el (window-make-atom): Don't overwrite parameter
3004 already present.
3005 (display-buffer-in-atom-window): Handle special case where we
3006 split an already atomic window.
3007 (window--major-non-side-window, display-buffer-in-side-window)
3008 (window--side-check): Ignore minibuffer window when walking
3009 window tree.
3010 (window-deletable-p): Return 'frame only if no other frame uses
3011 our minibuffer window.
3012 (record-window-buffer): Run buffer-list-update-hook.
3013 (split-window): Make sure window--check-frame won't destroy an
3014 existing atomic window in case the new window gets nested
3015 inside.
3016 (display-buffer-at-bottom): Ignore minibuffer window when
3017 walking window tree. Don't split a side window.
3018 (pop-to-buffer): Don't set-buffer here, the select-window call
3019 should do that.
3020 (mouse-autoselect-window-select): Autoselect only if we are in the
3021 text portion of the window.
3022
8259030d
LMI
30232013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3024
21c58ae2
LMI
3025 * net/shr.el (shr-parse-image-data): New function to grab both the
3026 data itself and the Content-Type.
3027 (shr-put-image): Use it.
3028
3029 * net/eww.el (eww-display-image): Ditto.
3030
8259030d
LMI
3031 * image.el (image-content-type-suffixes): New variable.
3032
ad756449
FEG
30332013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3034
3035 * progmodes/python.el (python-imenu--build-tree)
3036 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3037
f73f4ce6
XF
30382013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3039
3040 * simple.el (backward-word): Mention the optional argument.
3041
1f585e65
SM
30422013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * frameset.el (frameset--make): Rename constructor from make-frameset.
3045 (frameset-p, frameset-valid-p): Don't autoload.
3046 (frameset-valid-p): Use normal accessors.
3047
af1c6c84
GM
30482013-08-13 Glenn Morris <rgm@gnu.org>
3049
55e47f95
GM
3050 * progmodes/compile.el (compile-command): Tweak example in doc.
3051 * obsolete/scribe.el (scribe-mode):
3052 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3053
f0024d8c
GM
3054 * mail/feedmail.el (feedmail-confirm-outgoing)
3055 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3056
3057 * cus-start.el (truncate-partial-width-windows): Fix type.
3058
3059 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3060
af1c6c84
GM
3061 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3062
5514cc4c
SM
30632013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * emacs-lisp/timer.el (timer--time-setter): New function.
3066 (timer--time): Use it as gv-setter.
3067
3068 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3069 setter is not a symbol.
3070
7997a2f1
GJ
30712013-08-12 Grégoire Jadi <daimrod@gmail.com>
3072
3073 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3074 if sending fails. This makes debugging easier.
3075
01f1a9ab
JB
30762013-08-12 Juanma Barranquero <lekktu@gmail.com>
3077
3078 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3079 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3080 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3081
594a4307
EZ
30822013-08-12 Eli Zaretskii <eliz@gnu.org>
3083
3084 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3085
7a22490f 30862013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3087
3088 * format.el (format-annotate-function):
3089 Handle read-only text properties in the source. (Bug#14887)
3090
3e41a054
LMI
30912013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3092
5514cc4c
SM
3093 * net/eww.el (eww-display-html): Ignore coding system errors.
3094 One web site uses "utf-8lias" as the coding system.
3e41a054 3095
7ec326db
JB
30962013-08-11 Juanma Barranquero <lekktu@gmail.com>
3097
3098 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3099
5660113b
JB
31002013-08-10 Juanma Barranquero <lekktu@gmail.com>
3101
9a4ebc74
JB
3102 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3103 (tutorial--detailed-help): Remove unused local variables.
3104 (tutorial--save-tutorial-to): Use ignore-errors.
3105 (help-with-tutorial): Use looking-at-p.
3106
3107 * view.el (view-buffer-other-window, view-buffer-other-frame):
3108 Mark unused arguments.
3109
3110 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3111 (woman-select-symbol-fonts, woman, woman-find-file)
3112 (woman-insert-file-contents, woman-non-underline-faces):
3113 Use string-match-p.
3114 (woman1-unquote): Move declaration.
3115
3116 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3117 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3118 argument. Remove unused local variable.
3119 (xml-parse-elem-type): Use string-match-p.
3120 (xml-substitute-numeric-entities): Use ignore-errors.
3121
45fdb482
JB
3122 * calculator.el (calculator): Mark unused argument.
3123 (calculator-paste, calculator-quit, calculator-integer-p):
3124 Use ignore-errors.
3125 (calculator-string-to-number, calculator-decimal, calculator-exp)
3126 (calculator-op-or-exp): Use string-match-p.
3127
3128 * dired.el (dired-buffer-more-recently-used-p): Declare.
3129 (dired-insert-set-properties, dired-insert-old-subdirs):
3130 Use ignore-errors.
3131
3132 * dired-aux.el (dired-compress): Use ignore-errors.
3133 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3134 (dired-do-async-shell-command, dired-do-shell-command)
3135 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3136 (dired-insert-subdir-validate): Use string-match-p.
3137 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3138 (dired-add-entry): Use string-match-p, looking-at-p.
3139 (dired-insert-subdir-newpos): Remove unused local variable.
3140
3141 * filenotify.el (file-notify-callback): Remove unused local variable.
3142
3143 * filesets.el (filesets-error): Mark unused argument.
3144 (filesets-which-command-p, filesets-filter-dir-names)
3145 (filesets-directory-files, filesets-get-external-viewer)
3146 (filesets-ingroup-get-data): Use string-match-p.
3147
3148 * find-file.el (ff-other-file-name, ff-other-file-name)
3149 (ff-find-the-other-file, ff-cc-hh-converter):
3150 Remove unused local variables.
3151 (ff-get-file-name): Use string-match-p.
3152 (ff-all-dirs-under): Use ignore-errors.
3153
3154 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3155 (follow-select-if-visible): Remove unused local variable.
3156
3157 * forms.el (read-file-filter): Move declaration.
3158 (forms--make-format, forms--make-parser, forms-insert-record):
3159 Quote function with #'.
3160 (forms--update): Use string-match-p. Quote function with #'.
3161
3162 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3163 (help-make-xrefs): Use looking-at-p.
3164 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3165
3166 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3167 (ibuffer-confirm-operation-on): Use string-match-p.
3168
3169 * msb.el (msb-item-handler, msb-dired-item-handler):
3170 Mark unused arguments.
3171
3172 * ses.el (ses-decode-cell-symbol)
3173 (ses-kill-override): Remove unused local variable.
3174 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3175 (ses-load): Use ignore-errors, looking-at-p.
3176 (ses-jump-safe): Use ignore-errors.
3177 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3178
3179 * tabify.el (untabify, tabify): Mark unused arguments.
3180
3181 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3182 Mark unused argument.
3183 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3184 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3185
c880af52
JB
3186 * emacs-lisp/timer.el (timer--time): Define setter with
3187 gv-define-setter to avoid deprecation warning.
3188
5660113b 3189 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3190 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3191 (cmpl-statistics-block): Remove (body was commented out).
3192 All callers changed.
3193 (add-completions-from-buffer, load-completions-from-file):
3194 Remove unused variables.
3195
156aab80
JB
31962013-08-09 Juanma Barranquero <lekktu@gmail.com>
3197
5c5dee78
JB
3198 * filecache.el (file-cache-delete-file-list):
3199 Print message only when told so.
3200 (file-cache-files-matching): Use #' in mapconcat argument.
3201
156aab80
JB
3202 * ffap.el (ffap-url-at-point): Fix reference to variable
3203 thing-at-point-default-mail-uri-scheme.
3204
ad9dcd70
SM
32052013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3206
54bd972f
SM
3207 * subr.el (define-error): New function.
3208 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3209 error-file-not-found and define with define-error.
3210 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3211 and define with define-error.
3212 * userlock.el (file-locked, file-supersession):
3213 * simple.el (mark-inactive):
3214 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3215 * progmodes/ada-mode.el (ada-mode-errors):
3216 * play/life.el (life-extinct):
3217 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3218 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3219 * nxml/rng-util.el (rng-error):
3220 * nxml/rng-uri.el (rng-uri-error):
3221 * nxml/rng-match.el (rng-compile-error):
3222 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3223 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3224 * nxml/nxml-rap.el (nxml-scan-error):
3225 * nxml/nxml-outln.el (nxml-outline-error):
3226 * net/soap-client.el (soap-error):
3227 * net/gnutls.el (gnutls-error):
3228 * net/ange-ftp.el (ftp-error):
3229 * mpc.el (mpc-proc-error):
3230 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3231 (json-number-format, json-string-escape, json-string-format)
3232 (json-key-format, json-object-format):
3233 * jka-compr.el (compression-error):
3234 * international/quail.el (quail-error):
3235 * international/kkc.el (kkc-error):
3236 * emacs-lisp/ert.el (ert-test-failed):
3237 * calc/calc.el (calc-error, inexact-result, math-overflow)
3238 (math-underflow):
3239 * bookmark.el (bookmark-error-no-filename):
3240 * epg.el (epg-error): Define with define-error.
3241
0ea9e53a
SM
3242 * time.el (display-time-event-handler)
3243 (display-time-next-load-average): Don't call sit-for since it seems
3244 unnecessary (bug#15045).
3245
b0429158
SM
3246 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3247 Use #' instead of ' to quote functions.
3248 (checkdoc-output-mode): Use setq-local.
3249 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3250 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3251 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3252 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3253 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3254 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3255 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3256 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3257
ad9dcd70
SM
3258 * ido.el (ido-completion-help): Fix up compiler warning.
3259
77187e6f
JB
32602013-08-09 Juanma Barranquero <lekktu@gmail.com>
3261
3262 * frameset.el (frameset-p): Add autoload cookie.
3263 (frameset--jump-to-register): New function, based on code moved from
3264 register.el.
3265 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3266
3267 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3268 (frameset-restore, frameset-save, frameset-session-filter-alist):
3269 Remove declarations.
3270 (register-alist): Doc fix.
3271 (frameset-to-register): Move to frameset.el.
3272 (jump-to-register, describe-register-1): Remove frameset-specific code.
3273
9d3aa82c
JB
32742013-08-08 Juanma Barranquero <lekktu@gmail.com>
3275
3276 * allout-widgets.el (allout-widgets-pre-command-business)
3277 (allout-widgets-post-command-business)
3278 (allout-widgets-after-change-handler)
3279 (allout-decorate-item-and-context, allout-set-boundary-marker)
3280 (allout-body-modification-handler)
3281 (allout-graphics-modification-handler): Mark ignored arguments.
3282 (allout-widgets-post-command-business)
3283 (allout-widgets-exposure-change-processor)
3284 (allout-widgets-exposure-undo-processor)
3285 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3286 (allout-parse-item-at-point, allout-decorate-item-guides)
3287 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3288 * allout.el (epa-passphrase-callback-function): Declare.
3289 (allout-overlay-insert-in-front-handler)
3290 (allout-overlay-interior-modification-handler)
3291 (allout-isearch-end-handler, allout-chart-siblings)
3292 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3293 (allout-yank-processing, allout-process-exposed)
3294 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3295 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3296 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3297 (lisp-indent-defform): Mark ignored arguments.
3298 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3299 (calculate-lisp-indent): Remove unused variables.
3300 * international/characters.el (indian-2-column, arabic-2-column)
3301 (tibetan): Mark ignored arguments.
3302 (use-cjk-char-width-table): Mark ignored arguments.
3303 Remove unused variables.
3304 * international/fontset.el (build-default-fontset-data)
3305 (x-compose-font-name, create-fontset-from-fontset-spec):
3306 Mark ignored arguments.
3307 (fontset-plain-name): Remove unused variables.
3308 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3309 (keyboard-coding-system): Mark ignored arguments.
3310 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3311 * help.el (resize-temp-buffer-window):
3312 * window.el (display-buffer-in-major-side-window)
3313 (display-buffer-in-side-window, display-buffer-in-previous-window):
3314 Remove unused variables.
3315 * isearch.el (isearch-forward-symbol):
3316 * version.el (emacs-bzr-version-bzr):
3317 * international/mule-cmds.el (current-language-environment):
3318 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3319 (x-handle-display):
3320 * term/pc-win.el (x-list-fonts, x-display-planes)
3321 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3322 (x-server-version, x-display-screens, x-display-mm-height)
3323 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3324 (x-selection-owner-p, x-own-selection-internal)
3325 (x-disown-selection-internal, x-get-selection-internal)
3326 (msdos-initialize-window-system):
3327 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3328 * term/x-win.el (x-handle-no-bitmap-icon):
3329 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3330 (vc-default-find-file-hook, vc-default-extra-menu):
3331 Mark ignored arguments.
3332
0ca3f70e
SM
33332013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3336 break-condition in the context of the debugged code (bug#12685).
3337
74c5d24c
CS
33382013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3339
3340 * comint.el:
3341 Do not use an overlay to highlight the last prompt. (Bug#14744)
3342 (comint-mode): Make comint-last-prompt buffer local.
3343 (comint-last-prompt): New variable.
3344 (comint-last-prompt-overlay): Remove. Superseded by
3345 comint-last-prompt.
0ca3f70e
SM
3346 (comint-snapshot-last-prompt, comint-output-filter):
3347 Use comint-last-prompt.
74c5d24c 3348
c03c02ee
JB
33492013-08-08 Juanma Barranquero <lekktu@gmail.com>
3350
a3738d20 3351 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3352 (frameset-save): Check validity of the resulting frameset.
3353
04263d23
XF
33542013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3355
3356 * ido.el (ido-record-command): Add doc string.
3357
76c5e5ab
JB
33582013-08-08 Juanma Barranquero <lekktu@gmail.com>
3359
3360 * frameset.el (frameset): Do not disable creation of the default
3361 frameset-p predicate. Doc fix.
3362 (frameset-valid-p): New function, copied from the old predicate-p.
3363 Add additional checks.
3364 (frameset-restore): Check with frameset-valid-p.
3365 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3366 (frameset-name, frameset-description, frameset-properties)
3367 (frameset-states): Add docstring.
f9dbf1cb
JB
3368 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3369 (frameset-filter-alist): Doc fixes.
76c5e5ab 3370
bd0c3c0b
JB
33712013-08-08 Juanma Barranquero <lekktu@gmail.com>
3372
3373 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3374
c735544c
SM
33752013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3378 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3379 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3380 (byte-compile-normal-call): Remove obsolescence check.
3381
2805a651
JB
33822013-08-08 Juanma Barranquero <lekktu@gmail.com>
3383
3677ffeb
JB
3384 * frameset.el (frameset-restore): Doc fix.
3385
2805a651
JB
3386 * register.el (frameset-frame-id, frameset-frame-with-id)
3387 (frameset-p, frameset-restore, frameset-save): Declare.
3388 (register-alist): Document framesets.
3389 (frameset-session-filter-alist): Declare.
3390 (frameset-to-register): New function.
3391 (jump-to-register): Implement jumping to framesets. Doc fix.
3392 (describe-register-1): Describe framesets.
3393
3394 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3395
a912c016
JB
33962013-08-07 Juanma Barranquero <lekktu@gmail.com>
3397
3398 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3399 Use lexical-binding.
3400
3401 * frameset.el (frameset): Use type vector, not list (incompatible
3402 change). Do not declare a new constructor, use the default one.
3403 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3404 `name' and `description', respectively, and add read-only slot
3405 `timestamp'. Doc fixes.
3406 (frameset-copy, frameset-persistent-filter-alist)
3407 (frameset-filter-alist, frameset-switch-to-gui-p)
3408 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3409 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3410 (frameset-filter-iconified, frameset-keep-original-display-p):
3411 Doc fixes.
3412 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3413 Rename from frameset-filter-(save|restore)-param. All callers changed.
3414 Doc fix.
3415 (frameset-p): Adapt to change to vector and be more thorough.
3416 Change arg name to OBJECT. Doc fix.
3417 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3418 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3419 All callers changed.
3420 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3421 All callers changed.
3422 (frameset--record-minibuffer-relationships): Rename from
3423 frameset--process-minibuffer-frames. All callers changed.
3424 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3425 Use new default constructor (again). Doc fix.
3426 (frameset--find-frame-if): Rename from `frameset--find-frame.
3427 All callers changed.
3428 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3429 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3430 Doc fix.
3431 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3432 PARAMETERS and WINDOW-STATE, respectively.
3433 (frameset-restore): Add new keyword argument PREDICATE.
3434 Reset frameset--target-display to nil. Doc fix.
3435
bb41480a
SM
34362013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3437
f001e98e
SM
3438 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3439 (bat-mode): Use it.
3440 (bat-mode-syntax-table): Mark \n as end-of-comment.
3441 (bat-font-lock-keywords): Remove comment rule.
3442
7679edb1
SM
3443 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3444 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3445
bb41480a
SM
3446 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3447 (byte-compile-callargs-warn): Use `push'.
3448 (byte-compile-arglist-warn): Ignore higher-order "calls".
3449 (byte-compile-file-form-autoload): Use `pcase'.
3450 (byte-compile-function-form): If quoting a symbol, check that it exists.
3451
cdc1ebb9
EZ
34522013-08-07 Eli Zaretskii <eliz@gnu.org>
3453
3454 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3455 and add a few popular commands found in batch files.
3456 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3457 (dos-mode): Doc fixes.
3458
312b1740
SM
34592013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3462 (dos-mode): Use setq-local. Add space after "rem".
3463 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3464 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3465
400a3178
AM
34662013-08-07 Arni Magnusson <arnima@hafro.is>
3467
3468 * progmodes/dos.el: New file.
3469 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3470 dos-mode.
3471
3b5c03d3
GM
34722013-08-06 Glenn Morris <rgm@gnu.org>
3473
3474 * calendar/calendar.el: Add new faces, and day-header-array.
3475 (calendar-weekday-header, calendar-weekend-header)
3476 (calendar-month-header): New faces.
3477 (calendar-day-header-construct): New function.
3478 (calendar-day-header-width): Also :set calendar-day-header-array.
3479 (calendar-american-month-header, calendar-european-month-header)
3480 (calendar-iso-month-header): Use calendar- faces.
3481 (calendar-generate-month):
3482 Use calendar-day-header-array for day headers; apply faces to them.
3483 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3484 (calendar-abbrev-construct): Add optional maxlen argument.
3485 (calendar-day-name-array): Doc fix.
3486 (calendar-day-name-array, calendar-abbrev-length)
3487 (calendar-day-abbrev-array):
3488 Also :set calendar-day-header-array, and maybe redraw.
3489 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3490 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3491 (calendar-day-name): Add option to use header array.
3492
ec6a2d7a
LMI
34932013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3494
3495 * net/shr.el (shr-render-td): Remove debugging.
3496 (shr-render-td): Make width computation consistent by defaulting
3497 all zero-width columns to 10 characters. This may not be optimal,
3498 but it's at least consistent.
2122cb6d
LMI
3499 (shr-make-table-1): Redo last change to fix the real problem in
3500 colspan handling.
ec6a2d7a 3501
ed4fd9c5
DA
35022013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3503
0ca3f70e
SM
3504 * files.el (cache-long-line-scans):
3505 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3506
64e22afe
JB
35072013-08-06 Juanma Barranquero <lekktu@gmail.com>
3508
024b38fc
JB
3509 * frameset.el (frameset, frameset-filter-alist)
3510 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3511 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3512 (frameset-compute-pos): Rename from frameset--compute-pos,
3513 and add docstring.
3514 (frameset-move-onscreen): Use frameset-compute-pos.
3515 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3516
64e22afe
JB
3517 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3518 Fix typos in docstrings.
3519
c8c2aca8
DA
35202013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3521
3522 * frame.el (get-other-frame): Tiny cleanup.
3523
1d237bba
JB
35242013-08-06 Juanma Barranquero <lekktu@gmail.com>
3525
8951efef
JB
3526 * vc/vc.el (vc-default-ignore-completion-table):
3527 Silence byte-compiler warning.
3528
307764cc
JB
3529 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3530 slot , which can indeed be nil.
3531 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3532 Move entry for `left' from persistent to live filter alist.
3533 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3534 Doc fixes.
3535 (frameset-filter-params): When restoring a frame, copy items added to
3536 `filtered', to avoid unwittingly modifying the original parameters.
3537 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3538 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3539
1d237bba
JB
3540 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3541 to use looking-at-p instead of looking-at. (Bug#15028)
3542
dc6c0eda
SM
35432013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 Revert introduction of isearch-filter-predicates (bug#14714).
3546 Rely on add-function instead.
3547 * isearch.el (isearch-filter-predicates): Rename it back to
3548 isearch-filter-predicate.
3549 (isearch-message-prefix): Use advice-function-mapc and advice
3550 properties to get the isearch-message-prefix.
3551 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3552 instead of run-hook-with-args-until-failure.
3553 (isearch-filter-visible): Not obsolete any more.
3554 * loadup.el: Preload nadvice.
3555 * replace.el (perform-replace): Revert to funcall
3556 instead of run-hook-with-args-until-failure.
3557 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3558 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3559 dired-isearch-filenames-toggle; make it into a proper minor mode.
3560 Use add/remove-function.
3561 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3562 Call the minor-mode rather than add/remove-hook.
3563 (dired-isearch-filter-filenames):
3564 Remove isearch-message-prefix property.
3565 * info.el (Info--search-loop): New function, extracted from Info-search.
3566 Funcall isearch-filter-predicate instead of
3567 run-hook-with-args-until-failure isearch-filter-predicates.
3568 (Info-search): Use it.
3569 (Info-mode): Use isearch-filter-predicate instead of
3570 isearch-filter-predicates.
3571
290d5b58
DA
35722013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3573
3574 Do not call to `selected-window' where it is assumed by default.
3575 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3576 `window-hscroll', `window-width', `window-height', `window-buffer',
3577 `window-frame', `window-start', `window-point', `next-window'
3578 and `window-display-table'.
3579 * abbrev.el (abbrev--default-expand):
3580 * bs.el (bs--show-with-configuration):
3581 * buff-menu.el (Buffer-menu-mouse-select):
3582 * calc/calc.el (calc):
3583 * calendar/calendar.el (calendar-generate-window):
3584 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3585 (diary-make-entry):
3586 * comint.el (send-invisible, comint-dynamic-complete-filename)
3587 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3588 * completion.el (complete):
3589 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3590 * disp-table.el (describe-current-display-table):
3591 * doc-view.el (doc-view-insert-image):
3592 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3593 * ehelp.el (with-electric-help):
3594 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3595 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3596 * emacs-lisp/helper.el (Helper-help-scroller):
3597 * emulation/cua-base.el (cua--post-command-handler-1):
3598 * eshell/esh-mode.el (eshell-output-filter):
3599 * ffap.el (ffap-gnus-wrapper):
3600 * help-macro.el (make-help-screen):
3601 * hilit-chg.el (highlight-compare-buffers):
3602 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3603 * hl-line.el (global-hl-line-highlight):
3604 * icomplete.el (icomplete-simple-completing-p):
3605 * isearch.el (isearch-done):
3606 * jit-lock.el (jit-lock-stealth-fontify):
3607 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3608 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3609 * mpc.el (mpc-tagbrowser, mpc):
3610 * net/rcirc.el (rcirc-any-buffer):
3611 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3612 * play/landmark.el (landmark-max-width, landmark-max-height):
3613 * play/zone.el (zone):
3614 * progmodes/compile.el (compilation-goto-locus):
3615 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3616 * progmodes/etags.el (find-tag-other-window):
3617 * progmodes/fortran.el (fortran-column-ruler):
3618 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3619 * progmodes/verilog-mode.el (verilog-point-text):
3620 * reposition.el (reposition-window):
3621 * rot13.el (toggle-rot13-mode):
3622 * server.el (server-switch-buffer):
3623 * shell.el (shell-dynamic-complete-command)
3624 (shell-dynamic-complete-environment-variable):
3625 * simple.el (insert-buffer, set-selective-display)
3626 (delete-completion-window):
3627 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3628 (speedbar-recenter):
3629 * startup.el (fancy-splash-head):
3630 * textmodes/ispell.el (ispell-command-loop):
3631 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3632 * tutorial.el (help-with-tutorial):
3633 * vc/add-log.el (add-change-log-entry):
3634 * vc/compare-w.el (compare-windows):
3635 * vc/ediff-help.el (ediff-indent-help-message):
3636 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3637 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3638 (ediff-setup-control-frame):
3639 * vc/emerge.el (emerge-position-region):
3640 * vc/pcvs-util.el (cvs-bury-buffer):
3641 * window.el (walk-windows, mouse-autoselect-window-select):
3642 * winner.el (winner-set-conf, winner-undo): Related users changed.
3643
38276e01
JB
36442013-08-05 Juanma Barranquero <lekktu@gmail.com>
3645
3646 * frameset.el (frameset--set-id): Doc fix.
3647 (frameset-frame-id, frameset-frame-id-equal-p)
3648 (frameset-locate-frame-id): New functions.
3649 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3650 (frameset-restore): Use them.
3651
12b4c0ea
DA
36522013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3653
3654 Do not call to `selected-frame' where it is assumed by default.
3655 Affected functions are `raise-frame', `redraw-frame',
3656 `frame-first-window', `frame-terminal' and `delete-frame'.
3657 * calendar/appt.el (appt-disp-window):
3658 * epg.el (epg-wait-for-completion):
3659 * follow.el (follow-delete-other-windows-and-split)
3660 (follow-avoid-tail-recenter):
3661 * international/mule.el (set-terminal-coding-system):
3662 * mail/rmail.el (rmail-mail-return):
3663 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3664 * progmodes/f90.el (f90-add-imenu-menu):
3665 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3666 * server.el (server-switch-buffer):
3667 * simple.el (delete-completion-window):
3668 * talk.el (talk):
3669 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3670 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3671 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3672 * vc/ediff.el (ediff-documentation): Related users changed.
3673 * frame.el (selected-terminal): Remove the leftover.
3674
17f25e76
GM
36752013-08-05 Glenn Morris <rgm@gnu.org>
3676
3677 * calendar/calendar.el (calendar-generate-month):
3678 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3679 (calendar-generate-month, calendar-font-lock-keywords):
3680 Fix for calendar-day-header-width > length of any day name.
17f25e76 3681
063233c3
JB
36822013-08-05 Juanma Barranquero <lekktu@gmail.com>
3683
3684 * desktop.el (desktop-clear): Use new name of sort predicate.
3685
3686 * frameset.el (frameset): Add docstring. Move :version property to its
3687 own `version' slot.
3688 (frameset-copy): Rename from copy-frameset.
3689 (frameset-p): Check more thoroughly.
3690 (frameset-prop): Do not check for :version, which is no longer a prop.
3691 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3692 Use new :never value instead of t.
3693 (frameset-filter-alist): Expand and clarify docstring.
3694 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3695 (frameset-filter-minibuffer, frameset-filter-save-param)
3696 (frameset-filter-restore-param, frameset-filter-iconified):
3697 Add pointer to docstring of frameset-filter-alist.
3698 (frameset-filter-params): Rename filter values to be more meaningful:
3699 :never instead of t, and reverse the meanings of :save and :restore.
3700 (frameset--process-minibuffer-frames): Clarify error message.
3701 (frameset-save): Avoid unnecessary and confusing call to framep.
3702 Use new BOA constructor for framesets.
3703 (frameset--reuse-list): Doc fix.
3704 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3705 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3706 (frameset-minibufferless-first-p): Doc fix.
3707 Rename from frameset-sort-frames-for-deletion.
3708 (frameset-restore): Doc fixes. Use new function names.
3709 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3710
d5671a82
JB
37112013-08-04 Juanma Barranquero <lekktu@gmail.com>
3712
3713 * desktop.el (desktop-restore-forces-onscreen)
3714 (desktop-restore-reuses-frames): Document :keyword constant values.
3715 (desktop-filter-parameters-alist): Remove, now identical to
3716 frameset-filter-alist.
3717 (desktop--filter-tty*): Remove, moved to frameset.el.
3718 (desktop-save-frameset, desktop-restore-frameset):
3719 Do not pass :filters argument.
3720
3721 * frameset.el (frameset-live-filter-alist)
3722 (frameset-persistent-filter-alist): New variables.
3723 (frameset-filter-alist): Use them. Add autoload cookie.
3724 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3725 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3726 `frameset--id' (it's supposed to be internal to frameset.el).
3727 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3728 (frameset--initial-params): New function.
3729 (frameset--get-frame): Use it. Doc fix.
3730 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3731 Accept :all, not 'all.
3732 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3733 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3734 with fbound symbols. Fix frame id matching, and remove matching ids if
3735 the frame being restored is deleted. Obey :delete.
3736
671d5c16
SM
37372013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * subr.el (macrop): New function.
3740 (text-clone--maintaining): New var.
3741 (text-clone--maintain): Rename from text-clone-maintain. Use it
3742 instead of inhibit-modification-hooks.
3743
3744 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3745 a proxy, so as handle autoloads and redefinitions of the target.
3746 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3747
3748 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3749 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3750 (pcase--mutually-exclusive-p): New function.
3751 (pcase--split-consp): Use it.
3752 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3753 mutually exclusive with the current predicate.
3754
3755 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3756 (edebug-macrop): Remove. Use `macrop' instead.
3757 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3758 (ad-macro-p):
3759 * eshell/esh-cmd.el (eshell-macrop):
3760 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3761
1d44e9dc
SM
37622013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3765 (advice-mapc): New function, using it.
3766 (advice-function-member-p): New function.
3767 (advice--normalize): Store the cdr in advice--saved-rewrite since
3768 that's the part that will be changed.
3769 (advice--symbol-function): New function.
3770 (advice-remove): Handle removal before the function is defined.
3771 Adjust to new advice--saved-rewrite.
3772 (advice-member-p): Use advice-function-member-p and
3773 advice--symbol-function.
3774
5414a283
JB
37752013-08-04 Juanma Barranquero <lekktu@gmail.com>
3776
51d30f2c
JB
3777 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3778 (frameset-filter-minibuffer): Doc fix.
3779 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3780 (frameset--set-id, frameset--process-minibuffer-frames)
3781 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3782 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3783
5414a283
JB
3784 * desktop.el (desktop-clear): Only delete frames when called
3785 interactively and desktop-restore-frames is non-nil. Doc fix.
3786 (desktop-read): Set desktop-saved-frameset to nil.
3787
ab419665
XF
37882013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3789
3790 * vc/vc.el (vc-ignore): Rewrite.
3791 (vc-default-ignore-completion-table):
3792 (vc--read-lines):
3793 (vc--add-line, vc--remove-regexp): New functions.
3794
3795 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3796 (vc-svn-ignore-completion-table): New function.
3797
3798 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3799 (vc-hg-ignore-completion-table):
3800 (vc-hg-find-ignore-file): New functions.
3801
3802 * vc/vc-git.el (vc-git-ignore): Rewrite.
3803 (vc-git-ignore-completion-table):
3804 (vc-git-find-ignore-file): New functions.
3805
3806 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3807
3808 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3809 (vc-bzr-ignore-completion-table):
3810 (vc-bzr-find-ignore-file): New functions.
3811
2613dea2
JB
38122013-08-03 Juanma Barranquero <lekktu@gmail.com>
3813
3814 * frameset.el (frameset-prop): New function and setter.
3815 (frameset-save): Do not modify frame list passed by the caller.
3816
9c959872
SM
38172013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3820
a104f656
SM
38212013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3822
70122acf
SM
3823 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3824 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3825
a104f656
SM
3826 * custom.el (custom-initialize-default, custom-initialize-set)
3827 (custom-initialize-reset, custom-initialize-changed): Affect the
3828 toplevel-default-value (bug#6275, bug#14586).
3829 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3830 for bug#6275.
3831
f078d570
JB
38322013-08-02 Juanma Barranquero <lekktu@gmail.com>
3833
185e3b5a
JB
3834 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3835 Add cl-def* expressions.
3836
f078d570
JB
3837 * frameset.el (frameset-filter-params): Fix order of arguments.
3838
9421876d
JB
38392013-08-02 Juanma Barranquero <lekktu@gmail.com>
3840
3841 Move code related to saving frames to frameset.el.
3842 * desktop.el: Require frameset.
3843 (desktop-restore-frames): Doc fix.
3844 (desktop-restore-reuses-frames): Rename from
3845 desktop-restoring-reuses-frames.
3846 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3847 (desktop-clear): Clear frames too.
3848 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3849 (desktop--filter-tty*, desktop-save, desktop-read):
3850 Use frameset functions.
3851 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3852 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3853 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3854 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3855 (desktop--process-minibuffer-frames, desktop-save-frames)
3856 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3857 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3858 (desktop--sort-states, desktop-restoring-frames-p)
3859 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3860 (desktop-restoring-frameset-p, desktop-restore-frameset)
3861 (desktop--check-dont-save, desktop-save-frameset): New functions.
3862 (desktop--app-id): New constant.
3863 (desktop-first-buffer, desktop-buffer-ok-count)
3864 (desktop-buffer-fail-count): Move before first use.
3865 * frameset.el: New file.
3866
76dc5996
SM
38672013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3868
3869 * files.el: Use lexical-binding.
3870 (dir-locals-read-from-file): Remove unused `err' variable.
3871 (hack-dir-local-variables--warned-coding): New var.
3872 (hack-dir-local-variables): Use it to avoid repeated warnings.
3873 (make-backup-file-name--default-function): New function.
3874 (make-backup-file-name-function): Use it as default.
3875 (buffer-stale--default-function): New function.
3876 (buffer-stale-function): Use it as default.
3877 (revert-buffer-insert-file-contents--default-function): New function.
3878 (revert-buffer-insert-file-contents-function): Use it as default.
3879 (insert-directory): Avoid add-to-list.
3880
3881 * autorevert.el (auto-revert-handler): Simplify.
3882 Use buffer-stale--default-function.
3883
06d36e2b
TH
38842013-08-01 Tassilo Horn <tsdh@gnu.org>
3885
5f648ab4
TH
3886 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3887
06d36e2b
TH
3888 * whitespace.el (whitespace-ensure-local-variables): New function.
3889 (whitespace-cleanup-region): Call it.
3890 (whitespace-turn-on): Call it.
3891
a43dc424
MA
38922013-08-01 Michael Albinus <michael.albinus@gmx.de>
3893
3894 Complete file name handlers.
3895
3896 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3897 (tramp-handle-verify-visited-file-modtime)
3898 (tramp-handle-file-notify-rm-watch): New functions.
3899 (tramp-call-process): Do not bind `default-directory'.
3900
44e18199
JB
3901 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3902 Order alphabetically.
a43dc424
MA
3903 [access-file, add-name-to-file, dired-call-process]:
3904 [dired-compress-file, file-acl, file-notify-rm-watch]:
3905 [file-ownership-preserved-p, file-selinux-context]:
3906 [make-directory-internal, make-symbolic-link, set-file-acl]:
3907 [set-file-selinux-context, set-visited-file-modtime]:
3908 [verify-visited-file-modtime]: Add handler.
3909 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3910
3911 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3912 [file-notify-add-watch, file-notify-rm-watch]:
3913 [set-file-times, set-visited-file-modtime]:
3914 [verify-visited-file-modtime]: Add handler.
3915 (with-tramp-gvfs-error-message)
3916 (tramp-gvfs-handle-set-visited-file-modtime)
3917 (tramp-gvfs-fuse-file-name): Remove.
3918 (tramp-gvfs-handle-file-notify-add-watch)
3919 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3920 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3921
44e18199
JB
3922 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3923 Order alphabetically.
a43dc424
MA
3924 [file-notify-rm-watch ]: Use default Tramp handler.
3925 [executable-find]: Remove private handler.
3926 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3927 `default-directory'.
3928 (tramp-sh-handle-executable-find)
3929 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3930 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3931 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3932 Do not use `format' in `tramp-message'.
3933
3934 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3935 [file-notify-rm-watch, set-visited-file-modtime]:
3936 [verify-visited-file-modtime]: Add handler.
3937 (tramp-smb-call-winexe): Do not bind `default-directory'.
3938
7188b515
XF
39392013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3940
3941 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3942
2412ee1a
DG
39432013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3944
3945 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3946 use it.
3947 (log-view-diff-changeset): Same.
3948 (log-view-diff-common): Call backend command `previous-revision'
3949 to find out the previous revision, in both cases. Swap the
3950 variables `to' and `fr', so that `fr' usually refers to the
3951 earlier revision (Bug#14989).
3952
5002a754
KRC
39532013-07-31 Kan-Ru Chen <kanru@kanru.info>
3954
3955 * ibuf-ext.el (ibuffer-filter-by-filename):
3956 Make it work with dired buffers too.
3957
44e18199 39582013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3959
3960 * emacs-lisp/re-builder.el (reb-color-display-p):
3961 * files.el (save-buffers-kill-terminal):
3962 * net/browse-url.el (browse-url):
3963 * server.el (server-save-buffers-kill-terminal):
3964 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3965 Prefer nil to selected-frame for the first arg of frame-parameter.
3966
aeca3fbb
XF
39672013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3968
3969 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3970
158bc55c
SB
39712013-07-30 Stephen Berman <stephen.berman@gmx.net>
3972
3973 * minibuffer.el (completion--twq-all): Try and preserve each
3974 completion's case choice (bug#14907).
3975
d50fceab
LMI
39762013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3977
ac38e731
LMI
3978 * net/network-stream.el (open-network-stream): Mention the new
3979 :nogreeting parameter.
3980 (network-stream-open-starttls): Use the :nogreeting parameter
3981 (bug#14938).
3982
1211de50
LMI
3983 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3984
997798bf
LMI
3985 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3986 more natural than popping.
3987
d50fceab 3988 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3989 (shr-urlify): Highlight under mouse.
d50fceab 3990
5c09de04
XF
39912013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3992
207d1d04
XF
3993 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3994
3995 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3996
5c09de04
XF
3997 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3998 buffer for output.
3999
3cd51eaa
XF
4000 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4001 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4002
44e18199 4003 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4004 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4005
4006 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4007
4008 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4009 buffer for output.
4010
35a89bdd
EZ
40112013-07-29 Eli Zaretskii <eliz@gnu.org>
4012
4013 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4014 initial frame is minibuffer-less. (Bug#14841)
4015
78822e94
MA
40162013-07-29 Michael Albinus <michael.albinus@gmx.de>
4017
4018 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4019 option.
4020
4021 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4022 (tramp-maybe-open-connection): Use it.
4023
9503c190
JB
40242013-07-28 Juanma Barranquero <lekktu@gmail.com>
4025
4026 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4027 minimal set of parameters passed when creating a frame, because
4028 the minibuffer status of a frame cannot be changed later.
4029
d5a845b4
SB
40302013-07-28 Stephen Berman <stephen.berman@gmx.net>
4031
4032 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4033 replace-regexp-in-string and inadvertent omissions in previous change.
4034 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4035 name of filtered items buffer.
d5a845b4 4036
ddeffb17
JB
40372013-07-28 Juanma Barranquero <lekktu@gmail.com>
4038
4039 * desktop.el: Optionally force offscreen frames back onscreen.
4040 (desktop-restoring-reuses-frames): New option.
4041 (desktop--compute-pos, desktop--move-onscreen): New functions.
4042 (desktop--make-frame): Use desktop--move-onscreen.
4043
f5950f7a
AM
40442013-07-27 Alan Mackenzie <acm@muc.de>
4045
4046 Fontify a Java generic method as a function.
4047 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4048 value to t.
4049
ae43b66a
SB
40502013-07-27 Stephen Berman <stephen.berman@gmx.net>
4051
4052 * calendar/todo-mode.el: Add command to rename todo files.
4053 (todo-rename-file): New command.
4054 (todo-key-bindings-t): Add key binding for it. Change the
4055 bindings of todo-filter-regexp-items(-multifile) to use `x'
4056 instead of `r', since the latter is better suited to the new
4057 renaming command.
4058
5ab78d3d
AM
40592013-07-27 Alan Mackenzie <acm@muc.de>
4060
4061 Make Java try-with-resources statement parse properly.
4062 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4063 (c-block-stmt-1-2-key): New language constants/variables.
4064 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4065 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4066 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4067 with c-block-stmt-1-2-key.
5ab78d3d 4068
d85c4d50
JB
40692013-07-27 Juanma Barranquero <lekktu@gmail.com>
4070
4071 * desktop.el (desktop--make-frame): Apply most frame parameters after
4072 creating the frame to force (partially or totally) offscreen frames to
4073 be restored as such.
4074
e4c467f9
XF
40752013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4076
4077 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4078 (Bug#14948)
e4c467f9 4079
7ced0d04
SM
40802013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4083 `base' arg of backtrace-frame.
4084
fec92060
EZ
40852013-07-26 Eli Zaretskii <eliz@gnu.org>
4086
4087 * simple.el (list-processes): Doc fix.
4088
d58d31fb
JB
40892013-07-26 Juanma Barranquero <lekktu@gmail.com>
4090
4091 * desktop.el (desktop--select-frame):
d85c4d50 4092 Try harder to reuse existing frames.
d58d31fb 4093
53ff3e77
SM
40942013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4097 (edebug-eval): Use backtrace-eval.
4098 (edebug--display, edebug--recursive-edit): Don't let-bind the
4099 edebug-outer-* vars that keep track of variables we locally let-bind.
4100 (edebug-outside-excursion): Don't restore outside values of locally
4101 let-bound vars.
4102 (edebug--display): Use user-error.
4103 (cl-lexical-debug, cl-debug-env): Remove.
4104
045f7a53
JB
41052013-07-26 Juanma Barranquero <lekktu@gmail.com>
4106
4107 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4108 are restored to be sure that they are visible before deleting any
4109 remaining ones.
4110
59070b32
MM
41112013-07-26 Matthias Meulien <orontee@gmail.com>
4112
742a3501
XF
4113 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4114 vc-print-root-log. (Bug#14948)
59070b32 4115
b1fb3596
RS
41162013-07-26 Richard Stallman <rms@gnu.org>
4117
4118 Add aliases for encrypting mail.
4119 * epa.el (epa-mail-aliases): New option.
4120 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4121 Bind inhibit-read-only so read-only text doesn't ruin everything.
4122 (epa-mail-default-recipients): New subroutine broken out.
4123 Handle epa-mail-aliases.
4124
56ea7291
SM
41252013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 Add support for lexical variables to the debugger's `e' command.
4128 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4129 vars, except for debugger-outer-match-data.
4130 (debugger-frame-number): Move check for "on a function call" from
4131 callers into it. Add `skip-base' argument.
4132 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4133 (debugger-env-macro): Only reset the state stored in non-variables,
4134 i.e. current-buffer and match-data.
4135 (debugger-eval-expression): Rewrite using backtrace-eval.
4136 * subr.el (internal--called-interactively-p--get-frame): Remove.
4137 (called-interactively-p):
4138 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4139 `base' arg of backtrace-frame instead.
4140
15ac32d5
GM
41412013-07-26 Glenn Morris <rgm@gnu.org>
4142
8358a09d
GM
4143 * align.el (align-regexp): Doc fix. (Bug#14857)
4144 (align-region): Explicit error if subexpression missing/does not match.
4145
15ac32d5
GM
4146 * simple.el (global-visual-line-mode):
4147 Do not duplicate the mode lighter. (Bug#14858)
4148
f47ad11b
MR
41492013-07-25 Martin Rudalics <rudalics@gmx.at>
4150
4151 * window.el (display-buffer): In display-buffer bind
4152 split-window-keep-point to t, bug#14829.
4153
02530987
JB
41542013-07-25 Juanma Barranquero <lekktu@gmail.com>
4155
4156 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4157 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4158 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4159 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4160 Change accordingly.
f63ebeb5
JB
4161 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4162 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4163
6ccb9cab 41642013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4165
6ccb9cab 4166 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4167
cb3a56d2
JB
41682013-07-25 Juanma Barranquero <lekktu@gmail.com>
4169
4170 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4171 parameter to modify-frame-parameters if the value has not changed;
4172 this is a workaround for bug#14949.
4173 (desktop--make-frame): On cl-delete-if call, check parameter name,
4174 not full parameter.
4175
7aa7fff0
XF
41762013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4177
4178 * vc/vc.el (vc-ignore): New function.
4179
4180 * vc/vc-svn.el (vc-svn-ignore): New function.
4181
4182 * vc/vc-hg.el (vc-hg-ignore): New function.
4183
4184 * vc/vc-git.el (vc-git-ignore): New function.
4185
4186 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4187 (vc-dir-ignore): New function.
4188
4189 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4190 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4191
4192 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4193
4194 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4195
889acc5c
JB
41962013-07-24 Juanma Barranquero <lekktu@gmail.com>
4197
4198 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4199 (desktop-restore-frames): Warn when deleting an existing frame failed.
4200
86c40970
GM
42012013-07-24 Glenn Morris <rgm@gnu.org>
4202
4203 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4204
d5d3c58a
MA
42052013-07-24 Michael Albinus <michael.albinus@gmx.de>
4206
4207 * filenotify.el (file-notify-supported-p):
4208 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4209 Remove functions.
4210
4211 * autorevert.el (auto-revert-use-notify):
4212 (auto-revert-notify-add-watch):
4213 * net/tramp.el (tramp-file-name-for-operation):
4214 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4215 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4216 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4217 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4218 Remove `file-notify-supported-p' entry.
4219
d100084b
GM
42202013-07-24 Glenn Morris <rgm@gnu.org>
4221
4222 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4223 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4224
ac93e56b
SM
42252013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4226
249eea30
SM
4227 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4228 checked with memq (bug#14935).
4229
ac93e56b
SM
4230 * files.el (revert-buffer-function): Use a non-nil default.
4231 (revert-buffer-preserve-modes): Declare var to
4232 provide access to the `preserve-modes' argument.
4233 (revert-buffer): Let-bind it.
4234 (revert-buffer--default): New function, extracted from revert-buffer.
4235
2cdeb903
SM
42362013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4237
4238 * lpr.el: Signal print errors more prominently.
4239 (print-region-function): Don't default to nil.
4240 (lpr-print-region): New function, extracted from print-region-1.
4241 Check lpr's return value and signal an error in case of problem.
4242 (print-region-1): Use it.
4243 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4244 versions instead.
4245 (ps-printer-name): Default to nil.
4246 (ps-printer-name-option): Default to lpr-printer-switch.
4247 (ps-print-region-function): Don't default to nil.
4248 (ps-postscript-code-directory): Simplify default.
4249 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4250 (ps-string-list, ps-eval-switch, ps-flatten-list)
4251 (ps-flatten-list-1): Remove.
4252 (ps-multibyte-buffer): Avoid setq.
4253 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4254 (print-region-function, ps-print-region-function): Don't set them here.
4255
73600831
XF
42562013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4257
0e55c076
XF
4258 * ido.el (ido-fractionp):
4259 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4260 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4261 (ido-max-directory-size, ido-max-dir-file-cache)
4262 (ido-decorations): Doc fix.
4263
73600831
XF
4264 * ansi-color.el: Fix old URL.
4265
3d012865
MM
42662013-07-23 Michael R. Mauger <michael@mauger.com>
4267
e903c210 4268 * progmodes/sql.el: Version 3.3
3d012865
MM
4269 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4270 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4271 (sql-interactive-remove-continuation-prompt): Rewrite, use
4272 functions above. Fix continuation prompt and complete output line
4273 handling.
4274 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4275 redirected output buffer.
4276 (sql-mode): Restore deleted code (Bug#13591).
4277
da77a2e2
JB
42782013-07-23 Juanma Barranquero <lekktu@gmail.com>
4279
4280 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4281
80ff0c71
MA
42822013-07-23 Michael Albinus <michael.albinus@gmx.de>
4283
4284 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4285
4286 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4288 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4289
b61d71e4
JB
42902013-07-23 Juanma Barranquero <lekktu@gmail.com>
4291
4292 * desktop.el (desktop-clear): Simplify; remove useless checks
4293 against invalid buffer names.
4294 (desktop-list*): Use cl-list*.
4295 (desktop-buffer-info, desktop-create-buffer): Simplify.
4296
c3512092
LL
42972013-07-23 Leo Liu <sdl.web@gmail.com>
4298
4299 * bookmark.el (bookmark-make-record): Restore NAME as a default
4300 value. (Bug#14933)
4301
0ac26976
SM
43022013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4303
7d22ce18
SM
4304 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4305 extracted from autoload--insert-text.
4306 (autoload--insert-text): Remove.
4307 (autoload--print-cookie-text): New function, extracted from
4308 autoload--insert-cookie-text.
4309 (autoload--insert-cookie-text): Remove.
4310 (autoload-generate-file-autoloads): Adjust calls accordingly.
4311
9b2607e8
SM
4312 * winner.el (winner-hook-installed-p): Remove.
4313 (winner-mode): Simplify accordingly.
4314
c43a8618
SM
4315 * subr.el (add-to-list): Fix compiler-macro when `append' is
4316 not constant. Don't use `cl-member' for the base case.
4317
0ac26976
SM
4318 * progmodes/subword.el: Fix boundary case (bug#13758).
4319 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4320 own group.
4321 (subword-backward-regexp): Make it a constant.
4322 (subword-forward-internal): Don't treat a trailing capital as the
4323 beginning of a word.
4324
6874724a
AR
43252013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4326
4327 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4328 global value of tabulated-list-revert-hook (bug#14930).
4329
70f1b5e8
JB
43302013-07-22 Juanma Barranquero <lekktu@gmail.com>
4331
a1c80d9d
JB
4332 * desktop.el: Require 'cl-lib.
4333 (desktop-before-saving-frames-functions): New hook.
4334 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4335 for frames being saved. Rename from desktop--save-minibuffer-frames.
4336 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4337 Do not save frames with non-nil `desktop-dont-save' parameter.
4338 Filter out deleted frames.
a1c80d9d
JB
4339 (desktop--find-frame): Use cl-find-if.
4340 (desktop--select-frame): Use cl-(first|second|third) to access values
4341 of desktop-mini.
4342 (desktop--make-frame): Use cl-delete-if.
4343 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4344 (desktop-restore-frames): Use cl-(first|second|third) to access values
4345 of desktop-mini. Look for visible frame at the end, not while
4346 restoring frames.
4347
70f1b5e8
JB
4348 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4349 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4350 Use string-match-p, looking-at-p (bug#14927).
4351
728dc3cc
JB
43522013-07-21 Juanma Barranquero <lekktu@gmail.com>
4353
56bc453c
JB
4354 * desktop.el (desktop-saved-frame-states):
4355 Rename from desktop--saved-states; all users changed.
4356 (desktop-save-frames): Rename from desktop--save-frames.
4357 Do not save state to desktop file.
4358 (desktop-save): Save desktop-saved-frame-states to desktop file
4359 and reset to nil.
4360 (desktop-restoring-frames-p): New function.
4361 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4362 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4363 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4364
728dc3cc
JB
4365 * desktop.el: Correctly restore iconified frames.
4366 (desktop--filter-iconified-position): New function.
4367 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4368
862f1c9c
GM
43692013-07-20 Glenn Morris <rgm@gnu.org>
4370
c4074c9f
GM
4371 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4372 Let `message' do the formatting.
4373 (def-gdb-preempt-display-buffer): Add explicit format.
4374
d828e5f9
GM
4375 * image-dired.el (image-dired-track-original-file):
4376 Use with-current-buffer.
4377 (image-dired-track-thumbnail): Use with-current-buffer.
4378 Avoid changing point of wrong window.
4379
862f1c9c
GM
4380 * image-dired.el (image-dired-track-original-file):
4381 Avoid changing point of wrong window. (Bug#14909)
4382
f0398ec1 43832013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4384
4385 * progmodes/gdb-mi.el (gdb-done-or-error):
4386 Guard against "%" in gdb output. (Bug#14127)
4387
1451928f
AS
43882013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4389
763a086d
JB
4390 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4391 (Bug#14826)
f7a03897 4392
1451928f
AS
4393 * international/mule.el (coding-system-iso-2022-flags): Fix last
4394 change.
4395
99107004
KH
43962013-07-20 Kenichi Handa <handa@gnu.org>
4397
763a086d
JB
4398 * international/mule.el (coding-system-iso-2022-flags):
4399 Add `8-bit-level-4'. (Bug#8522)
99107004 4400
48494e06
LMI
44012013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4402
8ba8eec5
LMI
4403 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4404 (bug#14815).
4405
dfbc66e3
LMI
4406 * net/eww.el (eww-process-text-input): Allow inputting when the
4407 point is at the start of the line, as the properties aren't
4408 front-sticky.
4409
48494e06
LMI
4410 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4411 degenerate widths.
4412
77c92cb9
RS
44132013-07-19 Richard Stallman <rms@gnu.org>
4414
aec7da77
RS
4415 * epa.el (epa-popup-info-window): Doc fix.
4416
77c92cb9
RS
4417 * subr.el (split-string): New arg TRIM.
4418
945c5bb1
JB
44192013-07-18 Juanma Barranquero <lekktu@gmail.com>
4420
4421 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4422 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4423
e06ec67f
MA
44242013-07-18 Michael Albinus <michael.albinus@gmx.de>
4425
c7064f05 4426 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4427 `file-notify-support'. Do not autoload. Adapt all uses.
4428 (file-notify-supported-p): New defun.
4429
c7064f05
JB
4430 * autorevert.el (auto-revert-use-notify):
4431 Use `file-notify-supported-p' instead of `file-notify-support'.
4432 Adapt docstring.
e06ec67f
MA
4433 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4434
4435 * net/tramp.el (tramp-file-name-for-operation):
4436 Add `file-notify-supported-p'.
4437
4438 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4439 New defun.
4440 (tramp-sh-file-name-handler-alist): Add it as handler for
4441 `file-notify-supported-p '.
4442
4443 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4444 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4445 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4446 Add `ignore' as handler for `file-notify-*' functions.
4447
5dc8a629
EZ
44482013-07-17 Eli Zaretskii <eliz@gnu.org>
4449
4450 * simple.el (line-move-partial, line-move): Don't start vscroll or
4451 scroll-up if the current line is not taller than the window.
4452 (Bug#14881)
4453
77aea2fb
DG
44542013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4455
4456 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4457 highlight question marks in the method names as strings.
ac72c08d
DG
4458 (ruby-block-beg-keywords): Inline.
4459 (ruby-font-lock-keyword-beg-re): Extract from
4460 `ruby-font-lock-keywords'.
77aea2fb 4461
18c26d81
JD
44622013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4463
4464 * frame.el (blink-cursor-blinks): New defcustom.
4465 (blink-cursor-blinks-done): New defvar.
4466 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4467 (blink-cursor-timer-function): Check if number of blinks has been
4468 done on X and NS.
4469 (blink-cursor-suspend, blink-cursor-check): New defuns.
4470
da48522e
GM
44712013-07-15 Glenn Morris <rgm@gnu.org>
4472
4473 * edmacro.el (edmacro-format-keys): Fix previous change.
4474
0463c1ef
PE
44752013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4476
4477 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4478 The hack didn't work outside English locales anyway.
4479
b43f6451
JB
44802013-07-15 Juanma Barranquero <lekktu@gmail.com>
4481
4482 * simple.el (define-alternatives): Rename from alternatives-define,
4483 per RMS' suggestion.
4484
b958c0ad
JB
44852013-07-14 Juanma Barranquero <lekktu@gmail.com>
4486
4487 * desktop.el (desktop-restore-frames): Change default to t.
4488 (desktop-restore-in-current-display): Now offer more options.
4489 (desktop-restoring-reuses-frames): New customization option.
4490 (desktop--saved-states): Doc fix.
4491 (desktop-filter-parameters-alist): New variable, renamed and expanded
4492 from desktop--excluded-frame-parameters.
4493 (desktop--target-display): New variable.
4494 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4495 (desktop--filter-tty*, desktop--filter-*-color)
4496 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4497 (desktop--filter-save-desktop-parm)
4498 (desktop-restore-in-original-display-p): New functions.
4499 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4500 (desktop--save-minibuffer-frames): New function, inspired by a similar
4501 function from Martin Rudalics.
4502 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4503 (desktop--restore-in-this-display-p): Remove.
4504 (desktop--find-frame): Rename from desktop--find-frame-in-display
4505 and add predicate argument.
4506 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4507 (desktop--reuse-list): New variable.
4508 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4509 New functions.
4510 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4511
f6dd8b36
MA
45122013-07-14 Michael Albinus <michael.albinus@gmx.de>
4513
4514 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4515
2ce3c565
DG
45162013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4517
763a086d
JB
4518 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4519 Highlight conversion methods on Kernel.
2ce3c565 4520
2cdb7698
AM
45212013-07-13 Alan Mackenzie <acm@muc.de>
4522
4523 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4524 and comment it out. This out-commenting enables certain C++
4525 declarations to be parsed correctly.
4526
1a67b811
EZ
45272013-07-13 Eli Zaretskii <eliz@gnu.org>
4528
1b796d6b
EZ
4529 * international/mule.el (define-coding-system): Doc fix.
4530
1a67b811
EZ
4531 * simple.el (default-font-height): Don't call font-info if the
4532 frame's default font didn't change since the frame was created.
4533 (Bug#14838)
4534
58fbe886
LL
45352013-07-13 Leo Liu <sdl.web@gmail.com>
4536
4537 * ido.el (ido-read-file-name): Guard against non-symbol value.
4538
1f0480d4
FEG
45392013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4540
4541 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4542 in nested defuns.
4543
97ead0e5
LL
45442013-07-13 Leo Liu <sdl.web@gmail.com>
4545
4546 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4547 ido-set-matches call. (Bug#6852)
4548
0880a952
DG
45492013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4550
4551 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4552 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4553 Ruby 2.0.
4554 (ruby-font-lock-keywords): Distinguish calls to functions with
4555 module-like names from module references. Highlight character
4556 literals.
4557
a7d8babb
SDJ
45582013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4559
4560 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4561 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4562
acfcc8c5
JB
45632013-07-12 Juanma Barranquero <lekktu@gmail.com>
4564
4565 * desktop.el (desktop--v2s): Remove unused local variable.
4566 (desktop-save-buffer): Make defvar-local; adjust docstring.
4567 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4568 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4569
051f2775
AS
45702013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4571
4572 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4573
f24e7572
GM
45742013-07-12 Eli Zaretskii <eliz@gnu.org>
4575
4576 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4577 (Bug#14842)
4578
539a920c
GM
45792013-07-12 Glenn Morris <rgm@gnu.org>
4580
4581 * doc-view.el: Require cl-lib at runtime too.
4582 (doc-view-remove-if): Remove.
4583 (doc-view-search-next-match, doc-view-search-previous-match):
4584 Use cl-remove-if.
4585
4586 * edmacro.el: Require cl-lib at runtime too.
4587 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4588 (edmacro-mismatch, edmacro-subseq): Remove.
4589
4590 * shadowfile.el: Require cl-lib.
4591 (shadow-remove-if): Remove.
4592 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4593 Use cl-remove-if.
4594
4595 * wid-edit.el: Require cl-lib.
4596 (widget-choose): Use cl-remove-if.
4597 (widget-remove-if): Remove.
4598
4599 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4600 (ebrowse-delete-if-not): Remove.
4601 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4602 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4603 Use cl-delete-if-not.
4604
1048af7c
JB
46052013-07-12 Juanma Barranquero <lekktu@gmail.com>
4606
4607 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4608 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4609
6c0674ee
LL
46102013-07-12 Leo Liu <sdl.web@gmail.com>
4611
4612 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4613
a19b3c2d
GM
46142013-07-11 Glenn Morris <rgm@gnu.org>
4615
4582a01c
GM
4616 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4617 (edebug-gensym-index, edebug-gensym):
4618 Remove reimplementation of cl-gensym.
4619 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4620
4621 * thumbs.el: Require cl-lib at run-time too.
4622 (thumbs-gensym-counter, thumbs-gensym):
4623 Remove reimplementation of cl-gensym.
4624 (thumbs-temp-file): Use cl-gensym.
4625
a19b3c2d
GM
4626 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4627 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4628 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4629 (ert--union, ert--gensym-counter, ert--gensym-counter)
4630 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4631 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4632 (ert-make-test-unbound, ert--expand-should-1)
4633 (ert--expand-should, ert--should-error-handle-error)
4634 (should-error, ert--explain-equal-rec)
4635 (ert--plist-difference-explanation, ert-select-tests)
4636 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4637 Use cl-lib functions rather than reimplementations.
4638
88f6a933
MA
46392013-07-11 Michael Albinus <michael.albinus@gmx.de>
4640
4641 * net/tramp.el (tramp-methods): Extend docstring.
4642 (tramp-connection-timeout): New defcustom.
4643 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4644 (with-tramp-progress-reporter): Simplify.
4645 (tramp-process-actions): Improve messages.
4646
4647 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4648 * net/tramp-sh.el (tramp-maybe-open-connection):
4649 Use `tramp-connection-timeout'.
4650 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4651 (Bug#14808)
4652
a43d577e
LL
46532013-07-11 Leo Liu <sdl.web@gmail.com>
4654
4655 * ido.el (ido-read-file-name): Conform to the requirements of
4656 read-file-name. (Bug#11861)
4657 (ido-read-directory-name): Conform to the requirements of
4658 read-directory-name.
4659
d77974bf
JB
46602013-07-11 Juanma Barranquero <lekktu@gmail.com>
4661
4662 * subr.el (delay-warning): New function.
4663
35cb8a3e
EZ
46642013-07-10 Eli Zaretskii <eliz@gnu.org>
4665
4666 * simple.el (default-line-height): New function.
4667 (line-move-partial, line-move): Use it instead of computing the
4668 line height inline.
4669 (line-move-partial): Always compute ROWH. If the last line is
4670 partially-visible, but its text is completely visible, allow
4671 cursor to enter such a partially-visible line.
4672
525c5c77
MA
46732013-07-10 Michael Albinus <michael.albinus@gmx.de>
4674
4675 Improve error messages. (Bug#14808)
4676
4677 * net/tramp.el (tramp-current-connection): New defvar, moved from
4678 tramp-sh.el.
0ac26976 4679 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4680 needed anymore.
0ac26976
SM
4681 (tramp-error-with-buffer): Show message in minibuffer.
4682 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4683 (with-tramp-progress-reporter): Improve messages.
4684 (tramp-process-actions): Use progress reporter. Delete process in
4685 case of error. Improve messages.
4686
763a086d
JB
4687 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4688 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4689 (tramp-current-connection): Remove.
525c5c77
MA
4690 (tramp-maybe-open-connection): The car of
4691 `tramp-current-connection' are the first 3 slots of the vector.
4692
c7a4d368
TZ
46932013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4694
4695 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4696 inside continued strings.
4697
954b166e
PE
46982013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4699
4700 Timestamp fixes for undo (Bug#14824).
4701 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4702
56973319
LL
47032013-07-10 Leo Liu <sdl.web@gmail.com>
4704
4705 * files.el (require-final-newline): Allow safe local value.
4706 (Bug#14834)
4707
5550a72c
LL
47082013-07-09 Leo Liu <sdl.web@gmail.com>
4709
4710 * ido.el (ido-read-directory-name): Handle fallback.
4711 (ido-read-file-name): Update DIR to ido-current-directory.
4712 (Bug#1516)
c28b9050 4713 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4714
70c46b28
DG
47152013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4716
4717 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4718 "autoload". Remove "warn lower camel case" section, previously
4719 commented out. Highlight negation char. Do not highlight the
4720 target in singleton method definitions.
4721
0b64b838
SM
47222013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4723
7fd72e2c
SM
4724 * faces.el (tty-setup-hook): Declare the hook.
4725
0b64b838
SM
4726 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4727 and detect when a guard/pred depends on local vars (bug#14773).
4728 (pcase--u1): Adjust caller.
4729
ab49d60b
EZ
47302013-07-08 Eli Zaretskii <eliz@gnu.org>
4731
4732 * simple.el (line-move-partial, line-move): Account for
4733 line-spacing.
701d79aa
EZ
4734 (line-move-partial): Avoid setting vscroll when the last
4735 partially-visible line in window is of default height.
ab49d60b 4736
2d756ae0
LMI
47372013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4738
4739 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4740 been used a while.
4741
ed095bd7
JB
47422013-07-07 Juanma Barranquero <lekktu@gmail.com>
4743
4744 * subr.el (read-quoted-char): Remove unused local variable `char'.
4745
f1e6674b
MK
47462013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4747
584ee3fc
GM
4748 * ediff.el (ediff-version): Version update.
4749 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4750 (ediff-merge-with-ancestor-command, ediff-directories-command)
4751 (ediff-directories3-command, ediff-merge-directories-command)
4752 (ediff-merge-directories-with-ancestor-command): New functions.
4753 All are command-line interfaces to ediff: to facilitate calling
4754 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4755
4756 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4757 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4758
584ee3fc
GM
4759 * viper.el (viper-version): Version update.
4760 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4761
584ee3fc
GM
47622013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4765 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4766 (viper-intercept-ESC-key): Simplify.
4767 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4768 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4769 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4770 (viper-setup-ESC-to-escape): New functions.
4771 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4772 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4773
9aff9b38
EZ
47742013-07-07 Eli Zaretskii <eliz@gnu.org>
4775
5165d44a
JB
4776 * simple.el (default-font-height, window-screen-lines):
4777 New functions.
9aff9b38
EZ
4778 (line-move, line-move-partial): Use them instead of
4779 frame-char-height and window-text-height. This makes scrolling
4780 text smoother when the buffer's default face uses a font that is
4781 different from the frame's default font.
4782
1afb1d07
JD
47832013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4784
4785 * files.el (write-file): Do not display confirm dialog for NS,
4786 it does its own dialog, which can't be cancelled (Bug#14578).
4787
23de972a
EZ
47882013-07-06 Eli Zaretskii <eliz@gnu.org>
4789
4790 * simple.el (line-move-partial): Adjust the row returned by
4791 posn-at-point for the current window-vscroll. (Bug#14567)
4792
54a42486
MA
47932013-07-06 Michael Albinus <michael.albinus@gmx.de>
4794
4795 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4796 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4797 spaces.
4798
34ada5f4
MR
47992013-07-06 Martin Rudalics <rudalics@gmx.at>
4800
4801 * window.el (window-state-put-stale-windows): New variable.
4802 (window--state-put-2): Save list of windows without matching buffer.
4803 (window-state-put): Remove "bufferless" windows if possible.
4804
11e03d89
JB
48052013-07-06 Juanma Barranquero <lekktu@gmail.com>
4806
4807 * simple.el (alternatives-define): Remove leftover :group keyword.
4808 Tweak docstring.
4809
3504a4be
LL
48102013-07-06 Leo Liu <sdl.web@gmail.com>
4811
4812 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4813 (ido-enable-virtual-buffers): New variable.
4814 (ido-buffer-internal, ido-toggle-virtual-buffers)
4815 (ido-make-buffer-list): Use it.
4816 (ido-exhibit): Support turning on and off virtual buffers
4817 automatically.
4818
61e56e2c
JB
48192013-07-06 Juanma Barranquero <lekktu@gmail.com>
4820
4821 * simple.el (alternatives-define): New macro.
4822
321e1a9c
SM
48232013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * subr.el (read-quoted-char): Use read-key.
4826 (sit-for): Let read-event decode tty input (bug#14782).
4827
d610f6dd
SB
48282013-07-05 Stephen Berman <stephen.berman@gmx.net>
4829
4830 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4831 mode command and externally. Fix various related bugs.
4832 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4833 (todo-delete-file): New command.
4834 (todo-check-file): New function.
4835 (todo-show): Handle external deletion of the file we're trying to
4836 show (bug#14688). Replace called-interactively-p by an optional
4837 prefix argument to avoid problematic interaction with catch form
4838 when byte compiled (bug#14702).
4839 (todo-quit): Handle external deletion of the archive's todo file.
4840 Make sure the buffer that was visiting the archive file is still
4841 live before trying to bury it.
4842 (todo-category-completions): Handle external deletion of any
4843 category completion files.
4844 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4845 of todo files, in case of external deletion.
4846 (todo-add-file): Replace unnecessary setq by let-binding.
4847 (todo-find-archive): Check whether there are any archives.
4848 Replace unnecessary setq by let-binding.
4849 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4850 archive buffer whether or not the archive already exists.
4851 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4852 check if the archive is new; if it is, update list of archives.
4853 (todo-default-todo-file): Allow nil to be a valid value for when
4854 there are no todo files.
4855 (todo-reevaluate-default-file-defcustom): Use corrected definition
4856 of todo-default-todo-file.
4857 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4858 (todo-delete-category, todo-show-categories-table)
4859 (todo-category-number): Clarify comment.
4860 (todo-filter-items): Clarify documentation string.
4861 (todo-show-current-file, todo-display-as-todo-file)
4862 (todo-reset-and-enable-done-separator): Tweak documentation string.
4863 (todo-done-separator): Make separator length window-width, since
4864 bug#2749 is now fixed.
4865
ddbdfd6f
MA
48662013-07-05 Michael Albinus <michael.albinus@gmx.de>
4867
321e1a9c
SM
4868 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4869 Support both "gvfs-monitor-dir" and "inotifywait".
4870 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4871 `tramp-sh-file-notify-process-filter'.
4872 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4873 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4874
96eb829a
LL
48752013-07-05 Leo Liu <sdl.web@gmail.com>
4876
4877 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4878
cf13177e
YM
48792013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4880
4881 * frame.el (display-pixel-height, display-pixel-width)
4882 (display-mm-height, display-mm-width): Mention behavior on
4883 multi-monitor setups in docstrings.
4884 (w32-display-monitor-attributes-list): Declare function.
4885 (display-monitor-attributes-list): Use it.
4886
864c58ca
MA
48872013-07-04 Michael Albinus <michael.albinus@gmx.de>
4888
4889 * filenotify.el: New package.
4890
4891 * autorevert.el (top): Require filenotify.el.
4892 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4893 instead.
4894 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4895 (auto-revert-notify-handler): Use `file-notify-*' functions.
4896
4897 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4898
321e1a9c
SM
4899 * net/tramp.el (tramp-file-name-for-operation):
4900 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4901
4902 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4903 for `file-notify-add-watch' and `file-notify-rm-watch'.
4904 (tramp-process-sentinel): Improve trace.
4905 (tramp-sh-handle-file-notify-add-watch)
4906 (tramp-sh-file-notify-process-filter)
4907 (tramp-sh-handle-file-notify-rm-watch)
4908 (tramp-get-remote-inotifywait): New defuns.
4909
96673afe
JL
49102013-07-03 Juri Linkov <juri@jurta.org>
4911
4912 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4913 call of `occur-read-primary-args' to interactive spec.
4914
4915 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4916 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4917
924494f4
MM
49182013-07-03 Matthias Meulien <orontee@gmail.com>
4919
4920 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4921 `Buffer-menu-multi-occur'. Add it to the menu.
4922 (Buffer-menu-mode): Document it in docstring.
4923 (Buffer-menu-multi-occur): New command. (Bug#14673)
4924
56f75efc
DG
49252013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4926
4927 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4928 keywords and built-ins.
4929
9b057d61
GM
49302013-07-03 Glenn Morris <rgm@gnu.org>
4931
208dee4d
GM
4932 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4933
9b057d61
GM
4934 Make info-xref checks case-sensitive by default
4935 * info.el (Info-find-node, Info-find-in-tag-table)
4936 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4937 Add option for exact case matching of nodes.
4938 * info-xref.el (info-xref): New custom group.
4939 (info-xref-case-fold): New option.
4940 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4941
e01aa29c
LL
49422013-07-03 Leo Liu <sdl.web@gmail.com>
4943
4944 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4945
3086ca2e
DG
49462013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4947
4948 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4949 middle of block statement initially, lower the depth. Remove
4950 FIXME comment, not longer valid. Remove middle of block statement
4951 detection, no need to do that anymore since we've been using
4952 `ruby-parse-region' here.
4953
a3b49114
JD
49542013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4955
4956 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4957
08e5c823 49582013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4959
4960 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4961
2addf922
JB
49622013-07-01 Juanma Barranquero <lekktu@gmail.com>
4963
4964 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4965 (desktop-restore-in-current-display): New customization option.
4966 (desktop--excluded-frame-parameters): Add `font'.
4967 (desktop--save-frames): Rename from desktop--save-windows.
4968 (desktop--restore-in-this-display-p): New function.
4969 (desktop--make-full-frame): Remove unwanted width/height from
4970 full(width|height) frames.
4971 (desktop--restore-frames): Rename from desktop--restore-windows.
4972 Obey desktop-restore-current-display. Do not delete old frames or
4973 select a new frame unless we were able to restore at least one frame.
4974
ef099a94
MN
49752013-06-30 Michal Nazarewicz <mina86@mina86.com>
4976
4977 * files.el (find-file-noselect): Simplify conditional expression.
4978
4979 * remember.el (remember-append-to-file):
4980 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4981
4982 Add `remember-notes' function to store random notes across Emacs
4983 restarts.
4984 * remember.el (remember-data-file): Add :set callback to affect
4985 notes buffer (if any).
4986 (remember-notes): New command.
4987 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4988 New defcustoms for the `remember-notes' function.
4989 (remember-notes-save-and-bury-buffer): New command.
4990 (remember-notes-mode-map): New variable.
4991 (remember-mode): New minor mode.
4992 (remember-notes--kill-buffer-query): New function.
4993 * startup.el (initial-buffer-choice): Add notes to custom type.
4994
0865d506
EZ
49952013-06-30 Eli Zaretskii <eliz@gnu.org>
4996
0ba54312
EZ
4997 * bindings.el (right-char, left-char): Don't call sit-for, this is
4998 no longer needed. Use arithmetic comparison only for numerical
4999 arguments.
5000
ef099a94
MN
5001 * international/mule-cmds.el (select-safe-coding-system):
5002 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5003
2fae38e5
LMI
50042013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5005
5006 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5007 progression on degenerate tables.
ef099a94 5008 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5009
a47cbd64
JB
50102013-06-30 Juanma Barranquero <lekktu@gmail.com>
5011
5012 Some fixes and improvements for desktop frame restoration.
5013 It is still experimental and disabled by default.
5014 * desktop.el (desktop--save-windows): Put the selected frame at
5015 the head of the list.
5016 (desktop--make-full-frame): New function.
5017 (desktop--restore-windows): Try to re-select the frame that was
5018 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5019 just show an error message and continue. Set up maximized frames
5020 so they have default non-maximized dimensions.
a47cbd64 5021
6dbafa30
DG
50222013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5023
ef099a94
MN
5024 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5025 Don't start heredoc inside a string or comment.
6dbafa30 5026
4c672a0f
EZ
50272013-06-29 Eli Zaretskii <eliz@gnu.org>
5028
5029 * bindings.el (visual-order-cursor-movement): New defcustom.
5030 (right-char, left-char): Provide visual-order cursor motion by
5031 calling move-point-visually. Update the doc strings.
5032
50960f36
KH
50332013-06-28 Kenichi Handa <handa@gnu.org>
5034
5035 * international/mule.el (define-coding-system): New coding system
5036 properties :inhibit-null-byte-detection,
5037 :inhibit-iso-escape-detection, and :prefer-utf-8.
5038 (set-buffer-file-coding-system): If :charset-list property of
5039 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5040 appropriate for setting.
5041
c1ea3abf
JB
5042 * international/mule-cmds.el (select-safe-coding-system):
5043 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5044 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5045
5046 * international/mule-conf.el (prefer-utf-8): New coding system.
5047 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5048 files.
5049
75dbaf9d
IK
50502013-06-28 Ivan Kanis <ivan@kanis.fr>
5051
eadb6068
IK
5052 * net/shr.el (shr-render-region): New function.
5053
75dbaf9d
IK
5054 * net/eww.el: Autoload `eww-browse-url'.
5055
9ea5cf9f
DG
50562013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5057
c1ea3abf
JB
5058 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5059 Adapt to `package-desc-version' being a list.
5060 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5061 archive element.
5062
39c0e36f
JB
50632013-06-27 Juanma Barranquero <lekktu@gmail.com>
5064
5065 New experimental feature to save&restore window and frame setup.
5066 * desktop.el (desktop-save-windows): New defcustom.
5067 (desktop--saved-states): New var.
5068 (desktop--excluded-frame-parameters): New defconst.
5069 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5070 (desktop--restore-windows, desktop--save-windows): New functions.
5071 (desktop-save): Call `desktop--save-windows'.
5072 (desktop-read): Call `desktop--restore-windows'.
5073
7f13406b
LMI
50742013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5075
ef099a94 5076 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5077
1e072639
SB
50782013-06-27 Stephen Berman <stephen.berman@gmx.net>
5079
5080 * info.el (Info-try-follow-nearest-node): Move search for footnote
5081 above search for node name to prevent missing a footnote (bug#14717).
5082
f3e2cbde
SB
50832013-06-27 Stephen Berman <stephen.berman@gmx.net>
5084
5085 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5086
99906aa0
LL
50872013-06-27 Leo Liu <sdl.web@gmail.com>
5088
5089 * net/eww.el (eww-read-bookmarks): Check file size.
5090
539f75f4
SM
50912013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5092
5093 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5094 advice--pending if newdef is nil or an autoload (bug#13820).
5095 (advice-mapc): New function.
5096
843571cb
LMI
50972013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5098
5099 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5100 probably.
23a75d7f 5101 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5102 (eww-add-bookmark): New command.
5103 (eww-bookmark-mode): New mode and commands.
a285ce99 5104 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5105 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5106
f2136e1e
GM
51072013-06-26 Glenn Morris <rgm@gnu.org>
5108
eab35f39
GM
5109 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5110 (hfy-size): Handle ttys. (Bug#14668)
5111
f2136e1e
GM
5112 * info-xref.el: Update for Texinfo 5 change in *note format.
5113 (info-xref-node-re, info-xref-note-re): New constants.
5114 (info-xref-check-buffer): Use info-xref-note-re.
5115
a49ff80c
SM
51162013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5117
a343d218
SM
5118 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5119
a49ff80c
SM
5120 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5121 nil terminate the loop (bug#14718).
5122
8308f184
LMI
51232013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5124
5125 * net/eww.el: Rework history traversal. When going forward/back,
5126 put these actions into the history, too, so that they can be
5127 replayed.
26bf2b82 5128 (eww-render): Move the history reset to the correct buffer.
8308f184 5129
ec64c273
JL
51302013-06-25 Juri Linkov <juri@jurta.org>
5131
5132 * files-x.el (modify-dir-local-variable): Change the header comment
5133 in the file with directory local variables. (Bug#14692)
5134
e080a9d7
JL
5135 * files-x.el (read-file-local-variable-value): Add `default'.
5136 (Bug#14710)
5137
bfbc93a1
IK
51382013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5139
5140 * net/eww.el (eww-make-unique-file-name): Create a unique file
5141 name before saving to entering `y' accidentally asynchronously.
5142
51432013-06-25 Ivan Kanis <ivan@kanis.fr>
5144
5145 * net/eww.el (eww-download): New command and keystroke.
5146
16f74f10
LMI
51472013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5148
a49ff80c 5149 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5150
5151 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5152 be more consistent with Info and dired.
5153
5154 * net/eww.el (eww-mode-map): Ditto.
5155
12059709
SM
51562013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5157
5158 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5159 packages from archives.
5160 (package-archive-contents): Change format; include obsolete packages.
5161 (package-desc): Use `dir' to mark builtin packages.
5162 (package--from-builtin): Set the `dir' field to `builtin'.
5163 (generated-autoload-file, version-control): Declare.
5164 (package-compute-transaction): Change first arg and return value to be
5165 lists of package-descs. Adjust to new package-archive-contents format.
5166 (package--add-to-archive-contents): Adjust to new
5167 package-archive-contents format.
5168 (package-download-transaction): Arg is now a list of package-descs.
5169 (package-install): If `pkg' is a package name, pass it as
5170 a requirement, so it is subject to the usual (e.g. disabled) checks.
5171 (describe-package): Accept package-desc as well.
5172 (describe-package-1): Describe a specific package-desc. Add links to
5173 other package-descs for the same package name.
5174 (package-menu-describe-package): Pass the actual package-desc.
5175 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5176 works correctly.
5177 (package-desc-status): New function.
5178 (package-menu--refresh): New function, extracted
5179 from package-menu--generate.
5180 (package-menu--generate): Use it.
5181 (package-delete): Update package-alist.
5182 (package-menu-execute): Don't call package-initialize.
5183
5184 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5185 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5186 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5187 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5188 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5189 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5190
8bbdea0f
MR
51912013-06-25 Martin Rudalics <rudalics@gmx.at>
5192
5193 * window.el (window--state-get-1): Workaround for bug#14527.
5194 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5195
e82b0991
LMI
51962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5197
5198 * net/eww.el (eww-back-url): Implement the history by stashing all
5199 the data into a list.
d3f0f918 5200 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5201
c763842b
SM
52022013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5205 for values and use read--expression for expressions (bug#14710).
5206 (read-file-local-variable): Avoid setq.
5207 (read-file-local-variable-mode): Use minor-mode-list.
5208
bceff189
RW
52092013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5210
864c58ca 5211 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5212 for DOI URLs.
5213
45f431c6
RW
52142013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5215
864c58ca 5216 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5217 Update imenu-support when dialect changes.
5218
f42d8237
LL
52192013-06-25 Leo Liu <sdl.web@gmail.com>
5220
5221 * ido.el (ido-read-internal): Allow forward slash on windows.
5222
be549ce6
LMI
52232013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5224
5225 * net/eww.el (eww): Start of strings is \\`, not ^.
5226
71d4c19d
IK
52272013-06-24 Ivan Kanis <ivan@kanis.fr>
5228
5196f88a
IK
5229 * net/shr.el (shr-browse-url): Fix interactive spec.
5230
71d4c19d
IK
5231 * net/eww.el (eww): Add a trailing slash to domain names.
5232
ae36ca55
JB
52332013-06-24 Juanma Barranquero <lekktu@gmail.com>
5234
5235 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5236
0ebd92a3
LMI
52372013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5238
bdaa086b
LMI
5239 * net/shr.el (shr-browse-url): Use an external browser if given a
5240 prefix.
5241
c763842b 5242 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5243
b89fc156
IK
52442013-06-24 Ivan Kanis <ivan@kanis.fr>
5245
5246 * net/eww.el (eww): Work more correctly for file: URLs.
5247 (eww-detect-charset): Allow quoted charsets.
5248 (eww-yank-page-url): New command and keystroke.
5249
18eb4bca
DU
52502013-06-24 Daiki Ueno <ueno@gnu.org>
5251
5252 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5253 file name of gpg executable.
5254 (epg-context-program): New function.
5255 (epg-context-home-directory): New function.
5256 (epg-context-set-program): New function.
5257 (epg-context-set-home-directory): New function.
5258 (epg--start): Use `epg-context-program' instead of
5259 'epg-gpg-program'.
5260 (epg--list-keys-1): Likewise.
5261
6c6268c8
LL
52622013-06-24 Leo Liu <sdl.web@gmail.com>
5263
5264 * ido.el (ido-read-internal): Fix bug#14620.
5265
5e400cb3
JB
52662013-06-23 Juanma Barranquero <lekktu@gmail.com>
5267
5268 * faces.el (face-documentation): Simplify.
5269 (read-face-attribute, tty-find-type, x-resolve-font-name):
5270 Use `string-match-p'.
5271 (list-faces-display): Use `string-match-p'. Simplify.
5272 (face-spec-recalc): Check face to avoid face alias loops.
5273 (read-color): Use `string-match-p' and non-capturing parenthesis.
5274
f3f9606c
LMI
52752013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5276
5277 * net/shr.el (shr-rescale-image): Use the new
5278 :max-width/:max-height functionality.
5279
a3ca09b9
IK
52802013-06-23 Ivan Kanis <ivan@kanis.fr>
5281
5282 * net/eww.el (eww-search-prefix): New variable.
5283 (eww): Use it.
f865b474
IK
5284 (eww-external-browser): New variable.
5285 (eww-mode-map): New keystroke.
5286 (eww-browse-with-external-browser): New command.
a3ca09b9 5287
e854cfc7
IK
5288 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5289
18bb9e21
JB
52902013-06-23 Juanma Barranquero <lekktu@gmail.com>
5291
5292 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5293 Don't skip aligning the next header field when padding is 0;
5294 otherwise, field width is not respected unless the title is as
5295 wide as the field.
5296
5b165ade
SM
52972013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * emacs-lisp/package.el (package-el-version): Remove.
5300 (package-process-define-package): Fix inf-loop.
5301 (package-install): Allow symbols as arguments again.
5302
12adebe9
DG
53032013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5304
5305 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5306 add some more keyword-like methods.
5307 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5308
388573ee
JB
53092013-06-22 Juanma Barranquero <lekktu@gmail.com>
5310
5311 * bs.el (bs-buffer-show-mark): Make defvar-local.
5312 (bs-mode): Use setq-local.
5313
5314 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5315 (emacs-lock--try-unlocking): Make defvar-local.
5316
4582a01c 53172013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5318
2663dd23
GM
5319 * play/cookie1.el (cookie-apropos): Minor simplification.
5320
3d94f3ad
GM
5321 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5322
f72e2fdb
DG
53232013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5324
5325 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5326 `regexp-opt', it breaks the build during dumping.
5327
73eab938
DG
53282013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5329
c763842b
SM
5330 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5331 Highlight keyword-like methods on Kernel and Module with
73eab938 5332 font-lock-builtin-face.
5cf8176d
DG
5333 (auto-mode-alist): Consolidate different entries into one regexp
5334 and add more *file-s.
73eab938 5335
d26255f6
SB
53362013-06-21 Stephen Berman <stephen.berman@gmx.net>
5337
5338 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5339
5340 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5341 (diary-entry): Use it in the action of this button type instead of
5342 diary-goto-entry.
5343
5344 * calendar/todo-mode.el: New version.
5345 (todo-add-category): Append new category to end of file and give
5346 it the highest number, instead of putting it at the beginning and
5347 giving it 0. Incorporate noninteractive functionality.
5348 (todo-forward-category): Adapt to 1-based category numbering.
5349 Allow skipping over archived categories.
5350 (todo-backward-category): Derive from todo-forward-category.
5351 (todo-backward-item, todo-forward-item): Make noninteractive and
5352 delegate interactive part to new commands. Make sensitive to done items.
5353 (todo-categories): Make value an alist of category names and
5354 vectors of item counts.
5355 (todo-category-beg): Make a defconst.
5356 (todo-category-number): Use 1 instead of 0 as initial value.
5357 (todo-category-select): Make sensitive to overlays, optional item
5358 highlighting and done items.
5359 (todo-delete-item): Make sensitive to overlays and marked and done items.
5360 (todo-edit-item): Make sensitive to overlays and editing of
5361 date/time header optional. Add format checks.
5362 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5363 no-op if point is not on an item. Advertise using todo-edit-quit.
5364 (todo-edit-mode): Make sensitive to new format, font-locking, and
5365 multiple todo files.
5366 (todo-insert-item, todo-insert-item-here): Derive from
5367 todo-basic-insert-item and extend functionality.
5368 (todo-item-end, todo-item-start): Make sensitive to done items.
5369 (todo-item-string): Don't return text properties. Restore point.
5370 (todo-jump-to-category): Make sensitive to multiple todo files and
5371 todo archives. Use extended category completion.
5372 (todo-lower-item, todo-raise-item): Rename to *-priority and
5373 derive from todo-set-item-priority.
5374 (todo-mode): Derive from special-mode. Make sensitive to new
5375 format, font-locking and multiple todo files. Make read-only.
5376 (todo-mode-map): Don't suppress digit keys, so they can supply
5377 prefix arguments. Add many new key bindings.
5378 (todo-prefix): Insert as an overlay instead of file text.
5379 Change semantics from diary date expression to purely visual mark.
5380 (todo-print): Rename to todo-print-buffer. Make buffer display
5381 features printable. Remove option to restrict number of items
5382 printed. Add option to print to file.
5383 (todo-print-function): Rename to todo-print-buffer-function.
5384 (todo-quit): Extend to handle exiting new todo modes.
5385 (todo-remove-item): Make sensitive to overlays.
5386 (todo-save): Extend to buffers of filtered items.
5387 (todo-show): Make sensitive to done items, multiple todo files and
5388 new todo modes. Offer to convert legacy todo file before creating
5389 first new todo file.
5390 (todo-show-priorities): Rename to todo-top-priorities.
5391 Change semantics of value 0.
5392 (todo-top-priorities): Rename to todo-filter-top-priorities,
5393 derive from todo-filter-items and extend functionality.
5394 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5395 and extend functionality to other types of filtered items.
5396 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5397 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5398 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5399 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5400 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5401 (todo-edit-mode-hook, todo-entry-prefix-function)
5402 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5403 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5404 (todo-initials, todo-insert-threshold, todo-item-string-start)
5405 (todo-line-string, todo-menu, todo-mode-hook)
5406 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5407 (todo-print-priorities, todo-remove-separator)
5408 (todo-save-top-priorities-too, todo-string-count-lines)
5409 (todo-string-multiline-p, todo-time-string-format)
5410 (todo-tmp-buffer-name): Remove.
5411 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5412 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5413 (todo-edit-category-diary-inclusion)
5414 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5415 (todo-edit-file, todo-edit-item-date-day)
5416 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5417 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5418 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5419 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5420 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5421 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5422 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5423 (todo-filter-top-priorities-multifile, todo-find-archive)
5424 (todo-find-filtered-items-file, todo-go-to-source-item)
5425 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5426 (todo-jump-to-archive-category, todo-lower-category)
5427 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5428 (todo-move-category, todo-move-item, todo-next-button)
5429 (todo-next-item, todo-padded-string, todo-powerset)
5430 (todo-previous-button, todo-previous-item)
5431 (todo-print-buffer-to-file, todo-raise-category)
5432 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5433 (todo-set-category-number, todo-set-item-priority)
5434 (todo-set-top-priorities-in-category)
5435 (todo-set-top-priorities-in-file, todo-show-categories-table)
5436 (todo-sort-categories-alphabetically-or-numerically)
5437 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5438 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5439 (todo-toggle-item-header, todo-toggle-item-highlighting)
5440 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5441 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5442 (todo-unarchive-items, todo-unmark-category): New commands.
5443 (todo-absolute-file-name, todo-add-to-buffer-list)
5444 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5445 (todo-basic-insert-item, todo-category-completions)
5446 (todo-category-number, todo-category-string-matcher-1)
5447 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5448 (todo-check-format, todo-clear-matches)
5449 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5450 (todo-current-category, todo-date-string-matcher)
5451 (todo-define-insertion-command, todo-diary-expired-matcher)
5452 (todo-diary-goto-entry, todo-diary-item-p)
5453 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5454 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5455 (todo-done-item-section-p, todo-done-separator)
5456 (todo-done-string-matcher, todo-files, todo-filter-items)
5457 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5458 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5459 (todo-insert-category-line, todo-insert-item-from-calendar)
5460 (todo-insert-sort-button, todo-insert-with-overlays)
5461 (todo-insertion-command-name, todo-insertion-key-bindings)
5462 (todo-label-to-key, todo-longest-category-name-length)
5463 (todo-make-categories-list, todo-mode-external-set)
5464 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5465 (todo-modes-set-3, todo-multiple-filter-files)
5466 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5467 (todo-read-category, todo-read-date, todo-read-dayname)
5468 (todo-read-file-name, todo-read-time)
5469 (todo-reevaluate-category-completions-files-defcustom)
5470 (todo-reevaluate-default-file-defcustom)
5471 (todo-reevaluate-filelist-defcustoms)
5472 (todo-reevaluate-filter-files-defcustom)
5473 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5474 (todo-reset-done-separator, todo-reset-done-separator-string)
5475 (todo-reset-done-string, todo-reset-global-current-todo-file)
5476 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5477 (todo-reset-prefix, todo-set-categories)
5478 (todo-set-date-from-calendar, todo-set-show-current-file)
5479 (todo-set-top-priorities, todo-short-file-name)
5480 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5481 (todo-total-item-counts, todo-update-buffer-list)
5482 (todo-update-categories-display, todo-update-categories-sexp)
5483 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5484 New functions.
5485 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5486 New major modes.
5487 (todo-categories, todo-display, todo-edit, todo-faces)
5488 (todo-filtered): New defgroups.
5489 (todo-archived-only, todo-button, todo-category-string, todo-date)
5490 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5491 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5492 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5493 (todo-add-item-if-new-category, todo-always-add-time-string)
5494 (todo-categories-align, todo-categories-archived-label)
5495 (todo-categories-category-label, todo-categories-diary-label)
5496 (todo-categories-done-label, todo-categories-number-separator)
5497 (todo-categories-todo-label, todo-categories-totals-label)
5498 (todo-category-completions-files, todo-completion-ignore-case)
5499 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5500 (todo-done-separator-string, todo-done-string)
5501 (todo-files-function, todo-filter-done-items, todo-filter-files)
5502 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5503 (todo-initial-category, todo-initial-file, todo-item-mark)
5504 (todo-legacy-date-time-regexp, todo-mode-line-function)
5505 (todo-nondiary-marker, todo-number-prefix)
5506 (todo-print-buffer-function, todo-show-current-file)
5507 (todo-show-done-only, todo-show-first, todo-show-with-done)
5508 (todo-skip-archived-categories, todo-top-priorities-overrides)
5509 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5510 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5511 New defcustoms.
5512 (todo-category-done, todo-date-pattern, todo-date-string-start)
5513 (todo-diary-items-buffer, todo-done-string-start)
5514 (todo-filtered-items-buffer, todo-item-start)
5515 (todo-month-abbrev-array, todo-month-name-array)
5516 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5517 (todo-top-priorities-buffer): New defconsts.
5518 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5519 (todo-categories-with-marks, todo-category-string-face)
5520 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5521 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5522 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5523 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5524 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5525 (todo-font-lock-keywords, todo-global-current-todo-file)
5526 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5527 (todo-insertion-commands-args)
5528 (todo-insertion-commands-args-genlist)
5529 (todo-insertion-commands-names, todo-insertion-map)
5530 (todo-key-bindings-t, todo-key-bindings-t+a)
5531 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5532 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5533 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5534 (todo-visited): New variables.
5535
cad5d1cb
GM
55362013-06-21 Glenn Morris <rgm@gnu.org>
5537
5538 * play/cookie1.el (cookie-apropos): Add optional display argument.
5539 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5540 (psychoanalyze-pinhead): Use cookie-doctor.
5541
9e277302
JB
55422013-06-21 Juanma Barranquero <lekktu@gmail.com>
5543
5544 * emacs-lisp/package.el (tar-get-file-descriptor)
5545 (tar--extract): Declare.
5546
c5b0993e
EW
55472013-06-21 Eduard Wiebe <usenet@pusto.de>
5548
5549 Extend flymake's warning predicate to be a function (bug#14217).
5550 * progmodes/flymake.el (flymake-warning-predicate): New.
5551 (flymake-parse-line): Use it.
5552 (flymake-warning-re): Make obsolete alias to
5553 `flymake-warning-predicate'.
5554
a7d2d465
SM
55552013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5558 (package-obsolete-list): Remove.
5559 (package-activate): Remove min-version argument. Add `force' argument.
5560 Adjust to new package-alist format.
5561 (package-mark-obsolete): Remove.
5562 (package-unpack): Force reload of the package's autoloads.
5563 (package-installed-p): Check builtins if the installed package is not
5564 recent enough.
5565 (package-initialize): Don't reset package-obsolete-list.
5566 Don't specify which package version to activate.
5567 (package-process-define-package, describe-package-1)
5568 (package-menu--generate): Adjust to new package-alist format.
5569
cedf5c9d
JB
55702013-06-21 Juanma Barranquero <lekktu@gmail.com>
5571
5572 * allout-widgets.el (allout-widgets-mode-off)
5573 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5574 (allout-widgets-post-command-business)
5575 (allout-widgets-after-copy-or-kill-function)
5576 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5577 (allout-decorate-item-and-context)
5578 (allout-graphics-modification-handler): Fix typos in docstrings.
5579 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5580
5581 * cmuscheme.el (scheme-start-file): Doc fix.
5582 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5583 (scheme-input-filter): Use `string-match-p'.
5584
5585 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5586
5587 * dired-x.el: Use Dired consistently in docstrings.
5588
5589 * dired.el: Use Dired consistently in docstrings.
5590 (dired-readin, dired-mode): Use `setq-local'.
5591 (dired-switches-alist): Make defvar-local.
5592 (dired-buffers-for-dir): Use `zerop'.
5593 (dired-safe-switches-p, dired-switches-escape-p)
5594 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5595 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5596 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5597 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5598 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5599 (dired-toggle-marks, dired-mark-files-containing-regexp)
5600 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5601 (dired-flag-auto-save-files, dired-flag-backup-files):
5602 Use `looking-at-p'.
5603 (dired-mark-files-regexp, dired-build-subdir-alist):
5604 Use `string-match-p', `looking-at-p'.
5605
5606 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5607 (direct-print-region-helper): Use `string-match-p'.
5608
aed838b5
LL
56092013-06-21 Leo Liu <sdl.web@gmail.com>
5610
cedf5c9d
JB
5611 * comint.el (comint-redirect-results-list-from-process):
5612 Fix infinite loop.
aed838b5 5613
d80a808f
LMI
56142013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5615
5616 * net/eww.el (eww-update-header-line-format): Quote % characters.
5617
e7a526e3
GM
56182013-06-21 Glenn Morris <rgm@gnu.org>
5619
5620 * play/cookie1.el (cookie): New custom group.
5621 (cookie-file): New option.
5622 (cookie-check-file): New function.
5623 (cookie): Make it interactive. Make start and end messages optional.
5624 Interactively, display the result. Default to cookie-file.
5625 (cookie-insert): Default to cookie-file.
5626 (cookie-snarf): Make start and end messages optional.
5627 Default to cookie-file. Use with-temp-buffer.
5628 (cookie-read): Rename from read-cookie.
5629 Make start and end messages optional. Default to cookie-file.
5630 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5631 Do not autoload it.
e7a526e3
GM
5632 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5633 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5634
62efb35e
LL
56352013-06-21 Leo Liu <sdl.web@gmail.com>
5636
5637 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5638
21e3f963
GM
56392013-06-21 Glenn Morris <rgm@gnu.org>
5640
5641 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5642
fd846ab4
SM
56432013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5644 Daniel Hackney <dan@haxney.org>
5645
5646 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5647 Consolidate the single-file vs tarball code.
5648 (package-desc-suffix): New function.
5649 (package-desc-full-name): Don't bother inlining it.
5650 (package-load-descriptor): Return the new package-desc.
5651 (package-mark-obsolete): Remove unused arg `package'.
5652 (package-unpack): Make it work for single files as well.
5653 Make it update package-alist.
5654 (package--make-autoloads-and-stuff): Rename from
5655 package--make-autoloads-and-compile. Don't compile any more.
5656 (package--compile): New function.
5657 (package-generate-description-file): New function, extracted from
5658 package-unpack-single.
5659 (package-unpack-single): Remove.
5660 (package--with-work-buffer): Add indentation and debugging info.
5661 (package-download-single): Remove.
5662 (package-install-from-archive): Rename from package-download-tar, make
5663 it take a pkg-desc, and make it work for single files as well.
5664 (package-download-transaction): Simplify.
5665 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5666 external tar program.
5667 (package-install-from-buffer): Remove `pkg-desc' argument.
5668 Use package-tar-file-info for tar-mode buffers.
5669 (package-install-file): Simplify accordingly.
5670 (package-archive-base): Change to take a pkg-desc.
5671 * tar-mode.el (tar--check-descriptor): New function, extracted from
5672 tar-get-descriptor.
5673 (tar-get-descriptor): Use it.
5674 (tar-get-file-descriptor): New function.
5675 (tar--extract): New function, extracted from tar-extract.
5676 (tar--extract): Use it.
5677 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5678 case the summary uses non-ascii. Adjust to new calling convention of
5679 package-tar-file-info.
5680
b7deae5e
LL
56812013-06-21 Leo Liu <sdl.web@gmail.com>
5682
fd846ab4
SM
5683 * comint.el (comint-redirect-results-list-from-process):
5684 Fix random delay. (Bug#14681)
b7deae5e 5685
7a65a0b2
JB
56862013-06-21 Juanma Barranquero <lekktu@gmail.com>
5687
5688 * profiler.el (profiler-format-number): Use log, not log10.
5689
1493c2af
JB
56902013-06-20 Juanma Barranquero <lekktu@gmail.com>
5691
5692 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5693
aff6371e
SM
56942013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5697 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5698 yet available.
5699 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5700 (AUTOGENEL): ... here.
5701 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5702 (cl--defsubst-expand): Use it.
5703
89561f72
PE
57042013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5705
5706 * subr.el (log10): Move here from C code, and declare as obsolete.
5707 All uses of (log10 X) replaced with (log X 10).
5708
47199123
JB
57092013-06-20 Juanma Barranquero <lekktu@gmail.com>
5710
5711 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5712 Declare with `defvar-local'.
5713 (tabulated-list-use-header-line, tabulated-list-entries)
5714 (tabulated-list-padding, tabulated-list-printer)
5715 (tabulated-list-sort-key): Declare with `defvar-local'.
5716 (tabulated-list-init-header, tabulated-list-print-fake-header):
5717 Use `setq-local'.
5718
4a172eab
MA
57192013-06-20 Michael Albinus <michael.albinus@gmx.de>
5720
47199123
JB
5721 * arc-mode.el (archive-mode): Add `archive-write-file' to
5722 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5723
5fc0acc0
JB
57242013-06-20 Juanma Barranquero <lekktu@gmail.com>
5725
d5b27848
JB
5726 * cus-edit.el (custom-commands): Fix typos.
5727 (custom-display): Fix tooltip text.
5728 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5729 Fix typos in docstrings.
5730 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5731 (custom-unlispify-menu-entry, custom-magic-value-create)
5732 (custom-add-see-also, custom-group-value-create): Use ?\s.
5733 (custom-guess-type, customize-apropos, editable-field)
5734 (custom-face-value-create): Use `string-match-p'.
5735 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5736
5737 * custom.el (custom-load-symbol): Use `string-match-p'.
5738
a5c581d8
JB
5739 * ansi-color.el: Convert to lexical binding.
5740 (ansi-colors): Fix URL.
5741 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5742 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5743 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5744
970ad972
G
57452013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5746
5747 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5748
5749 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5750
57512013-06-19 Tom Tromey <tromey@redhat.com>
5752
5753 * net/eww.el (eww-top-url): Remove.
5754 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5755 (eww-render): Set new variables. Don't set eww-top-url.
5756 (eww-handle-link): Handle "prev", "home", and "contents".
5757 Downcase the rel text.
5758 (eww-top-url): Choose best top URL.
5759
57602013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5761
5762 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5763 relying in widget.el. Using widget.el leads to too many
5764 user interface inconsistencies.
5765 (eww-self-insert): Implement entering commands in text fields.
5766 (eww-process-text-input): New function to make text input field editing
5767 work.
5768 (eww-submit): Rewrite to use the new-style form methods.
5769 (eww-select-display): Display the correct selected item.
5770 (eww-change-select): Implement changing the select value.
5771 (eww-toggle-checkbox): Implement radio/checkboxes.
5772 (eww-update-field): Fix compilation error.
5773 (eww-tag-textarea): Implement <textarea>.
5774
5775 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5776 we don't shadow mode-specific bindings.
5777
5778 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5779 nothing to push.
5780
5781 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5782
4582a01c 57832013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5784
5785 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5786
15b263dc
MA
57872013-06-19 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5790 not needed.
5791
5792 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5793
8f5297f7
LMI
57942013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5795
5796 * net/browse-url.el (browse-url-browser-function):
5797 `eww-browse-url' has the right calling signature, `eww' does not.
5798
011c4552
GM
57992013-06-19 Glenn Morris <rgm@gnu.org>
5800
2285bd27
GM
5801 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5802 Only eval autoloaded macros.
5803 (byte-compile-autoload): Only give the macro warning for macros.
5804
1d653303
GM
5805 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5806 (ps-underlined-faces): Declare.
5807
bdd779ec
GM
5808 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5809 (speedbar-add-supported-extension): Declare.
5810
011c4552
GM
5811 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5812 Don't include a date stamp in the header of the generated file;
5813 it leads to needless differences between output files.
5814
e59dfb0e
MA
58152013-06-19 Michael Albinus <michael.albinus@gmx.de>
5816
c763842b
SM
5817 * net/secrets.el (secrets-struct-secret-content-type):
5818 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5819 Some servers do not offer introspection.
e59dfb0e 5820
102626e2
SM
58212013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * electric.el (electric-pair-mode): Improve interaction with
5824 electric-layout-mode.
5825 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5826 (electric-pair-syntax): Use text-mode-syntax-table in comments
5827 and strings.
5828 (electric-pair--insert): New function.
5829 (electric-pair-post-self-insert-function): Use it and
5830 electric--after-char-pos.
5831
ad528125
LL
58322013-06-19 Leo Liu <sdl.web@gmail.com>
5833
5834 * progmodes/octave.el (octave-help): Fix regexp.
5835
924d6997
G
58362013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5837
5838 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5839 (shr-table-horizontal-line): Allow nil as a value, and change the
5840 default.
5841 (shr-insert-table-ruler): Respect the nil value.
5842
58432013-06-18 Tom Tromey <tromey@barimba>
5844
5845 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5846 New defvars.
5847 (eww-open-file): New defun.
5848 (eww-render): Initialize new variables.
5849 (eww-display-html): Handle "link" and "a".
5850 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5851 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5852 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5853 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5854 New defuns.
924d6997 5855
d1bbba4f
DG
58562013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5857
5858 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5859 Distinguish ternary operator tokens from slash symbol and slash
5860 char literal.
5861
14dd22d2
JB
58622013-06-18 Juanma Barranquero <lekktu@gmail.com>
5863
5864 Convert symbol prettification into minor mode and global minor mode.
5865
5866 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5867 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5868 (prettify-symbols--keywords): Rename from
5869 `prog-prettify-symbols-alist' and make a local defvar.
5870 (prettify-symbols--compose-symbol): Rename from
5871 `prog--prettify-font-lock-compose-symbol'.
5872 (prettify-symbols--make-keywords): Rename from
5873 `prog-prettify-font-lock-symbols-keywords' and simplify.
5874 (prog-prettify-install): Remove.
5875 (prettify-symbols-mode): New minor mode, based on
5876 `prog-prettify-install'.
5877 (turn-on-prettify-symbols-mode): New function.
5878 (global-prettify-symbols-mode): New globalized minor mode.
5879
5880 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5881 * progmodes/cfengine.el (cfengine3-mode):
5882 * progmodes/perl-mode.el (perl-mode): Don't call
5883 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5884
292c880c
JL
58852013-06-18 Juri Linkov <juri@jurta.org>
5886
5887 * files-x.el (modify-file-local-variable-message): New function.
5888 (modify-file-local-variable)
5889 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5890 and call `modify-file-local-variable-message' when it's non-nil.
5891 (add-file-local-variable, delete-file-local-variable)
5892 (add-file-local-variable-prop-line)
5893 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5894 and use it. (Bug#9820)
5895
0950aa27
JL
58962013-06-18 Juri Linkov <juri@jurta.org>
5897
5898 * emulation/vi.el (vi-shell-op):
5899 * emulation/vip.el (vip-execute-com, ex-command):
5900 * emulation/viper-cmd.el (viper-exec-bang):
5901 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5902 the call of `shell-command-on-region'. (Bug#14637)
5903
5904 * simple.el (shell-command-on-region): Doc fix.
5905
8fbcca16
SM
59062013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5909 (bug#14633).
5910
dd7426ea
GM
59112013-06-18 Glenn Morris <rgm@gnu.org>
5912
4ba54f7d
GM
5913 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5914
dd7426ea
GM
5915 * newcomment.el (comment-search-forward, comment-search-backward):
5916 Doc fix. (Bug#14376)
5917
58aa805b
JB
59182013-06-18 Juanma Barranquero <lekktu@gmail.com>
5919
5920 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5921 (buffer-face-mode-invoke): Doc fix.
5922
9a08a617
MM
59232013-06-18 Matthias Meulien <orontee@gmail.com>
5924
5925 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5926 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5927
f2f426ca
GM
59282013-06-18 Glenn Morris <rgm@gnu.org>
5929
9445f99b
GM
5930 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5931 Replace obsolete function generic-make-keywords with its expansion.
5932
e0df2d14
GM
5933 * progmodes/python.el (ffap-alist): Declare.
5934
f2f426ca
GM
5935 * textmodes/reftex.el (bibtex-mode-map): Declare.
5936
f7f9a720
SM
59372013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5940 (package-unpack, package-unpack-single): Return the pkg-dir.
5941 (package-download-transaction): Use it to update package-alist.
5942
57ff04e0
LMI
59432013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5944
5945 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5946 possible choice.
5947
c048c022
JL
59482013-06-17 Juri Linkov <juri@jurta.org>
5949
5950 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5951
b5bcaee5
DG
59522013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5953
a020afb9
JB
5954 * emacs-lisp/package.el (package-load-descriptor):
5955 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5956 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5957
551e07e5
JB
59582013-06-17 Juanma Barranquero <lekktu@gmail.com>
5959
5960 * startup.el (command-line): Expand package name returned by
5961 `package--description-file' (bug#14639).
5962
d363bffb
DG
59632013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5964
5965 * emacs-lisp/package.el (package-load-descriptor): Do not call
5966 `emacs-lisp-mode', just use its syntax table.
5967
f612933b
JB
59682013-06-17 Juanma Barranquero <lekktu@gmail.com>
5969
5970 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5971 `font-lock-extra-managed-props' if any prettifying keyword is added.
5972 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5973 (prog-mode): Use `setq-local'.
5974
db3b7db5
SM
59752013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 * international/characters.el (standard-case-table): Set syntax of ?»
5978 and ?« to punctuation.
5979
f3d674df
JB
59802013-06-16 Juanma Barranquero <lekktu@gmail.com>
5981
5982 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5983 Save relevant match data before calling `syntax-ppss' (bug#14595).
5984
31489a32
JL
59852013-06-15 Juri Linkov <juri@jurta.org>
5986
5987 * files-x.el (modify-file-local-variable-prop-line): Add local
5988 variables to the end of the existing comment on the first line.
5989 Use `file-auto-mode-skip' to skip interpreter magic line,
5990 and also skip XML declaration.
5991
66bd25ab
SM
59922013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * startup.el (package--builtin-versions): New var.
5995 (package-subdirectory-regexp): Remove.
5996 (package--description-file): Hard code its value instead.
5997
5998 * emacs-lisp/package.el: Don't activate packages older than builtin.
5999 (package-obsolete-list): Rename from package-obsolete-alist, and make
6000 it into a simple list of package-desc.
6001 (package-strip-version): Remove.
6002 (package-built-in-p): Use package--builtin-versions.
6003 (package-mark-obsolete): Simplify.
6004 (package-process-define-package): Mark it obsolete if older than the
6005 builtin version.
6006 (package-handle-response): Use line-end-position.
6007 (package-read-archive-contents, package--download-one-archive):
6008 Simplify.
6009 (package--add-to-archive-contents): Skip if older than the builtin or
6010 installed version.
6011 (package-menu-describe-package): Fix last change.
6012 (package-list-unversioned): New var.
6013 (package-menu--generate): Use it.
6014
6015 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6016 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6017 (autoload-builtin-package-versions): New variable.
6018 (autoload-generate-file-autoloads): Use them.
6019 Remove the list of autoloaded functions/macros from the
6020 (autoload...) comments.
6021
6022 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6023
9583ec36
EZ
60242013-06-15 Eli Zaretskii <eliz@gnu.org>
6025
6026 * simple.el (line-move-partial): Don't jump to the next screen
6027 line as soon as it becomes visible. Instead, continue enlarging
6028 the vscroll until the portion of a tall screen line that's left on
6029 display is about the height of the frame's default font.
6030 (Bug#14567)
6031
f0100d8a
GM
60322013-06-15 Glenn Morris <rgm@gnu.org>
6033
b86a85ca
GM
6034 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6035 compilation-error-regexp-alist void, or local while let-bound.
6036
f0100d8a
GM
6037 * progmodes/make-mode.el (makefile-mode-syntax-table):
6038 Treat "=" as punctuation. (Bug#14614)
6039
05e7ce90
JB
60402013-06-15 Juanma Barranquero <lekktu@gmail.com>
6041
6042 * help-fns.el (describe-variable):
6043 Add extra line for permanent-local variables.
6044
12e5e86e
SH
60452013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6046
6047 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6048 Add export, import, library. (Bug#9164)
6049 (library): Set indent function.
6050
230dcbaf
GM
60512013-06-14 Glenn Morris <rgm@gnu.org>
6052
6053 * term/xterm.el (xterm--query):
6054 Stop after first matching handler. (Bug#14615)
6055
e36b2d20 60562013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6057
6058 Add support for dired in saveplace.
6059 * dired.el (dired-initial-position-hook): New variable.
6060 (dired-initial-position): Call hook to place cursor position.
6061 * saveplace.el (save-place-to-alist): Add dired position.
6062 (save-place-dired-hook): New function.
6063
0b31660d
SM
60642013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6065
bf1e6ae8
SM
6066 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6067 through a symbol rather than letrec.
6068
1b8dff23
SM
6069 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6070 (package-desc): Add `dir' field.
6071 (package-desc-full-name): New function.
6072 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6073 (package-maybe-load-descriptor): Remove.
6074 (package-load-all-descriptors): Just call package-load-descriptor.
6075 (package--disabled-p): New function.
6076 (package-desc-vers, package-desc-doc): Remove aliases.
6077 (package--dir): Remove function.
6078 (package-activate): Check if a package is disabled.
6079 (package-process-define-package): New function, extracted from
6080 define-package.
6081 (define-package): Turn into a place holder.
6082 (package-unpack-single, package-tar-file-info):
6083 Use package--description-file.
6084 (package-compute-transaction): Use package--disabled-p.
6085 (package-download-transaction): Don't call
6086 package-maybe-load-descriptor since they're all loaded anyway.
6087 (package-install): Change argument to be a pkg-desc.
6088 (package-delete): Use a single pkg-desc argument.
6089 (describe-package-1): Use package-desc-dir instead of package--dir.
6090 Use package-desc property instead of package-symbol.
6091 (package-install-button-action): Adjust accordingly.
6092 (package--push): Rewrite.
6093 (package-menu--print-info): Adjust accordingly. Change the ID format
6094 to be a pkg-desc.
6095 (package-menu-describe-package, package-menu-get-status)
6096 (package-menu--find-upgrades, package-menu-mark-upgrades)
6097 (package-menu-execute, package-menu--name-predicate):
6098 Adjust accordingly.
6099 * startup.el (package--description-file): New function.
6100 (command-line): Use it.
6101 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6102 Use package-desc-version.
6103
0b31660d
SM
6104 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6105 (byte-compile-preprocess): Use it.
6106 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6107 can't quite recognize.
6108 (byte-compile-add-to-list): Remove.
6109 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6110 (cconv-closure-convert): Add assertion.
6111
6112 * emacs-lisp/map-ynp.el: Use lexical-binding.
6113 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6114 Factor out some repeated code.
6115
de0503df
SM
61162013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * subr.el (with-eval-after-load): New macro.
6119 (eval-after-load): Allow form to be a function.
6120 take advantage of lexical-binding.
6121 (do-after-load-evaluation): Use dolist and adjust to new format.
6122 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6123
bc5c8c5a
JL
61242013-06-13 Juri Linkov <juri@jurta.org>
6125
6126 * replace.el (perform-replace): Display "symbol " and other search
6127 modes from `isearch-message-prefix' in the *Help* buffer.
6128
6129 * isearch.el (isearch-query-replace): Add " symbol" and other
6130 possible search modes from `isearch-message-prefix' to the prompt.
6131 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6132 when reading a regexp to collect.
6133
a22289f7
JL
61342013-06-13 Juri Linkov <juri@jurta.org>
6135
6136 * isearch.el (word-search-regexp): Match whitespace if the search
6137 string begins or ends in whitespace. The LAX arg is applied to
6138 both ends of the search string. Use `regexp-quote' and explicit
6139 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6140 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6141 boundaries are replaced with symbol boundaries, and characters
6142 between symbols match non-word non-symbol syntax. (Bug#14602)
6143
cb89acab
JL
61442013-06-13 Juri Linkov <juri@jurta.org>
6145
6146 * isearch.el (isearch-del-char): Don't exceed the length of
6147 `isearch-string' by the prefix arg. (Bug#14563)
6148
6e8cfc81
JL
61492013-06-13 Juri Linkov <juri@jurta.org>
6150
6151 * isearch.el (isearch-yank-word, isearch-yank-line)
6152 (isearch-char-by-name, isearch-quote-char)
6153 (isearch-printing-char, isearch-process-search-char):
6154 Add optional count prefix arg. (Bug#14563)
6155
6156 * international/isearch-x.el
6157 (isearch-process-search-multibyte-characters):
6158 Add optional count prefix arg.
6159
c23d55f4
VS
61602013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6163 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6164 lexical-binding.
6165
61662013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6167
6168 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6169
ba947bc4
GM
61702013-06-13 Glenn Morris <rgm@gnu.org>
6171
8baeb37a
GM
6172 * startup.el (tty-handle-args):
6173 Don't just discard "--" and anything after. (Bug#14608)
6174
ba947bc4
GM
6175 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6176
9abefce4
MA
61772013-06-13 Michael Albinus <michael.albinus@gmx.de>
6178
6179 Implement changes in Secret Service API. Make it backward compatible.
6180 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6181 (secrets-create-item): Use it. Prefix properties with interface.
6182
5755011f
MH
61832013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6184
6185 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6186 (term-emulate-terminal): Respect term-suppress-hard-newline.
6187
1261d2da
S
61882013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6189
6190 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6191 Only remove a `thumb-file' overlay. (Bug#14548)
6192
868490bb
GJ
61932013-06-12 Grégoire Jadi <daimrod@gmail.com>
6194
6195 * mail/reporter.el (reporter-submit-bug-report):
6196 Handle missing package-name. (Bug#14600)
6197
79d7167f
TH
61982013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6199
6200 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6201 (reftex-citation-prompt, reftex-default-bibliography)
6202 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6203 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6204 (reftex-bib-sort-author, reftex-bib-sort-year)
6205 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6206 (reftex-extract-bib-entries-from-thebibliography)
6207 (reftex-get-bibkey-default, reftex-get-bib-names)
6208 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6209 (reftex-format-bib-entry, reftex-parse-bibitem)
6210 (reftex-format-bibitem, reftex-do-citation)
6211 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6212 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6213 (reftex-insert-bib-matches, reftex-format-citation)
6214 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6215 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6216 existing comments into docstrings.
6217
5f9dbd7a
XF
62182013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6219
6220 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6221
94df41ab
AS
62222013-06-12 Andreas Schwab <schwab@suse.de>
6223
6224 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6225 for auto-save files.
6226
a7f3fecc
GM
62272013-06-12 Glenn Morris <rgm@gnu.org>
6228
001809f6
GM
6229 * ido.el (ido-delete-ignored-files): Remove.
6230 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6231 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6232
834b5ded
EL
62332013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6234
08c73ed2
EL
6235 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6236
834b5ded
EL
6237 * ido.el (ido-delete-ignored-files): New function,
6238 split from ido-make-file-list-1.
6239 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6240 (ido-make-file-list-1): Use ido-delete-ignored-files.
6241
daabf15a
LL
62422013-06-12 Leo Liu <sdl.web@gmail.com>
6243
6244 * progmodes/octave.el (inferior-octave-startup)
6245 (inferior-octave-completion-table)
6246 (inferior-octave-track-window-width-change)
6247 (octave-eldoc-function-signatures, octave-help)
6248 (octave-find-definition): Use single quoted strings.
6249 (inferior-octave-startup-args): Change default value.
6250 (inferior-octave-startup): Do not hard code "-i" and
6251 "--no-line-editing".
6252 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6253 (inferior-octave-directory-tracker): Use it.
6254 (octave-goto-function-definition): Robustify.
6255 (octave-help): Support highlighting operators in 'See also'.
6256 (octave-find-definition): Find subfunctions only in Octave mode.
6257
cf4e5178
SM
62582013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * help-fns.el (help-fns--compiler-macro): If the handler function is
6261 named, then put a link to it.
6262 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6263 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6264 (cl-typep): Use it.
6265 (cl-eval-when): Simplify debug spec.
6266 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6267 compiler-macro function instead of setting `compiler-macro-file'.
6268
99c81280 62692013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6270
6271 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6272 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6273
f56be016
SM
62742013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6275 Daniel Hackney <dan@haxney.org>
6276
6277 First part of Daniel Hackney's patch to package.el.
6278 * emacs-lisp/package.el: Use defstruct.
6279 (package-desc): New, main struct.
6280 (package--bi-desc, package--ac-desc): New structs, used to describe the
6281 format in external files.
6282 (package-desc-vers): Replace with package-desc-version accessor.
6283 (package-desc-doc): Replace with package-desc-summary accessor.
6284 (package-activate-1): Remove `package' arg since the pkg-vec now
6285 includes the name.
6286 (define-package): Use package-desc-from-define.
6287 (package-unpack-single): Change file-name arg to be a symbol.
6288 (package--add-to-archive-contents): Use package-desc-create and new
6289 accessor functions to package--ac-desc.
6290 (package-buffer-info, package-tar-file-info): Return a package-desc.
6291 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6292 arg to be a package-desc.
6293 (package-install-file): Adjust accordingly. Use \' to match EOS.
6294 (package--from-builtin): New function.
6295 (describe-package-1, package-menu--generate): Use it.
6296 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6297 (package-generate-autoloads): Idem and return the name of the file.
6298 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6299 Change pkg-info arg to be a package-desc.
6300 Use package-make-ac-desc.
6301 (package-upload-file): Use \' to match EOS.
6302 * finder.el (finder-compile-keywords): Use package-make-builtin.
6303
31119d63
SM
63042013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6305
931a2762
SM
6306 * vc/vc.el (vc-deduce-fileset): Change error message.
6307 (vc-read-backend): New function.
6308 (vc-next-action): Use it.
6309
5a3eb0c6
SM
6310 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6311
e3eb1bb7
SM
6312 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6313 (prolog-font-lock-keywords): Use regexp-opt instead.
6314 Don't manually highlight strings.
6315 (prolog-mode-variables): Simplify comment-start-skip.
6316 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6317
31119d63
SM
6318 * emacs-lisp/generic.el (generic--normalise-comments)
6319 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6320 (generic-mode-set-comments): Use them.
6321 (generic-bracket-support): Use setq-local.
6322 (generic-make-keywords-list): Declare obsolete.
6323
7de135d0
GM
63242013-06-11 Glenn Morris <rgm@gnu.org>
6325
6326 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6327 Prettify after setting font-lock-defaults. (Bug#14574)
6328
fa6bc6fd
JB
63292013-06-11 Juanma Barranquero <lekktu@gmail.com>
6330
6331 * replace.el (query-replace, occur-read-regexp-defaults-function)
6332 (replace-search):
6333 * subr.el (declare-function, number-sequence, local-set-key)
6334 (substitute-key-definition, locate-user-emacs-file)
6335 (with-silent-modifications, split-string, eval-after-load):
6336 Fix typos, remove unneeded backslashes and reflow some docstrings.
6337
cf1f9b9a
SM
63382013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6341 default for Elisp files.
6342
56602a4b
GM
63432013-06-11 Glenn Morris <rgm@gnu.org>
6344
6345 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6346 although define-derived-mode was doing this anyway. (Bug#14583)
6347
30ae0b2c
JB
63482013-06-10 Juanma Barranquero <lekktu@gmail.com>
6349
6350 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6351 Fix make-variable-buffer-local call to refer to the correct variable.
6352
fa472906
AG
63532013-06-10 Aidan Gauland <aidalgol@amuri.net>
6354
6355 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6356 (eshell-visual-subcommands, eshell-visual-options):
6357 Add summary line to docstrings. Add cross-references.
fa472906 6358
ff4871b9
GM
63592013-06-10 Glenn Morris <rgm@gnu.org>
6360
6361 * epa.el (epa-read-file-name): New function. (Bug#14510)
6362 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6363
04fcf1b0
AG
63642013-06-09 Aidan Gauland <aidalgol@amuri.net>
6365
6366 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6367 output redirection to be ignored with visual commands.
6368
88b00caa
AG
63692013-06-09 Aidan Gauland <aidalgol@amuri.net>
6370
6371 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6372 (eshell-term-initialize): Move long lambda to separate function
6373 eshell-visual-command-p.
e7b41c4c
JB
6374 * eshell/em-dirs.el (eshell-dirs-initialise):
6375 * eshell/em-script.el (eshell-script-initialize):
6376 Add missing #' to lambda.
88b00caa 6377
fda74125
LL
63782013-06-08 Leo Liu <sdl.web@gmail.com>
6379
6380 * progmodes/octave.el (octave-add-log-current-defun): New function.
6381 (octave-mode): Set add-log-current-defun-function.
6382 (octave-goto-function-definition): Do not move point if not found.
6383 (octave-find-definition): Enhance to try subfunctions first.
6384
467f3b33
GM
63852013-06-08 Glenn Morris <rgm@gnu.org>
6386
6387 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6388 (byte-compile-backward-char, byte-compile-backward-word):
6389 Improve previous change, to handle non-explicit nil.
6390
544badc3
SM
63912013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6394 (smie--opener/closer-at-point): New function.
6395 (smie--matching-block-data): Use it. Don't match from right after an
6396 opener or right before a closer. Obey smie-blink-matching-inners.
6397 Don't signal a mismatch for repeated inners like "switch..case..case".
6398
a175bf33
LL
63992013-06-07 Leo Liu <sdl.web@gmail.com>
6400
6401 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6402 to t. (Bug#14303)
ce8209d4
LL
6403 (octave-function-header-regexp): Fix. (Bug#14570)
6404 (octave-help-mode-finish-hook, octave-help-mode-finish):
6405 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6406
6407 * newcomment.el (comment-search-backward): Revert last change.
6408 (Bug#14434)
6409
6410 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6411
a822acff
EZ
64122013-06-07 Eli Zaretskii <eliz@gnu.org>
6413
6414 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6415 through xargs, to avoid failure due to MS-Windows limitations on
6416 command-line length.
6417
961166f5
GM
64182013-06-06 Glenn Morris <rgm@gnu.org>
6419
d0341459
GM
6420 * font-lock.el (lisp-font-lock-keywords-2):
6421 Treat user-error like error.
6422
961166f5
GM
6423 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6424 (byte-compile-backward-char, byte-compile-backward-word):
6425 Handle explicit nil arguments. (Bug#14565)
6426
80fa505f
AM
64272013-06-05 Alan Mackenzie <acm@muc.de>
6428
6429 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6430 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6431 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6432 (Bug#9706)
80fa505f 6433
fccdc796
SM
64342013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * autorevert.el (auto-revert-notify-handler): Use memq.
6437 Hide assertion failure.
6438
6439 * skeleton.el: Use cl-lib.
6440 (skeleton-further-elements): Use defvar-local.
6441 (skeleton-insert): Use cl-progv.
6442
9bfff84b
TZ
64432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6444
6445 * progmodes/prog-mode.el (prog-prettify-symbols)
6446 (prog-prettify-install): Update docstrings.
6447
55577e7c
SM
64482013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * simple.el: Move all the prog-mode code to prog-mode.el.
6451 * progmodes/prog-mode.el: New file.
6452 * loadup.el: Add prog-mode.el.
6453
8fc57765
TZ
64542013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6455
6456 * simple.el (prog-prettify-symbols): Add version.
6457 (prog-prettify-install): Add convenience function to prettify symbols.
6458
6459 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6460 (perl--augmented-font-lock-keywords-1)
6461 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6462 variables and use it.
6463
6464 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6465 (cfengine3-mode): Remove unneeded variable and use it.
6466
6467 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6468 (lisp--augmented-font-lock-keywords-1)
6469 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6470 Remove unneeded variables and use it.
6471
650645d5 64722013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6473
6474 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6475 to point when opening the connection. (Bug#14380)
28f5da6d 6476
781b4af6
SM
64772013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * subr.el (load-history-regexp, load-history-filename-element)
6480 (eval-after-load, after-load-functions, do-after-load-evaluation)
6481 (eval-next-after-load, display-delayed-warnings)
6482 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6483 definition of save-match-data.
6484 (overriding-local-map): Remove accidental obsolescence declaration.
6485
6486 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6487
3ca0d0b4
TZ
64882013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6489
6490 Generalize symbol prettify support to prog-mode and implement it
6491 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6492 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6493 (prog--prettify-font-lock-compose-symbol)
6494 (prog-prettify-font-lock-symbols-keywords): New variables and
6495 functions to support symbol prettification.
6496 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6497 (lisp--augmented-font-lock-keywords-1)
6498 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6499 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6500 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6501 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6502 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6503 * progmodes/perl-mode.el (perl-prettify-symbols)
6504 (perl--font-lock-compose-symbol)
6505 (perl--font-lock-symbols-keywords): Move to prog-mode.
6506 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6507 (perl-font-lock-keywords-1)
6508 (perl-font-lock-keywords-2): Remove explicit prettify support.
6509 (perl--augmented-font-lock-keywords)
6510 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6511 (perl--augmented-font-lock-keywords-2, perl-mode):
6512 Implement prettify support.
3ca0d0b4 6513
976cb066
LL
65142013-06-05 Leo Liu <sdl.web@gmail.com>
6515
6516 Re-implement smie matching block highlight using
6517 show-paren-data-function. (Bug#14395)
6518 * emacs-lisp/smie.el (smie-matching-block-highlight)
6519 (smie--highlight-matching-block-overlay)
6520 (smie--highlight-matching-block-lastpos)
6521 (smie-highlight-matching-block)
6522 (smie-highlight-matching-block-mode): Remove.
6523 (smie--matching-block-data-cache): New variable.
6524 (smie--matching-block-data): New function.
6525 (smie-setup): Use smie--matching-block-data for
6526 show-paren-data-function.
6527
6528 * progmodes/octave.el (octave-mode-menu): Fix.
6529 (octave-find-definition): Skip garbage lines.
6530
208d0342
SM
65312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6532
6533 Fix compilation error with simultaneous dynamic+lexical scoping.
6534 Add warning when a defvar appears after the first let-binding.
6535 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6536 (byte-compile-close-variables): Initialize it.
6537 (byte-compile--declare-var): New function.
6538 (byte-compile-file-form-defvar)
6539 (byte-compile-file-form-define-abbrev-table)
6540 (byte-compile-file-form-custom-declare-variable): Use it.
6541 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6542 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6543 (byte-compile-bind): Handle dynamic bindings that shadow
6544 lexical bindings.
6545 (byte-compile-unbind): Make arg non-optional.
6546 (byte-compile-let): Simplify.
6547 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6548 (cconv--analyse-function, cconv-analyse-form): Populate it.
6549 Protect byte-compile-bound-variables to limit the scope of defvars.
6550 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6551 Remove unneeded rule for `declare'.
6552
6553 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6554 so as to avoid depending on cl-adjoin at run-time.
6555 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6556
6557 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6558 (macroexp--warn-and-return): Use it.
6559
2587b005
LL
65602013-06-05 Leo Liu <sdl.web@gmail.com>
6561
6562 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6563
f1da3c88
LL
65642013-06-04 Leo Liu <sdl.web@gmail.com>
6565
6566 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6567 (compilation-auto-jump): Suppress the "Mark set" message to give
6568 way to exit message.
6569
3caa391f
AM
65702013-06-04 Alan Mackenzie <acm@muc.de>
6571
6572 Remove faulty optimisation from indentation calculation.
6573 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6574 search limit based on 2000 characters back from indent-point.
6575
068922a2
TH
65762013-06-03 Tassilo Horn <tsdh@gnu.org>
6577
6578 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6579
1f8fdd53
SM
65802013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6581
bbcc4d97
SM
6582 * emacs-lisp/lisp.el: Use lexical-binding.
6583 (lisp--local-variables-1, lisp--local-variables): New functions.
6584 (lisp--local-variables-completion-table): New var.
208d0342 6585 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6586
1f8fdd53
SM
6587 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6588 eagerly (bug#14422).
6589
c9628c79
MA
65902013-06-03 Michael Albinus <michael.albinus@gmx.de>
6591
6592 * autorevert.el (auto-revert-notify-enabled)
6593 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6594 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6595 (auto-revert-notify-handler): Handle also gfilenotify.
6596
e7b41c4c 6597 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6598 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6599 Remove.
c9628c79 6600
e5e4a942
JL
66012013-06-03 Juri Linkov <juri@jurta.org>
6602
6603 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6604 `M-s h .'. (Bug#14427)
6605
6606 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6607 command `hi-lock-face-symbol-at-point'.
6608 (hi-lock-face-symbol-at-point): New command.
6609 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6610 (hi-lock-menu): Add `highlight-symbol-at-point'.
6611 (hi-lock-mode): Doc fix.
6612
6613 * isearch.el (isearch-forward-symbol-at-point): New command.
6614 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6615 (isearch-highlight-regexp): Add a regexp which matches
6616 words/symbols for word/symbol mode.
6617
6618 * subr.el (find-tag-default-bounds): New function with the body
6619 mostly moved from `find-tag-default'.
6620 (find-tag-default): Move most code to `find-tag-default-bounds',
6621 call it and apply `buffer-substring-no-properties' afterwards.
6622
26b3353a
TH
66232013-06-03 Tassilo Horn <tsdh@gnu.org>
6624
781b4af6
SM
6625 * eshell/em-term.el (eshell-term-initialize):
6626 Use `cl-intersection' rather than `intersection'.
26b3353a 6627
51b60f53
XF
66282013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6629
fe054b63 6630 * vc/log-view.el: Doc fix.
d3ffe17c 6631 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6632
a0eb10b3 66332013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6634
6635 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6636 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6637 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6638 (eieio-unbound, eieio-default-superclass)
6639 (eieio--define-field-accessors, method-static, method-before)
6640 (method-primary, method-after, method-num-lists)
6641 (method-generic-before, method-generic-primary)
6642 (method-generic-after, method-num-slots)
6643 (eieio-specialized-key-to-generic-key)
6644 (eieio--check-type, class-v, class-p)
6645 (eieio-class-name, define-obsolete-function-alias)
6646 (eieio-class-parents-fast, eieio-class-children-fast)
6647 (same-class-fast-p, class-constructor, generic-p)
6648 (generic-primary-only-p, generic-primary-only-one-p)
6649 (class-option-assoc, class-option, eieio-object-p)
6650 (class-abstract-p, class-method-invocation-order)
6651 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6652 (eieio-class-un-autoload, eieio-defclass)
6653 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6654 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6655 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6656 (eieio-defgeneric-reset-generic-form)
6657 (eieio-defgeneric-form-primary-only)
6658 (eieio-defgeneric-reset-generic-form-primary-only)
6659 (eieio-defgeneric-form-primary-only-one)
6660 (eieio-defgeneric-reset-generic-form-primary-only-one)
6661 (eieio-unbind-method-implementations)
6662 (eieio--defmethod, eieio--typep)
6663 (eieio-perform-slot-validation, eieio-validate-slot-value)
6664 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6665 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6666 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6667 (eieio-slot-name-index, eieio-class-slot-name-index)
6668 (eieio-set-defaults, eieio-initarg-to-attribute)
6669 (eieio-attribute-to-initarg, eieio-c3-candidate)
6670 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6671 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6672 (eieio-class-precedence-list, eieio-generic-call-methodname)
6673 (eieio-generic-call-arglst, eieio-generic-call-key)
6674 (eieio-generic-call-next-method-list)
6675 (eieio-pre-method-execution-functions, eieio-generic-call)
6676 (eieio-generic-call-primary-only, eieiomt-method-list)
6677 (eieiomt-optimizing-obarray, eieiomt-install)
6678 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6679 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6680 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6681 (defclass): Remove `eval-and-compile' from macro.
6682 (call-next-method, shared-initialize): Instead of using
6683 `scoped-class' variable, use new eieio--scoped-class, and
6684 eieio--with-scoped-class.
6685 (initialize-instance): Rename local variable 'scoped-class' to
6686 'this-class' to remove ambiguitity from old global.
6687
6688 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6689 eieio.el.
4f405069
JB
6690 (eieio--scoped-class-stack): New variable.
6691 (eieio--scoped-class): New fcn.
890f7890
DE
6692 (eieio--with-scoped-class): New scoping macro.
6693 (eieio-defclass): Use pushnew instead of add-to-list.
6694 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6695 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6696 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6697 `scoped-class' variable, use new eieio--scoped-class, and
6698 eieio--with-scoped-class.
6699
6700 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6701
d105b0e2
TH
67022013-06-02 Tassilo Horn <tsdh@gnu.org>
6703
6704 * eshell/esh-ext.el (eshell-external-command): Pass args to
6705 `eshell-find-interpreter'.
6706 (eshell-find-interpreter): Add new second parameter ARGS.
6707
6708 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6709 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6710
6711 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6712 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6713
6714 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6715 (eshell-visual-options): New defcustom.
6716 (eshell-escape-control-x): Adapt docstring.
6717 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6718 `eshell-visual-options' in addition to `eshell-visual-commands'.
6719 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6720
f46305c8 67212013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6722
6723 * progmodes/python.el (python-indent-block-enders): Add break,
6724 continue and raise keywords.
6725
d870df21
GM
67262013-06-01 Glenn Morris <rgm@gnu.org>
6727
9133b82e
GM
6728 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6729
02c992ec 6730 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6731 * progmodes/cc-cmds.el (delete-forward-p):
6732 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6733 * progmodes/cc-engine.el (buffer-syntactic-context):
6734 * progmodes/cc-fonts.el (face-property-instance):
6735 * progmodes/cc-mode.el (set-keymap-parents):
6736 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6737 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6738 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6739 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6740 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6741
31e7b090
GM
6742 * progmodes/cc-vars.el (other): Emacs has this widget since
6743 at least 21.1, so don't (re)define it.
6744
d870df21
GM
6745 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6746 Replace the obsolete alias pcomplete-arg-quote-list.
6747
c75c93c7
LL
67482013-06-01 Leo Liu <sdl.web@gmail.com>
6749
6750 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6751 punctuation syntax.
6752 (inferior-octave-minimal-columns)
6753 (inferior-octave-last-column-width): New variables.
6754 (inferior-octave-track-window-width-change): New function.
6755 (inferior-octave-mode): Adjust column width so that Octave output,
6756 for example from 'ls', can fit into the window nicely.
6757
973d1e12
DG
67582013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6759
6760 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6761 Highlight expansions inside regexp literals.
6762
0888c286
GM
67632013-05-31 Glenn Morris <rgm@gnu.org>
6764
e26aac1f
GM
6765 * obsolete/sym-comp.el (symbol-complete):
6766 Replace obsolete completion-annotate-function.
6767
0888c286
GM
6768 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6769
19bb8e62
DG
67702013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6771
781b4af6
SM
6772 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6773 New function, checks if point is inside a literal that allows
19bb8e62
DG
6774 expression expansion.
6775 (ruby-syntax-propertize-expansion): Use it.
6776 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6777 around the body.
6778
01dea85f
JL
67792013-05-30 Juri Linkov <juri@jurta.org>
6780
6781 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6782 to "\M-si".
6783 (isearch-invisible): New variable.
6784 (isearch-forward): Doc fix.
6785 (isearch-mode): Set `isearch-invisible'
6786 to the value of `search-invisible'.
6787 (isearch-toggle-case-fold): Doc fix.
6788 (isearch-toggle-invisible): New command.
6789 (isearch-query-replace): Let-bind `search-invisible'
6790 to the value of `isearch-invisible'.
6791 (isearch-search): Use `isearch-invisible' instead of
6792 `search-invisible'. Let-bind `search-invisible'
6793 to the value of `isearch-invisible'. (Bug#11378)
6794
ab1bdce5
JL
67952013-05-30 Juri Linkov <juri@jurta.org>
6796
6797 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6798 call when `query-flag' is nil and `search-invisible' is non-nil.
6799 (Bug#11746)
6800
d6d236e2
GM
68012013-05-30 Glenn Morris <rgm@gnu.org>
6802
8accd027
GM
6803 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6804
2a8bed1c
GM
6805 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6806 (cc-require): Suppress spurious "noruntime" warnings.
6807 (cc-require-when-compile): Use fboundp, for sake of compiler.
6808
d6d236e2
GM
6809 * progmodes/cc-mode.el: Move load of cc-vars before that of
6810 cc-langs (which in turn loads cc-vars), to quieten compiler.
6811
9190b35b
SM
68122013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * paren.el: Simplify the code.
6815 (show-paren-mode): Always start the timer.
6816 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6817 (show-paren--overlay, show-paren--overlay-1): Rename from
6818 show-paren-overlay and show-paren-overlay-1, and initialize to an
6819 overlay rather than to nil.
6820 (show-paren-function): Misc cleanup and simplifications.
6821
4f8d1cf6
SM
68222013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 * paren.el (show-paren-data-function): New hook.
6825 (show-paren--default): New function, extracted from show-paren-function.
6826 (show-paren-function): Use show-paren-data-function.
6827
02d844b5
GM
68282013-05-30 Glenn Morris <rgm@gnu.org>
6829
d209d4a9
GM
6830 * ielm.el (ielm-map, ielm-complete-symbol):
6831 Use completion-at-point rather than obsolete functions.
6832 (inferior-emacs-lisp-mode): Doc fix.
6833 Set completion-at-point-functions, rather than
6834 comint-dynamic-complete-functions.
6835
2082faa6
GM
6836 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6837 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6838 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6839
dd8620de
GM
6840 * image.el (image-animated-p): Tweak definition.
6841
ceca95b1
GM
6842 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6843 (rlogin-process-connection-type): Tweak default. Add set-after.
6844 (rlogin-host): Doc fix.
6845 (rlogin): Tweak prompt.
6846 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6847
ee9f1acc
GM
6848 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6849 * progmodes/tcl.el (inferior-tcl-mode-map):
6850 Use completion-at-point rather than obsolete alias.
6851
45ce222e
GM
6852 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6853
02d844b5
GM
6854 * minibuffer.el (read-file-name-completion-ignore-case):
6855 Move before completion--in-region, for eager macro expansion.
6856
ac44d6c1
JL
68572013-05-29 Juri Linkov <juri@jurta.org>
6858
6859 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6860 for total count of matching lines. Add `global-matches' for total
6861 count of matches. Rename `matches' to `lines' for count of
6862 matching lines. Add `matches' for count of matches.
6863 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6864 to `prev-line' for line number of prev match endpt.
6865 Increment `matches' for every match. Print the number of
6866 matching lines in the header.
6867 (occur-context-lines): Rename `lines' to `curr-line'.
6868 Rename `prev-lines' to `prev-line'. (Bug#14017)
6869
3c9c9d38
JL
68702013-05-29 Juri Linkov <juri@jurta.org>
6871
6872 * replace.el (perform-replace): Add `skip-read-only-count',
6873 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6874 Increment them for corresponding conditions and report the number
6875 of skipped occurrences in the final message. (Bug#11746)
6876 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6877 (replace-string, replace-regexp): Doc fix.
6878
33e249a2
SM
68792013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6880
8e399682
SM
6881 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6882
33e249a2 6883 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6884 prog-mode-map (bug#14504).
33e249a2 6885
f236dd84
LL
68862013-05-29 Leo Liu <sdl.web@gmail.com>
6887
6888 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6889 (octave-help): Small simplification.
6890
6891 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6892 off the highlight first.
6893
3694d13f
GM
68942013-05-29 Glenn Morris <rgm@gnu.org>
6895
03983bdc
GM
6896 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6897 Handle idlwave-last-system-routine-info-cons-cell being nil.
6898
bc74a74a
GM
6899 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6900 (idlwave-write-paths): Simplify via with-temp-buffer.
6901
8b394200
GM
6902 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6903 * emulation/cua-rect.el: Also load cua-base at run time.
6904
3694d13f
GM
6905 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6906 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6907 (cperl-imenu-on-info): Require imenu.
6908
336d7284
AM
69092013-05-28 Alan Mackenzie <acm@muc.de>
6910
6911 Handle "capitalised keywords" correctly.
33e249a2 6912 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6913
cb29c582
AG
69142013-05-28 Aidan Gauland <aidalgol@amuri.net>
6915
781b4af6 6916 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6917
690e44b2
GM
69182013-05-28 Glenn Morris <rgm@gnu.org>
6919
e658d75c
GM
6920 * vc/vc-arch.el (vc-exec-after): Declare.
6921 (vc-switches): Autoload.
6922 * vc/vc-bzr.el: No need to require vc when compiling.
6923 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6924 (vc-resynch-buffer, vc-dir-refresh): Declare.
6925 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6926 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6927 (vc-resynch-buffer): Declare.
6928 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6929 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6930 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6931 (grep-read-regexp, grep-read-files, grep-expand-template)
6932 (vc-dir-refresh): Declare.
6933 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6934 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6935 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6936 * vc/vc-mtn.el (vc-exec-after): Declare.
6937 (vc-switches): Autoload.
6938 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6939 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6940 (vc-file-tree-walk): Declare.
712b9732
GM
6941 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6942 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6943 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6944 * vc/vc-svn.el (vc-exec-after): Declare.
6945 (vc-switches, vc-setup-buffer): Autoload.
6946 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6947 Autoload.
6948 (vc-resynch-buffer): Declare.
6949
98e87fb3
GM
6950 * obsolete/fast-lock.el (byte-compile-warnings):
6951 Don't warn about obsolete features in this obsolete file.
6952
f5379553
GM
6953 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6954 Move definition before use.
6955
7a20ef83
GM
6956 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6957 (dun-unix-verbs): Remove dun-zippy.
6958 (dun-zippy): Remove function.
6959
690e44b2
GM
6960 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6961
3a52ccf7
JL
69622013-05-27 Juri Linkov <juri@jurta.org>
6963
6964 * replace.el (replace-search): New function with code moved out
6965 from `perform-replace'.
6966 (replace-highlight, replace-dehighlight): Move function definitions
6967 up closer to `replace-search'. (Bug#11746)
6968
d289938a
JL
69692013-05-27 Juri Linkov <juri@jurta.org>
6970
6971 * replace.el (perform-replace): Ignore invisible matches.
6972 In addition to checking `query-replace-skip-read-only', also
6973 filter out matches by calling `run-hook-with-args-until-failure'
6974 on `isearch-filter-predicates', and also check `search-invisible'
6975 for t or call `isearch-range-invisible'.
6976 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6977
66fc57e3
JL
69782013-05-27 Juri Linkov <juri@jurta.org>
6979
6980 * isearch.el (isearch-filter-predicates): Rename from
6981 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6982 (isearch-message-prefix): Display text from the property
6983 `isearch-message-prefix' of the currently active filters.
6984 (isearch-search): Don't compare `isearch-filter-predicate' with
6985 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6986 on `isearch-filter-predicates'. Also check `search-invisible' for t
6987 or call `isearch-range-invisible'.
6988 (isearch-filter-visible): Make obsolete.
6989 (isearch-lazy-highlight-search):
6990 Call `run-hook-with-args-until-failure' on
6991 `isearch-filter-predicates' and use `isearch-range-invisible'.
6992
6993 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6994 `isearch-filter-predicates' instead of `funcall'ing
6995 `isearch-filter-predicate'.
6996 (Info-mode): Set `Info-isearch-filter' to
6997 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6998
6999 * dired-aux.el (dired-isearch-filter-predicate-orig):
7000 Remove variable.
7001 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7002 (dired-isearch-filenames-end): Add and remove
7003 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7004 instead of changing the value of `isearch-filter-predicate'.
7005 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7006 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7007 Put property `isearch-message-prefix' to "filename " on
7008 `dired-isearch-filter-filenames'.
7009
7010 * wdired.el (wdired-change-to-wdired-mode):
7011 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7012 locally instead of changing `isearch-filter-predicate'.
7013 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7014
f1a60a0f
DG
70152013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7016
7017 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7018 return the commit hash (Bug#14459). Also set the
7019 `vc-git-detached' property.
7020 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7021 (vc-git-mode-line-string): Use the same help-echo format whether
7022 in detached mode or not, because we know the actual revision now.
7023 When in detached mode, shorten the revision to 7 chars.
7024
7f17cc40
SM
70252013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * emacs-lisp/easy-mmode.el (define-minor-mode):
7028 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7029 mode hook and provide a docstring.
7030
25c8401c
AM
70312013-05-27 Alan Mackenzie <acm@muc.de>
7032
7033 Remove spurious syntax-table text properties inserted by C-y.
7034 * progmodes/cc-mode.el (c-after-change): Also clear hard
7035 syntax-table property with value nil.
7036
dde84790
MA
70372013-05-27 Michael Albinus <michael.albinus@gmx.de>
7038
7039 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7040 when reading the events; the buffer layout shall not be changed.
7041
837fd9af
LL
70422013-05-27 Leo Liu <sdl.web@gmail.com>
7043
7044 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7045 New variable.
7046 (inferior-octave-directory-tracker): Automatically re-sync
7047 default-directory.
7048 (octave-help): Improve handling of 'See also'.
7049
4fd996b3
SM
70502013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7051
416f1802
SM
7052 * doc-view.el: Minor naming convention tweaks.
7053 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7054
4fd996b3
SM
7055 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7056 even if there's no `display' property yet (bug#14435).
7057
a052ef3b
EZ
70582013-05-25 Eli Zaretskii <eliz@gnu.org>
7059
4fd996b3 7060 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7061
7062 * Makefile.in (custom-deps, finder-data, autoloads)
7063 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7064 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7065 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7066
c9023370
SM
70672013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7070 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7071 Don't burp at EOB.
c9023370 7072
24d699fa
LL
70732013-05-25 Leo Liu <sdl.web@gmail.com>
7074
7075 * comint.el (comint-previous-matching-input): Do not flood the
7076 *Messages* buffer with trivial messages.
7077
17e5c0cc
SM
70782013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * progmodes/flymake.el (flymake-nop): Don't return a string.
7081 (flymake-set-at): Fix typo.
7082
7083 * simple.el (read--expression): New function, extracted from
7084 eval-expression. Set completion-at-point-functions (bug#14465).
7085 (eval-expression, eval-minibuffer): Use it.
7086
5d028165
XF
70872013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7088
7089 * progmodes/flymake.el (flymake-save-buffer-in-file)
7090 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7091 (flymake-selected-frame, flymake-log, flymake-ins-after)
7092 (flymake-set-at, flymake-get-buildfile-from-cache)
7093 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7094 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7095 Refine the doc string.
7096 (flymake-get-file-name-mode-and-masks): Reformat.
7097 (flymake-get-real-file-name-function): Fix a minor bug.
7098
7a1d7ba7
JL
70992013-05-24 Juri Linkov <juri@jurta.org>
7100
7101 * progmodes/grep.el (grep-mode-font-lock-keywords):
7102 Support =linenumber= format used by git-grep for lines with
7103 function names. (Bug#13549)
7104
650cff3d
SM
71052013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7106
7107 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7108 0 after a semi-colon; it works better for smie-auto-fill.
7109 (octave--indent-new-comment-line): New function.
7110 (octave-indent-new-comment-line): Use it (indirectly).
7111 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7112 modify comment-line-break-function.
7113
7114 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7115 (smie-setup): Use add-function to set it.
7116
9631677d
SS
71172013-05-24 Sam Steingold <sds@gnu.org>
7118
7119 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7120 argument (before the `interactive' argument).
7121
50105835
SM
71222013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * image-mode.el (image-mode-winprops): Add winprops to
7125 image-mode-winprops-alist before running
7126 image-mode-new-window-functions.
7127 * doc-view.el (doc-view-new-window-function): Don't delay
7128 doc-view-goto-page via timers (bug#14435).
7129
57b9823e
TH
71302013-05-24 Tassilo Horn <tsdh@gnu.org>
7131
7132 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7133 (doc-view-desktop-save-buffer): New function.
7134 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7135 (desktop-buffer-mode-handlers):
7136 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7137 handler.
7138 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7139 `desktop-save-buffer' function.
7140
91aafa16
MA
71412013-05-24 Michael Albinus <michael.albinus@gmx.de>
7142
7143 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7144 (tramp-gvfs-file-name-handler): Raise a user error when
7145 `tramp-gvfs-enabled' is nil.
7146 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7147 Do not raise a user error when loading package. (Bug#14447)
7148
ec076379
MA
7149 * net/xesam.el: Move to obsolete/.
7150
db785726
GM
71512013-05-24 Glenn Morris <rgm@gnu.org>
7152
af5c7606
GM
7153 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7154
e5d1916a
GM
7155 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7156
ded62b08
GM
7157 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7158 (Info-find-node, Man-getpage-in-background): Declare.
7159
9e614a3f
GM
7160 * mail/unrmail.el (unrmail):
7161 Replace obsolete detect-coding-with-priority.
7162
892f8ca3
GM
7163 * net/socks.el (socks-split-string): Use this rather than split-string.
7164 (socks-nslookup-host): Update for above change.
7165 (dynamic-choice, s5-dynamic-choice-match)
7166 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7167 Comment out unused code.
7168
3c291973
GM
7169 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7170 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7171 (gud-tooltip-echo-area): Make obsolete.
7172 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7173
43cc956b
GM
7174 * progmodes/js.el (js--optimize-arglist): Declare.
7175
dab49a3b
GM
7176 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7177
36b9d085
GM
7178 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7179 (ediff-window-C): Declare.
7180
e354ae76
GM
7181 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7182 Tweak requires to silence compiler.
7183
b8e57bf4
GM
7184 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7185 (he-search-string, he-tried-table, he-expand-list)
7186 (he-init-string, he-string-member, he-substitute-string)
7187 (he-reset-string): Declare.
7188
db785726
GM
7189 * obsolete/options.el (list-options): Use custom-variable-p,
7190 rather than obsolete alias.
7191
b3531901
SS
71922013-05-23 Sam Steingold <sds@gnu.org>
7193
7194 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7195 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7196 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7197
bdda4c66
SM
71982013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * emacs-lisp/smie.el (smie-indent-forward-token)
7201 (smie-indent-backward-token): Handle string tokens (bug#14381).
7202
c43d45f9
TH
72032013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7204
fe1eb856
RS
7205 * ielm.el (ielm-menu): New menu.
7206 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7207
fe1eb856
RS
72082013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7209
7210 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7211 Fix deactivate action.
7212
7213 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7214 Add cleveref macros.
074dd971 7215
c43d45f9
TH
7216 * lisp/textmodes/reftex-parse.el
7217 (reftex-locate-bibliography-files): Accept options for
7218 bibliography commands.
7219 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7220 Add addbibresource. Basic Biblatex support.
7221
7764286e
MA
72222013-05-23 Michael Albinus <michael.albinus@gmx.de>
7223
7224 * net/tramp-gvfs.el (top):
7225 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7226 when loading package. (Bug#14447)
7227
d361bc10
GM
72282013-05-23 Glenn Morris <rgm@gnu.org>
7229
8fa23984
GM
7230 * progmodes/js.el: No need to load comint when compiling.
7231 (ring-insert, comint-send-string, comint-send-input)
7232 (comint-last-input-end, ido-chop): Declare.
7233
a5c7df1a
GM
7234 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7235 * vc/ediff-mult.el: Adjust requires.
7236 (ediff-directories-internal, ediff-directory-revisions-internal)
7237 (ediff-patch-file-internal): Declare.
7238 * vc/ediff-ptch.el: Adjust requires.
7239 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7240 (ediff-find-file): Autoload.
7241 * vc/ediff-util.el: No need to load ediff when compiling.
7242 (ediff-regions-internal): Declare.
7243 * vc/ediff-wind.el: Adjust requires.
7244 (ediff-compute-toolbar-width): Define when compiling.
7245 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7246 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7247 (dired-get-filename, dired-get-marked-files)
7248 (ediff-last-dir-patch, ediff-patch-default-directory)
7249 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7250 (ediff-patch-buffer-internal): Declare.
7251
e2aec513
GM
7252 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7253 (ispell-process, ispell-buffer-local-words, lm-summary)
7254 (lm-section-start, lm-section-end): Declare.
7255 (checkdoc-ispell-init): Simplify.
7256
e68bbd7c
GM
7257 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7258 (he-string-member, he-reset-string, he-substitute-string): Declare.
7259
7efe0991
GM
7260 * eshell/em-ls.el: Adjust requires.
7261 (eshell-glob-regexp): Declare.
f87b1284
GM
7262 * eshell/em-tramp.el: Adjust requires.
7263 (eshell-parse-command): Autoload.
7264 * eshell/em-xtra.el: Adjust requires.
7265 (eshell-parse-command): Autoload.
7266 * eshell/esh-ext.el: Adjust requires.
7267 (eshell-parse-command, eshell-close-handles): Autoload.
7268 * eshell/esh-io.el: Adjust requires.
7269 (eshell-output-filter): Autoload.
7270 * eshell/esh-util.el: No need to load tramp when compiling.
7271 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7272 Declare.
7273 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7274 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7275 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7276 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7277 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7278 * eshell/esh-opt.el, eshell/esh-proc.el:
7279 * eshell/esh-var.el: Adjust requires.
7280 * eshell/eshell.el: Do not require esh-util twice.
7281 (eshell-add-input-to-history): Declare.
7282 (eshell-command): Check history module is active before using it.
7283
d361bc10
GM
7284 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7285
85d090a9
LL
72862013-05-22 Leo Liu <sdl.web@gmail.com>
7287
7288 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7289
5d0acd9d
MA
72902013-05-22 Michael Albinus <michael.albinus@gmx.de>
7291
7292 * autorevert.el (auto-revert-notify-add-watch)
7293 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7294 it indicates changes in file modification time.
7295
0cdffd7d
GM
72962013-05-22 Glenn Morris <rgm@gnu.org>
7297
ca5995ec
GM
7298 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7299 Always delete the autoloaded function from the noruntime and
7300 unresolved functions lists.
7301
6450907e
GM
7302 * allout.el: No need to load epa, epg, overlay when compiling.
7303 (epg-context-set-passphrase-callback, epg-list-keys)
7304 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7305 (epg-key-user-id-list): Declare.
7306
9c6906f6
GM
7307 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7308 (viper-set-parsing-style-toggling-macro)
7309 (viper-set-emacs-state-searchstyle-macros):
7310 Use called-interactively-p on Emacs.
7311 (viper-looking-back): Make it an obsolete alias. Update callers.
7312 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7313 Use looking-back rather than viper-looking-back.
7314 (viper-tmp-insert-at-eob, viper-enlarge-region)
7315 (viper-read-string-with-history, viper-register-to-point)
7316 (viper-append-to-register, viper-change-state-to-vi)
7317 (viper-backward-char-carefully, viper-forward-char-carefully)
7318 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7319 (viper-change-state-to-emacs): Declare.
7320 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7321 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7322 * emulation/viper-mous.el: Do not load viper-cmd.
7323 (viper-backward-char-carefully, viper-forward-char-carefully)
7324 (viper-forward-word, viper-adjust-window): Declare.
7325
5f70c169
GM
7326 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7327
b1b7f300
GM
7328 * progmodes/idlw-help.el (idlwave-help-fontify):
7329 Use called-interactively-p.
7330
f6ebbb46
GM
7331 * term/w32console.el (w32-get-console-codepage)
7332 (w32-get-console-output-codepage): Declare.
7333
0cdffd7d
GM
7334 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7335 Remove unnecessary declarations.
7336 (dframe-message): Doc fix.
7337
7338 * info.el (dframe-select-attached-frame, dframe-current-frame):
7339 Declare.
7340
7341 * speedbar.el (speedbar-message): Make it an obsolete alias.
7342 Update all callers.
7343 (speedbar-with-attached-buffer)
7344 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7345 (speedbar-with-writable): Use backquote.
7346 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7347 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7348 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7349 rather than speedbar- aliases.
7350 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7351 (speedbar-make-specialized-keymap, speedbar-insert-button)
7352 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7353 (speedbar-do-function-pointer): Declare.
7354 (rmail-speedbar-button, rmail-speedbar-find-file)
7355 (rmail-speedbar-move-message):
7356 Use dframe-with-attached-buffer rather than speedbar- alias.
7357 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7358 (dframe-message, speedbar-make-specialized-keymap)
7359 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7360 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7361 (speedbar-insert-button, dframe-select-attached-frame)
7362 (dframe-maybee-jump-to-attached-frame)
7363 (speedbar-change-initial-expansion-list)
7364 (speedbar-previously-used-expansion-list-name): Declare.
7365 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7366 Use dframe-message, dframe-with-attached-buffer rather than
7367 speedbar- aliases.
7368 (gud-sentinel): Silence compiler.
7369 * progmodes/vhdl-mode.el (speedbar-refresh)
7370 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7371 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7372 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7373 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7374 (speedbar-file-lists, speedbar-make-tag-line)
7375 (speedbar-line-directory, speedbar-goto-this-file)
7376 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7377 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7378 (speedbar-make-button, speedbar-reset-scanners)
7379 (speedbar-files-item-info, speedbar-line-text)
7380 (speedbar-find-file-in-frame, speedbar-set-timer)
7381 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7382 (speedbar-with-writable): Do not (re)define it.
7383 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7384 rather than speedbar- alias.
7385
ee44b62a
LL
73862013-05-21 Leo Liu <sdl.web@gmail.com>
7387
7388 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7389 menu items.
7390 (octave-mode): Tweak fill-nobreak-predicate.
7391 (inferior-octave-startup): Check process to avoid infinite loop.
7392 (inferior-octave): Pop to buffer first to show abornmal process
7393 exit information.
7394
640f050f
GM
73952013-05-21 Glenn Morris <rgm@gnu.org>
7396
79458038
GM
7397 * printing.el (pr-menu-bar): Define when compiling.
7398
9cc3e83f
LL
73992013-05-21 Leo Liu <sdl.web@gmail.com>
7400
7401 * progmodes/octave.el (octave-auto-fill): Remove.
7402 (octave-indent-new-comment-line): Improve.
7403 (octave-mode): Use auto fill mode through
4f405069 7404 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7405 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7406 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7407 (octave-help): Show parent directory.
7408
f440830d
GM
74092013-05-21 Glenn Morris <rgm@gnu.org>
7410
7411 * files.el (dired-unmark):
7412 * progmodes/gud.el (gdb-input): Update declarations.
7413
7414 * calculator.el (electric, ehelp): No need to load when compiling.
7415 (Electric-command-loop, electric-describe-mode): Declare.
7416
7417 * doc-view.el (doc-view-current-converter-processes): Move before use.
7418
7419 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7420 Move MODE-set-explicitly definition before use.
7421
7422 * international/mule-diag.el (mule-diag):
7423 Don't use obsolete window-system-version.
7424
7425 * mail/feedmail.el (smtpmail): No need to load when compiling.
7426 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7427
7428 * mail/mail-utils.el (rfc822): No need to load when compiling.
7429 (rfc822-addresses): Autoload it.
7430 (mail-strip-quoted-names): Trivial simplification.
7431
7432 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7433 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7434
7435 * net/snmp-mode.el (tempo): Don't duplicate requires.
7436
7437 * progmodes/prolog.el (info): No need to load when compiling.
7438 (comint): Require before shell requires it.
7439 (Info-goto-node): Autoload it.
7440 (Info-follow-nearest-node): Declare.
7441 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7442
7443 * textmodes/artist.el (picture-mode-exit): Declare.
7444
7445 * textmodes/reftex-parse.el (reftex-parse-from-file):
7446 Trivial rewrite so the compiler can parse it better.
7447
b4da2cbb
LL
74482013-05-20 Leo Liu <sdl.web@gmail.com>
7449
7450 * progmodes/octave.el (octave-help-mode-map)
7451 (octave-help-mode-finish-hook): New variables.
7452 (octave-help-mode, octave-help-mode-finish): New functions.
7453 (octave-help): Use octave-help-mode.
7454
33c0f65b
GM
74552013-05-20 Glenn Morris <rgm@gnu.org>
7456
7457 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7458
1a0a0a8a
DG
74592013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7460
7461 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7462 start at point, so that expansion starting right after opening
7463 slash in a regexp is recognized.
7464 (ruby-syntax-before-regexp-re): New defvar, extracted from
7465 ruby-syntax-propertize-function. Since the value of this regexp
7466 is looked up at runtime now, we should be able to turn
7467 `ruby-syntax-methods-before-regexp' into a defcustom later.
7468 (ruby-syntax-propertize-function): Split regexp matching into two
7469 parts, for opening and closing slashes. That allows us to skip
7470 over string interpolations and support multiline regexps.
7471 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7472 for them, which calls `ruby-syntax-propertize-expansion'.
7473 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7474 call to `ruby-syntax-propertize-function'.
7475 (ruby-syntax-propertize-expansion): Extracted from
7476 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7477 (ruby-syntax-propertize-percent-literal): Leave point right after
7478 the percent symbol, so that the expression expansion rule can
7479 propertize the contents.
462388b6
DG
7480 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7481 heredoc openers.
7482 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7483
c1a6c0a4
JL
74842013-05-18 Juri Linkov <juri@jurta.org>
7485
7486 * man.el (Man-default-man-entry): Remove `-' from the end
7487 of the default value. (Bug#14400)
7488
8051fccd
GM
74892013-05-18 Glenn Morris <rgm@gnu.org>
7490
7491 * comint.el (comint-password-prompt-regexp):
7492 Allow "password for XXX" where XXX contains colons (eg https://...).
7493
5e80b74f
LL
74942013-05-18 Leo Liu <sdl.web@gmail.com>
7495
7496 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7497 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7498 (octave-source-directories): Don't check process.
7499 (octave-source-directories, octave-find-definition): Doc fix.
7500
521a54c5
GM
75012013-05-18 Glenn Morris <rgm@gnu.org>
7502
86a94b05
GM
7503 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7504 Remove backspace/delete bindings. (Bug#14392)
7505
521a54c5
GM
7506 * cus-dep.el (custom-make-dependencies): Sort the output.
7507 (custom-versions-load-alist): Convert comment to doc.
7508
42caeb89
LL
75092013-05-17 Leo Liu <sdl.web@gmail.com>
7510
7511 * newcomment.el (comment-search-backward): Stricter in finding
7512 comment start. (Bug#14303)
7513
7514 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7515 (octave-comment-start-skip): Properly anchored.
7516
e219dd97
LL
75172013-05-17 Leo Liu <sdl.web@gmail.com>
7518
fe1eb856
RS
7519 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7520 Clean up when turned off. (Bug#14395)
e219dd97
LL
7521 (smie--highlight-matching-block-overlay): No longer buffer-local.
7522 (smie-highlight-matching-block): Adjust.
7523
dc5dcb4b
PE
75242013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7525
7526 Doc string fix for "nanoseconds" (Bug#14406).
7527 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7528 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7529
1db165f0
JB
75302013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7531
7532 * calc/calc-units.el (math-extract-units): Preserve powers
7533 of units.
7534
c7a8fcac
LL
75352013-05-17 Leo Liu <sdl.web@gmail.com>
7536
7537 * subr.el (delete-consecutive-dups): New function.
7538 * ido.el (ido-set-matches-1): Use it.
7539 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7540 * ido.el (ido-remove-consecutive-dups): Remove.
7541
f678b18a
SM
75422013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7545 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7546 regexp-opt's `words'.
7547
ebfe68e8
LL
75482013-05-16 Leo Liu <sdl.web@gmail.com>
7549
7550 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7551 (smie--highlight-matching-block-overlay)
7552 (smie--highlight-matching-block-lastpos)
7553 (smie--highlight-matching-block-timer): New variables.
7554 (smie-highlight-matching-block): New function.
7555 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7556 (smie-setup): Conditionally enable smie-blink-matching-open.
7557
bc8bc17d
WS
75582013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7559
7560 Sync with upstream verilog-mode r840.
7561 * progmodes/verilog-mode.el (verilog-mode-version)
7562 (verilog-mode-release-date): Update.
7563 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7564 (verilog-sig-tieoff): Fix string error on
7565 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7566 (verilog-read-decls): Fix parameters confusing
7567 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7568
df065a0b
EZ
75692013-05-16 Eli Zaretskii <eliz@gnu.org>
7570
7571 * subr.el (reveal-filename): New function.
7572
7573 * loadup.el: Compute Emacs executable versions on MS-Windows,
7574 where executables have the .exe extension. Add a hard link
7575 emacs-XX.YY.ZZ.exe on MS-Windows.
7576
7577 * Makefile.in (XARGS_LIMIT): New variable.
7578 (custom-deps, finder-data, autoloads)
7579 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7580 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7581 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7582 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7583
2d4bf34b
LL
75842013-05-16 Leo Liu <sdl.web@gmail.com>
7585
7586 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7587 (octave-mode-menu, octave-mode-map): Remove its uses.
7588
6b9c2d85
RZ
75892013-05-16 Reto Zimmermann <reto@gnu.org>
7590
7591 Sync with upstream vhdl mode v3.34.2.
7592 * progmodes/vhdl-mode.el: Use `push' throughout.
7593 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7594 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7595 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7596 (vhdl-actual-generic-name): New option to derive actual generic name.
7597 (vhdl-port-paste-signals): Replace formal by actual generics.
7598 (vhdl-beautify): New name for old group vhdl-align. Update users.
7599 (vhdl-beautify-options): New option.
7600 (vhdl-last-input-event): New compat alias. Use throughout.
7601 (vhdl-goto-line): Replace user level function `goto-line'.
7602 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7603 vhdl-fix-statement-buffer.
7604 (vhdl-create-mode-menu): Add some entries.
7605 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7606 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7607 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7608 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7609 to force statements on one line.
7610 (vhdl-remove-trailing-spaces-region):
7611 New, split from vhdl-remove-trailing-spaces.
7612 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7613 Respect vhdl-beautify-options.
7614 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7615 (vhdl-update-sensitivity-list): Not add with index if exists without.
7616 Not include array index with signal. Ignore keywords in comments.
7617 (vhdl-get-visible-signals): Regexp tweaks.
7618 (vhdl-template-component-inst): Handle empty library.
7619 (vhdl-template-type): Add template for 'enum' type.
7620 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7621 Use vhdl-replace-string.
7622 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7623 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7624 (vhdl-speedbar-initialize): Update for above name change.
7625 (vhdl-compose-wire-components): Fix in handling of constants.
7626 (vhdl-error-regexp-emacs-alist): New variable.
7627 (vhdl-error-regexp-add-emacs): New function;
7628 adds support for new compile.el (Emacs 22+)
7629 (vhdl-generate-makefile-1): Change target order for single lib. units.
7630 Allow use of absolute file names.
7631
9df4ec5e
LL
76322013-05-16 Leo Liu <sdl.web@gmail.com>
7633
7634 * simple.el (prog-indent-sexp): Indent enclosing defun.
7635
f5ba00a6
GM
76362013-05-15 Glenn Morris <rgm@gnu.org>
7637
ed8be7ff
GM
7638 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7639 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7640 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7641 (whitespace-highlight): Move to whitespace group.
7642
7643 * comint.el (comint-source):
7644 * pcmpl-linux.el (pcmpl-linux):
7645 * shell.el (shell-faces):
7646 * eshell/esh-opt.el (eshell-opt):
7647 * international/ccl.el (ccl): Remove empty custom groups.
7648
7649 * completion.el (dynamic-completion-mode):
7650 * jit-lock.el (jit-lock-debug-mode):
7651 * minibuffer.el (completion-in-region-mode):
7652 * type-break.el (type-break-mode-line-message-mode)
7653 (type-break-query-mode):
7654 * emulation/tpu-edt.el (tpu-edt-mode):
7655 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7656 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7657 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7658
7659 * term/xterm.el (xterm): Change parent group to terminals.
7660
7661 * master.el (master): Remove empty custom group.
7662 (master-mode): Remove unused :group argument.
7663 * textmodes/refill.el (refill): Remove empty custom group.
7664 (refill-mode): Remove unused :group argument.
7665
7666 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7667
82a7c41b
GM
7668 * cus-dep.el: Provide a feature.
7669 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7670 Don't mistakenly ignore files whose basenames match a basename
7671 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7672 Add a fallback method for getting :group.
f5ba00a6 7673
6d65486d
JL
76742013-05-15 Juri Linkov <juri@jurta.org>
7675
da547b32
JL
7676 * isearch.el (isearch-char-by-name): Rename from
7677 `isearch-insert-char-by-name'. Doc fix.
7678 (isearch-forward): Mention `isearch-char-by-name' in
7679 the docstring. (Bug#13348)
7680
6d65486d
JL
7681 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7682 `exit-minibuffer' instead of
7683 `isearch-nonincremental-exit-minibuffer'.
7684 (isearch-edit-string): Remove mention of
7685 `isearch-nonincremental-exit-minibuffer' from docstring.
7686 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7687 (isearch-forward-exit-minibuffer)
7688 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7689
c9990474
SM
76902013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7691
6e911150
SM
7692 * loadup.el: Just use unversioned DOC.
7693
c9990474
SM
7694 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7695 literals as extending to EOB.
7696 (nxml-last-fontify-end): Remove unused variable.
7697 (nxml-after-change1): Use with-silent-modifications.
7698 (nxml-extend-after-change-region): Simplify.
7699 (nxml-extend-after-change-region1): Remove function.
7700 (nxml-after-change1): Don't adjust for dependent regions.
7701 (nxml-fontify-matcher): Simplify.
7702 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7703 (xmltok-add-dependent): Remove function.
7704 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7705 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7706 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7707 unclosed <[[, <?, comment, and other literals as extending to EOB.
7708 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7709 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7710 Remove functions.
7711 (rng-do-some-validation-1): Don't mark dependent regions.
7712 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7713 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7714 (nxml-clear-dependent-regions): Remove functions.
7715 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7716 (nxml-ensure-scan-up-to-date):
7717 Don't clear&mark dependent regions.
7718
e3772e98
LL
77192013-05-15 Leo Liu <sdl.web@gmail.com>
7720
c9990474
SM
7721 * progmodes/octave.el (octave-goto-function-definition):
7722 Improve and fix callers.
e3772e98 7723
5ac2eb34
SM
77242013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7725
c46c57b0
SM
7726 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7727 the setter (bug#14387).
7728
5ac2eb34
SM
7729 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7730 surrounding group (bug#14402).
7731
180ed218
JL
77322013-05-14 Juri Linkov <juri@jurta.org>
7733
7734 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7735 (Bug#14390)
7736
0ac0fecb
GM
77372013-05-14 Glenn Morris <rgm@gnu.org>
7738
7739 * progmodes/f90.el (f90-imenu-generic-expression):
7740 Fix typo in 2013-05-08 change. (Bug#14402)
7741
2e78e6a7
JPG
77422013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7743
5ac2eb34
SM
7744 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7745 Remove signals for which replies are never received.
2e78e6a7 7746
53267cca
JPG
77472013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7748
7749 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7750 (gdb-handler-alist, gdb-handler-number): Remove variables.
7751 (gdb-handler-list): New variable.
7752 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7753 (gdb-pending-handler-p, gdb-handle-reply)
7754 (gdb-remove-all-pending-triggers): New functions.
7755 (gdb-discard-unordered-replies): New defcustom.
7756 (gdb-handler): New defstruct.
7757 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7758 instead of gdb-pending-triggers. Update docstring.
7759 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7760 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7761 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7762 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7763 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7764 (gdb-frame-handler): Pending triggers are now automatically managed.
7765 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7766 Remove argument.
7767 (gdb-input): Automatically handles pending triggers. Update docstring.
7768 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7769 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7770 Update comments.
7771 (gdb-done-or-error): Now use gdb-handle-reply.
7772
d04ce803
JPG
77732013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7774
7775 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7776 gdb-debug-log.
7777
0114073a
GM
77782013-05-14 Glenn Morris <rgm@gnu.org>
7779
7780 * subr.el (user-emacs-directory-warning): New option.
7781 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7782
4d25fd7e
LL
77832013-05-14 Leo Liu <sdl.web@gmail.com>
7784
7785 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7786 during redisplay.
7787 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7788 (octave-font-lock-texinfo-comment): Fix invalid search bound
7789 error: wrong side of point.
4d25fd7e 7790
27c8b6eb
GM
77912013-05-14 Glenn Morris <rgm@gnu.org>
7792
61aaeb01
GM
7793 * progmodes/flymake.el (flymake-xml-program): New option.
7794 (flymake-xml-init): Use it.
7795
5bf90bc5
GM
7796 * term/xterm.el: Provide a feature.
7797
7798 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7799
f4c7dfd2
GM
78002013-05-13 Glenn Morris <rgm@gnu.org>
7801
7802 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7803 Add compat aliases as a hack workaround. (Bug#14384)
7804
2aeb3a1d
LL
78052013-05-13 Leo Liu <sdl.web@gmail.com>
7806
b0e069c2
LL
7807 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7808 ###, and %!.
f5a9432f
LL
7809 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7810 C-M-q.
b0e069c2
LL
7811 (octave-comment-start-skip): Include %!.
7812 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7813
30ea8374
LL
78142013-05-12 Leo Liu <sdl.web@gmail.com>
7815
7816 * progmodes/octave.el (inferior-octave-startup): Store the value
7817 of __octave_srcdir__ for octave-source-directories.
7818 (inferior-octave-check-process): New function refactored out of
7819 inferior-octave-send-list-and-digest.
7820 (octave-source-directories)
7821 (octave-find-definition-filename-function): New variables.
7822 (octave-source-directories)
7823 (octave-find-definition-default-filename): New functions.
7824 (octave-find-definition): Improve to find functions implemented in C++.
7825
472a3834
GM
78262013-05-12 Glenn Morris <rgm@gnu.org>
7827
7828 * calendar/diary-lib.el (diary-outlook-format-1):
7829 Don't include dayname in the output. (Bug#14349)
7830
3191b52f
GM
78312013-05-11 Glenn Morris <rgm@gnu.org>
7832
0060ac73
GM
7833 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7834
3191b52f
GM
7835 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7836 Treat cc-provide like provide.
7837
e065ba74
KR
78382013-05-11 Kevin Ryde <user42@zip.com.au>
7839
7840 * cus-dep.el (custom-make-dependencies):
7841 Use generated-autoload-load-name for the sake of files such
7842 such cedet/semantic/bovine/c.el, where the base file name
7843 is not in load-path. (Bug#5277)
7844
36f84c37
GM
78452013-05-11 Glenn Morris <rgm@gnu.org>
7846
7847 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7848 Provide features.
7849
c8730c3a
LL
78502013-05-11 Leo Liu <sdl.web@gmail.com>
7851
7852 * progmodes/octave.el (octave-indent-comment): Improve.
7853 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7854 (octave-eldoc-function-signatures, octave-eldoc-function):
7855 New functions.
c8730c3a
LL
7856 (octave-mode, inferior-octave-mode): Add eldoc support.
7857
212e29f2
RS
78582013-05-11 Richard Stallman <rms@gnu.org>
7859
7860 * epa.el (epa-decrypt-file): Take output file name as argument
7861 and read it using `interactive'.
7862
083fe0d7
LL
78632013-05-11 Leo Liu <sdl.web@gmail.com>
7864
7865 * progmodes/octave.el (octave-beginning-of-line)
7866 (octave-end-of-line): Check before using up-list because it jumps
7867 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7868 (octave-indent-comment): New function.
7869 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7870 (octave-begin-keywords, octave-end-keywords)
7871 (octave-reserved-words, octave-smie-bnf-table)
7872 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7873
8582e4c4
GM
78742013-05-11 Glenn Morris <rgm@gnu.org>
7875
f20def1f
GM
7876 * faces.el (internal-face-x-get-resource):
7877 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7878 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7879 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7880 Fix declarations.
f20def1f 7881
445f95e2
GM
7882 * calc/calc-menu.el: Make it loadable in isolation.
7883
7884 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7885 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7886 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7887 (eudc-bbdb-query-internal): Require 'bbdb.
7888
99fb2756
GM
7889 * lpr.el (lpr-headers-switches):
7890 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7891
7892 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7893
0da7ad96
GM
7894 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7895
8582e4c4
GM
7896 * term.el (term-set-escape-char): Make it idempotent.
7897
f71c50d0
LL
78982013-05-10 Leo Liu <sdl.web@gmail.com>
7899
5ac2eb34
SM
7900 * progmodes/octave.el (inferior-octave-completion-table):
7901 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7902 completion due to bug#11906.
7903 (octave-beginning-of-defun): Re-write to be more general.
7904
d5837773
GM
79052013-05-10 Glenn Morris <rgm@gnu.org>
7906
7907 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7908
027c0f75
SM
79092013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * comint.el (comint-redirect-send-command-to-process): Use :around
7912 rather than :override for comint-redirect-filter.
7913 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7914 Call it instead of comint-redirect-original-filter-function (which
7915 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7916
4465bfb4
JD
79172013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7918
7919 * frame.el (display-monitor-attributes-list): Add NS case.
7920 (ns-display-monitor-attributes-list): Declare.
7921
2d809ffa 79222013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7923
7924 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7925
e54eeb9b
GM
79262013-05-09 Glenn Morris <rgm@gnu.org>
7927
56cd351d
GM
7928 * international/fontset.el (vertical-centering-font-regexp):
7929 Set standard-value.
7930
d84b6108
GM
7931 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7932
a931698a
GM
7933 * bookmark.el (bookmark-search-delay):
7934 * cus-start.el (vertical-centering-font-regexp):
7935 * ps-mule.el (ps-mule-font-info-database-default):
7936 * ps-print.el (ps-default-fg, ps-default-bg):
7937 * type-break.el (type-break-good-break-interval):
7938 * whitespace.el (whitespace-indentation-regexp)
7939 (whitespace-space-after-tab-regexp):
7940 * emacs-lisp/testcover.el (testcover-1value-functions)
7941 (testcover-noreturn-functions, testcover-progn-functions)
7942 (testcover-prog1-functions):
7943 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7944 * eshell/em-glob.el (eshell-glob-translate-alist):
7945 * play/tetris.el (tetris-tty-colors):
7946 * progmodes/cpp.el (cpp-face-default-list):
7947 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7948 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7949 (idlwave-help-browser-generic-args):
7950 * progmodes/make-mode.el (makefile-special-targets-list):
7951 * progmodes/python.el (python-shell-virtualenv-path):
7952 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7953 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7954 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7955 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7956 * textmodes/reftex-vars.el (reftex-format-label-function):
7957 * textmodes/remember.el (remember-diary-file): Fix custom types.
7958
e54eeb9b
GM
7959 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7960 Add :version.
7961
455851dd
LL
79622013-05-09 Leo Liu <sdl.web@gmail.com>
7963
7964 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7965 Restore file completion. (Bug#14300)
455851dd
LL
7966 (inferior-octave-startup): Fix incorrect highlighting for the
7967 first prompt.
7968
a9e4425b
SM
79692013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * progmodes/ruby-mode.el: First cut at SMIE support.
7972 (ruby-use-smie): New var.
7973 (ruby-smie-grammar): New constant.
7974 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7975 (ruby-smie--forward-token, ruby-smie--backward-token)
7976 (ruby-smie-rules): New functions.
7977 (ruby-mode-variables): Setup SMIE if applicable.
7978
060ca408
EZ
79792013-05-08 Eli Zaretskii <eliz@gnu.org>
7980
7981 * simple.el (line-move-visual): Signal beginning/end of buffer
7982 only if vertical-motion moved less than it was requested. Avoids
7983 silly incorrect error messages when there are display strings with
7984 multiple newlines at EOL.
7985
1d5963cc
SM
79862013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7989 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7990 (prolog-char-quote-workaround):
7991 * progmodes/cperl-mode.el (cperl-under-as-char):
7992 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7993 Mark as obsolete.
7994 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7995 their declaration.
7996 (vhdl-mode-syntax-table-init): Remove.
7997
c9990474
SM
7998 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7999 last change.
1d5963cc
SM
8000
8001 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8002 syntax for "_".
8003 (ld-script-font-lock-keywords):
8004 Change regexps to use things like \_< and \_>.
8005
8006 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8007 Change all regexps to use things like \_< and \_>.
8008
8009 * progmodes/autoconf.el (autoconf-definition-regexp)
8010 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8011 Handle a _ with symbol syntax.
8012 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8013
c9990474
SM
8014 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8015 Consolidate declaration.
1d5963cc
SM
8016 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8017 the declaration.
8018 (ada-create-syntax-table): Remove.
8019 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8020 already has the right syntax nowadays.
8021 (ada-goto-next-word): Don't change the syntax of "_".
8022
8023 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8024 with-wrapper-hook.
8025
72d3cfca
SS
80262013-05-08 Sam Steingold <sds@gnu.org>
8027
8028 * thingatpt.el (thing-at-point): Accept optional second argument
8029 NO-PROPERTIES to strip the text properties from the return value.
8030 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8031 to `thing-at-point' instead of stripping the properties ourselves.
8032 Also, when `thing-at-point' fails to find a url, prepend "http://"
8033 to the filename at point on the assumption that the user is
8034 pointing at something like gnu.org/gnu.
8035
5cb15713
JB
80362013-05-08 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8039 * faces.el (crm-separator):
8040 Silence byte-compiler.
8041
8042 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8043 (tool-bar-map): Remove unneeded defvars.
8044
ea78b95b
LL
80452013-05-08 Leo Liu <sdl.web@gmail.com>
8046
8047 Re-work a fix for bug#10994 based on Le Wang's patch.
8048 * ido.el (ido-remove-consecutive-dups): New helper.
8049 (ido-completing-read): Use it.
8050 (ido-chop): Revert fix for bug#10994.
8051
dc7466df
AS
80522013-05-08 Adam Spiers <emacs@adamspiers.org>
8053
8054 * cus-edit.el (custom-save-variables):
8055 Pretty-print long values. (Bug#14187)
8056
9ecf672a
GM
80572013-05-08 Glenn Morris <rgm@gnu.org>
8058
8059 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8060 (m4-mode-syntax-table): Init in the defvar.
8061 (m4-mode-abbrev-table): Let define-derived-mode define it.
8062
3f555be8
TT
80632013-05-08 Tom Tromey <tromey@redhat.com>
8064
8065 * progmodes/m4-mode.el (m4-mode-syntax-table):
8066 Do not treat "_" as word constituent. (Bug#14167)
8067
7cc8ae06
GM
80682013-05-07 Glenn Morris <rgm@gnu.org>
8069
4f58bc06
GM
8070 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8071 Remove explicit eshell-isearch-cancel-map.
8072
7cc8ae06
GM
8073 * progmodes/f90.el (f90-smart-end-names): New option.
8074 (f90-smart-end): Doc fix.
8075 (f90-end-block-optional-name): New constant.
8076 (f90-block-match): Respect f90-smart-end-names.
8077
ceb57e59
SM
80782013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8081 about implicit semi-colons (bug#14218).
8082
4e3f9230
YM
80832013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8084
8085 * frame.el (display-monitor-attributes-list)
8086 (frame-monitor-attributes): New functions.
8087
203a5572
LL
80882013-05-06 Leo Liu <sdl.web@gmail.com>
8089
8090 * progmodes/octave.el (octave-syntax-propertize-function): Change
8091 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8092 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8093 (octave-completion-at-point): Rename from
203a5572
LL
8094 octave-completion-at-point-function.
8095 (inferior-octave-directory-tracker): Robustify.
8096 (octave-text-functions): Remove and fix its uses. No such things
8097 any more.
8098
ee6cff99
SM
80992013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8100
8101 * emacs-lisp/trace.el (trace--display-buffer): New function.
8102 (trace-make-advice): Use it.
8103
32985194
JL
81042013-05-06 Juri Linkov <juri@jurta.org>
8105
8106 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8107 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8108 Doc fix.
8109 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8110 in the help string. (Bug#12985)
8111
a1c700de
KD
81122013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8113
8114 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8115
c67c0839
SM
81162013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8117
323885fd
SM
8118 * progmodes/perl-mode.el: Add support for here documents.
8119 (perl-syntax-propertize-function): Match here-doc markers.
8120 (perl-syntax-propertize-special-constructs): Find their end.
8121 (perl-imenu-generic-expression): Use [:alnum:].
8122
c67c0839
SM
8123 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8124 (advice--add-function): Refresh the advice if already present
8125 (bug#14317).
8126
d491e7a8
IA
81272013-05-06 Ivan Andrus <darthandrus@gmail.com>
8128
8129 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8130
ddf9925e
GM
81312013-05-06 Glenn Morris <rgm@gnu.org>
8132
7cc3af27
GM
8133 * w32-fns.el (w32-charset-info-alist): Declare.
8134
16e343d6
GM
8135 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8136 of its defcustom properties.
8137 (eshell-cmpl-initialize): No need to load pcomplete.
8138
7d889a47
GM
8139 * generic-x.el: No need to require comint when compiling.
8140
ddf9925e
GM
8141 * net/eudc-export.el: Make it loadable without bbdb.
8142 (top-level): Use require rather than load-library.
8143 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8144 (eudc-batch-export-records-to-bbdb)
8145 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8146 Require bbdb.
8147
1e2c18df
SM
81482013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8149
8150 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8151 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8152 some tweaks, instead.
8153
02502a5f
LL
81542013-05-05 Leo Liu <sdl.web@gmail.com>
8155
8156 * progmodes/octave.el (octave-font-lock-keywords)
8157 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8158 (inferior-octave-send-list-and-digest): Improve error message.
8159 (octave-mode, inferior-octave-mode): Use setq-local.
8160 (octave-help): Set info-lookup-mode.
8161
0dc04f42
RS
81622013-05-05 Richard Stallman <rms@gnu.org>
8163
6c54491c
RS
8164 * vc/compare-w.el (compare-windows-whitespace):
8165 Treat no-break space as whitespace.
8166
0dc04f42
RS
8167 * mail/rmailsum.el (rmail-summary-rmail-update):
8168 Detect empty summary and don't change selected message.
8169 (rmail-summary-goto-msg): Likewise.
8170
df8f35df
RS
8171 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8172 Doc fixes, rename args.
8173
5356e1a3
AM
81742013-05-05 Alan Mackenzie <acm@muc.de>
8175
8176 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8177
d44014cb
JL
81782013-05-05 Juri Linkov <juri@jurta.org>
8179
8180 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8181 to not add the length of the summary segment to the return value.
8182 (Bug#14125)
8183
c129b51f
LL
81842013-05-05 Leo Liu <sdl.web@gmail.com>
8185
8186 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8187 (inferior-octave-output-filter): Remove.
8188 (octave-send-region, inferior-octave-startup): Fix callers.
8189 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8190 (octave-binary-file-extensions): New user variable.
8191 (octave-find-definition): Confirm if opening binary files.
8192 (octave-help-file): Use octave-find-definition to get the binary
8193 confirmation.
8194 (octave-help): Adjust for octave-help-file change.
8195
aa7dab97
SM
81962013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8199 Merge the two entries that handle function definitions.
8200 (pascal--syntax-propertize): New const.
8201 (pascal-mode): Use it. Use setq-local.
8202
fd3a9a6b
GM
82032013-05-04 Glenn Morris <rgm@gnu.org>
8204
8205 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8206 (diary-from-outlook): Respect diary-from-outlook-function.
8207
30c7e542
SM
82082013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8211 Move the declaration from C.
8212 (read-minibuffer, eval-minibuffer): Move from C.
8213 (completion-setup-function): Avoid minibuffer-completion-contents.
8214
b54f978b
LL
82152013-05-03 Leo Liu <sdl.web@gmail.com>
8216
8217 * progmodes/octave.el (octave-font-lock-keywords): Do not
8218 dehighlight 'end' in comments or strings.
30c7e542
SM
8219 (octave-completing-read, octave-goto-function-definition):
8220 New helpers.
d4d0f9b3
LL
8221 (octave-help-buffer): New user variable.
8222 (octave-help-file, octave-help-function): New button types.
8223 (octave-help): New command and bind it to C-h ;.
8224 (octave-find-definition): New command and bind it to M-.
d74a1581 8225 (user-error): Alias to error if not defined.
b54f978b 8226
27135018
LL
82272013-05-02 Leo Liu <sdl.web@gmail.com>
8228
8229 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8230 for \. (bug#14332)
8231 (octave-font-lock-keywords): Include [ and {.
8232
0d634d3a
LL
82332013-05-02 Leo Liu <sdl.web@gmail.com>
8234
8235 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8236 (inferior-octave): Remove calling comint-mode and return the buffer.
8237 (inferior-octave-startup): Cosmetic changes.
8238
b4c8295e
LL
82392013-05-02 Leo Liu <sdl.web@gmail.com>
8240
30c7e542
SM
8241 * progmodes/octave.el (octave-syntax-propertize-function):
8242 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8243
f12ad6ec
GM
82442013-05-02 Glenn Morris <rgm@gnu.org>
8245
8246 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8247 * desktop.el (vc-dir-mode): Just autoload it here.
8248
30cac1e0
AM
82492013-05-02 Alan Mackenzie <acm@muc.de>
8250
8251 Eliminate variable c-standard-font-lock-fontify-region-function.
8252 * progmodes/cc-mode.el
8253 (c-standard-font-lock-fontify-region-function): Remove.
8254 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8255
d8ef28b1
LL
82562013-05-01 Leo Liu <sdl.web@gmail.com>
8257
2640d52e 8258 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8259 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8260 variables were removed from Octave in 2007.
d8ef28b1
LL
8261 (inferior-octave-startup): Fix uses.
8262 (comint-line-beginning-position): Remove compatibility code for
8263 emacs 21.
8264
ac63ec89
JL
82652013-05-01 Juri Linkov <juri@jurta.org>
8266
8267 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8268
9e9be37c
JL
82692013-05-01 Juri Linkov <juri@jurta.org>
8270
8271 * comint.el (comint-previous-matching-input): Don't print message
8272 "History item: %d" when `isearch-mode' is active.
8273 (comint-history-isearch-message): Print message "History item: %d"
8274 when `comint-input-ring-index' is not empty and this function is
8275 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8276
9b92c13b
LL
82772013-05-01 Leo Liu <sdl.web@gmail.com>
8278
8279 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8280 definitions. Use completion-at-point to insert keywords.
8281 (octave-abbrev-start): Remove.
8282 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8283
b12d33d7
LL
82842013-04-30 Leo Liu <sdl.web@gmail.com>
8285
8286 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8287 change.
8288
3d1c39fa
AM
82892013-04-30 Alan Mackenzie <acm@muc.de>
8290
8291 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8292 * progmodes/cc-engine.el (c-back-over-member-initializers):
8293 new function.
3d1c39fa
AM
8294 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8295 (most) member init lists.
8296
5147fc17
RS
82972013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8298
8299 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8300 variable.
8301
5b78d7fc
LL
83022013-04-30 Leo Liu <sdl.web@gmail.com>
8303
8304 * progmodes/octave.el (octave-variables): Remove. No builtin
8305 variables any more. All converted to functions.
8306 (octave-font-lock-keywords, octave-completion-at-point-function):
8307 Fix uses.
8308 (octave-font-lock-texinfo-comment): New user variable.
8309 (octave-texinfo-font-lock-keywords): New variable for texinfo
8310 comment block.
8311 (octave-function-comment-block): New face.
8312 (octave-font-lock-texinfo-comment): New function.
8313 (octave-mode): Font lock texinfo comment block.
8314
38d8527b
LL
83152013-04-29 Leo Liu <sdl.web@gmail.com>
8316
8317 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8318 indexing expression.
8319 (octave-continuation-string): Do not use \.
8320 (inferior-octave-complete-impossible): Remove.
8321 (inferior-octave-completion-table)
8322 (inferior-octave-completion-at-point): Remove its uses.
8323 (inferior-octave-startup): completion_matches was introduced to
8324 Octave in 1996 so safe to assume it.
8325 (octave-function-file-comment): Improve to follow how Octave does it.
8326 (octave-update-function-file-comment): Tweak.
8327
2ec12cb0
LL
83282013-04-29 Leo Liu <sdl.web@gmail.com>
8329
8330 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8331 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8332 (octave-function-file-comment): Fix typo.
8333 (octave-sync-function-file-names): Use read-char-choice.
8334
6eaed048
JB
83352013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8336
8337 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8338 to t for the less important warnings.
8339
3ffa2d4f
DH
83402013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8341
8342 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8343
685c9501
GM
83442013-04-27 Glenn Morris <rgm@gnu.org>
8345
8346 * vc/log-view.el (log-view-current-entry):
8347 Treat "---" separator lines as part of the following rev. (Bug#14169)
8348
0208ede7
JL
83492013-04-27 Juri Linkov <juri@jurta.org>
8350
8351 * subr.el (read-number): Doc fix about using it by interactive
8352 code letter `n'. (Bug#14254)
8353
5db9dace
JL
83542013-04-27 Juri Linkov <juri@jurta.org>
8355
8356 * desktop.el (desktop-auto-save-timeout): New option.
8357 (desktop-file-checksum): New variable.
8358 (desktop-save): Add optional arg `auto-save' and don't auto-save
8359 if nothing changed.
8360 (desktop-auto-save-timer): New variable.
8361 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8362 (after-init-hook): Call `desktop-auto-save-set-timer'.
8363 Suggested by Reuben Thomas <rrt@sc3d.org> in
8364 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8365
b7260dd4
LL
83662013-04-27 Leo Liu <sdl.web@gmail.com>
8367
8368 * progmodes/octave.el (octave-function-file-p)
8369 (octave-skip-comment-forward, octave-function-file-comment)
8370 (octave-update-function-file-comment): New functions.
8371 (octave-mode-map): Bind C-c ; to
8372 octave-update-function-file-comment.
8373 (octave-mode-menu): Add octave-update-function-file-comment.
8374 (octave-mode, inferior-octave-mode): Fix doc-string.
8375 (octave-insert-defun): Conform to Octave's coding convention.
8376 (Bug#14285)
8377
8378 * files.el (basic-save-buffer): Don't let errors in
8379 before-save-hook prevent saving buffer.
8380
c46da669
RW
83812013-04-20 Roland Winkler <winkler@gnu.org>
8382
8383 * faces.el (read-face-name): Use completing-read if arg multiple
8384 is nil.
8385
a81ee1eb
IL
83862013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8387
8388 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8389 displayed, move point to after the totals line.
8390 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8391 for the details.
8392
4fac34ce
SM
83932013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8396 Add current dir to the load-path.
8397 (package-generate-autoloads): Don't rely on
8398 autoload-ensure-default-file.
8399
f6bfc063
RT
84002013-04-26 Reuben Thomas <rrt@sc3d.org>
8401
d40ab5cf
BG
8402 * textmodes/remember.el (remember-store-in-files): Document that
8403 the file name format is passed to `format-time-string'.
f6bfc063 8404
e55d3b04
LL
84052013-04-26 Leo Liu <sdl.web@gmail.com>
8406
8407 * progmodes/octave.el (octave-sync-function-file-names): New function.
8408 (octave-mode): Use it in before-save-hook.
8409
e53052d3
SM
84102013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8411
140ef50c
SM
8412 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8413 (bug#14274).
8414
e53052d3
SM
8415 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8416 \n and comment, even if it's not an implicit ; (bug#14218).
8417
af80458d 84182013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8419
8420 * subr.el (read-number): Once more use `read' rather than
8421 `string-to-number', to trap non-numeric input. (Bug#14254)
8422
af80458d 84232013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8424
8425 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8426 Use `syntax-multiline' text property consistently instead of
8a621d53 8427 `font-lock-multiline'. (Bug#14237)
70203c2e 8428
e6ea1f6c
GM
84292013-04-26 Glenn Morris <rgm@gnu.org>
8430
8431 * emacs-lisp/shadow.el (list-load-path-shadows):
8432 No longer necessary to check for duplicate simple.el, since
8433 2012-07-07 change to init_lread to not include installation lisp
8434 directories in load-path when running uninstalled. (Bug#14270)
8435
070ccca4
LL
84362013-04-26 Leo Liu <sdl.web@gmail.com>
8437
8438 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8439 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8440 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8441 octave-in-string-or-comment-p.
8442 (octave-in-comment-p, octave-in-string-p)
8443 (octave-in-string-or-comment-p): Replace defsubst with defun.
8444
9d1c5fb6
PE
84452013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8446
8447 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8448
c034abda
BG
84492013-04-25 Bastien Guerry <bzg@gnu.org>
8450
8451 * textmodes/remember.el (remember-data-directory)
8452 (remember-directory-file-name-format): Fix custom types.
8453
584ea277
LL
84542013-04-25 Leo Liu <sdl.web@gmail.com>
8455
e53052d3
SM
8456 * progmodes/octave.el (octave-completion-at-point-function):
8457 Make use of inferior octave process.
584ea277
LL
8458 (octave-initialize-completions): Remove.
8459 (inferior-octave-completion-table): New function.
8460 (inferior-octave-completion-at-point): Use it.
8461 (octave-completion-alist): Remove.
8462
1693b06a
SM
84632013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8466 (opascal-mode-syntax-table): New var.
8467 (opascal-literal-kind, opascal-is-literal-end)
8468 (opascal-literal-token-at): Rewrite.
8469 (opascal--literal-start-re, opascal-font-lock-keywords)
8470 (opascal--syntax-propertize): New constants.
8471 (opascal-font-lock-defaults): Adjust.
8472 (opascal-mode): Use them. Set comment-<foo> variables as well.
8473 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8474 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8475 (delphi-other-face, opascal-other-face): Remove face variables.
8476 (opascal-save-state): Remove macro.
8477 (opascal-fontifying-progress-step): Remove constant.
8478 (opascal--ignore-changes): Remove var.
8479 (opascal-set-token-property, opascal-parse-next-literal)
8480 (opascal-is-stable-literal, opascal-complete-literal)
8481 (opascal-is-literal-start, opascal-face-of)
8482 (opascal-parse-region, opascal-parse-region-until-stable)
8483 (opascal-fontify-region, opascal-after-change)
8484 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8485 (opascal-debug-parse-region, opascal-debug-parse-window)
8486 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8487 (opascal-debug-fontify-buffer): Remove.
8488 (opascal-debug-mode-map): Adjust accordingly.
8489
be64c05d
LL
84902013-04-25 Leo Liu <sdl.web@gmail.com>
8491
8492 Merge octave-mod.el and octave-inf.el into octave.el with some
8493 cleanups.
8494 * progmodes/octave.el: New file renamed from octave-mod.el.
8495 * progmodes/octave-inf.el: Merged into octave.el.
8496 * progmodes/octave-mod.el: Renamed to octave.el.
8497
d79d37bd
TH
84982013-04-25 Tassilo Horn <tsdh@gnu.org>
8499
8500 * textmodes/reftex-vars.el
8501 (reftex-label-ignored-macros-and-environments): New defcustom.
8502
8503 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8504
ced3fc5d
SM
85052013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8506
8507 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8508 (smie-indent-keyword): Improve the check to ensure that the next
8509 comment is really on the same line.
8510 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8511
8512 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8513 semi-colons if the line is not otherwise empty (bug#14218).
8514
1c141dad
GM
85152013-04-25 Glenn Morris <rgm@gnu.org>
8516
8517 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8518
5058062a
SM
85192013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * progmodes/opascal.el (opascal-set-token-property): Rename from
8522 opascal-set-text-properties and only set `token' (bug#14134).
8523 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8524 (opascal-literal-text-properties): Remove.
8525 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8526 Adjust callers.
8527
5db9dace 85282013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8529
8530 * textmodes/remember.el (remember-handler-functions): Add an
8531 option for a new handler `remember-store-in-files'.
8532 (remember-data-directory, remember-directory-file-name-format):
8533 New options.
8534 (remember-store-in-files): New function to store remember notes
8535 as separate files within a directory.
8536
4391916c
MH
85372013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8538
8539 * progmodes/compile.el (compilation-next-error-function):
8540 Pass "formats" to compilation-find-file (bug#11777).
8541
bb7cdf58
GM
85422013-04-24 Glenn Morris <rgm@gnu.org>
8543
3b8fe752 8544 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8545 * vc/vc-hg.el (vc-hg-print-log):
8546 * vc/vc-svn.el (vc-svn-print-log):
8547 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8548
bb7cdf58
GM
8549 * vc/vc-bzr.el (vc-bzr-print-log):
8550 * vc/vc-cvs.el (vc-cvs-print-log):
8551 * vc/vc-git.el (vc-git-print-log):
8552 * vc/vc-hg.el (vc-hg-print-log):
8553 * vc/vc-mtn.el (vc-mtn-print-log):
8554 * vc/vc-rcs.el (vc-rcs-print-log):
8555 * vc/vc-sccs.el (vc-sccs-print-log):
8556 * vc/vc-svn.el (vc-svn-print-log):
8557 * vc/vc.el (vc-print-log-internal): Doc fixes.
8558
b46a056e
GM
85592013-04-23 Glenn Morris <rgm@gnu.org>
8560
8561 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8562 Remove venerable code attempting to avoid substitute-command-keys.
8563
0aecf718
TH
85642013-04-23 Tassilo Horn <tsdh@gnu.org>
8565
4391916c
MH
8566 * textmodes/reftex-vars.el (reftex-label-regexps):
8567 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8568
117f94cf
SM
85692013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8570
4391916c 8571 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8572 Use lexical-binding.
8573 (jit-lock-force-redisplay): Use markers, check buffer's continued
8574 existence and beware narrowed buffers.
8575 (jit-lock-fontify-now): Adjust call accordingly.
8576
1d829c64
SM
85772013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8580 to avoid misleading the user.
8581
72d548a9
LL
85822013-04-22 Leo Liu <sdl.web@gmail.com>
8583
8584 * info-look.el: Prefer latex2e.info. (Bug#14240)
8585
d0853629
MA
85862013-04-22 Michael Albinus <michael.albinus@gmx.de>
8587
8588 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8589
8590 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8591 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8592 (tramp-set-completion-function, tramp-parse-putty):
8593 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8594 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8595 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8596 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8597 (tramp-call-local-coding-command): Use `tramp-call-process'
8598 instead of `tramp-compat-call-process'.
8599
8600 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8601 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8602 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8603 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8604 (tramp-maybe-send-script): Check for Perl binary.
8605 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8606
38cc0210
DU
86072013-04-22 Daiki Ueno <ueno@gnu.org>
8608
8609 * epg.el (epg-context-pinentry-mode): New function.
8610 (epg-context-set-pinentry-mode): New function.
8611 (epg--start): Pass --pinentry-mode option to gpg command.
8612
cc641ee1
XF
86132013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8614
02d844b5 8615 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8616 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8617 `completion-at-point'. (Bug#13774)
5d4e5c31 8618
cc641ee1
XF
8619 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8620 default key binding for `describe-distribution' has been moved to
8621 `C-h C-o'. (Bug#13970)
8622
1b42ee43
GM
86232013-04-21 Glenn Morris <rgm@gnu.org>
8624
8625 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8626 Add doc strings.
8627 (vc-print-log): Clarify interactive prompt.
8628
a6d63d97
GM
86292013-04-20 Glenn Morris <rgm@gnu.org>
8630
8631 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8632 No longer include timestamp etc information.
8633
d7f5c16f
RW
86342013-04-20 Roland Winkler <winkler@gnu.org>
8635
8636 * faces.el (read-face-name): Bug fix, return just one face if arg
8637 multiple is nil. (Bug#14209)
8638
bcd7a0a4
SM
86392013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8642 (remove-function): Autoload.
8643
8644 * comint.el (comint-redirect-original-filter-function): Remove.
8645 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8646 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8647 (vc-cvs-annotate-command):
bcd7a0a4
SM
8648 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8649 * progmodes/prolog.el (prolog-consult-compile):
8650 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8651 Use add/remove-function instead.
8652 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8653 (gud-tooltip-process-output, gud-tooltip-tips):
8654 Use add/remove-function instead.
8655 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8656 (scheme-interaction-mode, exit-scheme-interaction-mode):
8657 Use add/remove-function instead.
8658
8659 * vc/vc-dispatcher.el: Use lexical-binding.
8660 (vc--process-sentinel): Rename from vc-process-sentinel.
8661 Change last arg to be the code to run. Don't use vc-previous-sentinel
8662 and vc-sentinel-commands any more.
8663 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8664 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8665
e36b2d20 86662013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8667
bcd7a0a4 8668 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8669 Handle function names with a single character. (Bug#14111)
4d3268ba 8670
781b4af6 86712013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8672
8673 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8674 for subroutines defined in an eval (bug#14182).
8675
7d688336
TV
86762013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8677
8678 * bookmark.el (bookmark-completing-read): Improve handling of empty
8679 string (bug#14176).
8680
31dcede0
SM
86812013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8684
adc31213
FEG
86852013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8686
8687 New faster Imenu implementation (bug#14058).
8688 * progmodes/python.el:
8689 (python-imenu-prev-index-position):
8690 (python-imenu-format-item-label-function)
8691 (python-imenu-format-parent-item-label-function)
8692 (python-imenu-format-parent-item-jump-label-function):
8693 New vars.
8694 (python-imenu-format-item-label)
8695 (python-imenu-format-parent-item-label)
8696 (python-imenu-format-parent-item-jump-label)
8697 (python-imenu--put-parent, python-imenu--build-tree)
8698 (python-imenu-create-index, python-imenu-create-flat-index)
8699 (python-util-popn): New functions.
8700 (python-mode): Set imenu-create-index-function to
8701 python-imenu-create-index.
8702
cdca8255
SM
87032013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * winner.el (winner-active-region): Use region-active-p, activate-mark
8706 and deactivate-mark (bug#14225).
8707
8708 * simple.el (deactivate-mark): Don't inline it.
8709
beb42340
MA
87102013-04-18 Michael Albinus <michael.albinus@gmx.de>
8711
8712 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8713
fc7f4d7e
TH
87142013-04-18 Tassilo Horn <tsdh@gnu.org>
8715
8716 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8717 file extensions from the archive-mode entry in order to prefer
8718 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8719
29f47822
LL
87202013-04-18 Leo Liu <sdl.web@gmail.com>
8721
8722 * bindings.el (help-event-list): Add ?\?.
8723
d36ed1c8
SM
87242013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 * subr.el (with-wrapper-hook): Declare obsolete.
8727 * simple.el (filter-buffer-substring-function): New hook.
8728 (filter-buffer-substring): Use it.
8729 (filter-buffer-substring-functions): Mark obsolete.
8730 * minibuffer.el (completion-in-region-function): New hook.
8731 (completion-in-region): Use it.
8732 (completion-in-region-functions): Mark obsolete.
8733 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8734 * abbrev.el (abbrev-expand-function): New hook.
8735 (expand-abbrev): Use it.
8736 (abbrev-expand-functions): Mark obsolete.
8737 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8738 and :filter-return.
8739
04754d36
FEG
87402013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8741
8742 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8743 and do not care about match data.
8744
dd8791e9
SM
87452013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8746
8747 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8748 completion tables when completing error conditions and
8749 `declare' arguments.
8750 (lisp-complete-symbol, field-complete): Mark as obsolete.
8751 (check-parens): Unmatched parens are user errors.
8752 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8753
ffe54a13
AM
87542013-04-17 Michal Nazarewicz <mina86@mina86.com>
8755
dd8791e9
SM
8756 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8757 command changed buffer (ie. `flyspell-pre-buffer' is not current
8758 buffer), which prevents making decisions based on invalid value of
8759 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8760 cause an error when `flyspell-pre-point' was nil after switching
8761 buffers.
8762 (flyspell-post-command-hook): No longer needs to change buffers when
8763 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8764
ec7e39f2
AM
87652013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8766
8767 * textmodes/ispell.el (ispell-add-per-file-word-list):
8768 Fix `flyspell-correct-word-before-point' error when accepting
8769 words and `coment-padding' is an integer by using
8770 `comment-normalize-vars' (Bug #14214).
8771
083850a6
FEG
87722013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8773
8774 New defun movement commands.
8775 * progmodes/python.el (python-nav--syntactically)
8776 (python-nav--forward-defun, python-nav-backward-defun)
8777 (python-nav-forward-defun): New functions.
8778
619ed6e1
FEG
87792013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8780
8781 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8782 (python-syntax-context): Use named compiler-macro for backwards
8783 compatibility with Emacs 24.x.
8784
7a1beb6c
LL
87852013-04-17 Leo Liu <sdl.web@gmail.com>
8786
8787 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8788 octave-hide-process-buffer.
8789
2d3fa3e5
SM
87902013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8793 (bug#14216).
8794
7ce5be54
JPG
87952013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8796
8797 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8798 Fix adjustment of offset when receiving incomplete responses from GDB
8799 (bug#14129).
8800
351edece
SM
88012013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8804 python-mode-abbrev-table.
8805 (python-skeleton-define): Adjust accordingly.
8806 (python-mode-abbrev-table): New table that inherits from it so that
8807 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8808
8809 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8810 (abbrev-symbol): Use it.
8811 (abbrev--before-point): Use it since we already handle inheritance.
8812
613f9481
LL
88132013-04-16 Leo Liu <sdl.web@gmail.com>
8814
8815 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8816 binding to info-lookup-symbol.
8817
51646b62
JB
88182013-04-16 Juanma Barranquero <lekktu@gmail.com>
8819
8820 * minibuffer.el (completion--twq-all):
8821 * term/ns-win.el (ns-initialize-window-system):
8822 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8823
efb3f01d
SM
88242013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8825
36c0a301
SM
8826 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8827 global bindings.
8828
efb3f01d
SM
8829 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8830
fb549d64
DG
88312013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8832
8833 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8834 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8835 to nil.
8836 (ruby-end-of-defun): Remove the unused arg, change the docstring
8837 to reflect that this function is only used as the value of
8838 `end-of-defun-function'.
8839 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8840 to reflect an earlier change that beginning/end-of-defun functions
8841 jump between methods in a class definition, as well as top-level
8842 functions.
8843
21e8fe2f
SM
88442013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * minibuffer.el (minibuffer-complete): Don't just scroll
8847 a *Completions* that's been iconified.
8848 (minibuffer-force-complete): Make sure repetitions do cycle when going
8849 through completion-in-region -> minibuffer-complete.
8850
20e527d0
AM
88512013-04-15 Alan Mackenzie <acm@muc.de>
8852
8853 Correct the placement of c-cpp-delimiters when there're #s not at
8854 col 0.
8855
8856 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8857 place a submatch around the #.
21e8fe2f
SM
8858 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8859 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8860 on the #, not BOL.
8861
dabefae5
SM
88622013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8865 (advice--member-p): New arg `name'.
8866 (advice--add-function, advice-member-p): Use it (bug#14202).
8867
85c9ab64
AM
88682013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8869
8870 Reformulate java imenu-generic-expression.
8871 The old expression contained ill formed regexps.
8872
8873 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8874 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8875 (cc-imenu-java-method-arg-regexp): New defconsts.
8876 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8877 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8878 handling of spaces in the regexp.
8879
0f821d99
AM
88802013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8881
8882 * textmodes/ispell.el (ispell-command-loop): Remove
8883 flyspell highlight of a word when ispell accepts it (bug #14178).
8884
eb922adf
MA
88852013-04-15 Michael Albinus <michael.albinus@gmx.de>
8886
8887 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8888 uses code from the previous `ange-ftp-run-real-handler'.
8889 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8890 only in case that function exist. This is needed for proper
8891 unloading of Tramp.
8892
4d9a0979
TH
88932013-04-15 Tassilo Horn <tsdh@gnu.org>
8894
8895 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8896
8897 * textmodes/reftex.el (reftex-compile-variables): Use it.
8898
a829b0dc
SM
88992013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8900
91e8293c
SM
8901 * files.el (normal-mode): Only use default major-mode if no other mode
8902 was specified.
8903
830aed4d
SM
8904 * emacs-lisp/trace.el (trace-values): New function.
8905
a829b0dc
SM
8906 * files.el: Allow : in local variables (bug#14089).
8907 (hack-local-variable-regexp): New var.
8908 (hack-local-variables-prop-line, hack-local-variables): Use it.
8909
7ae9f0fb
RW
89102013-04-13 Roland Winkler <winkler@gnu.org>
8911
8912 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8913 data before it gets modified by bibtex-beginning-of-entry.
8914
6646e848
RW
89152013-04-13 Roland Winkler <winkler@gnu.org>
8916
8917 * textmodes/bibtex.el (bibtex-url): Doc fix.
8918
89192013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8920
8921 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8922 does not visit a BibTeX file, exclude it from the list of buffers
8923 returned by bibtex-initialize.
8924
0aa3616e
SB
89252013-04-13 Stephen Berman <stephen.berman@gmx.net>
8926
8927 * window.el (split-window): Remove interactive form, since as a
8928 command this function is a special case of split-window-below.
8929 Correct doc string.
8930
011cddd6
RW
89312013-04-12 Roland Winkler <winkler@gnu.org>
8932
8933 * faces.el (read-face-name): Do not override value of arg default.
8934 Allow single faces and strings as default values. Remove those
8935 elements from return value that are not faces.
8936 (describe-face): Simplify.
8937 (face-at-point): New optional args thing and multiple so that this
8938 function can provide the same functionality previously provided by
8939 read-face-name.
8940 (make-face-bold, make-face-unbold, make-face-italic)
8941 (make-face-unitalic, make-face-bold-italic, invert-face)
8942 (modify-face, read-face-and-attribute): Use face-at-point.
8943
8944 * cus-edit.el (customize-face, customize-face-other-window)
8945 * cus-theme.el (custom-theme-add-face)
8946 * face-remap.el (buffer-face-set)
8947 * facemenu.el (facemenu-set-face): Use face-at-point.
8948
f24e0036
MA
89492013-04-12 Michael Albinus <michael.albinus@gmx.de>
8950
8951 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8952
da3cda2d
TH
89532013-04-10 Tassilo Horn <tsdh@gnu.org>
8954
8955 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8956 off leading { and trailing } from field values.
8957
15e54145
SM
89582013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8959
78ce603d
SM
8960 * emacs-lisp/timer.el (timer--check): New function.
8961 (timer--time, timer-set-function, timer-event-handler): Use it.
8962 (timer-set-idle-time): Simplify.
8963 (timer--activate): CSE.
8964 (timer-event-handler): Give more info in error message.
8965 (internal-timer-start-idle): New function, moved from C.
8966
15e54145
SM
8967 * mpc.el (mpc-proc): Add `restart' argument.
8968 (mpc-proc-cmd): Use it.
8969 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8970 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8971 less often.
8972
7144c627
MY
89732013-04-10 Masatake YAMATO <yamato@redhat.com>
8974
8975 * progmodes/sh-script.el: Implement `sh-mode' own
8976 `add-log-current-defun-function' (bug#14112).
8977 (sh-current-defun-name): New function.
8978 (sh-mode): Use the function.
8979
b39792eb
BG
89802013-04-09 Bastien Guerry <bzg@gnu.org>
8981
8982 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8983
8acdeb71
SM
89842013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8985
6fcdab68
SM
8986 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8987
8acdeb71
SM
8988 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8989 timer (bug#14156).
8990
e3e7b504
NF
89912013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8992
8993 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8994 declaration.
8995
201bb296
LL
89962013-04-07 Leo Liu <sdl.web@gmail.com>
8997
8998 * pcmpl-x.el: New file.
8999
ebb19708
DA
90002013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9001
9002 Do not set x-display-name until X connection is established.
9003 This is needed to prevent from weird situation described at
9004 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9005 * frame.el (make-frame): Set x-display-name after call to
9006 window system initialization function, not before.
9007 * term/x-win.el (x-initialize-window-system): Add optional
9008 display argument and use it.
9009 * term/w32-win.el (w32-initialize-window-system):
9010 * term/ns-win.el (ns-initialize-window-system):
9011 * term/pc-win.el (msdos-initialize-window-system):
9012 Add compatible optional display argument.
9013
33bb237a
EZ
90142013-04-06 Eli Zaretskii <eliz@gnu.org>
9015
9016 * files.el (normal-backup-enable-predicate): On MS-Windows and
9017 MS-DOS compare truenames of temporary-file-directory and of the
9018 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9019 don't fail comparison by compare-strings. Also, compare file
9020 names case-insensitively on MS-Windows and MS-DOS.
9021
134abf1f
SM
90222013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9025 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9026
d695cb94
DG
90272013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9028
e3e7b504
NF
9029 * whitespace.el (whitespace-color-on, whitespace-color-off):
9030 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9031
f4ad7ea1 90322013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9033
9034 * ispell.el (ispell-set-spellchecker-params):
9035 Really set `ispell-args' for all equivs.
9036
632556e4
SM
90372013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * ido.el (ido-completions): Use extra elements of ido-decorations
9040 (bug#14143).
9041 (ido-decorations): Update docstring.
9042
2a417372
MA
90432013-04-05 Michael Albinus <michael.albinus@gmx.de>
9044
9045 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9046 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9047 nil during initialization, in order not to miss changes since the
9048 file was opened. (Bug#14140)
9049
fc164b0c
LL
90502013-04-05 Leo Liu <sdl.web@gmail.com>
9051
9052 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9053
0ccecc08
JB
90542013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9055
9056 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9057
51af1aa2
GM
90582013-04-04 Glenn Morris <rgm@gnu.org>
9059
9060 * electric.el (electric-pair-inhibit-predicate): Add :version.
9061
b208ebc6
SM
90622013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9063
9064 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9065 when a package is required several times (bug#14082).
9066
f3d3eaf0
RW
90672013-04-04 Roland Winkler <winkler@gnu.org>
9068
9069 * faces.el (read-face-name): Behave as promised by the docstring.
9070 Assume that arg default is a list of faces.
9071 (describe-face): Call read-face-name with list of default faces.
9072
2575da50
TV
90732013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9074
9075 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9076 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9077 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9078 the header.
9079 (bookmark-exit-hook-internal): Save even if list is empty.
9080
397703b4
YH
90812013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9082
9083 * emacs-lisp/package.el (package-pinned-packages): New var.
9084 (package--add-to-archive-contents): Obey it (bug#14118).
9085
691e26ae
AM
90862013-04-03 Alan Mackenzie <acm@muc.de>
9087
8a621d53
JB
9088 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9089 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9090
9091 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9092 parameter `not-in-delimiter'. Handle being inside comment opener.
9093 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9094 character in case we're typing a '*' after a '/'.
9095 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9096 instead by passing the parameter to c-state-pp-to-literal.
9097
9098 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9099 for elt. 7 of a parse state.
9100
4b725a70
PE
91012013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9102
9103 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9104 * international/latin1-disp.el, international/mule-util.el:
9105 * language/cyril-util.el, language/european.el, language/ind-util.el:
9106 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9107 * language/tibetan.el, language/viet-util.el:
9108 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9109
15c579f0
SM
91102013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9113 (electric-pair-post-self-insert-function): Use it.
9114 (electric-pair-default-inhibit): New function, extracted from
9115 electric-pair-post-self-insert-function.
9116
a77e2924
RW
91172013-03-31 Roland Winkler <winkler@gnu.org>
9118
9119 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9120
2bd8a4a8
SM
91212013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9124
8d3655be 91252013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9126
9127 Un-indent after "pass" and "return" statements (Bug#13888)
9128 * progmodes/python.el (python-indent-block-enders): New var.
9129 (python-indent-calculate-indentation): Use it.
9130
8d3655be 91312013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9132
9133 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9134 defun. Defining it as defalias could introduce too eager
9135 byte-compiler optimization. (Bug#14030)
9136
8d3655be 91372013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9138
9139 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9140
0b1619da
LL
91412013-03-30 Leo Liu <sdl.web@gmail.com>
9142
9143 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9144 (kmacro-execute-from-register): Pass the keyboard macro to
9145 kmacro-call-macro or repeating won't work correctly.
9146
0b938190
TZ
91472013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9148
9149 * progmodes/subword.el: Back to using `forward-symbol'.
9150
9151 * subr.el (forward-whitespace, forward-symbol)
9152 (forward-same-syntax): Move from thingatpt.el.
9153
35710234
LL
91542013-03-29 Leo Liu <sdl.web@gmail.com>
9155
9156 * kmacro.el (kmacro-to-register): New command.
9157 (kmacro-execute-from-register): New function.
9158 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9159
efc0bb73
SM
91602013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9161
9162 * mpc.el: Use defvar-local and setq-local.
9163 (mpc--proc-connect): Connection failures are not bugs.
9164 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9165 (mpc-volume-map): Bind to the up-events.
9166
75a2f981
TZ
91672013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9168
9169 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9170 instead of `forward-symbol'.
9171
17c781d1
SM
91722013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9175 (edebug--recursive-edit): Use it.
9176 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9177 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9178
f67bfbcf
LL
91792013-03-28 Leo Liu <sdl.web@gmail.com>
9180
9181 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9182
b59f639d
EZ
91832013-03-27 Eli Zaretskii <eliz@gnu.org>
9184
9185 * facemenu.el (list-colors-callback): New defvar.
9186 (list-colors-redisplay): New function.
9187 (list-colors-display): Install list-colors-redisplay as the
9188 revert-buffer-function. (Bug#14063)
9189
f557c1b1
SM
91902013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9191
b1da2957
SM
9192 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9193 and suffixes don't overlap (bug#14061).
9194
f557c1b1
SM
9195 * case-table.el: Use lexical-binding.
9196 (case-table-get-table): New function.
9197 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9198
002668e1
TZ
91992013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9200
9201 * progmodes/subword.el: Add `superword-mode' to do word motion
9202 over symbol_words (parallels and leverages `subword-mode' which
9203 does word motion inside MixedCaseWords).
9204
73572c72
AG
92052013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9206
78b8f320 9207 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9208 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9209
69b2c07e
SM
92102013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9213 Change return value to be a sexp. Delay `get-buffer' to after
9214 restoring the desktop (bug#13951).
9215
08bb5ee2
LL
92162013-03-26 Leo Liu <sdl.web@gmail.com>
9217
9218 * register.el: Move semantic tag handling back to
9219 cedet/semantic/senator.el. (Bug#14052)
9220
8d4c974e
SM
92212013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9222
9223 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9224 into the prompt either (bug#13963).
9225
b234d92c
SM
92262013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9229 part of "(error-foo)".
9230
ddfa3cb4
JL
92312013-03-24 Juri Linkov <juri@jurta.org>
9232
9233 * replace.el (list-matching-lines-prefix-face): New defcustom.
9234 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9235 `occur-engine' if `face-differs-from-default-p' returns t.
9236 (occur-engine): Add `,' inside backquote construct to evaluate
9237 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9238 Pass `prefix-face' to the functions `occur-context-lines' and
9239 `occur-engine-add-prefix'.
9240 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9241 `prefix-face' and propertize the prefix with `prefix-face'.
9242 (Bug#14017)
9243
7b0e2f85
LL
92442013-03-24 Leo Liu <sdl.web@gmail.com>
9245
9246 * nxml/rng-valid.el (rng-validate-while-idle)
9247 (rng-validate-quick-while-idle): Guard against deleted buffer.
9248 (Bug#13999)
9249
9250 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9251 is the last entry in kill-buffer-hook.
9252
9253 * files.el (kill-buffer-hook): Doc fix.
9254
b3082f49
DG
92552013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9256
b234d92c
SM
9257 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9258 Make it safe-local.
bde73d27 9259
b3082f49
DG
9260 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9261
a320a2db
LL
92622013-03-23 Leo Liu <sdl.web@gmail.com>
9263
7e74b0fb
LL
9264 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9265 Remove.
9266
9267 * nxml/rng-valid.el (rng-validate-mode)
9268 (rng-after-change-function, rng-do-some-validation):
9269 * nxml/rng-maint.el (rng-validate-buffer):
9270 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9271 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9272 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9273 (nxml-extend-after-change-region): Use with-silent-modifications.
9274
a320a2db
LL
9275 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9276 timer-idle-list.
9277
9278 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9279 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9280 timer-idle-list. (Bug#13999)
9281
e38e6780
JL
92822013-03-23 Juri Linkov <juri@jurta.org>
9283
9284 * info.el (info-index-match): New face.
9285 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9286 main pattern and add text properties with the new face to matches
9287 in index entries relative to the beginning of the index entry.
9288 (Bug#14015)
9289
e8cc7880
DE
92902013-03-21 Eric Ludlam <zappo@gnu.org>
9291
9292 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9293 Inhibit read only while inserting objects.
9294
9bb0d822
TZ
92952013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9296
9297 * progmodes/cfengine.el: Update docs to mention
9298 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9299 symbol motion. Remove "_" from the word syntax.
9300
aa703640
TZ
93012013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9302
9303 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9304 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9305
afff09d0
JL
93062013-03-20 Juri Linkov <juri@jurta.org>
9307
9308 * info.el (Info-next-reference-or-link)
9309 (Info-prev-reference-or-link): New functions.
9310 (Info-next-reference, Info-prev-reference): Use them.
9311 (Info-try-follow-nearest-node): Handle footnote navigation.
9312 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9313
9a1ff164
SM
93142013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9317 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9318
2667d15d
PE
93192013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9320
9321 Suppress unnecessary non-ASCII chatter during build process.
9322 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9323 (batch-skkdic-convert): Suppress most of the chatter.
9324 It's not needed so much now that machines are faster,
9325 and its non-ASCII component was confusing; see Dmitry Gutov in
9326 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9327
438b0579
LL
93282013-03-20 Leo Liu <sdl.web@gmail.com>
9329
9330 * ido.el (ido-chop): Fix bug#10994.
9331
c128ab07
DG
93322013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9333
9334 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9335 Remove vars.
9a1ff164
SM
9336 (whitespace-color-on, whitespace-color-off):
9337 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9338
0e6008c5
SM
93392013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9340
9341 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9342 remapping in mode-line.
9343 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9344
627b52b0
DG
93452013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9346
9347 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9348 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9349 (whitespace-font-lock-keywords): Change description.
9350 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9351 the constructed keywords instead.
9352 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9353
50c3a20b
LL
93542013-03-19 Leo Liu <sdl.web@gmail.com>
9355
9356 * progmodes/compile.el (compilation-display-error): New command.
9357 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9358 C-o. (Bug#13992)
9359
2aa2157b
PE
93602013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9361
9362 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9363
e477dbfa
JD
93642013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9365
9366 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9367
64ab82d1
MA
93682013-03-18 Michael Albinus <michael.albinus@gmx.de>
9369
9370 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9371
9372 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9373 * net/tramp-gvfs.el (top):
9374 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9375 (tramp-handle-shell-command): Use it.
9376 (tramp-dissect-file-name): Raise an error when hostname is a
9377 method name, and neither method nor user is specified.
9378
9379 * net/trampver.el: Update release number.
9380
33cef733
LL
93812013-03-18 Leo Liu <sdl.web@gmail.com>
9382
9383 Make sure eldoc can be turned off properly.
9384 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9385 eldoc-mode.
9386 (eldoc-display-message-p): Revert last change.
9387 (eldoc-display-message-no-interference-p)
9388 (eldoc-print-current-symbol-info): Tweak.
9389
2167b7b2
TH
93902013-03-18 Tassilo Horn <tsdh@gnu.org>
9391
9392 * doc-view.el (doc-view-new-window-function): Check the new window
9393 overlay's display property instead the char property of the
9394 buffer's first char. Use `with-selected-window' instead of
9395 `save-window-excursion' with `select-window'.
9396 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9397 display property instead the char property of the buffer's first char.
2167b7b2 9398
982efbcd
PE
93992013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9400
9401 Automate the build of ja-dic.el (Bug#13984).
9402 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9403 from the input, rather than assume that it's been done for us by the
9404 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9405 the current date into a ja-dic.el comment, as that complicates
9406 regression testing.
9407
2fcc7665
SM
94082013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * whitespace.el: Fix double evaluation.
9411 (whitespace-space, whitespace-hspace, whitespace-tab)
9412 (whitespace-newline, whitespace-trailing, whitespace-line)
9413 (whitespace-space-before-tab, whitespace-indentation)
9414 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9415 obsolete defvars.
9416 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9417 (whitespace-color-on): Use a single font-lock-add-keywords call.
9418 Fix double-evaluation of face variables.
9419
67c0a6e6
MA
94202013-03-17 Michael Albinus <michael.albinus@gmx.de>
9421
2fcc7665
SM
9422 * net/tramp-adb.el (tramp-adb-parse-device-names):
9423 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9424 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9425
69489f1d
LL
94262013-03-17 Leo Liu <sdl.web@gmail.com>
9427
9428 Extend eldoc to display info in the mode-line. (Bug#13978)
9429 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9430 (eldoc-mode-line-string): New variable.
9431 (eldoc-minibuffer-message): New function.
9432 (eldoc-message-function): New variable.
9433 (eldoc-message): Use it.
9434 (eldoc-display-message-p)
2fcc7665
SM
9435 (eldoc-display-message-no-interference-p):
9436 Support eldoc-post-insert-mode.
69489f1d
LL
9437
9438 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9439 (eval-expression): Run it.
9440
9c44569e
RW
94412013-03-17 Roland Winkler <winkler@gnu.org>
9442
9443 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9444 strings in the list of return values.
9445
327f1f6f
JB
94462013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9447
9448 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9449 radix before checking for HMS forms.
9450
67ed8fcd
LL
94512013-03-16 Leo Liu <sdl.web@gmail.com>
9452
9453 * progmodes/scheme.el: Add indentation and font-locking for λ.
9454 (Bug#13975)
9455
78be8b64 94562013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9457
9458 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9459 token before point (bug#13942).
9460
78be8b64 94612013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9462
95b43468 9463 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9464
98e775e6
EZ
94652013-03-16 Eli Zaretskii <eliz@gnu.org>
9466
9467 * startup.el (command-line-normalize-file-name): Fix handling of
9468 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9469 <xfq.free@gmail.com> in
9470 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9471
2edd6029
MA
94722013-03-15 Michael Albinus <michael.albinus@gmx.de>
9473
9474 Sync with Tramp 2.2.7.
9475
9476 * net/trampver.el: Update release number.
9477
d35f5864
TH
94782013-03-14 Tassilo Horn <tsdh@gnu.org>
9479
e903c210 9480 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9481 (doc-view-insert-image): Don't modify overlay associated to
9482 non-live windows, and implement horizontal centering of image in
9483 case it's smaller than the window.
9484 (doc-view-new-window-function): Force redisplay of new windows on
9485 doc-view buffers.
d35f5864 9486
1c4a85ed
KF
94872013-03-13 Karl Fogel <kfogel@red-bean.com>
9488
9489 * saveplace.el (save-place-alist-to-file): Don't sort
9490 `save-place-alist', just pretty-print it (bug#13882).
9491
85b66a21
MA
94922013-03-13 Michael Albinus <michael.albinus@gmx.de>
9493
a020afb9
JB
9494 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9495 Check whether `default-file-name-coding-system' is bound.
9496 It isn't in XEmacs.
85b66a21 9497
175600da
SM
94982013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9499
e7f7cb1a
SM
9500 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9501 backquotes for `obsolete' (bug#13929).
9502
175600da
SM
9503 * international/mule.el (find-auto-coding): Include file name in
9504 obsolescence warning (bug#13922).
9505
ca68a22e
TZ
95062013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9507
9508 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9509 for CFEngine 3-specific indentation.
9510 (cfengine3-indent-line): Use it. Fix up category regex.
9511 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9512
940e5099
SM
95132013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * type-break.el (type-break-file-name):
9516 * textmodes/remember.el (remember-data-file):
9517 * strokes.el (strokes-file):
9518 * shadowfile.el (shadow-initialize):
9519 * saveplace.el (save-place-file):
9520 * ps-bdf.el (bdf-cache-file):
9521 * progmodes/idlwave.el (idlwave-config-directory):
9522 * net/quickurl.el (quickurl-url-file):
9523 * international/kkc.el (kkc-init-file-name):
9524 * ido.el (ido-save-directory-list-file):
9525 * emulation/viper.el (viper-custom-file-name):
9526 * emulation/vip.el (vip-startup-file):
9527 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9528 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9529
cc725808
PE
95302013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9531
9532 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9533 * language/thai-word.el: Switch to UTF-8.
9534
a020afb9 9535See ChangeLog.16 for earlier changes.
e3d51b27
MR
9536
9537;; Local Variables:
9538;; coding: utf-8
e3d51b27
MR
9539;; End:
9540
ab422c4d 9541 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9542
9543 This file is part of GNU Emacs.
9544
9545 GNU Emacs is free software: you can redistribute it and/or modify
9546 it under the terms of the GNU General Public License as published by
9547 the Free Software Foundation, either version 3 of the License, or
9548 (at your option) any later version.
9549
9550 GNU Emacs is distributed in the hope that it will be useful,
9551 but WITHOUT ANY WARRANTY; without even the implied warranty of
9552 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9553 GNU General Public License for more details.
9554
9555 You should have received a copy of the GNU General Public License
9556 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.