* net/tramp.el (tramp-remote-file-name-spec-regexp): An IPV6
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
11151a06
MA
12013-11-13 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPV6
4 address can be empty.
5
6 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7 Accept nil SWITCHES.
8 (tramp-gvfs-handle-write-region): Implement APPEND.
9
7b08f97e
DG
102013-11-12 Dmitry Gutov <dgutov@yandex.ru>
11
12 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
13 binary "|" operator and closing block args delimiter. Remove
14 FIXME comment referring to Ruby 1.8-only syntax.
15 (ruby-smie--implicit-semi-p): Not after "|" operator.
16 (ruby-smie--closing-pipe-p): New function.
17 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
18 (ruby-smie-rules): Indent after "|".
19
f201cf3a
GM
202013-11-12 Glenn Morris <rgm@gnu.org>
21
22 * ps-print.el (ps-face-attribute-list):
23 Handle anonymous faces. (Bug#15827)
24
e6f759f9
MR
252013-11-12 Martin Rudalics <rudalics@gmx.at>
26
27 * window.el (display-buffer-other-frame): Fix doc-string.
28 (Bug#15868)
29
ecda65d4
SM
302013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * subr.el (force-mode-line-update): Delete, move to buffer.c.
33
7ce8fcc3
MA
342013-11-11 Michael Albinus <michael.albinus@gmx.de>
35
36 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
37 (tramp-sh-handle-file-local-copy): Don't write a message when
38 saving temporary files.
39
40 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
41 both directories are remote.
42 (tramp-smb-handle-directory-files): Do not return double entries.
43 Do not expand full file names.
44 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
45 (tramp-smb-handle-write-region): Implement APPEND.
46 (tramp-smb-get-stat-capability): Fix a stupid bug.
47
7818df11
SM
482013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
51
608c2085
NT
522013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
53
54 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
55 throwing error over malformed let/let* (bug#15814).
56
122a7e46
SM
572013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * iswitchb.el (iswitchb-mode): Mark obsolete.
60
766284d9
GM
612013-11-11 Glenn Morris <rgm@gnu.org>
62
63 * international/uni-bidi.el, international/uni-category.el:
64 * international/uni-name.el, international/uni-numeric.el:
65 Regenerate for Unicode 6.3.0.
66
7072a4e9
MA
672013-11-10 Michael Albinus <michael.albinus@gmx.de>
68
69 * net/tramp.el (tramp-methods):
70 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
71 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
72
c9df215b
AS
732013-11-09 Andreas Schwab <schwab@linux-m68k.org>
74
608c2085
NT
75 * progmodes/sh-script.el (sh-font-lock-keywords-var):
76 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 77
fa47d796
DG
782013-11-09 Dmitry Gutov <dgutov@yandex.ru>
79
80 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 81 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
82 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
83 (ispell-complete-word): Call `ispell-lookup-words' with the value
84 independent of `ispell-look-p'.
85
1629a329
DG
862013-11-08 Dmitry Gutov <dgutov@yandex.ru>
87
88 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
89 Not after "||".
90 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
91 their parent.
92
ad16897c
SM
932013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
96 (ruby-font-lock-keywords): Use backquote.
97
ffa2df72
DG
982013-11-08 Dmitry Gutov <dgutov@yandex.ru>
99
100 * progmodes/ruby-mode.el (ruby-smie--forward-token)
101 (ruby-smie--backward-token): Only consider full-string matches.
102
5b97b4c0
JD
1032013-11-08 Jan Djärv <jan.h.d@swipnet.se>
104
105 * faces.el (describe-face): Add distant-foreground.
106
71731c03
BB
1072013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
108
ad16897c
SM
109 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
110 Use `ruby-encoding-magic-comment-style' to control the
71731c03
BB
111 style of the auto-inserted encoding comment.
112
da3b328d
DG
1132013-11-08 Dmitry Gutov <dgutov@yandex.ru>
114
ad16897c
SM
115 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
116 Use `smie-backward-sexp' with token argument.
da3b328d 117
1606c2d3
MA
1182013-11-08 Michael Albinus <michael.albinus@gmx.de>
119
120 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
121 Remove instrumentation code.
122
b0f4c320
GM
1232013-11-08 Glenn Morris <rgm@gnu.org>
124
125 * progmodes/autoconf.el (autoconf-mode):
126 Tweak comment-start-skip. (Bug#15822)
127
43668fb1
SM
1282013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
131 at bobp (bug#15826).
132 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
133
daddb3fd
DH
1342013-11-08 Darren Hoo <darren.hoo@gmail.com>
135
136 * man.el (Man-start-calling): New macro, extracted from
137 Man-getpage-in-background.
138 (Man-getpage-in-background): Use it.
139 (Man-update-manpage): New command.
140 (Man-mode-map): Bind it.
141
1f923923
DG
1422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
143
144 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
145 of "and", "or", "&&" and "||".
146 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
147 argument. Prohibit opening curly brace because it could only be a
148 block opener in that position.
daddb3fd
DH
149 (ruby-smie--forward-token, ruby-smie--backward-token):
150 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
151 arguments.
152 (ruby-smie--indent-to-stmt): New function, seeks the end of
153 previous statement or beginning of buffer.
154 (ruby-smie-rules): Use it.
155 (ruby-smie-rules): Check if there's a ":" before a curly block
156 opener candidate; if there is, it's a hash.
157
3220d527
SM
1582013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
161 (cl--block-wrapper): Fix last accidental change.
162
1eb1f9e0
MA
1632013-11-07 Michael Albinus <michael.albinus@gmx.de>
164
165 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
166 Instrument, in order to hunt failure on hydra.
167
e6e4db3c
NT
1682013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
169
170 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
171 malformed bindings form (bug#15814).
172
b420ccfc
DG
1732013-11-07 Dmitry Gutov <dgutov@yandex.ru>
174
175 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
176 "." compared to " @ ". This incidentally fixes some indentation
177 examples with "do".
e6e4db3c 178 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
179 (ruby-smie-grammar): New tokens: "and" and "or".
180 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
181 Exclude "and" and "or". Remove "do" in order to work around token
182 priorities.
183 (ruby-smie-rules): Add all infix tokens. Handle the case of
184 beginning-of-buffer.
b420ccfc 185
6b4ac03e
GM
1862013-11-06 Glenn Morris <rgm@gnu.org>
187
188 * Makefile.in (setwins_almost, setwins_for_subdirs):
189 Avoid accidental matches.
190
5ca114d1
SM
1912013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * menu-bar.el (popup-menu): Use key-binding.
194
f72552bd
EZ
1952013-11-06 Eli Zaretskii <eliz@gnu.org>
196
197 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
198 menus, support also the menus produced by minor modes.
199 (Bug#15817)
200
5d5c701e
LL
2012013-11-06 Leo Liu <sdl.web@gmail.com>
202
203 * thingatpt.el (thing-at-point-looking-at): Add optional arg
204 DISTANCE to bound the search. All uses changed. (Bug#15808)
205
0a8b75e2
GM
2062013-11-06 Glenn Morris <rgm@gnu.org>
207
208 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
209 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
210 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 211
a35287ea
SM
2122013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
213
feca4e2d
SM
214 * electric.el (electric-indent-just-newline): New command.
215 (electric-indent-mode-map): New keymap.
216 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
217 Re-add :group which weren't redundant.
218
a35287ea
SM
219 * electric.el (electric-indent-local-mode): New minor mode.
220 (electric-indent-functions-without-reindent): New var.
221 (electric-indent-post-self-insert-function): Use it.
222 * emacs-lisp/gv.el (buffer-local-value): Add setter.
223
375761b2
EZ
2242013-11-05 Eli Zaretskii <eliz@gnu.org>
225
9a6ad735
EZ
226 * international/quail.el (quail-help): Be more explicit about the
227 meaning of the labels shown on the keys. (Bug#15800)
228
375761b2
EZ
229 * startup.el (normal-top-level): Load the subdirs.el files before
230 setting the locale environment. (Bug#15805)
231
520a6e4a
SM
2322013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
233
0acfafef
SM
234 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
235 via arguments so as to get the right ones (bug#15418).
236
520a6e4a
SM
237 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
238
15826261
MA
2392013-11-05 Michael Albinus <michael.albinus@gmx.de>
240
241 Fix problems found while writing a test suite.
242
243 * net/tramp-compat.el (tramp-compat-load): New defun.
244 * net/tramp.el (tramp-handle-load): Use it.
245
246 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
247 "(numberp ok-if-already-exists)" correctly.
248
d35f31a4
XF
2492013-11-05 Xue Fuqiao <xfq.free@gmail.com>
250
251 * international/characters.el (glyphless-char-display-control):
252 Add usage note.
253
ae93bc74
BB
2542013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
255
520a6e4a
SM
256 * progmodes/python.el (python-mode):
257 * progmodes/scheme.el (scheme-mode):
258 * progmodes/prolog.el (prolog-mode):
259 * progmodes/ruby-mode.el (ruby-mode):
260 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
261 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 262
0ade65b5
SM
2632013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
264
a0d5f7a4
SM
265 * rect.el (rectangle--highlight-for-redisplay):
266 * emacs-lisp/smie.el (smie--next-indent-change):
267 Use buffer-chars-modified-tick.
268
c93f3f5c
SM
269 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
270
0ade65b5
SM
271 * electric.el (electric-indent-post-self-insert-function):
272 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
273
ef9dd188
HE
2742013-11-04 Helmut Eller <eller.helmut@gmail.com>
275
276 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
277
306e7308
NT
2782013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
279
280 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
281 (bug#15786).
282
e5afbcac
SM
2832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
284
1d01ad41
SM
285 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
286
e5afbcac
SM
287 * progmodes/python.el: Fix up last change.
288 (python-shell--save-temp-file): New function.
289 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
290 `string' comes from the current buffer.
291 (python-shell-send-string-no-output): Remove `msg' arg.
292 (python--use-fake-loc): New var.
293 (python-shell-buffer-substring): Obey it. Try to compensate for the
294 extra coding line added by python-shell--save-temp-file.
295 (python-shell-send-region): Use python-shell--save-temp-file and
296 python-shell-send-file directly. Add `nomain' argument.
297 (python-shell-send-buffer): Use python-shell-send-region.
298 (python-electric-pair-string-delimiter): New function.
299 (python-mode): Use it.
300
d0065ff1
EZ
3012013-11-04 Eli Zaretskii <eliz@gnu.org>
302
303 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
304 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
305 environment and decoding all of the default-directory's to here
306 from command-line.
307 (command-line): Decode also argv[0].
308
309 * loadup.el: Error out if default-directory is a multibyte string
310 when we are dumping.
311
312 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
313
7397c587
TZ
3142013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
315
316 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
317 (package-menu--print-info, package-menu--archive-predicate):
318 Add Archive column to package list.
7397c587 319
b27cc9fc
MA
3202013-11-04 Michael Albinus <michael.albinus@gmx.de>
321
322 Fix problems found while writing a test suite.
323
324 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
325 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
326 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
327 to nil when running original file name handler. Otherwise,
328 there are problems with constructs like "$$FOO".
329
330 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
331 for `localname'.
332
d8c4f18a
BB
3332013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
334
7b530552
BB
335 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
336
337 * subr.el (version<, version<=, version=):
338 Update docstrings with information for snapshot versions.
339
d8c4f18a
BB
340 * helpers.el: New library for misc helper functions.
341 (hash-table-keys): New function returning a list of hash keys.
342 (hash-table-values): New function returning a list of hash values.
343
dca01b09
DG
3442013-11-04 Dmitry Gutov <dgutov@yandex.ru>
345
346 * progmodes/ruby-mode.el (ruby-smie--forward-token)
347 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
348
0a749fa0
MN
3492013-11-04 Michal Nazarewicz <mina86@mina86.com>
350
351 * textmodes/fill.el (fill-single-char-nobreak-p): New function
352 checking whether point is after a 1-letter word.
353
3542013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
355
356 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
357 Don't infloop when expanding region over `multiline' syntax-type that
358 begins a line (bug#15778).
359
4aca7145
SM
3602013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
363 Make it into a proper minor mode.
364 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
365 (rectangle-mark-mode-map): New keymap.
366 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
367
a0833f62
GM
3682013-11-04 Glenn Morris <rgm@gnu.org>
369
370 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
371
e61845c1
SM
3722013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
375 (ruby-smie-rules): Use smie-rule-parent instead.
376
377 * emacs-lisp/smie.el (smie-rule-parent): Always call
378 smie-indent-virtual rather than only for hanging tokens.
379 (smie--next-indent-change): New helper command.
380
62942f89
GM
3812013-11-03 Glenn Morris <rgm@gnu.org>
382
383 * Makefile.in (abs_srcdir): Remove.
384 (emacs): Unset EMACSLOADPATH.
385
b0b9e592
GM
3862013-11-02 Glenn Morris <rgm@gnu.org>
387
18ba6a33 388 * Makefile.in (EMACS): Use a relative filename.
8061810d 389 (abs_top_builddir): Remove.
18ba6a33
GM
390 (custom-deps, finder-data, autoloads): Use --chdir.
391
6a8b929e
GM
392 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
393
c617f3d0
GM
394 Use relative filenames in TAGS files.
395 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
396 (lisptagsfiles4, TAGS): Use relative file names.
397 (TAGS-LISP): Remove.
398 (maintainer-clean): No more TAGS-LISP file.
399
b0b9e592
GM
400 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
401 (lisptagsfiles4): Use absolute filenames again.
402 (TAGS, TAGS-LISP): Not everything needs to run in one line.
403 Remove all *loaddefs files, not just the first. Remove esh-groups.
404 (maintainer-clean): Delete TAGS, TAGS-LISP.
405
d1c0ea6a
BB
4062013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
407
e61845c1
SM
408 * emacs-lisp/package.el (package-version-join):
409 Recognize snapshot versions.
d1c0ea6a 410
684d71c6
BB
4112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
412
413 * subr.el (version-regexp-alist): Add support for snapshot versions.
414
3d42b968
DG
4152013-11-02 Dmitry Gutov <dgutov@yandex.ru>
416
e61845c1
SM
417 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
418 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
419 skip over our direct parent if it's an assignment token..
420 (ruby-smie-rules): Use it.
421
7ffd3721
DG
4222013-11-02 Dmitry Gutov <dgutov@yandex.ru>
423
424 * progmodes/ruby-mode.el Use `syntax-propertize-function'
425 unconditionally. Remove now unnecessary forward declarations.
426 Remove XEmacs-specific setup.
427 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
428 (ruby-font-lock-syntactic-keywords)
429 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
430 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
431 (ruby-here-doc-end-syntax): Remove.
432 (ruby-mode): Don't check whether `syntax-propertize-rules' is
433 defined as function.
434
a3996a2e
BB
4352013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
436
437 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
438
6f9260e8
BB
4392013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
440
441 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
442 table and abbrev table, `define-derived-mode' does that for us
443 anyway.
444
6014de84
GM
4452013-11-01 Glenn Morris <rgm@gnu.org>
446
447 * Makefile.in: Remove manual mh-e dependencies (writing .elc
448 files is atomic for some time, so no parallel compilation issues).
449
3c334c14
JD
4502013-11-01 Jan Djärv <jan.h.d@swipnet.se>
451
452 * faces.el (face-x-resources): Add :distant-foreground.
453 (region): Use :distant-foreground for gtk and ns.
454
9bc236c8
TH
4552013-11-01 Tassilo Horn <tsdh@gnu.org>
456
5246583b 457 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
458 BibTeX.
459 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
460 (reftex-locate-bibliography-files): Us it.
461
d14c81ee
CB
4622013-11-01 Claudio Bley <claudio.bley@googlemail.com>
463
0e7690de
CB
464 * image.el (image-type-header-regexps): Fix the 'pbm' part to
465 allow comments in pbm files.
466
d14c81ee
CB
467 * term/w32-win.el (dynamic-library-alist): Support newer versions
468 of libjpeg starting with v7: look only for the DLL from the
469 version against which Emacs was built.
ac1bf374 470 Support versions of libpng beyond 1.4.x.
019c8218 471 Support libtiff v4.x.
d14c81ee 472
983d0df5
BB
4732013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
474
475 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
476 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
477 Add property :safe.
478 (ruby-deep-arglist): Add property :type.
479
47f58d85
GM
4802013-10-31 Glenn Morris <rgm@gnu.org>
481
482 * Makefile.in (custom-deps, finder-data): No need to setq the target
483 variables, we are in the right directory and the defaults work fine.
484
4f85b479
GM
4852013-10-30 Glenn Morris <rgm@gnu.org>
486
ca7dd4cd
GM
487 * Makefile.in (autoloads): Do not use abs_lisp.
488
4f85b479
GM
489 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
490 `newline' does not respect `standard-output', so use `princ'.
491
cf59e41c
AA
4922013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
493
494 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
495 * buff-menu.el (Buffer-menu--unmark): New function.
496 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
497
74cf04fb
GM
4982013-10-30 Glenn Morris <rgm@gnu.org>
499
b040b60e
GM
500 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
501
f53d3815
GM
502 * emacs-lisp/package.el (lm-homepage): Declare.
503
5413d873
GM
504 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
505 Fix doc typos.
506
cecedb36
GM
507 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
508
74cf04fb
GM
509 * Makefile.in (finder-data, autoloads, update-subdirs)
510 (compile-main, compile-clean, compile-always, bootstrap-clean):
511 Check return value of cd.
512 (compile-calc): Remove.
513
195ee2f0
SM
5142013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
515
ae4002ce
SM
516 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
517
518 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
519 (byte-compile-and-folded): New function.
520 (=, <, >, <=, >=): Use it.
521
522 * dos-w32.el (minibuffer-history-case-insensitive-variables)
523 (path-separator, null-device, buffer-file-coding-system)
524 (lpr-headers-switches): Check system-type before modifying them.
525 (find-buffer-file-type-coding-system): Mark obsolete.
526 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
527 find-file-not-found-set-buffer-file-coding-system.
528 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
529 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
530 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
531 (w32-direct-print-region-helper, w32-direct-print-region-function)
532 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
533 * startup.el (normal-top-level-add-subdirs-to-load-path):
534 * ps-print.el (ps-print-region-function):
535 * lpr.el (print-region-function): Use new name.
536
53b39e89
SM
537 * subr.el (custom-declare-variable-early): Remove function.
538 (custom-declare-variable-list): Remove var.
539 (error, user-error): Remove `while' loop.
540 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
541 (user-emacs-directory-warning, locate-user-emacs-file):
542 Move to files.el.
543 * simple.el (read-quoted-char-radix, read-quoted-char):
544 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
545 Move from subr.el.
546 * custom.el (custom-declare-variable-list): Don't process
547 custom-declare-variable-list.
548
195ee2f0
SM
549 * progmodes/python.el (python-shell-get-buffer): New function.
550 (python-shell-get-process): Use it.
551 (python-shell-send-string): Always use utf-8 and add a cookie to tell
552 Python which encoding was used. Don't split-string since we only care
553 about the first line. Return the temp-file, if applicable.
554 (python-shell-send-region): Tell compile.el how to turn locations in
555 the temp-file into locations in the source buffer.
556
7e3561ee
SM
5572013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
558
4c9797cb
SM
559 * subr.el (undefined): Add missing behavior from the C code for
560 unbound keys.
561
3472b6c6
SM
562 * rect.el: Use lexical-binding. Add new rectangular region support.
563 (rectangle-mark): New command.
564 (rectangle--region): New var.
565 (deactivate-mark-hook): Reset rectangle--region.
566 (rectangle--extract-region, rectangle--insert-for-yank)
567 (rectangle--highlight-for-redisplay)
568 (rectangle--unhighlight-for-redisplay): New functions.
569 (region-extract-function, redisplay-unhighlight-region-function)
570 (redisplay-highlight-region-function): Use them to handle
571 rectangular region.
572 * simple.el (region-extract-function): New var.
573 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
574 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
575 (kill-region): Replace obsolete `yank-handler' arg with `region'.
576 (copy-region-as-kill, kill-ring-save): Add `region' argument.
577 (redisplay-unhighlight-region-function)
578 (redisplay-highlight-region-function): New vars.
579 (redisplay--update-region-highlight): New function.
580 (pre-redisplay-function): Use it.
581 (exchange-point-and-mark): Don't deactivate the mark before
582 reactivate-it anyway.
583 * comint.el (comint-kill-region): Remove yank-handler argument.
584 * delsel.el (delete-backward-char, backward-delete-char-untabify)
585 (delete-char): Remove property, since it's now part of their
586 default behavior.
587 (self-insert-iso): Remove property since this command doesn't exist.
588
7e3561ee
SM
589 * emacs-lisp/package.el (package--download-one-archive)
590 (describe-package-1): Don't query the user about final newline.
591
b9bef71f
DC
5922013-10-29 Daniel Colascione <dancol@dancol.org>
593
594 * net/tramp.el (tramp-methods): Document new functionality.
595 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
596 tramp-hostname-checker if method provides one instead of scanning
597 argument list for "%h" to decide hostname acceptability.
598
4efc33f0
MA
5992013-10-28 Michael Albinus <michael.albinus@gmx.de>
600
601 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
602 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
603 Handle COPY-CONTENTS. (Bug#15737)
604
ed42a877
DU
6052013-10-28 Daiki Ueno <ueno@gnu.org>
606
607 * epa-file.el
7e3561ee
SM
608 (epa-file-cache-passphrase-for-symmetric-encryption):
609 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 610
18c9f8a2
XF
6112013-10-27 Xue Fuqiao <xfq.free@gmail.com>
612
7a4bc7be
XF
613 * image.el (defimage):
614 (image-load-path): Doc fixes.
18c9f8a2 615
b1e8e010
AM
6162013-10-27 Alan Mackenzie <acm@muc.de>
617
618 Indent statements in macros following "##" correctly.
7e3561ee
SM
619 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
620 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 621
73d40d1e 6222013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
623
624 * linum.el (linum-update-window): Fix boundary test (bug#13446).
625
c8c605ac
DG
6262013-10-27 Dmitry Gutov <dgutov@yandex.ru>
627
628 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
629 after `=' is probably a new expression.
630
ca7e59d4
RS
6312013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
632
633 * man.el (man-imenu-title): New option.
634 (Man-mode-map): Add menu. (Bug#15722)
635 (Man-mode): Add imenu to menu.
636
bae91342
DG
6372013-10-26 Dmitry Gutov <dgutov@yandex.ru>
638
639 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
640 specific in what the first arg can be: a non-keyword word,
641 string/regexp/percent literal opener, opening paren, or unary
642 operator followed directly by word.
643
eb89dc14
SM
6442013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
647 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
648 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
649 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
650 Remove vars, they do not apply any more.
651 (prolog-mode-abbrev-table): Remove redundant declaration.
652 (prolog-upper-case-string, prolog-lower-case-string): Remove.
653 (prolog-use-smie): Remove.
654 (prolog-smie-rules): Add indentation rule for the if-then-else layout
655 supported by prolog-electric-if-then-else-flag.
656 (prolog-mode-variables, prolog-menu): Use setq-local.
657 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
658 Remove binding to `Backspace' since this key doesn't exist anyway.
659 Remove bindings for electric self-inserting keys.
660 (prog-mode): Assume it's defined.
661 (prolog-post-self-insert): New function.
662 (prolog-mode): Use it.
663 (prolog-indent-line, prolog-indent-level)
664 (prolog-find-indent-of-matching-paren)
665 (prolog-indentation-level-of-line, prolog-goto-comment-column)
666 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
667 (prolog-goto-next-paren, prolog-in-string-or-comment)
668 (prolog-tokenize, prolog-inside-mline-comment)
669 (prolog-find-start-of-mline-comment): Remove functions.
670 (prolog-find-unmatched-paren, prolog-clause-end)
671 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
672 (prolog-electric--if-then-else): Rename from
673 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
674 (prolog-tokenize-searchkey): Remove const.
675 (prolog-clause-info): Use forward-sexp.
676 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
677 (prolog-electric-if-then-else): Remove commands.
678 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
679 for use in post-self-insert-hook.
680 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
681 for use in post-self-insert-hook.
682 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
683 for use in post-self-insert-hook.
684 (prolog-electric--underscore): Rename from prolog-electric--underscore;
685 adapt it for use in post-self-insert-hook.
686
3dab0a83
MA
6872013-10-25 Michael Albinus <michael.albinus@gmx.de>
688
689 * emacs-lisp/ert.el (ert-run-tests-interactively):
690 Use `completing-read'. (Bug#9756)
691
fbfd0e1d
EZ
6922013-10-25 Eli Zaretskii <eliz@gnu.org>
693
694 * simple.el (line-move): Call line-move-1 instead of
695 line-move-visual when the current window hscroll is zero, but
696 temporary-goal-column indicates we will need to hscroll as result
697 of the movement. (Bug#15712)
698
963ce636
DG
6992013-10-25 Dmitry Gutov <dgutov@yandex.ru>
700
701 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
702 capitalization. Use :visible instead of :active.
703 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
704 commands that are used with SMIE.
705 (ruby-do-end-to-brace): Insert space after `{'.
706
a0be396a
JA
7072013-10-25 John Anthony <john@jo.hnanthony.com>
708
f73754c9
JA
709 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
710
711 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 712
f5bf77df
GM
7132013-10-25 Glenn Morris <rgm@gnu.org>
714
715 * vc/vc.el (vc-print-log): Don't use a working revision unless
716 one was explicitly specified. (Bug#15322)
717
37241f62
SM
7182013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * subr.el (add-to-list): Preserve return value in compiler-macro
721 (bug#15692).
722
6408a65d
RS
7232013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
724
725 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
726 result. Ask user to retry using '-all' flag. (Bug#15701)
727
71e3276b
SM
7282013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
729
730 * emacs-lisp/smie.el: New smie-config system.
731 (smie-config): New defcustom.
732 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
733 (smie-config-guess, smie-config-save): New commands.
734 (smie-config--mode-local, smie-config--buffer-local)
735 (smie-config--trace, smie-config--modefuns): New vars.
736 (smie-config--advice, smie-config--mode-hook)
737 (smie-config--setter, smie-config-local, smie-config--get-trace)
738 (smie-config--guess-value, smie-config--guess): New functions.
739 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
740 text properties. Treat "string fence" syntax like string syntax.
741
742 * progmodes/sh-script.el (sh-use-smie): Change default.
743 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
744 (sh-var-value): Simplify by CSE.
745 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
746 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
747 is used.
748 (sh-guess-basic-offset): Use cl-incf.
749 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
750
60db713e
HE
7512013-10-24 Helmut Eller <eller.helmut@gmail.com>
752
753 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
754 (bug#15699).
755
8b251df6
GM
7562013-10-24 Glenn Morris <rgm@gnu.org>
757
758 * Makefile.in (abs_top_srcdir): Remove.
759 (update-subdirs): Use relative path to update-subdirs.
760
6be0e22b
EZ
7612013-10-24 Eli Zaretskii <eliz@gnu.org>
762
763 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
764 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
765 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
766 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 767
50b5b857
MA
7682013-10-24 Michael Albinus <michael.albinus@gmx.de>
769
770 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
771 (ert-test-skipped): New error.
772 (ert-skip, ert-stats-skipped): New defuns.
773 (ert--skip-unless): New macro.
774 (ert-test-skipped): New struct.
775 (ert--run-test-debugger, ert-test-result-type-p)
776 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
777 (ert--stats-set-test-and-result, ert-char-for-test-result)
778 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 779 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 780 Handle skipped tests. (Bug#9803)
50b5b857 781
6f317c2f
GM
7822013-10-24 Glenn Morris <rgm@gnu.org>
783
e43817c1
GM
784 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
785
6f317c2f
GM
786 * Makefile.in (abs_top_srcdir): New, set by configure.
787 (update-subdirs): Correct build-aux location.
788
369bbf71
DG
7892013-10-24 Dmitry Gutov <dgutov@yandex.ru>
790
8297b2cf
DG
791 * vc/vc.el (vc-print-root-log): Always set `default-directory'
792 value, whether we could auto-deduce `backend', or not.
793
369bbf71
DG
794 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
795 with parameters" example. Simplify the "is it block or is it
796 hash" check, but also make it more thorough.
797
d5f1282f
MF
7982013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
799
800 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
801
bc4aaa31
SM
8022013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
803
03d44565
SM
804 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
805 { if it is hanging.
806
bc4aaa31
SM
807 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
808 :before ";".
809
f493ff19
JB
8102013-10-23 Jed Brown <jed@59A2.org> (tiny change)
811
812 * progmodes/compile.el (compilation-directory-matcher)
813 (compilation-page-delimiter):
814 Support GNU Make-4.0 directory quoting. (Bug#15678)
815
c744a3b9
LL
8162013-10-23 Leo Liu <sdl.web@gmail.com>
817
818 * ido.el (ido-tidy): Handle read-only text.
819
b8e3b0a9
GM
8202013-10-23 Glenn Morris <rgm@gnu.org>
821
822 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
823 (emacs, compile, compile-always):
824 Quote entities that might contain whitespace.
825 (custom-deps, finder-data, autoloads): Use abs_lisp.
826 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
827 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
828 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
829
ee4282cd
DG
8302013-10-23 Dmitry Gutov <dgutov@yandex.ru>
831
bc4aaa31
SM
832 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
833 Use `following-char'.
7790a270 834
ee4282cd 8352013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
836
837 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
838 * progmodes/ruby-mode.el (ruby-smie-rules):
839 Remove corresponding workaround. Fix indentation rule of ";" so it
840 also applies when ";" is the parent.
841
d40a46d7
XF
8422013-10-22 Xue Fuqiao <xfq.free@gmail.com>
843
844 * frame.el (display-screens, display-pixel-height)
845 (display-pixel-width, display-mm-width, display-backing-store)
846 (display-save-under, display-planes, display-color-cells)
7790a270
SM
847 (display-visual-class, display-monitor-attributes-list):
848 Mention the optional ‘display’ argument in doc strings.
d40a46d7 849
a0f143c9
MG
8502013-10-22 Michael Gauland <mikelygee@amuri.net>
851
852 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
853 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
854
18cacc39
DG
8552013-10-21 Dmitry Gutov <dgutov@yandex.ru>
856
857 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
858 TODO. Add "." after " @ ".
859 (ruby-smie--at-dot-call): New function. Checks if point at method
860 call with explicit target.
861 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
862 to the method name tokens when it precedes them.
863 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
864 (ruby-smie-rules): Add rule for indentation before and after "."
865 token.
866
df74c4be
SM
8672013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
868
c6dab55f
SM
869 * textmodes/remember.el (remember-diary-extract-entries):
870 Avoid add-to-list.
871
df74c4be
SM
872 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
873 an instruction.
874
8c1ae481
DG
8752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
876
cfef16c0
DG
877 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
878 (ruby-smie--implicit-semi-p): Add new operator chars.
879
8c1ae481
DG
880 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
881 `smie-down-list'.
882 (ruby-smie--args-separator-p): Check that there's no newline
883 between method call and its arguments.
884
87756ca9
AM
8852013-10-20 Alan Mackenzie <acm@muc.de>
886
887 Allow comma separated lists after Java "implements".
888
df74c4be
SM
889 * progmodes/cc-engine.el (c-backward-over-enum-header):
890 Parse commas.
87756ca9
AM
891 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
892 from a "disallowed" list in enum fontification.
893
c25f8957
JB
8942013-10-20 Johan Bockgård <bojohan@gnu.org>
895
df74c4be 896 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 897
c25f8957
JB
898 * progmodes/verilog-mode.el (verilog-mode): Don't set
899 comment-indent-function globally.
900
aca5fcdc
JD
9012013-10-20 Jan Djärv <jan.h.d@swipnet.se>
902
5f161884
JD
903 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
904 Move Info menu item creation to ns-win.el.
905
906 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
907 in menu bar.
908
aca5fcdc
JD
909 * menu-bar.el: Move GNUStep specific menus...
910
911 * term/ns-win.el (ns-initialize-window-system): ... to here.
912
914b7f98
SM
9132013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * simple.el (newline): Only run post-self-insert-hook when
916 called interactively.
917
846ffe77
JB
9182013-10-19 Johan Bockgård <bojohan@gnu.org>
919
920 * icomplete.el (icomplete-with-completion-tables): Add :version.
921
033f22dd
AM
9222013-10-19 Alan Mackenzie <acm@muc.de>
923
924 Fix fontification bugs with constructors and const.
925
926 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
927 CASE 2) Remove the check for the absence of a suffix construct
928 after a function declaration with only types (no identifiers) in
929 the parentheses. Also, accept a function declaration with just a
930 type inside the parentheses, if this type can be positively
931 recognised as such, or if a prefix keyword like "explicit" nails
932 down the construct as a declaration.
933
58ce0cfc
EZ
9342013-10-19 Eli Zaretskii <eliz@gnu.org>
935
936 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
937 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
938 the problem whereby selecting a menu item that leads to a
939 minibuffer prompt moves the cursor out of the minibuffer window,
940 making it hard to type at the prompt. Suggested by Stefan Monnier
941 <monnier@iro.umontreal.ca>.
942
50e28e7d
JD
9432013-10-19 Jan Djärv <jan.h.d@swipnet.se>
944
945 * menu-bar.el: Don't make Services menu.
946
7deed4bf
RS
9472013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
948
949 * ffap.el: Handle "/usr/include/c++/<version>" directories.
950 (ffap-alist): Use ffap-c++-mode for c++-mode.
951 (ffap-c++-path): New variable.
952 (ffap-c++-mode): New function.
953
7bcb455b
JVJ
9542013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
955
956 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
957
f0ff1cd5
MA
9582013-10-18 Michael Albinus <michael.albinus@gmx.de>
959
960 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
961 introduced on 2013-09-08, which results in an infinite loop
962 requesting a password.
963
d64da4b7
GM
9642013-10-18 Glenn Morris <rgm@gnu.org>
965
966 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
967
ea89ff08
WS
9682013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
969
970 Sync with upstream verilog-mode revision 1a6ecec7.
971 * progmodes/verilog-mode.el (verilog-mode-version): Update.
972 (verilog-mode-release-date): Remove.
973 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
974 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
975 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
976 (verilog-auto-tieoff-ignore-regexp)
977 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
978 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
979 (verilog-signals-with, verilog-dir-cache-preserving)
980 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
981 Doc fixes.
982 (verilog-case-fold): New option, to control case folding in
983 regexp searches, bug597.
984 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
985 (verilog-string-match-fold, verilog-in-paren-count)
986 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
987 (verilog-at-close-struct-p): New functions.
988 (verilog-beg-block-re-ordered, verilog-extended-case-re)
989 (verilog-forward-sexp, verilog-set-auto-endcomments):
990 (verilog-leap-to-case-head): Handle "unique0" case.
991 (verilog-in-constraint-re): New constant.
992 (verilog-keywords, verilog-type-font-keywords):
993 Add some SystemVerilog 1800-2012 keywords.
994 (verilog-label-be): Remove unimplemented argument, bug669.
995 (verilog-batch-execute-func): When batch expanding clear
996 create-lockfiles to prevent spurious user locks when a file ends
997 up not changing.
998 (verilog-calculate-indent, verilog-calc-1)
999 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1000 (verilog-do-indent): Fix indentation of nested constraints
1001 and structures.
1002 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1003 (verilog-auto-inst-param): Use verilog-string-match-fold.
1004 (verilog-read-inst-module-matcher):
1005 Fix AUTOINST on gate primitives with #1.
1006 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1007 Reads all user-defined typed variables.
1008 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1009 (verilog-signals-matching-regexp)
1010 (verilog-signals-not-matching-regexp, verilog-auto):
1011 Respect verilog-case-fold.
1012 (verilog-diff-report): Fix line count.
1013 (verilog-auto-assign-modport): Remove unused local `modi'.
1014 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1015 better handle multidimensional arrays.
1016 Fix packed array ports misadding bit index in AUTOINST, bug637.
1017 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1018 to not double-declare existing outputs and inputs, respectively.
1019 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1020 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1021 (verilog-sk-uvm-component): New skeleton.
1022 (verilog-submit-bug-report): Add verilog-case-fold,
1023 remove verilog-mode-release-date.
1024
ef566920
BR
10252013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1026
1027 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1028 as before.
1029
29df8a0b
RT
10302013-10-18 Reuben Thomas <rrt@sc3d.org>
1031
1032 * textmodes/remember.el (remember): set buffer-offer-save in
1033 remember buffers (bug#13566).
1034
04a19a79
DC
10352013-10-18 Daniel Colascione <dancol@dancol.org>
1036
1037 When evaluating forms in ielm, direct standard output to ielm
1038 buffer. Add new ielm-return-for-effect command. Remove trailing
1039 whitespace throughout.
1040
1041 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1042 (ielm-return-for-effect): New command.
1043 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1044 (ielm-eval-input): Accept optional `for-effect' parameter.
1045 Bind `standard-output' to stream we create using
04a19a79
DC
1046 `ielm-standard-output-impl'. Suppress printing result when
1047 `for-effect'.
1048 (ielm-standard-output-impl): New function.
1049 (inferior-emacs-lisp-mode): Explain new features in documentation.
1050
4c1f03ef
MA
10512013-10-17 Michael Albinus <michael.albinus@gmx.de>
1052
1053 Code cleanup.
1054
1055 * net/tramp.el (tramp-debug-message): Do not check for connection
1056 buffer.
1057 (tramp-message): Use "vector" connection property.
1058
1059 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1060 (tramp-equal-remote, tramp-eshell-directory-change)
1061 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1062 (tramp-adb-handle-rename-file)
1063 * net/tramp-cmds.el (tramp-list-remote-buffers)
1064 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1065 * net/tramp-compat.el (tramp-compat-process-running-p)
1066 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1067 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1068 (tramp-gvfs-handle-rename-file)
1069 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1070 (tramp-set-file-uid-gid)
1071 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1072 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1073 of `file-remote-p'.
1074
1075 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1076 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1077 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1078 (tramp-gw-open-network-stream): Suppress unrelated traces.
1079
1080 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1081 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1082 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1083 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1084 connection property.
1085
1086 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1087 persistency file.
4c1f03ef
MA
1088
1089 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1090 Refactor common code. Improve debug message.
1091 (tramp-maybe-open-connection)
1092 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1093 connection buffer too early.
1094
1095 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1096 from `tramp-smb-actions-with-acl'.
1097 (tramp-smb-actions-set-acl): New defconst.
1098 (tramp-smb-handle-copy-directory)
1099 (tramp-smb-action-get-acl): New defun, renamed from
1100 `tramp-smb-action-with-acl'.
1101 (tramp-smb-action-set-acl): New defun.
1102 (tramp-smb-handle-set-file-acl): Rewrite.
1103
642eb8b6
GM
11042013-10-17 Glenn Morris <rgm@gnu.org>
1105
1106 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1107
85527ff3
SM
11082013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1109
921c1d62
SM
1110 * skeleton.el (skeleton-newline): Remove.
1111 (skeleton-internal-1): Use (insert "\n") instead.
1112
e333fb10
SM
1113 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1114 let-bindings.
1115
85527ff3
SM
1116 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1117 forward-sexp-function while we redo its job (bug#15613).
1118
c8722a97
JB
11192013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1120
1121 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1122 represented by lists.
1123
7a550bbb
GM
11242013-10-16 Glenn Morris <rgm@gnu.org>
1125
1126 * tmm.el (tmm--history): New dynamic variable.
1127 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1128
f19da8ad
MA
11292013-10-16 Michael Albinus <michael.albinus@gmx.de>
1130
1131 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1132 (tramp-smb-errors): Add error messages.
1133 (tramp-smb-actions-with-acl): New defconst.
1134 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1135 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1136 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1137 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1138 (tramp-smb-get-stat-capability): Fix tests.
1139
a24b9961
DK
11402013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1141
1142 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1143 (bug#15580).
1144
62ad85e6
GM
11452013-10-16 Glenn Morris <rgm@gnu.org>
1146
0283d6b0
GM
1147 * ansi-color.el (ansi-color-drop-regexp):
1148 Add 1J, 1K, 2K. (Bug#15617)
1149
012e2f9f
GM
1150 * files.el (hack-local-variables--warned-lexical): New.
1151 (hack-local-variables):
1152 Warn about misplaced lexical-binding. (Bug#15616)
1153
62ad85e6
GM
1154 * net/eww.el (eww-render): Always set eww-current-url,
1155 and update header line. (Bug#15622)
1156 (eww-display-html): ... Rather than just doing it here.
1157
6456c0ea
EZ
11582013-10-15 Eli Zaretskii <eliz@gnu.org>
1159
1160 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1161 menu navigations commands.
1162
c2de5588
DK
11632013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1164
1165 * progmodes/subword.el (subword-capitalize): Be careful when
1166 the search for [[:alpha:]] fails (bug#15580).
1167
ccd4a783
EZ
11682013-10-14 Eli Zaretskii <eliz@gnu.org>
1169
1170 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1171 to commands that scroll the menu.
1172
1eda1d8d
DG
11732013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1174
c2de5588
DK
1175 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1176 Handle methods ending with `?' and `!'.
1eda1d8d 1177
e70181b8
AM
11782013-10-14 Akinori MUSHA <knu@iDaemons.org>
1179
1180 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1181 `japanese-cp932' to `cp932' to fix the problem where saving a
1182 source file written in Shift_JIS twice would end up having
1183 `coding: japanese-cp932' which Ruby could not recognize.
1184 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1185 in `ruby-encoding-map'.
1186 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1187 doesn't need to be explicitly declared in magic comment.
1188 (ruby-encoding-map): Add type declaration for better customize UI.
1189
9148ee92
GM
11902013-10-13 Glenn Morris <rgm@gnu.org>
1191
a5d38e34
GM
1192 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1193 Occur buffers are read-only. http://bugs.debian.org/720775
1194
9148ee92
GM
1195 * emacs-lisp/authors.el (authors-fixed-entries):
1196 Comment out old alpha stuff.
1197
a9ba094b
DG
11982013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1199
1200 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1201 to `after-save-hook' instead of `before-save-hook'.
1202 (ruby-mode-set-encoding): Use the value of coding system used to
1203 write the file. Call `basic-save-buffer-1' after modifying the
1204 buffer.
1205
7a068717
AM
12062013-10-13 Alan Mackenzie <acm@muc.de>
1207
1208 Fix indentation/fontification of Java enum with
1209 "implements"/generic.
1210
c2de5588
DK
1211 * progmodes/cc-engine.el (c-backward-over-enum-header):
1212 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1213 (c-inside-bracelist-p): Uses new function above.
1214 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1215 function above.
1216 (c-font-lock-enum-tail): Uses new function above.
1217
85b64f02
KH
12182013-10-13 Kenichi Handa <handa@gnu.org>
1219
1220 * international/mule-cmds.el (select-safe-coding-system): Remove a
1221 superfluous condition in chekcing whether a coding system is safe
1222 or not.
1223
fc7f501b
OK
12242013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1225
1226 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1227
fdcb2049
AP
12282013-10-13 Andreas Politz <politza@hochschule-trier.de>
1229
1230 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1231
8c106d17
GM
12322013-10-13 Glenn Morris <rgm@gnu.org>
1233
feab892d
GM
1234 * menu-bar.el (menu-bar-update-buffers):
1235 Unify Buffers menu prompt string. (Bug#15576)
1236
b22d0686
GM
1237 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1238
8c106d17
GM
1239 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1240 Add some entries.
1241 (authors-fixed-entries): Use accented form of name.
1242
1b12c797
SM
12432013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1244
650fa7bf 1245 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1246 method calls (bug#15594).
650fa7bf
SM
1247 (ruby-smie--args-separator-p): New function.
1248 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1249 recognize paren-free method calls.
1250
1b12c797
SM
1251 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1252 internals of universal-argument.
1253
029619c8
EZ
12542013-10-11 Eli Zaretskii <eliz@gnu.org>
1255
1256 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1257 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1258 dropped menu on second mouse click on the menu bar.
029619c8 1259
dd070019
SM
12602013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1263 (explicit-shell-file-name): Declare.
1264 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1265 (sh-completion-at-point-function): New function.
1266 (sh-mode): Use it.
1267 (sh-smie--keyword-p): Remove unused argument.
1268 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1269 vars.
1270 (sh-set-shell): Always setup SMIE, even if we use the
1271 old indentation code.
1272
0922b826
DG
12732013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1274
b68e2926
DG
1275 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1276 cases of ? and =.
1277 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1278 predicate would return nil are almost non-existent.
1279 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1280
0922b826
DG
1281 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1282 cache also after commands that modify the buffer but don't move
1283 point.
1284
ee041f2d
SM
12852013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * env.el (substitute-env-in-file-name): New function.
1288 (substitute-env-vars): Extend the meaning of the optional arg.
1289
a5dab159
EZ
12902013-10-10 Eli Zaretskii <eliz@gnu.org>
1291
1292 * term/w32-win.el (dynamic-library-alist): Define separate lists
1293 of GIF DLLs for versions before and after 5.0.0 of giflib.
1294 (Bug#15531)
1295
db138698
JT
12962013-10-10 João Távora <joaotavora@gmail.com>
1297
1298 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1299 not locked, use last revision and current source as
1300 defaults. (Bug#15569)
1301
2f6e161e
MY
13022013-10-10 Masatake YAMATO <yamato@redhat.com>
1303
1304 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1305 menu-bar is hidden.
1306
6c8413fc
MR
13072013-10-10 Martin Rudalics <rudalics@gmx.at>
1308
1309 * window.el (pop-to-buffer-same-window): Fix doc-string.
1310 (Bug#15492)
1311
20832de0
SM
13122013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1315
c6e8ae77
AC
13162013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1317
1318 * calendar/icalendar.el (icalendar-import-file):
1319 Fix interactive spec. (Bug#15482)
1320
9db13baf
GM
13212013-10-10 Glenn Morris <rgm@gnu.org>
1322
9271e90e
GM
1323 * desktop.el (desktop-save): Default to saving in .emacs.d,
1324 since PWD is no longer in desktop-path by default. (Bug#15319)
1325
9db13baf
GM
1326 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1327 now that text mode has a menu with the same entry.
1328 (menu-bar-text-mode-auto-fill): Remove now unused func.
1329 * textmodes/text-mode.el (text-mode-map):
1330 Use auto-fill help text from menu-bar.el.
1331
a0be396a 13322013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1333
1334 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1335
2edcd3c7
JL
13362013-10-09 Juri Linkov <juri@jurta.org>
1337
1338 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1339 instead of this-command-keys. Add universal-argument-more and
1340 universal-argument-minus to the list of prefix commands. (Bug#15568)
1341
574411d0
GM
13422013-10-09 Glenn Morris <rgm@gnu.org>
1343
14afa541
GM
1344 * vc/vc-svn.el (vc-svn-create-repo):
1345 Expand paths in file://... url. (Bug#15446)
1346
574411d0
GM
1347 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1348 Add some entries.
1349 (authors): Remove unused local variables.
1350
79804536
SM
13512013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * profiler.el: Create a more coherent calltree from partial backtraces.
1354 (profiler-format): Hide the tail with `invisible' so that C-s can still
1355 find the hidden elements.
1356 (profiler-calltree-depth): Don't recurse so enthusiastically.
1357 (profiler-function-equal): New hash-table-test.
1358 (profiler-calltree-build-unified): New function.
1359 (profiler-calltree-build): Use it.
1360 (profiler-report-make-name-part): Indent the calltree less.
1361 (profiler-report-mode): Add visibility specs for profiler-format.
1362 (profiler-report-expand-entry, profiler-report-toggle-entry):
1363 Expand the whole subtree when provided with a prefix arg.
1364
238150c8
DG
13652013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1366
1367 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1368 iuwu-mod token.
1369 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1370 hanging iuwu-mod token.
1371 (ruby-smie--forward-token): Do not include a dot after a token in
1372 that token.
1373 (ruby-smie--backward-token): Likewise.
1374
b0949cc4
JL
13752013-10-08 Juri Linkov <juri@jurta.org>
1376
1377 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1378 to isearch-other-control-char.
1379 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1380 and isearch-post-command-hook to post-command-hook.
1381 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1382 and isearch-post-command-hook from post-command-hook.
1383 (isearch-unread-key-sequence)
1384 (isearch-reread-key-sequence-naturally)
1385 (isearch-lookup-scroll-key, isearch-other-control-char)
1386 (isearch-other-meta-char): Remove functions.
1387 (isearch-pre-command-hook, isearch-post-command-hook):
1388 New functions based on isearch-other-meta-char rewritten
1389 relying on the new behavior of overriding-terminal-local-map
1390 that does not replace the local keymaps any more. (Bug#15200)
1391
4ed77415
EZ
13922013-10-08 Eli Zaretskii <eliz@gnu.org>
1393
1394 Support menus on text-mode terminals.
1395 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1396 functionality.
1397
1398 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1399
c2de5588
DK
1400 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1401 Move here from mouse.el.
4ed77415
EZ
1402 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1403 and arrow keys.
1404 (tty-menu-navigation-map): New map for TTY menu navigation.
1405
1406 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1407
1408 * frame.el (display-mouse-p): Report text-mode mouse as available
1409 on w32.
1410 (display-popup-menus-p): Report availability if mouse is
1411 available; don't condition on window-system.
1412
1413 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1414 (tty-menu-selected-face): New faces.
1415
b7d5bd82
TL
14162013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1417
06286513
SM
1418 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1419 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1420 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1421 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1422 New constants.
1423 (lisp-mode-variables): New `elisp' argument.
1424 (emacs-lisp-mode): Use it.
1425 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1426 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1427
b7d5bd82
TL
1428 * indent.el: Use lexical-binding.
1429 (indent-region): Add progress reporter.
1430 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1431 last step.
1432 (indent--next-tab-stop): New function to implement this behavior.
1433 (tab-to-tab-stop, move-to-tab-stop): Use it.
1434
14352013-10-08 Teemu Likonen <tlikonen@iki.fi>
1436
1437 * indent.el (indent-rigidly--current-indentation): New function.
1438 (indent-rigidly-map): New var.
1439 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1440
5ea75d23
BG
14412013-10-08 Bastien Guerry <bzg@gnu.org>
1442
1443 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1444
cc5da1ec
SM
14452013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1446
8ffa1a0b
SM
1447 * progmodes/perl-mode.el: Use lexical-binding.
1448 Remove redundant :group args.
1449 (perl-nochange): Change default to be closer to other major modes's
1450 standard behavior.
1451 (perl-indent-line): Don't consider text on current line as a
1452 valid beginning of function from which to indent.
1453
f2223371
SM
1454 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1455 with more than one argument (bug#15538).
1456
44256060
SM
1457 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1458
cc5da1ec
SM
1459 * vc/pcvs.el: Use lexical-binding.
1460 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1461 environment of `eval'.
1462 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1463 than a list of expressions. Adjust callers.
1464 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1465
0ea1599d
DG
14662013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1467
1468 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1469 case of the dot in a chained method call being on the following line.
0ea1599d 1470
da3e5ebb
SM
14712013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1472
2abb4e65
SM
1473 * electric.el (electric-indent-inhibit): New var.
1474 (electric-indent-post-self-insert-function): Use it.
1475 * progmodes/python.el (python-mode): Set it.
1476
d2e0e795
SM
1477 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1478 open braces.
1479
1480 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1481
bdc6b4c8
SM
1482 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1483 (css-mode): Use electric-indent-chars.
1484
da3e5ebb
SM
1485 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1486 (font-lock-beg, font-lock-end): Move before first use.
1487 (nxml-mode): Use syntax-propertize-function.
1488 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1489 (nxml-extend-after-change-region): Remove.
1490 * nxml/xmltok.el: Use lexical-binding.
1491 (xmltok-save): Use `declare'.
1492 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1493 * nxml/nxml-util.el: Use lexical-binding.
1494 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1495 Use `declare'.
1496 * nxml/nxml-ns.el: Use lexical-binding.
1497 (nxml-ns-save): Use `declare'.
1498 (nxml-ns-prefixes-for): Avoid add-to-list.
1499 * nxml/rng-match.el: Use lexical-binding.
1500 (rng--ipattern): Use cl-defstruct.
1501 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1502 (rng-cons-group-after, rng-subst-group-after)
1503 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1504 Use closures instead of `(lambda...).
1505
f8f91d5d
MA
15062013-10-07 Michael Albinus <michael.albinus@gmx.de>
1507
1508 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1509 of BEG and END.
1510
da3e5ebb
SM
1511 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1512 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1513 (tramp-gvfs-handle-insert-file-contents): Remove function.
1514
da3e5ebb
SM
1515 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1516 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1517
1518 * net/trampver.el: Update release number.
1519
7ccae3b1
SM
15202013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1521
55ca2c0d
SM
1522 * progmodes/compile.el (compilation-parse-errors):
1523 Use compilation--put-prop.
1524 (compilation--ensure-parse): Check compilation-multiline.
1525
731fc3ae
SM
1526 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1527
da3e5ebb
SM
1528 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1529 lexical-binding.
a5833280 1530
2e7ba2c2
SM
1531 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1532
7ccae3b1
SM
1533 * progmodes/ruby-mode.el: Fix recently added tests.
1534 (ruby-smie-grammar): Add - and +.
1535 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1536 (ruby-smie--backward-id): New functions.
1537 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1538 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1539 any more.
1540
85698d63
LL
15412013-10-07 Leo Liu <sdl.web@gmail.com>
1542
1543 * register.el (register-preview-delay)
1544 (register-preview-functions): New variables.
1545 (register-read-with-preview, register-preview)
1546 (register-describe-oneline): New functions.
1547 (point-to-register, window-configuration-to-register)
1548 (frame-configuration-to-register, jump-to-register)
1549 (number-to-register, view-register, insert-register)
1550 (copy-to-register, append-to-register, prepend-to-register)
1551 (copy-rectangle-to-register): Use register-read-with-preview to
1552 read register. (Bug#15525)
1553
3986af6c
DS
15542013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1555
1556 * net/network-stream.el (network-stream-open-starttls): Don't add
1557 --insecure if it's already present, because that gnutls-cli
1558 rejects getting that parameter twice.
1559
5cd9cda9
DG
15602013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1561
1562 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1563 keyword, too.
1564
da9ea6d9
DG
15652013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1566
1567 * newcomment.el (comment-use-global-state): Change default value
1568 to t, mark obsolete (Bug#15251).
1569 (comment-beginning): In addition to `comment-to-syntax', check the
1570 value of `comment-use-global-state'.
1571
34d1a133
SM
15722013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1575 (ruby-comment-column): Follow the global default, by default.
1576 (ruby-smie-grammar): Add assignment syntax.
1577 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1578 open-paren, a comma, or a \.
1579 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1580 and line continuations.
1581 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1582 followed by implicit semi-colons. Add rule for string concatenation
1583 and for indentation at BOB.
1584 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1585
1586 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1587 calling next-sexp, since next-token may have skipped chars which
1588 next-sexp doesn't know should be skipped!
1589
6f6ab820
LL
15902013-10-05 Leo Liu <sdl.web@gmail.com>
1591
34d1a133
SM
1592 * progmodes/octave.el (octave-send-region):
1593 Call compilation-forget-errors.
6f6ab820 1594
34ca0f4c
XF
15952013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1596
1597 * vc/vc-svn.el (vc-svn-find-admin-dir):
1598 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1599 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1600 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1601 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1602
a27c1b72
SM
16032013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1606
258ab3bc
SM
16072013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * subr.el (read-passwd): Hide chars even when called within a context
1610 where after-change-functions is disabled (bug#15501).
1611 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1612 until we removed ourself from overriding-terminal-local-map.
1613
939fb29c
LL
16142013-10-04 Leo Liu <sdl.web@gmail.com>
1615
258ab3bc
SM
1616 * progmodes/octave.el (inferior-octave-mode):
1617 Call compilation-forget-errors.
939fb29c 1618
63bd7f35
XF
16192013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1620
1621 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1622
9e6229fa
MA
16232013-10-04 Michael Albinus <michael.albinus@gmx.de>
1624
1625 * net/secrets.el (secrets-create-collection): Add optional
1626 argument ALIAS. Use proper Label keyword. Append ALIAS as
1627 dbus-call-method argument. (Bug#15516)
1628
1dab32a3
LL
16292013-10-04 Leo Liu <sdl.web@gmail.com>
1630
1631 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1632 (inferior-octave-compilation-font-lock-keywords): New variables.
1633 (compilation-error-regexp-alist)
1634 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1635 (inferior-octave-mode): Use compilation-shell-minor-mode.
1636
6cad7ba3
JS
16372013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1638
1639 * minibuffer.el (completion--replace): Be careful that `end' might be
1640 a marker.
1641
acbadd00
DU
16422013-10-03 Daiki Ueno <ueno@gnu.org>
1643
1644 Add support for package signature checking.
1645 * emacs-lisp/package.el (url-http-file-exists-p)
1646 (epg-make-context, epg-context-set-home-directory)
1647 (epg-verify-string, epg-context-result-for)
1648 (epg-signature-status, epg-signature-to-string)
1649 (epg-check-configuration, epg-configuration)
1650 (epg-import-keys-from-file): Declare.
1651 (package-check-signature): New user option.
1652 (package-unsigned-archives): New user option.
1653 (package-desc): Add `signed' field.
1654 (package-load-descriptor): Set `signed' field if .signed file exists.
1655 (package--archive-file-exists-p): New function.
1656 (package--check-signature): New function.
1657 (package-install-from-archive): Check package signature.
1658 (package--download-one-archive): Check archive signature.
1659 (package-delete): Remove .signed file.
1660 (package-import-keyring): New command.
1661 (package-refresh-contents): Import default keyring.
1662 (package-desc-status): Add "unsigned" status.
1663 (describe-package-1, package-menu--print-info)
1664 (package-menu-mark-delete, package-menu--find-upgrades)
1665 (package-menu--status-predicate): Support "unsigned" status.
1666
adf2aa61
SM
16672013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1670 the new compilation scheme using the new byte-codes.
1671
1672 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1673 (byte-pophandler): New byte codes.
1674 (byte-goto-ops): Adjust accordingly.
1675 (byte-compile--use-old-handlers): New var.
1676 (byte-compile-catch): Use new byte codes depending on
1677 byte-compile--use-old-handlers.
1678 (byte-compile-condition-case--old): Rename from
1679 byte-compile-condition-case.
1680 (byte-compile-condition-case--new): New function.
1681 (byte-compile-condition-case): New function that dispatches depending
1682 on byte-compile--use-old-handlers.
1683 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1684 when we can.
1685
1686 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1687 Optimize under `condition-case' and `catch' if
1688 byte-compile--use-old-handlers is nil.
1689 (disassemble-offset): Handle new bytecodes.
1690
328a8179
SM
16912013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * subr.el (error): Use `declare'.
1694 (decode-char, encode-char): Use advertised-calling-convention instead
1695 of the docstring to discourage use of the `restriction' arg.
1696
15a1e936
DU
16972013-10-03 Daiki Ueno <ueno@gnu.org>
1698
1699 * epg.el (epg-verify-file): Add a comment saying that it does not
1700 notify verification error as a return value nor a signal.
1701 (epg-verify-string): Ditto.
1702
376f862a
KR
17032013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1704
1705 * progmodes/compile.el (compilation-start): Try globbing the arg to
1706 `cd' (bug#15417).
1707
a2f93a5f
MA
17082013-10-02 Michael Albinus <michael.albinus@gmx.de>
1709
1710 Sync with Tramp 2.2.8.
1711
1712 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1713 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1714 * net/trampver.el: Update release number.
1715
0daa0804
JD
17162013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1717
1718 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1719 and default-process-coding-system for darwin only.
1720
abd1ae34
SM
17212013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1722
1723 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1724
be4e325d
MH
17252013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1726
1727 * vc/vc-git.el (vc-git-grep): Disable pager.
1728
e9155c4a
DG
17292013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1730
494e898b
DG
1731 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1732 Use :url instead of :homepage, as per
1733 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1734
e9155c4a
DG
1735 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1736 non-nil, use `syntax-ppss' (Bug#15251).
1737
481a8e0f
RS
17382013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1739
be4e325d
MH
1740 * progmodes/octave.el (inferior-octave-startup-file):
1741 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1742
056453c6
DG
17432013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1744
be4e325d
MH
1745 * emacs-lisp/package.el (package-desc-from-define):
1746 Accept additional arguments as plist, convert them to an alist and store
1747 them in the `extras' slot.
056453c6
DG
1748 (package-generate-description-file): Convert extras alist back to
1749 plist and append to the `define-package' form arguments.
1750 (package--alist-to-plist): New function.
1751 (package--ac-desc): Add `extras' slot.
1752 (package--add-to-archive-contents): Check if the archive-contents
1753 vector is long enough, and if it is, pass its `extras' slot value
1754 to `package-desc-create'.
1755 (package-buffer-info): Call `lm-homepage', pass the returned value
1756 to `package-desc-from-define'.
1757 (describe-package-1): Render the homepage button (Bug#13291).
1758
be4e325d
MH
1759 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1760 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1761
832966e5
JD
17622013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1763
1764 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1765 and default-process-coding-system to utf-8-unix (Bug#15402).
1766
6cfe977d
XF
17672013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1768
1769 * subr.el (looking-back): Do not recommend using looking-back.
1770
38de11bd
AM
17712013-09-28 Alan Mackenzie <acm@muc.de>
1772
1773 Fix indentation/fontification of Java enum with "implements".
1774
1775 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1776 regexp which matches "implements", etc., in Java.
1777 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1778 specifier clauses coming after "enum".
1779 * progmodes/cc-fonts.el (c-font-lock-declarations)
1780 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1781 after "enum".
1782
1610938f
JD
17832013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1784
1785 * faces.el (region): Change ns_selection_color to
1786 ns_selection_fg_color, add ns_selection_bg_color.
1787
e090f499
LL
17882013-09-28 Leo Liu <sdl.web@gmail.com>
1789
4d2e94d1
LL
1790 * progmodes/octave.el (inferior-octave-completion-table)
1791 (inferior-octave-completion-at-point): Minor tweaks.
1792
e090f499
LL
1793 * textmodes/ispell.el (ispell-lookup-words): Rename from
1794 lookup-words. (Bug#15460)
1795 (lookup-words): Obsolete.
1796 (ispell-complete-word, ispell-command-loop): All uses changed.
1797
7e138a62
RS
17982013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1799
1800 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1801 (octave-mode-menu): Add octave-send-buffer.
1802 (octave-send-buffer): New function.
1803
5af5ed08
RS
18042013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1805
1806 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1807 octave-lookfor.
1808 (octave-mode-menu): Add octave-lookfor.
1809 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1810 octave-lookfor.
1811 (octave-lookfor): New function.
1812
3b7b2692
SM
18132013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * emacs-lisp/cl-macs.el:
1816 (cl--loop-destr-temps): Remove.
1817 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1818 its convention.
1819 (cl--loop-set-iterator-function): New function.
1820 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1821 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1822 Bind `it' with `let' instead of substituting it with `cl-subst'.
1823 (cl--unused-var-p): New function.
1824 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1825 Eliminate some unused variable warnings (bug#15326).
1826
529fb53f
TH
18272013-09-27 Tassilo Horn <tsdh@gnu.org>
1828
1829 * doc-view.el (doc-view-scale-reset): Rename from
1830 `doc-view-reset-zoom-level'.
1831 (doc-view-scale-adjust): New command.
1832 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1833 `doc-view-scale-adjust'.
1834
0550c95a
TH
18352013-09-26 Tassilo Horn <tsdh@gnu.org>
1836
1837 * doc-view.el (doc-view-reset-zoom-level): New command.
1838 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1839 zoom commands (bug#15466).
1840
6950f152
KH
18412013-09-26 Kenichi Handa <handa@gnu.org>
1842
1843 * international/quail.el (quail-help): Make it not a command.
1844
39587580
LL
18452013-09-26 Leo Liu <sdl.web@gmail.com>
1846
1847 * minibuffer.el (completion-all-sorted-completions): Make args
1848 optional as they are.
1849
00578659
DC
18502013-09-25 Daniel Colascione <dancol@dancol.org>
1851
1852 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1853 specs are and that they're not evaluated.
1854
0c173878
SS
18552013-09-24 Sam Steingold <sds@gnu.org>
1856
1857 * midnight.el (clean-buffer-list-kill-regexps)
1858 (clean-buffer-list-kill-buffer-names): Update for the new Man
1859 buffer naming which includes the object name.
1860
84998447
SM
18612013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1864 (eshell-parse-command, eshell-parse-pipeline): Use it since
1865 eshell-separate-commands requires a dynamic scoped var.
1866 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1867
33215353
LL
18682013-09-23 Leo Liu <sdl.web@gmail.com>
1869
1870 * autoinsert.el (auto-insert-alist): Make the value of
1871 lexical-binding match its file setting.
1872
57b16162
JB
18732013-09-23 Juanma Barranquero <lekktu@gmail.com>
1874
c8af4e67
JB
1875 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1876
57b16162
JB
1877 * autoarg.el (autoarg-kp-digit-argument):
1878 * electric.el (Electric-command-loop):
1879 * kmacro.el (kmacro-step-edit-insert):
1880 Do not set universal-argument-num-events.
1881
7186ba60
LL
18822013-09-22 Leo Liu <sdl.web@gmail.com>
1883
1884 * files.el (interpreter-mode-alist): Add octave.
1885
ece15004
AM
18862013-09-21 Alan Mackenzie <acm@muc.de>
1887
1888 C++: fontify identifier in declaration following "public:" correctly.
1889 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1890 to match "public", etc.
1891 (c-decl-prefix-re): Add ":" into the C++ value.
1892 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1893 bit. Add a check for a ":" preceded by "public", etc.
1894
75d83e22
EZ
18952013-09-21 Eli Zaretskii <eliz@gnu.org>
1896
1897 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1898 recognized by GDB 7.5 and later.
1899
d052d3bd
XF
19002013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1901
1902 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1903
31dca772
R
19042013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 * subr.el (internal--call-interactively): New const.
1907 (called-interactively-p): Use it (bug#3984).
1908
98ccf24e
XF
19092013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1910
1911 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1912 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1913 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1914
c39cc7d1
SM
19152013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1918 (eshell-ls-orig-insert-directory): Remove.
1919 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1920 (eshell-ls-use-in-dired): Use advice-add/remove.
1921 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1922 Add `orig-fun' arg for use in :around advice.
1923 Make it check (redundantly) eshell-ls-use-in-dired.
1924
9a0289a2
GM
19252013-09-19 Glenn Morris <rgm@gnu.org>
1926
a2c501b8
GM
1927 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1928
c440407a
GM
1929 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1930
9a0289a2
GM
1931 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1932
85e05915
MA
19332013-09-19 Michael Albinus <michael.albinus@gmx.de>
1934
1935 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1936 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1937 (tramp-get-remote-python): New defuns.
1938 (tramp-get-remote-uid-with-perl)
1939 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1940 contributed by yary <not.com@gmail.com> (tiny change).
1941 (tramp-get-remote-uid-with-python)
1942 (tramp-get-remote-gid-with-python): New defuns. Python code
1943 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1944 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1945
ce503312
GM
19462013-09-19 Glenn Morris <rgm@gnu.org>
1947
f7544773
GM
1948 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1949
72fd2877
GM
1950 * eshell/em-unix.el (eshell-remove-entries):
1951 Rename argument to avoid name-clash with global `top-level'.
1952
336b5a56
GM
1953 * eshell/esh-proc.el (eshell-kill-process-function):
1954 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1955 (eshell-reset-after-proc): Remove unused arg `proc'.
1956
57a3a53d
GM
1957 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1958 (directory-files-and-attributes): Mark unused arg.
1959
3261d4af
GM
1960 * eshell/em-unix.el (eshell-remove-entries):
1961 Remove unused arg `path'. Update callers.
1962
8e51b5d0
GM
1963 * eshell/em-hist.el (eshell-hist-parse-arguments):
1964 Remove unused arg `silent'. Update callers.
1965
ce503312
GM
1966 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1967 Fix (f)boundp mix-up.
1968
1969 * eshell/em-smart.el (eshell-smart-scroll-window)
1970 (eshell-disable-after-change):
336b5a56 1971 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1972
ee3ce8a7
AM
19732013-09-18 Alan Mackenzie <acm@muc.de>
1974
1975 Fix fontification of type when followed by "const".
1976 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1977 "known" types from fontification.
1978
ec9177ba
GM
19792013-09-18 Glenn Morris <rgm@gnu.org>
1980
7bb3e768
GM
1981 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1982 (chart-face-list): Drop Emacsen without display-color-p.
1983
5148da15
GM
1984 * net/eww.el (libxml-parse-html-region): Declare.
1985 (eww-display-html): Explicit error if no libxml2 support.
1986
2f68e157
GM
1987 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1988
9019d095
GM
1989 * image.el (image-type-from-buffer, image-multi-frame-p):
1990 Remove --without-x warning/error.
67645389 1991
5f30349b 1992 * mouse.el (mouse-yank-primary):
45069b2e 1993 * term.el (term-mouse-paste):
5f30349b
GM
1994 Reorder to silence --without-x compilation.
1995
cd8edbbe
GM
1996 * mpc.el (doc-view-mode): Silence --without-x compilation.
1997
8a78544e
GM
1998 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1999 Silence --without-x compilation.
2000
12679bfd
GM
2001 * progmodes/gud.el (gud-find-file, gud-mode):
2002 Silence --without-x compilation.
2003 (tooltip-mode): Declare.
30810a05 2004
f0047cb9
GM
2005 * wdired.el (dired-backup-overwrite): Remove declaration.
2006 (wdired-mode-map): Add doc string.
2007
e740f9d2
GM
2008 * custom.el (x-get-resource): Declare.
2009
92d77c89
GM
2010 * eshell/em-glob.el (ange-cache):
2011 * eshell/em-unix.el (ange-cache): Declare.
2012
76e69577
GM
2013 * faces.el (x-display-list, x-open-connection, x-get-resource):
2014 Declare.
7e58af4b
GM
2015
2016 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2017 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2018 Declare.
76e69577 2019
4bd4c0af 2020 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2021
ffb82dbd
GM
2022 * net/gnutls.el (gnutls-log-level): Declare.
2023
986ed135
GM
2024 * net/shr.el (image-size, image-animate): Declare.
2025
e740f9d2
GM
2026 * simple.el (font-info): Declare.
2027
d2f3e9f8
GM
2028 * subr.el (x-popup-dialog): Declare.
2029
047a1a4c
GM
2030 * term/common-win.el (x-select-enable-primary)
2031 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2032 Declare.
2033
f4a1d572
GM
2034 * term/ns-win.el (x-handle-args): Declare.
2035
e843de77
GM
2036 * term/x-win.el (x-select-enable-clipboard): Declare.
2037
5fa89513
GM
2038 * term/w32-win.el (create-default-fontset): Declare.
2039
38702b5b
GM
2040 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2041 Declare.
2042
e740f9d2
GM
2043 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2044 (fit-frame-to-buffer): Explicit error if --without-x.
2045 (mouse-autoselect-window-select): Silence compiler.
2046
49a053fc
GM
2047 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2048
2049 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2050 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2051 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2052 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2053 Remove unused local variables.
2054
2055 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2056
ec9177ba
GM
2057 * textmodes/two-column.el: Make 2C-split work for --without-x.
2058 (scroll-bar-columns): Autoload.
2059 (top-level): Require fringe when compiling.
2060
9f25cb77
LL
20612013-09-18 Leo Liu <sdl.web@gmail.com>
2062
2063 * subr.el (add-hook): Robustify to handle closure as well.
2064
2b42da98
GM
20652013-09-17 Glenn Morris <rgm@gnu.org>
2066
2067 * simple.el (messages-buffer-mode-map): Unbind "g".
2068
e8b66a6a
SM
20692013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2070
9c0ad4f7
SM
2071 * help-mode.el (help-mode-finish): Use derived-mode-p.
2072 Remove obsolete highlighting.
2073
7a806dfb
SM
2074 * play/life.el (life-mode): Use define-derived-mode. Derive from
2075 special-mode.
2076 (life): Let-bind inhibit-read-only.
2077 (life-setup): Avoid `setq'. Use `life-mode'.
2078
96dbf5a8
SM
2079 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2080 which should not be needed any more.
2081 (package-menu-refresh, package-menu-describe-package): Use user-error.
2082
e8b66a6a
SM
2083 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2084 (eshell-post-rewrite-command-hook): Make obsolete.
2085 (eshell-parse-command): Simplify.
2086 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2087 (eshell--cmd): Declare.
2088 (eshell-parse-pipeline): Remove unused var `final-p'.
2089 Pass a dynvar to eshell-post-rewrite-command-hook.
2090 Implement the new eshell-post-rewrite-command-function.
2091 (eshell-invoke-directly): Remove unused arg `input'.
2092 * eshell/esh-io.el (eshell-io-initialize):
2093 Use eshell-post-rewrite-command-function (bug#15399).
2094 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2095 adjust to new calling convention.
2096 (eshell-create-handles): Rename args to avoid clashing with dynvar
2097 `standard-output'.
2098
90582f05
GM
20992013-09-17 Glenn Morris <rgm@gnu.org>
2100
2101 * simple.el (messages-buffer-mode): New major mode.
2102 (messages-buffer): New function.
2103 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2104 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2105 (ert-run-test): Use `messages-buffer' function.
90582f05 2106 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2107 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2108 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2109
39eb0cb5 21102013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2111
2112 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2113
1f1e06e2
SM
2114 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2115
70568a90
SM
21162013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2117
504a0381
SM
2118 * icomplete.el (icomplete-in-buffer): New var.
2119 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2120 vars and replace them with functions.
2121 (icomplete-minibuffer-setup): Adjust accordingly.
2122 (icomplete--completion-table, icomplete--completion-predicate)
2123 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2124 New functions.
2125 (icomplete-forward-completions, icomplete-backward-completions)
2126 (icomplete-simple-completing-p, icomplete-exhibit)
2127 (icomplete-completions): Use them.
2128 (icomplete--in-region-buffer): New var.
2129 (icomplete--in-region-setup): New function.
2130 (icomplete-mode): Use it.
2131
70568a90
SM
2132 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2133 (bug#15379).
2134 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2135 return args and options.
2136 (eshell-eval-using-options): Use the new return value of
2137 eshell--do-opts to set the options's vars in their scope.
2138 (eshell--set-option): Rename from eshell-set-option.
2139 Add arg `opt-vals'.
2140 (eshell--process-option): Rename from eshell-process-option.
2141 Add arg `opt-vals'.
2142 (eshell--process-args): Use an `opt-vals' alist to store the options's
2143 values during their processing and return them additionally to the
2144 remaining args.
2145
578c21bc
DG
21462013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2147
2148 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2149 continuation character an operator, as far as indentation is
2150 concerned (Bug#15369).
2151
c089653d
MR
21522013-09-15 Martin Rudalics <rudalics@gmx.at>
2153
2154 * window.el (window--state-put-2): Don't process buffer state
2155 when buffer doesn't exist any more (Bug#15382).
2156
1e53bb4b
GM
21572013-09-15 Glenn Morris <rgm@gnu.org>
2158
30753242
GM
2159 * eshell/em-unix.el (eshell/rm):
2160 Make -f ignore missing files. (Bug#15373)
2161
1e53bb4b
GM
2162 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2163 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2164 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2165
0d8863b3
GM
21662013-09-14 Glenn Morris <rgm@gnu.org>
2167
2168 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2169
d3fc6549
GM
21702013-09-13 Glenn Morris <rgm@gnu.org>
2171
2172 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2173 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2174
fcd42c11
DA
21752013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2176
2177 * frame.el (x-focus-frame): Mark as declared in frame.c.
2178
7830899f
SM
21792013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * ls-lisp.el: Use advice-add.
2182 (original-insert-directory): Remove.
2183 (ls-lisp--insert-directory): Rename from insert-directory; add
2184 `orig-fun' argument.
2185 (insert-directory): Advise.
2186
84387cd2
EZ
21872013-09-13 Eli Zaretskii <eliz@gnu.org>
2188
2189 * term.el (term-emulate-terminal): Decode the command string
2190 before passing it to term-command-hook. (Bug#15337)
2191
35ffc6ba
GM
21922013-09-13 Glenn Morris <rgm@gnu.org>
2193
5c3f9bcc
GM
2194 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2195
2ada368a
GM
2196 * eshell/esh-ext.el (eshell-search-path): Declare.
2197
fcef2e13
GM
2198 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2199 Otherwise an error occurs if eshell-dirs module not loaded.
2200
35ffc6ba
GM
2201 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2202
35c3d36e
MA
22032013-09-13 Michael Albinus <michael.albinus@gmx.de>
2204
2205 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2206 `tramp-check-proper-host'. Check for a valid method name.
2207
2208 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2209 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2210 * net/tramp-sh.el (tramp-maybe-open-connection):
2211 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2212
2213 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2214 also for hash values.
2215
ae5e4c48
SM
22162013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2217
379add74
SM
2218 * term/ns-win.el (parameters): Don't declare as dynamic.
2219 (before-make-frame-hook): Don't add ineffective function.
2220
ae5e4c48
SM
2221 * eshell/*.el: Use lexical-binding (bug#15231).
2222
b5623270
KH
22232013-09-12 Kenichi Handa <handa@gnu.org>
2224
ae5e4c48 2225 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2226
30213927
GM
22272013-09-12 Glenn Morris <rgm@gnu.org>
2228
be94d713 2229 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2230 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2231
44915370
GM
2232 * subr.el (do-after-load-evaluation): Also give compiler warnings
2233 when obsolete files are used (except by obsolete files).
2234
a6ae021f
GM
2235 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2236 in the status output, assume `filename' is the first. (Bug#15322)
2237
40e64f0c
GM
2238 * vc/vc.el (vc-deduce-fileset): Doc fix.
2239
16d9f896
GM
2240 * calc/calc-help.el (Info-goto-node):
2241 * progmodes/cperl-mode.el (Info-find-node):
2242 * vc/ediff.el (Info-goto-node): Update declarations.
2243
dea01c6e
GM
2244 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2245
759880bf 2246 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2247 (vc-bzr-pull): Require vc-dispatcher.
2248 * vc/vc-git.el (vc-compilation-mode): Declare.
2249 (vc-git-pull): Require vc-dispatcher.
2250
08d66420
GM
2251 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2252
30b626e9
GM
2253 * progmodes/octave.el (help-button-action): Declare.
2254
8c05cb10
GM
2255 * shell.el (shell-directory-tracker): Output error as a message
2256 rather than just returning it as a string.
2257 (shell-process-pushd): Remove useless use of message.
2258
30213927
GM
2259 * dframe.el (dframe-timer-fn):
2260 * files.el (dir-locals-read-from-file):
2261 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2262 (mpc-format):
2263 * reveal.el (reveal-post-command):
2264 * saveplace.el (load-save-place-alist-from-file):
2265 * shell.el (shell-resync-dirs):
2266 * w32-common-fns.el (x-get-selection-value):
2267 * emacs-lisp/copyright.el (copyright-find-copyright):
2268 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2269 * emulation/tpu-edt.el (tpu-copy-keyfile):
2270 * play/bubbles.el (bubbles--mark-neighbourhood):
2271 * progmodes/executable.el
2272 (executable-make-buffer-file-executable-if-script-p):
2273 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2274
d3b049e6
SM
22752013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2276
170266d0
SM
2277 Cleanup Eshell to rely less on dynamic scoping.
2278 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2279 last-value, and ext-command here. Bind `args' closer to `body'.
2280 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2281 (eshell--args): Declare new dynamic var.
2282 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2283 last-value, and ext-command. Pass `args' to `body'.
2284 (eshell-process-args): Bind eshell--args.
2285 (eshell-set-option): Use eshell--args.
2286 * eshell/eshell.el (eshell): Use derived-mode-p.
2287 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2288 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2289 (eshell-glob-function): Declare.
2290 * eshell/esh-util.el: Require cl-lib.
2291 (eshell-read-hosts-file): Avoid add-to-list.
2292 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2293 `err'.
2294 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2295 Declare.
2296 (eshell/diff): Remove unused var `err'.
2297 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2298 `killflag'.
2299 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2300 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2301 first use.
2302 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2303 Move declaration before first use.
2304 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2305 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2306 rely on cl-return.
2307
56834f3b
GM
23082013-09-12 Glenn Morris <rgm@gnu.org>
2309
2310 * term/ns-win.el (global-map): Remove binding for ispell-next,
2311 deleted 1999-05-29. (Bug#15357)
2312
5c91a2b8
GM
23132013-09-11 Glenn Morris <rgm@gnu.org>
2314
da712f22
GM
2315 * echistory.el (electric-command-history): Remove call to deleted func.
2316
512e4cdc
GM
2317 * play/landmark.el (landmark-mode): Fix typos.
2318
d3506ca5
GM
2319 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2320 Check cvs-sort-ignore-file is bound.
2321
5c91a2b8
GM
2322 * savehist.el: No need for cl when compiling on Emacs.
2323
feeff482
SM
23242013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2325
656bd483
SM
2326 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2327 (bug#15338).
d3b049e6
SM
2328 (eshell-self-insert-command, eshell-send-invisible):
2329 Remove unused argument.
656bd483
SM
2330 (eshell-handle-control-codes): Remove unused var `orig'.
2331 Avoid delete-backward-char.
2332
feeff482
SM
2333 * files.el (set-auto-mode): Simplify a bit further.
2334
2a08047a
GM
23352013-09-11 Glenn Morris <rgm@gnu.org>
2336
2337 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2338 (set-auto-mode): Don't regexp-quote elements.
2339 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2340 * progmodes/cc-mode.el (interpreter-mode-alist):
2341 * progmodes/ruby-mode.el (interpreter-mode-alist):
2342 Revert previous change.
2343
34675540
SM
23442013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2345
1b3b87df
SM
2346 * play/snake.el (snake-mode):
2347 * play/mpuz.el (mpuz-mode):
2348 * play/landmark.el (lm-mode):
2349 * play/blackbox.el (blackbox-mode):
2350 * play/5x5.el (5x5-mode):
2351 * obsolete/options.el (Edit-options-mode):
2352 * net/quickurl.el (quickurl-list-mode):
2353 * net/newst-treeview.el (newsticker-treeview-mode):
2354 * mail/rmailsum.el (rmail-summary-mode):
2355 * mail/mspools.el (mspools-mode):
2356 * locate.el (locate-mode):
2357 * ibuffer.el (ibuffer-mode):
2358 * emulation/ws-mode.el (wordstar-mode):
2359 * emacs-lisp/debug.el (debugger-mode):
2360 * array.el (array-mode):
2361 * net/eudc.el (eudc-mode): Use define-derived-mode.
2362 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2363 Move initialization into declaration.
2364 (mairix-searches-mode): Use define-derived-mode.
2365 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2366 (eudc-edit-hotlist): Use dolist.
2367 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2368 (Man-mode): Use define-derived-mode.
2369 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2370 (Info-edit-mode): Use define-derived-mode.
2371 (Info-cease-edit): Use Info-mode.
2372 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2373 into declaration.
2374 (eshell-mode): Use define-derived-mode.
2375 * chistory.el (command-history-mode-map): Rename from
2376 command-history-map.
2377 (command-history-mode): Use define-derived-mode.
da712f22 2378 (Command-history-setup): Remove function.
1b3b87df
SM
2379 * calc/calc.el (calc-trail-mode-map): New var.
2380 (calc-trail-mode): Use define-derived-mode.
2381 (calc-trail-buffer): Set calc-main-buffer manually.
2382 * bookmark.el (bookmark-insert-annotation): New function.
2383 (bookmark-edit-annotation): Use it.
2384 (bookmark-edit-annotation-mode): Make it a proper major mode.
2385 (bookmark-send-edited-annotation): Use derived-mode-p.
2386 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2387 closer to its ideal place. Use \' to match EOS.
2388
34675540
SM
2389 * profiler.el (profiler-calltree-find): Use function-equal.
2390
6a5c15d9
GM
23912013-09-10 Glenn Morris <rgm@gnu.org>
2392
1af4c220
GM
2393 * files.el (interpreter-mode-alist): Convert to regexps.
2394 (set-auto-mode): Adapt for this. (Bug#15306)
2395 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2396 Comment out unused variable.
2397 * progmodes/cc-mode.el (interpreter-mode-alist):
2398 * progmodes/python.el (interpreter-mode-alist):
2399 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2400 * progmodes/sh-script.el (sh-set-shell):
2401 No longer use interpreter-mode-alist to get list of shells.
2402
6a5c15d9
GM
2403 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2404
8c27f5ff
SM
24052013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2406
02ef6c1a 2407 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2408 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2409 Bind switch-frame explicitly. Replace universal-argument-minus with
2410 a conditional binding.
2411 (universal-argument-num-events, saved-overriding-map): Remove.
2412 (restore-overriding-map): Remove.
2413 (universal-argument--mode): Rename from save&set-overriding-map,
2414 and rewrite.
2415 (universal-argument, universal-argument-more, negative-argument)
2416 (digit-argument): Adjust accordingly.
2417 (universal-argument-minus): Remove.
2418 (universal-argument-other-key): Remove.
2419
8c27f5ff
SM
2420 * subr.el (with-demoted-errors): Add `format' argument.
2421
6480194c
MA
24222013-09-10 Michael Albinus <michael.albinus@gmx.de>
2423
2424 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2425 `tramp-cleanup-connection'.
2426
2427 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2428 parameters KEEP-DEBUG and KEEP-PASSWORD.
2429
2430 * net/tramp.el (tramp-file-name-handler):
2431 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2432 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2433 (tramp-maybe-open-connection):
8c27f5ff
SM
2434 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2435 Use `tramp-cleanup-connection'.
6480194c 2436
8c27f5ff
SM
2437 * net/tramp-sh.el (tramp-maybe-open-connection):
2438 Catch 'uname-changed inside the progress reporter.
6480194c 2439
e5e916d8
GM
24402013-09-10 Glenn Morris <rgm@gnu.org>
2441
9a2c9b47
GM
2442 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2443
e5e916d8
GM
2444 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2445 returns "alternate access method" in mode (eg "-rw-r--r--.").
2446
144e38fe
GM
24472013-09-08 Glenn Morris <rgm@gnu.org>
2448
2449 * saveplace.el (load-save-place-alist-from-file):
2450 Demote errors. (Bug#15305)
2451
af9ff9e8
MA
24522013-09-08 Michael Albinus <michael.albinus@gmx.de>
2453
2454 Improve compatibility with older Emacsen, and XEmacs.
2455
2456 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2457 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2458 (with-tramp-progress-reporter): Do not let-bind `result'.
2459 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2460 (tramp-handle-make-auto-save-file-name): New function, moved from
2461 tramp-sh.el.
2462
2463 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2464 for `make-auto-save-file-name'.
8c27f5ff
SM
2465 (tramp-adb--gnu-switches-to-ash):
2466 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2467
2468 * net/tramp-cache.el (tramp-cache-print): Call
2469 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2470
2471 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2472 bound. It isn't for XEmacs.
2473
8c27f5ff
SM
2474 * net/tramp-compat.el (tramp-compat-copy-file):
2475 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2476 (tramp-compat-replace-regexp-in-string): New defun.
2477
2478 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2479 for `make-auto-save-file-name'.
2480 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2481 `copy-file'.
2482 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2483 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2484 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2485
8c27f5ff
SM
2486 * net/tramp-gw.el (tramp-gw-open-network-stream):
2487 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2488
8c27f5ff
SM
2489 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2490 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2491 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2492 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2493 (tramp-sh-file-inotifywait-process-filter):
2494 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2495 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2496
2497 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2498 for `make-auto-save-file-name'.
8c27f5ff
SM
2499 (tramp-smb-handle-copy-directory):
2500 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2501 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2502 (tramp-smb-handle-copy-file): Improve error message.
2503 (tramp-smb-handle-rename-file): Rename directly only in case
2504 `newname' does not exist yet. This is a restriction of smbclient.
2505 (tramp-smb-maybe-open-connection): Rerun the function only when
2506 `auth-sources' is non-nil.
2507
0ca754d0
KH
25082013-09-08 Kenichi Handa <handa@gnu.org>
2509
2510 * international/characters.el: Set category "^" (Combining) for
2511 more characters.
2512
e8dd0787
AM
25132013-09-07 Alan Mackenzie <acm@muc.de>
2514
2515 Correctly fontify Java class constructors.
2516 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2517 in Java Mode.
2518 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2519 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2520 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2521 "typeless" declaration there.
2522
f2f248e7
RW
25232013-09-07 Roland Winkler <winkler@gnu.org>
2524
2525 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2526 field subtitle for entry type book.
2527
67982e2b
SM
25282013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * minibuffer.el: Make minibuffer-complete call completion-in-region
2531 rather than other way around.
2532 (completion--some, completion-pcm--find-all-completions):
2533 Don't delay signals when debugging.
2534 (minibuffer-completion-contents): Beware fields within the
2535 minibuffer contents.
2536 (completion-all-sorted-completions): Use defvar-local.
2537 (completion--do-completion, completion--cache-all-sorted-completions)
2538 (completion-all-sorted-completions, minibuffer-force-complete):
2539 Add args `beg' and `end'.
2540 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2541 (minibuffer-complete): Use completion-in-region.
2542 (completion-complete-and-exit): New fun, extracted from
2543 minibuffer-complete-and-exit.
2544 (minibuffer-complete-and-exit): Use it.
2545 (completion--complete-and-exit): Rename from
2546 minibuffer--complete-and-exit.
2547 (completion-in-region--single-word): New function, extracted from
2548 minibuffer-complete-word.
2549 (minibuffer-complete-word): Use it.
2550 (display-completion-list): Make `common-substring' argument obsolete.
2551 (completion--in-region): Call completion--in-region-1 instead of
2552 minibuffer-complete.
2553 (completion-help-at-point): Pass boundaries to
2554 minibuffer-completion-help as args rather than via an overlay.
2555 (completion-pcm--string->pattern): Use `any-delim'.
2556 (completion-pcm--optimize-pattern): New function.
2557 (completion-pcm--pattern->regex): Handle `any-delim'.
2558 * icomplete.el (icomplete-forward-completions)
2559 (icomplete-backward-completions, icomplete-completions):
2560 Adjust calls to completion-all-sorted-completions and
2561 completion--cache-all-sorted-completions.
2562 (icomplete-with-completion-tables): Default to t.
2563 * emacs-lisp/crm.el (crm--current-element): Rename from
2564 crm--select-current-element. Don't put an overlay but return the
2565 boundaries instead.
2566 (crm--completion-command): Take two new args to bind to the boundaries.
2567 (crm-completion-help): Adjust accordingly.
2568 (crm-complete): Use completion-in-region.
2569 (crm-complete-word): Use completion-in-region--single-word.
2570 (crm-complete-and-exit): Use completion-complete-and-exit.
2571
e17d94a5
SM
25722013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2575 than dynamically.
2576
96727100
JL
25772013-09-06 Juri Linkov <juri@jurta.org>
2578
2579 * info.el (Info-display-images-node): When image file doesn't exist
2580 display text version of the image if it's provided in the Info file.
2581 Otherwise, display the location of missing image from SRC attribute.
2582 Add help-echo text property from ALT attribute. (Bug#15279)
2583
86cf7329
SM
25842013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2587 (edit-abbrevs-mode): Use define-derived-mode.
2588
2589 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2590 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2591 that it's defined.
2592 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2593 Use define-derived-mode.
2594
2595 * epg.el (epg-start-encrypt): Minor CSE simplification.
2596
816244a2
WX
25972013-09-06 William Xu <william.xwl@gmail.com>
2598
2599 * arc-mode.el: Add support for 7za (bug#15264).
2600 (archive-7z-program): New var.
2601 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2602 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2603 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2604
1486fa31
MA
26052013-09-06 Michael Albinus <michael.albinus@gmx.de>
2606
2607 Remove URL syntax.
2608
2609 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2610 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2611 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2612 (tramp-postfix-host-format, tramp-file-name-regexp)
2613 (tramp-completion-file-name-regexp)
2614 (tramp-completion-dissect-file-name)
2615 (tramp-handle-substitute-in-file-name): Remove 'url case.
2616 (tramp-file-name-regexp-url)
2617 (tramp-completion-file-name-regexp-url): Remove constants.
2618
39785324
GM
26192013-09-06 Glenn Morris <rgm@gnu.org>
2620
2621 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2622
1f896cb7
DG
26232013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2624
2625 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2626 keywords" below "here-doc beginnings" (Bug#15270).
2627
c0458e0b
SM
26282013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * subr.el (pop): Use `car-safe'.
2631 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2632 to detect unused `pop' return value.
2633
2634 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2635 var `block-regexp'.
2636 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2637 (python-fill-string): Remove unused var `marker'.
2638 (python-skeleton-add-menu-items): Remove unused var `items'.
2639
2640 * international/mule-cmds.el: Require CL.
2641 (find-coding-systems-for-charsets): Avoid add-to-list.
2642 (sanitize-coding-system-list): New function, extracted from
2643 select-safe-coding-system-interactively.
2644 (select-safe-coding-system-interactively): Use it.
2645 (read-input-method-name): Accept symbols for `default'.
2646
2647 * emacs-lisp/advice.el (defadvice): Add indent rule.
2648
6c42fc3e
DH
26492013-09-05 Daniel Hackney <dan@haxney.org>
2650
2651 * dired-x.el:
2652 * net/ange-ftp.el:
2653 * net/browse-url.el:
2654 * net/dbus.el:
2655 * net/eudc.el:
2656 * net/eudcb-ldap.el:
2657 * net/eww.el:
2658 * net/imap.el:
2659 * printing.el:
2660 * vc/ediff-diff.el:
2661 * vc/ediff-init.el:
2662 * vc/ediff-merg.el:
2663 * vc/ediff-mult.el:
2664 * vc/ediff-util.el:
2665 * vc/ediff-wind.el:
2666 * vc/ediff.el:
2667 * vc/emerge.el:
2668 * vc/pcvs.el:
2669 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2670 byte compiler. Remove some unused let-bound variables.
2671
4c528aab
SM
26722013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2675 a "ref-cell", since it gets better optimized (bug#14883).
2676
bd15c390
GM
26772013-09-05 Glenn Morris <rgm@gnu.org>
2678
2679 * progmodes/cc-awk.el (c-forward-sws): Declare.
2680
1c3ac2e5
GM
26812013-09-04 Glenn Morris <rgm@gnu.org>
2682
2683 * generic-x.el [rul-generic-mode]: Require cc-mode.
2684 (c++-mode-syntax-table): Declare.
2685 (rul-generic-mode-syntax-table): Init in the defvar.
2686
52b1cc79
SM
26872013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2688
c828af56
SM
2689 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2690 (vc-do-command, vc-set-async-update):
2691 * vc/vc-mtn.el (vc-mtn-dir-status):
2692 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2693 (vc-hg-pull, vc-hg-merge-branch):
2694 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2695 (vc-git-merge-branch):
2696 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2697 (vc-cvs-dir-status-files):
2698 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2699 (vc-bzr-dir-status-files):
2700 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2701 * vc/vc-annotate.el: Use lexical-binding.
2702 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2703 (vc-sentinel-movepoint): Declare.
2704 (vc-annotate): Don't use `goto-line'.
2705 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2706 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2707 (vc-sentinel-movepoint): Declare.
2708 * vc/vc-svn.el: Use lexical-binding.
2709 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2710 * vc/vc-sccs.el:
2711 * vc/vc-rcs.el: Use lexical-binding.
2712
abae272c
SM
2713 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2714 `deleted'. Don't drop errors silently.
2715
52b1cc79
SM
2716 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2717
63191d9f
XF
27182013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2719
2720 * vc/vc.el (vc-ignore): Rewrite.
2721 (vc-default-ignore): New function.
2722 (vc-default-ignore-completion-table): Use find-ignore-file.
2723
2724 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2725 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2726 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2727 Remove. Most code moved to vc.el.
2728
9d3f707c
SM
27292013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2730
abae272c 2731 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2732 * net/tramp-smb.el (tramp-smb-get-file-entries):
2733 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2734 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2735
fde38d49
SM
2736 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2737 Update call to it.
2738 (eww-change-select): Remove unused var `properties'.
2739 (eww-make-unique-file-name): Remove unused var `base'.
2740
2741 * finder.el (finder-compile-keywords): Don't mess with windows.
2742
84032db7
SM
2743 * calculator.el (calculator-funcall): Fix typo in last change.
2744
724f5e41
SM
2745 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2746
14b511d4
SM
2747 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2748 <pkg>-autoloads.el file stop us.
2749
9d3f707c 2750 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2751 warnings, and factor out common code.
9d3f707c 2752
88527bc0
DG
27532013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2754
2755 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2756 two-character operators and whether the character preceding them
2757 changes their meaning (Bug#15208).
2758
96edb677
FEG
27592013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2760
2761 Format code sent to Python shell for robustness.
9d3f707c
SM
2762 * progmodes/python.el (python-shell-buffer-substring):
2763 New function.
96edb677
FEG
2764 (python-shell-send-region, python-shell-send-buffer): Use it.
2765
95beaef3
MA
27662013-09-02 Michael Albinus <michael.albinus@gmx.de>
2767
2768 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2769 * net/tramp.el (tramp-user-error): ... here.
2770 (tramp-find-method, tramp-check-proper-host)
2771 (tramp-dissect-file-name, tramp-debug-message)
2772 (tramp-handle-shell-command):
2773 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2774 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2775
2776 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2777
f167c27b
MR
27782013-09-02 Martin Rudalics <rudalics@gmx.at>
2779
2780 * avoid.el (mouse-avoidance-point-position)
2781 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2782 returns nil.
2783
cd16c5f1
FEG
27842013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2785
2786 * progmodes/python.el (python-shell-completion-get-completions):
2787 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2788 (python-nav-if-name-main): New command.
cd16c5f1 2789
e73c3a0d
GM
27902013-09-01 Glenn Morris <rgm@gnu.org>
2791
f8ccce03
GM
2792 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2793 Avoid leading space in $wins. Otherwise the sed command used by
2794 eg compile-main ends up containing "/*.el". (Bug#15170)
2795
e73c3a0d
GM
2796 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2797
415f808e
GM
27982013-08-30 Glenn Morris <rgm@gnu.org>
2799
2800 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2801 Fix is-this-a-directory logic. (Bug#15220)
2802
f069bba8
SM
28032013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2804
112798c1
SM
2805 * textmodes/css-mode.el: Use SMIE.
2806 (css-smie-grammar): New var.
2807 (css-smie--forward-token, css-smie--backward-token)
2808 (css-smie-rules): New functions.
2809 (css-mode): Use them.
2810 (css-navigation-syntax-table): Remove var.
2811 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2812 (css-indent-calculate, css-indent-line): Remove functions.
2813
2814 Misc changes to reduce use of `(lambda...); and other cleanups.
2815 * cus-edit.el: Use lexical-binding.
2816 (customize-push-and-save, customize-apropos)
2817 (custom-buffer-create-internal): Use closures.
2818 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2819 * progmodes/ada-xref.el: Use setq.
2820 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2821 * dframe.el: Use lexical-binding.
2822 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2823 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2824 * descr-text.el: Use lexical-binding.
2825 (describe-text-widget, describe-text-sexp, describe-property-list):
2826 Use closures.
2827 * comint.el (comint-history-isearch-push-state): Use a closure.
2828 * calculator.el: Use lexical-binding.
2829 (calculator-number-to-string): Make it work with lexical-binding.
2830 (calculator-funcall): Same and use cl-letf.
2831
2da4c3ab
SM
2832 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2833 (lisp--company-doc-string, lisp--company-location): New functions.
2834 (lisp-completion-at-point): Use them to improve Company support.
2835
f069bba8
SM
2836 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2837 params of lambda expressions.
2838 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2839 (ruby-smie--opening-pipe-p): New function.
2840 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2841 symbols and matched |...| for formal params.
2842 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2843 from being treated as hanging. Handle "rescue".
2844
6758b6a8
GM
28452013-08-29 Glenn Morris <rgm@gnu.org>
2846
2847 * progmodes/cc-engine.el (c-pull-open-brace):
2848 Move definition before use.
2849
e8dfd197
SM
28502013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2853 are immutable. Don't use `unsafe' any more.
2854 (cl--defsubst-expand): Don't substitute at the same time as keeping
2855 a residual unused let-binding. Don't use `unsafe' any more.
2856
cc585c96
GM
28572013-08-29 Glenn Morris <rgm@gnu.org>
2858
ba579ea6
GM
2859 * calendar/cal-china.el (calendar-chinese-year-cache):
2860 Recenter on 2015.
2861
8201a87e
GM
2862 * nxml/nxml-util.el (nxml-debug-clear-inside):
2863 Use cl-loop rather than loop.
2864
6ee877c7
GM
2865 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2866
cc585c96
GM
2867 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2868
27be8d39
GM
28692013-08-28 Glenn Morris <rgm@gnu.org>
2870
397440a1
GM
2871 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2872
2bb762d4
GM
2873 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2874
27be8d39
GM
2875 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2876
2d69b99e
SM
28772013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2878
f663baa7
SM
2879 * simple.el (repeat-complex-command--called-interactively-skip):
2880 New function.
2881 (repeat-complex-command): Use it (bug#14136).
2882
dd4f8b74
SM
2883 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2884 (c-define-abbrev-table): Add `doc' argument.
2885 (c-mode-abbrev-table, c++-mode-abbrev-table)
2886 (objc-mode-abbrev-table, java-mode-abbrev-table)
2887 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2888 (awk-mode-abbrev-table): Use it.
2889 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2890 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2891 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2892 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2893 Move initialization into the declaration; and remove any
2894 autoload cookie.
2895
b58969f7
SM
2896 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2897 and dynamic let binding.
2898
4021d6a6
SM
2899 * vc/smerge-mode.el: Remove redundant :group args.
2900
2d69b99e
SM
2901 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2902 to load-path.
2903
274919fd
JL
29042013-08-28 Juri Linkov <juri@jurta.org>
2905
2906 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2907 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2908 (isearch-other-meta-char): Handle an undefined shifted printing
2909 character by downshifting it. (Bug#15200)
2910
121f8c95
JL
29112013-08-28 Juri Linkov <juri@jurta.org>
2912
2913 * isearch.el (isearch-search): Change regexp error message for
2914 non-regexp searches. (Bug#15166)
2915
50b13cde
PE
29162013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2917
2918 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2919 for portability to hosts where /bin/sh has problems.
2920
95888bca
SM
29212013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2924
bbe558f1
JL
29252013-08-27 Juri Linkov <juri@jurta.org>
2926
2927 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2928 in the keyboard macro. (Bug#15126)
2929
26f98a7d
JL
29302013-08-27 Juri Linkov <juri@jurta.org>
2931
2932 * isearch.el (isearch-quote-char): Comment out converting unibyte
2933 to multibyte, thus syncing with its `quoted-insert' counterpart.
2934 (Bug#15166)
2935
7c97d35e
MR
29362013-08-27 Martin Rudalics <rudalics@gmx.at>
2937
2938 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2939 argument in call of get-largest-window (Bug#15185).
2940 Reported by Stephen Leake.
7c97d35e 2941
a0b5606e 29422013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2943
2944 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2945
9e89d835
SM
29462013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2949 from a matcher-function unless there's no more matches (bug#15161).
2950
78fc2530
MA
29512013-08-26 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * minibuffer.el: Revert change from 2013-08-20.
2954
2955 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2956 with text property `tramp-default', if appropriate.
2957 (tramp-check-proper-host): New defun.
2958 (tramp-dissect-file-name): Do not check hostname. Revert change
2959 of 2013-03-18.
2960 (tramp-backtrace): Make VEC-OR-PROC optional.
2961
2962 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2963 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2964 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2965 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2966 Apply `tramp-check-proper-host'.
78fc2530 2967
edca97cd
TH
29682013-08-26 Tassilo Horn <tsdh@gnu.org>
2969
2970 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2971 lambda expression in order to have `describe-variable' display it.
2972
df54bcbd
MA
29732013-08-26 Michael Albinus <michael.albinus@gmx.de>
2974
2975 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2976 BUF can be optional. (Bug#15186)
2977
eed99101
XF
29782013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2979
2980 * progmodes/flymake.el (flymake-get-real-file-name-function):
2981 Fix broken customization. (Bug#15184)
2982
b5eb9035
AM
29832013-08-25 Alan Mackenzie <acm@muc.de>
2984
8a51e842
AM
2985 Improve indentation of bracelists defined by macros (without "=").
2986
2987 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2988 expansion begins with "{", regard it as bracelist when it doesn't
2989 contain a ";".
2990
869455d4
AM
2991 Parse C++ inher-intro when there's a template split over 2 lines.
2992
2993 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2994 rigorously the search for "class" etc. followed by ":".
2995
2996 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2997 random languages a regexp which never matches rather than nil.
2998
b5eb9035
AM
2999 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3000
3001 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3002 (c-awk-regexp-one-line-possibly-open-char-list-re)
3003 (c-awk-one-line-possibly-open-regexp-re)
3004 (c-awk-one-line-non-syn-ws*-re): Remove.
3005 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3006 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3007 (c-awk-space*-unclosed-regexp-/-re): New constants.
3008 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3009 aren't regexp delimiters.
3010
3011 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3012 handling for a rare situation in AWK Mode involving unterminated
3013 strings/regexps.
3014
61611d54
GM
30152013-08-23 Glenn Morris <rgm@gnu.org>
3016
2d85dc34
GM
3017 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3018
cb8d2612
GM
3019 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3020
bb35f42f
GM
3021 * files.el (create-file-buffer): If the result would begin with
3022 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3023
b9808e77
SM
30242013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3025
e3a66363
SM
3026 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3027 text-properties (bug#15155).
3028
b9808e77
SM
3029 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3030 exist any more.
3031 (calc-keypad-redraw): Remove unused var `pad'.
3032 (calc-keypad-press): Remove unused var `menu'.
3033
7fd5f65e
MR
30342013-08-23 Martin Rudalics <rudalics@gmx.at>
3035
b9808e77
SM
3036 * window.el (display-buffer-pop-up-frame):
3037 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3038 use it as the new frame's buffer (Bug#15133).
3039
8352b530
SM
30402013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * calendar/timeclock.el: Minor cleanups.
3043 (timeclock-ask-before-exiting, timeclock-use-display-time):
3044 Use `symbol'.
3045 (timeclock-modeline-display): Define as alias before the
3046 actual definition.
3047 (timeclock-mode-line-display): Use define-minor-mode.
3048 (timeclock-day-list-template): Make it a function, add an argument.
3049 (timeclock-day-list-required, timeclock-day-list-length)
3050 (timeclock-day-list-debt, timeclock-day-list-span)
3051 (timeclock-day-list-break): Adjust calls accordingly.
3052
9f7b1925
SM
30532013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3056 Use read--expression so that completion works again.
3057
6e50e983
SS
30582013-08-21 Sam Steingold <sds@gnu.org>
3059
3060 Add rudimentary inferior shell interaction
3061 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3062 (sh-set-shell): Reset it.
9f7b1925
SM
3063 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3064 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3065
dbb0d350
SM
30662013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * align.el: Use lexical-binding.
3069 (align-region): Simplify accordingly.
3070
c88586a9
MA
30712013-08-20 Michael Albinus <michael.albinus@gmx.de>
3072
3073 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3074
3075 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3076 `non-essential' up.
3077
f95527c8
MA
30782013-08-17 Michael Albinus <michael.albinus@gmx.de>
3079
3080 * net/tramp.el:
3081 * net/tramp-adb.el:
3082 * net/tramp-cmds.el:
3083 * net/tramp-ftp.el:
3084 * net/tramp-gvfs.el:
3085 * net/tramp-gw.el:
3086 * net/tramp-sh.el: Don't wrap external variable declarations by
3087 `eval-when-compile'.
3088
4b5fe4ee
LMI
30892013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3090
3091 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3092 now that Emacs supports ImageMagick animations.
3093
13c366c9
MA
30942013-08-16 Michael Albinus <michael.albinus@gmx.de>
3095
3096 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3097 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3098
3dfc5cd6
MR
30992013-08-16 Martin Rudalics <rudalics@gmx.at>
3100
3101 * window.el (mouse-autoselect-window-select): Do autoselect when
3102 mouse pointer is on margin.
3103
4bbb4381
WP
31042013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3105
3106 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3107
3a2ddc2d
GM
31082013-08-16 Glenn Morris <rgm@gnu.org>
3109
e8bedf5a
GM
3110 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3111 Handle "Remote Directory" response of some clients. (Bug#15058)
3112
58c4682f
GM
3113 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3114 Tweak warning. (Bug#14926)
3115
57953f49
GM
3116 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3117 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3118
3a2ddc2d
GM
3119 * image-mode.el (image-mode-map): Add menu items to reverse,
3120 increase, decrease, reset animation speed.
3121 (image--set-speed, image-increase-speed, image-decrease-speed)
3122 (image-reverse-speed, image-reset-speed): New functions.
3123 (image-mode-map): Add bindings for speed commands.
3124
3125 * image.el (image-animate-get-speed, image-animate-set-speed):
3126 New functions.
3127 (image-animate-timeout): Respect image :speed property.
3128
10fa0ed3
SM
31292013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3132 previous line (bug#15101).
3133 (debugger-eval-expression, debugger-record-expression):
3134 Use read--expression (bug#15102).
3135
5d89d9d2
MA
31362013-08-15 Michael Albinus <michael.albinus@gmx.de>
3137
3138 Remove byte compiler warnings, visible when compiling with
3139 `byte-compile-force-lexical-warnings' set to t.
3140
3141 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3142 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3143 (tramp-handle-unhandled-file-name-directory)
3144 (tramp-handle-file-notify-add-watch, tramp-action-login)
3145 (tramp-action-succeed, tramp-action-permission-denied)
3146 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3147 arguments with "_".
3148
3149 * net/tramp-adb.el (tramp-adb-parse-device-names)
3150 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3151 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3152 (tramp-adb-handle-file-truename): Remove unused arguments.
3153
3154 * net/tramp-cache.el (tramp-flush-directory-property)
3155 (tramp-flush-connection-property, tramp-list-connections)
3156 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3157
10fa0ed3
SM
3158 * net/tramp-compat.el (tramp-compat-make-temp-file):
3159 Rename FILENAME to F.
5d89d9d2
MA
3160
3161 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3162 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3163 (tramp-zeroconf-parse-workstation-device-names)
3164 (tramp-zeroconf-parse-webdav-device-names)
3165 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3166
3167 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3168 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3169
3170 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3171 arguments.
3172 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3173 (tramp-sh-handle-insert-file-contents-literally)
3174 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3175 with "_".
3176 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3177 Remove unused variables.
3178
3179 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3180 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3181 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3182
3183 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3184 Make them a defconst.
3185 (tramp-uuencode-region): Remove unused variable.
3186
62f33bae
JB
31872013-08-14 Juanma Barranquero <lekktu@gmail.com>
3188
3189 * frameset.el (frameset--prop-setter): New function.
3190 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3191 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3192 parameter was already set in FILTERED. Doc fix.
3193 (frameset--record-minibuffer-relationships): Allow saving a
3194 minibufferless frame without its corresponding minibuffer frame.
3195 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3196 frame, if the frame id matches.
3197 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3198 frames before orphaned ones.
3199 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3200
c660a885
MR
32012013-08-14 Martin Rudalics <rudalics@gmx.at>
3202
3203 * window.el (window-make-atom): Don't overwrite parameter
3204 already present.
3205 (display-buffer-in-atom-window): Handle special case where we
3206 split an already atomic window.
3207 (window--major-non-side-window, display-buffer-in-side-window)
3208 (window--side-check): Ignore minibuffer window when walking
3209 window tree.
3210 (window-deletable-p): Return 'frame only if no other frame uses
3211 our minibuffer window.
3212 (record-window-buffer): Run buffer-list-update-hook.
3213 (split-window): Make sure window--check-frame won't destroy an
3214 existing atomic window in case the new window gets nested
3215 inside.
3216 (display-buffer-at-bottom): Ignore minibuffer window when
3217 walking window tree. Don't split a side window.
3218 (pop-to-buffer): Don't set-buffer here, the select-window call
3219 should do that.
3220 (mouse-autoselect-window-select): Autoselect only if we are in the
3221 text portion of the window.
3222
8259030d
LMI
32232013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3224
21c58ae2
LMI
3225 * net/shr.el (shr-parse-image-data): New function to grab both the
3226 data itself and the Content-Type.
3227 (shr-put-image): Use it.
3228
3229 * net/eww.el (eww-display-image): Ditto.
3230
8259030d
LMI
3231 * image.el (image-content-type-suffixes): New variable.
3232
ad756449
FEG
32332013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3234
3235 * progmodes/python.el (python-imenu--build-tree)
3236 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3237
f73f4ce6
XF
32382013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3239
3240 * simple.el (backward-word): Mention the optional argument.
3241
1f585e65
SM
32422013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * frameset.el (frameset--make): Rename constructor from make-frameset.
3245 (frameset-p, frameset-valid-p): Don't autoload.
3246 (frameset-valid-p): Use normal accessors.
3247
af1c6c84
GM
32482013-08-13 Glenn Morris <rgm@gnu.org>
3249
55e47f95
GM
3250 * progmodes/compile.el (compile-command): Tweak example in doc.
3251 * obsolete/scribe.el (scribe-mode):
3252 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3253
f0024d8c
GM
3254 * mail/feedmail.el (feedmail-confirm-outgoing)
3255 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3256
3257 * cus-start.el (truncate-partial-width-windows): Fix type.
3258
3259 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3260
af1c6c84
GM
3261 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3262
5514cc4c
SM
32632013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * emacs-lisp/timer.el (timer--time-setter): New function.
3266 (timer--time): Use it as gv-setter.
3267
3268 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3269 setter is not a symbol.
3270
7997a2f1
GJ
32712013-08-12 Grégoire Jadi <daimrod@gmail.com>
3272
3273 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3274 if sending fails. This makes debugging easier.
3275
01f1a9ab
JB
32762013-08-12 Juanma Barranquero <lekktu@gmail.com>
3277
3278 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3279 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3280 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3281
594a4307
EZ
32822013-08-12 Eli Zaretskii <eliz@gnu.org>
3283
3284 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3285
7a22490f 32862013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3287
3288 * format.el (format-annotate-function):
3289 Handle read-only text properties in the source. (Bug#14887)
3290
3e41a054
LMI
32912013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3292
5514cc4c
SM
3293 * net/eww.el (eww-display-html): Ignore coding system errors.
3294 One web site uses "utf-8lias" as the coding system.
3e41a054 3295
7ec326db
JB
32962013-08-11 Juanma Barranquero <lekktu@gmail.com>
3297
3298 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3299
5660113b
JB
33002013-08-10 Juanma Barranquero <lekktu@gmail.com>
3301
9a4ebc74
JB
3302 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3303 (tutorial--detailed-help): Remove unused local variables.
3304 (tutorial--save-tutorial-to): Use ignore-errors.
3305 (help-with-tutorial): Use looking-at-p.
3306
3307 * view.el (view-buffer-other-window, view-buffer-other-frame):
3308 Mark unused arguments.
3309
3310 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3311 (woman-select-symbol-fonts, woman, woman-find-file)
3312 (woman-insert-file-contents, woman-non-underline-faces):
3313 Use string-match-p.
3314 (woman1-unquote): Move declaration.
3315
3316 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3317 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3318 argument. Remove unused local variable.
3319 (xml-parse-elem-type): Use string-match-p.
3320 (xml-substitute-numeric-entities): Use ignore-errors.
3321
45fdb482
JB
3322 * calculator.el (calculator): Mark unused argument.
3323 (calculator-paste, calculator-quit, calculator-integer-p):
3324 Use ignore-errors.
3325 (calculator-string-to-number, calculator-decimal, calculator-exp)
3326 (calculator-op-or-exp): Use string-match-p.
3327
3328 * dired.el (dired-buffer-more-recently-used-p): Declare.
3329 (dired-insert-set-properties, dired-insert-old-subdirs):
3330 Use ignore-errors.
3331
3332 * dired-aux.el (dired-compress): Use ignore-errors.
3333 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3334 (dired-do-async-shell-command, dired-do-shell-command)
3335 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3336 (dired-insert-subdir-validate): Use string-match-p.
3337 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3338 (dired-add-entry): Use string-match-p, looking-at-p.
3339 (dired-insert-subdir-newpos): Remove unused local variable.
3340
3341 * filenotify.el (file-notify-callback): Remove unused local variable.
3342
3343 * filesets.el (filesets-error): Mark unused argument.
3344 (filesets-which-command-p, filesets-filter-dir-names)
3345 (filesets-directory-files, filesets-get-external-viewer)
3346 (filesets-ingroup-get-data): Use string-match-p.
3347
3348 * find-file.el (ff-other-file-name, ff-other-file-name)
3349 (ff-find-the-other-file, ff-cc-hh-converter):
3350 Remove unused local variables.
3351 (ff-get-file-name): Use string-match-p.
3352 (ff-all-dirs-under): Use ignore-errors.
3353
3354 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3355 (follow-select-if-visible): Remove unused local variable.
3356
3357 * forms.el (read-file-filter): Move declaration.
3358 (forms--make-format, forms--make-parser, forms-insert-record):
3359 Quote function with #'.
3360 (forms--update): Use string-match-p. Quote function with #'.
3361
3362 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3363 (help-make-xrefs): Use looking-at-p.
3364 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3365
3366 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3367 (ibuffer-confirm-operation-on): Use string-match-p.
3368
3369 * msb.el (msb-item-handler, msb-dired-item-handler):
3370 Mark unused arguments.
3371
3372 * ses.el (ses-decode-cell-symbol)
3373 (ses-kill-override): Remove unused local variable.
3374 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3375 (ses-load): Use ignore-errors, looking-at-p.
3376 (ses-jump-safe): Use ignore-errors.
3377 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3378
3379 * tabify.el (untabify, tabify): Mark unused arguments.
3380
3381 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3382 Mark unused argument.
3383 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3384 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3385
c880af52
JB
3386 * emacs-lisp/timer.el (timer--time): Define setter with
3387 gv-define-setter to avoid deprecation warning.
3388
5660113b 3389 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3390 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3391 (cmpl-statistics-block): Remove (body was commented out).
3392 All callers changed.
3393 (add-completions-from-buffer, load-completions-from-file):
3394 Remove unused variables.
3395
156aab80
JB
33962013-08-09 Juanma Barranquero <lekktu@gmail.com>
3397
5c5dee78
JB
3398 * filecache.el (file-cache-delete-file-list):
3399 Print message only when told so.
3400 (file-cache-files-matching): Use #' in mapconcat argument.
3401
156aab80
JB
3402 * ffap.el (ffap-url-at-point): Fix reference to variable
3403 thing-at-point-default-mail-uri-scheme.
3404
ad9dcd70
SM
34052013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3406
54bd972f
SM
3407 * subr.el (define-error): New function.
3408 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3409 error-file-not-found and define with define-error.
3410 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3411 and define with define-error.
3412 * userlock.el (file-locked, file-supersession):
3413 * simple.el (mark-inactive):
3414 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3415 * progmodes/ada-mode.el (ada-mode-errors):
3416 * play/life.el (life-extinct):
3417 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3418 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3419 * nxml/rng-util.el (rng-error):
3420 * nxml/rng-uri.el (rng-uri-error):
3421 * nxml/rng-match.el (rng-compile-error):
3422 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3423 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3424 * nxml/nxml-rap.el (nxml-scan-error):
3425 * nxml/nxml-outln.el (nxml-outline-error):
3426 * net/soap-client.el (soap-error):
3427 * net/gnutls.el (gnutls-error):
3428 * net/ange-ftp.el (ftp-error):
3429 * mpc.el (mpc-proc-error):
3430 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3431 (json-number-format, json-string-escape, json-string-format)
3432 (json-key-format, json-object-format):
3433 * jka-compr.el (compression-error):
3434 * international/quail.el (quail-error):
3435 * international/kkc.el (kkc-error):
3436 * emacs-lisp/ert.el (ert-test-failed):
3437 * calc/calc.el (calc-error, inexact-result, math-overflow)
3438 (math-underflow):
3439 * bookmark.el (bookmark-error-no-filename):
3440 * epg.el (epg-error): Define with define-error.
3441
0ea9e53a
SM
3442 * time.el (display-time-event-handler)
3443 (display-time-next-load-average): Don't call sit-for since it seems
3444 unnecessary (bug#15045).
3445
b0429158
SM
3446 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3447 Use #' instead of ' to quote functions.
3448 (checkdoc-output-mode): Use setq-local.
3449 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3450 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3451 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3452 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3453 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3454 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3455 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3456 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3457
ad9dcd70
SM
3458 * ido.el (ido-completion-help): Fix up compiler warning.
3459
77187e6f
JB
34602013-08-09 Juanma Barranquero <lekktu@gmail.com>
3461
3462 * frameset.el (frameset-p): Add autoload cookie.
3463 (frameset--jump-to-register): New function, based on code moved from
3464 register.el.
3465 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3466
3467 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3468 (frameset-restore, frameset-save, frameset-session-filter-alist):
3469 Remove declarations.
3470 (register-alist): Doc fix.
3471 (frameset-to-register): Move to frameset.el.
3472 (jump-to-register, describe-register-1): Remove frameset-specific code.
3473
9d3aa82c
JB
34742013-08-08 Juanma Barranquero <lekktu@gmail.com>
3475
3476 * allout-widgets.el (allout-widgets-pre-command-business)
3477 (allout-widgets-post-command-business)
3478 (allout-widgets-after-change-handler)
3479 (allout-decorate-item-and-context, allout-set-boundary-marker)
3480 (allout-body-modification-handler)
3481 (allout-graphics-modification-handler): Mark ignored arguments.
3482 (allout-widgets-post-command-business)
3483 (allout-widgets-exposure-change-processor)
3484 (allout-widgets-exposure-undo-processor)
3485 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3486 (allout-parse-item-at-point, allout-decorate-item-guides)
3487 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3488 * allout.el (epa-passphrase-callback-function): Declare.
3489 (allout-overlay-insert-in-front-handler)
3490 (allout-overlay-interior-modification-handler)
3491 (allout-isearch-end-handler, allout-chart-siblings)
3492 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3493 (allout-yank-processing, allout-process-exposed)
3494 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3495 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3496 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3497 (lisp-indent-defform): Mark ignored arguments.
3498 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3499 (calculate-lisp-indent): Remove unused variables.
3500 * international/characters.el (indian-2-column, arabic-2-column)
3501 (tibetan): Mark ignored arguments.
3502 (use-cjk-char-width-table): Mark ignored arguments.
3503 Remove unused variables.
3504 * international/fontset.el (build-default-fontset-data)
3505 (x-compose-font-name, create-fontset-from-fontset-spec):
3506 Mark ignored arguments.
3507 (fontset-plain-name): Remove unused variables.
3508 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3509 (keyboard-coding-system): Mark ignored arguments.
3510 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3511 * help.el (resize-temp-buffer-window):
3512 * window.el (display-buffer-in-major-side-window)
3513 (display-buffer-in-side-window, display-buffer-in-previous-window):
3514 Remove unused variables.
3515 * isearch.el (isearch-forward-symbol):
3516 * version.el (emacs-bzr-version-bzr):
3517 * international/mule-cmds.el (current-language-environment):
3518 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3519 (x-handle-display):
3520 * term/pc-win.el (x-list-fonts, x-display-planes)
3521 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3522 (x-server-version, x-display-screens, x-display-mm-height)
3523 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3524 (x-selection-owner-p, x-own-selection-internal)
3525 (x-disown-selection-internal, x-get-selection-internal)
3526 (msdos-initialize-window-system):
3527 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3528 * term/x-win.el (x-handle-no-bitmap-icon):
3529 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3530 (vc-default-find-file-hook, vc-default-extra-menu):
3531 Mark ignored arguments.
3532
0ca3f70e
SM
35332013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3536 break-condition in the context of the debugged code (bug#12685).
3537
74c5d24c
CS
35382013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3539
3540 * comint.el:
3541 Do not use an overlay to highlight the last prompt. (Bug#14744)
3542 (comint-mode): Make comint-last-prompt buffer local.
3543 (comint-last-prompt): New variable.
3544 (comint-last-prompt-overlay): Remove. Superseded by
3545 comint-last-prompt.
0ca3f70e
SM
3546 (comint-snapshot-last-prompt, comint-output-filter):
3547 Use comint-last-prompt.
74c5d24c 3548
c03c02ee
JB
35492013-08-08 Juanma Barranquero <lekktu@gmail.com>
3550
a3738d20 3551 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3552 (frameset-save): Check validity of the resulting frameset.
3553
04263d23
XF
35542013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3555
3556 * ido.el (ido-record-command): Add doc string.
3557
76c5e5ab
JB
35582013-08-08 Juanma Barranquero <lekktu@gmail.com>
3559
3560 * frameset.el (frameset): Do not disable creation of the default
3561 frameset-p predicate. Doc fix.
3562 (frameset-valid-p): New function, copied from the old predicate-p.
3563 Add additional checks.
3564 (frameset-restore): Check with frameset-valid-p.
3565 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3566 (frameset-name, frameset-description, frameset-properties)
3567 (frameset-states): Add docstring.
f9dbf1cb
JB
3568 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3569 (frameset-filter-alist): Doc fixes.
76c5e5ab 3570
bd0c3c0b
JB
35712013-08-08 Juanma Barranquero <lekktu@gmail.com>
3572
3573 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3574
c735544c
SM
35752013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3578 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3579 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3580 (byte-compile-normal-call): Remove obsolescence check.
3581
2805a651
JB
35822013-08-08 Juanma Barranquero <lekktu@gmail.com>
3583
3677ffeb
JB
3584 * frameset.el (frameset-restore): Doc fix.
3585
2805a651
JB
3586 * register.el (frameset-frame-id, frameset-frame-with-id)
3587 (frameset-p, frameset-restore, frameset-save): Declare.
3588 (register-alist): Document framesets.
3589 (frameset-session-filter-alist): Declare.
3590 (frameset-to-register): New function.
3591 (jump-to-register): Implement jumping to framesets. Doc fix.
3592 (describe-register-1): Describe framesets.
3593
3594 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3595
a912c016
JB
35962013-08-07 Juanma Barranquero <lekktu@gmail.com>
3597
3598 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3599 Use lexical-binding.
3600
3601 * frameset.el (frameset): Use type vector, not list (incompatible
3602 change). Do not declare a new constructor, use the default one.
3603 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3604 `name' and `description', respectively, and add read-only slot
3605 `timestamp'. Doc fixes.
3606 (frameset-copy, frameset-persistent-filter-alist)
3607 (frameset-filter-alist, frameset-switch-to-gui-p)
3608 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3609 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3610 (frameset-filter-iconified, frameset-keep-original-display-p):
3611 Doc fixes.
3612 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3613 Rename from frameset-filter-(save|restore)-param. All callers changed.
3614 Doc fix.
3615 (frameset-p): Adapt to change to vector and be more thorough.
3616 Change arg name to OBJECT. Doc fix.
3617 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3618 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3619 All callers changed.
3620 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3621 All callers changed.
3622 (frameset--record-minibuffer-relationships): Rename from
3623 frameset--process-minibuffer-frames. All callers changed.
3624 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3625 Use new default constructor (again). Doc fix.
3626 (frameset--find-frame-if): Rename from `frameset--find-frame.
3627 All callers changed.
3628 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3629 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3630 Doc fix.
3631 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3632 PARAMETERS and WINDOW-STATE, respectively.
3633 (frameset-restore): Add new keyword argument PREDICATE.
3634 Reset frameset--target-display to nil. Doc fix.
3635
bb41480a
SM
36362013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3637
f001e98e
SM
3638 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3639 (bat-mode): Use it.
3640 (bat-mode-syntax-table): Mark \n as end-of-comment.
3641 (bat-font-lock-keywords): Remove comment rule.
3642
7679edb1
SM
3643 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3644 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3645
bb41480a
SM
3646 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3647 (byte-compile-callargs-warn): Use `push'.
3648 (byte-compile-arglist-warn): Ignore higher-order "calls".
3649 (byte-compile-file-form-autoload): Use `pcase'.
3650 (byte-compile-function-form): If quoting a symbol, check that it exists.
3651
cdc1ebb9
EZ
36522013-08-07 Eli Zaretskii <eliz@gnu.org>
3653
3654 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3655 and add a few popular commands found in batch files.
3656 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3657 (dos-mode): Doc fixes.
3658
312b1740
SM
36592013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3662 (dos-mode): Use setq-local. Add space after "rem".
3663 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3664 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3665
400a3178
AM
36662013-08-07 Arni Magnusson <arnima@hafro.is>
3667
3668 * progmodes/dos.el: New file.
3669 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3670 dos-mode.
3671
3b5c03d3
GM
36722013-08-06 Glenn Morris <rgm@gnu.org>
3673
3674 * calendar/calendar.el: Add new faces, and day-header-array.
3675 (calendar-weekday-header, calendar-weekend-header)
3676 (calendar-month-header): New faces.
3677 (calendar-day-header-construct): New function.
3678 (calendar-day-header-width): Also :set calendar-day-header-array.
3679 (calendar-american-month-header, calendar-european-month-header)
3680 (calendar-iso-month-header): Use calendar- faces.
3681 (calendar-generate-month):
3682 Use calendar-day-header-array for day headers; apply faces to them.
3683 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3684 (calendar-abbrev-construct): Add optional maxlen argument.
3685 (calendar-day-name-array): Doc fix.
3686 (calendar-day-name-array, calendar-abbrev-length)
3687 (calendar-day-abbrev-array):
3688 Also :set calendar-day-header-array, and maybe redraw.
3689 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3690 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3691 (calendar-day-name): Add option to use header array.
3692
ec6a2d7a
LMI
36932013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3694
3695 * net/shr.el (shr-render-td): Remove debugging.
3696 (shr-render-td): Make width computation consistent by defaulting
3697 all zero-width columns to 10 characters. This may not be optimal,
3698 but it's at least consistent.
2122cb6d
LMI
3699 (shr-make-table-1): Redo last change to fix the real problem in
3700 colspan handling.
ec6a2d7a 3701
ed4fd9c5
DA
37022013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3703
0ca3f70e
SM
3704 * files.el (cache-long-line-scans):
3705 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3706
64e22afe
JB
37072013-08-06 Juanma Barranquero <lekktu@gmail.com>
3708
024b38fc
JB
3709 * frameset.el (frameset, frameset-filter-alist)
3710 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3711 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3712 (frameset-compute-pos): Rename from frameset--compute-pos,
3713 and add docstring.
3714 (frameset-move-onscreen): Use frameset-compute-pos.
3715 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3716
64e22afe
JB
3717 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3718 Fix typos in docstrings.
3719
c8c2aca8
DA
37202013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3721
3722 * frame.el (get-other-frame): Tiny cleanup.
3723
1d237bba
JB
37242013-08-06 Juanma Barranquero <lekktu@gmail.com>
3725
8951efef
JB
3726 * vc/vc.el (vc-default-ignore-completion-table):
3727 Silence byte-compiler warning.
3728
307764cc
JB
3729 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3730 slot , which can indeed be nil.
3731 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3732 Move entry for `left' from persistent to live filter alist.
3733 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3734 Doc fixes.
3735 (frameset-filter-params): When restoring a frame, copy items added to
3736 `filtered', to avoid unwittingly modifying the original parameters.
3737 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3738 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3739
1d237bba
JB
3740 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3741 to use looking-at-p instead of looking-at. (Bug#15028)
3742
dc6c0eda
SM
37432013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 Revert introduction of isearch-filter-predicates (bug#14714).
3746 Rely on add-function instead.
3747 * isearch.el (isearch-filter-predicates): Rename it back to
3748 isearch-filter-predicate.
3749 (isearch-message-prefix): Use advice-function-mapc and advice
3750 properties to get the isearch-message-prefix.
3751 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3752 instead of run-hook-with-args-until-failure.
3753 (isearch-filter-visible): Not obsolete any more.
3754 * loadup.el: Preload nadvice.
3755 * replace.el (perform-replace): Revert to funcall
3756 instead of run-hook-with-args-until-failure.
3757 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3758 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3759 dired-isearch-filenames-toggle; make it into a proper minor mode.
3760 Use add/remove-function.
3761 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3762 Call the minor-mode rather than add/remove-hook.
3763 (dired-isearch-filter-filenames):
3764 Remove isearch-message-prefix property.
3765 * info.el (Info--search-loop): New function, extracted from Info-search.
3766 Funcall isearch-filter-predicate instead of
3767 run-hook-with-args-until-failure isearch-filter-predicates.
3768 (Info-search): Use it.
3769 (Info-mode): Use isearch-filter-predicate instead of
3770 isearch-filter-predicates.
3771
290d5b58
DA
37722013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3773
3774 Do not call to `selected-window' where it is assumed by default.
3775 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3776 `window-hscroll', `window-width', `window-height', `window-buffer',
3777 `window-frame', `window-start', `window-point', `next-window'
3778 and `window-display-table'.
3779 * abbrev.el (abbrev--default-expand):
3780 * bs.el (bs--show-with-configuration):
3781 * buff-menu.el (Buffer-menu-mouse-select):
3782 * calc/calc.el (calc):
3783 * calendar/calendar.el (calendar-generate-window):
3784 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3785 (diary-make-entry):
3786 * comint.el (send-invisible, comint-dynamic-complete-filename)
3787 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3788 * completion.el (complete):
3789 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3790 * disp-table.el (describe-current-display-table):
3791 * doc-view.el (doc-view-insert-image):
3792 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3793 * ehelp.el (with-electric-help):
3794 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3795 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3796 * emacs-lisp/helper.el (Helper-help-scroller):
3797 * emulation/cua-base.el (cua--post-command-handler-1):
3798 * eshell/esh-mode.el (eshell-output-filter):
3799 * ffap.el (ffap-gnus-wrapper):
3800 * help-macro.el (make-help-screen):
3801 * hilit-chg.el (highlight-compare-buffers):
3802 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3803 * hl-line.el (global-hl-line-highlight):
3804 * icomplete.el (icomplete-simple-completing-p):
3805 * isearch.el (isearch-done):
3806 * jit-lock.el (jit-lock-stealth-fontify):
3807 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3808 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3809 * mpc.el (mpc-tagbrowser, mpc):
3810 * net/rcirc.el (rcirc-any-buffer):
3811 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3812 * play/landmark.el (landmark-max-width, landmark-max-height):
3813 * play/zone.el (zone):
3814 * progmodes/compile.el (compilation-goto-locus):
3815 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3816 * progmodes/etags.el (find-tag-other-window):
3817 * progmodes/fortran.el (fortran-column-ruler):
3818 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3819 * progmodes/verilog-mode.el (verilog-point-text):
3820 * reposition.el (reposition-window):
3821 * rot13.el (toggle-rot13-mode):
3822 * server.el (server-switch-buffer):
3823 * shell.el (shell-dynamic-complete-command)
3824 (shell-dynamic-complete-environment-variable):
3825 * simple.el (insert-buffer, set-selective-display)
3826 (delete-completion-window):
3827 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3828 (speedbar-recenter):
3829 * startup.el (fancy-splash-head):
3830 * textmodes/ispell.el (ispell-command-loop):
3831 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3832 * tutorial.el (help-with-tutorial):
3833 * vc/add-log.el (add-change-log-entry):
3834 * vc/compare-w.el (compare-windows):
3835 * vc/ediff-help.el (ediff-indent-help-message):
3836 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3837 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3838 (ediff-setup-control-frame):
3839 * vc/emerge.el (emerge-position-region):
3840 * vc/pcvs-util.el (cvs-bury-buffer):
3841 * window.el (walk-windows, mouse-autoselect-window-select):
3842 * winner.el (winner-set-conf, winner-undo): Related users changed.
3843
38276e01
JB
38442013-08-05 Juanma Barranquero <lekktu@gmail.com>
3845
3846 * frameset.el (frameset--set-id): Doc fix.
3847 (frameset-frame-id, frameset-frame-id-equal-p)
3848 (frameset-locate-frame-id): New functions.
3849 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3850 (frameset-restore): Use them.
3851
12b4c0ea
DA
38522013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3853
3854 Do not call to `selected-frame' where it is assumed by default.
3855 Affected functions are `raise-frame', `redraw-frame',
3856 `frame-first-window', `frame-terminal' and `delete-frame'.
3857 * calendar/appt.el (appt-disp-window):
3858 * epg.el (epg-wait-for-completion):
3859 * follow.el (follow-delete-other-windows-and-split)
3860 (follow-avoid-tail-recenter):
3861 * international/mule.el (set-terminal-coding-system):
3862 * mail/rmail.el (rmail-mail-return):
3863 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3864 * progmodes/f90.el (f90-add-imenu-menu):
3865 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3866 * server.el (server-switch-buffer):
3867 * simple.el (delete-completion-window):
3868 * talk.el (talk):
3869 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3870 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3871 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3872 * vc/ediff.el (ediff-documentation): Related users changed.
3873 * frame.el (selected-terminal): Remove the leftover.
3874
17f25e76
GM
38752013-08-05 Glenn Morris <rgm@gnu.org>
3876
3877 * calendar/calendar.el (calendar-generate-month):
3878 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3879 (calendar-generate-month, calendar-font-lock-keywords):
3880 Fix for calendar-day-header-width > length of any day name.
17f25e76 3881
063233c3
JB
38822013-08-05 Juanma Barranquero <lekktu@gmail.com>
3883
3884 * desktop.el (desktop-clear): Use new name of sort predicate.
3885
3886 * frameset.el (frameset): Add docstring. Move :version property to its
3887 own `version' slot.
3888 (frameset-copy): Rename from copy-frameset.
3889 (frameset-p): Check more thoroughly.
3890 (frameset-prop): Do not check for :version, which is no longer a prop.
3891 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3892 Use new :never value instead of t.
3893 (frameset-filter-alist): Expand and clarify docstring.
3894 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3895 (frameset-filter-minibuffer, frameset-filter-save-param)
3896 (frameset-filter-restore-param, frameset-filter-iconified):
3897 Add pointer to docstring of frameset-filter-alist.
3898 (frameset-filter-params): Rename filter values to be more meaningful:
3899 :never instead of t, and reverse the meanings of :save and :restore.
3900 (frameset--process-minibuffer-frames): Clarify error message.
3901 (frameset-save): Avoid unnecessary and confusing call to framep.
3902 Use new BOA constructor for framesets.
3903 (frameset--reuse-list): Doc fix.
3904 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3905 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3906 (frameset-minibufferless-first-p): Doc fix.
3907 Rename from frameset-sort-frames-for-deletion.
3908 (frameset-restore): Doc fixes. Use new function names.
3909 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3910
d5671a82
JB
39112013-08-04 Juanma Barranquero <lekktu@gmail.com>
3912
3913 * desktop.el (desktop-restore-forces-onscreen)
3914 (desktop-restore-reuses-frames): Document :keyword constant values.
3915 (desktop-filter-parameters-alist): Remove, now identical to
3916 frameset-filter-alist.
3917 (desktop--filter-tty*): Remove, moved to frameset.el.
3918 (desktop-save-frameset, desktop-restore-frameset):
3919 Do not pass :filters argument.
3920
3921 * frameset.el (frameset-live-filter-alist)
3922 (frameset-persistent-filter-alist): New variables.
3923 (frameset-filter-alist): Use them. Add autoload cookie.
3924 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3925 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3926 `frameset--id' (it's supposed to be internal to frameset.el).
3927 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3928 (frameset--initial-params): New function.
3929 (frameset--get-frame): Use it. Doc fix.
3930 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3931 Accept :all, not 'all.
3932 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3933 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3934 with fbound symbols. Fix frame id matching, and remove matching ids if
3935 the frame being restored is deleted. Obey :delete.
3936
671d5c16
SM
39372013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * subr.el (macrop): New function.
3940 (text-clone--maintaining): New var.
3941 (text-clone--maintain): Rename from text-clone-maintain. Use it
3942 instead of inhibit-modification-hooks.
3943
3944 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3945 a proxy, so as handle autoloads and redefinitions of the target.
3946 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3947
3948 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3949 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3950 (pcase--mutually-exclusive-p): New function.
3951 (pcase--split-consp): Use it.
3952 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3953 mutually exclusive with the current predicate.
3954
3955 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3956 (edebug-macrop): Remove. Use `macrop' instead.
3957 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3958 (ad-macro-p):
3959 * eshell/esh-cmd.el (eshell-macrop):
3960 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3961
1d44e9dc
SM
39622013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3965 (advice-mapc): New function, using it.
3966 (advice-function-member-p): New function.
3967 (advice--normalize): Store the cdr in advice--saved-rewrite since
3968 that's the part that will be changed.
3969 (advice--symbol-function): New function.
3970 (advice-remove): Handle removal before the function is defined.
3971 Adjust to new advice--saved-rewrite.
3972 (advice-member-p): Use advice-function-member-p and
3973 advice--symbol-function.
3974
5414a283
JB
39752013-08-04 Juanma Barranquero <lekktu@gmail.com>
3976
51d30f2c
JB
3977 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3978 (frameset-filter-minibuffer): Doc fix.
3979 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3980 (frameset--set-id, frameset--process-minibuffer-frames)
3981 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3982 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3983
5414a283
JB
3984 * desktop.el (desktop-clear): Only delete frames when called
3985 interactively and desktop-restore-frames is non-nil. Doc fix.
3986 (desktop-read): Set desktop-saved-frameset to nil.
3987
ab419665
XF
39882013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3989
3990 * vc/vc.el (vc-ignore): Rewrite.
3991 (vc-default-ignore-completion-table):
3992 (vc--read-lines):
3993 (vc--add-line, vc--remove-regexp): New functions.
3994
3995 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3996 (vc-svn-ignore-completion-table): New function.
3997
3998 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3999 (vc-hg-ignore-completion-table):
4000 (vc-hg-find-ignore-file): New functions.
4001
4002 * vc/vc-git.el (vc-git-ignore): Rewrite.
4003 (vc-git-ignore-completion-table):
4004 (vc-git-find-ignore-file): New functions.
4005
4006 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4007
4008 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4009 (vc-bzr-ignore-completion-table):
4010 (vc-bzr-find-ignore-file): New functions.
4011
2613dea2
JB
40122013-08-03 Juanma Barranquero <lekktu@gmail.com>
4013
4014 * frameset.el (frameset-prop): New function and setter.
4015 (frameset-save): Do not modify frame list passed by the caller.
4016
9c959872
SM
40172013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4020
a104f656
SM
40212013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4022
70122acf
SM
4023 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4024 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4025
a104f656
SM
4026 * custom.el (custom-initialize-default, custom-initialize-set)
4027 (custom-initialize-reset, custom-initialize-changed): Affect the
4028 toplevel-default-value (bug#6275, bug#14586).
4029 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4030 for bug#6275.
4031
f078d570
JB
40322013-08-02 Juanma Barranquero <lekktu@gmail.com>
4033
185e3b5a
JB
4034 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4035 Add cl-def* expressions.
4036
f078d570
JB
4037 * frameset.el (frameset-filter-params): Fix order of arguments.
4038
9421876d
JB
40392013-08-02 Juanma Barranquero <lekktu@gmail.com>
4040
4041 Move code related to saving frames to frameset.el.
4042 * desktop.el: Require frameset.
4043 (desktop-restore-frames): Doc fix.
4044 (desktop-restore-reuses-frames): Rename from
4045 desktop-restoring-reuses-frames.
4046 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4047 (desktop-clear): Clear frames too.
4048 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4049 (desktop--filter-tty*, desktop-save, desktop-read):
4050 Use frameset functions.
4051 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4052 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4053 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4054 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4055 (desktop--process-minibuffer-frames, desktop-save-frames)
4056 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4057 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4058 (desktop--sort-states, desktop-restoring-frames-p)
4059 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4060 (desktop-restoring-frameset-p, desktop-restore-frameset)
4061 (desktop--check-dont-save, desktop-save-frameset): New functions.
4062 (desktop--app-id): New constant.
4063 (desktop-first-buffer, desktop-buffer-ok-count)
4064 (desktop-buffer-fail-count): Move before first use.
4065 * frameset.el: New file.
4066
76dc5996
SM
40672013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * files.el: Use lexical-binding.
4070 (dir-locals-read-from-file): Remove unused `err' variable.
4071 (hack-dir-local-variables--warned-coding): New var.
4072 (hack-dir-local-variables): Use it to avoid repeated warnings.
4073 (make-backup-file-name--default-function): New function.
4074 (make-backup-file-name-function): Use it as default.
4075 (buffer-stale--default-function): New function.
4076 (buffer-stale-function): Use it as default.
4077 (revert-buffer-insert-file-contents--default-function): New function.
4078 (revert-buffer-insert-file-contents-function): Use it as default.
4079 (insert-directory): Avoid add-to-list.
4080
4081 * autorevert.el (auto-revert-handler): Simplify.
4082 Use buffer-stale--default-function.
4083
06d36e2b
TH
40842013-08-01 Tassilo Horn <tsdh@gnu.org>
4085
5f648ab4
TH
4086 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4087
06d36e2b
TH
4088 * whitespace.el (whitespace-ensure-local-variables): New function.
4089 (whitespace-cleanup-region): Call it.
4090 (whitespace-turn-on): Call it.
4091
a43dc424
MA
40922013-08-01 Michael Albinus <michael.albinus@gmx.de>
4093
4094 Complete file name handlers.
4095
4096 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4097 (tramp-handle-verify-visited-file-modtime)
4098 (tramp-handle-file-notify-rm-watch): New functions.
4099 (tramp-call-process): Do not bind `default-directory'.
4100
44e18199
JB
4101 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4102 Order alphabetically.
a43dc424
MA
4103 [access-file, add-name-to-file, dired-call-process]:
4104 [dired-compress-file, file-acl, file-notify-rm-watch]:
4105 [file-ownership-preserved-p, file-selinux-context]:
4106 [make-directory-internal, make-symbolic-link, set-file-acl]:
4107 [set-file-selinux-context, set-visited-file-modtime]:
4108 [verify-visited-file-modtime]: Add handler.
4109 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4110
4111 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4112 [file-notify-add-watch, file-notify-rm-watch]:
4113 [set-file-times, set-visited-file-modtime]:
4114 [verify-visited-file-modtime]: Add handler.
4115 (with-tramp-gvfs-error-message)
4116 (tramp-gvfs-handle-set-visited-file-modtime)
4117 (tramp-gvfs-fuse-file-name): Remove.
4118 (tramp-gvfs-handle-file-notify-add-watch)
4119 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4120 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4121
44e18199
JB
4122 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4123 Order alphabetically.
a43dc424
MA
4124 [file-notify-rm-watch ]: Use default Tramp handler.
4125 [executable-find]: Remove private handler.
4126 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4127 `default-directory'.
4128 (tramp-sh-handle-executable-find)
4129 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4130 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4131 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4132 Do not use `format' in `tramp-message'.
4133
4134 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4135 [file-notify-rm-watch, set-visited-file-modtime]:
4136 [verify-visited-file-modtime]: Add handler.
4137 (tramp-smb-call-winexe): Do not bind `default-directory'.
4138
7188b515
XF
41392013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4140
4141 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4142
2412ee1a
DG
41432013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4144
4145 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4146 use it.
4147 (log-view-diff-changeset): Same.
4148 (log-view-diff-common): Call backend command `previous-revision'
4149 to find out the previous revision, in both cases. Swap the
4150 variables `to' and `fr', so that `fr' usually refers to the
4151 earlier revision (Bug#14989).
4152
5002a754
KRC
41532013-07-31 Kan-Ru Chen <kanru@kanru.info>
4154
4155 * ibuf-ext.el (ibuffer-filter-by-filename):
4156 Make it work with dired buffers too.
4157
44e18199 41582013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4159
4160 * emacs-lisp/re-builder.el (reb-color-display-p):
4161 * files.el (save-buffers-kill-terminal):
4162 * net/browse-url.el (browse-url):
4163 * server.el (server-save-buffers-kill-terminal):
4164 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4165 Prefer nil to selected-frame for the first arg of frame-parameter.
4166
aeca3fbb
XF
41672013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4168
4169 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4170
158bc55c
SB
41712013-07-30 Stephen Berman <stephen.berman@gmx.net>
4172
4173 * minibuffer.el (completion--twq-all): Try and preserve each
4174 completion's case choice (bug#14907).
4175
d50fceab
LMI
41762013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4177
ac38e731
LMI
4178 * net/network-stream.el (open-network-stream): Mention the new
4179 :nogreeting parameter.
4180 (network-stream-open-starttls): Use the :nogreeting parameter
4181 (bug#14938).
4182
1211de50
LMI
4183 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4184
997798bf
LMI
4185 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4186 more natural than popping.
4187
d50fceab 4188 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4189 (shr-urlify): Highlight under mouse.
d50fceab 4190
5c09de04
XF
41912013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4192
207d1d04
XF
4193 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4194
4195 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4196
5c09de04
XF
4197 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4198 buffer for output.
4199
3cd51eaa
XF
4200 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4201 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4202
44e18199 4203 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4204 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4205
4206 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4207
4208 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4209 buffer for output.
4210
35a89bdd
EZ
42112013-07-29 Eli Zaretskii <eliz@gnu.org>
4212
4213 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4214 initial frame is minibuffer-less. (Bug#14841)
4215
78822e94
MA
42162013-07-29 Michael Albinus <michael.albinus@gmx.de>
4217
4218 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4219 option.
4220
4221 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4222 (tramp-maybe-open-connection): Use it.
4223
9503c190
JB
42242013-07-28 Juanma Barranquero <lekktu@gmail.com>
4225
4226 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4227 minimal set of parameters passed when creating a frame, because
4228 the minibuffer status of a frame cannot be changed later.
4229
d5a845b4
SB
42302013-07-28 Stephen Berman <stephen.berman@gmx.net>
4231
4232 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4233 replace-regexp-in-string and inadvertent omissions in previous change.
4234 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4235 name of filtered items buffer.
d5a845b4 4236
ddeffb17
JB
42372013-07-28 Juanma Barranquero <lekktu@gmail.com>
4238
4239 * desktop.el: Optionally force offscreen frames back onscreen.
4240 (desktop-restoring-reuses-frames): New option.
4241 (desktop--compute-pos, desktop--move-onscreen): New functions.
4242 (desktop--make-frame): Use desktop--move-onscreen.
4243
f5950f7a
AM
42442013-07-27 Alan Mackenzie <acm@muc.de>
4245
4246 Fontify a Java generic method as a function.
4247 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4248 value to t.
4249
ae43b66a
SB
42502013-07-27 Stephen Berman <stephen.berman@gmx.net>
4251
4252 * calendar/todo-mode.el: Add command to rename todo files.
4253 (todo-rename-file): New command.
4254 (todo-key-bindings-t): Add key binding for it. Change the
4255 bindings of todo-filter-regexp-items(-multifile) to use `x'
4256 instead of `r', since the latter is better suited to the new
4257 renaming command.
4258
5ab78d3d
AM
42592013-07-27 Alan Mackenzie <acm@muc.de>
4260
4261 Make Java try-with-resources statement parse properly.
4262 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4263 (c-block-stmt-1-2-key): New language constants/variables.
4264 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4265 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4266 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4267 with c-block-stmt-1-2-key.
5ab78d3d 4268
d85c4d50
JB
42692013-07-27 Juanma Barranquero <lekktu@gmail.com>
4270
4271 * desktop.el (desktop--make-frame): Apply most frame parameters after
4272 creating the frame to force (partially or totally) offscreen frames to
4273 be restored as such.
4274
e4c467f9
XF
42752013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4276
4277 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4278 (Bug#14948)
e4c467f9 4279
7ced0d04
SM
42802013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4283 `base' arg of backtrace-frame.
4284
fec92060
EZ
42852013-07-26 Eli Zaretskii <eliz@gnu.org>
4286
4287 * simple.el (list-processes): Doc fix.
4288
d58d31fb
JB
42892013-07-26 Juanma Barranquero <lekktu@gmail.com>
4290
4291 * desktop.el (desktop--select-frame):
d85c4d50 4292 Try harder to reuse existing frames.
d58d31fb 4293
53ff3e77
SM
42942013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4295
4296 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4297 (edebug-eval): Use backtrace-eval.
4298 (edebug--display, edebug--recursive-edit): Don't let-bind the
4299 edebug-outer-* vars that keep track of variables we locally let-bind.
4300 (edebug-outside-excursion): Don't restore outside values of locally
4301 let-bound vars.
4302 (edebug--display): Use user-error.
4303 (cl-lexical-debug, cl-debug-env): Remove.
4304
045f7a53
JB
43052013-07-26 Juanma Barranquero <lekktu@gmail.com>
4306
4307 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4308 are restored to be sure that they are visible before deleting any
4309 remaining ones.
4310
59070b32
MM
43112013-07-26 Matthias Meulien <orontee@gmail.com>
4312
742a3501
XF
4313 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4314 vc-print-root-log. (Bug#14948)
59070b32 4315
b1fb3596
RS
43162013-07-26 Richard Stallman <rms@gnu.org>
4317
4318 Add aliases for encrypting mail.
4319 * epa.el (epa-mail-aliases): New option.
4320 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4321 Bind inhibit-read-only so read-only text doesn't ruin everything.
4322 (epa-mail-default-recipients): New subroutine broken out.
4323 Handle epa-mail-aliases.
4324
56ea7291
SM
43252013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 Add support for lexical variables to the debugger's `e' command.
4328 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4329 vars, except for debugger-outer-match-data.
4330 (debugger-frame-number): Move check for "on a function call" from
4331 callers into it. Add `skip-base' argument.
4332 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4333 (debugger-env-macro): Only reset the state stored in non-variables,
4334 i.e. current-buffer and match-data.
4335 (debugger-eval-expression): Rewrite using backtrace-eval.
4336 * subr.el (internal--called-interactively-p--get-frame): Remove.
4337 (called-interactively-p):
4338 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4339 `base' arg of backtrace-frame instead.
4340
15ac32d5
GM
43412013-07-26 Glenn Morris <rgm@gnu.org>
4342
8358a09d
GM
4343 * align.el (align-regexp): Doc fix. (Bug#14857)
4344 (align-region): Explicit error if subexpression missing/does not match.
4345
15ac32d5
GM
4346 * simple.el (global-visual-line-mode):
4347 Do not duplicate the mode lighter. (Bug#14858)
4348
f47ad11b
MR
43492013-07-25 Martin Rudalics <rudalics@gmx.at>
4350
4351 * window.el (display-buffer): In display-buffer bind
4352 split-window-keep-point to t, bug#14829.
4353
02530987
JB
43542013-07-25 Juanma Barranquero <lekktu@gmail.com>
4355
4356 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4357 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4358 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4359 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4360 Change accordingly.
f63ebeb5
JB
4361 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4362 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4363
6ccb9cab 43642013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4365
6ccb9cab 4366 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4367
cb3a56d2
JB
43682013-07-25 Juanma Barranquero <lekktu@gmail.com>
4369
4370 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4371 parameter to modify-frame-parameters if the value has not changed;
4372 this is a workaround for bug#14949.
4373 (desktop--make-frame): On cl-delete-if call, check parameter name,
4374 not full parameter.
4375
7aa7fff0
XF
43762013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4377
4378 * vc/vc.el (vc-ignore): New function.
4379
4380 * vc/vc-svn.el (vc-svn-ignore): New function.
4381
4382 * vc/vc-hg.el (vc-hg-ignore): New function.
4383
4384 * vc/vc-git.el (vc-git-ignore): New function.
4385
4386 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4387 (vc-dir-ignore): New function.
4388
4389 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4390 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4391
4392 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4393
4394 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4395
889acc5c
JB
43962013-07-24 Juanma Barranquero <lekktu@gmail.com>
4397
4398 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4399 (desktop-restore-frames): Warn when deleting an existing frame failed.
4400
86c40970
GM
44012013-07-24 Glenn Morris <rgm@gnu.org>
4402
4403 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4404
d5d3c58a
MA
44052013-07-24 Michael Albinus <michael.albinus@gmx.de>
4406
4407 * filenotify.el (file-notify-supported-p):
4408 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4409 Remove functions.
4410
4411 * autorevert.el (auto-revert-use-notify):
4412 (auto-revert-notify-add-watch):
4413 * net/tramp.el (tramp-file-name-for-operation):
4414 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4416 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4417 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4418 Remove `file-notify-supported-p' entry.
4419
d100084b
GM
44202013-07-24 Glenn Morris <rgm@gnu.org>
4421
4422 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4423 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4424
ac93e56b
SM
44252013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4426
249eea30
SM
4427 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4428 checked with memq (bug#14935).
4429
ac93e56b
SM
4430 * files.el (revert-buffer-function): Use a non-nil default.
4431 (revert-buffer-preserve-modes): Declare var to
4432 provide access to the `preserve-modes' argument.
4433 (revert-buffer): Let-bind it.
4434 (revert-buffer--default): New function, extracted from revert-buffer.
4435
2cdeb903
SM
44362013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * lpr.el: Signal print errors more prominently.
4439 (print-region-function): Don't default to nil.
4440 (lpr-print-region): New function, extracted from print-region-1.
4441 Check lpr's return value and signal an error in case of problem.
4442 (print-region-1): Use it.
4443 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4444 versions instead.
4445 (ps-printer-name): Default to nil.
4446 (ps-printer-name-option): Default to lpr-printer-switch.
4447 (ps-print-region-function): Don't default to nil.
4448 (ps-postscript-code-directory): Simplify default.
4449 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4450 (ps-string-list, ps-eval-switch, ps-flatten-list)
4451 (ps-flatten-list-1): Remove.
4452 (ps-multibyte-buffer): Avoid setq.
4453 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4454 (print-region-function, ps-print-region-function): Don't set them here.
4455
73600831
XF
44562013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4457
0e55c076
XF
4458 * ido.el (ido-fractionp):
4459 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4460 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4461 (ido-max-directory-size, ido-max-dir-file-cache)
4462 (ido-decorations): Doc fix.
4463
73600831
XF
4464 * ansi-color.el: Fix old URL.
4465
3d012865
MM
44662013-07-23 Michael R. Mauger <michael@mauger.com>
4467
e903c210 4468 * progmodes/sql.el: Version 3.3
3d012865
MM
4469 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4470 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4471 (sql-interactive-remove-continuation-prompt): Rewrite, use
4472 functions above. Fix continuation prompt and complete output line
4473 handling.
4474 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4475 redirected output buffer.
4476 (sql-mode): Restore deleted code (Bug#13591).
4477
da77a2e2
JB
44782013-07-23 Juanma Barranquero <lekktu@gmail.com>
4479
4480 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4481
80ff0c71
MA
44822013-07-23 Michael Albinus <michael.albinus@gmx.de>
4483
4484 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4485
4486 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4487 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4488 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4489
b61d71e4
JB
44902013-07-23 Juanma Barranquero <lekktu@gmail.com>
4491
4492 * desktop.el (desktop-clear): Simplify; remove useless checks
4493 against invalid buffer names.
4494 (desktop-list*): Use cl-list*.
4495 (desktop-buffer-info, desktop-create-buffer): Simplify.
4496
c3512092
LL
44972013-07-23 Leo Liu <sdl.web@gmail.com>
4498
4499 * bookmark.el (bookmark-make-record): Restore NAME as a default
4500 value. (Bug#14933)
4501
0ac26976
SM
45022013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4503
7d22ce18
SM
4504 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4505 extracted from autoload--insert-text.
4506 (autoload--insert-text): Remove.
4507 (autoload--print-cookie-text): New function, extracted from
4508 autoload--insert-cookie-text.
4509 (autoload--insert-cookie-text): Remove.
4510 (autoload-generate-file-autoloads): Adjust calls accordingly.
4511
9b2607e8
SM
4512 * winner.el (winner-hook-installed-p): Remove.
4513 (winner-mode): Simplify accordingly.
4514
c43a8618
SM
4515 * subr.el (add-to-list): Fix compiler-macro when `append' is
4516 not constant. Don't use `cl-member' for the base case.
4517
0ac26976
SM
4518 * progmodes/subword.el: Fix boundary case (bug#13758).
4519 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4520 own group.
4521 (subword-backward-regexp): Make it a constant.
4522 (subword-forward-internal): Don't treat a trailing capital as the
4523 beginning of a word.
4524
6874724a
AR
45252013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4526
4527 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4528 global value of tabulated-list-revert-hook (bug#14930).
4529
70f1b5e8
JB
45302013-07-22 Juanma Barranquero <lekktu@gmail.com>
4531
a1c80d9d
JB
4532 * desktop.el: Require 'cl-lib.
4533 (desktop-before-saving-frames-functions): New hook.
4534 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4535 for frames being saved. Rename from desktop--save-minibuffer-frames.
4536 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4537 Do not save frames with non-nil `desktop-dont-save' parameter.
4538 Filter out deleted frames.
a1c80d9d
JB
4539 (desktop--find-frame): Use cl-find-if.
4540 (desktop--select-frame): Use cl-(first|second|third) to access values
4541 of desktop-mini.
4542 (desktop--make-frame): Use cl-delete-if.
4543 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4544 (desktop-restore-frames): Use cl-(first|second|third) to access values
4545 of desktop-mini. Look for visible frame at the end, not while
4546 restoring frames.
4547
70f1b5e8
JB
4548 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4549 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4550 Use string-match-p, looking-at-p (bug#14927).
4551
728dc3cc
JB
45522013-07-21 Juanma Barranquero <lekktu@gmail.com>
4553
56bc453c
JB
4554 * desktop.el (desktop-saved-frame-states):
4555 Rename from desktop--saved-states; all users changed.
4556 (desktop-save-frames): Rename from desktop--save-frames.
4557 Do not save state to desktop file.
4558 (desktop-save): Save desktop-saved-frame-states to desktop file
4559 and reset to nil.
4560 (desktop-restoring-frames-p): New function.
4561 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4562 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4563 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4564
728dc3cc
JB
4565 * desktop.el: Correctly restore iconified frames.
4566 (desktop--filter-iconified-position): New function.
4567 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4568
862f1c9c
GM
45692013-07-20 Glenn Morris <rgm@gnu.org>
4570
c4074c9f
GM
4571 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4572 Let `message' do the formatting.
4573 (def-gdb-preempt-display-buffer): Add explicit format.
4574
d828e5f9
GM
4575 * image-dired.el (image-dired-track-original-file):
4576 Use with-current-buffer.
4577 (image-dired-track-thumbnail): Use with-current-buffer.
4578 Avoid changing point of wrong window.
4579
862f1c9c
GM
4580 * image-dired.el (image-dired-track-original-file):
4581 Avoid changing point of wrong window. (Bug#14909)
4582
f0398ec1 45832013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4584
4585 * progmodes/gdb-mi.el (gdb-done-or-error):
4586 Guard against "%" in gdb output. (Bug#14127)
4587
1451928f
AS
45882013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4589
763a086d
JB
4590 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4591 (Bug#14826)
f7a03897 4592
1451928f
AS
4593 * international/mule.el (coding-system-iso-2022-flags): Fix last
4594 change.
4595
99107004
KH
45962013-07-20 Kenichi Handa <handa@gnu.org>
4597
763a086d
JB
4598 * international/mule.el (coding-system-iso-2022-flags):
4599 Add `8-bit-level-4'. (Bug#8522)
99107004 4600
48494e06
LMI
46012013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4602
8ba8eec5
LMI
4603 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4604 (bug#14815).
4605
dfbc66e3
LMI
4606 * net/eww.el (eww-process-text-input): Allow inputting when the
4607 point is at the start of the line, as the properties aren't
4608 front-sticky.
4609
48494e06
LMI
4610 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4611 degenerate widths.
4612
77c92cb9
RS
46132013-07-19 Richard Stallman <rms@gnu.org>
4614
aec7da77
RS
4615 * epa.el (epa-popup-info-window): Doc fix.
4616
77c92cb9
RS
4617 * subr.el (split-string): New arg TRIM.
4618
945c5bb1
JB
46192013-07-18 Juanma Barranquero <lekktu@gmail.com>
4620
4621 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4622 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4623
e06ec67f
MA
46242013-07-18 Michael Albinus <michael.albinus@gmx.de>
4625
c7064f05 4626 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4627 `file-notify-support'. Do not autoload. Adapt all uses.
4628 (file-notify-supported-p): New defun.
4629
c7064f05
JB
4630 * autorevert.el (auto-revert-use-notify):
4631 Use `file-notify-supported-p' instead of `file-notify-support'.
4632 Adapt docstring.
e06ec67f
MA
4633 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4634
4635 * net/tramp.el (tramp-file-name-for-operation):
4636 Add `file-notify-supported-p'.
4637
4638 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4639 New defun.
4640 (tramp-sh-file-name-handler-alist): Add it as handler for
4641 `file-notify-supported-p '.
4642
4643 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4644 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4645 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4646 Add `ignore' as handler for `file-notify-*' functions.
4647
5dc8a629
EZ
46482013-07-17 Eli Zaretskii <eliz@gnu.org>
4649
4650 * simple.el (line-move-partial, line-move): Don't start vscroll or
4651 scroll-up if the current line is not taller than the window.
4652 (Bug#14881)
4653
77aea2fb
DG
46542013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4655
4656 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4657 highlight question marks in the method names as strings.
ac72c08d
DG
4658 (ruby-block-beg-keywords): Inline.
4659 (ruby-font-lock-keyword-beg-re): Extract from
4660 `ruby-font-lock-keywords'.
77aea2fb 4661
18c26d81
JD
46622013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4663
4664 * frame.el (blink-cursor-blinks): New defcustom.
4665 (blink-cursor-blinks-done): New defvar.
4666 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4667 (blink-cursor-timer-function): Check if number of blinks has been
4668 done on X and NS.
4669 (blink-cursor-suspend, blink-cursor-check): New defuns.
4670
da48522e
GM
46712013-07-15 Glenn Morris <rgm@gnu.org>
4672
4673 * edmacro.el (edmacro-format-keys): Fix previous change.
4674
0463c1ef
PE
46752013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4676
4677 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4678 The hack didn't work outside English locales anyway.
4679
b43f6451
JB
46802013-07-15 Juanma Barranquero <lekktu@gmail.com>
4681
4682 * simple.el (define-alternatives): Rename from alternatives-define,
4683 per RMS' suggestion.
4684
b958c0ad
JB
46852013-07-14 Juanma Barranquero <lekktu@gmail.com>
4686
4687 * desktop.el (desktop-restore-frames): Change default to t.
4688 (desktop-restore-in-current-display): Now offer more options.
4689 (desktop-restoring-reuses-frames): New customization option.
4690 (desktop--saved-states): Doc fix.
4691 (desktop-filter-parameters-alist): New variable, renamed and expanded
4692 from desktop--excluded-frame-parameters.
4693 (desktop--target-display): New variable.
4694 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4695 (desktop--filter-tty*, desktop--filter-*-color)
4696 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4697 (desktop--filter-save-desktop-parm)
4698 (desktop-restore-in-original-display-p): New functions.
4699 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4700 (desktop--save-minibuffer-frames): New function, inspired by a similar
4701 function from Martin Rudalics.
4702 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4703 (desktop--restore-in-this-display-p): Remove.
4704 (desktop--find-frame): Rename from desktop--find-frame-in-display
4705 and add predicate argument.
4706 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4707 (desktop--reuse-list): New variable.
4708 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4709 New functions.
4710 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4711
f6dd8b36
MA
47122013-07-14 Michael Albinus <michael.albinus@gmx.de>
4713
4714 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4715
2ce3c565
DG
47162013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4717
763a086d
JB
4718 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4719 Highlight conversion methods on Kernel.
2ce3c565 4720
2cdb7698
AM
47212013-07-13 Alan Mackenzie <acm@muc.de>
4722
4723 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4724 and comment it out. This out-commenting enables certain C++
4725 declarations to be parsed correctly.
4726
1a67b811
EZ
47272013-07-13 Eli Zaretskii <eliz@gnu.org>
4728
1b796d6b
EZ
4729 * international/mule.el (define-coding-system): Doc fix.
4730
1a67b811
EZ
4731 * simple.el (default-font-height): Don't call font-info if the
4732 frame's default font didn't change since the frame was created.
4733 (Bug#14838)
4734
58fbe886
LL
47352013-07-13 Leo Liu <sdl.web@gmail.com>
4736
4737 * ido.el (ido-read-file-name): Guard against non-symbol value.
4738
1f0480d4
FEG
47392013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4740
4741 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4742 in nested defuns.
4743
97ead0e5
LL
47442013-07-13 Leo Liu <sdl.web@gmail.com>
4745
4746 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4747 ido-set-matches call. (Bug#6852)
4748
0880a952
DG
47492013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4750
4751 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4752 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4753 Ruby 2.0.
4754 (ruby-font-lock-keywords): Distinguish calls to functions with
4755 module-like names from module references. Highlight character
4756 literals.
4757
a7d8babb
SDJ
47582013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4759
4760 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4761 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4762
acfcc8c5
JB
47632013-07-12 Juanma Barranquero <lekktu@gmail.com>
4764
4765 * desktop.el (desktop--v2s): Remove unused local variable.
4766 (desktop-save-buffer): Make defvar-local; adjust docstring.
4767 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4768 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4769
051f2775
AS
47702013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4771
4772 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4773
f24e7572
GM
47742013-07-12 Eli Zaretskii <eliz@gnu.org>
4775
4776 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4777 (Bug#14842)
4778
539a920c
GM
47792013-07-12 Glenn Morris <rgm@gnu.org>
4780
4781 * doc-view.el: Require cl-lib at runtime too.
4782 (doc-view-remove-if): Remove.
4783 (doc-view-search-next-match, doc-view-search-previous-match):
4784 Use cl-remove-if.
4785
4786 * edmacro.el: Require cl-lib at runtime too.
4787 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4788 (edmacro-mismatch, edmacro-subseq): Remove.
4789
4790 * shadowfile.el: Require cl-lib.
4791 (shadow-remove-if): Remove.
4792 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4793 Use cl-remove-if.
4794
4795 * wid-edit.el: Require cl-lib.
4796 (widget-choose): Use cl-remove-if.
4797 (widget-remove-if): Remove.
4798
4799 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4800 (ebrowse-delete-if-not): Remove.
4801 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4802 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4803 Use cl-delete-if-not.
4804
1048af7c
JB
48052013-07-12 Juanma Barranquero <lekktu@gmail.com>
4806
4807 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4808 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4809
6c0674ee
LL
48102013-07-12 Leo Liu <sdl.web@gmail.com>
4811
4812 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4813
a19b3c2d
GM
48142013-07-11 Glenn Morris <rgm@gnu.org>
4815
4582a01c
GM
4816 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4817 (edebug-gensym-index, edebug-gensym):
4818 Remove reimplementation of cl-gensym.
4819 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4820
4821 * thumbs.el: Require cl-lib at run-time too.
4822 (thumbs-gensym-counter, thumbs-gensym):
4823 Remove reimplementation of cl-gensym.
4824 (thumbs-temp-file): Use cl-gensym.
4825
a19b3c2d
GM
4826 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4827 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4828 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4829 (ert--union, ert--gensym-counter, ert--gensym-counter)
4830 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4831 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4832 (ert-make-test-unbound, ert--expand-should-1)
4833 (ert--expand-should, ert--should-error-handle-error)
4834 (should-error, ert--explain-equal-rec)
4835 (ert--plist-difference-explanation, ert-select-tests)
4836 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4837 Use cl-lib functions rather than reimplementations.
4838
88f6a933
MA
48392013-07-11 Michael Albinus <michael.albinus@gmx.de>
4840
4841 * net/tramp.el (tramp-methods): Extend docstring.
4842 (tramp-connection-timeout): New defcustom.
4843 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4844 (with-tramp-progress-reporter): Simplify.
4845 (tramp-process-actions): Improve messages.
4846
4847 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4848 * net/tramp-sh.el (tramp-maybe-open-connection):
4849 Use `tramp-connection-timeout'.
4850 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4851 (Bug#14808)
4852
a43d577e
LL
48532013-07-11 Leo Liu <sdl.web@gmail.com>
4854
4855 * ido.el (ido-read-file-name): Conform to the requirements of
4856 read-file-name. (Bug#11861)
4857 (ido-read-directory-name): Conform to the requirements of
4858 read-directory-name.
4859
d77974bf
JB
48602013-07-11 Juanma Barranquero <lekktu@gmail.com>
4861
4862 * subr.el (delay-warning): New function.
4863
35cb8a3e
EZ
48642013-07-10 Eli Zaretskii <eliz@gnu.org>
4865
4866 * simple.el (default-line-height): New function.
4867 (line-move-partial, line-move): Use it instead of computing the
4868 line height inline.
4869 (line-move-partial): Always compute ROWH. If the last line is
4870 partially-visible, but its text is completely visible, allow
4871 cursor to enter such a partially-visible line.
4872
525c5c77
MA
48732013-07-10 Michael Albinus <michael.albinus@gmx.de>
4874
4875 Improve error messages. (Bug#14808)
4876
4877 * net/tramp.el (tramp-current-connection): New defvar, moved from
4878 tramp-sh.el.
0ac26976 4879 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4880 needed anymore.
0ac26976
SM
4881 (tramp-error-with-buffer): Show message in minibuffer.
4882 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4883 (with-tramp-progress-reporter): Improve messages.
4884 (tramp-process-actions): Use progress reporter. Delete process in
4885 case of error. Improve messages.
4886
763a086d
JB
4887 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4888 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4889 (tramp-current-connection): Remove.
525c5c77
MA
4890 (tramp-maybe-open-connection): The car of
4891 `tramp-current-connection' are the first 3 slots of the vector.
4892
c7a4d368
TZ
48932013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4894
4895 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4896 inside continued strings.
4897
954b166e
PE
48982013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4899
4900 Timestamp fixes for undo (Bug#14824).
4901 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4902
56973319
LL
49032013-07-10 Leo Liu <sdl.web@gmail.com>
4904
4905 * files.el (require-final-newline): Allow safe local value.
4906 (Bug#14834)
4907
5550a72c
LL
49082013-07-09 Leo Liu <sdl.web@gmail.com>
4909
4910 * ido.el (ido-read-directory-name): Handle fallback.
4911 (ido-read-file-name): Update DIR to ido-current-directory.
4912 (Bug#1516)
c28b9050 4913 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4914
70c46b28
DG
49152013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4916
4917 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4918 "autoload". Remove "warn lower camel case" section, previously
4919 commented out. Highlight negation char. Do not highlight the
4920 target in singleton method definitions.
4921
0b64b838
SM
49222013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4923
7fd72e2c
SM
4924 * faces.el (tty-setup-hook): Declare the hook.
4925
0b64b838
SM
4926 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4927 and detect when a guard/pred depends on local vars (bug#14773).
4928 (pcase--u1): Adjust caller.
4929
ab49d60b
EZ
49302013-07-08 Eli Zaretskii <eliz@gnu.org>
4931
4932 * simple.el (line-move-partial, line-move): Account for
4933 line-spacing.
701d79aa
EZ
4934 (line-move-partial): Avoid setting vscroll when the last
4935 partially-visible line in window is of default height.
ab49d60b 4936
2d756ae0
LMI
49372013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4938
4939 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4940 been used a while.
4941
ed095bd7
JB
49422013-07-07 Juanma Barranquero <lekktu@gmail.com>
4943
4944 * subr.el (read-quoted-char): Remove unused local variable `char'.
4945
f1e6674b
MK
49462013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4947
584ee3fc
GM
4948 * ediff.el (ediff-version): Version update.
4949 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4950 (ediff-merge-with-ancestor-command, ediff-directories-command)
4951 (ediff-directories3-command, ediff-merge-directories-command)
4952 (ediff-merge-directories-with-ancestor-command): New functions.
4953 All are command-line interfaces to ediff: to facilitate calling
4954 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4955
4956 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4957 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4958
584ee3fc
GM
4959 * viper.el (viper-version): Version update.
4960 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4961
584ee3fc
GM
49622013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4965 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4966 (viper-intercept-ESC-key): Simplify.
4967 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4968 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4969 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4970 (viper-setup-ESC-to-escape): New functions.
4971 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4972 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4973
9aff9b38
EZ
49742013-07-07 Eli Zaretskii <eliz@gnu.org>
4975
5165d44a
JB
4976 * simple.el (default-font-height, window-screen-lines):
4977 New functions.
9aff9b38
EZ
4978 (line-move, line-move-partial): Use them instead of
4979 frame-char-height and window-text-height. This makes scrolling
4980 text smoother when the buffer's default face uses a font that is
4981 different from the frame's default font.
4982
1afb1d07
JD
49832013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4984
4985 * files.el (write-file): Do not display confirm dialog for NS,
4986 it does its own dialog, which can't be cancelled (Bug#14578).
4987
23de972a
EZ
49882013-07-06 Eli Zaretskii <eliz@gnu.org>
4989
4990 * simple.el (line-move-partial): Adjust the row returned by
4991 posn-at-point for the current window-vscroll. (Bug#14567)
4992
54a42486
MA
49932013-07-06 Michael Albinus <michael.albinus@gmx.de>
4994
4995 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4996 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4997 spaces.
4998
34ada5f4
MR
49992013-07-06 Martin Rudalics <rudalics@gmx.at>
5000
5001 * window.el (window-state-put-stale-windows): New variable.
5002 (window--state-put-2): Save list of windows without matching buffer.
5003 (window-state-put): Remove "bufferless" windows if possible.
5004
11e03d89
JB
50052013-07-06 Juanma Barranquero <lekktu@gmail.com>
5006
5007 * simple.el (alternatives-define): Remove leftover :group keyword.
5008 Tweak docstring.
5009
3504a4be
LL
50102013-07-06 Leo Liu <sdl.web@gmail.com>
5011
5012 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5013 (ido-enable-virtual-buffers): New variable.
5014 (ido-buffer-internal, ido-toggle-virtual-buffers)
5015 (ido-make-buffer-list): Use it.
5016 (ido-exhibit): Support turning on and off virtual buffers
5017 automatically.
5018
61e56e2c
JB
50192013-07-06 Juanma Barranquero <lekktu@gmail.com>
5020
5021 * simple.el (alternatives-define): New macro.
5022
321e1a9c
SM
50232013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5024
5025 * subr.el (read-quoted-char): Use read-key.
5026 (sit-for): Let read-event decode tty input (bug#14782).
5027
d610f6dd
SB
50282013-07-05 Stephen Berman <stephen.berman@gmx.net>
5029
5030 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5031 mode command and externally. Fix various related bugs.
5032 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5033 (todo-delete-file): New command.
5034 (todo-check-file): New function.
5035 (todo-show): Handle external deletion of the file we're trying to
5036 show (bug#14688). Replace called-interactively-p by an optional
5037 prefix argument to avoid problematic interaction with catch form
5038 when byte compiled (bug#14702).
5039 (todo-quit): Handle external deletion of the archive's todo file.
5040 Make sure the buffer that was visiting the archive file is still
5041 live before trying to bury it.
5042 (todo-category-completions): Handle external deletion of any
5043 category completion files.
5044 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5045 of todo files, in case of external deletion.
5046 (todo-add-file): Replace unnecessary setq by let-binding.
5047 (todo-find-archive): Check whether there are any archives.
5048 Replace unnecessary setq by let-binding.
5049 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5050 archive buffer whether or not the archive already exists.
5051 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5052 check if the archive is new; if it is, update list of archives.
5053 (todo-default-todo-file): Allow nil to be a valid value for when
5054 there are no todo files.
5055 (todo-reevaluate-default-file-defcustom): Use corrected definition
5056 of todo-default-todo-file.
5057 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5058 (todo-delete-category, todo-show-categories-table)
5059 (todo-category-number): Clarify comment.
5060 (todo-filter-items): Clarify documentation string.
5061 (todo-show-current-file, todo-display-as-todo-file)
5062 (todo-reset-and-enable-done-separator): Tweak documentation string.
5063 (todo-done-separator): Make separator length window-width, since
5064 bug#2749 is now fixed.
5065
ddbdfd6f
MA
50662013-07-05 Michael Albinus <michael.albinus@gmx.de>
5067
321e1a9c
SM
5068 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5069 Support both "gvfs-monitor-dir" and "inotifywait".
5070 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5071 `tramp-sh-file-notify-process-filter'.
5072 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5073 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5074
96eb829a
LL
50752013-07-05 Leo Liu <sdl.web@gmail.com>
5076
5077 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5078
cf13177e
YM
50792013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5080
5081 * frame.el (display-pixel-height, display-pixel-width)
5082 (display-mm-height, display-mm-width): Mention behavior on
5083 multi-monitor setups in docstrings.
5084 (w32-display-monitor-attributes-list): Declare function.
5085 (display-monitor-attributes-list): Use it.
5086
864c58ca
MA
50872013-07-04 Michael Albinus <michael.albinus@gmx.de>
5088
5089 * filenotify.el: New package.
5090
5091 * autorevert.el (top): Require filenotify.el.
5092 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5093 instead.
5094 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5095 (auto-revert-notify-handler): Use `file-notify-*' functions.
5096
5097 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5098
321e1a9c
SM
5099 * net/tramp.el (tramp-file-name-for-operation):
5100 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5101
5102 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5103 for `file-notify-add-watch' and `file-notify-rm-watch'.
5104 (tramp-process-sentinel): Improve trace.
5105 (tramp-sh-handle-file-notify-add-watch)
5106 (tramp-sh-file-notify-process-filter)
5107 (tramp-sh-handle-file-notify-rm-watch)
5108 (tramp-get-remote-inotifywait): New defuns.
5109
96673afe
JL
51102013-07-03 Juri Linkov <juri@jurta.org>
5111
5112 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5113 call of `occur-read-primary-args' to interactive spec.
5114
5115 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5116 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5117
924494f4
MM
51182013-07-03 Matthias Meulien <orontee@gmail.com>
5119
5120 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5121 `Buffer-menu-multi-occur'. Add it to the menu.
5122 (Buffer-menu-mode): Document it in docstring.
5123 (Buffer-menu-multi-occur): New command. (Bug#14673)
5124
56f75efc
DG
51252013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5126
5127 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5128 keywords and built-ins.
5129
9b057d61
GM
51302013-07-03 Glenn Morris <rgm@gnu.org>
5131
208dee4d
GM
5132 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5133
9b057d61
GM
5134 Make info-xref checks case-sensitive by default
5135 * info.el (Info-find-node, Info-find-in-tag-table)
5136 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5137 Add option for exact case matching of nodes.
5138 * info-xref.el (info-xref): New custom group.
5139 (info-xref-case-fold): New option.
5140 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5141
e01aa29c
LL
51422013-07-03 Leo Liu <sdl.web@gmail.com>
5143
5144 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5145
3086ca2e
DG
51462013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5147
5148 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5149 middle of block statement initially, lower the depth. Remove
5150 FIXME comment, not longer valid. Remove middle of block statement
5151 detection, no need to do that anymore since we've been using
5152 `ruby-parse-region' here.
5153
a3b49114
JD
51542013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5155
5156 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5157
08e5c823 51582013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5159
5160 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5161
2addf922
JB
51622013-07-01 Juanma Barranquero <lekktu@gmail.com>
5163
5164 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5165 (desktop-restore-in-current-display): New customization option.
5166 (desktop--excluded-frame-parameters): Add `font'.
5167 (desktop--save-frames): Rename from desktop--save-windows.
5168 (desktop--restore-in-this-display-p): New function.
5169 (desktop--make-full-frame): Remove unwanted width/height from
5170 full(width|height) frames.
5171 (desktop--restore-frames): Rename from desktop--restore-windows.
5172 Obey desktop-restore-current-display. Do not delete old frames or
5173 select a new frame unless we were able to restore at least one frame.
5174
ef099a94
MN
51752013-06-30 Michal Nazarewicz <mina86@mina86.com>
5176
5177 * files.el (find-file-noselect): Simplify conditional expression.
5178
5179 * remember.el (remember-append-to-file):
5180 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5181
5182 Add `remember-notes' function to store random notes across Emacs
5183 restarts.
5184 * remember.el (remember-data-file): Add :set callback to affect
5185 notes buffer (if any).
5186 (remember-notes): New command.
5187 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5188 New defcustoms for the `remember-notes' function.
5189 (remember-notes-save-and-bury-buffer): New command.
5190 (remember-notes-mode-map): New variable.
5191 (remember-mode): New minor mode.
5192 (remember-notes--kill-buffer-query): New function.
5193 * startup.el (initial-buffer-choice): Add notes to custom type.
5194
0865d506
EZ
51952013-06-30 Eli Zaretskii <eliz@gnu.org>
5196
0ba54312
EZ
5197 * bindings.el (right-char, left-char): Don't call sit-for, this is
5198 no longer needed. Use arithmetic comparison only for numerical
5199 arguments.
5200
ef099a94
MN
5201 * international/mule-cmds.el (select-safe-coding-system):
5202 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5203
2fae38e5
LMI
52042013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5205
5206 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5207 progression on degenerate tables.
ef099a94 5208 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5209
a47cbd64
JB
52102013-06-30 Juanma Barranquero <lekktu@gmail.com>
5211
5212 Some fixes and improvements for desktop frame restoration.
5213 It is still experimental and disabled by default.
5214 * desktop.el (desktop--save-windows): Put the selected frame at
5215 the head of the list.
5216 (desktop--make-full-frame): New function.
5217 (desktop--restore-windows): Try to re-select the frame that was
5218 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5219 just show an error message and continue. Set up maximized frames
5220 so they have default non-maximized dimensions.
a47cbd64 5221
6dbafa30
DG
52222013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5223
ef099a94
MN
5224 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5225 Don't start heredoc inside a string or comment.
6dbafa30 5226
4c672a0f
EZ
52272013-06-29 Eli Zaretskii <eliz@gnu.org>
5228
5229 * bindings.el (visual-order-cursor-movement): New defcustom.
5230 (right-char, left-char): Provide visual-order cursor motion by
5231 calling move-point-visually. Update the doc strings.
5232
50960f36
KH
52332013-06-28 Kenichi Handa <handa@gnu.org>
5234
5235 * international/mule.el (define-coding-system): New coding system
5236 properties :inhibit-null-byte-detection,
5237 :inhibit-iso-escape-detection, and :prefer-utf-8.
5238 (set-buffer-file-coding-system): If :charset-list property of
5239 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5240 appropriate for setting.
5241
c1ea3abf
JB
5242 * international/mule-cmds.el (select-safe-coding-system):
5243 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5244 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5245
5246 * international/mule-conf.el (prefer-utf-8): New coding system.
5247 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5248 files.
5249
75dbaf9d
IK
52502013-06-28 Ivan Kanis <ivan@kanis.fr>
5251
eadb6068
IK
5252 * net/shr.el (shr-render-region): New function.
5253
75dbaf9d
IK
5254 * net/eww.el: Autoload `eww-browse-url'.
5255
9ea5cf9f
DG
52562013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5257
c1ea3abf
JB
5258 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5259 Adapt to `package-desc-version' being a list.
5260 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5261 archive element.
5262
39c0e36f
JB
52632013-06-27 Juanma Barranquero <lekktu@gmail.com>
5264
5265 New experimental feature to save&restore window and frame setup.
5266 * desktop.el (desktop-save-windows): New defcustom.
5267 (desktop--saved-states): New var.
5268 (desktop--excluded-frame-parameters): New defconst.
5269 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5270 (desktop--restore-windows, desktop--save-windows): New functions.
5271 (desktop-save): Call `desktop--save-windows'.
5272 (desktop-read): Call `desktop--restore-windows'.
5273
7f13406b
LMI
52742013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5275
ef099a94 5276 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5277
1e072639
SB
52782013-06-27 Stephen Berman <stephen.berman@gmx.net>
5279
5280 * info.el (Info-try-follow-nearest-node): Move search for footnote
5281 above search for node name to prevent missing a footnote (bug#14717).
5282
f3e2cbde
SB
52832013-06-27 Stephen Berman <stephen.berman@gmx.net>
5284
5285 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5286
99906aa0
LL
52872013-06-27 Leo Liu <sdl.web@gmail.com>
5288
5289 * net/eww.el (eww-read-bookmarks): Check file size.
5290
539f75f4
SM
52912013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5294 advice--pending if newdef is nil or an autoload (bug#13820).
5295 (advice-mapc): New function.
5296
843571cb
LMI
52972013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5298
5299 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5300 probably.
23a75d7f 5301 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5302 (eww-add-bookmark): New command.
5303 (eww-bookmark-mode): New mode and commands.
a285ce99 5304 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5305 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5306
f2136e1e
GM
53072013-06-26 Glenn Morris <rgm@gnu.org>
5308
eab35f39
GM
5309 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5310 (hfy-size): Handle ttys. (Bug#14668)
5311
f2136e1e
GM
5312 * info-xref.el: Update for Texinfo 5 change in *note format.
5313 (info-xref-node-re, info-xref-note-re): New constants.
5314 (info-xref-check-buffer): Use info-xref-note-re.
5315
a49ff80c
SM
53162013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5317
a343d218
SM
5318 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5319
a49ff80c
SM
5320 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5321 nil terminate the loop (bug#14718).
5322
8308f184
LMI
53232013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5324
5325 * net/eww.el: Rework history traversal. When going forward/back,
5326 put these actions into the history, too, so that they can be
5327 replayed.
26bf2b82 5328 (eww-render): Move the history reset to the correct buffer.
8308f184 5329
ec64c273
JL
53302013-06-25 Juri Linkov <juri@jurta.org>
5331
5332 * files-x.el (modify-dir-local-variable): Change the header comment
5333 in the file with directory local variables. (Bug#14692)
5334
e080a9d7
JL
5335 * files-x.el (read-file-local-variable-value): Add `default'.
5336 (Bug#14710)
5337
bfbc93a1
IK
53382013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5339
5340 * net/eww.el (eww-make-unique-file-name): Create a unique file
5341 name before saving to entering `y' accidentally asynchronously.
5342
53432013-06-25 Ivan Kanis <ivan@kanis.fr>
5344
5345 * net/eww.el (eww-download): New command and keystroke.
5346
16f74f10
LMI
53472013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5348
a49ff80c 5349 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5350
5351 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5352 be more consistent with Info and dired.
5353
5354 * net/eww.el (eww-mode-map): Ditto.
5355
12059709
SM
53562013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5359 packages from archives.
5360 (package-archive-contents): Change format; include obsolete packages.
5361 (package-desc): Use `dir' to mark builtin packages.
5362 (package--from-builtin): Set the `dir' field to `builtin'.
5363 (generated-autoload-file, version-control): Declare.
5364 (package-compute-transaction): Change first arg and return value to be
5365 lists of package-descs. Adjust to new package-archive-contents format.
5366 (package--add-to-archive-contents): Adjust to new
5367 package-archive-contents format.
5368 (package-download-transaction): Arg is now a list of package-descs.
5369 (package-install): If `pkg' is a package name, pass it as
5370 a requirement, so it is subject to the usual (e.g. disabled) checks.
5371 (describe-package): Accept package-desc as well.
5372 (describe-package-1): Describe a specific package-desc. Add links to
5373 other package-descs for the same package name.
5374 (package-menu-describe-package): Pass the actual package-desc.
5375 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5376 works correctly.
5377 (package-desc-status): New function.
5378 (package-menu--refresh): New function, extracted
5379 from package-menu--generate.
5380 (package-menu--generate): Use it.
5381 (package-delete): Update package-alist.
5382 (package-menu-execute): Don't call package-initialize.
5383
5384 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5385 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5386 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5387 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5388 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5389 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5390
8bbdea0f
MR
53912013-06-25 Martin Rudalics <rudalics@gmx.at>
5392
5393 * window.el (window--state-get-1): Workaround for bug#14527.
5394 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5395
e82b0991
LMI
53962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5397
5398 * net/eww.el (eww-back-url): Implement the history by stashing all
5399 the data into a list.
d3f0f918 5400 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5401
c763842b
SM
54022013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5405 for values and use read--expression for expressions (bug#14710).
5406 (read-file-local-variable): Avoid setq.
5407 (read-file-local-variable-mode): Use minor-mode-list.
5408
bceff189
RW
54092013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5410
864c58ca 5411 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5412 for DOI URLs.
5413
45f431c6
RW
54142013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5415
864c58ca 5416 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5417 Update imenu-support when dialect changes.
5418
f42d8237
LL
54192013-06-25 Leo Liu <sdl.web@gmail.com>
5420
5421 * ido.el (ido-read-internal): Allow forward slash on windows.
5422
be549ce6
LMI
54232013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5424
5425 * net/eww.el (eww): Start of strings is \\`, not ^.
5426
71d4c19d
IK
54272013-06-24 Ivan Kanis <ivan@kanis.fr>
5428
5196f88a
IK
5429 * net/shr.el (shr-browse-url): Fix interactive spec.
5430
71d4c19d
IK
5431 * net/eww.el (eww): Add a trailing slash to domain names.
5432
ae36ca55
JB
54332013-06-24 Juanma Barranquero <lekktu@gmail.com>
5434
5435 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5436
0ebd92a3
LMI
54372013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5438
bdaa086b
LMI
5439 * net/shr.el (shr-browse-url): Use an external browser if given a
5440 prefix.
5441
c763842b 5442 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5443
b89fc156
IK
54442013-06-24 Ivan Kanis <ivan@kanis.fr>
5445
5446 * net/eww.el (eww): Work more correctly for file: URLs.
5447 (eww-detect-charset): Allow quoted charsets.
5448 (eww-yank-page-url): New command and keystroke.
5449
18eb4bca
DU
54502013-06-24 Daiki Ueno <ueno@gnu.org>
5451
5452 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5453 file name of gpg executable.
5454 (epg-context-program): New function.
5455 (epg-context-home-directory): New function.
5456 (epg-context-set-program): New function.
5457 (epg-context-set-home-directory): New function.
5458 (epg--start): Use `epg-context-program' instead of
5459 'epg-gpg-program'.
5460 (epg--list-keys-1): Likewise.
5461
6c6268c8
LL
54622013-06-24 Leo Liu <sdl.web@gmail.com>
5463
5464 * ido.el (ido-read-internal): Fix bug#14620.
5465
5e400cb3
JB
54662013-06-23 Juanma Barranquero <lekktu@gmail.com>
5467
5468 * faces.el (face-documentation): Simplify.
5469 (read-face-attribute, tty-find-type, x-resolve-font-name):
5470 Use `string-match-p'.
5471 (list-faces-display): Use `string-match-p'. Simplify.
5472 (face-spec-recalc): Check face to avoid face alias loops.
5473 (read-color): Use `string-match-p' and non-capturing parenthesis.
5474
f3f9606c
LMI
54752013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5476
5477 * net/shr.el (shr-rescale-image): Use the new
5478 :max-width/:max-height functionality.
5479
a3ca09b9
IK
54802013-06-23 Ivan Kanis <ivan@kanis.fr>
5481
5482 * net/eww.el (eww-search-prefix): New variable.
5483 (eww): Use it.
f865b474
IK
5484 (eww-external-browser): New variable.
5485 (eww-mode-map): New keystroke.
5486 (eww-browse-with-external-browser): New command.
a3ca09b9 5487
e854cfc7
IK
5488 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5489
18bb9e21
JB
54902013-06-23 Juanma Barranquero <lekktu@gmail.com>
5491
5492 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5493 Don't skip aligning the next header field when padding is 0;
5494 otherwise, field width is not respected unless the title is as
5495 wide as the field.
5496
5b165ade
SM
54972013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5498
5499 * emacs-lisp/package.el (package-el-version): Remove.
5500 (package-process-define-package): Fix inf-loop.
5501 (package-install): Allow symbols as arguments again.
5502
12adebe9
DG
55032013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5504
5505 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5506 add some more keyword-like methods.
5507 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5508
388573ee
JB
55092013-06-22 Juanma Barranquero <lekktu@gmail.com>
5510
5511 * bs.el (bs-buffer-show-mark): Make defvar-local.
5512 (bs-mode): Use setq-local.
5513
5514 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5515 (emacs-lock--try-unlocking): Make defvar-local.
5516
4582a01c 55172013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5518
2663dd23
GM
5519 * play/cookie1.el (cookie-apropos): Minor simplification.
5520
3d94f3ad
GM
5521 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5522
f72e2fdb
DG
55232013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5524
5525 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5526 `regexp-opt', it breaks the build during dumping.
5527
73eab938
DG
55282013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5529
c763842b
SM
5530 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5531 Highlight keyword-like methods on Kernel and Module with
73eab938 5532 font-lock-builtin-face.
5cf8176d
DG
5533 (auto-mode-alist): Consolidate different entries into one regexp
5534 and add more *file-s.
73eab938 5535
d26255f6
SB
55362013-06-21 Stephen Berman <stephen.berman@gmx.net>
5537
5538 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5539
5540 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5541 (diary-entry): Use it in the action of this button type instead of
5542 diary-goto-entry.
5543
5544 * calendar/todo-mode.el: New version.
5545 (todo-add-category): Append new category to end of file and give
5546 it the highest number, instead of putting it at the beginning and
5547 giving it 0. Incorporate noninteractive functionality.
5548 (todo-forward-category): Adapt to 1-based category numbering.
5549 Allow skipping over archived categories.
5550 (todo-backward-category): Derive from todo-forward-category.
5551 (todo-backward-item, todo-forward-item): Make noninteractive and
5552 delegate interactive part to new commands. Make sensitive to done items.
5553 (todo-categories): Make value an alist of category names and
5554 vectors of item counts.
5555 (todo-category-beg): Make a defconst.
5556 (todo-category-number): Use 1 instead of 0 as initial value.
5557 (todo-category-select): Make sensitive to overlays, optional item
5558 highlighting and done items.
5559 (todo-delete-item): Make sensitive to overlays and marked and done items.
5560 (todo-edit-item): Make sensitive to overlays and editing of
5561 date/time header optional. Add format checks.
5562 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5563 no-op if point is not on an item. Advertise using todo-edit-quit.
5564 (todo-edit-mode): Make sensitive to new format, font-locking, and
5565 multiple todo files.
5566 (todo-insert-item, todo-insert-item-here): Derive from
5567 todo-basic-insert-item and extend functionality.
5568 (todo-item-end, todo-item-start): Make sensitive to done items.
5569 (todo-item-string): Don't return text properties. Restore point.
5570 (todo-jump-to-category): Make sensitive to multiple todo files and
5571 todo archives. Use extended category completion.
5572 (todo-lower-item, todo-raise-item): Rename to *-priority and
5573 derive from todo-set-item-priority.
5574 (todo-mode): Derive from special-mode. Make sensitive to new
5575 format, font-locking and multiple todo files. Make read-only.
5576 (todo-mode-map): Don't suppress digit keys, so they can supply
5577 prefix arguments. Add many new key bindings.
5578 (todo-prefix): Insert as an overlay instead of file text.
5579 Change semantics from diary date expression to purely visual mark.
5580 (todo-print): Rename to todo-print-buffer. Make buffer display
5581 features printable. Remove option to restrict number of items
5582 printed. Add option to print to file.
5583 (todo-print-function): Rename to todo-print-buffer-function.
5584 (todo-quit): Extend to handle exiting new todo modes.
5585 (todo-remove-item): Make sensitive to overlays.
5586 (todo-save): Extend to buffers of filtered items.
5587 (todo-show): Make sensitive to done items, multiple todo files and
5588 new todo modes. Offer to convert legacy todo file before creating
5589 first new todo file.
5590 (todo-show-priorities): Rename to todo-top-priorities.
5591 Change semantics of value 0.
5592 (todo-top-priorities): Rename to todo-filter-top-priorities,
5593 derive from todo-filter-items and extend functionality.
5594 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5595 and extend functionality to other types of filtered items.
5596 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5597 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5598 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5599 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5600 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5601 (todo-edit-mode-hook, todo-entry-prefix-function)
5602 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5603 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5604 (todo-initials, todo-insert-threshold, todo-item-string-start)
5605 (todo-line-string, todo-menu, todo-mode-hook)
5606 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5607 (todo-print-priorities, todo-remove-separator)
5608 (todo-save-top-priorities-too, todo-string-count-lines)
5609 (todo-string-multiline-p, todo-time-string-format)
5610 (todo-tmp-buffer-name): Remove.
5611 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5612 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5613 (todo-edit-category-diary-inclusion)
5614 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5615 (todo-edit-file, todo-edit-item-date-day)
5616 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5617 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5618 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5619 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5620 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5621 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5622 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5623 (todo-filter-top-priorities-multifile, todo-find-archive)
5624 (todo-find-filtered-items-file, todo-go-to-source-item)
5625 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5626 (todo-jump-to-archive-category, todo-lower-category)
5627 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5628 (todo-move-category, todo-move-item, todo-next-button)
5629 (todo-next-item, todo-padded-string, todo-powerset)
5630 (todo-previous-button, todo-previous-item)
5631 (todo-print-buffer-to-file, todo-raise-category)
5632 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5633 (todo-set-category-number, todo-set-item-priority)
5634 (todo-set-top-priorities-in-category)
5635 (todo-set-top-priorities-in-file, todo-show-categories-table)
5636 (todo-sort-categories-alphabetically-or-numerically)
5637 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5638 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5639 (todo-toggle-item-header, todo-toggle-item-highlighting)
5640 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5641 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5642 (todo-unarchive-items, todo-unmark-category): New commands.
5643 (todo-absolute-file-name, todo-add-to-buffer-list)
5644 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5645 (todo-basic-insert-item, todo-category-completions)
5646 (todo-category-number, todo-category-string-matcher-1)
5647 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5648 (todo-check-format, todo-clear-matches)
5649 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5650 (todo-current-category, todo-date-string-matcher)
5651 (todo-define-insertion-command, todo-diary-expired-matcher)
5652 (todo-diary-goto-entry, todo-diary-item-p)
5653 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5654 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5655 (todo-done-item-section-p, todo-done-separator)
5656 (todo-done-string-matcher, todo-files, todo-filter-items)
5657 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5658 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5659 (todo-insert-category-line, todo-insert-item-from-calendar)
5660 (todo-insert-sort-button, todo-insert-with-overlays)
5661 (todo-insertion-command-name, todo-insertion-key-bindings)
5662 (todo-label-to-key, todo-longest-category-name-length)
5663 (todo-make-categories-list, todo-mode-external-set)
5664 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5665 (todo-modes-set-3, todo-multiple-filter-files)
5666 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5667 (todo-read-category, todo-read-date, todo-read-dayname)
5668 (todo-read-file-name, todo-read-time)
5669 (todo-reevaluate-category-completions-files-defcustom)
5670 (todo-reevaluate-default-file-defcustom)
5671 (todo-reevaluate-filelist-defcustoms)
5672 (todo-reevaluate-filter-files-defcustom)
5673 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5674 (todo-reset-done-separator, todo-reset-done-separator-string)
5675 (todo-reset-done-string, todo-reset-global-current-todo-file)
5676 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5677 (todo-reset-prefix, todo-set-categories)
5678 (todo-set-date-from-calendar, todo-set-show-current-file)
5679 (todo-set-top-priorities, todo-short-file-name)
5680 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5681 (todo-total-item-counts, todo-update-buffer-list)
5682 (todo-update-categories-display, todo-update-categories-sexp)
5683 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5684 New functions.
5685 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5686 New major modes.
5687 (todo-categories, todo-display, todo-edit, todo-faces)
5688 (todo-filtered): New defgroups.
5689 (todo-archived-only, todo-button, todo-category-string, todo-date)
5690 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5691 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5692 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5693 (todo-add-item-if-new-category, todo-always-add-time-string)
5694 (todo-categories-align, todo-categories-archived-label)
5695 (todo-categories-category-label, todo-categories-diary-label)
5696 (todo-categories-done-label, todo-categories-number-separator)
5697 (todo-categories-todo-label, todo-categories-totals-label)
5698 (todo-category-completions-files, todo-completion-ignore-case)
5699 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5700 (todo-done-separator-string, todo-done-string)
5701 (todo-files-function, todo-filter-done-items, todo-filter-files)
5702 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5703 (todo-initial-category, todo-initial-file, todo-item-mark)
5704 (todo-legacy-date-time-regexp, todo-mode-line-function)
5705 (todo-nondiary-marker, todo-number-prefix)
5706 (todo-print-buffer-function, todo-show-current-file)
5707 (todo-show-done-only, todo-show-first, todo-show-with-done)
5708 (todo-skip-archived-categories, todo-top-priorities-overrides)
5709 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5710 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5711 New defcustoms.
5712 (todo-category-done, todo-date-pattern, todo-date-string-start)
5713 (todo-diary-items-buffer, todo-done-string-start)
5714 (todo-filtered-items-buffer, todo-item-start)
5715 (todo-month-abbrev-array, todo-month-name-array)
5716 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5717 (todo-top-priorities-buffer): New defconsts.
5718 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5719 (todo-categories-with-marks, todo-category-string-face)
5720 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5721 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5722 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5723 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5724 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5725 (todo-font-lock-keywords, todo-global-current-todo-file)
5726 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5727 (todo-insertion-commands-args)
5728 (todo-insertion-commands-args-genlist)
5729 (todo-insertion-commands-names, todo-insertion-map)
5730 (todo-key-bindings-t, todo-key-bindings-t+a)
5731 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5732 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5733 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5734 (todo-visited): New variables.
5735
cad5d1cb
GM
57362013-06-21 Glenn Morris <rgm@gnu.org>
5737
5738 * play/cookie1.el (cookie-apropos): Add optional display argument.
5739 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5740 (psychoanalyze-pinhead): Use cookie-doctor.
5741
9e277302
JB
57422013-06-21 Juanma Barranquero <lekktu@gmail.com>
5743
5744 * emacs-lisp/package.el (tar-get-file-descriptor)
5745 (tar--extract): Declare.
5746
c5b0993e
EW
57472013-06-21 Eduard Wiebe <usenet@pusto.de>
5748
5749 Extend flymake's warning predicate to be a function (bug#14217).
5750 * progmodes/flymake.el (flymake-warning-predicate): New.
5751 (flymake-parse-line): Use it.
5752 (flymake-warning-re): Make obsolete alias to
5753 `flymake-warning-predicate'.
5754
a7d2d465
SM
57552013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5758 (package-obsolete-list): Remove.
5759 (package-activate): Remove min-version argument. Add `force' argument.
5760 Adjust to new package-alist format.
5761 (package-mark-obsolete): Remove.
5762 (package-unpack): Force reload of the package's autoloads.
5763 (package-installed-p): Check builtins if the installed package is not
5764 recent enough.
5765 (package-initialize): Don't reset package-obsolete-list.
5766 Don't specify which package version to activate.
5767 (package-process-define-package, describe-package-1)
5768 (package-menu--generate): Adjust to new package-alist format.
5769
cedf5c9d
JB
57702013-06-21 Juanma Barranquero <lekktu@gmail.com>
5771
5772 * allout-widgets.el (allout-widgets-mode-off)
5773 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5774 (allout-widgets-post-command-business)
5775 (allout-widgets-after-copy-or-kill-function)
5776 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5777 (allout-decorate-item-and-context)
5778 (allout-graphics-modification-handler): Fix typos in docstrings.
5779 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5780
5781 * cmuscheme.el (scheme-start-file): Doc fix.
5782 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5783 (scheme-input-filter): Use `string-match-p'.
5784
5785 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5786
5787 * dired-x.el: Use Dired consistently in docstrings.
5788
5789 * dired.el: Use Dired consistently in docstrings.
5790 (dired-readin, dired-mode): Use `setq-local'.
5791 (dired-switches-alist): Make defvar-local.
5792 (dired-buffers-for-dir): Use `zerop'.
5793 (dired-safe-switches-p, dired-switches-escape-p)
5794 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5795 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5796 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5797 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5798 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5799 (dired-toggle-marks, dired-mark-files-containing-regexp)
5800 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5801 (dired-flag-auto-save-files, dired-flag-backup-files):
5802 Use `looking-at-p'.
5803 (dired-mark-files-regexp, dired-build-subdir-alist):
5804 Use `string-match-p', `looking-at-p'.
5805
5806 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5807 (direct-print-region-helper): Use `string-match-p'.
5808
aed838b5
LL
58092013-06-21 Leo Liu <sdl.web@gmail.com>
5810
cedf5c9d
JB
5811 * comint.el (comint-redirect-results-list-from-process):
5812 Fix infinite loop.
aed838b5 5813
d80a808f
LMI
58142013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5815
5816 * net/eww.el (eww-update-header-line-format): Quote % characters.
5817
e7a526e3
GM
58182013-06-21 Glenn Morris <rgm@gnu.org>
5819
5820 * play/cookie1.el (cookie): New custom group.
5821 (cookie-file): New option.
5822 (cookie-check-file): New function.
5823 (cookie): Make it interactive. Make start and end messages optional.
5824 Interactively, display the result. Default to cookie-file.
5825 (cookie-insert): Default to cookie-file.
5826 (cookie-snarf): Make start and end messages optional.
5827 Default to cookie-file. Use with-temp-buffer.
5828 (cookie-read): Rename from read-cookie.
5829 Make start and end messages optional. Default to cookie-file.
5830 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5831 Do not autoload it.
e7a526e3
GM
5832 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5833 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5834
62efb35e
LL
58352013-06-21 Leo Liu <sdl.web@gmail.com>
5836
5837 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5838
21e3f963
GM
58392013-06-21 Glenn Morris <rgm@gnu.org>
5840
5841 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5842
fd846ab4
SM
58432013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5844 Daniel Hackney <dan@haxney.org>
5845
5846 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5847 Consolidate the single-file vs tarball code.
5848 (package-desc-suffix): New function.
5849 (package-desc-full-name): Don't bother inlining it.
5850 (package-load-descriptor): Return the new package-desc.
5851 (package-mark-obsolete): Remove unused arg `package'.
5852 (package-unpack): Make it work for single files as well.
5853 Make it update package-alist.
5854 (package--make-autoloads-and-stuff): Rename from
5855 package--make-autoloads-and-compile. Don't compile any more.
5856 (package--compile): New function.
5857 (package-generate-description-file): New function, extracted from
5858 package-unpack-single.
5859 (package-unpack-single): Remove.
5860 (package--with-work-buffer): Add indentation and debugging info.
5861 (package-download-single): Remove.
5862 (package-install-from-archive): Rename from package-download-tar, make
5863 it take a pkg-desc, and make it work for single files as well.
5864 (package-download-transaction): Simplify.
5865 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5866 external tar program.
5867 (package-install-from-buffer): Remove `pkg-desc' argument.
5868 Use package-tar-file-info for tar-mode buffers.
5869 (package-install-file): Simplify accordingly.
5870 (package-archive-base): Change to take a pkg-desc.
5871 * tar-mode.el (tar--check-descriptor): New function, extracted from
5872 tar-get-descriptor.
5873 (tar-get-descriptor): Use it.
5874 (tar-get-file-descriptor): New function.
5875 (tar--extract): New function, extracted from tar-extract.
5876 (tar--extract): Use it.
5877 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5878 case the summary uses non-ascii. Adjust to new calling convention of
5879 package-tar-file-info.
5880
b7deae5e
LL
58812013-06-21 Leo Liu <sdl.web@gmail.com>
5882
fd846ab4
SM
5883 * comint.el (comint-redirect-results-list-from-process):
5884 Fix random delay. (Bug#14681)
b7deae5e 5885
7a65a0b2
JB
58862013-06-21 Juanma Barranquero <lekktu@gmail.com>
5887
5888 * profiler.el (profiler-format-number): Use log, not log10.
5889
1493c2af
JB
58902013-06-20 Juanma Barranquero <lekktu@gmail.com>
5891
5892 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5893
aff6371e
SM
58942013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5897 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5898 yet available.
5899 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5900 (AUTOGENEL): ... here.
5901 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5902 (cl--defsubst-expand): Use it.
5903
89561f72
PE
59042013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5905
5906 * subr.el (log10): Move here from C code, and declare as obsolete.
5907 All uses of (log10 X) replaced with (log X 10).
5908
47199123
JB
59092013-06-20 Juanma Barranquero <lekktu@gmail.com>
5910
5911 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5912 Declare with `defvar-local'.
5913 (tabulated-list-use-header-line, tabulated-list-entries)
5914 (tabulated-list-padding, tabulated-list-printer)
5915 (tabulated-list-sort-key): Declare with `defvar-local'.
5916 (tabulated-list-init-header, tabulated-list-print-fake-header):
5917 Use `setq-local'.
5918
4a172eab
MA
59192013-06-20 Michael Albinus <michael.albinus@gmx.de>
5920
47199123
JB
5921 * arc-mode.el (archive-mode): Add `archive-write-file' to
5922 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5923
5fc0acc0
JB
59242013-06-20 Juanma Barranquero <lekktu@gmail.com>
5925
d5b27848
JB
5926 * cus-edit.el (custom-commands): Fix typos.
5927 (custom-display): Fix tooltip text.
5928 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5929 Fix typos in docstrings.
5930 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5931 (custom-unlispify-menu-entry, custom-magic-value-create)
5932 (custom-add-see-also, custom-group-value-create): Use ?\s.
5933 (custom-guess-type, customize-apropos, editable-field)
5934 (custom-face-value-create): Use `string-match-p'.
5935 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5936
5937 * custom.el (custom-load-symbol): Use `string-match-p'.
5938
a5c581d8
JB
5939 * ansi-color.el: Convert to lexical binding.
5940 (ansi-colors): Fix URL.
5941 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5942 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5943 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5944
970ad972
G
59452013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5946
5947 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5948
5949 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5950
59512013-06-19 Tom Tromey <tromey@redhat.com>
5952
5953 * net/eww.el (eww-top-url): Remove.
5954 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5955 (eww-render): Set new variables. Don't set eww-top-url.
5956 (eww-handle-link): Handle "prev", "home", and "contents".
5957 Downcase the rel text.
5958 (eww-top-url): Choose best top URL.
5959
59602013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5961
5962 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5963 relying in widget.el. Using widget.el leads to too many
5964 user interface inconsistencies.
5965 (eww-self-insert): Implement entering commands in text fields.
5966 (eww-process-text-input): New function to make text input field editing
5967 work.
5968 (eww-submit): Rewrite to use the new-style form methods.
5969 (eww-select-display): Display the correct selected item.
5970 (eww-change-select): Implement changing the select value.
5971 (eww-toggle-checkbox): Implement radio/checkboxes.
5972 (eww-update-field): Fix compilation error.
5973 (eww-tag-textarea): Implement <textarea>.
5974
5975 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5976 we don't shadow mode-specific bindings.
5977
5978 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5979 nothing to push.
5980
5981 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5982
4582a01c 59832013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5984
5985 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5986
15b263dc
MA
59872013-06-19 Michael Albinus <michael.albinus@gmx.de>
5988
5989 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5990 not needed.
5991
5992 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5993
8f5297f7
LMI
59942013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5995
5996 * net/browse-url.el (browse-url-browser-function):
5997 `eww-browse-url' has the right calling signature, `eww' does not.
5998
011c4552
GM
59992013-06-19 Glenn Morris <rgm@gnu.org>
6000
2285bd27
GM
6001 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6002 Only eval autoloaded macros.
6003 (byte-compile-autoload): Only give the macro warning for macros.
6004
1d653303
GM
6005 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6006 (ps-underlined-faces): Declare.
6007
bdd779ec
GM
6008 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6009 (speedbar-add-supported-extension): Declare.
6010
011c4552
GM
6011 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6012 Don't include a date stamp in the header of the generated file;
6013 it leads to needless differences between output files.
6014
e59dfb0e
MA
60152013-06-19 Michael Albinus <michael.albinus@gmx.de>
6016
c763842b
SM
6017 * net/secrets.el (secrets-struct-secret-content-type):
6018 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6019 Some servers do not offer introspection.
e59dfb0e 6020
102626e2
SM
60212013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * electric.el (electric-pair-mode): Improve interaction with
6024 electric-layout-mode.
6025 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6026 (electric-pair-syntax): Use text-mode-syntax-table in comments
6027 and strings.
6028 (electric-pair--insert): New function.
6029 (electric-pair-post-self-insert-function): Use it and
6030 electric--after-char-pos.
6031
ad528125
LL
60322013-06-19 Leo Liu <sdl.web@gmail.com>
6033
6034 * progmodes/octave.el (octave-help): Fix regexp.
6035
924d6997
G
60362013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6037
6038 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6039 (shr-table-horizontal-line): Allow nil as a value, and change the
6040 default.
6041 (shr-insert-table-ruler): Respect the nil value.
6042
60432013-06-18 Tom Tromey <tromey@barimba>
6044
6045 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6046 New defvars.
6047 (eww-open-file): New defun.
6048 (eww-render): Initialize new variables.
6049 (eww-display-html): Handle "link" and "a".
6050 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6051 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6052 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6053 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6054 New defuns.
924d6997 6055
d1bbba4f
DG
60562013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6057
6058 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6059 Distinguish ternary operator tokens from slash symbol and slash
6060 char literal.
6061
14dd22d2
JB
60622013-06-18 Juanma Barranquero <lekktu@gmail.com>
6063
6064 Convert symbol prettification into minor mode and global minor mode.
6065
6066 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6067 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6068 (prettify-symbols--keywords): Rename from
6069 `prog-prettify-symbols-alist' and make a local defvar.
6070 (prettify-symbols--compose-symbol): Rename from
6071 `prog--prettify-font-lock-compose-symbol'.
6072 (prettify-symbols--make-keywords): Rename from
6073 `prog-prettify-font-lock-symbols-keywords' and simplify.
6074 (prog-prettify-install): Remove.
6075 (prettify-symbols-mode): New minor mode, based on
6076 `prog-prettify-install'.
6077 (turn-on-prettify-symbols-mode): New function.
6078 (global-prettify-symbols-mode): New globalized minor mode.
6079
6080 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6081 * progmodes/cfengine.el (cfengine3-mode):
6082 * progmodes/perl-mode.el (perl-mode): Don't call
6083 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6084
292c880c
JL
60852013-06-18 Juri Linkov <juri@jurta.org>
6086
6087 * files-x.el (modify-file-local-variable-message): New function.
6088 (modify-file-local-variable)
6089 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6090 and call `modify-file-local-variable-message' when it's non-nil.
6091 (add-file-local-variable, delete-file-local-variable)
6092 (add-file-local-variable-prop-line)
6093 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6094 and use it. (Bug#9820)
6095
0950aa27
JL
60962013-06-18 Juri Linkov <juri@jurta.org>
6097
6098 * emulation/vi.el (vi-shell-op):
6099 * emulation/vip.el (vip-execute-com, ex-command):
6100 * emulation/viper-cmd.el (viper-exec-bang):
6101 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6102 the call of `shell-command-on-region'. (Bug#14637)
6103
6104 * simple.el (shell-command-on-region): Doc fix.
6105
8fbcca16
SM
61062013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6109 (bug#14633).
6110
dd7426ea
GM
61112013-06-18 Glenn Morris <rgm@gnu.org>
6112
4ba54f7d
GM
6113 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6114
dd7426ea
GM
6115 * newcomment.el (comment-search-forward, comment-search-backward):
6116 Doc fix. (Bug#14376)
6117
58aa805b
JB
61182013-06-18 Juanma Barranquero <lekktu@gmail.com>
6119
6120 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6121 (buffer-face-mode-invoke): Doc fix.
6122
9a08a617
MM
61232013-06-18 Matthias Meulien <orontee@gmail.com>
6124
6125 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6126 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6127
f2f426ca
GM
61282013-06-18 Glenn Morris <rgm@gnu.org>
6129
9445f99b
GM
6130 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6131 Replace obsolete function generic-make-keywords with its expansion.
6132
e0df2d14
GM
6133 * progmodes/python.el (ffap-alist): Declare.
6134
f2f426ca
GM
6135 * textmodes/reftex.el (bibtex-mode-map): Declare.
6136
f7f9a720
SM
61372013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6140 (package-unpack, package-unpack-single): Return the pkg-dir.
6141 (package-download-transaction): Use it to update package-alist.
6142
57ff04e0
LMI
61432013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6144
6145 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6146 possible choice.
6147
c048c022
JL
61482013-06-17 Juri Linkov <juri@jurta.org>
6149
6150 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6151
b5bcaee5
DG
61522013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6153
a020afb9
JB
6154 * emacs-lisp/package.el (package-load-descriptor):
6155 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6156 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6157
551e07e5
JB
61582013-06-17 Juanma Barranquero <lekktu@gmail.com>
6159
6160 * startup.el (command-line): Expand package name returned by
6161 `package--description-file' (bug#14639).
6162
d363bffb
DG
61632013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6164
6165 * emacs-lisp/package.el (package-load-descriptor): Do not call
6166 `emacs-lisp-mode', just use its syntax table.
6167
f612933b
JB
61682013-06-17 Juanma Barranquero <lekktu@gmail.com>
6169
6170 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6171 `font-lock-extra-managed-props' if any prettifying keyword is added.
6172 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6173 (prog-mode): Use `setq-local'.
6174
db3b7db5
SM
61752013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6176
6177 * international/characters.el (standard-case-table): Set syntax of ?»
6178 and ?« to punctuation.
6179
f3d674df
JB
61802013-06-16 Juanma Barranquero <lekktu@gmail.com>
6181
6182 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6183 Save relevant match data before calling `syntax-ppss' (bug#14595).
6184
31489a32
JL
61852013-06-15 Juri Linkov <juri@jurta.org>
6186
6187 * files-x.el (modify-file-local-variable-prop-line): Add local
6188 variables to the end of the existing comment on the first line.
6189 Use `file-auto-mode-skip' to skip interpreter magic line,
6190 and also skip XML declaration.
6191
66bd25ab
SM
61922013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * startup.el (package--builtin-versions): New var.
6195 (package-subdirectory-regexp): Remove.
6196 (package--description-file): Hard code its value instead.
6197
6198 * emacs-lisp/package.el: Don't activate packages older than builtin.
6199 (package-obsolete-list): Rename from package-obsolete-alist, and make
6200 it into a simple list of package-desc.
6201 (package-strip-version): Remove.
6202 (package-built-in-p): Use package--builtin-versions.
6203 (package-mark-obsolete): Simplify.
6204 (package-process-define-package): Mark it obsolete if older than the
6205 builtin version.
6206 (package-handle-response): Use line-end-position.
6207 (package-read-archive-contents, package--download-one-archive):
6208 Simplify.
6209 (package--add-to-archive-contents): Skip if older than the builtin or
6210 installed version.
6211 (package-menu-describe-package): Fix last change.
6212 (package-list-unversioned): New var.
6213 (package-menu--generate): Use it.
6214
6215 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6216 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6217 (autoload-builtin-package-versions): New variable.
6218 (autoload-generate-file-autoloads): Use them.
6219 Remove the list of autoloaded functions/macros from the
6220 (autoload...) comments.
6221
6222 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6223
9583ec36
EZ
62242013-06-15 Eli Zaretskii <eliz@gnu.org>
6225
6226 * simple.el (line-move-partial): Don't jump to the next screen
6227 line as soon as it becomes visible. Instead, continue enlarging
6228 the vscroll until the portion of a tall screen line that's left on
6229 display is about the height of the frame's default font.
6230 (Bug#14567)
6231
f0100d8a
GM
62322013-06-15 Glenn Morris <rgm@gnu.org>
6233
b86a85ca
GM
6234 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6235 compilation-error-regexp-alist void, or local while let-bound.
6236
f0100d8a
GM
6237 * progmodes/make-mode.el (makefile-mode-syntax-table):
6238 Treat "=" as punctuation. (Bug#14614)
6239
05e7ce90
JB
62402013-06-15 Juanma Barranquero <lekktu@gmail.com>
6241
6242 * help-fns.el (describe-variable):
6243 Add extra line for permanent-local variables.
6244
12e5e86e
SH
62452013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6246
6247 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6248 Add export, import, library. (Bug#9164)
6249 (library): Set indent function.
6250
230dcbaf
GM
62512013-06-14 Glenn Morris <rgm@gnu.org>
6252
6253 * term/xterm.el (xterm--query):
6254 Stop after first matching handler. (Bug#14615)
6255
e36b2d20 62562013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6257
6258 Add support for dired in saveplace.
6259 * dired.el (dired-initial-position-hook): New variable.
6260 (dired-initial-position): Call hook to place cursor position.
6261 * saveplace.el (save-place-to-alist): Add dired position.
6262 (save-place-dired-hook): New function.
6263
0b31660d
SM
62642013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6265
bf1e6ae8
SM
6266 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6267 through a symbol rather than letrec.
6268
1b8dff23
SM
6269 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6270 (package-desc): Add `dir' field.
6271 (package-desc-full-name): New function.
6272 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6273 (package-maybe-load-descriptor): Remove.
6274 (package-load-all-descriptors): Just call package-load-descriptor.
6275 (package--disabled-p): New function.
6276 (package-desc-vers, package-desc-doc): Remove aliases.
6277 (package--dir): Remove function.
6278 (package-activate): Check if a package is disabled.
6279 (package-process-define-package): New function, extracted from
6280 define-package.
6281 (define-package): Turn into a place holder.
6282 (package-unpack-single, package-tar-file-info):
6283 Use package--description-file.
6284 (package-compute-transaction): Use package--disabled-p.
6285 (package-download-transaction): Don't call
6286 package-maybe-load-descriptor since they're all loaded anyway.
6287 (package-install): Change argument to be a pkg-desc.
6288 (package-delete): Use a single pkg-desc argument.
6289 (describe-package-1): Use package-desc-dir instead of package--dir.
6290 Use package-desc property instead of package-symbol.
6291 (package-install-button-action): Adjust accordingly.
6292 (package--push): Rewrite.
6293 (package-menu--print-info): Adjust accordingly. Change the ID format
6294 to be a pkg-desc.
6295 (package-menu-describe-package, package-menu-get-status)
6296 (package-menu--find-upgrades, package-menu-mark-upgrades)
6297 (package-menu-execute, package-menu--name-predicate):
6298 Adjust accordingly.
6299 * startup.el (package--description-file): New function.
6300 (command-line): Use it.
6301 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6302 Use package-desc-version.
6303
0b31660d
SM
6304 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6305 (byte-compile-preprocess): Use it.
6306 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6307 can't quite recognize.
6308 (byte-compile-add-to-list): Remove.
6309 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6310 (cconv-closure-convert): Add assertion.
6311
6312 * emacs-lisp/map-ynp.el: Use lexical-binding.
6313 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6314 Factor out some repeated code.
6315
de0503df
SM
63162013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * subr.el (with-eval-after-load): New macro.
6319 (eval-after-load): Allow form to be a function.
6320 take advantage of lexical-binding.
6321 (do-after-load-evaluation): Use dolist and adjust to new format.
6322 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6323
bc5c8c5a
JL
63242013-06-13 Juri Linkov <juri@jurta.org>
6325
6326 * replace.el (perform-replace): Display "symbol " and other search
6327 modes from `isearch-message-prefix' in the *Help* buffer.
6328
6329 * isearch.el (isearch-query-replace): Add " symbol" and other
6330 possible search modes from `isearch-message-prefix' to the prompt.
6331 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6332 when reading a regexp to collect.
6333
a22289f7
JL
63342013-06-13 Juri Linkov <juri@jurta.org>
6335
6336 * isearch.el (word-search-regexp): Match whitespace if the search
6337 string begins or ends in whitespace. The LAX arg is applied to
6338 both ends of the search string. Use `regexp-quote' and explicit
6339 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6340 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6341 boundaries are replaced with symbol boundaries, and characters
6342 between symbols match non-word non-symbol syntax. (Bug#14602)
6343
cb89acab
JL
63442013-06-13 Juri Linkov <juri@jurta.org>
6345
6346 * isearch.el (isearch-del-char): Don't exceed the length of
6347 `isearch-string' by the prefix arg. (Bug#14563)
6348
6e8cfc81
JL
63492013-06-13 Juri Linkov <juri@jurta.org>
6350
6351 * isearch.el (isearch-yank-word, isearch-yank-line)
6352 (isearch-char-by-name, isearch-quote-char)
6353 (isearch-printing-char, isearch-process-search-char):
6354 Add optional count prefix arg. (Bug#14563)
6355
6356 * international/isearch-x.el
6357 (isearch-process-search-multibyte-characters):
6358 Add optional count prefix arg.
6359
c23d55f4
VS
63602013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6363 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6364 lexical-binding.
6365
63662013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6367
6368 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6369
ba947bc4
GM
63702013-06-13 Glenn Morris <rgm@gnu.org>
6371
8baeb37a
GM
6372 * startup.el (tty-handle-args):
6373 Don't just discard "--" and anything after. (Bug#14608)
6374
ba947bc4
GM
6375 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6376
9abefce4
MA
63772013-06-13 Michael Albinus <michael.albinus@gmx.de>
6378
6379 Implement changes in Secret Service API. Make it backward compatible.
6380 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6381 (secrets-create-item): Use it. Prefix properties with interface.
6382
5755011f
MH
63832013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6384
6385 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6386 (term-emulate-terminal): Respect term-suppress-hard-newline.
6387
1261d2da
S
63882013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6389
6390 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6391 Only remove a `thumb-file' overlay. (Bug#14548)
6392
868490bb
GJ
63932013-06-12 Grégoire Jadi <daimrod@gmail.com>
6394
6395 * mail/reporter.el (reporter-submit-bug-report):
6396 Handle missing package-name. (Bug#14600)
6397
79d7167f
TH
63982013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6399
6400 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6401 (reftex-citation-prompt, reftex-default-bibliography)
6402 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6403 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6404 (reftex-bib-sort-author, reftex-bib-sort-year)
6405 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6406 (reftex-extract-bib-entries-from-thebibliography)
6407 (reftex-get-bibkey-default, reftex-get-bib-names)
6408 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6409 (reftex-format-bib-entry, reftex-parse-bibitem)
6410 (reftex-format-bibitem, reftex-do-citation)
6411 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6412 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6413 (reftex-insert-bib-matches, reftex-format-citation)
6414 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6415 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6416 existing comments into docstrings.
6417
5f9dbd7a
XF
64182013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6419
6420 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6421
94df41ab
AS
64222013-06-12 Andreas Schwab <schwab@suse.de>
6423
6424 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6425 for auto-save files.
6426
a7f3fecc
GM
64272013-06-12 Glenn Morris <rgm@gnu.org>
6428
001809f6
GM
6429 * ido.el (ido-delete-ignored-files): Remove.
6430 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6431 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6432
834b5ded
EL
64332013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6434
08c73ed2
EL
6435 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6436
834b5ded
EL
6437 * ido.el (ido-delete-ignored-files): New function,
6438 split from ido-make-file-list-1.
6439 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6440 (ido-make-file-list-1): Use ido-delete-ignored-files.
6441
daabf15a
LL
64422013-06-12 Leo Liu <sdl.web@gmail.com>
6443
6444 * progmodes/octave.el (inferior-octave-startup)
6445 (inferior-octave-completion-table)
6446 (inferior-octave-track-window-width-change)
6447 (octave-eldoc-function-signatures, octave-help)
6448 (octave-find-definition): Use single quoted strings.
6449 (inferior-octave-startup-args): Change default value.
6450 (inferior-octave-startup): Do not hard code "-i" and
6451 "--no-line-editing".
6452 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6453 (inferior-octave-directory-tracker): Use it.
6454 (octave-goto-function-definition): Robustify.
6455 (octave-help): Support highlighting operators in 'See also'.
6456 (octave-find-definition): Find subfunctions only in Octave mode.
6457
cf4e5178
SM
64582013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6460 * help-fns.el (help-fns--compiler-macro): If the handler function is
6461 named, then put a link to it.
6462 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6463 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6464 (cl-typep): Use it.
6465 (cl-eval-when): Simplify debug spec.
6466 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6467 compiler-macro function instead of setting `compiler-macro-file'.
6468
99c81280 64692013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6470
6471 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6472 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6473
f56be016
SM
64742013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6475 Daniel Hackney <dan@haxney.org>
6476
6477 First part of Daniel Hackney's patch to package.el.
6478 * emacs-lisp/package.el: Use defstruct.
6479 (package-desc): New, main struct.
6480 (package--bi-desc, package--ac-desc): New structs, used to describe the
6481 format in external files.
6482 (package-desc-vers): Replace with package-desc-version accessor.
6483 (package-desc-doc): Replace with package-desc-summary accessor.
6484 (package-activate-1): Remove `package' arg since the pkg-vec now
6485 includes the name.
6486 (define-package): Use package-desc-from-define.
6487 (package-unpack-single): Change file-name arg to be a symbol.
6488 (package--add-to-archive-contents): Use package-desc-create and new
6489 accessor functions to package--ac-desc.
6490 (package-buffer-info, package-tar-file-info): Return a package-desc.
6491 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6492 arg to be a package-desc.
6493 (package-install-file): Adjust accordingly. Use \' to match EOS.
6494 (package--from-builtin): New function.
6495 (describe-package-1, package-menu--generate): Use it.
6496 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6497 (package-generate-autoloads): Idem and return the name of the file.
6498 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6499 Change pkg-info arg to be a package-desc.
6500 Use package-make-ac-desc.
6501 (package-upload-file): Use \' to match EOS.
6502 * finder.el (finder-compile-keywords): Use package-make-builtin.
6503
31119d63
SM
65042013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6505
931a2762
SM
6506 * vc/vc.el (vc-deduce-fileset): Change error message.
6507 (vc-read-backend): New function.
6508 (vc-next-action): Use it.
6509
5a3eb0c6
SM
6510 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6511
e3eb1bb7
SM
6512 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6513 (prolog-font-lock-keywords): Use regexp-opt instead.
6514 Don't manually highlight strings.
6515 (prolog-mode-variables): Simplify comment-start-skip.
6516 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6517
31119d63
SM
6518 * emacs-lisp/generic.el (generic--normalise-comments)
6519 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6520 (generic-mode-set-comments): Use them.
6521 (generic-bracket-support): Use setq-local.
6522 (generic-make-keywords-list): Declare obsolete.
6523
7de135d0
GM
65242013-06-11 Glenn Morris <rgm@gnu.org>
6525
6526 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6527 Prettify after setting font-lock-defaults. (Bug#14574)
6528
fa6bc6fd
JB
65292013-06-11 Juanma Barranquero <lekktu@gmail.com>
6530
6531 * replace.el (query-replace, occur-read-regexp-defaults-function)
6532 (replace-search):
6533 * subr.el (declare-function, number-sequence, local-set-key)
6534 (substitute-key-definition, locate-user-emacs-file)
6535 (with-silent-modifications, split-string, eval-after-load):
6536 Fix typos, remove unneeded backslashes and reflow some docstrings.
6537
cf1f9b9a
SM
65382013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6541 default for Elisp files.
6542
56602a4b
GM
65432013-06-11 Glenn Morris <rgm@gnu.org>
6544
6545 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6546 although define-derived-mode was doing this anyway. (Bug#14583)
6547
30ae0b2c
JB
65482013-06-10 Juanma Barranquero <lekktu@gmail.com>
6549
6550 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6551 Fix make-variable-buffer-local call to refer to the correct variable.
6552
fa472906
AG
65532013-06-10 Aidan Gauland <aidalgol@amuri.net>
6554
6555 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6556 (eshell-visual-subcommands, eshell-visual-options):
6557 Add summary line to docstrings. Add cross-references.
fa472906 6558
ff4871b9
GM
65592013-06-10 Glenn Morris <rgm@gnu.org>
6560
6561 * epa.el (epa-read-file-name): New function. (Bug#14510)
6562 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6563
04fcf1b0
AG
65642013-06-09 Aidan Gauland <aidalgol@amuri.net>
6565
6566 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6567 output redirection to be ignored with visual commands.
6568
88b00caa
AG
65692013-06-09 Aidan Gauland <aidalgol@amuri.net>
6570
6571 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6572 (eshell-term-initialize): Move long lambda to separate function
6573 eshell-visual-command-p.
e7b41c4c
JB
6574 * eshell/em-dirs.el (eshell-dirs-initialise):
6575 * eshell/em-script.el (eshell-script-initialize):
6576 Add missing #' to lambda.
88b00caa 6577
fda74125
LL
65782013-06-08 Leo Liu <sdl.web@gmail.com>
6579
6580 * progmodes/octave.el (octave-add-log-current-defun): New function.
6581 (octave-mode): Set add-log-current-defun-function.
6582 (octave-goto-function-definition): Do not move point if not found.
6583 (octave-find-definition): Enhance to try subfunctions first.
6584
467f3b33
GM
65852013-06-08 Glenn Morris <rgm@gnu.org>
6586
6587 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6588 (byte-compile-backward-char, byte-compile-backward-word):
6589 Improve previous change, to handle non-explicit nil.
6590
544badc3
SM
65912013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6594 (smie--opener/closer-at-point): New function.
6595 (smie--matching-block-data): Use it. Don't match from right after an
6596 opener or right before a closer. Obey smie-blink-matching-inners.
6597 Don't signal a mismatch for repeated inners like "switch..case..case".
6598
a175bf33
LL
65992013-06-07 Leo Liu <sdl.web@gmail.com>
6600
6601 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6602 to t. (Bug#14303)
ce8209d4
LL
6603 (octave-function-header-regexp): Fix. (Bug#14570)
6604 (octave-help-mode-finish-hook, octave-help-mode-finish):
6605 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6606
6607 * newcomment.el (comment-search-backward): Revert last change.
6608 (Bug#14434)
6609
6610 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6611
a822acff
EZ
66122013-06-07 Eli Zaretskii <eliz@gnu.org>
6613
6614 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6615 through xargs, to avoid failure due to MS-Windows limitations on
6616 command-line length.
6617
961166f5
GM
66182013-06-06 Glenn Morris <rgm@gnu.org>
6619
d0341459
GM
6620 * font-lock.el (lisp-font-lock-keywords-2):
6621 Treat user-error like error.
6622
961166f5
GM
6623 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6624 (byte-compile-backward-char, byte-compile-backward-word):
6625 Handle explicit nil arguments. (Bug#14565)
6626
80fa505f
AM
66272013-06-05 Alan Mackenzie <acm@muc.de>
6628
6629 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6630 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6631 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6632 (Bug#9706)
80fa505f 6633
fccdc796
SM
66342013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6636 * autorevert.el (auto-revert-notify-handler): Use memq.
6637 Hide assertion failure.
6638
6639 * skeleton.el: Use cl-lib.
6640 (skeleton-further-elements): Use defvar-local.
6641 (skeleton-insert): Use cl-progv.
6642
9bfff84b
TZ
66432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6644
6645 * progmodes/prog-mode.el (prog-prettify-symbols)
6646 (prog-prettify-install): Update docstrings.
6647
55577e7c
SM
66482013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 * simple.el: Move all the prog-mode code to prog-mode.el.
6651 * progmodes/prog-mode.el: New file.
6652 * loadup.el: Add prog-mode.el.
6653
8fc57765
TZ
66542013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6655
6656 * simple.el (prog-prettify-symbols): Add version.
6657 (prog-prettify-install): Add convenience function to prettify symbols.
6658
6659 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6660 (perl--augmented-font-lock-keywords-1)
6661 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6662 variables and use it.
6663
6664 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6665 (cfengine3-mode): Remove unneeded variable and use it.
6666
6667 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6668 (lisp--augmented-font-lock-keywords-1)
6669 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6670 Remove unneeded variables and use it.
6671
650645d5 66722013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6673
6674 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6675 to point when opening the connection. (Bug#14380)
28f5da6d 6676
781b4af6
SM
66772013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * subr.el (load-history-regexp, load-history-filename-element)
6680 (eval-after-load, after-load-functions, do-after-load-evaluation)
6681 (eval-next-after-load, display-delayed-warnings)
6682 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6683 definition of save-match-data.
6684 (overriding-local-map): Remove accidental obsolescence declaration.
6685
6686 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6687
3ca0d0b4
TZ
66882013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6689
6690 Generalize symbol prettify support to prog-mode and implement it
6691 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6692 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6693 (prog--prettify-font-lock-compose-symbol)
6694 (prog-prettify-font-lock-symbols-keywords): New variables and
6695 functions to support symbol prettification.
6696 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6697 (lisp--augmented-font-lock-keywords-1)
6698 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6699 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6700 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6701 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6702 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6703 * progmodes/perl-mode.el (perl-prettify-symbols)
6704 (perl--font-lock-compose-symbol)
6705 (perl--font-lock-symbols-keywords): Move to prog-mode.
6706 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6707 (perl-font-lock-keywords-1)
6708 (perl-font-lock-keywords-2): Remove explicit prettify support.
6709 (perl--augmented-font-lock-keywords)
6710 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6711 (perl--augmented-font-lock-keywords-2, perl-mode):
6712 Implement prettify support.
3ca0d0b4 6713
976cb066
LL
67142013-06-05 Leo Liu <sdl.web@gmail.com>
6715
6716 Re-implement smie matching block highlight using
6717 show-paren-data-function. (Bug#14395)
6718 * emacs-lisp/smie.el (smie-matching-block-highlight)
6719 (smie--highlight-matching-block-overlay)
6720 (smie--highlight-matching-block-lastpos)
6721 (smie-highlight-matching-block)
6722 (smie-highlight-matching-block-mode): Remove.
6723 (smie--matching-block-data-cache): New variable.
6724 (smie--matching-block-data): New function.
6725 (smie-setup): Use smie--matching-block-data for
6726 show-paren-data-function.
6727
6728 * progmodes/octave.el (octave-mode-menu): Fix.
6729 (octave-find-definition): Skip garbage lines.
6730
208d0342
SM
67312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6732
6733 Fix compilation error with simultaneous dynamic+lexical scoping.
6734 Add warning when a defvar appears after the first let-binding.
6735 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6736 (byte-compile-close-variables): Initialize it.
6737 (byte-compile--declare-var): New function.
6738 (byte-compile-file-form-defvar)
6739 (byte-compile-file-form-define-abbrev-table)
6740 (byte-compile-file-form-custom-declare-variable): Use it.
6741 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6742 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6743 (byte-compile-bind): Handle dynamic bindings that shadow
6744 lexical bindings.
6745 (byte-compile-unbind): Make arg non-optional.
6746 (byte-compile-let): Simplify.
6747 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6748 (cconv--analyse-function, cconv-analyse-form): Populate it.
6749 Protect byte-compile-bound-variables to limit the scope of defvars.
6750 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6751 Remove unneeded rule for `declare'.
6752
6753 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6754 so as to avoid depending on cl-adjoin at run-time.
6755 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6756
6757 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6758 (macroexp--warn-and-return): Use it.
6759
1ac2891e
GM
67602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * lisp/subr.el: Convert to lexical binding.
6763 (overriding-local-map): Make obsolete.
6764 (add-to-list): Doc fix. Add compiler macro.
6765 (read-key): Swap values of local maps.
6766
2587b005
LL
67672013-06-05 Leo Liu <sdl.web@gmail.com>
6768
6769 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6770
f1da3c88
LL
67712013-06-04 Leo Liu <sdl.web@gmail.com>
6772
6773 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6774 (compilation-auto-jump): Suppress the "Mark set" message to give
6775 way to exit message.
6776
3caa391f
AM
67772013-06-04 Alan Mackenzie <acm@muc.de>
6778
6779 Remove faulty optimisation from indentation calculation.
6780 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6781 search limit based on 2000 characters back from indent-point.
6782
068922a2
TH
67832013-06-03 Tassilo Horn <tsdh@gnu.org>
6784
6785 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6786
1f8fdd53
SM
67872013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6788
bbcc4d97
SM
6789 * emacs-lisp/lisp.el: Use lexical-binding.
6790 (lisp--local-variables-1, lisp--local-variables): New functions.
6791 (lisp--local-variables-completion-table): New var.
208d0342 6792 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6793
1f8fdd53
SM
6794 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6795 eagerly (bug#14422).
6796
c9628c79
MA
67972013-06-03 Michael Albinus <michael.albinus@gmx.de>
6798
6799 * autorevert.el (auto-revert-notify-enabled)
6800 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6801 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6802 (auto-revert-notify-handler): Handle also gfilenotify.
6803
e7b41c4c 6804 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6805 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6806 Remove.
c9628c79 6807
e5e4a942
JL
68082013-06-03 Juri Linkov <juri@jurta.org>
6809
6810 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6811 `M-s h .'. (Bug#14427)
6812
6813 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6814 command `hi-lock-face-symbol-at-point'.
6815 (hi-lock-face-symbol-at-point): New command.
6816 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6817 (hi-lock-menu): Add `highlight-symbol-at-point'.
6818 (hi-lock-mode): Doc fix.
6819
6820 * isearch.el (isearch-forward-symbol-at-point): New command.
6821 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6822 (isearch-highlight-regexp): Add a regexp which matches
6823 words/symbols for word/symbol mode.
6824
6825 * subr.el (find-tag-default-bounds): New function with the body
6826 mostly moved from `find-tag-default'.
6827 (find-tag-default): Move most code to `find-tag-default-bounds',
6828 call it and apply `buffer-substring-no-properties' afterwards.
6829
26b3353a
TH
68302013-06-03 Tassilo Horn <tsdh@gnu.org>
6831
781b4af6
SM
6832 * eshell/em-term.el (eshell-term-initialize):
6833 Use `cl-intersection' rather than `intersection'.
26b3353a 6834
51b60f53
XF
68352013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6836
fe054b63 6837 * vc/log-view.el: Doc fix.
d3ffe17c 6838 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6839
a0eb10b3 68402013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6841
6842 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6843 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6844 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6845 (eieio-unbound, eieio-default-superclass)
6846 (eieio--define-field-accessors, method-static, method-before)
6847 (method-primary, method-after, method-num-lists)
6848 (method-generic-before, method-generic-primary)
6849 (method-generic-after, method-num-slots)
6850 (eieio-specialized-key-to-generic-key)
6851 (eieio--check-type, class-v, class-p)
6852 (eieio-class-name, define-obsolete-function-alias)
6853 (eieio-class-parents-fast, eieio-class-children-fast)
6854 (same-class-fast-p, class-constructor, generic-p)
6855 (generic-primary-only-p, generic-primary-only-one-p)
6856 (class-option-assoc, class-option, eieio-object-p)
6857 (class-abstract-p, class-method-invocation-order)
6858 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6859 (eieio-class-un-autoload, eieio-defclass)
6860 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6861 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6862 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6863 (eieio-defgeneric-reset-generic-form)
6864 (eieio-defgeneric-form-primary-only)
6865 (eieio-defgeneric-reset-generic-form-primary-only)
6866 (eieio-defgeneric-form-primary-only-one)
6867 (eieio-defgeneric-reset-generic-form-primary-only-one)
6868 (eieio-unbind-method-implementations)
6869 (eieio--defmethod, eieio--typep)
6870 (eieio-perform-slot-validation, eieio-validate-slot-value)
6871 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6872 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6873 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6874 (eieio-slot-name-index, eieio-class-slot-name-index)
6875 (eieio-set-defaults, eieio-initarg-to-attribute)
6876 (eieio-attribute-to-initarg, eieio-c3-candidate)
6877 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6878 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6879 (eieio-class-precedence-list, eieio-generic-call-methodname)
6880 (eieio-generic-call-arglst, eieio-generic-call-key)
6881 (eieio-generic-call-next-method-list)
6882 (eieio-pre-method-execution-functions, eieio-generic-call)
6883 (eieio-generic-call-primary-only, eieiomt-method-list)
6884 (eieiomt-optimizing-obarray, eieiomt-install)
6885 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6886 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6887 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6888 (defclass): Remove `eval-and-compile' from macro.
6889 (call-next-method, shared-initialize): Instead of using
6890 `scoped-class' variable, use new eieio--scoped-class, and
6891 eieio--with-scoped-class.
6892 (initialize-instance): Rename local variable 'scoped-class' to
6893 'this-class' to remove ambiguitity from old global.
6894
6895 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6896 eieio.el.
4f405069
JB
6897 (eieio--scoped-class-stack): New variable.
6898 (eieio--scoped-class): New fcn.
890f7890
DE
6899 (eieio--with-scoped-class): New scoping macro.
6900 (eieio-defclass): Use pushnew instead of add-to-list.
6901 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6902 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6903 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6904 `scoped-class' variable, use new eieio--scoped-class, and
6905 eieio--with-scoped-class.
6906
6907 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6908
d105b0e2
TH
69092013-06-02 Tassilo Horn <tsdh@gnu.org>
6910
6911 * eshell/esh-ext.el (eshell-external-command): Pass args to
6912 `eshell-find-interpreter'.
6913 (eshell-find-interpreter): Add new second parameter ARGS.
6914
6915 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6916 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6917
6918 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6919 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6920
6921 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6922 (eshell-visual-options): New defcustom.
6923 (eshell-escape-control-x): Adapt docstring.
6924 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6925 `eshell-visual-options' in addition to `eshell-visual-commands'.
6926 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6927
f46305c8 69282013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6929
6930 * progmodes/python.el (python-indent-block-enders): Add break,
6931 continue and raise keywords.
6932
d870df21
GM
69332013-06-01 Glenn Morris <rgm@gnu.org>
6934
9133b82e
GM
6935 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6936
02c992ec 6937 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6938 * progmodes/cc-cmds.el (delete-forward-p):
6939 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6940 * progmodes/cc-engine.el (buffer-syntactic-context):
6941 * progmodes/cc-fonts.el (face-property-instance):
6942 * progmodes/cc-mode.el (set-keymap-parents):
6943 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6944 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6945 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6946 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6947 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6948
31e7b090
GM
6949 * progmodes/cc-vars.el (other): Emacs has this widget since
6950 at least 21.1, so don't (re)define it.
6951
d870df21
GM
6952 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6953 Replace the obsolete alias pcomplete-arg-quote-list.
6954
c75c93c7
LL
69552013-06-01 Leo Liu <sdl.web@gmail.com>
6956
6957 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6958 punctuation syntax.
6959 (inferior-octave-minimal-columns)
6960 (inferior-octave-last-column-width): New variables.
6961 (inferior-octave-track-window-width-change): New function.
6962 (inferior-octave-mode): Adjust column width so that Octave output,
6963 for example from 'ls', can fit into the window nicely.
6964
973d1e12
DG
69652013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6966
6967 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6968 Highlight expansions inside regexp literals.
6969
0888c286
GM
69702013-05-31 Glenn Morris <rgm@gnu.org>
6971
e26aac1f
GM
6972 * obsolete/sym-comp.el (symbol-complete):
6973 Replace obsolete completion-annotate-function.
6974
0888c286
GM
6975 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6976
19bb8e62
DG
69772013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6978
781b4af6
SM
6979 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6980 New function, checks if point is inside a literal that allows
19bb8e62
DG
6981 expression expansion.
6982 (ruby-syntax-propertize-expansion): Use it.
6983 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6984 around the body.
6985
01dea85f
JL
69862013-05-30 Juri Linkov <juri@jurta.org>
6987
6988 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6989 to "\M-si".
6990 (isearch-invisible): New variable.
6991 (isearch-forward): Doc fix.
6992 (isearch-mode): Set `isearch-invisible'
6993 to the value of `search-invisible'.
6994 (isearch-toggle-case-fold): Doc fix.
6995 (isearch-toggle-invisible): New command.
6996 (isearch-query-replace): Let-bind `search-invisible'
6997 to the value of `isearch-invisible'.
6998 (isearch-search): Use `isearch-invisible' instead of
6999 `search-invisible'. Let-bind `search-invisible'
7000 to the value of `isearch-invisible'. (Bug#11378)
7001
ab1bdce5
JL
70022013-05-30 Juri Linkov <juri@jurta.org>
7003
7004 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7005 call when `query-flag' is nil and `search-invisible' is non-nil.
7006 (Bug#11746)
7007
d6d236e2
GM
70082013-05-30 Glenn Morris <rgm@gnu.org>
7009
8accd027
GM
7010 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7011
2a8bed1c
GM
7012 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7013 (cc-require): Suppress spurious "noruntime" warnings.
7014 (cc-require-when-compile): Use fboundp, for sake of compiler.
7015
d6d236e2
GM
7016 * progmodes/cc-mode.el: Move load of cc-vars before that of
7017 cc-langs (which in turn loads cc-vars), to quieten compiler.
7018
9190b35b
SM
70192013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * paren.el: Simplify the code.
7022 (show-paren-mode): Always start the timer.
7023 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7024 (show-paren--overlay, show-paren--overlay-1): Rename from
7025 show-paren-overlay and show-paren-overlay-1, and initialize to an
7026 overlay rather than to nil.
7027 (show-paren-function): Misc cleanup and simplifications.
7028
4f8d1cf6
SM
70292013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * paren.el (show-paren-data-function): New hook.
7032 (show-paren--default): New function, extracted from show-paren-function.
7033 (show-paren-function): Use show-paren-data-function.
7034
02d844b5
GM
70352013-05-30 Glenn Morris <rgm@gnu.org>
7036
d209d4a9
GM
7037 * ielm.el (ielm-map, ielm-complete-symbol):
7038 Use completion-at-point rather than obsolete functions.
7039 (inferior-emacs-lisp-mode): Doc fix.
7040 Set completion-at-point-functions, rather than
7041 comint-dynamic-complete-functions.
7042
2082faa6
GM
7043 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7044 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7045 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7046
dd8620de
GM
7047 * image.el (image-animated-p): Tweak definition.
7048
ceca95b1
GM
7049 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7050 (rlogin-process-connection-type): Tweak default. Add set-after.
7051 (rlogin-host): Doc fix.
7052 (rlogin): Tweak prompt.
7053 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7054
ee9f1acc
GM
7055 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7056 * progmodes/tcl.el (inferior-tcl-mode-map):
7057 Use completion-at-point rather than obsolete alias.
7058
45ce222e
GM
7059 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7060
02d844b5
GM
7061 * minibuffer.el (read-file-name-completion-ignore-case):
7062 Move before completion--in-region, for eager macro expansion.
7063
ac44d6c1
JL
70642013-05-29 Juri Linkov <juri@jurta.org>
7065
7066 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7067 for total count of matching lines. Add `global-matches' for total
7068 count of matches. Rename `matches' to `lines' for count of
7069 matching lines. Add `matches' for count of matches.
7070 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7071 to `prev-line' for line number of prev match endpt.
7072 Increment `matches' for every match. Print the number of
7073 matching lines in the header.
7074 (occur-context-lines): Rename `lines' to `curr-line'.
7075 Rename `prev-lines' to `prev-line'. (Bug#14017)
7076
3c9c9d38
JL
70772013-05-29 Juri Linkov <juri@jurta.org>
7078
7079 * replace.el (perform-replace): Add `skip-read-only-count',
7080 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7081 Increment them for corresponding conditions and report the number
7082 of skipped occurrences in the final message. (Bug#11746)
7083 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7084 (replace-string, replace-regexp): Doc fix.
7085
33e249a2
SM
70862013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7087
8e399682
SM
7088 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7089
33e249a2 7090 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7091 prog-mode-map (bug#14504).
33e249a2 7092
f236dd84
LL
70932013-05-29 Leo Liu <sdl.web@gmail.com>
7094
7095 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7096 (octave-help): Small simplification.
7097
7098 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7099 off the highlight first.
7100
3694d13f
GM
71012013-05-29 Glenn Morris <rgm@gnu.org>
7102
03983bdc
GM
7103 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7104 Handle idlwave-last-system-routine-info-cons-cell being nil.
7105
bc74a74a
GM
7106 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7107 (idlwave-write-paths): Simplify via with-temp-buffer.
7108
8b394200
GM
7109 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7110 * emulation/cua-rect.el: Also load cua-base at run time.
7111
3694d13f
GM
7112 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7113 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7114 (cperl-imenu-on-info): Require imenu.
7115
336d7284
AM
71162013-05-28 Alan Mackenzie <acm@muc.de>
7117
7118 Handle "capitalised keywords" correctly.
33e249a2 7119 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7120
cb29c582
AG
71212013-05-28 Aidan Gauland <aidalgol@amuri.net>
7122
781b4af6 7123 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7124
690e44b2
GM
71252013-05-28 Glenn Morris <rgm@gnu.org>
7126
e658d75c
GM
7127 * vc/vc-arch.el (vc-exec-after): Declare.
7128 (vc-switches): Autoload.
7129 * vc/vc-bzr.el: No need to require vc when compiling.
7130 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7131 (vc-resynch-buffer, vc-dir-refresh): Declare.
7132 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7133 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7134 (vc-resynch-buffer): Declare.
7135 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7136 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7137 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7138 (grep-read-regexp, grep-read-files, grep-expand-template)
7139 (vc-dir-refresh): Declare.
7140 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7141 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7142 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7143 * vc/vc-mtn.el (vc-exec-after): Declare.
7144 (vc-switches): Autoload.
7145 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7146 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7147 (vc-file-tree-walk): Declare.
712b9732
GM
7148 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7149 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7150 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7151 * vc/vc-svn.el (vc-exec-after): Declare.
7152 (vc-switches, vc-setup-buffer): Autoload.
7153 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7154 Autoload.
7155 (vc-resynch-buffer): Declare.
7156
98e87fb3
GM
7157 * obsolete/fast-lock.el (byte-compile-warnings):
7158 Don't warn about obsolete features in this obsolete file.
7159
f5379553
GM
7160 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7161 Move definition before use.
7162
7a20ef83
GM
7163 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7164 (dun-unix-verbs): Remove dun-zippy.
7165 (dun-zippy): Remove function.
7166
690e44b2
GM
7167 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7168
3a52ccf7
JL
71692013-05-27 Juri Linkov <juri@jurta.org>
7170
7171 * replace.el (replace-search): New function with code moved out
7172 from `perform-replace'.
7173 (replace-highlight, replace-dehighlight): Move function definitions
7174 up closer to `replace-search'. (Bug#11746)
7175
d289938a
JL
71762013-05-27 Juri Linkov <juri@jurta.org>
7177
7178 * replace.el (perform-replace): Ignore invisible matches.
7179 In addition to checking `query-replace-skip-read-only', also
7180 filter out matches by calling `run-hook-with-args-until-failure'
7181 on `isearch-filter-predicates', and also check `search-invisible'
7182 for t or call `isearch-range-invisible'.
7183 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7184
66fc57e3
JL
71852013-05-27 Juri Linkov <juri@jurta.org>
7186
7187 * isearch.el (isearch-filter-predicates): Rename from
7188 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7189 (isearch-message-prefix): Display text from the property
7190 `isearch-message-prefix' of the currently active filters.
7191 (isearch-search): Don't compare `isearch-filter-predicate' with
7192 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7193 on `isearch-filter-predicates'. Also check `search-invisible' for t
7194 or call `isearch-range-invisible'.
7195 (isearch-filter-visible): Make obsolete.
7196 (isearch-lazy-highlight-search):
7197 Call `run-hook-with-args-until-failure' on
7198 `isearch-filter-predicates' and use `isearch-range-invisible'.
7199
7200 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7201 `isearch-filter-predicates' instead of `funcall'ing
7202 `isearch-filter-predicate'.
7203 (Info-mode): Set `Info-isearch-filter' to
7204 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7205
7206 * dired-aux.el (dired-isearch-filter-predicate-orig):
7207 Remove variable.
7208 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7209 (dired-isearch-filenames-end): Add and remove
7210 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7211 instead of changing the value of `isearch-filter-predicate'.
7212 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7213 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7214 Put property `isearch-message-prefix' to "filename " on
7215 `dired-isearch-filter-filenames'.
7216
7217 * wdired.el (wdired-change-to-wdired-mode):
7218 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7219 locally instead of changing `isearch-filter-predicate'.
7220 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7221
f1a60a0f
DG
72222013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7223
7224 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7225 return the commit hash (Bug#14459). Also set the
7226 `vc-git-detached' property.
7227 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7228 (vc-git-mode-line-string): Use the same help-echo format whether
7229 in detached mode or not, because we know the actual revision now.
7230 When in detached mode, shorten the revision to 7 chars.
7231
7f17cc40
SM
72322013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7233
7234 * emacs-lisp/easy-mmode.el (define-minor-mode):
7235 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7236 mode hook and provide a docstring.
7237
25c8401c
AM
72382013-05-27 Alan Mackenzie <acm@muc.de>
7239
7240 Remove spurious syntax-table text properties inserted by C-y.
7241 * progmodes/cc-mode.el (c-after-change): Also clear hard
7242 syntax-table property with value nil.
7243
dde84790
MA
72442013-05-27 Michael Albinus <michael.albinus@gmx.de>
7245
7246 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7247 when reading the events; the buffer layout shall not be changed.
7248
837fd9af
LL
72492013-05-27 Leo Liu <sdl.web@gmail.com>
7250
7251 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7252 New variable.
7253 (inferior-octave-directory-tracker): Automatically re-sync
7254 default-directory.
7255 (octave-help): Improve handling of 'See also'.
7256
4fd996b3
SM
72572013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7258
416f1802
SM
7259 * doc-view.el: Minor naming convention tweaks.
7260 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7261
4fd996b3
SM
7262 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7263 even if there's no `display' property yet (bug#14435).
7264
a052ef3b
EZ
72652013-05-25 Eli Zaretskii <eliz@gnu.org>
7266
4fd996b3 7267 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7268
7269 * Makefile.in (custom-deps, finder-data, autoloads)
7270 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7271 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7272 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7273
c9023370
SM
72742013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7277 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7278 Don't burp at EOB.
c9023370 7279
24d699fa
LL
72802013-05-25 Leo Liu <sdl.web@gmail.com>
7281
7282 * comint.el (comint-previous-matching-input): Do not flood the
7283 *Messages* buffer with trivial messages.
7284
17e5c0cc
SM
72852013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7286
7287 * progmodes/flymake.el (flymake-nop): Don't return a string.
7288 (flymake-set-at): Fix typo.
7289
7290 * simple.el (read--expression): New function, extracted from
7291 eval-expression. Set completion-at-point-functions (bug#14465).
7292 (eval-expression, eval-minibuffer): Use it.
7293
5d028165
XF
72942013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7295
7296 * progmodes/flymake.el (flymake-save-buffer-in-file)
7297 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7298 (flymake-selected-frame, flymake-log, flymake-ins-after)
7299 (flymake-set-at, flymake-get-buildfile-from-cache)
7300 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7301 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7302 Refine the doc string.
7303 (flymake-get-file-name-mode-and-masks): Reformat.
7304 (flymake-get-real-file-name-function): Fix a minor bug.
7305
7a1d7ba7
JL
73062013-05-24 Juri Linkov <juri@jurta.org>
7307
7308 * progmodes/grep.el (grep-mode-font-lock-keywords):
7309 Support =linenumber= format used by git-grep for lines with
7310 function names. (Bug#13549)
7311
650cff3d
SM
73122013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7313
7314 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7315 0 after a semi-colon; it works better for smie-auto-fill.
7316 (octave--indent-new-comment-line): New function.
7317 (octave-indent-new-comment-line): Use it (indirectly).
7318 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7319 modify comment-line-break-function.
7320
7321 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7322 (smie-setup): Use add-function to set it.
7323
9631677d
SS
73242013-05-24 Sam Steingold <sds@gnu.org>
7325
7326 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7327 argument (before the `interactive' argument).
7328
50105835
SM
73292013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * image-mode.el (image-mode-winprops): Add winprops to
7332 image-mode-winprops-alist before running
7333 image-mode-new-window-functions.
7334 * doc-view.el (doc-view-new-window-function): Don't delay
7335 doc-view-goto-page via timers (bug#14435).
7336
57b9823e
TH
73372013-05-24 Tassilo Horn <tsdh@gnu.org>
7338
7339 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7340 (doc-view-desktop-save-buffer): New function.
7341 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7342 (desktop-buffer-mode-handlers):
7343 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7344 handler.
7345 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7346 `desktop-save-buffer' function.
7347
91aafa16
MA
73482013-05-24 Michael Albinus <michael.albinus@gmx.de>
7349
7350 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7351 (tramp-gvfs-file-name-handler): Raise a user error when
7352 `tramp-gvfs-enabled' is nil.
7353 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7354 Do not raise a user error when loading package. (Bug#14447)
7355
ec076379
MA
7356 * net/xesam.el: Move to obsolete/.
7357
db785726
GM
73582013-05-24 Glenn Morris <rgm@gnu.org>
7359
af5c7606
GM
7360 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7361
e5d1916a
GM
7362 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7363
ded62b08
GM
7364 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7365 (Info-find-node, Man-getpage-in-background): Declare.
7366
9e614a3f
GM
7367 * mail/unrmail.el (unrmail):
7368 Replace obsolete detect-coding-with-priority.
7369
892f8ca3
GM
7370 * net/socks.el (socks-split-string): Use this rather than split-string.
7371 (socks-nslookup-host): Update for above change.
7372 (dynamic-choice, s5-dynamic-choice-match)
7373 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7374 Comment out unused code.
7375
3c291973
GM
7376 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7377 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7378 (gud-tooltip-echo-area): Make obsolete.
7379 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7380
43cc956b
GM
7381 * progmodes/js.el (js--optimize-arglist): Declare.
7382
dab49a3b
GM
7383 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7384
36b9d085
GM
7385 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7386 (ediff-window-C): Declare.
7387
e354ae76
GM
7388 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7389 Tweak requires to silence compiler.
7390
b8e57bf4
GM
7391 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7392 (he-search-string, he-tried-table, he-expand-list)
7393 (he-init-string, he-string-member, he-substitute-string)
7394 (he-reset-string): Declare.
7395
db785726
GM
7396 * obsolete/options.el (list-options): Use custom-variable-p,
7397 rather than obsolete alias.
7398
b3531901
SS
73992013-05-23 Sam Steingold <sds@gnu.org>
7400
7401 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7402 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7403 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7404
bdda4c66
SM
74052013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * emacs-lisp/smie.el (smie-indent-forward-token)
7408 (smie-indent-backward-token): Handle string tokens (bug#14381).
7409
c43d45f9
TH
74102013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7411
fe1eb856
RS
7412 * ielm.el (ielm-menu): New menu.
7413 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7414
fe1eb856
RS
74152013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7416
7417 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7418 Fix deactivate action.
7419
7420 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7421 Add cleveref macros.
074dd971 7422
c43d45f9
TH
7423 * lisp/textmodes/reftex-parse.el
7424 (reftex-locate-bibliography-files): Accept options for
7425 bibliography commands.
7426 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7427 Add addbibresource. Basic Biblatex support.
7428
7764286e
MA
74292013-05-23 Michael Albinus <michael.albinus@gmx.de>
7430
7431 * net/tramp-gvfs.el (top):
7432 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7433 when loading package. (Bug#14447)
7434
d361bc10
GM
74352013-05-23 Glenn Morris <rgm@gnu.org>
7436
8fa23984
GM
7437 * progmodes/js.el: No need to load comint when compiling.
7438 (ring-insert, comint-send-string, comint-send-input)
7439 (comint-last-input-end, ido-chop): Declare.
7440
a5c7df1a
GM
7441 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7442 * vc/ediff-mult.el: Adjust requires.
7443 (ediff-directories-internal, ediff-directory-revisions-internal)
7444 (ediff-patch-file-internal): Declare.
7445 * vc/ediff-ptch.el: Adjust requires.
7446 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7447 (ediff-find-file): Autoload.
7448 * vc/ediff-util.el: No need to load ediff when compiling.
7449 (ediff-regions-internal): Declare.
7450 * vc/ediff-wind.el: Adjust requires.
7451 (ediff-compute-toolbar-width): Define when compiling.
7452 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7453 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7454 (dired-get-filename, dired-get-marked-files)
7455 (ediff-last-dir-patch, ediff-patch-default-directory)
7456 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7457 (ediff-patch-buffer-internal): Declare.
7458
e2aec513
GM
7459 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7460 (ispell-process, ispell-buffer-local-words, lm-summary)
7461 (lm-section-start, lm-section-end): Declare.
7462 (checkdoc-ispell-init): Simplify.
7463
e68bbd7c
GM
7464 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7465 (he-string-member, he-reset-string, he-substitute-string): Declare.
7466
7efe0991
GM
7467 * eshell/em-ls.el: Adjust requires.
7468 (eshell-glob-regexp): Declare.
f87b1284
GM
7469 * eshell/em-tramp.el: Adjust requires.
7470 (eshell-parse-command): Autoload.
7471 * eshell/em-xtra.el: Adjust requires.
7472 (eshell-parse-command): Autoload.
7473 * eshell/esh-ext.el: Adjust requires.
7474 (eshell-parse-command, eshell-close-handles): Autoload.
7475 * eshell/esh-io.el: Adjust requires.
7476 (eshell-output-filter): Autoload.
7477 * eshell/esh-util.el: No need to load tramp when compiling.
7478 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7479 Declare.
7480 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7481 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7482 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7483 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7484 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7485 * eshell/esh-opt.el, eshell/esh-proc.el:
7486 * eshell/esh-var.el: Adjust requires.
7487 * eshell/eshell.el: Do not require esh-util twice.
7488 (eshell-add-input-to-history): Declare.
7489 (eshell-command): Check history module is active before using it.
7490
d361bc10
GM
7491 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7492
85d090a9
LL
74932013-05-22 Leo Liu <sdl.web@gmail.com>
7494
7495 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7496
5d0acd9d
MA
74972013-05-22 Michael Albinus <michael.albinus@gmx.de>
7498
7499 * autorevert.el (auto-revert-notify-add-watch)
7500 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7501 it indicates changes in file modification time.
7502
0cdffd7d
GM
75032013-05-22 Glenn Morris <rgm@gnu.org>
7504
ca5995ec
GM
7505 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7506 Always delete the autoloaded function from the noruntime and
7507 unresolved functions lists.
7508
6450907e
GM
7509 * allout.el: No need to load epa, epg, overlay when compiling.
7510 (epg-context-set-passphrase-callback, epg-list-keys)
7511 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7512 (epg-key-user-id-list): Declare.
7513
9c6906f6
GM
7514 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7515 (viper-set-parsing-style-toggling-macro)
7516 (viper-set-emacs-state-searchstyle-macros):
7517 Use called-interactively-p on Emacs.
7518 (viper-looking-back): Make it an obsolete alias. Update callers.
7519 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7520 Use looking-back rather than viper-looking-back.
7521 (viper-tmp-insert-at-eob, viper-enlarge-region)
7522 (viper-read-string-with-history, viper-register-to-point)
7523 (viper-append-to-register, viper-change-state-to-vi)
7524 (viper-backward-char-carefully, viper-forward-char-carefully)
7525 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7526 (viper-change-state-to-emacs): Declare.
7527 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7528 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7529 * emulation/viper-mous.el: Do not load viper-cmd.
7530 (viper-backward-char-carefully, viper-forward-char-carefully)
7531 (viper-forward-word, viper-adjust-window): Declare.
7532
5f70c169
GM
7533 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7534
b1b7f300
GM
7535 * progmodes/idlw-help.el (idlwave-help-fontify):
7536 Use called-interactively-p.
7537
f6ebbb46
GM
7538 * term/w32console.el (w32-get-console-codepage)
7539 (w32-get-console-output-codepage): Declare.
7540
0cdffd7d
GM
7541 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7542 Remove unnecessary declarations.
7543 (dframe-message): Doc fix.
7544
7545 * info.el (dframe-select-attached-frame, dframe-current-frame):
7546 Declare.
7547
7548 * speedbar.el (speedbar-message): Make it an obsolete alias.
7549 Update all callers.
7550 (speedbar-with-attached-buffer)
7551 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7552 (speedbar-with-writable): Use backquote.
7553 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7554 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7555 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7556 rather than speedbar- aliases.
7557 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7558 (speedbar-make-specialized-keymap, speedbar-insert-button)
7559 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7560 (speedbar-do-function-pointer): Declare.
7561 (rmail-speedbar-button, rmail-speedbar-find-file)
7562 (rmail-speedbar-move-message):
7563 Use dframe-with-attached-buffer rather than speedbar- alias.
7564 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7565 (dframe-message, speedbar-make-specialized-keymap)
7566 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7567 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7568 (speedbar-insert-button, dframe-select-attached-frame)
7569 (dframe-maybee-jump-to-attached-frame)
7570 (speedbar-change-initial-expansion-list)
7571 (speedbar-previously-used-expansion-list-name): Declare.
7572 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7573 Use dframe-message, dframe-with-attached-buffer rather than
7574 speedbar- aliases.
7575 (gud-sentinel): Silence compiler.
7576 * progmodes/vhdl-mode.el (speedbar-refresh)
7577 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7578 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7579 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7580 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7581 (speedbar-file-lists, speedbar-make-tag-line)
7582 (speedbar-line-directory, speedbar-goto-this-file)
7583 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7584 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7585 (speedbar-make-button, speedbar-reset-scanners)
7586 (speedbar-files-item-info, speedbar-line-text)
7587 (speedbar-find-file-in-frame, speedbar-set-timer)
7588 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7589 (speedbar-with-writable): Do not (re)define it.
7590 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7591 rather than speedbar- alias.
7592
ee44b62a
LL
75932013-05-21 Leo Liu <sdl.web@gmail.com>
7594
7595 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7596 menu items.
7597 (octave-mode): Tweak fill-nobreak-predicate.
7598 (inferior-octave-startup): Check process to avoid infinite loop.
7599 (inferior-octave): Pop to buffer first to show abornmal process
7600 exit information.
7601
640f050f
GM
76022013-05-21 Glenn Morris <rgm@gnu.org>
7603
79458038
GM
7604 * printing.el (pr-menu-bar): Define when compiling.
7605
9cc3e83f
LL
76062013-05-21 Leo Liu <sdl.web@gmail.com>
7607
7608 * progmodes/octave.el (octave-auto-fill): Remove.
7609 (octave-indent-new-comment-line): Improve.
7610 (octave-mode): Use auto fill mode through
4f405069 7611 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7612 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7613 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7614 (octave-help): Show parent directory.
7615
f440830d
GM
76162013-05-21 Glenn Morris <rgm@gnu.org>
7617
7618 * files.el (dired-unmark):
7619 * progmodes/gud.el (gdb-input): Update declarations.
7620
7621 * calculator.el (electric, ehelp): No need to load when compiling.
7622 (Electric-command-loop, electric-describe-mode): Declare.
7623
7624 * doc-view.el (doc-view-current-converter-processes): Move before use.
7625
7626 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7627 Move MODE-set-explicitly definition before use.
7628
7629 * international/mule-diag.el (mule-diag):
7630 Don't use obsolete window-system-version.
7631
7632 * mail/feedmail.el (smtpmail): No need to load when compiling.
7633 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7634
7635 * mail/mail-utils.el (rfc822): No need to load when compiling.
7636 (rfc822-addresses): Autoload it.
7637 (mail-strip-quoted-names): Trivial simplification.
7638
7639 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7640 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7641
7642 * net/snmp-mode.el (tempo): Don't duplicate requires.
7643
7644 * progmodes/prolog.el (info): No need to load when compiling.
7645 (comint): Require before shell requires it.
7646 (Info-goto-node): Autoload it.
7647 (Info-follow-nearest-node): Declare.
7648 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7649
7650 * textmodes/artist.el (picture-mode-exit): Declare.
7651
7652 * textmodes/reftex-parse.el (reftex-parse-from-file):
7653 Trivial rewrite so the compiler can parse it better.
7654
b4da2cbb
LL
76552013-05-20 Leo Liu <sdl.web@gmail.com>
7656
7657 * progmodes/octave.el (octave-help-mode-map)
7658 (octave-help-mode-finish-hook): New variables.
7659 (octave-help-mode, octave-help-mode-finish): New functions.
7660 (octave-help): Use octave-help-mode.
7661
33c0f65b
GM
76622013-05-20 Glenn Morris <rgm@gnu.org>
7663
7664 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7665
1a0a0a8a
DG
76662013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7667
7668 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7669 start at point, so that expansion starting right after opening
7670 slash in a regexp is recognized.
7671 (ruby-syntax-before-regexp-re): New defvar, extracted from
7672 ruby-syntax-propertize-function. Since the value of this regexp
7673 is looked up at runtime now, we should be able to turn
7674 `ruby-syntax-methods-before-regexp' into a defcustom later.
7675 (ruby-syntax-propertize-function): Split regexp matching into two
7676 parts, for opening and closing slashes. That allows us to skip
7677 over string interpolations and support multiline regexps.
7678 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7679 for them, which calls `ruby-syntax-propertize-expansion'.
7680 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7681 call to `ruby-syntax-propertize-function'.
7682 (ruby-syntax-propertize-expansion): Extracted from
7683 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7684 (ruby-syntax-propertize-percent-literal): Leave point right after
7685 the percent symbol, so that the expression expansion rule can
7686 propertize the contents.
462388b6
DG
7687 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7688 heredoc openers.
7689 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7690
c1a6c0a4
JL
76912013-05-18 Juri Linkov <juri@jurta.org>
7692
7693 * man.el (Man-default-man-entry): Remove `-' from the end
7694 of the default value. (Bug#14400)
7695
8051fccd
GM
76962013-05-18 Glenn Morris <rgm@gnu.org>
7697
7698 * comint.el (comint-password-prompt-regexp):
7699 Allow "password for XXX" where XXX contains colons (eg https://...).
7700
5e80b74f
LL
77012013-05-18 Leo Liu <sdl.web@gmail.com>
7702
7703 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7704 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7705 (octave-source-directories): Don't check process.
7706 (octave-source-directories, octave-find-definition): Doc fix.
7707
521a54c5
GM
77082013-05-18 Glenn Morris <rgm@gnu.org>
7709
86a94b05
GM
7710 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7711 Remove backspace/delete bindings. (Bug#14392)
7712
521a54c5
GM
7713 * cus-dep.el (custom-make-dependencies): Sort the output.
7714 (custom-versions-load-alist): Convert comment to doc.
7715
42caeb89
LL
77162013-05-17 Leo Liu <sdl.web@gmail.com>
7717
7718 * newcomment.el (comment-search-backward): Stricter in finding
7719 comment start. (Bug#14303)
7720
7721 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7722 (octave-comment-start-skip): Properly anchored.
7723
e219dd97
LL
77242013-05-17 Leo Liu <sdl.web@gmail.com>
7725
fe1eb856
RS
7726 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7727 Clean up when turned off. (Bug#14395)
e219dd97
LL
7728 (smie--highlight-matching-block-overlay): No longer buffer-local.
7729 (smie-highlight-matching-block): Adjust.
7730
dc5dcb4b
PE
77312013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7732
7733 Doc string fix for "nanoseconds" (Bug#14406).
7734 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7735 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7736
1db165f0
JB
77372013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7738
7739 * calc/calc-units.el (math-extract-units): Preserve powers
7740 of units.
7741
c7a8fcac
LL
77422013-05-17 Leo Liu <sdl.web@gmail.com>
7743
7744 * subr.el (delete-consecutive-dups): New function.
7745 * ido.el (ido-set-matches-1): Use it.
7746 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7747 * ido.el (ido-remove-consecutive-dups): Remove.
7748
f678b18a
SM
77492013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7752 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7753 regexp-opt's `words'.
7754
ebfe68e8
LL
77552013-05-16 Leo Liu <sdl.web@gmail.com>
7756
7757 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7758 (smie--highlight-matching-block-overlay)
7759 (smie--highlight-matching-block-lastpos)
7760 (smie--highlight-matching-block-timer): New variables.
7761 (smie-highlight-matching-block): New function.
7762 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7763 (smie-setup): Conditionally enable smie-blink-matching-open.
7764
bc8bc17d
WS
77652013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7766
7767 Sync with upstream verilog-mode r840.
7768 * progmodes/verilog-mode.el (verilog-mode-version)
7769 (verilog-mode-release-date): Update.
7770 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7771 (verilog-sig-tieoff): Fix string error on
7772 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7773 (verilog-read-decls): Fix parameters confusing
7774 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7775
df065a0b
EZ
77762013-05-16 Eli Zaretskii <eliz@gnu.org>
7777
7778 * subr.el (reveal-filename): New function.
7779
7780 * loadup.el: Compute Emacs executable versions on MS-Windows,
7781 where executables have the .exe extension. Add a hard link
7782 emacs-XX.YY.ZZ.exe on MS-Windows.
7783
7784 * Makefile.in (XARGS_LIMIT): New variable.
7785 (custom-deps, finder-data, autoloads)
7786 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7787 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7788 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7789 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7790
2d4bf34b
LL
77912013-05-16 Leo Liu <sdl.web@gmail.com>
7792
7793 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7794 (octave-mode-menu, octave-mode-map): Remove its uses.
7795
6b9c2d85
RZ
77962013-05-16 Reto Zimmermann <reto@gnu.org>
7797
7798 Sync with upstream vhdl mode v3.34.2.
7799 * progmodes/vhdl-mode.el: Use `push' throughout.
7800 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7801 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7802 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7803 (vhdl-actual-generic-name): New option to derive actual generic name.
7804 (vhdl-port-paste-signals): Replace formal by actual generics.
7805 (vhdl-beautify): New name for old group vhdl-align. Update users.
7806 (vhdl-beautify-options): New option.
7807 (vhdl-last-input-event): New compat alias. Use throughout.
7808 (vhdl-goto-line): Replace user level function `goto-line'.
7809 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7810 vhdl-fix-statement-buffer.
7811 (vhdl-create-mode-menu): Add some entries.
7812 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7813 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7814 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7815 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7816 to force statements on one line.
7817 (vhdl-remove-trailing-spaces-region):
7818 New, split from vhdl-remove-trailing-spaces.
7819 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7820 Respect vhdl-beautify-options.
7821 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7822 (vhdl-update-sensitivity-list): Not add with index if exists without.
7823 Not include array index with signal. Ignore keywords in comments.
7824 (vhdl-get-visible-signals): Regexp tweaks.
7825 (vhdl-template-component-inst): Handle empty library.
7826 (vhdl-template-type): Add template for 'enum' type.
7827 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7828 Use vhdl-replace-string.
7829 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7830 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7831 (vhdl-speedbar-initialize): Update for above name change.
7832 (vhdl-compose-wire-components): Fix in handling of constants.
7833 (vhdl-error-regexp-emacs-alist): New variable.
7834 (vhdl-error-regexp-add-emacs): New function;
7835 adds support for new compile.el (Emacs 22+)
7836 (vhdl-generate-makefile-1): Change target order for single lib. units.
7837 Allow use of absolute file names.
7838
9df4ec5e
LL
78392013-05-16 Leo Liu <sdl.web@gmail.com>
7840
7841 * simple.el (prog-indent-sexp): Indent enclosing defun.
7842
f5ba00a6
GM
78432013-05-15 Glenn Morris <rgm@gnu.org>
7844
ed8be7ff
GM
7845 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7846 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7847 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7848 (whitespace-highlight): Move to whitespace group.
7849
7850 * comint.el (comint-source):
7851 * pcmpl-linux.el (pcmpl-linux):
7852 * shell.el (shell-faces):
7853 * eshell/esh-opt.el (eshell-opt):
7854 * international/ccl.el (ccl): Remove empty custom groups.
7855
7856 * completion.el (dynamic-completion-mode):
7857 * jit-lock.el (jit-lock-debug-mode):
7858 * minibuffer.el (completion-in-region-mode):
7859 * type-break.el (type-break-mode-line-message-mode)
7860 (type-break-query-mode):
7861 * emulation/tpu-edt.el (tpu-edt-mode):
7862 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7863 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7864 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7865
7866 * term/xterm.el (xterm): Change parent group to terminals.
7867
7868 * master.el (master): Remove empty custom group.
7869 (master-mode): Remove unused :group argument.
7870 * textmodes/refill.el (refill): Remove empty custom group.
7871 (refill-mode): Remove unused :group argument.
7872
7873 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7874
82a7c41b
GM
7875 * cus-dep.el: Provide a feature.
7876 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7877 Don't mistakenly ignore files whose basenames match a basename
7878 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7879 Add a fallback method for getting :group.
f5ba00a6 7880
6d65486d
JL
78812013-05-15 Juri Linkov <juri@jurta.org>
7882
da547b32
JL
7883 * isearch.el (isearch-char-by-name): Rename from
7884 `isearch-insert-char-by-name'. Doc fix.
7885 (isearch-forward): Mention `isearch-char-by-name' in
7886 the docstring. (Bug#13348)
7887
6d65486d
JL
7888 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7889 `exit-minibuffer' instead of
7890 `isearch-nonincremental-exit-minibuffer'.
7891 (isearch-edit-string): Remove mention of
7892 `isearch-nonincremental-exit-minibuffer' from docstring.
7893 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7894 (isearch-forward-exit-minibuffer)
7895 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7896
c9990474
SM
78972013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7898
6e911150
SM
7899 * loadup.el: Just use unversioned DOC.
7900
c9990474
SM
7901 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7902 literals as extending to EOB.
7903 (nxml-last-fontify-end): Remove unused variable.
7904 (nxml-after-change1): Use with-silent-modifications.
7905 (nxml-extend-after-change-region): Simplify.
7906 (nxml-extend-after-change-region1): Remove function.
7907 (nxml-after-change1): Don't adjust for dependent regions.
7908 (nxml-fontify-matcher): Simplify.
7909 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7910 (xmltok-add-dependent): Remove function.
7911 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7912 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7913 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7914 unclosed <[[, <?, comment, and other literals as extending to EOB.
7915 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7916 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7917 Remove functions.
7918 (rng-do-some-validation-1): Don't mark dependent regions.
7919 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7920 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7921 (nxml-clear-dependent-regions): Remove functions.
7922 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7923 (nxml-ensure-scan-up-to-date):
7924 Don't clear&mark dependent regions.
7925
e3772e98
LL
79262013-05-15 Leo Liu <sdl.web@gmail.com>
7927
c9990474
SM
7928 * progmodes/octave.el (octave-goto-function-definition):
7929 Improve and fix callers.
e3772e98 7930
5ac2eb34
SM
79312013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7932
c46c57b0
SM
7933 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7934 the setter (bug#14387).
7935
5ac2eb34
SM
7936 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7937 surrounding group (bug#14402).
7938
180ed218
JL
79392013-05-14 Juri Linkov <juri@jurta.org>
7940
7941 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7942 (Bug#14390)
7943
0ac0fecb
GM
79442013-05-14 Glenn Morris <rgm@gnu.org>
7945
7946 * progmodes/f90.el (f90-imenu-generic-expression):
7947 Fix typo in 2013-05-08 change. (Bug#14402)
7948
2e78e6a7
JPG
79492013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7950
5ac2eb34
SM
7951 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7952 Remove signals for which replies are never received.
2e78e6a7 7953
53267cca
JPG
79542013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7955
7956 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7957 (gdb-handler-alist, gdb-handler-number): Remove variables.
7958 (gdb-handler-list): New variable.
7959 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7960 (gdb-pending-handler-p, gdb-handle-reply)
7961 (gdb-remove-all-pending-triggers): New functions.
7962 (gdb-discard-unordered-replies): New defcustom.
7963 (gdb-handler): New defstruct.
7964 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7965 instead of gdb-pending-triggers. Update docstring.
7966 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7967 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7968 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7969 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7970 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7971 (gdb-frame-handler): Pending triggers are now automatically managed.
7972 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7973 Remove argument.
7974 (gdb-input): Automatically handles pending triggers. Update docstring.
7975 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7976 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7977 Update comments.
7978 (gdb-done-or-error): Now use gdb-handle-reply.
7979
d04ce803
JPG
79802013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7981
7982 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7983 gdb-debug-log.
7984
0114073a
GM
79852013-05-14 Glenn Morris <rgm@gnu.org>
7986
7987 * subr.el (user-emacs-directory-warning): New option.
7988 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7989
4d25fd7e
LL
79902013-05-14 Leo Liu <sdl.web@gmail.com>
7991
7992 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7993 during redisplay.
7994 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7995 (octave-font-lock-texinfo-comment): Fix invalid search bound
7996 error: wrong side of point.
4d25fd7e 7997
27c8b6eb
GM
79982013-05-14 Glenn Morris <rgm@gnu.org>
7999
61aaeb01
GM
8000 * progmodes/flymake.el (flymake-xml-program): New option.
8001 (flymake-xml-init): Use it.
8002
5bf90bc5
GM
8003 * term/xterm.el: Provide a feature.
8004
8005 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8006
f4c7dfd2
GM
80072013-05-13 Glenn Morris <rgm@gnu.org>
8008
8009 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8010 Add compat aliases as a hack workaround. (Bug#14384)
8011
2aeb3a1d
LL
80122013-05-13 Leo Liu <sdl.web@gmail.com>
8013
b0e069c2
LL
8014 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8015 ###, and %!.
f5a9432f
LL
8016 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8017 C-M-q.
b0e069c2
LL
8018 (octave-comment-start-skip): Include %!.
8019 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8020
30ea8374
LL
80212013-05-12 Leo Liu <sdl.web@gmail.com>
8022
8023 * progmodes/octave.el (inferior-octave-startup): Store the value
8024 of __octave_srcdir__ for octave-source-directories.
8025 (inferior-octave-check-process): New function refactored out of
8026 inferior-octave-send-list-and-digest.
8027 (octave-source-directories)
8028 (octave-find-definition-filename-function): New variables.
8029 (octave-source-directories)
8030 (octave-find-definition-default-filename): New functions.
8031 (octave-find-definition): Improve to find functions implemented in C++.
8032
472a3834
GM
80332013-05-12 Glenn Morris <rgm@gnu.org>
8034
8035 * calendar/diary-lib.el (diary-outlook-format-1):
8036 Don't include dayname in the output. (Bug#14349)
8037
3191b52f
GM
80382013-05-11 Glenn Morris <rgm@gnu.org>
8039
0060ac73
GM
8040 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8041
3191b52f
GM
8042 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8043 Treat cc-provide like provide.
8044
e065ba74
KR
80452013-05-11 Kevin Ryde <user42@zip.com.au>
8046
8047 * cus-dep.el (custom-make-dependencies):
8048 Use generated-autoload-load-name for the sake of files such
8049 such cedet/semantic/bovine/c.el, where the base file name
8050 is not in load-path. (Bug#5277)
8051
36f84c37
GM
80522013-05-11 Glenn Morris <rgm@gnu.org>
8053
8054 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8055 Provide features.
8056
c8730c3a
LL
80572013-05-11 Leo Liu <sdl.web@gmail.com>
8058
8059 * progmodes/octave.el (octave-indent-comment): Improve.
8060 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8061 (octave-eldoc-function-signatures, octave-eldoc-function):
8062 New functions.
c8730c3a
LL
8063 (octave-mode, inferior-octave-mode): Add eldoc support.
8064
212e29f2
RS
80652013-05-11 Richard Stallman <rms@gnu.org>
8066
8067 * epa.el (epa-decrypt-file): Take output file name as argument
8068 and read it using `interactive'.
8069
083fe0d7
LL
80702013-05-11 Leo Liu <sdl.web@gmail.com>
8071
8072 * progmodes/octave.el (octave-beginning-of-line)
8073 (octave-end-of-line): Check before using up-list because it jumps
8074 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8075 (octave-indent-comment): New function.
8076 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8077 (octave-begin-keywords, octave-end-keywords)
8078 (octave-reserved-words, octave-smie-bnf-table)
8079 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8080
8582e4c4
GM
80812013-05-11 Glenn Morris <rgm@gnu.org>
8082
f20def1f
GM
8083 * faces.el (internal-face-x-get-resource):
8084 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8085 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8086 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8087 Fix declarations.
f20def1f 8088
445f95e2
GM
8089 * calc/calc-menu.el: Make it loadable in isolation.
8090
8091 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8092 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8093 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8094 (eudc-bbdb-query-internal): Require 'bbdb.
8095
99fb2756
GM
8096 * lpr.el (lpr-headers-switches):
8097 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8098
8099 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8100
0da7ad96
GM
8101 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8102
8582e4c4
GM
8103 * term.el (term-set-escape-char): Make it idempotent.
8104
f71c50d0
LL
81052013-05-10 Leo Liu <sdl.web@gmail.com>
8106
5ac2eb34
SM
8107 * progmodes/octave.el (inferior-octave-completion-table):
8108 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8109 completion due to bug#11906.
8110 (octave-beginning-of-defun): Re-write to be more general.
8111
d5837773
GM
81122013-05-10 Glenn Morris <rgm@gnu.org>
8113
8114 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8115
027c0f75
SM
81162013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * comint.el (comint-redirect-send-command-to-process): Use :around
8119 rather than :override for comint-redirect-filter.
8120 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8121 Call it instead of comint-redirect-original-filter-function (which
8122 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8123
4465bfb4
JD
81242013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8125
8126 * frame.el (display-monitor-attributes-list): Add NS case.
8127 (ns-display-monitor-attributes-list): Declare.
8128
2d809ffa 81292013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8130
8131 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8132
e54eeb9b
GM
81332013-05-09 Glenn Morris <rgm@gnu.org>
8134
56cd351d
GM
8135 * international/fontset.el (vertical-centering-font-regexp):
8136 Set standard-value.
8137
d84b6108
GM
8138 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8139
a931698a
GM
8140 * bookmark.el (bookmark-search-delay):
8141 * cus-start.el (vertical-centering-font-regexp):
8142 * ps-mule.el (ps-mule-font-info-database-default):
8143 * ps-print.el (ps-default-fg, ps-default-bg):
8144 * type-break.el (type-break-good-break-interval):
8145 * whitespace.el (whitespace-indentation-regexp)
8146 (whitespace-space-after-tab-regexp):
8147 * emacs-lisp/testcover.el (testcover-1value-functions)
8148 (testcover-noreturn-functions, testcover-progn-functions)
8149 (testcover-prog1-functions):
8150 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8151 * eshell/em-glob.el (eshell-glob-translate-alist):
8152 * play/tetris.el (tetris-tty-colors):
8153 * progmodes/cpp.el (cpp-face-default-list):
8154 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8155 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8156 (idlwave-help-browser-generic-args):
8157 * progmodes/make-mode.el (makefile-special-targets-list):
8158 * progmodes/python.el (python-shell-virtualenv-path):
8159 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8160 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8161 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8162 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8163 * textmodes/reftex-vars.el (reftex-format-label-function):
8164 * textmodes/remember.el (remember-diary-file): Fix custom types.
8165
e54eeb9b
GM
8166 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8167 Add :version.
8168
455851dd
LL
81692013-05-09 Leo Liu <sdl.web@gmail.com>
8170
8171 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8172 Restore file completion. (Bug#14300)
455851dd
LL
8173 (inferior-octave-startup): Fix incorrect highlighting for the
8174 first prompt.
8175
a9e4425b
SM
81762013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * progmodes/ruby-mode.el: First cut at SMIE support.
8179 (ruby-use-smie): New var.
8180 (ruby-smie-grammar): New constant.
8181 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8182 (ruby-smie--forward-token, ruby-smie--backward-token)
8183 (ruby-smie-rules): New functions.
8184 (ruby-mode-variables): Setup SMIE if applicable.
8185
060ca408
EZ
81862013-05-08 Eli Zaretskii <eliz@gnu.org>
8187
8188 * simple.el (line-move-visual): Signal beginning/end of buffer
8189 only if vertical-motion moved less than it was requested. Avoids
8190 silly incorrect error messages when there are display strings with
8191 multiple newlines at EOL.
8192
1d5963cc
SM
81932013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8196 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8197 (prolog-char-quote-workaround):
8198 * progmodes/cperl-mode.el (cperl-under-as-char):
8199 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8200 Mark as obsolete.
8201 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8202 their declaration.
8203 (vhdl-mode-syntax-table-init): Remove.
8204
c9990474
SM
8205 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8206 last change.
1d5963cc
SM
8207
8208 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8209 syntax for "_".
8210 (ld-script-font-lock-keywords):
8211 Change regexps to use things like \_< and \_>.
8212
8213 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8214 Change all regexps to use things like \_< and \_>.
8215
8216 * progmodes/autoconf.el (autoconf-definition-regexp)
8217 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8218 Handle a _ with symbol syntax.
8219 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8220
c9990474
SM
8221 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8222 Consolidate declaration.
1d5963cc
SM
8223 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8224 the declaration.
8225 (ada-create-syntax-table): Remove.
8226 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8227 already has the right syntax nowadays.
8228 (ada-goto-next-word): Don't change the syntax of "_".
8229
8230 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8231 with-wrapper-hook.
8232
72d3cfca
SS
82332013-05-08 Sam Steingold <sds@gnu.org>
8234
8235 * thingatpt.el (thing-at-point): Accept optional second argument
8236 NO-PROPERTIES to strip the text properties from the return value.
8237 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8238 to `thing-at-point' instead of stripping the properties ourselves.
8239 Also, when `thing-at-point' fails to find a url, prepend "http://"
8240 to the filename at point on the assumption that the user is
8241 pointing at something like gnu.org/gnu.
8242
5cb15713
JB
82432013-05-08 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8246 * faces.el (crm-separator):
8247 Silence byte-compiler.
8248
8249 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8250 (tool-bar-map): Remove unneeded defvars.
8251
ea78b95b
LL
82522013-05-08 Leo Liu <sdl.web@gmail.com>
8253
8254 Re-work a fix for bug#10994 based on Le Wang's patch.
8255 * ido.el (ido-remove-consecutive-dups): New helper.
8256 (ido-completing-read): Use it.
8257 (ido-chop): Revert fix for bug#10994.
8258
dc7466df
AS
82592013-05-08 Adam Spiers <emacs@adamspiers.org>
8260
8261 * cus-edit.el (custom-save-variables):
8262 Pretty-print long values. (Bug#14187)
8263
9ecf672a
GM
82642013-05-08 Glenn Morris <rgm@gnu.org>
8265
8266 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8267 (m4-mode-syntax-table): Init in the defvar.
8268 (m4-mode-abbrev-table): Let define-derived-mode define it.
8269
3f555be8
TT
82702013-05-08 Tom Tromey <tromey@redhat.com>
8271
8272 * progmodes/m4-mode.el (m4-mode-syntax-table):
8273 Do not treat "_" as word constituent. (Bug#14167)
8274
7cc8ae06
GM
82752013-05-07 Glenn Morris <rgm@gnu.org>
8276
4f58bc06
GM
8277 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8278 Remove explicit eshell-isearch-cancel-map.
8279
7cc8ae06
GM
8280 * progmodes/f90.el (f90-smart-end-names): New option.
8281 (f90-smart-end): Doc fix.
8282 (f90-end-block-optional-name): New constant.
8283 (f90-block-match): Respect f90-smart-end-names.
8284
ceb57e59
SM
82852013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8288 about implicit semi-colons (bug#14218).
8289
4e3f9230
YM
82902013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8291
8292 * frame.el (display-monitor-attributes-list)
8293 (frame-monitor-attributes): New functions.
8294
203a5572
LL
82952013-05-06 Leo Liu <sdl.web@gmail.com>
8296
8297 * progmodes/octave.el (octave-syntax-propertize-function): Change
8298 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8299 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8300 (octave-completion-at-point): Rename from
203a5572
LL
8301 octave-completion-at-point-function.
8302 (inferior-octave-directory-tracker): Robustify.
8303 (octave-text-functions): Remove and fix its uses. No such things
8304 any more.
8305
ee6cff99
SM
83062013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8307
8308 * emacs-lisp/trace.el (trace--display-buffer): New function.
8309 (trace-make-advice): Use it.
8310
32985194
JL
83112013-05-06 Juri Linkov <juri@jurta.org>
8312
8313 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8314 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8315 Doc fix.
8316 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8317 in the help string. (Bug#12985)
8318
a1c700de
KD
83192013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8320
8321 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8322
c67c0839
SM
83232013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8324
323885fd
SM
8325 * progmodes/perl-mode.el: Add support for here documents.
8326 (perl-syntax-propertize-function): Match here-doc markers.
8327 (perl-syntax-propertize-special-constructs): Find their end.
8328 (perl-imenu-generic-expression): Use [:alnum:].
8329
c67c0839
SM
8330 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8331 (advice--add-function): Refresh the advice if already present
8332 (bug#14317).
8333
d491e7a8
IA
83342013-05-06 Ivan Andrus <darthandrus@gmail.com>
8335
8336 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8337
ddf9925e
GM
83382013-05-06 Glenn Morris <rgm@gnu.org>
8339
7cc3af27
GM
8340 * w32-fns.el (w32-charset-info-alist): Declare.
8341
16e343d6
GM
8342 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8343 of its defcustom properties.
8344 (eshell-cmpl-initialize): No need to load pcomplete.
8345
7d889a47
GM
8346 * generic-x.el: No need to require comint when compiling.
8347
ddf9925e
GM
8348 * net/eudc-export.el: Make it loadable without bbdb.
8349 (top-level): Use require rather than load-library.
8350 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8351 (eudc-batch-export-records-to-bbdb)
8352 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8353 Require bbdb.
8354
1e2c18df
SM
83552013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8358 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8359 some tweaks, instead.
8360
02502a5f
LL
83612013-05-05 Leo Liu <sdl.web@gmail.com>
8362
8363 * progmodes/octave.el (octave-font-lock-keywords)
8364 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8365 (inferior-octave-send-list-and-digest): Improve error message.
8366 (octave-mode, inferior-octave-mode): Use setq-local.
8367 (octave-help): Set info-lookup-mode.
8368
0dc04f42
RS
83692013-05-05 Richard Stallman <rms@gnu.org>
8370
6c54491c
RS
8371 * vc/compare-w.el (compare-windows-whitespace):
8372 Treat no-break space as whitespace.
8373
0dc04f42
RS
8374 * mail/rmailsum.el (rmail-summary-rmail-update):
8375 Detect empty summary and don't change selected message.
8376 (rmail-summary-goto-msg): Likewise.
8377
df8f35df
RS
8378 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8379 Doc fixes, rename args.
8380
5356e1a3
AM
83812013-05-05 Alan Mackenzie <acm@muc.de>
8382
8383 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8384
d44014cb
JL
83852013-05-05 Juri Linkov <juri@jurta.org>
8386
8387 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8388 to not add the length of the summary segment to the return value.
8389 (Bug#14125)
8390
c129b51f
LL
83912013-05-05 Leo Liu <sdl.web@gmail.com>
8392
8393 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8394 (inferior-octave-output-filter): Remove.
8395 (octave-send-region, inferior-octave-startup): Fix callers.
8396 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8397 (octave-binary-file-extensions): New user variable.
8398 (octave-find-definition): Confirm if opening binary files.
8399 (octave-help-file): Use octave-find-definition to get the binary
8400 confirmation.
8401 (octave-help): Adjust for octave-help-file change.
8402
aa7dab97
SM
84032013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8406 Merge the two entries that handle function definitions.
8407 (pascal--syntax-propertize): New const.
8408 (pascal-mode): Use it. Use setq-local.
8409
fd3a9a6b
GM
84102013-05-04 Glenn Morris <rgm@gnu.org>
8411
8412 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8413 (diary-from-outlook): Respect diary-from-outlook-function.
8414
30c7e542
SM
84152013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8418 Move the declaration from C.
8419 (read-minibuffer, eval-minibuffer): Move from C.
8420 (completion-setup-function): Avoid minibuffer-completion-contents.
8421
b54f978b
LL
84222013-05-03 Leo Liu <sdl.web@gmail.com>
8423
8424 * progmodes/octave.el (octave-font-lock-keywords): Do not
8425 dehighlight 'end' in comments or strings.
30c7e542
SM
8426 (octave-completing-read, octave-goto-function-definition):
8427 New helpers.
d4d0f9b3
LL
8428 (octave-help-buffer): New user variable.
8429 (octave-help-file, octave-help-function): New button types.
8430 (octave-help): New command and bind it to C-h ;.
8431 (octave-find-definition): New command and bind it to M-.
d74a1581 8432 (user-error): Alias to error if not defined.
b54f978b 8433
27135018
LL
84342013-05-02 Leo Liu <sdl.web@gmail.com>
8435
8436 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8437 for \. (bug#14332)
8438 (octave-font-lock-keywords): Include [ and {.
8439
0d634d3a
LL
84402013-05-02 Leo Liu <sdl.web@gmail.com>
8441
8442 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8443 (inferior-octave): Remove calling comint-mode and return the buffer.
8444 (inferior-octave-startup): Cosmetic changes.
8445
b4c8295e
LL
84462013-05-02 Leo Liu <sdl.web@gmail.com>
8447
30c7e542
SM
8448 * progmodes/octave.el (octave-syntax-propertize-function):
8449 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8450
f12ad6ec
GM
84512013-05-02 Glenn Morris <rgm@gnu.org>
8452
8453 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8454 * desktop.el (vc-dir-mode): Just autoload it here.
8455
30cac1e0
AM
84562013-05-02 Alan Mackenzie <acm@muc.de>
8457
8458 Eliminate variable c-standard-font-lock-fontify-region-function.
8459 * progmodes/cc-mode.el
8460 (c-standard-font-lock-fontify-region-function): Remove.
8461 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8462
d8ef28b1
LL
84632013-05-01 Leo Liu <sdl.web@gmail.com>
8464
2640d52e 8465 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8466 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8467 variables were removed from Octave in 2007.
d8ef28b1
LL
8468 (inferior-octave-startup): Fix uses.
8469 (comint-line-beginning-position): Remove compatibility code for
8470 emacs 21.
8471
ac63ec89
JL
84722013-05-01 Juri Linkov <juri@jurta.org>
8473
8474 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8475
9e9be37c
JL
84762013-05-01 Juri Linkov <juri@jurta.org>
8477
8478 * comint.el (comint-previous-matching-input): Don't print message
8479 "History item: %d" when `isearch-mode' is active.
8480 (comint-history-isearch-message): Print message "History item: %d"
8481 when `comint-input-ring-index' is not empty and this function is
8482 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8483
9b92c13b
LL
84842013-05-01 Leo Liu <sdl.web@gmail.com>
8485
8486 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8487 definitions. Use completion-at-point to insert keywords.
8488 (octave-abbrev-start): Remove.
8489 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8490
b12d33d7
LL
84912013-04-30 Leo Liu <sdl.web@gmail.com>
8492
8493 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8494 change.
8495
3d1c39fa
AM
84962013-04-30 Alan Mackenzie <acm@muc.de>
8497
8498 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8499 * progmodes/cc-engine.el (c-back-over-member-initializers):
8500 new function.
3d1c39fa
AM
8501 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8502 (most) member init lists.
8503
5147fc17
RS
85042013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8505
8506 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8507 variable.
8508
5b78d7fc
LL
85092013-04-30 Leo Liu <sdl.web@gmail.com>
8510
8511 * progmodes/octave.el (octave-variables): Remove. No builtin
8512 variables any more. All converted to functions.
8513 (octave-font-lock-keywords, octave-completion-at-point-function):
8514 Fix uses.
8515 (octave-font-lock-texinfo-comment): New user variable.
8516 (octave-texinfo-font-lock-keywords): New variable for texinfo
8517 comment block.
8518 (octave-function-comment-block): New face.
8519 (octave-font-lock-texinfo-comment): New function.
8520 (octave-mode): Font lock texinfo comment block.
8521
38d8527b
LL
85222013-04-29 Leo Liu <sdl.web@gmail.com>
8523
8524 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8525 indexing expression.
8526 (octave-continuation-string): Do not use \.
8527 (inferior-octave-complete-impossible): Remove.
8528 (inferior-octave-completion-table)
8529 (inferior-octave-completion-at-point): Remove its uses.
8530 (inferior-octave-startup): completion_matches was introduced to
8531 Octave in 1996 so safe to assume it.
8532 (octave-function-file-comment): Improve to follow how Octave does it.
8533 (octave-update-function-file-comment): Tweak.
8534
2ec12cb0
LL
85352013-04-29 Leo Liu <sdl.web@gmail.com>
8536
8537 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8538 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8539 (octave-function-file-comment): Fix typo.
8540 (octave-sync-function-file-names): Use read-char-choice.
8541
6eaed048
JB
85422013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8543
8544 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8545 to t for the less important warnings.
8546
3ffa2d4f
DH
85472013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8548
8549 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8550
685c9501
GM
85512013-04-27 Glenn Morris <rgm@gnu.org>
8552
8553 * vc/log-view.el (log-view-current-entry):
8554 Treat "---" separator lines as part of the following rev. (Bug#14169)
8555
0208ede7
JL
85562013-04-27 Juri Linkov <juri@jurta.org>
8557
8558 * subr.el (read-number): Doc fix about using it by interactive
8559 code letter `n'. (Bug#14254)
8560
5db9dace
JL
85612013-04-27 Juri Linkov <juri@jurta.org>
8562
8563 * desktop.el (desktop-auto-save-timeout): New option.
8564 (desktop-file-checksum): New variable.
8565 (desktop-save): Add optional arg `auto-save' and don't auto-save
8566 if nothing changed.
8567 (desktop-auto-save-timer): New variable.
8568 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8569 (after-init-hook): Call `desktop-auto-save-set-timer'.
8570 Suggested by Reuben Thomas <rrt@sc3d.org> in
8571 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8572
b7260dd4
LL
85732013-04-27 Leo Liu <sdl.web@gmail.com>
8574
8575 * progmodes/octave.el (octave-function-file-p)
8576 (octave-skip-comment-forward, octave-function-file-comment)
8577 (octave-update-function-file-comment): New functions.
8578 (octave-mode-map): Bind C-c ; to
8579 octave-update-function-file-comment.
8580 (octave-mode-menu): Add octave-update-function-file-comment.
8581 (octave-mode, inferior-octave-mode): Fix doc-string.
8582 (octave-insert-defun): Conform to Octave's coding convention.
8583 (Bug#14285)
8584
8585 * files.el (basic-save-buffer): Don't let errors in
8586 before-save-hook prevent saving buffer.
8587
c46da669
RW
85882013-04-20 Roland Winkler <winkler@gnu.org>
8589
8590 * faces.el (read-face-name): Use completing-read if arg multiple
8591 is nil.
8592
a81ee1eb
IL
85932013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8594
8595 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8596 displayed, move point to after the totals line.
8597 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8598 for the details.
8599
4fac34ce
SM
86002013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8603 Add current dir to the load-path.
8604 (package-generate-autoloads): Don't rely on
8605 autoload-ensure-default-file.
8606
f6bfc063
RT
86072013-04-26 Reuben Thomas <rrt@sc3d.org>
8608
d40ab5cf
BG
8609 * textmodes/remember.el (remember-store-in-files): Document that
8610 the file name format is passed to `format-time-string'.
f6bfc063 8611
e55d3b04
LL
86122013-04-26 Leo Liu <sdl.web@gmail.com>
8613
8614 * progmodes/octave.el (octave-sync-function-file-names): New function.
8615 (octave-mode): Use it in before-save-hook.
8616
e53052d3
SM
86172013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8618
140ef50c
SM
8619 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8620 (bug#14274).
8621
e53052d3
SM
8622 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8623 \n and comment, even if it's not an implicit ; (bug#14218).
8624
af80458d 86252013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8626
8627 * subr.el (read-number): Once more use `read' rather than
8628 `string-to-number', to trap non-numeric input. (Bug#14254)
8629
af80458d 86302013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8631
8632 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8633 Use `syntax-multiline' text property consistently instead of
8a621d53 8634 `font-lock-multiline'. (Bug#14237)
70203c2e 8635
e6ea1f6c
GM
86362013-04-26 Glenn Morris <rgm@gnu.org>
8637
8638 * emacs-lisp/shadow.el (list-load-path-shadows):
8639 No longer necessary to check for duplicate simple.el, since
8640 2012-07-07 change to init_lread to not include installation lisp
8641 directories in load-path when running uninstalled. (Bug#14270)
8642
070ccca4
LL
86432013-04-26 Leo Liu <sdl.web@gmail.com>
8644
8645 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8646 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8647 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8648 octave-in-string-or-comment-p.
8649 (octave-in-comment-p, octave-in-string-p)
8650 (octave-in-string-or-comment-p): Replace defsubst with defun.
8651
9d1c5fb6
PE
86522013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8653
8654 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8655
c034abda
BG
86562013-04-25 Bastien Guerry <bzg@gnu.org>
8657
8658 * textmodes/remember.el (remember-data-directory)
8659 (remember-directory-file-name-format): Fix custom types.
8660
584ea277
LL
86612013-04-25 Leo Liu <sdl.web@gmail.com>
8662
e53052d3
SM
8663 * progmodes/octave.el (octave-completion-at-point-function):
8664 Make use of inferior octave process.
584ea277
LL
8665 (octave-initialize-completions): Remove.
8666 (inferior-octave-completion-table): New function.
8667 (inferior-octave-completion-at-point): Use it.
8668 (octave-completion-alist): Remove.
8669
1693b06a
SM
86702013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8671
8672 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8673 (opascal-mode-syntax-table): New var.
8674 (opascal-literal-kind, opascal-is-literal-end)
8675 (opascal-literal-token-at): Rewrite.
8676 (opascal--literal-start-re, opascal-font-lock-keywords)
8677 (opascal--syntax-propertize): New constants.
8678 (opascal-font-lock-defaults): Adjust.
8679 (opascal-mode): Use them. Set comment-<foo> variables as well.
8680 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8681 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8682 (delphi-other-face, opascal-other-face): Remove face variables.
8683 (opascal-save-state): Remove macro.
8684 (opascal-fontifying-progress-step): Remove constant.
8685 (opascal--ignore-changes): Remove var.
8686 (opascal-set-token-property, opascal-parse-next-literal)
8687 (opascal-is-stable-literal, opascal-complete-literal)
8688 (opascal-is-literal-start, opascal-face-of)
8689 (opascal-parse-region, opascal-parse-region-until-stable)
8690 (opascal-fontify-region, opascal-after-change)
8691 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8692 (opascal-debug-parse-region, opascal-debug-parse-window)
8693 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8694 (opascal-debug-fontify-buffer): Remove.
8695 (opascal-debug-mode-map): Adjust accordingly.
8696
be64c05d
LL
86972013-04-25 Leo Liu <sdl.web@gmail.com>
8698
8699 Merge octave-mod.el and octave-inf.el into octave.el with some
8700 cleanups.
8701 * progmodes/octave.el: New file renamed from octave-mod.el.
8702 * progmodes/octave-inf.el: Merged into octave.el.
8703 * progmodes/octave-mod.el: Renamed to octave.el.
8704
d79d37bd
TH
87052013-04-25 Tassilo Horn <tsdh@gnu.org>
8706
8707 * textmodes/reftex-vars.el
8708 (reftex-label-ignored-macros-and-environments): New defcustom.
8709
8710 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8711
ced3fc5d
SM
87122013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8713
8714 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8715 (smie-indent-keyword): Improve the check to ensure that the next
8716 comment is really on the same line.
8717 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8718
8719 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8720 semi-colons if the line is not otherwise empty (bug#14218).
8721
1c141dad
GM
87222013-04-25 Glenn Morris <rgm@gnu.org>
8723
8724 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8725
5058062a
SM
87262013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * progmodes/opascal.el (opascal-set-token-property): Rename from
8729 opascal-set-text-properties and only set `token' (bug#14134).
8730 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8731 (opascal-literal-text-properties): Remove.
8732 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8733 Adjust callers.
8734
5db9dace 87352013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8736
8737 * textmodes/remember.el (remember-handler-functions): Add an
8738 option for a new handler `remember-store-in-files'.
8739 (remember-data-directory, remember-directory-file-name-format):
8740 New options.
8741 (remember-store-in-files): New function to store remember notes
8742 as separate files within a directory.
8743
4391916c
MH
87442013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8745
8746 * progmodes/compile.el (compilation-next-error-function):
8747 Pass "formats" to compilation-find-file (bug#11777).
8748
bb7cdf58
GM
87492013-04-24 Glenn Morris <rgm@gnu.org>
8750
3b8fe752 8751 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8752 * vc/vc-hg.el (vc-hg-print-log):
8753 * vc/vc-svn.el (vc-svn-print-log):
8754 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8755
bb7cdf58
GM
8756 * vc/vc-bzr.el (vc-bzr-print-log):
8757 * vc/vc-cvs.el (vc-cvs-print-log):
8758 * vc/vc-git.el (vc-git-print-log):
8759 * vc/vc-hg.el (vc-hg-print-log):
8760 * vc/vc-mtn.el (vc-mtn-print-log):
8761 * vc/vc-rcs.el (vc-rcs-print-log):
8762 * vc/vc-sccs.el (vc-sccs-print-log):
8763 * vc/vc-svn.el (vc-svn-print-log):
8764 * vc/vc.el (vc-print-log-internal): Doc fixes.
8765
b46a056e
GM
87662013-04-23 Glenn Morris <rgm@gnu.org>
8767
8768 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8769 Remove venerable code attempting to avoid substitute-command-keys.
8770
0aecf718
TH
87712013-04-23 Tassilo Horn <tsdh@gnu.org>
8772
4391916c
MH
8773 * textmodes/reftex-vars.el (reftex-label-regexps):
8774 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8775
117f94cf
SM
87762013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8777
4391916c 8778 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8779 Use lexical-binding.
8780 (jit-lock-force-redisplay): Use markers, check buffer's continued
8781 existence and beware narrowed buffers.
8782 (jit-lock-fontify-now): Adjust call accordingly.
8783
1d829c64
SM
87842013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8785
8786 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8787 to avoid misleading the user.
8788
72d548a9
LL
87892013-04-22 Leo Liu <sdl.web@gmail.com>
8790
8791 * info-look.el: Prefer latex2e.info. (Bug#14240)
8792
d0853629
MA
87932013-04-22 Michael Albinus <michael.albinus@gmx.de>
8794
8795 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8796
8797 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8798 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8799 (tramp-set-completion-function, tramp-parse-putty):
8800 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8801 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8802 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8803 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8804 (tramp-call-local-coding-command): Use `tramp-call-process'
8805 instead of `tramp-compat-call-process'.
8806
8807 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8808 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8809 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8810 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8811 (tramp-maybe-send-script): Check for Perl binary.
8812 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8813
38cc0210
DU
88142013-04-22 Daiki Ueno <ueno@gnu.org>
8815
8816 * epg.el (epg-context-pinentry-mode): New function.
8817 (epg-context-set-pinentry-mode): New function.
8818 (epg--start): Pass --pinentry-mode option to gpg command.
8819
cc641ee1
XF
88202013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8821
02d844b5 8822 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8823 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8824 `completion-at-point'. (Bug#13774)
5d4e5c31 8825
cc641ee1
XF
8826 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8827 default key binding for `describe-distribution' has been moved to
8828 `C-h C-o'. (Bug#13970)
8829
1b42ee43
GM
88302013-04-21 Glenn Morris <rgm@gnu.org>
8831
8832 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8833 Add doc strings.
8834 (vc-print-log): Clarify interactive prompt.
8835
a6d63d97
GM
88362013-04-20 Glenn Morris <rgm@gnu.org>
8837
8838 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8839 No longer include timestamp etc information.
8840
d7f5c16f
RW
88412013-04-20 Roland Winkler <winkler@gnu.org>
8842
8843 * faces.el (read-face-name): Bug fix, return just one face if arg
8844 multiple is nil. (Bug#14209)
8845
bcd7a0a4
SM
88462013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8849 (remove-function): Autoload.
8850
8851 * comint.el (comint-redirect-original-filter-function): Remove.
8852 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8853 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8854 (vc-cvs-annotate-command):
bcd7a0a4
SM
8855 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8856 * progmodes/prolog.el (prolog-consult-compile):
8857 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8858 Use add/remove-function instead.
8859 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8860 (gud-tooltip-process-output, gud-tooltip-tips):
8861 Use add/remove-function instead.
8862 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8863 (scheme-interaction-mode, exit-scheme-interaction-mode):
8864 Use add/remove-function instead.
8865
8866 * vc/vc-dispatcher.el: Use lexical-binding.
8867 (vc--process-sentinel): Rename from vc-process-sentinel.
8868 Change last arg to be the code to run. Don't use vc-previous-sentinel
8869 and vc-sentinel-commands any more.
8870 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8871 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8872
e36b2d20 88732013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8874
bcd7a0a4 8875 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8876 Handle function names with a single character. (Bug#14111)
4d3268ba 8877
781b4af6 88782013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8879
8880 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8881 for subroutines defined in an eval (bug#14182).
8882
7d688336
TV
88832013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8884
8885 * bookmark.el (bookmark-completing-read): Improve handling of empty
8886 string (bug#14176).
8887
31dcede0
SM
88882013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8891
adc31213
FEG
88922013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8893
8894 New faster Imenu implementation (bug#14058).
8895 * progmodes/python.el:
8896 (python-imenu-prev-index-position):
8897 (python-imenu-format-item-label-function)
8898 (python-imenu-format-parent-item-label-function)
8899 (python-imenu-format-parent-item-jump-label-function):
8900 New vars.
8901 (python-imenu-format-item-label)
8902 (python-imenu-format-parent-item-label)
8903 (python-imenu-format-parent-item-jump-label)
8904 (python-imenu--put-parent, python-imenu--build-tree)
8905 (python-imenu-create-index, python-imenu-create-flat-index)
8906 (python-util-popn): New functions.
8907 (python-mode): Set imenu-create-index-function to
8908 python-imenu-create-index.
8909
cdca8255
SM
89102013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8911
8912 * winner.el (winner-active-region): Use region-active-p, activate-mark
8913 and deactivate-mark (bug#14225).
8914
8915 * simple.el (deactivate-mark): Don't inline it.
8916
beb42340
MA
89172013-04-18 Michael Albinus <michael.albinus@gmx.de>
8918
8919 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8920
fc7f4d7e
TH
89212013-04-18 Tassilo Horn <tsdh@gnu.org>
8922
8923 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8924 file extensions from the archive-mode entry in order to prefer
8925 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8926
29f47822
LL
89272013-04-18 Leo Liu <sdl.web@gmail.com>
8928
8929 * bindings.el (help-event-list): Add ?\?.
8930
d36ed1c8
SM
89312013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * subr.el (with-wrapper-hook): Declare obsolete.
8934 * simple.el (filter-buffer-substring-function): New hook.
8935 (filter-buffer-substring): Use it.
8936 (filter-buffer-substring-functions): Mark obsolete.
8937 * minibuffer.el (completion-in-region-function): New hook.
8938 (completion-in-region): Use it.
8939 (completion-in-region-functions): Mark obsolete.
8940 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8941 * abbrev.el (abbrev-expand-function): New hook.
8942 (expand-abbrev): Use it.
8943 (abbrev-expand-functions): Mark obsolete.
8944 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8945 and :filter-return.
8946
04754d36
FEG
89472013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8948
8949 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8950 and do not care about match data.
8951
dd8791e9
SM
89522013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8955 completion tables when completing error conditions and
8956 `declare' arguments.
8957 (lisp-complete-symbol, field-complete): Mark as obsolete.
8958 (check-parens): Unmatched parens are user errors.
8959 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8960
ffe54a13
AM
89612013-04-17 Michal Nazarewicz <mina86@mina86.com>
8962
dd8791e9
SM
8963 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8964 command changed buffer (ie. `flyspell-pre-buffer' is not current
8965 buffer), which prevents making decisions based on invalid value of
8966 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8967 cause an error when `flyspell-pre-point' was nil after switching
8968 buffers.
8969 (flyspell-post-command-hook): No longer needs to change buffers when
8970 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8971
ec7e39f2
AM
89722013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8973
8974 * textmodes/ispell.el (ispell-add-per-file-word-list):
8975 Fix `flyspell-correct-word-before-point' error when accepting
8976 words and `coment-padding' is an integer by using
8977 `comment-normalize-vars' (Bug #14214).
8978
083850a6
FEG
89792013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8980
8981 New defun movement commands.
8982 * progmodes/python.el (python-nav--syntactically)
8983 (python-nav--forward-defun, python-nav-backward-defun)
8984 (python-nav-forward-defun): New functions.
8985
619ed6e1
FEG
89862013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8987
8988 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8989 (python-syntax-context): Use named compiler-macro for backwards
8990 compatibility with Emacs 24.x.
8991
7a1beb6c
LL
89922013-04-17 Leo Liu <sdl.web@gmail.com>
8993
8994 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8995 octave-hide-process-buffer.
8996
2d3fa3e5
SM
89972013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9000 (bug#14216).
9001
7ce5be54
JPG
90022013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9003
9004 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9005 Fix adjustment of offset when receiving incomplete responses from GDB
9006 (bug#14129).
9007
351edece
SM
90082013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9011 python-mode-abbrev-table.
9012 (python-skeleton-define): Adjust accordingly.
9013 (python-mode-abbrev-table): New table that inherits from it so that
9014 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9015
9016 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9017 (abbrev-symbol): Use it.
9018 (abbrev--before-point): Use it since we already handle inheritance.
9019
613f9481
LL
90202013-04-16 Leo Liu <sdl.web@gmail.com>
9021
9022 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9023 binding to info-lookup-symbol.
9024
51646b62
JB
90252013-04-16 Juanma Barranquero <lekktu@gmail.com>
9026
9027 * minibuffer.el (completion--twq-all):
9028 * term/ns-win.el (ns-initialize-window-system):
9029 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9030
efb3f01d
SM
90312013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9032
36c0a301
SM
9033 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9034 global bindings.
9035
efb3f01d
SM
9036 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9037
fb549d64
DG
90382013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9039
9040 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9041 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9042 to nil.
9043 (ruby-end-of-defun): Remove the unused arg, change the docstring
9044 to reflect that this function is only used as the value of
9045 `end-of-defun-function'.
9046 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9047 to reflect an earlier change that beginning/end-of-defun functions
9048 jump between methods in a class definition, as well as top-level
9049 functions.
9050
21e8fe2f
SM
90512013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * minibuffer.el (minibuffer-complete): Don't just scroll
9054 a *Completions* that's been iconified.
9055 (minibuffer-force-complete): Make sure repetitions do cycle when going
9056 through completion-in-region -> minibuffer-complete.
9057
20e527d0
AM
90582013-04-15 Alan Mackenzie <acm@muc.de>
9059
9060 Correct the placement of c-cpp-delimiters when there're #s not at
9061 col 0.
9062
9063 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9064 place a submatch around the #.
21e8fe2f
SM
9065 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9066 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9067 on the #, not BOL.
9068
dabefae5
SM
90692013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9072 (advice--member-p): New arg `name'.
9073 (advice--add-function, advice-member-p): Use it (bug#14202).
9074
85c9ab64
AM
90752013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9076
9077 Reformulate java imenu-generic-expression.
9078 The old expression contained ill formed regexps.
9079
9080 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9081 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9082 (cc-imenu-java-method-arg-regexp): New defconsts.
9083 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9084 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9085 handling of spaces in the regexp.
9086
0f821d99
AM
90872013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9088
9089 * textmodes/ispell.el (ispell-command-loop): Remove
9090 flyspell highlight of a word when ispell accepts it (bug #14178).
9091
eb922adf
MA
90922013-04-15 Michael Albinus <michael.albinus@gmx.de>
9093
9094 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9095 uses code from the previous `ange-ftp-run-real-handler'.
9096 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9097 only in case that function exist. This is needed for proper
9098 unloading of Tramp.
9099
4d9a0979
TH
91002013-04-15 Tassilo Horn <tsdh@gnu.org>
9101
9102 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9103
9104 * textmodes/reftex.el (reftex-compile-variables): Use it.
9105
a829b0dc
SM
91062013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9107
91e8293c
SM
9108 * files.el (normal-mode): Only use default major-mode if no other mode
9109 was specified.
9110
830aed4d
SM
9111 * emacs-lisp/trace.el (trace-values): New function.
9112
a829b0dc
SM
9113 * files.el: Allow : in local variables (bug#14089).
9114 (hack-local-variable-regexp): New var.
9115 (hack-local-variables-prop-line, hack-local-variables): Use it.
9116
7ae9f0fb
RW
91172013-04-13 Roland Winkler <winkler@gnu.org>
9118
9119 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9120 data before it gets modified by bibtex-beginning-of-entry.
9121
6646e848
RW
91222013-04-13 Roland Winkler <winkler@gnu.org>
9123
9124 * textmodes/bibtex.el (bibtex-url): Doc fix.
9125
91262013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9127
9128 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9129 does not visit a BibTeX file, exclude it from the list of buffers
9130 returned by bibtex-initialize.
9131
0aa3616e
SB
91322013-04-13 Stephen Berman <stephen.berman@gmx.net>
9133
9134 * window.el (split-window): Remove interactive form, since as a
9135 command this function is a special case of split-window-below.
9136 Correct doc string.
9137
011cddd6
RW
91382013-04-12 Roland Winkler <winkler@gnu.org>
9139
9140 * faces.el (read-face-name): Do not override value of arg default.
9141 Allow single faces and strings as default values. Remove those
9142 elements from return value that are not faces.
9143 (describe-face): Simplify.
9144 (face-at-point): New optional args thing and multiple so that this
9145 function can provide the same functionality previously provided by
9146 read-face-name.
9147 (make-face-bold, make-face-unbold, make-face-italic)
9148 (make-face-unitalic, make-face-bold-italic, invert-face)
9149 (modify-face, read-face-and-attribute): Use face-at-point.
9150
9151 * cus-edit.el (customize-face, customize-face-other-window)
9152 * cus-theme.el (custom-theme-add-face)
9153 * face-remap.el (buffer-face-set)
9154 * facemenu.el (facemenu-set-face): Use face-at-point.
9155
f24e0036
MA
91562013-04-12 Michael Albinus <michael.albinus@gmx.de>
9157
9158 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9159
da3cda2d
TH
91602013-04-10 Tassilo Horn <tsdh@gnu.org>
9161
9162 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9163 off leading { and trailing } from field values.
9164
15e54145
SM
91652013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9166
78ce603d
SM
9167 * emacs-lisp/timer.el (timer--check): New function.
9168 (timer--time, timer-set-function, timer-event-handler): Use it.
9169 (timer-set-idle-time): Simplify.
9170 (timer--activate): CSE.
9171 (timer-event-handler): Give more info in error message.
9172 (internal-timer-start-idle): New function, moved from C.
9173
15e54145
SM
9174 * mpc.el (mpc-proc): Add `restart' argument.
9175 (mpc-proc-cmd): Use it.
9176 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9177 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9178 less often.
9179
7144c627
MY
91802013-04-10 Masatake YAMATO <yamato@redhat.com>
9181
9182 * progmodes/sh-script.el: Implement `sh-mode' own
9183 `add-log-current-defun-function' (bug#14112).
9184 (sh-current-defun-name): New function.
9185 (sh-mode): Use the function.
9186
b39792eb
BG
91872013-04-09 Bastien Guerry <bzg@gnu.org>
9188
9189 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9190
8acdeb71
SM
91912013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9192
6fcdab68
SM
9193 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9194
8acdeb71
SM
9195 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9196 timer (bug#14156).
9197
e3e7b504
NF
91982013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9199
9200 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9201 declaration.
9202
201bb296
LL
92032013-04-07 Leo Liu <sdl.web@gmail.com>
9204
9205 * pcmpl-x.el: New file.
9206
ebb19708
DA
92072013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9208
9209 Do not set x-display-name until X connection is established.
9210 This is needed to prevent from weird situation described at
9211 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9212 * frame.el (make-frame): Set x-display-name after call to
9213 window system initialization function, not before.
9214 * term/x-win.el (x-initialize-window-system): Add optional
9215 display argument and use it.
9216 * term/w32-win.el (w32-initialize-window-system):
9217 * term/ns-win.el (ns-initialize-window-system):
9218 * term/pc-win.el (msdos-initialize-window-system):
9219 Add compatible optional display argument.
9220
33bb237a
EZ
92212013-04-06 Eli Zaretskii <eliz@gnu.org>
9222
9223 * files.el (normal-backup-enable-predicate): On MS-Windows and
9224 MS-DOS compare truenames of temporary-file-directory and of the
9225 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9226 don't fail comparison by compare-strings. Also, compare file
9227 names case-insensitively on MS-Windows and MS-DOS.
9228
134abf1f
SM
92292013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9232 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9233
d695cb94
DG
92342013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9235
e3e7b504
NF
9236 * whitespace.el (whitespace-color-on, whitespace-color-off):
9237 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9238
f4ad7ea1 92392013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9240
9241 * ispell.el (ispell-set-spellchecker-params):
9242 Really set `ispell-args' for all equivs.
9243
632556e4
SM
92442013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9245
9246 * ido.el (ido-completions): Use extra elements of ido-decorations
9247 (bug#14143).
9248 (ido-decorations): Update docstring.
9249
2a417372
MA
92502013-04-05 Michael Albinus <michael.albinus@gmx.de>
9251
9252 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9253 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9254 nil during initialization, in order not to miss changes since the
9255 file was opened. (Bug#14140)
9256
fc164b0c
LL
92572013-04-05 Leo Liu <sdl.web@gmail.com>
9258
9259 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9260
0ccecc08
JB
92612013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9262
9263 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9264
51af1aa2
GM
92652013-04-04 Glenn Morris <rgm@gnu.org>
9266
9267 * electric.el (electric-pair-inhibit-predicate): Add :version.
9268
b208ebc6
SM
92692013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9272 when a package is required several times (bug#14082).
9273
f3d3eaf0
RW
92742013-04-04 Roland Winkler <winkler@gnu.org>
9275
9276 * faces.el (read-face-name): Behave as promised by the docstring.
9277 Assume that arg default is a list of faces.
9278 (describe-face): Call read-face-name with list of default faces.
9279
2575da50
TV
92802013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9281
9282 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9283 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9284 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9285 the header.
9286 (bookmark-exit-hook-internal): Save even if list is empty.
9287
397703b4
YH
92882013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9289
9290 * emacs-lisp/package.el (package-pinned-packages): New var.
9291 (package--add-to-archive-contents): Obey it (bug#14118).
9292
691e26ae
AM
92932013-04-03 Alan Mackenzie <acm@muc.de>
9294
8a621d53
JB
9295 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9296 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9297
9298 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9299 parameter `not-in-delimiter'. Handle being inside comment opener.
9300 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9301 character in case we're typing a '*' after a '/'.
9302 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9303 instead by passing the parameter to c-state-pp-to-literal.
9304
9305 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9306 for elt. 7 of a parse state.
9307
4b725a70
PE
93082013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9309
9310 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9311 * international/latin1-disp.el, international/mule-util.el:
9312 * language/cyril-util.el, language/european.el, language/ind-util.el:
9313 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9314 * language/tibetan.el, language/viet-util.el:
9315 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9316
15c579f0
SM
93172013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9320 (electric-pair-post-self-insert-function): Use it.
9321 (electric-pair-default-inhibit): New function, extracted from
9322 electric-pair-post-self-insert-function.
9323
a77e2924
RW
93242013-03-31 Roland Winkler <winkler@gnu.org>
9325
9326 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9327
2bd8a4a8
SM
93282013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9331
8d3655be 93322013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9333
9334 Un-indent after "pass" and "return" statements (Bug#13888)
9335 * progmodes/python.el (python-indent-block-enders): New var.
9336 (python-indent-calculate-indentation): Use it.
9337
8d3655be 93382013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9339
9340 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9341 defun. Defining it as defalias could introduce too eager
9342 byte-compiler optimization. (Bug#14030)
9343
8d3655be 93442013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9345
9346 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9347
0b1619da
LL
93482013-03-30 Leo Liu <sdl.web@gmail.com>
9349
9350 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9351 (kmacro-execute-from-register): Pass the keyboard macro to
9352 kmacro-call-macro or repeating won't work correctly.
9353
0b938190
TZ
93542013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9355
9356 * progmodes/subword.el: Back to using `forward-symbol'.
9357
9358 * subr.el (forward-whitespace, forward-symbol)
9359 (forward-same-syntax): Move from thingatpt.el.
9360
35710234
LL
93612013-03-29 Leo Liu <sdl.web@gmail.com>
9362
9363 * kmacro.el (kmacro-to-register): New command.
9364 (kmacro-execute-from-register): New function.
9365 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9366
efc0bb73
SM
93672013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * mpc.el: Use defvar-local and setq-local.
9370 (mpc--proc-connect): Connection failures are not bugs.
9371 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9372 (mpc-volume-map): Bind to the up-events.
9373
75a2f981
TZ
93742013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9375
9376 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9377 instead of `forward-symbol'.
9378
17c781d1
SM
93792013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9382 (edebug--recursive-edit): Use it.
9383 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9384 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9385
f67bfbcf
LL
93862013-03-28 Leo Liu <sdl.web@gmail.com>
9387
9388 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9389
b59f639d
EZ
93902013-03-27 Eli Zaretskii <eliz@gnu.org>
9391
9392 * facemenu.el (list-colors-callback): New defvar.
9393 (list-colors-redisplay): New function.
9394 (list-colors-display): Install list-colors-redisplay as the
9395 revert-buffer-function. (Bug#14063)
9396
f557c1b1
SM
93972013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9398
b1da2957
SM
9399 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9400 and suffixes don't overlap (bug#14061).
9401
f557c1b1
SM
9402 * case-table.el: Use lexical-binding.
9403 (case-table-get-table): New function.
9404 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9405
002668e1
TZ
94062013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9407
9408 * progmodes/subword.el: Add `superword-mode' to do word motion
9409 over symbol_words (parallels and leverages `subword-mode' which
9410 does word motion inside MixedCaseWords).
9411
73572c72
AG
94122013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9413
78b8f320 9414 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9415 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9416
69b2c07e
SM
94172013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9418
9419 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9420 Change return value to be a sexp. Delay `get-buffer' to after
9421 restoring the desktop (bug#13951).
9422
08bb5ee2
LL
94232013-03-26 Leo Liu <sdl.web@gmail.com>
9424
9425 * register.el: Move semantic tag handling back to
9426 cedet/semantic/senator.el. (Bug#14052)
9427
8d4c974e
SM
94282013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9431 into the prompt either (bug#13963).
9432
b234d92c
SM
94332013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9436 part of "(error-foo)".
9437
ddfa3cb4
JL
94382013-03-24 Juri Linkov <juri@jurta.org>
9439
9440 * replace.el (list-matching-lines-prefix-face): New defcustom.
9441 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9442 `occur-engine' if `face-differs-from-default-p' returns t.
9443 (occur-engine): Add `,' inside backquote construct to evaluate
9444 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9445 Pass `prefix-face' to the functions `occur-context-lines' and
9446 `occur-engine-add-prefix'.
9447 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9448 `prefix-face' and propertize the prefix with `prefix-face'.
9449 (Bug#14017)
9450
7b0e2f85
LL
94512013-03-24 Leo Liu <sdl.web@gmail.com>
9452
9453 * nxml/rng-valid.el (rng-validate-while-idle)
9454 (rng-validate-quick-while-idle): Guard against deleted buffer.
9455 (Bug#13999)
9456
9457 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9458 is the last entry in kill-buffer-hook.
9459
9460 * files.el (kill-buffer-hook): Doc fix.
9461
b3082f49
DG
94622013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9463
b234d92c
SM
9464 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9465 Make it safe-local.
bde73d27 9466
b3082f49
DG
9467 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9468
a320a2db
LL
94692013-03-23 Leo Liu <sdl.web@gmail.com>
9470
7e74b0fb
LL
9471 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9472 Remove.
9473
9474 * nxml/rng-valid.el (rng-validate-mode)
9475 (rng-after-change-function, rng-do-some-validation):
9476 * nxml/rng-maint.el (rng-validate-buffer):
9477 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9478 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9479 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9480 (nxml-extend-after-change-region): Use with-silent-modifications.
9481
a320a2db
LL
9482 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9483 timer-idle-list.
9484
9485 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9486 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9487 timer-idle-list. (Bug#13999)
9488
e38e6780
JL
94892013-03-23 Juri Linkov <juri@jurta.org>
9490
9491 * info.el (info-index-match): New face.
9492 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9493 main pattern and add text properties with the new face to matches
9494 in index entries relative to the beginning of the index entry.
9495 (Bug#14015)
9496
e8cc7880
DE
94972013-03-21 Eric Ludlam <zappo@gnu.org>
9498
9499 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9500 Inhibit read only while inserting objects.
9501
9bb0d822
TZ
95022013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9503
9504 * progmodes/cfengine.el: Update docs to mention
9505 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9506 symbol motion. Remove "_" from the word syntax.
9507
aa703640
TZ
95082013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9509
9510 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9511 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9512
afff09d0
JL
95132013-03-20 Juri Linkov <juri@jurta.org>
9514
9515 * info.el (Info-next-reference-or-link)
9516 (Info-prev-reference-or-link): New functions.
9517 (Info-next-reference, Info-prev-reference): Use them.
9518 (Info-try-follow-nearest-node): Handle footnote navigation.
9519 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9520
9a1ff164
SM
95212013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9524 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9525
2667d15d
PE
95262013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9527
9528 Suppress unnecessary non-ASCII chatter during build process.
9529 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9530 (batch-skkdic-convert): Suppress most of the chatter.
9531 It's not needed so much now that machines are faster,
9532 and its non-ASCII component was confusing; see Dmitry Gutov in
9533 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9534
438b0579
LL
95352013-03-20 Leo Liu <sdl.web@gmail.com>
9536
9537 * ido.el (ido-chop): Fix bug#10994.
9538
c128ab07
DG
95392013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9540
9541 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9542 Remove vars.
9a1ff164
SM
9543 (whitespace-color-on, whitespace-color-off):
9544 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9545
0e6008c5
SM
95462013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9549 remapping in mode-line.
9550 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9551
627b52b0
DG
95522013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9553
9554 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9555 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9556 (whitespace-font-lock-keywords): Change description.
9557 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9558 the constructed keywords instead.
9559 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9560
50c3a20b
LL
95612013-03-19 Leo Liu <sdl.web@gmail.com>
9562
9563 * progmodes/compile.el (compilation-display-error): New command.
9564 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9565 C-o. (Bug#13992)
9566
2aa2157b
PE
95672013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9568
9569 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9570
e477dbfa
JD
95712013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9572
9573 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9574
64ab82d1
MA
95752013-03-18 Michael Albinus <michael.albinus@gmx.de>
9576
9577 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9578
9579 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9580 * net/tramp-gvfs.el (top):
9581 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9582 (tramp-handle-shell-command): Use it.
9583 (tramp-dissect-file-name): Raise an error when hostname is a
9584 method name, and neither method nor user is specified.
9585
9586 * net/trampver.el: Update release number.
9587
33cef733
LL
95882013-03-18 Leo Liu <sdl.web@gmail.com>
9589
9590 Make sure eldoc can be turned off properly.
9591 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9592 eldoc-mode.
9593 (eldoc-display-message-p): Revert last change.
9594 (eldoc-display-message-no-interference-p)
9595 (eldoc-print-current-symbol-info): Tweak.
9596
2167b7b2
TH
95972013-03-18 Tassilo Horn <tsdh@gnu.org>
9598
9599 * doc-view.el (doc-view-new-window-function): Check the new window
9600 overlay's display property instead the char property of the
9601 buffer's first char. Use `with-selected-window' instead of
9602 `save-window-excursion' with `select-window'.
9603 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9604 display property instead the char property of the buffer's first char.
2167b7b2 9605
982efbcd
PE
96062013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9607
9608 Automate the build of ja-dic.el (Bug#13984).
9609 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9610 from the input, rather than assume that it's been done for us by the
9611 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9612 the current date into a ja-dic.el comment, as that complicates
9613 regression testing.
9614
2fcc7665
SM
96152013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * whitespace.el: Fix double evaluation.
9618 (whitespace-space, whitespace-hspace, whitespace-tab)
9619 (whitespace-newline, whitespace-trailing, whitespace-line)
9620 (whitespace-space-before-tab, whitespace-indentation)
9621 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9622 obsolete defvars.
9623 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9624 (whitespace-color-on): Use a single font-lock-add-keywords call.
9625 Fix double-evaluation of face variables.
9626
67c0a6e6
MA
96272013-03-17 Michael Albinus <michael.albinus@gmx.de>
9628
2fcc7665
SM
9629 * net/tramp-adb.el (tramp-adb-parse-device-names):
9630 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9631 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9632
69489f1d
LL
96332013-03-17 Leo Liu <sdl.web@gmail.com>
9634
9635 Extend eldoc to display info in the mode-line. (Bug#13978)
9636 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9637 (eldoc-mode-line-string): New variable.
9638 (eldoc-minibuffer-message): New function.
9639 (eldoc-message-function): New variable.
9640 (eldoc-message): Use it.
9641 (eldoc-display-message-p)
2fcc7665
SM
9642 (eldoc-display-message-no-interference-p):
9643 Support eldoc-post-insert-mode.
69489f1d
LL
9644
9645 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9646 (eval-expression): Run it.
9647
9c44569e
RW
96482013-03-17 Roland Winkler <winkler@gnu.org>
9649
9650 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9651 strings in the list of return values.
9652
327f1f6f
JB
96532013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9654
9655 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9656 radix before checking for HMS forms.
9657
67ed8fcd
LL
96582013-03-16 Leo Liu <sdl.web@gmail.com>
9659
9660 * progmodes/scheme.el: Add indentation and font-locking for λ.
9661 (Bug#13975)
9662
78be8b64 96632013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9664
9665 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9666 token before point (bug#13942).
9667
78be8b64 96682013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9669
95b43468 9670 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9671
98e775e6
EZ
96722013-03-16 Eli Zaretskii <eliz@gnu.org>
9673
9674 * startup.el (command-line-normalize-file-name): Fix handling of
9675 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9676 <xfq.free@gmail.com> in
9677 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9678
2edd6029
MA
96792013-03-15 Michael Albinus <michael.albinus@gmx.de>
9680
9681 Sync with Tramp 2.2.7.
9682
9683 * net/trampver.el: Update release number.
9684
d35f5864
TH
96852013-03-14 Tassilo Horn <tsdh@gnu.org>
9686
e903c210 9687 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9688 (doc-view-insert-image): Don't modify overlay associated to
9689 non-live windows, and implement horizontal centering of image in
9690 case it's smaller than the window.
9691 (doc-view-new-window-function): Force redisplay of new windows on
9692 doc-view buffers.
d35f5864 9693
1c4a85ed
KF
96942013-03-13 Karl Fogel <kfogel@red-bean.com>
9695
9696 * saveplace.el (save-place-alist-to-file): Don't sort
9697 `save-place-alist', just pretty-print it (bug#13882).
9698
85b66a21
MA
96992013-03-13 Michael Albinus <michael.albinus@gmx.de>
9700
a020afb9
JB
9701 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9702 Check whether `default-file-name-coding-system' is bound.
9703 It isn't in XEmacs.
85b66a21 9704
175600da
SM
97052013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9706
e7f7cb1a
SM
9707 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9708 backquotes for `obsolete' (bug#13929).
9709
175600da
SM
9710 * international/mule.el (find-auto-coding): Include file name in
9711 obsolescence warning (bug#13922).
9712
ca68a22e
TZ
97132013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9714
9715 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9716 for CFEngine 3-specific indentation.
9717 (cfengine3-indent-line): Use it. Fix up category regex.
9718 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9719
940e5099
SM
97202013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * type-break.el (type-break-file-name):
9723 * textmodes/remember.el (remember-data-file):
9724 * strokes.el (strokes-file):
9725 * shadowfile.el (shadow-initialize):
9726 * saveplace.el (save-place-file):
9727 * ps-bdf.el (bdf-cache-file):
9728 * progmodes/idlwave.el (idlwave-config-directory):
9729 * net/quickurl.el (quickurl-url-file):
9730 * international/kkc.el (kkc-init-file-name):
9731 * ido.el (ido-save-directory-list-file):
9732 * emulation/viper.el (viper-custom-file-name):
9733 * emulation/vip.el (vip-startup-file):
9734 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9735 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9736
cc725808
PE
97372013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9738
9739 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9740 * language/thai-word.el: Switch to UTF-8.
9741
a020afb9 9742See ChangeLog.16 for earlier changes.
e3d51b27
MR
9743
9744;; Local Variables:
9745;; coding: utf-8
e3d51b27
MR
9746;; End:
9747
ab422c4d 9748 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9749
9750 This file is part of GNU Emacs.
9751
9752 GNU Emacs is free software: you can redistribute it and/or modify
9753 it under the terms of the GNU General Public License as published by
9754 the Free Software Foundation, either version 3 of the License, or
9755 (at your option) any later version.
9756
9757 GNU Emacs is distributed in the hope that it will be useful,
9758 but WITHOUT ANY WARRANTY; without even the implied warranty of
9759 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9760 GNU General Public License for more details.
9761
9762 You should have received a copy of the GNU General Public License
9763 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.