* lisp/man.el (Man-start-calling): New macro, extracted from
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
daddb3fd
DH
12013-11-08 Darren Hoo <darren.hoo@gmail.com>
2
3 * man.el (Man-start-calling): New macro, extracted from
4 Man-getpage-in-background.
5 (Man-getpage-in-background): Use it.
6 (Man-update-manpage): New command.
7 (Man-mode-map): Bind it.
8
1f923923
DG
92013-11-08 Dmitry Gutov <dgutov@yandex.ru>
10
11 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
12 of "and", "or", "&&" and "||".
13 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
14 argument. Prohibit opening curly brace because it could only be a
15 block opener in that position.
daddb3fd
DH
16 (ruby-smie--forward-token, ruby-smie--backward-token):
17 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
18 arguments.
19 (ruby-smie--indent-to-stmt): New function, seeks the end of
20 previous statement or beginning of buffer.
21 (ruby-smie-rules): Use it.
22 (ruby-smie-rules): Check if there's a ":" before a curly block
23 opener candidate; if there is, it's a hash.
24
3220d527
SM
252013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
28 (cl--block-wrapper): Fix last accidental change.
29
1eb1f9e0
MA
302013-11-07 Michael Albinus <michael.albinus@gmx.de>
31
32 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
33 Instrument, in order to hunt failure on hydra.
34
e6e4db3c
NT
352013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
36
37 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
38 malformed bindings form (bug#15814).
39
b420ccfc
DG
402013-11-07 Dmitry Gutov <dgutov@yandex.ru>
41
42 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
43 "." compared to " @ ". This incidentally fixes some indentation
44 examples with "do".
e6e4db3c 45 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
46 (ruby-smie-grammar): New tokens: "and" and "or".
47 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
48 Exclude "and" and "or". Remove "do" in order to work around token
49 priorities.
50 (ruby-smie-rules): Add all infix tokens. Handle the case of
51 beginning-of-buffer.
b420ccfc 52
6b4ac03e
GM
532013-11-06 Glenn Morris <rgm@gnu.org>
54
55 * Makefile.in (setwins_almost, setwins_for_subdirs):
56 Avoid accidental matches.
57
5ca114d1
SM
582013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
59
60 * menu-bar.el (popup-menu): Use key-binding.
61
f72552bd
EZ
622013-11-06 Eli Zaretskii <eliz@gnu.org>
63
64 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
65 menus, support also the menus produced by minor modes.
66 (Bug#15817)
67
5d5c701e
LL
682013-11-06 Leo Liu <sdl.web@gmail.com>
69
70 * thingatpt.el (thing-at-point-looking-at): Add optional arg
71 DISTANCE to bound the search. All uses changed. (Bug#15808)
72
0a8b75e2
GM
732013-11-06 Glenn Morris <rgm@gnu.org>
74
75 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
76 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
77 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 78
a35287ea
SM
792013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
80
feca4e2d
SM
81 * electric.el (electric-indent-just-newline): New command.
82 (electric-indent-mode-map): New keymap.
83 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
84 Re-add :group which weren't redundant.
85
a35287ea
SM
86 * electric.el (electric-indent-local-mode): New minor mode.
87 (electric-indent-functions-without-reindent): New var.
88 (electric-indent-post-self-insert-function): Use it.
89 * emacs-lisp/gv.el (buffer-local-value): Add setter.
90
375761b2
EZ
912013-11-05 Eli Zaretskii <eliz@gnu.org>
92
9a6ad735
EZ
93 * international/quail.el (quail-help): Be more explicit about the
94 meaning of the labels shown on the keys. (Bug#15800)
95
375761b2
EZ
96 * startup.el (normal-top-level): Load the subdirs.el files before
97 setting the locale environment. (Bug#15805)
98
520a6e4a
SM
992013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
100
0acfafef
SM
101 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
102 via arguments so as to get the right ones (bug#15418).
103
520a6e4a
SM
104 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
105
15826261
MA
1062013-11-05 Michael Albinus <michael.albinus@gmx.de>
107
108 Fix problems found while writing a test suite.
109
110 * net/tramp-compat.el (tramp-compat-load): New defun.
111 * net/tramp.el (tramp-handle-load): Use it.
112
113 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
114 "(numberp ok-if-already-exists)" correctly.
115
d35f31a4
XF
1162013-11-05 Xue Fuqiao <xfq.free@gmail.com>
117
118 * international/characters.el (glyphless-char-display-control):
119 Add usage note.
120
ae93bc74
BB
1212013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
122
520a6e4a
SM
123 * progmodes/python.el (python-mode):
124 * progmodes/scheme.el (scheme-mode):
125 * progmodes/prolog.el (prolog-mode):
126 * progmodes/ruby-mode.el (ruby-mode):
127 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
128 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 129
0ade65b5
SM
1302013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
131
a0d5f7a4
SM
132 * rect.el (rectangle--highlight-for-redisplay):
133 * emacs-lisp/smie.el (smie--next-indent-change):
134 Use buffer-chars-modified-tick.
135
c93f3f5c
SM
136 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
137
0ade65b5
SM
138 * electric.el (electric-indent-post-self-insert-function):
139 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
140
ef9dd188
HE
1412013-11-04 Helmut Eller <eller.helmut@gmail.com>
142
143 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
144
306e7308
NT
1452013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
146
147 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
148 (bug#15786).
149
e5afbcac
SM
1502013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
151
1d01ad41
SM
152 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
153
e5afbcac
SM
154 * progmodes/python.el: Fix up last change.
155 (python-shell--save-temp-file): New function.
156 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
157 `string' comes from the current buffer.
158 (python-shell-send-string-no-output): Remove `msg' arg.
159 (python--use-fake-loc): New var.
160 (python-shell-buffer-substring): Obey it. Try to compensate for the
161 extra coding line added by python-shell--save-temp-file.
162 (python-shell-send-region): Use python-shell--save-temp-file and
163 python-shell-send-file directly. Add `nomain' argument.
164 (python-shell-send-buffer): Use python-shell-send-region.
165 (python-electric-pair-string-delimiter): New function.
166 (python-mode): Use it.
167
d0065ff1
EZ
1682013-11-04 Eli Zaretskii <eliz@gnu.org>
169
170 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
171 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
172 environment and decoding all of the default-directory's to here
173 from command-line.
174 (command-line): Decode also argv[0].
175
176 * loadup.el: Error out if default-directory is a multibyte string
177 when we are dumping.
178
179 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
180
7397c587
TZ
1812013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
182
183 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
184 (package-menu--print-info, package-menu--archive-predicate):
185 Add Archive column to package list.
7397c587 186
b27cc9fc
MA
1872013-11-04 Michael Albinus <michael.albinus@gmx.de>
188
189 Fix problems found while writing a test suite.
190
191 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
192 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
193 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
194 to nil when running original file name handler. Otherwise,
195 there are problems with constructs like "$$FOO".
196
197 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
198 for `localname'.
199
d8c4f18a
BB
2002013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
201
7b530552
BB
202 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
203
204 * subr.el (version<, version<=, version=):
205 Update docstrings with information for snapshot versions.
206
d8c4f18a
BB
207 * helpers.el: New library for misc helper functions.
208 (hash-table-keys): New function returning a list of hash keys.
209 (hash-table-values): New function returning a list of hash values.
210
dca01b09
DG
2112013-11-04 Dmitry Gutov <dgutov@yandex.ru>
212
213 * progmodes/ruby-mode.el (ruby-smie--forward-token)
214 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
215
0a749fa0
MN
2162013-11-04 Michal Nazarewicz <mina86@mina86.com>
217
218 * textmodes/fill.el (fill-single-char-nobreak-p): New function
219 checking whether point is after a 1-letter word.
220
2212013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
222
223 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
224 Don't infloop when expanding region over `multiline' syntax-type that
225 begins a line (bug#15778).
226
4aca7145
SM
2272013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
230 Make it into a proper minor mode.
231 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
232 (rectangle-mark-mode-map): New keymap.
233 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
234
a0833f62
GM
2352013-11-04 Glenn Morris <rgm@gnu.org>
236
237 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
238
e61845c1
SM
2392013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
242 (ruby-smie-rules): Use smie-rule-parent instead.
243
244 * emacs-lisp/smie.el (smie-rule-parent): Always call
245 smie-indent-virtual rather than only for hanging tokens.
246 (smie--next-indent-change): New helper command.
247
62942f89
GM
2482013-11-03 Glenn Morris <rgm@gnu.org>
249
250 * Makefile.in (abs_srcdir): Remove.
251 (emacs): Unset EMACSLOADPATH.
252
b0b9e592
GM
2532013-11-02 Glenn Morris <rgm@gnu.org>
254
18ba6a33 255 * Makefile.in (EMACS): Use a relative filename.
8061810d 256 (abs_top_builddir): Remove.
18ba6a33
GM
257 (custom-deps, finder-data, autoloads): Use --chdir.
258
6a8b929e
GM
259 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
260
c617f3d0
GM
261 Use relative filenames in TAGS files.
262 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
263 (lisptagsfiles4, TAGS): Use relative file names.
264 (TAGS-LISP): Remove.
265 (maintainer-clean): No more TAGS-LISP file.
266
b0b9e592
GM
267 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
268 (lisptagsfiles4): Use absolute filenames again.
269 (TAGS, TAGS-LISP): Not everything needs to run in one line.
270 Remove all *loaddefs files, not just the first. Remove esh-groups.
271 (maintainer-clean): Delete TAGS, TAGS-LISP.
272
d1c0ea6a
BB
2732013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
274
e61845c1
SM
275 * emacs-lisp/package.el (package-version-join):
276 Recognize snapshot versions.
d1c0ea6a 277
684d71c6
BB
2782013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
279
280 * subr.el (version-regexp-alist): Add support for snapshot versions.
281
3d42b968
DG
2822013-11-02 Dmitry Gutov <dgutov@yandex.ru>
283
e61845c1
SM
284 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
285 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
286 skip over our direct parent if it's an assignment token..
287 (ruby-smie-rules): Use it.
288
7ffd3721
DG
2892013-11-02 Dmitry Gutov <dgutov@yandex.ru>
290
291 * progmodes/ruby-mode.el Use `syntax-propertize-function'
292 unconditionally. Remove now unnecessary forward declarations.
293 Remove XEmacs-specific setup.
294 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
295 (ruby-font-lock-syntactic-keywords)
296 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
297 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
298 (ruby-here-doc-end-syntax): Remove.
299 (ruby-mode): Don't check whether `syntax-propertize-rules' is
300 defined as function.
301
a3996a2e
BB
3022013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
303
304 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
305
6f9260e8
BB
3062013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
307
308 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
309 table and abbrev table, `define-derived-mode' does that for us
310 anyway.
311
6014de84
GM
3122013-11-01 Glenn Morris <rgm@gnu.org>
313
314 * Makefile.in: Remove manual mh-e dependencies (writing .elc
315 files is atomic for some time, so no parallel compilation issues).
316
3c334c14
JD
3172013-11-01 Jan Djärv <jan.h.d@swipnet.se>
318
319 * faces.el (face-x-resources): Add :distant-foreground.
320 (region): Use :distant-foreground for gtk and ns.
321
9bc236c8
TH
3222013-11-01 Tassilo Horn <tsdh@gnu.org>
323
5246583b 324 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
325 BibTeX.
326 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
327 (reftex-locate-bibliography-files): Us it.
328
d14c81ee
CB
3292013-11-01 Claudio Bley <claudio.bley@googlemail.com>
330
0e7690de
CB
331 * image.el (image-type-header-regexps): Fix the 'pbm' part to
332 allow comments in pbm files.
333
d14c81ee
CB
334 * term/w32-win.el (dynamic-library-alist): Support newer versions
335 of libjpeg starting with v7: look only for the DLL from the
336 version against which Emacs was built.
ac1bf374 337 Support versions of libpng beyond 1.4.x.
019c8218 338 Support libtiff v4.x.
d14c81ee 339
983d0df5
BB
3402013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
341
342 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
343 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
344 Add property :safe.
345 (ruby-deep-arglist): Add property :type.
346
47f58d85
GM
3472013-10-31 Glenn Morris <rgm@gnu.org>
348
349 * Makefile.in (custom-deps, finder-data): No need to setq the target
350 variables, we are in the right directory and the defaults work fine.
351
4f85b479
GM
3522013-10-30 Glenn Morris <rgm@gnu.org>
353
ca7dd4cd
GM
354 * Makefile.in (autoloads): Do not use abs_lisp.
355
4f85b479
GM
356 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
357 `newline' does not respect `standard-output', so use `princ'.
358
cf59e41c
AA
3592013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
360
361 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
362 * buff-menu.el (Buffer-menu--unmark): New function.
363 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
364
74cf04fb
GM
3652013-10-30 Glenn Morris <rgm@gnu.org>
366
b040b60e
GM
367 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
368
f53d3815
GM
369 * emacs-lisp/package.el (lm-homepage): Declare.
370
5413d873
GM
371 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
372 Fix doc typos.
373
cecedb36
GM
374 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
375
74cf04fb
GM
376 * Makefile.in (finder-data, autoloads, update-subdirs)
377 (compile-main, compile-clean, compile-always, bootstrap-clean):
378 Check return value of cd.
379 (compile-calc): Remove.
380
195ee2f0
SM
3812013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
382
ae4002ce
SM
383 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
384
385 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
386 (byte-compile-and-folded): New function.
387 (=, <, >, <=, >=): Use it.
388
389 * dos-w32.el (minibuffer-history-case-insensitive-variables)
390 (path-separator, null-device, buffer-file-coding-system)
391 (lpr-headers-switches): Check system-type before modifying them.
392 (find-buffer-file-type-coding-system): Mark obsolete.
393 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
394 find-file-not-found-set-buffer-file-coding-system.
395 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
396 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
397 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
398 (w32-direct-print-region-helper, w32-direct-print-region-function)
399 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
400 * startup.el (normal-top-level-add-subdirs-to-load-path):
401 * ps-print.el (ps-print-region-function):
402 * lpr.el (print-region-function): Use new name.
403
53b39e89
SM
404 * subr.el (custom-declare-variable-early): Remove function.
405 (custom-declare-variable-list): Remove var.
406 (error, user-error): Remove `while' loop.
407 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
408 (user-emacs-directory-warning, locate-user-emacs-file):
409 Move to files.el.
410 * simple.el (read-quoted-char-radix, read-quoted-char):
411 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
412 Move from subr.el.
413 * custom.el (custom-declare-variable-list): Don't process
414 custom-declare-variable-list.
415
195ee2f0
SM
416 * progmodes/python.el (python-shell-get-buffer): New function.
417 (python-shell-get-process): Use it.
418 (python-shell-send-string): Always use utf-8 and add a cookie to tell
419 Python which encoding was used. Don't split-string since we only care
420 about the first line. Return the temp-file, if applicable.
421 (python-shell-send-region): Tell compile.el how to turn locations in
422 the temp-file into locations in the source buffer.
423
7e3561ee
SM
4242013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
425
4c9797cb
SM
426 * subr.el (undefined): Add missing behavior from the C code for
427 unbound keys.
428
3472b6c6
SM
429 * rect.el: Use lexical-binding. Add new rectangular region support.
430 (rectangle-mark): New command.
431 (rectangle--region): New var.
432 (deactivate-mark-hook): Reset rectangle--region.
433 (rectangle--extract-region, rectangle--insert-for-yank)
434 (rectangle--highlight-for-redisplay)
435 (rectangle--unhighlight-for-redisplay): New functions.
436 (region-extract-function, redisplay-unhighlight-region-function)
437 (redisplay-highlight-region-function): Use them to handle
438 rectangular region.
439 * simple.el (region-extract-function): New var.
440 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
441 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
442 (kill-region): Replace obsolete `yank-handler' arg with `region'.
443 (copy-region-as-kill, kill-ring-save): Add `region' argument.
444 (redisplay-unhighlight-region-function)
445 (redisplay-highlight-region-function): New vars.
446 (redisplay--update-region-highlight): New function.
447 (pre-redisplay-function): Use it.
448 (exchange-point-and-mark): Don't deactivate the mark before
449 reactivate-it anyway.
450 * comint.el (comint-kill-region): Remove yank-handler argument.
451 * delsel.el (delete-backward-char, backward-delete-char-untabify)
452 (delete-char): Remove property, since it's now part of their
453 default behavior.
454 (self-insert-iso): Remove property since this command doesn't exist.
455
7e3561ee
SM
456 * emacs-lisp/package.el (package--download-one-archive)
457 (describe-package-1): Don't query the user about final newline.
458
b9bef71f
DC
4592013-10-29 Daniel Colascione <dancol@dancol.org>
460
461 * net/tramp.el (tramp-methods): Document new functionality.
462 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
463 tramp-hostname-checker if method provides one instead of scanning
464 argument list for "%h" to decide hostname acceptability.
465
4efc33f0
MA
4662013-10-28 Michael Albinus <michael.albinus@gmx.de>
467
468 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
469 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
470 Handle COPY-CONTENTS. (Bug#15737)
471
ed42a877
DU
4722013-10-28 Daiki Ueno <ueno@gnu.org>
473
474 * epa-file.el
7e3561ee
SM
475 (epa-file-cache-passphrase-for-symmetric-encryption):
476 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 477
18c9f8a2
XF
4782013-10-27 Xue Fuqiao <xfq.free@gmail.com>
479
7a4bc7be
XF
480 * image.el (defimage):
481 (image-load-path): Doc fixes.
18c9f8a2 482
b1e8e010
AM
4832013-10-27 Alan Mackenzie <acm@muc.de>
484
485 Indent statements in macros following "##" correctly.
7e3561ee
SM
486 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
487 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 488
73d40d1e 4892013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
490
491 * linum.el (linum-update-window): Fix boundary test (bug#13446).
492
c8c605ac
DG
4932013-10-27 Dmitry Gutov <dgutov@yandex.ru>
494
495 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
496 after `=' is probably a new expression.
497
ca7e59d4
RS
4982013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
499
500 * man.el (man-imenu-title): New option.
501 (Man-mode-map): Add menu. (Bug#15722)
502 (Man-mode): Add imenu to menu.
503
bae91342
DG
5042013-10-26 Dmitry Gutov <dgutov@yandex.ru>
505
506 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
507 specific in what the first arg can be: a non-keyword word,
508 string/regexp/percent literal opener, opening paren, or unary
509 operator followed directly by word.
510
eb89dc14
SM
5112013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
514 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
515 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
516 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
517 Remove vars, they do not apply any more.
518 (prolog-mode-abbrev-table): Remove redundant declaration.
519 (prolog-upper-case-string, prolog-lower-case-string): Remove.
520 (prolog-use-smie): Remove.
521 (prolog-smie-rules): Add indentation rule for the if-then-else layout
522 supported by prolog-electric-if-then-else-flag.
523 (prolog-mode-variables, prolog-menu): Use setq-local.
524 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
525 Remove binding to `Backspace' since this key doesn't exist anyway.
526 Remove bindings for electric self-inserting keys.
527 (prog-mode): Assume it's defined.
528 (prolog-post-self-insert): New function.
529 (prolog-mode): Use it.
530 (prolog-indent-line, prolog-indent-level)
531 (prolog-find-indent-of-matching-paren)
532 (prolog-indentation-level-of-line, prolog-goto-comment-column)
533 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
534 (prolog-goto-next-paren, prolog-in-string-or-comment)
535 (prolog-tokenize, prolog-inside-mline-comment)
536 (prolog-find-start-of-mline-comment): Remove functions.
537 (prolog-find-unmatched-paren, prolog-clause-end)
538 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
539 (prolog-electric--if-then-else): Rename from
540 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
541 (prolog-tokenize-searchkey): Remove const.
542 (prolog-clause-info): Use forward-sexp.
543 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
544 (prolog-electric-if-then-else): Remove commands.
545 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
546 for use in post-self-insert-hook.
547 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
548 for use in post-self-insert-hook.
549 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
550 for use in post-self-insert-hook.
551 (prolog-electric--underscore): Rename from prolog-electric--underscore;
552 adapt it for use in post-self-insert-hook.
553
3dab0a83
MA
5542013-10-25 Michael Albinus <michael.albinus@gmx.de>
555
556 * emacs-lisp/ert.el (ert-run-tests-interactively):
557 Use `completing-read'. (Bug#9756)
558
fbfd0e1d
EZ
5592013-10-25 Eli Zaretskii <eliz@gnu.org>
560
561 * simple.el (line-move): Call line-move-1 instead of
562 line-move-visual when the current window hscroll is zero, but
563 temporary-goal-column indicates we will need to hscroll as result
564 of the movement. (Bug#15712)
565
963ce636
DG
5662013-10-25 Dmitry Gutov <dgutov@yandex.ru>
567
568 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
569 capitalization. Use :visible instead of :active.
570 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
571 commands that are used with SMIE.
572 (ruby-do-end-to-brace): Insert space after `{'.
573
a0be396a
JA
5742013-10-25 John Anthony <john@jo.hnanthony.com>
575
f73754c9
JA
576 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
577
578 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 579
f5bf77df
GM
5802013-10-25 Glenn Morris <rgm@gnu.org>
581
582 * vc/vc.el (vc-print-log): Don't use a working revision unless
583 one was explicitly specified. (Bug#15322)
584
37241f62
SM
5852013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * subr.el (add-to-list): Preserve return value in compiler-macro
588 (bug#15692).
589
6408a65d
RS
5902013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
591
592 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
593 result. Ask user to retry using '-all' flag. (Bug#15701)
594
71e3276b
SM
5952013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
596
597 * emacs-lisp/smie.el: New smie-config system.
598 (smie-config): New defcustom.
599 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
600 (smie-config-guess, smie-config-save): New commands.
601 (smie-config--mode-local, smie-config--buffer-local)
602 (smie-config--trace, smie-config--modefuns): New vars.
603 (smie-config--advice, smie-config--mode-hook)
604 (smie-config--setter, smie-config-local, smie-config--get-trace)
605 (smie-config--guess-value, smie-config--guess): New functions.
606 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
607 text properties. Treat "string fence" syntax like string syntax.
608
609 * progmodes/sh-script.el (sh-use-smie): Change default.
610 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
611 (sh-var-value): Simplify by CSE.
612 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
613 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
614 is used.
615 (sh-guess-basic-offset): Use cl-incf.
616 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
617
60db713e
HE
6182013-10-24 Helmut Eller <eller.helmut@gmail.com>
619
620 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
621 (bug#15699).
622
8b251df6
GM
6232013-10-24 Glenn Morris <rgm@gnu.org>
624
625 * Makefile.in (abs_top_srcdir): Remove.
626 (update-subdirs): Use relative path to update-subdirs.
627
6be0e22b
EZ
6282013-10-24 Eli Zaretskii <eliz@gnu.org>
629
630 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
631 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
632 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
633 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 634
50b5b857
MA
6352013-10-24 Michael Albinus <michael.albinus@gmx.de>
636
637 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
638 (ert-test-skipped): New error.
639 (ert-skip, ert-stats-skipped): New defuns.
640 (ert--skip-unless): New macro.
641 (ert-test-skipped): New struct.
642 (ert--run-test-debugger, ert-test-result-type-p)
643 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
644 (ert--stats-set-test-and-result, ert-char-for-test-result)
645 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 646 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 647 Handle skipped tests. (Bug#9803)
50b5b857 648
6f317c2f
GM
6492013-10-24 Glenn Morris <rgm@gnu.org>
650
e43817c1
GM
651 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
652
6f317c2f
GM
653 * Makefile.in (abs_top_srcdir): New, set by configure.
654 (update-subdirs): Correct build-aux location.
655
369bbf71
DG
6562013-10-24 Dmitry Gutov <dgutov@yandex.ru>
657
8297b2cf
DG
658 * vc/vc.el (vc-print-root-log): Always set `default-directory'
659 value, whether we could auto-deduce `backend', or not.
660
369bbf71
DG
661 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
662 with parameters" example. Simplify the "is it block or is it
663 hash" check, but also make it more thorough.
664
d5f1282f
MF
6652013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
666
667 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
668
bc4aaa31
SM
6692013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
670
03d44565
SM
671 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
672 { if it is hanging.
673
bc4aaa31
SM
674 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
675 :before ";".
676
f493ff19
JB
6772013-10-23 Jed Brown <jed@59A2.org> (tiny change)
678
679 * progmodes/compile.el (compilation-directory-matcher)
680 (compilation-page-delimiter):
681 Support GNU Make-4.0 directory quoting. (Bug#15678)
682
c744a3b9
LL
6832013-10-23 Leo Liu <sdl.web@gmail.com>
684
685 * ido.el (ido-tidy): Handle read-only text.
686
b8e3b0a9
GM
6872013-10-23 Glenn Morris <rgm@gnu.org>
688
689 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
690 (emacs, compile, compile-always):
691 Quote entities that might contain whitespace.
692 (custom-deps, finder-data, autoloads): Use abs_lisp.
693 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
694 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
695 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
696
ee4282cd
DG
6972013-10-23 Dmitry Gutov <dgutov@yandex.ru>
698
bc4aaa31
SM
699 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
700 Use `following-char'.
7790a270 701
ee4282cd 7022013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
703
704 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
705 * progmodes/ruby-mode.el (ruby-smie-rules):
706 Remove corresponding workaround. Fix indentation rule of ";" so it
707 also applies when ";" is the parent.
708
d40a46d7
XF
7092013-10-22 Xue Fuqiao <xfq.free@gmail.com>
710
711 * frame.el (display-screens, display-pixel-height)
712 (display-pixel-width, display-mm-width, display-backing-store)
713 (display-save-under, display-planes, display-color-cells)
7790a270
SM
714 (display-visual-class, display-monitor-attributes-list):
715 Mention the optional ‘display’ argument in doc strings.
d40a46d7 716
a0f143c9
MG
7172013-10-22 Michael Gauland <mikelygee@amuri.net>
718
719 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
720 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
721
18cacc39
DG
7222013-10-21 Dmitry Gutov <dgutov@yandex.ru>
723
724 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
725 TODO. Add "." after " @ ".
726 (ruby-smie--at-dot-call): New function. Checks if point at method
727 call with explicit target.
728 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
729 to the method name tokens when it precedes them.
730 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
731 (ruby-smie-rules): Add rule for indentation before and after "."
732 token.
733
df74c4be
SM
7342013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
735
c6dab55f
SM
736 * textmodes/remember.el (remember-diary-extract-entries):
737 Avoid add-to-list.
738
df74c4be
SM
739 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
740 an instruction.
741
8c1ae481
DG
7422013-10-21 Dmitry Gutov <dgutov@yandex.ru>
743
cfef16c0
DG
744 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
745 (ruby-smie--implicit-semi-p): Add new operator chars.
746
8c1ae481
DG
747 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
748 `smie-down-list'.
749 (ruby-smie--args-separator-p): Check that there's no newline
750 between method call and its arguments.
751
87756ca9
AM
7522013-10-20 Alan Mackenzie <acm@muc.de>
753
754 Allow comma separated lists after Java "implements".
755
df74c4be
SM
756 * progmodes/cc-engine.el (c-backward-over-enum-header):
757 Parse commas.
87756ca9
AM
758 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
759 from a "disallowed" list in enum fontification.
760
c25f8957
JB
7612013-10-20 Johan Bockgård <bojohan@gnu.org>
762
df74c4be 763 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 764
c25f8957
JB
765 * progmodes/verilog-mode.el (verilog-mode): Don't set
766 comment-indent-function globally.
767
aca5fcdc
JD
7682013-10-20 Jan Djärv <jan.h.d@swipnet.se>
769
5f161884
JD
770 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
771 Move Info menu item creation to ns-win.el.
772
773 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
774 in menu bar.
775
aca5fcdc
JD
776 * menu-bar.el: Move GNUStep specific menus...
777
778 * term/ns-win.el (ns-initialize-window-system): ... to here.
779
914b7f98
SM
7802013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * simple.el (newline): Only run post-self-insert-hook when
783 called interactively.
784
846ffe77
JB
7852013-10-19 Johan Bockgård <bojohan@gnu.org>
786
787 * icomplete.el (icomplete-with-completion-tables): Add :version.
788
033f22dd
AM
7892013-10-19 Alan Mackenzie <acm@muc.de>
790
791 Fix fontification bugs with constructors and const.
792
793 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
794 CASE 2) Remove the check for the absence of a suffix construct
795 after a function declaration with only types (no identifiers) in
796 the parentheses. Also, accept a function declaration with just a
797 type inside the parentheses, if this type can be positively
798 recognised as such, or if a prefix keyword like "explicit" nails
799 down the construct as a declaration.
800
58ce0cfc
EZ
8012013-10-19 Eli Zaretskii <eliz@gnu.org>
802
803 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
804 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
805 the problem whereby selecting a menu item that leads to a
806 minibuffer prompt moves the cursor out of the minibuffer window,
807 making it hard to type at the prompt. Suggested by Stefan Monnier
808 <monnier@iro.umontreal.ca>.
809
50e28e7d
JD
8102013-10-19 Jan Djärv <jan.h.d@swipnet.se>
811
812 * menu-bar.el: Don't make Services menu.
813
7deed4bf
RS
8142013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
815
816 * ffap.el: Handle "/usr/include/c++/<version>" directories.
817 (ffap-alist): Use ffap-c++-mode for c++-mode.
818 (ffap-c++-path): New variable.
819 (ffap-c++-mode): New function.
820
7bcb455b
JVJ
8212013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
822
823 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
824
f0ff1cd5
MA
8252013-10-18 Michael Albinus <michael.albinus@gmx.de>
826
827 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
828 introduced on 2013-09-08, which results in an infinite loop
829 requesting a password.
830
d64da4b7
GM
8312013-10-18 Glenn Morris <rgm@gnu.org>
832
833 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
834
ea89ff08
WS
8352013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
836
837 Sync with upstream verilog-mode revision 1a6ecec7.
838 * progmodes/verilog-mode.el (verilog-mode-version): Update.
839 (verilog-mode-release-date): Remove.
840 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
841 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
842 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
843 (verilog-auto-tieoff-ignore-regexp)
844 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
845 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
846 (verilog-signals-with, verilog-dir-cache-preserving)
847 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
848 Doc fixes.
849 (verilog-case-fold): New option, to control case folding in
850 regexp searches, bug597.
851 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
852 (verilog-string-match-fold, verilog-in-paren-count)
853 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
854 (verilog-at-close-struct-p): New functions.
855 (verilog-beg-block-re-ordered, verilog-extended-case-re)
856 (verilog-forward-sexp, verilog-set-auto-endcomments):
857 (verilog-leap-to-case-head): Handle "unique0" case.
858 (verilog-in-constraint-re): New constant.
859 (verilog-keywords, verilog-type-font-keywords):
860 Add some SystemVerilog 1800-2012 keywords.
861 (verilog-label-be): Remove unimplemented argument, bug669.
862 (verilog-batch-execute-func): When batch expanding clear
863 create-lockfiles to prevent spurious user locks when a file ends
864 up not changing.
865 (verilog-calculate-indent, verilog-calc-1)
866 (verilog-at-close-constraint-p, verilog-at-constraint-p)
867 (verilog-do-indent): Fix indentation of nested constraints
868 and structures.
869 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
870 (verilog-auto-inst-param): Use verilog-string-match-fold.
871 (verilog-read-inst-module-matcher):
872 Fix AUTOINST on gate primitives with #1.
873 (verilog-read-decls): Fix double-declaring user-defined typed signals.
874 Reads all user-defined typed variables.
875 (verilog-read-defines): Fix reading definitions inside comments, bug647.
876 (verilog-signals-matching-regexp)
877 (verilog-signals-not-matching-regexp, verilog-auto):
878 Respect verilog-case-fold.
879 (verilog-diff-report): Fix line count.
880 (verilog-auto-assign-modport): Remove unused local `modi'.
881 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
882 better handle multidimensional arrays.
883 Fix packed array ports misadding bit index in AUTOINST, bug637.
884 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
885 to not double-declare existing outputs and inputs, respectively.
886 (verilog-template-map): Bind U to verilog-sk-uvm-component.
887 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
888 (verilog-sk-uvm-component): New skeleton.
889 (verilog-submit-bug-report): Add verilog-case-fold,
890 remove verilog-mode-release-date.
891
ef566920
BR
8922013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
893
894 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
895 as before.
896
29df8a0b
RT
8972013-10-18 Reuben Thomas <rrt@sc3d.org>
898
899 * textmodes/remember.el (remember): set buffer-offer-save in
900 remember buffers (bug#13566).
901
04a19a79
DC
9022013-10-18 Daniel Colascione <dancol@dancol.org>
903
904 When evaluating forms in ielm, direct standard output to ielm
905 buffer. Add new ielm-return-for-effect command. Remove trailing
906 whitespace throughout.
907
908 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
909 (ielm-return-for-effect): New command.
910 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
911 (ielm-eval-input): Accept optional `for-effect' parameter.
912 Bind `standard-output' to stream we create using
04a19a79
DC
913 `ielm-standard-output-impl'. Suppress printing result when
914 `for-effect'.
915 (ielm-standard-output-impl): New function.
916 (inferior-emacs-lisp-mode): Explain new features in documentation.
917
4c1f03ef
MA
9182013-10-17 Michael Albinus <michael.albinus@gmx.de>
919
920 Code cleanup.
921
922 * net/tramp.el (tramp-debug-message): Do not check for connection
923 buffer.
924 (tramp-message): Use "vector" connection property.
925
926 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
927 (tramp-equal-remote, tramp-eshell-directory-change)
928 * net/tramp-adb.el (tramp-adb-handle-copy-file)
929 (tramp-adb-handle-rename-file)
930 * net/tramp-cmds.el (tramp-list-remote-buffers)
931 (tramp-cleanup-connection, tramp-cleanup-this-connection)
932 * net/tramp-compat.el (tramp-compat-process-running-p)
933 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
934 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
935 (tramp-gvfs-handle-rename-file)
936 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
937 (tramp-set-file-uid-gid)
938 * net/tramp-smb.el (tramp-smb-handle-copy-file)
939 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
940 of `file-remote-p'.
941
942 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
943 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
944 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
945 (tramp-gw-open-network-stream): Suppress unrelated traces.
946
947 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
948 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
949 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
950 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
951 connection property.
952
953 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 954 persistency file.
4c1f03ef
MA
955
956 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
957 Refactor common code. Improve debug message.
958 (tramp-maybe-open-connection)
959 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
960 connection buffer too early.
961
962 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
963 from `tramp-smb-actions-with-acl'.
964 (tramp-smb-actions-set-acl): New defconst.
965 (tramp-smb-handle-copy-directory)
966 (tramp-smb-action-get-acl): New defun, renamed from
967 `tramp-smb-action-with-acl'.
968 (tramp-smb-action-set-acl): New defun.
969 (tramp-smb-handle-set-file-acl): Rewrite.
970
642eb8b6
GM
9712013-10-17 Glenn Morris <rgm@gnu.org>
972
973 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
974
85527ff3
SM
9752013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
976
921c1d62
SM
977 * skeleton.el (skeleton-newline): Remove.
978 (skeleton-internal-1): Use (insert "\n") instead.
979
e333fb10
SM
980 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
981 let-bindings.
982
85527ff3
SM
983 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
984 forward-sexp-function while we redo its job (bug#15613).
985
c8722a97
JB
9862013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
987
988 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
989 represented by lists.
990
7a550bbb
GM
9912013-10-16 Glenn Morris <rgm@gnu.org>
992
993 * tmm.el (tmm--history): New dynamic variable.
994 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
995
f19da8ad
MA
9962013-10-16 Michael Albinus <michael.albinus@gmx.de>
997
998 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
999 (tramp-smb-errors): Add error messages.
1000 (tramp-smb-actions-with-acl): New defconst.
1001 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1002 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1003 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1004 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1005 (tramp-smb-get-stat-capability): Fix tests.
1006
a24b9961
DK
10072013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1008
1009 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1010 (bug#15580).
1011
62ad85e6
GM
10122013-10-16 Glenn Morris <rgm@gnu.org>
1013
0283d6b0
GM
1014 * ansi-color.el (ansi-color-drop-regexp):
1015 Add 1J, 1K, 2K. (Bug#15617)
1016
012e2f9f
GM
1017 * files.el (hack-local-variables--warned-lexical): New.
1018 (hack-local-variables):
1019 Warn about misplaced lexical-binding. (Bug#15616)
1020
62ad85e6
GM
1021 * net/eww.el (eww-render): Always set eww-current-url,
1022 and update header line. (Bug#15622)
1023 (eww-display-html): ... Rather than just doing it here.
1024
6456c0ea
EZ
10252013-10-15 Eli Zaretskii <eliz@gnu.org>
1026
1027 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1028 menu navigations commands.
1029
c2de5588
DK
10302013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1031
1032 * progmodes/subword.el (subword-capitalize): Be careful when
1033 the search for [[:alpha:]] fails (bug#15580).
1034
ccd4a783
EZ
10352013-10-14 Eli Zaretskii <eliz@gnu.org>
1036
1037 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1038 to commands that scroll the menu.
1039
1eda1d8d
DG
10402013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1041
c2de5588
DK
1042 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1043 Handle methods ending with `?' and `!'.
1eda1d8d 1044
e70181b8
AM
10452013-10-14 Akinori MUSHA <knu@iDaemons.org>
1046
1047 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1048 `japanese-cp932' to `cp932' to fix the problem where saving a
1049 source file written in Shift_JIS twice would end up having
1050 `coding: japanese-cp932' which Ruby could not recognize.
1051 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1052 in `ruby-encoding-map'.
1053 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1054 doesn't need to be explicitly declared in magic comment.
1055 (ruby-encoding-map): Add type declaration for better customize UI.
1056
9148ee92
GM
10572013-10-13 Glenn Morris <rgm@gnu.org>
1058
a5d38e34
GM
1059 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1060 Occur buffers are read-only. http://bugs.debian.org/720775
1061
9148ee92
GM
1062 * emacs-lisp/authors.el (authors-fixed-entries):
1063 Comment out old alpha stuff.
1064
a9ba094b
DG
10652013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1066
1067 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1068 to `after-save-hook' instead of `before-save-hook'.
1069 (ruby-mode-set-encoding): Use the value of coding system used to
1070 write the file. Call `basic-save-buffer-1' after modifying the
1071 buffer.
1072
7a068717
AM
10732013-10-13 Alan Mackenzie <acm@muc.de>
1074
1075 Fix indentation/fontification of Java enum with
1076 "implements"/generic.
1077
c2de5588
DK
1078 * progmodes/cc-engine.el (c-backward-over-enum-header):
1079 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1080 (c-inside-bracelist-p): Uses new function above.
1081 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1082 function above.
1083 (c-font-lock-enum-tail): Uses new function above.
1084
85b64f02
KH
10852013-10-13 Kenichi Handa <handa@gnu.org>
1086
1087 * international/mule-cmds.el (select-safe-coding-system): Remove a
1088 superfluous condition in chekcing whether a coding system is safe
1089 or not.
1090
fc7f501b
OK
10912013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1092
1093 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1094
fdcb2049
AP
10952013-10-13 Andreas Politz <politza@hochschule-trier.de>
1096
1097 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1098
8c106d17
GM
10992013-10-13 Glenn Morris <rgm@gnu.org>
1100
feab892d
GM
1101 * menu-bar.el (menu-bar-update-buffers):
1102 Unify Buffers menu prompt string. (Bug#15576)
1103
b22d0686
GM
1104 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1105
8c106d17
GM
1106 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1107 Add some entries.
1108 (authors-fixed-entries): Use accented form of name.
1109
1b12c797
SM
11102013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1111
650fa7bf 1112 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1113 method calls (bug#15594).
650fa7bf
SM
1114 (ruby-smie--args-separator-p): New function.
1115 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1116 recognize paren-free method calls.
1117
1b12c797
SM
1118 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1119 internals of universal-argument.
1120
029619c8
EZ
11212013-10-11 Eli Zaretskii <eliz@gnu.org>
1122
1123 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1124 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1125 dropped menu on second mouse click on the menu bar.
029619c8 1126
dd070019
SM
11272013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1130 (explicit-shell-file-name): Declare.
1131 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1132 (sh-completion-at-point-function): New function.
1133 (sh-mode): Use it.
1134 (sh-smie--keyword-p): Remove unused argument.
1135 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1136 vars.
1137 (sh-set-shell): Always setup SMIE, even if we use the
1138 old indentation code.
1139
0922b826
DG
11402013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1141
b68e2926
DG
1142 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1143 cases of ? and =.
1144 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1145 predicate would return nil are almost non-existent.
1146 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1147
0922b826
DG
1148 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1149 cache also after commands that modify the buffer but don't move
1150 point.
1151
ee041f2d
SM
11522013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * env.el (substitute-env-in-file-name): New function.
1155 (substitute-env-vars): Extend the meaning of the optional arg.
1156
a5dab159
EZ
11572013-10-10 Eli Zaretskii <eliz@gnu.org>
1158
1159 * term/w32-win.el (dynamic-library-alist): Define separate lists
1160 of GIF DLLs for versions before and after 5.0.0 of giflib.
1161 (Bug#15531)
1162
db138698
JT
11632013-10-10 João Távora <joaotavora@gmail.com>
1164
1165 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1166 not locked, use last revision and current source as
1167 defaults. (Bug#15569)
1168
2f6e161e
MY
11692013-10-10 Masatake YAMATO <yamato@redhat.com>
1170
1171 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1172 menu-bar is hidden.
1173
6c8413fc
MR
11742013-10-10 Martin Rudalics <rudalics@gmx.at>
1175
1176 * window.el (pop-to-buffer-same-window): Fix doc-string.
1177 (Bug#15492)
1178
20832de0
SM
11792013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1182
c6e8ae77
AC
11832013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1184
1185 * calendar/icalendar.el (icalendar-import-file):
1186 Fix interactive spec. (Bug#15482)
1187
9db13baf
GM
11882013-10-10 Glenn Morris <rgm@gnu.org>
1189
9271e90e
GM
1190 * desktop.el (desktop-save): Default to saving in .emacs.d,
1191 since PWD is no longer in desktop-path by default. (Bug#15319)
1192
9db13baf
GM
1193 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1194 now that text mode has a menu with the same entry.
1195 (menu-bar-text-mode-auto-fill): Remove now unused func.
1196 * textmodes/text-mode.el (text-mode-map):
1197 Use auto-fill help text from menu-bar.el.
1198
a0be396a 11992013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1200
1201 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1202
2edcd3c7
JL
12032013-10-09 Juri Linkov <juri@jurta.org>
1204
1205 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1206 instead of this-command-keys. Add universal-argument-more and
1207 universal-argument-minus to the list of prefix commands. (Bug#15568)
1208
574411d0
GM
12092013-10-09 Glenn Morris <rgm@gnu.org>
1210
14afa541
GM
1211 * vc/vc-svn.el (vc-svn-create-repo):
1212 Expand paths in file://... url. (Bug#15446)
1213
574411d0
GM
1214 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1215 Add some entries.
1216 (authors): Remove unused local variables.
1217
79804536
SM
12182013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * profiler.el: Create a more coherent calltree from partial backtraces.
1221 (profiler-format): Hide the tail with `invisible' so that C-s can still
1222 find the hidden elements.
1223 (profiler-calltree-depth): Don't recurse so enthusiastically.
1224 (profiler-function-equal): New hash-table-test.
1225 (profiler-calltree-build-unified): New function.
1226 (profiler-calltree-build): Use it.
1227 (profiler-report-make-name-part): Indent the calltree less.
1228 (profiler-report-mode): Add visibility specs for profiler-format.
1229 (profiler-report-expand-entry, profiler-report-toggle-entry):
1230 Expand the whole subtree when provided with a prefix arg.
1231
238150c8
DG
12322013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1233
1234 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1235 iuwu-mod token.
1236 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1237 hanging iuwu-mod token.
1238 (ruby-smie--forward-token): Do not include a dot after a token in
1239 that token.
1240 (ruby-smie--backward-token): Likewise.
1241
b0949cc4
JL
12422013-10-08 Juri Linkov <juri@jurta.org>
1243
1244 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1245 to isearch-other-control-char.
1246 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1247 and isearch-post-command-hook to post-command-hook.
1248 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1249 and isearch-post-command-hook from post-command-hook.
1250 (isearch-unread-key-sequence)
1251 (isearch-reread-key-sequence-naturally)
1252 (isearch-lookup-scroll-key, isearch-other-control-char)
1253 (isearch-other-meta-char): Remove functions.
1254 (isearch-pre-command-hook, isearch-post-command-hook):
1255 New functions based on isearch-other-meta-char rewritten
1256 relying on the new behavior of overriding-terminal-local-map
1257 that does not replace the local keymaps any more. (Bug#15200)
1258
4ed77415
EZ
12592013-10-08 Eli Zaretskii <eliz@gnu.org>
1260
1261 Support menus on text-mode terminals.
1262 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1263 functionality.
1264
1265 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1266
c2de5588
DK
1267 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1268 Move here from mouse.el.
4ed77415
EZ
1269 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1270 and arrow keys.
1271 (tty-menu-navigation-map): New map for TTY menu navigation.
1272
1273 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1274
1275 * frame.el (display-mouse-p): Report text-mode mouse as available
1276 on w32.
1277 (display-popup-menus-p): Report availability if mouse is
1278 available; don't condition on window-system.
1279
1280 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1281 (tty-menu-selected-face): New faces.
1282
b7d5bd82
TL
12832013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1284
06286513
SM
1285 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1286 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1287 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1288 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1289 New constants.
1290 (lisp-mode-variables): New `elisp' argument.
1291 (emacs-lisp-mode): Use it.
1292 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1293 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1294
b7d5bd82
TL
1295 * indent.el: Use lexical-binding.
1296 (indent-region): Add progress reporter.
1297 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1298 last step.
1299 (indent--next-tab-stop): New function to implement this behavior.
1300 (tab-to-tab-stop, move-to-tab-stop): Use it.
1301
13022013-10-08 Teemu Likonen <tlikonen@iki.fi>
1303
1304 * indent.el (indent-rigidly--current-indentation): New function.
1305 (indent-rigidly-map): New var.
1306 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1307
5ea75d23
BG
13082013-10-08 Bastien Guerry <bzg@gnu.org>
1309
1310 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1311
cc5da1ec
SM
13122013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1313
8ffa1a0b
SM
1314 * progmodes/perl-mode.el: Use lexical-binding.
1315 Remove redundant :group args.
1316 (perl-nochange): Change default to be closer to other major modes's
1317 standard behavior.
1318 (perl-indent-line): Don't consider text on current line as a
1319 valid beginning of function from which to indent.
1320
f2223371
SM
1321 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1322 with more than one argument (bug#15538).
1323
44256060
SM
1324 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1325
cc5da1ec
SM
1326 * vc/pcvs.el: Use lexical-binding.
1327 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1328 environment of `eval'.
1329 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1330 than a list of expressions. Adjust callers.
1331 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1332
0ea1599d
DG
13332013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1334
1335 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1336 case of the dot in a chained method call being on the following line.
0ea1599d 1337
da3e5ebb
SM
13382013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1339
2abb4e65
SM
1340 * electric.el (electric-indent-inhibit): New var.
1341 (electric-indent-post-self-insert-function): Use it.
1342 * progmodes/python.el (python-mode): Set it.
1343
d2e0e795
SM
1344 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1345 open braces.
1346
1347 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1348
bdc6b4c8
SM
1349 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1350 (css-mode): Use electric-indent-chars.
1351
da3e5ebb
SM
1352 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1353 (font-lock-beg, font-lock-end): Move before first use.
1354 (nxml-mode): Use syntax-propertize-function.
1355 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1356 (nxml-extend-after-change-region): Remove.
1357 * nxml/xmltok.el: Use lexical-binding.
1358 (xmltok-save): Use `declare'.
1359 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1360 * nxml/nxml-util.el: Use lexical-binding.
1361 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1362 Use `declare'.
1363 * nxml/nxml-ns.el: Use lexical-binding.
1364 (nxml-ns-save): Use `declare'.
1365 (nxml-ns-prefixes-for): Avoid add-to-list.
1366 * nxml/rng-match.el: Use lexical-binding.
1367 (rng--ipattern): Use cl-defstruct.
1368 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1369 (rng-cons-group-after, rng-subst-group-after)
1370 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1371 Use closures instead of `(lambda...).
1372
f8f91d5d
MA
13732013-10-07 Michael Albinus <michael.albinus@gmx.de>
1374
1375 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1376 of BEG and END.
1377
da3e5ebb
SM
1378 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1379 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1380 (tramp-gvfs-handle-insert-file-contents): Remove function.
1381
da3e5ebb
SM
1382 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1383 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1384
1385 * net/trampver.el: Update release number.
1386
7ccae3b1
SM
13872013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1388
55ca2c0d
SM
1389 * progmodes/compile.el (compilation-parse-errors):
1390 Use compilation--put-prop.
1391 (compilation--ensure-parse): Check compilation-multiline.
1392
731fc3ae
SM
1393 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1394
da3e5ebb
SM
1395 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1396 lexical-binding.
a5833280 1397
2e7ba2c2
SM
1398 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1399
7ccae3b1
SM
1400 * progmodes/ruby-mode.el: Fix recently added tests.
1401 (ruby-smie-grammar): Add - and +.
1402 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1403 (ruby-smie--backward-id): New functions.
1404 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1405 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1406 any more.
1407
85698d63
LL
14082013-10-07 Leo Liu <sdl.web@gmail.com>
1409
1410 * register.el (register-preview-delay)
1411 (register-preview-functions): New variables.
1412 (register-read-with-preview, register-preview)
1413 (register-describe-oneline): New functions.
1414 (point-to-register, window-configuration-to-register)
1415 (frame-configuration-to-register, jump-to-register)
1416 (number-to-register, view-register, insert-register)
1417 (copy-to-register, append-to-register, prepend-to-register)
1418 (copy-rectangle-to-register): Use register-read-with-preview to
1419 read register. (Bug#15525)
1420
3986af6c
DS
14212013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1422
1423 * net/network-stream.el (network-stream-open-starttls): Don't add
1424 --insecure if it's already present, because that gnutls-cli
1425 rejects getting that parameter twice.
1426
5cd9cda9
DG
14272013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1428
1429 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1430 keyword, too.
1431
da9ea6d9
DG
14322013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1433
1434 * newcomment.el (comment-use-global-state): Change default value
1435 to t, mark obsolete (Bug#15251).
1436 (comment-beginning): In addition to `comment-to-syntax', check the
1437 value of `comment-use-global-state'.
1438
34d1a133
SM
14392013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1442 (ruby-comment-column): Follow the global default, by default.
1443 (ruby-smie-grammar): Add assignment syntax.
1444 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1445 open-paren, a comma, or a \.
1446 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1447 and line continuations.
1448 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1449 followed by implicit semi-colons. Add rule for string concatenation
1450 and for indentation at BOB.
1451 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1452
1453 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1454 calling next-sexp, since next-token may have skipped chars which
1455 next-sexp doesn't know should be skipped!
1456
6f6ab820
LL
14572013-10-05 Leo Liu <sdl.web@gmail.com>
1458
34d1a133
SM
1459 * progmodes/octave.el (octave-send-region):
1460 Call compilation-forget-errors.
6f6ab820 1461
34ca0f4c
XF
14622013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1463
1464 * vc/vc-svn.el (vc-svn-find-admin-dir):
1465 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1466 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1467 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1468 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1469
a27c1b72
SM
14702013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1473
258ab3bc
SM
14742013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * subr.el (read-passwd): Hide chars even when called within a context
1477 where after-change-functions is disabled (bug#15501).
1478 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1479 until we removed ourself from overriding-terminal-local-map.
1480
939fb29c
LL
14812013-10-04 Leo Liu <sdl.web@gmail.com>
1482
258ab3bc
SM
1483 * progmodes/octave.el (inferior-octave-mode):
1484 Call compilation-forget-errors.
939fb29c 1485
63bd7f35
XF
14862013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1487
1488 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1489
9e6229fa
MA
14902013-10-04 Michael Albinus <michael.albinus@gmx.de>
1491
1492 * net/secrets.el (secrets-create-collection): Add optional
1493 argument ALIAS. Use proper Label keyword. Append ALIAS as
1494 dbus-call-method argument. (Bug#15516)
1495
1dab32a3
LL
14962013-10-04 Leo Liu <sdl.web@gmail.com>
1497
1498 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1499 (inferior-octave-compilation-font-lock-keywords): New variables.
1500 (compilation-error-regexp-alist)
1501 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1502 (inferior-octave-mode): Use compilation-shell-minor-mode.
1503
6cad7ba3
JS
15042013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1505
1506 * minibuffer.el (completion--replace): Be careful that `end' might be
1507 a marker.
1508
acbadd00
DU
15092013-10-03 Daiki Ueno <ueno@gnu.org>
1510
1511 Add support for package signature checking.
1512 * emacs-lisp/package.el (url-http-file-exists-p)
1513 (epg-make-context, epg-context-set-home-directory)
1514 (epg-verify-string, epg-context-result-for)
1515 (epg-signature-status, epg-signature-to-string)
1516 (epg-check-configuration, epg-configuration)
1517 (epg-import-keys-from-file): Declare.
1518 (package-check-signature): New user option.
1519 (package-unsigned-archives): New user option.
1520 (package-desc): Add `signed' field.
1521 (package-load-descriptor): Set `signed' field if .signed file exists.
1522 (package--archive-file-exists-p): New function.
1523 (package--check-signature): New function.
1524 (package-install-from-archive): Check package signature.
1525 (package--download-one-archive): Check archive signature.
1526 (package-delete): Remove .signed file.
1527 (package-import-keyring): New command.
1528 (package-refresh-contents): Import default keyring.
1529 (package-desc-status): Add "unsigned" status.
1530 (describe-package-1, package-menu--print-info)
1531 (package-menu-mark-delete, package-menu--find-upgrades)
1532 (package-menu--status-predicate): Support "unsigned" status.
1533
adf2aa61
SM
15342013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1537 the new compilation scheme using the new byte-codes.
1538
1539 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1540 (byte-pophandler): New byte codes.
1541 (byte-goto-ops): Adjust accordingly.
1542 (byte-compile--use-old-handlers): New var.
1543 (byte-compile-catch): Use new byte codes depending on
1544 byte-compile--use-old-handlers.
1545 (byte-compile-condition-case--old): Rename from
1546 byte-compile-condition-case.
1547 (byte-compile-condition-case--new): New function.
1548 (byte-compile-condition-case): New function that dispatches depending
1549 on byte-compile--use-old-handlers.
1550 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1551 when we can.
1552
1553 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1554 Optimize under `condition-case' and `catch' if
1555 byte-compile--use-old-handlers is nil.
1556 (disassemble-offset): Handle new bytecodes.
1557
328a8179
SM
15582013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * subr.el (error): Use `declare'.
1561 (decode-char, encode-char): Use advertised-calling-convention instead
1562 of the docstring to discourage use of the `restriction' arg.
1563
15a1e936
DU
15642013-10-03 Daiki Ueno <ueno@gnu.org>
1565
1566 * epg.el (epg-verify-file): Add a comment saying that it does not
1567 notify verification error as a return value nor a signal.
1568 (epg-verify-string): Ditto.
1569
376f862a
KR
15702013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1571
1572 * progmodes/compile.el (compilation-start): Try globbing the arg to
1573 `cd' (bug#15417).
1574
a2f93a5f
MA
15752013-10-02 Michael Albinus <michael.albinus@gmx.de>
1576
1577 Sync with Tramp 2.2.8.
1578
1579 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1580 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1581 * net/trampver.el: Update release number.
1582
0daa0804
JD
15832013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1584
1585 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1586 and default-process-coding-system for darwin only.
1587
abd1ae34
SM
15882013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1591
be4e325d
MH
15922013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1593
1594 * vc/vc-git.el (vc-git-grep): Disable pager.
1595
e9155c4a
DG
15962013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1597
494e898b
DG
1598 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1599 Use :url instead of :homepage, as per
1600 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1601
e9155c4a
DG
1602 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1603 non-nil, use `syntax-ppss' (Bug#15251).
1604
481a8e0f
RS
16052013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1606
be4e325d
MH
1607 * progmodes/octave.el (inferior-octave-startup-file):
1608 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1609
056453c6
DG
16102013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1611
be4e325d
MH
1612 * emacs-lisp/package.el (package-desc-from-define):
1613 Accept additional arguments as plist, convert them to an alist and store
1614 them in the `extras' slot.
056453c6
DG
1615 (package-generate-description-file): Convert extras alist back to
1616 plist and append to the `define-package' form arguments.
1617 (package--alist-to-plist): New function.
1618 (package--ac-desc): Add `extras' slot.
1619 (package--add-to-archive-contents): Check if the archive-contents
1620 vector is long enough, and if it is, pass its `extras' slot value
1621 to `package-desc-create'.
1622 (package-buffer-info): Call `lm-homepage', pass the returned value
1623 to `package-desc-from-define'.
1624 (describe-package-1): Render the homepage button (Bug#13291).
1625
be4e325d
MH
1626 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1627 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1628
832966e5
JD
16292013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1630
1631 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1632 and default-process-coding-system to utf-8-unix (Bug#15402).
1633
6cfe977d
XF
16342013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1635
1636 * subr.el (looking-back): Do not recommend using looking-back.
1637
38de11bd
AM
16382013-09-28 Alan Mackenzie <acm@muc.de>
1639
1640 Fix indentation/fontification of Java enum with "implements".
1641
1642 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1643 regexp which matches "implements", etc., in Java.
1644 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1645 specifier clauses coming after "enum".
1646 * progmodes/cc-fonts.el (c-font-lock-declarations)
1647 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1648 after "enum".
1649
1610938f
JD
16502013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1651
1652 * faces.el (region): Change ns_selection_color to
1653 ns_selection_fg_color, add ns_selection_bg_color.
1654
e090f499
LL
16552013-09-28 Leo Liu <sdl.web@gmail.com>
1656
4d2e94d1
LL
1657 * progmodes/octave.el (inferior-octave-completion-table)
1658 (inferior-octave-completion-at-point): Minor tweaks.
1659
e090f499
LL
1660 * textmodes/ispell.el (ispell-lookup-words): Rename from
1661 lookup-words. (Bug#15460)
1662 (lookup-words): Obsolete.
1663 (ispell-complete-word, ispell-command-loop): All uses changed.
1664
7e138a62
RS
16652013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1666
1667 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1668 (octave-mode-menu): Add octave-send-buffer.
1669 (octave-send-buffer): New function.
1670
5af5ed08
RS
16712013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1672
1673 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1674 octave-lookfor.
1675 (octave-mode-menu): Add octave-lookfor.
1676 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1677 octave-lookfor.
1678 (octave-lookfor): New function.
1679
3b7b2692
SM
16802013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * emacs-lisp/cl-macs.el:
1683 (cl--loop-destr-temps): Remove.
1684 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1685 its convention.
1686 (cl--loop-set-iterator-function): New function.
1687 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1688 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1689 Bind `it' with `let' instead of substituting it with `cl-subst'.
1690 (cl--unused-var-p): New function.
1691 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1692 Eliminate some unused variable warnings (bug#15326).
1693
529fb53f
TH
16942013-09-27 Tassilo Horn <tsdh@gnu.org>
1695
1696 * doc-view.el (doc-view-scale-reset): Rename from
1697 `doc-view-reset-zoom-level'.
1698 (doc-view-scale-adjust): New command.
1699 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1700 `doc-view-scale-adjust'.
1701
0550c95a
TH
17022013-09-26 Tassilo Horn <tsdh@gnu.org>
1703
1704 * doc-view.el (doc-view-reset-zoom-level): New command.
1705 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1706 zoom commands (bug#15466).
1707
6950f152
KH
17082013-09-26 Kenichi Handa <handa@gnu.org>
1709
1710 * international/quail.el (quail-help): Make it not a command.
1711
39587580
LL
17122013-09-26 Leo Liu <sdl.web@gmail.com>
1713
1714 * minibuffer.el (completion-all-sorted-completions): Make args
1715 optional as they are.
1716
00578659
DC
17172013-09-25 Daniel Colascione <dancol@dancol.org>
1718
1719 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1720 specs are and that they're not evaluated.
1721
0c173878
SS
17222013-09-24 Sam Steingold <sds@gnu.org>
1723
1724 * midnight.el (clean-buffer-list-kill-regexps)
1725 (clean-buffer-list-kill-buffer-names): Update for the new Man
1726 buffer naming which includes the object name.
1727
84998447
SM
17282013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1729
1730 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1731 (eshell-parse-command, eshell-parse-pipeline): Use it since
1732 eshell-separate-commands requires a dynamic scoped var.
1733 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1734
33215353
LL
17352013-09-23 Leo Liu <sdl.web@gmail.com>
1736
1737 * autoinsert.el (auto-insert-alist): Make the value of
1738 lexical-binding match its file setting.
1739
57b16162
JB
17402013-09-23 Juanma Barranquero <lekktu@gmail.com>
1741
c8af4e67
JB
1742 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1743
57b16162
JB
1744 * autoarg.el (autoarg-kp-digit-argument):
1745 * electric.el (Electric-command-loop):
1746 * kmacro.el (kmacro-step-edit-insert):
1747 Do not set universal-argument-num-events.
1748
7186ba60
LL
17492013-09-22 Leo Liu <sdl.web@gmail.com>
1750
1751 * files.el (interpreter-mode-alist): Add octave.
1752
ece15004
AM
17532013-09-21 Alan Mackenzie <acm@muc.de>
1754
1755 C++: fontify identifier in declaration following "public:" correctly.
1756 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1757 to match "public", etc.
1758 (c-decl-prefix-re): Add ":" into the C++ value.
1759 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1760 bit. Add a check for a ":" preceded by "public", etc.
1761
75d83e22
EZ
17622013-09-21 Eli Zaretskii <eliz@gnu.org>
1763
1764 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1765 recognized by GDB 7.5 and later.
1766
d052d3bd
XF
17672013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1768
1769 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1770
31dca772
R
17712013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * subr.el (internal--call-interactively): New const.
1774 (called-interactively-p): Use it (bug#3984).
1775
98ccf24e
XF
17762013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1777
1778 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1779 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1780 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1781
c39cc7d1
SM
17822013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1783
1784 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1785 (eshell-ls-orig-insert-directory): Remove.
1786 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1787 (eshell-ls-use-in-dired): Use advice-add/remove.
1788 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1789 Add `orig-fun' arg for use in :around advice.
1790 Make it check (redundantly) eshell-ls-use-in-dired.
1791
9a0289a2
GM
17922013-09-19 Glenn Morris <rgm@gnu.org>
1793
a2c501b8
GM
1794 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1795
c440407a
GM
1796 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1797
9a0289a2
GM
1798 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1799
85e05915
MA
18002013-09-19 Michael Albinus <michael.albinus@gmx.de>
1801
1802 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1803 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1804 (tramp-get-remote-python): New defuns.
1805 (tramp-get-remote-uid-with-perl)
1806 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1807 contributed by yary <not.com@gmail.com> (tiny change).
1808 (tramp-get-remote-uid-with-python)
1809 (tramp-get-remote-gid-with-python): New defuns. Python code
1810 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1811 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1812
ce503312
GM
18132013-09-19 Glenn Morris <rgm@gnu.org>
1814
f7544773
GM
1815 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1816
72fd2877
GM
1817 * eshell/em-unix.el (eshell-remove-entries):
1818 Rename argument to avoid name-clash with global `top-level'.
1819
336b5a56
GM
1820 * eshell/esh-proc.el (eshell-kill-process-function):
1821 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1822 (eshell-reset-after-proc): Remove unused arg `proc'.
1823
57a3a53d
GM
1824 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1825 (directory-files-and-attributes): Mark unused arg.
1826
3261d4af
GM
1827 * eshell/em-unix.el (eshell-remove-entries):
1828 Remove unused arg `path'. Update callers.
1829
8e51b5d0
GM
1830 * eshell/em-hist.el (eshell-hist-parse-arguments):
1831 Remove unused arg `silent'. Update callers.
1832
ce503312
GM
1833 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1834 Fix (f)boundp mix-up.
1835
1836 * eshell/em-smart.el (eshell-smart-scroll-window)
1837 (eshell-disable-after-change):
336b5a56 1838 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1839
ee3ce8a7
AM
18402013-09-18 Alan Mackenzie <acm@muc.de>
1841
1842 Fix fontification of type when followed by "const".
1843 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1844 "known" types from fontification.
1845
ec9177ba
GM
18462013-09-18 Glenn Morris <rgm@gnu.org>
1847
7bb3e768
GM
1848 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1849 (chart-face-list): Drop Emacsen without display-color-p.
1850
5148da15
GM
1851 * net/eww.el (libxml-parse-html-region): Declare.
1852 (eww-display-html): Explicit error if no libxml2 support.
1853
2f68e157
GM
1854 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1855
9019d095
GM
1856 * image.el (image-type-from-buffer, image-multi-frame-p):
1857 Remove --without-x warning/error.
67645389 1858
5f30349b 1859 * mouse.el (mouse-yank-primary):
45069b2e 1860 * term.el (term-mouse-paste):
5f30349b
GM
1861 Reorder to silence --without-x compilation.
1862
cd8edbbe
GM
1863 * mpc.el (doc-view-mode): Silence --without-x compilation.
1864
8a78544e
GM
1865 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1866 Silence --without-x compilation.
1867
12679bfd
GM
1868 * progmodes/gud.el (gud-find-file, gud-mode):
1869 Silence --without-x compilation.
1870 (tooltip-mode): Declare.
30810a05 1871
f0047cb9
GM
1872 * wdired.el (dired-backup-overwrite): Remove declaration.
1873 (wdired-mode-map): Add doc string.
1874
e740f9d2
GM
1875 * custom.el (x-get-resource): Declare.
1876
92d77c89
GM
1877 * eshell/em-glob.el (ange-cache):
1878 * eshell/em-unix.el (ange-cache): Declare.
1879
76e69577
GM
1880 * faces.el (x-display-list, x-open-connection, x-get-resource):
1881 Declare.
7e58af4b
GM
1882
1883 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1884 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1885 Declare.
76e69577 1886
4bd4c0af 1887 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1888
ffb82dbd
GM
1889 * net/gnutls.el (gnutls-log-level): Declare.
1890
986ed135
GM
1891 * net/shr.el (image-size, image-animate): Declare.
1892
e740f9d2
GM
1893 * simple.el (font-info): Declare.
1894
d2f3e9f8
GM
1895 * subr.el (x-popup-dialog): Declare.
1896
047a1a4c
GM
1897 * term/common-win.el (x-select-enable-primary)
1898 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1899 Declare.
1900
f4a1d572
GM
1901 * term/ns-win.el (x-handle-args): Declare.
1902
e843de77
GM
1903 * term/x-win.el (x-select-enable-clipboard): Declare.
1904
5fa89513
GM
1905 * term/w32-win.el (create-default-fontset): Declare.
1906
38702b5b
GM
1907 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1908 Declare.
1909
e740f9d2
GM
1910 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1911 (fit-frame-to-buffer): Explicit error if --without-x.
1912 (mouse-autoselect-window-select): Silence compiler.
1913
49a053fc
GM
1914 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1915
1916 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1917 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1918 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1919 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1920 Remove unused local variables.
1921
1922 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1923
ec9177ba
GM
1924 * textmodes/two-column.el: Make 2C-split work for --without-x.
1925 (scroll-bar-columns): Autoload.
1926 (top-level): Require fringe when compiling.
1927
9f25cb77
LL
19282013-09-18 Leo Liu <sdl.web@gmail.com>
1929
1930 * subr.el (add-hook): Robustify to handle closure as well.
1931
2b42da98
GM
19322013-09-17 Glenn Morris <rgm@gnu.org>
1933
1934 * simple.el (messages-buffer-mode-map): Unbind "g".
1935
e8b66a6a
SM
19362013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1937
9c0ad4f7
SM
1938 * help-mode.el (help-mode-finish): Use derived-mode-p.
1939 Remove obsolete highlighting.
1940
7a806dfb
SM
1941 * play/life.el (life-mode): Use define-derived-mode. Derive from
1942 special-mode.
1943 (life): Let-bind inhibit-read-only.
1944 (life-setup): Avoid `setq'. Use `life-mode'.
1945
96dbf5a8
SM
1946 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1947 which should not be needed any more.
1948 (package-menu-refresh, package-menu-describe-package): Use user-error.
1949
e8b66a6a
SM
1950 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1951 (eshell-post-rewrite-command-hook): Make obsolete.
1952 (eshell-parse-command): Simplify.
1953 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1954 (eshell--cmd): Declare.
1955 (eshell-parse-pipeline): Remove unused var `final-p'.
1956 Pass a dynvar to eshell-post-rewrite-command-hook.
1957 Implement the new eshell-post-rewrite-command-function.
1958 (eshell-invoke-directly): Remove unused arg `input'.
1959 * eshell/esh-io.el (eshell-io-initialize):
1960 Use eshell-post-rewrite-command-function (bug#15399).
1961 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1962 adjust to new calling convention.
1963 (eshell-create-handles): Rename args to avoid clashing with dynvar
1964 `standard-output'.
1965
90582f05
GM
19662013-09-17 Glenn Morris <rgm@gnu.org>
1967
1968 * simple.el (messages-buffer-mode): New major mode.
1969 (messages-buffer): New function.
1970 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1971 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1972 (ert-run-test): Use `messages-buffer' function.
90582f05 1973 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1974 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1975 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1976
39eb0cb5 19772013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1978
1979 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1980
1f1e06e2
SM
1981 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1982
70568a90
SM
19832013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1984
504a0381
SM
1985 * icomplete.el (icomplete-in-buffer): New var.
1986 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1987 vars and replace them with functions.
1988 (icomplete-minibuffer-setup): Adjust accordingly.
1989 (icomplete--completion-table, icomplete--completion-predicate)
1990 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1991 New functions.
1992 (icomplete-forward-completions, icomplete-backward-completions)
1993 (icomplete-simple-completing-p, icomplete-exhibit)
1994 (icomplete-completions): Use them.
1995 (icomplete--in-region-buffer): New var.
1996 (icomplete--in-region-setup): New function.
1997 (icomplete-mode): Use it.
1998
70568a90
SM
1999 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2000 (bug#15379).
2001 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2002 return args and options.
2003 (eshell-eval-using-options): Use the new return value of
2004 eshell--do-opts to set the options's vars in their scope.
2005 (eshell--set-option): Rename from eshell-set-option.
2006 Add arg `opt-vals'.
2007 (eshell--process-option): Rename from eshell-process-option.
2008 Add arg `opt-vals'.
2009 (eshell--process-args): Use an `opt-vals' alist to store the options's
2010 values during their processing and return them additionally to the
2011 remaining args.
2012
578c21bc
DG
20132013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2014
2015 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2016 continuation character an operator, as far as indentation is
2017 concerned (Bug#15369).
2018
c089653d
MR
20192013-09-15 Martin Rudalics <rudalics@gmx.at>
2020
2021 * window.el (window--state-put-2): Don't process buffer state
2022 when buffer doesn't exist any more (Bug#15382).
2023
1e53bb4b
GM
20242013-09-15 Glenn Morris <rgm@gnu.org>
2025
30753242
GM
2026 * eshell/em-unix.el (eshell/rm):
2027 Make -f ignore missing files. (Bug#15373)
2028
1e53bb4b
GM
2029 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2030 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2031 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2032
0d8863b3
GM
20332013-09-14 Glenn Morris <rgm@gnu.org>
2034
2035 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2036
d3fc6549
GM
20372013-09-13 Glenn Morris <rgm@gnu.org>
2038
2039 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2040 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2041
fcd42c11
DA
20422013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2043
2044 * frame.el (x-focus-frame): Mark as declared in frame.c.
2045
7830899f
SM
20462013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * ls-lisp.el: Use advice-add.
2049 (original-insert-directory): Remove.
2050 (ls-lisp--insert-directory): Rename from insert-directory; add
2051 `orig-fun' argument.
2052 (insert-directory): Advise.
2053
84387cd2
EZ
20542013-09-13 Eli Zaretskii <eliz@gnu.org>
2055
2056 * term.el (term-emulate-terminal): Decode the command string
2057 before passing it to term-command-hook. (Bug#15337)
2058
35ffc6ba
GM
20592013-09-13 Glenn Morris <rgm@gnu.org>
2060
5c3f9bcc
GM
2061 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2062
2ada368a
GM
2063 * eshell/esh-ext.el (eshell-search-path): Declare.
2064
fcef2e13
GM
2065 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2066 Otherwise an error occurs if eshell-dirs module not loaded.
2067
35ffc6ba
GM
2068 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2069
35c3d36e
MA
20702013-09-13 Michael Albinus <michael.albinus@gmx.de>
2071
2072 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2073 `tramp-check-proper-host'. Check for a valid method name.
2074
2075 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2076 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2077 * net/tramp-sh.el (tramp-maybe-open-connection):
2078 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2079
2080 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2081 also for hash values.
2082
ae5e4c48
SM
20832013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2084
379add74
SM
2085 * term/ns-win.el (parameters): Don't declare as dynamic.
2086 (before-make-frame-hook): Don't add ineffective function.
2087
ae5e4c48
SM
2088 * eshell/*.el: Use lexical-binding (bug#15231).
2089
b5623270
KH
20902013-09-12 Kenichi Handa <handa@gnu.org>
2091
ae5e4c48 2092 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2093
30213927
GM
20942013-09-12 Glenn Morris <rgm@gnu.org>
2095
be94d713 2096 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2097 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2098
44915370
GM
2099 * subr.el (do-after-load-evaluation): Also give compiler warnings
2100 when obsolete files are used (except by obsolete files).
2101
a6ae021f
GM
2102 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2103 in the status output, assume `filename' is the first. (Bug#15322)
2104
40e64f0c
GM
2105 * vc/vc.el (vc-deduce-fileset): Doc fix.
2106
16d9f896
GM
2107 * calc/calc-help.el (Info-goto-node):
2108 * progmodes/cperl-mode.el (Info-find-node):
2109 * vc/ediff.el (Info-goto-node): Update declarations.
2110
dea01c6e
GM
2111 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2112
759880bf 2113 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2114 (vc-bzr-pull): Require vc-dispatcher.
2115 * vc/vc-git.el (vc-compilation-mode): Declare.
2116 (vc-git-pull): Require vc-dispatcher.
2117
08d66420
GM
2118 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2119
30b626e9
GM
2120 * progmodes/octave.el (help-button-action): Declare.
2121
8c05cb10
GM
2122 * shell.el (shell-directory-tracker): Output error as a message
2123 rather than just returning it as a string.
2124 (shell-process-pushd): Remove useless use of message.
2125
30213927
GM
2126 * dframe.el (dframe-timer-fn):
2127 * files.el (dir-locals-read-from-file):
2128 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2129 (mpc-format):
2130 * reveal.el (reveal-post-command):
2131 * saveplace.el (load-save-place-alist-from-file):
2132 * shell.el (shell-resync-dirs):
2133 * w32-common-fns.el (x-get-selection-value):
2134 * emacs-lisp/copyright.el (copyright-find-copyright):
2135 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2136 * emulation/tpu-edt.el (tpu-copy-keyfile):
2137 * play/bubbles.el (bubbles--mark-neighbourhood):
2138 * progmodes/executable.el
2139 (executable-make-buffer-file-executable-if-script-p):
2140 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2141
d3b049e6
SM
21422013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2143
170266d0
SM
2144 Cleanup Eshell to rely less on dynamic scoping.
2145 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2146 last-value, and ext-command here. Bind `args' closer to `body'.
2147 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2148 (eshell--args): Declare new dynamic var.
2149 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2150 last-value, and ext-command. Pass `args' to `body'.
2151 (eshell-process-args): Bind eshell--args.
2152 (eshell-set-option): Use eshell--args.
2153 * eshell/eshell.el (eshell): Use derived-mode-p.
2154 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2155 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2156 (eshell-glob-function): Declare.
2157 * eshell/esh-util.el: Require cl-lib.
2158 (eshell-read-hosts-file): Avoid add-to-list.
2159 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2160 `err'.
2161 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2162 Declare.
2163 (eshell/diff): Remove unused var `err'.
2164 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2165 `killflag'.
2166 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2167 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2168 first use.
2169 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2170 Move declaration before first use.
2171 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2172 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2173 rely on cl-return.
2174
56834f3b
GM
21752013-09-12 Glenn Morris <rgm@gnu.org>
2176
2177 * term/ns-win.el (global-map): Remove binding for ispell-next,
2178 deleted 1999-05-29. (Bug#15357)
2179
5c91a2b8
GM
21802013-09-11 Glenn Morris <rgm@gnu.org>
2181
da712f22
GM
2182 * echistory.el (electric-command-history): Remove call to deleted func.
2183
512e4cdc
GM
2184 * play/landmark.el (landmark-mode): Fix typos.
2185
d3506ca5
GM
2186 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2187 Check cvs-sort-ignore-file is bound.
2188
5c91a2b8
GM
2189 * savehist.el: No need for cl when compiling on Emacs.
2190
feeff482
SM
21912013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2192
656bd483
SM
2193 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2194 (bug#15338).
d3b049e6
SM
2195 (eshell-self-insert-command, eshell-send-invisible):
2196 Remove unused argument.
656bd483
SM
2197 (eshell-handle-control-codes): Remove unused var `orig'.
2198 Avoid delete-backward-char.
2199
feeff482
SM
2200 * files.el (set-auto-mode): Simplify a bit further.
2201
2a08047a
GM
22022013-09-11 Glenn Morris <rgm@gnu.org>
2203
2204 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2205 (set-auto-mode): Don't regexp-quote elements.
2206 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2207 * progmodes/cc-mode.el (interpreter-mode-alist):
2208 * progmodes/ruby-mode.el (interpreter-mode-alist):
2209 Revert previous change.
2210
34675540
SM
22112013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2212
1b3b87df
SM
2213 * play/snake.el (snake-mode):
2214 * play/mpuz.el (mpuz-mode):
2215 * play/landmark.el (lm-mode):
2216 * play/blackbox.el (blackbox-mode):
2217 * play/5x5.el (5x5-mode):
2218 * obsolete/options.el (Edit-options-mode):
2219 * net/quickurl.el (quickurl-list-mode):
2220 * net/newst-treeview.el (newsticker-treeview-mode):
2221 * mail/rmailsum.el (rmail-summary-mode):
2222 * mail/mspools.el (mspools-mode):
2223 * locate.el (locate-mode):
2224 * ibuffer.el (ibuffer-mode):
2225 * emulation/ws-mode.el (wordstar-mode):
2226 * emacs-lisp/debug.el (debugger-mode):
2227 * array.el (array-mode):
2228 * net/eudc.el (eudc-mode): Use define-derived-mode.
2229 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2230 Move initialization into declaration.
2231 (mairix-searches-mode): Use define-derived-mode.
2232 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2233 (eudc-edit-hotlist): Use dolist.
2234 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2235 (Man-mode): Use define-derived-mode.
2236 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2237 (Info-edit-mode): Use define-derived-mode.
2238 (Info-cease-edit): Use Info-mode.
2239 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2240 into declaration.
2241 (eshell-mode): Use define-derived-mode.
2242 * chistory.el (command-history-mode-map): Rename from
2243 command-history-map.
2244 (command-history-mode): Use define-derived-mode.
da712f22 2245 (Command-history-setup): Remove function.
1b3b87df
SM
2246 * calc/calc.el (calc-trail-mode-map): New var.
2247 (calc-trail-mode): Use define-derived-mode.
2248 (calc-trail-buffer): Set calc-main-buffer manually.
2249 * bookmark.el (bookmark-insert-annotation): New function.
2250 (bookmark-edit-annotation): Use it.
2251 (bookmark-edit-annotation-mode): Make it a proper major mode.
2252 (bookmark-send-edited-annotation): Use derived-mode-p.
2253 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2254 closer to its ideal place. Use \' to match EOS.
2255
34675540
SM
2256 * profiler.el (profiler-calltree-find): Use function-equal.
2257
6a5c15d9
GM
22582013-09-10 Glenn Morris <rgm@gnu.org>
2259
1af4c220
GM
2260 * files.el (interpreter-mode-alist): Convert to regexps.
2261 (set-auto-mode): Adapt for this. (Bug#15306)
2262 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2263 Comment out unused variable.
2264 * progmodes/cc-mode.el (interpreter-mode-alist):
2265 * progmodes/python.el (interpreter-mode-alist):
2266 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2267 * progmodes/sh-script.el (sh-set-shell):
2268 No longer use interpreter-mode-alist to get list of shells.
2269
6a5c15d9
GM
2270 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2271
8c27f5ff
SM
22722013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2273
02ef6c1a 2274 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2275 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2276 Bind switch-frame explicitly. Replace universal-argument-minus with
2277 a conditional binding.
2278 (universal-argument-num-events, saved-overriding-map): Remove.
2279 (restore-overriding-map): Remove.
2280 (universal-argument--mode): Rename from save&set-overriding-map,
2281 and rewrite.
2282 (universal-argument, universal-argument-more, negative-argument)
2283 (digit-argument): Adjust accordingly.
2284 (universal-argument-minus): Remove.
2285 (universal-argument-other-key): Remove.
2286
8c27f5ff
SM
2287 * subr.el (with-demoted-errors): Add `format' argument.
2288
6480194c
MA
22892013-09-10 Michael Albinus <michael.albinus@gmx.de>
2290
2291 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2292 `tramp-cleanup-connection'.
2293
2294 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2295 parameters KEEP-DEBUG and KEEP-PASSWORD.
2296
2297 * net/tramp.el (tramp-file-name-handler):
2298 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2299 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2300 (tramp-maybe-open-connection):
8c27f5ff
SM
2301 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2302 Use `tramp-cleanup-connection'.
6480194c 2303
8c27f5ff
SM
2304 * net/tramp-sh.el (tramp-maybe-open-connection):
2305 Catch 'uname-changed inside the progress reporter.
6480194c 2306
e5e916d8
GM
23072013-09-10 Glenn Morris <rgm@gnu.org>
2308
9a2c9b47
GM
2309 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2310
e5e916d8
GM
2311 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2312 returns "alternate access method" in mode (eg "-rw-r--r--.").
2313
144e38fe
GM
23142013-09-08 Glenn Morris <rgm@gnu.org>
2315
2316 * saveplace.el (load-save-place-alist-from-file):
2317 Demote errors. (Bug#15305)
2318
af9ff9e8
MA
23192013-09-08 Michael Albinus <michael.albinus@gmx.de>
2320
2321 Improve compatibility with older Emacsen, and XEmacs.
2322
2323 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2324 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2325 (with-tramp-progress-reporter): Do not let-bind `result'.
2326 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2327 (tramp-handle-make-auto-save-file-name): New function, moved from
2328 tramp-sh.el.
2329
2330 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2331 for `make-auto-save-file-name'.
8c27f5ff
SM
2332 (tramp-adb--gnu-switches-to-ash):
2333 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2334
2335 * net/tramp-cache.el (tramp-cache-print): Call
2336 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2337
2338 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2339 bound. It isn't for XEmacs.
2340
8c27f5ff
SM
2341 * net/tramp-compat.el (tramp-compat-copy-file):
2342 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2343 (tramp-compat-replace-regexp-in-string): New defun.
2344
2345 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2346 for `make-auto-save-file-name'.
2347 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2348 `copy-file'.
2349 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2350 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2351 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2352
8c27f5ff
SM
2353 * net/tramp-gw.el (tramp-gw-open-network-stream):
2354 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2355
8c27f5ff
SM
2356 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2357 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2358 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2359 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2360 (tramp-sh-file-inotifywait-process-filter):
2361 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2362 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2363
2364 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2365 for `make-auto-save-file-name'.
8c27f5ff
SM
2366 (tramp-smb-handle-copy-directory):
2367 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2368 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2369 (tramp-smb-handle-copy-file): Improve error message.
2370 (tramp-smb-handle-rename-file): Rename directly only in case
2371 `newname' does not exist yet. This is a restriction of smbclient.
2372 (tramp-smb-maybe-open-connection): Rerun the function only when
2373 `auth-sources' is non-nil.
2374
0ca754d0
KH
23752013-09-08 Kenichi Handa <handa@gnu.org>
2376
2377 * international/characters.el: Set category "^" (Combining) for
2378 more characters.
2379
e8dd0787
AM
23802013-09-07 Alan Mackenzie <acm@muc.de>
2381
2382 Correctly fontify Java class constructors.
2383 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2384 in Java Mode.
2385 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2386 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2387 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2388 "typeless" declaration there.
2389
f2f248e7
RW
23902013-09-07 Roland Winkler <winkler@gnu.org>
2391
2392 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2393 field subtitle for entry type book.
2394
67982e2b
SM
23952013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * minibuffer.el: Make minibuffer-complete call completion-in-region
2398 rather than other way around.
2399 (completion--some, completion-pcm--find-all-completions):
2400 Don't delay signals when debugging.
2401 (minibuffer-completion-contents): Beware fields within the
2402 minibuffer contents.
2403 (completion-all-sorted-completions): Use defvar-local.
2404 (completion--do-completion, completion--cache-all-sorted-completions)
2405 (completion-all-sorted-completions, minibuffer-force-complete):
2406 Add args `beg' and `end'.
2407 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2408 (minibuffer-complete): Use completion-in-region.
2409 (completion-complete-and-exit): New fun, extracted from
2410 minibuffer-complete-and-exit.
2411 (minibuffer-complete-and-exit): Use it.
2412 (completion--complete-and-exit): Rename from
2413 minibuffer--complete-and-exit.
2414 (completion-in-region--single-word): New function, extracted from
2415 minibuffer-complete-word.
2416 (minibuffer-complete-word): Use it.
2417 (display-completion-list): Make `common-substring' argument obsolete.
2418 (completion--in-region): Call completion--in-region-1 instead of
2419 minibuffer-complete.
2420 (completion-help-at-point): Pass boundaries to
2421 minibuffer-completion-help as args rather than via an overlay.
2422 (completion-pcm--string->pattern): Use `any-delim'.
2423 (completion-pcm--optimize-pattern): New function.
2424 (completion-pcm--pattern->regex): Handle `any-delim'.
2425 * icomplete.el (icomplete-forward-completions)
2426 (icomplete-backward-completions, icomplete-completions):
2427 Adjust calls to completion-all-sorted-completions and
2428 completion--cache-all-sorted-completions.
2429 (icomplete-with-completion-tables): Default to t.
2430 * emacs-lisp/crm.el (crm--current-element): Rename from
2431 crm--select-current-element. Don't put an overlay but return the
2432 boundaries instead.
2433 (crm--completion-command): Take two new args to bind to the boundaries.
2434 (crm-completion-help): Adjust accordingly.
2435 (crm-complete): Use completion-in-region.
2436 (crm-complete-word): Use completion-in-region--single-word.
2437 (crm-complete-and-exit): Use completion-complete-and-exit.
2438
e17d94a5
SM
24392013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2442 than dynamically.
2443
96727100
JL
24442013-09-06 Juri Linkov <juri@jurta.org>
2445
2446 * info.el (Info-display-images-node): When image file doesn't exist
2447 display text version of the image if it's provided in the Info file.
2448 Otherwise, display the location of missing image from SRC attribute.
2449 Add help-echo text property from ALT attribute. (Bug#15279)
2450
86cf7329
SM
24512013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2452
2453 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2454 (edit-abbrevs-mode): Use define-derived-mode.
2455
2456 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2457 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2458 that it's defined.
2459 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2460 Use define-derived-mode.
2461
2462 * epg.el (epg-start-encrypt): Minor CSE simplification.
2463
816244a2
WX
24642013-09-06 William Xu <william.xwl@gmail.com>
2465
2466 * arc-mode.el: Add support for 7za (bug#15264).
2467 (archive-7z-program): New var.
2468 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2469 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2470 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2471
1486fa31
MA
24722013-09-06 Michael Albinus <michael.albinus@gmx.de>
2473
2474 Remove URL syntax.
2475
2476 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2477 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2478 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2479 (tramp-postfix-host-format, tramp-file-name-regexp)
2480 (tramp-completion-file-name-regexp)
2481 (tramp-completion-dissect-file-name)
2482 (tramp-handle-substitute-in-file-name): Remove 'url case.
2483 (tramp-file-name-regexp-url)
2484 (tramp-completion-file-name-regexp-url): Remove constants.
2485
39785324
GM
24862013-09-06 Glenn Morris <rgm@gnu.org>
2487
2488 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2489
1f896cb7
DG
24902013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2493 keywords" below "here-doc beginnings" (Bug#15270).
2494
c0458e0b
SM
24952013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * subr.el (pop): Use `car-safe'.
2498 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2499 to detect unused `pop' return value.
2500
2501 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2502 var `block-regexp'.
2503 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2504 (python-fill-string): Remove unused var `marker'.
2505 (python-skeleton-add-menu-items): Remove unused var `items'.
2506
2507 * international/mule-cmds.el: Require CL.
2508 (find-coding-systems-for-charsets): Avoid add-to-list.
2509 (sanitize-coding-system-list): New function, extracted from
2510 select-safe-coding-system-interactively.
2511 (select-safe-coding-system-interactively): Use it.
2512 (read-input-method-name): Accept symbols for `default'.
2513
2514 * emacs-lisp/advice.el (defadvice): Add indent rule.
2515
6c42fc3e
DH
25162013-09-05 Daniel Hackney <dan@haxney.org>
2517
2518 * dired-x.el:
2519 * net/ange-ftp.el:
2520 * net/browse-url.el:
2521 * net/dbus.el:
2522 * net/eudc.el:
2523 * net/eudcb-ldap.el:
2524 * net/eww.el:
2525 * net/imap.el:
2526 * printing.el:
2527 * vc/ediff-diff.el:
2528 * vc/ediff-init.el:
2529 * vc/ediff-merg.el:
2530 * vc/ediff-mult.el:
2531 * vc/ediff-util.el:
2532 * vc/ediff-wind.el:
2533 * vc/ediff.el:
2534 * vc/emerge.el:
2535 * vc/pcvs.el:
2536 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2537 byte compiler. Remove some unused let-bound variables.
2538
4c528aab
SM
25392013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2542 a "ref-cell", since it gets better optimized (bug#14883).
2543
bd15c390
GM
25442013-09-05 Glenn Morris <rgm@gnu.org>
2545
2546 * progmodes/cc-awk.el (c-forward-sws): Declare.
2547
1c3ac2e5
GM
25482013-09-04 Glenn Morris <rgm@gnu.org>
2549
2550 * generic-x.el [rul-generic-mode]: Require cc-mode.
2551 (c++-mode-syntax-table): Declare.
2552 (rul-generic-mode-syntax-table): Init in the defvar.
2553
52b1cc79
SM
25542013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2555
c828af56
SM
2556 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2557 (vc-do-command, vc-set-async-update):
2558 * vc/vc-mtn.el (vc-mtn-dir-status):
2559 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2560 (vc-hg-pull, vc-hg-merge-branch):
2561 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2562 (vc-git-merge-branch):
2563 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2564 (vc-cvs-dir-status-files):
2565 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2566 (vc-bzr-dir-status-files):
2567 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2568 * vc/vc-annotate.el: Use lexical-binding.
2569 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2570 (vc-sentinel-movepoint): Declare.
2571 (vc-annotate): Don't use `goto-line'.
2572 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2573 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2574 (vc-sentinel-movepoint): Declare.
2575 * vc/vc-svn.el: Use lexical-binding.
2576 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2577 * vc/vc-sccs.el:
2578 * vc/vc-rcs.el: Use lexical-binding.
2579
abae272c
SM
2580 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2581 `deleted'. Don't drop errors silently.
2582
52b1cc79
SM
2583 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2584
63191d9f
XF
25852013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2586
2587 * vc/vc.el (vc-ignore): Rewrite.
2588 (vc-default-ignore): New function.
2589 (vc-default-ignore-completion-table): Use find-ignore-file.
2590
2591 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2592 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2593 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2594 Remove. Most code moved to vc.el.
2595
9d3f707c
SM
25962013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2597
abae272c 2598 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2599 * net/tramp-smb.el (tramp-smb-get-file-entries):
2600 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2601 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2602
fde38d49
SM
2603 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2604 Update call to it.
2605 (eww-change-select): Remove unused var `properties'.
2606 (eww-make-unique-file-name): Remove unused var `base'.
2607
2608 * finder.el (finder-compile-keywords): Don't mess with windows.
2609
84032db7
SM
2610 * calculator.el (calculator-funcall): Fix typo in last change.
2611
724f5e41
SM
2612 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2613
14b511d4
SM
2614 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2615 <pkg>-autoloads.el file stop us.
2616
9d3f707c 2617 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2618 warnings, and factor out common code.
9d3f707c 2619
88527bc0
DG
26202013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2621
2622 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2623 two-character operators and whether the character preceding them
2624 changes their meaning (Bug#15208).
2625
96edb677
FEG
26262013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2627
2628 Format code sent to Python shell for robustness.
9d3f707c
SM
2629 * progmodes/python.el (python-shell-buffer-substring):
2630 New function.
96edb677
FEG
2631 (python-shell-send-region, python-shell-send-buffer): Use it.
2632
95beaef3
MA
26332013-09-02 Michael Albinus <michael.albinus@gmx.de>
2634
2635 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2636 * net/tramp.el (tramp-user-error): ... here.
2637 (tramp-find-method, tramp-check-proper-host)
2638 (tramp-dissect-file-name, tramp-debug-message)
2639 (tramp-handle-shell-command):
2640 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2641 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2642
2643 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2644
f167c27b
MR
26452013-09-02 Martin Rudalics <rudalics@gmx.at>
2646
2647 * avoid.el (mouse-avoidance-point-position)
2648 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2649 returns nil.
2650
cd16c5f1
FEG
26512013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2652
2653 * progmodes/python.el (python-shell-completion-get-completions):
2654 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2655 (python-nav-if-name-main): New command.
cd16c5f1 2656
e73c3a0d
GM
26572013-09-01 Glenn Morris <rgm@gnu.org>
2658
f8ccce03
GM
2659 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2660 Avoid leading space in $wins. Otherwise the sed command used by
2661 eg compile-main ends up containing "/*.el". (Bug#15170)
2662
e73c3a0d
GM
2663 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2664
415f808e
GM
26652013-08-30 Glenn Morris <rgm@gnu.org>
2666
2667 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2668 Fix is-this-a-directory logic. (Bug#15220)
2669
f069bba8
SM
26702013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2671
112798c1
SM
2672 * textmodes/css-mode.el: Use SMIE.
2673 (css-smie-grammar): New var.
2674 (css-smie--forward-token, css-smie--backward-token)
2675 (css-smie-rules): New functions.
2676 (css-mode): Use them.
2677 (css-navigation-syntax-table): Remove var.
2678 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2679 (css-indent-calculate, css-indent-line): Remove functions.
2680
2681 Misc changes to reduce use of `(lambda...); and other cleanups.
2682 * cus-edit.el: Use lexical-binding.
2683 (customize-push-and-save, customize-apropos)
2684 (custom-buffer-create-internal): Use closures.
2685 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2686 * progmodes/ada-xref.el: Use setq.
2687 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2688 * dframe.el: Use lexical-binding.
2689 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2690 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2691 * descr-text.el: Use lexical-binding.
2692 (describe-text-widget, describe-text-sexp, describe-property-list):
2693 Use closures.
2694 * comint.el (comint-history-isearch-push-state): Use a closure.
2695 * calculator.el: Use lexical-binding.
2696 (calculator-number-to-string): Make it work with lexical-binding.
2697 (calculator-funcall): Same and use cl-letf.
2698
2da4c3ab
SM
2699 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2700 (lisp--company-doc-string, lisp--company-location): New functions.
2701 (lisp-completion-at-point): Use them to improve Company support.
2702
f069bba8
SM
2703 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2704 params of lambda expressions.
2705 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2706 (ruby-smie--opening-pipe-p): New function.
2707 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2708 symbols and matched |...| for formal params.
2709 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2710 from being treated as hanging. Handle "rescue".
2711
6758b6a8
GM
27122013-08-29 Glenn Morris <rgm@gnu.org>
2713
2714 * progmodes/cc-engine.el (c-pull-open-brace):
2715 Move definition before use.
2716
e8dfd197
SM
27172013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2720 are immutable. Don't use `unsafe' any more.
2721 (cl--defsubst-expand): Don't substitute at the same time as keeping
2722 a residual unused let-binding. Don't use `unsafe' any more.
2723
cc585c96
GM
27242013-08-29 Glenn Morris <rgm@gnu.org>
2725
ba579ea6
GM
2726 * calendar/cal-china.el (calendar-chinese-year-cache):
2727 Recenter on 2015.
2728
8201a87e
GM
2729 * nxml/nxml-util.el (nxml-debug-clear-inside):
2730 Use cl-loop rather than loop.
2731
6ee877c7
GM
2732 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2733
cc585c96
GM
2734 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2735
27be8d39
GM
27362013-08-28 Glenn Morris <rgm@gnu.org>
2737
397440a1
GM
2738 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2739
2bb762d4
GM
2740 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2741
27be8d39
GM
2742 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2743
2d69b99e
SM
27442013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2745
f663baa7
SM
2746 * simple.el (repeat-complex-command--called-interactively-skip):
2747 New function.
2748 (repeat-complex-command): Use it (bug#14136).
2749
dd4f8b74
SM
2750 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2751 (c-define-abbrev-table): Add `doc' argument.
2752 (c-mode-abbrev-table, c++-mode-abbrev-table)
2753 (objc-mode-abbrev-table, java-mode-abbrev-table)
2754 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2755 (awk-mode-abbrev-table): Use it.
2756 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2757 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2758 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2759 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2760 Move initialization into the declaration; and remove any
2761 autoload cookie.
2762
b58969f7
SM
2763 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2764 and dynamic let binding.
2765
4021d6a6
SM
2766 * vc/smerge-mode.el: Remove redundant :group args.
2767
2d69b99e
SM
2768 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2769 to load-path.
2770
274919fd
JL
27712013-08-28 Juri Linkov <juri@jurta.org>
2772
2773 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2774 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2775 (isearch-other-meta-char): Handle an undefined shifted printing
2776 character by downshifting it. (Bug#15200)
2777
121f8c95
JL
27782013-08-28 Juri Linkov <juri@jurta.org>
2779
2780 * isearch.el (isearch-search): Change regexp error message for
2781 non-regexp searches. (Bug#15166)
2782
50b13cde
PE
27832013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2784
2785 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2786 for portability to hosts where /bin/sh has problems.
2787
95888bca
SM
27882013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2791
bbe558f1
JL
27922013-08-27 Juri Linkov <juri@jurta.org>
2793
2794 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2795 in the keyboard macro. (Bug#15126)
2796
26f98a7d
JL
27972013-08-27 Juri Linkov <juri@jurta.org>
2798
2799 * isearch.el (isearch-quote-char): Comment out converting unibyte
2800 to multibyte, thus syncing with its `quoted-insert' counterpart.
2801 (Bug#15166)
2802
7c97d35e
MR
28032013-08-27 Martin Rudalics <rudalics@gmx.at>
2804
2805 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2806 argument in call of get-largest-window (Bug#15185).
2807 Reported by Stephen Leake.
7c97d35e 2808
a0b5606e 28092013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2810
2811 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2812
9e89d835
SM
28132013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2814
2815 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2816 from a matcher-function unless there's no more matches (bug#15161).
2817
78fc2530
MA
28182013-08-26 Michael Albinus <michael.albinus@gmx.de>
2819
2820 * minibuffer.el: Revert change from 2013-08-20.
2821
2822 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2823 with text property `tramp-default', if appropriate.
2824 (tramp-check-proper-host): New defun.
2825 (tramp-dissect-file-name): Do not check hostname. Revert change
2826 of 2013-03-18.
2827 (tramp-backtrace): Make VEC-OR-PROC optional.
2828
2829 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2830 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2831 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2832 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2833 Apply `tramp-check-proper-host'.
78fc2530 2834
edca97cd
TH
28352013-08-26 Tassilo Horn <tsdh@gnu.org>
2836
2837 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2838 lambda expression in order to have `describe-variable' display it.
2839
df54bcbd
MA
28402013-08-26 Michael Albinus <michael.albinus@gmx.de>
2841
2842 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2843 BUF can be optional. (Bug#15186)
2844
eed99101
XF
28452013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2846
2847 * progmodes/flymake.el (flymake-get-real-file-name-function):
2848 Fix broken customization. (Bug#15184)
2849
b5eb9035
AM
28502013-08-25 Alan Mackenzie <acm@muc.de>
2851
8a51e842
AM
2852 Improve indentation of bracelists defined by macros (without "=").
2853
2854 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2855 expansion begins with "{", regard it as bracelist when it doesn't
2856 contain a ";".
2857
869455d4
AM
2858 Parse C++ inher-intro when there's a template split over 2 lines.
2859
2860 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2861 rigorously the search for "class" etc. followed by ":".
2862
2863 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2864 random languages a regexp which never matches rather than nil.
2865
b5eb9035
AM
2866 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2867
2868 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2869 (c-awk-regexp-one-line-possibly-open-char-list-re)
2870 (c-awk-one-line-possibly-open-regexp-re)
2871 (c-awk-one-line-non-syn-ws*-re): Remove.
2872 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2873 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2874 (c-awk-space*-unclosed-regexp-/-re): New constants.
2875 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2876 aren't regexp delimiters.
2877
2878 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2879 handling for a rare situation in AWK Mode involving unterminated
2880 strings/regexps.
2881
61611d54
GM
28822013-08-23 Glenn Morris <rgm@gnu.org>
2883
2d85dc34
GM
2884 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2885
cb8d2612
GM
2886 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2887
bb35f42f
GM
2888 * files.el (create-file-buffer): If the result would begin with
2889 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2890
b9808e77
SM
28912013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2892
e3a66363
SM
2893 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2894 text-properties (bug#15155).
2895
b9808e77
SM
2896 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2897 exist any more.
2898 (calc-keypad-redraw): Remove unused var `pad'.
2899 (calc-keypad-press): Remove unused var `menu'.
2900
7fd5f65e
MR
29012013-08-23 Martin Rudalics <rudalics@gmx.at>
2902
b9808e77
SM
2903 * window.el (display-buffer-pop-up-frame):
2904 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2905 use it as the new frame's buffer (Bug#15133).
2906
8352b530
SM
29072013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * calendar/timeclock.el: Minor cleanups.
2910 (timeclock-ask-before-exiting, timeclock-use-display-time):
2911 Use `symbol'.
2912 (timeclock-modeline-display): Define as alias before the
2913 actual definition.
2914 (timeclock-mode-line-display): Use define-minor-mode.
2915 (timeclock-day-list-template): Make it a function, add an argument.
2916 (timeclock-day-list-required, timeclock-day-list-length)
2917 (timeclock-day-list-debt, timeclock-day-list-span)
2918 (timeclock-day-list-break): Adjust calls accordingly.
2919
9f7b1925
SM
29202013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2921
2922 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2923 Use read--expression so that completion works again.
2924
6e50e983
SS
29252013-08-21 Sam Steingold <sds@gnu.org>
2926
2927 Add rudimentary inferior shell interaction
2928 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2929 (sh-set-shell): Reset it.
9f7b1925
SM
2930 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2931 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2932
dbb0d350
SM
29332013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2934
2935 * align.el: Use lexical-binding.
2936 (align-region): Simplify accordingly.
2937
c88586a9
MA
29382013-08-20 Michael Albinus <michael.albinus@gmx.de>
2939
2940 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2941
2942 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2943 `non-essential' up.
2944
f95527c8
MA
29452013-08-17 Michael Albinus <michael.albinus@gmx.de>
2946
2947 * net/tramp.el:
2948 * net/tramp-adb.el:
2949 * net/tramp-cmds.el:
2950 * net/tramp-ftp.el:
2951 * net/tramp-gvfs.el:
2952 * net/tramp-gw.el:
2953 * net/tramp-sh.el: Don't wrap external variable declarations by
2954 `eval-when-compile'.
2955
4b5fe4ee
LMI
29562013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2957
2958 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2959 now that Emacs supports ImageMagick animations.
2960
13c366c9
MA
29612013-08-16 Michael Albinus <michael.albinus@gmx.de>
2962
2963 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2964 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2965
3dfc5cd6
MR
29662013-08-16 Martin Rudalics <rudalics@gmx.at>
2967
2968 * window.el (mouse-autoselect-window-select): Do autoselect when
2969 mouse pointer is on margin.
2970
4bbb4381
WP
29712013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2972
2973 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2974
3a2ddc2d
GM
29752013-08-16 Glenn Morris <rgm@gnu.org>
2976
e8bedf5a
GM
2977 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2978 Handle "Remote Directory" response of some clients. (Bug#15058)
2979
58c4682f
GM
2980 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2981 Tweak warning. (Bug#14926)
2982
57953f49
GM
2983 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2984 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2985
3a2ddc2d
GM
2986 * image-mode.el (image-mode-map): Add menu items to reverse,
2987 increase, decrease, reset animation speed.
2988 (image--set-speed, image-increase-speed, image-decrease-speed)
2989 (image-reverse-speed, image-reset-speed): New functions.
2990 (image-mode-map): Add bindings for speed commands.
2991
2992 * image.el (image-animate-get-speed, image-animate-set-speed):
2993 New functions.
2994 (image-animate-timeout): Respect image :speed property.
2995
10fa0ed3
SM
29962013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2999 previous line (bug#15101).
3000 (debugger-eval-expression, debugger-record-expression):
3001 Use read--expression (bug#15102).
3002
5d89d9d2
MA
30032013-08-15 Michael Albinus <michael.albinus@gmx.de>
3004
3005 Remove byte compiler warnings, visible when compiling with
3006 `byte-compile-force-lexical-warnings' set to t.
3007
3008 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3009 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3010 (tramp-handle-unhandled-file-name-directory)
3011 (tramp-handle-file-notify-add-watch, tramp-action-login)
3012 (tramp-action-succeed, tramp-action-permission-denied)
3013 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3014 arguments with "_".
3015
3016 * net/tramp-adb.el (tramp-adb-parse-device-names)
3017 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3018 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3019 (tramp-adb-handle-file-truename): Remove unused arguments.
3020
3021 * net/tramp-cache.el (tramp-flush-directory-property)
3022 (tramp-flush-connection-property, tramp-list-connections)
3023 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3024
10fa0ed3
SM
3025 * net/tramp-compat.el (tramp-compat-make-temp-file):
3026 Rename FILENAME to F.
5d89d9d2
MA
3027
3028 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3029 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3030 (tramp-zeroconf-parse-workstation-device-names)
3031 (tramp-zeroconf-parse-webdav-device-names)
3032 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3033
3034 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3035 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3036
3037 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3038 arguments.
3039 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3040 (tramp-sh-handle-insert-file-contents-literally)
3041 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3042 with "_".
3043 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3044 Remove unused variables.
3045
3046 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3047 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3048 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3049
3050 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3051 Make them a defconst.
3052 (tramp-uuencode-region): Remove unused variable.
3053
62f33bae
JB
30542013-08-14 Juanma Barranquero <lekktu@gmail.com>
3055
3056 * frameset.el (frameset--prop-setter): New function.
3057 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3058 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3059 parameter was already set in FILTERED. Doc fix.
3060 (frameset--record-minibuffer-relationships): Allow saving a
3061 minibufferless frame without its corresponding minibuffer frame.
3062 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3063 frame, if the frame id matches.
3064 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3065 frames before orphaned ones.
3066 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3067
c660a885
MR
30682013-08-14 Martin Rudalics <rudalics@gmx.at>
3069
3070 * window.el (window-make-atom): Don't overwrite parameter
3071 already present.
3072 (display-buffer-in-atom-window): Handle special case where we
3073 split an already atomic window.
3074 (window--major-non-side-window, display-buffer-in-side-window)
3075 (window--side-check): Ignore minibuffer window when walking
3076 window tree.
3077 (window-deletable-p): Return 'frame only if no other frame uses
3078 our minibuffer window.
3079 (record-window-buffer): Run buffer-list-update-hook.
3080 (split-window): Make sure window--check-frame won't destroy an
3081 existing atomic window in case the new window gets nested
3082 inside.
3083 (display-buffer-at-bottom): Ignore minibuffer window when
3084 walking window tree. Don't split a side window.
3085 (pop-to-buffer): Don't set-buffer here, the select-window call
3086 should do that.
3087 (mouse-autoselect-window-select): Autoselect only if we are in the
3088 text portion of the window.
3089
8259030d
LMI
30902013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3091
21c58ae2
LMI
3092 * net/shr.el (shr-parse-image-data): New function to grab both the
3093 data itself and the Content-Type.
3094 (shr-put-image): Use it.
3095
3096 * net/eww.el (eww-display-image): Ditto.
3097
8259030d
LMI
3098 * image.el (image-content-type-suffixes): New variable.
3099
ad756449
FEG
31002013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3101
3102 * progmodes/python.el (python-imenu--build-tree)
3103 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3104
f73f4ce6
XF
31052013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3106
3107 * simple.el (backward-word): Mention the optional argument.
3108
1f585e65
SM
31092013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * frameset.el (frameset--make): Rename constructor from make-frameset.
3112 (frameset-p, frameset-valid-p): Don't autoload.
3113 (frameset-valid-p): Use normal accessors.
3114
af1c6c84
GM
31152013-08-13 Glenn Morris <rgm@gnu.org>
3116
55e47f95
GM
3117 * progmodes/compile.el (compile-command): Tweak example in doc.
3118 * obsolete/scribe.el (scribe-mode):
3119 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3120
f0024d8c
GM
3121 * mail/feedmail.el (feedmail-confirm-outgoing)
3122 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3123
3124 * cus-start.el (truncate-partial-width-windows): Fix type.
3125
3126 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3127
af1c6c84
GM
3128 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3129
5514cc4c
SM
31302013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 * emacs-lisp/timer.el (timer--time-setter): New function.
3133 (timer--time): Use it as gv-setter.
3134
3135 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3136 setter is not a symbol.
3137
7997a2f1
GJ
31382013-08-12 Grégoire Jadi <daimrod@gmail.com>
3139
3140 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3141 if sending fails. This makes debugging easier.
3142
01f1a9ab
JB
31432013-08-12 Juanma Barranquero <lekktu@gmail.com>
3144
3145 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3146 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3147 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3148
594a4307
EZ
31492013-08-12 Eli Zaretskii <eliz@gnu.org>
3150
3151 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3152
7a22490f 31532013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3154
3155 * format.el (format-annotate-function):
3156 Handle read-only text properties in the source. (Bug#14887)
3157
3e41a054
LMI
31582013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3159
5514cc4c
SM
3160 * net/eww.el (eww-display-html): Ignore coding system errors.
3161 One web site uses "utf-8lias" as the coding system.
3e41a054 3162
7ec326db
JB
31632013-08-11 Juanma Barranquero <lekktu@gmail.com>
3164
3165 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3166
5660113b
JB
31672013-08-10 Juanma Barranquero <lekktu@gmail.com>
3168
9a4ebc74
JB
3169 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3170 (tutorial--detailed-help): Remove unused local variables.
3171 (tutorial--save-tutorial-to): Use ignore-errors.
3172 (help-with-tutorial): Use looking-at-p.
3173
3174 * view.el (view-buffer-other-window, view-buffer-other-frame):
3175 Mark unused arguments.
3176
3177 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3178 (woman-select-symbol-fonts, woman, woman-find-file)
3179 (woman-insert-file-contents, woman-non-underline-faces):
3180 Use string-match-p.
3181 (woman1-unquote): Move declaration.
3182
3183 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3184 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3185 argument. Remove unused local variable.
3186 (xml-parse-elem-type): Use string-match-p.
3187 (xml-substitute-numeric-entities): Use ignore-errors.
3188
45fdb482
JB
3189 * calculator.el (calculator): Mark unused argument.
3190 (calculator-paste, calculator-quit, calculator-integer-p):
3191 Use ignore-errors.
3192 (calculator-string-to-number, calculator-decimal, calculator-exp)
3193 (calculator-op-or-exp): Use string-match-p.
3194
3195 * dired.el (dired-buffer-more-recently-used-p): Declare.
3196 (dired-insert-set-properties, dired-insert-old-subdirs):
3197 Use ignore-errors.
3198
3199 * dired-aux.el (dired-compress): Use ignore-errors.
3200 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3201 (dired-do-async-shell-command, dired-do-shell-command)
3202 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3203 (dired-insert-subdir-validate): Use string-match-p.
3204 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3205 (dired-add-entry): Use string-match-p, looking-at-p.
3206 (dired-insert-subdir-newpos): Remove unused local variable.
3207
3208 * filenotify.el (file-notify-callback): Remove unused local variable.
3209
3210 * filesets.el (filesets-error): Mark unused argument.
3211 (filesets-which-command-p, filesets-filter-dir-names)
3212 (filesets-directory-files, filesets-get-external-viewer)
3213 (filesets-ingroup-get-data): Use string-match-p.
3214
3215 * find-file.el (ff-other-file-name, ff-other-file-name)
3216 (ff-find-the-other-file, ff-cc-hh-converter):
3217 Remove unused local variables.
3218 (ff-get-file-name): Use string-match-p.
3219 (ff-all-dirs-under): Use ignore-errors.
3220
3221 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3222 (follow-select-if-visible): Remove unused local variable.
3223
3224 * forms.el (read-file-filter): Move declaration.
3225 (forms--make-format, forms--make-parser, forms-insert-record):
3226 Quote function with #'.
3227 (forms--update): Use string-match-p. Quote function with #'.
3228
3229 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3230 (help-make-xrefs): Use looking-at-p.
3231 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3232
3233 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3234 (ibuffer-confirm-operation-on): Use string-match-p.
3235
3236 * msb.el (msb-item-handler, msb-dired-item-handler):
3237 Mark unused arguments.
3238
3239 * ses.el (ses-decode-cell-symbol)
3240 (ses-kill-override): Remove unused local variable.
3241 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3242 (ses-load): Use ignore-errors, looking-at-p.
3243 (ses-jump-safe): Use ignore-errors.
3244 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3245
3246 * tabify.el (untabify, tabify): Mark unused arguments.
3247
3248 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3249 Mark unused argument.
3250 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3251 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3252
c880af52
JB
3253 * emacs-lisp/timer.el (timer--time): Define setter with
3254 gv-define-setter to avoid deprecation warning.
3255
5660113b 3256 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3257 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3258 (cmpl-statistics-block): Remove (body was commented out).
3259 All callers changed.
3260 (add-completions-from-buffer, load-completions-from-file):
3261 Remove unused variables.
3262
156aab80
JB
32632013-08-09 Juanma Barranquero <lekktu@gmail.com>
3264
5c5dee78
JB
3265 * filecache.el (file-cache-delete-file-list):
3266 Print message only when told so.
3267 (file-cache-files-matching): Use #' in mapconcat argument.
3268
156aab80
JB
3269 * ffap.el (ffap-url-at-point): Fix reference to variable
3270 thing-at-point-default-mail-uri-scheme.
3271
ad9dcd70
SM
32722013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3273
54bd972f
SM
3274 * subr.el (define-error): New function.
3275 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3276 error-file-not-found and define with define-error.
3277 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3278 and define with define-error.
3279 * userlock.el (file-locked, file-supersession):
3280 * simple.el (mark-inactive):
3281 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3282 * progmodes/ada-mode.el (ada-mode-errors):
3283 * play/life.el (life-extinct):
3284 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3285 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3286 * nxml/rng-util.el (rng-error):
3287 * nxml/rng-uri.el (rng-uri-error):
3288 * nxml/rng-match.el (rng-compile-error):
3289 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3290 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3291 * nxml/nxml-rap.el (nxml-scan-error):
3292 * nxml/nxml-outln.el (nxml-outline-error):
3293 * net/soap-client.el (soap-error):
3294 * net/gnutls.el (gnutls-error):
3295 * net/ange-ftp.el (ftp-error):
3296 * mpc.el (mpc-proc-error):
3297 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3298 (json-number-format, json-string-escape, json-string-format)
3299 (json-key-format, json-object-format):
3300 * jka-compr.el (compression-error):
3301 * international/quail.el (quail-error):
3302 * international/kkc.el (kkc-error):
3303 * emacs-lisp/ert.el (ert-test-failed):
3304 * calc/calc.el (calc-error, inexact-result, math-overflow)
3305 (math-underflow):
3306 * bookmark.el (bookmark-error-no-filename):
3307 * epg.el (epg-error): Define with define-error.
3308
0ea9e53a
SM
3309 * time.el (display-time-event-handler)
3310 (display-time-next-load-average): Don't call sit-for since it seems
3311 unnecessary (bug#15045).
3312
b0429158
SM
3313 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3314 Use #' instead of ' to quote functions.
3315 (checkdoc-output-mode): Use setq-local.
3316 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3317 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3318 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3319 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3320 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3321 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3322 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3323 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3324
ad9dcd70
SM
3325 * ido.el (ido-completion-help): Fix up compiler warning.
3326
77187e6f
JB
33272013-08-09 Juanma Barranquero <lekktu@gmail.com>
3328
3329 * frameset.el (frameset-p): Add autoload cookie.
3330 (frameset--jump-to-register): New function, based on code moved from
3331 register.el.
3332 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3333
3334 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3335 (frameset-restore, frameset-save, frameset-session-filter-alist):
3336 Remove declarations.
3337 (register-alist): Doc fix.
3338 (frameset-to-register): Move to frameset.el.
3339 (jump-to-register, describe-register-1): Remove frameset-specific code.
3340
9d3aa82c
JB
33412013-08-08 Juanma Barranquero <lekktu@gmail.com>
3342
3343 * allout-widgets.el (allout-widgets-pre-command-business)
3344 (allout-widgets-post-command-business)
3345 (allout-widgets-after-change-handler)
3346 (allout-decorate-item-and-context, allout-set-boundary-marker)
3347 (allout-body-modification-handler)
3348 (allout-graphics-modification-handler): Mark ignored arguments.
3349 (allout-widgets-post-command-business)
3350 (allout-widgets-exposure-change-processor)
3351 (allout-widgets-exposure-undo-processor)
3352 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3353 (allout-parse-item-at-point, allout-decorate-item-guides)
3354 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3355 * allout.el (epa-passphrase-callback-function): Declare.
3356 (allout-overlay-insert-in-front-handler)
3357 (allout-overlay-interior-modification-handler)
3358 (allout-isearch-end-handler, allout-chart-siblings)
3359 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3360 (allout-yank-processing, allout-process-exposed)
3361 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3362 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3363 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3364 (lisp-indent-defform): Mark ignored arguments.
3365 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3366 (calculate-lisp-indent): Remove unused variables.
3367 * international/characters.el (indian-2-column, arabic-2-column)
3368 (tibetan): Mark ignored arguments.
3369 (use-cjk-char-width-table): Mark ignored arguments.
3370 Remove unused variables.
3371 * international/fontset.el (build-default-fontset-data)
3372 (x-compose-font-name, create-fontset-from-fontset-spec):
3373 Mark ignored arguments.
3374 (fontset-plain-name): Remove unused variables.
3375 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3376 (keyboard-coding-system): Mark ignored arguments.
3377 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3378 * help.el (resize-temp-buffer-window):
3379 * window.el (display-buffer-in-major-side-window)
3380 (display-buffer-in-side-window, display-buffer-in-previous-window):
3381 Remove unused variables.
3382 * isearch.el (isearch-forward-symbol):
3383 * version.el (emacs-bzr-version-bzr):
3384 * international/mule-cmds.el (current-language-environment):
3385 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3386 (x-handle-display):
3387 * term/pc-win.el (x-list-fonts, x-display-planes)
3388 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3389 (x-server-version, x-display-screens, x-display-mm-height)
3390 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3391 (x-selection-owner-p, x-own-selection-internal)
3392 (x-disown-selection-internal, x-get-selection-internal)
3393 (msdos-initialize-window-system):
3394 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3395 * term/x-win.el (x-handle-no-bitmap-icon):
3396 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3397 (vc-default-find-file-hook, vc-default-extra-menu):
3398 Mark ignored arguments.
3399
0ca3f70e
SM
34002013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3403 break-condition in the context of the debugged code (bug#12685).
3404
74c5d24c
CS
34052013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3406
3407 * comint.el:
3408 Do not use an overlay to highlight the last prompt. (Bug#14744)
3409 (comint-mode): Make comint-last-prompt buffer local.
3410 (comint-last-prompt): New variable.
3411 (comint-last-prompt-overlay): Remove. Superseded by
3412 comint-last-prompt.
0ca3f70e
SM
3413 (comint-snapshot-last-prompt, comint-output-filter):
3414 Use comint-last-prompt.
74c5d24c 3415
c03c02ee
JB
34162013-08-08 Juanma Barranquero <lekktu@gmail.com>
3417
a3738d20 3418 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3419 (frameset-save): Check validity of the resulting frameset.
3420
04263d23
XF
34212013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3422
3423 * ido.el (ido-record-command): Add doc string.
3424
76c5e5ab
JB
34252013-08-08 Juanma Barranquero <lekktu@gmail.com>
3426
3427 * frameset.el (frameset): Do not disable creation of the default
3428 frameset-p predicate. Doc fix.
3429 (frameset-valid-p): New function, copied from the old predicate-p.
3430 Add additional checks.
3431 (frameset-restore): Check with frameset-valid-p.
3432 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3433 (frameset-name, frameset-description, frameset-properties)
3434 (frameset-states): Add docstring.
f9dbf1cb
JB
3435 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3436 (frameset-filter-alist): Doc fixes.
76c5e5ab 3437
bd0c3c0b
JB
34382013-08-08 Juanma Barranquero <lekktu@gmail.com>
3439
3440 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3441
c735544c
SM
34422013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3445 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3446 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3447 (byte-compile-normal-call): Remove obsolescence check.
3448
2805a651
JB
34492013-08-08 Juanma Barranquero <lekktu@gmail.com>
3450
3677ffeb
JB
3451 * frameset.el (frameset-restore): Doc fix.
3452
2805a651
JB
3453 * register.el (frameset-frame-id, frameset-frame-with-id)
3454 (frameset-p, frameset-restore, frameset-save): Declare.
3455 (register-alist): Document framesets.
3456 (frameset-session-filter-alist): Declare.
3457 (frameset-to-register): New function.
3458 (jump-to-register): Implement jumping to framesets. Doc fix.
3459 (describe-register-1): Describe framesets.
3460
3461 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3462
a912c016
JB
34632013-08-07 Juanma Barranquero <lekktu@gmail.com>
3464
3465 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3466 Use lexical-binding.
3467
3468 * frameset.el (frameset): Use type vector, not list (incompatible
3469 change). Do not declare a new constructor, use the default one.
3470 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3471 `name' and `description', respectively, and add read-only slot
3472 `timestamp'. Doc fixes.
3473 (frameset-copy, frameset-persistent-filter-alist)
3474 (frameset-filter-alist, frameset-switch-to-gui-p)
3475 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3476 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3477 (frameset-filter-iconified, frameset-keep-original-display-p):
3478 Doc fixes.
3479 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3480 Rename from frameset-filter-(save|restore)-param. All callers changed.
3481 Doc fix.
3482 (frameset-p): Adapt to change to vector and be more thorough.
3483 Change arg name to OBJECT. Doc fix.
3484 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3485 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3486 All callers changed.
3487 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3488 All callers changed.
3489 (frameset--record-minibuffer-relationships): Rename from
3490 frameset--process-minibuffer-frames. All callers changed.
3491 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3492 Use new default constructor (again). Doc fix.
3493 (frameset--find-frame-if): Rename from `frameset--find-frame.
3494 All callers changed.
3495 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3496 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3497 Doc fix.
3498 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3499 PARAMETERS and WINDOW-STATE, respectively.
3500 (frameset-restore): Add new keyword argument PREDICATE.
3501 Reset frameset--target-display to nil. Doc fix.
3502
bb41480a
SM
35032013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3504
f001e98e
SM
3505 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3506 (bat-mode): Use it.
3507 (bat-mode-syntax-table): Mark \n as end-of-comment.
3508 (bat-font-lock-keywords): Remove comment rule.
3509
7679edb1
SM
3510 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3511 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3512
bb41480a
SM
3513 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3514 (byte-compile-callargs-warn): Use `push'.
3515 (byte-compile-arglist-warn): Ignore higher-order "calls".
3516 (byte-compile-file-form-autoload): Use `pcase'.
3517 (byte-compile-function-form): If quoting a symbol, check that it exists.
3518
cdc1ebb9
EZ
35192013-08-07 Eli Zaretskii <eliz@gnu.org>
3520
3521 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3522 and add a few popular commands found in batch files.
3523 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3524 (dos-mode): Doc fixes.
3525
312b1740
SM
35262013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3529 (dos-mode): Use setq-local. Add space after "rem".
3530 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3531 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3532
400a3178
AM
35332013-08-07 Arni Magnusson <arnima@hafro.is>
3534
3535 * progmodes/dos.el: New file.
3536 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3537 dos-mode.
3538
3b5c03d3
GM
35392013-08-06 Glenn Morris <rgm@gnu.org>
3540
3541 * calendar/calendar.el: Add new faces, and day-header-array.
3542 (calendar-weekday-header, calendar-weekend-header)
3543 (calendar-month-header): New faces.
3544 (calendar-day-header-construct): New function.
3545 (calendar-day-header-width): Also :set calendar-day-header-array.
3546 (calendar-american-month-header, calendar-european-month-header)
3547 (calendar-iso-month-header): Use calendar- faces.
3548 (calendar-generate-month):
3549 Use calendar-day-header-array for day headers; apply faces to them.
3550 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3551 (calendar-abbrev-construct): Add optional maxlen argument.
3552 (calendar-day-name-array): Doc fix.
3553 (calendar-day-name-array, calendar-abbrev-length)
3554 (calendar-day-abbrev-array):
3555 Also :set calendar-day-header-array, and maybe redraw.
3556 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3557 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3558 (calendar-day-name): Add option to use header array.
3559
ec6a2d7a
LMI
35602013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3561
3562 * net/shr.el (shr-render-td): Remove debugging.
3563 (shr-render-td): Make width computation consistent by defaulting
3564 all zero-width columns to 10 characters. This may not be optimal,
3565 but it's at least consistent.
2122cb6d
LMI
3566 (shr-make-table-1): Redo last change to fix the real problem in
3567 colspan handling.
ec6a2d7a 3568
ed4fd9c5
DA
35692013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3570
0ca3f70e
SM
3571 * files.el (cache-long-line-scans):
3572 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3573
64e22afe
JB
35742013-08-06 Juanma Barranquero <lekktu@gmail.com>
3575
024b38fc
JB
3576 * frameset.el (frameset, frameset-filter-alist)
3577 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3578 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3579 (frameset-compute-pos): Rename from frameset--compute-pos,
3580 and add docstring.
3581 (frameset-move-onscreen): Use frameset-compute-pos.
3582 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3583
64e22afe
JB
3584 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3585 Fix typos in docstrings.
3586
c8c2aca8
DA
35872013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3588
3589 * frame.el (get-other-frame): Tiny cleanup.
3590
1d237bba
JB
35912013-08-06 Juanma Barranquero <lekktu@gmail.com>
3592
8951efef
JB
3593 * vc/vc.el (vc-default-ignore-completion-table):
3594 Silence byte-compiler warning.
3595
307764cc
JB
3596 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3597 slot , which can indeed be nil.
3598 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3599 Move entry for `left' from persistent to live filter alist.
3600 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3601 Doc fixes.
3602 (frameset-filter-params): When restoring a frame, copy items added to
3603 `filtered', to avoid unwittingly modifying the original parameters.
3604 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3605 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3606
1d237bba
JB
3607 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3608 to use looking-at-p instead of looking-at. (Bug#15028)
3609
dc6c0eda
SM
36102013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 Revert introduction of isearch-filter-predicates (bug#14714).
3613 Rely on add-function instead.
3614 * isearch.el (isearch-filter-predicates): Rename it back to
3615 isearch-filter-predicate.
3616 (isearch-message-prefix): Use advice-function-mapc and advice
3617 properties to get the isearch-message-prefix.
3618 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3619 instead of run-hook-with-args-until-failure.
3620 (isearch-filter-visible): Not obsolete any more.
3621 * loadup.el: Preload nadvice.
3622 * replace.el (perform-replace): Revert to funcall
3623 instead of run-hook-with-args-until-failure.
3624 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3625 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3626 dired-isearch-filenames-toggle; make it into a proper minor mode.
3627 Use add/remove-function.
3628 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3629 Call the minor-mode rather than add/remove-hook.
3630 (dired-isearch-filter-filenames):
3631 Remove isearch-message-prefix property.
3632 * info.el (Info--search-loop): New function, extracted from Info-search.
3633 Funcall isearch-filter-predicate instead of
3634 run-hook-with-args-until-failure isearch-filter-predicates.
3635 (Info-search): Use it.
3636 (Info-mode): Use isearch-filter-predicate instead of
3637 isearch-filter-predicates.
3638
290d5b58
DA
36392013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3640
3641 Do not call to `selected-window' where it is assumed by default.
3642 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3643 `window-hscroll', `window-width', `window-height', `window-buffer',
3644 `window-frame', `window-start', `window-point', `next-window'
3645 and `window-display-table'.
3646 * abbrev.el (abbrev--default-expand):
3647 * bs.el (bs--show-with-configuration):
3648 * buff-menu.el (Buffer-menu-mouse-select):
3649 * calc/calc.el (calc):
3650 * calendar/calendar.el (calendar-generate-window):
3651 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3652 (diary-make-entry):
3653 * comint.el (send-invisible, comint-dynamic-complete-filename)
3654 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3655 * completion.el (complete):
3656 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3657 * disp-table.el (describe-current-display-table):
3658 * doc-view.el (doc-view-insert-image):
3659 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3660 * ehelp.el (with-electric-help):
3661 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3662 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3663 * emacs-lisp/helper.el (Helper-help-scroller):
3664 * emulation/cua-base.el (cua--post-command-handler-1):
3665 * eshell/esh-mode.el (eshell-output-filter):
3666 * ffap.el (ffap-gnus-wrapper):
3667 * help-macro.el (make-help-screen):
3668 * hilit-chg.el (highlight-compare-buffers):
3669 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3670 * hl-line.el (global-hl-line-highlight):
3671 * icomplete.el (icomplete-simple-completing-p):
3672 * isearch.el (isearch-done):
3673 * jit-lock.el (jit-lock-stealth-fontify):
3674 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3675 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3676 * mpc.el (mpc-tagbrowser, mpc):
3677 * net/rcirc.el (rcirc-any-buffer):
3678 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3679 * play/landmark.el (landmark-max-width, landmark-max-height):
3680 * play/zone.el (zone):
3681 * progmodes/compile.el (compilation-goto-locus):
3682 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3683 * progmodes/etags.el (find-tag-other-window):
3684 * progmodes/fortran.el (fortran-column-ruler):
3685 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3686 * progmodes/verilog-mode.el (verilog-point-text):
3687 * reposition.el (reposition-window):
3688 * rot13.el (toggle-rot13-mode):
3689 * server.el (server-switch-buffer):
3690 * shell.el (shell-dynamic-complete-command)
3691 (shell-dynamic-complete-environment-variable):
3692 * simple.el (insert-buffer, set-selective-display)
3693 (delete-completion-window):
3694 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3695 (speedbar-recenter):
3696 * startup.el (fancy-splash-head):
3697 * textmodes/ispell.el (ispell-command-loop):
3698 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3699 * tutorial.el (help-with-tutorial):
3700 * vc/add-log.el (add-change-log-entry):
3701 * vc/compare-w.el (compare-windows):
3702 * vc/ediff-help.el (ediff-indent-help-message):
3703 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3704 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3705 (ediff-setup-control-frame):
3706 * vc/emerge.el (emerge-position-region):
3707 * vc/pcvs-util.el (cvs-bury-buffer):
3708 * window.el (walk-windows, mouse-autoselect-window-select):
3709 * winner.el (winner-set-conf, winner-undo): Related users changed.
3710
38276e01
JB
37112013-08-05 Juanma Barranquero <lekktu@gmail.com>
3712
3713 * frameset.el (frameset--set-id): Doc fix.
3714 (frameset-frame-id, frameset-frame-id-equal-p)
3715 (frameset-locate-frame-id): New functions.
3716 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3717 (frameset-restore): Use them.
3718
12b4c0ea
DA
37192013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3720
3721 Do not call to `selected-frame' where it is assumed by default.
3722 Affected functions are `raise-frame', `redraw-frame',
3723 `frame-first-window', `frame-terminal' and `delete-frame'.
3724 * calendar/appt.el (appt-disp-window):
3725 * epg.el (epg-wait-for-completion):
3726 * follow.el (follow-delete-other-windows-and-split)
3727 (follow-avoid-tail-recenter):
3728 * international/mule.el (set-terminal-coding-system):
3729 * mail/rmail.el (rmail-mail-return):
3730 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3731 * progmodes/f90.el (f90-add-imenu-menu):
3732 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3733 * server.el (server-switch-buffer):
3734 * simple.el (delete-completion-window):
3735 * talk.el (talk):
3736 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3737 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3738 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3739 * vc/ediff.el (ediff-documentation): Related users changed.
3740 * frame.el (selected-terminal): Remove the leftover.
3741
17f25e76
GM
37422013-08-05 Glenn Morris <rgm@gnu.org>
3743
3744 * calendar/calendar.el (calendar-generate-month):
3745 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3746 (calendar-generate-month, calendar-font-lock-keywords):
3747 Fix for calendar-day-header-width > length of any day name.
17f25e76 3748
063233c3
JB
37492013-08-05 Juanma Barranquero <lekktu@gmail.com>
3750
3751 * desktop.el (desktop-clear): Use new name of sort predicate.
3752
3753 * frameset.el (frameset): Add docstring. Move :version property to its
3754 own `version' slot.
3755 (frameset-copy): Rename from copy-frameset.
3756 (frameset-p): Check more thoroughly.
3757 (frameset-prop): Do not check for :version, which is no longer a prop.
3758 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3759 Use new :never value instead of t.
3760 (frameset-filter-alist): Expand and clarify docstring.
3761 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3762 (frameset-filter-minibuffer, frameset-filter-save-param)
3763 (frameset-filter-restore-param, frameset-filter-iconified):
3764 Add pointer to docstring of frameset-filter-alist.
3765 (frameset-filter-params): Rename filter values to be more meaningful:
3766 :never instead of t, and reverse the meanings of :save and :restore.
3767 (frameset--process-minibuffer-frames): Clarify error message.
3768 (frameset-save): Avoid unnecessary and confusing call to framep.
3769 Use new BOA constructor for framesets.
3770 (frameset--reuse-list): Doc fix.
3771 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3772 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3773 (frameset-minibufferless-first-p): Doc fix.
3774 Rename from frameset-sort-frames-for-deletion.
3775 (frameset-restore): Doc fixes. Use new function names.
3776 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3777
d5671a82
JB
37782013-08-04 Juanma Barranquero <lekktu@gmail.com>
3779
3780 * desktop.el (desktop-restore-forces-onscreen)
3781 (desktop-restore-reuses-frames): Document :keyword constant values.
3782 (desktop-filter-parameters-alist): Remove, now identical to
3783 frameset-filter-alist.
3784 (desktop--filter-tty*): Remove, moved to frameset.el.
3785 (desktop-save-frameset, desktop-restore-frameset):
3786 Do not pass :filters argument.
3787
3788 * frameset.el (frameset-live-filter-alist)
3789 (frameset-persistent-filter-alist): New variables.
3790 (frameset-filter-alist): Use them. Add autoload cookie.
3791 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3792 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3793 `frameset--id' (it's supposed to be internal to frameset.el).
3794 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3795 (frameset--initial-params): New function.
3796 (frameset--get-frame): Use it. Doc fix.
3797 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3798 Accept :all, not 'all.
3799 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3800 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3801 with fbound symbols. Fix frame id matching, and remove matching ids if
3802 the frame being restored is deleted. Obey :delete.
3803
671d5c16
SM
38042013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * subr.el (macrop): New function.
3807 (text-clone--maintaining): New var.
3808 (text-clone--maintain): Rename from text-clone-maintain. Use it
3809 instead of inhibit-modification-hooks.
3810
3811 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3812 a proxy, so as handle autoloads and redefinitions of the target.
3813 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3814
3815 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3816 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3817 (pcase--mutually-exclusive-p): New function.
3818 (pcase--split-consp): Use it.
3819 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3820 mutually exclusive with the current predicate.
3821
3822 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3823 (edebug-macrop): Remove. Use `macrop' instead.
3824 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3825 (ad-macro-p):
3826 * eshell/esh-cmd.el (eshell-macrop):
3827 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3828
1d44e9dc
SM
38292013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3832 (advice-mapc): New function, using it.
3833 (advice-function-member-p): New function.
3834 (advice--normalize): Store the cdr in advice--saved-rewrite since
3835 that's the part that will be changed.
3836 (advice--symbol-function): New function.
3837 (advice-remove): Handle removal before the function is defined.
3838 Adjust to new advice--saved-rewrite.
3839 (advice-member-p): Use advice-function-member-p and
3840 advice--symbol-function.
3841
5414a283
JB
38422013-08-04 Juanma Barranquero <lekktu@gmail.com>
3843
51d30f2c
JB
3844 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3845 (frameset-filter-minibuffer): Doc fix.
3846 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3847 (frameset--set-id, frameset--process-minibuffer-frames)
3848 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3849 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3850
5414a283
JB
3851 * desktop.el (desktop-clear): Only delete frames when called
3852 interactively and desktop-restore-frames is non-nil. Doc fix.
3853 (desktop-read): Set desktop-saved-frameset to nil.
3854
ab419665
XF
38552013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3856
3857 * vc/vc.el (vc-ignore): Rewrite.
3858 (vc-default-ignore-completion-table):
3859 (vc--read-lines):
3860 (vc--add-line, vc--remove-regexp): New functions.
3861
3862 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3863 (vc-svn-ignore-completion-table): New function.
3864
3865 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3866 (vc-hg-ignore-completion-table):
3867 (vc-hg-find-ignore-file): New functions.
3868
3869 * vc/vc-git.el (vc-git-ignore): Rewrite.
3870 (vc-git-ignore-completion-table):
3871 (vc-git-find-ignore-file): New functions.
3872
3873 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3874
3875 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3876 (vc-bzr-ignore-completion-table):
3877 (vc-bzr-find-ignore-file): New functions.
3878
2613dea2
JB
38792013-08-03 Juanma Barranquero <lekktu@gmail.com>
3880
3881 * frameset.el (frameset-prop): New function and setter.
3882 (frameset-save): Do not modify frame list passed by the caller.
3883
9c959872
SM
38842013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3885
3886 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3887
a104f656
SM
38882013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3889
70122acf
SM
3890 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3891 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3892
a104f656
SM
3893 * custom.el (custom-initialize-default, custom-initialize-set)
3894 (custom-initialize-reset, custom-initialize-changed): Affect the
3895 toplevel-default-value (bug#6275, bug#14586).
3896 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3897 for bug#6275.
3898
f078d570
JB
38992013-08-02 Juanma Barranquero <lekktu@gmail.com>
3900
185e3b5a
JB
3901 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3902 Add cl-def* expressions.
3903
f078d570
JB
3904 * frameset.el (frameset-filter-params): Fix order of arguments.
3905
9421876d
JB
39062013-08-02 Juanma Barranquero <lekktu@gmail.com>
3907
3908 Move code related to saving frames to frameset.el.
3909 * desktop.el: Require frameset.
3910 (desktop-restore-frames): Doc fix.
3911 (desktop-restore-reuses-frames): Rename from
3912 desktop-restoring-reuses-frames.
3913 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3914 (desktop-clear): Clear frames too.
3915 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3916 (desktop--filter-tty*, desktop-save, desktop-read):
3917 Use frameset functions.
3918 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3919 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3920 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3921 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3922 (desktop--process-minibuffer-frames, desktop-save-frames)
3923 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3924 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3925 (desktop--sort-states, desktop-restoring-frames-p)
3926 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3927 (desktop-restoring-frameset-p, desktop-restore-frameset)
3928 (desktop--check-dont-save, desktop-save-frameset): New functions.
3929 (desktop--app-id): New constant.
3930 (desktop-first-buffer, desktop-buffer-ok-count)
3931 (desktop-buffer-fail-count): Move before first use.
3932 * frameset.el: New file.
3933
76dc5996
SM
39342013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * files.el: Use lexical-binding.
3937 (dir-locals-read-from-file): Remove unused `err' variable.
3938 (hack-dir-local-variables--warned-coding): New var.
3939 (hack-dir-local-variables): Use it to avoid repeated warnings.
3940 (make-backup-file-name--default-function): New function.
3941 (make-backup-file-name-function): Use it as default.
3942 (buffer-stale--default-function): New function.
3943 (buffer-stale-function): Use it as default.
3944 (revert-buffer-insert-file-contents--default-function): New function.
3945 (revert-buffer-insert-file-contents-function): Use it as default.
3946 (insert-directory): Avoid add-to-list.
3947
3948 * autorevert.el (auto-revert-handler): Simplify.
3949 Use buffer-stale--default-function.
3950
06d36e2b
TH
39512013-08-01 Tassilo Horn <tsdh@gnu.org>
3952
5f648ab4
TH
3953 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3954
06d36e2b
TH
3955 * whitespace.el (whitespace-ensure-local-variables): New function.
3956 (whitespace-cleanup-region): Call it.
3957 (whitespace-turn-on): Call it.
3958
a43dc424
MA
39592013-08-01 Michael Albinus <michael.albinus@gmx.de>
3960
3961 Complete file name handlers.
3962
3963 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3964 (tramp-handle-verify-visited-file-modtime)
3965 (tramp-handle-file-notify-rm-watch): New functions.
3966 (tramp-call-process): Do not bind `default-directory'.
3967
44e18199
JB
3968 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3969 Order alphabetically.
a43dc424
MA
3970 [access-file, add-name-to-file, dired-call-process]:
3971 [dired-compress-file, file-acl, file-notify-rm-watch]:
3972 [file-ownership-preserved-p, file-selinux-context]:
3973 [make-directory-internal, make-symbolic-link, set-file-acl]:
3974 [set-file-selinux-context, set-visited-file-modtime]:
3975 [verify-visited-file-modtime]: Add handler.
3976 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3977
3978 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3979 [file-notify-add-watch, file-notify-rm-watch]:
3980 [set-file-times, set-visited-file-modtime]:
3981 [verify-visited-file-modtime]: Add handler.
3982 (with-tramp-gvfs-error-message)
3983 (tramp-gvfs-handle-set-visited-file-modtime)
3984 (tramp-gvfs-fuse-file-name): Remove.
3985 (tramp-gvfs-handle-file-notify-add-watch)
3986 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3987 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3988
44e18199
JB
3989 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3990 Order alphabetically.
a43dc424
MA
3991 [file-notify-rm-watch ]: Use default Tramp handler.
3992 [executable-find]: Remove private handler.
3993 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3994 `default-directory'.
3995 (tramp-sh-handle-executable-find)
3996 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3997 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3998 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3999 Do not use `format' in `tramp-message'.
4000
4001 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4002 [file-notify-rm-watch, set-visited-file-modtime]:
4003 [verify-visited-file-modtime]: Add handler.
4004 (tramp-smb-call-winexe): Do not bind `default-directory'.
4005
7188b515
XF
40062013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4007
4008 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4009
2412ee1a
DG
40102013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4011
4012 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4013 use it.
4014 (log-view-diff-changeset): Same.
4015 (log-view-diff-common): Call backend command `previous-revision'
4016 to find out the previous revision, in both cases. Swap the
4017 variables `to' and `fr', so that `fr' usually refers to the
4018 earlier revision (Bug#14989).
4019
5002a754
KRC
40202013-07-31 Kan-Ru Chen <kanru@kanru.info>
4021
4022 * ibuf-ext.el (ibuffer-filter-by-filename):
4023 Make it work with dired buffers too.
4024
44e18199 40252013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4026
4027 * emacs-lisp/re-builder.el (reb-color-display-p):
4028 * files.el (save-buffers-kill-terminal):
4029 * net/browse-url.el (browse-url):
4030 * server.el (server-save-buffers-kill-terminal):
4031 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4032 Prefer nil to selected-frame for the first arg of frame-parameter.
4033
aeca3fbb
XF
40342013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4035
4036 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4037
158bc55c
SB
40382013-07-30 Stephen Berman <stephen.berman@gmx.net>
4039
4040 * minibuffer.el (completion--twq-all): Try and preserve each
4041 completion's case choice (bug#14907).
4042
d50fceab
LMI
40432013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4044
ac38e731
LMI
4045 * net/network-stream.el (open-network-stream): Mention the new
4046 :nogreeting parameter.
4047 (network-stream-open-starttls): Use the :nogreeting parameter
4048 (bug#14938).
4049
1211de50
LMI
4050 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4051
997798bf
LMI
4052 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4053 more natural than popping.
4054
d50fceab 4055 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4056 (shr-urlify): Highlight under mouse.
d50fceab 4057
5c09de04
XF
40582013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4059
207d1d04
XF
4060 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4061
4062 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4063
5c09de04
XF
4064 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4065 buffer for output.
4066
3cd51eaa
XF
4067 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4068 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4069
44e18199 4070 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4071 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4072
4073 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4074
4075 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4076 buffer for output.
4077
35a89bdd
EZ
40782013-07-29 Eli Zaretskii <eliz@gnu.org>
4079
4080 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4081 initial frame is minibuffer-less. (Bug#14841)
4082
78822e94
MA
40832013-07-29 Michael Albinus <michael.albinus@gmx.de>
4084
4085 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4086 option.
4087
4088 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4089 (tramp-maybe-open-connection): Use it.
4090
9503c190
JB
40912013-07-28 Juanma Barranquero <lekktu@gmail.com>
4092
4093 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4094 minimal set of parameters passed when creating a frame, because
4095 the minibuffer status of a frame cannot be changed later.
4096
d5a845b4
SB
40972013-07-28 Stephen Berman <stephen.berman@gmx.net>
4098
4099 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4100 replace-regexp-in-string and inadvertent omissions in previous change.
4101 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4102 name of filtered items buffer.
d5a845b4 4103
ddeffb17
JB
41042013-07-28 Juanma Barranquero <lekktu@gmail.com>
4105
4106 * desktop.el: Optionally force offscreen frames back onscreen.
4107 (desktop-restoring-reuses-frames): New option.
4108 (desktop--compute-pos, desktop--move-onscreen): New functions.
4109 (desktop--make-frame): Use desktop--move-onscreen.
4110
f5950f7a
AM
41112013-07-27 Alan Mackenzie <acm@muc.de>
4112
4113 Fontify a Java generic method as a function.
4114 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4115 value to t.
4116
ae43b66a
SB
41172013-07-27 Stephen Berman <stephen.berman@gmx.net>
4118
4119 * calendar/todo-mode.el: Add command to rename todo files.
4120 (todo-rename-file): New command.
4121 (todo-key-bindings-t): Add key binding for it. Change the
4122 bindings of todo-filter-regexp-items(-multifile) to use `x'
4123 instead of `r', since the latter is better suited to the new
4124 renaming command.
4125
5ab78d3d
AM
41262013-07-27 Alan Mackenzie <acm@muc.de>
4127
4128 Make Java try-with-resources statement parse properly.
4129 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4130 (c-block-stmt-1-2-key): New language constants/variables.
4131 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4132 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4133 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4134 with c-block-stmt-1-2-key.
5ab78d3d 4135
d85c4d50
JB
41362013-07-27 Juanma Barranquero <lekktu@gmail.com>
4137
4138 * desktop.el (desktop--make-frame): Apply most frame parameters after
4139 creating the frame to force (partially or totally) offscreen frames to
4140 be restored as such.
4141
e4c467f9
XF
41422013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4143
4144 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4145 (Bug#14948)
e4c467f9 4146
7ced0d04
SM
41472013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4150 `base' arg of backtrace-frame.
4151
fec92060
EZ
41522013-07-26 Eli Zaretskii <eliz@gnu.org>
4153
4154 * simple.el (list-processes): Doc fix.
4155
d58d31fb
JB
41562013-07-26 Juanma Barranquero <lekktu@gmail.com>
4157
4158 * desktop.el (desktop--select-frame):
d85c4d50 4159 Try harder to reuse existing frames.
d58d31fb 4160
53ff3e77
SM
41612013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4162
4163 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4164 (edebug-eval): Use backtrace-eval.
4165 (edebug--display, edebug--recursive-edit): Don't let-bind the
4166 edebug-outer-* vars that keep track of variables we locally let-bind.
4167 (edebug-outside-excursion): Don't restore outside values of locally
4168 let-bound vars.
4169 (edebug--display): Use user-error.
4170 (cl-lexical-debug, cl-debug-env): Remove.
4171
045f7a53
JB
41722013-07-26 Juanma Barranquero <lekktu@gmail.com>
4173
4174 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4175 are restored to be sure that they are visible before deleting any
4176 remaining ones.
4177
59070b32
MM
41782013-07-26 Matthias Meulien <orontee@gmail.com>
4179
742a3501
XF
4180 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4181 vc-print-root-log. (Bug#14948)
59070b32 4182
b1fb3596
RS
41832013-07-26 Richard Stallman <rms@gnu.org>
4184
4185 Add aliases for encrypting mail.
4186 * epa.el (epa-mail-aliases): New option.
4187 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4188 Bind inhibit-read-only so read-only text doesn't ruin everything.
4189 (epa-mail-default-recipients): New subroutine broken out.
4190 Handle epa-mail-aliases.
4191
56ea7291
SM
41922013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 Add support for lexical variables to the debugger's `e' command.
4195 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4196 vars, except for debugger-outer-match-data.
4197 (debugger-frame-number): Move check for "on a function call" from
4198 callers into it. Add `skip-base' argument.
4199 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4200 (debugger-env-macro): Only reset the state stored in non-variables,
4201 i.e. current-buffer and match-data.
4202 (debugger-eval-expression): Rewrite using backtrace-eval.
4203 * subr.el (internal--called-interactively-p--get-frame): Remove.
4204 (called-interactively-p):
4205 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4206 `base' arg of backtrace-frame instead.
4207
15ac32d5
GM
42082013-07-26 Glenn Morris <rgm@gnu.org>
4209
8358a09d
GM
4210 * align.el (align-regexp): Doc fix. (Bug#14857)
4211 (align-region): Explicit error if subexpression missing/does not match.
4212
15ac32d5
GM
4213 * simple.el (global-visual-line-mode):
4214 Do not duplicate the mode lighter. (Bug#14858)
4215
f47ad11b
MR
42162013-07-25 Martin Rudalics <rudalics@gmx.at>
4217
4218 * window.el (display-buffer): In display-buffer bind
4219 split-window-keep-point to t, bug#14829.
4220
02530987
JB
42212013-07-25 Juanma Barranquero <lekktu@gmail.com>
4222
4223 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4224 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4225 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4226 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4227 Change accordingly.
f63ebeb5
JB
4228 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4229 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4230
6ccb9cab 42312013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4232
6ccb9cab 4233 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4234
cb3a56d2
JB
42352013-07-25 Juanma Barranquero <lekktu@gmail.com>
4236
4237 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4238 parameter to modify-frame-parameters if the value has not changed;
4239 this is a workaround for bug#14949.
4240 (desktop--make-frame): On cl-delete-if call, check parameter name,
4241 not full parameter.
4242
7aa7fff0
XF
42432013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4244
4245 * vc/vc.el (vc-ignore): New function.
4246
4247 * vc/vc-svn.el (vc-svn-ignore): New function.
4248
4249 * vc/vc-hg.el (vc-hg-ignore): New function.
4250
4251 * vc/vc-git.el (vc-git-ignore): New function.
4252
4253 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4254 (vc-dir-ignore): New function.
4255
4256 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4257 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4258
4259 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4260
4261 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4262
889acc5c
JB
42632013-07-24 Juanma Barranquero <lekktu@gmail.com>
4264
4265 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4266 (desktop-restore-frames): Warn when deleting an existing frame failed.
4267
86c40970
GM
42682013-07-24 Glenn Morris <rgm@gnu.org>
4269
4270 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4271
d5d3c58a
MA
42722013-07-24 Michael Albinus <michael.albinus@gmx.de>
4273
4274 * filenotify.el (file-notify-supported-p):
4275 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4276 Remove functions.
4277
4278 * autorevert.el (auto-revert-use-notify):
4279 (auto-revert-notify-add-watch):
4280 * net/tramp.el (tramp-file-name-for-operation):
4281 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4282 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4283 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4284 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4285 Remove `file-notify-supported-p' entry.
4286
d100084b
GM
42872013-07-24 Glenn Morris <rgm@gnu.org>
4288
4289 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4290 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4291
ac93e56b
SM
42922013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4293
249eea30
SM
4294 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4295 checked with memq (bug#14935).
4296
ac93e56b
SM
4297 * files.el (revert-buffer-function): Use a non-nil default.
4298 (revert-buffer-preserve-modes): Declare var to
4299 provide access to the `preserve-modes' argument.
4300 (revert-buffer): Let-bind it.
4301 (revert-buffer--default): New function, extracted from revert-buffer.
4302
2cdeb903
SM
43032013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * lpr.el: Signal print errors more prominently.
4306 (print-region-function): Don't default to nil.
4307 (lpr-print-region): New function, extracted from print-region-1.
4308 Check lpr's return value and signal an error in case of problem.
4309 (print-region-1): Use it.
4310 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4311 versions instead.
4312 (ps-printer-name): Default to nil.
4313 (ps-printer-name-option): Default to lpr-printer-switch.
4314 (ps-print-region-function): Don't default to nil.
4315 (ps-postscript-code-directory): Simplify default.
4316 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4317 (ps-string-list, ps-eval-switch, ps-flatten-list)
4318 (ps-flatten-list-1): Remove.
4319 (ps-multibyte-buffer): Avoid setq.
4320 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4321 (print-region-function, ps-print-region-function): Don't set them here.
4322
73600831
XF
43232013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4324
0e55c076
XF
4325 * ido.el (ido-fractionp):
4326 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4327 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4328 (ido-max-directory-size, ido-max-dir-file-cache)
4329 (ido-decorations): Doc fix.
4330
73600831
XF
4331 * ansi-color.el: Fix old URL.
4332
3d012865
MM
43332013-07-23 Michael R. Mauger <michael@mauger.com>
4334
e903c210 4335 * progmodes/sql.el: Version 3.3
3d012865
MM
4336 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4337 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4338 (sql-interactive-remove-continuation-prompt): Rewrite, use
4339 functions above. Fix continuation prompt and complete output line
4340 handling.
4341 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4342 redirected output buffer.
4343 (sql-mode): Restore deleted code (Bug#13591).
4344
da77a2e2
JB
43452013-07-23 Juanma Barranquero <lekktu@gmail.com>
4346
4347 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4348
80ff0c71
MA
43492013-07-23 Michael Albinus <michael.albinus@gmx.de>
4350
4351 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4352
4353 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4354 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4355 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4356
b61d71e4
JB
43572013-07-23 Juanma Barranquero <lekktu@gmail.com>
4358
4359 * desktop.el (desktop-clear): Simplify; remove useless checks
4360 against invalid buffer names.
4361 (desktop-list*): Use cl-list*.
4362 (desktop-buffer-info, desktop-create-buffer): Simplify.
4363
c3512092
LL
43642013-07-23 Leo Liu <sdl.web@gmail.com>
4365
4366 * bookmark.el (bookmark-make-record): Restore NAME as a default
4367 value. (Bug#14933)
4368
0ac26976
SM
43692013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4370
7d22ce18
SM
4371 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4372 extracted from autoload--insert-text.
4373 (autoload--insert-text): Remove.
4374 (autoload--print-cookie-text): New function, extracted from
4375 autoload--insert-cookie-text.
4376 (autoload--insert-cookie-text): Remove.
4377 (autoload-generate-file-autoloads): Adjust calls accordingly.
4378
9b2607e8
SM
4379 * winner.el (winner-hook-installed-p): Remove.
4380 (winner-mode): Simplify accordingly.
4381
c43a8618
SM
4382 * subr.el (add-to-list): Fix compiler-macro when `append' is
4383 not constant. Don't use `cl-member' for the base case.
4384
0ac26976
SM
4385 * progmodes/subword.el: Fix boundary case (bug#13758).
4386 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4387 own group.
4388 (subword-backward-regexp): Make it a constant.
4389 (subword-forward-internal): Don't treat a trailing capital as the
4390 beginning of a word.
4391
6874724a
AR
43922013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4393
4394 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4395 global value of tabulated-list-revert-hook (bug#14930).
4396
70f1b5e8
JB
43972013-07-22 Juanma Barranquero <lekktu@gmail.com>
4398
a1c80d9d
JB
4399 * desktop.el: Require 'cl-lib.
4400 (desktop-before-saving-frames-functions): New hook.
4401 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4402 for frames being saved. Rename from desktop--save-minibuffer-frames.
4403 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4404 Do not save frames with non-nil `desktop-dont-save' parameter.
4405 Filter out deleted frames.
a1c80d9d
JB
4406 (desktop--find-frame): Use cl-find-if.
4407 (desktop--select-frame): Use cl-(first|second|third) to access values
4408 of desktop-mini.
4409 (desktop--make-frame): Use cl-delete-if.
4410 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4411 (desktop-restore-frames): Use cl-(first|second|third) to access values
4412 of desktop-mini. Look for visible frame at the end, not while
4413 restoring frames.
4414
70f1b5e8
JB
4415 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4416 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4417 Use string-match-p, looking-at-p (bug#14927).
4418
728dc3cc
JB
44192013-07-21 Juanma Barranquero <lekktu@gmail.com>
4420
56bc453c
JB
4421 * desktop.el (desktop-saved-frame-states):
4422 Rename from desktop--saved-states; all users changed.
4423 (desktop-save-frames): Rename from desktop--save-frames.
4424 Do not save state to desktop file.
4425 (desktop-save): Save desktop-saved-frame-states to desktop file
4426 and reset to nil.
4427 (desktop-restoring-frames-p): New function.
4428 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4429 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4430 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4431
728dc3cc
JB
4432 * desktop.el: Correctly restore iconified frames.
4433 (desktop--filter-iconified-position): New function.
4434 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4435
862f1c9c
GM
44362013-07-20 Glenn Morris <rgm@gnu.org>
4437
c4074c9f
GM
4438 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4439 Let `message' do the formatting.
4440 (def-gdb-preempt-display-buffer): Add explicit format.
4441
d828e5f9
GM
4442 * image-dired.el (image-dired-track-original-file):
4443 Use with-current-buffer.
4444 (image-dired-track-thumbnail): Use with-current-buffer.
4445 Avoid changing point of wrong window.
4446
862f1c9c
GM
4447 * image-dired.el (image-dired-track-original-file):
4448 Avoid changing point of wrong window. (Bug#14909)
4449
f0398ec1 44502013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4451
4452 * progmodes/gdb-mi.el (gdb-done-or-error):
4453 Guard against "%" in gdb output. (Bug#14127)
4454
1451928f
AS
44552013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4456
763a086d
JB
4457 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4458 (Bug#14826)
f7a03897 4459
1451928f
AS
4460 * international/mule.el (coding-system-iso-2022-flags): Fix last
4461 change.
4462
99107004
KH
44632013-07-20 Kenichi Handa <handa@gnu.org>
4464
763a086d
JB
4465 * international/mule.el (coding-system-iso-2022-flags):
4466 Add `8-bit-level-4'. (Bug#8522)
99107004 4467
48494e06
LMI
44682013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4469
8ba8eec5
LMI
4470 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4471 (bug#14815).
4472
dfbc66e3
LMI
4473 * net/eww.el (eww-process-text-input): Allow inputting when the
4474 point is at the start of the line, as the properties aren't
4475 front-sticky.
4476
48494e06
LMI
4477 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4478 degenerate widths.
4479
77c92cb9
RS
44802013-07-19 Richard Stallman <rms@gnu.org>
4481
aec7da77
RS
4482 * epa.el (epa-popup-info-window): Doc fix.
4483
77c92cb9
RS
4484 * subr.el (split-string): New arg TRIM.
4485
945c5bb1
JB
44862013-07-18 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4489 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4490
e06ec67f
MA
44912013-07-18 Michael Albinus <michael.albinus@gmx.de>
4492
c7064f05 4493 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4494 `file-notify-support'. Do not autoload. Adapt all uses.
4495 (file-notify-supported-p): New defun.
4496
c7064f05
JB
4497 * autorevert.el (auto-revert-use-notify):
4498 Use `file-notify-supported-p' instead of `file-notify-support'.
4499 Adapt docstring.
e06ec67f
MA
4500 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4501
4502 * net/tramp.el (tramp-file-name-for-operation):
4503 Add `file-notify-supported-p'.
4504
4505 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4506 New defun.
4507 (tramp-sh-file-name-handler-alist): Add it as handler for
4508 `file-notify-supported-p '.
4509
4510 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4511 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4512 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4513 Add `ignore' as handler for `file-notify-*' functions.
4514
5dc8a629
EZ
45152013-07-17 Eli Zaretskii <eliz@gnu.org>
4516
4517 * simple.el (line-move-partial, line-move): Don't start vscroll or
4518 scroll-up if the current line is not taller than the window.
4519 (Bug#14881)
4520
77aea2fb
DG
45212013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4522
4523 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4524 highlight question marks in the method names as strings.
ac72c08d
DG
4525 (ruby-block-beg-keywords): Inline.
4526 (ruby-font-lock-keyword-beg-re): Extract from
4527 `ruby-font-lock-keywords'.
77aea2fb 4528
18c26d81
JD
45292013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4530
4531 * frame.el (blink-cursor-blinks): New defcustom.
4532 (blink-cursor-blinks-done): New defvar.
4533 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4534 (blink-cursor-timer-function): Check if number of blinks has been
4535 done on X and NS.
4536 (blink-cursor-suspend, blink-cursor-check): New defuns.
4537
da48522e
GM
45382013-07-15 Glenn Morris <rgm@gnu.org>
4539
4540 * edmacro.el (edmacro-format-keys): Fix previous change.
4541
0463c1ef
PE
45422013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4543
4544 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4545 The hack didn't work outside English locales anyway.
4546
b43f6451
JB
45472013-07-15 Juanma Barranquero <lekktu@gmail.com>
4548
4549 * simple.el (define-alternatives): Rename from alternatives-define,
4550 per RMS' suggestion.
4551
b958c0ad
JB
45522013-07-14 Juanma Barranquero <lekktu@gmail.com>
4553
4554 * desktop.el (desktop-restore-frames): Change default to t.
4555 (desktop-restore-in-current-display): Now offer more options.
4556 (desktop-restoring-reuses-frames): New customization option.
4557 (desktop--saved-states): Doc fix.
4558 (desktop-filter-parameters-alist): New variable, renamed and expanded
4559 from desktop--excluded-frame-parameters.
4560 (desktop--target-display): New variable.
4561 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4562 (desktop--filter-tty*, desktop--filter-*-color)
4563 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4564 (desktop--filter-save-desktop-parm)
4565 (desktop-restore-in-original-display-p): New functions.
4566 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4567 (desktop--save-minibuffer-frames): New function, inspired by a similar
4568 function from Martin Rudalics.
4569 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4570 (desktop--restore-in-this-display-p): Remove.
4571 (desktop--find-frame): Rename from desktop--find-frame-in-display
4572 and add predicate argument.
4573 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4574 (desktop--reuse-list): New variable.
4575 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4576 New functions.
4577 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4578
f6dd8b36
MA
45792013-07-14 Michael Albinus <michael.albinus@gmx.de>
4580
4581 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4582
2ce3c565
DG
45832013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4584
763a086d
JB
4585 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4586 Highlight conversion methods on Kernel.
2ce3c565 4587
2cdb7698
AM
45882013-07-13 Alan Mackenzie <acm@muc.de>
4589
4590 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4591 and comment it out. This out-commenting enables certain C++
4592 declarations to be parsed correctly.
4593
1a67b811
EZ
45942013-07-13 Eli Zaretskii <eliz@gnu.org>
4595
1b796d6b
EZ
4596 * international/mule.el (define-coding-system): Doc fix.
4597
1a67b811
EZ
4598 * simple.el (default-font-height): Don't call font-info if the
4599 frame's default font didn't change since the frame was created.
4600 (Bug#14838)
4601
58fbe886
LL
46022013-07-13 Leo Liu <sdl.web@gmail.com>
4603
4604 * ido.el (ido-read-file-name): Guard against non-symbol value.
4605
1f0480d4
FEG
46062013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4607
4608 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4609 in nested defuns.
4610
97ead0e5
LL
46112013-07-13 Leo Liu <sdl.web@gmail.com>
4612
4613 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4614 ido-set-matches call. (Bug#6852)
4615
0880a952
DG
46162013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4617
4618 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4619 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4620 Ruby 2.0.
4621 (ruby-font-lock-keywords): Distinguish calls to functions with
4622 module-like names from module references. Highlight character
4623 literals.
4624
a7d8babb
SDJ
46252013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4626
4627 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4628 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4629
acfcc8c5
JB
46302013-07-12 Juanma Barranquero <lekktu@gmail.com>
4631
4632 * desktop.el (desktop--v2s): Remove unused local variable.
4633 (desktop-save-buffer): Make defvar-local; adjust docstring.
4634 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4635 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4636
051f2775
AS
46372013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4638
4639 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4640
f24e7572
GM
46412013-07-12 Eli Zaretskii <eliz@gnu.org>
4642
4643 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4644 (Bug#14842)
4645
539a920c
GM
46462013-07-12 Glenn Morris <rgm@gnu.org>
4647
4648 * doc-view.el: Require cl-lib at runtime too.
4649 (doc-view-remove-if): Remove.
4650 (doc-view-search-next-match, doc-view-search-previous-match):
4651 Use cl-remove-if.
4652
4653 * edmacro.el: Require cl-lib at runtime too.
4654 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4655 (edmacro-mismatch, edmacro-subseq): Remove.
4656
4657 * shadowfile.el: Require cl-lib.
4658 (shadow-remove-if): Remove.
4659 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4660 Use cl-remove-if.
4661
4662 * wid-edit.el: Require cl-lib.
4663 (widget-choose): Use cl-remove-if.
4664 (widget-remove-if): Remove.
4665
4666 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4667 (ebrowse-delete-if-not): Remove.
4668 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4669 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4670 Use cl-delete-if-not.
4671
1048af7c
JB
46722013-07-12 Juanma Barranquero <lekktu@gmail.com>
4673
4674 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4675 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4676
6c0674ee
LL
46772013-07-12 Leo Liu <sdl.web@gmail.com>
4678
4679 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4680
a19b3c2d
GM
46812013-07-11 Glenn Morris <rgm@gnu.org>
4682
4582a01c
GM
4683 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4684 (edebug-gensym-index, edebug-gensym):
4685 Remove reimplementation of cl-gensym.
4686 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4687
4688 * thumbs.el: Require cl-lib at run-time too.
4689 (thumbs-gensym-counter, thumbs-gensym):
4690 Remove reimplementation of cl-gensym.
4691 (thumbs-temp-file): Use cl-gensym.
4692
a19b3c2d
GM
4693 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4694 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4695 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4696 (ert--union, ert--gensym-counter, ert--gensym-counter)
4697 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4698 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4699 (ert-make-test-unbound, ert--expand-should-1)
4700 (ert--expand-should, ert--should-error-handle-error)
4701 (should-error, ert--explain-equal-rec)
4702 (ert--plist-difference-explanation, ert-select-tests)
4703 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4704 Use cl-lib functions rather than reimplementations.
4705
88f6a933
MA
47062013-07-11 Michael Albinus <michael.albinus@gmx.de>
4707
4708 * net/tramp.el (tramp-methods): Extend docstring.
4709 (tramp-connection-timeout): New defcustom.
4710 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4711 (with-tramp-progress-reporter): Simplify.
4712 (tramp-process-actions): Improve messages.
4713
4714 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4715 * net/tramp-sh.el (tramp-maybe-open-connection):
4716 Use `tramp-connection-timeout'.
4717 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4718 (Bug#14808)
4719
a43d577e
LL
47202013-07-11 Leo Liu <sdl.web@gmail.com>
4721
4722 * ido.el (ido-read-file-name): Conform to the requirements of
4723 read-file-name. (Bug#11861)
4724 (ido-read-directory-name): Conform to the requirements of
4725 read-directory-name.
4726
d77974bf
JB
47272013-07-11 Juanma Barranquero <lekktu@gmail.com>
4728
4729 * subr.el (delay-warning): New function.
4730
35cb8a3e
EZ
47312013-07-10 Eli Zaretskii <eliz@gnu.org>
4732
4733 * simple.el (default-line-height): New function.
4734 (line-move-partial, line-move): Use it instead of computing the
4735 line height inline.
4736 (line-move-partial): Always compute ROWH. If the last line is
4737 partially-visible, but its text is completely visible, allow
4738 cursor to enter such a partially-visible line.
4739
525c5c77
MA
47402013-07-10 Michael Albinus <michael.albinus@gmx.de>
4741
4742 Improve error messages. (Bug#14808)
4743
4744 * net/tramp.el (tramp-current-connection): New defvar, moved from
4745 tramp-sh.el.
0ac26976 4746 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4747 needed anymore.
0ac26976
SM
4748 (tramp-error-with-buffer): Show message in minibuffer.
4749 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4750 (with-tramp-progress-reporter): Improve messages.
4751 (tramp-process-actions): Use progress reporter. Delete process in
4752 case of error. Improve messages.
4753
763a086d
JB
4754 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4755 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4756 (tramp-current-connection): Remove.
525c5c77
MA
4757 (tramp-maybe-open-connection): The car of
4758 `tramp-current-connection' are the first 3 slots of the vector.
4759
c7a4d368
TZ
47602013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4761
4762 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4763 inside continued strings.
4764
954b166e
PE
47652013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4766
4767 Timestamp fixes for undo (Bug#14824).
4768 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4769
56973319
LL
47702013-07-10 Leo Liu <sdl.web@gmail.com>
4771
4772 * files.el (require-final-newline): Allow safe local value.
4773 (Bug#14834)
4774
5550a72c
LL
47752013-07-09 Leo Liu <sdl.web@gmail.com>
4776
4777 * ido.el (ido-read-directory-name): Handle fallback.
4778 (ido-read-file-name): Update DIR to ido-current-directory.
4779 (Bug#1516)
c28b9050 4780 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4781
70c46b28
DG
47822013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4783
4784 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4785 "autoload". Remove "warn lower camel case" section, previously
4786 commented out. Highlight negation char. Do not highlight the
4787 target in singleton method definitions.
4788
0b64b838
SM
47892013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4790
7fd72e2c
SM
4791 * faces.el (tty-setup-hook): Declare the hook.
4792
0b64b838
SM
4793 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4794 and detect when a guard/pred depends on local vars (bug#14773).
4795 (pcase--u1): Adjust caller.
4796
ab49d60b
EZ
47972013-07-08 Eli Zaretskii <eliz@gnu.org>
4798
4799 * simple.el (line-move-partial, line-move): Account for
4800 line-spacing.
701d79aa
EZ
4801 (line-move-partial): Avoid setting vscroll when the last
4802 partially-visible line in window is of default height.
ab49d60b 4803
2d756ae0
LMI
48042013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4805
4806 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4807 been used a while.
4808
ed095bd7
JB
48092013-07-07 Juanma Barranquero <lekktu@gmail.com>
4810
4811 * subr.el (read-quoted-char): Remove unused local variable `char'.
4812
f1e6674b
MK
48132013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4814
584ee3fc
GM
4815 * ediff.el (ediff-version): Version update.
4816 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4817 (ediff-merge-with-ancestor-command, ediff-directories-command)
4818 (ediff-directories3-command, ediff-merge-directories-command)
4819 (ediff-merge-directories-with-ancestor-command): New functions.
4820 All are command-line interfaces to ediff: to facilitate calling
4821 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4822
4823 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4824 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4825
584ee3fc
GM
4826 * viper.el (viper-version): Version update.
4827 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4828
584ee3fc
GM
48292013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4832 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4833 (viper-intercept-ESC-key): Simplify.
4834 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4835 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4836 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4837 (viper-setup-ESC-to-escape): New functions.
4838 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4839 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4840
9aff9b38
EZ
48412013-07-07 Eli Zaretskii <eliz@gnu.org>
4842
5165d44a
JB
4843 * simple.el (default-font-height, window-screen-lines):
4844 New functions.
9aff9b38
EZ
4845 (line-move, line-move-partial): Use them instead of
4846 frame-char-height and window-text-height. This makes scrolling
4847 text smoother when the buffer's default face uses a font that is
4848 different from the frame's default font.
4849
1afb1d07
JD
48502013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4851
4852 * files.el (write-file): Do not display confirm dialog for NS,
4853 it does its own dialog, which can't be cancelled (Bug#14578).
4854
23de972a
EZ
48552013-07-06 Eli Zaretskii <eliz@gnu.org>
4856
4857 * simple.el (line-move-partial): Adjust the row returned by
4858 posn-at-point for the current window-vscroll. (Bug#14567)
4859
54a42486
MA
48602013-07-06 Michael Albinus <michael.albinus@gmx.de>
4861
4862 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4863 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4864 spaces.
4865
34ada5f4
MR
48662013-07-06 Martin Rudalics <rudalics@gmx.at>
4867
4868 * window.el (window-state-put-stale-windows): New variable.
4869 (window--state-put-2): Save list of windows without matching buffer.
4870 (window-state-put): Remove "bufferless" windows if possible.
4871
11e03d89
JB
48722013-07-06 Juanma Barranquero <lekktu@gmail.com>
4873
4874 * simple.el (alternatives-define): Remove leftover :group keyword.
4875 Tweak docstring.
4876
3504a4be
LL
48772013-07-06 Leo Liu <sdl.web@gmail.com>
4878
4879 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4880 (ido-enable-virtual-buffers): New variable.
4881 (ido-buffer-internal, ido-toggle-virtual-buffers)
4882 (ido-make-buffer-list): Use it.
4883 (ido-exhibit): Support turning on and off virtual buffers
4884 automatically.
4885
61e56e2c
JB
48862013-07-06 Juanma Barranquero <lekktu@gmail.com>
4887
4888 * simple.el (alternatives-define): New macro.
4889
321e1a9c
SM
48902013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4891
4892 * subr.el (read-quoted-char): Use read-key.
4893 (sit-for): Let read-event decode tty input (bug#14782).
4894
d610f6dd
SB
48952013-07-05 Stephen Berman <stephen.berman@gmx.net>
4896
4897 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4898 mode command and externally. Fix various related bugs.
4899 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4900 (todo-delete-file): New command.
4901 (todo-check-file): New function.
4902 (todo-show): Handle external deletion of the file we're trying to
4903 show (bug#14688). Replace called-interactively-p by an optional
4904 prefix argument to avoid problematic interaction with catch form
4905 when byte compiled (bug#14702).
4906 (todo-quit): Handle external deletion of the archive's todo file.
4907 Make sure the buffer that was visiting the archive file is still
4908 live before trying to bury it.
4909 (todo-category-completions): Handle external deletion of any
4910 category completion files.
4911 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4912 of todo files, in case of external deletion.
4913 (todo-add-file): Replace unnecessary setq by let-binding.
4914 (todo-find-archive): Check whether there are any archives.
4915 Replace unnecessary setq by let-binding.
4916 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4917 archive buffer whether or not the archive already exists.
4918 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4919 check if the archive is new; if it is, update list of archives.
4920 (todo-default-todo-file): Allow nil to be a valid value for when
4921 there are no todo files.
4922 (todo-reevaluate-default-file-defcustom): Use corrected definition
4923 of todo-default-todo-file.
4924 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4925 (todo-delete-category, todo-show-categories-table)
4926 (todo-category-number): Clarify comment.
4927 (todo-filter-items): Clarify documentation string.
4928 (todo-show-current-file, todo-display-as-todo-file)
4929 (todo-reset-and-enable-done-separator): Tweak documentation string.
4930 (todo-done-separator): Make separator length window-width, since
4931 bug#2749 is now fixed.
4932
ddbdfd6f
MA
49332013-07-05 Michael Albinus <michael.albinus@gmx.de>
4934
321e1a9c
SM
4935 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4936 Support both "gvfs-monitor-dir" and "inotifywait".
4937 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4938 `tramp-sh-file-notify-process-filter'.
4939 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4940 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4941
96eb829a
LL
49422013-07-05 Leo Liu <sdl.web@gmail.com>
4943
4944 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4945
cf13177e
YM
49462013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4947
4948 * frame.el (display-pixel-height, display-pixel-width)
4949 (display-mm-height, display-mm-width): Mention behavior on
4950 multi-monitor setups in docstrings.
4951 (w32-display-monitor-attributes-list): Declare function.
4952 (display-monitor-attributes-list): Use it.
4953
864c58ca
MA
49542013-07-04 Michael Albinus <michael.albinus@gmx.de>
4955
4956 * filenotify.el: New package.
4957
4958 * autorevert.el (top): Require filenotify.el.
4959 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4960 instead.
4961 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4962 (auto-revert-notify-handler): Use `file-notify-*' functions.
4963
4964 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4965
321e1a9c
SM
4966 * net/tramp.el (tramp-file-name-for-operation):
4967 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4968
4969 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4970 for `file-notify-add-watch' and `file-notify-rm-watch'.
4971 (tramp-process-sentinel): Improve trace.
4972 (tramp-sh-handle-file-notify-add-watch)
4973 (tramp-sh-file-notify-process-filter)
4974 (tramp-sh-handle-file-notify-rm-watch)
4975 (tramp-get-remote-inotifywait): New defuns.
4976
96673afe
JL
49772013-07-03 Juri Linkov <juri@jurta.org>
4978
4979 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4980 call of `occur-read-primary-args' to interactive spec.
4981
4982 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4983 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4984
924494f4
MM
49852013-07-03 Matthias Meulien <orontee@gmail.com>
4986
4987 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4988 `Buffer-menu-multi-occur'. Add it to the menu.
4989 (Buffer-menu-mode): Document it in docstring.
4990 (Buffer-menu-multi-occur): New command. (Bug#14673)
4991
56f75efc
DG
49922013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4993
4994 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4995 keywords and built-ins.
4996
9b057d61
GM
49972013-07-03 Glenn Morris <rgm@gnu.org>
4998
208dee4d
GM
4999 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5000
9b057d61
GM
5001 Make info-xref checks case-sensitive by default
5002 * info.el (Info-find-node, Info-find-in-tag-table)
5003 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5004 Add option for exact case matching of nodes.
5005 * info-xref.el (info-xref): New custom group.
5006 (info-xref-case-fold): New option.
5007 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5008
e01aa29c
LL
50092013-07-03 Leo Liu <sdl.web@gmail.com>
5010
5011 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5012
3086ca2e
DG
50132013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5014
5015 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5016 middle of block statement initially, lower the depth. Remove
5017 FIXME comment, not longer valid. Remove middle of block statement
5018 detection, no need to do that anymore since we've been using
5019 `ruby-parse-region' here.
5020
a3b49114
JD
50212013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5022
5023 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5024
08e5c823 50252013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5026
5027 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5028
2addf922
JB
50292013-07-01 Juanma Barranquero <lekktu@gmail.com>
5030
5031 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5032 (desktop-restore-in-current-display): New customization option.
5033 (desktop--excluded-frame-parameters): Add `font'.
5034 (desktop--save-frames): Rename from desktop--save-windows.
5035 (desktop--restore-in-this-display-p): New function.
5036 (desktop--make-full-frame): Remove unwanted width/height from
5037 full(width|height) frames.
5038 (desktop--restore-frames): Rename from desktop--restore-windows.
5039 Obey desktop-restore-current-display. Do not delete old frames or
5040 select a new frame unless we were able to restore at least one frame.
5041
ef099a94
MN
50422013-06-30 Michal Nazarewicz <mina86@mina86.com>
5043
5044 * files.el (find-file-noselect): Simplify conditional expression.
5045
5046 * remember.el (remember-append-to-file):
5047 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5048
5049 Add `remember-notes' function to store random notes across Emacs
5050 restarts.
5051 * remember.el (remember-data-file): Add :set callback to affect
5052 notes buffer (if any).
5053 (remember-notes): New command.
5054 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5055 New defcustoms for the `remember-notes' function.
5056 (remember-notes-save-and-bury-buffer): New command.
5057 (remember-notes-mode-map): New variable.
5058 (remember-mode): New minor mode.
5059 (remember-notes--kill-buffer-query): New function.
5060 * startup.el (initial-buffer-choice): Add notes to custom type.
5061
0865d506
EZ
50622013-06-30 Eli Zaretskii <eliz@gnu.org>
5063
0ba54312
EZ
5064 * bindings.el (right-char, left-char): Don't call sit-for, this is
5065 no longer needed. Use arithmetic comparison only for numerical
5066 arguments.
5067
ef099a94
MN
5068 * international/mule-cmds.el (select-safe-coding-system):
5069 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5070
2fae38e5
LMI
50712013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5072
5073 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5074 progression on degenerate tables.
ef099a94 5075 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5076
a47cbd64
JB
50772013-06-30 Juanma Barranquero <lekktu@gmail.com>
5078
5079 Some fixes and improvements for desktop frame restoration.
5080 It is still experimental and disabled by default.
5081 * desktop.el (desktop--save-windows): Put the selected frame at
5082 the head of the list.
5083 (desktop--make-full-frame): New function.
5084 (desktop--restore-windows): Try to re-select the frame that was
5085 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5086 just show an error message and continue. Set up maximized frames
5087 so they have default non-maximized dimensions.
a47cbd64 5088
6dbafa30
DG
50892013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5090
ef099a94
MN
5091 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5092 Don't start heredoc inside a string or comment.
6dbafa30 5093
4c672a0f
EZ
50942013-06-29 Eli Zaretskii <eliz@gnu.org>
5095
5096 * bindings.el (visual-order-cursor-movement): New defcustom.
5097 (right-char, left-char): Provide visual-order cursor motion by
5098 calling move-point-visually. Update the doc strings.
5099
50960f36
KH
51002013-06-28 Kenichi Handa <handa@gnu.org>
5101
5102 * international/mule.el (define-coding-system): New coding system
5103 properties :inhibit-null-byte-detection,
5104 :inhibit-iso-escape-detection, and :prefer-utf-8.
5105 (set-buffer-file-coding-system): If :charset-list property of
5106 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5107 appropriate for setting.
5108
c1ea3abf
JB
5109 * international/mule-cmds.el (select-safe-coding-system):
5110 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5111 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5112
5113 * international/mule-conf.el (prefer-utf-8): New coding system.
5114 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5115 files.
5116
75dbaf9d
IK
51172013-06-28 Ivan Kanis <ivan@kanis.fr>
5118
eadb6068
IK
5119 * net/shr.el (shr-render-region): New function.
5120
75dbaf9d
IK
5121 * net/eww.el: Autoload `eww-browse-url'.
5122
9ea5cf9f
DG
51232013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5124
c1ea3abf
JB
5125 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5126 Adapt to `package-desc-version' being a list.
5127 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5128 archive element.
5129
39c0e36f
JB
51302013-06-27 Juanma Barranquero <lekktu@gmail.com>
5131
5132 New experimental feature to save&restore window and frame setup.
5133 * desktop.el (desktop-save-windows): New defcustom.
5134 (desktop--saved-states): New var.
5135 (desktop--excluded-frame-parameters): New defconst.
5136 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5137 (desktop--restore-windows, desktop--save-windows): New functions.
5138 (desktop-save): Call `desktop--save-windows'.
5139 (desktop-read): Call `desktop--restore-windows'.
5140
7f13406b
LMI
51412013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5142
ef099a94 5143 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5144
1e072639
SB
51452013-06-27 Stephen Berman <stephen.berman@gmx.net>
5146
5147 * info.el (Info-try-follow-nearest-node): Move search for footnote
5148 above search for node name to prevent missing a footnote (bug#14717).
5149
f3e2cbde
SB
51502013-06-27 Stephen Berman <stephen.berman@gmx.net>
5151
5152 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5153
99906aa0
LL
51542013-06-27 Leo Liu <sdl.web@gmail.com>
5155
5156 * net/eww.el (eww-read-bookmarks): Check file size.
5157
539f75f4
SM
51582013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5161 advice--pending if newdef is nil or an autoload (bug#13820).
5162 (advice-mapc): New function.
5163
843571cb
LMI
51642013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5165
5166 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5167 probably.
23a75d7f 5168 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5169 (eww-add-bookmark): New command.
5170 (eww-bookmark-mode): New mode and commands.
a285ce99 5171 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5172 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5173
f2136e1e
GM
51742013-06-26 Glenn Morris <rgm@gnu.org>
5175
eab35f39
GM
5176 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5177 (hfy-size): Handle ttys. (Bug#14668)
5178
f2136e1e
GM
5179 * info-xref.el: Update for Texinfo 5 change in *note format.
5180 (info-xref-node-re, info-xref-note-re): New constants.
5181 (info-xref-check-buffer): Use info-xref-note-re.
5182
a49ff80c
SM
51832013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5184
a343d218
SM
5185 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5186
a49ff80c
SM
5187 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5188 nil terminate the loop (bug#14718).
5189
8308f184
LMI
51902013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5191
5192 * net/eww.el: Rework history traversal. When going forward/back,
5193 put these actions into the history, too, so that they can be
5194 replayed.
26bf2b82 5195 (eww-render): Move the history reset to the correct buffer.
8308f184 5196
ec64c273
JL
51972013-06-25 Juri Linkov <juri@jurta.org>
5198
5199 * files-x.el (modify-dir-local-variable): Change the header comment
5200 in the file with directory local variables. (Bug#14692)
5201
e080a9d7
JL
5202 * files-x.el (read-file-local-variable-value): Add `default'.
5203 (Bug#14710)
5204
bfbc93a1
IK
52052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5206
5207 * net/eww.el (eww-make-unique-file-name): Create a unique file
5208 name before saving to entering `y' accidentally asynchronously.
5209
52102013-06-25 Ivan Kanis <ivan@kanis.fr>
5211
5212 * net/eww.el (eww-download): New command and keystroke.
5213
16f74f10
LMI
52142013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5215
a49ff80c 5216 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5217
5218 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5219 be more consistent with Info and dired.
5220
5221 * net/eww.el (eww-mode-map): Ditto.
5222
12059709
SM
52232013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5224
5225 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5226 packages from archives.
5227 (package-archive-contents): Change format; include obsolete packages.
5228 (package-desc): Use `dir' to mark builtin packages.
5229 (package--from-builtin): Set the `dir' field to `builtin'.
5230 (generated-autoload-file, version-control): Declare.
5231 (package-compute-transaction): Change first arg and return value to be
5232 lists of package-descs. Adjust to new package-archive-contents format.
5233 (package--add-to-archive-contents): Adjust to new
5234 package-archive-contents format.
5235 (package-download-transaction): Arg is now a list of package-descs.
5236 (package-install): If `pkg' is a package name, pass it as
5237 a requirement, so it is subject to the usual (e.g. disabled) checks.
5238 (describe-package): Accept package-desc as well.
5239 (describe-package-1): Describe a specific package-desc. Add links to
5240 other package-descs for the same package name.
5241 (package-menu-describe-package): Pass the actual package-desc.
5242 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5243 works correctly.
5244 (package-desc-status): New function.
5245 (package-menu--refresh): New function, extracted
5246 from package-menu--generate.
5247 (package-menu--generate): Use it.
5248 (package-delete): Update package-alist.
5249 (package-menu-execute): Don't call package-initialize.
5250
5251 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5252 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5253 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5254 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5255 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5256 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5257
8bbdea0f
MR
52582013-06-25 Martin Rudalics <rudalics@gmx.at>
5259
5260 * window.el (window--state-get-1): Workaround for bug#14527.
5261 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5262
e82b0991
LMI
52632013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5264
5265 * net/eww.el (eww-back-url): Implement the history by stashing all
5266 the data into a list.
d3f0f918 5267 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5268
c763842b
SM
52692013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5272 for values and use read--expression for expressions (bug#14710).
5273 (read-file-local-variable): Avoid setq.
5274 (read-file-local-variable-mode): Use minor-mode-list.
5275
bceff189
RW
52762013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5277
864c58ca 5278 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5279 for DOI URLs.
5280
45f431c6
RW
52812013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5282
864c58ca 5283 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5284 Update imenu-support when dialect changes.
5285
f42d8237
LL
52862013-06-25 Leo Liu <sdl.web@gmail.com>
5287
5288 * ido.el (ido-read-internal): Allow forward slash on windows.
5289
be549ce6
LMI
52902013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5291
5292 * net/eww.el (eww): Start of strings is \\`, not ^.
5293
71d4c19d
IK
52942013-06-24 Ivan Kanis <ivan@kanis.fr>
5295
5196f88a
IK
5296 * net/shr.el (shr-browse-url): Fix interactive spec.
5297
71d4c19d
IK
5298 * net/eww.el (eww): Add a trailing slash to domain names.
5299
ae36ca55
JB
53002013-06-24 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5303
0ebd92a3
LMI
53042013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5305
bdaa086b
LMI
5306 * net/shr.el (shr-browse-url): Use an external browser if given a
5307 prefix.
5308
c763842b 5309 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5310
b89fc156
IK
53112013-06-24 Ivan Kanis <ivan@kanis.fr>
5312
5313 * net/eww.el (eww): Work more correctly for file: URLs.
5314 (eww-detect-charset): Allow quoted charsets.
5315 (eww-yank-page-url): New command and keystroke.
5316
18eb4bca
DU
53172013-06-24 Daiki Ueno <ueno@gnu.org>
5318
5319 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5320 file name of gpg executable.
5321 (epg-context-program): New function.
5322 (epg-context-home-directory): New function.
5323 (epg-context-set-program): New function.
5324 (epg-context-set-home-directory): New function.
5325 (epg--start): Use `epg-context-program' instead of
5326 'epg-gpg-program'.
5327 (epg--list-keys-1): Likewise.
5328
6c6268c8
LL
53292013-06-24 Leo Liu <sdl.web@gmail.com>
5330
5331 * ido.el (ido-read-internal): Fix bug#14620.
5332
5e400cb3
JB
53332013-06-23 Juanma Barranquero <lekktu@gmail.com>
5334
5335 * faces.el (face-documentation): Simplify.
5336 (read-face-attribute, tty-find-type, x-resolve-font-name):
5337 Use `string-match-p'.
5338 (list-faces-display): Use `string-match-p'. Simplify.
5339 (face-spec-recalc): Check face to avoid face alias loops.
5340 (read-color): Use `string-match-p' and non-capturing parenthesis.
5341
f3f9606c
LMI
53422013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5343
5344 * net/shr.el (shr-rescale-image): Use the new
5345 :max-width/:max-height functionality.
5346
a3ca09b9
IK
53472013-06-23 Ivan Kanis <ivan@kanis.fr>
5348
5349 * net/eww.el (eww-search-prefix): New variable.
5350 (eww): Use it.
f865b474
IK
5351 (eww-external-browser): New variable.
5352 (eww-mode-map): New keystroke.
5353 (eww-browse-with-external-browser): New command.
a3ca09b9 5354
e854cfc7
IK
5355 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5356
18bb9e21
JB
53572013-06-23 Juanma Barranquero <lekktu@gmail.com>
5358
5359 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5360 Don't skip aligning the next header field when padding is 0;
5361 otherwise, field width is not respected unless the title is as
5362 wide as the field.
5363
5b165ade
SM
53642013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * emacs-lisp/package.el (package-el-version): Remove.
5367 (package-process-define-package): Fix inf-loop.
5368 (package-install): Allow symbols as arguments again.
5369
12adebe9
DG
53702013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5371
5372 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5373 add some more keyword-like methods.
5374 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5375
388573ee
JB
53762013-06-22 Juanma Barranquero <lekktu@gmail.com>
5377
5378 * bs.el (bs-buffer-show-mark): Make defvar-local.
5379 (bs-mode): Use setq-local.
5380
5381 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5382 (emacs-lock--try-unlocking): Make defvar-local.
5383
4582a01c 53842013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5385
2663dd23
GM
5386 * play/cookie1.el (cookie-apropos): Minor simplification.
5387
3d94f3ad
GM
5388 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5389
f72e2fdb
DG
53902013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5391
5392 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5393 `regexp-opt', it breaks the build during dumping.
5394
73eab938
DG
53952013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5396
c763842b
SM
5397 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5398 Highlight keyword-like methods on Kernel and Module with
73eab938 5399 font-lock-builtin-face.
5cf8176d
DG
5400 (auto-mode-alist): Consolidate different entries into one regexp
5401 and add more *file-s.
73eab938 5402
d26255f6
SB
54032013-06-21 Stephen Berman <stephen.berman@gmx.net>
5404
5405 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5406
5407 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5408 (diary-entry): Use it in the action of this button type instead of
5409 diary-goto-entry.
5410
5411 * calendar/todo-mode.el: New version.
5412 (todo-add-category): Append new category to end of file and give
5413 it the highest number, instead of putting it at the beginning and
5414 giving it 0. Incorporate noninteractive functionality.
5415 (todo-forward-category): Adapt to 1-based category numbering.
5416 Allow skipping over archived categories.
5417 (todo-backward-category): Derive from todo-forward-category.
5418 (todo-backward-item, todo-forward-item): Make noninteractive and
5419 delegate interactive part to new commands. Make sensitive to done items.
5420 (todo-categories): Make value an alist of category names and
5421 vectors of item counts.
5422 (todo-category-beg): Make a defconst.
5423 (todo-category-number): Use 1 instead of 0 as initial value.
5424 (todo-category-select): Make sensitive to overlays, optional item
5425 highlighting and done items.
5426 (todo-delete-item): Make sensitive to overlays and marked and done items.
5427 (todo-edit-item): Make sensitive to overlays and editing of
5428 date/time header optional. Add format checks.
5429 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5430 no-op if point is not on an item. Advertise using todo-edit-quit.
5431 (todo-edit-mode): Make sensitive to new format, font-locking, and
5432 multiple todo files.
5433 (todo-insert-item, todo-insert-item-here): Derive from
5434 todo-basic-insert-item and extend functionality.
5435 (todo-item-end, todo-item-start): Make sensitive to done items.
5436 (todo-item-string): Don't return text properties. Restore point.
5437 (todo-jump-to-category): Make sensitive to multiple todo files and
5438 todo archives. Use extended category completion.
5439 (todo-lower-item, todo-raise-item): Rename to *-priority and
5440 derive from todo-set-item-priority.
5441 (todo-mode): Derive from special-mode. Make sensitive to new
5442 format, font-locking and multiple todo files. Make read-only.
5443 (todo-mode-map): Don't suppress digit keys, so they can supply
5444 prefix arguments. Add many new key bindings.
5445 (todo-prefix): Insert as an overlay instead of file text.
5446 Change semantics from diary date expression to purely visual mark.
5447 (todo-print): Rename to todo-print-buffer. Make buffer display
5448 features printable. Remove option to restrict number of items
5449 printed. Add option to print to file.
5450 (todo-print-function): Rename to todo-print-buffer-function.
5451 (todo-quit): Extend to handle exiting new todo modes.
5452 (todo-remove-item): Make sensitive to overlays.
5453 (todo-save): Extend to buffers of filtered items.
5454 (todo-show): Make sensitive to done items, multiple todo files and
5455 new todo modes. Offer to convert legacy todo file before creating
5456 first new todo file.
5457 (todo-show-priorities): Rename to todo-top-priorities.
5458 Change semantics of value 0.
5459 (todo-top-priorities): Rename to todo-filter-top-priorities,
5460 derive from todo-filter-items and extend functionality.
5461 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5462 and extend functionality to other types of filtered items.
5463 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5464 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5465 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5466 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5467 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5468 (todo-edit-mode-hook, todo-entry-prefix-function)
5469 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5470 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5471 (todo-initials, todo-insert-threshold, todo-item-string-start)
5472 (todo-line-string, todo-menu, todo-mode-hook)
5473 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5474 (todo-print-priorities, todo-remove-separator)
5475 (todo-save-top-priorities-too, todo-string-count-lines)
5476 (todo-string-multiline-p, todo-time-string-format)
5477 (todo-tmp-buffer-name): Remove.
5478 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5479 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5480 (todo-edit-category-diary-inclusion)
5481 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5482 (todo-edit-file, todo-edit-item-date-day)
5483 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5484 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5485 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5486 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5487 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5488 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5489 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5490 (todo-filter-top-priorities-multifile, todo-find-archive)
5491 (todo-find-filtered-items-file, todo-go-to-source-item)
5492 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5493 (todo-jump-to-archive-category, todo-lower-category)
5494 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5495 (todo-move-category, todo-move-item, todo-next-button)
5496 (todo-next-item, todo-padded-string, todo-powerset)
5497 (todo-previous-button, todo-previous-item)
5498 (todo-print-buffer-to-file, todo-raise-category)
5499 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5500 (todo-set-category-number, todo-set-item-priority)
5501 (todo-set-top-priorities-in-category)
5502 (todo-set-top-priorities-in-file, todo-show-categories-table)
5503 (todo-sort-categories-alphabetically-or-numerically)
5504 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5505 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5506 (todo-toggle-item-header, todo-toggle-item-highlighting)
5507 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5508 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5509 (todo-unarchive-items, todo-unmark-category): New commands.
5510 (todo-absolute-file-name, todo-add-to-buffer-list)
5511 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5512 (todo-basic-insert-item, todo-category-completions)
5513 (todo-category-number, todo-category-string-matcher-1)
5514 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5515 (todo-check-format, todo-clear-matches)
5516 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5517 (todo-current-category, todo-date-string-matcher)
5518 (todo-define-insertion-command, todo-diary-expired-matcher)
5519 (todo-diary-goto-entry, todo-diary-item-p)
5520 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5521 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5522 (todo-done-item-section-p, todo-done-separator)
5523 (todo-done-string-matcher, todo-files, todo-filter-items)
5524 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5525 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5526 (todo-insert-category-line, todo-insert-item-from-calendar)
5527 (todo-insert-sort-button, todo-insert-with-overlays)
5528 (todo-insertion-command-name, todo-insertion-key-bindings)
5529 (todo-label-to-key, todo-longest-category-name-length)
5530 (todo-make-categories-list, todo-mode-external-set)
5531 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5532 (todo-modes-set-3, todo-multiple-filter-files)
5533 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5534 (todo-read-category, todo-read-date, todo-read-dayname)
5535 (todo-read-file-name, todo-read-time)
5536 (todo-reevaluate-category-completions-files-defcustom)
5537 (todo-reevaluate-default-file-defcustom)
5538 (todo-reevaluate-filelist-defcustoms)
5539 (todo-reevaluate-filter-files-defcustom)
5540 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5541 (todo-reset-done-separator, todo-reset-done-separator-string)
5542 (todo-reset-done-string, todo-reset-global-current-todo-file)
5543 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5544 (todo-reset-prefix, todo-set-categories)
5545 (todo-set-date-from-calendar, todo-set-show-current-file)
5546 (todo-set-top-priorities, todo-short-file-name)
5547 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5548 (todo-total-item-counts, todo-update-buffer-list)
5549 (todo-update-categories-display, todo-update-categories-sexp)
5550 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5551 New functions.
5552 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5553 New major modes.
5554 (todo-categories, todo-display, todo-edit, todo-faces)
5555 (todo-filtered): New defgroups.
5556 (todo-archived-only, todo-button, todo-category-string, todo-date)
5557 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5558 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5559 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5560 (todo-add-item-if-new-category, todo-always-add-time-string)
5561 (todo-categories-align, todo-categories-archived-label)
5562 (todo-categories-category-label, todo-categories-diary-label)
5563 (todo-categories-done-label, todo-categories-number-separator)
5564 (todo-categories-todo-label, todo-categories-totals-label)
5565 (todo-category-completions-files, todo-completion-ignore-case)
5566 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5567 (todo-done-separator-string, todo-done-string)
5568 (todo-files-function, todo-filter-done-items, todo-filter-files)
5569 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5570 (todo-initial-category, todo-initial-file, todo-item-mark)
5571 (todo-legacy-date-time-regexp, todo-mode-line-function)
5572 (todo-nondiary-marker, todo-number-prefix)
5573 (todo-print-buffer-function, todo-show-current-file)
5574 (todo-show-done-only, todo-show-first, todo-show-with-done)
5575 (todo-skip-archived-categories, todo-top-priorities-overrides)
5576 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5577 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5578 New defcustoms.
5579 (todo-category-done, todo-date-pattern, todo-date-string-start)
5580 (todo-diary-items-buffer, todo-done-string-start)
5581 (todo-filtered-items-buffer, todo-item-start)
5582 (todo-month-abbrev-array, todo-month-name-array)
5583 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5584 (todo-top-priorities-buffer): New defconsts.
5585 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5586 (todo-categories-with-marks, todo-category-string-face)
5587 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5588 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5589 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5590 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5591 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5592 (todo-font-lock-keywords, todo-global-current-todo-file)
5593 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5594 (todo-insertion-commands-args)
5595 (todo-insertion-commands-args-genlist)
5596 (todo-insertion-commands-names, todo-insertion-map)
5597 (todo-key-bindings-t, todo-key-bindings-t+a)
5598 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5599 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5600 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5601 (todo-visited): New variables.
5602
cad5d1cb
GM
56032013-06-21 Glenn Morris <rgm@gnu.org>
5604
5605 * play/cookie1.el (cookie-apropos): Add optional display argument.
5606 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5607 (psychoanalyze-pinhead): Use cookie-doctor.
5608
9e277302
JB
56092013-06-21 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * emacs-lisp/package.el (tar-get-file-descriptor)
5612 (tar--extract): Declare.
5613
c5b0993e
EW
56142013-06-21 Eduard Wiebe <usenet@pusto.de>
5615
5616 Extend flymake's warning predicate to be a function (bug#14217).
5617 * progmodes/flymake.el (flymake-warning-predicate): New.
5618 (flymake-parse-line): Use it.
5619 (flymake-warning-re): Make obsolete alias to
5620 `flymake-warning-predicate'.
5621
a7d2d465
SM
56222013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5623
5624 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5625 (package-obsolete-list): Remove.
5626 (package-activate): Remove min-version argument. Add `force' argument.
5627 Adjust to new package-alist format.
5628 (package-mark-obsolete): Remove.
5629 (package-unpack): Force reload of the package's autoloads.
5630 (package-installed-p): Check builtins if the installed package is not
5631 recent enough.
5632 (package-initialize): Don't reset package-obsolete-list.
5633 Don't specify which package version to activate.
5634 (package-process-define-package, describe-package-1)
5635 (package-menu--generate): Adjust to new package-alist format.
5636
cedf5c9d
JB
56372013-06-21 Juanma Barranquero <lekktu@gmail.com>
5638
5639 * allout-widgets.el (allout-widgets-mode-off)
5640 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5641 (allout-widgets-post-command-business)
5642 (allout-widgets-after-copy-or-kill-function)
5643 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5644 (allout-decorate-item-and-context)
5645 (allout-graphics-modification-handler): Fix typos in docstrings.
5646 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5647
5648 * cmuscheme.el (scheme-start-file): Doc fix.
5649 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5650 (scheme-input-filter): Use `string-match-p'.
5651
5652 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5653
5654 * dired-x.el: Use Dired consistently in docstrings.
5655
5656 * dired.el: Use Dired consistently in docstrings.
5657 (dired-readin, dired-mode): Use `setq-local'.
5658 (dired-switches-alist): Make defvar-local.
5659 (dired-buffers-for-dir): Use `zerop'.
5660 (dired-safe-switches-p, dired-switches-escape-p)
5661 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5662 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5663 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5664 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5665 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5666 (dired-toggle-marks, dired-mark-files-containing-regexp)
5667 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5668 (dired-flag-auto-save-files, dired-flag-backup-files):
5669 Use `looking-at-p'.
5670 (dired-mark-files-regexp, dired-build-subdir-alist):
5671 Use `string-match-p', `looking-at-p'.
5672
5673 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5674 (direct-print-region-helper): Use `string-match-p'.
5675
aed838b5
LL
56762013-06-21 Leo Liu <sdl.web@gmail.com>
5677
cedf5c9d
JB
5678 * comint.el (comint-redirect-results-list-from-process):
5679 Fix infinite loop.
aed838b5 5680
d80a808f
LMI
56812013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5682
5683 * net/eww.el (eww-update-header-line-format): Quote % characters.
5684
e7a526e3
GM
56852013-06-21 Glenn Morris <rgm@gnu.org>
5686
5687 * play/cookie1.el (cookie): New custom group.
5688 (cookie-file): New option.
5689 (cookie-check-file): New function.
5690 (cookie): Make it interactive. Make start and end messages optional.
5691 Interactively, display the result. Default to cookie-file.
5692 (cookie-insert): Default to cookie-file.
5693 (cookie-snarf): Make start and end messages optional.
5694 Default to cookie-file. Use with-temp-buffer.
5695 (cookie-read): Rename from read-cookie.
5696 Make start and end messages optional. Default to cookie-file.
5697 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5698 Do not autoload it.
e7a526e3
GM
5699 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5700 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5701
62efb35e
LL
57022013-06-21 Leo Liu <sdl.web@gmail.com>
5703
5704 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5705
21e3f963
GM
57062013-06-21 Glenn Morris <rgm@gnu.org>
5707
5708 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5709
fd846ab4
SM
57102013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5711 Daniel Hackney <dan@haxney.org>
5712
5713 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5714 Consolidate the single-file vs tarball code.
5715 (package-desc-suffix): New function.
5716 (package-desc-full-name): Don't bother inlining it.
5717 (package-load-descriptor): Return the new package-desc.
5718 (package-mark-obsolete): Remove unused arg `package'.
5719 (package-unpack): Make it work for single files as well.
5720 Make it update package-alist.
5721 (package--make-autoloads-and-stuff): Rename from
5722 package--make-autoloads-and-compile. Don't compile any more.
5723 (package--compile): New function.
5724 (package-generate-description-file): New function, extracted from
5725 package-unpack-single.
5726 (package-unpack-single): Remove.
5727 (package--with-work-buffer): Add indentation and debugging info.
5728 (package-download-single): Remove.
5729 (package-install-from-archive): Rename from package-download-tar, make
5730 it take a pkg-desc, and make it work for single files as well.
5731 (package-download-transaction): Simplify.
5732 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5733 external tar program.
5734 (package-install-from-buffer): Remove `pkg-desc' argument.
5735 Use package-tar-file-info for tar-mode buffers.
5736 (package-install-file): Simplify accordingly.
5737 (package-archive-base): Change to take a pkg-desc.
5738 * tar-mode.el (tar--check-descriptor): New function, extracted from
5739 tar-get-descriptor.
5740 (tar-get-descriptor): Use it.
5741 (tar-get-file-descriptor): New function.
5742 (tar--extract): New function, extracted from tar-extract.
5743 (tar--extract): Use it.
5744 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5745 case the summary uses non-ascii. Adjust to new calling convention of
5746 package-tar-file-info.
5747
b7deae5e
LL
57482013-06-21 Leo Liu <sdl.web@gmail.com>
5749
fd846ab4
SM
5750 * comint.el (comint-redirect-results-list-from-process):
5751 Fix random delay. (Bug#14681)
b7deae5e 5752
7a65a0b2
JB
57532013-06-21 Juanma Barranquero <lekktu@gmail.com>
5754
5755 * profiler.el (profiler-format-number): Use log, not log10.
5756
1493c2af
JB
57572013-06-20 Juanma Barranquero <lekktu@gmail.com>
5758
5759 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5760
aff6371e
SM
57612013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5764 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5765 yet available.
5766 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5767 (AUTOGENEL): ... here.
5768 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5769 (cl--defsubst-expand): Use it.
5770
89561f72
PE
57712013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5772
5773 * subr.el (log10): Move here from C code, and declare as obsolete.
5774 All uses of (log10 X) replaced with (log X 10).
5775
47199123
JB
57762013-06-20 Juanma Barranquero <lekktu@gmail.com>
5777
5778 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5779 Declare with `defvar-local'.
5780 (tabulated-list-use-header-line, tabulated-list-entries)
5781 (tabulated-list-padding, tabulated-list-printer)
5782 (tabulated-list-sort-key): Declare with `defvar-local'.
5783 (tabulated-list-init-header, tabulated-list-print-fake-header):
5784 Use `setq-local'.
5785
4a172eab
MA
57862013-06-20 Michael Albinus <michael.albinus@gmx.de>
5787
47199123
JB
5788 * arc-mode.el (archive-mode): Add `archive-write-file' to
5789 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5790
5fc0acc0
JB
57912013-06-20 Juanma Barranquero <lekktu@gmail.com>
5792
d5b27848
JB
5793 * cus-edit.el (custom-commands): Fix typos.
5794 (custom-display): Fix tooltip text.
5795 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5796 Fix typos in docstrings.
5797 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5798 (custom-unlispify-menu-entry, custom-magic-value-create)
5799 (custom-add-see-also, custom-group-value-create): Use ?\s.
5800 (custom-guess-type, customize-apropos, editable-field)
5801 (custom-face-value-create): Use `string-match-p'.
5802 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5803
5804 * custom.el (custom-load-symbol): Use `string-match-p'.
5805
a5c581d8
JB
5806 * ansi-color.el: Convert to lexical binding.
5807 (ansi-colors): Fix URL.
5808 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5809 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5810 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5811
970ad972
G
58122013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5813
5814 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5815
5816 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5817
58182013-06-19 Tom Tromey <tromey@redhat.com>
5819
5820 * net/eww.el (eww-top-url): Remove.
5821 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5822 (eww-render): Set new variables. Don't set eww-top-url.
5823 (eww-handle-link): Handle "prev", "home", and "contents".
5824 Downcase the rel text.
5825 (eww-top-url): Choose best top URL.
5826
58272013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5828
5829 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5830 relying in widget.el. Using widget.el leads to too many
5831 user interface inconsistencies.
5832 (eww-self-insert): Implement entering commands in text fields.
5833 (eww-process-text-input): New function to make text input field editing
5834 work.
5835 (eww-submit): Rewrite to use the new-style form methods.
5836 (eww-select-display): Display the correct selected item.
5837 (eww-change-select): Implement changing the select value.
5838 (eww-toggle-checkbox): Implement radio/checkboxes.
5839 (eww-update-field): Fix compilation error.
5840 (eww-tag-textarea): Implement <textarea>.
5841
5842 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5843 we don't shadow mode-specific bindings.
5844
5845 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5846 nothing to push.
5847
5848 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5849
4582a01c 58502013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5851
5852 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5853
15b263dc
MA
58542013-06-19 Michael Albinus <michael.albinus@gmx.de>
5855
5856 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5857 not needed.
5858
5859 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5860
8f5297f7
LMI
58612013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5862
5863 * net/browse-url.el (browse-url-browser-function):
5864 `eww-browse-url' has the right calling signature, `eww' does not.
5865
011c4552
GM
58662013-06-19 Glenn Morris <rgm@gnu.org>
5867
2285bd27
GM
5868 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5869 Only eval autoloaded macros.
5870 (byte-compile-autoload): Only give the macro warning for macros.
5871
1d653303
GM
5872 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5873 (ps-underlined-faces): Declare.
5874
bdd779ec
GM
5875 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5876 (speedbar-add-supported-extension): Declare.
5877
011c4552
GM
5878 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5879 Don't include a date stamp in the header of the generated file;
5880 it leads to needless differences between output files.
5881
e59dfb0e
MA
58822013-06-19 Michael Albinus <michael.albinus@gmx.de>
5883
c763842b
SM
5884 * net/secrets.el (secrets-struct-secret-content-type):
5885 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5886 Some servers do not offer introspection.
e59dfb0e 5887
102626e2
SM
58882013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5889
5890 * electric.el (electric-pair-mode): Improve interaction with
5891 electric-layout-mode.
5892 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5893 (electric-pair-syntax): Use text-mode-syntax-table in comments
5894 and strings.
5895 (electric-pair--insert): New function.
5896 (electric-pair-post-self-insert-function): Use it and
5897 electric--after-char-pos.
5898
ad528125
LL
58992013-06-19 Leo Liu <sdl.web@gmail.com>
5900
5901 * progmodes/octave.el (octave-help): Fix regexp.
5902
924d6997
G
59032013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5904
5905 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5906 (shr-table-horizontal-line): Allow nil as a value, and change the
5907 default.
5908 (shr-insert-table-ruler): Respect the nil value.
5909
59102013-06-18 Tom Tromey <tromey@barimba>
5911
5912 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5913 New defvars.
5914 (eww-open-file): New defun.
5915 (eww-render): Initialize new variables.
5916 (eww-display-html): Handle "link" and "a".
5917 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5918 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5919 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5920 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5921 New defuns.
924d6997 5922
d1bbba4f
DG
59232013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5924
5925 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5926 Distinguish ternary operator tokens from slash symbol and slash
5927 char literal.
5928
14dd22d2
JB
59292013-06-18 Juanma Barranquero <lekktu@gmail.com>
5930
5931 Convert symbol prettification into minor mode and global minor mode.
5932
5933 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5934 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5935 (prettify-symbols--keywords): Rename from
5936 `prog-prettify-symbols-alist' and make a local defvar.
5937 (prettify-symbols--compose-symbol): Rename from
5938 `prog--prettify-font-lock-compose-symbol'.
5939 (prettify-symbols--make-keywords): Rename from
5940 `prog-prettify-font-lock-symbols-keywords' and simplify.
5941 (prog-prettify-install): Remove.
5942 (prettify-symbols-mode): New minor mode, based on
5943 `prog-prettify-install'.
5944 (turn-on-prettify-symbols-mode): New function.
5945 (global-prettify-symbols-mode): New globalized minor mode.
5946
5947 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5948 * progmodes/cfengine.el (cfengine3-mode):
5949 * progmodes/perl-mode.el (perl-mode): Don't call
5950 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5951
292c880c
JL
59522013-06-18 Juri Linkov <juri@jurta.org>
5953
5954 * files-x.el (modify-file-local-variable-message): New function.
5955 (modify-file-local-variable)
5956 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5957 and call `modify-file-local-variable-message' when it's non-nil.
5958 (add-file-local-variable, delete-file-local-variable)
5959 (add-file-local-variable-prop-line)
5960 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5961 and use it. (Bug#9820)
5962
0950aa27
JL
59632013-06-18 Juri Linkov <juri@jurta.org>
5964
5965 * emulation/vi.el (vi-shell-op):
5966 * emulation/vip.el (vip-execute-com, ex-command):
5967 * emulation/viper-cmd.el (viper-exec-bang):
5968 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5969 the call of `shell-command-on-region'. (Bug#14637)
5970
5971 * simple.el (shell-command-on-region): Doc fix.
5972
8fbcca16
SM
59732013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5974
5975 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5976 (bug#14633).
5977
dd7426ea
GM
59782013-06-18 Glenn Morris <rgm@gnu.org>
5979
4ba54f7d
GM
5980 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5981
dd7426ea
GM
5982 * newcomment.el (comment-search-forward, comment-search-backward):
5983 Doc fix. (Bug#14376)
5984
58aa805b
JB
59852013-06-18 Juanma Barranquero <lekktu@gmail.com>
5986
5987 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5988 (buffer-face-mode-invoke): Doc fix.
5989
9a08a617
MM
59902013-06-18 Matthias Meulien <orontee@gmail.com>
5991
5992 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5993 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5994
f2f426ca
GM
59952013-06-18 Glenn Morris <rgm@gnu.org>
5996
9445f99b
GM
5997 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5998 Replace obsolete function generic-make-keywords with its expansion.
5999
e0df2d14
GM
6000 * progmodes/python.el (ffap-alist): Declare.
6001
f2f426ca
GM
6002 * textmodes/reftex.el (bibtex-mode-map): Declare.
6003
f7f9a720
SM
60042013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6007 (package-unpack, package-unpack-single): Return the pkg-dir.
6008 (package-download-transaction): Use it to update package-alist.
6009
57ff04e0
LMI
60102013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6011
6012 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6013 possible choice.
6014
c048c022
JL
60152013-06-17 Juri Linkov <juri@jurta.org>
6016
6017 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6018
b5bcaee5
DG
60192013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6020
a020afb9
JB
6021 * emacs-lisp/package.el (package-load-descriptor):
6022 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6023 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6024
551e07e5
JB
60252013-06-17 Juanma Barranquero <lekktu@gmail.com>
6026
6027 * startup.el (command-line): Expand package name returned by
6028 `package--description-file' (bug#14639).
6029
d363bffb
DG
60302013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6031
6032 * emacs-lisp/package.el (package-load-descriptor): Do not call
6033 `emacs-lisp-mode', just use its syntax table.
6034
f612933b
JB
60352013-06-17 Juanma Barranquero <lekktu@gmail.com>
6036
6037 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6038 `font-lock-extra-managed-props' if any prettifying keyword is added.
6039 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6040 (prog-mode): Use `setq-local'.
6041
db3b7db5
SM
60422013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * international/characters.el (standard-case-table): Set syntax of ?»
6045 and ?« to punctuation.
6046
f3d674df
JB
60472013-06-16 Juanma Barranquero <lekktu@gmail.com>
6048
6049 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6050 Save relevant match data before calling `syntax-ppss' (bug#14595).
6051
31489a32
JL
60522013-06-15 Juri Linkov <juri@jurta.org>
6053
6054 * files-x.el (modify-file-local-variable-prop-line): Add local
6055 variables to the end of the existing comment on the first line.
6056 Use `file-auto-mode-skip' to skip interpreter magic line,
6057 and also skip XML declaration.
6058
66bd25ab
SM
60592013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * startup.el (package--builtin-versions): New var.
6062 (package-subdirectory-regexp): Remove.
6063 (package--description-file): Hard code its value instead.
6064
6065 * emacs-lisp/package.el: Don't activate packages older than builtin.
6066 (package-obsolete-list): Rename from package-obsolete-alist, and make
6067 it into a simple list of package-desc.
6068 (package-strip-version): Remove.
6069 (package-built-in-p): Use package--builtin-versions.
6070 (package-mark-obsolete): Simplify.
6071 (package-process-define-package): Mark it obsolete if older than the
6072 builtin version.
6073 (package-handle-response): Use line-end-position.
6074 (package-read-archive-contents, package--download-one-archive):
6075 Simplify.
6076 (package--add-to-archive-contents): Skip if older than the builtin or
6077 installed version.
6078 (package-menu-describe-package): Fix last change.
6079 (package-list-unversioned): New var.
6080 (package-menu--generate): Use it.
6081
6082 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6083 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6084 (autoload-builtin-package-versions): New variable.
6085 (autoload-generate-file-autoloads): Use them.
6086 Remove the list of autoloaded functions/macros from the
6087 (autoload...) comments.
6088
6089 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6090
9583ec36
EZ
60912013-06-15 Eli Zaretskii <eliz@gnu.org>
6092
6093 * simple.el (line-move-partial): Don't jump to the next screen
6094 line as soon as it becomes visible. Instead, continue enlarging
6095 the vscroll until the portion of a tall screen line that's left on
6096 display is about the height of the frame's default font.
6097 (Bug#14567)
6098
f0100d8a
GM
60992013-06-15 Glenn Morris <rgm@gnu.org>
6100
b86a85ca
GM
6101 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6102 compilation-error-regexp-alist void, or local while let-bound.
6103
f0100d8a
GM
6104 * progmodes/make-mode.el (makefile-mode-syntax-table):
6105 Treat "=" as punctuation. (Bug#14614)
6106
05e7ce90
JB
61072013-06-15 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * help-fns.el (describe-variable):
6110 Add extra line for permanent-local variables.
6111
12e5e86e
SH
61122013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6113
6114 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6115 Add export, import, library. (Bug#9164)
6116 (library): Set indent function.
6117
230dcbaf
GM
61182013-06-14 Glenn Morris <rgm@gnu.org>
6119
6120 * term/xterm.el (xterm--query):
6121 Stop after first matching handler. (Bug#14615)
6122
e36b2d20 61232013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6124
6125 Add support for dired in saveplace.
6126 * dired.el (dired-initial-position-hook): New variable.
6127 (dired-initial-position): Call hook to place cursor position.
6128 * saveplace.el (save-place-to-alist): Add dired position.
6129 (save-place-dired-hook): New function.
6130
0b31660d
SM
61312013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6132
bf1e6ae8
SM
6133 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6134 through a symbol rather than letrec.
6135
1b8dff23
SM
6136 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6137 (package-desc): Add `dir' field.
6138 (package-desc-full-name): New function.
6139 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6140 (package-maybe-load-descriptor): Remove.
6141 (package-load-all-descriptors): Just call package-load-descriptor.
6142 (package--disabled-p): New function.
6143 (package-desc-vers, package-desc-doc): Remove aliases.
6144 (package--dir): Remove function.
6145 (package-activate): Check if a package is disabled.
6146 (package-process-define-package): New function, extracted from
6147 define-package.
6148 (define-package): Turn into a place holder.
6149 (package-unpack-single, package-tar-file-info):
6150 Use package--description-file.
6151 (package-compute-transaction): Use package--disabled-p.
6152 (package-download-transaction): Don't call
6153 package-maybe-load-descriptor since they're all loaded anyway.
6154 (package-install): Change argument to be a pkg-desc.
6155 (package-delete): Use a single pkg-desc argument.
6156 (describe-package-1): Use package-desc-dir instead of package--dir.
6157 Use package-desc property instead of package-symbol.
6158 (package-install-button-action): Adjust accordingly.
6159 (package--push): Rewrite.
6160 (package-menu--print-info): Adjust accordingly. Change the ID format
6161 to be a pkg-desc.
6162 (package-menu-describe-package, package-menu-get-status)
6163 (package-menu--find-upgrades, package-menu-mark-upgrades)
6164 (package-menu-execute, package-menu--name-predicate):
6165 Adjust accordingly.
6166 * startup.el (package--description-file): New function.
6167 (command-line): Use it.
6168 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6169 Use package-desc-version.
6170
0b31660d
SM
6171 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6172 (byte-compile-preprocess): Use it.
6173 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6174 can't quite recognize.
6175 (byte-compile-add-to-list): Remove.
6176 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6177 (cconv-closure-convert): Add assertion.
6178
6179 * emacs-lisp/map-ynp.el: Use lexical-binding.
6180 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6181 Factor out some repeated code.
6182
de0503df
SM
61832013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * subr.el (with-eval-after-load): New macro.
6186 (eval-after-load): Allow form to be a function.
6187 take advantage of lexical-binding.
6188 (do-after-load-evaluation): Use dolist and adjust to new format.
6189 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6190
bc5c8c5a
JL
61912013-06-13 Juri Linkov <juri@jurta.org>
6192
6193 * replace.el (perform-replace): Display "symbol " and other search
6194 modes from `isearch-message-prefix' in the *Help* buffer.
6195
6196 * isearch.el (isearch-query-replace): Add " symbol" and other
6197 possible search modes from `isearch-message-prefix' to the prompt.
6198 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6199 when reading a regexp to collect.
6200
a22289f7
JL
62012013-06-13 Juri Linkov <juri@jurta.org>
6202
6203 * isearch.el (word-search-regexp): Match whitespace if the search
6204 string begins or ends in whitespace. The LAX arg is applied to
6205 both ends of the search string. Use `regexp-quote' and explicit
6206 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6207 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6208 boundaries are replaced with symbol boundaries, and characters
6209 between symbols match non-word non-symbol syntax. (Bug#14602)
6210
cb89acab
JL
62112013-06-13 Juri Linkov <juri@jurta.org>
6212
6213 * isearch.el (isearch-del-char): Don't exceed the length of
6214 `isearch-string' by the prefix arg. (Bug#14563)
6215
6e8cfc81
JL
62162013-06-13 Juri Linkov <juri@jurta.org>
6217
6218 * isearch.el (isearch-yank-word, isearch-yank-line)
6219 (isearch-char-by-name, isearch-quote-char)
6220 (isearch-printing-char, isearch-process-search-char):
6221 Add optional count prefix arg. (Bug#14563)
6222
6223 * international/isearch-x.el
6224 (isearch-process-search-multibyte-characters):
6225 Add optional count prefix arg.
6226
c23d55f4
VS
62272013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6230 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6231 lexical-binding.
6232
62332013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6234
6235 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6236
ba947bc4
GM
62372013-06-13 Glenn Morris <rgm@gnu.org>
6238
8baeb37a
GM
6239 * startup.el (tty-handle-args):
6240 Don't just discard "--" and anything after. (Bug#14608)
6241
ba947bc4
GM
6242 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6243
9abefce4
MA
62442013-06-13 Michael Albinus <michael.albinus@gmx.de>
6245
6246 Implement changes in Secret Service API. Make it backward compatible.
6247 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6248 (secrets-create-item): Use it. Prefix properties with interface.
6249
5755011f
MH
62502013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6251
6252 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6253 (term-emulate-terminal): Respect term-suppress-hard-newline.
6254
1261d2da
S
62552013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6256
6257 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6258 Only remove a `thumb-file' overlay. (Bug#14548)
6259
868490bb
GJ
62602013-06-12 Grégoire Jadi <daimrod@gmail.com>
6261
6262 * mail/reporter.el (reporter-submit-bug-report):
6263 Handle missing package-name. (Bug#14600)
6264
79d7167f
TH
62652013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6266
6267 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6268 (reftex-citation-prompt, reftex-default-bibliography)
6269 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6270 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6271 (reftex-bib-sort-author, reftex-bib-sort-year)
6272 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6273 (reftex-extract-bib-entries-from-thebibliography)
6274 (reftex-get-bibkey-default, reftex-get-bib-names)
6275 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6276 (reftex-format-bib-entry, reftex-parse-bibitem)
6277 (reftex-format-bibitem, reftex-do-citation)
6278 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6279 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6280 (reftex-insert-bib-matches, reftex-format-citation)
6281 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6282 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6283 existing comments into docstrings.
6284
5f9dbd7a
XF
62852013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6286
6287 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6288
94df41ab
AS
62892013-06-12 Andreas Schwab <schwab@suse.de>
6290
6291 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6292 for auto-save files.
6293
a7f3fecc
GM
62942013-06-12 Glenn Morris <rgm@gnu.org>
6295
001809f6
GM
6296 * ido.el (ido-delete-ignored-files): Remove.
6297 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6298 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6299
834b5ded
EL
63002013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6301
08c73ed2
EL
6302 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6303
834b5ded
EL
6304 * ido.el (ido-delete-ignored-files): New function,
6305 split from ido-make-file-list-1.
6306 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6307 (ido-make-file-list-1): Use ido-delete-ignored-files.
6308
daabf15a
LL
63092013-06-12 Leo Liu <sdl.web@gmail.com>
6310
6311 * progmodes/octave.el (inferior-octave-startup)
6312 (inferior-octave-completion-table)
6313 (inferior-octave-track-window-width-change)
6314 (octave-eldoc-function-signatures, octave-help)
6315 (octave-find-definition): Use single quoted strings.
6316 (inferior-octave-startup-args): Change default value.
6317 (inferior-octave-startup): Do not hard code "-i" and
6318 "--no-line-editing".
6319 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6320 (inferior-octave-directory-tracker): Use it.
6321 (octave-goto-function-definition): Robustify.
6322 (octave-help): Support highlighting operators in 'See also'.
6323 (octave-find-definition): Find subfunctions only in Octave mode.
6324
cf4e5178
SM
63252013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6326
6327 * help-fns.el (help-fns--compiler-macro): If the handler function is
6328 named, then put a link to it.
6329 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6330 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6331 (cl-typep): Use it.
6332 (cl-eval-when): Simplify debug spec.
6333 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6334 compiler-macro function instead of setting `compiler-macro-file'.
6335
99c81280 63362013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6337
6338 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6339 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6340
f56be016
SM
63412013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6342 Daniel Hackney <dan@haxney.org>
6343
6344 First part of Daniel Hackney's patch to package.el.
6345 * emacs-lisp/package.el: Use defstruct.
6346 (package-desc): New, main struct.
6347 (package--bi-desc, package--ac-desc): New structs, used to describe the
6348 format in external files.
6349 (package-desc-vers): Replace with package-desc-version accessor.
6350 (package-desc-doc): Replace with package-desc-summary accessor.
6351 (package-activate-1): Remove `package' arg since the pkg-vec now
6352 includes the name.
6353 (define-package): Use package-desc-from-define.
6354 (package-unpack-single): Change file-name arg to be a symbol.
6355 (package--add-to-archive-contents): Use package-desc-create and new
6356 accessor functions to package--ac-desc.
6357 (package-buffer-info, package-tar-file-info): Return a package-desc.
6358 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6359 arg to be a package-desc.
6360 (package-install-file): Adjust accordingly. Use \' to match EOS.
6361 (package--from-builtin): New function.
6362 (describe-package-1, package-menu--generate): Use it.
6363 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6364 (package-generate-autoloads): Idem and return the name of the file.
6365 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6366 Change pkg-info arg to be a package-desc.
6367 Use package-make-ac-desc.
6368 (package-upload-file): Use \' to match EOS.
6369 * finder.el (finder-compile-keywords): Use package-make-builtin.
6370
31119d63
SM
63712013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6372
931a2762
SM
6373 * vc/vc.el (vc-deduce-fileset): Change error message.
6374 (vc-read-backend): New function.
6375 (vc-next-action): Use it.
6376
5a3eb0c6
SM
6377 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6378
e3eb1bb7
SM
6379 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6380 (prolog-font-lock-keywords): Use regexp-opt instead.
6381 Don't manually highlight strings.
6382 (prolog-mode-variables): Simplify comment-start-skip.
6383 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6384
31119d63
SM
6385 * emacs-lisp/generic.el (generic--normalise-comments)
6386 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6387 (generic-mode-set-comments): Use them.
6388 (generic-bracket-support): Use setq-local.
6389 (generic-make-keywords-list): Declare obsolete.
6390
7de135d0
GM
63912013-06-11 Glenn Morris <rgm@gnu.org>
6392
6393 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6394 Prettify after setting font-lock-defaults. (Bug#14574)
6395
fa6bc6fd
JB
63962013-06-11 Juanma Barranquero <lekktu@gmail.com>
6397
6398 * replace.el (query-replace, occur-read-regexp-defaults-function)
6399 (replace-search):
6400 * subr.el (declare-function, number-sequence, local-set-key)
6401 (substitute-key-definition, locate-user-emacs-file)
6402 (with-silent-modifications, split-string, eval-after-load):
6403 Fix typos, remove unneeded backslashes and reflow some docstrings.
6404
cf1f9b9a
SM
64052013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6406
6407 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6408 default for Elisp files.
6409
56602a4b
GM
64102013-06-11 Glenn Morris <rgm@gnu.org>
6411
6412 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6413 although define-derived-mode was doing this anyway. (Bug#14583)
6414
30ae0b2c
JB
64152013-06-10 Juanma Barranquero <lekktu@gmail.com>
6416
6417 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6418 Fix make-variable-buffer-local call to refer to the correct variable.
6419
fa472906
AG
64202013-06-10 Aidan Gauland <aidalgol@amuri.net>
6421
6422 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6423 (eshell-visual-subcommands, eshell-visual-options):
6424 Add summary line to docstrings. Add cross-references.
fa472906 6425
ff4871b9
GM
64262013-06-10 Glenn Morris <rgm@gnu.org>
6427
6428 * epa.el (epa-read-file-name): New function. (Bug#14510)
6429 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6430
04fcf1b0
AG
64312013-06-09 Aidan Gauland <aidalgol@amuri.net>
6432
6433 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6434 output redirection to be ignored with visual commands.
6435
88b00caa
AG
64362013-06-09 Aidan Gauland <aidalgol@amuri.net>
6437
6438 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6439 (eshell-term-initialize): Move long lambda to separate function
6440 eshell-visual-command-p.
e7b41c4c
JB
6441 * eshell/em-dirs.el (eshell-dirs-initialise):
6442 * eshell/em-script.el (eshell-script-initialize):
6443 Add missing #' to lambda.
88b00caa 6444
fda74125
LL
64452013-06-08 Leo Liu <sdl.web@gmail.com>
6446
6447 * progmodes/octave.el (octave-add-log-current-defun): New function.
6448 (octave-mode): Set add-log-current-defun-function.
6449 (octave-goto-function-definition): Do not move point if not found.
6450 (octave-find-definition): Enhance to try subfunctions first.
6451
467f3b33
GM
64522013-06-08 Glenn Morris <rgm@gnu.org>
6453
6454 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6455 (byte-compile-backward-char, byte-compile-backward-word):
6456 Improve previous change, to handle non-explicit nil.
6457
544badc3
SM
64582013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6460 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6461 (smie--opener/closer-at-point): New function.
6462 (smie--matching-block-data): Use it. Don't match from right after an
6463 opener or right before a closer. Obey smie-blink-matching-inners.
6464 Don't signal a mismatch for repeated inners like "switch..case..case".
6465
a175bf33
LL
64662013-06-07 Leo Liu <sdl.web@gmail.com>
6467
6468 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6469 to t. (Bug#14303)
ce8209d4
LL
6470 (octave-function-header-regexp): Fix. (Bug#14570)
6471 (octave-help-mode-finish-hook, octave-help-mode-finish):
6472 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6473
6474 * newcomment.el (comment-search-backward): Revert last change.
6475 (Bug#14434)
6476
6477 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6478
a822acff
EZ
64792013-06-07 Eli Zaretskii <eliz@gnu.org>
6480
6481 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6482 through xargs, to avoid failure due to MS-Windows limitations on
6483 command-line length.
6484
961166f5
GM
64852013-06-06 Glenn Morris <rgm@gnu.org>
6486
d0341459
GM
6487 * font-lock.el (lisp-font-lock-keywords-2):
6488 Treat user-error like error.
6489
961166f5
GM
6490 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6491 (byte-compile-backward-char, byte-compile-backward-word):
6492 Handle explicit nil arguments. (Bug#14565)
6493
80fa505f
AM
64942013-06-05 Alan Mackenzie <acm@muc.de>
6495
6496 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6497 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6498 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6499 (Bug#9706)
80fa505f 6500
fccdc796
SM
65012013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * autorevert.el (auto-revert-notify-handler): Use memq.
6504 Hide assertion failure.
6505
6506 * skeleton.el: Use cl-lib.
6507 (skeleton-further-elements): Use defvar-local.
6508 (skeleton-insert): Use cl-progv.
6509
9bfff84b
TZ
65102013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6511
6512 * progmodes/prog-mode.el (prog-prettify-symbols)
6513 (prog-prettify-install): Update docstrings.
6514
55577e7c
SM
65152013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * simple.el: Move all the prog-mode code to prog-mode.el.
6518 * progmodes/prog-mode.el: New file.
6519 * loadup.el: Add prog-mode.el.
6520
8fc57765
TZ
65212013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6522
6523 * simple.el (prog-prettify-symbols): Add version.
6524 (prog-prettify-install): Add convenience function to prettify symbols.
6525
6526 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6527 (perl--augmented-font-lock-keywords-1)
6528 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6529 variables and use it.
6530
6531 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6532 (cfengine3-mode): Remove unneeded variable and use it.
6533
6534 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6535 (lisp--augmented-font-lock-keywords-1)
6536 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6537 Remove unneeded variables and use it.
6538
650645d5 65392013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6540
6541 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6542 to point when opening the connection. (Bug#14380)
28f5da6d 6543
781b4af6
SM
65442013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * subr.el (load-history-regexp, load-history-filename-element)
6547 (eval-after-load, after-load-functions, do-after-load-evaluation)
6548 (eval-next-after-load, display-delayed-warnings)
6549 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6550 definition of save-match-data.
6551 (overriding-local-map): Remove accidental obsolescence declaration.
6552
6553 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6554
3ca0d0b4
TZ
65552013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6556
6557 Generalize symbol prettify support to prog-mode and implement it
6558 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6559 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6560 (prog--prettify-font-lock-compose-symbol)
6561 (prog-prettify-font-lock-symbols-keywords): New variables and
6562 functions to support symbol prettification.
6563 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6564 (lisp--augmented-font-lock-keywords-1)
6565 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6566 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6567 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6568 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6569 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6570 * progmodes/perl-mode.el (perl-prettify-symbols)
6571 (perl--font-lock-compose-symbol)
6572 (perl--font-lock-symbols-keywords): Move to prog-mode.
6573 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6574 (perl-font-lock-keywords-1)
6575 (perl-font-lock-keywords-2): Remove explicit prettify support.
6576 (perl--augmented-font-lock-keywords)
6577 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6578 (perl--augmented-font-lock-keywords-2, perl-mode):
6579 Implement prettify support.
3ca0d0b4 6580
976cb066
LL
65812013-06-05 Leo Liu <sdl.web@gmail.com>
6582
6583 Re-implement smie matching block highlight using
6584 show-paren-data-function. (Bug#14395)
6585 * emacs-lisp/smie.el (smie-matching-block-highlight)
6586 (smie--highlight-matching-block-overlay)
6587 (smie--highlight-matching-block-lastpos)
6588 (smie-highlight-matching-block)
6589 (smie-highlight-matching-block-mode): Remove.
6590 (smie--matching-block-data-cache): New variable.
6591 (smie--matching-block-data): New function.
6592 (smie-setup): Use smie--matching-block-data for
6593 show-paren-data-function.
6594
6595 * progmodes/octave.el (octave-mode-menu): Fix.
6596 (octave-find-definition): Skip garbage lines.
6597
208d0342
SM
65982013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 Fix compilation error with simultaneous dynamic+lexical scoping.
6601 Add warning when a defvar appears after the first let-binding.
6602 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6603 (byte-compile-close-variables): Initialize it.
6604 (byte-compile--declare-var): New function.
6605 (byte-compile-file-form-defvar)
6606 (byte-compile-file-form-define-abbrev-table)
6607 (byte-compile-file-form-custom-declare-variable): Use it.
6608 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6609 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6610 (byte-compile-bind): Handle dynamic bindings that shadow
6611 lexical bindings.
6612 (byte-compile-unbind): Make arg non-optional.
6613 (byte-compile-let): Simplify.
6614 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6615 (cconv--analyse-function, cconv-analyse-form): Populate it.
6616 Protect byte-compile-bound-variables to limit the scope of defvars.
6617 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6618 Remove unneeded rule for `declare'.
6619
6620 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6621 so as to avoid depending on cl-adjoin at run-time.
6622 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6623
6624 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6625 (macroexp--warn-and-return): Use it.
6626
2587b005
LL
66272013-06-05 Leo Liu <sdl.web@gmail.com>
6628
6629 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6630
f1da3c88
LL
66312013-06-04 Leo Liu <sdl.web@gmail.com>
6632
6633 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6634 (compilation-auto-jump): Suppress the "Mark set" message to give
6635 way to exit message.
6636
3caa391f
AM
66372013-06-04 Alan Mackenzie <acm@muc.de>
6638
6639 Remove faulty optimisation from indentation calculation.
6640 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6641 search limit based on 2000 characters back from indent-point.
6642
068922a2
TH
66432013-06-03 Tassilo Horn <tsdh@gnu.org>
6644
6645 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6646
1f8fdd53
SM
66472013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6648
bbcc4d97
SM
6649 * emacs-lisp/lisp.el: Use lexical-binding.
6650 (lisp--local-variables-1, lisp--local-variables): New functions.
6651 (lisp--local-variables-completion-table): New var.
208d0342 6652 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6653
1f8fdd53
SM
6654 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6655 eagerly (bug#14422).
6656
c9628c79
MA
66572013-06-03 Michael Albinus <michael.albinus@gmx.de>
6658
6659 * autorevert.el (auto-revert-notify-enabled)
6660 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6661 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6662 (auto-revert-notify-handler): Handle also gfilenotify.
6663
e7b41c4c 6664 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6665 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6666 Remove.
c9628c79 6667
e5e4a942
JL
66682013-06-03 Juri Linkov <juri@jurta.org>
6669
6670 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6671 `M-s h .'. (Bug#14427)
6672
6673 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6674 command `hi-lock-face-symbol-at-point'.
6675 (hi-lock-face-symbol-at-point): New command.
6676 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6677 (hi-lock-menu): Add `highlight-symbol-at-point'.
6678 (hi-lock-mode): Doc fix.
6679
6680 * isearch.el (isearch-forward-symbol-at-point): New command.
6681 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6682 (isearch-highlight-regexp): Add a regexp which matches
6683 words/symbols for word/symbol mode.
6684
6685 * subr.el (find-tag-default-bounds): New function with the body
6686 mostly moved from `find-tag-default'.
6687 (find-tag-default): Move most code to `find-tag-default-bounds',
6688 call it and apply `buffer-substring-no-properties' afterwards.
6689
26b3353a
TH
66902013-06-03 Tassilo Horn <tsdh@gnu.org>
6691
781b4af6
SM
6692 * eshell/em-term.el (eshell-term-initialize):
6693 Use `cl-intersection' rather than `intersection'.
26b3353a 6694
51b60f53
XF
66952013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6696
fe054b63 6697 * vc/log-view.el: Doc fix.
d3ffe17c 6698 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6699
a0eb10b3 67002013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6701
6702 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6703 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6704 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6705 (eieio-unbound, eieio-default-superclass)
6706 (eieio--define-field-accessors, method-static, method-before)
6707 (method-primary, method-after, method-num-lists)
6708 (method-generic-before, method-generic-primary)
6709 (method-generic-after, method-num-slots)
6710 (eieio-specialized-key-to-generic-key)
6711 (eieio--check-type, class-v, class-p)
6712 (eieio-class-name, define-obsolete-function-alias)
6713 (eieio-class-parents-fast, eieio-class-children-fast)
6714 (same-class-fast-p, class-constructor, generic-p)
6715 (generic-primary-only-p, generic-primary-only-one-p)
6716 (class-option-assoc, class-option, eieio-object-p)
6717 (class-abstract-p, class-method-invocation-order)
6718 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6719 (eieio-class-un-autoload, eieio-defclass)
6720 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6721 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6722 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6723 (eieio-defgeneric-reset-generic-form)
6724 (eieio-defgeneric-form-primary-only)
6725 (eieio-defgeneric-reset-generic-form-primary-only)
6726 (eieio-defgeneric-form-primary-only-one)
6727 (eieio-defgeneric-reset-generic-form-primary-only-one)
6728 (eieio-unbind-method-implementations)
6729 (eieio--defmethod, eieio--typep)
6730 (eieio-perform-slot-validation, eieio-validate-slot-value)
6731 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6732 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6733 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6734 (eieio-slot-name-index, eieio-class-slot-name-index)
6735 (eieio-set-defaults, eieio-initarg-to-attribute)
6736 (eieio-attribute-to-initarg, eieio-c3-candidate)
6737 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6738 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6739 (eieio-class-precedence-list, eieio-generic-call-methodname)
6740 (eieio-generic-call-arglst, eieio-generic-call-key)
6741 (eieio-generic-call-next-method-list)
6742 (eieio-pre-method-execution-functions, eieio-generic-call)
6743 (eieio-generic-call-primary-only, eieiomt-method-list)
6744 (eieiomt-optimizing-obarray, eieiomt-install)
6745 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6746 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6747 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6748 (defclass): Remove `eval-and-compile' from macro.
6749 (call-next-method, shared-initialize): Instead of using
6750 `scoped-class' variable, use new eieio--scoped-class, and
6751 eieio--with-scoped-class.
6752 (initialize-instance): Rename local variable 'scoped-class' to
6753 'this-class' to remove ambiguitity from old global.
6754
6755 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6756 eieio.el.
4f405069
JB
6757 (eieio--scoped-class-stack): New variable.
6758 (eieio--scoped-class): New fcn.
890f7890
DE
6759 (eieio--with-scoped-class): New scoping macro.
6760 (eieio-defclass): Use pushnew instead of add-to-list.
6761 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6762 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6763 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6764 `scoped-class' variable, use new eieio--scoped-class, and
6765 eieio--with-scoped-class.
6766
6767 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6768
d105b0e2
TH
67692013-06-02 Tassilo Horn <tsdh@gnu.org>
6770
6771 * eshell/esh-ext.el (eshell-external-command): Pass args to
6772 `eshell-find-interpreter'.
6773 (eshell-find-interpreter): Add new second parameter ARGS.
6774
6775 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6776 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6777
6778 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6779 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6780
6781 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6782 (eshell-visual-options): New defcustom.
6783 (eshell-escape-control-x): Adapt docstring.
6784 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6785 `eshell-visual-options' in addition to `eshell-visual-commands'.
6786 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6787
f46305c8 67882013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6789
6790 * progmodes/python.el (python-indent-block-enders): Add break,
6791 continue and raise keywords.
6792
d870df21
GM
67932013-06-01 Glenn Morris <rgm@gnu.org>
6794
9133b82e
GM
6795 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6796
02c992ec 6797 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6798 * progmodes/cc-cmds.el (delete-forward-p):
6799 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6800 * progmodes/cc-engine.el (buffer-syntactic-context):
6801 * progmodes/cc-fonts.el (face-property-instance):
6802 * progmodes/cc-mode.el (set-keymap-parents):
6803 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6804 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6805 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6806 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6807 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6808
31e7b090
GM
6809 * progmodes/cc-vars.el (other): Emacs has this widget since
6810 at least 21.1, so don't (re)define it.
6811
d870df21
GM
6812 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6813 Replace the obsolete alias pcomplete-arg-quote-list.
6814
c75c93c7
LL
68152013-06-01 Leo Liu <sdl.web@gmail.com>
6816
6817 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6818 punctuation syntax.
6819 (inferior-octave-minimal-columns)
6820 (inferior-octave-last-column-width): New variables.
6821 (inferior-octave-track-window-width-change): New function.
6822 (inferior-octave-mode): Adjust column width so that Octave output,
6823 for example from 'ls', can fit into the window nicely.
6824
973d1e12
DG
68252013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6826
6827 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6828 Highlight expansions inside regexp literals.
6829
0888c286
GM
68302013-05-31 Glenn Morris <rgm@gnu.org>
6831
e26aac1f
GM
6832 * obsolete/sym-comp.el (symbol-complete):
6833 Replace obsolete completion-annotate-function.
6834
0888c286
GM
6835 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6836
19bb8e62
DG
68372013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6838
781b4af6
SM
6839 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6840 New function, checks if point is inside a literal that allows
19bb8e62
DG
6841 expression expansion.
6842 (ruby-syntax-propertize-expansion): Use it.
6843 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6844 around the body.
6845
01dea85f
JL
68462013-05-30 Juri Linkov <juri@jurta.org>
6847
6848 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6849 to "\M-si".
6850 (isearch-invisible): New variable.
6851 (isearch-forward): Doc fix.
6852 (isearch-mode): Set `isearch-invisible'
6853 to the value of `search-invisible'.
6854 (isearch-toggle-case-fold): Doc fix.
6855 (isearch-toggle-invisible): New command.
6856 (isearch-query-replace): Let-bind `search-invisible'
6857 to the value of `isearch-invisible'.
6858 (isearch-search): Use `isearch-invisible' instead of
6859 `search-invisible'. Let-bind `search-invisible'
6860 to the value of `isearch-invisible'. (Bug#11378)
6861
ab1bdce5
JL
68622013-05-30 Juri Linkov <juri@jurta.org>
6863
6864 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6865 call when `query-flag' is nil and `search-invisible' is non-nil.
6866 (Bug#11746)
6867
d6d236e2
GM
68682013-05-30 Glenn Morris <rgm@gnu.org>
6869
8accd027
GM
6870 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6871
2a8bed1c
GM
6872 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6873 (cc-require): Suppress spurious "noruntime" warnings.
6874 (cc-require-when-compile): Use fboundp, for sake of compiler.
6875
d6d236e2
GM
6876 * progmodes/cc-mode.el: Move load of cc-vars before that of
6877 cc-langs (which in turn loads cc-vars), to quieten compiler.
6878
9190b35b
SM
68792013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * paren.el: Simplify the code.
6882 (show-paren-mode): Always start the timer.
6883 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6884 (show-paren--overlay, show-paren--overlay-1): Rename from
6885 show-paren-overlay and show-paren-overlay-1, and initialize to an
6886 overlay rather than to nil.
6887 (show-paren-function): Misc cleanup and simplifications.
6888
4f8d1cf6
SM
68892013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * paren.el (show-paren-data-function): New hook.
6892 (show-paren--default): New function, extracted from show-paren-function.
6893 (show-paren-function): Use show-paren-data-function.
6894
02d844b5
GM
68952013-05-30 Glenn Morris <rgm@gnu.org>
6896
d209d4a9
GM
6897 * ielm.el (ielm-map, ielm-complete-symbol):
6898 Use completion-at-point rather than obsolete functions.
6899 (inferior-emacs-lisp-mode): Doc fix.
6900 Set completion-at-point-functions, rather than
6901 comint-dynamic-complete-functions.
6902
2082faa6
GM
6903 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6904 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6905 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6906
dd8620de
GM
6907 * image.el (image-animated-p): Tweak definition.
6908
ceca95b1
GM
6909 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6910 (rlogin-process-connection-type): Tweak default. Add set-after.
6911 (rlogin-host): Doc fix.
6912 (rlogin): Tweak prompt.
6913 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6914
ee9f1acc
GM
6915 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6916 * progmodes/tcl.el (inferior-tcl-mode-map):
6917 Use completion-at-point rather than obsolete alias.
6918
45ce222e
GM
6919 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6920
02d844b5
GM
6921 * minibuffer.el (read-file-name-completion-ignore-case):
6922 Move before completion--in-region, for eager macro expansion.
6923
ac44d6c1
JL
69242013-05-29 Juri Linkov <juri@jurta.org>
6925
6926 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6927 for total count of matching lines. Add `global-matches' for total
6928 count of matches. Rename `matches' to `lines' for count of
6929 matching lines. Add `matches' for count of matches.
6930 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6931 to `prev-line' for line number of prev match endpt.
6932 Increment `matches' for every match. Print the number of
6933 matching lines in the header.
6934 (occur-context-lines): Rename `lines' to `curr-line'.
6935 Rename `prev-lines' to `prev-line'. (Bug#14017)
6936
3c9c9d38
JL
69372013-05-29 Juri Linkov <juri@jurta.org>
6938
6939 * replace.el (perform-replace): Add `skip-read-only-count',
6940 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6941 Increment them for corresponding conditions and report the number
6942 of skipped occurrences in the final message. (Bug#11746)
6943 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6944 (replace-string, replace-regexp): Doc fix.
6945
33e249a2
SM
69462013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6947
8e399682
SM
6948 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6949
33e249a2 6950 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6951 prog-mode-map (bug#14504).
33e249a2 6952
f236dd84
LL
69532013-05-29 Leo Liu <sdl.web@gmail.com>
6954
6955 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6956 (octave-help): Small simplification.
6957
6958 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6959 off the highlight first.
6960
3694d13f
GM
69612013-05-29 Glenn Morris <rgm@gnu.org>
6962
03983bdc
GM
6963 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6964 Handle idlwave-last-system-routine-info-cons-cell being nil.
6965
bc74a74a
GM
6966 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6967 (idlwave-write-paths): Simplify via with-temp-buffer.
6968
8b394200
GM
6969 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6970 * emulation/cua-rect.el: Also load cua-base at run time.
6971
3694d13f
GM
6972 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6973 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6974 (cperl-imenu-on-info): Require imenu.
6975
336d7284
AM
69762013-05-28 Alan Mackenzie <acm@muc.de>
6977
6978 Handle "capitalised keywords" correctly.
33e249a2 6979 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6980
cb29c582
AG
69812013-05-28 Aidan Gauland <aidalgol@amuri.net>
6982
781b4af6 6983 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6984
690e44b2
GM
69852013-05-28 Glenn Morris <rgm@gnu.org>
6986
e658d75c
GM
6987 * vc/vc-arch.el (vc-exec-after): Declare.
6988 (vc-switches): Autoload.
6989 * vc/vc-bzr.el: No need to require vc when compiling.
6990 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6991 (vc-resynch-buffer, vc-dir-refresh): Declare.
6992 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6993 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6994 (vc-resynch-buffer): Declare.
6995 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6996 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6997 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6998 (grep-read-regexp, grep-read-files, grep-expand-template)
6999 (vc-dir-refresh): Declare.
7000 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7001 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7002 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7003 * vc/vc-mtn.el (vc-exec-after): Declare.
7004 (vc-switches): Autoload.
7005 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7006 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7007 (vc-file-tree-walk): Declare.
712b9732
GM
7008 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7009 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7010 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7011 * vc/vc-svn.el (vc-exec-after): Declare.
7012 (vc-switches, vc-setup-buffer): Autoload.
7013 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7014 Autoload.
7015 (vc-resynch-buffer): Declare.
7016
98e87fb3
GM
7017 * obsolete/fast-lock.el (byte-compile-warnings):
7018 Don't warn about obsolete features in this obsolete file.
7019
f5379553
GM
7020 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7021 Move definition before use.
7022
7a20ef83
GM
7023 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7024 (dun-unix-verbs): Remove dun-zippy.
7025 (dun-zippy): Remove function.
7026
690e44b2
GM
7027 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7028
3a52ccf7
JL
70292013-05-27 Juri Linkov <juri@jurta.org>
7030
7031 * replace.el (replace-search): New function with code moved out
7032 from `perform-replace'.
7033 (replace-highlight, replace-dehighlight): Move function definitions
7034 up closer to `replace-search'. (Bug#11746)
7035
d289938a
JL
70362013-05-27 Juri Linkov <juri@jurta.org>
7037
7038 * replace.el (perform-replace): Ignore invisible matches.
7039 In addition to checking `query-replace-skip-read-only', also
7040 filter out matches by calling `run-hook-with-args-until-failure'
7041 on `isearch-filter-predicates', and also check `search-invisible'
7042 for t or call `isearch-range-invisible'.
7043 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7044
66fc57e3
JL
70452013-05-27 Juri Linkov <juri@jurta.org>
7046
7047 * isearch.el (isearch-filter-predicates): Rename from
7048 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7049 (isearch-message-prefix): Display text from the property
7050 `isearch-message-prefix' of the currently active filters.
7051 (isearch-search): Don't compare `isearch-filter-predicate' with
7052 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7053 on `isearch-filter-predicates'. Also check `search-invisible' for t
7054 or call `isearch-range-invisible'.
7055 (isearch-filter-visible): Make obsolete.
7056 (isearch-lazy-highlight-search):
7057 Call `run-hook-with-args-until-failure' on
7058 `isearch-filter-predicates' and use `isearch-range-invisible'.
7059
7060 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7061 `isearch-filter-predicates' instead of `funcall'ing
7062 `isearch-filter-predicate'.
7063 (Info-mode): Set `Info-isearch-filter' to
7064 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7065
7066 * dired-aux.el (dired-isearch-filter-predicate-orig):
7067 Remove variable.
7068 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7069 (dired-isearch-filenames-end): Add and remove
7070 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7071 instead of changing the value of `isearch-filter-predicate'.
7072 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7073 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7074 Put property `isearch-message-prefix' to "filename " on
7075 `dired-isearch-filter-filenames'.
7076
7077 * wdired.el (wdired-change-to-wdired-mode):
7078 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7079 locally instead of changing `isearch-filter-predicate'.
7080 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7081
f1a60a0f
DG
70822013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7083
7084 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7085 return the commit hash (Bug#14459). Also set the
7086 `vc-git-detached' property.
7087 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7088 (vc-git-mode-line-string): Use the same help-echo format whether
7089 in detached mode or not, because we know the actual revision now.
7090 When in detached mode, shorten the revision to 7 chars.
7091
7f17cc40
SM
70922013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * emacs-lisp/easy-mmode.el (define-minor-mode):
7095 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7096 mode hook and provide a docstring.
7097
25c8401c
AM
70982013-05-27 Alan Mackenzie <acm@muc.de>
7099
7100 Remove spurious syntax-table text properties inserted by C-y.
7101 * progmodes/cc-mode.el (c-after-change): Also clear hard
7102 syntax-table property with value nil.
7103
dde84790
MA
71042013-05-27 Michael Albinus <michael.albinus@gmx.de>
7105
7106 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7107 when reading the events; the buffer layout shall not be changed.
7108
837fd9af
LL
71092013-05-27 Leo Liu <sdl.web@gmail.com>
7110
7111 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7112 New variable.
7113 (inferior-octave-directory-tracker): Automatically re-sync
7114 default-directory.
7115 (octave-help): Improve handling of 'See also'.
7116
4fd996b3
SM
71172013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7118
416f1802
SM
7119 * doc-view.el: Minor naming convention tweaks.
7120 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7121
4fd996b3
SM
7122 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7123 even if there's no `display' property yet (bug#14435).
7124
a052ef3b
EZ
71252013-05-25 Eli Zaretskii <eliz@gnu.org>
7126
4fd996b3 7127 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7128
7129 * Makefile.in (custom-deps, finder-data, autoloads)
7130 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7131 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7132 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7133
c9023370
SM
71342013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7137 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7138 Don't burp at EOB.
c9023370 7139
24d699fa
LL
71402013-05-25 Leo Liu <sdl.web@gmail.com>
7141
7142 * comint.el (comint-previous-matching-input): Do not flood the
7143 *Messages* buffer with trivial messages.
7144
17e5c0cc
SM
71452013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * progmodes/flymake.el (flymake-nop): Don't return a string.
7148 (flymake-set-at): Fix typo.
7149
7150 * simple.el (read--expression): New function, extracted from
7151 eval-expression. Set completion-at-point-functions (bug#14465).
7152 (eval-expression, eval-minibuffer): Use it.
7153
5d028165
XF
71542013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7155
7156 * progmodes/flymake.el (flymake-save-buffer-in-file)
7157 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7158 (flymake-selected-frame, flymake-log, flymake-ins-after)
7159 (flymake-set-at, flymake-get-buildfile-from-cache)
7160 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7161 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7162 Refine the doc string.
7163 (flymake-get-file-name-mode-and-masks): Reformat.
7164 (flymake-get-real-file-name-function): Fix a minor bug.
7165
7a1d7ba7
JL
71662013-05-24 Juri Linkov <juri@jurta.org>
7167
7168 * progmodes/grep.el (grep-mode-font-lock-keywords):
7169 Support =linenumber= format used by git-grep for lines with
7170 function names. (Bug#13549)
7171
650cff3d
SM
71722013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7173
7174 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7175 0 after a semi-colon; it works better for smie-auto-fill.
7176 (octave--indent-new-comment-line): New function.
7177 (octave-indent-new-comment-line): Use it (indirectly).
7178 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7179 modify comment-line-break-function.
7180
7181 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7182 (smie-setup): Use add-function to set it.
7183
9631677d
SS
71842013-05-24 Sam Steingold <sds@gnu.org>
7185
7186 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7187 argument (before the `interactive' argument).
7188
50105835
SM
71892013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7190
7191 * image-mode.el (image-mode-winprops): Add winprops to
7192 image-mode-winprops-alist before running
7193 image-mode-new-window-functions.
7194 * doc-view.el (doc-view-new-window-function): Don't delay
7195 doc-view-goto-page via timers (bug#14435).
7196
57b9823e
TH
71972013-05-24 Tassilo Horn <tsdh@gnu.org>
7198
7199 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7200 (doc-view-desktop-save-buffer): New function.
7201 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7202 (desktop-buffer-mode-handlers):
7203 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7204 handler.
7205 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7206 `desktop-save-buffer' function.
7207
91aafa16
MA
72082013-05-24 Michael Albinus <michael.albinus@gmx.de>
7209
7210 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7211 (tramp-gvfs-file-name-handler): Raise a user error when
7212 `tramp-gvfs-enabled' is nil.
7213 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7214 Do not raise a user error when loading package. (Bug#14447)
7215
ec076379
MA
7216 * net/xesam.el: Move to obsolete/.
7217
db785726
GM
72182013-05-24 Glenn Morris <rgm@gnu.org>
7219
af5c7606
GM
7220 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7221
e5d1916a
GM
7222 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7223
ded62b08
GM
7224 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7225 (Info-find-node, Man-getpage-in-background): Declare.
7226
9e614a3f
GM
7227 * mail/unrmail.el (unrmail):
7228 Replace obsolete detect-coding-with-priority.
7229
892f8ca3
GM
7230 * net/socks.el (socks-split-string): Use this rather than split-string.
7231 (socks-nslookup-host): Update for above change.
7232 (dynamic-choice, s5-dynamic-choice-match)
7233 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7234 Comment out unused code.
7235
3c291973
GM
7236 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7237 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7238 (gud-tooltip-echo-area): Make obsolete.
7239 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7240
43cc956b
GM
7241 * progmodes/js.el (js--optimize-arglist): Declare.
7242
dab49a3b
GM
7243 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7244
36b9d085
GM
7245 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7246 (ediff-window-C): Declare.
7247
e354ae76
GM
7248 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7249 Tweak requires to silence compiler.
7250
b8e57bf4
GM
7251 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7252 (he-search-string, he-tried-table, he-expand-list)
7253 (he-init-string, he-string-member, he-substitute-string)
7254 (he-reset-string): Declare.
7255
db785726
GM
7256 * obsolete/options.el (list-options): Use custom-variable-p,
7257 rather than obsolete alias.
7258
b3531901
SS
72592013-05-23 Sam Steingold <sds@gnu.org>
7260
7261 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7262 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7263 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7264
bdda4c66
SM
72652013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * emacs-lisp/smie.el (smie-indent-forward-token)
7268 (smie-indent-backward-token): Handle string tokens (bug#14381).
7269
c43d45f9
TH
72702013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7271
fe1eb856
RS
7272 * ielm.el (ielm-menu): New menu.
7273 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7274
fe1eb856
RS
72752013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7276
7277 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7278 Fix deactivate action.
7279
7280 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7281 Add cleveref macros.
074dd971 7282
c43d45f9
TH
7283 * lisp/textmodes/reftex-parse.el
7284 (reftex-locate-bibliography-files): Accept options for
7285 bibliography commands.
7286 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7287 Add addbibresource. Basic Biblatex support.
7288
7764286e
MA
72892013-05-23 Michael Albinus <michael.albinus@gmx.de>
7290
7291 * net/tramp-gvfs.el (top):
7292 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7293 when loading package. (Bug#14447)
7294
d361bc10
GM
72952013-05-23 Glenn Morris <rgm@gnu.org>
7296
8fa23984
GM
7297 * progmodes/js.el: No need to load comint when compiling.
7298 (ring-insert, comint-send-string, comint-send-input)
7299 (comint-last-input-end, ido-chop): Declare.
7300
a5c7df1a
GM
7301 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7302 * vc/ediff-mult.el: Adjust requires.
7303 (ediff-directories-internal, ediff-directory-revisions-internal)
7304 (ediff-patch-file-internal): Declare.
7305 * vc/ediff-ptch.el: Adjust requires.
7306 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7307 (ediff-find-file): Autoload.
7308 * vc/ediff-util.el: No need to load ediff when compiling.
7309 (ediff-regions-internal): Declare.
7310 * vc/ediff-wind.el: Adjust requires.
7311 (ediff-compute-toolbar-width): Define when compiling.
7312 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7313 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7314 (dired-get-filename, dired-get-marked-files)
7315 (ediff-last-dir-patch, ediff-patch-default-directory)
7316 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7317 (ediff-patch-buffer-internal): Declare.
7318
e2aec513
GM
7319 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7320 (ispell-process, ispell-buffer-local-words, lm-summary)
7321 (lm-section-start, lm-section-end): Declare.
7322 (checkdoc-ispell-init): Simplify.
7323
e68bbd7c
GM
7324 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7325 (he-string-member, he-reset-string, he-substitute-string): Declare.
7326
7efe0991
GM
7327 * eshell/em-ls.el: Adjust requires.
7328 (eshell-glob-regexp): Declare.
f87b1284
GM
7329 * eshell/em-tramp.el: Adjust requires.
7330 (eshell-parse-command): Autoload.
7331 * eshell/em-xtra.el: Adjust requires.
7332 (eshell-parse-command): Autoload.
7333 * eshell/esh-ext.el: Adjust requires.
7334 (eshell-parse-command, eshell-close-handles): Autoload.
7335 * eshell/esh-io.el: Adjust requires.
7336 (eshell-output-filter): Autoload.
7337 * eshell/esh-util.el: No need to load tramp when compiling.
7338 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7339 Declare.
7340 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7341 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7342 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7343 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7344 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7345 * eshell/esh-opt.el, eshell/esh-proc.el:
7346 * eshell/esh-var.el: Adjust requires.
7347 * eshell/eshell.el: Do not require esh-util twice.
7348 (eshell-add-input-to-history): Declare.
7349 (eshell-command): Check history module is active before using it.
7350
d361bc10
GM
7351 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7352
85d090a9
LL
73532013-05-22 Leo Liu <sdl.web@gmail.com>
7354
7355 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7356
5d0acd9d
MA
73572013-05-22 Michael Albinus <michael.albinus@gmx.de>
7358
7359 * autorevert.el (auto-revert-notify-add-watch)
7360 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7361 it indicates changes in file modification time.
7362
0cdffd7d
GM
73632013-05-22 Glenn Morris <rgm@gnu.org>
7364
ca5995ec
GM
7365 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7366 Always delete the autoloaded function from the noruntime and
7367 unresolved functions lists.
7368
6450907e
GM
7369 * allout.el: No need to load epa, epg, overlay when compiling.
7370 (epg-context-set-passphrase-callback, epg-list-keys)
7371 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7372 (epg-key-user-id-list): Declare.
7373
9c6906f6
GM
7374 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7375 (viper-set-parsing-style-toggling-macro)
7376 (viper-set-emacs-state-searchstyle-macros):
7377 Use called-interactively-p on Emacs.
7378 (viper-looking-back): Make it an obsolete alias. Update callers.
7379 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7380 Use looking-back rather than viper-looking-back.
7381 (viper-tmp-insert-at-eob, viper-enlarge-region)
7382 (viper-read-string-with-history, viper-register-to-point)
7383 (viper-append-to-register, viper-change-state-to-vi)
7384 (viper-backward-char-carefully, viper-forward-char-carefully)
7385 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7386 (viper-change-state-to-emacs): Declare.
7387 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7388 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7389 * emulation/viper-mous.el: Do not load viper-cmd.
7390 (viper-backward-char-carefully, viper-forward-char-carefully)
7391 (viper-forward-word, viper-adjust-window): Declare.
7392
5f70c169
GM
7393 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7394
b1b7f300
GM
7395 * progmodes/idlw-help.el (idlwave-help-fontify):
7396 Use called-interactively-p.
7397
f6ebbb46
GM
7398 * term/w32console.el (w32-get-console-codepage)
7399 (w32-get-console-output-codepage): Declare.
7400
0cdffd7d
GM
7401 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7402 Remove unnecessary declarations.
7403 (dframe-message): Doc fix.
7404
7405 * info.el (dframe-select-attached-frame, dframe-current-frame):
7406 Declare.
7407
7408 * speedbar.el (speedbar-message): Make it an obsolete alias.
7409 Update all callers.
7410 (speedbar-with-attached-buffer)
7411 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7412 (speedbar-with-writable): Use backquote.
7413 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7414 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7415 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7416 rather than speedbar- aliases.
7417 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7418 (speedbar-make-specialized-keymap, speedbar-insert-button)
7419 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7420 (speedbar-do-function-pointer): Declare.
7421 (rmail-speedbar-button, rmail-speedbar-find-file)
7422 (rmail-speedbar-move-message):
7423 Use dframe-with-attached-buffer rather than speedbar- alias.
7424 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7425 (dframe-message, speedbar-make-specialized-keymap)
7426 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7427 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7428 (speedbar-insert-button, dframe-select-attached-frame)
7429 (dframe-maybee-jump-to-attached-frame)
7430 (speedbar-change-initial-expansion-list)
7431 (speedbar-previously-used-expansion-list-name): Declare.
7432 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7433 Use dframe-message, dframe-with-attached-buffer rather than
7434 speedbar- aliases.
7435 (gud-sentinel): Silence compiler.
7436 * progmodes/vhdl-mode.el (speedbar-refresh)
7437 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7438 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7439 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7440 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7441 (speedbar-file-lists, speedbar-make-tag-line)
7442 (speedbar-line-directory, speedbar-goto-this-file)
7443 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7444 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7445 (speedbar-make-button, speedbar-reset-scanners)
7446 (speedbar-files-item-info, speedbar-line-text)
7447 (speedbar-find-file-in-frame, speedbar-set-timer)
7448 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7449 (speedbar-with-writable): Do not (re)define it.
7450 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7451 rather than speedbar- alias.
7452
ee44b62a
LL
74532013-05-21 Leo Liu <sdl.web@gmail.com>
7454
7455 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7456 menu items.
7457 (octave-mode): Tweak fill-nobreak-predicate.
7458 (inferior-octave-startup): Check process to avoid infinite loop.
7459 (inferior-octave): Pop to buffer first to show abornmal process
7460 exit information.
7461
640f050f
GM
74622013-05-21 Glenn Morris <rgm@gnu.org>
7463
79458038
GM
7464 * printing.el (pr-menu-bar): Define when compiling.
7465
9cc3e83f
LL
74662013-05-21 Leo Liu <sdl.web@gmail.com>
7467
7468 * progmodes/octave.el (octave-auto-fill): Remove.
7469 (octave-indent-new-comment-line): Improve.
7470 (octave-mode): Use auto fill mode through
4f405069 7471 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7472 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7473 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7474 (octave-help): Show parent directory.
7475
f440830d
GM
74762013-05-21 Glenn Morris <rgm@gnu.org>
7477
7478 * files.el (dired-unmark):
7479 * progmodes/gud.el (gdb-input): Update declarations.
7480
7481 * calculator.el (electric, ehelp): No need to load when compiling.
7482 (Electric-command-loop, electric-describe-mode): Declare.
7483
7484 * doc-view.el (doc-view-current-converter-processes): Move before use.
7485
7486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7487 Move MODE-set-explicitly definition before use.
7488
7489 * international/mule-diag.el (mule-diag):
7490 Don't use obsolete window-system-version.
7491
7492 * mail/feedmail.el (smtpmail): No need to load when compiling.
7493 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7494
7495 * mail/mail-utils.el (rfc822): No need to load when compiling.
7496 (rfc822-addresses): Autoload it.
7497 (mail-strip-quoted-names): Trivial simplification.
7498
7499 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7500 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7501
7502 * net/snmp-mode.el (tempo): Don't duplicate requires.
7503
7504 * progmodes/prolog.el (info): No need to load when compiling.
7505 (comint): Require before shell requires it.
7506 (Info-goto-node): Autoload it.
7507 (Info-follow-nearest-node): Declare.
7508 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7509
7510 * textmodes/artist.el (picture-mode-exit): Declare.
7511
7512 * textmodes/reftex-parse.el (reftex-parse-from-file):
7513 Trivial rewrite so the compiler can parse it better.
7514
b4da2cbb
LL
75152013-05-20 Leo Liu <sdl.web@gmail.com>
7516
7517 * progmodes/octave.el (octave-help-mode-map)
7518 (octave-help-mode-finish-hook): New variables.
7519 (octave-help-mode, octave-help-mode-finish): New functions.
7520 (octave-help): Use octave-help-mode.
7521
33c0f65b
GM
75222013-05-20 Glenn Morris <rgm@gnu.org>
7523
7524 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7525
1a0a0a8a
DG
75262013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7527
7528 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7529 start at point, so that expansion starting right after opening
7530 slash in a regexp is recognized.
7531 (ruby-syntax-before-regexp-re): New defvar, extracted from
7532 ruby-syntax-propertize-function. Since the value of this regexp
7533 is looked up at runtime now, we should be able to turn
7534 `ruby-syntax-methods-before-regexp' into a defcustom later.
7535 (ruby-syntax-propertize-function): Split regexp matching into two
7536 parts, for opening and closing slashes. That allows us to skip
7537 over string interpolations and support multiline regexps.
7538 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7539 for them, which calls `ruby-syntax-propertize-expansion'.
7540 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7541 call to `ruby-syntax-propertize-function'.
7542 (ruby-syntax-propertize-expansion): Extracted from
7543 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7544 (ruby-syntax-propertize-percent-literal): Leave point right after
7545 the percent symbol, so that the expression expansion rule can
7546 propertize the contents.
462388b6
DG
7547 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7548 heredoc openers.
7549 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7550
c1a6c0a4
JL
75512013-05-18 Juri Linkov <juri@jurta.org>
7552
7553 * man.el (Man-default-man-entry): Remove `-' from the end
7554 of the default value. (Bug#14400)
7555
8051fccd
GM
75562013-05-18 Glenn Morris <rgm@gnu.org>
7557
7558 * comint.el (comint-password-prompt-regexp):
7559 Allow "password for XXX" where XXX contains colons (eg https://...).
7560
5e80b74f
LL
75612013-05-18 Leo Liu <sdl.web@gmail.com>
7562
7563 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7564 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7565 (octave-source-directories): Don't check process.
7566 (octave-source-directories, octave-find-definition): Doc fix.
7567
521a54c5
GM
75682013-05-18 Glenn Morris <rgm@gnu.org>
7569
86a94b05
GM
7570 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7571 Remove backspace/delete bindings. (Bug#14392)
7572
521a54c5
GM
7573 * cus-dep.el (custom-make-dependencies): Sort the output.
7574 (custom-versions-load-alist): Convert comment to doc.
7575
42caeb89
LL
75762013-05-17 Leo Liu <sdl.web@gmail.com>
7577
7578 * newcomment.el (comment-search-backward): Stricter in finding
7579 comment start. (Bug#14303)
7580
7581 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7582 (octave-comment-start-skip): Properly anchored.
7583
e219dd97
LL
75842013-05-17 Leo Liu <sdl.web@gmail.com>
7585
fe1eb856
RS
7586 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7587 Clean up when turned off. (Bug#14395)
e219dd97
LL
7588 (smie--highlight-matching-block-overlay): No longer buffer-local.
7589 (smie-highlight-matching-block): Adjust.
7590
dc5dcb4b
PE
75912013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7592
7593 Doc string fix for "nanoseconds" (Bug#14406).
7594 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7595 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7596
1db165f0
JB
75972013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7598
7599 * calc/calc-units.el (math-extract-units): Preserve powers
7600 of units.
7601
c7a8fcac
LL
76022013-05-17 Leo Liu <sdl.web@gmail.com>
7603
7604 * subr.el (delete-consecutive-dups): New function.
7605 * ido.el (ido-set-matches-1): Use it.
7606 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7607 * ido.el (ido-remove-consecutive-dups): Remove.
7608
f678b18a
SM
76092013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7612 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7613 regexp-opt's `words'.
7614
ebfe68e8
LL
76152013-05-16 Leo Liu <sdl.web@gmail.com>
7616
7617 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7618 (smie--highlight-matching-block-overlay)
7619 (smie--highlight-matching-block-lastpos)
7620 (smie--highlight-matching-block-timer): New variables.
7621 (smie-highlight-matching-block): New function.
7622 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7623 (smie-setup): Conditionally enable smie-blink-matching-open.
7624
bc8bc17d
WS
76252013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7626
7627 Sync with upstream verilog-mode r840.
7628 * progmodes/verilog-mode.el (verilog-mode-version)
7629 (verilog-mode-release-date): Update.
7630 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7631 (verilog-sig-tieoff): Fix string error on
7632 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7633 (verilog-read-decls): Fix parameters confusing
7634 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7635
df065a0b
EZ
76362013-05-16 Eli Zaretskii <eliz@gnu.org>
7637
7638 * subr.el (reveal-filename): New function.
7639
7640 * loadup.el: Compute Emacs executable versions on MS-Windows,
7641 where executables have the .exe extension. Add a hard link
7642 emacs-XX.YY.ZZ.exe on MS-Windows.
7643
7644 * Makefile.in (XARGS_LIMIT): New variable.
7645 (custom-deps, finder-data, autoloads)
7646 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7647 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7648 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7649 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7650
2d4bf34b
LL
76512013-05-16 Leo Liu <sdl.web@gmail.com>
7652
7653 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7654 (octave-mode-menu, octave-mode-map): Remove its uses.
7655
6b9c2d85
RZ
76562013-05-16 Reto Zimmermann <reto@gnu.org>
7657
7658 Sync with upstream vhdl mode v3.34.2.
7659 * progmodes/vhdl-mode.el: Use `push' throughout.
7660 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7661 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7662 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7663 (vhdl-actual-generic-name): New option to derive actual generic name.
7664 (vhdl-port-paste-signals): Replace formal by actual generics.
7665 (vhdl-beautify): New name for old group vhdl-align. Update users.
7666 (vhdl-beautify-options): New option.
7667 (vhdl-last-input-event): New compat alias. Use throughout.
7668 (vhdl-goto-line): Replace user level function `goto-line'.
7669 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7670 vhdl-fix-statement-buffer.
7671 (vhdl-create-mode-menu): Add some entries.
7672 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7673 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7674 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7675 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7676 to force statements on one line.
7677 (vhdl-remove-trailing-spaces-region):
7678 New, split from vhdl-remove-trailing-spaces.
7679 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7680 Respect vhdl-beautify-options.
7681 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7682 (vhdl-update-sensitivity-list): Not add with index if exists without.
7683 Not include array index with signal. Ignore keywords in comments.
7684 (vhdl-get-visible-signals): Regexp tweaks.
7685 (vhdl-template-component-inst): Handle empty library.
7686 (vhdl-template-type): Add template for 'enum' type.
7687 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7688 Use vhdl-replace-string.
7689 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7690 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7691 (vhdl-speedbar-initialize): Update for above name change.
7692 (vhdl-compose-wire-components): Fix in handling of constants.
7693 (vhdl-error-regexp-emacs-alist): New variable.
7694 (vhdl-error-regexp-add-emacs): New function;
7695 adds support for new compile.el (Emacs 22+)
7696 (vhdl-generate-makefile-1): Change target order for single lib. units.
7697 Allow use of absolute file names.
7698
9df4ec5e
LL
76992013-05-16 Leo Liu <sdl.web@gmail.com>
7700
7701 * simple.el (prog-indent-sexp): Indent enclosing defun.
7702
f5ba00a6
GM
77032013-05-15 Glenn Morris <rgm@gnu.org>
7704
ed8be7ff
GM
7705 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7706 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7707 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7708 (whitespace-highlight): Move to whitespace group.
7709
7710 * comint.el (comint-source):
7711 * pcmpl-linux.el (pcmpl-linux):
7712 * shell.el (shell-faces):
7713 * eshell/esh-opt.el (eshell-opt):
7714 * international/ccl.el (ccl): Remove empty custom groups.
7715
7716 * completion.el (dynamic-completion-mode):
7717 * jit-lock.el (jit-lock-debug-mode):
7718 * minibuffer.el (completion-in-region-mode):
7719 * type-break.el (type-break-mode-line-message-mode)
7720 (type-break-query-mode):
7721 * emulation/tpu-edt.el (tpu-edt-mode):
7722 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7723 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7724 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7725
7726 * term/xterm.el (xterm): Change parent group to terminals.
7727
7728 * master.el (master): Remove empty custom group.
7729 (master-mode): Remove unused :group argument.
7730 * textmodes/refill.el (refill): Remove empty custom group.
7731 (refill-mode): Remove unused :group argument.
7732
7733 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7734
82a7c41b
GM
7735 * cus-dep.el: Provide a feature.
7736 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7737 Don't mistakenly ignore files whose basenames match a basename
7738 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7739 Add a fallback method for getting :group.
f5ba00a6 7740
6d65486d
JL
77412013-05-15 Juri Linkov <juri@jurta.org>
7742
da547b32
JL
7743 * isearch.el (isearch-char-by-name): Rename from
7744 `isearch-insert-char-by-name'. Doc fix.
7745 (isearch-forward): Mention `isearch-char-by-name' in
7746 the docstring. (Bug#13348)
7747
6d65486d
JL
7748 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7749 `exit-minibuffer' instead of
7750 `isearch-nonincremental-exit-minibuffer'.
7751 (isearch-edit-string): Remove mention of
7752 `isearch-nonincremental-exit-minibuffer' from docstring.
7753 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7754 (isearch-forward-exit-minibuffer)
7755 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7756
c9990474
SM
77572013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7758
6e911150
SM
7759 * loadup.el: Just use unversioned DOC.
7760
c9990474
SM
7761 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7762 literals as extending to EOB.
7763 (nxml-last-fontify-end): Remove unused variable.
7764 (nxml-after-change1): Use with-silent-modifications.
7765 (nxml-extend-after-change-region): Simplify.
7766 (nxml-extend-after-change-region1): Remove function.
7767 (nxml-after-change1): Don't adjust for dependent regions.
7768 (nxml-fontify-matcher): Simplify.
7769 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7770 (xmltok-add-dependent): Remove function.
7771 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7772 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7773 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7774 unclosed <[[, <?, comment, and other literals as extending to EOB.
7775 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7776 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7777 Remove functions.
7778 (rng-do-some-validation-1): Don't mark dependent regions.
7779 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7780 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7781 (nxml-clear-dependent-regions): Remove functions.
7782 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7783 (nxml-ensure-scan-up-to-date):
7784 Don't clear&mark dependent regions.
7785
e3772e98
LL
77862013-05-15 Leo Liu <sdl.web@gmail.com>
7787
c9990474
SM
7788 * progmodes/octave.el (octave-goto-function-definition):
7789 Improve and fix callers.
e3772e98 7790
5ac2eb34
SM
77912013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7792
c46c57b0
SM
7793 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7794 the setter (bug#14387).
7795
5ac2eb34
SM
7796 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7797 surrounding group (bug#14402).
7798
180ed218
JL
77992013-05-14 Juri Linkov <juri@jurta.org>
7800
7801 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7802 (Bug#14390)
7803
0ac0fecb
GM
78042013-05-14 Glenn Morris <rgm@gnu.org>
7805
7806 * progmodes/f90.el (f90-imenu-generic-expression):
7807 Fix typo in 2013-05-08 change. (Bug#14402)
7808
2e78e6a7
JPG
78092013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7810
5ac2eb34
SM
7811 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7812 Remove signals for which replies are never received.
2e78e6a7 7813
53267cca
JPG
78142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7815
7816 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7817 (gdb-handler-alist, gdb-handler-number): Remove variables.
7818 (gdb-handler-list): New variable.
7819 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7820 (gdb-pending-handler-p, gdb-handle-reply)
7821 (gdb-remove-all-pending-triggers): New functions.
7822 (gdb-discard-unordered-replies): New defcustom.
7823 (gdb-handler): New defstruct.
7824 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7825 instead of gdb-pending-triggers. Update docstring.
7826 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7827 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7828 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7829 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7830 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7831 (gdb-frame-handler): Pending triggers are now automatically managed.
7832 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7833 Remove argument.
7834 (gdb-input): Automatically handles pending triggers. Update docstring.
7835 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7836 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7837 Update comments.
7838 (gdb-done-or-error): Now use gdb-handle-reply.
7839
d04ce803
JPG
78402013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7841
7842 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7843 gdb-debug-log.
7844
0114073a
GM
78452013-05-14 Glenn Morris <rgm@gnu.org>
7846
7847 * subr.el (user-emacs-directory-warning): New option.
7848 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7849
4d25fd7e
LL
78502013-05-14 Leo Liu <sdl.web@gmail.com>
7851
7852 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7853 during redisplay.
7854 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7855 (octave-font-lock-texinfo-comment): Fix invalid search bound
7856 error: wrong side of point.
4d25fd7e 7857
27c8b6eb
GM
78582013-05-14 Glenn Morris <rgm@gnu.org>
7859
61aaeb01
GM
7860 * progmodes/flymake.el (flymake-xml-program): New option.
7861 (flymake-xml-init): Use it.
7862
5bf90bc5
GM
7863 * term/xterm.el: Provide a feature.
7864
7865 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7866
f4c7dfd2
GM
78672013-05-13 Glenn Morris <rgm@gnu.org>
7868
7869 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7870 Add compat aliases as a hack workaround. (Bug#14384)
7871
2aeb3a1d
LL
78722013-05-13 Leo Liu <sdl.web@gmail.com>
7873
b0e069c2
LL
7874 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7875 ###, and %!.
f5a9432f
LL
7876 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7877 C-M-q.
b0e069c2
LL
7878 (octave-comment-start-skip): Include %!.
7879 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7880
30ea8374
LL
78812013-05-12 Leo Liu <sdl.web@gmail.com>
7882
7883 * progmodes/octave.el (inferior-octave-startup): Store the value
7884 of __octave_srcdir__ for octave-source-directories.
7885 (inferior-octave-check-process): New function refactored out of
7886 inferior-octave-send-list-and-digest.
7887 (octave-source-directories)
7888 (octave-find-definition-filename-function): New variables.
7889 (octave-source-directories)
7890 (octave-find-definition-default-filename): New functions.
7891 (octave-find-definition): Improve to find functions implemented in C++.
7892
472a3834
GM
78932013-05-12 Glenn Morris <rgm@gnu.org>
7894
7895 * calendar/diary-lib.el (diary-outlook-format-1):
7896 Don't include dayname in the output. (Bug#14349)
7897
3191b52f
GM
78982013-05-11 Glenn Morris <rgm@gnu.org>
7899
0060ac73
GM
7900 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7901
3191b52f
GM
7902 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7903 Treat cc-provide like provide.
7904
e065ba74
KR
79052013-05-11 Kevin Ryde <user42@zip.com.au>
7906
7907 * cus-dep.el (custom-make-dependencies):
7908 Use generated-autoload-load-name for the sake of files such
7909 such cedet/semantic/bovine/c.el, where the base file name
7910 is not in load-path. (Bug#5277)
7911
36f84c37
GM
79122013-05-11 Glenn Morris <rgm@gnu.org>
7913
7914 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7915 Provide features.
7916
c8730c3a
LL
79172013-05-11 Leo Liu <sdl.web@gmail.com>
7918
7919 * progmodes/octave.el (octave-indent-comment): Improve.
7920 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7921 (octave-eldoc-function-signatures, octave-eldoc-function):
7922 New functions.
c8730c3a
LL
7923 (octave-mode, inferior-octave-mode): Add eldoc support.
7924
212e29f2
RS
79252013-05-11 Richard Stallman <rms@gnu.org>
7926
7927 * epa.el (epa-decrypt-file): Take output file name as argument
7928 and read it using `interactive'.
7929
083fe0d7
LL
79302013-05-11 Leo Liu <sdl.web@gmail.com>
7931
7932 * progmodes/octave.el (octave-beginning-of-line)
7933 (octave-end-of-line): Check before using up-list because it jumps
7934 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7935 (octave-indent-comment): New function.
7936 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7937 (octave-begin-keywords, octave-end-keywords)
7938 (octave-reserved-words, octave-smie-bnf-table)
7939 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7940
8582e4c4
GM
79412013-05-11 Glenn Morris <rgm@gnu.org>
7942
f20def1f
GM
7943 * faces.el (internal-face-x-get-resource):
7944 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7945 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7946 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7947 Fix declarations.
f20def1f 7948
445f95e2
GM
7949 * calc/calc-menu.el: Make it loadable in isolation.
7950
7951 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7952 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7953 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7954 (eudc-bbdb-query-internal): Require 'bbdb.
7955
99fb2756
GM
7956 * lpr.el (lpr-headers-switches):
7957 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7958
7959 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7960
0da7ad96
GM
7961 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7962
8582e4c4
GM
7963 * term.el (term-set-escape-char): Make it idempotent.
7964
f71c50d0
LL
79652013-05-10 Leo Liu <sdl.web@gmail.com>
7966
5ac2eb34
SM
7967 * progmodes/octave.el (inferior-octave-completion-table):
7968 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7969 completion due to bug#11906.
7970 (octave-beginning-of-defun): Re-write to be more general.
7971
d5837773
GM
79722013-05-10 Glenn Morris <rgm@gnu.org>
7973
7974 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7975
027c0f75
SM
79762013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * comint.el (comint-redirect-send-command-to-process): Use :around
7979 rather than :override for comint-redirect-filter.
7980 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7981 Call it instead of comint-redirect-original-filter-function (which
7982 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7983
4465bfb4
JD
79842013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7985
7986 * frame.el (display-monitor-attributes-list): Add NS case.
7987 (ns-display-monitor-attributes-list): Declare.
7988
2d809ffa 79892013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7990
7991 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7992
e54eeb9b
GM
79932013-05-09 Glenn Morris <rgm@gnu.org>
7994
56cd351d
GM
7995 * international/fontset.el (vertical-centering-font-regexp):
7996 Set standard-value.
7997
d84b6108
GM
7998 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7999
a931698a
GM
8000 * bookmark.el (bookmark-search-delay):
8001 * cus-start.el (vertical-centering-font-regexp):
8002 * ps-mule.el (ps-mule-font-info-database-default):
8003 * ps-print.el (ps-default-fg, ps-default-bg):
8004 * type-break.el (type-break-good-break-interval):
8005 * whitespace.el (whitespace-indentation-regexp)
8006 (whitespace-space-after-tab-regexp):
8007 * emacs-lisp/testcover.el (testcover-1value-functions)
8008 (testcover-noreturn-functions, testcover-progn-functions)
8009 (testcover-prog1-functions):
8010 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8011 * eshell/em-glob.el (eshell-glob-translate-alist):
8012 * play/tetris.el (tetris-tty-colors):
8013 * progmodes/cpp.el (cpp-face-default-list):
8014 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8015 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8016 (idlwave-help-browser-generic-args):
8017 * progmodes/make-mode.el (makefile-special-targets-list):
8018 * progmodes/python.el (python-shell-virtualenv-path):
8019 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8020 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8021 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8022 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8023 * textmodes/reftex-vars.el (reftex-format-label-function):
8024 * textmodes/remember.el (remember-diary-file): Fix custom types.
8025
e54eeb9b
GM
8026 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8027 Add :version.
8028
455851dd
LL
80292013-05-09 Leo Liu <sdl.web@gmail.com>
8030
8031 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8032 Restore file completion. (Bug#14300)
455851dd
LL
8033 (inferior-octave-startup): Fix incorrect highlighting for the
8034 first prompt.
8035
a9e4425b
SM
80362013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8037
8038 * progmodes/ruby-mode.el: First cut at SMIE support.
8039 (ruby-use-smie): New var.
8040 (ruby-smie-grammar): New constant.
8041 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8042 (ruby-smie--forward-token, ruby-smie--backward-token)
8043 (ruby-smie-rules): New functions.
8044 (ruby-mode-variables): Setup SMIE if applicable.
8045
060ca408
EZ
80462013-05-08 Eli Zaretskii <eliz@gnu.org>
8047
8048 * simple.el (line-move-visual): Signal beginning/end of buffer
8049 only if vertical-motion moved less than it was requested. Avoids
8050 silly incorrect error messages when there are display strings with
8051 multiple newlines at EOL.
8052
1d5963cc
SM
80532013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8056 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8057 (prolog-char-quote-workaround):
8058 * progmodes/cperl-mode.el (cperl-under-as-char):
8059 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8060 Mark as obsolete.
8061 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8062 their declaration.
8063 (vhdl-mode-syntax-table-init): Remove.
8064
c9990474
SM
8065 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8066 last change.
1d5963cc
SM
8067
8068 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8069 syntax for "_".
8070 (ld-script-font-lock-keywords):
8071 Change regexps to use things like \_< and \_>.
8072
8073 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8074 Change all regexps to use things like \_< and \_>.
8075
8076 * progmodes/autoconf.el (autoconf-definition-regexp)
8077 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8078 Handle a _ with symbol syntax.
8079 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8080
c9990474
SM
8081 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8082 Consolidate declaration.
1d5963cc
SM
8083 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8084 the declaration.
8085 (ada-create-syntax-table): Remove.
8086 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8087 already has the right syntax nowadays.
8088 (ada-goto-next-word): Don't change the syntax of "_".
8089
8090 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8091 with-wrapper-hook.
8092
72d3cfca
SS
80932013-05-08 Sam Steingold <sds@gnu.org>
8094
8095 * thingatpt.el (thing-at-point): Accept optional second argument
8096 NO-PROPERTIES to strip the text properties from the return value.
8097 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8098 to `thing-at-point' instead of stripping the properties ourselves.
8099 Also, when `thing-at-point' fails to find a url, prepend "http://"
8100 to the filename at point on the assumption that the user is
8101 pointing at something like gnu.org/gnu.
8102
5cb15713
JB
81032013-05-08 Juanma Barranquero <lekktu@gmail.com>
8104
8105 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8106 * faces.el (crm-separator):
8107 Silence byte-compiler.
8108
8109 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8110 (tool-bar-map): Remove unneeded defvars.
8111
ea78b95b
LL
81122013-05-08 Leo Liu <sdl.web@gmail.com>
8113
8114 Re-work a fix for bug#10994 based on Le Wang's patch.
8115 * ido.el (ido-remove-consecutive-dups): New helper.
8116 (ido-completing-read): Use it.
8117 (ido-chop): Revert fix for bug#10994.
8118
dc7466df
AS
81192013-05-08 Adam Spiers <emacs@adamspiers.org>
8120
8121 * cus-edit.el (custom-save-variables):
8122 Pretty-print long values. (Bug#14187)
8123
9ecf672a
GM
81242013-05-08 Glenn Morris <rgm@gnu.org>
8125
8126 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8127 (m4-mode-syntax-table): Init in the defvar.
8128 (m4-mode-abbrev-table): Let define-derived-mode define it.
8129
3f555be8
TT
81302013-05-08 Tom Tromey <tromey@redhat.com>
8131
8132 * progmodes/m4-mode.el (m4-mode-syntax-table):
8133 Do not treat "_" as word constituent. (Bug#14167)
8134
7cc8ae06
GM
81352013-05-07 Glenn Morris <rgm@gnu.org>
8136
4f58bc06
GM
8137 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8138 Remove explicit eshell-isearch-cancel-map.
8139
7cc8ae06
GM
8140 * progmodes/f90.el (f90-smart-end-names): New option.
8141 (f90-smart-end): Doc fix.
8142 (f90-end-block-optional-name): New constant.
8143 (f90-block-match): Respect f90-smart-end-names.
8144
ceb57e59
SM
81452013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8146
8147 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8148 about implicit semi-colons (bug#14218).
8149
4e3f9230
YM
81502013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8151
8152 * frame.el (display-monitor-attributes-list)
8153 (frame-monitor-attributes): New functions.
8154
203a5572
LL
81552013-05-06 Leo Liu <sdl.web@gmail.com>
8156
8157 * progmodes/octave.el (octave-syntax-propertize-function): Change
8158 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8159 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8160 (octave-completion-at-point): Rename from
203a5572
LL
8161 octave-completion-at-point-function.
8162 (inferior-octave-directory-tracker): Robustify.
8163 (octave-text-functions): Remove and fix its uses. No such things
8164 any more.
8165
ee6cff99
SM
81662013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * emacs-lisp/trace.el (trace--display-buffer): New function.
8169 (trace-make-advice): Use it.
8170
32985194
JL
81712013-05-06 Juri Linkov <juri@jurta.org>
8172
8173 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8174 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8175 Doc fix.
8176 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8177 in the help string. (Bug#12985)
8178
a1c700de
KD
81792013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8180
8181 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8182
c67c0839
SM
81832013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8184
323885fd
SM
8185 * progmodes/perl-mode.el: Add support for here documents.
8186 (perl-syntax-propertize-function): Match here-doc markers.
8187 (perl-syntax-propertize-special-constructs): Find their end.
8188 (perl-imenu-generic-expression): Use [:alnum:].
8189
c67c0839
SM
8190 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8191 (advice--add-function): Refresh the advice if already present
8192 (bug#14317).
8193
d491e7a8
IA
81942013-05-06 Ivan Andrus <darthandrus@gmail.com>
8195
8196 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8197
ddf9925e
GM
81982013-05-06 Glenn Morris <rgm@gnu.org>
8199
7cc3af27
GM
8200 * w32-fns.el (w32-charset-info-alist): Declare.
8201
16e343d6
GM
8202 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8203 of its defcustom properties.
8204 (eshell-cmpl-initialize): No need to load pcomplete.
8205
7d889a47
GM
8206 * generic-x.el: No need to require comint when compiling.
8207
ddf9925e
GM
8208 * net/eudc-export.el: Make it loadable without bbdb.
8209 (top-level): Use require rather than load-library.
8210 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8211 (eudc-batch-export-records-to-bbdb)
8212 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8213 Require bbdb.
8214
1e2c18df
SM
82152013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8218 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8219 some tweaks, instead.
8220
02502a5f
LL
82212013-05-05 Leo Liu <sdl.web@gmail.com>
8222
8223 * progmodes/octave.el (octave-font-lock-keywords)
8224 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8225 (inferior-octave-send-list-and-digest): Improve error message.
8226 (octave-mode, inferior-octave-mode): Use setq-local.
8227 (octave-help): Set info-lookup-mode.
8228
0dc04f42
RS
82292013-05-05 Richard Stallman <rms@gnu.org>
8230
6c54491c
RS
8231 * vc/compare-w.el (compare-windows-whitespace):
8232 Treat no-break space as whitespace.
8233
0dc04f42
RS
8234 * mail/rmailsum.el (rmail-summary-rmail-update):
8235 Detect empty summary and don't change selected message.
8236 (rmail-summary-goto-msg): Likewise.
8237
df8f35df
RS
8238 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8239 Doc fixes, rename args.
8240
5356e1a3
AM
82412013-05-05 Alan Mackenzie <acm@muc.de>
8242
8243 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8244
d44014cb
JL
82452013-05-05 Juri Linkov <juri@jurta.org>
8246
8247 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8248 to not add the length of the summary segment to the return value.
8249 (Bug#14125)
8250
c129b51f
LL
82512013-05-05 Leo Liu <sdl.web@gmail.com>
8252
8253 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8254 (inferior-octave-output-filter): Remove.
8255 (octave-send-region, inferior-octave-startup): Fix callers.
8256 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8257 (octave-binary-file-extensions): New user variable.
8258 (octave-find-definition): Confirm if opening binary files.
8259 (octave-help-file): Use octave-find-definition to get the binary
8260 confirmation.
8261 (octave-help): Adjust for octave-help-file change.
8262
aa7dab97
SM
82632013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8266 Merge the two entries that handle function definitions.
8267 (pascal--syntax-propertize): New const.
8268 (pascal-mode): Use it. Use setq-local.
8269
fd3a9a6b
GM
82702013-05-04 Glenn Morris <rgm@gnu.org>
8271
8272 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8273 (diary-from-outlook): Respect diary-from-outlook-function.
8274
30c7e542
SM
82752013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8276
8277 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8278 Move the declaration from C.
8279 (read-minibuffer, eval-minibuffer): Move from C.
8280 (completion-setup-function): Avoid minibuffer-completion-contents.
8281
b54f978b
LL
82822013-05-03 Leo Liu <sdl.web@gmail.com>
8283
8284 * progmodes/octave.el (octave-font-lock-keywords): Do not
8285 dehighlight 'end' in comments or strings.
30c7e542
SM
8286 (octave-completing-read, octave-goto-function-definition):
8287 New helpers.
d4d0f9b3
LL
8288 (octave-help-buffer): New user variable.
8289 (octave-help-file, octave-help-function): New button types.
8290 (octave-help): New command and bind it to C-h ;.
8291 (octave-find-definition): New command and bind it to M-.
d74a1581 8292 (user-error): Alias to error if not defined.
b54f978b 8293
27135018
LL
82942013-05-02 Leo Liu <sdl.web@gmail.com>
8295
8296 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8297 for \. (bug#14332)
8298 (octave-font-lock-keywords): Include [ and {.
8299
0d634d3a
LL
83002013-05-02 Leo Liu <sdl.web@gmail.com>
8301
8302 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8303 (inferior-octave): Remove calling comint-mode and return the buffer.
8304 (inferior-octave-startup): Cosmetic changes.
8305
b4c8295e
LL
83062013-05-02 Leo Liu <sdl.web@gmail.com>
8307
30c7e542
SM
8308 * progmodes/octave.el (octave-syntax-propertize-function):
8309 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8310
f12ad6ec
GM
83112013-05-02 Glenn Morris <rgm@gnu.org>
8312
8313 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8314 * desktop.el (vc-dir-mode): Just autoload it here.
8315
30cac1e0
AM
83162013-05-02 Alan Mackenzie <acm@muc.de>
8317
8318 Eliminate variable c-standard-font-lock-fontify-region-function.
8319 * progmodes/cc-mode.el
8320 (c-standard-font-lock-fontify-region-function): Remove.
8321 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8322
d8ef28b1
LL
83232013-05-01 Leo Liu <sdl.web@gmail.com>
8324
2640d52e 8325 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8326 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8327 variables were removed from Octave in 2007.
d8ef28b1
LL
8328 (inferior-octave-startup): Fix uses.
8329 (comint-line-beginning-position): Remove compatibility code for
8330 emacs 21.
8331
ac63ec89
JL
83322013-05-01 Juri Linkov <juri@jurta.org>
8333
8334 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8335
9e9be37c
JL
83362013-05-01 Juri Linkov <juri@jurta.org>
8337
8338 * comint.el (comint-previous-matching-input): Don't print message
8339 "History item: %d" when `isearch-mode' is active.
8340 (comint-history-isearch-message): Print message "History item: %d"
8341 when `comint-input-ring-index' is not empty and this function is
8342 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8343
9b92c13b
LL
83442013-05-01 Leo Liu <sdl.web@gmail.com>
8345
8346 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8347 definitions. Use completion-at-point to insert keywords.
8348 (octave-abbrev-start): Remove.
8349 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8350
b12d33d7
LL
83512013-04-30 Leo Liu <sdl.web@gmail.com>
8352
8353 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8354 change.
8355
3d1c39fa
AM
83562013-04-30 Alan Mackenzie <acm@muc.de>
8357
8358 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8359 * progmodes/cc-engine.el (c-back-over-member-initializers):
8360 new function.
3d1c39fa
AM
8361 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8362 (most) member init lists.
8363
5147fc17
RS
83642013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8365
8366 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8367 variable.
8368
5b78d7fc
LL
83692013-04-30 Leo Liu <sdl.web@gmail.com>
8370
8371 * progmodes/octave.el (octave-variables): Remove. No builtin
8372 variables any more. All converted to functions.
8373 (octave-font-lock-keywords, octave-completion-at-point-function):
8374 Fix uses.
8375 (octave-font-lock-texinfo-comment): New user variable.
8376 (octave-texinfo-font-lock-keywords): New variable for texinfo
8377 comment block.
8378 (octave-function-comment-block): New face.
8379 (octave-font-lock-texinfo-comment): New function.
8380 (octave-mode): Font lock texinfo comment block.
8381
38d8527b
LL
83822013-04-29 Leo Liu <sdl.web@gmail.com>
8383
8384 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8385 indexing expression.
8386 (octave-continuation-string): Do not use \.
8387 (inferior-octave-complete-impossible): Remove.
8388 (inferior-octave-completion-table)
8389 (inferior-octave-completion-at-point): Remove its uses.
8390 (inferior-octave-startup): completion_matches was introduced to
8391 Octave in 1996 so safe to assume it.
8392 (octave-function-file-comment): Improve to follow how Octave does it.
8393 (octave-update-function-file-comment): Tweak.
8394
2ec12cb0
LL
83952013-04-29 Leo Liu <sdl.web@gmail.com>
8396
8397 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8398 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8399 (octave-function-file-comment): Fix typo.
8400 (octave-sync-function-file-names): Use read-char-choice.
8401
6eaed048
JB
84022013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8403
8404 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8405 to t for the less important warnings.
8406
3ffa2d4f
DH
84072013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8408
8409 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8410
685c9501
GM
84112013-04-27 Glenn Morris <rgm@gnu.org>
8412
8413 * vc/log-view.el (log-view-current-entry):
8414 Treat "---" separator lines as part of the following rev. (Bug#14169)
8415
0208ede7
JL
84162013-04-27 Juri Linkov <juri@jurta.org>
8417
8418 * subr.el (read-number): Doc fix about using it by interactive
8419 code letter `n'. (Bug#14254)
8420
5db9dace
JL
84212013-04-27 Juri Linkov <juri@jurta.org>
8422
8423 * desktop.el (desktop-auto-save-timeout): New option.
8424 (desktop-file-checksum): New variable.
8425 (desktop-save): Add optional arg `auto-save' and don't auto-save
8426 if nothing changed.
8427 (desktop-auto-save-timer): New variable.
8428 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8429 (after-init-hook): Call `desktop-auto-save-set-timer'.
8430 Suggested by Reuben Thomas <rrt@sc3d.org> in
8431 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8432
b7260dd4
LL
84332013-04-27 Leo Liu <sdl.web@gmail.com>
8434
8435 * progmodes/octave.el (octave-function-file-p)
8436 (octave-skip-comment-forward, octave-function-file-comment)
8437 (octave-update-function-file-comment): New functions.
8438 (octave-mode-map): Bind C-c ; to
8439 octave-update-function-file-comment.
8440 (octave-mode-menu): Add octave-update-function-file-comment.
8441 (octave-mode, inferior-octave-mode): Fix doc-string.
8442 (octave-insert-defun): Conform to Octave's coding convention.
8443 (Bug#14285)
8444
8445 * files.el (basic-save-buffer): Don't let errors in
8446 before-save-hook prevent saving buffer.
8447
c46da669
RW
84482013-04-20 Roland Winkler <winkler@gnu.org>
8449
8450 * faces.el (read-face-name): Use completing-read if arg multiple
8451 is nil.
8452
a81ee1eb
IL
84532013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8454
8455 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8456 displayed, move point to after the totals line.
8457 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8458 for the details.
8459
4fac34ce
SM
84602013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8463 Add current dir to the load-path.
8464 (package-generate-autoloads): Don't rely on
8465 autoload-ensure-default-file.
8466
f6bfc063
RT
84672013-04-26 Reuben Thomas <rrt@sc3d.org>
8468
d40ab5cf
BG
8469 * textmodes/remember.el (remember-store-in-files): Document that
8470 the file name format is passed to `format-time-string'.
f6bfc063 8471
e55d3b04
LL
84722013-04-26 Leo Liu <sdl.web@gmail.com>
8473
8474 * progmodes/octave.el (octave-sync-function-file-names): New function.
8475 (octave-mode): Use it in before-save-hook.
8476
e53052d3
SM
84772013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8478
140ef50c
SM
8479 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8480 (bug#14274).
8481
e53052d3
SM
8482 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8483 \n and comment, even if it's not an implicit ; (bug#14218).
8484
af80458d 84852013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8486
8487 * subr.el (read-number): Once more use `read' rather than
8488 `string-to-number', to trap non-numeric input. (Bug#14254)
8489
af80458d 84902013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8491
8492 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8493 Use `syntax-multiline' text property consistently instead of
8a621d53 8494 `font-lock-multiline'. (Bug#14237)
70203c2e 8495
e6ea1f6c
GM
84962013-04-26 Glenn Morris <rgm@gnu.org>
8497
8498 * emacs-lisp/shadow.el (list-load-path-shadows):
8499 No longer necessary to check for duplicate simple.el, since
8500 2012-07-07 change to init_lread to not include installation lisp
8501 directories in load-path when running uninstalled. (Bug#14270)
8502
070ccca4
LL
85032013-04-26 Leo Liu <sdl.web@gmail.com>
8504
8505 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8506 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8507 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8508 octave-in-string-or-comment-p.
8509 (octave-in-comment-p, octave-in-string-p)
8510 (octave-in-string-or-comment-p): Replace defsubst with defun.
8511
9d1c5fb6
PE
85122013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8513
8514 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8515
c034abda
BG
85162013-04-25 Bastien Guerry <bzg@gnu.org>
8517
8518 * textmodes/remember.el (remember-data-directory)
8519 (remember-directory-file-name-format): Fix custom types.
8520
584ea277
LL
85212013-04-25 Leo Liu <sdl.web@gmail.com>
8522
e53052d3
SM
8523 * progmodes/octave.el (octave-completion-at-point-function):
8524 Make use of inferior octave process.
584ea277
LL
8525 (octave-initialize-completions): Remove.
8526 (inferior-octave-completion-table): New function.
8527 (inferior-octave-completion-at-point): Use it.
8528 (octave-completion-alist): Remove.
8529
1693b06a
SM
85302013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8533 (opascal-mode-syntax-table): New var.
8534 (opascal-literal-kind, opascal-is-literal-end)
8535 (opascal-literal-token-at): Rewrite.
8536 (opascal--literal-start-re, opascal-font-lock-keywords)
8537 (opascal--syntax-propertize): New constants.
8538 (opascal-font-lock-defaults): Adjust.
8539 (opascal-mode): Use them. Set comment-<foo> variables as well.
8540 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8541 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8542 (delphi-other-face, opascal-other-face): Remove face variables.
8543 (opascal-save-state): Remove macro.
8544 (opascal-fontifying-progress-step): Remove constant.
8545 (opascal--ignore-changes): Remove var.
8546 (opascal-set-token-property, opascal-parse-next-literal)
8547 (opascal-is-stable-literal, opascal-complete-literal)
8548 (opascal-is-literal-start, opascal-face-of)
8549 (opascal-parse-region, opascal-parse-region-until-stable)
8550 (opascal-fontify-region, opascal-after-change)
8551 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8552 (opascal-debug-parse-region, opascal-debug-parse-window)
8553 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8554 (opascal-debug-fontify-buffer): Remove.
8555 (opascal-debug-mode-map): Adjust accordingly.
8556
be64c05d
LL
85572013-04-25 Leo Liu <sdl.web@gmail.com>
8558
8559 Merge octave-mod.el and octave-inf.el into octave.el with some
8560 cleanups.
8561 * progmodes/octave.el: New file renamed from octave-mod.el.
8562 * progmodes/octave-inf.el: Merged into octave.el.
8563 * progmodes/octave-mod.el: Renamed to octave.el.
8564
d79d37bd
TH
85652013-04-25 Tassilo Horn <tsdh@gnu.org>
8566
8567 * textmodes/reftex-vars.el
8568 (reftex-label-ignored-macros-and-environments): New defcustom.
8569
8570 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8571
ced3fc5d
SM
85722013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8575 (smie-indent-keyword): Improve the check to ensure that the next
8576 comment is really on the same line.
8577 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8578
8579 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8580 semi-colons if the line is not otherwise empty (bug#14218).
8581
1c141dad
GM
85822013-04-25 Glenn Morris <rgm@gnu.org>
8583
8584 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8585
5058062a
SM
85862013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * progmodes/opascal.el (opascal-set-token-property): Rename from
8589 opascal-set-text-properties and only set `token' (bug#14134).
8590 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8591 (opascal-literal-text-properties): Remove.
8592 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8593 Adjust callers.
8594
5db9dace 85952013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8596
8597 * textmodes/remember.el (remember-handler-functions): Add an
8598 option for a new handler `remember-store-in-files'.
8599 (remember-data-directory, remember-directory-file-name-format):
8600 New options.
8601 (remember-store-in-files): New function to store remember notes
8602 as separate files within a directory.
8603
4391916c
MH
86042013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8605
8606 * progmodes/compile.el (compilation-next-error-function):
8607 Pass "formats" to compilation-find-file (bug#11777).
8608
bb7cdf58
GM
86092013-04-24 Glenn Morris <rgm@gnu.org>
8610
3b8fe752 8611 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8612 * vc/vc-hg.el (vc-hg-print-log):
8613 * vc/vc-svn.el (vc-svn-print-log):
8614 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8615
bb7cdf58
GM
8616 * vc/vc-bzr.el (vc-bzr-print-log):
8617 * vc/vc-cvs.el (vc-cvs-print-log):
8618 * vc/vc-git.el (vc-git-print-log):
8619 * vc/vc-hg.el (vc-hg-print-log):
8620 * vc/vc-mtn.el (vc-mtn-print-log):
8621 * vc/vc-rcs.el (vc-rcs-print-log):
8622 * vc/vc-sccs.el (vc-sccs-print-log):
8623 * vc/vc-svn.el (vc-svn-print-log):
8624 * vc/vc.el (vc-print-log-internal): Doc fixes.
8625
b46a056e
GM
86262013-04-23 Glenn Morris <rgm@gnu.org>
8627
8628 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8629 Remove venerable code attempting to avoid substitute-command-keys.
8630
0aecf718
TH
86312013-04-23 Tassilo Horn <tsdh@gnu.org>
8632
4391916c
MH
8633 * textmodes/reftex-vars.el (reftex-label-regexps):
8634 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8635
117f94cf
SM
86362013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8637
4391916c 8638 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8639 Use lexical-binding.
8640 (jit-lock-force-redisplay): Use markers, check buffer's continued
8641 existence and beware narrowed buffers.
8642 (jit-lock-fontify-now): Adjust call accordingly.
8643
1d829c64
SM
86442013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8645
8646 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8647 to avoid misleading the user.
8648
72d548a9
LL
86492013-04-22 Leo Liu <sdl.web@gmail.com>
8650
8651 * info-look.el: Prefer latex2e.info. (Bug#14240)
8652
d0853629
MA
86532013-04-22 Michael Albinus <michael.albinus@gmx.de>
8654
8655 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8656
8657 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8658 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8659 (tramp-set-completion-function, tramp-parse-putty):
8660 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8661 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8662 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8663 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8664 (tramp-call-local-coding-command): Use `tramp-call-process'
8665 instead of `tramp-compat-call-process'.
8666
8667 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8668 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8669 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8670 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8671 (tramp-maybe-send-script): Check for Perl binary.
8672 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8673
38cc0210
DU
86742013-04-22 Daiki Ueno <ueno@gnu.org>
8675
8676 * epg.el (epg-context-pinentry-mode): New function.
8677 (epg-context-set-pinentry-mode): New function.
8678 (epg--start): Pass --pinentry-mode option to gpg command.
8679
cc641ee1
XF
86802013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8681
02d844b5 8682 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8683 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8684 `completion-at-point'. (Bug#13774)
5d4e5c31 8685
cc641ee1
XF
8686 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8687 default key binding for `describe-distribution' has been moved to
8688 `C-h C-o'. (Bug#13970)
8689
1b42ee43
GM
86902013-04-21 Glenn Morris <rgm@gnu.org>
8691
8692 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8693 Add doc strings.
8694 (vc-print-log): Clarify interactive prompt.
8695
a6d63d97
GM
86962013-04-20 Glenn Morris <rgm@gnu.org>
8697
8698 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8699 No longer include timestamp etc information.
8700
d7f5c16f
RW
87012013-04-20 Roland Winkler <winkler@gnu.org>
8702
8703 * faces.el (read-face-name): Bug fix, return just one face if arg
8704 multiple is nil. (Bug#14209)
8705
bcd7a0a4
SM
87062013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8709 (remove-function): Autoload.
8710
8711 * comint.el (comint-redirect-original-filter-function): Remove.
8712 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8713 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8714 (vc-cvs-annotate-command):
bcd7a0a4
SM
8715 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8716 * progmodes/prolog.el (prolog-consult-compile):
8717 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8718 Use add/remove-function instead.
8719 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8720 (gud-tooltip-process-output, gud-tooltip-tips):
8721 Use add/remove-function instead.
8722 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8723 (scheme-interaction-mode, exit-scheme-interaction-mode):
8724 Use add/remove-function instead.
8725
8726 * vc/vc-dispatcher.el: Use lexical-binding.
8727 (vc--process-sentinel): Rename from vc-process-sentinel.
8728 Change last arg to be the code to run. Don't use vc-previous-sentinel
8729 and vc-sentinel-commands any more.
8730 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8731 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8732
e36b2d20 87332013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8734
bcd7a0a4 8735 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8736 Handle function names with a single character. (Bug#14111)
4d3268ba 8737
781b4af6 87382013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8739
8740 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8741 for subroutines defined in an eval (bug#14182).
8742
7d688336
TV
87432013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8744
8745 * bookmark.el (bookmark-completing-read): Improve handling of empty
8746 string (bug#14176).
8747
31dcede0
SM
87482013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8751
adc31213
FEG
87522013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8753
8754 New faster Imenu implementation (bug#14058).
8755 * progmodes/python.el:
8756 (python-imenu-prev-index-position):
8757 (python-imenu-format-item-label-function)
8758 (python-imenu-format-parent-item-label-function)
8759 (python-imenu-format-parent-item-jump-label-function):
8760 New vars.
8761 (python-imenu-format-item-label)
8762 (python-imenu-format-parent-item-label)
8763 (python-imenu-format-parent-item-jump-label)
8764 (python-imenu--put-parent, python-imenu--build-tree)
8765 (python-imenu-create-index, python-imenu-create-flat-index)
8766 (python-util-popn): New functions.
8767 (python-mode): Set imenu-create-index-function to
8768 python-imenu-create-index.
8769
cdca8255
SM
87702013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * winner.el (winner-active-region): Use region-active-p, activate-mark
8773 and deactivate-mark (bug#14225).
8774
8775 * simple.el (deactivate-mark): Don't inline it.
8776
beb42340
MA
87772013-04-18 Michael Albinus <michael.albinus@gmx.de>
8778
8779 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8780
fc7f4d7e
TH
87812013-04-18 Tassilo Horn <tsdh@gnu.org>
8782
8783 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8784 file extensions from the archive-mode entry in order to prefer
8785 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8786
29f47822
LL
87872013-04-18 Leo Liu <sdl.web@gmail.com>
8788
8789 * bindings.el (help-event-list): Add ?\?.
8790
d36ed1c8
SM
87912013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * subr.el (with-wrapper-hook): Declare obsolete.
8794 * simple.el (filter-buffer-substring-function): New hook.
8795 (filter-buffer-substring): Use it.
8796 (filter-buffer-substring-functions): Mark obsolete.
8797 * minibuffer.el (completion-in-region-function): New hook.
8798 (completion-in-region): Use it.
8799 (completion-in-region-functions): Mark obsolete.
8800 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8801 * abbrev.el (abbrev-expand-function): New hook.
8802 (expand-abbrev): Use it.
8803 (abbrev-expand-functions): Mark obsolete.
8804 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8805 and :filter-return.
8806
04754d36
FEG
88072013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8808
8809 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8810 and do not care about match data.
8811
dd8791e9
SM
88122013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8815 completion tables when completing error conditions and
8816 `declare' arguments.
8817 (lisp-complete-symbol, field-complete): Mark as obsolete.
8818 (check-parens): Unmatched parens are user errors.
8819 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8820
ffe54a13
AM
88212013-04-17 Michal Nazarewicz <mina86@mina86.com>
8822
dd8791e9
SM
8823 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8824 command changed buffer (ie. `flyspell-pre-buffer' is not current
8825 buffer), which prevents making decisions based on invalid value of
8826 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8827 cause an error when `flyspell-pre-point' was nil after switching
8828 buffers.
8829 (flyspell-post-command-hook): No longer needs to change buffers when
8830 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8831
ec7e39f2
AM
88322013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8833
8834 * textmodes/ispell.el (ispell-add-per-file-word-list):
8835 Fix `flyspell-correct-word-before-point' error when accepting
8836 words and `coment-padding' is an integer by using
8837 `comment-normalize-vars' (Bug #14214).
8838
083850a6
FEG
88392013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8840
8841 New defun movement commands.
8842 * progmodes/python.el (python-nav--syntactically)
8843 (python-nav--forward-defun, python-nav-backward-defun)
8844 (python-nav-forward-defun): New functions.
8845
619ed6e1
FEG
88462013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8847
8848 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8849 (python-syntax-context): Use named compiler-macro for backwards
8850 compatibility with Emacs 24.x.
8851
7a1beb6c
LL
88522013-04-17 Leo Liu <sdl.web@gmail.com>
8853
8854 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8855 octave-hide-process-buffer.
8856
2d3fa3e5
SM
88572013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8858
8859 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8860 (bug#14216).
8861
7ce5be54
JPG
88622013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8863
8864 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8865 Fix adjustment of offset when receiving incomplete responses from GDB
8866 (bug#14129).
8867
351edece
SM
88682013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8869
8870 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8871 python-mode-abbrev-table.
8872 (python-skeleton-define): Adjust accordingly.
8873 (python-mode-abbrev-table): New table that inherits from it so that
8874 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8875
8876 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8877 (abbrev-symbol): Use it.
8878 (abbrev--before-point): Use it since we already handle inheritance.
8879
613f9481
LL
88802013-04-16 Leo Liu <sdl.web@gmail.com>
8881
8882 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8883 binding to info-lookup-symbol.
8884
51646b62
JB
88852013-04-16 Juanma Barranquero <lekktu@gmail.com>
8886
8887 * minibuffer.el (completion--twq-all):
8888 * term/ns-win.el (ns-initialize-window-system):
8889 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8890
efb3f01d
SM
88912013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8892
36c0a301
SM
8893 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8894 global bindings.
8895
efb3f01d
SM
8896 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8897
fb549d64
DG
88982013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8899
8900 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8901 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8902 to nil.
8903 (ruby-end-of-defun): Remove the unused arg, change the docstring
8904 to reflect that this function is only used as the value of
8905 `end-of-defun-function'.
8906 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8907 to reflect an earlier change that beginning/end-of-defun functions
8908 jump between methods in a class definition, as well as top-level
8909 functions.
8910
21e8fe2f
SM
89112013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * minibuffer.el (minibuffer-complete): Don't just scroll
8914 a *Completions* that's been iconified.
8915 (minibuffer-force-complete): Make sure repetitions do cycle when going
8916 through completion-in-region -> minibuffer-complete.
8917
20e527d0
AM
89182013-04-15 Alan Mackenzie <acm@muc.de>
8919
8920 Correct the placement of c-cpp-delimiters when there're #s not at
8921 col 0.
8922
8923 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8924 place a submatch around the #.
21e8fe2f
SM
8925 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8926 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8927 on the #, not BOL.
8928
dabefae5
SM
89292013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8932 (advice--member-p): New arg `name'.
8933 (advice--add-function, advice-member-p): Use it (bug#14202).
8934
85c9ab64
AM
89352013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8936
8937 Reformulate java imenu-generic-expression.
8938 The old expression contained ill formed regexps.
8939
8940 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8941 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8942 (cc-imenu-java-method-arg-regexp): New defconsts.
8943 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8944 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8945 handling of spaces in the regexp.
8946
0f821d99
AM
89472013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8948
8949 * textmodes/ispell.el (ispell-command-loop): Remove
8950 flyspell highlight of a word when ispell accepts it (bug #14178).
8951
eb922adf
MA
89522013-04-15 Michael Albinus <michael.albinus@gmx.de>
8953
8954 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8955 uses code from the previous `ange-ftp-run-real-handler'.
8956 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8957 only in case that function exist. This is needed for proper
8958 unloading of Tramp.
8959
4d9a0979
TH
89602013-04-15 Tassilo Horn <tsdh@gnu.org>
8961
8962 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8963
8964 * textmodes/reftex.el (reftex-compile-variables): Use it.
8965
a829b0dc
SM
89662013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8967
91e8293c
SM
8968 * files.el (normal-mode): Only use default major-mode if no other mode
8969 was specified.
8970
830aed4d
SM
8971 * emacs-lisp/trace.el (trace-values): New function.
8972
a829b0dc
SM
8973 * files.el: Allow : in local variables (bug#14089).
8974 (hack-local-variable-regexp): New var.
8975 (hack-local-variables-prop-line, hack-local-variables): Use it.
8976
7ae9f0fb
RW
89772013-04-13 Roland Winkler <winkler@gnu.org>
8978
8979 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8980 data before it gets modified by bibtex-beginning-of-entry.
8981
6646e848
RW
89822013-04-13 Roland Winkler <winkler@gnu.org>
8983
8984 * textmodes/bibtex.el (bibtex-url): Doc fix.
8985
89862013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8987
8988 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8989 does not visit a BibTeX file, exclude it from the list of buffers
8990 returned by bibtex-initialize.
8991
0aa3616e
SB
89922013-04-13 Stephen Berman <stephen.berman@gmx.net>
8993
8994 * window.el (split-window): Remove interactive form, since as a
8995 command this function is a special case of split-window-below.
8996 Correct doc string.
8997
011cddd6
RW
89982013-04-12 Roland Winkler <winkler@gnu.org>
8999
9000 * faces.el (read-face-name): Do not override value of arg default.
9001 Allow single faces and strings as default values. Remove those
9002 elements from return value that are not faces.
9003 (describe-face): Simplify.
9004 (face-at-point): New optional args thing and multiple so that this
9005 function can provide the same functionality previously provided by
9006 read-face-name.
9007 (make-face-bold, make-face-unbold, make-face-italic)
9008 (make-face-unitalic, make-face-bold-italic, invert-face)
9009 (modify-face, read-face-and-attribute): Use face-at-point.
9010
9011 * cus-edit.el (customize-face, customize-face-other-window)
9012 * cus-theme.el (custom-theme-add-face)
9013 * face-remap.el (buffer-face-set)
9014 * facemenu.el (facemenu-set-face): Use face-at-point.
9015
f24e0036
MA
90162013-04-12 Michael Albinus <michael.albinus@gmx.de>
9017
9018 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9019
da3cda2d
TH
90202013-04-10 Tassilo Horn <tsdh@gnu.org>
9021
9022 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9023 off leading { and trailing } from field values.
9024
15e54145
SM
90252013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9026
78ce603d
SM
9027 * emacs-lisp/timer.el (timer--check): New function.
9028 (timer--time, timer-set-function, timer-event-handler): Use it.
9029 (timer-set-idle-time): Simplify.
9030 (timer--activate): CSE.
9031 (timer-event-handler): Give more info in error message.
9032 (internal-timer-start-idle): New function, moved from C.
9033
15e54145
SM
9034 * mpc.el (mpc-proc): Add `restart' argument.
9035 (mpc-proc-cmd): Use it.
9036 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9037 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9038 less often.
9039
7144c627
MY
90402013-04-10 Masatake YAMATO <yamato@redhat.com>
9041
9042 * progmodes/sh-script.el: Implement `sh-mode' own
9043 `add-log-current-defun-function' (bug#14112).
9044 (sh-current-defun-name): New function.
9045 (sh-mode): Use the function.
9046
b39792eb
BG
90472013-04-09 Bastien Guerry <bzg@gnu.org>
9048
9049 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9050
8acdeb71
SM
90512013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9052
6fcdab68
SM
9053 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9054
8acdeb71
SM
9055 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9056 timer (bug#14156).
9057
e3e7b504
NF
90582013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9059
9060 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9061 declaration.
9062
201bb296
LL
90632013-04-07 Leo Liu <sdl.web@gmail.com>
9064
9065 * pcmpl-x.el: New file.
9066
ebb19708
DA
90672013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9068
9069 Do not set x-display-name until X connection is established.
9070 This is needed to prevent from weird situation described at
9071 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9072 * frame.el (make-frame): Set x-display-name after call to
9073 window system initialization function, not before.
9074 * term/x-win.el (x-initialize-window-system): Add optional
9075 display argument and use it.
9076 * term/w32-win.el (w32-initialize-window-system):
9077 * term/ns-win.el (ns-initialize-window-system):
9078 * term/pc-win.el (msdos-initialize-window-system):
9079 Add compatible optional display argument.
9080
33bb237a
EZ
90812013-04-06 Eli Zaretskii <eliz@gnu.org>
9082
9083 * files.el (normal-backup-enable-predicate): On MS-Windows and
9084 MS-DOS compare truenames of temporary-file-directory and of the
9085 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9086 don't fail comparison by compare-strings. Also, compare file
9087 names case-insensitively on MS-Windows and MS-DOS.
9088
134abf1f
SM
90892013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9092 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9093
d695cb94
DG
90942013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9095
e3e7b504
NF
9096 * whitespace.el (whitespace-color-on, whitespace-color-off):
9097 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9098
f4ad7ea1 90992013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9100
9101 * ispell.el (ispell-set-spellchecker-params):
9102 Really set `ispell-args' for all equivs.
9103
632556e4
SM
91042013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * ido.el (ido-completions): Use extra elements of ido-decorations
9107 (bug#14143).
9108 (ido-decorations): Update docstring.
9109
2a417372
MA
91102013-04-05 Michael Albinus <michael.albinus@gmx.de>
9111
9112 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9113 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9114 nil during initialization, in order not to miss changes since the
9115 file was opened. (Bug#14140)
9116
fc164b0c
LL
91172013-04-05 Leo Liu <sdl.web@gmail.com>
9118
9119 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9120
0ccecc08
JB
91212013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9122
9123 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9124
51af1aa2
GM
91252013-04-04 Glenn Morris <rgm@gnu.org>
9126
9127 * electric.el (electric-pair-inhibit-predicate): Add :version.
9128
b208ebc6
SM
91292013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9132 when a package is required several times (bug#14082).
9133
f3d3eaf0
RW
91342013-04-04 Roland Winkler <winkler@gnu.org>
9135
9136 * faces.el (read-face-name): Behave as promised by the docstring.
9137 Assume that arg default is a list of faces.
9138 (describe-face): Call read-face-name with list of default faces.
9139
2575da50
TV
91402013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9141
9142 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9143 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9144 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9145 the header.
9146 (bookmark-exit-hook-internal): Save even if list is empty.
9147
397703b4
YH
91482013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9149
9150 * emacs-lisp/package.el (package-pinned-packages): New var.
9151 (package--add-to-archive-contents): Obey it (bug#14118).
9152
691e26ae
AM
91532013-04-03 Alan Mackenzie <acm@muc.de>
9154
8a621d53
JB
9155 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9156 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9157
9158 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9159 parameter `not-in-delimiter'. Handle being inside comment opener.
9160 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9161 character in case we're typing a '*' after a '/'.
9162 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9163 instead by passing the parameter to c-state-pp-to-literal.
9164
9165 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9166 for elt. 7 of a parse state.
9167
4b725a70
PE
91682013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9169
9170 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9171 * international/latin1-disp.el, international/mule-util.el:
9172 * language/cyril-util.el, language/european.el, language/ind-util.el:
9173 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9174 * language/tibetan.el, language/viet-util.el:
9175 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9176
15c579f0
SM
91772013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9180 (electric-pair-post-self-insert-function): Use it.
9181 (electric-pair-default-inhibit): New function, extracted from
9182 electric-pair-post-self-insert-function.
9183
a77e2924
RW
91842013-03-31 Roland Winkler <winkler@gnu.org>
9185
9186 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9187
2bd8a4a8
SM
91882013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9191
8d3655be 91922013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9193
9194 Un-indent after "pass" and "return" statements (Bug#13888)
9195 * progmodes/python.el (python-indent-block-enders): New var.
9196 (python-indent-calculate-indentation): Use it.
9197
8d3655be 91982013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9199
9200 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9201 defun. Defining it as defalias could introduce too eager
9202 byte-compiler optimization. (Bug#14030)
9203
8d3655be 92042013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9205
9206 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9207
0b1619da
LL
92082013-03-30 Leo Liu <sdl.web@gmail.com>
9209
9210 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9211 (kmacro-execute-from-register): Pass the keyboard macro to
9212 kmacro-call-macro or repeating won't work correctly.
9213
0b938190
TZ
92142013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9215
9216 * progmodes/subword.el: Back to using `forward-symbol'.
9217
9218 * subr.el (forward-whitespace, forward-symbol)
9219 (forward-same-syntax): Move from thingatpt.el.
9220
35710234
LL
92212013-03-29 Leo Liu <sdl.web@gmail.com>
9222
9223 * kmacro.el (kmacro-to-register): New command.
9224 (kmacro-execute-from-register): New function.
9225 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9226
efc0bb73
SM
92272013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 * mpc.el: Use defvar-local and setq-local.
9230 (mpc--proc-connect): Connection failures are not bugs.
9231 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9232 (mpc-volume-map): Bind to the up-events.
9233
75a2f981
TZ
92342013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9235
9236 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9237 instead of `forward-symbol'.
9238
17c781d1
SM
92392013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9242 (edebug--recursive-edit): Use it.
9243 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9244 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9245
f67bfbcf
LL
92462013-03-28 Leo Liu <sdl.web@gmail.com>
9247
9248 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9249
b59f639d
EZ
92502013-03-27 Eli Zaretskii <eliz@gnu.org>
9251
9252 * facemenu.el (list-colors-callback): New defvar.
9253 (list-colors-redisplay): New function.
9254 (list-colors-display): Install list-colors-redisplay as the
9255 revert-buffer-function. (Bug#14063)
9256
f557c1b1
SM
92572013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9258
b1da2957
SM
9259 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9260 and suffixes don't overlap (bug#14061).
9261
f557c1b1
SM
9262 * case-table.el: Use lexical-binding.
9263 (case-table-get-table): New function.
9264 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9265
002668e1
TZ
92662013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9267
9268 * progmodes/subword.el: Add `superword-mode' to do word motion
9269 over symbol_words (parallels and leverages `subword-mode' which
9270 does word motion inside MixedCaseWords).
9271
73572c72
AG
92722013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9273
78b8f320 9274 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9275 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9276
69b2c07e
SM
92772013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9280 Change return value to be a sexp. Delay `get-buffer' to after
9281 restoring the desktop (bug#13951).
9282
08bb5ee2
LL
92832013-03-26 Leo Liu <sdl.web@gmail.com>
9284
9285 * register.el: Move semantic tag handling back to
9286 cedet/semantic/senator.el. (Bug#14052)
9287
8d4c974e
SM
92882013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9289
9290 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9291 into the prompt either (bug#13963).
9292
b234d92c
SM
92932013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9294
9295 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9296 part of "(error-foo)".
9297
ddfa3cb4
JL
92982013-03-24 Juri Linkov <juri@jurta.org>
9299
9300 * replace.el (list-matching-lines-prefix-face): New defcustom.
9301 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9302 `occur-engine' if `face-differs-from-default-p' returns t.
9303 (occur-engine): Add `,' inside backquote construct to evaluate
9304 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9305 Pass `prefix-face' to the functions `occur-context-lines' and
9306 `occur-engine-add-prefix'.
9307 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9308 `prefix-face' and propertize the prefix with `prefix-face'.
9309 (Bug#14017)
9310
7b0e2f85
LL
93112013-03-24 Leo Liu <sdl.web@gmail.com>
9312
9313 * nxml/rng-valid.el (rng-validate-while-idle)
9314 (rng-validate-quick-while-idle): Guard against deleted buffer.
9315 (Bug#13999)
9316
9317 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9318 is the last entry in kill-buffer-hook.
9319
9320 * files.el (kill-buffer-hook): Doc fix.
9321
b3082f49
DG
93222013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9323
b234d92c
SM
9324 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9325 Make it safe-local.
bde73d27 9326
b3082f49
DG
9327 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9328
a320a2db
LL
93292013-03-23 Leo Liu <sdl.web@gmail.com>
9330
7e74b0fb
LL
9331 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9332 Remove.
9333
9334 * nxml/rng-valid.el (rng-validate-mode)
9335 (rng-after-change-function, rng-do-some-validation):
9336 * nxml/rng-maint.el (rng-validate-buffer):
9337 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9338 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9339 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9340 (nxml-extend-after-change-region): Use with-silent-modifications.
9341
a320a2db
LL
9342 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9343 timer-idle-list.
9344
9345 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9346 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9347 timer-idle-list. (Bug#13999)
9348
e38e6780
JL
93492013-03-23 Juri Linkov <juri@jurta.org>
9350
9351 * info.el (info-index-match): New face.
9352 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9353 main pattern and add text properties with the new face to matches
9354 in index entries relative to the beginning of the index entry.
9355 (Bug#14015)
9356
e8cc7880
DE
93572013-03-21 Eric Ludlam <zappo@gnu.org>
9358
9359 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9360 Inhibit read only while inserting objects.
9361
9bb0d822
TZ
93622013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9363
9364 * progmodes/cfengine.el: Update docs to mention
9365 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9366 symbol motion. Remove "_" from the word syntax.
9367
aa703640
TZ
93682013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9369
9370 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9371 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9372
afff09d0
JL
93732013-03-20 Juri Linkov <juri@jurta.org>
9374
9375 * info.el (Info-next-reference-or-link)
9376 (Info-prev-reference-or-link): New functions.
9377 (Info-next-reference, Info-prev-reference): Use them.
9378 (Info-try-follow-nearest-node): Handle footnote navigation.
9379 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9380
9a1ff164
SM
93812013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9384 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9385
2667d15d
PE
93862013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9387
9388 Suppress unnecessary non-ASCII chatter during build process.
9389 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9390 (batch-skkdic-convert): Suppress most of the chatter.
9391 It's not needed so much now that machines are faster,
9392 and its non-ASCII component was confusing; see Dmitry Gutov in
9393 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9394
438b0579
LL
93952013-03-20 Leo Liu <sdl.web@gmail.com>
9396
9397 * ido.el (ido-chop): Fix bug#10994.
9398
c128ab07
DG
93992013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9400
9401 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9402 Remove vars.
9a1ff164
SM
9403 (whitespace-color-on, whitespace-color-off):
9404 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9405
0e6008c5
SM
94062013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9409 remapping in mode-line.
9410 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9411
627b52b0
DG
94122013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9413
9414 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9415 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9416 (whitespace-font-lock-keywords): Change description.
9417 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9418 the constructed keywords instead.
9419 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9420
50c3a20b
LL
94212013-03-19 Leo Liu <sdl.web@gmail.com>
9422
9423 * progmodes/compile.el (compilation-display-error): New command.
9424 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9425 C-o. (Bug#13992)
9426
2aa2157b
PE
94272013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9428
9429 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9430
e477dbfa
JD
94312013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9432
9433 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9434
64ab82d1
MA
94352013-03-18 Michael Albinus <michael.albinus@gmx.de>
9436
9437 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9438
9439 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9440 * net/tramp-gvfs.el (top):
9441 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9442 (tramp-handle-shell-command): Use it.
9443 (tramp-dissect-file-name): Raise an error when hostname is a
9444 method name, and neither method nor user is specified.
9445
9446 * net/trampver.el: Update release number.
9447
33cef733
LL
94482013-03-18 Leo Liu <sdl.web@gmail.com>
9449
9450 Make sure eldoc can be turned off properly.
9451 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9452 eldoc-mode.
9453 (eldoc-display-message-p): Revert last change.
9454 (eldoc-display-message-no-interference-p)
9455 (eldoc-print-current-symbol-info): Tweak.
9456
2167b7b2
TH
94572013-03-18 Tassilo Horn <tsdh@gnu.org>
9458
9459 * doc-view.el (doc-view-new-window-function): Check the new window
9460 overlay's display property instead the char property of the
9461 buffer's first char. Use `with-selected-window' instead of
9462 `save-window-excursion' with `select-window'.
9463 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9464 display property instead the char property of the buffer's first char.
2167b7b2 9465
982efbcd
PE
94662013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9467
9468 Automate the build of ja-dic.el (Bug#13984).
9469 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9470 from the input, rather than assume that it's been done for us by the
9471 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9472 the current date into a ja-dic.el comment, as that complicates
9473 regression testing.
9474
2fcc7665
SM
94752013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * whitespace.el: Fix double evaluation.
9478 (whitespace-space, whitespace-hspace, whitespace-tab)
9479 (whitespace-newline, whitespace-trailing, whitespace-line)
9480 (whitespace-space-before-tab, whitespace-indentation)
9481 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9482 obsolete defvars.
9483 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9484 (whitespace-color-on): Use a single font-lock-add-keywords call.
9485 Fix double-evaluation of face variables.
9486
67c0a6e6
MA
94872013-03-17 Michael Albinus <michael.albinus@gmx.de>
9488
2fcc7665
SM
9489 * net/tramp-adb.el (tramp-adb-parse-device-names):
9490 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9491 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9492
69489f1d
LL
94932013-03-17 Leo Liu <sdl.web@gmail.com>
9494
9495 Extend eldoc to display info in the mode-line. (Bug#13978)
9496 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9497 (eldoc-mode-line-string): New variable.
9498 (eldoc-minibuffer-message): New function.
9499 (eldoc-message-function): New variable.
9500 (eldoc-message): Use it.
9501 (eldoc-display-message-p)
2fcc7665
SM
9502 (eldoc-display-message-no-interference-p):
9503 Support eldoc-post-insert-mode.
69489f1d
LL
9504
9505 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9506 (eval-expression): Run it.
9507
9c44569e
RW
95082013-03-17 Roland Winkler <winkler@gnu.org>
9509
9510 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9511 strings in the list of return values.
9512
327f1f6f
JB
95132013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9514
9515 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9516 radix before checking for HMS forms.
9517
67ed8fcd
LL
95182013-03-16 Leo Liu <sdl.web@gmail.com>
9519
9520 * progmodes/scheme.el: Add indentation and font-locking for λ.
9521 (Bug#13975)
9522
78be8b64 95232013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9524
9525 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9526 token before point (bug#13942).
9527
78be8b64 95282013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9529
95b43468 9530 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9531
98e775e6
EZ
95322013-03-16 Eli Zaretskii <eliz@gnu.org>
9533
9534 * startup.el (command-line-normalize-file-name): Fix handling of
9535 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9536 <xfq.free@gmail.com> in
9537 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9538
2edd6029
MA
95392013-03-15 Michael Albinus <michael.albinus@gmx.de>
9540
9541 Sync with Tramp 2.2.7.
9542
9543 * net/trampver.el: Update release number.
9544
d35f5864
TH
95452013-03-14 Tassilo Horn <tsdh@gnu.org>
9546
e903c210 9547 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9548 (doc-view-insert-image): Don't modify overlay associated to
9549 non-live windows, and implement horizontal centering of image in
9550 case it's smaller than the window.
9551 (doc-view-new-window-function): Force redisplay of new windows on
9552 doc-view buffers.
d35f5864 9553
1c4a85ed
KF
95542013-03-13 Karl Fogel <kfogel@red-bean.com>
9555
9556 * saveplace.el (save-place-alist-to-file): Don't sort
9557 `save-place-alist', just pretty-print it (bug#13882).
9558
85b66a21
MA
95592013-03-13 Michael Albinus <michael.albinus@gmx.de>
9560
a020afb9
JB
9561 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9562 Check whether `default-file-name-coding-system' is bound.
9563 It isn't in XEmacs.
85b66a21 9564
175600da
SM
95652013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9566
e7f7cb1a
SM
9567 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9568 backquotes for `obsolete' (bug#13929).
9569
175600da
SM
9570 * international/mule.el (find-auto-coding): Include file name in
9571 obsolescence warning (bug#13922).
9572
ca68a22e
TZ
95732013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9574
9575 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9576 for CFEngine 3-specific indentation.
9577 (cfengine3-indent-line): Use it. Fix up category regex.
9578 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9579
940e5099
SM
95802013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9581
9582 * type-break.el (type-break-file-name):
9583 * textmodes/remember.el (remember-data-file):
9584 * strokes.el (strokes-file):
9585 * shadowfile.el (shadow-initialize):
9586 * saveplace.el (save-place-file):
9587 * ps-bdf.el (bdf-cache-file):
9588 * progmodes/idlwave.el (idlwave-config-directory):
9589 * net/quickurl.el (quickurl-url-file):
9590 * international/kkc.el (kkc-init-file-name):
9591 * ido.el (ido-save-directory-list-file):
9592 * emulation/viper.el (viper-custom-file-name):
9593 * emulation/vip.el (vip-startup-file):
9594 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9595 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9596
cc725808
PE
95972013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9598
9599 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9600 * language/thai-word.el: Switch to UTF-8.
9601
a020afb9 9602See ChangeLog.16 for earlier changes.
e3d51b27
MR
9603
9604;; Local Variables:
9605;; coding: utf-8
e3d51b27
MR
9606;; End:
9607
ab422c4d 9608 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9609
9610 This file is part of GNU Emacs.
9611
9612 GNU Emacs is free software: you can redistribute it and/or modify
9613 it under the terms of the GNU General Public License as published by
9614 the Free Software Foundation, either version 3 of the License, or
9615 (at your option) any later version.
9616
9617 GNU Emacs is distributed in the hope that it will be useful,
9618 but WITHOUT ANY WARRANTY; without even the implied warranty of
9619 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9620 GNU General Public License for more details.
9621
9622 You should have received a copy of the GNU General Public License
9623 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.