Correct the top-level ChangeLog.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
520a6e4a
SM
12013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
0acfafef
SM
3 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4 via arguments so as to get the right ones (bug#15418).
5
520a6e4a
SM
6 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7
15826261
MA
82013-11-05 Michael Albinus <michael.albinus@gmx.de>
9
10 Fix problems found while writing a test suite.
11
12 * net/tramp-compat.el (tramp-compat-load): New defun.
13 * net/tramp.el (tramp-handle-load): Use it.
14
15 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16 "(numberp ok-if-already-exists)" correctly.
17
d35f31a4
XF
182013-11-05 Xue Fuqiao <xfq.free@gmail.com>
19
20 * international/characters.el (glyphless-char-display-control):
21 Add usage note.
22
ae93bc74
BB
232013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
24
520a6e4a
SM
25 * progmodes/python.el (python-mode):
26 * progmodes/scheme.el (scheme-mode):
27 * progmodes/prolog.el (prolog-mode):
28 * progmodes/ruby-mode.el (ruby-mode):
29 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
30 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 31
0ade65b5
SM
322013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
33
a0d5f7a4
SM
34 * rect.el (rectangle--highlight-for-redisplay):
35 * emacs-lisp/smie.el (smie--next-indent-change):
36 Use buffer-chars-modified-tick.
37
c93f3f5c
SM
38 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
39
0ade65b5
SM
40 * electric.el (electric-indent-post-self-insert-function):
41 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
42
ef9dd188
HE
432013-11-04 Helmut Eller <eller.helmut@gmail.com>
44
45 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
46
306e7308
NT
472013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
48
49 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
50 (bug#15786).
51
e5afbcac
SM
522013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
53
1d01ad41
SM
54 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
55
e5afbcac
SM
56 * progmodes/python.el: Fix up last change.
57 (python-shell--save-temp-file): New function.
58 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
59 `string' comes from the current buffer.
60 (python-shell-send-string-no-output): Remove `msg' arg.
61 (python--use-fake-loc): New var.
62 (python-shell-buffer-substring): Obey it. Try to compensate for the
63 extra coding line added by python-shell--save-temp-file.
64 (python-shell-send-region): Use python-shell--save-temp-file and
65 python-shell-send-file directly. Add `nomain' argument.
66 (python-shell-send-buffer): Use python-shell-send-region.
67 (python-electric-pair-string-delimiter): New function.
68 (python-mode): Use it.
69
d0065ff1
EZ
702013-11-04 Eli Zaretskii <eliz@gnu.org>
71
72 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
73 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
74 environment and decoding all of the default-directory's to here
75 from command-line.
76 (command-line): Decode also argv[0].
77
78 * loadup.el: Error out if default-directory is a multibyte string
79 when we are dumping.
80
81 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
82
7397c587
TZ
832013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
84
85 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
86 (package-menu--print-info, package-menu--archive-predicate):
87 Add Archive column to package list.
7397c587 88
b27cc9fc
MA
892013-11-04 Michael Albinus <michael.albinus@gmx.de>
90
91 Fix problems found while writing a test suite.
92
93 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
94 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
95 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
96 to nil when running original file name handler. Otherwise,
97 there are problems with constructs like "$$FOO".
98
99 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
100 for `localname'.
101
d8c4f18a
BB
1022013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
103
7b530552
BB
104 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
105
106 * subr.el (version<, version<=, version=):
107 Update docstrings with information for snapshot versions.
108
d8c4f18a
BB
109 * helpers.el: New library for misc helper functions.
110 (hash-table-keys): New function returning a list of hash keys.
111 (hash-table-values): New function returning a list of hash values.
112
dca01b09
DG
1132013-11-04 Dmitry Gutov <dgutov@yandex.ru>
114
115 * progmodes/ruby-mode.el (ruby-smie--forward-token)
116 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
117
0a749fa0
MN
1182013-11-04 Michal Nazarewicz <mina86@mina86.com>
119
120 * textmodes/fill.el (fill-single-char-nobreak-p): New function
121 checking whether point is after a 1-letter word.
122
1232013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
124
125 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
126 Don't infloop when expanding region over `multiline' syntax-type that
127 begins a line (bug#15778).
128
4aca7145
SM
1292013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
132 Make it into a proper minor mode.
133 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
134 (rectangle-mark-mode-map): New keymap.
135 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
136
a0833f62
GM
1372013-11-04 Glenn Morris <rgm@gnu.org>
138
139 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
140
e61845c1
SM
1412013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
144 (ruby-smie-rules): Use smie-rule-parent instead.
145
146 * emacs-lisp/smie.el (smie-rule-parent): Always call
147 smie-indent-virtual rather than only for hanging tokens.
148 (smie--next-indent-change): New helper command.
149
62942f89
GM
1502013-11-03 Glenn Morris <rgm@gnu.org>
151
152 * Makefile.in (abs_srcdir): Remove.
153 (emacs): Unset EMACSLOADPATH.
154
b0b9e592
GM
1552013-11-02 Glenn Morris <rgm@gnu.org>
156
18ba6a33 157 * Makefile.in (EMACS): Use a relative filename.
8061810d 158 (abs_top_builddir): Remove.
18ba6a33
GM
159 (custom-deps, finder-data, autoloads): Use --chdir.
160
6a8b929e
GM
161 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
162
c617f3d0
GM
163 Use relative filenames in TAGS files.
164 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
165 (lisptagsfiles4, TAGS): Use relative file names.
166 (TAGS-LISP): Remove.
167 (maintainer-clean): No more TAGS-LISP file.
168
b0b9e592
GM
169 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
170 (lisptagsfiles4): Use absolute filenames again.
171 (TAGS, TAGS-LISP): Not everything needs to run in one line.
172 Remove all *loaddefs files, not just the first. Remove esh-groups.
173 (maintainer-clean): Delete TAGS, TAGS-LISP.
174
d1c0ea6a
BB
1752013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
176
e61845c1
SM
177 * emacs-lisp/package.el (package-version-join):
178 Recognize snapshot versions.
d1c0ea6a 179
684d71c6
BB
1802013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
181
182 * subr.el (version-regexp-alist): Add support for snapshot versions.
183
3d42b968
DG
1842013-11-02 Dmitry Gutov <dgutov@yandex.ru>
185
e61845c1
SM
186 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
187 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
188 skip over our direct parent if it's an assignment token..
189 (ruby-smie-rules): Use it.
190
7ffd3721
DG
1912013-11-02 Dmitry Gutov <dgutov@yandex.ru>
192
193 * progmodes/ruby-mode.el Use `syntax-propertize-function'
194 unconditionally. Remove now unnecessary forward declarations.
195 Remove XEmacs-specific setup.
196 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
197 (ruby-font-lock-syntactic-keywords)
198 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
199 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
200 (ruby-here-doc-end-syntax): Remove.
201 (ruby-mode): Don't check whether `syntax-propertize-rules' is
202 defined as function.
203
a3996a2e
BB
2042013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
205
206 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
207
6f9260e8
BB
2082013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
209
210 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
211 table and abbrev table, `define-derived-mode' does that for us
212 anyway.
213
6014de84
GM
2142013-11-01 Glenn Morris <rgm@gnu.org>
215
216 * Makefile.in: Remove manual mh-e dependencies (writing .elc
217 files is atomic for some time, so no parallel compilation issues).
218
3c334c14
JD
2192013-11-01 Jan Djärv <jan.h.d@swipnet.se>
220
221 * faces.el (face-x-resources): Add :distant-foreground.
222 (region): Use :distant-foreground for gtk and ns.
223
9bc236c8
TH
2242013-11-01 Tassilo Horn <tsdh@gnu.org>
225
5246583b 226 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
227 BibTeX.
228 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
229 (reftex-locate-bibliography-files): Us it.
230
d14c81ee
CB
2312013-11-01 Claudio Bley <claudio.bley@googlemail.com>
232
0e7690de
CB
233 * image.el (image-type-header-regexps): Fix the 'pbm' part to
234 allow comments in pbm files.
235
d14c81ee
CB
236 * term/w32-win.el (dynamic-library-alist): Support newer versions
237 of libjpeg starting with v7: look only for the DLL from the
238 version against which Emacs was built.
ac1bf374 239 Support versions of libpng beyond 1.4.x.
019c8218 240 Support libtiff v4.x.
d14c81ee 241
983d0df5
BB
2422013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
243
244 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
245 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
246 Add property :safe.
247 (ruby-deep-arglist): Add property :type.
248
47f58d85
GM
2492013-10-31 Glenn Morris <rgm@gnu.org>
250
251 * Makefile.in (custom-deps, finder-data): No need to setq the target
252 variables, we are in the right directory and the defaults work fine.
253
4f85b479
GM
2542013-10-30 Glenn Morris <rgm@gnu.org>
255
ca7dd4cd
GM
256 * Makefile.in (autoloads): Do not use abs_lisp.
257
4f85b479
GM
258 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
259 `newline' does not respect `standard-output', so use `princ'.
260
cf59e41c
AA
2612013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
262
263 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
264 * buff-menu.el (Buffer-menu--unmark): New function.
265 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
266
74cf04fb
GM
2672013-10-30 Glenn Morris <rgm@gnu.org>
268
b040b60e
GM
269 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
270
f53d3815
GM
271 * emacs-lisp/package.el (lm-homepage): Declare.
272
5413d873
GM
273 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
274 Fix doc typos.
275
cecedb36
GM
276 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
277
74cf04fb
GM
278 * Makefile.in (finder-data, autoloads, update-subdirs)
279 (compile-main, compile-clean, compile-always, bootstrap-clean):
280 Check return value of cd.
281 (compile-calc): Remove.
282
195ee2f0
SM
2832013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
284
ae4002ce
SM
285 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
286
287 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
288 (byte-compile-and-folded): New function.
289 (=, <, >, <=, >=): Use it.
290
291 * dos-w32.el (minibuffer-history-case-insensitive-variables)
292 (path-separator, null-device, buffer-file-coding-system)
293 (lpr-headers-switches): Check system-type before modifying them.
294 (find-buffer-file-type-coding-system): Mark obsolete.
295 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
296 find-file-not-found-set-buffer-file-coding-system.
297 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
298 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
299 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
300 (w32-direct-print-region-helper, w32-direct-print-region-function)
301 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
302 * startup.el (normal-top-level-add-subdirs-to-load-path):
303 * ps-print.el (ps-print-region-function):
304 * lpr.el (print-region-function): Use new name.
305
53b39e89
SM
306 * subr.el (custom-declare-variable-early): Remove function.
307 (custom-declare-variable-list): Remove var.
308 (error, user-error): Remove `while' loop.
309 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
310 (user-emacs-directory-warning, locate-user-emacs-file):
311 Move to files.el.
312 * simple.el (read-quoted-char-radix, read-quoted-char):
313 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
314 Move from subr.el.
315 * custom.el (custom-declare-variable-list): Don't process
316 custom-declare-variable-list.
317
195ee2f0
SM
318 * progmodes/python.el (python-shell-get-buffer): New function.
319 (python-shell-get-process): Use it.
320 (python-shell-send-string): Always use utf-8 and add a cookie to tell
321 Python which encoding was used. Don't split-string since we only care
322 about the first line. Return the temp-file, if applicable.
323 (python-shell-send-region): Tell compile.el how to turn locations in
324 the temp-file into locations in the source buffer.
325
7e3561ee
SM
3262013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
327
4c9797cb
SM
328 * subr.el (undefined): Add missing behavior from the C code for
329 unbound keys.
330
3472b6c6
SM
331 * rect.el: Use lexical-binding. Add new rectangular region support.
332 (rectangle-mark): New command.
333 (rectangle--region): New var.
334 (deactivate-mark-hook): Reset rectangle--region.
335 (rectangle--extract-region, rectangle--insert-for-yank)
336 (rectangle--highlight-for-redisplay)
337 (rectangle--unhighlight-for-redisplay): New functions.
338 (region-extract-function, redisplay-unhighlight-region-function)
339 (redisplay-highlight-region-function): Use them to handle
340 rectangular region.
341 * simple.el (region-extract-function): New var.
342 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
343 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
344 (kill-region): Replace obsolete `yank-handler' arg with `region'.
345 (copy-region-as-kill, kill-ring-save): Add `region' argument.
346 (redisplay-unhighlight-region-function)
347 (redisplay-highlight-region-function): New vars.
348 (redisplay--update-region-highlight): New function.
349 (pre-redisplay-function): Use it.
350 (exchange-point-and-mark): Don't deactivate the mark before
351 reactivate-it anyway.
352 * comint.el (comint-kill-region): Remove yank-handler argument.
353 * delsel.el (delete-backward-char, backward-delete-char-untabify)
354 (delete-char): Remove property, since it's now part of their
355 default behavior.
356 (self-insert-iso): Remove property since this command doesn't exist.
357
7e3561ee
SM
358 * emacs-lisp/package.el (package--download-one-archive)
359 (describe-package-1): Don't query the user about final newline.
360
b9bef71f
DC
3612013-10-29 Daniel Colascione <dancol@dancol.org>
362
363 * net/tramp.el (tramp-methods): Document new functionality.
364 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
365 tramp-hostname-checker if method provides one instead of scanning
366 argument list for "%h" to decide hostname acceptability.
367
4efc33f0
MA
3682013-10-28 Michael Albinus <michael.albinus@gmx.de>
369
370 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
371 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
372 Handle COPY-CONTENTS. (Bug#15737)
373
ed42a877
DU
3742013-10-28 Daiki Ueno <ueno@gnu.org>
375
376 * epa-file.el
7e3561ee
SM
377 (epa-file-cache-passphrase-for-symmetric-encryption):
378 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 379
18c9f8a2
XF
3802013-10-27 Xue Fuqiao <xfq.free@gmail.com>
381
7a4bc7be
XF
382 * image.el (defimage):
383 (image-load-path): Doc fixes.
18c9f8a2 384
b1e8e010
AM
3852013-10-27 Alan Mackenzie <acm@muc.de>
386
387 Indent statements in macros following "##" correctly.
7e3561ee
SM
388 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
389 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 390
73d40d1e 3912013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
392
393 * linum.el (linum-update-window): Fix boundary test (bug#13446).
394
c8c605ac
DG
3952013-10-27 Dmitry Gutov <dgutov@yandex.ru>
396
397 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
398 after `=' is probably a new expression.
399
ca7e59d4
RS
4002013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
401
402 * man.el (man-imenu-title): New option.
403 (Man-mode-map): Add menu. (Bug#15722)
404 (Man-mode): Add imenu to menu.
405
bae91342
DG
4062013-10-26 Dmitry Gutov <dgutov@yandex.ru>
407
408 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
409 specific in what the first arg can be: a non-keyword word,
410 string/regexp/percent literal opener, opening paren, or unary
411 operator followed directly by word.
412
eb89dc14
SM
4132013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
416 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
417 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
418 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
419 Remove vars, they do not apply any more.
420 (prolog-mode-abbrev-table): Remove redundant declaration.
421 (prolog-upper-case-string, prolog-lower-case-string): Remove.
422 (prolog-use-smie): Remove.
423 (prolog-smie-rules): Add indentation rule for the if-then-else layout
424 supported by prolog-electric-if-then-else-flag.
425 (prolog-mode-variables, prolog-menu): Use setq-local.
426 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
427 Remove binding to `Backspace' since this key doesn't exist anyway.
428 Remove bindings for electric self-inserting keys.
429 (prog-mode): Assume it's defined.
430 (prolog-post-self-insert): New function.
431 (prolog-mode): Use it.
432 (prolog-indent-line, prolog-indent-level)
433 (prolog-find-indent-of-matching-paren)
434 (prolog-indentation-level-of-line, prolog-goto-comment-column)
435 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
436 (prolog-goto-next-paren, prolog-in-string-or-comment)
437 (prolog-tokenize, prolog-inside-mline-comment)
438 (prolog-find-start-of-mline-comment): Remove functions.
439 (prolog-find-unmatched-paren, prolog-clause-end)
440 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
441 (prolog-electric--if-then-else): Rename from
442 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
443 (prolog-tokenize-searchkey): Remove const.
444 (prolog-clause-info): Use forward-sexp.
445 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
446 (prolog-electric-if-then-else): Remove commands.
447 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
448 for use in post-self-insert-hook.
449 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
450 for use in post-self-insert-hook.
451 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
452 for use in post-self-insert-hook.
453 (prolog-electric--underscore): Rename from prolog-electric--underscore;
454 adapt it for use in post-self-insert-hook.
455
3dab0a83
MA
4562013-10-25 Michael Albinus <michael.albinus@gmx.de>
457
458 * emacs-lisp/ert.el (ert-run-tests-interactively):
459 Use `completing-read'. (Bug#9756)
460
fbfd0e1d
EZ
4612013-10-25 Eli Zaretskii <eliz@gnu.org>
462
463 * simple.el (line-move): Call line-move-1 instead of
464 line-move-visual when the current window hscroll is zero, but
465 temporary-goal-column indicates we will need to hscroll as result
466 of the movement. (Bug#15712)
467
963ce636
DG
4682013-10-25 Dmitry Gutov <dgutov@yandex.ru>
469
470 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
471 capitalization. Use :visible instead of :active.
472 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
473 commands that are used with SMIE.
474 (ruby-do-end-to-brace): Insert space after `{'.
475
a0be396a
JA
4762013-10-25 John Anthony <john@jo.hnanthony.com>
477
f73754c9
JA
478 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
479
480 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 481
f5bf77df
GM
4822013-10-25 Glenn Morris <rgm@gnu.org>
483
484 * vc/vc.el (vc-print-log): Don't use a working revision unless
485 one was explicitly specified. (Bug#15322)
486
37241f62
SM
4872013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * subr.el (add-to-list): Preserve return value in compiler-macro
490 (bug#15692).
491
6408a65d
RS
4922013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
493
494 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
495 result. Ask user to retry using '-all' flag. (Bug#15701)
496
71e3276b
SM
4972013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
498
499 * emacs-lisp/smie.el: New smie-config system.
500 (smie-config): New defcustom.
501 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
502 (smie-config-guess, smie-config-save): New commands.
503 (smie-config--mode-local, smie-config--buffer-local)
504 (smie-config--trace, smie-config--modefuns): New vars.
505 (smie-config--advice, smie-config--mode-hook)
506 (smie-config--setter, smie-config-local, smie-config--get-trace)
507 (smie-config--guess-value, smie-config--guess): New functions.
508 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
509 text properties. Treat "string fence" syntax like string syntax.
510
511 * progmodes/sh-script.el (sh-use-smie): Change default.
512 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
513 (sh-var-value): Simplify by CSE.
514 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
515 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
516 is used.
517 (sh-guess-basic-offset): Use cl-incf.
518 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
519
60db713e
HE
5202013-10-24 Helmut Eller <eller.helmut@gmail.com>
521
522 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
523 (bug#15699).
524
8b251df6
GM
5252013-10-24 Glenn Morris <rgm@gnu.org>
526
527 * Makefile.in (abs_top_srcdir): Remove.
528 (update-subdirs): Use relative path to update-subdirs.
529
6be0e22b
EZ
5302013-10-24 Eli Zaretskii <eliz@gnu.org>
531
532 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
533 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
534 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
535 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 536
50b5b857
MA
5372013-10-24 Michael Albinus <michael.albinus@gmx.de>
538
539 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
540 (ert-test-skipped): New error.
541 (ert-skip, ert-stats-skipped): New defuns.
542 (ert--skip-unless): New macro.
543 (ert-test-skipped): New struct.
544 (ert--run-test-debugger, ert-test-result-type-p)
545 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
546 (ert--stats-set-test-and-result, ert-char-for-test-result)
547 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 548 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 549 Handle skipped tests. (Bug#9803)
50b5b857 550
6f317c2f
GM
5512013-10-24 Glenn Morris <rgm@gnu.org>
552
e43817c1
GM
553 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
554
6f317c2f
GM
555 * Makefile.in (abs_top_srcdir): New, set by configure.
556 (update-subdirs): Correct build-aux location.
557
369bbf71
DG
5582013-10-24 Dmitry Gutov <dgutov@yandex.ru>
559
8297b2cf
DG
560 * vc/vc.el (vc-print-root-log): Always set `default-directory'
561 value, whether we could auto-deduce `backend', or not.
562
369bbf71
DG
563 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
564 with parameters" example. Simplify the "is it block or is it
565 hash" check, but also make it more thorough.
566
d5f1282f
MF
5672013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
568
569 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
570
bc4aaa31
SM
5712013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
572
03d44565
SM
573 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
574 { if it is hanging.
575
bc4aaa31
SM
576 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
577 :before ";".
578
f493ff19
JB
5792013-10-23 Jed Brown <jed@59A2.org> (tiny change)
580
581 * progmodes/compile.el (compilation-directory-matcher)
582 (compilation-page-delimiter):
583 Support GNU Make-4.0 directory quoting. (Bug#15678)
584
c744a3b9
LL
5852013-10-23 Leo Liu <sdl.web@gmail.com>
586
587 * ido.el (ido-tidy): Handle read-only text.
588
b8e3b0a9
GM
5892013-10-23 Glenn Morris <rgm@gnu.org>
590
591 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
592 (emacs, compile, compile-always):
593 Quote entities that might contain whitespace.
594 (custom-deps, finder-data, autoloads): Use abs_lisp.
595 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
596 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
597 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
598
ee4282cd
DG
5992013-10-23 Dmitry Gutov <dgutov@yandex.ru>
600
bc4aaa31
SM
601 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
602 Use `following-char'.
7790a270 603
ee4282cd 6042013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
605
606 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
607 * progmodes/ruby-mode.el (ruby-smie-rules):
608 Remove corresponding workaround. Fix indentation rule of ";" so it
609 also applies when ";" is the parent.
610
d40a46d7
XF
6112013-10-22 Xue Fuqiao <xfq.free@gmail.com>
612
613 * frame.el (display-screens, display-pixel-height)
614 (display-pixel-width, display-mm-width, display-backing-store)
615 (display-save-under, display-planes, display-color-cells)
7790a270
SM
616 (display-visual-class, display-monitor-attributes-list):
617 Mention the optional ‘display’ argument in doc strings.
d40a46d7 618
a0f143c9
MG
6192013-10-22 Michael Gauland <mikelygee@amuri.net>
620
621 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
622 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
623
18cacc39
DG
6242013-10-21 Dmitry Gutov <dgutov@yandex.ru>
625
626 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
627 TODO. Add "." after " @ ".
628 (ruby-smie--at-dot-call): New function. Checks if point at method
629 call with explicit target.
630 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
631 to the method name tokens when it precedes them.
632 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
633 (ruby-smie-rules): Add rule for indentation before and after "."
634 token.
635
df74c4be
SM
6362013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
637
c6dab55f
SM
638 * textmodes/remember.el (remember-diary-extract-entries):
639 Avoid add-to-list.
640
df74c4be
SM
641 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
642 an instruction.
643
8c1ae481
DG
6442013-10-21 Dmitry Gutov <dgutov@yandex.ru>
645
cfef16c0
DG
646 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
647 (ruby-smie--implicit-semi-p): Add new operator chars.
648
8c1ae481
DG
649 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
650 `smie-down-list'.
651 (ruby-smie--args-separator-p): Check that there's no newline
652 between method call and its arguments.
653
87756ca9
AM
6542013-10-20 Alan Mackenzie <acm@muc.de>
655
656 Allow comma separated lists after Java "implements".
657
df74c4be
SM
658 * progmodes/cc-engine.el (c-backward-over-enum-header):
659 Parse commas.
87756ca9
AM
660 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
661 from a "disallowed" list in enum fontification.
662
c25f8957
JB
6632013-10-20 Johan Bockgård <bojohan@gnu.org>
664
df74c4be 665 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 666
c25f8957
JB
667 * progmodes/verilog-mode.el (verilog-mode): Don't set
668 comment-indent-function globally.
669
aca5fcdc
JD
6702013-10-20 Jan Djärv <jan.h.d@swipnet.se>
671
5f161884
JD
672 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
673 Move Info menu item creation to ns-win.el.
674
675 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
676 in menu bar.
677
aca5fcdc
JD
678 * menu-bar.el: Move GNUStep specific menus...
679
680 * term/ns-win.el (ns-initialize-window-system): ... to here.
681
914b7f98
SM
6822013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * simple.el (newline): Only run post-self-insert-hook when
685 called interactively.
686
846ffe77
JB
6872013-10-19 Johan Bockgård <bojohan@gnu.org>
688
689 * icomplete.el (icomplete-with-completion-tables): Add :version.
690
033f22dd
AM
6912013-10-19 Alan Mackenzie <acm@muc.de>
692
693 Fix fontification bugs with constructors and const.
694
695 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
696 CASE 2) Remove the check for the absence of a suffix construct
697 after a function declaration with only types (no identifiers) in
698 the parentheses. Also, accept a function declaration with just a
699 type inside the parentheses, if this type can be positively
700 recognised as such, or if a prefix keyword like "explicit" nails
701 down the construct as a declaration.
702
58ce0cfc
EZ
7032013-10-19 Eli Zaretskii <eliz@gnu.org>
704
705 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
706 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
707 the problem whereby selecting a menu item that leads to a
708 minibuffer prompt moves the cursor out of the minibuffer window,
709 making it hard to type at the prompt. Suggested by Stefan Monnier
710 <monnier@iro.umontreal.ca>.
711
50e28e7d
JD
7122013-10-19 Jan Djärv <jan.h.d@swipnet.se>
713
714 * menu-bar.el: Don't make Services menu.
715
7deed4bf
RS
7162013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
717
718 * ffap.el: Handle "/usr/include/c++/<version>" directories.
719 (ffap-alist): Use ffap-c++-mode for c++-mode.
720 (ffap-c++-path): New variable.
721 (ffap-c++-mode): New function.
722
7bcb455b
JVJ
7232013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
724
725 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
726
f0ff1cd5
MA
7272013-10-18 Michael Albinus <michael.albinus@gmx.de>
728
729 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
730 introduced on 2013-09-08, which results in an infinite loop
731 requesting a password.
732
d64da4b7
GM
7332013-10-18 Glenn Morris <rgm@gnu.org>
734
735 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
736
ea89ff08
WS
7372013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
738
739 Sync with upstream verilog-mode revision 1a6ecec7.
740 * progmodes/verilog-mode.el (verilog-mode-version): Update.
741 (verilog-mode-release-date): Remove.
742 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
743 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
744 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
745 (verilog-auto-tieoff-ignore-regexp)
746 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
747 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
748 (verilog-signals-with, verilog-dir-cache-preserving)
749 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
750 Doc fixes.
751 (verilog-case-fold): New option, to control case folding in
752 regexp searches, bug597.
753 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
754 (verilog-string-match-fold, verilog-in-paren-count)
755 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
756 (verilog-at-close-struct-p): New functions.
757 (verilog-beg-block-re-ordered, verilog-extended-case-re)
758 (verilog-forward-sexp, verilog-set-auto-endcomments):
759 (verilog-leap-to-case-head): Handle "unique0" case.
760 (verilog-in-constraint-re): New constant.
761 (verilog-keywords, verilog-type-font-keywords):
762 Add some SystemVerilog 1800-2012 keywords.
763 (verilog-label-be): Remove unimplemented argument, bug669.
764 (verilog-batch-execute-func): When batch expanding clear
765 create-lockfiles to prevent spurious user locks when a file ends
766 up not changing.
767 (verilog-calculate-indent, verilog-calc-1)
768 (verilog-at-close-constraint-p, verilog-at-constraint-p)
769 (verilog-do-indent): Fix indentation of nested constraints
770 and structures.
771 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
772 (verilog-auto-inst-param): Use verilog-string-match-fold.
773 (verilog-read-inst-module-matcher):
774 Fix AUTOINST on gate primitives with #1.
775 (verilog-read-decls): Fix double-declaring user-defined typed signals.
776 Reads all user-defined typed variables.
777 (verilog-read-defines): Fix reading definitions inside comments, bug647.
778 (verilog-signals-matching-regexp)
779 (verilog-signals-not-matching-regexp, verilog-auto):
780 Respect verilog-case-fold.
781 (verilog-diff-report): Fix line count.
782 (verilog-auto-assign-modport): Remove unused local `modi'.
783 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
784 better handle multidimensional arrays.
785 Fix packed array ports misadding bit index in AUTOINST, bug637.
786 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
787 to not double-declare existing outputs and inputs, respectively.
788 (verilog-template-map): Bind U to verilog-sk-uvm-component.
789 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
790 (verilog-sk-uvm-component): New skeleton.
791 (verilog-submit-bug-report): Add verilog-case-fold,
792 remove verilog-mode-release-date.
793
ef566920
BR
7942013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
795
796 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
797 as before.
798
29df8a0b
RT
7992013-10-18 Reuben Thomas <rrt@sc3d.org>
800
801 * textmodes/remember.el (remember): set buffer-offer-save in
802 remember buffers (bug#13566).
803
04a19a79
DC
8042013-10-18 Daniel Colascione <dancol@dancol.org>
805
806 When evaluating forms in ielm, direct standard output to ielm
807 buffer. Add new ielm-return-for-effect command. Remove trailing
808 whitespace throughout.
809
810 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
811 (ielm-return-for-effect): New command.
812 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
813 (ielm-eval-input): Accept optional `for-effect' parameter.
814 Bind `standard-output' to stream we create using
04a19a79
DC
815 `ielm-standard-output-impl'. Suppress printing result when
816 `for-effect'.
817 (ielm-standard-output-impl): New function.
818 (inferior-emacs-lisp-mode): Explain new features in documentation.
819
4c1f03ef
MA
8202013-10-17 Michael Albinus <michael.albinus@gmx.de>
821
822 Code cleanup.
823
824 * net/tramp.el (tramp-debug-message): Do not check for connection
825 buffer.
826 (tramp-message): Use "vector" connection property.
827
828 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
829 (tramp-equal-remote, tramp-eshell-directory-change)
830 * net/tramp-adb.el (tramp-adb-handle-copy-file)
831 (tramp-adb-handle-rename-file)
832 * net/tramp-cmds.el (tramp-list-remote-buffers)
833 (tramp-cleanup-connection, tramp-cleanup-this-connection)
834 * net/tramp-compat.el (tramp-compat-process-running-p)
835 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
836 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
837 (tramp-gvfs-handle-rename-file)
838 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
839 (tramp-set-file-uid-gid)
840 * net/tramp-smb.el (tramp-smb-handle-copy-file)
841 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
842 of `file-remote-p'.
843
844 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
845 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
846 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
847 (tramp-gw-open-network-stream): Suppress unrelated traces.
848
849 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
850 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
851 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
852 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
853 connection property.
854
855 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 856 persistency file.
4c1f03ef
MA
857
858 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
859 Refactor common code. Improve debug message.
860 (tramp-maybe-open-connection)
861 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
862 connection buffer too early.
863
864 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
865 from `tramp-smb-actions-with-acl'.
866 (tramp-smb-actions-set-acl): New defconst.
867 (tramp-smb-handle-copy-directory)
868 (tramp-smb-action-get-acl): New defun, renamed from
869 `tramp-smb-action-with-acl'.
870 (tramp-smb-action-set-acl): New defun.
871 (tramp-smb-handle-set-file-acl): Rewrite.
872
642eb8b6
GM
8732013-10-17 Glenn Morris <rgm@gnu.org>
874
875 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
876
85527ff3
SM
8772013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
878
921c1d62
SM
879 * skeleton.el (skeleton-newline): Remove.
880 (skeleton-internal-1): Use (insert "\n") instead.
881
e333fb10
SM
882 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
883 let-bindings.
884
85527ff3
SM
885 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
886 forward-sexp-function while we redo its job (bug#15613).
887
c8722a97
JB
8882013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
889
890 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
891 represented by lists.
892
7a550bbb
GM
8932013-10-16 Glenn Morris <rgm@gnu.org>
894
895 * tmm.el (tmm--history): New dynamic variable.
896 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
897
f19da8ad
MA
8982013-10-16 Michael Albinus <michael.albinus@gmx.de>
899
900 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
901 (tramp-smb-errors): Add error messages.
902 (tramp-smb-actions-with-acl): New defconst.
903 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
904 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
905 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
906 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
907 (tramp-smb-get-stat-capability): Fix tests.
908
a24b9961
DK
9092013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
910
911 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
912 (bug#15580).
913
62ad85e6
GM
9142013-10-16 Glenn Morris <rgm@gnu.org>
915
0283d6b0
GM
916 * ansi-color.el (ansi-color-drop-regexp):
917 Add 1J, 1K, 2K. (Bug#15617)
918
012e2f9f
GM
919 * files.el (hack-local-variables--warned-lexical): New.
920 (hack-local-variables):
921 Warn about misplaced lexical-binding. (Bug#15616)
922
62ad85e6
GM
923 * net/eww.el (eww-render): Always set eww-current-url,
924 and update header line. (Bug#15622)
925 (eww-display-html): ... Rather than just doing it here.
926
6456c0ea
EZ
9272013-10-15 Eli Zaretskii <eliz@gnu.org>
928
929 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
930 menu navigations commands.
931
c2de5588
DK
9322013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
933
934 * progmodes/subword.el (subword-capitalize): Be careful when
935 the search for [[:alpha:]] fails (bug#15580).
936
ccd4a783
EZ
9372013-10-14 Eli Zaretskii <eliz@gnu.org>
938
939 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
940 to commands that scroll the menu.
941
1eda1d8d
DG
9422013-10-14 Dmitry Gutov <dgutov@yandex.ru>
943
c2de5588
DK
944 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
945 Handle methods ending with `?' and `!'.
1eda1d8d 946
e70181b8
AM
9472013-10-14 Akinori MUSHA <knu@iDaemons.org>
948
949 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
950 `japanese-cp932' to `cp932' to fix the problem where saving a
951 source file written in Shift_JIS twice would end up having
952 `coding: japanese-cp932' which Ruby could not recognize.
953 (ruby-mode-set-encoding): Add support for encodings mapped to nil
954 in `ruby-encoding-map'.
955 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
956 doesn't need to be explicitly declared in magic comment.
957 (ruby-encoding-map): Add type declaration for better customize UI.
958
9148ee92
GM
9592013-10-13 Glenn Morris <rgm@gnu.org>
960
a5d38e34
GM
961 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
962 Occur buffers are read-only. http://bugs.debian.org/720775
963
9148ee92
GM
964 * emacs-lisp/authors.el (authors-fixed-entries):
965 Comment out old alpha stuff.
966
a9ba094b
DG
9672013-10-13 Dmitry Gutov <dgutov@yandex.ru>
968
969 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
970 to `after-save-hook' instead of `before-save-hook'.
971 (ruby-mode-set-encoding): Use the value of coding system used to
972 write the file. Call `basic-save-buffer-1' after modifying the
973 buffer.
974
7a068717
AM
9752013-10-13 Alan Mackenzie <acm@muc.de>
976
977 Fix indentation/fontification of Java enum with
978 "implements"/generic.
979
c2de5588
DK
980 * progmodes/cc-engine.el (c-backward-over-enum-header):
981 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
982 (c-inside-bracelist-p): Uses new function above.
983 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
984 function above.
985 (c-font-lock-enum-tail): Uses new function above.
986
85b64f02
KH
9872013-10-13 Kenichi Handa <handa@gnu.org>
988
989 * international/mule-cmds.el (select-safe-coding-system): Remove a
990 superfluous condition in chekcing whether a coding system is safe
991 or not.
992
fc7f501b
OK
9932013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
994
995 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
996
fdcb2049
AP
9972013-10-13 Andreas Politz <politza@hochschule-trier.de>
998
999 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1000
8c106d17
GM
10012013-10-13 Glenn Morris <rgm@gnu.org>
1002
feab892d
GM
1003 * menu-bar.el (menu-bar-update-buffers):
1004 Unify Buffers menu prompt string. (Bug#15576)
1005
b22d0686
GM
1006 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1007
8c106d17
GM
1008 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1009 Add some entries.
1010 (authors-fixed-entries): Use accented form of name.
1011
1b12c797
SM
10122013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1013
650fa7bf 1014 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1015 method calls (bug#15594).
650fa7bf
SM
1016 (ruby-smie--args-separator-p): New function.
1017 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1018 recognize paren-free method calls.
1019
1b12c797
SM
1020 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1021 internals of universal-argument.
1022
029619c8
EZ
10232013-10-11 Eli Zaretskii <eliz@gnu.org>
1024
1025 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1026 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1027 dropped menu on second mouse click on the menu bar.
029619c8 1028
dd070019
SM
10292013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1032 (explicit-shell-file-name): Declare.
1033 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1034 (sh-completion-at-point-function): New function.
1035 (sh-mode): Use it.
1036 (sh-smie--keyword-p): Remove unused argument.
1037 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1038 vars.
1039 (sh-set-shell): Always setup SMIE, even if we use the
1040 old indentation code.
1041
0922b826
DG
10422013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1043
b68e2926
DG
1044 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1045 cases of ? and =.
1046 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1047 predicate would return nil are almost non-existent.
1048 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1049
0922b826
DG
1050 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1051 cache also after commands that modify the buffer but don't move
1052 point.
1053
ee041f2d
SM
10542013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * env.el (substitute-env-in-file-name): New function.
1057 (substitute-env-vars): Extend the meaning of the optional arg.
1058
a5dab159
EZ
10592013-10-10 Eli Zaretskii <eliz@gnu.org>
1060
1061 * term/w32-win.el (dynamic-library-alist): Define separate lists
1062 of GIF DLLs for versions before and after 5.0.0 of giflib.
1063 (Bug#15531)
1064
db138698
JT
10652013-10-10 João Távora <joaotavora@gmail.com>
1066
1067 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1068 not locked, use last revision and current source as
1069 defaults. (Bug#15569)
1070
2f6e161e
MY
10712013-10-10 Masatake YAMATO <yamato@redhat.com>
1072
1073 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1074 menu-bar is hidden.
1075
6c8413fc
MR
10762013-10-10 Martin Rudalics <rudalics@gmx.at>
1077
1078 * window.el (pop-to-buffer-same-window): Fix doc-string.
1079 (Bug#15492)
1080
20832de0
SM
10812013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1084
c6e8ae77
AC
10852013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1086
1087 * calendar/icalendar.el (icalendar-import-file):
1088 Fix interactive spec. (Bug#15482)
1089
9db13baf
GM
10902013-10-10 Glenn Morris <rgm@gnu.org>
1091
9271e90e
GM
1092 * desktop.el (desktop-save): Default to saving in .emacs.d,
1093 since PWD is no longer in desktop-path by default. (Bug#15319)
1094
9db13baf
GM
1095 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1096 now that text mode has a menu with the same entry.
1097 (menu-bar-text-mode-auto-fill): Remove now unused func.
1098 * textmodes/text-mode.el (text-mode-map):
1099 Use auto-fill help text from menu-bar.el.
1100
a0be396a 11012013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1102
1103 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1104
2edcd3c7
JL
11052013-10-09 Juri Linkov <juri@jurta.org>
1106
1107 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1108 instead of this-command-keys. Add universal-argument-more and
1109 universal-argument-minus to the list of prefix commands. (Bug#15568)
1110
574411d0
GM
11112013-10-09 Glenn Morris <rgm@gnu.org>
1112
14afa541
GM
1113 * vc/vc-svn.el (vc-svn-create-repo):
1114 Expand paths in file://... url. (Bug#15446)
1115
574411d0
GM
1116 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1117 Add some entries.
1118 (authors): Remove unused local variables.
1119
79804536
SM
11202013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * profiler.el: Create a more coherent calltree from partial backtraces.
1123 (profiler-format): Hide the tail with `invisible' so that C-s can still
1124 find the hidden elements.
1125 (profiler-calltree-depth): Don't recurse so enthusiastically.
1126 (profiler-function-equal): New hash-table-test.
1127 (profiler-calltree-build-unified): New function.
1128 (profiler-calltree-build): Use it.
1129 (profiler-report-make-name-part): Indent the calltree less.
1130 (profiler-report-mode): Add visibility specs for profiler-format.
1131 (profiler-report-expand-entry, profiler-report-toggle-entry):
1132 Expand the whole subtree when provided with a prefix arg.
1133
238150c8
DG
11342013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1135
1136 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1137 iuwu-mod token.
1138 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1139 hanging iuwu-mod token.
1140 (ruby-smie--forward-token): Do not include a dot after a token in
1141 that token.
1142 (ruby-smie--backward-token): Likewise.
1143
b0949cc4
JL
11442013-10-08 Juri Linkov <juri@jurta.org>
1145
1146 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1147 to isearch-other-control-char.
1148 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1149 and isearch-post-command-hook to post-command-hook.
1150 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1151 and isearch-post-command-hook from post-command-hook.
1152 (isearch-unread-key-sequence)
1153 (isearch-reread-key-sequence-naturally)
1154 (isearch-lookup-scroll-key, isearch-other-control-char)
1155 (isearch-other-meta-char): Remove functions.
1156 (isearch-pre-command-hook, isearch-post-command-hook):
1157 New functions based on isearch-other-meta-char rewritten
1158 relying on the new behavior of overriding-terminal-local-map
1159 that does not replace the local keymaps any more. (Bug#15200)
1160
4ed77415
EZ
11612013-10-08 Eli Zaretskii <eliz@gnu.org>
1162
1163 Support menus on text-mode terminals.
1164 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1165 functionality.
1166
1167 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1168
c2de5588
DK
1169 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1170 Move here from mouse.el.
4ed77415
EZ
1171 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1172 and arrow keys.
1173 (tty-menu-navigation-map): New map for TTY menu navigation.
1174
1175 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1176
1177 * frame.el (display-mouse-p): Report text-mode mouse as available
1178 on w32.
1179 (display-popup-menus-p): Report availability if mouse is
1180 available; don't condition on window-system.
1181
1182 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1183 (tty-menu-selected-face): New faces.
1184
b7d5bd82
TL
11852013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1186
06286513
SM
1187 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1188 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1189 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1190 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1191 New constants.
1192 (lisp-mode-variables): New `elisp' argument.
1193 (emacs-lisp-mode): Use it.
1194 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1195 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1196
b7d5bd82
TL
1197 * indent.el: Use lexical-binding.
1198 (indent-region): Add progress reporter.
1199 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1200 last step.
1201 (indent--next-tab-stop): New function to implement this behavior.
1202 (tab-to-tab-stop, move-to-tab-stop): Use it.
1203
12042013-10-08 Teemu Likonen <tlikonen@iki.fi>
1205
1206 * indent.el (indent-rigidly--current-indentation): New function.
1207 (indent-rigidly-map): New var.
1208 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1209
5ea75d23
BG
12102013-10-08 Bastien Guerry <bzg@gnu.org>
1211
1212 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1213
cc5da1ec
SM
12142013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1215
8ffa1a0b
SM
1216 * progmodes/perl-mode.el: Use lexical-binding.
1217 Remove redundant :group args.
1218 (perl-nochange): Change default to be closer to other major modes's
1219 standard behavior.
1220 (perl-indent-line): Don't consider text on current line as a
1221 valid beginning of function from which to indent.
1222
f2223371
SM
1223 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1224 with more than one argument (bug#15538).
1225
44256060
SM
1226 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1227
cc5da1ec
SM
1228 * vc/pcvs.el: Use lexical-binding.
1229 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1230 environment of `eval'.
1231 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1232 than a list of expressions. Adjust callers.
1233 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1234
0ea1599d
DG
12352013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1236
1237 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1238 case of the dot in a chained method call being on the following line.
0ea1599d 1239
da3e5ebb
SM
12402013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1241
2abb4e65
SM
1242 * electric.el (electric-indent-inhibit): New var.
1243 (electric-indent-post-self-insert-function): Use it.
1244 * progmodes/python.el (python-mode): Set it.
1245
d2e0e795
SM
1246 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1247 open braces.
1248
1249 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1250
bdc6b4c8
SM
1251 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1252 (css-mode): Use electric-indent-chars.
1253
da3e5ebb
SM
1254 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1255 (font-lock-beg, font-lock-end): Move before first use.
1256 (nxml-mode): Use syntax-propertize-function.
1257 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1258 (nxml-extend-after-change-region): Remove.
1259 * nxml/xmltok.el: Use lexical-binding.
1260 (xmltok-save): Use `declare'.
1261 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1262 * nxml/nxml-util.el: Use lexical-binding.
1263 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1264 Use `declare'.
1265 * nxml/nxml-ns.el: Use lexical-binding.
1266 (nxml-ns-save): Use `declare'.
1267 (nxml-ns-prefixes-for): Avoid add-to-list.
1268 * nxml/rng-match.el: Use lexical-binding.
1269 (rng--ipattern): Use cl-defstruct.
1270 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1271 (rng-cons-group-after, rng-subst-group-after)
1272 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1273 Use closures instead of `(lambda...).
1274
f8f91d5d
MA
12752013-10-07 Michael Albinus <michael.albinus@gmx.de>
1276
1277 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1278 of BEG and END.
1279
da3e5ebb
SM
1280 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1281 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1282 (tramp-gvfs-handle-insert-file-contents): Remove function.
1283
da3e5ebb
SM
1284 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1285 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1286
1287 * net/trampver.el: Update release number.
1288
7ccae3b1
SM
12892013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1290
55ca2c0d
SM
1291 * progmodes/compile.el (compilation-parse-errors):
1292 Use compilation--put-prop.
1293 (compilation--ensure-parse): Check compilation-multiline.
1294
731fc3ae
SM
1295 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1296
da3e5ebb
SM
1297 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1298 lexical-binding.
a5833280 1299
2e7ba2c2
SM
1300 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1301
7ccae3b1
SM
1302 * progmodes/ruby-mode.el: Fix recently added tests.
1303 (ruby-smie-grammar): Add - and +.
1304 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1305 (ruby-smie--backward-id): New functions.
1306 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1307 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1308 any more.
1309
85698d63
LL
13102013-10-07 Leo Liu <sdl.web@gmail.com>
1311
1312 * register.el (register-preview-delay)
1313 (register-preview-functions): New variables.
1314 (register-read-with-preview, register-preview)
1315 (register-describe-oneline): New functions.
1316 (point-to-register, window-configuration-to-register)
1317 (frame-configuration-to-register, jump-to-register)
1318 (number-to-register, view-register, insert-register)
1319 (copy-to-register, append-to-register, prepend-to-register)
1320 (copy-rectangle-to-register): Use register-read-with-preview to
1321 read register. (Bug#15525)
1322
3986af6c
DS
13232013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1324
1325 * net/network-stream.el (network-stream-open-starttls): Don't add
1326 --insecure if it's already present, because that gnutls-cli
1327 rejects getting that parameter twice.
1328
5cd9cda9
DG
13292013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1330
1331 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1332 keyword, too.
1333
da9ea6d9
DG
13342013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1335
1336 * newcomment.el (comment-use-global-state): Change default value
1337 to t, mark obsolete (Bug#15251).
1338 (comment-beginning): In addition to `comment-to-syntax', check the
1339 value of `comment-use-global-state'.
1340
34d1a133
SM
13412013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1344 (ruby-comment-column): Follow the global default, by default.
1345 (ruby-smie-grammar): Add assignment syntax.
1346 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1347 open-paren, a comma, or a \.
1348 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1349 and line continuations.
1350 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1351 followed by implicit semi-colons. Add rule for string concatenation
1352 and for indentation at BOB.
1353 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1354
1355 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1356 calling next-sexp, since next-token may have skipped chars which
1357 next-sexp doesn't know should be skipped!
1358
6f6ab820
LL
13592013-10-05 Leo Liu <sdl.web@gmail.com>
1360
34d1a133
SM
1361 * progmodes/octave.el (octave-send-region):
1362 Call compilation-forget-errors.
6f6ab820 1363
34ca0f4c
XF
13642013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1365
1366 * vc/vc-svn.el (vc-svn-find-admin-dir):
1367 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1368 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1369 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1370 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1371
a27c1b72
SM
13722013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1375
258ab3bc
SM
13762013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1377
1378 * subr.el (read-passwd): Hide chars even when called within a context
1379 where after-change-functions is disabled (bug#15501).
1380 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1381 until we removed ourself from overriding-terminal-local-map.
1382
939fb29c
LL
13832013-10-04 Leo Liu <sdl.web@gmail.com>
1384
258ab3bc
SM
1385 * progmodes/octave.el (inferior-octave-mode):
1386 Call compilation-forget-errors.
939fb29c 1387
63bd7f35
XF
13882013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1389
1390 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1391
9e6229fa
MA
13922013-10-04 Michael Albinus <michael.albinus@gmx.de>
1393
1394 * net/secrets.el (secrets-create-collection): Add optional
1395 argument ALIAS. Use proper Label keyword. Append ALIAS as
1396 dbus-call-method argument. (Bug#15516)
1397
1dab32a3
LL
13982013-10-04 Leo Liu <sdl.web@gmail.com>
1399
1400 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1401 (inferior-octave-compilation-font-lock-keywords): New variables.
1402 (compilation-error-regexp-alist)
1403 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1404 (inferior-octave-mode): Use compilation-shell-minor-mode.
1405
6cad7ba3
JS
14062013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1407
1408 * minibuffer.el (completion--replace): Be careful that `end' might be
1409 a marker.
1410
acbadd00
DU
14112013-10-03 Daiki Ueno <ueno@gnu.org>
1412
1413 Add support for package signature checking.
1414 * emacs-lisp/package.el (url-http-file-exists-p)
1415 (epg-make-context, epg-context-set-home-directory)
1416 (epg-verify-string, epg-context-result-for)
1417 (epg-signature-status, epg-signature-to-string)
1418 (epg-check-configuration, epg-configuration)
1419 (epg-import-keys-from-file): Declare.
1420 (package-check-signature): New user option.
1421 (package-unsigned-archives): New user option.
1422 (package-desc): Add `signed' field.
1423 (package-load-descriptor): Set `signed' field if .signed file exists.
1424 (package--archive-file-exists-p): New function.
1425 (package--check-signature): New function.
1426 (package-install-from-archive): Check package signature.
1427 (package--download-one-archive): Check archive signature.
1428 (package-delete): Remove .signed file.
1429 (package-import-keyring): New command.
1430 (package-refresh-contents): Import default keyring.
1431 (package-desc-status): Add "unsigned" status.
1432 (describe-package-1, package-menu--print-info)
1433 (package-menu-mark-delete, package-menu--find-upgrades)
1434 (package-menu--status-predicate): Support "unsigned" status.
1435
adf2aa61
SM
14362013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1439 the new compilation scheme using the new byte-codes.
1440
1441 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1442 (byte-pophandler): New byte codes.
1443 (byte-goto-ops): Adjust accordingly.
1444 (byte-compile--use-old-handlers): New var.
1445 (byte-compile-catch): Use new byte codes depending on
1446 byte-compile--use-old-handlers.
1447 (byte-compile-condition-case--old): Rename from
1448 byte-compile-condition-case.
1449 (byte-compile-condition-case--new): New function.
1450 (byte-compile-condition-case): New function that dispatches depending
1451 on byte-compile--use-old-handlers.
1452 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1453 when we can.
1454
1455 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1456 Optimize under `condition-case' and `catch' if
1457 byte-compile--use-old-handlers is nil.
1458 (disassemble-offset): Handle new bytecodes.
1459
328a8179
SM
14602013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * subr.el (error): Use `declare'.
1463 (decode-char, encode-char): Use advertised-calling-convention instead
1464 of the docstring to discourage use of the `restriction' arg.
1465
15a1e936
DU
14662013-10-03 Daiki Ueno <ueno@gnu.org>
1467
1468 * epg.el (epg-verify-file): Add a comment saying that it does not
1469 notify verification error as a return value nor a signal.
1470 (epg-verify-string): Ditto.
1471
376f862a
KR
14722013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1473
1474 * progmodes/compile.el (compilation-start): Try globbing the arg to
1475 `cd' (bug#15417).
1476
a2f93a5f
MA
14772013-10-02 Michael Albinus <michael.albinus@gmx.de>
1478
1479 Sync with Tramp 2.2.8.
1480
1481 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1482 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1483 * net/trampver.el: Update release number.
1484
0daa0804
JD
14852013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1486
1487 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1488 and default-process-coding-system for darwin only.
1489
abd1ae34
SM
14902013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1493
be4e325d
MH
14942013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1495
1496 * vc/vc-git.el (vc-git-grep): Disable pager.
1497
e9155c4a
DG
14982013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1499
494e898b
DG
1500 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1501 Use :url instead of :homepage, as per
1502 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1503
e9155c4a
DG
1504 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1505 non-nil, use `syntax-ppss' (Bug#15251).
1506
481a8e0f
RS
15072013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1508
be4e325d
MH
1509 * progmodes/octave.el (inferior-octave-startup-file):
1510 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1511
056453c6
DG
15122013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1513
be4e325d
MH
1514 * emacs-lisp/package.el (package-desc-from-define):
1515 Accept additional arguments as plist, convert them to an alist and store
1516 them in the `extras' slot.
056453c6
DG
1517 (package-generate-description-file): Convert extras alist back to
1518 plist and append to the `define-package' form arguments.
1519 (package--alist-to-plist): New function.
1520 (package--ac-desc): Add `extras' slot.
1521 (package--add-to-archive-contents): Check if the archive-contents
1522 vector is long enough, and if it is, pass its `extras' slot value
1523 to `package-desc-create'.
1524 (package-buffer-info): Call `lm-homepage', pass the returned value
1525 to `package-desc-from-define'.
1526 (describe-package-1): Render the homepage button (Bug#13291).
1527
be4e325d
MH
1528 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1529 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1530
832966e5
JD
15312013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1532
1533 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1534 and default-process-coding-system to utf-8-unix (Bug#15402).
1535
6cfe977d
XF
15362013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1537
1538 * subr.el (looking-back): Do not recommend using looking-back.
1539
38de11bd
AM
15402013-09-28 Alan Mackenzie <acm@muc.de>
1541
1542 Fix indentation/fontification of Java enum with "implements".
1543
1544 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1545 regexp which matches "implements", etc., in Java.
1546 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1547 specifier clauses coming after "enum".
1548 * progmodes/cc-fonts.el (c-font-lock-declarations)
1549 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1550 after "enum".
1551
1610938f
JD
15522013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1553
1554 * faces.el (region): Change ns_selection_color to
1555 ns_selection_fg_color, add ns_selection_bg_color.
1556
e090f499
LL
15572013-09-28 Leo Liu <sdl.web@gmail.com>
1558
4d2e94d1
LL
1559 * progmodes/octave.el (inferior-octave-completion-table)
1560 (inferior-octave-completion-at-point): Minor tweaks.
1561
e090f499
LL
1562 * textmodes/ispell.el (ispell-lookup-words): Rename from
1563 lookup-words. (Bug#15460)
1564 (lookup-words): Obsolete.
1565 (ispell-complete-word, ispell-command-loop): All uses changed.
1566
7e138a62
RS
15672013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1568
1569 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1570 (octave-mode-menu): Add octave-send-buffer.
1571 (octave-send-buffer): New function.
1572
5af5ed08
RS
15732013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1574
1575 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1576 octave-lookfor.
1577 (octave-mode-menu): Add octave-lookfor.
1578 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1579 octave-lookfor.
1580 (octave-lookfor): New function.
1581
3b7b2692
SM
15822013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * emacs-lisp/cl-macs.el:
1585 (cl--loop-destr-temps): Remove.
1586 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1587 its convention.
1588 (cl--loop-set-iterator-function): New function.
1589 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1590 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1591 Bind `it' with `let' instead of substituting it with `cl-subst'.
1592 (cl--unused-var-p): New function.
1593 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1594 Eliminate some unused variable warnings (bug#15326).
1595
529fb53f
TH
15962013-09-27 Tassilo Horn <tsdh@gnu.org>
1597
1598 * doc-view.el (doc-view-scale-reset): Rename from
1599 `doc-view-reset-zoom-level'.
1600 (doc-view-scale-adjust): New command.
1601 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1602 `doc-view-scale-adjust'.
1603
0550c95a
TH
16042013-09-26 Tassilo Horn <tsdh@gnu.org>
1605
1606 * doc-view.el (doc-view-reset-zoom-level): New command.
1607 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1608 zoom commands (bug#15466).
1609
6950f152
KH
16102013-09-26 Kenichi Handa <handa@gnu.org>
1611
1612 * international/quail.el (quail-help): Make it not a command.
1613
39587580
LL
16142013-09-26 Leo Liu <sdl.web@gmail.com>
1615
1616 * minibuffer.el (completion-all-sorted-completions): Make args
1617 optional as they are.
1618
00578659
DC
16192013-09-25 Daniel Colascione <dancol@dancol.org>
1620
1621 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1622 specs are and that they're not evaluated.
1623
0c173878
SS
16242013-09-24 Sam Steingold <sds@gnu.org>
1625
1626 * midnight.el (clean-buffer-list-kill-regexps)
1627 (clean-buffer-list-kill-buffer-names): Update for the new Man
1628 buffer naming which includes the object name.
1629
84998447
SM
16302013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1633 (eshell-parse-command, eshell-parse-pipeline): Use it since
1634 eshell-separate-commands requires a dynamic scoped var.
1635 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1636
33215353
LL
16372013-09-23 Leo Liu <sdl.web@gmail.com>
1638
1639 * autoinsert.el (auto-insert-alist): Make the value of
1640 lexical-binding match its file setting.
1641
57b16162
JB
16422013-09-23 Juanma Barranquero <lekktu@gmail.com>
1643
c8af4e67
JB
1644 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1645
57b16162
JB
1646 * autoarg.el (autoarg-kp-digit-argument):
1647 * electric.el (Electric-command-loop):
1648 * kmacro.el (kmacro-step-edit-insert):
1649 Do not set universal-argument-num-events.
1650
7186ba60
LL
16512013-09-22 Leo Liu <sdl.web@gmail.com>
1652
1653 * files.el (interpreter-mode-alist): Add octave.
1654
ece15004
AM
16552013-09-21 Alan Mackenzie <acm@muc.de>
1656
1657 C++: fontify identifier in declaration following "public:" correctly.
1658 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1659 to match "public", etc.
1660 (c-decl-prefix-re): Add ":" into the C++ value.
1661 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1662 bit. Add a check for a ":" preceded by "public", etc.
1663
75d83e22
EZ
16642013-09-21 Eli Zaretskii <eliz@gnu.org>
1665
1666 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1667 recognized by GDB 7.5 and later.
1668
d052d3bd
XF
16692013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1670
1671 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1672
31dca772
R
16732013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * subr.el (internal--call-interactively): New const.
1676 (called-interactively-p): Use it (bug#3984).
1677
98ccf24e
XF
16782013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1679
1680 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1681 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1682 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1683
c39cc7d1
SM
16842013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1687 (eshell-ls-orig-insert-directory): Remove.
1688 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1689 (eshell-ls-use-in-dired): Use advice-add/remove.
1690 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1691 Add `orig-fun' arg for use in :around advice.
1692 Make it check (redundantly) eshell-ls-use-in-dired.
1693
9a0289a2
GM
16942013-09-19 Glenn Morris <rgm@gnu.org>
1695
a2c501b8
GM
1696 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1697
c440407a
GM
1698 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1699
9a0289a2
GM
1700 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1701
85e05915
MA
17022013-09-19 Michael Albinus <michael.albinus@gmx.de>
1703
1704 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1705 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1706 (tramp-get-remote-python): New defuns.
1707 (tramp-get-remote-uid-with-perl)
1708 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1709 contributed by yary <not.com@gmail.com> (tiny change).
1710 (tramp-get-remote-uid-with-python)
1711 (tramp-get-remote-gid-with-python): New defuns. Python code
1712 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1713 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1714
ce503312
GM
17152013-09-19 Glenn Morris <rgm@gnu.org>
1716
f7544773
GM
1717 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1718
72fd2877
GM
1719 * eshell/em-unix.el (eshell-remove-entries):
1720 Rename argument to avoid name-clash with global `top-level'.
1721
336b5a56
GM
1722 * eshell/esh-proc.el (eshell-kill-process-function):
1723 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1724 (eshell-reset-after-proc): Remove unused arg `proc'.
1725
57a3a53d
GM
1726 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1727 (directory-files-and-attributes): Mark unused arg.
1728
3261d4af
GM
1729 * eshell/em-unix.el (eshell-remove-entries):
1730 Remove unused arg `path'. Update callers.
1731
8e51b5d0
GM
1732 * eshell/em-hist.el (eshell-hist-parse-arguments):
1733 Remove unused arg `silent'. Update callers.
1734
ce503312
GM
1735 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1736 Fix (f)boundp mix-up.
1737
1738 * eshell/em-smart.el (eshell-smart-scroll-window)
1739 (eshell-disable-after-change):
336b5a56 1740 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1741
ee3ce8a7
AM
17422013-09-18 Alan Mackenzie <acm@muc.de>
1743
1744 Fix fontification of type when followed by "const".
1745 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1746 "known" types from fontification.
1747
ec9177ba
GM
17482013-09-18 Glenn Morris <rgm@gnu.org>
1749
7bb3e768
GM
1750 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1751 (chart-face-list): Drop Emacsen without display-color-p.
1752
5148da15
GM
1753 * net/eww.el (libxml-parse-html-region): Declare.
1754 (eww-display-html): Explicit error if no libxml2 support.
1755
2f68e157
GM
1756 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1757
9019d095
GM
1758 * image.el (image-type-from-buffer, image-multi-frame-p):
1759 Remove --without-x warning/error.
67645389 1760
5f30349b 1761 * mouse.el (mouse-yank-primary):
45069b2e 1762 * term.el (term-mouse-paste):
5f30349b
GM
1763 Reorder to silence --without-x compilation.
1764
cd8edbbe
GM
1765 * mpc.el (doc-view-mode): Silence --without-x compilation.
1766
8a78544e
GM
1767 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1768 Silence --without-x compilation.
1769
12679bfd
GM
1770 * progmodes/gud.el (gud-find-file, gud-mode):
1771 Silence --without-x compilation.
1772 (tooltip-mode): Declare.
30810a05 1773
f0047cb9
GM
1774 * wdired.el (dired-backup-overwrite): Remove declaration.
1775 (wdired-mode-map): Add doc string.
1776
e740f9d2
GM
1777 * custom.el (x-get-resource): Declare.
1778
92d77c89
GM
1779 * eshell/em-glob.el (ange-cache):
1780 * eshell/em-unix.el (ange-cache): Declare.
1781
76e69577
GM
1782 * faces.el (x-display-list, x-open-connection, x-get-resource):
1783 Declare.
7e58af4b
GM
1784
1785 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1786 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1787 Declare.
76e69577 1788
4bd4c0af 1789 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1790
ffb82dbd
GM
1791 * net/gnutls.el (gnutls-log-level): Declare.
1792
986ed135
GM
1793 * net/shr.el (image-size, image-animate): Declare.
1794
e740f9d2
GM
1795 * simple.el (font-info): Declare.
1796
d2f3e9f8
GM
1797 * subr.el (x-popup-dialog): Declare.
1798
047a1a4c
GM
1799 * term/common-win.el (x-select-enable-primary)
1800 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1801 Declare.
1802
f4a1d572
GM
1803 * term/ns-win.el (x-handle-args): Declare.
1804
e843de77
GM
1805 * term/x-win.el (x-select-enable-clipboard): Declare.
1806
5fa89513
GM
1807 * term/w32-win.el (create-default-fontset): Declare.
1808
38702b5b
GM
1809 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1810 Declare.
1811
e740f9d2
GM
1812 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1813 (fit-frame-to-buffer): Explicit error if --without-x.
1814 (mouse-autoselect-window-select): Silence compiler.
1815
49a053fc
GM
1816 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1817
1818 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1819 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1820 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1821 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1822 Remove unused local variables.
1823
1824 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1825
ec9177ba
GM
1826 * textmodes/two-column.el: Make 2C-split work for --without-x.
1827 (scroll-bar-columns): Autoload.
1828 (top-level): Require fringe when compiling.
1829
9f25cb77
LL
18302013-09-18 Leo Liu <sdl.web@gmail.com>
1831
1832 * subr.el (add-hook): Robustify to handle closure as well.
1833
2b42da98
GM
18342013-09-17 Glenn Morris <rgm@gnu.org>
1835
1836 * simple.el (messages-buffer-mode-map): Unbind "g".
1837
e8b66a6a
SM
18382013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1839
9c0ad4f7
SM
1840 * help-mode.el (help-mode-finish): Use derived-mode-p.
1841 Remove obsolete highlighting.
1842
7a806dfb
SM
1843 * play/life.el (life-mode): Use define-derived-mode. Derive from
1844 special-mode.
1845 (life): Let-bind inhibit-read-only.
1846 (life-setup): Avoid `setq'. Use `life-mode'.
1847
96dbf5a8
SM
1848 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1849 which should not be needed any more.
1850 (package-menu-refresh, package-menu-describe-package): Use user-error.
1851
e8b66a6a
SM
1852 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1853 (eshell-post-rewrite-command-hook): Make obsolete.
1854 (eshell-parse-command): Simplify.
1855 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1856 (eshell--cmd): Declare.
1857 (eshell-parse-pipeline): Remove unused var `final-p'.
1858 Pass a dynvar to eshell-post-rewrite-command-hook.
1859 Implement the new eshell-post-rewrite-command-function.
1860 (eshell-invoke-directly): Remove unused arg `input'.
1861 * eshell/esh-io.el (eshell-io-initialize):
1862 Use eshell-post-rewrite-command-function (bug#15399).
1863 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1864 adjust to new calling convention.
1865 (eshell-create-handles): Rename args to avoid clashing with dynvar
1866 `standard-output'.
1867
90582f05
GM
18682013-09-17 Glenn Morris <rgm@gnu.org>
1869
1870 * simple.el (messages-buffer-mode): New major mode.
1871 (messages-buffer): New function.
1872 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1873 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1874 (ert-run-test): Use `messages-buffer' function.
90582f05 1875 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1876 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1877 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1878
39eb0cb5 18792013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1880
1881 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1882
1f1e06e2
SM
1883 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1884
70568a90
SM
18852013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1886
504a0381
SM
1887 * icomplete.el (icomplete-in-buffer): New var.
1888 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1889 vars and replace them with functions.
1890 (icomplete-minibuffer-setup): Adjust accordingly.
1891 (icomplete--completion-table, icomplete--completion-predicate)
1892 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1893 New functions.
1894 (icomplete-forward-completions, icomplete-backward-completions)
1895 (icomplete-simple-completing-p, icomplete-exhibit)
1896 (icomplete-completions): Use them.
1897 (icomplete--in-region-buffer): New var.
1898 (icomplete--in-region-setup): New function.
1899 (icomplete-mode): Use it.
1900
70568a90
SM
1901 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1902 (bug#15379).
1903 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1904 return args and options.
1905 (eshell-eval-using-options): Use the new return value of
1906 eshell--do-opts to set the options's vars in their scope.
1907 (eshell--set-option): Rename from eshell-set-option.
1908 Add arg `opt-vals'.
1909 (eshell--process-option): Rename from eshell-process-option.
1910 Add arg `opt-vals'.
1911 (eshell--process-args): Use an `opt-vals' alist to store the options's
1912 values during their processing and return them additionally to the
1913 remaining args.
1914
578c21bc
DG
19152013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1916
1917 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1918 continuation character an operator, as far as indentation is
1919 concerned (Bug#15369).
1920
c089653d
MR
19212013-09-15 Martin Rudalics <rudalics@gmx.at>
1922
1923 * window.el (window--state-put-2): Don't process buffer state
1924 when buffer doesn't exist any more (Bug#15382).
1925
1e53bb4b
GM
19262013-09-15 Glenn Morris <rgm@gnu.org>
1927
30753242
GM
1928 * eshell/em-unix.el (eshell/rm):
1929 Make -f ignore missing files. (Bug#15373)
1930
1e53bb4b
GM
1931 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1932 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1933 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1934
0d8863b3
GM
19352013-09-14 Glenn Morris <rgm@gnu.org>
1936
1937 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1938
d3fc6549
GM
19392013-09-13 Glenn Morris <rgm@gnu.org>
1940
1941 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1942 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1943
fcd42c11
DA
19442013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1945
1946 * frame.el (x-focus-frame): Mark as declared in frame.c.
1947
7830899f
SM
19482013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * ls-lisp.el: Use advice-add.
1951 (original-insert-directory): Remove.
1952 (ls-lisp--insert-directory): Rename from insert-directory; add
1953 `orig-fun' argument.
1954 (insert-directory): Advise.
1955
84387cd2
EZ
19562013-09-13 Eli Zaretskii <eliz@gnu.org>
1957
1958 * term.el (term-emulate-terminal): Decode the command string
1959 before passing it to term-command-hook. (Bug#15337)
1960
35ffc6ba
GM
19612013-09-13 Glenn Morris <rgm@gnu.org>
1962
5c3f9bcc
GM
1963 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1964
2ada368a
GM
1965 * eshell/esh-ext.el (eshell-search-path): Declare.
1966
fcef2e13
GM
1967 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1968 Otherwise an error occurs if eshell-dirs module not loaded.
1969
35ffc6ba
GM
1970 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1971
35c3d36e
MA
19722013-09-13 Michael Albinus <michael.albinus@gmx.de>
1973
1974 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1975 `tramp-check-proper-host'. Check for a valid method name.
1976
1977 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1978 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1979 * net/tramp-sh.el (tramp-maybe-open-connection):
1980 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1981
1982 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1983 also for hash values.
1984
ae5e4c48
SM
19852013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1986
379add74
SM
1987 * term/ns-win.el (parameters): Don't declare as dynamic.
1988 (before-make-frame-hook): Don't add ineffective function.
1989
ae5e4c48
SM
1990 * eshell/*.el: Use lexical-binding (bug#15231).
1991
b5623270
KH
19922013-09-12 Kenichi Handa <handa@gnu.org>
1993
ae5e4c48 1994 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1995
30213927
GM
19962013-09-12 Glenn Morris <rgm@gnu.org>
1997
be94d713 1998 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1999 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2000
44915370
GM
2001 * subr.el (do-after-load-evaluation): Also give compiler warnings
2002 when obsolete files are used (except by obsolete files).
2003
a6ae021f
GM
2004 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2005 in the status output, assume `filename' is the first. (Bug#15322)
2006
40e64f0c
GM
2007 * vc/vc.el (vc-deduce-fileset): Doc fix.
2008
16d9f896
GM
2009 * calc/calc-help.el (Info-goto-node):
2010 * progmodes/cperl-mode.el (Info-find-node):
2011 * vc/ediff.el (Info-goto-node): Update declarations.
2012
dea01c6e
GM
2013 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2014
759880bf 2015 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2016 (vc-bzr-pull): Require vc-dispatcher.
2017 * vc/vc-git.el (vc-compilation-mode): Declare.
2018 (vc-git-pull): Require vc-dispatcher.
2019
08d66420
GM
2020 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2021
30b626e9
GM
2022 * progmodes/octave.el (help-button-action): Declare.
2023
8c05cb10
GM
2024 * shell.el (shell-directory-tracker): Output error as a message
2025 rather than just returning it as a string.
2026 (shell-process-pushd): Remove useless use of message.
2027
30213927
GM
2028 * dframe.el (dframe-timer-fn):
2029 * files.el (dir-locals-read-from-file):
2030 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2031 (mpc-format):
2032 * reveal.el (reveal-post-command):
2033 * saveplace.el (load-save-place-alist-from-file):
2034 * shell.el (shell-resync-dirs):
2035 * w32-common-fns.el (x-get-selection-value):
2036 * emacs-lisp/copyright.el (copyright-find-copyright):
2037 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2038 * emulation/tpu-edt.el (tpu-copy-keyfile):
2039 * play/bubbles.el (bubbles--mark-neighbourhood):
2040 * progmodes/executable.el
2041 (executable-make-buffer-file-executable-if-script-p):
2042 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2043
d3b049e6
SM
20442013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2045
170266d0
SM
2046 Cleanup Eshell to rely less on dynamic scoping.
2047 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2048 last-value, and ext-command here. Bind `args' closer to `body'.
2049 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2050 (eshell--args): Declare new dynamic var.
2051 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2052 last-value, and ext-command. Pass `args' to `body'.
2053 (eshell-process-args): Bind eshell--args.
2054 (eshell-set-option): Use eshell--args.
2055 * eshell/eshell.el (eshell): Use derived-mode-p.
2056 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2057 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2058 (eshell-glob-function): Declare.
2059 * eshell/esh-util.el: Require cl-lib.
2060 (eshell-read-hosts-file): Avoid add-to-list.
2061 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2062 `err'.
2063 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2064 Declare.
2065 (eshell/diff): Remove unused var `err'.
2066 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2067 `killflag'.
2068 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2069 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2070 first use.
2071 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2072 Move declaration before first use.
2073 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2074 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2075 rely on cl-return.
2076
56834f3b
GM
20772013-09-12 Glenn Morris <rgm@gnu.org>
2078
2079 * term/ns-win.el (global-map): Remove binding for ispell-next,
2080 deleted 1999-05-29. (Bug#15357)
2081
5c91a2b8
GM
20822013-09-11 Glenn Morris <rgm@gnu.org>
2083
da712f22
GM
2084 * echistory.el (electric-command-history): Remove call to deleted func.
2085
512e4cdc
GM
2086 * play/landmark.el (landmark-mode): Fix typos.
2087
d3506ca5
GM
2088 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2089 Check cvs-sort-ignore-file is bound.
2090
5c91a2b8
GM
2091 * savehist.el: No need for cl when compiling on Emacs.
2092
feeff482
SM
20932013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2094
656bd483
SM
2095 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2096 (bug#15338).
d3b049e6
SM
2097 (eshell-self-insert-command, eshell-send-invisible):
2098 Remove unused argument.
656bd483
SM
2099 (eshell-handle-control-codes): Remove unused var `orig'.
2100 Avoid delete-backward-char.
2101
feeff482
SM
2102 * files.el (set-auto-mode): Simplify a bit further.
2103
2a08047a
GM
21042013-09-11 Glenn Morris <rgm@gnu.org>
2105
2106 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2107 (set-auto-mode): Don't regexp-quote elements.
2108 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2109 * progmodes/cc-mode.el (interpreter-mode-alist):
2110 * progmodes/ruby-mode.el (interpreter-mode-alist):
2111 Revert previous change.
2112
34675540
SM
21132013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2114
1b3b87df
SM
2115 * play/snake.el (snake-mode):
2116 * play/mpuz.el (mpuz-mode):
2117 * play/landmark.el (lm-mode):
2118 * play/blackbox.el (blackbox-mode):
2119 * play/5x5.el (5x5-mode):
2120 * obsolete/options.el (Edit-options-mode):
2121 * net/quickurl.el (quickurl-list-mode):
2122 * net/newst-treeview.el (newsticker-treeview-mode):
2123 * mail/rmailsum.el (rmail-summary-mode):
2124 * mail/mspools.el (mspools-mode):
2125 * locate.el (locate-mode):
2126 * ibuffer.el (ibuffer-mode):
2127 * emulation/ws-mode.el (wordstar-mode):
2128 * emacs-lisp/debug.el (debugger-mode):
2129 * array.el (array-mode):
2130 * net/eudc.el (eudc-mode): Use define-derived-mode.
2131 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2132 Move initialization into declaration.
2133 (mairix-searches-mode): Use define-derived-mode.
2134 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2135 (eudc-edit-hotlist): Use dolist.
2136 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2137 (Man-mode): Use define-derived-mode.
2138 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2139 (Info-edit-mode): Use define-derived-mode.
2140 (Info-cease-edit): Use Info-mode.
2141 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2142 into declaration.
2143 (eshell-mode): Use define-derived-mode.
2144 * chistory.el (command-history-mode-map): Rename from
2145 command-history-map.
2146 (command-history-mode): Use define-derived-mode.
da712f22 2147 (Command-history-setup): Remove function.
1b3b87df
SM
2148 * calc/calc.el (calc-trail-mode-map): New var.
2149 (calc-trail-mode): Use define-derived-mode.
2150 (calc-trail-buffer): Set calc-main-buffer manually.
2151 * bookmark.el (bookmark-insert-annotation): New function.
2152 (bookmark-edit-annotation): Use it.
2153 (bookmark-edit-annotation-mode): Make it a proper major mode.
2154 (bookmark-send-edited-annotation): Use derived-mode-p.
2155 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2156 closer to its ideal place. Use \' to match EOS.
2157
34675540
SM
2158 * profiler.el (profiler-calltree-find): Use function-equal.
2159
6a5c15d9
GM
21602013-09-10 Glenn Morris <rgm@gnu.org>
2161
1af4c220
GM
2162 * files.el (interpreter-mode-alist): Convert to regexps.
2163 (set-auto-mode): Adapt for this. (Bug#15306)
2164 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2165 Comment out unused variable.
2166 * progmodes/cc-mode.el (interpreter-mode-alist):
2167 * progmodes/python.el (interpreter-mode-alist):
2168 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2169 * progmodes/sh-script.el (sh-set-shell):
2170 No longer use interpreter-mode-alist to get list of shells.
2171
6a5c15d9
GM
2172 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2173
8c27f5ff
SM
21742013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2175
02ef6c1a 2176 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2177 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2178 Bind switch-frame explicitly. Replace universal-argument-minus with
2179 a conditional binding.
2180 (universal-argument-num-events, saved-overriding-map): Remove.
2181 (restore-overriding-map): Remove.
2182 (universal-argument--mode): Rename from save&set-overriding-map,
2183 and rewrite.
2184 (universal-argument, universal-argument-more, negative-argument)
2185 (digit-argument): Adjust accordingly.
2186 (universal-argument-minus): Remove.
2187 (universal-argument-other-key): Remove.
2188
8c27f5ff
SM
2189 * subr.el (with-demoted-errors): Add `format' argument.
2190
6480194c
MA
21912013-09-10 Michael Albinus <michael.albinus@gmx.de>
2192
2193 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2194 `tramp-cleanup-connection'.
2195
2196 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2197 parameters KEEP-DEBUG and KEEP-PASSWORD.
2198
2199 * net/tramp.el (tramp-file-name-handler):
2200 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2201 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2202 (tramp-maybe-open-connection):
8c27f5ff
SM
2203 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2204 Use `tramp-cleanup-connection'.
6480194c 2205
8c27f5ff
SM
2206 * net/tramp-sh.el (tramp-maybe-open-connection):
2207 Catch 'uname-changed inside the progress reporter.
6480194c 2208
e5e916d8
GM
22092013-09-10 Glenn Morris <rgm@gnu.org>
2210
9a2c9b47
GM
2211 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2212
e5e916d8
GM
2213 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2214 returns "alternate access method" in mode (eg "-rw-r--r--.").
2215
144e38fe
GM
22162013-09-08 Glenn Morris <rgm@gnu.org>
2217
2218 * saveplace.el (load-save-place-alist-from-file):
2219 Demote errors. (Bug#15305)
2220
af9ff9e8
MA
22212013-09-08 Michael Albinus <michael.albinus@gmx.de>
2222
2223 Improve compatibility with older Emacsen, and XEmacs.
2224
2225 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2226 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2227 (with-tramp-progress-reporter): Do not let-bind `result'.
2228 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2229 (tramp-handle-make-auto-save-file-name): New function, moved from
2230 tramp-sh.el.
2231
2232 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2233 for `make-auto-save-file-name'.
8c27f5ff
SM
2234 (tramp-adb--gnu-switches-to-ash):
2235 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2236
2237 * net/tramp-cache.el (tramp-cache-print): Call
2238 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2239
2240 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2241 bound. It isn't for XEmacs.
2242
8c27f5ff
SM
2243 * net/tramp-compat.el (tramp-compat-copy-file):
2244 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2245 (tramp-compat-replace-regexp-in-string): New defun.
2246
2247 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2248 for `make-auto-save-file-name'.
2249 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2250 `copy-file'.
2251 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2252 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2253 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2254
8c27f5ff
SM
2255 * net/tramp-gw.el (tramp-gw-open-network-stream):
2256 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2257
8c27f5ff
SM
2258 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2259 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2260 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2261 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2262 (tramp-sh-file-inotifywait-process-filter):
2263 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2264 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2265
2266 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2267 for `make-auto-save-file-name'.
8c27f5ff
SM
2268 (tramp-smb-handle-copy-directory):
2269 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2270 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2271 (tramp-smb-handle-copy-file): Improve error message.
2272 (tramp-smb-handle-rename-file): Rename directly only in case
2273 `newname' does not exist yet. This is a restriction of smbclient.
2274 (tramp-smb-maybe-open-connection): Rerun the function only when
2275 `auth-sources' is non-nil.
2276
0ca754d0
KH
22772013-09-08 Kenichi Handa <handa@gnu.org>
2278
2279 * international/characters.el: Set category "^" (Combining) for
2280 more characters.
2281
e8dd0787
AM
22822013-09-07 Alan Mackenzie <acm@muc.de>
2283
2284 Correctly fontify Java class constructors.
2285 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2286 in Java Mode.
2287 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2288 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2289 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2290 "typeless" declaration there.
2291
f2f248e7
RW
22922013-09-07 Roland Winkler <winkler@gnu.org>
2293
2294 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2295 field subtitle for entry type book.
2296
67982e2b
SM
22972013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * minibuffer.el: Make minibuffer-complete call completion-in-region
2300 rather than other way around.
2301 (completion--some, completion-pcm--find-all-completions):
2302 Don't delay signals when debugging.
2303 (minibuffer-completion-contents): Beware fields within the
2304 minibuffer contents.
2305 (completion-all-sorted-completions): Use defvar-local.
2306 (completion--do-completion, completion--cache-all-sorted-completions)
2307 (completion-all-sorted-completions, minibuffer-force-complete):
2308 Add args `beg' and `end'.
2309 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2310 (minibuffer-complete): Use completion-in-region.
2311 (completion-complete-and-exit): New fun, extracted from
2312 minibuffer-complete-and-exit.
2313 (minibuffer-complete-and-exit): Use it.
2314 (completion--complete-and-exit): Rename from
2315 minibuffer--complete-and-exit.
2316 (completion-in-region--single-word): New function, extracted from
2317 minibuffer-complete-word.
2318 (minibuffer-complete-word): Use it.
2319 (display-completion-list): Make `common-substring' argument obsolete.
2320 (completion--in-region): Call completion--in-region-1 instead of
2321 minibuffer-complete.
2322 (completion-help-at-point): Pass boundaries to
2323 minibuffer-completion-help as args rather than via an overlay.
2324 (completion-pcm--string->pattern): Use `any-delim'.
2325 (completion-pcm--optimize-pattern): New function.
2326 (completion-pcm--pattern->regex): Handle `any-delim'.
2327 * icomplete.el (icomplete-forward-completions)
2328 (icomplete-backward-completions, icomplete-completions):
2329 Adjust calls to completion-all-sorted-completions and
2330 completion--cache-all-sorted-completions.
2331 (icomplete-with-completion-tables): Default to t.
2332 * emacs-lisp/crm.el (crm--current-element): Rename from
2333 crm--select-current-element. Don't put an overlay but return the
2334 boundaries instead.
2335 (crm--completion-command): Take two new args to bind to the boundaries.
2336 (crm-completion-help): Adjust accordingly.
2337 (crm-complete): Use completion-in-region.
2338 (crm-complete-word): Use completion-in-region--single-word.
2339 (crm-complete-and-exit): Use completion-complete-and-exit.
2340
e17d94a5
SM
23412013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2344 than dynamically.
2345
96727100
JL
23462013-09-06 Juri Linkov <juri@jurta.org>
2347
2348 * info.el (Info-display-images-node): When image file doesn't exist
2349 display text version of the image if it's provided in the Info file.
2350 Otherwise, display the location of missing image from SRC attribute.
2351 Add help-echo text property from ALT attribute. (Bug#15279)
2352
86cf7329
SM
23532013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2356 (edit-abbrevs-mode): Use define-derived-mode.
2357
2358 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2359 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2360 that it's defined.
2361 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2362 Use define-derived-mode.
2363
2364 * epg.el (epg-start-encrypt): Minor CSE simplification.
2365
816244a2
WX
23662013-09-06 William Xu <william.xwl@gmail.com>
2367
2368 * arc-mode.el: Add support for 7za (bug#15264).
2369 (archive-7z-program): New var.
2370 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2371 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2372 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2373
1486fa31
MA
23742013-09-06 Michael Albinus <michael.albinus@gmx.de>
2375
2376 Remove URL syntax.
2377
2378 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2379 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2380 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2381 (tramp-postfix-host-format, tramp-file-name-regexp)
2382 (tramp-completion-file-name-regexp)
2383 (tramp-completion-dissect-file-name)
2384 (tramp-handle-substitute-in-file-name): Remove 'url case.
2385 (tramp-file-name-regexp-url)
2386 (tramp-completion-file-name-regexp-url): Remove constants.
2387
39785324
GM
23882013-09-06 Glenn Morris <rgm@gnu.org>
2389
2390 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2391
1f896cb7
DG
23922013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2393
2394 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2395 keywords" below "here-doc beginnings" (Bug#15270).
2396
c0458e0b
SM
23972013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * subr.el (pop): Use `car-safe'.
2400 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2401 to detect unused `pop' return value.
2402
2403 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2404 var `block-regexp'.
2405 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2406 (python-fill-string): Remove unused var `marker'.
2407 (python-skeleton-add-menu-items): Remove unused var `items'.
2408
2409 * international/mule-cmds.el: Require CL.
2410 (find-coding-systems-for-charsets): Avoid add-to-list.
2411 (sanitize-coding-system-list): New function, extracted from
2412 select-safe-coding-system-interactively.
2413 (select-safe-coding-system-interactively): Use it.
2414 (read-input-method-name): Accept symbols for `default'.
2415
2416 * emacs-lisp/advice.el (defadvice): Add indent rule.
2417
6c42fc3e
DH
24182013-09-05 Daniel Hackney <dan@haxney.org>
2419
2420 * dired-x.el:
2421 * net/ange-ftp.el:
2422 * net/browse-url.el:
2423 * net/dbus.el:
2424 * net/eudc.el:
2425 * net/eudcb-ldap.el:
2426 * net/eww.el:
2427 * net/imap.el:
2428 * printing.el:
2429 * vc/ediff-diff.el:
2430 * vc/ediff-init.el:
2431 * vc/ediff-merg.el:
2432 * vc/ediff-mult.el:
2433 * vc/ediff-util.el:
2434 * vc/ediff-wind.el:
2435 * vc/ediff.el:
2436 * vc/emerge.el:
2437 * vc/pcvs.el:
2438 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2439 byte compiler. Remove some unused let-bound variables.
2440
4c528aab
SM
24412013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2444 a "ref-cell", since it gets better optimized (bug#14883).
2445
bd15c390
GM
24462013-09-05 Glenn Morris <rgm@gnu.org>
2447
2448 * progmodes/cc-awk.el (c-forward-sws): Declare.
2449
1c3ac2e5
GM
24502013-09-04 Glenn Morris <rgm@gnu.org>
2451
2452 * generic-x.el [rul-generic-mode]: Require cc-mode.
2453 (c++-mode-syntax-table): Declare.
2454 (rul-generic-mode-syntax-table): Init in the defvar.
2455
52b1cc79
SM
24562013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2457
c828af56
SM
2458 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2459 (vc-do-command, vc-set-async-update):
2460 * vc/vc-mtn.el (vc-mtn-dir-status):
2461 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2462 (vc-hg-pull, vc-hg-merge-branch):
2463 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2464 (vc-git-merge-branch):
2465 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2466 (vc-cvs-dir-status-files):
2467 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2468 (vc-bzr-dir-status-files):
2469 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2470 * vc/vc-annotate.el: Use lexical-binding.
2471 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2472 (vc-sentinel-movepoint): Declare.
2473 (vc-annotate): Don't use `goto-line'.
2474 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2475 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2476 (vc-sentinel-movepoint): Declare.
2477 * vc/vc-svn.el: Use lexical-binding.
2478 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2479 * vc/vc-sccs.el:
2480 * vc/vc-rcs.el: Use lexical-binding.
2481
abae272c
SM
2482 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2483 `deleted'. Don't drop errors silently.
2484
52b1cc79
SM
2485 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2486
63191d9f
XF
24872013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2488
2489 * vc/vc.el (vc-ignore): Rewrite.
2490 (vc-default-ignore): New function.
2491 (vc-default-ignore-completion-table): Use find-ignore-file.
2492
2493 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2494 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2495 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2496 Remove. Most code moved to vc.el.
2497
9d3f707c
SM
24982013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2499
abae272c 2500 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2501 * net/tramp-smb.el (tramp-smb-get-file-entries):
2502 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2503 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2504
fde38d49
SM
2505 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2506 Update call to it.
2507 (eww-change-select): Remove unused var `properties'.
2508 (eww-make-unique-file-name): Remove unused var `base'.
2509
2510 * finder.el (finder-compile-keywords): Don't mess with windows.
2511
84032db7
SM
2512 * calculator.el (calculator-funcall): Fix typo in last change.
2513
724f5e41
SM
2514 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2515
14b511d4
SM
2516 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2517 <pkg>-autoloads.el file stop us.
2518
9d3f707c 2519 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2520 warnings, and factor out common code.
9d3f707c 2521
88527bc0
DG
25222013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2523
2524 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2525 two-character operators and whether the character preceding them
2526 changes their meaning (Bug#15208).
2527
96edb677
FEG
25282013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2529
2530 Format code sent to Python shell for robustness.
9d3f707c
SM
2531 * progmodes/python.el (python-shell-buffer-substring):
2532 New function.
96edb677
FEG
2533 (python-shell-send-region, python-shell-send-buffer): Use it.
2534
95beaef3
MA
25352013-09-02 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2538 * net/tramp.el (tramp-user-error): ... here.
2539 (tramp-find-method, tramp-check-proper-host)
2540 (tramp-dissect-file-name, tramp-debug-message)
2541 (tramp-handle-shell-command):
2542 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2543 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2544
2545 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2546
f167c27b
MR
25472013-09-02 Martin Rudalics <rudalics@gmx.at>
2548
2549 * avoid.el (mouse-avoidance-point-position)
2550 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2551 returns nil.
2552
cd16c5f1
FEG
25532013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2554
2555 * progmodes/python.el (python-shell-completion-get-completions):
2556 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2557 (python-nav-if-name-main): New command.
cd16c5f1 2558
e73c3a0d
GM
25592013-09-01 Glenn Morris <rgm@gnu.org>
2560
f8ccce03
GM
2561 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2562 Avoid leading space in $wins. Otherwise the sed command used by
2563 eg compile-main ends up containing "/*.el". (Bug#15170)
2564
e73c3a0d
GM
2565 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2566
415f808e
GM
25672013-08-30 Glenn Morris <rgm@gnu.org>
2568
2569 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2570 Fix is-this-a-directory logic. (Bug#15220)
2571
f069bba8
SM
25722013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2573
112798c1
SM
2574 * textmodes/css-mode.el: Use SMIE.
2575 (css-smie-grammar): New var.
2576 (css-smie--forward-token, css-smie--backward-token)
2577 (css-smie-rules): New functions.
2578 (css-mode): Use them.
2579 (css-navigation-syntax-table): Remove var.
2580 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2581 (css-indent-calculate, css-indent-line): Remove functions.
2582
2583 Misc changes to reduce use of `(lambda...); and other cleanups.
2584 * cus-edit.el: Use lexical-binding.
2585 (customize-push-and-save, customize-apropos)
2586 (custom-buffer-create-internal): Use closures.
2587 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2588 * progmodes/ada-xref.el: Use setq.
2589 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2590 * dframe.el: Use lexical-binding.
2591 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2592 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2593 * descr-text.el: Use lexical-binding.
2594 (describe-text-widget, describe-text-sexp, describe-property-list):
2595 Use closures.
2596 * comint.el (comint-history-isearch-push-state): Use a closure.
2597 * calculator.el: Use lexical-binding.
2598 (calculator-number-to-string): Make it work with lexical-binding.
2599 (calculator-funcall): Same and use cl-letf.
2600
2da4c3ab
SM
2601 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2602 (lisp--company-doc-string, lisp--company-location): New functions.
2603 (lisp-completion-at-point): Use them to improve Company support.
2604
f069bba8
SM
2605 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2606 params of lambda expressions.
2607 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2608 (ruby-smie--opening-pipe-p): New function.
2609 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2610 symbols and matched |...| for formal params.
2611 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2612 from being treated as hanging. Handle "rescue".
2613
6758b6a8
GM
26142013-08-29 Glenn Morris <rgm@gnu.org>
2615
2616 * progmodes/cc-engine.el (c-pull-open-brace):
2617 Move definition before use.
2618
e8dfd197
SM
26192013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2622 are immutable. Don't use `unsafe' any more.
2623 (cl--defsubst-expand): Don't substitute at the same time as keeping
2624 a residual unused let-binding. Don't use `unsafe' any more.
2625
cc585c96
GM
26262013-08-29 Glenn Morris <rgm@gnu.org>
2627
ba579ea6
GM
2628 * calendar/cal-china.el (calendar-chinese-year-cache):
2629 Recenter on 2015.
2630
8201a87e
GM
2631 * nxml/nxml-util.el (nxml-debug-clear-inside):
2632 Use cl-loop rather than loop.
2633
6ee877c7
GM
2634 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2635
cc585c96
GM
2636 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2637
27be8d39
GM
26382013-08-28 Glenn Morris <rgm@gnu.org>
2639
397440a1
GM
2640 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2641
2bb762d4
GM
2642 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2643
27be8d39
GM
2644 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2645
2d69b99e
SM
26462013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2647
f663baa7
SM
2648 * simple.el (repeat-complex-command--called-interactively-skip):
2649 New function.
2650 (repeat-complex-command): Use it (bug#14136).
2651
dd4f8b74
SM
2652 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2653 (c-define-abbrev-table): Add `doc' argument.
2654 (c-mode-abbrev-table, c++-mode-abbrev-table)
2655 (objc-mode-abbrev-table, java-mode-abbrev-table)
2656 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2657 (awk-mode-abbrev-table): Use it.
2658 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2659 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2660 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2661 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2662 Move initialization into the declaration; and remove any
2663 autoload cookie.
2664
b58969f7
SM
2665 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2666 and dynamic let binding.
2667
4021d6a6
SM
2668 * vc/smerge-mode.el: Remove redundant :group args.
2669
2d69b99e
SM
2670 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2671 to load-path.
2672
274919fd
JL
26732013-08-28 Juri Linkov <juri@jurta.org>
2674
2675 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2676 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2677 (isearch-other-meta-char): Handle an undefined shifted printing
2678 character by downshifting it. (Bug#15200)
2679
121f8c95
JL
26802013-08-28 Juri Linkov <juri@jurta.org>
2681
2682 * isearch.el (isearch-search): Change regexp error message for
2683 non-regexp searches. (Bug#15166)
2684
50b13cde
PE
26852013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2686
2687 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2688 for portability to hosts where /bin/sh has problems.
2689
95888bca
SM
26902013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2693
bbe558f1
JL
26942013-08-27 Juri Linkov <juri@jurta.org>
2695
2696 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2697 in the keyboard macro. (Bug#15126)
2698
26f98a7d
JL
26992013-08-27 Juri Linkov <juri@jurta.org>
2700
2701 * isearch.el (isearch-quote-char): Comment out converting unibyte
2702 to multibyte, thus syncing with its `quoted-insert' counterpart.
2703 (Bug#15166)
2704
7c97d35e
MR
27052013-08-27 Martin Rudalics <rudalics@gmx.at>
2706
2707 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2708 argument in call of get-largest-window (Bug#15185).
2709 Reported by Stephen Leake.
7c97d35e 2710
a0b5606e 27112013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2712
2713 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2714
9e89d835
SM
27152013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2716
2717 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2718 from a matcher-function unless there's no more matches (bug#15161).
2719
78fc2530
MA
27202013-08-26 Michael Albinus <michael.albinus@gmx.de>
2721
2722 * minibuffer.el: Revert change from 2013-08-20.
2723
2724 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2725 with text property `tramp-default', if appropriate.
2726 (tramp-check-proper-host): New defun.
2727 (tramp-dissect-file-name): Do not check hostname. Revert change
2728 of 2013-03-18.
2729 (tramp-backtrace): Make VEC-OR-PROC optional.
2730
2731 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2732 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2733 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2734 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2735 Apply `tramp-check-proper-host'.
78fc2530 2736
edca97cd
TH
27372013-08-26 Tassilo Horn <tsdh@gnu.org>
2738
2739 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2740 lambda expression in order to have `describe-variable' display it.
2741
df54bcbd
MA
27422013-08-26 Michael Albinus <michael.albinus@gmx.de>
2743
2744 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2745 BUF can be optional. (Bug#15186)
2746
eed99101
XF
27472013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2748
2749 * progmodes/flymake.el (flymake-get-real-file-name-function):
2750 Fix broken customization. (Bug#15184)
2751
b5eb9035
AM
27522013-08-25 Alan Mackenzie <acm@muc.de>
2753
8a51e842
AM
2754 Improve indentation of bracelists defined by macros (without "=").
2755
2756 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2757 expansion begins with "{", regard it as bracelist when it doesn't
2758 contain a ";".
2759
869455d4
AM
2760 Parse C++ inher-intro when there's a template split over 2 lines.
2761
2762 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2763 rigorously the search for "class" etc. followed by ":".
2764
2765 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2766 random languages a regexp which never matches rather than nil.
2767
b5eb9035
AM
2768 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2769
2770 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2771 (c-awk-regexp-one-line-possibly-open-char-list-re)
2772 (c-awk-one-line-possibly-open-regexp-re)
2773 (c-awk-one-line-non-syn-ws*-re): Remove.
2774 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2775 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2776 (c-awk-space*-unclosed-regexp-/-re): New constants.
2777 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2778 aren't regexp delimiters.
2779
2780 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2781 handling for a rare situation in AWK Mode involving unterminated
2782 strings/regexps.
2783
61611d54
GM
27842013-08-23 Glenn Morris <rgm@gnu.org>
2785
2d85dc34
GM
2786 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2787
cb8d2612
GM
2788 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2789
bb35f42f
GM
2790 * files.el (create-file-buffer): If the result would begin with
2791 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2792
b9808e77
SM
27932013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2794
e3a66363
SM
2795 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2796 text-properties (bug#15155).
2797
b9808e77
SM
2798 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2799 exist any more.
2800 (calc-keypad-redraw): Remove unused var `pad'.
2801 (calc-keypad-press): Remove unused var `menu'.
2802
7fd5f65e
MR
28032013-08-23 Martin Rudalics <rudalics@gmx.at>
2804
b9808e77
SM
2805 * window.el (display-buffer-pop-up-frame):
2806 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2807 use it as the new frame's buffer (Bug#15133).
2808
8352b530
SM
28092013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * calendar/timeclock.el: Minor cleanups.
2812 (timeclock-ask-before-exiting, timeclock-use-display-time):
2813 Use `symbol'.
2814 (timeclock-modeline-display): Define as alias before the
2815 actual definition.
2816 (timeclock-mode-line-display): Use define-minor-mode.
2817 (timeclock-day-list-template): Make it a function, add an argument.
2818 (timeclock-day-list-required, timeclock-day-list-length)
2819 (timeclock-day-list-debt, timeclock-day-list-span)
2820 (timeclock-day-list-break): Adjust calls accordingly.
2821
9f7b1925
SM
28222013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2823
2824 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2825 Use read--expression so that completion works again.
2826
6e50e983
SS
28272013-08-21 Sam Steingold <sds@gnu.org>
2828
2829 Add rudimentary inferior shell interaction
2830 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2831 (sh-set-shell): Reset it.
9f7b1925
SM
2832 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2833 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2834
dbb0d350
SM
28352013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * align.el: Use lexical-binding.
2838 (align-region): Simplify accordingly.
2839
c88586a9
MA
28402013-08-20 Michael Albinus <michael.albinus@gmx.de>
2841
2842 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2843
2844 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2845 `non-essential' up.
2846
f95527c8
MA
28472013-08-17 Michael Albinus <michael.albinus@gmx.de>
2848
2849 * net/tramp.el:
2850 * net/tramp-adb.el:
2851 * net/tramp-cmds.el:
2852 * net/tramp-ftp.el:
2853 * net/tramp-gvfs.el:
2854 * net/tramp-gw.el:
2855 * net/tramp-sh.el: Don't wrap external variable declarations by
2856 `eval-when-compile'.
2857
4b5fe4ee
LMI
28582013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2859
2860 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2861 now that Emacs supports ImageMagick animations.
2862
13c366c9
MA
28632013-08-16 Michael Albinus <michael.albinus@gmx.de>
2864
2865 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2866 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2867
3dfc5cd6
MR
28682013-08-16 Martin Rudalics <rudalics@gmx.at>
2869
2870 * window.el (mouse-autoselect-window-select): Do autoselect when
2871 mouse pointer is on margin.
2872
4bbb4381
WP
28732013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2874
2875 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2876
3a2ddc2d
GM
28772013-08-16 Glenn Morris <rgm@gnu.org>
2878
e8bedf5a
GM
2879 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2880 Handle "Remote Directory" response of some clients. (Bug#15058)
2881
58c4682f
GM
2882 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2883 Tweak warning. (Bug#14926)
2884
57953f49
GM
2885 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2886 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2887
3a2ddc2d
GM
2888 * image-mode.el (image-mode-map): Add menu items to reverse,
2889 increase, decrease, reset animation speed.
2890 (image--set-speed, image-increase-speed, image-decrease-speed)
2891 (image-reverse-speed, image-reset-speed): New functions.
2892 (image-mode-map): Add bindings for speed commands.
2893
2894 * image.el (image-animate-get-speed, image-animate-set-speed):
2895 New functions.
2896 (image-animate-timeout): Respect image :speed property.
2897
10fa0ed3
SM
28982013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2901 previous line (bug#15101).
2902 (debugger-eval-expression, debugger-record-expression):
2903 Use read--expression (bug#15102).
2904
5d89d9d2
MA
29052013-08-15 Michael Albinus <michael.albinus@gmx.de>
2906
2907 Remove byte compiler warnings, visible when compiling with
2908 `byte-compile-force-lexical-warnings' set to t.
2909
2910 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2911 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2912 (tramp-handle-unhandled-file-name-directory)
2913 (tramp-handle-file-notify-add-watch, tramp-action-login)
2914 (tramp-action-succeed, tramp-action-permission-denied)
2915 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2916 arguments with "_".
2917
2918 * net/tramp-adb.el (tramp-adb-parse-device-names)
2919 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2920 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2921 (tramp-adb-handle-file-truename): Remove unused arguments.
2922
2923 * net/tramp-cache.el (tramp-flush-directory-property)
2924 (tramp-flush-connection-property, tramp-list-connections)
2925 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2926
10fa0ed3
SM
2927 * net/tramp-compat.el (tramp-compat-make-temp-file):
2928 Rename FILENAME to F.
5d89d9d2
MA
2929
2930 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2931 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2932 (tramp-zeroconf-parse-workstation-device-names)
2933 (tramp-zeroconf-parse-webdav-device-names)
2934 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2935
2936 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2937 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2938
2939 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2940 arguments.
2941 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2942 (tramp-sh-handle-insert-file-contents-literally)
2943 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2944 with "_".
2945 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2946 Remove unused variables.
2947
2948 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2949 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2950 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2951
2952 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2953 Make them a defconst.
2954 (tramp-uuencode-region): Remove unused variable.
2955
62f33bae
JB
29562013-08-14 Juanma Barranquero <lekktu@gmail.com>
2957
2958 * frameset.el (frameset--prop-setter): New function.
2959 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2960 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2961 parameter was already set in FILTERED. Doc fix.
2962 (frameset--record-minibuffer-relationships): Allow saving a
2963 minibufferless frame without its corresponding minibuffer frame.
2964 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2965 frame, if the frame id matches.
2966 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2967 frames before orphaned ones.
2968 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2969
c660a885
MR
29702013-08-14 Martin Rudalics <rudalics@gmx.at>
2971
2972 * window.el (window-make-atom): Don't overwrite parameter
2973 already present.
2974 (display-buffer-in-atom-window): Handle special case where we
2975 split an already atomic window.
2976 (window--major-non-side-window, display-buffer-in-side-window)
2977 (window--side-check): Ignore minibuffer window when walking
2978 window tree.
2979 (window-deletable-p): Return 'frame only if no other frame uses
2980 our minibuffer window.
2981 (record-window-buffer): Run buffer-list-update-hook.
2982 (split-window): Make sure window--check-frame won't destroy an
2983 existing atomic window in case the new window gets nested
2984 inside.
2985 (display-buffer-at-bottom): Ignore minibuffer window when
2986 walking window tree. Don't split a side window.
2987 (pop-to-buffer): Don't set-buffer here, the select-window call
2988 should do that.
2989 (mouse-autoselect-window-select): Autoselect only if we are in the
2990 text portion of the window.
2991
8259030d
LMI
29922013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2993
21c58ae2
LMI
2994 * net/shr.el (shr-parse-image-data): New function to grab both the
2995 data itself and the Content-Type.
2996 (shr-put-image): Use it.
2997
2998 * net/eww.el (eww-display-image): Ditto.
2999
8259030d
LMI
3000 * image.el (image-content-type-suffixes): New variable.
3001
ad756449
FEG
30022013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3003
3004 * progmodes/python.el (python-imenu--build-tree)
3005 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3006
f73f4ce6
XF
30072013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3008
3009 * simple.el (backward-word): Mention the optional argument.
3010
1f585e65
SM
30112013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * frameset.el (frameset--make): Rename constructor from make-frameset.
3014 (frameset-p, frameset-valid-p): Don't autoload.
3015 (frameset-valid-p): Use normal accessors.
3016
af1c6c84
GM
30172013-08-13 Glenn Morris <rgm@gnu.org>
3018
55e47f95
GM
3019 * progmodes/compile.el (compile-command): Tweak example in doc.
3020 * obsolete/scribe.el (scribe-mode):
3021 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3022
f0024d8c
GM
3023 * mail/feedmail.el (feedmail-confirm-outgoing)
3024 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3025
3026 * cus-start.el (truncate-partial-width-windows): Fix type.
3027
3028 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3029
af1c6c84
GM
3030 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3031
5514cc4c
SM
30322013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * emacs-lisp/timer.el (timer--time-setter): New function.
3035 (timer--time): Use it as gv-setter.
3036
3037 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3038 setter is not a symbol.
3039
7997a2f1
GJ
30402013-08-12 Grégoire Jadi <daimrod@gmail.com>
3041
3042 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3043 if sending fails. This makes debugging easier.
3044
01f1a9ab
JB
30452013-08-12 Juanma Barranquero <lekktu@gmail.com>
3046
3047 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3048 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3049 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3050
594a4307
EZ
30512013-08-12 Eli Zaretskii <eliz@gnu.org>
3052
3053 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3054
7a22490f 30552013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3056
3057 * format.el (format-annotate-function):
3058 Handle read-only text properties in the source. (Bug#14887)
3059
3e41a054
LMI
30602013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3061
5514cc4c
SM
3062 * net/eww.el (eww-display-html): Ignore coding system errors.
3063 One web site uses "utf-8lias" as the coding system.
3e41a054 3064
7ec326db
JB
30652013-08-11 Juanma Barranquero <lekktu@gmail.com>
3066
3067 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3068
5660113b
JB
30692013-08-10 Juanma Barranquero <lekktu@gmail.com>
3070
9a4ebc74
JB
3071 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3072 (tutorial--detailed-help): Remove unused local variables.
3073 (tutorial--save-tutorial-to): Use ignore-errors.
3074 (help-with-tutorial): Use looking-at-p.
3075
3076 * view.el (view-buffer-other-window, view-buffer-other-frame):
3077 Mark unused arguments.
3078
3079 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3080 (woman-select-symbol-fonts, woman, woman-find-file)
3081 (woman-insert-file-contents, woman-non-underline-faces):
3082 Use string-match-p.
3083 (woman1-unquote): Move declaration.
3084
3085 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3086 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3087 argument. Remove unused local variable.
3088 (xml-parse-elem-type): Use string-match-p.
3089 (xml-substitute-numeric-entities): Use ignore-errors.
3090
45fdb482
JB
3091 * calculator.el (calculator): Mark unused argument.
3092 (calculator-paste, calculator-quit, calculator-integer-p):
3093 Use ignore-errors.
3094 (calculator-string-to-number, calculator-decimal, calculator-exp)
3095 (calculator-op-or-exp): Use string-match-p.
3096
3097 * dired.el (dired-buffer-more-recently-used-p): Declare.
3098 (dired-insert-set-properties, dired-insert-old-subdirs):
3099 Use ignore-errors.
3100
3101 * dired-aux.el (dired-compress): Use ignore-errors.
3102 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3103 (dired-do-async-shell-command, dired-do-shell-command)
3104 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3105 (dired-insert-subdir-validate): Use string-match-p.
3106 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3107 (dired-add-entry): Use string-match-p, looking-at-p.
3108 (dired-insert-subdir-newpos): Remove unused local variable.
3109
3110 * filenotify.el (file-notify-callback): Remove unused local variable.
3111
3112 * filesets.el (filesets-error): Mark unused argument.
3113 (filesets-which-command-p, filesets-filter-dir-names)
3114 (filesets-directory-files, filesets-get-external-viewer)
3115 (filesets-ingroup-get-data): Use string-match-p.
3116
3117 * find-file.el (ff-other-file-name, ff-other-file-name)
3118 (ff-find-the-other-file, ff-cc-hh-converter):
3119 Remove unused local variables.
3120 (ff-get-file-name): Use string-match-p.
3121 (ff-all-dirs-under): Use ignore-errors.
3122
3123 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3124 (follow-select-if-visible): Remove unused local variable.
3125
3126 * forms.el (read-file-filter): Move declaration.
3127 (forms--make-format, forms--make-parser, forms-insert-record):
3128 Quote function with #'.
3129 (forms--update): Use string-match-p. Quote function with #'.
3130
3131 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3132 (help-make-xrefs): Use looking-at-p.
3133 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3134
3135 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3136 (ibuffer-confirm-operation-on): Use string-match-p.
3137
3138 * msb.el (msb-item-handler, msb-dired-item-handler):
3139 Mark unused arguments.
3140
3141 * ses.el (ses-decode-cell-symbol)
3142 (ses-kill-override): Remove unused local variable.
3143 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3144 (ses-load): Use ignore-errors, looking-at-p.
3145 (ses-jump-safe): Use ignore-errors.
3146 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3147
3148 * tabify.el (untabify, tabify): Mark unused arguments.
3149
3150 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3151 Mark unused argument.
3152 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3153 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3154
c880af52
JB
3155 * emacs-lisp/timer.el (timer--time): Define setter with
3156 gv-define-setter to avoid deprecation warning.
3157
5660113b 3158 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3159 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3160 (cmpl-statistics-block): Remove (body was commented out).
3161 All callers changed.
3162 (add-completions-from-buffer, load-completions-from-file):
3163 Remove unused variables.
3164
156aab80
JB
31652013-08-09 Juanma Barranquero <lekktu@gmail.com>
3166
5c5dee78
JB
3167 * filecache.el (file-cache-delete-file-list):
3168 Print message only when told so.
3169 (file-cache-files-matching): Use #' in mapconcat argument.
3170
156aab80
JB
3171 * ffap.el (ffap-url-at-point): Fix reference to variable
3172 thing-at-point-default-mail-uri-scheme.
3173
ad9dcd70
SM
31742013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3175
54bd972f
SM
3176 * subr.el (define-error): New function.
3177 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3178 error-file-not-found and define with define-error.
3179 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3180 and define with define-error.
3181 * userlock.el (file-locked, file-supersession):
3182 * simple.el (mark-inactive):
3183 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3184 * progmodes/ada-mode.el (ada-mode-errors):
3185 * play/life.el (life-extinct):
3186 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3187 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3188 * nxml/rng-util.el (rng-error):
3189 * nxml/rng-uri.el (rng-uri-error):
3190 * nxml/rng-match.el (rng-compile-error):
3191 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3192 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3193 * nxml/nxml-rap.el (nxml-scan-error):
3194 * nxml/nxml-outln.el (nxml-outline-error):
3195 * net/soap-client.el (soap-error):
3196 * net/gnutls.el (gnutls-error):
3197 * net/ange-ftp.el (ftp-error):
3198 * mpc.el (mpc-proc-error):
3199 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3200 (json-number-format, json-string-escape, json-string-format)
3201 (json-key-format, json-object-format):
3202 * jka-compr.el (compression-error):
3203 * international/quail.el (quail-error):
3204 * international/kkc.el (kkc-error):
3205 * emacs-lisp/ert.el (ert-test-failed):
3206 * calc/calc.el (calc-error, inexact-result, math-overflow)
3207 (math-underflow):
3208 * bookmark.el (bookmark-error-no-filename):
3209 * epg.el (epg-error): Define with define-error.
3210
0ea9e53a
SM
3211 * time.el (display-time-event-handler)
3212 (display-time-next-load-average): Don't call sit-for since it seems
3213 unnecessary (bug#15045).
3214
b0429158
SM
3215 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3216 Use #' instead of ' to quote functions.
3217 (checkdoc-output-mode): Use setq-local.
3218 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3219 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3220 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3221 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3222 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3223 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3224 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3225 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3226
ad9dcd70
SM
3227 * ido.el (ido-completion-help): Fix up compiler warning.
3228
77187e6f
JB
32292013-08-09 Juanma Barranquero <lekktu@gmail.com>
3230
3231 * frameset.el (frameset-p): Add autoload cookie.
3232 (frameset--jump-to-register): New function, based on code moved from
3233 register.el.
3234 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3235
3236 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3237 (frameset-restore, frameset-save, frameset-session-filter-alist):
3238 Remove declarations.
3239 (register-alist): Doc fix.
3240 (frameset-to-register): Move to frameset.el.
3241 (jump-to-register, describe-register-1): Remove frameset-specific code.
3242
9d3aa82c
JB
32432013-08-08 Juanma Barranquero <lekktu@gmail.com>
3244
3245 * allout-widgets.el (allout-widgets-pre-command-business)
3246 (allout-widgets-post-command-business)
3247 (allout-widgets-after-change-handler)
3248 (allout-decorate-item-and-context, allout-set-boundary-marker)
3249 (allout-body-modification-handler)
3250 (allout-graphics-modification-handler): Mark ignored arguments.
3251 (allout-widgets-post-command-business)
3252 (allout-widgets-exposure-change-processor)
3253 (allout-widgets-exposure-undo-processor)
3254 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3255 (allout-parse-item-at-point, allout-decorate-item-guides)
3256 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3257 * allout.el (epa-passphrase-callback-function): Declare.
3258 (allout-overlay-insert-in-front-handler)
3259 (allout-overlay-interior-modification-handler)
3260 (allout-isearch-end-handler, allout-chart-siblings)
3261 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3262 (allout-yank-processing, allout-process-exposed)
3263 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3264 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3265 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3266 (lisp-indent-defform): Mark ignored arguments.
3267 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3268 (calculate-lisp-indent): Remove unused variables.
3269 * international/characters.el (indian-2-column, arabic-2-column)
3270 (tibetan): Mark ignored arguments.
3271 (use-cjk-char-width-table): Mark ignored arguments.
3272 Remove unused variables.
3273 * international/fontset.el (build-default-fontset-data)
3274 (x-compose-font-name, create-fontset-from-fontset-spec):
3275 Mark ignored arguments.
3276 (fontset-plain-name): Remove unused variables.
3277 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3278 (keyboard-coding-system): Mark ignored arguments.
3279 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3280 * help.el (resize-temp-buffer-window):
3281 * window.el (display-buffer-in-major-side-window)
3282 (display-buffer-in-side-window, display-buffer-in-previous-window):
3283 Remove unused variables.
3284 * isearch.el (isearch-forward-symbol):
3285 * version.el (emacs-bzr-version-bzr):
3286 * international/mule-cmds.el (current-language-environment):
3287 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3288 (x-handle-display):
3289 * term/pc-win.el (x-list-fonts, x-display-planes)
3290 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3291 (x-server-version, x-display-screens, x-display-mm-height)
3292 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3293 (x-selection-owner-p, x-own-selection-internal)
3294 (x-disown-selection-internal, x-get-selection-internal)
3295 (msdos-initialize-window-system):
3296 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3297 * term/x-win.el (x-handle-no-bitmap-icon):
3298 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3299 (vc-default-find-file-hook, vc-default-extra-menu):
3300 Mark ignored arguments.
3301
0ca3f70e
SM
33022013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3305 break-condition in the context of the debugged code (bug#12685).
3306
74c5d24c
CS
33072013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3308
3309 * comint.el:
3310 Do not use an overlay to highlight the last prompt. (Bug#14744)
3311 (comint-mode): Make comint-last-prompt buffer local.
3312 (comint-last-prompt): New variable.
3313 (comint-last-prompt-overlay): Remove. Superseded by
3314 comint-last-prompt.
0ca3f70e
SM
3315 (comint-snapshot-last-prompt, comint-output-filter):
3316 Use comint-last-prompt.
74c5d24c 3317
c03c02ee
JB
33182013-08-08 Juanma Barranquero <lekktu@gmail.com>
3319
a3738d20 3320 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3321 (frameset-save): Check validity of the resulting frameset.
3322
04263d23
XF
33232013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3324
3325 * ido.el (ido-record-command): Add doc string.
3326
76c5e5ab
JB
33272013-08-08 Juanma Barranquero <lekktu@gmail.com>
3328
3329 * frameset.el (frameset): Do not disable creation of the default
3330 frameset-p predicate. Doc fix.
3331 (frameset-valid-p): New function, copied from the old predicate-p.
3332 Add additional checks.
3333 (frameset-restore): Check with frameset-valid-p.
3334 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3335 (frameset-name, frameset-description, frameset-properties)
3336 (frameset-states): Add docstring.
f9dbf1cb
JB
3337 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3338 (frameset-filter-alist): Doc fixes.
76c5e5ab 3339
bd0c3c0b
JB
33402013-08-08 Juanma Barranquero <lekktu@gmail.com>
3341
3342 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3343
c735544c
SM
33442013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3347 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3348 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3349 (byte-compile-normal-call): Remove obsolescence check.
3350
2805a651
JB
33512013-08-08 Juanma Barranquero <lekktu@gmail.com>
3352
3677ffeb
JB
3353 * frameset.el (frameset-restore): Doc fix.
3354
2805a651
JB
3355 * register.el (frameset-frame-id, frameset-frame-with-id)
3356 (frameset-p, frameset-restore, frameset-save): Declare.
3357 (register-alist): Document framesets.
3358 (frameset-session-filter-alist): Declare.
3359 (frameset-to-register): New function.
3360 (jump-to-register): Implement jumping to framesets. Doc fix.
3361 (describe-register-1): Describe framesets.
3362
3363 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3364
a912c016
JB
33652013-08-07 Juanma Barranquero <lekktu@gmail.com>
3366
3367 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3368 Use lexical-binding.
3369
3370 * frameset.el (frameset): Use type vector, not list (incompatible
3371 change). Do not declare a new constructor, use the default one.
3372 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3373 `name' and `description', respectively, and add read-only slot
3374 `timestamp'. Doc fixes.
3375 (frameset-copy, frameset-persistent-filter-alist)
3376 (frameset-filter-alist, frameset-switch-to-gui-p)
3377 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3378 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3379 (frameset-filter-iconified, frameset-keep-original-display-p):
3380 Doc fixes.
3381 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3382 Rename from frameset-filter-(save|restore)-param. All callers changed.
3383 Doc fix.
3384 (frameset-p): Adapt to change to vector and be more thorough.
3385 Change arg name to OBJECT. Doc fix.
3386 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3387 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3388 All callers changed.
3389 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3390 All callers changed.
3391 (frameset--record-minibuffer-relationships): Rename from
3392 frameset--process-minibuffer-frames. All callers changed.
3393 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3394 Use new default constructor (again). Doc fix.
3395 (frameset--find-frame-if): Rename from `frameset--find-frame.
3396 All callers changed.
3397 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3398 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3399 Doc fix.
3400 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3401 PARAMETERS and WINDOW-STATE, respectively.
3402 (frameset-restore): Add new keyword argument PREDICATE.
3403 Reset frameset--target-display to nil. Doc fix.
3404
bb41480a
SM
34052013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3406
f001e98e
SM
3407 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3408 (bat-mode): Use it.
3409 (bat-mode-syntax-table): Mark \n as end-of-comment.
3410 (bat-font-lock-keywords): Remove comment rule.
3411
7679edb1
SM
3412 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3413 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3414
bb41480a
SM
3415 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3416 (byte-compile-callargs-warn): Use `push'.
3417 (byte-compile-arglist-warn): Ignore higher-order "calls".
3418 (byte-compile-file-form-autoload): Use `pcase'.
3419 (byte-compile-function-form): If quoting a symbol, check that it exists.
3420
cdc1ebb9
EZ
34212013-08-07 Eli Zaretskii <eliz@gnu.org>
3422
3423 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3424 and add a few popular commands found in batch files.
3425 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3426 (dos-mode): Doc fixes.
3427
312b1740
SM
34282013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3431 (dos-mode): Use setq-local. Add space after "rem".
3432 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3433 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3434
400a3178
AM
34352013-08-07 Arni Magnusson <arnima@hafro.is>
3436
3437 * progmodes/dos.el: New file.
3438 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3439 dos-mode.
3440
3b5c03d3
GM
34412013-08-06 Glenn Morris <rgm@gnu.org>
3442
3443 * calendar/calendar.el: Add new faces, and day-header-array.
3444 (calendar-weekday-header, calendar-weekend-header)
3445 (calendar-month-header): New faces.
3446 (calendar-day-header-construct): New function.
3447 (calendar-day-header-width): Also :set calendar-day-header-array.
3448 (calendar-american-month-header, calendar-european-month-header)
3449 (calendar-iso-month-header): Use calendar- faces.
3450 (calendar-generate-month):
3451 Use calendar-day-header-array for day headers; apply faces to them.
3452 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3453 (calendar-abbrev-construct): Add optional maxlen argument.
3454 (calendar-day-name-array): Doc fix.
3455 (calendar-day-name-array, calendar-abbrev-length)
3456 (calendar-day-abbrev-array):
3457 Also :set calendar-day-header-array, and maybe redraw.
3458 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3459 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3460 (calendar-day-name): Add option to use header array.
3461
ec6a2d7a
LMI
34622013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3463
3464 * net/shr.el (shr-render-td): Remove debugging.
3465 (shr-render-td): Make width computation consistent by defaulting
3466 all zero-width columns to 10 characters. This may not be optimal,
3467 but it's at least consistent.
2122cb6d
LMI
3468 (shr-make-table-1): Redo last change to fix the real problem in
3469 colspan handling.
ec6a2d7a 3470
ed4fd9c5
DA
34712013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3472
0ca3f70e
SM
3473 * files.el (cache-long-line-scans):
3474 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3475
64e22afe
JB
34762013-08-06 Juanma Barranquero <lekktu@gmail.com>
3477
024b38fc
JB
3478 * frameset.el (frameset, frameset-filter-alist)
3479 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3480 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3481 (frameset-compute-pos): Rename from frameset--compute-pos,
3482 and add docstring.
3483 (frameset-move-onscreen): Use frameset-compute-pos.
3484 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3485
64e22afe
JB
3486 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3487 Fix typos in docstrings.
3488
c8c2aca8
DA
34892013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3490
3491 * frame.el (get-other-frame): Tiny cleanup.
3492
1d237bba
JB
34932013-08-06 Juanma Barranquero <lekktu@gmail.com>
3494
8951efef
JB
3495 * vc/vc.el (vc-default-ignore-completion-table):
3496 Silence byte-compiler warning.
3497
307764cc
JB
3498 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3499 slot , which can indeed be nil.
3500 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3501 Move entry for `left' from persistent to live filter alist.
3502 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3503 Doc fixes.
3504 (frameset-filter-params): When restoring a frame, copy items added to
3505 `filtered', to avoid unwittingly modifying the original parameters.
3506 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3507 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3508
1d237bba
JB
3509 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3510 to use looking-at-p instead of looking-at. (Bug#15028)
3511
dc6c0eda
SM
35122013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 Revert introduction of isearch-filter-predicates (bug#14714).
3515 Rely on add-function instead.
3516 * isearch.el (isearch-filter-predicates): Rename it back to
3517 isearch-filter-predicate.
3518 (isearch-message-prefix): Use advice-function-mapc and advice
3519 properties to get the isearch-message-prefix.
3520 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3521 instead of run-hook-with-args-until-failure.
3522 (isearch-filter-visible): Not obsolete any more.
3523 * loadup.el: Preload nadvice.
3524 * replace.el (perform-replace): Revert to funcall
3525 instead of run-hook-with-args-until-failure.
3526 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3527 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3528 dired-isearch-filenames-toggle; make it into a proper minor mode.
3529 Use add/remove-function.
3530 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3531 Call the minor-mode rather than add/remove-hook.
3532 (dired-isearch-filter-filenames):
3533 Remove isearch-message-prefix property.
3534 * info.el (Info--search-loop): New function, extracted from Info-search.
3535 Funcall isearch-filter-predicate instead of
3536 run-hook-with-args-until-failure isearch-filter-predicates.
3537 (Info-search): Use it.
3538 (Info-mode): Use isearch-filter-predicate instead of
3539 isearch-filter-predicates.
3540
290d5b58
DA
35412013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3542
3543 Do not call to `selected-window' where it is assumed by default.
3544 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3545 `window-hscroll', `window-width', `window-height', `window-buffer',
3546 `window-frame', `window-start', `window-point', `next-window'
3547 and `window-display-table'.
3548 * abbrev.el (abbrev--default-expand):
3549 * bs.el (bs--show-with-configuration):
3550 * buff-menu.el (Buffer-menu-mouse-select):
3551 * calc/calc.el (calc):
3552 * calendar/calendar.el (calendar-generate-window):
3553 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3554 (diary-make-entry):
3555 * comint.el (send-invisible, comint-dynamic-complete-filename)
3556 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3557 * completion.el (complete):
3558 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3559 * disp-table.el (describe-current-display-table):
3560 * doc-view.el (doc-view-insert-image):
3561 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3562 * ehelp.el (with-electric-help):
3563 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3564 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3565 * emacs-lisp/helper.el (Helper-help-scroller):
3566 * emulation/cua-base.el (cua--post-command-handler-1):
3567 * eshell/esh-mode.el (eshell-output-filter):
3568 * ffap.el (ffap-gnus-wrapper):
3569 * help-macro.el (make-help-screen):
3570 * hilit-chg.el (highlight-compare-buffers):
3571 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3572 * hl-line.el (global-hl-line-highlight):
3573 * icomplete.el (icomplete-simple-completing-p):
3574 * isearch.el (isearch-done):
3575 * jit-lock.el (jit-lock-stealth-fontify):
3576 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3577 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3578 * mpc.el (mpc-tagbrowser, mpc):
3579 * net/rcirc.el (rcirc-any-buffer):
3580 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3581 * play/landmark.el (landmark-max-width, landmark-max-height):
3582 * play/zone.el (zone):
3583 * progmodes/compile.el (compilation-goto-locus):
3584 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3585 * progmodes/etags.el (find-tag-other-window):
3586 * progmodes/fortran.el (fortran-column-ruler):
3587 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3588 * progmodes/verilog-mode.el (verilog-point-text):
3589 * reposition.el (reposition-window):
3590 * rot13.el (toggle-rot13-mode):
3591 * server.el (server-switch-buffer):
3592 * shell.el (shell-dynamic-complete-command)
3593 (shell-dynamic-complete-environment-variable):
3594 * simple.el (insert-buffer, set-selective-display)
3595 (delete-completion-window):
3596 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3597 (speedbar-recenter):
3598 * startup.el (fancy-splash-head):
3599 * textmodes/ispell.el (ispell-command-loop):
3600 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3601 * tutorial.el (help-with-tutorial):
3602 * vc/add-log.el (add-change-log-entry):
3603 * vc/compare-w.el (compare-windows):
3604 * vc/ediff-help.el (ediff-indent-help-message):
3605 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3606 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3607 (ediff-setup-control-frame):
3608 * vc/emerge.el (emerge-position-region):
3609 * vc/pcvs-util.el (cvs-bury-buffer):
3610 * window.el (walk-windows, mouse-autoselect-window-select):
3611 * winner.el (winner-set-conf, winner-undo): Related users changed.
3612
38276e01
JB
36132013-08-05 Juanma Barranquero <lekktu@gmail.com>
3614
3615 * frameset.el (frameset--set-id): Doc fix.
3616 (frameset-frame-id, frameset-frame-id-equal-p)
3617 (frameset-locate-frame-id): New functions.
3618 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3619 (frameset-restore): Use them.
3620
12b4c0ea
DA
36212013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3622
3623 Do not call to `selected-frame' where it is assumed by default.
3624 Affected functions are `raise-frame', `redraw-frame',
3625 `frame-first-window', `frame-terminal' and `delete-frame'.
3626 * calendar/appt.el (appt-disp-window):
3627 * epg.el (epg-wait-for-completion):
3628 * follow.el (follow-delete-other-windows-and-split)
3629 (follow-avoid-tail-recenter):
3630 * international/mule.el (set-terminal-coding-system):
3631 * mail/rmail.el (rmail-mail-return):
3632 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3633 * progmodes/f90.el (f90-add-imenu-menu):
3634 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3635 * server.el (server-switch-buffer):
3636 * simple.el (delete-completion-window):
3637 * talk.el (talk):
3638 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3639 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3640 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3641 * vc/ediff.el (ediff-documentation): Related users changed.
3642 * frame.el (selected-terminal): Remove the leftover.
3643
17f25e76
GM
36442013-08-05 Glenn Morris <rgm@gnu.org>
3645
3646 * calendar/calendar.el (calendar-generate-month):
3647 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3648 (calendar-generate-month, calendar-font-lock-keywords):
3649 Fix for calendar-day-header-width > length of any day name.
17f25e76 3650
063233c3
JB
36512013-08-05 Juanma Barranquero <lekktu@gmail.com>
3652
3653 * desktop.el (desktop-clear): Use new name of sort predicate.
3654
3655 * frameset.el (frameset): Add docstring. Move :version property to its
3656 own `version' slot.
3657 (frameset-copy): Rename from copy-frameset.
3658 (frameset-p): Check more thoroughly.
3659 (frameset-prop): Do not check for :version, which is no longer a prop.
3660 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3661 Use new :never value instead of t.
3662 (frameset-filter-alist): Expand and clarify docstring.
3663 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3664 (frameset-filter-minibuffer, frameset-filter-save-param)
3665 (frameset-filter-restore-param, frameset-filter-iconified):
3666 Add pointer to docstring of frameset-filter-alist.
3667 (frameset-filter-params): Rename filter values to be more meaningful:
3668 :never instead of t, and reverse the meanings of :save and :restore.
3669 (frameset--process-minibuffer-frames): Clarify error message.
3670 (frameset-save): Avoid unnecessary and confusing call to framep.
3671 Use new BOA constructor for framesets.
3672 (frameset--reuse-list): Doc fix.
3673 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3674 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3675 (frameset-minibufferless-first-p): Doc fix.
3676 Rename from frameset-sort-frames-for-deletion.
3677 (frameset-restore): Doc fixes. Use new function names.
3678 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3679
d5671a82
JB
36802013-08-04 Juanma Barranquero <lekktu@gmail.com>
3681
3682 * desktop.el (desktop-restore-forces-onscreen)
3683 (desktop-restore-reuses-frames): Document :keyword constant values.
3684 (desktop-filter-parameters-alist): Remove, now identical to
3685 frameset-filter-alist.
3686 (desktop--filter-tty*): Remove, moved to frameset.el.
3687 (desktop-save-frameset, desktop-restore-frameset):
3688 Do not pass :filters argument.
3689
3690 * frameset.el (frameset-live-filter-alist)
3691 (frameset-persistent-filter-alist): New variables.
3692 (frameset-filter-alist): Use them. Add autoload cookie.
3693 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3694 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3695 `frameset--id' (it's supposed to be internal to frameset.el).
3696 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3697 (frameset--initial-params): New function.
3698 (frameset--get-frame): Use it. Doc fix.
3699 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3700 Accept :all, not 'all.
3701 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3702 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3703 with fbound symbols. Fix frame id matching, and remove matching ids if
3704 the frame being restored is deleted. Obey :delete.
3705
671d5c16
SM
37062013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * subr.el (macrop): New function.
3709 (text-clone--maintaining): New var.
3710 (text-clone--maintain): Rename from text-clone-maintain. Use it
3711 instead of inhibit-modification-hooks.
3712
3713 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3714 a proxy, so as handle autoloads and redefinitions of the target.
3715 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3716
3717 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3718 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3719 (pcase--mutually-exclusive-p): New function.
3720 (pcase--split-consp): Use it.
3721 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3722 mutually exclusive with the current predicate.
3723
3724 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3725 (edebug-macrop): Remove. Use `macrop' instead.
3726 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3727 (ad-macro-p):
3728 * eshell/esh-cmd.el (eshell-macrop):
3729 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3730
1d44e9dc
SM
37312013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3734 (advice-mapc): New function, using it.
3735 (advice-function-member-p): New function.
3736 (advice--normalize): Store the cdr in advice--saved-rewrite since
3737 that's the part that will be changed.
3738 (advice--symbol-function): New function.
3739 (advice-remove): Handle removal before the function is defined.
3740 Adjust to new advice--saved-rewrite.
3741 (advice-member-p): Use advice-function-member-p and
3742 advice--symbol-function.
3743
5414a283
JB
37442013-08-04 Juanma Barranquero <lekktu@gmail.com>
3745
51d30f2c
JB
3746 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3747 (frameset-filter-minibuffer): Doc fix.
3748 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3749 (frameset--set-id, frameset--process-minibuffer-frames)
3750 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3751 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3752
5414a283
JB
3753 * desktop.el (desktop-clear): Only delete frames when called
3754 interactively and desktop-restore-frames is non-nil. Doc fix.
3755 (desktop-read): Set desktop-saved-frameset to nil.
3756
ab419665
XF
37572013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3758
3759 * vc/vc.el (vc-ignore): Rewrite.
3760 (vc-default-ignore-completion-table):
3761 (vc--read-lines):
3762 (vc--add-line, vc--remove-regexp): New functions.
3763
3764 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3765 (vc-svn-ignore-completion-table): New function.
3766
3767 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3768 (vc-hg-ignore-completion-table):
3769 (vc-hg-find-ignore-file): New functions.
3770
3771 * vc/vc-git.el (vc-git-ignore): Rewrite.
3772 (vc-git-ignore-completion-table):
3773 (vc-git-find-ignore-file): New functions.
3774
3775 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3776
3777 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3778 (vc-bzr-ignore-completion-table):
3779 (vc-bzr-find-ignore-file): New functions.
3780
2613dea2
JB
37812013-08-03 Juanma Barranquero <lekktu@gmail.com>
3782
3783 * frameset.el (frameset-prop): New function and setter.
3784 (frameset-save): Do not modify frame list passed by the caller.
3785
9c959872
SM
37862013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3789
a104f656
SM
37902013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3791
70122acf
SM
3792 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3793 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3794
a104f656
SM
3795 * custom.el (custom-initialize-default, custom-initialize-set)
3796 (custom-initialize-reset, custom-initialize-changed): Affect the
3797 toplevel-default-value (bug#6275, bug#14586).
3798 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3799 for bug#6275.
3800
f078d570
JB
38012013-08-02 Juanma Barranquero <lekktu@gmail.com>
3802
185e3b5a
JB
3803 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3804 Add cl-def* expressions.
3805
f078d570
JB
3806 * frameset.el (frameset-filter-params): Fix order of arguments.
3807
9421876d
JB
38082013-08-02 Juanma Barranquero <lekktu@gmail.com>
3809
3810 Move code related to saving frames to frameset.el.
3811 * desktop.el: Require frameset.
3812 (desktop-restore-frames): Doc fix.
3813 (desktop-restore-reuses-frames): Rename from
3814 desktop-restoring-reuses-frames.
3815 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3816 (desktop-clear): Clear frames too.
3817 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3818 (desktop--filter-tty*, desktop-save, desktop-read):
3819 Use frameset functions.
3820 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3821 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3822 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3823 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3824 (desktop--process-minibuffer-frames, desktop-save-frames)
3825 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3826 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3827 (desktop--sort-states, desktop-restoring-frames-p)
3828 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3829 (desktop-restoring-frameset-p, desktop-restore-frameset)
3830 (desktop--check-dont-save, desktop-save-frameset): New functions.
3831 (desktop--app-id): New constant.
3832 (desktop-first-buffer, desktop-buffer-ok-count)
3833 (desktop-buffer-fail-count): Move before first use.
3834 * frameset.el: New file.
3835
76dc5996
SM
38362013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * files.el: Use lexical-binding.
3839 (dir-locals-read-from-file): Remove unused `err' variable.
3840 (hack-dir-local-variables--warned-coding): New var.
3841 (hack-dir-local-variables): Use it to avoid repeated warnings.
3842 (make-backup-file-name--default-function): New function.
3843 (make-backup-file-name-function): Use it as default.
3844 (buffer-stale--default-function): New function.
3845 (buffer-stale-function): Use it as default.
3846 (revert-buffer-insert-file-contents--default-function): New function.
3847 (revert-buffer-insert-file-contents-function): Use it as default.
3848 (insert-directory): Avoid add-to-list.
3849
3850 * autorevert.el (auto-revert-handler): Simplify.
3851 Use buffer-stale--default-function.
3852
06d36e2b
TH
38532013-08-01 Tassilo Horn <tsdh@gnu.org>
3854
5f648ab4
TH
3855 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3856
06d36e2b
TH
3857 * whitespace.el (whitespace-ensure-local-variables): New function.
3858 (whitespace-cleanup-region): Call it.
3859 (whitespace-turn-on): Call it.
3860
a43dc424
MA
38612013-08-01 Michael Albinus <michael.albinus@gmx.de>
3862
3863 Complete file name handlers.
3864
3865 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3866 (tramp-handle-verify-visited-file-modtime)
3867 (tramp-handle-file-notify-rm-watch): New functions.
3868 (tramp-call-process): Do not bind `default-directory'.
3869
44e18199
JB
3870 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3871 Order alphabetically.
a43dc424
MA
3872 [access-file, add-name-to-file, dired-call-process]:
3873 [dired-compress-file, file-acl, file-notify-rm-watch]:
3874 [file-ownership-preserved-p, file-selinux-context]:
3875 [make-directory-internal, make-symbolic-link, set-file-acl]:
3876 [set-file-selinux-context, set-visited-file-modtime]:
3877 [verify-visited-file-modtime]: Add handler.
3878 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3879
3880 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3881 [file-notify-add-watch, file-notify-rm-watch]:
3882 [set-file-times, set-visited-file-modtime]:
3883 [verify-visited-file-modtime]: Add handler.
3884 (with-tramp-gvfs-error-message)
3885 (tramp-gvfs-handle-set-visited-file-modtime)
3886 (tramp-gvfs-fuse-file-name): Remove.
3887 (tramp-gvfs-handle-file-notify-add-watch)
3888 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3889 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3890
44e18199
JB
3891 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3892 Order alphabetically.
a43dc424
MA
3893 [file-notify-rm-watch ]: Use default Tramp handler.
3894 [executable-find]: Remove private handler.
3895 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3896 `default-directory'.
3897 (tramp-sh-handle-executable-find)
3898 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3899 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3900 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3901 Do not use `format' in `tramp-message'.
3902
3903 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3904 [file-notify-rm-watch, set-visited-file-modtime]:
3905 [verify-visited-file-modtime]: Add handler.
3906 (tramp-smb-call-winexe): Do not bind `default-directory'.
3907
7188b515
XF
39082013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3909
3910 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3911
2412ee1a
DG
39122013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3913
3914 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3915 use it.
3916 (log-view-diff-changeset): Same.
3917 (log-view-diff-common): Call backend command `previous-revision'
3918 to find out the previous revision, in both cases. Swap the
3919 variables `to' and `fr', so that `fr' usually refers to the
3920 earlier revision (Bug#14989).
3921
5002a754
KRC
39222013-07-31 Kan-Ru Chen <kanru@kanru.info>
3923
3924 * ibuf-ext.el (ibuffer-filter-by-filename):
3925 Make it work with dired buffers too.
3926
44e18199 39272013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3928
3929 * emacs-lisp/re-builder.el (reb-color-display-p):
3930 * files.el (save-buffers-kill-terminal):
3931 * net/browse-url.el (browse-url):
3932 * server.el (server-save-buffers-kill-terminal):
3933 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3934 Prefer nil to selected-frame for the first arg of frame-parameter.
3935
aeca3fbb
XF
39362013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3937
3938 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3939
158bc55c
SB
39402013-07-30 Stephen Berman <stephen.berman@gmx.net>
3941
3942 * minibuffer.el (completion--twq-all): Try and preserve each
3943 completion's case choice (bug#14907).
3944
d50fceab
LMI
39452013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3946
ac38e731
LMI
3947 * net/network-stream.el (open-network-stream): Mention the new
3948 :nogreeting parameter.
3949 (network-stream-open-starttls): Use the :nogreeting parameter
3950 (bug#14938).
3951
1211de50
LMI
3952 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3953
997798bf
LMI
3954 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3955 more natural than popping.
3956
d50fceab 3957 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3958 (shr-urlify): Highlight under mouse.
d50fceab 3959
5c09de04
XF
39602013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3961
207d1d04
XF
3962 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3963
3964 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3965
5c09de04
XF
3966 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3967 buffer for output.
3968
3cd51eaa
XF
3969 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3970 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3971
44e18199 3972 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3973 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3974
3975 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3976
3977 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3978 buffer for output.
3979
35a89bdd
EZ
39802013-07-29 Eli Zaretskii <eliz@gnu.org>
3981
3982 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3983 initial frame is minibuffer-less. (Bug#14841)
3984
78822e94
MA
39852013-07-29 Michael Albinus <michael.albinus@gmx.de>
3986
3987 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3988 option.
3989
3990 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3991 (tramp-maybe-open-connection): Use it.
3992
9503c190
JB
39932013-07-28 Juanma Barranquero <lekktu@gmail.com>
3994
3995 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3996 minimal set of parameters passed when creating a frame, because
3997 the minibuffer status of a frame cannot be changed later.
3998
d5a845b4
SB
39992013-07-28 Stephen Berman <stephen.berman@gmx.net>
4000
4001 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4002 replace-regexp-in-string and inadvertent omissions in previous change.
4003 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4004 name of filtered items buffer.
d5a845b4 4005
ddeffb17
JB
40062013-07-28 Juanma Barranquero <lekktu@gmail.com>
4007
4008 * desktop.el: Optionally force offscreen frames back onscreen.
4009 (desktop-restoring-reuses-frames): New option.
4010 (desktop--compute-pos, desktop--move-onscreen): New functions.
4011 (desktop--make-frame): Use desktop--move-onscreen.
4012
f5950f7a
AM
40132013-07-27 Alan Mackenzie <acm@muc.de>
4014
4015 Fontify a Java generic method as a function.
4016 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4017 value to t.
4018
ae43b66a
SB
40192013-07-27 Stephen Berman <stephen.berman@gmx.net>
4020
4021 * calendar/todo-mode.el: Add command to rename todo files.
4022 (todo-rename-file): New command.
4023 (todo-key-bindings-t): Add key binding for it. Change the
4024 bindings of todo-filter-regexp-items(-multifile) to use `x'
4025 instead of `r', since the latter is better suited to the new
4026 renaming command.
4027
5ab78d3d
AM
40282013-07-27 Alan Mackenzie <acm@muc.de>
4029
4030 Make Java try-with-resources statement parse properly.
4031 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4032 (c-block-stmt-1-2-key): New language constants/variables.
4033 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4034 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4035 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4036 with c-block-stmt-1-2-key.
5ab78d3d 4037
d85c4d50
JB
40382013-07-27 Juanma Barranquero <lekktu@gmail.com>
4039
4040 * desktop.el (desktop--make-frame): Apply most frame parameters after
4041 creating the frame to force (partially or totally) offscreen frames to
4042 be restored as such.
4043
e4c467f9
XF
40442013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4045
4046 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4047 (Bug#14948)
e4c467f9 4048
7ced0d04
SM
40492013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4052 `base' arg of backtrace-frame.
4053
fec92060
EZ
40542013-07-26 Eli Zaretskii <eliz@gnu.org>
4055
4056 * simple.el (list-processes): Doc fix.
4057
d58d31fb
JB
40582013-07-26 Juanma Barranquero <lekktu@gmail.com>
4059
4060 * desktop.el (desktop--select-frame):
d85c4d50 4061 Try harder to reuse existing frames.
d58d31fb 4062
53ff3e77
SM
40632013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4066 (edebug-eval): Use backtrace-eval.
4067 (edebug--display, edebug--recursive-edit): Don't let-bind the
4068 edebug-outer-* vars that keep track of variables we locally let-bind.
4069 (edebug-outside-excursion): Don't restore outside values of locally
4070 let-bound vars.
4071 (edebug--display): Use user-error.
4072 (cl-lexical-debug, cl-debug-env): Remove.
4073
045f7a53
JB
40742013-07-26 Juanma Barranquero <lekktu@gmail.com>
4075
4076 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4077 are restored to be sure that they are visible before deleting any
4078 remaining ones.
4079
59070b32
MM
40802013-07-26 Matthias Meulien <orontee@gmail.com>
4081
742a3501
XF
4082 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4083 vc-print-root-log. (Bug#14948)
59070b32 4084
b1fb3596
RS
40852013-07-26 Richard Stallman <rms@gnu.org>
4086
4087 Add aliases for encrypting mail.
4088 * epa.el (epa-mail-aliases): New option.
4089 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4090 Bind inhibit-read-only so read-only text doesn't ruin everything.
4091 (epa-mail-default-recipients): New subroutine broken out.
4092 Handle epa-mail-aliases.
4093
56ea7291
SM
40942013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 Add support for lexical variables to the debugger's `e' command.
4097 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4098 vars, except for debugger-outer-match-data.
4099 (debugger-frame-number): Move check for "on a function call" from
4100 callers into it. Add `skip-base' argument.
4101 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4102 (debugger-env-macro): Only reset the state stored in non-variables,
4103 i.e. current-buffer and match-data.
4104 (debugger-eval-expression): Rewrite using backtrace-eval.
4105 * subr.el (internal--called-interactively-p--get-frame): Remove.
4106 (called-interactively-p):
4107 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4108 `base' arg of backtrace-frame instead.
4109
15ac32d5
GM
41102013-07-26 Glenn Morris <rgm@gnu.org>
4111
8358a09d
GM
4112 * align.el (align-regexp): Doc fix. (Bug#14857)
4113 (align-region): Explicit error if subexpression missing/does not match.
4114
15ac32d5
GM
4115 * simple.el (global-visual-line-mode):
4116 Do not duplicate the mode lighter. (Bug#14858)
4117
f47ad11b
MR
41182013-07-25 Martin Rudalics <rudalics@gmx.at>
4119
4120 * window.el (display-buffer): In display-buffer bind
4121 split-window-keep-point to t, bug#14829.
4122
02530987
JB
41232013-07-25 Juanma Barranquero <lekktu@gmail.com>
4124
4125 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4126 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4127 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4128 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4129 Change accordingly.
f63ebeb5
JB
4130 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4131 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4132
6ccb9cab 41332013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4134
6ccb9cab 4135 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4136
cb3a56d2
JB
41372013-07-25 Juanma Barranquero <lekktu@gmail.com>
4138
4139 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4140 parameter to modify-frame-parameters if the value has not changed;
4141 this is a workaround for bug#14949.
4142 (desktop--make-frame): On cl-delete-if call, check parameter name,
4143 not full parameter.
4144
7aa7fff0
XF
41452013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4146
4147 * vc/vc.el (vc-ignore): New function.
4148
4149 * vc/vc-svn.el (vc-svn-ignore): New function.
4150
4151 * vc/vc-hg.el (vc-hg-ignore): New function.
4152
4153 * vc/vc-git.el (vc-git-ignore): New function.
4154
4155 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4156 (vc-dir-ignore): New function.
4157
4158 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4159 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4160
4161 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4162
4163 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4164
889acc5c
JB
41652013-07-24 Juanma Barranquero <lekktu@gmail.com>
4166
4167 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4168 (desktop-restore-frames): Warn when deleting an existing frame failed.
4169
86c40970
GM
41702013-07-24 Glenn Morris <rgm@gnu.org>
4171
4172 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4173
d5d3c58a
MA
41742013-07-24 Michael Albinus <michael.albinus@gmx.de>
4175
4176 * filenotify.el (file-notify-supported-p):
4177 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4178 Remove functions.
4179
4180 * autorevert.el (auto-revert-use-notify):
4181 (auto-revert-notify-add-watch):
4182 * net/tramp.el (tramp-file-name-for-operation):
4183 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4184 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4185 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4186 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4187 Remove `file-notify-supported-p' entry.
4188
d100084b
GM
41892013-07-24 Glenn Morris <rgm@gnu.org>
4190
4191 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4192 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4193
ac93e56b
SM
41942013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4195
249eea30
SM
4196 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4197 checked with memq (bug#14935).
4198
ac93e56b
SM
4199 * files.el (revert-buffer-function): Use a non-nil default.
4200 (revert-buffer-preserve-modes): Declare var to
4201 provide access to the `preserve-modes' argument.
4202 (revert-buffer): Let-bind it.
4203 (revert-buffer--default): New function, extracted from revert-buffer.
4204
2cdeb903
SM
42052013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4206
4207 * lpr.el: Signal print errors more prominently.
4208 (print-region-function): Don't default to nil.
4209 (lpr-print-region): New function, extracted from print-region-1.
4210 Check lpr's return value and signal an error in case of problem.
4211 (print-region-1): Use it.
4212 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4213 versions instead.
4214 (ps-printer-name): Default to nil.
4215 (ps-printer-name-option): Default to lpr-printer-switch.
4216 (ps-print-region-function): Don't default to nil.
4217 (ps-postscript-code-directory): Simplify default.
4218 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4219 (ps-string-list, ps-eval-switch, ps-flatten-list)
4220 (ps-flatten-list-1): Remove.
4221 (ps-multibyte-buffer): Avoid setq.
4222 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4223 (print-region-function, ps-print-region-function): Don't set them here.
4224
73600831
XF
42252013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4226
0e55c076
XF
4227 * ido.el (ido-fractionp):
4228 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4229 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4230 (ido-max-directory-size, ido-max-dir-file-cache)
4231 (ido-decorations): Doc fix.
4232
73600831
XF
4233 * ansi-color.el: Fix old URL.
4234
3d012865
MM
42352013-07-23 Michael R. Mauger <michael@mauger.com>
4236
e903c210 4237 * progmodes/sql.el: Version 3.3
3d012865
MM
4238 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4239 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4240 (sql-interactive-remove-continuation-prompt): Rewrite, use
4241 functions above. Fix continuation prompt and complete output line
4242 handling.
4243 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4244 redirected output buffer.
4245 (sql-mode): Restore deleted code (Bug#13591).
4246
da77a2e2
JB
42472013-07-23 Juanma Barranquero <lekktu@gmail.com>
4248
4249 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4250
80ff0c71
MA
42512013-07-23 Michael Albinus <michael.albinus@gmx.de>
4252
4253 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4254
4255 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4256 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4257 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4258
b61d71e4
JB
42592013-07-23 Juanma Barranquero <lekktu@gmail.com>
4260
4261 * desktop.el (desktop-clear): Simplify; remove useless checks
4262 against invalid buffer names.
4263 (desktop-list*): Use cl-list*.
4264 (desktop-buffer-info, desktop-create-buffer): Simplify.
4265
c3512092
LL
42662013-07-23 Leo Liu <sdl.web@gmail.com>
4267
4268 * bookmark.el (bookmark-make-record): Restore NAME as a default
4269 value. (Bug#14933)
4270
0ac26976
SM
42712013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4272
7d22ce18
SM
4273 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4274 extracted from autoload--insert-text.
4275 (autoload--insert-text): Remove.
4276 (autoload--print-cookie-text): New function, extracted from
4277 autoload--insert-cookie-text.
4278 (autoload--insert-cookie-text): Remove.
4279 (autoload-generate-file-autoloads): Adjust calls accordingly.
4280
9b2607e8
SM
4281 * winner.el (winner-hook-installed-p): Remove.
4282 (winner-mode): Simplify accordingly.
4283
c43a8618
SM
4284 * subr.el (add-to-list): Fix compiler-macro when `append' is
4285 not constant. Don't use `cl-member' for the base case.
4286
0ac26976
SM
4287 * progmodes/subword.el: Fix boundary case (bug#13758).
4288 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4289 own group.
4290 (subword-backward-regexp): Make it a constant.
4291 (subword-forward-internal): Don't treat a trailing capital as the
4292 beginning of a word.
4293
6874724a
AR
42942013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4295
4296 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4297 global value of tabulated-list-revert-hook (bug#14930).
4298
70f1b5e8
JB
42992013-07-22 Juanma Barranquero <lekktu@gmail.com>
4300
a1c80d9d
JB
4301 * desktop.el: Require 'cl-lib.
4302 (desktop-before-saving-frames-functions): New hook.
4303 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4304 for frames being saved. Rename from desktop--save-minibuffer-frames.
4305 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4306 Do not save frames with non-nil `desktop-dont-save' parameter.
4307 Filter out deleted frames.
a1c80d9d
JB
4308 (desktop--find-frame): Use cl-find-if.
4309 (desktop--select-frame): Use cl-(first|second|third) to access values
4310 of desktop-mini.
4311 (desktop--make-frame): Use cl-delete-if.
4312 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4313 (desktop-restore-frames): Use cl-(first|second|third) to access values
4314 of desktop-mini. Look for visible frame at the end, not while
4315 restoring frames.
4316
70f1b5e8
JB
4317 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4318 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4319 Use string-match-p, looking-at-p (bug#14927).
4320
728dc3cc
JB
43212013-07-21 Juanma Barranquero <lekktu@gmail.com>
4322
56bc453c
JB
4323 * desktop.el (desktop-saved-frame-states):
4324 Rename from desktop--saved-states; all users changed.
4325 (desktop-save-frames): Rename from desktop--save-frames.
4326 Do not save state to desktop file.
4327 (desktop-save): Save desktop-saved-frame-states to desktop file
4328 and reset to nil.
4329 (desktop-restoring-frames-p): New function.
4330 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4331 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4332 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4333
728dc3cc
JB
4334 * desktop.el: Correctly restore iconified frames.
4335 (desktop--filter-iconified-position): New function.
4336 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4337
862f1c9c
GM
43382013-07-20 Glenn Morris <rgm@gnu.org>
4339
c4074c9f
GM
4340 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4341 Let `message' do the formatting.
4342 (def-gdb-preempt-display-buffer): Add explicit format.
4343
d828e5f9
GM
4344 * image-dired.el (image-dired-track-original-file):
4345 Use with-current-buffer.
4346 (image-dired-track-thumbnail): Use with-current-buffer.
4347 Avoid changing point of wrong window.
4348
862f1c9c
GM
4349 * image-dired.el (image-dired-track-original-file):
4350 Avoid changing point of wrong window. (Bug#14909)
4351
f0398ec1 43522013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4353
4354 * progmodes/gdb-mi.el (gdb-done-or-error):
4355 Guard against "%" in gdb output. (Bug#14127)
4356
1451928f
AS
43572013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4358
763a086d
JB
4359 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4360 (Bug#14826)
f7a03897 4361
1451928f
AS
4362 * international/mule.el (coding-system-iso-2022-flags): Fix last
4363 change.
4364
99107004
KH
43652013-07-20 Kenichi Handa <handa@gnu.org>
4366
763a086d
JB
4367 * international/mule.el (coding-system-iso-2022-flags):
4368 Add `8-bit-level-4'. (Bug#8522)
99107004 4369
48494e06
LMI
43702013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4371
8ba8eec5
LMI
4372 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4373 (bug#14815).
4374
dfbc66e3
LMI
4375 * net/eww.el (eww-process-text-input): Allow inputting when the
4376 point is at the start of the line, as the properties aren't
4377 front-sticky.
4378
48494e06
LMI
4379 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4380 degenerate widths.
4381
77c92cb9
RS
43822013-07-19 Richard Stallman <rms@gnu.org>
4383
aec7da77
RS
4384 * epa.el (epa-popup-info-window): Doc fix.
4385
77c92cb9
RS
4386 * subr.el (split-string): New arg TRIM.
4387
945c5bb1
JB
43882013-07-18 Juanma Barranquero <lekktu@gmail.com>
4389
4390 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4391 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4392
e06ec67f
MA
43932013-07-18 Michael Albinus <michael.albinus@gmx.de>
4394
c7064f05 4395 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4396 `file-notify-support'. Do not autoload. Adapt all uses.
4397 (file-notify-supported-p): New defun.
4398
c7064f05
JB
4399 * autorevert.el (auto-revert-use-notify):
4400 Use `file-notify-supported-p' instead of `file-notify-support'.
4401 Adapt docstring.
e06ec67f
MA
4402 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4403
4404 * net/tramp.el (tramp-file-name-for-operation):
4405 Add `file-notify-supported-p'.
4406
4407 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4408 New defun.
4409 (tramp-sh-file-name-handler-alist): Add it as handler for
4410 `file-notify-supported-p '.
4411
4412 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4413 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4414 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4415 Add `ignore' as handler for `file-notify-*' functions.
4416
5dc8a629
EZ
44172013-07-17 Eli Zaretskii <eliz@gnu.org>
4418
4419 * simple.el (line-move-partial, line-move): Don't start vscroll or
4420 scroll-up if the current line is not taller than the window.
4421 (Bug#14881)
4422
77aea2fb
DG
44232013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4424
4425 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4426 highlight question marks in the method names as strings.
ac72c08d
DG
4427 (ruby-block-beg-keywords): Inline.
4428 (ruby-font-lock-keyword-beg-re): Extract from
4429 `ruby-font-lock-keywords'.
77aea2fb 4430
18c26d81
JD
44312013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4432
4433 * frame.el (blink-cursor-blinks): New defcustom.
4434 (blink-cursor-blinks-done): New defvar.
4435 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4436 (blink-cursor-timer-function): Check if number of blinks has been
4437 done on X and NS.
4438 (blink-cursor-suspend, blink-cursor-check): New defuns.
4439
da48522e
GM
44402013-07-15 Glenn Morris <rgm@gnu.org>
4441
4442 * edmacro.el (edmacro-format-keys): Fix previous change.
4443
0463c1ef
PE
44442013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4445
4446 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4447 The hack didn't work outside English locales anyway.
4448
b43f6451
JB
44492013-07-15 Juanma Barranquero <lekktu@gmail.com>
4450
4451 * simple.el (define-alternatives): Rename from alternatives-define,
4452 per RMS' suggestion.
4453
b958c0ad
JB
44542013-07-14 Juanma Barranquero <lekktu@gmail.com>
4455
4456 * desktop.el (desktop-restore-frames): Change default to t.
4457 (desktop-restore-in-current-display): Now offer more options.
4458 (desktop-restoring-reuses-frames): New customization option.
4459 (desktop--saved-states): Doc fix.
4460 (desktop-filter-parameters-alist): New variable, renamed and expanded
4461 from desktop--excluded-frame-parameters.
4462 (desktop--target-display): New variable.
4463 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4464 (desktop--filter-tty*, desktop--filter-*-color)
4465 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4466 (desktop--filter-save-desktop-parm)
4467 (desktop-restore-in-original-display-p): New functions.
4468 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4469 (desktop--save-minibuffer-frames): New function, inspired by a similar
4470 function from Martin Rudalics.
4471 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4472 (desktop--restore-in-this-display-p): Remove.
4473 (desktop--find-frame): Rename from desktop--find-frame-in-display
4474 and add predicate argument.
4475 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4476 (desktop--reuse-list): New variable.
4477 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4478 New functions.
4479 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4480
f6dd8b36
MA
44812013-07-14 Michael Albinus <michael.albinus@gmx.de>
4482
4483 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4484
2ce3c565
DG
44852013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4486
763a086d
JB
4487 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4488 Highlight conversion methods on Kernel.
2ce3c565 4489
2cdb7698
AM
44902013-07-13 Alan Mackenzie <acm@muc.de>
4491
4492 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4493 and comment it out. This out-commenting enables certain C++
4494 declarations to be parsed correctly.
4495
1a67b811
EZ
44962013-07-13 Eli Zaretskii <eliz@gnu.org>
4497
1b796d6b
EZ
4498 * international/mule.el (define-coding-system): Doc fix.
4499
1a67b811
EZ
4500 * simple.el (default-font-height): Don't call font-info if the
4501 frame's default font didn't change since the frame was created.
4502 (Bug#14838)
4503
58fbe886
LL
45042013-07-13 Leo Liu <sdl.web@gmail.com>
4505
4506 * ido.el (ido-read-file-name): Guard against non-symbol value.
4507
1f0480d4
FEG
45082013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4509
4510 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4511 in nested defuns.
4512
97ead0e5
LL
45132013-07-13 Leo Liu <sdl.web@gmail.com>
4514
4515 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4516 ido-set-matches call. (Bug#6852)
4517
0880a952
DG
45182013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4519
4520 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4521 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4522 Ruby 2.0.
4523 (ruby-font-lock-keywords): Distinguish calls to functions with
4524 module-like names from module references. Highlight character
4525 literals.
4526
a7d8babb
SDJ
45272013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4528
4529 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4530 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4531
acfcc8c5
JB
45322013-07-12 Juanma Barranquero <lekktu@gmail.com>
4533
4534 * desktop.el (desktop--v2s): Remove unused local variable.
4535 (desktop-save-buffer): Make defvar-local; adjust docstring.
4536 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4537 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4538
051f2775
AS
45392013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4540
4541 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4542
f24e7572
GM
45432013-07-12 Eli Zaretskii <eliz@gnu.org>
4544
4545 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4546 (Bug#14842)
4547
539a920c
GM
45482013-07-12 Glenn Morris <rgm@gnu.org>
4549
4550 * doc-view.el: Require cl-lib at runtime too.
4551 (doc-view-remove-if): Remove.
4552 (doc-view-search-next-match, doc-view-search-previous-match):
4553 Use cl-remove-if.
4554
4555 * edmacro.el: Require cl-lib at runtime too.
4556 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4557 (edmacro-mismatch, edmacro-subseq): Remove.
4558
4559 * shadowfile.el: Require cl-lib.
4560 (shadow-remove-if): Remove.
4561 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4562 Use cl-remove-if.
4563
4564 * wid-edit.el: Require cl-lib.
4565 (widget-choose): Use cl-remove-if.
4566 (widget-remove-if): Remove.
4567
4568 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4569 (ebrowse-delete-if-not): Remove.
4570 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4571 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4572 Use cl-delete-if-not.
4573
1048af7c
JB
45742013-07-12 Juanma Barranquero <lekktu@gmail.com>
4575
4576 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4577 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4578
6c0674ee
LL
45792013-07-12 Leo Liu <sdl.web@gmail.com>
4580
4581 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4582
a19b3c2d
GM
45832013-07-11 Glenn Morris <rgm@gnu.org>
4584
4582a01c
GM
4585 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4586 (edebug-gensym-index, edebug-gensym):
4587 Remove reimplementation of cl-gensym.
4588 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4589
4590 * thumbs.el: Require cl-lib at run-time too.
4591 (thumbs-gensym-counter, thumbs-gensym):
4592 Remove reimplementation of cl-gensym.
4593 (thumbs-temp-file): Use cl-gensym.
4594
a19b3c2d
GM
4595 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4596 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4597 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4598 (ert--union, ert--gensym-counter, ert--gensym-counter)
4599 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4600 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4601 (ert-make-test-unbound, ert--expand-should-1)
4602 (ert--expand-should, ert--should-error-handle-error)
4603 (should-error, ert--explain-equal-rec)
4604 (ert--plist-difference-explanation, ert-select-tests)
4605 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4606 Use cl-lib functions rather than reimplementations.
4607
88f6a933
MA
46082013-07-11 Michael Albinus <michael.albinus@gmx.de>
4609
4610 * net/tramp.el (tramp-methods): Extend docstring.
4611 (tramp-connection-timeout): New defcustom.
4612 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4613 (with-tramp-progress-reporter): Simplify.
4614 (tramp-process-actions): Improve messages.
4615
4616 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4617 * net/tramp-sh.el (tramp-maybe-open-connection):
4618 Use `tramp-connection-timeout'.
4619 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4620 (Bug#14808)
4621
a43d577e
LL
46222013-07-11 Leo Liu <sdl.web@gmail.com>
4623
4624 * ido.el (ido-read-file-name): Conform to the requirements of
4625 read-file-name. (Bug#11861)
4626 (ido-read-directory-name): Conform to the requirements of
4627 read-directory-name.
4628
d77974bf
JB
46292013-07-11 Juanma Barranquero <lekktu@gmail.com>
4630
4631 * subr.el (delay-warning): New function.
4632
35cb8a3e
EZ
46332013-07-10 Eli Zaretskii <eliz@gnu.org>
4634
4635 * simple.el (default-line-height): New function.
4636 (line-move-partial, line-move): Use it instead of computing the
4637 line height inline.
4638 (line-move-partial): Always compute ROWH. If the last line is
4639 partially-visible, but its text is completely visible, allow
4640 cursor to enter such a partially-visible line.
4641
525c5c77
MA
46422013-07-10 Michael Albinus <michael.albinus@gmx.de>
4643
4644 Improve error messages. (Bug#14808)
4645
4646 * net/tramp.el (tramp-current-connection): New defvar, moved from
4647 tramp-sh.el.
0ac26976 4648 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4649 needed anymore.
0ac26976
SM
4650 (tramp-error-with-buffer): Show message in minibuffer.
4651 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4652 (with-tramp-progress-reporter): Improve messages.
4653 (tramp-process-actions): Use progress reporter. Delete process in
4654 case of error. Improve messages.
4655
763a086d
JB
4656 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4657 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4658 (tramp-current-connection): Remove.
525c5c77
MA
4659 (tramp-maybe-open-connection): The car of
4660 `tramp-current-connection' are the first 3 slots of the vector.
4661
c7a4d368
TZ
46622013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4663
4664 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4665 inside continued strings.
4666
954b166e
PE
46672013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4668
4669 Timestamp fixes for undo (Bug#14824).
4670 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4671
56973319
LL
46722013-07-10 Leo Liu <sdl.web@gmail.com>
4673
4674 * files.el (require-final-newline): Allow safe local value.
4675 (Bug#14834)
4676
5550a72c
LL
46772013-07-09 Leo Liu <sdl.web@gmail.com>
4678
4679 * ido.el (ido-read-directory-name): Handle fallback.
4680 (ido-read-file-name): Update DIR to ido-current-directory.
4681 (Bug#1516)
c28b9050 4682 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4683
70c46b28
DG
46842013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4685
4686 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4687 "autoload". Remove "warn lower camel case" section, previously
4688 commented out. Highlight negation char. Do not highlight the
4689 target in singleton method definitions.
4690
0b64b838
SM
46912013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4692
7fd72e2c
SM
4693 * faces.el (tty-setup-hook): Declare the hook.
4694
0b64b838
SM
4695 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4696 and detect when a guard/pred depends on local vars (bug#14773).
4697 (pcase--u1): Adjust caller.
4698
ab49d60b
EZ
46992013-07-08 Eli Zaretskii <eliz@gnu.org>
4700
4701 * simple.el (line-move-partial, line-move): Account for
4702 line-spacing.
701d79aa
EZ
4703 (line-move-partial): Avoid setting vscroll when the last
4704 partially-visible line in window is of default height.
ab49d60b 4705
2d756ae0
LMI
47062013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4707
4708 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4709 been used a while.
4710
ed095bd7
JB
47112013-07-07 Juanma Barranquero <lekktu@gmail.com>
4712
4713 * subr.el (read-quoted-char): Remove unused local variable `char'.
4714
f1e6674b
MK
47152013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4716
584ee3fc
GM
4717 * ediff.el (ediff-version): Version update.
4718 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4719 (ediff-merge-with-ancestor-command, ediff-directories-command)
4720 (ediff-directories3-command, ediff-merge-directories-command)
4721 (ediff-merge-directories-with-ancestor-command): New functions.
4722 All are command-line interfaces to ediff: to facilitate calling
4723 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4724
4725 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4726 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4727
584ee3fc
GM
4728 * viper.el (viper-version): Version update.
4729 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4730
584ee3fc
GM
47312013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4734 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4735 (viper-intercept-ESC-key): Simplify.
4736 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4737 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4738 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4739 (viper-setup-ESC-to-escape): New functions.
4740 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4741 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4742
9aff9b38
EZ
47432013-07-07 Eli Zaretskii <eliz@gnu.org>
4744
5165d44a
JB
4745 * simple.el (default-font-height, window-screen-lines):
4746 New functions.
9aff9b38
EZ
4747 (line-move, line-move-partial): Use them instead of
4748 frame-char-height and window-text-height. This makes scrolling
4749 text smoother when the buffer's default face uses a font that is
4750 different from the frame's default font.
4751
1afb1d07
JD
47522013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4753
4754 * files.el (write-file): Do not display confirm dialog for NS,
4755 it does its own dialog, which can't be cancelled (Bug#14578).
4756
23de972a
EZ
47572013-07-06 Eli Zaretskii <eliz@gnu.org>
4758
4759 * simple.el (line-move-partial): Adjust the row returned by
4760 posn-at-point for the current window-vscroll. (Bug#14567)
4761
54a42486
MA
47622013-07-06 Michael Albinus <michael.albinus@gmx.de>
4763
4764 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4765 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4766 spaces.
4767
34ada5f4
MR
47682013-07-06 Martin Rudalics <rudalics@gmx.at>
4769
4770 * window.el (window-state-put-stale-windows): New variable.
4771 (window--state-put-2): Save list of windows without matching buffer.
4772 (window-state-put): Remove "bufferless" windows if possible.
4773
11e03d89
JB
47742013-07-06 Juanma Barranquero <lekktu@gmail.com>
4775
4776 * simple.el (alternatives-define): Remove leftover :group keyword.
4777 Tweak docstring.
4778
3504a4be
LL
47792013-07-06 Leo Liu <sdl.web@gmail.com>
4780
4781 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4782 (ido-enable-virtual-buffers): New variable.
4783 (ido-buffer-internal, ido-toggle-virtual-buffers)
4784 (ido-make-buffer-list): Use it.
4785 (ido-exhibit): Support turning on and off virtual buffers
4786 automatically.
4787
61e56e2c
JB
47882013-07-06 Juanma Barranquero <lekktu@gmail.com>
4789
4790 * simple.el (alternatives-define): New macro.
4791
321e1a9c
SM
47922013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * subr.el (read-quoted-char): Use read-key.
4795 (sit-for): Let read-event decode tty input (bug#14782).
4796
d610f6dd
SB
47972013-07-05 Stephen Berman <stephen.berman@gmx.net>
4798
4799 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4800 mode command and externally. Fix various related bugs.
4801 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4802 (todo-delete-file): New command.
4803 (todo-check-file): New function.
4804 (todo-show): Handle external deletion of the file we're trying to
4805 show (bug#14688). Replace called-interactively-p by an optional
4806 prefix argument to avoid problematic interaction with catch form
4807 when byte compiled (bug#14702).
4808 (todo-quit): Handle external deletion of the archive's todo file.
4809 Make sure the buffer that was visiting the archive file is still
4810 live before trying to bury it.
4811 (todo-category-completions): Handle external deletion of any
4812 category completion files.
4813 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4814 of todo files, in case of external deletion.
4815 (todo-add-file): Replace unnecessary setq by let-binding.
4816 (todo-find-archive): Check whether there are any archives.
4817 Replace unnecessary setq by let-binding.
4818 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4819 archive buffer whether or not the archive already exists.
4820 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4821 check if the archive is new; if it is, update list of archives.
4822 (todo-default-todo-file): Allow nil to be a valid value for when
4823 there are no todo files.
4824 (todo-reevaluate-default-file-defcustom): Use corrected definition
4825 of todo-default-todo-file.
4826 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4827 (todo-delete-category, todo-show-categories-table)
4828 (todo-category-number): Clarify comment.
4829 (todo-filter-items): Clarify documentation string.
4830 (todo-show-current-file, todo-display-as-todo-file)
4831 (todo-reset-and-enable-done-separator): Tweak documentation string.
4832 (todo-done-separator): Make separator length window-width, since
4833 bug#2749 is now fixed.
4834
ddbdfd6f
MA
48352013-07-05 Michael Albinus <michael.albinus@gmx.de>
4836
321e1a9c
SM
4837 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4838 Support both "gvfs-monitor-dir" and "inotifywait".
4839 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4840 `tramp-sh-file-notify-process-filter'.
4841 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4842 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4843
96eb829a
LL
48442013-07-05 Leo Liu <sdl.web@gmail.com>
4845
4846 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4847
cf13177e
YM
48482013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4849
4850 * frame.el (display-pixel-height, display-pixel-width)
4851 (display-mm-height, display-mm-width): Mention behavior on
4852 multi-monitor setups in docstrings.
4853 (w32-display-monitor-attributes-list): Declare function.
4854 (display-monitor-attributes-list): Use it.
4855
864c58ca
MA
48562013-07-04 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * filenotify.el: New package.
4859
4860 * autorevert.el (top): Require filenotify.el.
4861 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4862 instead.
4863 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4864 (auto-revert-notify-handler): Use `file-notify-*' functions.
4865
4866 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4867
321e1a9c
SM
4868 * net/tramp.el (tramp-file-name-for-operation):
4869 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4870
4871 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4872 for `file-notify-add-watch' and `file-notify-rm-watch'.
4873 (tramp-process-sentinel): Improve trace.
4874 (tramp-sh-handle-file-notify-add-watch)
4875 (tramp-sh-file-notify-process-filter)
4876 (tramp-sh-handle-file-notify-rm-watch)
4877 (tramp-get-remote-inotifywait): New defuns.
4878
96673afe
JL
48792013-07-03 Juri Linkov <juri@jurta.org>
4880
4881 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4882 call of `occur-read-primary-args' to interactive spec.
4883
4884 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4885 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4886
924494f4
MM
48872013-07-03 Matthias Meulien <orontee@gmail.com>
4888
4889 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4890 `Buffer-menu-multi-occur'. Add it to the menu.
4891 (Buffer-menu-mode): Document it in docstring.
4892 (Buffer-menu-multi-occur): New command. (Bug#14673)
4893
56f75efc
DG
48942013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4895
4896 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4897 keywords and built-ins.
4898
9b057d61
GM
48992013-07-03 Glenn Morris <rgm@gnu.org>
4900
208dee4d
GM
4901 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4902
9b057d61
GM
4903 Make info-xref checks case-sensitive by default
4904 * info.el (Info-find-node, Info-find-in-tag-table)
4905 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4906 Add option for exact case matching of nodes.
4907 * info-xref.el (info-xref): New custom group.
4908 (info-xref-case-fold): New option.
4909 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4910
e01aa29c
LL
49112013-07-03 Leo Liu <sdl.web@gmail.com>
4912
4913 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4914
3086ca2e
DG
49152013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4916
4917 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4918 middle of block statement initially, lower the depth. Remove
4919 FIXME comment, not longer valid. Remove middle of block statement
4920 detection, no need to do that anymore since we've been using
4921 `ruby-parse-region' here.
4922
a3b49114
JD
49232013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4924
4925 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4926
08e5c823 49272013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4928
4929 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4930
2addf922
JB
49312013-07-01 Juanma Barranquero <lekktu@gmail.com>
4932
4933 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4934 (desktop-restore-in-current-display): New customization option.
4935 (desktop--excluded-frame-parameters): Add `font'.
4936 (desktop--save-frames): Rename from desktop--save-windows.
4937 (desktop--restore-in-this-display-p): New function.
4938 (desktop--make-full-frame): Remove unwanted width/height from
4939 full(width|height) frames.
4940 (desktop--restore-frames): Rename from desktop--restore-windows.
4941 Obey desktop-restore-current-display. Do not delete old frames or
4942 select a new frame unless we were able to restore at least one frame.
4943
ef099a94
MN
49442013-06-30 Michal Nazarewicz <mina86@mina86.com>
4945
4946 * files.el (find-file-noselect): Simplify conditional expression.
4947
4948 * remember.el (remember-append-to-file):
4949 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4950
4951 Add `remember-notes' function to store random notes across Emacs
4952 restarts.
4953 * remember.el (remember-data-file): Add :set callback to affect
4954 notes buffer (if any).
4955 (remember-notes): New command.
4956 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4957 New defcustoms for the `remember-notes' function.
4958 (remember-notes-save-and-bury-buffer): New command.
4959 (remember-notes-mode-map): New variable.
4960 (remember-mode): New minor mode.
4961 (remember-notes--kill-buffer-query): New function.
4962 * startup.el (initial-buffer-choice): Add notes to custom type.
4963
0865d506
EZ
49642013-06-30 Eli Zaretskii <eliz@gnu.org>
4965
0ba54312
EZ
4966 * bindings.el (right-char, left-char): Don't call sit-for, this is
4967 no longer needed. Use arithmetic comparison only for numerical
4968 arguments.
4969
ef099a94
MN
4970 * international/mule-cmds.el (select-safe-coding-system):
4971 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4972
2fae38e5
LMI
49732013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4974
4975 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4976 progression on degenerate tables.
ef099a94 4977 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4978
a47cbd64
JB
49792013-06-30 Juanma Barranquero <lekktu@gmail.com>
4980
4981 Some fixes and improvements for desktop frame restoration.
4982 It is still experimental and disabled by default.
4983 * desktop.el (desktop--save-windows): Put the selected frame at
4984 the head of the list.
4985 (desktop--make-full-frame): New function.
4986 (desktop--restore-windows): Try to re-select the frame that was
4987 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4988 just show an error message and continue. Set up maximized frames
4989 so they have default non-maximized dimensions.
a47cbd64 4990
6dbafa30
DG
49912013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4992
ef099a94
MN
4993 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4994 Don't start heredoc inside a string or comment.
6dbafa30 4995
4c672a0f
EZ
49962013-06-29 Eli Zaretskii <eliz@gnu.org>
4997
4998 * bindings.el (visual-order-cursor-movement): New defcustom.
4999 (right-char, left-char): Provide visual-order cursor motion by
5000 calling move-point-visually. Update the doc strings.
5001
50960f36
KH
50022013-06-28 Kenichi Handa <handa@gnu.org>
5003
5004 * international/mule.el (define-coding-system): New coding system
5005 properties :inhibit-null-byte-detection,
5006 :inhibit-iso-escape-detection, and :prefer-utf-8.
5007 (set-buffer-file-coding-system): If :charset-list property of
5008 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5009 appropriate for setting.
5010
c1ea3abf
JB
5011 * international/mule-cmds.el (select-safe-coding-system):
5012 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5013 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5014
5015 * international/mule-conf.el (prefer-utf-8): New coding system.
5016 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5017 files.
5018
75dbaf9d
IK
50192013-06-28 Ivan Kanis <ivan@kanis.fr>
5020
eadb6068
IK
5021 * net/shr.el (shr-render-region): New function.
5022
75dbaf9d
IK
5023 * net/eww.el: Autoload `eww-browse-url'.
5024
9ea5cf9f
DG
50252013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5026
c1ea3abf
JB
5027 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5028 Adapt to `package-desc-version' being a list.
5029 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5030 archive element.
5031
39c0e36f
JB
50322013-06-27 Juanma Barranquero <lekktu@gmail.com>
5033
5034 New experimental feature to save&restore window and frame setup.
5035 * desktop.el (desktop-save-windows): New defcustom.
5036 (desktop--saved-states): New var.
5037 (desktop--excluded-frame-parameters): New defconst.
5038 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5039 (desktop--restore-windows, desktop--save-windows): New functions.
5040 (desktop-save): Call `desktop--save-windows'.
5041 (desktop-read): Call `desktop--restore-windows'.
5042
7f13406b
LMI
50432013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5044
ef099a94 5045 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5046
1e072639
SB
50472013-06-27 Stephen Berman <stephen.berman@gmx.net>
5048
5049 * info.el (Info-try-follow-nearest-node): Move search for footnote
5050 above search for node name to prevent missing a footnote (bug#14717).
5051
f3e2cbde
SB
50522013-06-27 Stephen Berman <stephen.berman@gmx.net>
5053
5054 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5055
99906aa0
LL
50562013-06-27 Leo Liu <sdl.web@gmail.com>
5057
5058 * net/eww.el (eww-read-bookmarks): Check file size.
5059
539f75f4
SM
50602013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5061
5062 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5063 advice--pending if newdef is nil or an autoload (bug#13820).
5064 (advice-mapc): New function.
5065
843571cb
LMI
50662013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5067
5068 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5069 probably.
23a75d7f 5070 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5071 (eww-add-bookmark): New command.
5072 (eww-bookmark-mode): New mode and commands.
a285ce99 5073 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5074 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5075
f2136e1e
GM
50762013-06-26 Glenn Morris <rgm@gnu.org>
5077
eab35f39
GM
5078 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5079 (hfy-size): Handle ttys. (Bug#14668)
5080
f2136e1e
GM
5081 * info-xref.el: Update for Texinfo 5 change in *note format.
5082 (info-xref-node-re, info-xref-note-re): New constants.
5083 (info-xref-check-buffer): Use info-xref-note-re.
5084
a49ff80c
SM
50852013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5086
a343d218
SM
5087 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5088
a49ff80c
SM
5089 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5090 nil terminate the loop (bug#14718).
5091
8308f184
LMI
50922013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5093
5094 * net/eww.el: Rework history traversal. When going forward/back,
5095 put these actions into the history, too, so that they can be
5096 replayed.
26bf2b82 5097 (eww-render): Move the history reset to the correct buffer.
8308f184 5098
ec64c273
JL
50992013-06-25 Juri Linkov <juri@jurta.org>
5100
5101 * files-x.el (modify-dir-local-variable): Change the header comment
5102 in the file with directory local variables. (Bug#14692)
5103
e080a9d7
JL
5104 * files-x.el (read-file-local-variable-value): Add `default'.
5105 (Bug#14710)
5106
bfbc93a1
IK
51072013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5108
5109 * net/eww.el (eww-make-unique-file-name): Create a unique file
5110 name before saving to entering `y' accidentally asynchronously.
5111
51122013-06-25 Ivan Kanis <ivan@kanis.fr>
5113
5114 * net/eww.el (eww-download): New command and keystroke.
5115
16f74f10
LMI
51162013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5117
a49ff80c 5118 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5119
5120 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5121 be more consistent with Info and dired.
5122
5123 * net/eww.el (eww-mode-map): Ditto.
5124
12059709
SM
51252013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5128 packages from archives.
5129 (package-archive-contents): Change format; include obsolete packages.
5130 (package-desc): Use `dir' to mark builtin packages.
5131 (package--from-builtin): Set the `dir' field to `builtin'.
5132 (generated-autoload-file, version-control): Declare.
5133 (package-compute-transaction): Change first arg and return value to be
5134 lists of package-descs. Adjust to new package-archive-contents format.
5135 (package--add-to-archive-contents): Adjust to new
5136 package-archive-contents format.
5137 (package-download-transaction): Arg is now a list of package-descs.
5138 (package-install): If `pkg' is a package name, pass it as
5139 a requirement, so it is subject to the usual (e.g. disabled) checks.
5140 (describe-package): Accept package-desc as well.
5141 (describe-package-1): Describe a specific package-desc. Add links to
5142 other package-descs for the same package name.
5143 (package-menu-describe-package): Pass the actual package-desc.
5144 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5145 works correctly.
5146 (package-desc-status): New function.
5147 (package-menu--refresh): New function, extracted
5148 from package-menu--generate.
5149 (package-menu--generate): Use it.
5150 (package-delete): Update package-alist.
5151 (package-menu-execute): Don't call package-initialize.
5152
5153 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5154 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5155 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5156 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5157 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5158 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5159
8bbdea0f
MR
51602013-06-25 Martin Rudalics <rudalics@gmx.at>
5161
5162 * window.el (window--state-get-1): Workaround for bug#14527.
5163 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5164
e82b0991
LMI
51652013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5166
5167 * net/eww.el (eww-back-url): Implement the history by stashing all
5168 the data into a list.
d3f0f918 5169 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5170
c763842b
SM
51712013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5174 for values and use read--expression for expressions (bug#14710).
5175 (read-file-local-variable): Avoid setq.
5176 (read-file-local-variable-mode): Use minor-mode-list.
5177
bceff189
RW
51782013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5179
864c58ca 5180 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5181 for DOI URLs.
5182
45f431c6
RW
51832013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5184
864c58ca 5185 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5186 Update imenu-support when dialect changes.
5187
f42d8237
LL
51882013-06-25 Leo Liu <sdl.web@gmail.com>
5189
5190 * ido.el (ido-read-internal): Allow forward slash on windows.
5191
be549ce6
LMI
51922013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5193
5194 * net/eww.el (eww): Start of strings is \\`, not ^.
5195
71d4c19d
IK
51962013-06-24 Ivan Kanis <ivan@kanis.fr>
5197
5196f88a
IK
5198 * net/shr.el (shr-browse-url): Fix interactive spec.
5199
71d4c19d
IK
5200 * net/eww.el (eww): Add a trailing slash to domain names.
5201
ae36ca55
JB
52022013-06-24 Juanma Barranquero <lekktu@gmail.com>
5203
5204 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5205
0ebd92a3
LMI
52062013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5207
bdaa086b
LMI
5208 * net/shr.el (shr-browse-url): Use an external browser if given a
5209 prefix.
5210
c763842b 5211 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5212
b89fc156
IK
52132013-06-24 Ivan Kanis <ivan@kanis.fr>
5214
5215 * net/eww.el (eww): Work more correctly for file: URLs.
5216 (eww-detect-charset): Allow quoted charsets.
5217 (eww-yank-page-url): New command and keystroke.
5218
18eb4bca
DU
52192013-06-24 Daiki Ueno <ueno@gnu.org>
5220
5221 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5222 file name of gpg executable.
5223 (epg-context-program): New function.
5224 (epg-context-home-directory): New function.
5225 (epg-context-set-program): New function.
5226 (epg-context-set-home-directory): New function.
5227 (epg--start): Use `epg-context-program' instead of
5228 'epg-gpg-program'.
5229 (epg--list-keys-1): Likewise.
5230
6c6268c8
LL
52312013-06-24 Leo Liu <sdl.web@gmail.com>
5232
5233 * ido.el (ido-read-internal): Fix bug#14620.
5234
5e400cb3
JB
52352013-06-23 Juanma Barranquero <lekktu@gmail.com>
5236
5237 * faces.el (face-documentation): Simplify.
5238 (read-face-attribute, tty-find-type, x-resolve-font-name):
5239 Use `string-match-p'.
5240 (list-faces-display): Use `string-match-p'. Simplify.
5241 (face-spec-recalc): Check face to avoid face alias loops.
5242 (read-color): Use `string-match-p' and non-capturing parenthesis.
5243
f3f9606c
LMI
52442013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5245
5246 * net/shr.el (shr-rescale-image): Use the new
5247 :max-width/:max-height functionality.
5248
a3ca09b9
IK
52492013-06-23 Ivan Kanis <ivan@kanis.fr>
5250
5251 * net/eww.el (eww-search-prefix): New variable.
5252 (eww): Use it.
f865b474
IK
5253 (eww-external-browser): New variable.
5254 (eww-mode-map): New keystroke.
5255 (eww-browse-with-external-browser): New command.
a3ca09b9 5256
e854cfc7
IK
5257 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5258
18bb9e21
JB
52592013-06-23 Juanma Barranquero <lekktu@gmail.com>
5260
5261 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5262 Don't skip aligning the next header field when padding is 0;
5263 otherwise, field width is not respected unless the title is as
5264 wide as the field.
5265
5b165ade
SM
52662013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * emacs-lisp/package.el (package-el-version): Remove.
5269 (package-process-define-package): Fix inf-loop.
5270 (package-install): Allow symbols as arguments again.
5271
12adebe9
DG
52722013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5273
5274 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5275 add some more keyword-like methods.
5276 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5277
388573ee
JB
52782013-06-22 Juanma Barranquero <lekktu@gmail.com>
5279
5280 * bs.el (bs-buffer-show-mark): Make defvar-local.
5281 (bs-mode): Use setq-local.
5282
5283 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5284 (emacs-lock--try-unlocking): Make defvar-local.
5285
4582a01c 52862013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5287
2663dd23
GM
5288 * play/cookie1.el (cookie-apropos): Minor simplification.
5289
3d94f3ad
GM
5290 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5291
f72e2fdb
DG
52922013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5293
5294 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5295 `regexp-opt', it breaks the build during dumping.
5296
73eab938
DG
52972013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5298
c763842b
SM
5299 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5300 Highlight keyword-like methods on Kernel and Module with
73eab938 5301 font-lock-builtin-face.
5cf8176d
DG
5302 (auto-mode-alist): Consolidate different entries into one regexp
5303 and add more *file-s.
73eab938 5304
d26255f6
SB
53052013-06-21 Stephen Berman <stephen.berman@gmx.net>
5306
5307 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5308
5309 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5310 (diary-entry): Use it in the action of this button type instead of
5311 diary-goto-entry.
5312
5313 * calendar/todo-mode.el: New version.
5314 (todo-add-category): Append new category to end of file and give
5315 it the highest number, instead of putting it at the beginning and
5316 giving it 0. Incorporate noninteractive functionality.
5317 (todo-forward-category): Adapt to 1-based category numbering.
5318 Allow skipping over archived categories.
5319 (todo-backward-category): Derive from todo-forward-category.
5320 (todo-backward-item, todo-forward-item): Make noninteractive and
5321 delegate interactive part to new commands. Make sensitive to done items.
5322 (todo-categories): Make value an alist of category names and
5323 vectors of item counts.
5324 (todo-category-beg): Make a defconst.
5325 (todo-category-number): Use 1 instead of 0 as initial value.
5326 (todo-category-select): Make sensitive to overlays, optional item
5327 highlighting and done items.
5328 (todo-delete-item): Make sensitive to overlays and marked and done items.
5329 (todo-edit-item): Make sensitive to overlays and editing of
5330 date/time header optional. Add format checks.
5331 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5332 no-op if point is not on an item. Advertise using todo-edit-quit.
5333 (todo-edit-mode): Make sensitive to new format, font-locking, and
5334 multiple todo files.
5335 (todo-insert-item, todo-insert-item-here): Derive from
5336 todo-basic-insert-item and extend functionality.
5337 (todo-item-end, todo-item-start): Make sensitive to done items.
5338 (todo-item-string): Don't return text properties. Restore point.
5339 (todo-jump-to-category): Make sensitive to multiple todo files and
5340 todo archives. Use extended category completion.
5341 (todo-lower-item, todo-raise-item): Rename to *-priority and
5342 derive from todo-set-item-priority.
5343 (todo-mode): Derive from special-mode. Make sensitive to new
5344 format, font-locking and multiple todo files. Make read-only.
5345 (todo-mode-map): Don't suppress digit keys, so they can supply
5346 prefix arguments. Add many new key bindings.
5347 (todo-prefix): Insert as an overlay instead of file text.
5348 Change semantics from diary date expression to purely visual mark.
5349 (todo-print): Rename to todo-print-buffer. Make buffer display
5350 features printable. Remove option to restrict number of items
5351 printed. Add option to print to file.
5352 (todo-print-function): Rename to todo-print-buffer-function.
5353 (todo-quit): Extend to handle exiting new todo modes.
5354 (todo-remove-item): Make sensitive to overlays.
5355 (todo-save): Extend to buffers of filtered items.
5356 (todo-show): Make sensitive to done items, multiple todo files and
5357 new todo modes. Offer to convert legacy todo file before creating
5358 first new todo file.
5359 (todo-show-priorities): Rename to todo-top-priorities.
5360 Change semantics of value 0.
5361 (todo-top-priorities): Rename to todo-filter-top-priorities,
5362 derive from todo-filter-items and extend functionality.
5363 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5364 and extend functionality to other types of filtered items.
5365 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5366 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5367 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5368 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5369 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5370 (todo-edit-mode-hook, todo-entry-prefix-function)
5371 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5372 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5373 (todo-initials, todo-insert-threshold, todo-item-string-start)
5374 (todo-line-string, todo-menu, todo-mode-hook)
5375 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5376 (todo-print-priorities, todo-remove-separator)
5377 (todo-save-top-priorities-too, todo-string-count-lines)
5378 (todo-string-multiline-p, todo-time-string-format)
5379 (todo-tmp-buffer-name): Remove.
5380 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5381 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5382 (todo-edit-category-diary-inclusion)
5383 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5384 (todo-edit-file, todo-edit-item-date-day)
5385 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5386 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5387 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5388 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5389 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5390 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5391 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5392 (todo-filter-top-priorities-multifile, todo-find-archive)
5393 (todo-find-filtered-items-file, todo-go-to-source-item)
5394 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5395 (todo-jump-to-archive-category, todo-lower-category)
5396 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5397 (todo-move-category, todo-move-item, todo-next-button)
5398 (todo-next-item, todo-padded-string, todo-powerset)
5399 (todo-previous-button, todo-previous-item)
5400 (todo-print-buffer-to-file, todo-raise-category)
5401 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5402 (todo-set-category-number, todo-set-item-priority)
5403 (todo-set-top-priorities-in-category)
5404 (todo-set-top-priorities-in-file, todo-show-categories-table)
5405 (todo-sort-categories-alphabetically-or-numerically)
5406 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5407 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5408 (todo-toggle-item-header, todo-toggle-item-highlighting)
5409 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5410 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5411 (todo-unarchive-items, todo-unmark-category): New commands.
5412 (todo-absolute-file-name, todo-add-to-buffer-list)
5413 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5414 (todo-basic-insert-item, todo-category-completions)
5415 (todo-category-number, todo-category-string-matcher-1)
5416 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5417 (todo-check-format, todo-clear-matches)
5418 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5419 (todo-current-category, todo-date-string-matcher)
5420 (todo-define-insertion-command, todo-diary-expired-matcher)
5421 (todo-diary-goto-entry, todo-diary-item-p)
5422 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5423 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5424 (todo-done-item-section-p, todo-done-separator)
5425 (todo-done-string-matcher, todo-files, todo-filter-items)
5426 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5427 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5428 (todo-insert-category-line, todo-insert-item-from-calendar)
5429 (todo-insert-sort-button, todo-insert-with-overlays)
5430 (todo-insertion-command-name, todo-insertion-key-bindings)
5431 (todo-label-to-key, todo-longest-category-name-length)
5432 (todo-make-categories-list, todo-mode-external-set)
5433 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5434 (todo-modes-set-3, todo-multiple-filter-files)
5435 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5436 (todo-read-category, todo-read-date, todo-read-dayname)
5437 (todo-read-file-name, todo-read-time)
5438 (todo-reevaluate-category-completions-files-defcustom)
5439 (todo-reevaluate-default-file-defcustom)
5440 (todo-reevaluate-filelist-defcustoms)
5441 (todo-reevaluate-filter-files-defcustom)
5442 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5443 (todo-reset-done-separator, todo-reset-done-separator-string)
5444 (todo-reset-done-string, todo-reset-global-current-todo-file)
5445 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5446 (todo-reset-prefix, todo-set-categories)
5447 (todo-set-date-from-calendar, todo-set-show-current-file)
5448 (todo-set-top-priorities, todo-short-file-name)
5449 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5450 (todo-total-item-counts, todo-update-buffer-list)
5451 (todo-update-categories-display, todo-update-categories-sexp)
5452 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5453 New functions.
5454 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5455 New major modes.
5456 (todo-categories, todo-display, todo-edit, todo-faces)
5457 (todo-filtered): New defgroups.
5458 (todo-archived-only, todo-button, todo-category-string, todo-date)
5459 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5460 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5461 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5462 (todo-add-item-if-new-category, todo-always-add-time-string)
5463 (todo-categories-align, todo-categories-archived-label)
5464 (todo-categories-category-label, todo-categories-diary-label)
5465 (todo-categories-done-label, todo-categories-number-separator)
5466 (todo-categories-todo-label, todo-categories-totals-label)
5467 (todo-category-completions-files, todo-completion-ignore-case)
5468 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5469 (todo-done-separator-string, todo-done-string)
5470 (todo-files-function, todo-filter-done-items, todo-filter-files)
5471 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5472 (todo-initial-category, todo-initial-file, todo-item-mark)
5473 (todo-legacy-date-time-regexp, todo-mode-line-function)
5474 (todo-nondiary-marker, todo-number-prefix)
5475 (todo-print-buffer-function, todo-show-current-file)
5476 (todo-show-done-only, todo-show-first, todo-show-with-done)
5477 (todo-skip-archived-categories, todo-top-priorities-overrides)
5478 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5479 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5480 New defcustoms.
5481 (todo-category-done, todo-date-pattern, todo-date-string-start)
5482 (todo-diary-items-buffer, todo-done-string-start)
5483 (todo-filtered-items-buffer, todo-item-start)
5484 (todo-month-abbrev-array, todo-month-name-array)
5485 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5486 (todo-top-priorities-buffer): New defconsts.
5487 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5488 (todo-categories-with-marks, todo-category-string-face)
5489 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5490 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5491 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5492 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5493 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5494 (todo-font-lock-keywords, todo-global-current-todo-file)
5495 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5496 (todo-insertion-commands-args)
5497 (todo-insertion-commands-args-genlist)
5498 (todo-insertion-commands-names, todo-insertion-map)
5499 (todo-key-bindings-t, todo-key-bindings-t+a)
5500 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5501 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5502 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5503 (todo-visited): New variables.
5504
cad5d1cb
GM
55052013-06-21 Glenn Morris <rgm@gnu.org>
5506
5507 * play/cookie1.el (cookie-apropos): Add optional display argument.
5508 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5509 (psychoanalyze-pinhead): Use cookie-doctor.
5510
9e277302
JB
55112013-06-21 Juanma Barranquero <lekktu@gmail.com>
5512
5513 * emacs-lisp/package.el (tar-get-file-descriptor)
5514 (tar--extract): Declare.
5515
c5b0993e
EW
55162013-06-21 Eduard Wiebe <usenet@pusto.de>
5517
5518 Extend flymake's warning predicate to be a function (bug#14217).
5519 * progmodes/flymake.el (flymake-warning-predicate): New.
5520 (flymake-parse-line): Use it.
5521 (flymake-warning-re): Make obsolete alias to
5522 `flymake-warning-predicate'.
5523
a7d2d465
SM
55242013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5527 (package-obsolete-list): Remove.
5528 (package-activate): Remove min-version argument. Add `force' argument.
5529 Adjust to new package-alist format.
5530 (package-mark-obsolete): Remove.
5531 (package-unpack): Force reload of the package's autoloads.
5532 (package-installed-p): Check builtins if the installed package is not
5533 recent enough.
5534 (package-initialize): Don't reset package-obsolete-list.
5535 Don't specify which package version to activate.
5536 (package-process-define-package, describe-package-1)
5537 (package-menu--generate): Adjust to new package-alist format.
5538
cedf5c9d
JB
55392013-06-21 Juanma Barranquero <lekktu@gmail.com>
5540
5541 * allout-widgets.el (allout-widgets-mode-off)
5542 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5543 (allout-widgets-post-command-business)
5544 (allout-widgets-after-copy-or-kill-function)
5545 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5546 (allout-decorate-item-and-context)
5547 (allout-graphics-modification-handler): Fix typos in docstrings.
5548 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5549
5550 * cmuscheme.el (scheme-start-file): Doc fix.
5551 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5552 (scheme-input-filter): Use `string-match-p'.
5553
5554 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5555
5556 * dired-x.el: Use Dired consistently in docstrings.
5557
5558 * dired.el: Use Dired consistently in docstrings.
5559 (dired-readin, dired-mode): Use `setq-local'.
5560 (dired-switches-alist): Make defvar-local.
5561 (dired-buffers-for-dir): Use `zerop'.
5562 (dired-safe-switches-p, dired-switches-escape-p)
5563 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5564 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5565 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5566 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5567 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5568 (dired-toggle-marks, dired-mark-files-containing-regexp)
5569 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5570 (dired-flag-auto-save-files, dired-flag-backup-files):
5571 Use `looking-at-p'.
5572 (dired-mark-files-regexp, dired-build-subdir-alist):
5573 Use `string-match-p', `looking-at-p'.
5574
5575 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5576 (direct-print-region-helper): Use `string-match-p'.
5577
aed838b5
LL
55782013-06-21 Leo Liu <sdl.web@gmail.com>
5579
cedf5c9d
JB
5580 * comint.el (comint-redirect-results-list-from-process):
5581 Fix infinite loop.
aed838b5 5582
d80a808f
LMI
55832013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5584
5585 * net/eww.el (eww-update-header-line-format): Quote % characters.
5586
e7a526e3
GM
55872013-06-21 Glenn Morris <rgm@gnu.org>
5588
5589 * play/cookie1.el (cookie): New custom group.
5590 (cookie-file): New option.
5591 (cookie-check-file): New function.
5592 (cookie): Make it interactive. Make start and end messages optional.
5593 Interactively, display the result. Default to cookie-file.
5594 (cookie-insert): Default to cookie-file.
5595 (cookie-snarf): Make start and end messages optional.
5596 Default to cookie-file. Use with-temp-buffer.
5597 (cookie-read): Rename from read-cookie.
5598 Make start and end messages optional. Default to cookie-file.
5599 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5600 Do not autoload it.
e7a526e3
GM
5601 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5602 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5603
62efb35e
LL
56042013-06-21 Leo Liu <sdl.web@gmail.com>
5605
5606 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5607
21e3f963
GM
56082013-06-21 Glenn Morris <rgm@gnu.org>
5609
5610 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5611
fd846ab4
SM
56122013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5613 Daniel Hackney <dan@haxney.org>
5614
5615 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5616 Consolidate the single-file vs tarball code.
5617 (package-desc-suffix): New function.
5618 (package-desc-full-name): Don't bother inlining it.
5619 (package-load-descriptor): Return the new package-desc.
5620 (package-mark-obsolete): Remove unused arg `package'.
5621 (package-unpack): Make it work for single files as well.
5622 Make it update package-alist.
5623 (package--make-autoloads-and-stuff): Rename from
5624 package--make-autoloads-and-compile. Don't compile any more.
5625 (package--compile): New function.
5626 (package-generate-description-file): New function, extracted from
5627 package-unpack-single.
5628 (package-unpack-single): Remove.
5629 (package--with-work-buffer): Add indentation and debugging info.
5630 (package-download-single): Remove.
5631 (package-install-from-archive): Rename from package-download-tar, make
5632 it take a pkg-desc, and make it work for single files as well.
5633 (package-download-transaction): Simplify.
5634 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5635 external tar program.
5636 (package-install-from-buffer): Remove `pkg-desc' argument.
5637 Use package-tar-file-info for tar-mode buffers.
5638 (package-install-file): Simplify accordingly.
5639 (package-archive-base): Change to take a pkg-desc.
5640 * tar-mode.el (tar--check-descriptor): New function, extracted from
5641 tar-get-descriptor.
5642 (tar-get-descriptor): Use it.
5643 (tar-get-file-descriptor): New function.
5644 (tar--extract): New function, extracted from tar-extract.
5645 (tar--extract): Use it.
5646 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5647 case the summary uses non-ascii. Adjust to new calling convention of
5648 package-tar-file-info.
5649
b7deae5e
LL
56502013-06-21 Leo Liu <sdl.web@gmail.com>
5651
fd846ab4
SM
5652 * comint.el (comint-redirect-results-list-from-process):
5653 Fix random delay. (Bug#14681)
b7deae5e 5654
7a65a0b2
JB
56552013-06-21 Juanma Barranquero <lekktu@gmail.com>
5656
5657 * profiler.el (profiler-format-number): Use log, not log10.
5658
1493c2af
JB
56592013-06-20 Juanma Barranquero <lekktu@gmail.com>
5660
5661 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5662
aff6371e
SM
56632013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5666 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5667 yet available.
5668 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5669 (AUTOGENEL): ... here.
5670 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5671 (cl--defsubst-expand): Use it.
5672
89561f72
PE
56732013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5674
5675 * subr.el (log10): Move here from C code, and declare as obsolete.
5676 All uses of (log10 X) replaced with (log X 10).
5677
47199123
JB
56782013-06-20 Juanma Barranquero <lekktu@gmail.com>
5679
5680 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5681 Declare with `defvar-local'.
5682 (tabulated-list-use-header-line, tabulated-list-entries)
5683 (tabulated-list-padding, tabulated-list-printer)
5684 (tabulated-list-sort-key): Declare with `defvar-local'.
5685 (tabulated-list-init-header, tabulated-list-print-fake-header):
5686 Use `setq-local'.
5687
4a172eab
MA
56882013-06-20 Michael Albinus <michael.albinus@gmx.de>
5689
47199123
JB
5690 * arc-mode.el (archive-mode): Add `archive-write-file' to
5691 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5692
5fc0acc0
JB
56932013-06-20 Juanma Barranquero <lekktu@gmail.com>
5694
d5b27848
JB
5695 * cus-edit.el (custom-commands): Fix typos.
5696 (custom-display): Fix tooltip text.
5697 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5698 Fix typos in docstrings.
5699 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5700 (custom-unlispify-menu-entry, custom-magic-value-create)
5701 (custom-add-see-also, custom-group-value-create): Use ?\s.
5702 (custom-guess-type, customize-apropos, editable-field)
5703 (custom-face-value-create): Use `string-match-p'.
5704 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5705
5706 * custom.el (custom-load-symbol): Use `string-match-p'.
5707
a5c581d8
JB
5708 * ansi-color.el: Convert to lexical binding.
5709 (ansi-colors): Fix URL.
5710 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5711 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5712 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5713
970ad972
G
57142013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5715
5716 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5717
5718 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5719
57202013-06-19 Tom Tromey <tromey@redhat.com>
5721
5722 * net/eww.el (eww-top-url): Remove.
5723 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5724 (eww-render): Set new variables. Don't set eww-top-url.
5725 (eww-handle-link): Handle "prev", "home", and "contents".
5726 Downcase the rel text.
5727 (eww-top-url): Choose best top URL.
5728
57292013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5730
5731 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5732 relying in widget.el. Using widget.el leads to too many
5733 user interface inconsistencies.
5734 (eww-self-insert): Implement entering commands in text fields.
5735 (eww-process-text-input): New function to make text input field editing
5736 work.
5737 (eww-submit): Rewrite to use the new-style form methods.
5738 (eww-select-display): Display the correct selected item.
5739 (eww-change-select): Implement changing the select value.
5740 (eww-toggle-checkbox): Implement radio/checkboxes.
5741 (eww-update-field): Fix compilation error.
5742 (eww-tag-textarea): Implement <textarea>.
5743
5744 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5745 we don't shadow mode-specific bindings.
5746
5747 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5748 nothing to push.
5749
5750 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5751
4582a01c 57522013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5753
5754 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5755
15b263dc
MA
57562013-06-19 Michael Albinus <michael.albinus@gmx.de>
5757
5758 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5759 not needed.
5760
5761 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5762
8f5297f7
LMI
57632013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5764
5765 * net/browse-url.el (browse-url-browser-function):
5766 `eww-browse-url' has the right calling signature, `eww' does not.
5767
011c4552
GM
57682013-06-19 Glenn Morris <rgm@gnu.org>
5769
2285bd27
GM
5770 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5771 Only eval autoloaded macros.
5772 (byte-compile-autoload): Only give the macro warning for macros.
5773
1d653303
GM
5774 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5775 (ps-underlined-faces): Declare.
5776
bdd779ec
GM
5777 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5778 (speedbar-add-supported-extension): Declare.
5779
011c4552
GM
5780 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5781 Don't include a date stamp in the header of the generated file;
5782 it leads to needless differences between output files.
5783
e59dfb0e
MA
57842013-06-19 Michael Albinus <michael.albinus@gmx.de>
5785
c763842b
SM
5786 * net/secrets.el (secrets-struct-secret-content-type):
5787 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5788 Some servers do not offer introspection.
e59dfb0e 5789
102626e2
SM
57902013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * electric.el (electric-pair-mode): Improve interaction with
5793 electric-layout-mode.
5794 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5795 (electric-pair-syntax): Use text-mode-syntax-table in comments
5796 and strings.
5797 (electric-pair--insert): New function.
5798 (electric-pair-post-self-insert-function): Use it and
5799 electric--after-char-pos.
5800
ad528125
LL
58012013-06-19 Leo Liu <sdl.web@gmail.com>
5802
5803 * progmodes/octave.el (octave-help): Fix regexp.
5804
924d6997
G
58052013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5806
5807 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5808 (shr-table-horizontal-line): Allow nil as a value, and change the
5809 default.
5810 (shr-insert-table-ruler): Respect the nil value.
5811
58122013-06-18 Tom Tromey <tromey@barimba>
5813
5814 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5815 New defvars.
5816 (eww-open-file): New defun.
5817 (eww-render): Initialize new variables.
5818 (eww-display-html): Handle "link" and "a".
5819 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5820 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5821 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5822 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5823 New defuns.
924d6997 5824
d1bbba4f
DG
58252013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5826
5827 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5828 Distinguish ternary operator tokens from slash symbol and slash
5829 char literal.
5830
14dd22d2
JB
58312013-06-18 Juanma Barranquero <lekktu@gmail.com>
5832
5833 Convert symbol prettification into minor mode and global minor mode.
5834
5835 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5836 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5837 (prettify-symbols--keywords): Rename from
5838 `prog-prettify-symbols-alist' and make a local defvar.
5839 (prettify-symbols--compose-symbol): Rename from
5840 `prog--prettify-font-lock-compose-symbol'.
5841 (prettify-symbols--make-keywords): Rename from
5842 `prog-prettify-font-lock-symbols-keywords' and simplify.
5843 (prog-prettify-install): Remove.
5844 (prettify-symbols-mode): New minor mode, based on
5845 `prog-prettify-install'.
5846 (turn-on-prettify-symbols-mode): New function.
5847 (global-prettify-symbols-mode): New globalized minor mode.
5848
5849 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5850 * progmodes/cfengine.el (cfengine3-mode):
5851 * progmodes/perl-mode.el (perl-mode): Don't call
5852 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5853
292c880c
JL
58542013-06-18 Juri Linkov <juri@jurta.org>
5855
5856 * files-x.el (modify-file-local-variable-message): New function.
5857 (modify-file-local-variable)
5858 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5859 and call `modify-file-local-variable-message' when it's non-nil.
5860 (add-file-local-variable, delete-file-local-variable)
5861 (add-file-local-variable-prop-line)
5862 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5863 and use it. (Bug#9820)
5864
0950aa27
JL
58652013-06-18 Juri Linkov <juri@jurta.org>
5866
5867 * emulation/vi.el (vi-shell-op):
5868 * emulation/vip.el (vip-execute-com, ex-command):
5869 * emulation/viper-cmd.el (viper-exec-bang):
5870 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5871 the call of `shell-command-on-region'. (Bug#14637)
5872
5873 * simple.el (shell-command-on-region): Doc fix.
5874
8fbcca16
SM
58752013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5878 (bug#14633).
5879
dd7426ea
GM
58802013-06-18 Glenn Morris <rgm@gnu.org>
5881
4ba54f7d
GM
5882 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5883
dd7426ea
GM
5884 * newcomment.el (comment-search-forward, comment-search-backward):
5885 Doc fix. (Bug#14376)
5886
58aa805b
JB
58872013-06-18 Juanma Barranquero <lekktu@gmail.com>
5888
5889 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5890 (buffer-face-mode-invoke): Doc fix.
5891
9a08a617
MM
58922013-06-18 Matthias Meulien <orontee@gmail.com>
5893
5894 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5895 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5896
f2f426ca
GM
58972013-06-18 Glenn Morris <rgm@gnu.org>
5898
9445f99b
GM
5899 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5900 Replace obsolete function generic-make-keywords with its expansion.
5901
e0df2d14
GM
5902 * progmodes/python.el (ffap-alist): Declare.
5903
f2f426ca
GM
5904 * textmodes/reftex.el (bibtex-mode-map): Declare.
5905
f7f9a720
SM
59062013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5909 (package-unpack, package-unpack-single): Return the pkg-dir.
5910 (package-download-transaction): Use it to update package-alist.
5911
57ff04e0
LMI
59122013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5913
5914 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5915 possible choice.
5916
c048c022
JL
59172013-06-17 Juri Linkov <juri@jurta.org>
5918
5919 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5920
b5bcaee5
DG
59212013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5922
a020afb9
JB
5923 * emacs-lisp/package.el (package-load-descriptor):
5924 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5925 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5926
551e07e5
JB
59272013-06-17 Juanma Barranquero <lekktu@gmail.com>
5928
5929 * startup.el (command-line): Expand package name returned by
5930 `package--description-file' (bug#14639).
5931
d363bffb
DG
59322013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5933
5934 * emacs-lisp/package.el (package-load-descriptor): Do not call
5935 `emacs-lisp-mode', just use its syntax table.
5936
f612933b
JB
59372013-06-17 Juanma Barranquero <lekktu@gmail.com>
5938
5939 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5940 `font-lock-extra-managed-props' if any prettifying keyword is added.
5941 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5942 (prog-mode): Use `setq-local'.
5943
db3b7db5
SM
59442013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * international/characters.el (standard-case-table): Set syntax of ?»
5947 and ?« to punctuation.
5948
f3d674df
JB
59492013-06-16 Juanma Barranquero <lekktu@gmail.com>
5950
5951 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5952 Save relevant match data before calling `syntax-ppss' (bug#14595).
5953
31489a32
JL
59542013-06-15 Juri Linkov <juri@jurta.org>
5955
5956 * files-x.el (modify-file-local-variable-prop-line): Add local
5957 variables to the end of the existing comment on the first line.
5958 Use `file-auto-mode-skip' to skip interpreter magic line,
5959 and also skip XML declaration.
5960
66bd25ab
SM
59612013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5962
5963 * startup.el (package--builtin-versions): New var.
5964 (package-subdirectory-regexp): Remove.
5965 (package--description-file): Hard code its value instead.
5966
5967 * emacs-lisp/package.el: Don't activate packages older than builtin.
5968 (package-obsolete-list): Rename from package-obsolete-alist, and make
5969 it into a simple list of package-desc.
5970 (package-strip-version): Remove.
5971 (package-built-in-p): Use package--builtin-versions.
5972 (package-mark-obsolete): Simplify.
5973 (package-process-define-package): Mark it obsolete if older than the
5974 builtin version.
5975 (package-handle-response): Use line-end-position.
5976 (package-read-archive-contents, package--download-one-archive):
5977 Simplify.
5978 (package--add-to-archive-contents): Skip if older than the builtin or
5979 installed version.
5980 (package-menu-describe-package): Fix last change.
5981 (package-list-unversioned): New var.
5982 (package-menu--generate): Use it.
5983
5984 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5985 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5986 (autoload-builtin-package-versions): New variable.
5987 (autoload-generate-file-autoloads): Use them.
5988 Remove the list of autoloaded functions/macros from the
5989 (autoload...) comments.
5990
5991 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5992
9583ec36
EZ
59932013-06-15 Eli Zaretskii <eliz@gnu.org>
5994
5995 * simple.el (line-move-partial): Don't jump to the next screen
5996 line as soon as it becomes visible. Instead, continue enlarging
5997 the vscroll until the portion of a tall screen line that's left on
5998 display is about the height of the frame's default font.
5999 (Bug#14567)
6000
f0100d8a
GM
60012013-06-15 Glenn Morris <rgm@gnu.org>
6002
b86a85ca
GM
6003 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6004 compilation-error-regexp-alist void, or local while let-bound.
6005
f0100d8a
GM
6006 * progmodes/make-mode.el (makefile-mode-syntax-table):
6007 Treat "=" as punctuation. (Bug#14614)
6008
05e7ce90
JB
60092013-06-15 Juanma Barranquero <lekktu@gmail.com>
6010
6011 * help-fns.el (describe-variable):
6012 Add extra line for permanent-local variables.
6013
12e5e86e
SH
60142013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6015
6016 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6017 Add export, import, library. (Bug#9164)
6018 (library): Set indent function.
6019
230dcbaf
GM
60202013-06-14 Glenn Morris <rgm@gnu.org>
6021
6022 * term/xterm.el (xterm--query):
6023 Stop after first matching handler. (Bug#14615)
6024
e36b2d20 60252013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6026
6027 Add support for dired in saveplace.
6028 * dired.el (dired-initial-position-hook): New variable.
6029 (dired-initial-position): Call hook to place cursor position.
6030 * saveplace.el (save-place-to-alist): Add dired position.
6031 (save-place-dired-hook): New function.
6032
0b31660d
SM
60332013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6034
bf1e6ae8
SM
6035 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6036 through a symbol rather than letrec.
6037
1b8dff23
SM
6038 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6039 (package-desc): Add `dir' field.
6040 (package-desc-full-name): New function.
6041 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6042 (package-maybe-load-descriptor): Remove.
6043 (package-load-all-descriptors): Just call package-load-descriptor.
6044 (package--disabled-p): New function.
6045 (package-desc-vers, package-desc-doc): Remove aliases.
6046 (package--dir): Remove function.
6047 (package-activate): Check if a package is disabled.
6048 (package-process-define-package): New function, extracted from
6049 define-package.
6050 (define-package): Turn into a place holder.
6051 (package-unpack-single, package-tar-file-info):
6052 Use package--description-file.
6053 (package-compute-transaction): Use package--disabled-p.
6054 (package-download-transaction): Don't call
6055 package-maybe-load-descriptor since they're all loaded anyway.
6056 (package-install): Change argument to be a pkg-desc.
6057 (package-delete): Use a single pkg-desc argument.
6058 (describe-package-1): Use package-desc-dir instead of package--dir.
6059 Use package-desc property instead of package-symbol.
6060 (package-install-button-action): Adjust accordingly.
6061 (package--push): Rewrite.
6062 (package-menu--print-info): Adjust accordingly. Change the ID format
6063 to be a pkg-desc.
6064 (package-menu-describe-package, package-menu-get-status)
6065 (package-menu--find-upgrades, package-menu-mark-upgrades)
6066 (package-menu-execute, package-menu--name-predicate):
6067 Adjust accordingly.
6068 * startup.el (package--description-file): New function.
6069 (command-line): Use it.
6070 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6071 Use package-desc-version.
6072
0b31660d
SM
6073 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6074 (byte-compile-preprocess): Use it.
6075 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6076 can't quite recognize.
6077 (byte-compile-add-to-list): Remove.
6078 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6079 (cconv-closure-convert): Add assertion.
6080
6081 * emacs-lisp/map-ynp.el: Use lexical-binding.
6082 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6083 Factor out some repeated code.
6084
de0503df
SM
60852013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6086
6087 * subr.el (with-eval-after-load): New macro.
6088 (eval-after-load): Allow form to be a function.
6089 take advantage of lexical-binding.
6090 (do-after-load-evaluation): Use dolist and adjust to new format.
6091 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6092
bc5c8c5a
JL
60932013-06-13 Juri Linkov <juri@jurta.org>
6094
6095 * replace.el (perform-replace): Display "symbol " and other search
6096 modes from `isearch-message-prefix' in the *Help* buffer.
6097
6098 * isearch.el (isearch-query-replace): Add " symbol" and other
6099 possible search modes from `isearch-message-prefix' to the prompt.
6100 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6101 when reading a regexp to collect.
6102
a22289f7
JL
61032013-06-13 Juri Linkov <juri@jurta.org>
6104
6105 * isearch.el (word-search-regexp): Match whitespace if the search
6106 string begins or ends in whitespace. The LAX arg is applied to
6107 both ends of the search string. Use `regexp-quote' and explicit
6108 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6109 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6110 boundaries are replaced with symbol boundaries, and characters
6111 between symbols match non-word non-symbol syntax. (Bug#14602)
6112
cb89acab
JL
61132013-06-13 Juri Linkov <juri@jurta.org>
6114
6115 * isearch.el (isearch-del-char): Don't exceed the length of
6116 `isearch-string' by the prefix arg. (Bug#14563)
6117
6e8cfc81
JL
61182013-06-13 Juri Linkov <juri@jurta.org>
6119
6120 * isearch.el (isearch-yank-word, isearch-yank-line)
6121 (isearch-char-by-name, isearch-quote-char)
6122 (isearch-printing-char, isearch-process-search-char):
6123 Add optional count prefix arg. (Bug#14563)
6124
6125 * international/isearch-x.el
6126 (isearch-process-search-multibyte-characters):
6127 Add optional count prefix arg.
6128
c23d55f4
VS
61292013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6132 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6133 lexical-binding.
6134
61352013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6136
6137 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6138
ba947bc4
GM
61392013-06-13 Glenn Morris <rgm@gnu.org>
6140
8baeb37a
GM
6141 * startup.el (tty-handle-args):
6142 Don't just discard "--" and anything after. (Bug#14608)
6143
ba947bc4
GM
6144 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6145
9abefce4
MA
61462013-06-13 Michael Albinus <michael.albinus@gmx.de>
6147
6148 Implement changes in Secret Service API. Make it backward compatible.
6149 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6150 (secrets-create-item): Use it. Prefix properties with interface.
6151
5755011f
MH
61522013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6153
6154 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6155 (term-emulate-terminal): Respect term-suppress-hard-newline.
6156
1261d2da
S
61572013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6158
6159 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6160 Only remove a `thumb-file' overlay. (Bug#14548)
6161
868490bb
GJ
61622013-06-12 Grégoire Jadi <daimrod@gmail.com>
6163
6164 * mail/reporter.el (reporter-submit-bug-report):
6165 Handle missing package-name. (Bug#14600)
6166
79d7167f
TH
61672013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6168
6169 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6170 (reftex-citation-prompt, reftex-default-bibliography)
6171 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6172 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6173 (reftex-bib-sort-author, reftex-bib-sort-year)
6174 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6175 (reftex-extract-bib-entries-from-thebibliography)
6176 (reftex-get-bibkey-default, reftex-get-bib-names)
6177 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6178 (reftex-format-bib-entry, reftex-parse-bibitem)
6179 (reftex-format-bibitem, reftex-do-citation)
6180 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6181 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6182 (reftex-insert-bib-matches, reftex-format-citation)
6183 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6184 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6185 existing comments into docstrings.
6186
5f9dbd7a
XF
61872013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6188
6189 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6190
94df41ab
AS
61912013-06-12 Andreas Schwab <schwab@suse.de>
6192
6193 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6194 for auto-save files.
6195
a7f3fecc
GM
61962013-06-12 Glenn Morris <rgm@gnu.org>
6197
001809f6
GM
6198 * ido.el (ido-delete-ignored-files): Remove.
6199 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6200 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6201
834b5ded
EL
62022013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6203
08c73ed2
EL
6204 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6205
834b5ded
EL
6206 * ido.el (ido-delete-ignored-files): New function,
6207 split from ido-make-file-list-1.
6208 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6209 (ido-make-file-list-1): Use ido-delete-ignored-files.
6210
daabf15a
LL
62112013-06-12 Leo Liu <sdl.web@gmail.com>
6212
6213 * progmodes/octave.el (inferior-octave-startup)
6214 (inferior-octave-completion-table)
6215 (inferior-octave-track-window-width-change)
6216 (octave-eldoc-function-signatures, octave-help)
6217 (octave-find-definition): Use single quoted strings.
6218 (inferior-octave-startup-args): Change default value.
6219 (inferior-octave-startup): Do not hard code "-i" and
6220 "--no-line-editing".
6221 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6222 (inferior-octave-directory-tracker): Use it.
6223 (octave-goto-function-definition): Robustify.
6224 (octave-help): Support highlighting operators in 'See also'.
6225 (octave-find-definition): Find subfunctions only in Octave mode.
6226
cf4e5178
SM
62272013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * help-fns.el (help-fns--compiler-macro): If the handler function is
6230 named, then put a link to it.
6231 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6232 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6233 (cl-typep): Use it.
6234 (cl-eval-when): Simplify debug spec.
6235 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6236 compiler-macro function instead of setting `compiler-macro-file'.
6237
99c81280 62382013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6239
6240 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6241 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6242
f56be016
SM
62432013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6244 Daniel Hackney <dan@haxney.org>
6245
6246 First part of Daniel Hackney's patch to package.el.
6247 * emacs-lisp/package.el: Use defstruct.
6248 (package-desc): New, main struct.
6249 (package--bi-desc, package--ac-desc): New structs, used to describe the
6250 format in external files.
6251 (package-desc-vers): Replace with package-desc-version accessor.
6252 (package-desc-doc): Replace with package-desc-summary accessor.
6253 (package-activate-1): Remove `package' arg since the pkg-vec now
6254 includes the name.
6255 (define-package): Use package-desc-from-define.
6256 (package-unpack-single): Change file-name arg to be a symbol.
6257 (package--add-to-archive-contents): Use package-desc-create and new
6258 accessor functions to package--ac-desc.
6259 (package-buffer-info, package-tar-file-info): Return a package-desc.
6260 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6261 arg to be a package-desc.
6262 (package-install-file): Adjust accordingly. Use \' to match EOS.
6263 (package--from-builtin): New function.
6264 (describe-package-1, package-menu--generate): Use it.
6265 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6266 (package-generate-autoloads): Idem and return the name of the file.
6267 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6268 Change pkg-info arg to be a package-desc.
6269 Use package-make-ac-desc.
6270 (package-upload-file): Use \' to match EOS.
6271 * finder.el (finder-compile-keywords): Use package-make-builtin.
6272
31119d63
SM
62732013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6274
931a2762
SM
6275 * vc/vc.el (vc-deduce-fileset): Change error message.
6276 (vc-read-backend): New function.
6277 (vc-next-action): Use it.
6278
5a3eb0c6
SM
6279 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6280
e3eb1bb7
SM
6281 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6282 (prolog-font-lock-keywords): Use regexp-opt instead.
6283 Don't manually highlight strings.
6284 (prolog-mode-variables): Simplify comment-start-skip.
6285 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6286
31119d63
SM
6287 * emacs-lisp/generic.el (generic--normalise-comments)
6288 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6289 (generic-mode-set-comments): Use them.
6290 (generic-bracket-support): Use setq-local.
6291 (generic-make-keywords-list): Declare obsolete.
6292
7de135d0
GM
62932013-06-11 Glenn Morris <rgm@gnu.org>
6294
6295 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6296 Prettify after setting font-lock-defaults. (Bug#14574)
6297
fa6bc6fd
JB
62982013-06-11 Juanma Barranquero <lekktu@gmail.com>
6299
6300 * replace.el (query-replace, occur-read-regexp-defaults-function)
6301 (replace-search):
6302 * subr.el (declare-function, number-sequence, local-set-key)
6303 (substitute-key-definition, locate-user-emacs-file)
6304 (with-silent-modifications, split-string, eval-after-load):
6305 Fix typos, remove unneeded backslashes and reflow some docstrings.
6306
cf1f9b9a
SM
63072013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6308
6309 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6310 default for Elisp files.
6311
56602a4b
GM
63122013-06-11 Glenn Morris <rgm@gnu.org>
6313
6314 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6315 although define-derived-mode was doing this anyway. (Bug#14583)
6316
30ae0b2c
JB
63172013-06-10 Juanma Barranquero <lekktu@gmail.com>
6318
6319 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6320 Fix make-variable-buffer-local call to refer to the correct variable.
6321
fa472906
AG
63222013-06-10 Aidan Gauland <aidalgol@amuri.net>
6323
6324 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6325 (eshell-visual-subcommands, eshell-visual-options):
6326 Add summary line to docstrings. Add cross-references.
fa472906 6327
ff4871b9
GM
63282013-06-10 Glenn Morris <rgm@gnu.org>
6329
6330 * epa.el (epa-read-file-name): New function. (Bug#14510)
6331 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6332
04fcf1b0
AG
63332013-06-09 Aidan Gauland <aidalgol@amuri.net>
6334
6335 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6336 output redirection to be ignored with visual commands.
6337
88b00caa
AG
63382013-06-09 Aidan Gauland <aidalgol@amuri.net>
6339
6340 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6341 (eshell-term-initialize): Move long lambda to separate function
6342 eshell-visual-command-p.
e7b41c4c
JB
6343 * eshell/em-dirs.el (eshell-dirs-initialise):
6344 * eshell/em-script.el (eshell-script-initialize):
6345 Add missing #' to lambda.
88b00caa 6346
fda74125
LL
63472013-06-08 Leo Liu <sdl.web@gmail.com>
6348
6349 * progmodes/octave.el (octave-add-log-current-defun): New function.
6350 (octave-mode): Set add-log-current-defun-function.
6351 (octave-goto-function-definition): Do not move point if not found.
6352 (octave-find-definition): Enhance to try subfunctions first.
6353
467f3b33
GM
63542013-06-08 Glenn Morris <rgm@gnu.org>
6355
6356 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6357 (byte-compile-backward-char, byte-compile-backward-word):
6358 Improve previous change, to handle non-explicit nil.
6359
544badc3
SM
63602013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6363 (smie--opener/closer-at-point): New function.
6364 (smie--matching-block-data): Use it. Don't match from right after an
6365 opener or right before a closer. Obey smie-blink-matching-inners.
6366 Don't signal a mismatch for repeated inners like "switch..case..case".
6367
a175bf33
LL
63682013-06-07 Leo Liu <sdl.web@gmail.com>
6369
6370 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6371 to t. (Bug#14303)
ce8209d4
LL
6372 (octave-function-header-regexp): Fix. (Bug#14570)
6373 (octave-help-mode-finish-hook, octave-help-mode-finish):
6374 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6375
6376 * newcomment.el (comment-search-backward): Revert last change.
6377 (Bug#14434)
6378
6379 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6380
a822acff
EZ
63812013-06-07 Eli Zaretskii <eliz@gnu.org>
6382
6383 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6384 through xargs, to avoid failure due to MS-Windows limitations on
6385 command-line length.
6386
961166f5
GM
63872013-06-06 Glenn Morris <rgm@gnu.org>
6388
d0341459
GM
6389 * font-lock.el (lisp-font-lock-keywords-2):
6390 Treat user-error like error.
6391
961166f5
GM
6392 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6393 (byte-compile-backward-char, byte-compile-backward-word):
6394 Handle explicit nil arguments. (Bug#14565)
6395
80fa505f
AM
63962013-06-05 Alan Mackenzie <acm@muc.de>
6397
6398 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6399 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6400 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6401 (Bug#9706)
80fa505f 6402
fccdc796
SM
64032013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * autorevert.el (auto-revert-notify-handler): Use memq.
6406 Hide assertion failure.
6407
6408 * skeleton.el: Use cl-lib.
6409 (skeleton-further-elements): Use defvar-local.
6410 (skeleton-insert): Use cl-progv.
6411
9bfff84b
TZ
64122013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6413
6414 * progmodes/prog-mode.el (prog-prettify-symbols)
6415 (prog-prettify-install): Update docstrings.
6416
55577e7c
SM
64172013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6418
6419 * simple.el: Move all the prog-mode code to prog-mode.el.
6420 * progmodes/prog-mode.el: New file.
6421 * loadup.el: Add prog-mode.el.
6422
8fc57765
TZ
64232013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6424
6425 * simple.el (prog-prettify-symbols): Add version.
6426 (prog-prettify-install): Add convenience function to prettify symbols.
6427
6428 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6429 (perl--augmented-font-lock-keywords-1)
6430 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6431 variables and use it.
6432
6433 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6434 (cfengine3-mode): Remove unneeded variable and use it.
6435
6436 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6437 (lisp--augmented-font-lock-keywords-1)
6438 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6439 Remove unneeded variables and use it.
6440
650645d5 64412013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6442
6443 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6444 to point when opening the connection. (Bug#14380)
28f5da6d 6445
781b4af6
SM
64462013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * subr.el (load-history-regexp, load-history-filename-element)
6449 (eval-after-load, after-load-functions, do-after-load-evaluation)
6450 (eval-next-after-load, display-delayed-warnings)
6451 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6452 definition of save-match-data.
6453 (overriding-local-map): Remove accidental obsolescence declaration.
6454
6455 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6456
3ca0d0b4
TZ
64572013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6458
6459 Generalize symbol prettify support to prog-mode and implement it
6460 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6461 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6462 (prog--prettify-font-lock-compose-symbol)
6463 (prog-prettify-font-lock-symbols-keywords): New variables and
6464 functions to support symbol prettification.
6465 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6466 (lisp--augmented-font-lock-keywords-1)
6467 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6468 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6469 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6470 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6471 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6472 * progmodes/perl-mode.el (perl-prettify-symbols)
6473 (perl--font-lock-compose-symbol)
6474 (perl--font-lock-symbols-keywords): Move to prog-mode.
6475 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6476 (perl-font-lock-keywords-1)
6477 (perl-font-lock-keywords-2): Remove explicit prettify support.
6478 (perl--augmented-font-lock-keywords)
6479 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6480 (perl--augmented-font-lock-keywords-2, perl-mode):
6481 Implement prettify support.
3ca0d0b4 6482
976cb066
LL
64832013-06-05 Leo Liu <sdl.web@gmail.com>
6484
6485 Re-implement smie matching block highlight using
6486 show-paren-data-function. (Bug#14395)
6487 * emacs-lisp/smie.el (smie-matching-block-highlight)
6488 (smie--highlight-matching-block-overlay)
6489 (smie--highlight-matching-block-lastpos)
6490 (smie-highlight-matching-block)
6491 (smie-highlight-matching-block-mode): Remove.
6492 (smie--matching-block-data-cache): New variable.
6493 (smie--matching-block-data): New function.
6494 (smie-setup): Use smie--matching-block-data for
6495 show-paren-data-function.
6496
6497 * progmodes/octave.el (octave-mode-menu): Fix.
6498 (octave-find-definition): Skip garbage lines.
6499
208d0342
SM
65002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 Fix compilation error with simultaneous dynamic+lexical scoping.
6503 Add warning when a defvar appears after the first let-binding.
6504 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6505 (byte-compile-close-variables): Initialize it.
6506 (byte-compile--declare-var): New function.
6507 (byte-compile-file-form-defvar)
6508 (byte-compile-file-form-define-abbrev-table)
6509 (byte-compile-file-form-custom-declare-variable): Use it.
6510 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6511 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6512 (byte-compile-bind): Handle dynamic bindings that shadow
6513 lexical bindings.
6514 (byte-compile-unbind): Make arg non-optional.
6515 (byte-compile-let): Simplify.
6516 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6517 (cconv--analyse-function, cconv-analyse-form): Populate it.
6518 Protect byte-compile-bound-variables to limit the scope of defvars.
6519 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6520 Remove unneeded rule for `declare'.
6521
6522 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6523 so as to avoid depending on cl-adjoin at run-time.
6524 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6525
6526 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6527 (macroexp--warn-and-return): Use it.
6528
2587b005
LL
65292013-06-05 Leo Liu <sdl.web@gmail.com>
6530
6531 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6532
f1da3c88
LL
65332013-06-04 Leo Liu <sdl.web@gmail.com>
6534
6535 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6536 (compilation-auto-jump): Suppress the "Mark set" message to give
6537 way to exit message.
6538
3caa391f
AM
65392013-06-04 Alan Mackenzie <acm@muc.de>
6540
6541 Remove faulty optimisation from indentation calculation.
6542 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6543 search limit based on 2000 characters back from indent-point.
6544
068922a2
TH
65452013-06-03 Tassilo Horn <tsdh@gnu.org>
6546
6547 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6548
1f8fdd53
SM
65492013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6550
bbcc4d97
SM
6551 * emacs-lisp/lisp.el: Use lexical-binding.
6552 (lisp--local-variables-1, lisp--local-variables): New functions.
6553 (lisp--local-variables-completion-table): New var.
208d0342 6554 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6555
1f8fdd53
SM
6556 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6557 eagerly (bug#14422).
6558
c9628c79
MA
65592013-06-03 Michael Albinus <michael.albinus@gmx.de>
6560
6561 * autorevert.el (auto-revert-notify-enabled)
6562 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6563 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6564 (auto-revert-notify-handler): Handle also gfilenotify.
6565
e7b41c4c 6566 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6567 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6568 Remove.
c9628c79 6569
e5e4a942
JL
65702013-06-03 Juri Linkov <juri@jurta.org>
6571
6572 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6573 `M-s h .'. (Bug#14427)
6574
6575 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6576 command `hi-lock-face-symbol-at-point'.
6577 (hi-lock-face-symbol-at-point): New command.
6578 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6579 (hi-lock-menu): Add `highlight-symbol-at-point'.
6580 (hi-lock-mode): Doc fix.
6581
6582 * isearch.el (isearch-forward-symbol-at-point): New command.
6583 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6584 (isearch-highlight-regexp): Add a regexp which matches
6585 words/symbols for word/symbol mode.
6586
6587 * subr.el (find-tag-default-bounds): New function with the body
6588 mostly moved from `find-tag-default'.
6589 (find-tag-default): Move most code to `find-tag-default-bounds',
6590 call it and apply `buffer-substring-no-properties' afterwards.
6591
26b3353a
TH
65922013-06-03 Tassilo Horn <tsdh@gnu.org>
6593
781b4af6
SM
6594 * eshell/em-term.el (eshell-term-initialize):
6595 Use `cl-intersection' rather than `intersection'.
26b3353a 6596
51b60f53
XF
65972013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6598
fe054b63 6599 * vc/log-view.el: Doc fix.
d3ffe17c 6600 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6601
a0eb10b3 66022013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6603
6604 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6605 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6606 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6607 (eieio-unbound, eieio-default-superclass)
6608 (eieio--define-field-accessors, method-static, method-before)
6609 (method-primary, method-after, method-num-lists)
6610 (method-generic-before, method-generic-primary)
6611 (method-generic-after, method-num-slots)
6612 (eieio-specialized-key-to-generic-key)
6613 (eieio--check-type, class-v, class-p)
6614 (eieio-class-name, define-obsolete-function-alias)
6615 (eieio-class-parents-fast, eieio-class-children-fast)
6616 (same-class-fast-p, class-constructor, generic-p)
6617 (generic-primary-only-p, generic-primary-only-one-p)
6618 (class-option-assoc, class-option, eieio-object-p)
6619 (class-abstract-p, class-method-invocation-order)
6620 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6621 (eieio-class-un-autoload, eieio-defclass)
6622 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6623 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6624 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6625 (eieio-defgeneric-reset-generic-form)
6626 (eieio-defgeneric-form-primary-only)
6627 (eieio-defgeneric-reset-generic-form-primary-only)
6628 (eieio-defgeneric-form-primary-only-one)
6629 (eieio-defgeneric-reset-generic-form-primary-only-one)
6630 (eieio-unbind-method-implementations)
6631 (eieio--defmethod, eieio--typep)
6632 (eieio-perform-slot-validation, eieio-validate-slot-value)
6633 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6634 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6635 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6636 (eieio-slot-name-index, eieio-class-slot-name-index)
6637 (eieio-set-defaults, eieio-initarg-to-attribute)
6638 (eieio-attribute-to-initarg, eieio-c3-candidate)
6639 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6640 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6641 (eieio-class-precedence-list, eieio-generic-call-methodname)
6642 (eieio-generic-call-arglst, eieio-generic-call-key)
6643 (eieio-generic-call-next-method-list)
6644 (eieio-pre-method-execution-functions, eieio-generic-call)
6645 (eieio-generic-call-primary-only, eieiomt-method-list)
6646 (eieiomt-optimizing-obarray, eieiomt-install)
6647 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6648 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6649 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6650 (defclass): Remove `eval-and-compile' from macro.
6651 (call-next-method, shared-initialize): Instead of using
6652 `scoped-class' variable, use new eieio--scoped-class, and
6653 eieio--with-scoped-class.
6654 (initialize-instance): Rename local variable 'scoped-class' to
6655 'this-class' to remove ambiguitity from old global.
6656
6657 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6658 eieio.el.
4f405069
JB
6659 (eieio--scoped-class-stack): New variable.
6660 (eieio--scoped-class): New fcn.
890f7890
DE
6661 (eieio--with-scoped-class): New scoping macro.
6662 (eieio-defclass): Use pushnew instead of add-to-list.
6663 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6664 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6665 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6666 `scoped-class' variable, use new eieio--scoped-class, and
6667 eieio--with-scoped-class.
6668
6669 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6670
d105b0e2
TH
66712013-06-02 Tassilo Horn <tsdh@gnu.org>
6672
6673 * eshell/esh-ext.el (eshell-external-command): Pass args to
6674 `eshell-find-interpreter'.
6675 (eshell-find-interpreter): Add new second parameter ARGS.
6676
6677 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6678 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6679
6680 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6681 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6682
6683 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6684 (eshell-visual-options): New defcustom.
6685 (eshell-escape-control-x): Adapt docstring.
6686 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6687 `eshell-visual-options' in addition to `eshell-visual-commands'.
6688 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6689
f46305c8 66902013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6691
6692 * progmodes/python.el (python-indent-block-enders): Add break,
6693 continue and raise keywords.
6694
d870df21
GM
66952013-06-01 Glenn Morris <rgm@gnu.org>
6696
9133b82e
GM
6697 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6698
02c992ec 6699 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6700 * progmodes/cc-cmds.el (delete-forward-p):
6701 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6702 * progmodes/cc-engine.el (buffer-syntactic-context):
6703 * progmodes/cc-fonts.el (face-property-instance):
6704 * progmodes/cc-mode.el (set-keymap-parents):
6705 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6706 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6707 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6708 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6709 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6710
31e7b090
GM
6711 * progmodes/cc-vars.el (other): Emacs has this widget since
6712 at least 21.1, so don't (re)define it.
6713
d870df21
GM
6714 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6715 Replace the obsolete alias pcomplete-arg-quote-list.
6716
c75c93c7
LL
67172013-06-01 Leo Liu <sdl.web@gmail.com>
6718
6719 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6720 punctuation syntax.
6721 (inferior-octave-minimal-columns)
6722 (inferior-octave-last-column-width): New variables.
6723 (inferior-octave-track-window-width-change): New function.
6724 (inferior-octave-mode): Adjust column width so that Octave output,
6725 for example from 'ls', can fit into the window nicely.
6726
973d1e12
DG
67272013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6728
6729 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6730 Highlight expansions inside regexp literals.
6731
0888c286
GM
67322013-05-31 Glenn Morris <rgm@gnu.org>
6733
e26aac1f
GM
6734 * obsolete/sym-comp.el (symbol-complete):
6735 Replace obsolete completion-annotate-function.
6736
0888c286
GM
6737 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6738
19bb8e62
DG
67392013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6740
781b4af6
SM
6741 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6742 New function, checks if point is inside a literal that allows
19bb8e62
DG
6743 expression expansion.
6744 (ruby-syntax-propertize-expansion): Use it.
6745 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6746 around the body.
6747
01dea85f
JL
67482013-05-30 Juri Linkov <juri@jurta.org>
6749
6750 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6751 to "\M-si".
6752 (isearch-invisible): New variable.
6753 (isearch-forward): Doc fix.
6754 (isearch-mode): Set `isearch-invisible'
6755 to the value of `search-invisible'.
6756 (isearch-toggle-case-fold): Doc fix.
6757 (isearch-toggle-invisible): New command.
6758 (isearch-query-replace): Let-bind `search-invisible'
6759 to the value of `isearch-invisible'.
6760 (isearch-search): Use `isearch-invisible' instead of
6761 `search-invisible'. Let-bind `search-invisible'
6762 to the value of `isearch-invisible'. (Bug#11378)
6763
ab1bdce5
JL
67642013-05-30 Juri Linkov <juri@jurta.org>
6765
6766 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6767 call when `query-flag' is nil and `search-invisible' is non-nil.
6768 (Bug#11746)
6769
d6d236e2
GM
67702013-05-30 Glenn Morris <rgm@gnu.org>
6771
8accd027
GM
6772 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6773
2a8bed1c
GM
6774 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6775 (cc-require): Suppress spurious "noruntime" warnings.
6776 (cc-require-when-compile): Use fboundp, for sake of compiler.
6777
d6d236e2
GM
6778 * progmodes/cc-mode.el: Move load of cc-vars before that of
6779 cc-langs (which in turn loads cc-vars), to quieten compiler.
6780
9190b35b
SM
67812013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * paren.el: Simplify the code.
6784 (show-paren-mode): Always start the timer.
6785 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6786 (show-paren--overlay, show-paren--overlay-1): Rename from
6787 show-paren-overlay and show-paren-overlay-1, and initialize to an
6788 overlay rather than to nil.
6789 (show-paren-function): Misc cleanup and simplifications.
6790
4f8d1cf6
SM
67912013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * paren.el (show-paren-data-function): New hook.
6794 (show-paren--default): New function, extracted from show-paren-function.
6795 (show-paren-function): Use show-paren-data-function.
6796
02d844b5
GM
67972013-05-30 Glenn Morris <rgm@gnu.org>
6798
d209d4a9
GM
6799 * ielm.el (ielm-map, ielm-complete-symbol):
6800 Use completion-at-point rather than obsolete functions.
6801 (inferior-emacs-lisp-mode): Doc fix.
6802 Set completion-at-point-functions, rather than
6803 comint-dynamic-complete-functions.
6804
2082faa6
GM
6805 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6806 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6807 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6808
dd8620de
GM
6809 * image.el (image-animated-p): Tweak definition.
6810
ceca95b1
GM
6811 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6812 (rlogin-process-connection-type): Tweak default. Add set-after.
6813 (rlogin-host): Doc fix.
6814 (rlogin): Tweak prompt.
6815 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6816
ee9f1acc
GM
6817 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6818 * progmodes/tcl.el (inferior-tcl-mode-map):
6819 Use completion-at-point rather than obsolete alias.
6820
45ce222e
GM
6821 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6822
02d844b5
GM
6823 * minibuffer.el (read-file-name-completion-ignore-case):
6824 Move before completion--in-region, for eager macro expansion.
6825
ac44d6c1
JL
68262013-05-29 Juri Linkov <juri@jurta.org>
6827
6828 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6829 for total count of matching lines. Add `global-matches' for total
6830 count of matches. Rename `matches' to `lines' for count of
6831 matching lines. Add `matches' for count of matches.
6832 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6833 to `prev-line' for line number of prev match endpt.
6834 Increment `matches' for every match. Print the number of
6835 matching lines in the header.
6836 (occur-context-lines): Rename `lines' to `curr-line'.
6837 Rename `prev-lines' to `prev-line'. (Bug#14017)
6838
3c9c9d38
JL
68392013-05-29 Juri Linkov <juri@jurta.org>
6840
6841 * replace.el (perform-replace): Add `skip-read-only-count',
6842 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6843 Increment them for corresponding conditions and report the number
6844 of skipped occurrences in the final message. (Bug#11746)
6845 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6846 (replace-string, replace-regexp): Doc fix.
6847
33e249a2
SM
68482013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6849
8e399682
SM
6850 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6851
33e249a2 6852 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6853 prog-mode-map (bug#14504).
33e249a2 6854
f236dd84
LL
68552013-05-29 Leo Liu <sdl.web@gmail.com>
6856
6857 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6858 (octave-help): Small simplification.
6859
6860 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6861 off the highlight first.
6862
3694d13f
GM
68632013-05-29 Glenn Morris <rgm@gnu.org>
6864
03983bdc
GM
6865 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6866 Handle idlwave-last-system-routine-info-cons-cell being nil.
6867
bc74a74a
GM
6868 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6869 (idlwave-write-paths): Simplify via with-temp-buffer.
6870
8b394200
GM
6871 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6872 * emulation/cua-rect.el: Also load cua-base at run time.
6873
3694d13f
GM
6874 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6875 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6876 (cperl-imenu-on-info): Require imenu.
6877
336d7284
AM
68782013-05-28 Alan Mackenzie <acm@muc.de>
6879
6880 Handle "capitalised keywords" correctly.
33e249a2 6881 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6882
cb29c582
AG
68832013-05-28 Aidan Gauland <aidalgol@amuri.net>
6884
781b4af6 6885 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6886
690e44b2
GM
68872013-05-28 Glenn Morris <rgm@gnu.org>
6888
e658d75c
GM
6889 * vc/vc-arch.el (vc-exec-after): Declare.
6890 (vc-switches): Autoload.
6891 * vc/vc-bzr.el: No need to require vc when compiling.
6892 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6893 (vc-resynch-buffer, vc-dir-refresh): Declare.
6894 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6895 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6896 (vc-resynch-buffer): Declare.
6897 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6898 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6899 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6900 (grep-read-regexp, grep-read-files, grep-expand-template)
6901 (vc-dir-refresh): Declare.
6902 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6903 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6904 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6905 * vc/vc-mtn.el (vc-exec-after): Declare.
6906 (vc-switches): Autoload.
6907 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6908 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6909 (vc-file-tree-walk): Declare.
712b9732
GM
6910 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6911 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6912 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6913 * vc/vc-svn.el (vc-exec-after): Declare.
6914 (vc-switches, vc-setup-buffer): Autoload.
6915 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6916 Autoload.
6917 (vc-resynch-buffer): Declare.
6918
98e87fb3
GM
6919 * obsolete/fast-lock.el (byte-compile-warnings):
6920 Don't warn about obsolete features in this obsolete file.
6921
f5379553
GM
6922 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6923 Move definition before use.
6924
7a20ef83
GM
6925 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6926 (dun-unix-verbs): Remove dun-zippy.
6927 (dun-zippy): Remove function.
6928
690e44b2
GM
6929 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6930
3a52ccf7
JL
69312013-05-27 Juri Linkov <juri@jurta.org>
6932
6933 * replace.el (replace-search): New function with code moved out
6934 from `perform-replace'.
6935 (replace-highlight, replace-dehighlight): Move function definitions
6936 up closer to `replace-search'. (Bug#11746)
6937
d289938a
JL
69382013-05-27 Juri Linkov <juri@jurta.org>
6939
6940 * replace.el (perform-replace): Ignore invisible matches.
6941 In addition to checking `query-replace-skip-read-only', also
6942 filter out matches by calling `run-hook-with-args-until-failure'
6943 on `isearch-filter-predicates', and also check `search-invisible'
6944 for t or call `isearch-range-invisible'.
6945 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6946
66fc57e3
JL
69472013-05-27 Juri Linkov <juri@jurta.org>
6948
6949 * isearch.el (isearch-filter-predicates): Rename from
6950 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6951 (isearch-message-prefix): Display text from the property
6952 `isearch-message-prefix' of the currently active filters.
6953 (isearch-search): Don't compare `isearch-filter-predicate' with
6954 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6955 on `isearch-filter-predicates'. Also check `search-invisible' for t
6956 or call `isearch-range-invisible'.
6957 (isearch-filter-visible): Make obsolete.
6958 (isearch-lazy-highlight-search):
6959 Call `run-hook-with-args-until-failure' on
6960 `isearch-filter-predicates' and use `isearch-range-invisible'.
6961
6962 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6963 `isearch-filter-predicates' instead of `funcall'ing
6964 `isearch-filter-predicate'.
6965 (Info-mode): Set `Info-isearch-filter' to
6966 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6967
6968 * dired-aux.el (dired-isearch-filter-predicate-orig):
6969 Remove variable.
6970 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6971 (dired-isearch-filenames-end): Add and remove
6972 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6973 instead of changing the value of `isearch-filter-predicate'.
6974 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6975 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6976 Put property `isearch-message-prefix' to "filename " on
6977 `dired-isearch-filter-filenames'.
6978
6979 * wdired.el (wdired-change-to-wdired-mode):
6980 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6981 locally instead of changing `isearch-filter-predicate'.
6982 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6983
f1a60a0f
DG
69842013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6985
6986 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6987 return the commit hash (Bug#14459). Also set the
6988 `vc-git-detached' property.
6989 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6990 (vc-git-mode-line-string): Use the same help-echo format whether
6991 in detached mode or not, because we know the actual revision now.
6992 When in detached mode, shorten the revision to 7 chars.
6993
7f17cc40
SM
69942013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * emacs-lisp/easy-mmode.el (define-minor-mode):
6997 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6998 mode hook and provide a docstring.
6999
25c8401c
AM
70002013-05-27 Alan Mackenzie <acm@muc.de>
7001
7002 Remove spurious syntax-table text properties inserted by C-y.
7003 * progmodes/cc-mode.el (c-after-change): Also clear hard
7004 syntax-table property with value nil.
7005
dde84790
MA
70062013-05-27 Michael Albinus <michael.albinus@gmx.de>
7007
7008 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7009 when reading the events; the buffer layout shall not be changed.
7010
837fd9af
LL
70112013-05-27 Leo Liu <sdl.web@gmail.com>
7012
7013 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7014 New variable.
7015 (inferior-octave-directory-tracker): Automatically re-sync
7016 default-directory.
7017 (octave-help): Improve handling of 'See also'.
7018
4fd996b3
SM
70192013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7020
416f1802
SM
7021 * doc-view.el: Minor naming convention tweaks.
7022 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7023
4fd996b3
SM
7024 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7025 even if there's no `display' property yet (bug#14435).
7026
a052ef3b
EZ
70272013-05-25 Eli Zaretskii <eliz@gnu.org>
7028
4fd996b3 7029 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7030
7031 * Makefile.in (custom-deps, finder-data, autoloads)
7032 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7033 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7034 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7035
c9023370
SM
70362013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7039 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7040 Don't burp at EOB.
c9023370 7041
24d699fa
LL
70422013-05-25 Leo Liu <sdl.web@gmail.com>
7043
7044 * comint.el (comint-previous-matching-input): Do not flood the
7045 *Messages* buffer with trivial messages.
7046
17e5c0cc
SM
70472013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * progmodes/flymake.el (flymake-nop): Don't return a string.
7050 (flymake-set-at): Fix typo.
7051
7052 * simple.el (read--expression): New function, extracted from
7053 eval-expression. Set completion-at-point-functions (bug#14465).
7054 (eval-expression, eval-minibuffer): Use it.
7055
5d028165
XF
70562013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7057
7058 * progmodes/flymake.el (flymake-save-buffer-in-file)
7059 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7060 (flymake-selected-frame, flymake-log, flymake-ins-after)
7061 (flymake-set-at, flymake-get-buildfile-from-cache)
7062 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7063 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7064 Refine the doc string.
7065 (flymake-get-file-name-mode-and-masks): Reformat.
7066 (flymake-get-real-file-name-function): Fix a minor bug.
7067
7a1d7ba7
JL
70682013-05-24 Juri Linkov <juri@jurta.org>
7069
7070 * progmodes/grep.el (grep-mode-font-lock-keywords):
7071 Support =linenumber= format used by git-grep for lines with
7072 function names. (Bug#13549)
7073
650cff3d
SM
70742013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7077 0 after a semi-colon; it works better for smie-auto-fill.
7078 (octave--indent-new-comment-line): New function.
7079 (octave-indent-new-comment-line): Use it (indirectly).
7080 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7081 modify comment-line-break-function.
7082
7083 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7084 (smie-setup): Use add-function to set it.
7085
9631677d
SS
70862013-05-24 Sam Steingold <sds@gnu.org>
7087
7088 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7089 argument (before the `interactive' argument).
7090
50105835
SM
70912013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * image-mode.el (image-mode-winprops): Add winprops to
7094 image-mode-winprops-alist before running
7095 image-mode-new-window-functions.
7096 * doc-view.el (doc-view-new-window-function): Don't delay
7097 doc-view-goto-page via timers (bug#14435).
7098
57b9823e
TH
70992013-05-24 Tassilo Horn <tsdh@gnu.org>
7100
7101 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7102 (doc-view-desktop-save-buffer): New function.
7103 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7104 (desktop-buffer-mode-handlers):
7105 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7106 handler.
7107 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7108 `desktop-save-buffer' function.
7109
91aafa16
MA
71102013-05-24 Michael Albinus <michael.albinus@gmx.de>
7111
7112 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7113 (tramp-gvfs-file-name-handler): Raise a user error when
7114 `tramp-gvfs-enabled' is nil.
7115 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7116 Do not raise a user error when loading package. (Bug#14447)
7117
ec076379
MA
7118 * net/xesam.el: Move to obsolete/.
7119
db785726
GM
71202013-05-24 Glenn Morris <rgm@gnu.org>
7121
af5c7606
GM
7122 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7123
e5d1916a
GM
7124 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7125
ded62b08
GM
7126 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7127 (Info-find-node, Man-getpage-in-background): Declare.
7128
9e614a3f
GM
7129 * mail/unrmail.el (unrmail):
7130 Replace obsolete detect-coding-with-priority.
7131
892f8ca3
GM
7132 * net/socks.el (socks-split-string): Use this rather than split-string.
7133 (socks-nslookup-host): Update for above change.
7134 (dynamic-choice, s5-dynamic-choice-match)
7135 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7136 Comment out unused code.
7137
3c291973
GM
7138 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7139 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7140 (gud-tooltip-echo-area): Make obsolete.
7141 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7142
43cc956b
GM
7143 * progmodes/js.el (js--optimize-arglist): Declare.
7144
dab49a3b
GM
7145 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7146
36b9d085
GM
7147 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7148 (ediff-window-C): Declare.
7149
e354ae76
GM
7150 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7151 Tweak requires to silence compiler.
7152
b8e57bf4
GM
7153 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7154 (he-search-string, he-tried-table, he-expand-list)
7155 (he-init-string, he-string-member, he-substitute-string)
7156 (he-reset-string): Declare.
7157
db785726
GM
7158 * obsolete/options.el (list-options): Use custom-variable-p,
7159 rather than obsolete alias.
7160
b3531901
SS
71612013-05-23 Sam Steingold <sds@gnu.org>
7162
7163 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7164 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7165 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7166
bdda4c66
SM
71672013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7168
7169 * emacs-lisp/smie.el (smie-indent-forward-token)
7170 (smie-indent-backward-token): Handle string tokens (bug#14381).
7171
c43d45f9
TH
71722013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7173
fe1eb856
RS
7174 * ielm.el (ielm-menu): New menu.
7175 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7176
fe1eb856
RS
71772013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7178
7179 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7180 Fix deactivate action.
7181
7182 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7183 Add cleveref macros.
074dd971 7184
c43d45f9
TH
7185 * lisp/textmodes/reftex-parse.el
7186 (reftex-locate-bibliography-files): Accept options for
7187 bibliography commands.
7188 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7189 Add addbibresource. Basic Biblatex support.
7190
7764286e
MA
71912013-05-23 Michael Albinus <michael.albinus@gmx.de>
7192
7193 * net/tramp-gvfs.el (top):
7194 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7195 when loading package. (Bug#14447)
7196
d361bc10
GM
71972013-05-23 Glenn Morris <rgm@gnu.org>
7198
8fa23984
GM
7199 * progmodes/js.el: No need to load comint when compiling.
7200 (ring-insert, comint-send-string, comint-send-input)
7201 (comint-last-input-end, ido-chop): Declare.
7202
a5c7df1a
GM
7203 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7204 * vc/ediff-mult.el: Adjust requires.
7205 (ediff-directories-internal, ediff-directory-revisions-internal)
7206 (ediff-patch-file-internal): Declare.
7207 * vc/ediff-ptch.el: Adjust requires.
7208 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7209 (ediff-find-file): Autoload.
7210 * vc/ediff-util.el: No need to load ediff when compiling.
7211 (ediff-regions-internal): Declare.
7212 * vc/ediff-wind.el: Adjust requires.
7213 (ediff-compute-toolbar-width): Define when compiling.
7214 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7215 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7216 (dired-get-filename, dired-get-marked-files)
7217 (ediff-last-dir-patch, ediff-patch-default-directory)
7218 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7219 (ediff-patch-buffer-internal): Declare.
7220
e2aec513
GM
7221 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7222 (ispell-process, ispell-buffer-local-words, lm-summary)
7223 (lm-section-start, lm-section-end): Declare.
7224 (checkdoc-ispell-init): Simplify.
7225
e68bbd7c
GM
7226 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7227 (he-string-member, he-reset-string, he-substitute-string): Declare.
7228
7efe0991
GM
7229 * eshell/em-ls.el: Adjust requires.
7230 (eshell-glob-regexp): Declare.
f87b1284
GM
7231 * eshell/em-tramp.el: Adjust requires.
7232 (eshell-parse-command): Autoload.
7233 * eshell/em-xtra.el: Adjust requires.
7234 (eshell-parse-command): Autoload.
7235 * eshell/esh-ext.el: Adjust requires.
7236 (eshell-parse-command, eshell-close-handles): Autoload.
7237 * eshell/esh-io.el: Adjust requires.
7238 (eshell-output-filter): Autoload.
7239 * eshell/esh-util.el: No need to load tramp when compiling.
7240 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7241 Declare.
7242 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7243 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7244 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7245 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7246 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7247 * eshell/esh-opt.el, eshell/esh-proc.el:
7248 * eshell/esh-var.el: Adjust requires.
7249 * eshell/eshell.el: Do not require esh-util twice.
7250 (eshell-add-input-to-history): Declare.
7251 (eshell-command): Check history module is active before using it.
7252
d361bc10
GM
7253 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7254
85d090a9
LL
72552013-05-22 Leo Liu <sdl.web@gmail.com>
7256
7257 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7258
5d0acd9d
MA
72592013-05-22 Michael Albinus <michael.albinus@gmx.de>
7260
7261 * autorevert.el (auto-revert-notify-add-watch)
7262 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7263 it indicates changes in file modification time.
7264
0cdffd7d
GM
72652013-05-22 Glenn Morris <rgm@gnu.org>
7266
ca5995ec
GM
7267 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7268 Always delete the autoloaded function from the noruntime and
7269 unresolved functions lists.
7270
6450907e
GM
7271 * allout.el: No need to load epa, epg, overlay when compiling.
7272 (epg-context-set-passphrase-callback, epg-list-keys)
7273 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7274 (epg-key-user-id-list): Declare.
7275
9c6906f6
GM
7276 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7277 (viper-set-parsing-style-toggling-macro)
7278 (viper-set-emacs-state-searchstyle-macros):
7279 Use called-interactively-p on Emacs.
7280 (viper-looking-back): Make it an obsolete alias. Update callers.
7281 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7282 Use looking-back rather than viper-looking-back.
7283 (viper-tmp-insert-at-eob, viper-enlarge-region)
7284 (viper-read-string-with-history, viper-register-to-point)
7285 (viper-append-to-register, viper-change-state-to-vi)
7286 (viper-backward-char-carefully, viper-forward-char-carefully)
7287 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7288 (viper-change-state-to-emacs): Declare.
7289 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7290 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7291 * emulation/viper-mous.el: Do not load viper-cmd.
7292 (viper-backward-char-carefully, viper-forward-char-carefully)
7293 (viper-forward-word, viper-adjust-window): Declare.
7294
5f70c169
GM
7295 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7296
b1b7f300
GM
7297 * progmodes/idlw-help.el (idlwave-help-fontify):
7298 Use called-interactively-p.
7299
f6ebbb46
GM
7300 * term/w32console.el (w32-get-console-codepage)
7301 (w32-get-console-output-codepage): Declare.
7302
0cdffd7d
GM
7303 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7304 Remove unnecessary declarations.
7305 (dframe-message): Doc fix.
7306
7307 * info.el (dframe-select-attached-frame, dframe-current-frame):
7308 Declare.
7309
7310 * speedbar.el (speedbar-message): Make it an obsolete alias.
7311 Update all callers.
7312 (speedbar-with-attached-buffer)
7313 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7314 (speedbar-with-writable): Use backquote.
7315 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7316 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7317 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7318 rather than speedbar- aliases.
7319 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7320 (speedbar-make-specialized-keymap, speedbar-insert-button)
7321 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7322 (speedbar-do-function-pointer): Declare.
7323 (rmail-speedbar-button, rmail-speedbar-find-file)
7324 (rmail-speedbar-move-message):
7325 Use dframe-with-attached-buffer rather than speedbar- alias.
7326 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7327 (dframe-message, speedbar-make-specialized-keymap)
7328 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7329 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7330 (speedbar-insert-button, dframe-select-attached-frame)
7331 (dframe-maybee-jump-to-attached-frame)
7332 (speedbar-change-initial-expansion-list)
7333 (speedbar-previously-used-expansion-list-name): Declare.
7334 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7335 Use dframe-message, dframe-with-attached-buffer rather than
7336 speedbar- aliases.
7337 (gud-sentinel): Silence compiler.
7338 * progmodes/vhdl-mode.el (speedbar-refresh)
7339 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7340 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7341 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7342 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7343 (speedbar-file-lists, speedbar-make-tag-line)
7344 (speedbar-line-directory, speedbar-goto-this-file)
7345 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7346 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7347 (speedbar-make-button, speedbar-reset-scanners)
7348 (speedbar-files-item-info, speedbar-line-text)
7349 (speedbar-find-file-in-frame, speedbar-set-timer)
7350 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7351 (speedbar-with-writable): Do not (re)define it.
7352 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7353 rather than speedbar- alias.
7354
ee44b62a
LL
73552013-05-21 Leo Liu <sdl.web@gmail.com>
7356
7357 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7358 menu items.
7359 (octave-mode): Tweak fill-nobreak-predicate.
7360 (inferior-octave-startup): Check process to avoid infinite loop.
7361 (inferior-octave): Pop to buffer first to show abornmal process
7362 exit information.
7363
640f050f
GM
73642013-05-21 Glenn Morris <rgm@gnu.org>
7365
79458038
GM
7366 * printing.el (pr-menu-bar): Define when compiling.
7367
9cc3e83f
LL
73682013-05-21 Leo Liu <sdl.web@gmail.com>
7369
7370 * progmodes/octave.el (octave-auto-fill): Remove.
7371 (octave-indent-new-comment-line): Improve.
7372 (octave-mode): Use auto fill mode through
4f405069 7373 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7374 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7375 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7376 (octave-help): Show parent directory.
7377
f440830d
GM
73782013-05-21 Glenn Morris <rgm@gnu.org>
7379
7380 * files.el (dired-unmark):
7381 * progmodes/gud.el (gdb-input): Update declarations.
7382
7383 * calculator.el (electric, ehelp): No need to load when compiling.
7384 (Electric-command-loop, electric-describe-mode): Declare.
7385
7386 * doc-view.el (doc-view-current-converter-processes): Move before use.
7387
7388 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7389 Move MODE-set-explicitly definition before use.
7390
7391 * international/mule-diag.el (mule-diag):
7392 Don't use obsolete window-system-version.
7393
7394 * mail/feedmail.el (smtpmail): No need to load when compiling.
7395 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7396
7397 * mail/mail-utils.el (rfc822): No need to load when compiling.
7398 (rfc822-addresses): Autoload it.
7399 (mail-strip-quoted-names): Trivial simplification.
7400
7401 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7402 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7403
7404 * net/snmp-mode.el (tempo): Don't duplicate requires.
7405
7406 * progmodes/prolog.el (info): No need to load when compiling.
7407 (comint): Require before shell requires it.
7408 (Info-goto-node): Autoload it.
7409 (Info-follow-nearest-node): Declare.
7410 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7411
7412 * textmodes/artist.el (picture-mode-exit): Declare.
7413
7414 * textmodes/reftex-parse.el (reftex-parse-from-file):
7415 Trivial rewrite so the compiler can parse it better.
7416
b4da2cbb
LL
74172013-05-20 Leo Liu <sdl.web@gmail.com>
7418
7419 * progmodes/octave.el (octave-help-mode-map)
7420 (octave-help-mode-finish-hook): New variables.
7421 (octave-help-mode, octave-help-mode-finish): New functions.
7422 (octave-help): Use octave-help-mode.
7423
33c0f65b
GM
74242013-05-20 Glenn Morris <rgm@gnu.org>
7425
7426 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7427
1a0a0a8a
DG
74282013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7429
7430 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7431 start at point, so that expansion starting right after opening
7432 slash in a regexp is recognized.
7433 (ruby-syntax-before-regexp-re): New defvar, extracted from
7434 ruby-syntax-propertize-function. Since the value of this regexp
7435 is looked up at runtime now, we should be able to turn
7436 `ruby-syntax-methods-before-regexp' into a defcustom later.
7437 (ruby-syntax-propertize-function): Split regexp matching into two
7438 parts, for opening and closing slashes. That allows us to skip
7439 over string interpolations and support multiline regexps.
7440 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7441 for them, which calls `ruby-syntax-propertize-expansion'.
7442 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7443 call to `ruby-syntax-propertize-function'.
7444 (ruby-syntax-propertize-expansion): Extracted from
7445 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7446 (ruby-syntax-propertize-percent-literal): Leave point right after
7447 the percent symbol, so that the expression expansion rule can
7448 propertize the contents.
462388b6
DG
7449 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7450 heredoc openers.
7451 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7452
c1a6c0a4
JL
74532013-05-18 Juri Linkov <juri@jurta.org>
7454
7455 * man.el (Man-default-man-entry): Remove `-' from the end
7456 of the default value. (Bug#14400)
7457
8051fccd
GM
74582013-05-18 Glenn Morris <rgm@gnu.org>
7459
7460 * comint.el (comint-password-prompt-regexp):
7461 Allow "password for XXX" where XXX contains colons (eg https://...).
7462
5e80b74f
LL
74632013-05-18 Leo Liu <sdl.web@gmail.com>
7464
7465 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7466 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7467 (octave-source-directories): Don't check process.
7468 (octave-source-directories, octave-find-definition): Doc fix.
7469
521a54c5
GM
74702013-05-18 Glenn Morris <rgm@gnu.org>
7471
86a94b05
GM
7472 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7473 Remove backspace/delete bindings. (Bug#14392)
7474
521a54c5
GM
7475 * cus-dep.el (custom-make-dependencies): Sort the output.
7476 (custom-versions-load-alist): Convert comment to doc.
7477
42caeb89
LL
74782013-05-17 Leo Liu <sdl.web@gmail.com>
7479
7480 * newcomment.el (comment-search-backward): Stricter in finding
7481 comment start. (Bug#14303)
7482
7483 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7484 (octave-comment-start-skip): Properly anchored.
7485
e219dd97
LL
74862013-05-17 Leo Liu <sdl.web@gmail.com>
7487
fe1eb856
RS
7488 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7489 Clean up when turned off. (Bug#14395)
e219dd97
LL
7490 (smie--highlight-matching-block-overlay): No longer buffer-local.
7491 (smie-highlight-matching-block): Adjust.
7492
dc5dcb4b
PE
74932013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7494
7495 Doc string fix for "nanoseconds" (Bug#14406).
7496 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7497 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7498
1db165f0
JB
74992013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7500
7501 * calc/calc-units.el (math-extract-units): Preserve powers
7502 of units.
7503
c7a8fcac
LL
75042013-05-17 Leo Liu <sdl.web@gmail.com>
7505
7506 * subr.el (delete-consecutive-dups): New function.
7507 * ido.el (ido-set-matches-1): Use it.
7508 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7509 * ido.el (ido-remove-consecutive-dups): Remove.
7510
f678b18a
SM
75112013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7514 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7515 regexp-opt's `words'.
7516
ebfe68e8
LL
75172013-05-16 Leo Liu <sdl.web@gmail.com>
7518
7519 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7520 (smie--highlight-matching-block-overlay)
7521 (smie--highlight-matching-block-lastpos)
7522 (smie--highlight-matching-block-timer): New variables.
7523 (smie-highlight-matching-block): New function.
7524 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7525 (smie-setup): Conditionally enable smie-blink-matching-open.
7526
bc8bc17d
WS
75272013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7528
7529 Sync with upstream verilog-mode r840.
7530 * progmodes/verilog-mode.el (verilog-mode-version)
7531 (verilog-mode-release-date): Update.
7532 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7533 (verilog-sig-tieoff): Fix string error on
7534 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7535 (verilog-read-decls): Fix parameters confusing
7536 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7537
df065a0b
EZ
75382013-05-16 Eli Zaretskii <eliz@gnu.org>
7539
7540 * subr.el (reveal-filename): New function.
7541
7542 * loadup.el: Compute Emacs executable versions on MS-Windows,
7543 where executables have the .exe extension. Add a hard link
7544 emacs-XX.YY.ZZ.exe on MS-Windows.
7545
7546 * Makefile.in (XARGS_LIMIT): New variable.
7547 (custom-deps, finder-data, autoloads)
7548 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7549 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7550 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7551 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7552
2d4bf34b
LL
75532013-05-16 Leo Liu <sdl.web@gmail.com>
7554
7555 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7556 (octave-mode-menu, octave-mode-map): Remove its uses.
7557
6b9c2d85
RZ
75582013-05-16 Reto Zimmermann <reto@gnu.org>
7559
7560 Sync with upstream vhdl mode v3.34.2.
7561 * progmodes/vhdl-mode.el: Use `push' throughout.
7562 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7563 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7564 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7565 (vhdl-actual-generic-name): New option to derive actual generic name.
7566 (vhdl-port-paste-signals): Replace formal by actual generics.
7567 (vhdl-beautify): New name for old group vhdl-align. Update users.
7568 (vhdl-beautify-options): New option.
7569 (vhdl-last-input-event): New compat alias. Use throughout.
7570 (vhdl-goto-line): Replace user level function `goto-line'.
7571 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7572 vhdl-fix-statement-buffer.
7573 (vhdl-create-mode-menu): Add some entries.
7574 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7575 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7576 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7577 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7578 to force statements on one line.
7579 (vhdl-remove-trailing-spaces-region):
7580 New, split from vhdl-remove-trailing-spaces.
7581 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7582 Respect vhdl-beautify-options.
7583 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7584 (vhdl-update-sensitivity-list): Not add with index if exists without.
7585 Not include array index with signal. Ignore keywords in comments.
7586 (vhdl-get-visible-signals): Regexp tweaks.
7587 (vhdl-template-component-inst): Handle empty library.
7588 (vhdl-template-type): Add template for 'enum' type.
7589 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7590 Use vhdl-replace-string.
7591 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7592 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7593 (vhdl-speedbar-initialize): Update for above name change.
7594 (vhdl-compose-wire-components): Fix in handling of constants.
7595 (vhdl-error-regexp-emacs-alist): New variable.
7596 (vhdl-error-regexp-add-emacs): New function;
7597 adds support for new compile.el (Emacs 22+)
7598 (vhdl-generate-makefile-1): Change target order for single lib. units.
7599 Allow use of absolute file names.
7600
9df4ec5e
LL
76012013-05-16 Leo Liu <sdl.web@gmail.com>
7602
7603 * simple.el (prog-indent-sexp): Indent enclosing defun.
7604
f5ba00a6
GM
76052013-05-15 Glenn Morris <rgm@gnu.org>
7606
ed8be7ff
GM
7607 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7608 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7609 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7610 (whitespace-highlight): Move to whitespace group.
7611
7612 * comint.el (comint-source):
7613 * pcmpl-linux.el (pcmpl-linux):
7614 * shell.el (shell-faces):
7615 * eshell/esh-opt.el (eshell-opt):
7616 * international/ccl.el (ccl): Remove empty custom groups.
7617
7618 * completion.el (dynamic-completion-mode):
7619 * jit-lock.el (jit-lock-debug-mode):
7620 * minibuffer.el (completion-in-region-mode):
7621 * type-break.el (type-break-mode-line-message-mode)
7622 (type-break-query-mode):
7623 * emulation/tpu-edt.el (tpu-edt-mode):
7624 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7625 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7626 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7627
7628 * term/xterm.el (xterm): Change parent group to terminals.
7629
7630 * master.el (master): Remove empty custom group.
7631 (master-mode): Remove unused :group argument.
7632 * textmodes/refill.el (refill): Remove empty custom group.
7633 (refill-mode): Remove unused :group argument.
7634
7635 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7636
82a7c41b
GM
7637 * cus-dep.el: Provide a feature.
7638 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7639 Don't mistakenly ignore files whose basenames match a basename
7640 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7641 Add a fallback method for getting :group.
f5ba00a6 7642
6d65486d
JL
76432013-05-15 Juri Linkov <juri@jurta.org>
7644
da547b32
JL
7645 * isearch.el (isearch-char-by-name): Rename from
7646 `isearch-insert-char-by-name'. Doc fix.
7647 (isearch-forward): Mention `isearch-char-by-name' in
7648 the docstring. (Bug#13348)
7649
6d65486d
JL
7650 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7651 `exit-minibuffer' instead of
7652 `isearch-nonincremental-exit-minibuffer'.
7653 (isearch-edit-string): Remove mention of
7654 `isearch-nonincremental-exit-minibuffer' from docstring.
7655 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7656 (isearch-forward-exit-minibuffer)
7657 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7658
c9990474
SM
76592013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7660
6e911150
SM
7661 * loadup.el: Just use unversioned DOC.
7662
c9990474
SM
7663 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7664 literals as extending to EOB.
7665 (nxml-last-fontify-end): Remove unused variable.
7666 (nxml-after-change1): Use with-silent-modifications.
7667 (nxml-extend-after-change-region): Simplify.
7668 (nxml-extend-after-change-region1): Remove function.
7669 (nxml-after-change1): Don't adjust for dependent regions.
7670 (nxml-fontify-matcher): Simplify.
7671 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7672 (xmltok-add-dependent): Remove function.
7673 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7674 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7675 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7676 unclosed <[[, <?, comment, and other literals as extending to EOB.
7677 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7678 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7679 Remove functions.
7680 (rng-do-some-validation-1): Don't mark dependent regions.
7681 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7682 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7683 (nxml-clear-dependent-regions): Remove functions.
7684 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7685 (nxml-ensure-scan-up-to-date):
7686 Don't clear&mark dependent regions.
7687
e3772e98
LL
76882013-05-15 Leo Liu <sdl.web@gmail.com>
7689
c9990474
SM
7690 * progmodes/octave.el (octave-goto-function-definition):
7691 Improve and fix callers.
e3772e98 7692
5ac2eb34
SM
76932013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7694
c46c57b0
SM
7695 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7696 the setter (bug#14387).
7697
5ac2eb34
SM
7698 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7699 surrounding group (bug#14402).
7700
180ed218
JL
77012013-05-14 Juri Linkov <juri@jurta.org>
7702
7703 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7704 (Bug#14390)
7705
0ac0fecb
GM
77062013-05-14 Glenn Morris <rgm@gnu.org>
7707
7708 * progmodes/f90.el (f90-imenu-generic-expression):
7709 Fix typo in 2013-05-08 change. (Bug#14402)
7710
2e78e6a7
JPG
77112013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7712
5ac2eb34
SM
7713 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7714 Remove signals for which replies are never received.
2e78e6a7 7715
53267cca
JPG
77162013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7717
7718 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7719 (gdb-handler-alist, gdb-handler-number): Remove variables.
7720 (gdb-handler-list): New variable.
7721 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7722 (gdb-pending-handler-p, gdb-handle-reply)
7723 (gdb-remove-all-pending-triggers): New functions.
7724 (gdb-discard-unordered-replies): New defcustom.
7725 (gdb-handler): New defstruct.
7726 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7727 instead of gdb-pending-triggers. Update docstring.
7728 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7729 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7730 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7731 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7732 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7733 (gdb-frame-handler): Pending triggers are now automatically managed.
7734 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7735 Remove argument.
7736 (gdb-input): Automatically handles pending triggers. Update docstring.
7737 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7738 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7739 Update comments.
7740 (gdb-done-or-error): Now use gdb-handle-reply.
7741
d04ce803
JPG
77422013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7743
7744 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7745 gdb-debug-log.
7746
0114073a
GM
77472013-05-14 Glenn Morris <rgm@gnu.org>
7748
7749 * subr.el (user-emacs-directory-warning): New option.
7750 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7751
4d25fd7e
LL
77522013-05-14 Leo Liu <sdl.web@gmail.com>
7753
7754 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7755 during redisplay.
7756 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7757 (octave-font-lock-texinfo-comment): Fix invalid search bound
7758 error: wrong side of point.
4d25fd7e 7759
27c8b6eb
GM
77602013-05-14 Glenn Morris <rgm@gnu.org>
7761
61aaeb01
GM
7762 * progmodes/flymake.el (flymake-xml-program): New option.
7763 (flymake-xml-init): Use it.
7764
5bf90bc5
GM
7765 * term/xterm.el: Provide a feature.
7766
7767 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7768
f4c7dfd2
GM
77692013-05-13 Glenn Morris <rgm@gnu.org>
7770
7771 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7772 Add compat aliases as a hack workaround. (Bug#14384)
7773
2aeb3a1d
LL
77742013-05-13 Leo Liu <sdl.web@gmail.com>
7775
b0e069c2
LL
7776 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7777 ###, and %!.
f5a9432f
LL
7778 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7779 C-M-q.
b0e069c2
LL
7780 (octave-comment-start-skip): Include %!.
7781 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7782
30ea8374
LL
77832013-05-12 Leo Liu <sdl.web@gmail.com>
7784
7785 * progmodes/octave.el (inferior-octave-startup): Store the value
7786 of __octave_srcdir__ for octave-source-directories.
7787 (inferior-octave-check-process): New function refactored out of
7788 inferior-octave-send-list-and-digest.
7789 (octave-source-directories)
7790 (octave-find-definition-filename-function): New variables.
7791 (octave-source-directories)
7792 (octave-find-definition-default-filename): New functions.
7793 (octave-find-definition): Improve to find functions implemented in C++.
7794
472a3834
GM
77952013-05-12 Glenn Morris <rgm@gnu.org>
7796
7797 * calendar/diary-lib.el (diary-outlook-format-1):
7798 Don't include dayname in the output. (Bug#14349)
7799
3191b52f
GM
78002013-05-11 Glenn Morris <rgm@gnu.org>
7801
0060ac73
GM
7802 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7803
3191b52f
GM
7804 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7805 Treat cc-provide like provide.
7806
e065ba74
KR
78072013-05-11 Kevin Ryde <user42@zip.com.au>
7808
7809 * cus-dep.el (custom-make-dependencies):
7810 Use generated-autoload-load-name for the sake of files such
7811 such cedet/semantic/bovine/c.el, where the base file name
7812 is not in load-path. (Bug#5277)
7813
36f84c37
GM
78142013-05-11 Glenn Morris <rgm@gnu.org>
7815
7816 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7817 Provide features.
7818
c8730c3a
LL
78192013-05-11 Leo Liu <sdl.web@gmail.com>
7820
7821 * progmodes/octave.el (octave-indent-comment): Improve.
7822 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7823 (octave-eldoc-function-signatures, octave-eldoc-function):
7824 New functions.
c8730c3a
LL
7825 (octave-mode, inferior-octave-mode): Add eldoc support.
7826
212e29f2
RS
78272013-05-11 Richard Stallman <rms@gnu.org>
7828
7829 * epa.el (epa-decrypt-file): Take output file name as argument
7830 and read it using `interactive'.
7831
083fe0d7
LL
78322013-05-11 Leo Liu <sdl.web@gmail.com>
7833
7834 * progmodes/octave.el (octave-beginning-of-line)
7835 (octave-end-of-line): Check before using up-list because it jumps
7836 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7837 (octave-indent-comment): New function.
7838 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7839 (octave-begin-keywords, octave-end-keywords)
7840 (octave-reserved-words, octave-smie-bnf-table)
7841 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7842
8582e4c4
GM
78432013-05-11 Glenn Morris <rgm@gnu.org>
7844
f20def1f
GM
7845 * faces.el (internal-face-x-get-resource):
7846 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7847 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7848 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7849 Fix declarations.
f20def1f 7850
445f95e2
GM
7851 * calc/calc-menu.el: Make it loadable in isolation.
7852
7853 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7854 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7855 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7856 (eudc-bbdb-query-internal): Require 'bbdb.
7857
99fb2756
GM
7858 * lpr.el (lpr-headers-switches):
7859 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7860
7861 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7862
0da7ad96
GM
7863 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7864
8582e4c4
GM
7865 * term.el (term-set-escape-char): Make it idempotent.
7866
f71c50d0
LL
78672013-05-10 Leo Liu <sdl.web@gmail.com>
7868
5ac2eb34
SM
7869 * progmodes/octave.el (inferior-octave-completion-table):
7870 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7871 completion due to bug#11906.
7872 (octave-beginning-of-defun): Re-write to be more general.
7873
d5837773
GM
78742013-05-10 Glenn Morris <rgm@gnu.org>
7875
7876 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7877
027c0f75
SM
78782013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7879
7880 * comint.el (comint-redirect-send-command-to-process): Use :around
7881 rather than :override for comint-redirect-filter.
7882 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7883 Call it instead of comint-redirect-original-filter-function (which
7884 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7885
4465bfb4
JD
78862013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7887
7888 * frame.el (display-monitor-attributes-list): Add NS case.
7889 (ns-display-monitor-attributes-list): Declare.
7890
2d809ffa 78912013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7892
7893 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7894
e54eeb9b
GM
78952013-05-09 Glenn Morris <rgm@gnu.org>
7896
56cd351d
GM
7897 * international/fontset.el (vertical-centering-font-regexp):
7898 Set standard-value.
7899
d84b6108
GM
7900 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7901
a931698a
GM
7902 * bookmark.el (bookmark-search-delay):
7903 * cus-start.el (vertical-centering-font-regexp):
7904 * ps-mule.el (ps-mule-font-info-database-default):
7905 * ps-print.el (ps-default-fg, ps-default-bg):
7906 * type-break.el (type-break-good-break-interval):
7907 * whitespace.el (whitespace-indentation-regexp)
7908 (whitespace-space-after-tab-regexp):
7909 * emacs-lisp/testcover.el (testcover-1value-functions)
7910 (testcover-noreturn-functions, testcover-progn-functions)
7911 (testcover-prog1-functions):
7912 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7913 * eshell/em-glob.el (eshell-glob-translate-alist):
7914 * play/tetris.el (tetris-tty-colors):
7915 * progmodes/cpp.el (cpp-face-default-list):
7916 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7917 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7918 (idlwave-help-browser-generic-args):
7919 * progmodes/make-mode.el (makefile-special-targets-list):
7920 * progmodes/python.el (python-shell-virtualenv-path):
7921 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7922 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7923 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7924 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7925 * textmodes/reftex-vars.el (reftex-format-label-function):
7926 * textmodes/remember.el (remember-diary-file): Fix custom types.
7927
e54eeb9b
GM
7928 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7929 Add :version.
7930
455851dd
LL
79312013-05-09 Leo Liu <sdl.web@gmail.com>
7932
7933 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7934 Restore file completion. (Bug#14300)
455851dd
LL
7935 (inferior-octave-startup): Fix incorrect highlighting for the
7936 first prompt.
7937
a9e4425b
SM
79382013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * progmodes/ruby-mode.el: First cut at SMIE support.
7941 (ruby-use-smie): New var.
7942 (ruby-smie-grammar): New constant.
7943 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7944 (ruby-smie--forward-token, ruby-smie--backward-token)
7945 (ruby-smie-rules): New functions.
7946 (ruby-mode-variables): Setup SMIE if applicable.
7947
060ca408
EZ
79482013-05-08 Eli Zaretskii <eliz@gnu.org>
7949
7950 * simple.el (line-move-visual): Signal beginning/end of buffer
7951 only if vertical-motion moved less than it was requested. Avoids
7952 silly incorrect error messages when there are display strings with
7953 multiple newlines at EOL.
7954
1d5963cc
SM
79552013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7958 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7959 (prolog-char-quote-workaround):
7960 * progmodes/cperl-mode.el (cperl-under-as-char):
7961 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7962 Mark as obsolete.
7963 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7964 their declaration.
7965 (vhdl-mode-syntax-table-init): Remove.
7966
c9990474
SM
7967 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7968 last change.
1d5963cc
SM
7969
7970 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7971 syntax for "_".
7972 (ld-script-font-lock-keywords):
7973 Change regexps to use things like \_< and \_>.
7974
7975 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7976 Change all regexps to use things like \_< and \_>.
7977
7978 * progmodes/autoconf.el (autoconf-definition-regexp)
7979 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7980 Handle a _ with symbol syntax.
7981 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7982
c9990474
SM
7983 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7984 Consolidate declaration.
1d5963cc
SM
7985 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7986 the declaration.
7987 (ada-create-syntax-table): Remove.
7988 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7989 already has the right syntax nowadays.
7990 (ada-goto-next-word): Don't change the syntax of "_".
7991
7992 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7993 with-wrapper-hook.
7994
72d3cfca
SS
79952013-05-08 Sam Steingold <sds@gnu.org>
7996
7997 * thingatpt.el (thing-at-point): Accept optional second argument
7998 NO-PROPERTIES to strip the text properties from the return value.
7999 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8000 to `thing-at-point' instead of stripping the properties ourselves.
8001 Also, when `thing-at-point' fails to find a url, prepend "http://"
8002 to the filename at point on the assumption that the user is
8003 pointing at something like gnu.org/gnu.
8004
5cb15713
JB
80052013-05-08 Juanma Barranquero <lekktu@gmail.com>
8006
8007 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8008 * faces.el (crm-separator):
8009 Silence byte-compiler.
8010
8011 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8012 (tool-bar-map): Remove unneeded defvars.
8013
ea78b95b
LL
80142013-05-08 Leo Liu <sdl.web@gmail.com>
8015
8016 Re-work a fix for bug#10994 based on Le Wang's patch.
8017 * ido.el (ido-remove-consecutive-dups): New helper.
8018 (ido-completing-read): Use it.
8019 (ido-chop): Revert fix for bug#10994.
8020
dc7466df
AS
80212013-05-08 Adam Spiers <emacs@adamspiers.org>
8022
8023 * cus-edit.el (custom-save-variables):
8024 Pretty-print long values. (Bug#14187)
8025
9ecf672a
GM
80262013-05-08 Glenn Morris <rgm@gnu.org>
8027
8028 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8029 (m4-mode-syntax-table): Init in the defvar.
8030 (m4-mode-abbrev-table): Let define-derived-mode define it.
8031
3f555be8
TT
80322013-05-08 Tom Tromey <tromey@redhat.com>
8033
8034 * progmodes/m4-mode.el (m4-mode-syntax-table):
8035 Do not treat "_" as word constituent. (Bug#14167)
8036
7cc8ae06
GM
80372013-05-07 Glenn Morris <rgm@gnu.org>
8038
4f58bc06
GM
8039 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8040 Remove explicit eshell-isearch-cancel-map.
8041
7cc8ae06
GM
8042 * progmodes/f90.el (f90-smart-end-names): New option.
8043 (f90-smart-end): Doc fix.
8044 (f90-end-block-optional-name): New constant.
8045 (f90-block-match): Respect f90-smart-end-names.
8046
ceb57e59
SM
80472013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8048
8049 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8050 about implicit semi-colons (bug#14218).
8051
4e3f9230
YM
80522013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8053
8054 * frame.el (display-monitor-attributes-list)
8055 (frame-monitor-attributes): New functions.
8056
203a5572
LL
80572013-05-06 Leo Liu <sdl.web@gmail.com>
8058
8059 * progmodes/octave.el (octave-syntax-propertize-function): Change
8060 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8061 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8062 (octave-completion-at-point): Rename from
203a5572
LL
8063 octave-completion-at-point-function.
8064 (inferior-octave-directory-tracker): Robustify.
8065 (octave-text-functions): Remove and fix its uses. No such things
8066 any more.
8067
ee6cff99
SM
80682013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * emacs-lisp/trace.el (trace--display-buffer): New function.
8071 (trace-make-advice): Use it.
8072
32985194
JL
80732013-05-06 Juri Linkov <juri@jurta.org>
8074
8075 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8076 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8077 Doc fix.
8078 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8079 in the help string. (Bug#12985)
8080
a1c700de
KD
80812013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8082
8083 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8084
c67c0839
SM
80852013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8086
323885fd
SM
8087 * progmodes/perl-mode.el: Add support for here documents.
8088 (perl-syntax-propertize-function): Match here-doc markers.
8089 (perl-syntax-propertize-special-constructs): Find their end.
8090 (perl-imenu-generic-expression): Use [:alnum:].
8091
c67c0839
SM
8092 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8093 (advice--add-function): Refresh the advice if already present
8094 (bug#14317).
8095
d491e7a8
IA
80962013-05-06 Ivan Andrus <darthandrus@gmail.com>
8097
8098 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8099
ddf9925e
GM
81002013-05-06 Glenn Morris <rgm@gnu.org>
8101
7cc3af27
GM
8102 * w32-fns.el (w32-charset-info-alist): Declare.
8103
16e343d6
GM
8104 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8105 of its defcustom properties.
8106 (eshell-cmpl-initialize): No need to load pcomplete.
8107
7d889a47
GM
8108 * generic-x.el: No need to require comint when compiling.
8109
ddf9925e
GM
8110 * net/eudc-export.el: Make it loadable without bbdb.
8111 (top-level): Use require rather than load-library.
8112 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8113 (eudc-batch-export-records-to-bbdb)
8114 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8115 Require bbdb.
8116
1e2c18df
SM
81172013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8118
8119 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8120 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8121 some tweaks, instead.
8122
02502a5f
LL
81232013-05-05 Leo Liu <sdl.web@gmail.com>
8124
8125 * progmodes/octave.el (octave-font-lock-keywords)
8126 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8127 (inferior-octave-send-list-and-digest): Improve error message.
8128 (octave-mode, inferior-octave-mode): Use setq-local.
8129 (octave-help): Set info-lookup-mode.
8130
0dc04f42
RS
81312013-05-05 Richard Stallman <rms@gnu.org>
8132
6c54491c
RS
8133 * vc/compare-w.el (compare-windows-whitespace):
8134 Treat no-break space as whitespace.
8135
0dc04f42
RS
8136 * mail/rmailsum.el (rmail-summary-rmail-update):
8137 Detect empty summary and don't change selected message.
8138 (rmail-summary-goto-msg): Likewise.
8139
df8f35df
RS
8140 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8141 Doc fixes, rename args.
8142
5356e1a3
AM
81432013-05-05 Alan Mackenzie <acm@muc.de>
8144
8145 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8146
d44014cb
JL
81472013-05-05 Juri Linkov <juri@jurta.org>
8148
8149 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8150 to not add the length of the summary segment to the return value.
8151 (Bug#14125)
8152
c129b51f
LL
81532013-05-05 Leo Liu <sdl.web@gmail.com>
8154
8155 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8156 (inferior-octave-output-filter): Remove.
8157 (octave-send-region, inferior-octave-startup): Fix callers.
8158 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8159 (octave-binary-file-extensions): New user variable.
8160 (octave-find-definition): Confirm if opening binary files.
8161 (octave-help-file): Use octave-find-definition to get the binary
8162 confirmation.
8163 (octave-help): Adjust for octave-help-file change.
8164
aa7dab97
SM
81652013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8166
8167 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8168 Merge the two entries that handle function definitions.
8169 (pascal--syntax-propertize): New const.
8170 (pascal-mode): Use it. Use setq-local.
8171
fd3a9a6b
GM
81722013-05-04 Glenn Morris <rgm@gnu.org>
8173
8174 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8175 (diary-from-outlook): Respect diary-from-outlook-function.
8176
30c7e542
SM
81772013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8180 Move the declaration from C.
8181 (read-minibuffer, eval-minibuffer): Move from C.
8182 (completion-setup-function): Avoid minibuffer-completion-contents.
8183
b54f978b
LL
81842013-05-03 Leo Liu <sdl.web@gmail.com>
8185
8186 * progmodes/octave.el (octave-font-lock-keywords): Do not
8187 dehighlight 'end' in comments or strings.
30c7e542
SM
8188 (octave-completing-read, octave-goto-function-definition):
8189 New helpers.
d4d0f9b3
LL
8190 (octave-help-buffer): New user variable.
8191 (octave-help-file, octave-help-function): New button types.
8192 (octave-help): New command and bind it to C-h ;.
8193 (octave-find-definition): New command and bind it to M-.
d74a1581 8194 (user-error): Alias to error if not defined.
b54f978b 8195
27135018
LL
81962013-05-02 Leo Liu <sdl.web@gmail.com>
8197
8198 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8199 for \. (bug#14332)
8200 (octave-font-lock-keywords): Include [ and {.
8201
0d634d3a
LL
82022013-05-02 Leo Liu <sdl.web@gmail.com>
8203
8204 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8205 (inferior-octave): Remove calling comint-mode and return the buffer.
8206 (inferior-octave-startup): Cosmetic changes.
8207
b4c8295e
LL
82082013-05-02 Leo Liu <sdl.web@gmail.com>
8209
30c7e542
SM
8210 * progmodes/octave.el (octave-syntax-propertize-function):
8211 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8212
f12ad6ec
GM
82132013-05-02 Glenn Morris <rgm@gnu.org>
8214
8215 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8216 * desktop.el (vc-dir-mode): Just autoload it here.
8217
30cac1e0
AM
82182013-05-02 Alan Mackenzie <acm@muc.de>
8219
8220 Eliminate variable c-standard-font-lock-fontify-region-function.
8221 * progmodes/cc-mode.el
8222 (c-standard-font-lock-fontify-region-function): Remove.
8223 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8224
d8ef28b1
LL
82252013-05-01 Leo Liu <sdl.web@gmail.com>
8226
2640d52e 8227 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8228 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8229 variables were removed from Octave in 2007.
d8ef28b1
LL
8230 (inferior-octave-startup): Fix uses.
8231 (comint-line-beginning-position): Remove compatibility code for
8232 emacs 21.
8233
ac63ec89
JL
82342013-05-01 Juri Linkov <juri@jurta.org>
8235
8236 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8237
9e9be37c
JL
82382013-05-01 Juri Linkov <juri@jurta.org>
8239
8240 * comint.el (comint-previous-matching-input): Don't print message
8241 "History item: %d" when `isearch-mode' is active.
8242 (comint-history-isearch-message): Print message "History item: %d"
8243 when `comint-input-ring-index' is not empty and this function is
8244 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8245
9b92c13b
LL
82462013-05-01 Leo Liu <sdl.web@gmail.com>
8247
8248 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8249 definitions. Use completion-at-point to insert keywords.
8250 (octave-abbrev-start): Remove.
8251 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8252
b12d33d7
LL
82532013-04-30 Leo Liu <sdl.web@gmail.com>
8254
8255 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8256 change.
8257
3d1c39fa
AM
82582013-04-30 Alan Mackenzie <acm@muc.de>
8259
8260 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8261 * progmodes/cc-engine.el (c-back-over-member-initializers):
8262 new function.
3d1c39fa
AM
8263 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8264 (most) member init lists.
8265
5147fc17
RS
82662013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8267
8268 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8269 variable.
8270
5b78d7fc
LL
82712013-04-30 Leo Liu <sdl.web@gmail.com>
8272
8273 * progmodes/octave.el (octave-variables): Remove. No builtin
8274 variables any more. All converted to functions.
8275 (octave-font-lock-keywords, octave-completion-at-point-function):
8276 Fix uses.
8277 (octave-font-lock-texinfo-comment): New user variable.
8278 (octave-texinfo-font-lock-keywords): New variable for texinfo
8279 comment block.
8280 (octave-function-comment-block): New face.
8281 (octave-font-lock-texinfo-comment): New function.
8282 (octave-mode): Font lock texinfo comment block.
8283
38d8527b
LL
82842013-04-29 Leo Liu <sdl.web@gmail.com>
8285
8286 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8287 indexing expression.
8288 (octave-continuation-string): Do not use \.
8289 (inferior-octave-complete-impossible): Remove.
8290 (inferior-octave-completion-table)
8291 (inferior-octave-completion-at-point): Remove its uses.
8292 (inferior-octave-startup): completion_matches was introduced to
8293 Octave in 1996 so safe to assume it.
8294 (octave-function-file-comment): Improve to follow how Octave does it.
8295 (octave-update-function-file-comment): Tweak.
8296
2ec12cb0
LL
82972013-04-29 Leo Liu <sdl.web@gmail.com>
8298
8299 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8300 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8301 (octave-function-file-comment): Fix typo.
8302 (octave-sync-function-file-names): Use read-char-choice.
8303
6eaed048
JB
83042013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8305
8306 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8307 to t for the less important warnings.
8308
3ffa2d4f
DH
83092013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8310
8311 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8312
685c9501
GM
83132013-04-27 Glenn Morris <rgm@gnu.org>
8314
8315 * vc/log-view.el (log-view-current-entry):
8316 Treat "---" separator lines as part of the following rev. (Bug#14169)
8317
0208ede7
JL
83182013-04-27 Juri Linkov <juri@jurta.org>
8319
8320 * subr.el (read-number): Doc fix about using it by interactive
8321 code letter `n'. (Bug#14254)
8322
5db9dace
JL
83232013-04-27 Juri Linkov <juri@jurta.org>
8324
8325 * desktop.el (desktop-auto-save-timeout): New option.
8326 (desktop-file-checksum): New variable.
8327 (desktop-save): Add optional arg `auto-save' and don't auto-save
8328 if nothing changed.
8329 (desktop-auto-save-timer): New variable.
8330 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8331 (after-init-hook): Call `desktop-auto-save-set-timer'.
8332 Suggested by Reuben Thomas <rrt@sc3d.org> in
8333 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8334
b7260dd4
LL
83352013-04-27 Leo Liu <sdl.web@gmail.com>
8336
8337 * progmodes/octave.el (octave-function-file-p)
8338 (octave-skip-comment-forward, octave-function-file-comment)
8339 (octave-update-function-file-comment): New functions.
8340 (octave-mode-map): Bind C-c ; to
8341 octave-update-function-file-comment.
8342 (octave-mode-menu): Add octave-update-function-file-comment.
8343 (octave-mode, inferior-octave-mode): Fix doc-string.
8344 (octave-insert-defun): Conform to Octave's coding convention.
8345 (Bug#14285)
8346
8347 * files.el (basic-save-buffer): Don't let errors in
8348 before-save-hook prevent saving buffer.
8349
c46da669
RW
83502013-04-20 Roland Winkler <winkler@gnu.org>
8351
8352 * faces.el (read-face-name): Use completing-read if arg multiple
8353 is nil.
8354
a81ee1eb
IL
83552013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8356
8357 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8358 displayed, move point to after the totals line.
8359 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8360 for the details.
8361
4fac34ce
SM
83622013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8365 Add current dir to the load-path.
8366 (package-generate-autoloads): Don't rely on
8367 autoload-ensure-default-file.
8368
f6bfc063
RT
83692013-04-26 Reuben Thomas <rrt@sc3d.org>
8370
d40ab5cf
BG
8371 * textmodes/remember.el (remember-store-in-files): Document that
8372 the file name format is passed to `format-time-string'.
f6bfc063 8373
e55d3b04
LL
83742013-04-26 Leo Liu <sdl.web@gmail.com>
8375
8376 * progmodes/octave.el (octave-sync-function-file-names): New function.
8377 (octave-mode): Use it in before-save-hook.
8378
e53052d3
SM
83792013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8380
140ef50c
SM
8381 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8382 (bug#14274).
8383
e53052d3
SM
8384 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8385 \n and comment, even if it's not an implicit ; (bug#14218).
8386
af80458d 83872013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8388
8389 * subr.el (read-number): Once more use `read' rather than
8390 `string-to-number', to trap non-numeric input. (Bug#14254)
8391
af80458d 83922013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8393
8394 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8395 Use `syntax-multiline' text property consistently instead of
8a621d53 8396 `font-lock-multiline'. (Bug#14237)
70203c2e 8397
e6ea1f6c
GM
83982013-04-26 Glenn Morris <rgm@gnu.org>
8399
8400 * emacs-lisp/shadow.el (list-load-path-shadows):
8401 No longer necessary to check for duplicate simple.el, since
8402 2012-07-07 change to init_lread to not include installation lisp
8403 directories in load-path when running uninstalled. (Bug#14270)
8404
070ccca4
LL
84052013-04-26 Leo Liu <sdl.web@gmail.com>
8406
8407 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8408 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8409 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8410 octave-in-string-or-comment-p.
8411 (octave-in-comment-p, octave-in-string-p)
8412 (octave-in-string-or-comment-p): Replace defsubst with defun.
8413
9d1c5fb6
PE
84142013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8415
8416 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8417
c034abda
BG
84182013-04-25 Bastien Guerry <bzg@gnu.org>
8419
8420 * textmodes/remember.el (remember-data-directory)
8421 (remember-directory-file-name-format): Fix custom types.
8422
584ea277
LL
84232013-04-25 Leo Liu <sdl.web@gmail.com>
8424
e53052d3
SM
8425 * progmodes/octave.el (octave-completion-at-point-function):
8426 Make use of inferior octave process.
584ea277
LL
8427 (octave-initialize-completions): Remove.
8428 (inferior-octave-completion-table): New function.
8429 (inferior-octave-completion-at-point): Use it.
8430 (octave-completion-alist): Remove.
8431
1693b06a
SM
84322013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8433
8434 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8435 (opascal-mode-syntax-table): New var.
8436 (opascal-literal-kind, opascal-is-literal-end)
8437 (opascal-literal-token-at): Rewrite.
8438 (opascal--literal-start-re, opascal-font-lock-keywords)
8439 (opascal--syntax-propertize): New constants.
8440 (opascal-font-lock-defaults): Adjust.
8441 (opascal-mode): Use them. Set comment-<foo> variables as well.
8442 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8443 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8444 (delphi-other-face, opascal-other-face): Remove face variables.
8445 (opascal-save-state): Remove macro.
8446 (opascal-fontifying-progress-step): Remove constant.
8447 (opascal--ignore-changes): Remove var.
8448 (opascal-set-token-property, opascal-parse-next-literal)
8449 (opascal-is-stable-literal, opascal-complete-literal)
8450 (opascal-is-literal-start, opascal-face-of)
8451 (opascal-parse-region, opascal-parse-region-until-stable)
8452 (opascal-fontify-region, opascal-after-change)
8453 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8454 (opascal-debug-parse-region, opascal-debug-parse-window)
8455 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8456 (opascal-debug-fontify-buffer): Remove.
8457 (opascal-debug-mode-map): Adjust accordingly.
8458
be64c05d
LL
84592013-04-25 Leo Liu <sdl.web@gmail.com>
8460
8461 Merge octave-mod.el and octave-inf.el into octave.el with some
8462 cleanups.
8463 * progmodes/octave.el: New file renamed from octave-mod.el.
8464 * progmodes/octave-inf.el: Merged into octave.el.
8465 * progmodes/octave-mod.el: Renamed to octave.el.
8466
d79d37bd
TH
84672013-04-25 Tassilo Horn <tsdh@gnu.org>
8468
8469 * textmodes/reftex-vars.el
8470 (reftex-label-ignored-macros-and-environments): New defcustom.
8471
8472 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8473
ced3fc5d
SM
84742013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8477 (smie-indent-keyword): Improve the check to ensure that the next
8478 comment is really on the same line.
8479 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8480
8481 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8482 semi-colons if the line is not otherwise empty (bug#14218).
8483
1c141dad
GM
84842013-04-25 Glenn Morris <rgm@gnu.org>
8485
8486 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8487
5058062a
SM
84882013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8489
8490 * progmodes/opascal.el (opascal-set-token-property): Rename from
8491 opascal-set-text-properties and only set `token' (bug#14134).
8492 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8493 (opascal-literal-text-properties): Remove.
8494 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8495 Adjust callers.
8496
5db9dace 84972013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8498
8499 * textmodes/remember.el (remember-handler-functions): Add an
8500 option for a new handler `remember-store-in-files'.
8501 (remember-data-directory, remember-directory-file-name-format):
8502 New options.
8503 (remember-store-in-files): New function to store remember notes
8504 as separate files within a directory.
8505
4391916c
MH
85062013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8507
8508 * progmodes/compile.el (compilation-next-error-function):
8509 Pass "formats" to compilation-find-file (bug#11777).
8510
bb7cdf58
GM
85112013-04-24 Glenn Morris <rgm@gnu.org>
8512
3b8fe752 8513 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8514 * vc/vc-hg.el (vc-hg-print-log):
8515 * vc/vc-svn.el (vc-svn-print-log):
8516 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8517
bb7cdf58
GM
8518 * vc/vc-bzr.el (vc-bzr-print-log):
8519 * vc/vc-cvs.el (vc-cvs-print-log):
8520 * vc/vc-git.el (vc-git-print-log):
8521 * vc/vc-hg.el (vc-hg-print-log):
8522 * vc/vc-mtn.el (vc-mtn-print-log):
8523 * vc/vc-rcs.el (vc-rcs-print-log):
8524 * vc/vc-sccs.el (vc-sccs-print-log):
8525 * vc/vc-svn.el (vc-svn-print-log):
8526 * vc/vc.el (vc-print-log-internal): Doc fixes.
8527
b46a056e
GM
85282013-04-23 Glenn Morris <rgm@gnu.org>
8529
8530 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8531 Remove venerable code attempting to avoid substitute-command-keys.
8532
0aecf718
TH
85332013-04-23 Tassilo Horn <tsdh@gnu.org>
8534
4391916c
MH
8535 * textmodes/reftex-vars.el (reftex-label-regexps):
8536 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8537
117f94cf
SM
85382013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8539
4391916c 8540 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8541 Use lexical-binding.
8542 (jit-lock-force-redisplay): Use markers, check buffer's continued
8543 existence and beware narrowed buffers.
8544 (jit-lock-fontify-now): Adjust call accordingly.
8545
1d829c64
SM
85462013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8549 to avoid misleading the user.
8550
72d548a9
LL
85512013-04-22 Leo Liu <sdl.web@gmail.com>
8552
8553 * info-look.el: Prefer latex2e.info. (Bug#14240)
8554
d0853629
MA
85552013-04-22 Michael Albinus <michael.albinus@gmx.de>
8556
8557 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8558
8559 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8560 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8561 (tramp-set-completion-function, tramp-parse-putty):
8562 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8563 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8564 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8565 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8566 (tramp-call-local-coding-command): Use `tramp-call-process'
8567 instead of `tramp-compat-call-process'.
8568
8569 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8570 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8571 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8572 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8573 (tramp-maybe-send-script): Check for Perl binary.
8574 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8575
38cc0210
DU
85762013-04-22 Daiki Ueno <ueno@gnu.org>
8577
8578 * epg.el (epg-context-pinentry-mode): New function.
8579 (epg-context-set-pinentry-mode): New function.
8580 (epg--start): Pass --pinentry-mode option to gpg command.
8581
cc641ee1
XF
85822013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8583
02d844b5 8584 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8585 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8586 `completion-at-point'. (Bug#13774)
5d4e5c31 8587
cc641ee1
XF
8588 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8589 default key binding for `describe-distribution' has been moved to
8590 `C-h C-o'. (Bug#13970)
8591
1b42ee43
GM
85922013-04-21 Glenn Morris <rgm@gnu.org>
8593
8594 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8595 Add doc strings.
8596 (vc-print-log): Clarify interactive prompt.
8597
a6d63d97
GM
85982013-04-20 Glenn Morris <rgm@gnu.org>
8599
8600 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8601 No longer include timestamp etc information.
8602
d7f5c16f
RW
86032013-04-20 Roland Winkler <winkler@gnu.org>
8604
8605 * faces.el (read-face-name): Bug fix, return just one face if arg
8606 multiple is nil. (Bug#14209)
8607
bcd7a0a4
SM
86082013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8611 (remove-function): Autoload.
8612
8613 * comint.el (comint-redirect-original-filter-function): Remove.
8614 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8615 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8616 (vc-cvs-annotate-command):
bcd7a0a4
SM
8617 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8618 * progmodes/prolog.el (prolog-consult-compile):
8619 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8620 Use add/remove-function instead.
8621 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8622 (gud-tooltip-process-output, gud-tooltip-tips):
8623 Use add/remove-function instead.
8624 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8625 (scheme-interaction-mode, exit-scheme-interaction-mode):
8626 Use add/remove-function instead.
8627
8628 * vc/vc-dispatcher.el: Use lexical-binding.
8629 (vc--process-sentinel): Rename from vc-process-sentinel.
8630 Change last arg to be the code to run. Don't use vc-previous-sentinel
8631 and vc-sentinel-commands any more.
8632 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8633 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8634
e36b2d20 86352013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8636
bcd7a0a4 8637 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8638 Handle function names with a single character. (Bug#14111)
4d3268ba 8639
781b4af6 86402013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8641
8642 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8643 for subroutines defined in an eval (bug#14182).
8644
7d688336
TV
86452013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8646
8647 * bookmark.el (bookmark-completing-read): Improve handling of empty
8648 string (bug#14176).
8649
31dcede0
SM
86502013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8653
adc31213
FEG
86542013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8655
8656 New faster Imenu implementation (bug#14058).
8657 * progmodes/python.el:
8658 (python-imenu-prev-index-position):
8659 (python-imenu-format-item-label-function)
8660 (python-imenu-format-parent-item-label-function)
8661 (python-imenu-format-parent-item-jump-label-function):
8662 New vars.
8663 (python-imenu-format-item-label)
8664 (python-imenu-format-parent-item-label)
8665 (python-imenu-format-parent-item-jump-label)
8666 (python-imenu--put-parent, python-imenu--build-tree)
8667 (python-imenu-create-index, python-imenu-create-flat-index)
8668 (python-util-popn): New functions.
8669 (python-mode): Set imenu-create-index-function to
8670 python-imenu-create-index.
8671
cdca8255
SM
86722013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * winner.el (winner-active-region): Use region-active-p, activate-mark
8675 and deactivate-mark (bug#14225).
8676
8677 * simple.el (deactivate-mark): Don't inline it.
8678
beb42340
MA
86792013-04-18 Michael Albinus <michael.albinus@gmx.de>
8680
8681 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8682
fc7f4d7e
TH
86832013-04-18 Tassilo Horn <tsdh@gnu.org>
8684
8685 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8686 file extensions from the archive-mode entry in order to prefer
8687 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8688
29f47822
LL
86892013-04-18 Leo Liu <sdl.web@gmail.com>
8690
8691 * bindings.el (help-event-list): Add ?\?.
8692
d36ed1c8
SM
86932013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * subr.el (with-wrapper-hook): Declare obsolete.
8696 * simple.el (filter-buffer-substring-function): New hook.
8697 (filter-buffer-substring): Use it.
8698 (filter-buffer-substring-functions): Mark obsolete.
8699 * minibuffer.el (completion-in-region-function): New hook.
8700 (completion-in-region): Use it.
8701 (completion-in-region-functions): Mark obsolete.
8702 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8703 * abbrev.el (abbrev-expand-function): New hook.
8704 (expand-abbrev): Use it.
8705 (abbrev-expand-functions): Mark obsolete.
8706 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8707 and :filter-return.
8708
04754d36
FEG
87092013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8710
8711 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8712 and do not care about match data.
8713
dd8791e9
SM
87142013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8717 completion tables when completing error conditions and
8718 `declare' arguments.
8719 (lisp-complete-symbol, field-complete): Mark as obsolete.
8720 (check-parens): Unmatched parens are user errors.
8721 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8722
ffe54a13
AM
87232013-04-17 Michal Nazarewicz <mina86@mina86.com>
8724
dd8791e9
SM
8725 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8726 command changed buffer (ie. `flyspell-pre-buffer' is not current
8727 buffer), which prevents making decisions based on invalid value of
8728 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8729 cause an error when `flyspell-pre-point' was nil after switching
8730 buffers.
8731 (flyspell-post-command-hook): No longer needs to change buffers when
8732 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8733
ec7e39f2
AM
87342013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8735
8736 * textmodes/ispell.el (ispell-add-per-file-word-list):
8737 Fix `flyspell-correct-word-before-point' error when accepting
8738 words and `coment-padding' is an integer by using
8739 `comment-normalize-vars' (Bug #14214).
8740
083850a6
FEG
87412013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8742
8743 New defun movement commands.
8744 * progmodes/python.el (python-nav--syntactically)
8745 (python-nav--forward-defun, python-nav-backward-defun)
8746 (python-nav-forward-defun): New functions.
8747
619ed6e1
FEG
87482013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8749
8750 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8751 (python-syntax-context): Use named compiler-macro for backwards
8752 compatibility with Emacs 24.x.
8753
7a1beb6c
LL
87542013-04-17 Leo Liu <sdl.web@gmail.com>
8755
8756 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8757 octave-hide-process-buffer.
8758
2d3fa3e5
SM
87592013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8760
8761 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8762 (bug#14216).
8763
7ce5be54
JPG
87642013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8765
8766 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8767 Fix adjustment of offset when receiving incomplete responses from GDB
8768 (bug#14129).
8769
351edece
SM
87702013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8773 python-mode-abbrev-table.
8774 (python-skeleton-define): Adjust accordingly.
8775 (python-mode-abbrev-table): New table that inherits from it so that
8776 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8777
8778 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8779 (abbrev-symbol): Use it.
8780 (abbrev--before-point): Use it since we already handle inheritance.
8781
613f9481
LL
87822013-04-16 Leo Liu <sdl.web@gmail.com>
8783
8784 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8785 binding to info-lookup-symbol.
8786
51646b62
JB
87872013-04-16 Juanma Barranquero <lekktu@gmail.com>
8788
8789 * minibuffer.el (completion--twq-all):
8790 * term/ns-win.el (ns-initialize-window-system):
8791 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8792
efb3f01d
SM
87932013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8794
36c0a301
SM
8795 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8796 global bindings.
8797
efb3f01d
SM
8798 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8799
fb549d64
DG
88002013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8801
8802 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8803 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8804 to nil.
8805 (ruby-end-of-defun): Remove the unused arg, change the docstring
8806 to reflect that this function is only used as the value of
8807 `end-of-defun-function'.
8808 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8809 to reflect an earlier change that beginning/end-of-defun functions
8810 jump between methods in a class definition, as well as top-level
8811 functions.
8812
21e8fe2f
SM
88132013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * minibuffer.el (minibuffer-complete): Don't just scroll
8816 a *Completions* that's been iconified.
8817 (minibuffer-force-complete): Make sure repetitions do cycle when going
8818 through completion-in-region -> minibuffer-complete.
8819
20e527d0
AM
88202013-04-15 Alan Mackenzie <acm@muc.de>
8821
8822 Correct the placement of c-cpp-delimiters when there're #s not at
8823 col 0.
8824
8825 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8826 place a submatch around the #.
21e8fe2f
SM
8827 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8828 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8829 on the #, not BOL.
8830
dabefae5
SM
88312013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8834 (advice--member-p): New arg `name'.
8835 (advice--add-function, advice-member-p): Use it (bug#14202).
8836
85c9ab64
AM
88372013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8838
8839 Reformulate java imenu-generic-expression.
8840 The old expression contained ill formed regexps.
8841
8842 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8843 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8844 (cc-imenu-java-method-arg-regexp): New defconsts.
8845 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8846 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8847 handling of spaces in the regexp.
8848
0f821d99
AM
88492013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8850
8851 * textmodes/ispell.el (ispell-command-loop): Remove
8852 flyspell highlight of a word when ispell accepts it (bug #14178).
8853
eb922adf
MA
88542013-04-15 Michael Albinus <michael.albinus@gmx.de>
8855
8856 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8857 uses code from the previous `ange-ftp-run-real-handler'.
8858 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8859 only in case that function exist. This is needed for proper
8860 unloading of Tramp.
8861
4d9a0979
TH
88622013-04-15 Tassilo Horn <tsdh@gnu.org>
8863
8864 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8865
8866 * textmodes/reftex.el (reftex-compile-variables): Use it.
8867
a829b0dc
SM
88682013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8869
91e8293c
SM
8870 * files.el (normal-mode): Only use default major-mode if no other mode
8871 was specified.
8872
830aed4d
SM
8873 * emacs-lisp/trace.el (trace-values): New function.
8874
a829b0dc
SM
8875 * files.el: Allow : in local variables (bug#14089).
8876 (hack-local-variable-regexp): New var.
8877 (hack-local-variables-prop-line, hack-local-variables): Use it.
8878
7ae9f0fb
RW
88792013-04-13 Roland Winkler <winkler@gnu.org>
8880
8881 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8882 data before it gets modified by bibtex-beginning-of-entry.
8883
6646e848
RW
88842013-04-13 Roland Winkler <winkler@gnu.org>
8885
8886 * textmodes/bibtex.el (bibtex-url): Doc fix.
8887
88882013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8889
8890 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8891 does not visit a BibTeX file, exclude it from the list of buffers
8892 returned by bibtex-initialize.
8893
0aa3616e
SB
88942013-04-13 Stephen Berman <stephen.berman@gmx.net>
8895
8896 * window.el (split-window): Remove interactive form, since as a
8897 command this function is a special case of split-window-below.
8898 Correct doc string.
8899
011cddd6
RW
89002013-04-12 Roland Winkler <winkler@gnu.org>
8901
8902 * faces.el (read-face-name): Do not override value of arg default.
8903 Allow single faces and strings as default values. Remove those
8904 elements from return value that are not faces.
8905 (describe-face): Simplify.
8906 (face-at-point): New optional args thing and multiple so that this
8907 function can provide the same functionality previously provided by
8908 read-face-name.
8909 (make-face-bold, make-face-unbold, make-face-italic)
8910 (make-face-unitalic, make-face-bold-italic, invert-face)
8911 (modify-face, read-face-and-attribute): Use face-at-point.
8912
8913 * cus-edit.el (customize-face, customize-face-other-window)
8914 * cus-theme.el (custom-theme-add-face)
8915 * face-remap.el (buffer-face-set)
8916 * facemenu.el (facemenu-set-face): Use face-at-point.
8917
f24e0036
MA
89182013-04-12 Michael Albinus <michael.albinus@gmx.de>
8919
8920 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8921
da3cda2d
TH
89222013-04-10 Tassilo Horn <tsdh@gnu.org>
8923
8924 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8925 off leading { and trailing } from field values.
8926
15e54145
SM
89272013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8928
78ce603d
SM
8929 * emacs-lisp/timer.el (timer--check): New function.
8930 (timer--time, timer-set-function, timer-event-handler): Use it.
8931 (timer-set-idle-time): Simplify.
8932 (timer--activate): CSE.
8933 (timer-event-handler): Give more info in error message.
8934 (internal-timer-start-idle): New function, moved from C.
8935
15e54145
SM
8936 * mpc.el (mpc-proc): Add `restart' argument.
8937 (mpc-proc-cmd): Use it.
8938 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8939 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8940 less often.
8941
7144c627
MY
89422013-04-10 Masatake YAMATO <yamato@redhat.com>
8943
8944 * progmodes/sh-script.el: Implement `sh-mode' own
8945 `add-log-current-defun-function' (bug#14112).
8946 (sh-current-defun-name): New function.
8947 (sh-mode): Use the function.
8948
b39792eb
BG
89492013-04-09 Bastien Guerry <bzg@gnu.org>
8950
8951 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8952
8acdeb71
SM
89532013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8954
6fcdab68
SM
8955 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8956
8acdeb71
SM
8957 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8958 timer (bug#14156).
8959
e3e7b504
NF
89602013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8961
8962 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8963 declaration.
8964
201bb296
LL
89652013-04-07 Leo Liu <sdl.web@gmail.com>
8966
8967 * pcmpl-x.el: New file.
8968
ebb19708
DA
89692013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8970
8971 Do not set x-display-name until X connection is established.
8972 This is needed to prevent from weird situation described at
8973 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8974 * frame.el (make-frame): Set x-display-name after call to
8975 window system initialization function, not before.
8976 * term/x-win.el (x-initialize-window-system): Add optional
8977 display argument and use it.
8978 * term/w32-win.el (w32-initialize-window-system):
8979 * term/ns-win.el (ns-initialize-window-system):
8980 * term/pc-win.el (msdos-initialize-window-system):
8981 Add compatible optional display argument.
8982
33bb237a
EZ
89832013-04-06 Eli Zaretskii <eliz@gnu.org>
8984
8985 * files.el (normal-backup-enable-predicate): On MS-Windows and
8986 MS-DOS compare truenames of temporary-file-directory and of the
8987 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8988 don't fail comparison by compare-strings. Also, compare file
8989 names case-insensitively on MS-Windows and MS-DOS.
8990
134abf1f
SM
89912013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8994 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8995
d695cb94
DG
89962013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8997
e3e7b504
NF
8998 * whitespace.el (whitespace-color-on, whitespace-color-off):
8999 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9000
f4ad7ea1 90012013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9002
9003 * ispell.el (ispell-set-spellchecker-params):
9004 Really set `ispell-args' for all equivs.
9005
632556e4
SM
90062013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * ido.el (ido-completions): Use extra elements of ido-decorations
9009 (bug#14143).
9010 (ido-decorations): Update docstring.
9011
2a417372
MA
90122013-04-05 Michael Albinus <michael.albinus@gmx.de>
9013
9014 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9015 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9016 nil during initialization, in order not to miss changes since the
9017 file was opened. (Bug#14140)
9018
fc164b0c
LL
90192013-04-05 Leo Liu <sdl.web@gmail.com>
9020
9021 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9022
0ccecc08
JB
90232013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9024
9025 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9026
51af1aa2
GM
90272013-04-04 Glenn Morris <rgm@gnu.org>
9028
9029 * electric.el (electric-pair-inhibit-predicate): Add :version.
9030
b208ebc6
SM
90312013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9032
9033 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9034 when a package is required several times (bug#14082).
9035
f3d3eaf0
RW
90362013-04-04 Roland Winkler <winkler@gnu.org>
9037
9038 * faces.el (read-face-name): Behave as promised by the docstring.
9039 Assume that arg default is a list of faces.
9040 (describe-face): Call read-face-name with list of default faces.
9041
2575da50
TV
90422013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9043
9044 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9045 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9046 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9047 the header.
9048 (bookmark-exit-hook-internal): Save even if list is empty.
9049
397703b4
YH
90502013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9051
9052 * emacs-lisp/package.el (package-pinned-packages): New var.
9053 (package--add-to-archive-contents): Obey it (bug#14118).
9054
691e26ae
AM
90552013-04-03 Alan Mackenzie <acm@muc.de>
9056
8a621d53
JB
9057 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9058 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9059
9060 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9061 parameter `not-in-delimiter'. Handle being inside comment opener.
9062 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9063 character in case we're typing a '*' after a '/'.
9064 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9065 instead by passing the parameter to c-state-pp-to-literal.
9066
9067 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9068 for elt. 7 of a parse state.
9069
4b725a70
PE
90702013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9071
9072 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9073 * international/latin1-disp.el, international/mule-util.el:
9074 * language/cyril-util.el, language/european.el, language/ind-util.el:
9075 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9076 * language/tibetan.el, language/viet-util.el:
9077 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9078
15c579f0
SM
90792013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9082 (electric-pair-post-self-insert-function): Use it.
9083 (electric-pair-default-inhibit): New function, extracted from
9084 electric-pair-post-self-insert-function.
9085
a77e2924
RW
90862013-03-31 Roland Winkler <winkler@gnu.org>
9087
9088 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9089
2bd8a4a8
SM
90902013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9091
9092 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9093
8d3655be 90942013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9095
9096 Un-indent after "pass" and "return" statements (Bug#13888)
9097 * progmodes/python.el (python-indent-block-enders): New var.
9098 (python-indent-calculate-indentation): Use it.
9099
8d3655be 91002013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9101
9102 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9103 defun. Defining it as defalias could introduce too eager
9104 byte-compiler optimization. (Bug#14030)
9105
8d3655be 91062013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9107
9108 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9109
0b1619da
LL
91102013-03-30 Leo Liu <sdl.web@gmail.com>
9111
9112 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9113 (kmacro-execute-from-register): Pass the keyboard macro to
9114 kmacro-call-macro or repeating won't work correctly.
9115
0b938190
TZ
91162013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9117
9118 * progmodes/subword.el: Back to using `forward-symbol'.
9119
9120 * subr.el (forward-whitespace, forward-symbol)
9121 (forward-same-syntax): Move from thingatpt.el.
9122
35710234
LL
91232013-03-29 Leo Liu <sdl.web@gmail.com>
9124
9125 * kmacro.el (kmacro-to-register): New command.
9126 (kmacro-execute-from-register): New function.
9127 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9128
efc0bb73
SM
91292013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * mpc.el: Use defvar-local and setq-local.
9132 (mpc--proc-connect): Connection failures are not bugs.
9133 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9134 (mpc-volume-map): Bind to the up-events.
9135
75a2f981
TZ
91362013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9137
9138 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9139 instead of `forward-symbol'.
9140
17c781d1
SM
91412013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9144 (edebug--recursive-edit): Use it.
9145 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9146 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9147
f67bfbcf
LL
91482013-03-28 Leo Liu <sdl.web@gmail.com>
9149
9150 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9151
b59f639d
EZ
91522013-03-27 Eli Zaretskii <eliz@gnu.org>
9153
9154 * facemenu.el (list-colors-callback): New defvar.
9155 (list-colors-redisplay): New function.
9156 (list-colors-display): Install list-colors-redisplay as the
9157 revert-buffer-function. (Bug#14063)
9158
f557c1b1
SM
91592013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9160
b1da2957
SM
9161 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9162 and suffixes don't overlap (bug#14061).
9163
f557c1b1
SM
9164 * case-table.el: Use lexical-binding.
9165 (case-table-get-table): New function.
9166 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9167
002668e1
TZ
91682013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9169
9170 * progmodes/subword.el: Add `superword-mode' to do word motion
9171 over symbol_words (parallels and leverages `subword-mode' which
9172 does word motion inside MixedCaseWords).
9173
73572c72
AG
91742013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9175
78b8f320 9176 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9177 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9178
69b2c07e
SM
91792013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9182 Change return value to be a sexp. Delay `get-buffer' to after
9183 restoring the desktop (bug#13951).
9184
08bb5ee2
LL
91852013-03-26 Leo Liu <sdl.web@gmail.com>
9186
9187 * register.el: Move semantic tag handling back to
9188 cedet/semantic/senator.el. (Bug#14052)
9189
8d4c974e
SM
91902013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9193 into the prompt either (bug#13963).
9194
b234d92c
SM
91952013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9198 part of "(error-foo)".
9199
ddfa3cb4
JL
92002013-03-24 Juri Linkov <juri@jurta.org>
9201
9202 * replace.el (list-matching-lines-prefix-face): New defcustom.
9203 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9204 `occur-engine' if `face-differs-from-default-p' returns t.
9205 (occur-engine): Add `,' inside backquote construct to evaluate
9206 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9207 Pass `prefix-face' to the functions `occur-context-lines' and
9208 `occur-engine-add-prefix'.
9209 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9210 `prefix-face' and propertize the prefix with `prefix-face'.
9211 (Bug#14017)
9212
7b0e2f85
LL
92132013-03-24 Leo Liu <sdl.web@gmail.com>
9214
9215 * nxml/rng-valid.el (rng-validate-while-idle)
9216 (rng-validate-quick-while-idle): Guard against deleted buffer.
9217 (Bug#13999)
9218
9219 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9220 is the last entry in kill-buffer-hook.
9221
9222 * files.el (kill-buffer-hook): Doc fix.
9223
b3082f49
DG
92242013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9225
b234d92c
SM
9226 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9227 Make it safe-local.
bde73d27 9228
b3082f49
DG
9229 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9230
a320a2db
LL
92312013-03-23 Leo Liu <sdl.web@gmail.com>
9232
7e74b0fb
LL
9233 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9234 Remove.
9235
9236 * nxml/rng-valid.el (rng-validate-mode)
9237 (rng-after-change-function, rng-do-some-validation):
9238 * nxml/rng-maint.el (rng-validate-buffer):
9239 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9240 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9241 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9242 (nxml-extend-after-change-region): Use with-silent-modifications.
9243
a320a2db
LL
9244 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9245 timer-idle-list.
9246
9247 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9248 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9249 timer-idle-list. (Bug#13999)
9250
e38e6780
JL
92512013-03-23 Juri Linkov <juri@jurta.org>
9252
9253 * info.el (info-index-match): New face.
9254 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9255 main pattern and add text properties with the new face to matches
9256 in index entries relative to the beginning of the index entry.
9257 (Bug#14015)
9258
e8cc7880
DE
92592013-03-21 Eric Ludlam <zappo@gnu.org>
9260
9261 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9262 Inhibit read only while inserting objects.
9263
9bb0d822
TZ
92642013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9265
9266 * progmodes/cfengine.el: Update docs to mention
9267 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9268 symbol motion. Remove "_" from the word syntax.
9269
aa703640
TZ
92702013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9271
9272 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9273 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9274
afff09d0
JL
92752013-03-20 Juri Linkov <juri@jurta.org>
9276
9277 * info.el (Info-next-reference-or-link)
9278 (Info-prev-reference-or-link): New functions.
9279 (Info-next-reference, Info-prev-reference): Use them.
9280 (Info-try-follow-nearest-node): Handle footnote navigation.
9281 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9282
9a1ff164
SM
92832013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9286 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9287
2667d15d
PE
92882013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9289
9290 Suppress unnecessary non-ASCII chatter during build process.
9291 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9292 (batch-skkdic-convert): Suppress most of the chatter.
9293 It's not needed so much now that machines are faster,
9294 and its non-ASCII component was confusing; see Dmitry Gutov in
9295 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9296
438b0579
LL
92972013-03-20 Leo Liu <sdl.web@gmail.com>
9298
9299 * ido.el (ido-chop): Fix bug#10994.
9300
c128ab07
DG
93012013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9302
9303 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9304 Remove vars.
9a1ff164
SM
9305 (whitespace-color-on, whitespace-color-off):
9306 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9307
0e6008c5
SM
93082013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9309
9310 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9311 remapping in mode-line.
9312 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9313
627b52b0
DG
93142013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9315
9316 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9317 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9318 (whitespace-font-lock-keywords): Change description.
9319 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9320 the constructed keywords instead.
9321 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9322
50c3a20b
LL
93232013-03-19 Leo Liu <sdl.web@gmail.com>
9324
9325 * progmodes/compile.el (compilation-display-error): New command.
9326 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9327 C-o. (Bug#13992)
9328
2aa2157b
PE
93292013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9330
9331 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9332
e477dbfa
JD
93332013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9334
9335 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9336
64ab82d1
MA
93372013-03-18 Michael Albinus <michael.albinus@gmx.de>
9338
9339 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9340
9341 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9342 * net/tramp-gvfs.el (top):
9343 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9344 (tramp-handle-shell-command): Use it.
9345 (tramp-dissect-file-name): Raise an error when hostname is a
9346 method name, and neither method nor user is specified.
9347
9348 * net/trampver.el: Update release number.
9349
33cef733
LL
93502013-03-18 Leo Liu <sdl.web@gmail.com>
9351
9352 Make sure eldoc can be turned off properly.
9353 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9354 eldoc-mode.
9355 (eldoc-display-message-p): Revert last change.
9356 (eldoc-display-message-no-interference-p)
9357 (eldoc-print-current-symbol-info): Tweak.
9358
2167b7b2
TH
93592013-03-18 Tassilo Horn <tsdh@gnu.org>
9360
9361 * doc-view.el (doc-view-new-window-function): Check the new window
9362 overlay's display property instead the char property of the
9363 buffer's first char. Use `with-selected-window' instead of
9364 `save-window-excursion' with `select-window'.
9365 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9366 display property instead the char property of the buffer's first char.
2167b7b2 9367
982efbcd
PE
93682013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9369
9370 Automate the build of ja-dic.el (Bug#13984).
9371 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9372 from the input, rather than assume that it's been done for us by the
9373 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9374 the current date into a ja-dic.el comment, as that complicates
9375 regression testing.
9376
2fcc7665
SM
93772013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * whitespace.el: Fix double evaluation.
9380 (whitespace-space, whitespace-hspace, whitespace-tab)
9381 (whitespace-newline, whitespace-trailing, whitespace-line)
9382 (whitespace-space-before-tab, whitespace-indentation)
9383 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9384 obsolete defvars.
9385 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9386 (whitespace-color-on): Use a single font-lock-add-keywords call.
9387 Fix double-evaluation of face variables.
9388
67c0a6e6
MA
93892013-03-17 Michael Albinus <michael.albinus@gmx.de>
9390
2fcc7665
SM
9391 * net/tramp-adb.el (tramp-adb-parse-device-names):
9392 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9393 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9394
69489f1d
LL
93952013-03-17 Leo Liu <sdl.web@gmail.com>
9396
9397 Extend eldoc to display info in the mode-line. (Bug#13978)
9398 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9399 (eldoc-mode-line-string): New variable.
9400 (eldoc-minibuffer-message): New function.
9401 (eldoc-message-function): New variable.
9402 (eldoc-message): Use it.
9403 (eldoc-display-message-p)
2fcc7665
SM
9404 (eldoc-display-message-no-interference-p):
9405 Support eldoc-post-insert-mode.
69489f1d
LL
9406
9407 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9408 (eval-expression): Run it.
9409
9c44569e
RW
94102013-03-17 Roland Winkler <winkler@gnu.org>
9411
9412 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9413 strings in the list of return values.
9414
327f1f6f
JB
94152013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9416
9417 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9418 radix before checking for HMS forms.
9419
67ed8fcd
LL
94202013-03-16 Leo Liu <sdl.web@gmail.com>
9421
9422 * progmodes/scheme.el: Add indentation and font-locking for λ.
9423 (Bug#13975)
9424
78be8b64 94252013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9426
9427 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9428 token before point (bug#13942).
9429
78be8b64 94302013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9431
95b43468 9432 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9433
98e775e6
EZ
94342013-03-16 Eli Zaretskii <eliz@gnu.org>
9435
9436 * startup.el (command-line-normalize-file-name): Fix handling of
9437 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9438 <xfq.free@gmail.com> in
9439 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9440
2edd6029
MA
94412013-03-15 Michael Albinus <michael.albinus@gmx.de>
9442
9443 Sync with Tramp 2.2.7.
9444
9445 * net/trampver.el: Update release number.
9446
d35f5864
TH
94472013-03-14 Tassilo Horn <tsdh@gnu.org>
9448
e903c210 9449 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9450 (doc-view-insert-image): Don't modify overlay associated to
9451 non-live windows, and implement horizontal centering of image in
9452 case it's smaller than the window.
9453 (doc-view-new-window-function): Force redisplay of new windows on
9454 doc-view buffers.
d35f5864 9455
1c4a85ed
KF
94562013-03-13 Karl Fogel <kfogel@red-bean.com>
9457
9458 * saveplace.el (save-place-alist-to-file): Don't sort
9459 `save-place-alist', just pretty-print it (bug#13882).
9460
85b66a21
MA
94612013-03-13 Michael Albinus <michael.albinus@gmx.de>
9462
a020afb9
JB
9463 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9464 Check whether `default-file-name-coding-system' is bound.
9465 It isn't in XEmacs.
85b66a21 9466
175600da
SM
94672013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9468
e7f7cb1a
SM
9469 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9470 backquotes for `obsolete' (bug#13929).
9471
175600da
SM
9472 * international/mule.el (find-auto-coding): Include file name in
9473 obsolescence warning (bug#13922).
9474
ca68a22e
TZ
94752013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9476
9477 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9478 for CFEngine 3-specific indentation.
9479 (cfengine3-indent-line): Use it. Fix up category regex.
9480 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9481
940e5099
SM
94822013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * type-break.el (type-break-file-name):
9485 * textmodes/remember.el (remember-data-file):
9486 * strokes.el (strokes-file):
9487 * shadowfile.el (shadow-initialize):
9488 * saveplace.el (save-place-file):
9489 * ps-bdf.el (bdf-cache-file):
9490 * progmodes/idlwave.el (idlwave-config-directory):
9491 * net/quickurl.el (quickurl-url-file):
9492 * international/kkc.el (kkc-init-file-name):
9493 * ido.el (ido-save-directory-list-file):
9494 * emulation/viper.el (viper-custom-file-name):
9495 * emulation/vip.el (vip-startup-file):
9496 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9497 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9498
cc725808
PE
94992013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9500
9501 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9502 * language/thai-word.el: Switch to UTF-8.
9503
a020afb9 9504See ChangeLog.16 for earlier changes.
e3d51b27
MR
9505
9506;; Local Variables:
9507;; coding: utf-8
e3d51b27
MR
9508;; End:
9509
ab422c4d 9510 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9511
9512 This file is part of GNU Emacs.
9513
9514 GNU Emacs is free software: you can redistribute it and/or modify
9515 it under the terms of the GNU General Public License as published by
9516 the Free Software Foundation, either version 3 of the License, or
9517 (at your option) any later version.
9518
9519 GNU Emacs is distributed in the hope that it will be useful,
9520 but WITHOUT ANY WARRANTY; without even the implied warranty of
9521 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9522 GNU General Public License for more details.
9523
9524 You should have received a copy of the GNU General Public License
9525 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.