Minor doc fixes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
56cd894e
AS
12013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2
3 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4 interpolation curlies (Bug#15914).
5
014690de
JB
62013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7
8 * calc/calc.el (calc-context-sensitive-enter): New variable.
9 (calc-enter): Use `calc-context-sensitive-enter'.
10
7e26a6c3
TZ
112013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
12
13 * progmodes/cfengine.el: Version bump.
14 (cfengine-cf-promises): New defcustom to locate cf-promises.
15 (cfengine3-vartypes): Add new "data" type.
16 (cfengine3--current-word): New function to get current name-like
17 word or its bounds.
18 (cfengine3--current-function): New function to look up a CFEngine
19 function's definition.
20 (cfengine3-format-function-docstring): New function.
21 (cfengine3-make-syntax-cache): New function.
22 (cfengine3-documentation-function): New function: ElDoc glue.
23 (cfengine3-completion-function): New function: completion glue.
24 (cfengine3-mode): Set `compile-command',
25 `eldoc-documentation-function', and add to
26 `completion-at-point-functions'.
27
355204dd
MA
282013-11-16 Michael Albinus <michael.albinus@gmx.de>
29
30 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
31 `tramp-current-connection'.
32
43cebc23
DG
332013-11-15 Dmitry Gutov <dgutov@yandex.ru>
34
35 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
36 nil/self/true/false with "end of symbol".
37
a3fed6ff
BB
382013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
39
40 * subr.el (version-regexp-alist): Fix a typo.
41
e675b3e4
MA
422013-11-15 Michael Albinus <michael.albinus@gmx.de>
43
44 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
45 "en_US.utf8" and "LC_CTYPE" to "".
46 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
47 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
48
a1f03e89
LL
492013-11-15 Leo Liu <sdl.web@gmail.com>
50
51 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
52
5d9d9451
SM
532013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
54
58362662
CS
55 * progmodes/gud.el (ctl-x-map):
56 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
57 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
58
6c1bf086
BB
592013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
60
0d5363c4
BB
61 * subr.el (version-regexp-alist):
62 Recognize hg, svn and darcs versions as snapshot versions.
63
6c1bf086
BB
64 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
65 Add the ability to always insert an utf-8 encoding comment.
99f5d074 66 Fix and simplify coding comment update logic.
6c1bf086 67
2f7e72f8
MA
682013-11-14 Michael Albinus <michael.albinus@gmx.de>
69
70 * net/tramp-gvfs.el (top): Run init code only when
71 `tramp-gvfs-enabled' is not nil.
72 (tramp-gvfs-enabled): Check also :system bus.
73
0f137a73
SM
742013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 Sync with upstream verilog-mode revision 78e66ba.
77 * progmodes/verilog-mode.el (verilog-end-of-defun)
78 (verilog-type-completion, verilog-get-list): Remove unused funcs.
79 (verilog-get-end-of-defun): Remove unused argument.
80 (verilog-comment-depth): Remove unused local `e'.
81 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
82 Don't pass arg to verilog-get-end-of-defun.
83
1c276bdd
GM
842013-11-14 Glenn Morris <rgm@gnu.org>
85
86 * obsolete/assoc.el (aget): Prefix dynamic variable.
87
88 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
89
ff6ec81d
SM
902013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
91
92 * widget.el, hfy-cmap.el: Remove bogus package version number.
93
75f777b6
GM
942013-11-13 Glenn Morris <rgm@gnu.org>
95
1d43dba1
GM
96 * replace.el (replace-eval-replacement):
97 Try to give more helpful error message. (Bug#15836)
98
ff4b7bd5
GM
99 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
100 (archive-7z-update): Avoid custom type mismatches.
101
75f777b6
GM
102 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
103
11151a06
MA
1042013-11-13 Michael Albinus <michael.albinus@gmx.de>
105
e675b3e4 106 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
107 address can be empty.
108
109 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
110 Accept nil SWITCHES.
111 (tramp-gvfs-handle-write-region): Implement APPEND.
112
7b08f97e
DG
1132013-11-12 Dmitry Gutov <dgutov@yandex.ru>
114
115 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
116 binary "|" operator and closing block args delimiter.
117 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
118 (ruby-smie--implicit-semi-p): Not after "|" operator.
119 (ruby-smie--closing-pipe-p): New function.
120 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
121 (ruby-smie-rules): Indent after "|".
122
f201cf3a
GM
1232013-11-12 Glenn Morris <rgm@gnu.org>
124
125 * ps-print.el (ps-face-attribute-list):
126 Handle anonymous faces. (Bug#15827)
127
e6f759f9
MR
1282013-11-12 Martin Rudalics <rudalics@gmx.at>
129
130 * window.el (display-buffer-other-frame): Fix doc-string.
131 (Bug#15868)
132
ecda65d4
SM
1332013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * subr.el (force-mode-line-update): Delete, move to buffer.c.
136
7ce8fcc3
MA
1372013-11-11 Michael Albinus <michael.albinus@gmx.de>
138
139 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
140 (tramp-sh-handle-file-local-copy): Don't write a message when
141 saving temporary files.
142
143 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
144 both directories are remote.
145 (tramp-smb-handle-directory-files): Do not return double entries.
146 Do not expand full file names.
147 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
148 (tramp-smb-handle-write-region): Implement APPEND.
149 (tramp-smb-get-stat-capability): Fix a stupid bug.
150
7818df11
SM
1512013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
154
608c2085
NT
1552013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
156
157 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
158 throwing error over malformed let/let* (bug#15814).
159
122a7e46
SM
1602013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * iswitchb.el (iswitchb-mode): Mark obsolete.
163
766284d9
GM
1642013-11-11 Glenn Morris <rgm@gnu.org>
165
166 * international/uni-bidi.el, international/uni-category.el:
167 * international/uni-name.el, international/uni-numeric.el:
168 Regenerate for Unicode 6.3.0.
169
7072a4e9
MA
1702013-11-10 Michael Albinus <michael.albinus@gmx.de>
171
172 * net/tramp.el (tramp-methods):
173 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
174 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
175
c9df215b
AS
1762013-11-09 Andreas Schwab <schwab@linux-m68k.org>
177
608c2085
NT
178 * progmodes/sh-script.el (sh-font-lock-keywords-var):
179 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 180
fa47d796
DG
1812013-11-09 Dmitry Gutov <dgutov@yandex.ru>
182
183 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 184 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
185 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
186 (ispell-complete-word): Call `ispell-lookup-words' with the value
187 independent of `ispell-look-p'.
188
1629a329
DG
1892013-11-08 Dmitry Gutov <dgutov@yandex.ru>
190
191 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
192 Not after "||".
193 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
194 their parent.
195
ad16897c
SM
1962013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
199 (ruby-font-lock-keywords): Use backquote.
200
ffa2df72
DG
2012013-11-08 Dmitry Gutov <dgutov@yandex.ru>
202
203 * progmodes/ruby-mode.el (ruby-smie--forward-token)
204 (ruby-smie--backward-token): Only consider full-string matches.
205
5b97b4c0
JD
2062013-11-08 Jan Djärv <jan.h.d@swipnet.se>
207
208 * faces.el (describe-face): Add distant-foreground.
209
71731c03
BB
2102013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
211
ad16897c
SM
212 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
213 Use `ruby-encoding-magic-comment-style' to control the
71731c03
BB
214 style of the auto-inserted encoding comment.
215
da3b328d
DG
2162013-11-08 Dmitry Gutov <dgutov@yandex.ru>
217
ad16897c
SM
218 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
219 Use `smie-backward-sexp' with token argument.
da3b328d 220
1606c2d3
MA
2212013-11-08 Michael Albinus <michael.albinus@gmx.de>
222
223 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
224 Remove instrumentation code.
225
b0f4c320
GM
2262013-11-08 Glenn Morris <rgm@gnu.org>
227
228 * progmodes/autoconf.el (autoconf-mode):
229 Tweak comment-start-skip. (Bug#15822)
230
43668fb1
SM
2312013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
234 at bobp (bug#15826).
235 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
236
daddb3fd
DH
2372013-11-08 Darren Hoo <darren.hoo@gmail.com>
238
239 * man.el (Man-start-calling): New macro, extracted from
240 Man-getpage-in-background.
241 (Man-getpage-in-background): Use it.
242 (Man-update-manpage): New command.
243 (Man-mode-map): Bind it.
244
1f923923
DG
2452013-11-08 Dmitry Gutov <dgutov@yandex.ru>
246
247 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
248 of "and", "or", "&&" and "||".
249 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
250 argument. Prohibit opening curly brace because it could only be a
251 block opener in that position.
daddb3fd
DH
252 (ruby-smie--forward-token, ruby-smie--backward-token):
253 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
254 arguments.
255 (ruby-smie--indent-to-stmt): New function, seeks the end of
256 previous statement or beginning of buffer.
257 (ruby-smie-rules): Use it.
258 (ruby-smie-rules): Check if there's a ":" before a curly block
259 opener candidate; if there is, it's a hash.
260
3220d527
SM
2612013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
264 (cl--block-wrapper): Fix last accidental change.
265
1eb1f9e0
MA
2662013-11-07 Michael Albinus <michael.albinus@gmx.de>
267
268 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
269 Instrument, in order to hunt failure on hydra.
270
e6e4db3c
NT
2712013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
272
273 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
274 malformed bindings form (bug#15814).
275
b420ccfc
DG
2762013-11-07 Dmitry Gutov <dgutov@yandex.ru>
277
278 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
279 "." compared to " @ ". This incidentally fixes some indentation
280 examples with "do".
e6e4db3c 281 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
282 (ruby-smie-grammar): New tokens: "and" and "or".
283 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
284 Exclude "and" and "or". Remove "do" in order to work around token
285 priorities.
286 (ruby-smie-rules): Add all infix tokens. Handle the case of
287 beginning-of-buffer.
b420ccfc 288
6b4ac03e
GM
2892013-11-06 Glenn Morris <rgm@gnu.org>
290
291 * Makefile.in (setwins_almost, setwins_for_subdirs):
292 Avoid accidental matches.
293
5ca114d1
SM
2942013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * menu-bar.el (popup-menu): Use key-binding.
297
f72552bd
EZ
2982013-11-06 Eli Zaretskii <eliz@gnu.org>
299
300 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
301 menus, support also the menus produced by minor modes.
302 (Bug#15817)
303
5d5c701e
LL
3042013-11-06 Leo Liu <sdl.web@gmail.com>
305
306 * thingatpt.el (thing-at-point-looking-at): Add optional arg
307 DISTANCE to bound the search. All uses changed. (Bug#15808)
308
0a8b75e2
GM
3092013-11-06 Glenn Morris <rgm@gnu.org>
310
311 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
312 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
313 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 314
a35287ea
SM
3152013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
316
feca4e2d
SM
317 * electric.el (electric-indent-just-newline): New command.
318 (electric-indent-mode-map): New keymap.
319 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
320 Re-add :group which weren't redundant.
321
a35287ea
SM
322 * electric.el (electric-indent-local-mode): New minor mode.
323 (electric-indent-functions-without-reindent): New var.
324 (electric-indent-post-self-insert-function): Use it.
325 * emacs-lisp/gv.el (buffer-local-value): Add setter.
326
375761b2
EZ
3272013-11-05 Eli Zaretskii <eliz@gnu.org>
328
9a6ad735
EZ
329 * international/quail.el (quail-help): Be more explicit about the
330 meaning of the labels shown on the keys. (Bug#15800)
331
375761b2
EZ
332 * startup.el (normal-top-level): Load the subdirs.el files before
333 setting the locale environment. (Bug#15805)
334
520a6e4a
SM
3352013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
336
0acfafef
SM
337 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
338 via arguments so as to get the right ones (bug#15418).
339
520a6e4a
SM
340 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
341
15826261
MA
3422013-11-05 Michael Albinus <michael.albinus@gmx.de>
343
344 Fix problems found while writing a test suite.
345
346 * net/tramp-compat.el (tramp-compat-load): New defun.
347 * net/tramp.el (tramp-handle-load): Use it.
348
349 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
350 "(numberp ok-if-already-exists)" correctly.
351
d35f31a4
XF
3522013-11-05 Xue Fuqiao <xfq.free@gmail.com>
353
354 * international/characters.el (glyphless-char-display-control):
355 Add usage note.
356
ae93bc74
BB
3572013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
358
520a6e4a
SM
359 * progmodes/python.el (python-mode):
360 * progmodes/scheme.el (scheme-mode):
361 * progmodes/prolog.el (prolog-mode):
362 * progmodes/ruby-mode.el (ruby-mode):
363 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
364 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 365
0ade65b5
SM
3662013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
367
a0d5f7a4
SM
368 * rect.el (rectangle--highlight-for-redisplay):
369 * emacs-lisp/smie.el (smie--next-indent-change):
370 Use buffer-chars-modified-tick.
371
c93f3f5c
SM
372 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
373
0ade65b5
SM
374 * electric.el (electric-indent-post-self-insert-function):
375 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
376
ef9dd188
HE
3772013-11-04 Helmut Eller <eller.helmut@gmail.com>
378
379 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
380
306e7308
NT
3812013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
382
383 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
384 (bug#15786).
385
e5afbcac
SM
3862013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
387
1d01ad41
SM
388 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
389
e5afbcac
SM
390 * progmodes/python.el: Fix up last change.
391 (python-shell--save-temp-file): New function.
392 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
393 `string' comes from the current buffer.
394 (python-shell-send-string-no-output): Remove `msg' arg.
395 (python--use-fake-loc): New var.
396 (python-shell-buffer-substring): Obey it. Try to compensate for the
397 extra coding line added by python-shell--save-temp-file.
398 (python-shell-send-region): Use python-shell--save-temp-file and
399 python-shell-send-file directly. Add `nomain' argument.
400 (python-shell-send-buffer): Use python-shell-send-region.
401 (python-electric-pair-string-delimiter): New function.
402 (python-mode): Use it.
403
d0065ff1
EZ
4042013-11-04 Eli Zaretskii <eliz@gnu.org>
405
406 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
407 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
408 environment and decoding all of the default-directory's to here
409 from command-line.
410 (command-line): Decode also argv[0].
411
412 * loadup.el: Error out if default-directory is a multibyte string
413 when we are dumping.
414
415 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
416
7397c587
TZ
4172013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
418
419 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
420 (package-menu--print-info, package-menu--archive-predicate):
421 Add Archive column to package list.
7397c587 422
b27cc9fc
MA
4232013-11-04 Michael Albinus <michael.albinus@gmx.de>
424
425 Fix problems found while writing a test suite.
426
427 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
428 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
429 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
430 to nil when running original file name handler. Otherwise,
431 there are problems with constructs like "$$FOO".
432
433 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
434 for `localname'.
435
d8c4f18a
BB
4362013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
437
7b530552
BB
438 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
439
440 * subr.el (version<, version<=, version=):
441 Update docstrings with information for snapshot versions.
442
d8c4f18a
BB
443 * helpers.el: New library for misc helper functions.
444 (hash-table-keys): New function returning a list of hash keys.
445 (hash-table-values): New function returning a list of hash values.
446
dca01b09
DG
4472013-11-04 Dmitry Gutov <dgutov@yandex.ru>
448
449 * progmodes/ruby-mode.el (ruby-smie--forward-token)
450 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
451
0a749fa0
MN
4522013-11-04 Michal Nazarewicz <mina86@mina86.com>
453
454 * textmodes/fill.el (fill-single-char-nobreak-p): New function
455 checking whether point is after a 1-letter word.
456
4572013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
458
459 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
460 Don't infloop when expanding region over `multiline' syntax-type that
461 begins a line (bug#15778).
462
4aca7145
SM
4632013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
466 Make it into a proper minor mode.
467 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
468 (rectangle-mark-mode-map): New keymap.
469 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
470
a0833f62
GM
4712013-11-04 Glenn Morris <rgm@gnu.org>
472
473 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
474
e61845c1
SM
4752013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
478 (ruby-smie-rules): Use smie-rule-parent instead.
479
480 * emacs-lisp/smie.el (smie-rule-parent): Always call
481 smie-indent-virtual rather than only for hanging tokens.
482 (smie--next-indent-change): New helper command.
483
62942f89
GM
4842013-11-03 Glenn Morris <rgm@gnu.org>
485
486 * Makefile.in (abs_srcdir): Remove.
487 (emacs): Unset EMACSLOADPATH.
488
b0b9e592
GM
4892013-11-02 Glenn Morris <rgm@gnu.org>
490
18ba6a33 491 * Makefile.in (EMACS): Use a relative filename.
8061810d 492 (abs_top_builddir): Remove.
18ba6a33
GM
493 (custom-deps, finder-data, autoloads): Use --chdir.
494
6a8b929e
GM
495 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
496
c617f3d0
GM
497 Use relative filenames in TAGS files.
498 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
499 (lisptagsfiles4, TAGS): Use relative file names.
500 (TAGS-LISP): Remove.
501 (maintainer-clean): No more TAGS-LISP file.
502
b0b9e592
GM
503 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
504 (lisptagsfiles4): Use absolute filenames again.
505 (TAGS, TAGS-LISP): Not everything needs to run in one line.
506 Remove all *loaddefs files, not just the first. Remove esh-groups.
507 (maintainer-clean): Delete TAGS, TAGS-LISP.
508
d1c0ea6a
BB
5092013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
510
e61845c1
SM
511 * emacs-lisp/package.el (package-version-join):
512 Recognize snapshot versions.
d1c0ea6a 513
684d71c6
BB
5142013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
515
516 * subr.el (version-regexp-alist): Add support for snapshot versions.
517
3d42b968
DG
5182013-11-02 Dmitry Gutov <dgutov@yandex.ru>
519
e61845c1
SM
520 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
521 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
522 skip over our direct parent if it's an assignment token..
523 (ruby-smie-rules): Use it.
524
7ffd3721
DG
5252013-11-02 Dmitry Gutov <dgutov@yandex.ru>
526
527 * progmodes/ruby-mode.el Use `syntax-propertize-function'
528 unconditionally. Remove now unnecessary forward declarations.
529 Remove XEmacs-specific setup.
530 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
531 (ruby-font-lock-syntactic-keywords)
532 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
533 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
534 (ruby-here-doc-end-syntax): Remove.
535 (ruby-mode): Don't check whether `syntax-propertize-rules' is
536 defined as function.
537
a3996a2e
BB
5382013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
539
540 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
541
6f9260e8
BB
5422013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
543
544 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
545 table and abbrev table, `define-derived-mode' does that for us
546 anyway.
547
6014de84
GM
5482013-11-01 Glenn Morris <rgm@gnu.org>
549
550 * Makefile.in: Remove manual mh-e dependencies (writing .elc
551 files is atomic for some time, so no parallel compilation issues).
552
3c334c14
JD
5532013-11-01 Jan Djärv <jan.h.d@swipnet.se>
554
555 * faces.el (face-x-resources): Add :distant-foreground.
556 (region): Use :distant-foreground for gtk and ns.
557
9bc236c8
TH
5582013-11-01 Tassilo Horn <tsdh@gnu.org>
559
5246583b 560 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
561 BibTeX.
562 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
563 (reftex-locate-bibliography-files): Us it.
564
d14c81ee
CB
5652013-11-01 Claudio Bley <claudio.bley@googlemail.com>
566
0e7690de
CB
567 * image.el (image-type-header-regexps): Fix the 'pbm' part to
568 allow comments in pbm files.
569
d14c81ee
CB
570 * term/w32-win.el (dynamic-library-alist): Support newer versions
571 of libjpeg starting with v7: look only for the DLL from the
572 version against which Emacs was built.
ac1bf374 573 Support versions of libpng beyond 1.4.x.
019c8218 574 Support libtiff v4.x.
d14c81ee 575
983d0df5
BB
5762013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
577
578 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
579 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
580 Add property :safe.
581 (ruby-deep-arglist): Add property :type.
582
47f58d85
GM
5832013-10-31 Glenn Morris <rgm@gnu.org>
584
585 * Makefile.in (custom-deps, finder-data): No need to setq the target
586 variables, we are in the right directory and the defaults work fine.
587
4f85b479
GM
5882013-10-30 Glenn Morris <rgm@gnu.org>
589
ca7dd4cd
GM
590 * Makefile.in (autoloads): Do not use abs_lisp.
591
4f85b479
GM
592 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
593 `newline' does not respect `standard-output', so use `princ'.
594
cf59e41c
AA
5952013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
596
597 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
598 * buff-menu.el (Buffer-menu--unmark): New function.
599 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
600
74cf04fb
GM
6012013-10-30 Glenn Morris <rgm@gnu.org>
602
b040b60e
GM
603 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
604
f53d3815
GM
605 * emacs-lisp/package.el (lm-homepage): Declare.
606
5413d873
GM
607 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
608 Fix doc typos.
609
cecedb36
GM
610 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
611
74cf04fb
GM
612 * Makefile.in (finder-data, autoloads, update-subdirs)
613 (compile-main, compile-clean, compile-always, bootstrap-clean):
614 Check return value of cd.
615 (compile-calc): Remove.
616
195ee2f0
SM
6172013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
618
ae4002ce
SM
619 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
620
621 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
622 (byte-compile-and-folded): New function.
623 (=, <, >, <=, >=): Use it.
624
625 * dos-w32.el (minibuffer-history-case-insensitive-variables)
626 (path-separator, null-device, buffer-file-coding-system)
627 (lpr-headers-switches): Check system-type before modifying them.
628 (find-buffer-file-type-coding-system): Mark obsolete.
629 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
630 find-file-not-found-set-buffer-file-coding-system.
631 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
632 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
633 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
634 (w32-direct-print-region-helper, w32-direct-print-region-function)
635 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
636 * startup.el (normal-top-level-add-subdirs-to-load-path):
637 * ps-print.el (ps-print-region-function):
638 * lpr.el (print-region-function): Use new name.
639
53b39e89
SM
640 * subr.el (custom-declare-variable-early): Remove function.
641 (custom-declare-variable-list): Remove var.
642 (error, user-error): Remove `while' loop.
643 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
644 (user-emacs-directory-warning, locate-user-emacs-file):
645 Move to files.el.
646 * simple.el (read-quoted-char-radix, read-quoted-char):
647 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
648 Move from subr.el.
649 * custom.el (custom-declare-variable-list): Don't process
650 custom-declare-variable-list.
651
195ee2f0
SM
652 * progmodes/python.el (python-shell-get-buffer): New function.
653 (python-shell-get-process): Use it.
654 (python-shell-send-string): Always use utf-8 and add a cookie to tell
655 Python which encoding was used. Don't split-string since we only care
656 about the first line. Return the temp-file, if applicable.
657 (python-shell-send-region): Tell compile.el how to turn locations in
658 the temp-file into locations in the source buffer.
659
7e3561ee
SM
6602013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
661
4c9797cb
SM
662 * subr.el (undefined): Add missing behavior from the C code for
663 unbound keys.
664
3472b6c6
SM
665 * rect.el: Use lexical-binding. Add new rectangular region support.
666 (rectangle-mark): New command.
667 (rectangle--region): New var.
668 (deactivate-mark-hook): Reset rectangle--region.
669 (rectangle--extract-region, rectangle--insert-for-yank)
670 (rectangle--highlight-for-redisplay)
671 (rectangle--unhighlight-for-redisplay): New functions.
672 (region-extract-function, redisplay-unhighlight-region-function)
673 (redisplay-highlight-region-function): Use them to handle
674 rectangular region.
675 * simple.el (region-extract-function): New var.
676 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
677 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
678 (kill-region): Replace obsolete `yank-handler' arg with `region'.
679 (copy-region-as-kill, kill-ring-save): Add `region' argument.
680 (redisplay-unhighlight-region-function)
681 (redisplay-highlight-region-function): New vars.
682 (redisplay--update-region-highlight): New function.
683 (pre-redisplay-function): Use it.
684 (exchange-point-and-mark): Don't deactivate the mark before
685 reactivate-it anyway.
686 * comint.el (comint-kill-region): Remove yank-handler argument.
687 * delsel.el (delete-backward-char, backward-delete-char-untabify)
688 (delete-char): Remove property, since it's now part of their
689 default behavior.
690 (self-insert-iso): Remove property since this command doesn't exist.
691
7e3561ee
SM
692 * emacs-lisp/package.el (package--download-one-archive)
693 (describe-package-1): Don't query the user about final newline.
694
b9bef71f
DC
6952013-10-29 Daniel Colascione <dancol@dancol.org>
696
697 * net/tramp.el (tramp-methods): Document new functionality.
698 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
699 tramp-hostname-checker if method provides one instead of scanning
700 argument list for "%h" to decide hostname acceptability.
701
4efc33f0
MA
7022013-10-28 Michael Albinus <michael.albinus@gmx.de>
703
704 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
705 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
706 Handle COPY-CONTENTS. (Bug#15737)
707
ed42a877
DU
7082013-10-28 Daiki Ueno <ueno@gnu.org>
709
710 * epa-file.el
7e3561ee
SM
711 (epa-file-cache-passphrase-for-symmetric-encryption):
712 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 713
18c9f8a2
XF
7142013-10-27 Xue Fuqiao <xfq.free@gmail.com>
715
7a4bc7be
XF
716 * image.el (defimage):
717 (image-load-path): Doc fixes.
18c9f8a2 718
b1e8e010
AM
7192013-10-27 Alan Mackenzie <acm@muc.de>
720
721 Indent statements in macros following "##" correctly.
7e3561ee
SM
722 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
723 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 724
73d40d1e 7252013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
726
727 * linum.el (linum-update-window): Fix boundary test (bug#13446).
728
c8c605ac
DG
7292013-10-27 Dmitry Gutov <dgutov@yandex.ru>
730
731 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
732 after `=' is probably a new expression.
733
ca7e59d4
RS
7342013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
735
736 * man.el (man-imenu-title): New option.
737 (Man-mode-map): Add menu. (Bug#15722)
738 (Man-mode): Add imenu to menu.
739
bae91342
DG
7402013-10-26 Dmitry Gutov <dgutov@yandex.ru>
741
742 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
743 specific in what the first arg can be: a non-keyword word,
744 string/regexp/percent literal opener, opening paren, or unary
745 operator followed directly by word.
746
eb89dc14
SM
7472013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
750 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
751 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
752 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
753 Remove vars, they do not apply any more.
754 (prolog-mode-abbrev-table): Remove redundant declaration.
755 (prolog-upper-case-string, prolog-lower-case-string): Remove.
756 (prolog-use-smie): Remove.
757 (prolog-smie-rules): Add indentation rule for the if-then-else layout
758 supported by prolog-electric-if-then-else-flag.
759 (prolog-mode-variables, prolog-menu): Use setq-local.
760 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
761 Remove binding to `Backspace' since this key doesn't exist anyway.
762 Remove bindings for electric self-inserting keys.
763 (prog-mode): Assume it's defined.
764 (prolog-post-self-insert): New function.
765 (prolog-mode): Use it.
766 (prolog-indent-line, prolog-indent-level)
767 (prolog-find-indent-of-matching-paren)
768 (prolog-indentation-level-of-line, prolog-goto-comment-column)
769 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
770 (prolog-goto-next-paren, prolog-in-string-or-comment)
771 (prolog-tokenize, prolog-inside-mline-comment)
772 (prolog-find-start-of-mline-comment): Remove functions.
773 (prolog-find-unmatched-paren, prolog-clause-end)
774 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
775 (prolog-electric--if-then-else): Rename from
776 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
777 (prolog-tokenize-searchkey): Remove const.
778 (prolog-clause-info): Use forward-sexp.
779 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
780 (prolog-electric-if-then-else): Remove commands.
781 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
782 for use in post-self-insert-hook.
783 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
784 for use in post-self-insert-hook.
785 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
786 for use in post-self-insert-hook.
787 (prolog-electric--underscore): Rename from prolog-electric--underscore;
788 adapt it for use in post-self-insert-hook.
789
3dab0a83
MA
7902013-10-25 Michael Albinus <michael.albinus@gmx.de>
791
792 * emacs-lisp/ert.el (ert-run-tests-interactively):
793 Use `completing-read'. (Bug#9756)
794
fbfd0e1d
EZ
7952013-10-25 Eli Zaretskii <eliz@gnu.org>
796
797 * simple.el (line-move): Call line-move-1 instead of
798 line-move-visual when the current window hscroll is zero, but
799 temporary-goal-column indicates we will need to hscroll as result
800 of the movement. (Bug#15712)
801
963ce636
DG
8022013-10-25 Dmitry Gutov <dgutov@yandex.ru>
803
804 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
805 capitalization. Use :visible instead of :active.
806 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
807 commands that are used with SMIE.
808 (ruby-do-end-to-brace): Insert space after `{'.
809
a0be396a
JA
8102013-10-25 John Anthony <john@jo.hnanthony.com>
811
f73754c9
JA
812 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
813
814 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 815
f5bf77df
GM
8162013-10-25 Glenn Morris <rgm@gnu.org>
817
818 * vc/vc.el (vc-print-log): Don't use a working revision unless
819 one was explicitly specified. (Bug#15322)
820
37241f62
SM
8212013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * subr.el (add-to-list): Preserve return value in compiler-macro
824 (bug#15692).
825
6408a65d
RS
8262013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
827
828 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
829 result. Ask user to retry using '-all' flag. (Bug#15701)
830
71e3276b
SM
8312013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 * emacs-lisp/smie.el: New smie-config system.
834 (smie-config): New defcustom.
835 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
836 (smie-config-guess, smie-config-save): New commands.
837 (smie-config--mode-local, smie-config--buffer-local)
838 (smie-config--trace, smie-config--modefuns): New vars.
839 (smie-config--advice, smie-config--mode-hook)
840 (smie-config--setter, smie-config-local, smie-config--get-trace)
841 (smie-config--guess-value, smie-config--guess): New functions.
842 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
843 text properties. Treat "string fence" syntax like string syntax.
844
845 * progmodes/sh-script.el (sh-use-smie): Change default.
846 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
847 (sh-var-value): Simplify by CSE.
848 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
849 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
850 is used.
851 (sh-guess-basic-offset): Use cl-incf.
852 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
853
60db713e
HE
8542013-10-24 Helmut Eller <eller.helmut@gmail.com>
855
856 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
857 (bug#15699).
858
8b251df6
GM
8592013-10-24 Glenn Morris <rgm@gnu.org>
860
861 * Makefile.in (abs_top_srcdir): Remove.
862 (update-subdirs): Use relative path to update-subdirs.
863
6be0e22b
EZ
8642013-10-24 Eli Zaretskii <eliz@gnu.org>
865
866 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
867 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
868 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
869 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 870
50b5b857
MA
8712013-10-24 Michael Albinus <michael.albinus@gmx.de>
872
873 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
874 (ert-test-skipped): New error.
875 (ert-skip, ert-stats-skipped): New defuns.
876 (ert--skip-unless): New macro.
877 (ert-test-skipped): New struct.
878 (ert--run-test-debugger, ert-test-result-type-p)
879 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
880 (ert--stats-set-test-and-result, ert-char-for-test-result)
881 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 882 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 883 Handle skipped tests. (Bug#9803)
50b5b857 884
6f317c2f
GM
8852013-10-24 Glenn Morris <rgm@gnu.org>
886
e43817c1
GM
887 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
888
6f317c2f
GM
889 * Makefile.in (abs_top_srcdir): New, set by configure.
890 (update-subdirs): Correct build-aux location.
891
369bbf71
DG
8922013-10-24 Dmitry Gutov <dgutov@yandex.ru>
893
8297b2cf
DG
894 * vc/vc.el (vc-print-root-log): Always set `default-directory'
895 value, whether we could auto-deduce `backend', or not.
896
369bbf71
DG
897 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
898 with parameters" example. Simplify the "is it block or is it
899 hash" check, but also make it more thorough.
900
d5f1282f
MF
9012013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
902
903 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
904
bc4aaa31
SM
9052013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
906
03d44565
SM
907 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
908 { if it is hanging.
909
bc4aaa31
SM
910 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
911 :before ";".
912
f493ff19
JB
9132013-10-23 Jed Brown <jed@59A2.org> (tiny change)
914
915 * progmodes/compile.el (compilation-directory-matcher)
916 (compilation-page-delimiter):
917 Support GNU Make-4.0 directory quoting. (Bug#15678)
918
c744a3b9
LL
9192013-10-23 Leo Liu <sdl.web@gmail.com>
920
921 * ido.el (ido-tidy): Handle read-only text.
922
b8e3b0a9
GM
9232013-10-23 Glenn Morris <rgm@gnu.org>
924
925 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
926 (emacs, compile, compile-always):
927 Quote entities that might contain whitespace.
928 (custom-deps, finder-data, autoloads): Use abs_lisp.
929 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
930 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
931 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
932
ee4282cd
DG
9332013-10-23 Dmitry Gutov <dgutov@yandex.ru>
934
bc4aaa31
SM
935 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
936 Use `following-char'.
7790a270 937
ee4282cd 9382013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
939
940 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
941 * progmodes/ruby-mode.el (ruby-smie-rules):
942 Remove corresponding workaround. Fix indentation rule of ";" so it
943 also applies when ";" is the parent.
944
d40a46d7
XF
9452013-10-22 Xue Fuqiao <xfq.free@gmail.com>
946
947 * frame.el (display-screens, display-pixel-height)
948 (display-pixel-width, display-mm-width, display-backing-store)
949 (display-save-under, display-planes, display-color-cells)
7790a270
SM
950 (display-visual-class, display-monitor-attributes-list):
951 Mention the optional ‘display’ argument in doc strings.
d40a46d7 952
a0f143c9
MG
9532013-10-22 Michael Gauland <mikelygee@amuri.net>
954
955 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
956 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
957
18cacc39
DG
9582013-10-21 Dmitry Gutov <dgutov@yandex.ru>
959
960 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
961 TODO. Add "." after " @ ".
962 (ruby-smie--at-dot-call): New function. Checks if point at method
963 call with explicit target.
964 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
965 to the method name tokens when it precedes them.
966 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
967 (ruby-smie-rules): Add rule for indentation before and after "."
968 token.
969
df74c4be
SM
9702013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
971
c6dab55f
SM
972 * textmodes/remember.el (remember-diary-extract-entries):
973 Avoid add-to-list.
974
df74c4be
SM
975 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
976 an instruction.
977
8c1ae481
DG
9782013-10-21 Dmitry Gutov <dgutov@yandex.ru>
979
cfef16c0
DG
980 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
981 (ruby-smie--implicit-semi-p): Add new operator chars.
982
8c1ae481
DG
983 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
984 `smie-down-list'.
985 (ruby-smie--args-separator-p): Check that there's no newline
986 between method call and its arguments.
987
87756ca9
AM
9882013-10-20 Alan Mackenzie <acm@muc.de>
989
990 Allow comma separated lists after Java "implements".
991
df74c4be
SM
992 * progmodes/cc-engine.el (c-backward-over-enum-header):
993 Parse commas.
87756ca9
AM
994 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
995 from a "disallowed" list in enum fontification.
996
c25f8957
JB
9972013-10-20 Johan Bockgård <bojohan@gnu.org>
998
df74c4be 999 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1000
c25f8957
JB
1001 * progmodes/verilog-mode.el (verilog-mode): Don't set
1002 comment-indent-function globally.
1003
aca5fcdc
JD
10042013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1005
5f161884
JD
1006 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1007 Move Info menu item creation to ns-win.el.
1008
1009 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1010 in menu bar.
1011
aca5fcdc
JD
1012 * menu-bar.el: Move GNUStep specific menus...
1013
1014 * term/ns-win.el (ns-initialize-window-system): ... to here.
1015
914b7f98
SM
10162013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * simple.el (newline): Only run post-self-insert-hook when
1019 called interactively.
1020
846ffe77
JB
10212013-10-19 Johan Bockgård <bojohan@gnu.org>
1022
1023 * icomplete.el (icomplete-with-completion-tables): Add :version.
1024
033f22dd
AM
10252013-10-19 Alan Mackenzie <acm@muc.de>
1026
1027 Fix fontification bugs with constructors and const.
1028
1029 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1030 CASE 2) Remove the check for the absence of a suffix construct
1031 after a function declaration with only types (no identifiers) in
1032 the parentheses. Also, accept a function declaration with just a
1033 type inside the parentheses, if this type can be positively
1034 recognised as such, or if a prefix keyword like "explicit" nails
1035 down the construct as a declaration.
1036
58ce0cfc
EZ
10372013-10-19 Eli Zaretskii <eliz@gnu.org>
1038
1039 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1040 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1041 the problem whereby selecting a menu item that leads to a
1042 minibuffer prompt moves the cursor out of the minibuffer window,
1043 making it hard to type at the prompt. Suggested by Stefan Monnier
1044 <monnier@iro.umontreal.ca>.
1045
50e28e7d
JD
10462013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1047
1048 * menu-bar.el: Don't make Services menu.
1049
7deed4bf
RS
10502013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1051
1052 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1053 (ffap-alist): Use ffap-c++-mode for c++-mode.
1054 (ffap-c++-path): New variable.
1055 (ffap-c++-mode): New function.
1056
7bcb455b
JVJ
10572013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1058
1059 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1060
f0ff1cd5
MA
10612013-10-18 Michael Albinus <michael.albinus@gmx.de>
1062
1063 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1064 introduced on 2013-09-08, which results in an infinite loop
1065 requesting a password.
1066
d64da4b7
GM
10672013-10-18 Glenn Morris <rgm@gnu.org>
1068
1069 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1070
ea89ff08
WS
10712013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1072
1073 Sync with upstream verilog-mode revision 1a6ecec7.
1074 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1075 (verilog-mode-release-date): Remove.
1076 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1077 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1078 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1079 (verilog-auto-tieoff-ignore-regexp)
1080 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1081 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1082 (verilog-signals-with, verilog-dir-cache-preserving)
1083 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1084 Doc fixes.
1085 (verilog-case-fold): New option, to control case folding in
1086 regexp searches, bug597.
1087 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1088 (verilog-string-match-fold, verilog-in-paren-count)
1089 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1090 (verilog-at-close-struct-p): New functions.
1091 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1092 (verilog-forward-sexp, verilog-set-auto-endcomments):
1093 (verilog-leap-to-case-head): Handle "unique0" case.
1094 (verilog-in-constraint-re): New constant.
1095 (verilog-keywords, verilog-type-font-keywords):
1096 Add some SystemVerilog 1800-2012 keywords.
1097 (verilog-label-be): Remove unimplemented argument, bug669.
1098 (verilog-batch-execute-func): When batch expanding clear
1099 create-lockfiles to prevent spurious user locks when a file ends
1100 up not changing.
1101 (verilog-calculate-indent, verilog-calc-1)
1102 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1103 (verilog-do-indent): Fix indentation of nested constraints
1104 and structures.
1105 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1106 (verilog-auto-inst-param): Use verilog-string-match-fold.
1107 (verilog-read-inst-module-matcher):
1108 Fix AUTOINST on gate primitives with #1.
1109 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1110 Reads all user-defined typed variables.
1111 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1112 (verilog-signals-matching-regexp)
1113 (verilog-signals-not-matching-regexp, verilog-auto):
1114 Respect verilog-case-fold.
1115 (verilog-diff-report): Fix line count.
1116 (verilog-auto-assign-modport): Remove unused local `modi'.
1117 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1118 better handle multidimensional arrays.
1119 Fix packed array ports misadding bit index in AUTOINST, bug637.
1120 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1121 to not double-declare existing outputs and inputs, respectively.
1122 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1123 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1124 (verilog-sk-uvm-component): New skeleton.
1125 (verilog-submit-bug-report): Add verilog-case-fold,
1126 remove verilog-mode-release-date.
1127
ef566920
BR
11282013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1129
1130 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1131 as before.
1132
29df8a0b
RT
11332013-10-18 Reuben Thomas <rrt@sc3d.org>
1134
1135 * textmodes/remember.el (remember): set buffer-offer-save in
1136 remember buffers (bug#13566).
1137
04a19a79
DC
11382013-10-18 Daniel Colascione <dancol@dancol.org>
1139
1140 When evaluating forms in ielm, direct standard output to ielm
1141 buffer. Add new ielm-return-for-effect command. Remove trailing
1142 whitespace throughout.
1143
1144 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1145 (ielm-return-for-effect): New command.
1146 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1147 (ielm-eval-input): Accept optional `for-effect' parameter.
1148 Bind `standard-output' to stream we create using
04a19a79
DC
1149 `ielm-standard-output-impl'. Suppress printing result when
1150 `for-effect'.
1151 (ielm-standard-output-impl): New function.
1152 (inferior-emacs-lisp-mode): Explain new features in documentation.
1153
4c1f03ef
MA
11542013-10-17 Michael Albinus <michael.albinus@gmx.de>
1155
1156 Code cleanup.
1157
1158 * net/tramp.el (tramp-debug-message): Do not check for connection
1159 buffer.
1160 (tramp-message): Use "vector" connection property.
1161
1162 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1163 (tramp-equal-remote, tramp-eshell-directory-change)
1164 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1165 (tramp-adb-handle-rename-file)
1166 * net/tramp-cmds.el (tramp-list-remote-buffers)
1167 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1168 * net/tramp-compat.el (tramp-compat-process-running-p)
1169 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1170 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1171 (tramp-gvfs-handle-rename-file)
1172 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1173 (tramp-set-file-uid-gid)
1174 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1175 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1176 of `file-remote-p'.
1177
1178 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1179 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1180 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1181 (tramp-gw-open-network-stream): Suppress unrelated traces.
1182
1183 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1184 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1185 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1186 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1187 connection property.
1188
1189 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1190 persistency file.
4c1f03ef
MA
1191
1192 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1193 Refactor common code. Improve debug message.
1194 (tramp-maybe-open-connection)
1195 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1196 connection buffer too early.
1197
1198 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1199 from `tramp-smb-actions-with-acl'.
1200 (tramp-smb-actions-set-acl): New defconst.
1201 (tramp-smb-handle-copy-directory)
1202 (tramp-smb-action-get-acl): New defun, renamed from
1203 `tramp-smb-action-with-acl'.
1204 (tramp-smb-action-set-acl): New defun.
1205 (tramp-smb-handle-set-file-acl): Rewrite.
1206
642eb8b6
GM
12072013-10-17 Glenn Morris <rgm@gnu.org>
1208
1209 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1210
85527ff3
SM
12112013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1212
921c1d62
SM
1213 * skeleton.el (skeleton-newline): Remove.
1214 (skeleton-internal-1): Use (insert "\n") instead.
1215
e333fb10
SM
1216 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1217 let-bindings.
1218
85527ff3
SM
1219 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1220 forward-sexp-function while we redo its job (bug#15613).
1221
c8722a97
JB
12222013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1223
1224 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1225 represented by lists.
1226
7a550bbb
GM
12272013-10-16 Glenn Morris <rgm@gnu.org>
1228
1229 * tmm.el (tmm--history): New dynamic variable.
1230 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1231
f19da8ad
MA
12322013-10-16 Michael Albinus <michael.albinus@gmx.de>
1233
1234 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1235 (tramp-smb-errors): Add error messages.
1236 (tramp-smb-actions-with-acl): New defconst.
1237 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1238 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1239 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1240 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1241 (tramp-smb-get-stat-capability): Fix tests.
1242
a24b9961
DK
12432013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1244
1245 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1246 (bug#15580).
1247
62ad85e6
GM
12482013-10-16 Glenn Morris <rgm@gnu.org>
1249
0283d6b0
GM
1250 * ansi-color.el (ansi-color-drop-regexp):
1251 Add 1J, 1K, 2K. (Bug#15617)
1252
012e2f9f
GM
1253 * files.el (hack-local-variables--warned-lexical): New.
1254 (hack-local-variables):
1255 Warn about misplaced lexical-binding. (Bug#15616)
1256
62ad85e6
GM
1257 * net/eww.el (eww-render): Always set eww-current-url,
1258 and update header line. (Bug#15622)
1259 (eww-display-html): ... Rather than just doing it here.
1260
6456c0ea
EZ
12612013-10-15 Eli Zaretskii <eliz@gnu.org>
1262
1263 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1264 menu navigations commands.
1265
c2de5588
DK
12662013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1267
1268 * progmodes/subword.el (subword-capitalize): Be careful when
1269 the search for [[:alpha:]] fails (bug#15580).
1270
ccd4a783
EZ
12712013-10-14 Eli Zaretskii <eliz@gnu.org>
1272
1273 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1274 to commands that scroll the menu.
1275
1eda1d8d
DG
12762013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1277
c2de5588
DK
1278 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1279 Handle methods ending with `?' and `!'.
1eda1d8d 1280
e70181b8
AM
12812013-10-14 Akinori MUSHA <knu@iDaemons.org>
1282
1283 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1284 `japanese-cp932' to `cp932' to fix the problem where saving a
1285 source file written in Shift_JIS twice would end up having
1286 `coding: japanese-cp932' which Ruby could not recognize.
1287 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1288 in `ruby-encoding-map'.
1289 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1290 doesn't need to be explicitly declared in magic comment.
1291 (ruby-encoding-map): Add type declaration for better customize UI.
1292
9148ee92
GM
12932013-10-13 Glenn Morris <rgm@gnu.org>
1294
a5d38e34
GM
1295 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1296 Occur buffers are read-only. http://bugs.debian.org/720775
1297
9148ee92
GM
1298 * emacs-lisp/authors.el (authors-fixed-entries):
1299 Comment out old alpha stuff.
1300
a9ba094b
DG
13012013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1302
1303 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1304 to `after-save-hook' instead of `before-save-hook'.
1305 (ruby-mode-set-encoding): Use the value of coding system used to
1306 write the file. Call `basic-save-buffer-1' after modifying the
1307 buffer.
1308
7a068717
AM
13092013-10-13 Alan Mackenzie <acm@muc.de>
1310
1311 Fix indentation/fontification of Java enum with
1312 "implements"/generic.
1313
c2de5588
DK
1314 * progmodes/cc-engine.el (c-backward-over-enum-header):
1315 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1316 (c-inside-bracelist-p): Uses new function above.
1317 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1318 function above.
1319 (c-font-lock-enum-tail): Uses new function above.
1320
85b64f02
KH
13212013-10-13 Kenichi Handa <handa@gnu.org>
1322
1323 * international/mule-cmds.el (select-safe-coding-system): Remove a
1324 superfluous condition in chekcing whether a coding system is safe
1325 or not.
1326
fc7f501b
OK
13272013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1328
1329 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1330
fdcb2049
AP
13312013-10-13 Andreas Politz <politza@hochschule-trier.de>
1332
1333 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1334
8c106d17
GM
13352013-10-13 Glenn Morris <rgm@gnu.org>
1336
feab892d
GM
1337 * menu-bar.el (menu-bar-update-buffers):
1338 Unify Buffers menu prompt string. (Bug#15576)
1339
b22d0686
GM
1340 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1341
8c106d17
GM
1342 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1343 Add some entries.
1344 (authors-fixed-entries): Use accented form of name.
1345
1b12c797
SM
13462013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1347
650fa7bf 1348 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1349 method calls (bug#15594).
650fa7bf
SM
1350 (ruby-smie--args-separator-p): New function.
1351 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1352 recognize paren-free method calls.
1353
1b12c797
SM
1354 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1355 internals of universal-argument.
1356
029619c8
EZ
13572013-10-11 Eli Zaretskii <eliz@gnu.org>
1358
1359 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1360 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1361 dropped menu on second mouse click on the menu bar.
029619c8 1362
dd070019
SM
13632013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1366 (explicit-shell-file-name): Declare.
1367 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1368 (sh-completion-at-point-function): New function.
1369 (sh-mode): Use it.
1370 (sh-smie--keyword-p): Remove unused argument.
1371 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1372 vars.
1373 (sh-set-shell): Always setup SMIE, even if we use the
1374 old indentation code.
1375
0922b826
DG
13762013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1377
b68e2926
DG
1378 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1379 cases of ? and =.
1380 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1381 predicate would return nil are almost non-existent.
1382 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1383
0922b826
DG
1384 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1385 cache also after commands that modify the buffer but don't move
1386 point.
1387
ee041f2d
SM
13882013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * env.el (substitute-env-in-file-name): New function.
1391 (substitute-env-vars): Extend the meaning of the optional arg.
1392
a5dab159
EZ
13932013-10-10 Eli Zaretskii <eliz@gnu.org>
1394
1395 * term/w32-win.el (dynamic-library-alist): Define separate lists
1396 of GIF DLLs for versions before and after 5.0.0 of giflib.
1397 (Bug#15531)
1398
db138698
JT
13992013-10-10 João Távora <joaotavora@gmail.com>
1400
1401 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1402 not locked, use last revision and current source as
1403 defaults. (Bug#15569)
1404
2f6e161e
MY
14052013-10-10 Masatake YAMATO <yamato@redhat.com>
1406
1407 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1408 menu-bar is hidden.
1409
6c8413fc
MR
14102013-10-10 Martin Rudalics <rudalics@gmx.at>
1411
1412 * window.el (pop-to-buffer-same-window): Fix doc-string.
1413 (Bug#15492)
1414
20832de0
SM
14152013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1418
c6e8ae77
AC
14192013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1420
1421 * calendar/icalendar.el (icalendar-import-file):
1422 Fix interactive spec. (Bug#15482)
1423
9db13baf
GM
14242013-10-10 Glenn Morris <rgm@gnu.org>
1425
9271e90e
GM
1426 * desktop.el (desktop-save): Default to saving in .emacs.d,
1427 since PWD is no longer in desktop-path by default. (Bug#15319)
1428
9db13baf
GM
1429 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1430 now that text mode has a menu with the same entry.
1431 (menu-bar-text-mode-auto-fill): Remove now unused func.
1432 * textmodes/text-mode.el (text-mode-map):
1433 Use auto-fill help text from menu-bar.el.
1434
a0be396a 14352013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1436
1437 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1438
2edcd3c7
JL
14392013-10-09 Juri Linkov <juri@jurta.org>
1440
1441 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1442 instead of this-command-keys. Add universal-argument-more and
1443 universal-argument-minus to the list of prefix commands. (Bug#15568)
1444
574411d0
GM
14452013-10-09 Glenn Morris <rgm@gnu.org>
1446
14afa541
GM
1447 * vc/vc-svn.el (vc-svn-create-repo):
1448 Expand paths in file://... url. (Bug#15446)
1449
574411d0
GM
1450 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1451 Add some entries.
1452 (authors): Remove unused local variables.
1453
79804536
SM
14542013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1455
1456 * profiler.el: Create a more coherent calltree from partial backtraces.
1457 (profiler-format): Hide the tail with `invisible' so that C-s can still
1458 find the hidden elements.
1459 (profiler-calltree-depth): Don't recurse so enthusiastically.
1460 (profiler-function-equal): New hash-table-test.
1461 (profiler-calltree-build-unified): New function.
1462 (profiler-calltree-build): Use it.
1463 (profiler-report-make-name-part): Indent the calltree less.
1464 (profiler-report-mode): Add visibility specs for profiler-format.
1465 (profiler-report-expand-entry, profiler-report-toggle-entry):
1466 Expand the whole subtree when provided with a prefix arg.
1467
238150c8
DG
14682013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1469
1470 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1471 iuwu-mod token.
1472 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1473 hanging iuwu-mod token.
1474 (ruby-smie--forward-token): Do not include a dot after a token in
1475 that token.
1476 (ruby-smie--backward-token): Likewise.
1477
b0949cc4
JL
14782013-10-08 Juri Linkov <juri@jurta.org>
1479
1480 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1481 to isearch-other-control-char.
1482 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1483 and isearch-post-command-hook to post-command-hook.
1484 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1485 and isearch-post-command-hook from post-command-hook.
1486 (isearch-unread-key-sequence)
1487 (isearch-reread-key-sequence-naturally)
1488 (isearch-lookup-scroll-key, isearch-other-control-char)
1489 (isearch-other-meta-char): Remove functions.
1490 (isearch-pre-command-hook, isearch-post-command-hook):
1491 New functions based on isearch-other-meta-char rewritten
1492 relying on the new behavior of overriding-terminal-local-map
1493 that does not replace the local keymaps any more. (Bug#15200)
1494
4ed77415
EZ
14952013-10-08 Eli Zaretskii <eliz@gnu.org>
1496
1497 Support menus on text-mode terminals.
1498 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1499 functionality.
1500
1501 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1502
c2de5588
DK
1503 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1504 Move here from mouse.el.
4ed77415
EZ
1505 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1506 and arrow keys.
1507 (tty-menu-navigation-map): New map for TTY menu navigation.
1508
1509 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1510
1511 * frame.el (display-mouse-p): Report text-mode mouse as available
1512 on w32.
1513 (display-popup-menus-p): Report availability if mouse is
1514 available; don't condition on window-system.
1515
1516 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1517 (tty-menu-selected-face): New faces.
1518
b7d5bd82
TL
15192013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1520
06286513
SM
1521 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1522 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1523 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1524 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1525 New constants.
1526 (lisp-mode-variables): New `elisp' argument.
1527 (emacs-lisp-mode): Use it.
1528 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1529 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1530
b7d5bd82
TL
1531 * indent.el: Use lexical-binding.
1532 (indent-region): Add progress reporter.
1533 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1534 last step.
1535 (indent--next-tab-stop): New function to implement this behavior.
1536 (tab-to-tab-stop, move-to-tab-stop): Use it.
1537
15382013-10-08 Teemu Likonen <tlikonen@iki.fi>
1539
1540 * indent.el (indent-rigidly--current-indentation): New function.
1541 (indent-rigidly-map): New var.
1542 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1543
5ea75d23
BG
15442013-10-08 Bastien Guerry <bzg@gnu.org>
1545
1546 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1547
cc5da1ec
SM
15482013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1549
8ffa1a0b
SM
1550 * progmodes/perl-mode.el: Use lexical-binding.
1551 Remove redundant :group args.
1552 (perl-nochange): Change default to be closer to other major modes's
1553 standard behavior.
1554 (perl-indent-line): Don't consider text on current line as a
1555 valid beginning of function from which to indent.
1556
f2223371
SM
1557 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1558 with more than one argument (bug#15538).
1559
44256060
SM
1560 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1561
cc5da1ec
SM
1562 * vc/pcvs.el: Use lexical-binding.
1563 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1564 environment of `eval'.
1565 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1566 than a list of expressions. Adjust callers.
1567 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1568
0ea1599d
DG
15692013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1570
1571 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1572 case of the dot in a chained method call being on the following line.
0ea1599d 1573
da3e5ebb
SM
15742013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1575
2abb4e65
SM
1576 * electric.el (electric-indent-inhibit): New var.
1577 (electric-indent-post-self-insert-function): Use it.
1578 * progmodes/python.el (python-mode): Set it.
1579
d2e0e795
SM
1580 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1581 open braces.
1582
1583 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1584
bdc6b4c8
SM
1585 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1586 (css-mode): Use electric-indent-chars.
1587
da3e5ebb
SM
1588 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1589 (font-lock-beg, font-lock-end): Move before first use.
1590 (nxml-mode): Use syntax-propertize-function.
1591 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1592 (nxml-extend-after-change-region): Remove.
1593 * nxml/xmltok.el: Use lexical-binding.
1594 (xmltok-save): Use `declare'.
1595 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1596 * nxml/nxml-util.el: Use lexical-binding.
1597 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1598 Use `declare'.
1599 * nxml/nxml-ns.el: Use lexical-binding.
1600 (nxml-ns-save): Use `declare'.
1601 (nxml-ns-prefixes-for): Avoid add-to-list.
1602 * nxml/rng-match.el: Use lexical-binding.
1603 (rng--ipattern): Use cl-defstruct.
1604 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1605 (rng-cons-group-after, rng-subst-group-after)
1606 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1607 Use closures instead of `(lambda...).
1608
f8f91d5d
MA
16092013-10-07 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1612 of BEG and END.
1613
da3e5ebb
SM
1614 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1615 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1616 (tramp-gvfs-handle-insert-file-contents): Remove function.
1617
da3e5ebb
SM
1618 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1619 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1620
1621 * net/trampver.el: Update release number.
1622
7ccae3b1
SM
16232013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1624
55ca2c0d
SM
1625 * progmodes/compile.el (compilation-parse-errors):
1626 Use compilation--put-prop.
1627 (compilation--ensure-parse): Check compilation-multiline.
1628
731fc3ae
SM
1629 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1630
da3e5ebb
SM
1631 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1632 lexical-binding.
a5833280 1633
2e7ba2c2
SM
1634 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1635
7ccae3b1
SM
1636 * progmodes/ruby-mode.el: Fix recently added tests.
1637 (ruby-smie-grammar): Add - and +.
1638 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1639 (ruby-smie--backward-id): New functions.
1640 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1641 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1642 any more.
1643
85698d63
LL
16442013-10-07 Leo Liu <sdl.web@gmail.com>
1645
1646 * register.el (register-preview-delay)
1647 (register-preview-functions): New variables.
1648 (register-read-with-preview, register-preview)
1649 (register-describe-oneline): New functions.
1650 (point-to-register, window-configuration-to-register)
1651 (frame-configuration-to-register, jump-to-register)
1652 (number-to-register, view-register, insert-register)
1653 (copy-to-register, append-to-register, prepend-to-register)
1654 (copy-rectangle-to-register): Use register-read-with-preview to
1655 read register. (Bug#15525)
1656
3986af6c
DS
16572013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1658
1659 * net/network-stream.el (network-stream-open-starttls): Don't add
1660 --insecure if it's already present, because that gnutls-cli
1661 rejects getting that parameter twice.
1662
5cd9cda9
DG
16632013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1664
1665 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1666 keyword, too.
1667
da9ea6d9
DG
16682013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1669
1670 * newcomment.el (comment-use-global-state): Change default value
1671 to t, mark obsolete (Bug#15251).
1672 (comment-beginning): In addition to `comment-to-syntax', check the
1673 value of `comment-use-global-state'.
1674
34d1a133
SM
16752013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1678 (ruby-comment-column): Follow the global default, by default.
1679 (ruby-smie-grammar): Add assignment syntax.
1680 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1681 open-paren, a comma, or a \.
1682 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1683 and line continuations.
1684 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1685 followed by implicit semi-colons. Add rule for string concatenation
1686 and for indentation at BOB.
1687 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1688
1689 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1690 calling next-sexp, since next-token may have skipped chars which
1691 next-sexp doesn't know should be skipped!
1692
6f6ab820
LL
16932013-10-05 Leo Liu <sdl.web@gmail.com>
1694
34d1a133
SM
1695 * progmodes/octave.el (octave-send-region):
1696 Call compilation-forget-errors.
6f6ab820 1697
34ca0f4c
XF
16982013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1699
1700 * vc/vc-svn.el (vc-svn-find-admin-dir):
1701 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1702 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1703 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1704 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1705
a27c1b72
SM
17062013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1707
1708 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1709
258ab3bc
SM
17102013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 * subr.el (read-passwd): Hide chars even when called within a context
1713 where after-change-functions is disabled (bug#15501).
1714 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1715 until we removed ourself from overriding-terminal-local-map.
1716
939fb29c
LL
17172013-10-04 Leo Liu <sdl.web@gmail.com>
1718
258ab3bc
SM
1719 * progmodes/octave.el (inferior-octave-mode):
1720 Call compilation-forget-errors.
939fb29c 1721
63bd7f35
XF
17222013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1723
1724 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1725
9e6229fa
MA
17262013-10-04 Michael Albinus <michael.albinus@gmx.de>
1727
1728 * net/secrets.el (secrets-create-collection): Add optional
1729 argument ALIAS. Use proper Label keyword. Append ALIAS as
1730 dbus-call-method argument. (Bug#15516)
1731
1dab32a3
LL
17322013-10-04 Leo Liu <sdl.web@gmail.com>
1733
1734 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1735 (inferior-octave-compilation-font-lock-keywords): New variables.
1736 (compilation-error-regexp-alist)
1737 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1738 (inferior-octave-mode): Use compilation-shell-minor-mode.
1739
6cad7ba3
JS
17402013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1741
1742 * minibuffer.el (completion--replace): Be careful that `end' might be
1743 a marker.
1744
acbadd00
DU
17452013-10-03 Daiki Ueno <ueno@gnu.org>
1746
1747 Add support for package signature checking.
1748 * emacs-lisp/package.el (url-http-file-exists-p)
1749 (epg-make-context, epg-context-set-home-directory)
1750 (epg-verify-string, epg-context-result-for)
1751 (epg-signature-status, epg-signature-to-string)
1752 (epg-check-configuration, epg-configuration)
1753 (epg-import-keys-from-file): Declare.
1754 (package-check-signature): New user option.
1755 (package-unsigned-archives): New user option.
1756 (package-desc): Add `signed' field.
1757 (package-load-descriptor): Set `signed' field if .signed file exists.
1758 (package--archive-file-exists-p): New function.
1759 (package--check-signature): New function.
1760 (package-install-from-archive): Check package signature.
1761 (package--download-one-archive): Check archive signature.
1762 (package-delete): Remove .signed file.
1763 (package-import-keyring): New command.
1764 (package-refresh-contents): Import default keyring.
1765 (package-desc-status): Add "unsigned" status.
1766 (describe-package-1, package-menu--print-info)
1767 (package-menu-mark-delete, package-menu--find-upgrades)
1768 (package-menu--status-predicate): Support "unsigned" status.
1769
adf2aa61
SM
17702013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1773 the new compilation scheme using the new byte-codes.
1774
1775 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1776 (byte-pophandler): New byte codes.
1777 (byte-goto-ops): Adjust accordingly.
1778 (byte-compile--use-old-handlers): New var.
1779 (byte-compile-catch): Use new byte codes depending on
1780 byte-compile--use-old-handlers.
1781 (byte-compile-condition-case--old): Rename from
1782 byte-compile-condition-case.
1783 (byte-compile-condition-case--new): New function.
1784 (byte-compile-condition-case): New function that dispatches depending
1785 on byte-compile--use-old-handlers.
1786 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1787 when we can.
1788
1789 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1790 Optimize under `condition-case' and `catch' if
1791 byte-compile--use-old-handlers is nil.
1792 (disassemble-offset): Handle new bytecodes.
1793
328a8179
SM
17942013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * subr.el (error): Use `declare'.
1797 (decode-char, encode-char): Use advertised-calling-convention instead
1798 of the docstring to discourage use of the `restriction' arg.
1799
15a1e936
DU
18002013-10-03 Daiki Ueno <ueno@gnu.org>
1801
1802 * epg.el (epg-verify-file): Add a comment saying that it does not
1803 notify verification error as a return value nor a signal.
1804 (epg-verify-string): Ditto.
1805
376f862a
KR
18062013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1807
1808 * progmodes/compile.el (compilation-start): Try globbing the arg to
1809 `cd' (bug#15417).
1810
a2f93a5f
MA
18112013-10-02 Michael Albinus <michael.albinus@gmx.de>
1812
1813 Sync with Tramp 2.2.8.
1814
1815 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1816 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1817 * net/trampver.el: Update release number.
1818
0daa0804
JD
18192013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1820
1821 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1822 and default-process-coding-system for darwin only.
1823
abd1ae34
SM
18242013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1827
be4e325d
MH
18282013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1829
1830 * vc/vc-git.el (vc-git-grep): Disable pager.
1831
e9155c4a
DG
18322013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1833
494e898b
DG
1834 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1835 Use :url instead of :homepage, as per
1836 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1837
e9155c4a
DG
1838 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1839 non-nil, use `syntax-ppss' (Bug#15251).
1840
481a8e0f
RS
18412013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1842
be4e325d
MH
1843 * progmodes/octave.el (inferior-octave-startup-file):
1844 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1845
056453c6
DG
18462013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1847
be4e325d
MH
1848 * emacs-lisp/package.el (package-desc-from-define):
1849 Accept additional arguments as plist, convert them to an alist and store
1850 them in the `extras' slot.
056453c6
DG
1851 (package-generate-description-file): Convert extras alist back to
1852 plist and append to the `define-package' form arguments.
1853 (package--alist-to-plist): New function.
1854 (package--ac-desc): Add `extras' slot.
1855 (package--add-to-archive-contents): Check if the archive-contents
1856 vector is long enough, and if it is, pass its `extras' slot value
1857 to `package-desc-create'.
1858 (package-buffer-info): Call `lm-homepage', pass the returned value
1859 to `package-desc-from-define'.
1860 (describe-package-1): Render the homepage button (Bug#13291).
1861
be4e325d
MH
1862 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1863 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1864
832966e5
JD
18652013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1866
1867 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1868 and default-process-coding-system to utf-8-unix (Bug#15402).
1869
6cfe977d
XF
18702013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1871
1872 * subr.el (looking-back): Do not recommend using looking-back.
1873
38de11bd
AM
18742013-09-28 Alan Mackenzie <acm@muc.de>
1875
1876 Fix indentation/fontification of Java enum with "implements".
1877
1878 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1879 regexp which matches "implements", etc., in Java.
1880 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1881 specifier clauses coming after "enum".
1882 * progmodes/cc-fonts.el (c-font-lock-declarations)
1883 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1884 after "enum".
1885
1610938f
JD
18862013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1887
1888 * faces.el (region): Change ns_selection_color to
1889 ns_selection_fg_color, add ns_selection_bg_color.
1890
e090f499
LL
18912013-09-28 Leo Liu <sdl.web@gmail.com>
1892
4d2e94d1
LL
1893 * progmodes/octave.el (inferior-octave-completion-table)
1894 (inferior-octave-completion-at-point): Minor tweaks.
1895
e090f499
LL
1896 * textmodes/ispell.el (ispell-lookup-words): Rename from
1897 lookup-words. (Bug#15460)
1898 (lookup-words): Obsolete.
1899 (ispell-complete-word, ispell-command-loop): All uses changed.
1900
7e138a62
RS
19012013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1902
1903 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1904 (octave-mode-menu): Add octave-send-buffer.
1905 (octave-send-buffer): New function.
1906
5af5ed08
RS
19072013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1908
1909 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1910 octave-lookfor.
1911 (octave-mode-menu): Add octave-lookfor.
1912 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1913 octave-lookfor.
1914 (octave-lookfor): New function.
1915
3b7b2692
SM
19162013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * emacs-lisp/cl-macs.el:
1919 (cl--loop-destr-temps): Remove.
1920 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1921 its convention.
1922 (cl--loop-set-iterator-function): New function.
1923 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1924 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1925 Bind `it' with `let' instead of substituting it with `cl-subst'.
1926 (cl--unused-var-p): New function.
1927 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1928 Eliminate some unused variable warnings (bug#15326).
1929
529fb53f
TH
19302013-09-27 Tassilo Horn <tsdh@gnu.org>
1931
1932 * doc-view.el (doc-view-scale-reset): Rename from
1933 `doc-view-reset-zoom-level'.
1934 (doc-view-scale-adjust): New command.
1935 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1936 `doc-view-scale-adjust'.
1937
0550c95a
TH
19382013-09-26 Tassilo Horn <tsdh@gnu.org>
1939
1940 * doc-view.el (doc-view-reset-zoom-level): New command.
1941 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1942 zoom commands (bug#15466).
1943
6950f152
KH
19442013-09-26 Kenichi Handa <handa@gnu.org>
1945
1946 * international/quail.el (quail-help): Make it not a command.
1947
39587580
LL
19482013-09-26 Leo Liu <sdl.web@gmail.com>
1949
1950 * minibuffer.el (completion-all-sorted-completions): Make args
1951 optional as they are.
1952
00578659
DC
19532013-09-25 Daniel Colascione <dancol@dancol.org>
1954
1955 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1956 specs are and that they're not evaluated.
1957
0c173878
SS
19582013-09-24 Sam Steingold <sds@gnu.org>
1959
1960 * midnight.el (clean-buffer-list-kill-regexps)
1961 (clean-buffer-list-kill-buffer-names): Update for the new Man
1962 buffer naming which includes the object name.
1963
84998447
SM
19642013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1967 (eshell-parse-command, eshell-parse-pipeline): Use it since
1968 eshell-separate-commands requires a dynamic scoped var.
1969 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1970
33215353
LL
19712013-09-23 Leo Liu <sdl.web@gmail.com>
1972
1973 * autoinsert.el (auto-insert-alist): Make the value of
1974 lexical-binding match its file setting.
1975
57b16162
JB
19762013-09-23 Juanma Barranquero <lekktu@gmail.com>
1977
c8af4e67
JB
1978 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1979
57b16162
JB
1980 * autoarg.el (autoarg-kp-digit-argument):
1981 * electric.el (Electric-command-loop):
1982 * kmacro.el (kmacro-step-edit-insert):
1983 Do not set universal-argument-num-events.
1984
7186ba60
LL
19852013-09-22 Leo Liu <sdl.web@gmail.com>
1986
1987 * files.el (interpreter-mode-alist): Add octave.
1988
ece15004
AM
19892013-09-21 Alan Mackenzie <acm@muc.de>
1990
1991 C++: fontify identifier in declaration following "public:" correctly.
1992 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1993 to match "public", etc.
1994 (c-decl-prefix-re): Add ":" into the C++ value.
1995 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1996 bit. Add a check for a ":" preceded by "public", etc.
1997
75d83e22
EZ
19982013-09-21 Eli Zaretskii <eliz@gnu.org>
1999
2000 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2001 recognized by GDB 7.5 and later.
2002
d052d3bd
XF
20032013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2004
2005 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2006
31dca772
R
20072013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * subr.el (internal--call-interactively): New const.
2010 (called-interactively-p): Use it (bug#3984).
2011
98ccf24e
XF
20122013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2013
2014 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2015 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2016 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2017
c39cc7d1
SM
20182013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2021 (eshell-ls-orig-insert-directory): Remove.
2022 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2023 (eshell-ls-use-in-dired): Use advice-add/remove.
2024 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2025 Add `orig-fun' arg for use in :around advice.
2026 Make it check (redundantly) eshell-ls-use-in-dired.
2027
9a0289a2
GM
20282013-09-19 Glenn Morris <rgm@gnu.org>
2029
a2c501b8
GM
2030 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2031
c440407a
GM
2032 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2033
9a0289a2
GM
2034 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2035
85e05915
MA
20362013-09-19 Michael Albinus <michael.albinus@gmx.de>
2037
2038 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2039 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2040 (tramp-get-remote-python): New defuns.
2041 (tramp-get-remote-uid-with-perl)
2042 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2043 contributed by yary <not.com@gmail.com> (tiny change).
2044 (tramp-get-remote-uid-with-python)
2045 (tramp-get-remote-gid-with-python): New defuns. Python code
2046 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2047 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2048
ce503312
GM
20492013-09-19 Glenn Morris <rgm@gnu.org>
2050
f7544773
GM
2051 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2052
72fd2877
GM
2053 * eshell/em-unix.el (eshell-remove-entries):
2054 Rename argument to avoid name-clash with global `top-level'.
2055
336b5a56
GM
2056 * eshell/esh-proc.el (eshell-kill-process-function):
2057 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2058 (eshell-reset-after-proc): Remove unused arg `proc'.
2059
57a3a53d
GM
2060 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2061 (directory-files-and-attributes): Mark unused arg.
2062
3261d4af
GM
2063 * eshell/em-unix.el (eshell-remove-entries):
2064 Remove unused arg `path'. Update callers.
2065
8e51b5d0
GM
2066 * eshell/em-hist.el (eshell-hist-parse-arguments):
2067 Remove unused arg `silent'. Update callers.
2068
ce503312
GM
2069 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2070 Fix (f)boundp mix-up.
2071
2072 * eshell/em-smart.el (eshell-smart-scroll-window)
2073 (eshell-disable-after-change):
336b5a56 2074 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2075
ee3ce8a7
AM
20762013-09-18 Alan Mackenzie <acm@muc.de>
2077
2078 Fix fontification of type when followed by "const".
2079 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2080 "known" types from fontification.
2081
ec9177ba
GM
20822013-09-18 Glenn Morris <rgm@gnu.org>
2083
7bb3e768
GM
2084 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2085 (chart-face-list): Drop Emacsen without display-color-p.
2086
5148da15
GM
2087 * net/eww.el (libxml-parse-html-region): Declare.
2088 (eww-display-html): Explicit error if no libxml2 support.
2089
2f68e157
GM
2090 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2091
9019d095
GM
2092 * image.el (image-type-from-buffer, image-multi-frame-p):
2093 Remove --without-x warning/error.
67645389 2094
5f30349b 2095 * mouse.el (mouse-yank-primary):
45069b2e 2096 * term.el (term-mouse-paste):
5f30349b
GM
2097 Reorder to silence --without-x compilation.
2098
cd8edbbe
GM
2099 * mpc.el (doc-view-mode): Silence --without-x compilation.
2100
8a78544e
GM
2101 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2102 Silence --without-x compilation.
2103
12679bfd
GM
2104 * progmodes/gud.el (gud-find-file, gud-mode):
2105 Silence --without-x compilation.
2106 (tooltip-mode): Declare.
30810a05 2107
f0047cb9
GM
2108 * wdired.el (dired-backup-overwrite): Remove declaration.
2109 (wdired-mode-map): Add doc string.
2110
e740f9d2
GM
2111 * custom.el (x-get-resource): Declare.
2112
92d77c89
GM
2113 * eshell/em-glob.el (ange-cache):
2114 * eshell/em-unix.el (ange-cache): Declare.
2115
76e69577
GM
2116 * faces.el (x-display-list, x-open-connection, x-get-resource):
2117 Declare.
7e58af4b
GM
2118
2119 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2120 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2121 Declare.
76e69577 2122
4bd4c0af 2123 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2124
ffb82dbd
GM
2125 * net/gnutls.el (gnutls-log-level): Declare.
2126
986ed135
GM
2127 * net/shr.el (image-size, image-animate): Declare.
2128
e740f9d2
GM
2129 * simple.el (font-info): Declare.
2130
d2f3e9f8
GM
2131 * subr.el (x-popup-dialog): Declare.
2132
047a1a4c
GM
2133 * term/common-win.el (x-select-enable-primary)
2134 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2135 Declare.
2136
f4a1d572
GM
2137 * term/ns-win.el (x-handle-args): Declare.
2138
e843de77
GM
2139 * term/x-win.el (x-select-enable-clipboard): Declare.
2140
5fa89513
GM
2141 * term/w32-win.el (create-default-fontset): Declare.
2142
38702b5b
GM
2143 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2144 Declare.
2145
e740f9d2
GM
2146 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2147 (fit-frame-to-buffer): Explicit error if --without-x.
2148 (mouse-autoselect-window-select): Silence compiler.
2149
49a053fc
GM
2150 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2151
2152 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2153 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2154 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2155 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2156 Remove unused local variables.
2157
2158 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2159
ec9177ba
GM
2160 * textmodes/two-column.el: Make 2C-split work for --without-x.
2161 (scroll-bar-columns): Autoload.
2162 (top-level): Require fringe when compiling.
2163
9f25cb77
LL
21642013-09-18 Leo Liu <sdl.web@gmail.com>
2165
2166 * subr.el (add-hook): Robustify to handle closure as well.
2167
2b42da98
GM
21682013-09-17 Glenn Morris <rgm@gnu.org>
2169
2170 * simple.el (messages-buffer-mode-map): Unbind "g".
2171
e8b66a6a
SM
21722013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2173
9c0ad4f7
SM
2174 * help-mode.el (help-mode-finish): Use derived-mode-p.
2175 Remove obsolete highlighting.
2176
7a806dfb
SM
2177 * play/life.el (life-mode): Use define-derived-mode. Derive from
2178 special-mode.
2179 (life): Let-bind inhibit-read-only.
2180 (life-setup): Avoid `setq'. Use `life-mode'.
2181
96dbf5a8
SM
2182 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2183 which should not be needed any more.
2184 (package-menu-refresh, package-menu-describe-package): Use user-error.
2185
e8b66a6a
SM
2186 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2187 (eshell-post-rewrite-command-hook): Make obsolete.
2188 (eshell-parse-command): Simplify.
2189 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2190 (eshell--cmd): Declare.
2191 (eshell-parse-pipeline): Remove unused var `final-p'.
2192 Pass a dynvar to eshell-post-rewrite-command-hook.
2193 Implement the new eshell-post-rewrite-command-function.
2194 (eshell-invoke-directly): Remove unused arg `input'.
2195 * eshell/esh-io.el (eshell-io-initialize):
2196 Use eshell-post-rewrite-command-function (bug#15399).
2197 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2198 adjust to new calling convention.
2199 (eshell-create-handles): Rename args to avoid clashing with dynvar
2200 `standard-output'.
2201
90582f05
GM
22022013-09-17 Glenn Morris <rgm@gnu.org>
2203
2204 * simple.el (messages-buffer-mode): New major mode.
2205 (messages-buffer): New function.
2206 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2207 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2208 (ert-run-test): Use `messages-buffer' function.
90582f05 2209 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2210 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2211 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2212
39eb0cb5 22132013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2214
2215 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2216
1f1e06e2
SM
2217 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2218
70568a90
SM
22192013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2220
504a0381
SM
2221 * icomplete.el (icomplete-in-buffer): New var.
2222 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2223 vars and replace them with functions.
2224 (icomplete-minibuffer-setup): Adjust accordingly.
2225 (icomplete--completion-table, icomplete--completion-predicate)
2226 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2227 New functions.
2228 (icomplete-forward-completions, icomplete-backward-completions)
2229 (icomplete-simple-completing-p, icomplete-exhibit)
2230 (icomplete-completions): Use them.
2231 (icomplete--in-region-buffer): New var.
2232 (icomplete--in-region-setup): New function.
2233 (icomplete-mode): Use it.
2234
70568a90
SM
2235 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2236 (bug#15379).
2237 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2238 return args and options.
2239 (eshell-eval-using-options): Use the new return value of
2240 eshell--do-opts to set the options's vars in their scope.
2241 (eshell--set-option): Rename from eshell-set-option.
2242 Add arg `opt-vals'.
2243 (eshell--process-option): Rename from eshell-process-option.
2244 Add arg `opt-vals'.
2245 (eshell--process-args): Use an `opt-vals' alist to store the options's
2246 values during their processing and return them additionally to the
2247 remaining args.
2248
578c21bc
DG
22492013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2250
2251 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2252 continuation character an operator, as far as indentation is
2253 concerned (Bug#15369).
2254
c089653d
MR
22552013-09-15 Martin Rudalics <rudalics@gmx.at>
2256
2257 * window.el (window--state-put-2): Don't process buffer state
2258 when buffer doesn't exist any more (Bug#15382).
2259
1e53bb4b
GM
22602013-09-15 Glenn Morris <rgm@gnu.org>
2261
30753242
GM
2262 * eshell/em-unix.el (eshell/rm):
2263 Make -f ignore missing files. (Bug#15373)
2264
1e53bb4b
GM
2265 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2266 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2267 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2268
0d8863b3
GM
22692013-09-14 Glenn Morris <rgm@gnu.org>
2270
2271 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2272
d3fc6549
GM
22732013-09-13 Glenn Morris <rgm@gnu.org>
2274
2275 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2276 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2277
fcd42c11
DA
22782013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2279
2280 * frame.el (x-focus-frame): Mark as declared in frame.c.
2281
7830899f
SM
22822013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * ls-lisp.el: Use advice-add.
2285 (original-insert-directory): Remove.
2286 (ls-lisp--insert-directory): Rename from insert-directory; add
2287 `orig-fun' argument.
2288 (insert-directory): Advise.
2289
84387cd2
EZ
22902013-09-13 Eli Zaretskii <eliz@gnu.org>
2291
2292 * term.el (term-emulate-terminal): Decode the command string
2293 before passing it to term-command-hook. (Bug#15337)
2294
35ffc6ba
GM
22952013-09-13 Glenn Morris <rgm@gnu.org>
2296
5c3f9bcc
GM
2297 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2298
2ada368a
GM
2299 * eshell/esh-ext.el (eshell-search-path): Declare.
2300
fcef2e13
GM
2301 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2302 Otherwise an error occurs if eshell-dirs module not loaded.
2303
35ffc6ba
GM
2304 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2305
35c3d36e
MA
23062013-09-13 Michael Albinus <michael.albinus@gmx.de>
2307
2308 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2309 `tramp-check-proper-host'. Check for a valid method name.
2310
2311 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2312 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2313 * net/tramp-sh.el (tramp-maybe-open-connection):
2314 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2315
2316 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2317 also for hash values.
2318
ae5e4c48
SM
23192013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2320
379add74
SM
2321 * term/ns-win.el (parameters): Don't declare as dynamic.
2322 (before-make-frame-hook): Don't add ineffective function.
2323
ae5e4c48
SM
2324 * eshell/*.el: Use lexical-binding (bug#15231).
2325
b5623270
KH
23262013-09-12 Kenichi Handa <handa@gnu.org>
2327
ae5e4c48 2328 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2329
30213927
GM
23302013-09-12 Glenn Morris <rgm@gnu.org>
2331
be94d713 2332 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2333 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2334
44915370
GM
2335 * subr.el (do-after-load-evaluation): Also give compiler warnings
2336 when obsolete files are used (except by obsolete files).
2337
a6ae021f
GM
2338 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2339 in the status output, assume `filename' is the first. (Bug#15322)
2340
40e64f0c
GM
2341 * vc/vc.el (vc-deduce-fileset): Doc fix.
2342
16d9f896
GM
2343 * calc/calc-help.el (Info-goto-node):
2344 * progmodes/cperl-mode.el (Info-find-node):
2345 * vc/ediff.el (Info-goto-node): Update declarations.
2346
dea01c6e
GM
2347 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2348
759880bf 2349 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2350 (vc-bzr-pull): Require vc-dispatcher.
2351 * vc/vc-git.el (vc-compilation-mode): Declare.
2352 (vc-git-pull): Require vc-dispatcher.
2353
08d66420
GM
2354 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2355
30b626e9
GM
2356 * progmodes/octave.el (help-button-action): Declare.
2357
8c05cb10
GM
2358 * shell.el (shell-directory-tracker): Output error as a message
2359 rather than just returning it as a string.
2360 (shell-process-pushd): Remove useless use of message.
2361
30213927
GM
2362 * dframe.el (dframe-timer-fn):
2363 * files.el (dir-locals-read-from-file):
2364 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2365 (mpc-format):
2366 * reveal.el (reveal-post-command):
2367 * saveplace.el (load-save-place-alist-from-file):
2368 * shell.el (shell-resync-dirs):
2369 * w32-common-fns.el (x-get-selection-value):
2370 * emacs-lisp/copyright.el (copyright-find-copyright):
2371 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2372 * emulation/tpu-edt.el (tpu-copy-keyfile):
2373 * play/bubbles.el (bubbles--mark-neighbourhood):
2374 * progmodes/executable.el
2375 (executable-make-buffer-file-executable-if-script-p):
2376 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2377
d3b049e6
SM
23782013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2379
170266d0
SM
2380 Cleanup Eshell to rely less on dynamic scoping.
2381 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2382 last-value, and ext-command here. Bind `args' closer to `body'.
2383 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2384 (eshell--args): Declare new dynamic var.
2385 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2386 last-value, and ext-command. Pass `args' to `body'.
2387 (eshell-process-args): Bind eshell--args.
2388 (eshell-set-option): Use eshell--args.
2389 * eshell/eshell.el (eshell): Use derived-mode-p.
2390 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2391 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2392 (eshell-glob-function): Declare.
2393 * eshell/esh-util.el: Require cl-lib.
2394 (eshell-read-hosts-file): Avoid add-to-list.
2395 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2396 `err'.
2397 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2398 Declare.
2399 (eshell/diff): Remove unused var `err'.
2400 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2401 `killflag'.
2402 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2403 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2404 first use.
2405 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2406 Move declaration before first use.
2407 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2408 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2409 rely on cl-return.
2410
56834f3b
GM
24112013-09-12 Glenn Morris <rgm@gnu.org>
2412
2413 * term/ns-win.el (global-map): Remove binding for ispell-next,
2414 deleted 1999-05-29. (Bug#15357)
2415
5c91a2b8
GM
24162013-09-11 Glenn Morris <rgm@gnu.org>
2417
da712f22
GM
2418 * echistory.el (electric-command-history): Remove call to deleted func.
2419
512e4cdc
GM
2420 * play/landmark.el (landmark-mode): Fix typos.
2421
d3506ca5
GM
2422 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2423 Check cvs-sort-ignore-file is bound.
2424
5c91a2b8
GM
2425 * savehist.el: No need for cl when compiling on Emacs.
2426
feeff482
SM
24272013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2428
656bd483
SM
2429 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2430 (bug#15338).
d3b049e6
SM
2431 (eshell-self-insert-command, eshell-send-invisible):
2432 Remove unused argument.
656bd483
SM
2433 (eshell-handle-control-codes): Remove unused var `orig'.
2434 Avoid delete-backward-char.
2435
feeff482
SM
2436 * files.el (set-auto-mode): Simplify a bit further.
2437
2a08047a
GM
24382013-09-11 Glenn Morris <rgm@gnu.org>
2439
2440 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2441 (set-auto-mode): Don't regexp-quote elements.
2442 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2443 * progmodes/cc-mode.el (interpreter-mode-alist):
2444 * progmodes/ruby-mode.el (interpreter-mode-alist):
2445 Revert previous change.
2446
34675540
SM
24472013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2448
1b3b87df
SM
2449 * play/snake.el (snake-mode):
2450 * play/mpuz.el (mpuz-mode):
2451 * play/landmark.el (lm-mode):
2452 * play/blackbox.el (blackbox-mode):
2453 * play/5x5.el (5x5-mode):
2454 * obsolete/options.el (Edit-options-mode):
2455 * net/quickurl.el (quickurl-list-mode):
2456 * net/newst-treeview.el (newsticker-treeview-mode):
2457 * mail/rmailsum.el (rmail-summary-mode):
2458 * mail/mspools.el (mspools-mode):
2459 * locate.el (locate-mode):
2460 * ibuffer.el (ibuffer-mode):
2461 * emulation/ws-mode.el (wordstar-mode):
2462 * emacs-lisp/debug.el (debugger-mode):
2463 * array.el (array-mode):
2464 * net/eudc.el (eudc-mode): Use define-derived-mode.
2465 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2466 Move initialization into declaration.
2467 (mairix-searches-mode): Use define-derived-mode.
2468 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2469 (eudc-edit-hotlist): Use dolist.
2470 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2471 (Man-mode): Use define-derived-mode.
2472 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2473 (Info-edit-mode): Use define-derived-mode.
2474 (Info-cease-edit): Use Info-mode.
2475 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2476 into declaration.
2477 (eshell-mode): Use define-derived-mode.
2478 * chistory.el (command-history-mode-map): Rename from
2479 command-history-map.
2480 (command-history-mode): Use define-derived-mode.
da712f22 2481 (Command-history-setup): Remove function.
1b3b87df
SM
2482 * calc/calc.el (calc-trail-mode-map): New var.
2483 (calc-trail-mode): Use define-derived-mode.
2484 (calc-trail-buffer): Set calc-main-buffer manually.
2485 * bookmark.el (bookmark-insert-annotation): New function.
2486 (bookmark-edit-annotation): Use it.
2487 (bookmark-edit-annotation-mode): Make it a proper major mode.
2488 (bookmark-send-edited-annotation): Use derived-mode-p.
2489 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2490 closer to its ideal place. Use \' to match EOS.
2491
34675540
SM
2492 * profiler.el (profiler-calltree-find): Use function-equal.
2493
6a5c15d9
GM
24942013-09-10 Glenn Morris <rgm@gnu.org>
2495
1af4c220
GM
2496 * files.el (interpreter-mode-alist): Convert to regexps.
2497 (set-auto-mode): Adapt for this. (Bug#15306)
2498 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2499 Comment out unused variable.
2500 * progmodes/cc-mode.el (interpreter-mode-alist):
2501 * progmodes/python.el (interpreter-mode-alist):
2502 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2503 * progmodes/sh-script.el (sh-set-shell):
2504 No longer use interpreter-mode-alist to get list of shells.
2505
6a5c15d9
GM
2506 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2507
8c27f5ff
SM
25082013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2509
02ef6c1a 2510 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2511 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2512 Bind switch-frame explicitly. Replace universal-argument-minus with
2513 a conditional binding.
2514 (universal-argument-num-events, saved-overriding-map): Remove.
2515 (restore-overriding-map): Remove.
2516 (universal-argument--mode): Rename from save&set-overriding-map,
2517 and rewrite.
2518 (universal-argument, universal-argument-more, negative-argument)
2519 (digit-argument): Adjust accordingly.
2520 (universal-argument-minus): Remove.
2521 (universal-argument-other-key): Remove.
2522
8c27f5ff
SM
2523 * subr.el (with-demoted-errors): Add `format' argument.
2524
6480194c
MA
25252013-09-10 Michael Albinus <michael.albinus@gmx.de>
2526
2527 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2528 `tramp-cleanup-connection'.
2529
2530 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2531 parameters KEEP-DEBUG and KEEP-PASSWORD.
2532
2533 * net/tramp.el (tramp-file-name-handler):
2534 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2535 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2536 (tramp-maybe-open-connection):
8c27f5ff
SM
2537 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2538 Use `tramp-cleanup-connection'.
6480194c 2539
8c27f5ff
SM
2540 * net/tramp-sh.el (tramp-maybe-open-connection):
2541 Catch 'uname-changed inside the progress reporter.
6480194c 2542
e5e916d8
GM
25432013-09-10 Glenn Morris <rgm@gnu.org>
2544
9a2c9b47
GM
2545 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2546
e5e916d8
GM
2547 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2548 returns "alternate access method" in mode (eg "-rw-r--r--.").
2549
144e38fe
GM
25502013-09-08 Glenn Morris <rgm@gnu.org>
2551
2552 * saveplace.el (load-save-place-alist-from-file):
2553 Demote errors. (Bug#15305)
2554
af9ff9e8
MA
25552013-09-08 Michael Albinus <michael.albinus@gmx.de>
2556
2557 Improve compatibility with older Emacsen, and XEmacs.
2558
2559 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2560 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2561 (with-tramp-progress-reporter): Do not let-bind `result'.
2562 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2563 (tramp-handle-make-auto-save-file-name): New function, moved from
2564 tramp-sh.el.
2565
2566 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2567 for `make-auto-save-file-name'.
8c27f5ff
SM
2568 (tramp-adb--gnu-switches-to-ash):
2569 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2570
2571 * net/tramp-cache.el (tramp-cache-print): Call
2572 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2573
2574 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2575 bound. It isn't for XEmacs.
2576
8c27f5ff
SM
2577 * net/tramp-compat.el (tramp-compat-copy-file):
2578 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2579 (tramp-compat-replace-regexp-in-string): New defun.
2580
2581 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2582 for `make-auto-save-file-name'.
2583 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2584 `copy-file'.
2585 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2586 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2587 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2588
8c27f5ff
SM
2589 * net/tramp-gw.el (tramp-gw-open-network-stream):
2590 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2591
8c27f5ff
SM
2592 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2593 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2594 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2595 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2596 (tramp-sh-file-inotifywait-process-filter):
2597 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2598 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2599
2600 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2601 for `make-auto-save-file-name'.
8c27f5ff
SM
2602 (tramp-smb-handle-copy-directory):
2603 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2604 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2605 (tramp-smb-handle-copy-file): Improve error message.
2606 (tramp-smb-handle-rename-file): Rename directly only in case
2607 `newname' does not exist yet. This is a restriction of smbclient.
2608 (tramp-smb-maybe-open-connection): Rerun the function only when
2609 `auth-sources' is non-nil.
2610
0ca754d0
KH
26112013-09-08 Kenichi Handa <handa@gnu.org>
2612
2613 * international/characters.el: Set category "^" (Combining) for
2614 more characters.
2615
e8dd0787
AM
26162013-09-07 Alan Mackenzie <acm@muc.de>
2617
2618 Correctly fontify Java class constructors.
2619 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2620 in Java Mode.
2621 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2622 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2623 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2624 "typeless" declaration there.
2625
f2f248e7
RW
26262013-09-07 Roland Winkler <winkler@gnu.org>
2627
2628 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2629 field subtitle for entry type book.
2630
67982e2b
SM
26312013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * minibuffer.el: Make minibuffer-complete call completion-in-region
2634 rather than other way around.
2635 (completion--some, completion-pcm--find-all-completions):
2636 Don't delay signals when debugging.
2637 (minibuffer-completion-contents): Beware fields within the
2638 minibuffer contents.
2639 (completion-all-sorted-completions): Use defvar-local.
2640 (completion--do-completion, completion--cache-all-sorted-completions)
2641 (completion-all-sorted-completions, minibuffer-force-complete):
2642 Add args `beg' and `end'.
2643 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2644 (minibuffer-complete): Use completion-in-region.
2645 (completion-complete-and-exit): New fun, extracted from
2646 minibuffer-complete-and-exit.
2647 (minibuffer-complete-and-exit): Use it.
2648 (completion--complete-and-exit): Rename from
2649 minibuffer--complete-and-exit.
2650 (completion-in-region--single-word): New function, extracted from
2651 minibuffer-complete-word.
2652 (minibuffer-complete-word): Use it.
2653 (display-completion-list): Make `common-substring' argument obsolete.
2654 (completion--in-region): Call completion--in-region-1 instead of
2655 minibuffer-complete.
2656 (completion-help-at-point): Pass boundaries to
2657 minibuffer-completion-help as args rather than via an overlay.
2658 (completion-pcm--string->pattern): Use `any-delim'.
2659 (completion-pcm--optimize-pattern): New function.
2660 (completion-pcm--pattern->regex): Handle `any-delim'.
2661 * icomplete.el (icomplete-forward-completions)
2662 (icomplete-backward-completions, icomplete-completions):
2663 Adjust calls to completion-all-sorted-completions and
2664 completion--cache-all-sorted-completions.
2665 (icomplete-with-completion-tables): Default to t.
2666 * emacs-lisp/crm.el (crm--current-element): Rename from
2667 crm--select-current-element. Don't put an overlay but return the
2668 boundaries instead.
2669 (crm--completion-command): Take two new args to bind to the boundaries.
2670 (crm-completion-help): Adjust accordingly.
2671 (crm-complete): Use completion-in-region.
2672 (crm-complete-word): Use completion-in-region--single-word.
2673 (crm-complete-and-exit): Use completion-complete-and-exit.
2674
e17d94a5
SM
26752013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2678 than dynamically.
2679
96727100
JL
26802013-09-06 Juri Linkov <juri@jurta.org>
2681
2682 * info.el (Info-display-images-node): When image file doesn't exist
2683 display text version of the image if it's provided in the Info file.
2684 Otherwise, display the location of missing image from SRC attribute.
2685 Add help-echo text property from ALT attribute. (Bug#15279)
2686
86cf7329
SM
26872013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2688
2689 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2690 (edit-abbrevs-mode): Use define-derived-mode.
2691
2692 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2693 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2694 that it's defined.
2695 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2696 Use define-derived-mode.
2697
2698 * epg.el (epg-start-encrypt): Minor CSE simplification.
2699
816244a2
WX
27002013-09-06 William Xu <william.xwl@gmail.com>
2701
2702 * arc-mode.el: Add support for 7za (bug#15264).
2703 (archive-7z-program): New var.
2704 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2705 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2706 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2707
1486fa31
MA
27082013-09-06 Michael Albinus <michael.albinus@gmx.de>
2709
2710 Remove URL syntax.
2711
2712 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2713 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2714 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2715 (tramp-postfix-host-format, tramp-file-name-regexp)
2716 (tramp-completion-file-name-regexp)
2717 (tramp-completion-dissect-file-name)
2718 (tramp-handle-substitute-in-file-name): Remove 'url case.
2719 (tramp-file-name-regexp-url)
2720 (tramp-completion-file-name-regexp-url): Remove constants.
2721
39785324
GM
27222013-09-06 Glenn Morris <rgm@gnu.org>
2723
2724 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2725
1f896cb7
DG
27262013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2727
2728 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2729 keywords" below "here-doc beginnings" (Bug#15270).
2730
c0458e0b
SM
27312013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2732
2733 * subr.el (pop): Use `car-safe'.
2734 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2735 to detect unused `pop' return value.
2736
2737 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2738 var `block-regexp'.
2739 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2740 (python-fill-string): Remove unused var `marker'.
2741 (python-skeleton-add-menu-items): Remove unused var `items'.
2742
2743 * international/mule-cmds.el: Require CL.
2744 (find-coding-systems-for-charsets): Avoid add-to-list.
2745 (sanitize-coding-system-list): New function, extracted from
2746 select-safe-coding-system-interactively.
2747 (select-safe-coding-system-interactively): Use it.
2748 (read-input-method-name): Accept symbols for `default'.
2749
2750 * emacs-lisp/advice.el (defadvice): Add indent rule.
2751
6c42fc3e
DH
27522013-09-05 Daniel Hackney <dan@haxney.org>
2753
2754 * dired-x.el:
2755 * net/ange-ftp.el:
2756 * net/browse-url.el:
2757 * net/dbus.el:
2758 * net/eudc.el:
2759 * net/eudcb-ldap.el:
2760 * net/eww.el:
2761 * net/imap.el:
2762 * printing.el:
2763 * vc/ediff-diff.el:
2764 * vc/ediff-init.el:
2765 * vc/ediff-merg.el:
2766 * vc/ediff-mult.el:
2767 * vc/ediff-util.el:
2768 * vc/ediff-wind.el:
2769 * vc/ediff.el:
2770 * vc/emerge.el:
2771 * vc/pcvs.el:
2772 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2773 byte compiler. Remove some unused let-bound variables.
2774
4c528aab
SM
27752013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2778 a "ref-cell", since it gets better optimized (bug#14883).
2779
bd15c390
GM
27802013-09-05 Glenn Morris <rgm@gnu.org>
2781
2782 * progmodes/cc-awk.el (c-forward-sws): Declare.
2783
1c3ac2e5
GM
27842013-09-04 Glenn Morris <rgm@gnu.org>
2785
2786 * generic-x.el [rul-generic-mode]: Require cc-mode.
2787 (c++-mode-syntax-table): Declare.
2788 (rul-generic-mode-syntax-table): Init in the defvar.
2789
52b1cc79
SM
27902013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2791
c828af56
SM
2792 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2793 (vc-do-command, vc-set-async-update):
2794 * vc/vc-mtn.el (vc-mtn-dir-status):
2795 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2796 (vc-hg-pull, vc-hg-merge-branch):
2797 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2798 (vc-git-merge-branch):
2799 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2800 (vc-cvs-dir-status-files):
2801 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2802 (vc-bzr-dir-status-files):
2803 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2804 * vc/vc-annotate.el: Use lexical-binding.
2805 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2806 (vc-sentinel-movepoint): Declare.
2807 (vc-annotate): Don't use `goto-line'.
2808 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2809 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2810 (vc-sentinel-movepoint): Declare.
2811 * vc/vc-svn.el: Use lexical-binding.
2812 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2813 * vc/vc-sccs.el:
2814 * vc/vc-rcs.el: Use lexical-binding.
2815
abae272c
SM
2816 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2817 `deleted'. Don't drop errors silently.
2818
52b1cc79
SM
2819 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2820
63191d9f
XF
28212013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2822
2823 * vc/vc.el (vc-ignore): Rewrite.
2824 (vc-default-ignore): New function.
2825 (vc-default-ignore-completion-table): Use find-ignore-file.
2826
2827 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2828 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2829 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2830 Remove. Most code moved to vc.el.
2831
9d3f707c
SM
28322013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2833
abae272c 2834 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2835 * net/tramp-smb.el (tramp-smb-get-file-entries):
2836 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2837 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2838
fde38d49
SM
2839 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2840 Update call to it.
2841 (eww-change-select): Remove unused var `properties'.
2842 (eww-make-unique-file-name): Remove unused var `base'.
2843
2844 * finder.el (finder-compile-keywords): Don't mess with windows.
2845
84032db7
SM
2846 * calculator.el (calculator-funcall): Fix typo in last change.
2847
724f5e41
SM
2848 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2849
14b511d4
SM
2850 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2851 <pkg>-autoloads.el file stop us.
2852
9d3f707c 2853 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2854 warnings, and factor out common code.
9d3f707c 2855
88527bc0
DG
28562013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2857
2858 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2859 two-character operators and whether the character preceding them
2860 changes their meaning (Bug#15208).
2861
96edb677
FEG
28622013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2863
2864 Format code sent to Python shell for robustness.
9d3f707c
SM
2865 * progmodes/python.el (python-shell-buffer-substring):
2866 New function.
96edb677
FEG
2867 (python-shell-send-region, python-shell-send-buffer): Use it.
2868
95beaef3
MA
28692013-09-02 Michael Albinus <michael.albinus@gmx.de>
2870
2871 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2872 * net/tramp.el (tramp-user-error): ... here.
2873 (tramp-find-method, tramp-check-proper-host)
2874 (tramp-dissect-file-name, tramp-debug-message)
2875 (tramp-handle-shell-command):
2876 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2877 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2878
2879 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2880
f167c27b
MR
28812013-09-02 Martin Rudalics <rudalics@gmx.at>
2882
2883 * avoid.el (mouse-avoidance-point-position)
2884 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2885 returns nil.
2886
cd16c5f1
FEG
28872013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2888
2889 * progmodes/python.el (python-shell-completion-get-completions):
2890 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2891 (python-nav-if-name-main): New command.
cd16c5f1 2892
e73c3a0d
GM
28932013-09-01 Glenn Morris <rgm@gnu.org>
2894
f8ccce03
GM
2895 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2896 Avoid leading space in $wins. Otherwise the sed command used by
2897 eg compile-main ends up containing "/*.el". (Bug#15170)
2898
e73c3a0d
GM
2899 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2900
415f808e
GM
29012013-08-30 Glenn Morris <rgm@gnu.org>
2902
2903 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2904 Fix is-this-a-directory logic. (Bug#15220)
2905
f069bba8
SM
29062013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2907
112798c1
SM
2908 * textmodes/css-mode.el: Use SMIE.
2909 (css-smie-grammar): New var.
2910 (css-smie--forward-token, css-smie--backward-token)
2911 (css-smie-rules): New functions.
2912 (css-mode): Use them.
2913 (css-navigation-syntax-table): Remove var.
2914 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2915 (css-indent-calculate, css-indent-line): Remove functions.
2916
2917 Misc changes to reduce use of `(lambda...); and other cleanups.
2918 * cus-edit.el: Use lexical-binding.
2919 (customize-push-and-save, customize-apropos)
2920 (custom-buffer-create-internal): Use closures.
2921 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2922 * progmodes/ada-xref.el: Use setq.
2923 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2924 * dframe.el: Use lexical-binding.
2925 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2926 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2927 * descr-text.el: Use lexical-binding.
2928 (describe-text-widget, describe-text-sexp, describe-property-list):
2929 Use closures.
2930 * comint.el (comint-history-isearch-push-state): Use a closure.
2931 * calculator.el: Use lexical-binding.
2932 (calculator-number-to-string): Make it work with lexical-binding.
2933 (calculator-funcall): Same and use cl-letf.
2934
2da4c3ab
SM
2935 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2936 (lisp--company-doc-string, lisp--company-location): New functions.
2937 (lisp-completion-at-point): Use them to improve Company support.
2938
f069bba8
SM
2939 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2940 params of lambda expressions.
2941 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2942 (ruby-smie--opening-pipe-p): New function.
2943 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2944 symbols and matched |...| for formal params.
2945 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2946 from being treated as hanging. Handle "rescue".
2947
6758b6a8
GM
29482013-08-29 Glenn Morris <rgm@gnu.org>
2949
2950 * progmodes/cc-engine.el (c-pull-open-brace):
2951 Move definition before use.
2952
e8dfd197
SM
29532013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2954
2955 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2956 are immutable. Don't use `unsafe' any more.
2957 (cl--defsubst-expand): Don't substitute at the same time as keeping
2958 a residual unused let-binding. Don't use `unsafe' any more.
2959
cc585c96
GM
29602013-08-29 Glenn Morris <rgm@gnu.org>
2961
ba579ea6
GM
2962 * calendar/cal-china.el (calendar-chinese-year-cache):
2963 Recenter on 2015.
2964
8201a87e
GM
2965 * nxml/nxml-util.el (nxml-debug-clear-inside):
2966 Use cl-loop rather than loop.
2967
6ee877c7
GM
2968 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2969
cc585c96
GM
2970 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2971
27be8d39
GM
29722013-08-28 Glenn Morris <rgm@gnu.org>
2973
397440a1
GM
2974 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2975
2bb762d4
GM
2976 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2977
27be8d39
GM
2978 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2979
2d69b99e
SM
29802013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2981
f663baa7
SM
2982 * simple.el (repeat-complex-command--called-interactively-skip):
2983 New function.
2984 (repeat-complex-command): Use it (bug#14136).
2985
dd4f8b74
SM
2986 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2987 (c-define-abbrev-table): Add `doc' argument.
2988 (c-mode-abbrev-table, c++-mode-abbrev-table)
2989 (objc-mode-abbrev-table, java-mode-abbrev-table)
2990 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2991 (awk-mode-abbrev-table): Use it.
2992 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2993 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2994 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2995 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2996 Move initialization into the declaration; and remove any
2997 autoload cookie.
2998
b58969f7
SM
2999 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3000 and dynamic let binding.
3001
4021d6a6
SM
3002 * vc/smerge-mode.el: Remove redundant :group args.
3003
2d69b99e
SM
3004 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3005 to load-path.
3006
274919fd
JL
30072013-08-28 Juri Linkov <juri@jurta.org>
3008
3009 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3010 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3011 (isearch-other-meta-char): Handle an undefined shifted printing
3012 character by downshifting it. (Bug#15200)
3013
121f8c95
JL
30142013-08-28 Juri Linkov <juri@jurta.org>
3015
3016 * isearch.el (isearch-search): Change regexp error message for
3017 non-regexp searches. (Bug#15166)
3018
50b13cde
PE
30192013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3020
3021 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3022 for portability to hosts where /bin/sh has problems.
3023
95888bca
SM
30242013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3027
bbe558f1
JL
30282013-08-27 Juri Linkov <juri@jurta.org>
3029
3030 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3031 in the keyboard macro. (Bug#15126)
3032
26f98a7d
JL
30332013-08-27 Juri Linkov <juri@jurta.org>
3034
3035 * isearch.el (isearch-quote-char): Comment out converting unibyte
3036 to multibyte, thus syncing with its `quoted-insert' counterpart.
3037 (Bug#15166)
3038
7c97d35e
MR
30392013-08-27 Martin Rudalics <rudalics@gmx.at>
3040
3041 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3042 argument in call of get-largest-window (Bug#15185).
3043 Reported by Stephen Leake.
7c97d35e 3044
a0b5606e 30452013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3046
3047 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3048
9e89d835
SM
30492013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3052 from a matcher-function unless there's no more matches (bug#15161).
3053
78fc2530
MA
30542013-08-26 Michael Albinus <michael.albinus@gmx.de>
3055
3056 * minibuffer.el: Revert change from 2013-08-20.
3057
3058 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3059 with text property `tramp-default', if appropriate.
3060 (tramp-check-proper-host): New defun.
3061 (tramp-dissect-file-name): Do not check hostname. Revert change
3062 of 2013-03-18.
3063 (tramp-backtrace): Make VEC-OR-PROC optional.
3064
3065 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3066 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3067 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3068 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3069 Apply `tramp-check-proper-host'.
78fc2530 3070
edca97cd
TH
30712013-08-26 Tassilo Horn <tsdh@gnu.org>
3072
3073 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3074 lambda expression in order to have `describe-variable' display it.
3075
df54bcbd
MA
30762013-08-26 Michael Albinus <michael.albinus@gmx.de>
3077
3078 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3079 BUF can be optional. (Bug#15186)
3080
eed99101
XF
30812013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3082
3083 * progmodes/flymake.el (flymake-get-real-file-name-function):
3084 Fix broken customization. (Bug#15184)
3085
b5eb9035
AM
30862013-08-25 Alan Mackenzie <acm@muc.de>
3087
8a51e842
AM
3088 Improve indentation of bracelists defined by macros (without "=").
3089
3090 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3091 expansion begins with "{", regard it as bracelist when it doesn't
3092 contain a ";".
3093
869455d4
AM
3094 Parse C++ inher-intro when there's a template split over 2 lines.
3095
3096 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3097 rigorously the search for "class" etc. followed by ":".
3098
3099 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3100 random languages a regexp which never matches rather than nil.
3101
b5eb9035
AM
3102 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3103
3104 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3105 (c-awk-regexp-one-line-possibly-open-char-list-re)
3106 (c-awk-one-line-possibly-open-regexp-re)
3107 (c-awk-one-line-non-syn-ws*-re): Remove.
3108 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3109 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3110 (c-awk-space*-unclosed-regexp-/-re): New constants.
3111 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3112 aren't regexp delimiters.
3113
3114 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3115 handling for a rare situation in AWK Mode involving unterminated
3116 strings/regexps.
3117
61611d54
GM
31182013-08-23 Glenn Morris <rgm@gnu.org>
3119
2d85dc34
GM
3120 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3121
cb8d2612
GM
3122 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3123
bb35f42f
GM
3124 * files.el (create-file-buffer): If the result would begin with
3125 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3126
b9808e77
SM
31272013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3128
e3a66363
SM
3129 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3130 text-properties (bug#15155).
3131
b9808e77
SM
3132 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3133 exist any more.
3134 (calc-keypad-redraw): Remove unused var `pad'.
3135 (calc-keypad-press): Remove unused var `menu'.
3136
7fd5f65e
MR
31372013-08-23 Martin Rudalics <rudalics@gmx.at>
3138
b9808e77
SM
3139 * window.el (display-buffer-pop-up-frame):
3140 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3141 use it as the new frame's buffer (Bug#15133).
3142
8352b530
SM
31432013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * calendar/timeclock.el: Minor cleanups.
3146 (timeclock-ask-before-exiting, timeclock-use-display-time):
3147 Use `symbol'.
3148 (timeclock-modeline-display): Define as alias before the
3149 actual definition.
3150 (timeclock-mode-line-display): Use define-minor-mode.
3151 (timeclock-day-list-template): Make it a function, add an argument.
3152 (timeclock-day-list-required, timeclock-day-list-length)
3153 (timeclock-day-list-debt, timeclock-day-list-span)
3154 (timeclock-day-list-break): Adjust calls accordingly.
3155
9f7b1925
SM
31562013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3159 Use read--expression so that completion works again.
3160
6e50e983
SS
31612013-08-21 Sam Steingold <sds@gnu.org>
3162
3163 Add rudimentary inferior shell interaction
3164 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3165 (sh-set-shell): Reset it.
9f7b1925
SM
3166 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3167 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3168
dbb0d350
SM
31692013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * align.el: Use lexical-binding.
3172 (align-region): Simplify accordingly.
3173
c88586a9
MA
31742013-08-20 Michael Albinus <michael.albinus@gmx.de>
3175
3176 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3177
3178 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3179 `non-essential' up.
3180
f95527c8
MA
31812013-08-17 Michael Albinus <michael.albinus@gmx.de>
3182
3183 * net/tramp.el:
3184 * net/tramp-adb.el:
3185 * net/tramp-cmds.el:
3186 * net/tramp-ftp.el:
3187 * net/tramp-gvfs.el:
3188 * net/tramp-gw.el:
3189 * net/tramp-sh.el: Don't wrap external variable declarations by
3190 `eval-when-compile'.
3191
4b5fe4ee
LMI
31922013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3193
3194 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3195 now that Emacs supports ImageMagick animations.
3196
13c366c9
MA
31972013-08-16 Michael Albinus <michael.albinus@gmx.de>
3198
3199 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3200 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3201
3dfc5cd6
MR
32022013-08-16 Martin Rudalics <rudalics@gmx.at>
3203
3204 * window.el (mouse-autoselect-window-select): Do autoselect when
3205 mouse pointer is on margin.
3206
4bbb4381
WP
32072013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3208
3209 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3210
3a2ddc2d
GM
32112013-08-16 Glenn Morris <rgm@gnu.org>
3212
e8bedf5a
GM
3213 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3214 Handle "Remote Directory" response of some clients. (Bug#15058)
3215
58c4682f
GM
3216 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3217 Tweak warning. (Bug#14926)
3218
57953f49
GM
3219 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3220 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3221
3a2ddc2d
GM
3222 * image-mode.el (image-mode-map): Add menu items to reverse,
3223 increase, decrease, reset animation speed.
3224 (image--set-speed, image-increase-speed, image-decrease-speed)
3225 (image-reverse-speed, image-reset-speed): New functions.
3226 (image-mode-map): Add bindings for speed commands.
3227
3228 * image.el (image-animate-get-speed, image-animate-set-speed):
3229 New functions.
3230 (image-animate-timeout): Respect image :speed property.
3231
10fa0ed3
SM
32322013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3233
3234 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3235 previous line (bug#15101).
3236 (debugger-eval-expression, debugger-record-expression):
3237 Use read--expression (bug#15102).
3238
5d89d9d2
MA
32392013-08-15 Michael Albinus <michael.albinus@gmx.de>
3240
3241 Remove byte compiler warnings, visible when compiling with
3242 `byte-compile-force-lexical-warnings' set to t.
3243
3244 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3245 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3246 (tramp-handle-unhandled-file-name-directory)
3247 (tramp-handle-file-notify-add-watch, tramp-action-login)
3248 (tramp-action-succeed, tramp-action-permission-denied)
3249 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3250 arguments with "_".
3251
3252 * net/tramp-adb.el (tramp-adb-parse-device-names)
3253 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3254 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3255 (tramp-adb-handle-file-truename): Remove unused arguments.
3256
3257 * net/tramp-cache.el (tramp-flush-directory-property)
3258 (tramp-flush-connection-property, tramp-list-connections)
3259 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3260
10fa0ed3
SM
3261 * net/tramp-compat.el (tramp-compat-make-temp-file):
3262 Rename FILENAME to F.
5d89d9d2
MA
3263
3264 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3265 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3266 (tramp-zeroconf-parse-workstation-device-names)
3267 (tramp-zeroconf-parse-webdav-device-names)
3268 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3269
3270 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3271 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3272
3273 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3274 arguments.
3275 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3276 (tramp-sh-handle-insert-file-contents-literally)
3277 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3278 with "_".
3279 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3280 Remove unused variables.
3281
3282 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3283 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3284 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3285
3286 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3287 Make them a defconst.
3288 (tramp-uuencode-region): Remove unused variable.
3289
62f33bae
JB
32902013-08-14 Juanma Barranquero <lekktu@gmail.com>
3291
3292 * frameset.el (frameset--prop-setter): New function.
3293 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3294 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3295 parameter was already set in FILTERED. Doc fix.
3296 (frameset--record-minibuffer-relationships): Allow saving a
3297 minibufferless frame without its corresponding minibuffer frame.
3298 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3299 frame, if the frame id matches.
3300 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3301 frames before orphaned ones.
3302 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3303
c660a885
MR
33042013-08-14 Martin Rudalics <rudalics@gmx.at>
3305
3306 * window.el (window-make-atom): Don't overwrite parameter
3307 already present.
3308 (display-buffer-in-atom-window): Handle special case where we
3309 split an already atomic window.
3310 (window--major-non-side-window, display-buffer-in-side-window)
3311 (window--side-check): Ignore minibuffer window when walking
3312 window tree.
3313 (window-deletable-p): Return 'frame only if no other frame uses
3314 our minibuffer window.
3315 (record-window-buffer): Run buffer-list-update-hook.
3316 (split-window): Make sure window--check-frame won't destroy an
3317 existing atomic window in case the new window gets nested
3318 inside.
3319 (display-buffer-at-bottom): Ignore minibuffer window when
3320 walking window tree. Don't split a side window.
3321 (pop-to-buffer): Don't set-buffer here, the select-window call
3322 should do that.
3323 (mouse-autoselect-window-select): Autoselect only if we are in the
3324 text portion of the window.
3325
8259030d
LMI
33262013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3327
21c58ae2
LMI
3328 * net/shr.el (shr-parse-image-data): New function to grab both the
3329 data itself and the Content-Type.
3330 (shr-put-image): Use it.
3331
3332 * net/eww.el (eww-display-image): Ditto.
3333
8259030d
LMI
3334 * image.el (image-content-type-suffixes): New variable.
3335
ad756449
FEG
33362013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3337
3338 * progmodes/python.el (python-imenu--build-tree)
3339 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3340
f73f4ce6
XF
33412013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3342
3343 * simple.el (backward-word): Mention the optional argument.
3344
1f585e65
SM
33452013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * frameset.el (frameset--make): Rename constructor from make-frameset.
3348 (frameset-p, frameset-valid-p): Don't autoload.
3349 (frameset-valid-p): Use normal accessors.
3350
af1c6c84
GM
33512013-08-13 Glenn Morris <rgm@gnu.org>
3352
55e47f95
GM
3353 * progmodes/compile.el (compile-command): Tweak example in doc.
3354 * obsolete/scribe.el (scribe-mode):
3355 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3356
f0024d8c
GM
3357 * mail/feedmail.el (feedmail-confirm-outgoing)
3358 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3359
3360 * cus-start.el (truncate-partial-width-windows): Fix type.
3361
3362 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3363
af1c6c84
GM
3364 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3365
5514cc4c
SM
33662013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * emacs-lisp/timer.el (timer--time-setter): New function.
3369 (timer--time): Use it as gv-setter.
3370
3371 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3372 setter is not a symbol.
3373
7997a2f1
GJ
33742013-08-12 Grégoire Jadi <daimrod@gmail.com>
3375
3376 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3377 if sending fails. This makes debugging easier.
3378
01f1a9ab
JB
33792013-08-12 Juanma Barranquero <lekktu@gmail.com>
3380
3381 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3382 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3383 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3384
594a4307
EZ
33852013-08-12 Eli Zaretskii <eliz@gnu.org>
3386
3387 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3388
7a22490f 33892013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3390
3391 * format.el (format-annotate-function):
3392 Handle read-only text properties in the source. (Bug#14887)
3393
3e41a054
LMI
33942013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3395
5514cc4c
SM
3396 * net/eww.el (eww-display-html): Ignore coding system errors.
3397 One web site uses "utf-8lias" as the coding system.
3e41a054 3398
7ec326db
JB
33992013-08-11 Juanma Barranquero <lekktu@gmail.com>
3400
3401 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3402
5660113b
JB
34032013-08-10 Juanma Barranquero <lekktu@gmail.com>
3404
9a4ebc74
JB
3405 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3406 (tutorial--detailed-help): Remove unused local variables.
3407 (tutorial--save-tutorial-to): Use ignore-errors.
3408 (help-with-tutorial): Use looking-at-p.
3409
3410 * view.el (view-buffer-other-window, view-buffer-other-frame):
3411 Mark unused arguments.
3412
3413 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3414 (woman-select-symbol-fonts, woman, woman-find-file)
3415 (woman-insert-file-contents, woman-non-underline-faces):
3416 Use string-match-p.
3417 (woman1-unquote): Move declaration.
3418
3419 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3420 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3421 argument. Remove unused local variable.
3422 (xml-parse-elem-type): Use string-match-p.
3423 (xml-substitute-numeric-entities): Use ignore-errors.
3424
45fdb482
JB
3425 * calculator.el (calculator): Mark unused argument.
3426 (calculator-paste, calculator-quit, calculator-integer-p):
3427 Use ignore-errors.
3428 (calculator-string-to-number, calculator-decimal, calculator-exp)
3429 (calculator-op-or-exp): Use string-match-p.
3430
3431 * dired.el (dired-buffer-more-recently-used-p): Declare.
3432 (dired-insert-set-properties, dired-insert-old-subdirs):
3433 Use ignore-errors.
3434
3435 * dired-aux.el (dired-compress): Use ignore-errors.
3436 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3437 (dired-do-async-shell-command, dired-do-shell-command)
3438 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3439 (dired-insert-subdir-validate): Use string-match-p.
3440 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3441 (dired-add-entry): Use string-match-p, looking-at-p.
3442 (dired-insert-subdir-newpos): Remove unused local variable.
3443
3444 * filenotify.el (file-notify-callback): Remove unused local variable.
3445
3446 * filesets.el (filesets-error): Mark unused argument.
3447 (filesets-which-command-p, filesets-filter-dir-names)
3448 (filesets-directory-files, filesets-get-external-viewer)
3449 (filesets-ingroup-get-data): Use string-match-p.
3450
3451 * find-file.el (ff-other-file-name, ff-other-file-name)
3452 (ff-find-the-other-file, ff-cc-hh-converter):
3453 Remove unused local variables.
3454 (ff-get-file-name): Use string-match-p.
3455 (ff-all-dirs-under): Use ignore-errors.
3456
3457 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3458 (follow-select-if-visible): Remove unused local variable.
3459
3460 * forms.el (read-file-filter): Move declaration.
3461 (forms--make-format, forms--make-parser, forms-insert-record):
3462 Quote function with #'.
3463 (forms--update): Use string-match-p. Quote function with #'.
3464
3465 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3466 (help-make-xrefs): Use looking-at-p.
3467 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3468
3469 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3470 (ibuffer-confirm-operation-on): Use string-match-p.
3471
3472 * msb.el (msb-item-handler, msb-dired-item-handler):
3473 Mark unused arguments.
3474
3475 * ses.el (ses-decode-cell-symbol)
3476 (ses-kill-override): Remove unused local variable.
3477 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3478 (ses-load): Use ignore-errors, looking-at-p.
3479 (ses-jump-safe): Use ignore-errors.
3480 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3481
3482 * tabify.el (untabify, tabify): Mark unused arguments.
3483
3484 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3485 Mark unused argument.
3486 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3487 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3488
c880af52
JB
3489 * emacs-lisp/timer.el (timer--time): Define setter with
3490 gv-define-setter to avoid deprecation warning.
3491
5660113b 3492 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3493 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3494 (cmpl-statistics-block): Remove (body was commented out).
3495 All callers changed.
3496 (add-completions-from-buffer, load-completions-from-file):
3497 Remove unused variables.
3498
156aab80
JB
34992013-08-09 Juanma Barranquero <lekktu@gmail.com>
3500
5c5dee78
JB
3501 * filecache.el (file-cache-delete-file-list):
3502 Print message only when told so.
3503 (file-cache-files-matching): Use #' in mapconcat argument.
3504
156aab80
JB
3505 * ffap.el (ffap-url-at-point): Fix reference to variable
3506 thing-at-point-default-mail-uri-scheme.
3507
ad9dcd70
SM
35082013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3509
54bd972f
SM
3510 * subr.el (define-error): New function.
3511 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3512 error-file-not-found and define with define-error.
3513 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3514 and define with define-error.
3515 * userlock.el (file-locked, file-supersession):
3516 * simple.el (mark-inactive):
3517 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3518 * progmodes/ada-mode.el (ada-mode-errors):
3519 * play/life.el (life-extinct):
3520 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3521 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3522 * nxml/rng-util.el (rng-error):
3523 * nxml/rng-uri.el (rng-uri-error):
3524 * nxml/rng-match.el (rng-compile-error):
3525 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3526 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3527 * nxml/nxml-rap.el (nxml-scan-error):
3528 * nxml/nxml-outln.el (nxml-outline-error):
3529 * net/soap-client.el (soap-error):
3530 * net/gnutls.el (gnutls-error):
3531 * net/ange-ftp.el (ftp-error):
3532 * mpc.el (mpc-proc-error):
3533 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3534 (json-number-format, json-string-escape, json-string-format)
3535 (json-key-format, json-object-format):
3536 * jka-compr.el (compression-error):
3537 * international/quail.el (quail-error):
3538 * international/kkc.el (kkc-error):
3539 * emacs-lisp/ert.el (ert-test-failed):
3540 * calc/calc.el (calc-error, inexact-result, math-overflow)
3541 (math-underflow):
3542 * bookmark.el (bookmark-error-no-filename):
3543 * epg.el (epg-error): Define with define-error.
3544
0ea9e53a
SM
3545 * time.el (display-time-event-handler)
3546 (display-time-next-load-average): Don't call sit-for since it seems
3547 unnecessary (bug#15045).
3548
b0429158
SM
3549 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3550 Use #' instead of ' to quote functions.
3551 (checkdoc-output-mode): Use setq-local.
3552 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3553 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3554 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3555 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3556 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3557 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3558 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3559 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3560
ad9dcd70
SM
3561 * ido.el (ido-completion-help): Fix up compiler warning.
3562
77187e6f
JB
35632013-08-09 Juanma Barranquero <lekktu@gmail.com>
3564
3565 * frameset.el (frameset-p): Add autoload cookie.
3566 (frameset--jump-to-register): New function, based on code moved from
3567 register.el.
3568 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3569
3570 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3571 (frameset-restore, frameset-save, frameset-session-filter-alist):
3572 Remove declarations.
3573 (register-alist): Doc fix.
3574 (frameset-to-register): Move to frameset.el.
3575 (jump-to-register, describe-register-1): Remove frameset-specific code.
3576
9d3aa82c
JB
35772013-08-08 Juanma Barranquero <lekktu@gmail.com>
3578
3579 * allout-widgets.el (allout-widgets-pre-command-business)
3580 (allout-widgets-post-command-business)
3581 (allout-widgets-after-change-handler)
3582 (allout-decorate-item-and-context, allout-set-boundary-marker)
3583 (allout-body-modification-handler)
3584 (allout-graphics-modification-handler): Mark ignored arguments.
3585 (allout-widgets-post-command-business)
3586 (allout-widgets-exposure-change-processor)
3587 (allout-widgets-exposure-undo-processor)
3588 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3589 (allout-parse-item-at-point, allout-decorate-item-guides)
3590 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3591 * allout.el (epa-passphrase-callback-function): Declare.
3592 (allout-overlay-insert-in-front-handler)
3593 (allout-overlay-interior-modification-handler)
3594 (allout-isearch-end-handler, allout-chart-siblings)
3595 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3596 (allout-yank-processing, allout-process-exposed)
3597 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3598 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3599 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3600 (lisp-indent-defform): Mark ignored arguments.
3601 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3602 (calculate-lisp-indent): Remove unused variables.
3603 * international/characters.el (indian-2-column, arabic-2-column)
3604 (tibetan): Mark ignored arguments.
3605 (use-cjk-char-width-table): Mark ignored arguments.
3606 Remove unused variables.
3607 * international/fontset.el (build-default-fontset-data)
3608 (x-compose-font-name, create-fontset-from-fontset-spec):
3609 Mark ignored arguments.
3610 (fontset-plain-name): Remove unused variables.
3611 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3612 (keyboard-coding-system): Mark ignored arguments.
3613 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3614 * help.el (resize-temp-buffer-window):
3615 * window.el (display-buffer-in-major-side-window)
3616 (display-buffer-in-side-window, display-buffer-in-previous-window):
3617 Remove unused variables.
3618 * isearch.el (isearch-forward-symbol):
3619 * version.el (emacs-bzr-version-bzr):
3620 * international/mule-cmds.el (current-language-environment):
3621 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3622 (x-handle-display):
3623 * term/pc-win.el (x-list-fonts, x-display-planes)
3624 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3625 (x-server-version, x-display-screens, x-display-mm-height)
3626 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3627 (x-selection-owner-p, x-own-selection-internal)
3628 (x-disown-selection-internal, x-get-selection-internal)
3629 (msdos-initialize-window-system):
3630 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3631 * term/x-win.el (x-handle-no-bitmap-icon):
3632 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3633 (vc-default-find-file-hook, vc-default-extra-menu):
3634 Mark ignored arguments.
3635
0ca3f70e
SM
36362013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3639 break-condition in the context of the debugged code (bug#12685).
3640
74c5d24c
CS
36412013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3642
3643 * comint.el:
3644 Do not use an overlay to highlight the last prompt. (Bug#14744)
3645 (comint-mode): Make comint-last-prompt buffer local.
3646 (comint-last-prompt): New variable.
3647 (comint-last-prompt-overlay): Remove. Superseded by
3648 comint-last-prompt.
0ca3f70e
SM
3649 (comint-snapshot-last-prompt, comint-output-filter):
3650 Use comint-last-prompt.
74c5d24c 3651
c03c02ee
JB
36522013-08-08 Juanma Barranquero <lekktu@gmail.com>
3653
a3738d20 3654 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3655 (frameset-save): Check validity of the resulting frameset.
3656
04263d23
XF
36572013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3658
3659 * ido.el (ido-record-command): Add doc string.
3660
76c5e5ab
JB
36612013-08-08 Juanma Barranquero <lekktu@gmail.com>
3662
3663 * frameset.el (frameset): Do not disable creation of the default
3664 frameset-p predicate. Doc fix.
3665 (frameset-valid-p): New function, copied from the old predicate-p.
3666 Add additional checks.
3667 (frameset-restore): Check with frameset-valid-p.
3668 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3669 (frameset-name, frameset-description, frameset-properties)
3670 (frameset-states): Add docstring.
f9dbf1cb
JB
3671 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3672 (frameset-filter-alist): Doc fixes.
76c5e5ab 3673
bd0c3c0b
JB
36742013-08-08 Juanma Barranquero <lekktu@gmail.com>
3675
3676 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3677
c735544c
SM
36782013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3681 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3682 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3683 (byte-compile-normal-call): Remove obsolescence check.
3684
2805a651
JB
36852013-08-08 Juanma Barranquero <lekktu@gmail.com>
3686
3677ffeb
JB
3687 * frameset.el (frameset-restore): Doc fix.
3688
2805a651
JB
3689 * register.el (frameset-frame-id, frameset-frame-with-id)
3690 (frameset-p, frameset-restore, frameset-save): Declare.
3691 (register-alist): Document framesets.
3692 (frameset-session-filter-alist): Declare.
3693 (frameset-to-register): New function.
3694 (jump-to-register): Implement jumping to framesets. Doc fix.
3695 (describe-register-1): Describe framesets.
3696
3697 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3698
a912c016
JB
36992013-08-07 Juanma Barranquero <lekktu@gmail.com>
3700
3701 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3702 Use lexical-binding.
3703
3704 * frameset.el (frameset): Use type vector, not list (incompatible
3705 change). Do not declare a new constructor, use the default one.
3706 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3707 `name' and `description', respectively, and add read-only slot
3708 `timestamp'. Doc fixes.
3709 (frameset-copy, frameset-persistent-filter-alist)
3710 (frameset-filter-alist, frameset-switch-to-gui-p)
3711 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3712 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3713 (frameset-filter-iconified, frameset-keep-original-display-p):
3714 Doc fixes.
3715 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3716 Rename from frameset-filter-(save|restore)-param. All callers changed.
3717 Doc fix.
3718 (frameset-p): Adapt to change to vector and be more thorough.
3719 Change arg name to OBJECT. Doc fix.
3720 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3721 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3722 All callers changed.
3723 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3724 All callers changed.
3725 (frameset--record-minibuffer-relationships): Rename from
3726 frameset--process-minibuffer-frames. All callers changed.
3727 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3728 Use new default constructor (again). Doc fix.
3729 (frameset--find-frame-if): Rename from `frameset--find-frame.
3730 All callers changed.
3731 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3732 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3733 Doc fix.
3734 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3735 PARAMETERS and WINDOW-STATE, respectively.
3736 (frameset-restore): Add new keyword argument PREDICATE.
3737 Reset frameset--target-display to nil. Doc fix.
3738
bb41480a
SM
37392013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3740
f001e98e
SM
3741 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3742 (bat-mode): Use it.
3743 (bat-mode-syntax-table): Mark \n as end-of-comment.
3744 (bat-font-lock-keywords): Remove comment rule.
3745
7679edb1
SM
3746 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3747 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3748
bb41480a
SM
3749 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3750 (byte-compile-callargs-warn): Use `push'.
3751 (byte-compile-arglist-warn): Ignore higher-order "calls".
3752 (byte-compile-file-form-autoload): Use `pcase'.
3753 (byte-compile-function-form): If quoting a symbol, check that it exists.
3754
cdc1ebb9
EZ
37552013-08-07 Eli Zaretskii <eliz@gnu.org>
3756
3757 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3758 and add a few popular commands found in batch files.
3759 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3760 (dos-mode): Doc fixes.
3761
312b1740
SM
37622013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3765 (dos-mode): Use setq-local. Add space after "rem".
3766 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3767 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3768
400a3178
AM
37692013-08-07 Arni Magnusson <arnima@hafro.is>
3770
3771 * progmodes/dos.el: New file.
3772 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3773 dos-mode.
3774
3b5c03d3
GM
37752013-08-06 Glenn Morris <rgm@gnu.org>
3776
3777 * calendar/calendar.el: Add new faces, and day-header-array.
3778 (calendar-weekday-header, calendar-weekend-header)
3779 (calendar-month-header): New faces.
3780 (calendar-day-header-construct): New function.
3781 (calendar-day-header-width): Also :set calendar-day-header-array.
3782 (calendar-american-month-header, calendar-european-month-header)
3783 (calendar-iso-month-header): Use calendar- faces.
3784 (calendar-generate-month):
3785 Use calendar-day-header-array for day headers; apply faces to them.
3786 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3787 (calendar-abbrev-construct): Add optional maxlen argument.
3788 (calendar-day-name-array): Doc fix.
3789 (calendar-day-name-array, calendar-abbrev-length)
3790 (calendar-day-abbrev-array):
3791 Also :set calendar-day-header-array, and maybe redraw.
3792 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3793 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3794 (calendar-day-name): Add option to use header array.
3795
ec6a2d7a
LMI
37962013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3797
3798 * net/shr.el (shr-render-td): Remove debugging.
3799 (shr-render-td): Make width computation consistent by defaulting
3800 all zero-width columns to 10 characters. This may not be optimal,
3801 but it's at least consistent.
2122cb6d
LMI
3802 (shr-make-table-1): Redo last change to fix the real problem in
3803 colspan handling.
ec6a2d7a 3804
ed4fd9c5
DA
38052013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3806
0ca3f70e
SM
3807 * files.el (cache-long-line-scans):
3808 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3809
64e22afe
JB
38102013-08-06 Juanma Barranquero <lekktu@gmail.com>
3811
024b38fc
JB
3812 * frameset.el (frameset, frameset-filter-alist)
3813 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3814 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3815 (frameset-compute-pos): Rename from frameset--compute-pos,
3816 and add docstring.
3817 (frameset-move-onscreen): Use frameset-compute-pos.
3818 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3819
64e22afe
JB
3820 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3821 Fix typos in docstrings.
3822
c8c2aca8
DA
38232013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3824
3825 * frame.el (get-other-frame): Tiny cleanup.
3826
1d237bba
JB
38272013-08-06 Juanma Barranquero <lekktu@gmail.com>
3828
8951efef
JB
3829 * vc/vc.el (vc-default-ignore-completion-table):
3830 Silence byte-compiler warning.
3831
307764cc
JB
3832 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3833 slot , which can indeed be nil.
3834 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3835 Move entry for `left' from persistent to live filter alist.
3836 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3837 Doc fixes.
3838 (frameset-filter-params): When restoring a frame, copy items added to
3839 `filtered', to avoid unwittingly modifying the original parameters.
3840 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3841 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3842
1d237bba
JB
3843 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3844 to use looking-at-p instead of looking-at. (Bug#15028)
3845
dc6c0eda
SM
38462013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 Revert introduction of isearch-filter-predicates (bug#14714).
3849 Rely on add-function instead.
3850 * isearch.el (isearch-filter-predicates): Rename it back to
3851 isearch-filter-predicate.
3852 (isearch-message-prefix): Use advice-function-mapc and advice
3853 properties to get the isearch-message-prefix.
3854 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3855 instead of run-hook-with-args-until-failure.
3856 (isearch-filter-visible): Not obsolete any more.
3857 * loadup.el: Preload nadvice.
3858 * replace.el (perform-replace): Revert to funcall
3859 instead of run-hook-with-args-until-failure.
3860 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3861 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3862 dired-isearch-filenames-toggle; make it into a proper minor mode.
3863 Use add/remove-function.
3864 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3865 Call the minor-mode rather than add/remove-hook.
3866 (dired-isearch-filter-filenames):
3867 Remove isearch-message-prefix property.
3868 * info.el (Info--search-loop): New function, extracted from Info-search.
3869 Funcall isearch-filter-predicate instead of
3870 run-hook-with-args-until-failure isearch-filter-predicates.
3871 (Info-search): Use it.
3872 (Info-mode): Use isearch-filter-predicate instead of
3873 isearch-filter-predicates.
3874
290d5b58
DA
38752013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3876
3877 Do not call to `selected-window' where it is assumed by default.
3878 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3879 `window-hscroll', `window-width', `window-height', `window-buffer',
3880 `window-frame', `window-start', `window-point', `next-window'
3881 and `window-display-table'.
3882 * abbrev.el (abbrev--default-expand):
3883 * bs.el (bs--show-with-configuration):
3884 * buff-menu.el (Buffer-menu-mouse-select):
3885 * calc/calc.el (calc):
3886 * calendar/calendar.el (calendar-generate-window):
3887 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3888 (diary-make-entry):
3889 * comint.el (send-invisible, comint-dynamic-complete-filename)
3890 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3891 * completion.el (complete):
3892 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3893 * disp-table.el (describe-current-display-table):
3894 * doc-view.el (doc-view-insert-image):
3895 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3896 * ehelp.el (with-electric-help):
3897 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3898 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3899 * emacs-lisp/helper.el (Helper-help-scroller):
3900 * emulation/cua-base.el (cua--post-command-handler-1):
3901 * eshell/esh-mode.el (eshell-output-filter):
3902 * ffap.el (ffap-gnus-wrapper):
3903 * help-macro.el (make-help-screen):
3904 * hilit-chg.el (highlight-compare-buffers):
3905 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3906 * hl-line.el (global-hl-line-highlight):
3907 * icomplete.el (icomplete-simple-completing-p):
3908 * isearch.el (isearch-done):
3909 * jit-lock.el (jit-lock-stealth-fontify):
3910 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3911 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3912 * mpc.el (mpc-tagbrowser, mpc):
3913 * net/rcirc.el (rcirc-any-buffer):
3914 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3915 * play/landmark.el (landmark-max-width, landmark-max-height):
3916 * play/zone.el (zone):
3917 * progmodes/compile.el (compilation-goto-locus):
3918 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3919 * progmodes/etags.el (find-tag-other-window):
3920 * progmodes/fortran.el (fortran-column-ruler):
3921 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3922 * progmodes/verilog-mode.el (verilog-point-text):
3923 * reposition.el (reposition-window):
3924 * rot13.el (toggle-rot13-mode):
3925 * server.el (server-switch-buffer):
3926 * shell.el (shell-dynamic-complete-command)
3927 (shell-dynamic-complete-environment-variable):
3928 * simple.el (insert-buffer, set-selective-display)
3929 (delete-completion-window):
3930 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3931 (speedbar-recenter):
3932 * startup.el (fancy-splash-head):
3933 * textmodes/ispell.el (ispell-command-loop):
3934 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3935 * tutorial.el (help-with-tutorial):
3936 * vc/add-log.el (add-change-log-entry):
3937 * vc/compare-w.el (compare-windows):
3938 * vc/ediff-help.el (ediff-indent-help-message):
3939 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3940 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3941 (ediff-setup-control-frame):
3942 * vc/emerge.el (emerge-position-region):
3943 * vc/pcvs-util.el (cvs-bury-buffer):
3944 * window.el (walk-windows, mouse-autoselect-window-select):
3945 * winner.el (winner-set-conf, winner-undo): Related users changed.
3946
38276e01
JB
39472013-08-05 Juanma Barranquero <lekktu@gmail.com>
3948
3949 * frameset.el (frameset--set-id): Doc fix.
3950 (frameset-frame-id, frameset-frame-id-equal-p)
3951 (frameset-locate-frame-id): New functions.
3952 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3953 (frameset-restore): Use them.
3954
12b4c0ea
DA
39552013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3956
3957 Do not call to `selected-frame' where it is assumed by default.
3958 Affected functions are `raise-frame', `redraw-frame',
3959 `frame-first-window', `frame-terminal' and `delete-frame'.
3960 * calendar/appt.el (appt-disp-window):
3961 * epg.el (epg-wait-for-completion):
3962 * follow.el (follow-delete-other-windows-and-split)
3963 (follow-avoid-tail-recenter):
3964 * international/mule.el (set-terminal-coding-system):
3965 * mail/rmail.el (rmail-mail-return):
3966 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3967 * progmodes/f90.el (f90-add-imenu-menu):
3968 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3969 * server.el (server-switch-buffer):
3970 * simple.el (delete-completion-window):
3971 * talk.el (talk):
3972 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3973 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3974 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3975 * vc/ediff.el (ediff-documentation): Related users changed.
3976 * frame.el (selected-terminal): Remove the leftover.
3977
17f25e76
GM
39782013-08-05 Glenn Morris <rgm@gnu.org>
3979
3980 * calendar/calendar.el (calendar-generate-month):
3981 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3982 (calendar-generate-month, calendar-font-lock-keywords):
3983 Fix for calendar-day-header-width > length of any day name.
17f25e76 3984
063233c3
JB
39852013-08-05 Juanma Barranquero <lekktu@gmail.com>
3986
3987 * desktop.el (desktop-clear): Use new name of sort predicate.
3988
3989 * frameset.el (frameset): Add docstring. Move :version property to its
3990 own `version' slot.
3991 (frameset-copy): Rename from copy-frameset.
3992 (frameset-p): Check more thoroughly.
3993 (frameset-prop): Do not check for :version, which is no longer a prop.
3994 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3995 Use new :never value instead of t.
3996 (frameset-filter-alist): Expand and clarify docstring.
3997 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3998 (frameset-filter-minibuffer, frameset-filter-save-param)
3999 (frameset-filter-restore-param, frameset-filter-iconified):
4000 Add pointer to docstring of frameset-filter-alist.
4001 (frameset-filter-params): Rename filter values to be more meaningful:
4002 :never instead of t, and reverse the meanings of :save and :restore.
4003 (frameset--process-minibuffer-frames): Clarify error message.
4004 (frameset-save): Avoid unnecessary and confusing call to framep.
4005 Use new BOA constructor for framesets.
4006 (frameset--reuse-list): Doc fix.
4007 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4008 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4009 (frameset-minibufferless-first-p): Doc fix.
4010 Rename from frameset-sort-frames-for-deletion.
4011 (frameset-restore): Doc fixes. Use new function names.
4012 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4013
d5671a82
JB
40142013-08-04 Juanma Barranquero <lekktu@gmail.com>
4015
4016 * desktop.el (desktop-restore-forces-onscreen)
4017 (desktop-restore-reuses-frames): Document :keyword constant values.
4018 (desktop-filter-parameters-alist): Remove, now identical to
4019 frameset-filter-alist.
4020 (desktop--filter-tty*): Remove, moved to frameset.el.
4021 (desktop-save-frameset, desktop-restore-frameset):
4022 Do not pass :filters argument.
4023
4024 * frameset.el (frameset-live-filter-alist)
4025 (frameset-persistent-filter-alist): New variables.
4026 (frameset-filter-alist): Use them. Add autoload cookie.
4027 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4028 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4029 `frameset--id' (it's supposed to be internal to frameset.el).
4030 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4031 (frameset--initial-params): New function.
4032 (frameset--get-frame): Use it. Doc fix.
4033 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4034 Accept :all, not 'all.
4035 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4036 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4037 with fbound symbols. Fix frame id matching, and remove matching ids if
4038 the frame being restored is deleted. Obey :delete.
4039
671d5c16
SM
40402013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4041
4042 * subr.el (macrop): New function.
4043 (text-clone--maintaining): New var.
4044 (text-clone--maintain): Rename from text-clone-maintain. Use it
4045 instead of inhibit-modification-hooks.
4046
4047 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4048 a proxy, so as handle autoloads and redefinitions of the target.
4049 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4050
4051 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4052 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4053 (pcase--mutually-exclusive-p): New function.
4054 (pcase--split-consp): Use it.
4055 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4056 mutually exclusive with the current predicate.
4057
4058 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4059 (edebug-macrop): Remove. Use `macrop' instead.
4060 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4061 (ad-macro-p):
4062 * eshell/esh-cmd.el (eshell-macrop):
4063 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4064
1d44e9dc
SM
40652013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4068 (advice-mapc): New function, using it.
4069 (advice-function-member-p): New function.
4070 (advice--normalize): Store the cdr in advice--saved-rewrite since
4071 that's the part that will be changed.
4072 (advice--symbol-function): New function.
4073 (advice-remove): Handle removal before the function is defined.
4074 Adjust to new advice--saved-rewrite.
4075 (advice-member-p): Use advice-function-member-p and
4076 advice--symbol-function.
4077
5414a283
JB
40782013-08-04 Juanma Barranquero <lekktu@gmail.com>
4079
51d30f2c
JB
4080 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4081 (frameset-filter-minibuffer): Doc fix.
4082 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4083 (frameset--set-id, frameset--process-minibuffer-frames)
4084 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4085 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4086
5414a283
JB
4087 * desktop.el (desktop-clear): Only delete frames when called
4088 interactively and desktop-restore-frames is non-nil. Doc fix.
4089 (desktop-read): Set desktop-saved-frameset to nil.
4090
ab419665
XF
40912013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4092
4093 * vc/vc.el (vc-ignore): Rewrite.
4094 (vc-default-ignore-completion-table):
4095 (vc--read-lines):
4096 (vc--add-line, vc--remove-regexp): New functions.
4097
4098 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4099 (vc-svn-ignore-completion-table): New function.
4100
4101 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4102 (vc-hg-ignore-completion-table):
4103 (vc-hg-find-ignore-file): New functions.
4104
4105 * vc/vc-git.el (vc-git-ignore): Rewrite.
4106 (vc-git-ignore-completion-table):
4107 (vc-git-find-ignore-file): New functions.
4108
4109 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4110
4111 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4112 (vc-bzr-ignore-completion-table):
4113 (vc-bzr-find-ignore-file): New functions.
4114
2613dea2
JB
41152013-08-03 Juanma Barranquero <lekktu@gmail.com>
4116
4117 * frameset.el (frameset-prop): New function and setter.
4118 (frameset-save): Do not modify frame list passed by the caller.
4119
9c959872
SM
41202013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4123
a104f656
SM
41242013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4125
70122acf
SM
4126 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4127 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4128
a104f656
SM
4129 * custom.el (custom-initialize-default, custom-initialize-set)
4130 (custom-initialize-reset, custom-initialize-changed): Affect the
4131 toplevel-default-value (bug#6275, bug#14586).
4132 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4133 for bug#6275.
4134
f078d570
JB
41352013-08-02 Juanma Barranquero <lekktu@gmail.com>
4136
185e3b5a
JB
4137 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4138 Add cl-def* expressions.
4139
f078d570
JB
4140 * frameset.el (frameset-filter-params): Fix order of arguments.
4141
9421876d
JB
41422013-08-02 Juanma Barranquero <lekktu@gmail.com>
4143
4144 Move code related to saving frames to frameset.el.
4145 * desktop.el: Require frameset.
4146 (desktop-restore-frames): Doc fix.
4147 (desktop-restore-reuses-frames): Rename from
4148 desktop-restoring-reuses-frames.
4149 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4150 (desktop-clear): Clear frames too.
4151 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4152 (desktop--filter-tty*, desktop-save, desktop-read):
4153 Use frameset functions.
4154 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4155 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4156 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4157 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4158 (desktop--process-minibuffer-frames, desktop-save-frames)
4159 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4160 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4161 (desktop--sort-states, desktop-restoring-frames-p)
4162 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4163 (desktop-restoring-frameset-p, desktop-restore-frameset)
4164 (desktop--check-dont-save, desktop-save-frameset): New functions.
4165 (desktop--app-id): New constant.
4166 (desktop-first-buffer, desktop-buffer-ok-count)
4167 (desktop-buffer-fail-count): Move before first use.
4168 * frameset.el: New file.
4169
76dc5996
SM
41702013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * files.el: Use lexical-binding.
4173 (dir-locals-read-from-file): Remove unused `err' variable.
4174 (hack-dir-local-variables--warned-coding): New var.
4175 (hack-dir-local-variables): Use it to avoid repeated warnings.
4176 (make-backup-file-name--default-function): New function.
4177 (make-backup-file-name-function): Use it as default.
4178 (buffer-stale--default-function): New function.
4179 (buffer-stale-function): Use it as default.
4180 (revert-buffer-insert-file-contents--default-function): New function.
4181 (revert-buffer-insert-file-contents-function): Use it as default.
4182 (insert-directory): Avoid add-to-list.
4183
4184 * autorevert.el (auto-revert-handler): Simplify.
4185 Use buffer-stale--default-function.
4186
06d36e2b
TH
41872013-08-01 Tassilo Horn <tsdh@gnu.org>
4188
5f648ab4
TH
4189 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4190
06d36e2b
TH
4191 * whitespace.el (whitespace-ensure-local-variables): New function.
4192 (whitespace-cleanup-region): Call it.
4193 (whitespace-turn-on): Call it.
4194
a43dc424
MA
41952013-08-01 Michael Albinus <michael.albinus@gmx.de>
4196
4197 Complete file name handlers.
4198
4199 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4200 (tramp-handle-verify-visited-file-modtime)
4201 (tramp-handle-file-notify-rm-watch): New functions.
4202 (tramp-call-process): Do not bind `default-directory'.
4203
44e18199
JB
4204 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4205 Order alphabetically.
a43dc424
MA
4206 [access-file, add-name-to-file, dired-call-process]:
4207 [dired-compress-file, file-acl, file-notify-rm-watch]:
4208 [file-ownership-preserved-p, file-selinux-context]:
4209 [make-directory-internal, make-symbolic-link, set-file-acl]:
4210 [set-file-selinux-context, set-visited-file-modtime]:
4211 [verify-visited-file-modtime]: Add handler.
4212 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4213
4214 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4215 [file-notify-add-watch, file-notify-rm-watch]:
4216 [set-file-times, set-visited-file-modtime]:
4217 [verify-visited-file-modtime]: Add handler.
4218 (with-tramp-gvfs-error-message)
4219 (tramp-gvfs-handle-set-visited-file-modtime)
4220 (tramp-gvfs-fuse-file-name): Remove.
4221 (tramp-gvfs-handle-file-notify-add-watch)
4222 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4223 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4224
44e18199
JB
4225 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4226 Order alphabetically.
a43dc424
MA
4227 [file-notify-rm-watch ]: Use default Tramp handler.
4228 [executable-find]: Remove private handler.
4229 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4230 `default-directory'.
4231 (tramp-sh-handle-executable-find)
4232 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4233 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4234 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4235 Do not use `format' in `tramp-message'.
4236
4237 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4238 [file-notify-rm-watch, set-visited-file-modtime]:
4239 [verify-visited-file-modtime]: Add handler.
4240 (tramp-smb-call-winexe): Do not bind `default-directory'.
4241
7188b515
XF
42422013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4243
4244 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4245
2412ee1a
DG
42462013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4247
4248 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4249 use it.
4250 (log-view-diff-changeset): Same.
4251 (log-view-diff-common): Call backend command `previous-revision'
4252 to find out the previous revision, in both cases. Swap the
4253 variables `to' and `fr', so that `fr' usually refers to the
4254 earlier revision (Bug#14989).
4255
5002a754
KRC
42562013-07-31 Kan-Ru Chen <kanru@kanru.info>
4257
4258 * ibuf-ext.el (ibuffer-filter-by-filename):
4259 Make it work with dired buffers too.
4260
44e18199 42612013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4262
4263 * emacs-lisp/re-builder.el (reb-color-display-p):
4264 * files.el (save-buffers-kill-terminal):
4265 * net/browse-url.el (browse-url):
4266 * server.el (server-save-buffers-kill-terminal):
4267 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4268 Prefer nil to selected-frame for the first arg of frame-parameter.
4269
aeca3fbb
XF
42702013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4271
4272 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4273
158bc55c
SB
42742013-07-30 Stephen Berman <stephen.berman@gmx.net>
4275
4276 * minibuffer.el (completion--twq-all): Try and preserve each
4277 completion's case choice (bug#14907).
4278
d50fceab
LMI
42792013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4280
ac38e731
LMI
4281 * net/network-stream.el (open-network-stream): Mention the new
4282 :nogreeting parameter.
4283 (network-stream-open-starttls): Use the :nogreeting parameter
4284 (bug#14938).
4285
1211de50
LMI
4286 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4287
997798bf
LMI
4288 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4289 more natural than popping.
4290
d50fceab 4291 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4292 (shr-urlify): Highlight under mouse.
d50fceab 4293
5c09de04
XF
42942013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4295
207d1d04
XF
4296 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4297
4298 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4299
5c09de04
XF
4300 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4301 buffer for output.
4302
3cd51eaa
XF
4303 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4304 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4305
44e18199 4306 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4307 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4308
4309 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4310
4311 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4312 buffer for output.
4313
35a89bdd
EZ
43142013-07-29 Eli Zaretskii <eliz@gnu.org>
4315
4316 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4317 initial frame is minibuffer-less. (Bug#14841)
4318
78822e94
MA
43192013-07-29 Michael Albinus <michael.albinus@gmx.de>
4320
4321 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4322 option.
4323
4324 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4325 (tramp-maybe-open-connection): Use it.
4326
9503c190
JB
43272013-07-28 Juanma Barranquero <lekktu@gmail.com>
4328
4329 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4330 minimal set of parameters passed when creating a frame, because
4331 the minibuffer status of a frame cannot be changed later.
4332
d5a845b4
SB
43332013-07-28 Stephen Berman <stephen.berman@gmx.net>
4334
4335 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4336 replace-regexp-in-string and inadvertent omissions in previous change.
4337 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4338 name of filtered items buffer.
d5a845b4 4339
ddeffb17
JB
43402013-07-28 Juanma Barranquero <lekktu@gmail.com>
4341
4342 * desktop.el: Optionally force offscreen frames back onscreen.
4343 (desktop-restoring-reuses-frames): New option.
4344 (desktop--compute-pos, desktop--move-onscreen): New functions.
4345 (desktop--make-frame): Use desktop--move-onscreen.
4346
f5950f7a
AM
43472013-07-27 Alan Mackenzie <acm@muc.de>
4348
4349 Fontify a Java generic method as a function.
4350 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4351 value to t.
4352
ae43b66a
SB
43532013-07-27 Stephen Berman <stephen.berman@gmx.net>
4354
4355 * calendar/todo-mode.el: Add command to rename todo files.
4356 (todo-rename-file): New command.
4357 (todo-key-bindings-t): Add key binding for it. Change the
4358 bindings of todo-filter-regexp-items(-multifile) to use `x'
4359 instead of `r', since the latter is better suited to the new
4360 renaming command.
4361
5ab78d3d
AM
43622013-07-27 Alan Mackenzie <acm@muc.de>
4363
4364 Make Java try-with-resources statement parse properly.
4365 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4366 (c-block-stmt-1-2-key): New language constants/variables.
4367 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4368 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4369 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4370 with c-block-stmt-1-2-key.
5ab78d3d 4371
d85c4d50
JB
43722013-07-27 Juanma Barranquero <lekktu@gmail.com>
4373
4374 * desktop.el (desktop--make-frame): Apply most frame parameters after
4375 creating the frame to force (partially or totally) offscreen frames to
4376 be restored as such.
4377
e4c467f9
XF
43782013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4379
4380 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4381 (Bug#14948)
e4c467f9 4382
7ced0d04
SM
43832013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4384
4385 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4386 `base' arg of backtrace-frame.
4387
fec92060
EZ
43882013-07-26 Eli Zaretskii <eliz@gnu.org>
4389
4390 * simple.el (list-processes): Doc fix.
4391
d58d31fb
JB
43922013-07-26 Juanma Barranquero <lekktu@gmail.com>
4393
4394 * desktop.el (desktop--select-frame):
d85c4d50 4395 Try harder to reuse existing frames.
d58d31fb 4396
53ff3e77
SM
43972013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4398
4399 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4400 (edebug-eval): Use backtrace-eval.
4401 (edebug--display, edebug--recursive-edit): Don't let-bind the
4402 edebug-outer-* vars that keep track of variables we locally let-bind.
4403 (edebug-outside-excursion): Don't restore outside values of locally
4404 let-bound vars.
4405 (edebug--display): Use user-error.
4406 (cl-lexical-debug, cl-debug-env): Remove.
4407
045f7a53
JB
44082013-07-26 Juanma Barranquero <lekktu@gmail.com>
4409
4410 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4411 are restored to be sure that they are visible before deleting any
4412 remaining ones.
4413
59070b32
MM
44142013-07-26 Matthias Meulien <orontee@gmail.com>
4415
742a3501
XF
4416 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4417 vc-print-root-log. (Bug#14948)
59070b32 4418
b1fb3596
RS
44192013-07-26 Richard Stallman <rms@gnu.org>
4420
4421 Add aliases for encrypting mail.
4422 * epa.el (epa-mail-aliases): New option.
4423 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4424 Bind inhibit-read-only so read-only text doesn't ruin everything.
4425 (epa-mail-default-recipients): New subroutine broken out.
4426 Handle epa-mail-aliases.
4427
56ea7291
SM
44282013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 Add support for lexical variables to the debugger's `e' command.
4431 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4432 vars, except for debugger-outer-match-data.
4433 (debugger-frame-number): Move check for "on a function call" from
4434 callers into it. Add `skip-base' argument.
4435 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4436 (debugger-env-macro): Only reset the state stored in non-variables,
4437 i.e. current-buffer and match-data.
4438 (debugger-eval-expression): Rewrite using backtrace-eval.
4439 * subr.el (internal--called-interactively-p--get-frame): Remove.
4440 (called-interactively-p):
4441 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4442 `base' arg of backtrace-frame instead.
4443
15ac32d5
GM
44442013-07-26 Glenn Morris <rgm@gnu.org>
4445
8358a09d
GM
4446 * align.el (align-regexp): Doc fix. (Bug#14857)
4447 (align-region): Explicit error if subexpression missing/does not match.
4448
15ac32d5
GM
4449 * simple.el (global-visual-line-mode):
4450 Do not duplicate the mode lighter. (Bug#14858)
4451
f47ad11b
MR
44522013-07-25 Martin Rudalics <rudalics@gmx.at>
4453
4454 * window.el (display-buffer): In display-buffer bind
4455 split-window-keep-point to t, bug#14829.
4456
02530987
JB
44572013-07-25 Juanma Barranquero <lekktu@gmail.com>
4458
4459 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4460 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4461 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4462 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4463 Change accordingly.
f63ebeb5
JB
4464 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4465 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4466
6ccb9cab 44672013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4468
6ccb9cab 4469 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4470
cb3a56d2
JB
44712013-07-25 Juanma Barranquero <lekktu@gmail.com>
4472
4473 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4474 parameter to modify-frame-parameters if the value has not changed;
4475 this is a workaround for bug#14949.
4476 (desktop--make-frame): On cl-delete-if call, check parameter name,
4477 not full parameter.
4478
7aa7fff0
XF
44792013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4480
4481 * vc/vc.el (vc-ignore): New function.
4482
4483 * vc/vc-svn.el (vc-svn-ignore): New function.
4484
4485 * vc/vc-hg.el (vc-hg-ignore): New function.
4486
4487 * vc/vc-git.el (vc-git-ignore): New function.
4488
4489 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4490 (vc-dir-ignore): New function.
4491
4492 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4493 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4494
4495 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4496
4497 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4498
889acc5c
JB
44992013-07-24 Juanma Barranquero <lekktu@gmail.com>
4500
4501 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4502 (desktop-restore-frames): Warn when deleting an existing frame failed.
4503
86c40970
GM
45042013-07-24 Glenn Morris <rgm@gnu.org>
4505
4506 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4507
d5d3c58a
MA
45082013-07-24 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * filenotify.el (file-notify-supported-p):
4511 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4512 Remove functions.
4513
4514 * autorevert.el (auto-revert-use-notify):
4515 (auto-revert-notify-add-watch):
4516 * net/tramp.el (tramp-file-name-for-operation):
4517 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4518 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4519 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4520 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4521 Remove `file-notify-supported-p' entry.
4522
d100084b
GM
45232013-07-24 Glenn Morris <rgm@gnu.org>
4524
4525 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4526 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4527
ac93e56b
SM
45282013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4529
249eea30
SM
4530 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4531 checked with memq (bug#14935).
4532
ac93e56b
SM
4533 * files.el (revert-buffer-function): Use a non-nil default.
4534 (revert-buffer-preserve-modes): Declare var to
4535 provide access to the `preserve-modes' argument.
4536 (revert-buffer): Let-bind it.
4537 (revert-buffer--default): New function, extracted from revert-buffer.
4538
2cdeb903
SM
45392013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * lpr.el: Signal print errors more prominently.
4542 (print-region-function): Don't default to nil.
4543 (lpr-print-region): New function, extracted from print-region-1.
4544 Check lpr's return value and signal an error in case of problem.
4545 (print-region-1): Use it.
4546 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4547 versions instead.
4548 (ps-printer-name): Default to nil.
4549 (ps-printer-name-option): Default to lpr-printer-switch.
4550 (ps-print-region-function): Don't default to nil.
4551 (ps-postscript-code-directory): Simplify default.
4552 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4553 (ps-string-list, ps-eval-switch, ps-flatten-list)
4554 (ps-flatten-list-1): Remove.
4555 (ps-multibyte-buffer): Avoid setq.
4556 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4557 (print-region-function, ps-print-region-function): Don't set them here.
4558
73600831
XF
45592013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4560
0e55c076
XF
4561 * ido.el (ido-fractionp):
4562 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4563 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4564 (ido-max-directory-size, ido-max-dir-file-cache)
4565 (ido-decorations): Doc fix.
4566
73600831
XF
4567 * ansi-color.el: Fix old URL.
4568
3d012865
MM
45692013-07-23 Michael R. Mauger <michael@mauger.com>
4570
e903c210 4571 * progmodes/sql.el: Version 3.3
3d012865
MM
4572 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4573 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4574 (sql-interactive-remove-continuation-prompt): Rewrite, use
4575 functions above. Fix continuation prompt and complete output line
4576 handling.
4577 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4578 redirected output buffer.
4579 (sql-mode): Restore deleted code (Bug#13591).
4580
da77a2e2
JB
45812013-07-23 Juanma Barranquero <lekktu@gmail.com>
4582
4583 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4584
80ff0c71
MA
45852013-07-23 Michael Albinus <michael.albinus@gmx.de>
4586
4587 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4588
4589 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4590 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4591 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4592
b61d71e4
JB
45932013-07-23 Juanma Barranquero <lekktu@gmail.com>
4594
4595 * desktop.el (desktop-clear): Simplify; remove useless checks
4596 against invalid buffer names.
4597 (desktop-list*): Use cl-list*.
4598 (desktop-buffer-info, desktop-create-buffer): Simplify.
4599
c3512092
LL
46002013-07-23 Leo Liu <sdl.web@gmail.com>
4601
4602 * bookmark.el (bookmark-make-record): Restore NAME as a default
4603 value. (Bug#14933)
4604
0ac26976
SM
46052013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4606
7d22ce18
SM
4607 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4608 extracted from autoload--insert-text.
4609 (autoload--insert-text): Remove.
4610 (autoload--print-cookie-text): New function, extracted from
4611 autoload--insert-cookie-text.
4612 (autoload--insert-cookie-text): Remove.
4613 (autoload-generate-file-autoloads): Adjust calls accordingly.
4614
9b2607e8
SM
4615 * winner.el (winner-hook-installed-p): Remove.
4616 (winner-mode): Simplify accordingly.
4617
c43a8618
SM
4618 * subr.el (add-to-list): Fix compiler-macro when `append' is
4619 not constant. Don't use `cl-member' for the base case.
4620
0ac26976
SM
4621 * progmodes/subword.el: Fix boundary case (bug#13758).
4622 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4623 own group.
4624 (subword-backward-regexp): Make it a constant.
4625 (subword-forward-internal): Don't treat a trailing capital as the
4626 beginning of a word.
4627
6874724a
AR
46282013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4629
4630 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4631 global value of tabulated-list-revert-hook (bug#14930).
4632
70f1b5e8
JB
46332013-07-22 Juanma Barranquero <lekktu@gmail.com>
4634
a1c80d9d
JB
4635 * desktop.el: Require 'cl-lib.
4636 (desktop-before-saving-frames-functions): New hook.
4637 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4638 for frames being saved. Rename from desktop--save-minibuffer-frames.
4639 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4640 Do not save frames with non-nil `desktop-dont-save' parameter.
4641 Filter out deleted frames.
a1c80d9d
JB
4642 (desktop--find-frame): Use cl-find-if.
4643 (desktop--select-frame): Use cl-(first|second|third) to access values
4644 of desktop-mini.
4645 (desktop--make-frame): Use cl-delete-if.
4646 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4647 (desktop-restore-frames): Use cl-(first|second|third) to access values
4648 of desktop-mini. Look for visible frame at the end, not while
4649 restoring frames.
4650
70f1b5e8
JB
4651 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4652 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4653 Use string-match-p, looking-at-p (bug#14927).
4654
728dc3cc
JB
46552013-07-21 Juanma Barranquero <lekktu@gmail.com>
4656
56bc453c
JB
4657 * desktop.el (desktop-saved-frame-states):
4658 Rename from desktop--saved-states; all users changed.
4659 (desktop-save-frames): Rename from desktop--save-frames.
4660 Do not save state to desktop file.
4661 (desktop-save): Save desktop-saved-frame-states to desktop file
4662 and reset to nil.
4663 (desktop-restoring-frames-p): New function.
4664 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4665 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4666 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4667
728dc3cc
JB
4668 * desktop.el: Correctly restore iconified frames.
4669 (desktop--filter-iconified-position): New function.
4670 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4671
862f1c9c
GM
46722013-07-20 Glenn Morris <rgm@gnu.org>
4673
c4074c9f
GM
4674 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4675 Let `message' do the formatting.
4676 (def-gdb-preempt-display-buffer): Add explicit format.
4677
d828e5f9
GM
4678 * image-dired.el (image-dired-track-original-file):
4679 Use with-current-buffer.
4680 (image-dired-track-thumbnail): Use with-current-buffer.
4681 Avoid changing point of wrong window.
4682
862f1c9c
GM
4683 * image-dired.el (image-dired-track-original-file):
4684 Avoid changing point of wrong window. (Bug#14909)
4685
f0398ec1 46862013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4687
4688 * progmodes/gdb-mi.el (gdb-done-or-error):
4689 Guard against "%" in gdb output. (Bug#14127)
4690
1451928f
AS
46912013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4692
763a086d
JB
4693 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4694 (Bug#14826)
f7a03897 4695
1451928f
AS
4696 * international/mule.el (coding-system-iso-2022-flags): Fix last
4697 change.
4698
99107004
KH
46992013-07-20 Kenichi Handa <handa@gnu.org>
4700
763a086d
JB
4701 * international/mule.el (coding-system-iso-2022-flags):
4702 Add `8-bit-level-4'. (Bug#8522)
99107004 4703
48494e06
LMI
47042013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4705
8ba8eec5
LMI
4706 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4707 (bug#14815).
4708
dfbc66e3
LMI
4709 * net/eww.el (eww-process-text-input): Allow inputting when the
4710 point is at the start of the line, as the properties aren't
4711 front-sticky.
4712
48494e06
LMI
4713 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4714 degenerate widths.
4715
77c92cb9
RS
47162013-07-19 Richard Stallman <rms@gnu.org>
4717
aec7da77
RS
4718 * epa.el (epa-popup-info-window): Doc fix.
4719
77c92cb9
RS
4720 * subr.el (split-string): New arg TRIM.
4721
945c5bb1
JB
47222013-07-18 Juanma Barranquero <lekktu@gmail.com>
4723
4724 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4725 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4726
e06ec67f
MA
47272013-07-18 Michael Albinus <michael.albinus@gmx.de>
4728
c7064f05 4729 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4730 `file-notify-support'. Do not autoload. Adapt all uses.
4731 (file-notify-supported-p): New defun.
4732
c7064f05
JB
4733 * autorevert.el (auto-revert-use-notify):
4734 Use `file-notify-supported-p' instead of `file-notify-support'.
4735 Adapt docstring.
e06ec67f
MA
4736 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4737
4738 * net/tramp.el (tramp-file-name-for-operation):
4739 Add `file-notify-supported-p'.
4740
4741 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4742 New defun.
4743 (tramp-sh-file-name-handler-alist): Add it as handler for
4744 `file-notify-supported-p '.
4745
4746 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4747 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4748 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4749 Add `ignore' as handler for `file-notify-*' functions.
4750
5dc8a629
EZ
47512013-07-17 Eli Zaretskii <eliz@gnu.org>
4752
4753 * simple.el (line-move-partial, line-move): Don't start vscroll or
4754 scroll-up if the current line is not taller than the window.
4755 (Bug#14881)
4756
77aea2fb
DG
47572013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4758
4759 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4760 highlight question marks in the method names as strings.
ac72c08d
DG
4761 (ruby-block-beg-keywords): Inline.
4762 (ruby-font-lock-keyword-beg-re): Extract from
4763 `ruby-font-lock-keywords'.
77aea2fb 4764
18c26d81
JD
47652013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4766
4767 * frame.el (blink-cursor-blinks): New defcustom.
4768 (blink-cursor-blinks-done): New defvar.
4769 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4770 (blink-cursor-timer-function): Check if number of blinks has been
4771 done on X and NS.
4772 (blink-cursor-suspend, blink-cursor-check): New defuns.
4773
da48522e
GM
47742013-07-15 Glenn Morris <rgm@gnu.org>
4775
4776 * edmacro.el (edmacro-format-keys): Fix previous change.
4777
0463c1ef
PE
47782013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4779
4780 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4781 The hack didn't work outside English locales anyway.
4782
b43f6451
JB
47832013-07-15 Juanma Barranquero <lekktu@gmail.com>
4784
4785 * simple.el (define-alternatives): Rename from alternatives-define,
4786 per RMS' suggestion.
4787
b958c0ad
JB
47882013-07-14 Juanma Barranquero <lekktu@gmail.com>
4789
4790 * desktop.el (desktop-restore-frames): Change default to t.
4791 (desktop-restore-in-current-display): Now offer more options.
4792 (desktop-restoring-reuses-frames): New customization option.
4793 (desktop--saved-states): Doc fix.
4794 (desktop-filter-parameters-alist): New variable, renamed and expanded
4795 from desktop--excluded-frame-parameters.
4796 (desktop--target-display): New variable.
4797 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4798 (desktop--filter-tty*, desktop--filter-*-color)
4799 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4800 (desktop--filter-save-desktop-parm)
4801 (desktop-restore-in-original-display-p): New functions.
4802 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4803 (desktop--save-minibuffer-frames): New function, inspired by a similar
4804 function from Martin Rudalics.
4805 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4806 (desktop--restore-in-this-display-p): Remove.
4807 (desktop--find-frame): Rename from desktop--find-frame-in-display
4808 and add predicate argument.
4809 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4810 (desktop--reuse-list): New variable.
4811 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4812 New functions.
4813 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4814
f6dd8b36
MA
48152013-07-14 Michael Albinus <michael.albinus@gmx.de>
4816
4817 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4818
2ce3c565
DG
48192013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4820
763a086d
JB
4821 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4822 Highlight conversion methods on Kernel.
2ce3c565 4823
2cdb7698
AM
48242013-07-13 Alan Mackenzie <acm@muc.de>
4825
4826 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4827 and comment it out. This out-commenting enables certain C++
4828 declarations to be parsed correctly.
4829
1a67b811
EZ
48302013-07-13 Eli Zaretskii <eliz@gnu.org>
4831
1b796d6b
EZ
4832 * international/mule.el (define-coding-system): Doc fix.
4833
1a67b811
EZ
4834 * simple.el (default-font-height): Don't call font-info if the
4835 frame's default font didn't change since the frame was created.
4836 (Bug#14838)
4837
58fbe886
LL
48382013-07-13 Leo Liu <sdl.web@gmail.com>
4839
4840 * ido.el (ido-read-file-name): Guard against non-symbol value.
4841
1f0480d4
FEG
48422013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4843
4844 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4845 in nested defuns.
4846
97ead0e5
LL
48472013-07-13 Leo Liu <sdl.web@gmail.com>
4848
4849 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4850 ido-set-matches call. (Bug#6852)
4851
0880a952
DG
48522013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4853
4854 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4855 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4856 Ruby 2.0.
4857 (ruby-font-lock-keywords): Distinguish calls to functions with
4858 module-like names from module references. Highlight character
4859 literals.
4860
a7d8babb
SDJ
48612013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4862
4863 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4864 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4865
acfcc8c5
JB
48662013-07-12 Juanma Barranquero <lekktu@gmail.com>
4867
4868 * desktop.el (desktop--v2s): Remove unused local variable.
4869 (desktop-save-buffer): Make defvar-local; adjust docstring.
4870 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4871 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4872
051f2775
AS
48732013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4874
4875 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4876
f24e7572
GM
48772013-07-12 Eli Zaretskii <eliz@gnu.org>
4878
4879 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4880 (Bug#14842)
4881
539a920c
GM
48822013-07-12 Glenn Morris <rgm@gnu.org>
4883
4884 * doc-view.el: Require cl-lib at runtime too.
4885 (doc-view-remove-if): Remove.
4886 (doc-view-search-next-match, doc-view-search-previous-match):
4887 Use cl-remove-if.
4888
4889 * edmacro.el: Require cl-lib at runtime too.
4890 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4891 (edmacro-mismatch, edmacro-subseq): Remove.
4892
4893 * shadowfile.el: Require cl-lib.
4894 (shadow-remove-if): Remove.
4895 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4896 Use cl-remove-if.
4897
4898 * wid-edit.el: Require cl-lib.
4899 (widget-choose): Use cl-remove-if.
4900 (widget-remove-if): Remove.
4901
4902 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4903 (ebrowse-delete-if-not): Remove.
4904 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4905 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4906 Use cl-delete-if-not.
4907
1048af7c
JB
49082013-07-12 Juanma Barranquero <lekktu@gmail.com>
4909
4910 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4911 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4912
6c0674ee
LL
49132013-07-12 Leo Liu <sdl.web@gmail.com>
4914
4915 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4916
a19b3c2d
GM
49172013-07-11 Glenn Morris <rgm@gnu.org>
4918
4582a01c
GM
4919 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4920 (edebug-gensym-index, edebug-gensym):
4921 Remove reimplementation of cl-gensym.
4922 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4923
4924 * thumbs.el: Require cl-lib at run-time too.
4925 (thumbs-gensym-counter, thumbs-gensym):
4926 Remove reimplementation of cl-gensym.
4927 (thumbs-temp-file): Use cl-gensym.
4928
a19b3c2d
GM
4929 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4930 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4931 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4932 (ert--union, ert--gensym-counter, ert--gensym-counter)
4933 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4934 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4935 (ert-make-test-unbound, ert--expand-should-1)
4936 (ert--expand-should, ert--should-error-handle-error)
4937 (should-error, ert--explain-equal-rec)
4938 (ert--plist-difference-explanation, ert-select-tests)
4939 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4940 Use cl-lib functions rather than reimplementations.
4941
88f6a933
MA
49422013-07-11 Michael Albinus <michael.albinus@gmx.de>
4943
4944 * net/tramp.el (tramp-methods): Extend docstring.
4945 (tramp-connection-timeout): New defcustom.
4946 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4947 (with-tramp-progress-reporter): Simplify.
4948 (tramp-process-actions): Improve messages.
4949
4950 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4951 * net/tramp-sh.el (tramp-maybe-open-connection):
4952 Use `tramp-connection-timeout'.
4953 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4954 (Bug#14808)
4955
a43d577e
LL
49562013-07-11 Leo Liu <sdl.web@gmail.com>
4957
4958 * ido.el (ido-read-file-name): Conform to the requirements of
4959 read-file-name. (Bug#11861)
4960 (ido-read-directory-name): Conform to the requirements of
4961 read-directory-name.
4962
d77974bf
JB
49632013-07-11 Juanma Barranquero <lekktu@gmail.com>
4964
4965 * subr.el (delay-warning): New function.
4966
35cb8a3e
EZ
49672013-07-10 Eli Zaretskii <eliz@gnu.org>
4968
4969 * simple.el (default-line-height): New function.
4970 (line-move-partial, line-move): Use it instead of computing the
4971 line height inline.
4972 (line-move-partial): Always compute ROWH. If the last line is
4973 partially-visible, but its text is completely visible, allow
4974 cursor to enter such a partially-visible line.
4975
525c5c77
MA
49762013-07-10 Michael Albinus <michael.albinus@gmx.de>
4977
4978 Improve error messages. (Bug#14808)
4979
4980 * net/tramp.el (tramp-current-connection): New defvar, moved from
4981 tramp-sh.el.
0ac26976 4982 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4983 needed anymore.
0ac26976
SM
4984 (tramp-error-with-buffer): Show message in minibuffer.
4985 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4986 (with-tramp-progress-reporter): Improve messages.
4987 (tramp-process-actions): Use progress reporter. Delete process in
4988 case of error. Improve messages.
4989
763a086d
JB
4990 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4991 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4992 (tramp-current-connection): Remove.
525c5c77
MA
4993 (tramp-maybe-open-connection): The car of
4994 `tramp-current-connection' are the first 3 slots of the vector.
4995
c7a4d368
TZ
49962013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4997
4998 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4999 inside continued strings.
5000
954b166e
PE
50012013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5002
5003 Timestamp fixes for undo (Bug#14824).
5004 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5005
56973319
LL
50062013-07-10 Leo Liu <sdl.web@gmail.com>
5007
5008 * files.el (require-final-newline): Allow safe local value.
5009 (Bug#14834)
5010
5550a72c
LL
50112013-07-09 Leo Liu <sdl.web@gmail.com>
5012
5013 * ido.el (ido-read-directory-name): Handle fallback.
5014 (ido-read-file-name): Update DIR to ido-current-directory.
5015 (Bug#1516)
c28b9050 5016 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5017
70c46b28
DG
50182013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5019
5020 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5021 "autoload". Remove "warn lower camel case" section, previously
5022 commented out. Highlight negation char. Do not highlight the
5023 target in singleton method definitions.
5024
0b64b838
SM
50252013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5026
7fd72e2c
SM
5027 * faces.el (tty-setup-hook): Declare the hook.
5028
0b64b838
SM
5029 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5030 and detect when a guard/pred depends on local vars (bug#14773).
5031 (pcase--u1): Adjust caller.
5032
ab49d60b
EZ
50332013-07-08 Eli Zaretskii <eliz@gnu.org>
5034
5035 * simple.el (line-move-partial, line-move): Account for
5036 line-spacing.
701d79aa
EZ
5037 (line-move-partial): Avoid setting vscroll when the last
5038 partially-visible line in window is of default height.
ab49d60b 5039
2d756ae0
LMI
50402013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5041
5042 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5043 been used a while.
5044
ed095bd7
JB
50452013-07-07 Juanma Barranquero <lekktu@gmail.com>
5046
5047 * subr.el (read-quoted-char): Remove unused local variable `char'.
5048
f1e6674b
MK
50492013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5050
584ee3fc
GM
5051 * ediff.el (ediff-version): Version update.
5052 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5053 (ediff-merge-with-ancestor-command, ediff-directories-command)
5054 (ediff-directories3-command, ediff-merge-directories-command)
5055 (ediff-merge-directories-with-ancestor-command): New functions.
5056 All are command-line interfaces to ediff: to facilitate calling
5057 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5058
5059 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5060 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5061
584ee3fc
GM
5062 * viper.el (viper-version): Version update.
5063 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5064
584ee3fc
GM
50652013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5068 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5069 (viper-intercept-ESC-key): Simplify.
5070 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5071 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5072 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5073 (viper-setup-ESC-to-escape): New functions.
5074 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5075 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5076
9aff9b38
EZ
50772013-07-07 Eli Zaretskii <eliz@gnu.org>
5078
5165d44a
JB
5079 * simple.el (default-font-height, window-screen-lines):
5080 New functions.
9aff9b38
EZ
5081 (line-move, line-move-partial): Use them instead of
5082 frame-char-height and window-text-height. This makes scrolling
5083 text smoother when the buffer's default face uses a font that is
5084 different from the frame's default font.
5085
1afb1d07
JD
50862013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5087
5088 * files.el (write-file): Do not display confirm dialog for NS,
5089 it does its own dialog, which can't be cancelled (Bug#14578).
5090
23de972a
EZ
50912013-07-06 Eli Zaretskii <eliz@gnu.org>
5092
5093 * simple.el (line-move-partial): Adjust the row returned by
5094 posn-at-point for the current window-vscroll. (Bug#14567)
5095
54a42486
MA
50962013-07-06 Michael Albinus <michael.albinus@gmx.de>
5097
5098 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5099 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5100 spaces.
5101
34ada5f4
MR
51022013-07-06 Martin Rudalics <rudalics@gmx.at>
5103
5104 * window.el (window-state-put-stale-windows): New variable.
5105 (window--state-put-2): Save list of windows without matching buffer.
5106 (window-state-put): Remove "bufferless" windows if possible.
5107
11e03d89
JB
51082013-07-06 Juanma Barranquero <lekktu@gmail.com>
5109
5110 * simple.el (alternatives-define): Remove leftover :group keyword.
5111 Tweak docstring.
5112
3504a4be
LL
51132013-07-06 Leo Liu <sdl.web@gmail.com>
5114
5115 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5116 (ido-enable-virtual-buffers): New variable.
5117 (ido-buffer-internal, ido-toggle-virtual-buffers)
5118 (ido-make-buffer-list): Use it.
5119 (ido-exhibit): Support turning on and off virtual buffers
5120 automatically.
5121
61e56e2c
JB
51222013-07-06 Juanma Barranquero <lekktu@gmail.com>
5123
5124 * simple.el (alternatives-define): New macro.
5125
321e1a9c
SM
51262013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * subr.el (read-quoted-char): Use read-key.
5129 (sit-for): Let read-event decode tty input (bug#14782).
5130
d610f6dd
SB
51312013-07-05 Stephen Berman <stephen.berman@gmx.net>
5132
5133 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5134 mode command and externally. Fix various related bugs.
5135 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5136 (todo-delete-file): New command.
5137 (todo-check-file): New function.
5138 (todo-show): Handle external deletion of the file we're trying to
5139 show (bug#14688). Replace called-interactively-p by an optional
5140 prefix argument to avoid problematic interaction with catch form
5141 when byte compiled (bug#14702).
5142 (todo-quit): Handle external deletion of the archive's todo file.
5143 Make sure the buffer that was visiting the archive file is still
5144 live before trying to bury it.
5145 (todo-category-completions): Handle external deletion of any
5146 category completion files.
5147 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5148 of todo files, in case of external deletion.
5149 (todo-add-file): Replace unnecessary setq by let-binding.
5150 (todo-find-archive): Check whether there are any archives.
5151 Replace unnecessary setq by let-binding.
5152 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5153 archive buffer whether or not the archive already exists.
5154 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5155 check if the archive is new; if it is, update list of archives.
5156 (todo-default-todo-file): Allow nil to be a valid value for when
5157 there are no todo files.
5158 (todo-reevaluate-default-file-defcustom): Use corrected definition
5159 of todo-default-todo-file.
5160 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5161 (todo-delete-category, todo-show-categories-table)
5162 (todo-category-number): Clarify comment.
5163 (todo-filter-items): Clarify documentation string.
5164 (todo-show-current-file, todo-display-as-todo-file)
5165 (todo-reset-and-enable-done-separator): Tweak documentation string.
5166 (todo-done-separator): Make separator length window-width, since
5167 bug#2749 is now fixed.
5168
ddbdfd6f
MA
51692013-07-05 Michael Albinus <michael.albinus@gmx.de>
5170
321e1a9c
SM
5171 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5172 Support both "gvfs-monitor-dir" and "inotifywait".
5173 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5174 `tramp-sh-file-notify-process-filter'.
5175 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5176 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5177
96eb829a
LL
51782013-07-05 Leo Liu <sdl.web@gmail.com>
5179
5180 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5181
cf13177e
YM
51822013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5183
5184 * frame.el (display-pixel-height, display-pixel-width)
5185 (display-mm-height, display-mm-width): Mention behavior on
5186 multi-monitor setups in docstrings.
5187 (w32-display-monitor-attributes-list): Declare function.
5188 (display-monitor-attributes-list): Use it.
5189
864c58ca
MA
51902013-07-04 Michael Albinus <michael.albinus@gmx.de>
5191
5192 * filenotify.el: New package.
5193
5194 * autorevert.el (top): Require filenotify.el.
5195 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5196 instead.
5197 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5198 (auto-revert-notify-handler): Use `file-notify-*' functions.
5199
5200 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5201
321e1a9c
SM
5202 * net/tramp.el (tramp-file-name-for-operation):
5203 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5204
5205 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5206 for `file-notify-add-watch' and `file-notify-rm-watch'.
5207 (tramp-process-sentinel): Improve trace.
5208 (tramp-sh-handle-file-notify-add-watch)
5209 (tramp-sh-file-notify-process-filter)
5210 (tramp-sh-handle-file-notify-rm-watch)
5211 (tramp-get-remote-inotifywait): New defuns.
5212
96673afe
JL
52132013-07-03 Juri Linkov <juri@jurta.org>
5214
5215 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5216 call of `occur-read-primary-args' to interactive spec.
5217
5218 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5219 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5220
924494f4
MM
52212013-07-03 Matthias Meulien <orontee@gmail.com>
5222
5223 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5224 `Buffer-menu-multi-occur'. Add it to the menu.
5225 (Buffer-menu-mode): Document it in docstring.
5226 (Buffer-menu-multi-occur): New command. (Bug#14673)
5227
56f75efc
DG
52282013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5229
5230 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5231 keywords and built-ins.
5232
9b057d61
GM
52332013-07-03 Glenn Morris <rgm@gnu.org>
5234
208dee4d
GM
5235 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5236
9b057d61
GM
5237 Make info-xref checks case-sensitive by default
5238 * info.el (Info-find-node, Info-find-in-tag-table)
5239 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5240 Add option for exact case matching of nodes.
5241 * info-xref.el (info-xref): New custom group.
5242 (info-xref-case-fold): New option.
5243 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5244
e01aa29c
LL
52452013-07-03 Leo Liu <sdl.web@gmail.com>
5246
5247 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5248
3086ca2e
DG
52492013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5250
5251 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5252 middle of block statement initially, lower the depth. Remove
5253 FIXME comment, not longer valid. Remove middle of block statement
5254 detection, no need to do that anymore since we've been using
5255 `ruby-parse-region' here.
5256
a3b49114
JD
52572013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5258
5259 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5260
08e5c823 52612013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5262
5263 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5264
2addf922
JB
52652013-07-01 Juanma Barranquero <lekktu@gmail.com>
5266
5267 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5268 (desktop-restore-in-current-display): New customization option.
5269 (desktop--excluded-frame-parameters): Add `font'.
5270 (desktop--save-frames): Rename from desktop--save-windows.
5271 (desktop--restore-in-this-display-p): New function.
5272 (desktop--make-full-frame): Remove unwanted width/height from
5273 full(width|height) frames.
5274 (desktop--restore-frames): Rename from desktop--restore-windows.
5275 Obey desktop-restore-current-display. Do not delete old frames or
5276 select a new frame unless we were able to restore at least one frame.
5277
ef099a94
MN
52782013-06-30 Michal Nazarewicz <mina86@mina86.com>
5279
5280 * files.el (find-file-noselect): Simplify conditional expression.
5281
5282 * remember.el (remember-append-to-file):
5283 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5284
5285 Add `remember-notes' function to store random notes across Emacs
5286 restarts.
5287 * remember.el (remember-data-file): Add :set callback to affect
5288 notes buffer (if any).
5289 (remember-notes): New command.
5290 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5291 New defcustoms for the `remember-notes' function.
5292 (remember-notes-save-and-bury-buffer): New command.
5293 (remember-notes-mode-map): New variable.
5294 (remember-mode): New minor mode.
5295 (remember-notes--kill-buffer-query): New function.
5296 * startup.el (initial-buffer-choice): Add notes to custom type.
5297
0865d506
EZ
52982013-06-30 Eli Zaretskii <eliz@gnu.org>
5299
0ba54312
EZ
5300 * bindings.el (right-char, left-char): Don't call sit-for, this is
5301 no longer needed. Use arithmetic comparison only for numerical
5302 arguments.
5303
ef099a94
MN
5304 * international/mule-cmds.el (select-safe-coding-system):
5305 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5306
2fae38e5
LMI
53072013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5308
5309 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5310 progression on degenerate tables.
ef099a94 5311 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5312
a47cbd64
JB
53132013-06-30 Juanma Barranquero <lekktu@gmail.com>
5314
5315 Some fixes and improvements for desktop frame restoration.
5316 It is still experimental and disabled by default.
5317 * desktop.el (desktop--save-windows): Put the selected frame at
5318 the head of the list.
5319 (desktop--make-full-frame): New function.
5320 (desktop--restore-windows): Try to re-select the frame that was
5321 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5322 just show an error message and continue. Set up maximized frames
5323 so they have default non-maximized dimensions.
a47cbd64 5324
6dbafa30
DG
53252013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5326
ef099a94
MN
5327 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5328 Don't start heredoc inside a string or comment.
6dbafa30 5329
4c672a0f
EZ
53302013-06-29 Eli Zaretskii <eliz@gnu.org>
5331
5332 * bindings.el (visual-order-cursor-movement): New defcustom.
5333 (right-char, left-char): Provide visual-order cursor motion by
5334 calling move-point-visually. Update the doc strings.
5335
50960f36
KH
53362013-06-28 Kenichi Handa <handa@gnu.org>
5337
5338 * international/mule.el (define-coding-system): New coding system
5339 properties :inhibit-null-byte-detection,
5340 :inhibit-iso-escape-detection, and :prefer-utf-8.
5341 (set-buffer-file-coding-system): If :charset-list property of
5342 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5343 appropriate for setting.
5344
c1ea3abf
JB
5345 * international/mule-cmds.el (select-safe-coding-system):
5346 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5347 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5348
5349 * international/mule-conf.el (prefer-utf-8): New coding system.
5350 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5351 files.
5352
75dbaf9d
IK
53532013-06-28 Ivan Kanis <ivan@kanis.fr>
5354
eadb6068
IK
5355 * net/shr.el (shr-render-region): New function.
5356
75dbaf9d
IK
5357 * net/eww.el: Autoload `eww-browse-url'.
5358
9ea5cf9f
DG
53592013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5360
c1ea3abf
JB
5361 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5362 Adapt to `package-desc-version' being a list.
5363 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5364 archive element.
5365
39c0e36f
JB
53662013-06-27 Juanma Barranquero <lekktu@gmail.com>
5367
5368 New experimental feature to save&restore window and frame setup.
5369 * desktop.el (desktop-save-windows): New defcustom.
5370 (desktop--saved-states): New var.
5371 (desktop--excluded-frame-parameters): New defconst.
5372 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5373 (desktop--restore-windows, desktop--save-windows): New functions.
5374 (desktop-save): Call `desktop--save-windows'.
5375 (desktop-read): Call `desktop--restore-windows'.
5376
7f13406b
LMI
53772013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5378
ef099a94 5379 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5380
1e072639
SB
53812013-06-27 Stephen Berman <stephen.berman@gmx.net>
5382
5383 * info.el (Info-try-follow-nearest-node): Move search for footnote
5384 above search for node name to prevent missing a footnote (bug#14717).
5385
f3e2cbde
SB
53862013-06-27 Stephen Berman <stephen.berman@gmx.net>
5387
5388 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5389
99906aa0
LL
53902013-06-27 Leo Liu <sdl.web@gmail.com>
5391
5392 * net/eww.el (eww-read-bookmarks): Check file size.
5393
539f75f4
SM
53942013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5397 advice--pending if newdef is nil or an autoload (bug#13820).
5398 (advice-mapc): New function.
5399
843571cb
LMI
54002013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5401
5402 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5403 probably.
23a75d7f 5404 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5405 (eww-add-bookmark): New command.
5406 (eww-bookmark-mode): New mode and commands.
a285ce99 5407 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5408 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5409
f2136e1e
GM
54102013-06-26 Glenn Morris <rgm@gnu.org>
5411
eab35f39
GM
5412 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5413 (hfy-size): Handle ttys. (Bug#14668)
5414
f2136e1e
GM
5415 * info-xref.el: Update for Texinfo 5 change in *note format.
5416 (info-xref-node-re, info-xref-note-re): New constants.
5417 (info-xref-check-buffer): Use info-xref-note-re.
5418
a49ff80c
SM
54192013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5420
a343d218
SM
5421 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5422
a49ff80c
SM
5423 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5424 nil terminate the loop (bug#14718).
5425
8308f184
LMI
54262013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5427
5428 * net/eww.el: Rework history traversal. When going forward/back,
5429 put these actions into the history, too, so that they can be
5430 replayed.
26bf2b82 5431 (eww-render): Move the history reset to the correct buffer.
8308f184 5432
ec64c273
JL
54332013-06-25 Juri Linkov <juri@jurta.org>
5434
5435 * files-x.el (modify-dir-local-variable): Change the header comment
5436 in the file with directory local variables. (Bug#14692)
5437
e080a9d7
JL
5438 * files-x.el (read-file-local-variable-value): Add `default'.
5439 (Bug#14710)
5440
bfbc93a1
IK
54412013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5442
5443 * net/eww.el (eww-make-unique-file-name): Create a unique file
5444 name before saving to entering `y' accidentally asynchronously.
5445
54462013-06-25 Ivan Kanis <ivan@kanis.fr>
5447
5448 * net/eww.el (eww-download): New command and keystroke.
5449
16f74f10
LMI
54502013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5451
a49ff80c 5452 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5453
5454 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5455 be more consistent with Info and dired.
5456
5457 * net/eww.el (eww-mode-map): Ditto.
5458
12059709
SM
54592013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5462 packages from archives.
5463 (package-archive-contents): Change format; include obsolete packages.
5464 (package-desc): Use `dir' to mark builtin packages.
5465 (package--from-builtin): Set the `dir' field to `builtin'.
5466 (generated-autoload-file, version-control): Declare.
5467 (package-compute-transaction): Change first arg and return value to be
5468 lists of package-descs. Adjust to new package-archive-contents format.
5469 (package--add-to-archive-contents): Adjust to new
5470 package-archive-contents format.
5471 (package-download-transaction): Arg is now a list of package-descs.
5472 (package-install): If `pkg' is a package name, pass it as
5473 a requirement, so it is subject to the usual (e.g. disabled) checks.
5474 (describe-package): Accept package-desc as well.
5475 (describe-package-1): Describe a specific package-desc. Add links to
5476 other package-descs for the same package name.
5477 (package-menu-describe-package): Pass the actual package-desc.
5478 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5479 works correctly.
5480 (package-desc-status): New function.
5481 (package-menu--refresh): New function, extracted
5482 from package-menu--generate.
5483 (package-menu--generate): Use it.
5484 (package-delete): Update package-alist.
5485 (package-menu-execute): Don't call package-initialize.
5486
5487 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5488 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5489 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5490 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5491 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5492 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5493
8bbdea0f
MR
54942013-06-25 Martin Rudalics <rudalics@gmx.at>
5495
5496 * window.el (window--state-get-1): Workaround for bug#14527.
5497 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5498
e82b0991
LMI
54992013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5500
5501 * net/eww.el (eww-back-url): Implement the history by stashing all
5502 the data into a list.
d3f0f918 5503 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5504
c763842b
SM
55052013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5508 for values and use read--expression for expressions (bug#14710).
5509 (read-file-local-variable): Avoid setq.
5510 (read-file-local-variable-mode): Use minor-mode-list.
5511
bceff189
RW
55122013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5513
864c58ca 5514 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5515 for DOI URLs.
5516
45f431c6
RW
55172013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5518
864c58ca 5519 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5520 Update imenu-support when dialect changes.
5521
f42d8237
LL
55222013-06-25 Leo Liu <sdl.web@gmail.com>
5523
5524 * ido.el (ido-read-internal): Allow forward slash on windows.
5525
be549ce6
LMI
55262013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5527
5528 * net/eww.el (eww): Start of strings is \\`, not ^.
5529
71d4c19d
IK
55302013-06-24 Ivan Kanis <ivan@kanis.fr>
5531
5196f88a
IK
5532 * net/shr.el (shr-browse-url): Fix interactive spec.
5533
71d4c19d
IK
5534 * net/eww.el (eww): Add a trailing slash to domain names.
5535
ae36ca55
JB
55362013-06-24 Juanma Barranquero <lekktu@gmail.com>
5537
5538 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5539
0ebd92a3
LMI
55402013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5541
bdaa086b
LMI
5542 * net/shr.el (shr-browse-url): Use an external browser if given a
5543 prefix.
5544
c763842b 5545 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5546
b89fc156
IK
55472013-06-24 Ivan Kanis <ivan@kanis.fr>
5548
5549 * net/eww.el (eww): Work more correctly for file: URLs.
5550 (eww-detect-charset): Allow quoted charsets.
5551 (eww-yank-page-url): New command and keystroke.
5552
18eb4bca
DU
55532013-06-24 Daiki Ueno <ueno@gnu.org>
5554
5555 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5556 file name of gpg executable.
5557 (epg-context-program): New function.
5558 (epg-context-home-directory): New function.
5559 (epg-context-set-program): New function.
5560 (epg-context-set-home-directory): New function.
5561 (epg--start): Use `epg-context-program' instead of
5562 'epg-gpg-program'.
5563 (epg--list-keys-1): Likewise.
5564
6c6268c8
LL
55652013-06-24 Leo Liu <sdl.web@gmail.com>
5566
5567 * ido.el (ido-read-internal): Fix bug#14620.
5568
5e400cb3
JB
55692013-06-23 Juanma Barranquero <lekktu@gmail.com>
5570
5571 * faces.el (face-documentation): Simplify.
5572 (read-face-attribute, tty-find-type, x-resolve-font-name):
5573 Use `string-match-p'.
5574 (list-faces-display): Use `string-match-p'. Simplify.
5575 (face-spec-recalc): Check face to avoid face alias loops.
5576 (read-color): Use `string-match-p' and non-capturing parenthesis.
5577
f3f9606c
LMI
55782013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5579
5580 * net/shr.el (shr-rescale-image): Use the new
5581 :max-width/:max-height functionality.
5582
a3ca09b9
IK
55832013-06-23 Ivan Kanis <ivan@kanis.fr>
5584
5585 * net/eww.el (eww-search-prefix): New variable.
5586 (eww): Use it.
f865b474
IK
5587 (eww-external-browser): New variable.
5588 (eww-mode-map): New keystroke.
5589 (eww-browse-with-external-browser): New command.
a3ca09b9 5590
e854cfc7
IK
5591 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5592
18bb9e21
JB
55932013-06-23 Juanma Barranquero <lekktu@gmail.com>
5594
5595 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5596 Don't skip aligning the next header field when padding is 0;
5597 otherwise, field width is not respected unless the title is as
5598 wide as the field.
5599
5b165ade
SM
56002013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * emacs-lisp/package.el (package-el-version): Remove.
5603 (package-process-define-package): Fix inf-loop.
5604 (package-install): Allow symbols as arguments again.
5605
12adebe9
DG
56062013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5607
5608 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5609 add some more keyword-like methods.
5610 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5611
388573ee
JB
56122013-06-22 Juanma Barranquero <lekktu@gmail.com>
5613
5614 * bs.el (bs-buffer-show-mark): Make defvar-local.
5615 (bs-mode): Use setq-local.
5616
5617 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5618 (emacs-lock--try-unlocking): Make defvar-local.
5619
4582a01c 56202013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5621
2663dd23
GM
5622 * play/cookie1.el (cookie-apropos): Minor simplification.
5623
3d94f3ad
GM
5624 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5625
f72e2fdb
DG
56262013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5627
5628 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5629 `regexp-opt', it breaks the build during dumping.
5630
73eab938
DG
56312013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5632
c763842b
SM
5633 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5634 Highlight keyword-like methods on Kernel and Module with
73eab938 5635 font-lock-builtin-face.
5cf8176d
DG
5636 (auto-mode-alist): Consolidate different entries into one regexp
5637 and add more *file-s.
73eab938 5638
d26255f6
SB
56392013-06-21 Stephen Berman <stephen.berman@gmx.net>
5640
5641 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5642
5643 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5644 (diary-entry): Use it in the action of this button type instead of
5645 diary-goto-entry.
5646
5647 * calendar/todo-mode.el: New version.
5648 (todo-add-category): Append new category to end of file and give
5649 it the highest number, instead of putting it at the beginning and
5650 giving it 0. Incorporate noninteractive functionality.
5651 (todo-forward-category): Adapt to 1-based category numbering.
5652 Allow skipping over archived categories.
5653 (todo-backward-category): Derive from todo-forward-category.
5654 (todo-backward-item, todo-forward-item): Make noninteractive and
5655 delegate interactive part to new commands. Make sensitive to done items.
5656 (todo-categories): Make value an alist of category names and
5657 vectors of item counts.
5658 (todo-category-beg): Make a defconst.
5659 (todo-category-number): Use 1 instead of 0 as initial value.
5660 (todo-category-select): Make sensitive to overlays, optional item
5661 highlighting and done items.
5662 (todo-delete-item): Make sensitive to overlays and marked and done items.
5663 (todo-edit-item): Make sensitive to overlays and editing of
5664 date/time header optional. Add format checks.
5665 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5666 no-op if point is not on an item. Advertise using todo-edit-quit.
5667 (todo-edit-mode): Make sensitive to new format, font-locking, and
5668 multiple todo files.
5669 (todo-insert-item, todo-insert-item-here): Derive from
5670 todo-basic-insert-item and extend functionality.
5671 (todo-item-end, todo-item-start): Make sensitive to done items.
5672 (todo-item-string): Don't return text properties. Restore point.
5673 (todo-jump-to-category): Make sensitive to multiple todo files and
5674 todo archives. Use extended category completion.
5675 (todo-lower-item, todo-raise-item): Rename to *-priority and
5676 derive from todo-set-item-priority.
5677 (todo-mode): Derive from special-mode. Make sensitive to new
5678 format, font-locking and multiple todo files. Make read-only.
5679 (todo-mode-map): Don't suppress digit keys, so they can supply
5680 prefix arguments. Add many new key bindings.
5681 (todo-prefix): Insert as an overlay instead of file text.
5682 Change semantics from diary date expression to purely visual mark.
5683 (todo-print): Rename to todo-print-buffer. Make buffer display
5684 features printable. Remove option to restrict number of items
5685 printed. Add option to print to file.
5686 (todo-print-function): Rename to todo-print-buffer-function.
5687 (todo-quit): Extend to handle exiting new todo modes.
5688 (todo-remove-item): Make sensitive to overlays.
5689 (todo-save): Extend to buffers of filtered items.
5690 (todo-show): Make sensitive to done items, multiple todo files and
5691 new todo modes. Offer to convert legacy todo file before creating
5692 first new todo file.
5693 (todo-show-priorities): Rename to todo-top-priorities.
5694 Change semantics of value 0.
5695 (todo-top-priorities): Rename to todo-filter-top-priorities,
5696 derive from todo-filter-items and extend functionality.
5697 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5698 and extend functionality to other types of filtered items.
5699 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5700 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5701 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5702 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5703 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5704 (todo-edit-mode-hook, todo-entry-prefix-function)
5705 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5706 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5707 (todo-initials, todo-insert-threshold, todo-item-string-start)
5708 (todo-line-string, todo-menu, todo-mode-hook)
5709 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5710 (todo-print-priorities, todo-remove-separator)
5711 (todo-save-top-priorities-too, todo-string-count-lines)
5712 (todo-string-multiline-p, todo-time-string-format)
5713 (todo-tmp-buffer-name): Remove.
5714 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5715 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5716 (todo-edit-category-diary-inclusion)
5717 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5718 (todo-edit-file, todo-edit-item-date-day)
5719 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5720 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5721 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5722 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5723 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5724 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5725 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5726 (todo-filter-top-priorities-multifile, todo-find-archive)
5727 (todo-find-filtered-items-file, todo-go-to-source-item)
5728 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5729 (todo-jump-to-archive-category, todo-lower-category)
5730 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5731 (todo-move-category, todo-move-item, todo-next-button)
5732 (todo-next-item, todo-padded-string, todo-powerset)
5733 (todo-previous-button, todo-previous-item)
5734 (todo-print-buffer-to-file, todo-raise-category)
5735 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5736 (todo-set-category-number, todo-set-item-priority)
5737 (todo-set-top-priorities-in-category)
5738 (todo-set-top-priorities-in-file, todo-show-categories-table)
5739 (todo-sort-categories-alphabetically-or-numerically)
5740 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5741 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5742 (todo-toggle-item-header, todo-toggle-item-highlighting)
5743 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5744 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5745 (todo-unarchive-items, todo-unmark-category): New commands.
5746 (todo-absolute-file-name, todo-add-to-buffer-list)
5747 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5748 (todo-basic-insert-item, todo-category-completions)
5749 (todo-category-number, todo-category-string-matcher-1)
5750 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5751 (todo-check-format, todo-clear-matches)
5752 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5753 (todo-current-category, todo-date-string-matcher)
5754 (todo-define-insertion-command, todo-diary-expired-matcher)
5755 (todo-diary-goto-entry, todo-diary-item-p)
5756 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5757 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5758 (todo-done-item-section-p, todo-done-separator)
5759 (todo-done-string-matcher, todo-files, todo-filter-items)
5760 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5761 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5762 (todo-insert-category-line, todo-insert-item-from-calendar)
5763 (todo-insert-sort-button, todo-insert-with-overlays)
5764 (todo-insertion-command-name, todo-insertion-key-bindings)
5765 (todo-label-to-key, todo-longest-category-name-length)
5766 (todo-make-categories-list, todo-mode-external-set)
5767 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5768 (todo-modes-set-3, todo-multiple-filter-files)
5769 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5770 (todo-read-category, todo-read-date, todo-read-dayname)
5771 (todo-read-file-name, todo-read-time)
5772 (todo-reevaluate-category-completions-files-defcustom)
5773 (todo-reevaluate-default-file-defcustom)
5774 (todo-reevaluate-filelist-defcustoms)
5775 (todo-reevaluate-filter-files-defcustom)
5776 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5777 (todo-reset-done-separator, todo-reset-done-separator-string)
5778 (todo-reset-done-string, todo-reset-global-current-todo-file)
5779 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5780 (todo-reset-prefix, todo-set-categories)
5781 (todo-set-date-from-calendar, todo-set-show-current-file)
5782 (todo-set-top-priorities, todo-short-file-name)
5783 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5784 (todo-total-item-counts, todo-update-buffer-list)
5785 (todo-update-categories-display, todo-update-categories-sexp)
5786 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5787 New functions.
5788 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5789 New major modes.
5790 (todo-categories, todo-display, todo-edit, todo-faces)
5791 (todo-filtered): New defgroups.
5792 (todo-archived-only, todo-button, todo-category-string, todo-date)
5793 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5794 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5795 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5796 (todo-add-item-if-new-category, todo-always-add-time-string)
5797 (todo-categories-align, todo-categories-archived-label)
5798 (todo-categories-category-label, todo-categories-diary-label)
5799 (todo-categories-done-label, todo-categories-number-separator)
5800 (todo-categories-todo-label, todo-categories-totals-label)
5801 (todo-category-completions-files, todo-completion-ignore-case)
5802 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5803 (todo-done-separator-string, todo-done-string)
5804 (todo-files-function, todo-filter-done-items, todo-filter-files)
5805 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5806 (todo-initial-category, todo-initial-file, todo-item-mark)
5807 (todo-legacy-date-time-regexp, todo-mode-line-function)
5808 (todo-nondiary-marker, todo-number-prefix)
5809 (todo-print-buffer-function, todo-show-current-file)
5810 (todo-show-done-only, todo-show-first, todo-show-with-done)
5811 (todo-skip-archived-categories, todo-top-priorities-overrides)
5812 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5813 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5814 New defcustoms.
5815 (todo-category-done, todo-date-pattern, todo-date-string-start)
5816 (todo-diary-items-buffer, todo-done-string-start)
5817 (todo-filtered-items-buffer, todo-item-start)
5818 (todo-month-abbrev-array, todo-month-name-array)
5819 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5820 (todo-top-priorities-buffer): New defconsts.
5821 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5822 (todo-categories-with-marks, todo-category-string-face)
5823 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5824 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5825 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5826 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5827 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5828 (todo-font-lock-keywords, todo-global-current-todo-file)
5829 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5830 (todo-insertion-commands-args)
5831 (todo-insertion-commands-args-genlist)
5832 (todo-insertion-commands-names, todo-insertion-map)
5833 (todo-key-bindings-t, todo-key-bindings-t+a)
5834 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5835 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5836 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5837 (todo-visited): New variables.
5838
cad5d1cb
GM
58392013-06-21 Glenn Morris <rgm@gnu.org>
5840
5841 * play/cookie1.el (cookie-apropos): Add optional display argument.
5842 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5843 (psychoanalyze-pinhead): Use cookie-doctor.
5844
9e277302
JB
58452013-06-21 Juanma Barranquero <lekktu@gmail.com>
5846
5847 * emacs-lisp/package.el (tar-get-file-descriptor)
5848 (tar--extract): Declare.
5849
c5b0993e
EW
58502013-06-21 Eduard Wiebe <usenet@pusto.de>
5851
5852 Extend flymake's warning predicate to be a function (bug#14217).
5853 * progmodes/flymake.el (flymake-warning-predicate): New.
5854 (flymake-parse-line): Use it.
5855 (flymake-warning-re): Make obsolete alias to
5856 `flymake-warning-predicate'.
5857
a7d2d465
SM
58582013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5861 (package-obsolete-list): Remove.
5862 (package-activate): Remove min-version argument. Add `force' argument.
5863 Adjust to new package-alist format.
5864 (package-mark-obsolete): Remove.
5865 (package-unpack): Force reload of the package's autoloads.
5866 (package-installed-p): Check builtins if the installed package is not
5867 recent enough.
5868 (package-initialize): Don't reset package-obsolete-list.
5869 Don't specify which package version to activate.
5870 (package-process-define-package, describe-package-1)
5871 (package-menu--generate): Adjust to new package-alist format.
5872
cedf5c9d
JB
58732013-06-21 Juanma Barranquero <lekktu@gmail.com>
5874
5875 * allout-widgets.el (allout-widgets-mode-off)
5876 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5877 (allout-widgets-post-command-business)
5878 (allout-widgets-after-copy-or-kill-function)
5879 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5880 (allout-decorate-item-and-context)
5881 (allout-graphics-modification-handler): Fix typos in docstrings.
5882 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5883
5884 * cmuscheme.el (scheme-start-file): Doc fix.
5885 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5886 (scheme-input-filter): Use `string-match-p'.
5887
5888 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5889
5890 * dired-x.el: Use Dired consistently in docstrings.
5891
5892 * dired.el: Use Dired consistently in docstrings.
5893 (dired-readin, dired-mode): Use `setq-local'.
5894 (dired-switches-alist): Make defvar-local.
5895 (dired-buffers-for-dir): Use `zerop'.
5896 (dired-safe-switches-p, dired-switches-escape-p)
5897 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5898 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5899 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5900 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5901 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5902 (dired-toggle-marks, dired-mark-files-containing-regexp)
5903 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5904 (dired-flag-auto-save-files, dired-flag-backup-files):
5905 Use `looking-at-p'.
5906 (dired-mark-files-regexp, dired-build-subdir-alist):
5907 Use `string-match-p', `looking-at-p'.
5908
5909 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5910 (direct-print-region-helper): Use `string-match-p'.
5911
aed838b5
LL
59122013-06-21 Leo Liu <sdl.web@gmail.com>
5913
cedf5c9d
JB
5914 * comint.el (comint-redirect-results-list-from-process):
5915 Fix infinite loop.
aed838b5 5916
d80a808f
LMI
59172013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5918
5919 * net/eww.el (eww-update-header-line-format): Quote % characters.
5920
e7a526e3
GM
59212013-06-21 Glenn Morris <rgm@gnu.org>
5922
5923 * play/cookie1.el (cookie): New custom group.
5924 (cookie-file): New option.
5925 (cookie-check-file): New function.
5926 (cookie): Make it interactive. Make start and end messages optional.
5927 Interactively, display the result. Default to cookie-file.
5928 (cookie-insert): Default to cookie-file.
5929 (cookie-snarf): Make start and end messages optional.
5930 Default to cookie-file. Use with-temp-buffer.
5931 (cookie-read): Rename from read-cookie.
5932 Make start and end messages optional. Default to cookie-file.
5933 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5934 Do not autoload it.
e7a526e3
GM
5935 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5936 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5937
62efb35e
LL
59382013-06-21 Leo Liu <sdl.web@gmail.com>
5939
5940 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5941
21e3f963
GM
59422013-06-21 Glenn Morris <rgm@gnu.org>
5943
5944 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5945
fd846ab4
SM
59462013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5947 Daniel Hackney <dan@haxney.org>
5948
5949 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5950 Consolidate the single-file vs tarball code.
5951 (package-desc-suffix): New function.
5952 (package-desc-full-name): Don't bother inlining it.
5953 (package-load-descriptor): Return the new package-desc.
5954 (package-mark-obsolete): Remove unused arg `package'.
5955 (package-unpack): Make it work for single files as well.
5956 Make it update package-alist.
5957 (package--make-autoloads-and-stuff): Rename from
5958 package--make-autoloads-and-compile. Don't compile any more.
5959 (package--compile): New function.
5960 (package-generate-description-file): New function, extracted from
5961 package-unpack-single.
5962 (package-unpack-single): Remove.
5963 (package--with-work-buffer): Add indentation and debugging info.
5964 (package-download-single): Remove.
5965 (package-install-from-archive): Rename from package-download-tar, make
5966 it take a pkg-desc, and make it work for single files as well.
5967 (package-download-transaction): Simplify.
5968 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5969 external tar program.
5970 (package-install-from-buffer): Remove `pkg-desc' argument.
5971 Use package-tar-file-info for tar-mode buffers.
5972 (package-install-file): Simplify accordingly.
5973 (package-archive-base): Change to take a pkg-desc.
5974 * tar-mode.el (tar--check-descriptor): New function, extracted from
5975 tar-get-descriptor.
5976 (tar-get-descriptor): Use it.
5977 (tar-get-file-descriptor): New function.
5978 (tar--extract): New function, extracted from tar-extract.
5979 (tar--extract): Use it.
5980 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5981 case the summary uses non-ascii. Adjust to new calling convention of
5982 package-tar-file-info.
5983
b7deae5e
LL
59842013-06-21 Leo Liu <sdl.web@gmail.com>
5985
fd846ab4
SM
5986 * comint.el (comint-redirect-results-list-from-process):
5987 Fix random delay. (Bug#14681)
b7deae5e 5988
7a65a0b2
JB
59892013-06-21 Juanma Barranquero <lekktu@gmail.com>
5990
5991 * profiler.el (profiler-format-number): Use log, not log10.
5992
1493c2af
JB
59932013-06-20 Juanma Barranquero <lekktu@gmail.com>
5994
5995 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5996
aff6371e
SM
59972013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6000 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6001 yet available.
6002 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6003 (AUTOGENEL): ... here.
6004 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6005 (cl--defsubst-expand): Use it.
6006
89561f72
PE
60072013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6008
6009 * subr.el (log10): Move here from C code, and declare as obsolete.
6010 All uses of (log10 X) replaced with (log X 10).
6011
47199123
JB
60122013-06-20 Juanma Barranquero <lekktu@gmail.com>
6013
6014 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6015 Declare with `defvar-local'.
6016 (tabulated-list-use-header-line, tabulated-list-entries)
6017 (tabulated-list-padding, tabulated-list-printer)
6018 (tabulated-list-sort-key): Declare with `defvar-local'.
6019 (tabulated-list-init-header, tabulated-list-print-fake-header):
6020 Use `setq-local'.
6021
4a172eab
MA
60222013-06-20 Michael Albinus <michael.albinus@gmx.de>
6023
47199123
JB
6024 * arc-mode.el (archive-mode): Add `archive-write-file' to
6025 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6026
5fc0acc0
JB
60272013-06-20 Juanma Barranquero <lekktu@gmail.com>
6028
d5b27848
JB
6029 * cus-edit.el (custom-commands): Fix typos.
6030 (custom-display): Fix tooltip text.
6031 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6032 Fix typos in docstrings.
6033 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6034 (custom-unlispify-menu-entry, custom-magic-value-create)
6035 (custom-add-see-also, custom-group-value-create): Use ?\s.
6036 (custom-guess-type, customize-apropos, editable-field)
6037 (custom-face-value-create): Use `string-match-p'.
6038 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6039
6040 * custom.el (custom-load-symbol): Use `string-match-p'.
6041
a5c581d8
JB
6042 * ansi-color.el: Convert to lexical binding.
6043 (ansi-colors): Fix URL.
6044 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6045 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6046 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6047
970ad972
G
60482013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6049
6050 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6051
6052 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6053
60542013-06-19 Tom Tromey <tromey@redhat.com>
6055
6056 * net/eww.el (eww-top-url): Remove.
6057 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6058 (eww-render): Set new variables. Don't set eww-top-url.
6059 (eww-handle-link): Handle "prev", "home", and "contents".
6060 Downcase the rel text.
6061 (eww-top-url): Choose best top URL.
6062
60632013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6064
6065 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6066 relying in widget.el. Using widget.el leads to too many
6067 user interface inconsistencies.
6068 (eww-self-insert): Implement entering commands in text fields.
6069 (eww-process-text-input): New function to make text input field editing
6070 work.
6071 (eww-submit): Rewrite to use the new-style form methods.
6072 (eww-select-display): Display the correct selected item.
6073 (eww-change-select): Implement changing the select value.
6074 (eww-toggle-checkbox): Implement radio/checkboxes.
6075 (eww-update-field): Fix compilation error.
6076 (eww-tag-textarea): Implement <textarea>.
6077
6078 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6079 we don't shadow mode-specific bindings.
6080
6081 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6082 nothing to push.
6083
6084 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6085
4582a01c 60862013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6087
6088 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6089
15b263dc
MA
60902013-06-19 Michael Albinus <michael.albinus@gmx.de>
6091
6092 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6093 not needed.
6094
6095 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6096
8f5297f7
LMI
60972013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6098
6099 * net/browse-url.el (browse-url-browser-function):
6100 `eww-browse-url' has the right calling signature, `eww' does not.
6101
011c4552
GM
61022013-06-19 Glenn Morris <rgm@gnu.org>
6103
2285bd27
GM
6104 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6105 Only eval autoloaded macros.
6106 (byte-compile-autoload): Only give the macro warning for macros.
6107
1d653303
GM
6108 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6109 (ps-underlined-faces): Declare.
6110
bdd779ec
GM
6111 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6112 (speedbar-add-supported-extension): Declare.
6113
011c4552
GM
6114 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6115 Don't include a date stamp in the header of the generated file;
6116 it leads to needless differences between output files.
6117
e59dfb0e
MA
61182013-06-19 Michael Albinus <michael.albinus@gmx.de>
6119
c763842b
SM
6120 * net/secrets.el (secrets-struct-secret-content-type):
6121 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6122 Some servers do not offer introspection.
e59dfb0e 6123
102626e2
SM
61242013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * electric.el (electric-pair-mode): Improve interaction with
6127 electric-layout-mode.
6128 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6129 (electric-pair-syntax): Use text-mode-syntax-table in comments
6130 and strings.
6131 (electric-pair--insert): New function.
6132 (electric-pair-post-self-insert-function): Use it and
6133 electric--after-char-pos.
6134
ad528125
LL
61352013-06-19 Leo Liu <sdl.web@gmail.com>
6136
6137 * progmodes/octave.el (octave-help): Fix regexp.
6138
924d6997
G
61392013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6140
6141 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6142 (shr-table-horizontal-line): Allow nil as a value, and change the
6143 default.
6144 (shr-insert-table-ruler): Respect the nil value.
6145
61462013-06-18 Tom Tromey <tromey@barimba>
6147
6148 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6149 New defvars.
6150 (eww-open-file): New defun.
6151 (eww-render): Initialize new variables.
6152 (eww-display-html): Handle "link" and "a".
6153 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6154 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6155 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6156 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6157 New defuns.
924d6997 6158
d1bbba4f
DG
61592013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6160
6161 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6162 Distinguish ternary operator tokens from slash symbol and slash
6163 char literal.
6164
14dd22d2
JB
61652013-06-18 Juanma Barranquero <lekktu@gmail.com>
6166
6167 Convert symbol prettification into minor mode and global minor mode.
6168
6169 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6170 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6171 (prettify-symbols--keywords): Rename from
6172 `prog-prettify-symbols-alist' and make a local defvar.
6173 (prettify-symbols--compose-symbol): Rename from
6174 `prog--prettify-font-lock-compose-symbol'.
6175 (prettify-symbols--make-keywords): Rename from
6176 `prog-prettify-font-lock-symbols-keywords' and simplify.
6177 (prog-prettify-install): Remove.
6178 (prettify-symbols-mode): New minor mode, based on
6179 `prog-prettify-install'.
6180 (turn-on-prettify-symbols-mode): New function.
6181 (global-prettify-symbols-mode): New globalized minor mode.
6182
6183 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6184 * progmodes/cfengine.el (cfengine3-mode):
6185 * progmodes/perl-mode.el (perl-mode): Don't call
6186 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6187
292c880c
JL
61882013-06-18 Juri Linkov <juri@jurta.org>
6189
6190 * files-x.el (modify-file-local-variable-message): New function.
6191 (modify-file-local-variable)
6192 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6193 and call `modify-file-local-variable-message' when it's non-nil.
6194 (add-file-local-variable, delete-file-local-variable)
6195 (add-file-local-variable-prop-line)
6196 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6197 and use it. (Bug#9820)
6198
0950aa27
JL
61992013-06-18 Juri Linkov <juri@jurta.org>
6200
6201 * emulation/vi.el (vi-shell-op):
6202 * emulation/vip.el (vip-execute-com, ex-command):
6203 * emulation/viper-cmd.el (viper-exec-bang):
6204 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6205 the call of `shell-command-on-region'. (Bug#14637)
6206
6207 * simple.el (shell-command-on-region): Doc fix.
6208
8fbcca16
SM
62092013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6210
6211 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6212 (bug#14633).
6213
dd7426ea
GM
62142013-06-18 Glenn Morris <rgm@gnu.org>
6215
4ba54f7d
GM
6216 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6217
dd7426ea
GM
6218 * newcomment.el (comment-search-forward, comment-search-backward):
6219 Doc fix. (Bug#14376)
6220
58aa805b
JB
62212013-06-18 Juanma Barranquero <lekktu@gmail.com>
6222
6223 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6224 (buffer-face-mode-invoke): Doc fix.
6225
9a08a617
MM
62262013-06-18 Matthias Meulien <orontee@gmail.com>
6227
6228 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6229 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6230
f2f426ca
GM
62312013-06-18 Glenn Morris <rgm@gnu.org>
6232
9445f99b
GM
6233 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6234 Replace obsolete function generic-make-keywords with its expansion.
6235
e0df2d14
GM
6236 * progmodes/python.el (ffap-alist): Declare.
6237
f2f426ca
GM
6238 * textmodes/reftex.el (bibtex-mode-map): Declare.
6239
f7f9a720
SM
62402013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6243 (package-unpack, package-unpack-single): Return the pkg-dir.
6244 (package-download-transaction): Use it to update package-alist.
6245
57ff04e0
LMI
62462013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6247
6248 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6249 possible choice.
6250
c048c022
JL
62512013-06-17 Juri Linkov <juri@jurta.org>
6252
6253 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6254
b5bcaee5
DG
62552013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6256
a020afb9
JB
6257 * emacs-lisp/package.el (package-load-descriptor):
6258 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6259 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6260
551e07e5
JB
62612013-06-17 Juanma Barranquero <lekktu@gmail.com>
6262
6263 * startup.el (command-line): Expand package name returned by
6264 `package--description-file' (bug#14639).
6265
d363bffb
DG
62662013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6267
6268 * emacs-lisp/package.el (package-load-descriptor): Do not call
6269 `emacs-lisp-mode', just use its syntax table.
6270
f612933b
JB
62712013-06-17 Juanma Barranquero <lekktu@gmail.com>
6272
6273 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6274 `font-lock-extra-managed-props' if any prettifying keyword is added.
6275 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6276 (prog-mode): Use `setq-local'.
6277
db3b7db5
SM
62782013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * international/characters.el (standard-case-table): Set syntax of ?»
6281 and ?« to punctuation.
6282
f3d674df
JB
62832013-06-16 Juanma Barranquero <lekktu@gmail.com>
6284
6285 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6286 Save relevant match data before calling `syntax-ppss' (bug#14595).
6287
31489a32
JL
62882013-06-15 Juri Linkov <juri@jurta.org>
6289
6290 * files-x.el (modify-file-local-variable-prop-line): Add local
6291 variables to the end of the existing comment on the first line.
6292 Use `file-auto-mode-skip' to skip interpreter magic line,
6293 and also skip XML declaration.
6294
66bd25ab
SM
62952013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * startup.el (package--builtin-versions): New var.
6298 (package-subdirectory-regexp): Remove.
6299 (package--description-file): Hard code its value instead.
6300
6301 * emacs-lisp/package.el: Don't activate packages older than builtin.
6302 (package-obsolete-list): Rename from package-obsolete-alist, and make
6303 it into a simple list of package-desc.
6304 (package-strip-version): Remove.
6305 (package-built-in-p): Use package--builtin-versions.
6306 (package-mark-obsolete): Simplify.
6307 (package-process-define-package): Mark it obsolete if older than the
6308 builtin version.
6309 (package-handle-response): Use line-end-position.
6310 (package-read-archive-contents, package--download-one-archive):
6311 Simplify.
6312 (package--add-to-archive-contents): Skip if older than the builtin or
6313 installed version.
6314 (package-menu-describe-package): Fix last change.
6315 (package-list-unversioned): New var.
6316 (package-menu--generate): Use it.
6317
6318 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6319 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6320 (autoload-builtin-package-versions): New variable.
6321 (autoload-generate-file-autoloads): Use them.
6322 Remove the list of autoloaded functions/macros from the
6323 (autoload...) comments.
6324
6325 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6326
9583ec36
EZ
63272013-06-15 Eli Zaretskii <eliz@gnu.org>
6328
6329 * simple.el (line-move-partial): Don't jump to the next screen
6330 line as soon as it becomes visible. Instead, continue enlarging
6331 the vscroll until the portion of a tall screen line that's left on
6332 display is about the height of the frame's default font.
6333 (Bug#14567)
6334
f0100d8a
GM
63352013-06-15 Glenn Morris <rgm@gnu.org>
6336
b86a85ca
GM
6337 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6338 compilation-error-regexp-alist void, or local while let-bound.
6339
f0100d8a
GM
6340 * progmodes/make-mode.el (makefile-mode-syntax-table):
6341 Treat "=" as punctuation. (Bug#14614)
6342
05e7ce90
JB
63432013-06-15 Juanma Barranquero <lekktu@gmail.com>
6344
6345 * help-fns.el (describe-variable):
6346 Add extra line for permanent-local variables.
6347
12e5e86e
SH
63482013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6349
6350 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6351 Add export, import, library. (Bug#9164)
6352 (library): Set indent function.
6353
230dcbaf
GM
63542013-06-14 Glenn Morris <rgm@gnu.org>
6355
6356 * term/xterm.el (xterm--query):
6357 Stop after first matching handler. (Bug#14615)
6358
e36b2d20 63592013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6360
6361 Add support for dired in saveplace.
6362 * dired.el (dired-initial-position-hook): New variable.
6363 (dired-initial-position): Call hook to place cursor position.
6364 * saveplace.el (save-place-to-alist): Add dired position.
6365 (save-place-dired-hook): New function.
6366
0b31660d
SM
63672013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6368
bf1e6ae8
SM
6369 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6370 through a symbol rather than letrec.
6371
1b8dff23
SM
6372 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6373 (package-desc): Add `dir' field.
6374 (package-desc-full-name): New function.
6375 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6376 (package-maybe-load-descriptor): Remove.
6377 (package-load-all-descriptors): Just call package-load-descriptor.
6378 (package--disabled-p): New function.
6379 (package-desc-vers, package-desc-doc): Remove aliases.
6380 (package--dir): Remove function.
6381 (package-activate): Check if a package is disabled.
6382 (package-process-define-package): New function, extracted from
6383 define-package.
6384 (define-package): Turn into a place holder.
6385 (package-unpack-single, package-tar-file-info):
6386 Use package--description-file.
6387 (package-compute-transaction): Use package--disabled-p.
6388 (package-download-transaction): Don't call
6389 package-maybe-load-descriptor since they're all loaded anyway.
6390 (package-install): Change argument to be a pkg-desc.
6391 (package-delete): Use a single pkg-desc argument.
6392 (describe-package-1): Use package-desc-dir instead of package--dir.
6393 Use package-desc property instead of package-symbol.
6394 (package-install-button-action): Adjust accordingly.
6395 (package--push): Rewrite.
6396 (package-menu--print-info): Adjust accordingly. Change the ID format
6397 to be a pkg-desc.
6398 (package-menu-describe-package, package-menu-get-status)
6399 (package-menu--find-upgrades, package-menu-mark-upgrades)
6400 (package-menu-execute, package-menu--name-predicate):
6401 Adjust accordingly.
6402 * startup.el (package--description-file): New function.
6403 (command-line): Use it.
6404 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6405 Use package-desc-version.
6406
0b31660d
SM
6407 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6408 (byte-compile-preprocess): Use it.
6409 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6410 can't quite recognize.
6411 (byte-compile-add-to-list): Remove.
6412 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6413 (cconv-closure-convert): Add assertion.
6414
6415 * emacs-lisp/map-ynp.el: Use lexical-binding.
6416 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6417 Factor out some repeated code.
6418
de0503df
SM
64192013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6420
6421 * subr.el (with-eval-after-load): New macro.
6422 (eval-after-load): Allow form to be a function.
6423 take advantage of lexical-binding.
6424 (do-after-load-evaluation): Use dolist and adjust to new format.
6425 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6426
bc5c8c5a
JL
64272013-06-13 Juri Linkov <juri@jurta.org>
6428
6429 * replace.el (perform-replace): Display "symbol " and other search
6430 modes from `isearch-message-prefix' in the *Help* buffer.
6431
6432 * isearch.el (isearch-query-replace): Add " symbol" and other
6433 possible search modes from `isearch-message-prefix' to the prompt.
6434 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6435 when reading a regexp to collect.
6436
a22289f7
JL
64372013-06-13 Juri Linkov <juri@jurta.org>
6438
6439 * isearch.el (word-search-regexp): Match whitespace if the search
6440 string begins or ends in whitespace. The LAX arg is applied to
6441 both ends of the search string. Use `regexp-quote' and explicit
6442 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6443 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6444 boundaries are replaced with symbol boundaries, and characters
6445 between symbols match non-word non-symbol syntax. (Bug#14602)
6446
cb89acab
JL
64472013-06-13 Juri Linkov <juri@jurta.org>
6448
6449 * isearch.el (isearch-del-char): Don't exceed the length of
6450 `isearch-string' by the prefix arg. (Bug#14563)
6451
6e8cfc81
JL
64522013-06-13 Juri Linkov <juri@jurta.org>
6453
6454 * isearch.el (isearch-yank-word, isearch-yank-line)
6455 (isearch-char-by-name, isearch-quote-char)
6456 (isearch-printing-char, isearch-process-search-char):
6457 Add optional count prefix arg. (Bug#14563)
6458
6459 * international/isearch-x.el
6460 (isearch-process-search-multibyte-characters):
6461 Add optional count prefix arg.
6462
c23d55f4
VS
64632013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6466 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6467 lexical-binding.
6468
64692013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6470
6471 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6472
ba947bc4
GM
64732013-06-13 Glenn Morris <rgm@gnu.org>
6474
8baeb37a
GM
6475 * startup.el (tty-handle-args):
6476 Don't just discard "--" and anything after. (Bug#14608)
6477
ba947bc4
GM
6478 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6479
9abefce4
MA
64802013-06-13 Michael Albinus <michael.albinus@gmx.de>
6481
6482 Implement changes in Secret Service API. Make it backward compatible.
6483 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6484 (secrets-create-item): Use it. Prefix properties with interface.
6485
5755011f
MH
64862013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6487
6488 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6489 (term-emulate-terminal): Respect term-suppress-hard-newline.
6490
1261d2da
S
64912013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6492
6493 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6494 Only remove a `thumb-file' overlay. (Bug#14548)
6495
868490bb
GJ
64962013-06-12 Grégoire Jadi <daimrod@gmail.com>
6497
6498 * mail/reporter.el (reporter-submit-bug-report):
6499 Handle missing package-name. (Bug#14600)
6500
79d7167f
TH
65012013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6502
6503 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6504 (reftex-citation-prompt, reftex-default-bibliography)
6505 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6506 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6507 (reftex-bib-sort-author, reftex-bib-sort-year)
6508 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6509 (reftex-extract-bib-entries-from-thebibliography)
6510 (reftex-get-bibkey-default, reftex-get-bib-names)
6511 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6512 (reftex-format-bib-entry, reftex-parse-bibitem)
6513 (reftex-format-bibitem, reftex-do-citation)
6514 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6515 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6516 (reftex-insert-bib-matches, reftex-format-citation)
6517 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6518 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6519 existing comments into docstrings.
6520
5f9dbd7a
XF
65212013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6522
6523 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6524
94df41ab
AS
65252013-06-12 Andreas Schwab <schwab@suse.de>
6526
6527 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6528 for auto-save files.
6529
a7f3fecc
GM
65302013-06-12 Glenn Morris <rgm@gnu.org>
6531
001809f6
GM
6532 * ido.el (ido-delete-ignored-files): Remove.
6533 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6534 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6535
834b5ded
EL
65362013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6537
08c73ed2
EL
6538 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6539
834b5ded
EL
6540 * ido.el (ido-delete-ignored-files): New function,
6541 split from ido-make-file-list-1.
6542 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6543 (ido-make-file-list-1): Use ido-delete-ignored-files.
6544
daabf15a
LL
65452013-06-12 Leo Liu <sdl.web@gmail.com>
6546
6547 * progmodes/octave.el (inferior-octave-startup)
6548 (inferior-octave-completion-table)
6549 (inferior-octave-track-window-width-change)
6550 (octave-eldoc-function-signatures, octave-help)
6551 (octave-find-definition): Use single quoted strings.
6552 (inferior-octave-startup-args): Change default value.
6553 (inferior-octave-startup): Do not hard code "-i" and
6554 "--no-line-editing".
6555 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6556 (inferior-octave-directory-tracker): Use it.
6557 (octave-goto-function-definition): Robustify.
6558 (octave-help): Support highlighting operators in 'See also'.
6559 (octave-find-definition): Find subfunctions only in Octave mode.
6560
cf4e5178
SM
65612013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * help-fns.el (help-fns--compiler-macro): If the handler function is
6564 named, then put a link to it.
6565 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6566 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6567 (cl-typep): Use it.
6568 (cl-eval-when): Simplify debug spec.
6569 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6570 compiler-macro function instead of setting `compiler-macro-file'.
6571
99c81280 65722013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6573
6574 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6575 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6576
f56be016
SM
65772013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6578 Daniel Hackney <dan@haxney.org>
6579
6580 First part of Daniel Hackney's patch to package.el.
6581 * emacs-lisp/package.el: Use defstruct.
6582 (package-desc): New, main struct.
6583 (package--bi-desc, package--ac-desc): New structs, used to describe the
6584 format in external files.
6585 (package-desc-vers): Replace with package-desc-version accessor.
6586 (package-desc-doc): Replace with package-desc-summary accessor.
6587 (package-activate-1): Remove `package' arg since the pkg-vec now
6588 includes the name.
6589 (define-package): Use package-desc-from-define.
6590 (package-unpack-single): Change file-name arg to be a symbol.
6591 (package--add-to-archive-contents): Use package-desc-create and new
6592 accessor functions to package--ac-desc.
6593 (package-buffer-info, package-tar-file-info): Return a package-desc.
6594 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6595 arg to be a package-desc.
6596 (package-install-file): Adjust accordingly. Use \' to match EOS.
6597 (package--from-builtin): New function.
6598 (describe-package-1, package-menu--generate): Use it.
6599 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6600 (package-generate-autoloads): Idem and return the name of the file.
6601 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6602 Change pkg-info arg to be a package-desc.
6603 Use package-make-ac-desc.
6604 (package-upload-file): Use \' to match EOS.
6605 * finder.el (finder-compile-keywords): Use package-make-builtin.
6606
31119d63
SM
66072013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6608
931a2762
SM
6609 * vc/vc.el (vc-deduce-fileset): Change error message.
6610 (vc-read-backend): New function.
6611 (vc-next-action): Use it.
6612
5a3eb0c6
SM
6613 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6614
e3eb1bb7
SM
6615 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6616 (prolog-font-lock-keywords): Use regexp-opt instead.
6617 Don't manually highlight strings.
6618 (prolog-mode-variables): Simplify comment-start-skip.
6619 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6620
31119d63
SM
6621 * emacs-lisp/generic.el (generic--normalise-comments)
6622 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6623 (generic-mode-set-comments): Use them.
6624 (generic-bracket-support): Use setq-local.
6625 (generic-make-keywords-list): Declare obsolete.
6626
7de135d0
GM
66272013-06-11 Glenn Morris <rgm@gnu.org>
6628
6629 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6630 Prettify after setting font-lock-defaults. (Bug#14574)
6631
fa6bc6fd
JB
66322013-06-11 Juanma Barranquero <lekktu@gmail.com>
6633
6634 * replace.el (query-replace, occur-read-regexp-defaults-function)
6635 (replace-search):
6636 * subr.el (declare-function, number-sequence, local-set-key)
6637 (substitute-key-definition, locate-user-emacs-file)
6638 (with-silent-modifications, split-string, eval-after-load):
6639 Fix typos, remove unneeded backslashes and reflow some docstrings.
6640
cf1f9b9a
SM
66412013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6644 default for Elisp files.
6645
56602a4b
GM
66462013-06-11 Glenn Morris <rgm@gnu.org>
6647
6648 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6649 although define-derived-mode was doing this anyway. (Bug#14583)
6650
30ae0b2c
JB
66512013-06-10 Juanma Barranquero <lekktu@gmail.com>
6652
6653 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6654 Fix make-variable-buffer-local call to refer to the correct variable.
6655
fa472906
AG
66562013-06-10 Aidan Gauland <aidalgol@amuri.net>
6657
6658 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6659 (eshell-visual-subcommands, eshell-visual-options):
6660 Add summary line to docstrings. Add cross-references.
fa472906 6661
ff4871b9
GM
66622013-06-10 Glenn Morris <rgm@gnu.org>
6663
6664 * epa.el (epa-read-file-name): New function. (Bug#14510)
6665 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6666
04fcf1b0
AG
66672013-06-09 Aidan Gauland <aidalgol@amuri.net>
6668
6669 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6670 output redirection to be ignored with visual commands.
6671
88b00caa
AG
66722013-06-09 Aidan Gauland <aidalgol@amuri.net>
6673
6674 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6675 (eshell-term-initialize): Move long lambda to separate function
6676 eshell-visual-command-p.
e7b41c4c
JB
6677 * eshell/em-dirs.el (eshell-dirs-initialise):
6678 * eshell/em-script.el (eshell-script-initialize):
6679 Add missing #' to lambda.
88b00caa 6680
fda74125
LL
66812013-06-08 Leo Liu <sdl.web@gmail.com>
6682
6683 * progmodes/octave.el (octave-add-log-current-defun): New function.
6684 (octave-mode): Set add-log-current-defun-function.
6685 (octave-goto-function-definition): Do not move point if not found.
6686 (octave-find-definition): Enhance to try subfunctions first.
6687
467f3b33
GM
66882013-06-08 Glenn Morris <rgm@gnu.org>
6689
6690 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6691 (byte-compile-backward-char, byte-compile-backward-word):
6692 Improve previous change, to handle non-explicit nil.
6693
544badc3
SM
66942013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6697 (smie--opener/closer-at-point): New function.
6698 (smie--matching-block-data): Use it. Don't match from right after an
6699 opener or right before a closer. Obey smie-blink-matching-inners.
6700 Don't signal a mismatch for repeated inners like "switch..case..case".
6701
a175bf33
LL
67022013-06-07 Leo Liu <sdl.web@gmail.com>
6703
6704 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6705 to t. (Bug#14303)
ce8209d4
LL
6706 (octave-function-header-regexp): Fix. (Bug#14570)
6707 (octave-help-mode-finish-hook, octave-help-mode-finish):
6708 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6709
6710 * newcomment.el (comment-search-backward): Revert last change.
6711 (Bug#14434)
6712
6713 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6714
a822acff
EZ
67152013-06-07 Eli Zaretskii <eliz@gnu.org>
6716
6717 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6718 through xargs, to avoid failure due to MS-Windows limitations on
6719 command-line length.
6720
961166f5
GM
67212013-06-06 Glenn Morris <rgm@gnu.org>
6722
d0341459
GM
6723 * font-lock.el (lisp-font-lock-keywords-2):
6724 Treat user-error like error.
6725
961166f5
GM
6726 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6727 (byte-compile-backward-char, byte-compile-backward-word):
6728 Handle explicit nil arguments. (Bug#14565)
6729
80fa505f
AM
67302013-06-05 Alan Mackenzie <acm@muc.de>
6731
6732 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6733 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6734 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6735 (Bug#9706)
80fa505f 6736
fccdc796
SM
67372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6738
6739 * autorevert.el (auto-revert-notify-handler): Use memq.
6740 Hide assertion failure.
6741
6742 * skeleton.el: Use cl-lib.
6743 (skeleton-further-elements): Use defvar-local.
6744 (skeleton-insert): Use cl-progv.
6745
9bfff84b
TZ
67462013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6747
6748 * progmodes/prog-mode.el (prog-prettify-symbols)
6749 (prog-prettify-install): Update docstrings.
6750
55577e7c
SM
67512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * simple.el: Move all the prog-mode code to prog-mode.el.
6754 * progmodes/prog-mode.el: New file.
6755 * loadup.el: Add prog-mode.el.
6756
8fc57765
TZ
67572013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6758
6759 * simple.el (prog-prettify-symbols): Add version.
6760 (prog-prettify-install): Add convenience function to prettify symbols.
6761
6762 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6763 (perl--augmented-font-lock-keywords-1)
6764 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6765 variables and use it.
6766
6767 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6768 (cfengine3-mode): Remove unneeded variable and use it.
6769
6770 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6771 (lisp--augmented-font-lock-keywords-1)
6772 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6773 Remove unneeded variables and use it.
6774
650645d5 67752013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6776
6777 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6778 to point when opening the connection. (Bug#14380)
28f5da6d 6779
781b4af6
SM
67802013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6781
6782 * subr.el (load-history-regexp, load-history-filename-element)
6783 (eval-after-load, after-load-functions, do-after-load-evaluation)
6784 (eval-next-after-load, display-delayed-warnings)
6785 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6786 definition of save-match-data.
6787 (overriding-local-map): Remove accidental obsolescence declaration.
6788
6789 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6790
3ca0d0b4
TZ
67912013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6792
6793 Generalize symbol prettify support to prog-mode and implement it
6794 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6795 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6796 (prog--prettify-font-lock-compose-symbol)
6797 (prog-prettify-font-lock-symbols-keywords): New variables and
6798 functions to support symbol prettification.
6799 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6800 (lisp--augmented-font-lock-keywords-1)
6801 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6802 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6803 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6804 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6805 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6806 * progmodes/perl-mode.el (perl-prettify-symbols)
6807 (perl--font-lock-compose-symbol)
6808 (perl--font-lock-symbols-keywords): Move to prog-mode.
6809 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6810 (perl-font-lock-keywords-1)
6811 (perl-font-lock-keywords-2): Remove explicit prettify support.
6812 (perl--augmented-font-lock-keywords)
6813 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6814 (perl--augmented-font-lock-keywords-2, perl-mode):
6815 Implement prettify support.
3ca0d0b4 6816
976cb066
LL
68172013-06-05 Leo Liu <sdl.web@gmail.com>
6818
6819 Re-implement smie matching block highlight using
6820 show-paren-data-function. (Bug#14395)
6821 * emacs-lisp/smie.el (smie-matching-block-highlight)
6822 (smie--highlight-matching-block-overlay)
6823 (smie--highlight-matching-block-lastpos)
6824 (smie-highlight-matching-block)
6825 (smie-highlight-matching-block-mode): Remove.
6826 (smie--matching-block-data-cache): New variable.
6827 (smie--matching-block-data): New function.
6828 (smie-setup): Use smie--matching-block-data for
6829 show-paren-data-function.
6830
6831 * progmodes/octave.el (octave-mode-menu): Fix.
6832 (octave-find-definition): Skip garbage lines.
6833
208d0342
SM
68342013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 Fix compilation error with simultaneous dynamic+lexical scoping.
6837 Add warning when a defvar appears after the first let-binding.
6838 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6839 (byte-compile-close-variables): Initialize it.
6840 (byte-compile--declare-var): New function.
6841 (byte-compile-file-form-defvar)
6842 (byte-compile-file-form-define-abbrev-table)
6843 (byte-compile-file-form-custom-declare-variable): Use it.
6844 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6845 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6846 (byte-compile-bind): Handle dynamic bindings that shadow
6847 lexical bindings.
6848 (byte-compile-unbind): Make arg non-optional.
6849 (byte-compile-let): Simplify.
6850 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6851 (cconv--analyse-function, cconv-analyse-form): Populate it.
6852 Protect byte-compile-bound-variables to limit the scope of defvars.
6853 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6854 Remove unneeded rule for `declare'.
6855
6856 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6857 so as to avoid depending on cl-adjoin at run-time.
6858 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6859
6860 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6861 (macroexp--warn-and-return): Use it.
6862
1ac2891e
GM
68632013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * lisp/subr.el: Convert to lexical binding.
6866 (overriding-local-map): Make obsolete.
6867 (add-to-list): Doc fix. Add compiler macro.
6868 (read-key): Swap values of local maps.
6869
2587b005
LL
68702013-06-05 Leo Liu <sdl.web@gmail.com>
6871
6872 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6873
f1da3c88
LL
68742013-06-04 Leo Liu <sdl.web@gmail.com>
6875
6876 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6877 (compilation-auto-jump): Suppress the "Mark set" message to give
6878 way to exit message.
6879
3caa391f
AM
68802013-06-04 Alan Mackenzie <acm@muc.de>
6881
6882 Remove faulty optimisation from indentation calculation.
6883 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6884 search limit based on 2000 characters back from indent-point.
6885
068922a2
TH
68862013-06-03 Tassilo Horn <tsdh@gnu.org>
6887
6888 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6889
1f8fdd53
SM
68902013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6891
bbcc4d97
SM
6892 * emacs-lisp/lisp.el: Use lexical-binding.
6893 (lisp--local-variables-1, lisp--local-variables): New functions.
6894 (lisp--local-variables-completion-table): New var.
208d0342 6895 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6896
1f8fdd53
SM
6897 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6898 eagerly (bug#14422).
6899
c9628c79
MA
69002013-06-03 Michael Albinus <michael.albinus@gmx.de>
6901
6902 * autorevert.el (auto-revert-notify-enabled)
6903 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6904 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6905 (auto-revert-notify-handler): Handle also gfilenotify.
6906
e7b41c4c 6907 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6908 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6909 Remove.
c9628c79 6910
e5e4a942
JL
69112013-06-03 Juri Linkov <juri@jurta.org>
6912
6913 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6914 `M-s h .'. (Bug#14427)
6915
6916 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6917 command `hi-lock-face-symbol-at-point'.
6918 (hi-lock-face-symbol-at-point): New command.
6919 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6920 (hi-lock-menu): Add `highlight-symbol-at-point'.
6921 (hi-lock-mode): Doc fix.
6922
6923 * isearch.el (isearch-forward-symbol-at-point): New command.
6924 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6925 (isearch-highlight-regexp): Add a regexp which matches
6926 words/symbols for word/symbol mode.
6927
6928 * subr.el (find-tag-default-bounds): New function with the body
6929 mostly moved from `find-tag-default'.
6930 (find-tag-default): Move most code to `find-tag-default-bounds',
6931 call it and apply `buffer-substring-no-properties' afterwards.
6932
26b3353a
TH
69332013-06-03 Tassilo Horn <tsdh@gnu.org>
6934
781b4af6
SM
6935 * eshell/em-term.el (eshell-term-initialize):
6936 Use `cl-intersection' rather than `intersection'.
26b3353a 6937
51b60f53
XF
69382013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6939
fe054b63 6940 * vc/log-view.el: Doc fix.
d3ffe17c 6941 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6942
a0eb10b3 69432013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6944
6945 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6946 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6947 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6948 (eieio-unbound, eieio-default-superclass)
6949 (eieio--define-field-accessors, method-static, method-before)
6950 (method-primary, method-after, method-num-lists)
6951 (method-generic-before, method-generic-primary)
6952 (method-generic-after, method-num-slots)
6953 (eieio-specialized-key-to-generic-key)
6954 (eieio--check-type, class-v, class-p)
6955 (eieio-class-name, define-obsolete-function-alias)
6956 (eieio-class-parents-fast, eieio-class-children-fast)
6957 (same-class-fast-p, class-constructor, generic-p)
6958 (generic-primary-only-p, generic-primary-only-one-p)
6959 (class-option-assoc, class-option, eieio-object-p)
6960 (class-abstract-p, class-method-invocation-order)
6961 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6962 (eieio-class-un-autoload, eieio-defclass)
6963 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6964 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6965 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6966 (eieio-defgeneric-reset-generic-form)
6967 (eieio-defgeneric-form-primary-only)
6968 (eieio-defgeneric-reset-generic-form-primary-only)
6969 (eieio-defgeneric-form-primary-only-one)
6970 (eieio-defgeneric-reset-generic-form-primary-only-one)
6971 (eieio-unbind-method-implementations)
6972 (eieio--defmethod, eieio--typep)
6973 (eieio-perform-slot-validation, eieio-validate-slot-value)
6974 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6975 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6976 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6977 (eieio-slot-name-index, eieio-class-slot-name-index)
6978 (eieio-set-defaults, eieio-initarg-to-attribute)
6979 (eieio-attribute-to-initarg, eieio-c3-candidate)
6980 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6981 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6982 (eieio-class-precedence-list, eieio-generic-call-methodname)
6983 (eieio-generic-call-arglst, eieio-generic-call-key)
6984 (eieio-generic-call-next-method-list)
6985 (eieio-pre-method-execution-functions, eieio-generic-call)
6986 (eieio-generic-call-primary-only, eieiomt-method-list)
6987 (eieiomt-optimizing-obarray, eieiomt-install)
6988 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6989 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6990 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6991 (defclass): Remove `eval-and-compile' from macro.
6992 (call-next-method, shared-initialize): Instead of using
6993 `scoped-class' variable, use new eieio--scoped-class, and
6994 eieio--with-scoped-class.
6995 (initialize-instance): Rename local variable 'scoped-class' to
6996 'this-class' to remove ambiguitity from old global.
6997
6998 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6999 eieio.el.
4f405069
JB
7000 (eieio--scoped-class-stack): New variable.
7001 (eieio--scoped-class): New fcn.
890f7890
DE
7002 (eieio--with-scoped-class): New scoping macro.
7003 (eieio-defclass): Use pushnew instead of add-to-list.
7004 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7005 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7006 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7007 `scoped-class' variable, use new eieio--scoped-class, and
7008 eieio--with-scoped-class.
7009
7010 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7011
d105b0e2
TH
70122013-06-02 Tassilo Horn <tsdh@gnu.org>
7013
7014 * eshell/esh-ext.el (eshell-external-command): Pass args to
7015 `eshell-find-interpreter'.
7016 (eshell-find-interpreter): Add new second parameter ARGS.
7017
7018 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7019 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7020
7021 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7022 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7023
7024 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7025 (eshell-visual-options): New defcustom.
7026 (eshell-escape-control-x): Adapt docstring.
7027 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7028 `eshell-visual-options' in addition to `eshell-visual-commands'.
7029 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7030
f46305c8 70312013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7032
7033 * progmodes/python.el (python-indent-block-enders): Add break,
7034 continue and raise keywords.
7035
d870df21
GM
70362013-06-01 Glenn Morris <rgm@gnu.org>
7037
9133b82e
GM
7038 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7039
02c992ec 7040 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7041 * progmodes/cc-cmds.el (delete-forward-p):
7042 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7043 * progmodes/cc-engine.el (buffer-syntactic-context):
7044 * progmodes/cc-fonts.el (face-property-instance):
7045 * progmodes/cc-mode.el (set-keymap-parents):
7046 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7047 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7048 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7049 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7050 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7051
31e7b090
GM
7052 * progmodes/cc-vars.el (other): Emacs has this widget since
7053 at least 21.1, so don't (re)define it.
7054
d870df21
GM
7055 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7056 Replace the obsolete alias pcomplete-arg-quote-list.
7057
c75c93c7
LL
70582013-06-01 Leo Liu <sdl.web@gmail.com>
7059
7060 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7061 punctuation syntax.
7062 (inferior-octave-minimal-columns)
7063 (inferior-octave-last-column-width): New variables.
7064 (inferior-octave-track-window-width-change): New function.
7065 (inferior-octave-mode): Adjust column width so that Octave output,
7066 for example from 'ls', can fit into the window nicely.
7067
973d1e12
DG
70682013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7069
7070 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7071 Highlight expansions inside regexp literals.
7072
0888c286
GM
70732013-05-31 Glenn Morris <rgm@gnu.org>
7074
e26aac1f
GM
7075 * obsolete/sym-comp.el (symbol-complete):
7076 Replace obsolete completion-annotate-function.
7077
0888c286
GM
7078 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7079
19bb8e62
DG
70802013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7081
781b4af6
SM
7082 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7083 New function, checks if point is inside a literal that allows
19bb8e62
DG
7084 expression expansion.
7085 (ruby-syntax-propertize-expansion): Use it.
7086 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7087 around the body.
7088
01dea85f
JL
70892013-05-30 Juri Linkov <juri@jurta.org>
7090
7091 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7092 to "\M-si".
7093 (isearch-invisible): New variable.
7094 (isearch-forward): Doc fix.
7095 (isearch-mode): Set `isearch-invisible'
7096 to the value of `search-invisible'.
7097 (isearch-toggle-case-fold): Doc fix.
7098 (isearch-toggle-invisible): New command.
7099 (isearch-query-replace): Let-bind `search-invisible'
7100 to the value of `isearch-invisible'.
7101 (isearch-search): Use `isearch-invisible' instead of
7102 `search-invisible'. Let-bind `search-invisible'
7103 to the value of `isearch-invisible'. (Bug#11378)
7104
ab1bdce5
JL
71052013-05-30 Juri Linkov <juri@jurta.org>
7106
7107 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7108 call when `query-flag' is nil and `search-invisible' is non-nil.
7109 (Bug#11746)
7110
d6d236e2
GM
71112013-05-30 Glenn Morris <rgm@gnu.org>
7112
8accd027
GM
7113 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7114
2a8bed1c
GM
7115 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7116 (cc-require): Suppress spurious "noruntime" warnings.
7117 (cc-require-when-compile): Use fboundp, for sake of compiler.
7118
d6d236e2
GM
7119 * progmodes/cc-mode.el: Move load of cc-vars before that of
7120 cc-langs (which in turn loads cc-vars), to quieten compiler.
7121
9190b35b
SM
71222013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * paren.el: Simplify the code.
7125 (show-paren-mode): Always start the timer.
7126 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7127 (show-paren--overlay, show-paren--overlay-1): Rename from
7128 show-paren-overlay and show-paren-overlay-1, and initialize to an
7129 overlay rather than to nil.
7130 (show-paren-function): Misc cleanup and simplifications.
7131
4f8d1cf6
SM
71322013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * paren.el (show-paren-data-function): New hook.
7135 (show-paren--default): New function, extracted from show-paren-function.
7136 (show-paren-function): Use show-paren-data-function.
7137
02d844b5
GM
71382013-05-30 Glenn Morris <rgm@gnu.org>
7139
d209d4a9
GM
7140 * ielm.el (ielm-map, ielm-complete-symbol):
7141 Use completion-at-point rather than obsolete functions.
7142 (inferior-emacs-lisp-mode): Doc fix.
7143 Set completion-at-point-functions, rather than
7144 comint-dynamic-complete-functions.
7145
2082faa6
GM
7146 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7147 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7148 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7149
dd8620de
GM
7150 * image.el (image-animated-p): Tweak definition.
7151
ceca95b1
GM
7152 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7153 (rlogin-process-connection-type): Tweak default. Add set-after.
7154 (rlogin-host): Doc fix.
7155 (rlogin): Tweak prompt.
7156 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7157
ee9f1acc
GM
7158 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7159 * progmodes/tcl.el (inferior-tcl-mode-map):
7160 Use completion-at-point rather than obsolete alias.
7161
45ce222e
GM
7162 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7163
02d844b5
GM
7164 * minibuffer.el (read-file-name-completion-ignore-case):
7165 Move before completion--in-region, for eager macro expansion.
7166
ac44d6c1
JL
71672013-05-29 Juri Linkov <juri@jurta.org>
7168
7169 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7170 for total count of matching lines. Add `global-matches' for total
7171 count of matches. Rename `matches' to `lines' for count of
7172 matching lines. Add `matches' for count of matches.
7173 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7174 to `prev-line' for line number of prev match endpt.
7175 Increment `matches' for every match. Print the number of
7176 matching lines in the header.
7177 (occur-context-lines): Rename `lines' to `curr-line'.
7178 Rename `prev-lines' to `prev-line'. (Bug#14017)
7179
3c9c9d38
JL
71802013-05-29 Juri Linkov <juri@jurta.org>
7181
7182 * replace.el (perform-replace): Add `skip-read-only-count',
7183 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7184 Increment them for corresponding conditions and report the number
7185 of skipped occurrences in the final message. (Bug#11746)
7186 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7187 (replace-string, replace-regexp): Doc fix.
7188
33e249a2
SM
71892013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7190
8e399682
SM
7191 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7192
33e249a2 7193 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7194 prog-mode-map (bug#14504).
33e249a2 7195
f236dd84
LL
71962013-05-29 Leo Liu <sdl.web@gmail.com>
7197
7198 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7199 (octave-help): Small simplification.
7200
7201 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7202 off the highlight first.
7203
3694d13f
GM
72042013-05-29 Glenn Morris <rgm@gnu.org>
7205
03983bdc
GM
7206 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7207 Handle idlwave-last-system-routine-info-cons-cell being nil.
7208
bc74a74a
GM
7209 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7210 (idlwave-write-paths): Simplify via with-temp-buffer.
7211
8b394200
GM
7212 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7213 * emulation/cua-rect.el: Also load cua-base at run time.
7214
3694d13f
GM
7215 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7216 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7217 (cperl-imenu-on-info): Require imenu.
7218
336d7284
AM
72192013-05-28 Alan Mackenzie <acm@muc.de>
7220
7221 Handle "capitalised keywords" correctly.
33e249a2 7222 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7223
cb29c582
AG
72242013-05-28 Aidan Gauland <aidalgol@amuri.net>
7225
781b4af6 7226 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7227
690e44b2
GM
72282013-05-28 Glenn Morris <rgm@gnu.org>
7229
e658d75c
GM
7230 * vc/vc-arch.el (vc-exec-after): Declare.
7231 (vc-switches): Autoload.
7232 * vc/vc-bzr.el: No need to require vc when compiling.
7233 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7234 (vc-resynch-buffer, vc-dir-refresh): Declare.
7235 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7236 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7237 (vc-resynch-buffer): Declare.
7238 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7239 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7240 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7241 (grep-read-regexp, grep-read-files, grep-expand-template)
7242 (vc-dir-refresh): Declare.
7243 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7244 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7245 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7246 * vc/vc-mtn.el (vc-exec-after): Declare.
7247 (vc-switches): Autoload.
7248 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7249 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7250 (vc-file-tree-walk): Declare.
712b9732
GM
7251 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7252 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7253 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7254 * vc/vc-svn.el (vc-exec-after): Declare.
7255 (vc-switches, vc-setup-buffer): Autoload.
7256 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7257 Autoload.
7258 (vc-resynch-buffer): Declare.
7259
98e87fb3
GM
7260 * obsolete/fast-lock.el (byte-compile-warnings):
7261 Don't warn about obsolete features in this obsolete file.
7262
f5379553
GM
7263 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7264 Move definition before use.
7265
7a20ef83
GM
7266 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7267 (dun-unix-verbs): Remove dun-zippy.
7268 (dun-zippy): Remove function.
7269
690e44b2
GM
7270 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7271
3a52ccf7
JL
72722013-05-27 Juri Linkov <juri@jurta.org>
7273
7274 * replace.el (replace-search): New function with code moved out
7275 from `perform-replace'.
7276 (replace-highlight, replace-dehighlight): Move function definitions
7277 up closer to `replace-search'. (Bug#11746)
7278
d289938a
JL
72792013-05-27 Juri Linkov <juri@jurta.org>
7280
7281 * replace.el (perform-replace): Ignore invisible matches.
7282 In addition to checking `query-replace-skip-read-only', also
7283 filter out matches by calling `run-hook-with-args-until-failure'
7284 on `isearch-filter-predicates', and also check `search-invisible'
7285 for t or call `isearch-range-invisible'.
7286 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7287
66fc57e3
JL
72882013-05-27 Juri Linkov <juri@jurta.org>
7289
7290 * isearch.el (isearch-filter-predicates): Rename from
7291 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7292 (isearch-message-prefix): Display text from the property
7293 `isearch-message-prefix' of the currently active filters.
7294 (isearch-search): Don't compare `isearch-filter-predicate' with
7295 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7296 on `isearch-filter-predicates'. Also check `search-invisible' for t
7297 or call `isearch-range-invisible'.
7298 (isearch-filter-visible): Make obsolete.
7299 (isearch-lazy-highlight-search):
7300 Call `run-hook-with-args-until-failure' on
7301 `isearch-filter-predicates' and use `isearch-range-invisible'.
7302
7303 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7304 `isearch-filter-predicates' instead of `funcall'ing
7305 `isearch-filter-predicate'.
7306 (Info-mode): Set `Info-isearch-filter' to
7307 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7308
7309 * dired-aux.el (dired-isearch-filter-predicate-orig):
7310 Remove variable.
7311 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7312 (dired-isearch-filenames-end): Add and remove
7313 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7314 instead of changing the value of `isearch-filter-predicate'.
7315 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7316 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7317 Put property `isearch-message-prefix' to "filename " on
7318 `dired-isearch-filter-filenames'.
7319
7320 * wdired.el (wdired-change-to-wdired-mode):
7321 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7322 locally instead of changing `isearch-filter-predicate'.
7323 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7324
f1a60a0f
DG
73252013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7326
7327 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7328 return the commit hash (Bug#14459). Also set the
7329 `vc-git-detached' property.
7330 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7331 (vc-git-mode-line-string): Use the same help-echo format whether
7332 in detached mode or not, because we know the actual revision now.
7333 When in detached mode, shorten the revision to 7 chars.
7334
7f17cc40
SM
73352013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7336
7337 * emacs-lisp/easy-mmode.el (define-minor-mode):
7338 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7339 mode hook and provide a docstring.
7340
25c8401c
AM
73412013-05-27 Alan Mackenzie <acm@muc.de>
7342
7343 Remove spurious syntax-table text properties inserted by C-y.
7344 * progmodes/cc-mode.el (c-after-change): Also clear hard
7345 syntax-table property with value nil.
7346
dde84790
MA
73472013-05-27 Michael Albinus <michael.albinus@gmx.de>
7348
7349 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7350 when reading the events; the buffer layout shall not be changed.
7351
837fd9af
LL
73522013-05-27 Leo Liu <sdl.web@gmail.com>
7353
7354 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7355 New variable.
7356 (inferior-octave-directory-tracker): Automatically re-sync
7357 default-directory.
7358 (octave-help): Improve handling of 'See also'.
7359
4fd996b3
SM
73602013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7361
416f1802
SM
7362 * doc-view.el: Minor naming convention tweaks.
7363 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7364
4fd996b3
SM
7365 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7366 even if there's no `display' property yet (bug#14435).
7367
a052ef3b
EZ
73682013-05-25 Eli Zaretskii <eliz@gnu.org>
7369
4fd996b3 7370 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7371
7372 * Makefile.in (custom-deps, finder-data, autoloads)
7373 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7374 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7375 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7376
c9023370
SM
73772013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7380 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7381 Don't burp at EOB.
c9023370 7382
24d699fa
LL
73832013-05-25 Leo Liu <sdl.web@gmail.com>
7384
7385 * comint.el (comint-previous-matching-input): Do not flood the
7386 *Messages* buffer with trivial messages.
7387
17e5c0cc
SM
73882013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * progmodes/flymake.el (flymake-nop): Don't return a string.
7391 (flymake-set-at): Fix typo.
7392
7393 * simple.el (read--expression): New function, extracted from
7394 eval-expression. Set completion-at-point-functions (bug#14465).
7395 (eval-expression, eval-minibuffer): Use it.
7396
5d028165
XF
73972013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7398
7399 * progmodes/flymake.el (flymake-save-buffer-in-file)
7400 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7401 (flymake-selected-frame, flymake-log, flymake-ins-after)
7402 (flymake-set-at, flymake-get-buildfile-from-cache)
7403 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7404 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7405 Refine the doc string.
7406 (flymake-get-file-name-mode-and-masks): Reformat.
7407 (flymake-get-real-file-name-function): Fix a minor bug.
7408
7a1d7ba7
JL
74092013-05-24 Juri Linkov <juri@jurta.org>
7410
7411 * progmodes/grep.el (grep-mode-font-lock-keywords):
7412 Support =linenumber= format used by git-grep for lines with
7413 function names. (Bug#13549)
7414
650cff3d
SM
74152013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7418 0 after a semi-colon; it works better for smie-auto-fill.
7419 (octave--indent-new-comment-line): New function.
7420 (octave-indent-new-comment-line): Use it (indirectly).
7421 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7422 modify comment-line-break-function.
7423
7424 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7425 (smie-setup): Use add-function to set it.
7426
9631677d
SS
74272013-05-24 Sam Steingold <sds@gnu.org>
7428
7429 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7430 argument (before the `interactive' argument).
7431
50105835
SM
74322013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * image-mode.el (image-mode-winprops): Add winprops to
7435 image-mode-winprops-alist before running
7436 image-mode-new-window-functions.
7437 * doc-view.el (doc-view-new-window-function): Don't delay
7438 doc-view-goto-page via timers (bug#14435).
7439
57b9823e
TH
74402013-05-24 Tassilo Horn <tsdh@gnu.org>
7441
7442 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7443 (doc-view-desktop-save-buffer): New function.
7444 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7445 (desktop-buffer-mode-handlers):
7446 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7447 handler.
7448 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7449 `desktop-save-buffer' function.
7450
91aafa16
MA
74512013-05-24 Michael Albinus <michael.albinus@gmx.de>
7452
7453 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7454 (tramp-gvfs-file-name-handler): Raise a user error when
7455 `tramp-gvfs-enabled' is nil.
7456 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7457 Do not raise a user error when loading package. (Bug#14447)
7458
ec076379
MA
7459 * net/xesam.el: Move to obsolete/.
7460
db785726
GM
74612013-05-24 Glenn Morris <rgm@gnu.org>
7462
af5c7606
GM
7463 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7464
e5d1916a
GM
7465 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7466
ded62b08
GM
7467 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7468 (Info-find-node, Man-getpage-in-background): Declare.
7469
9e614a3f
GM
7470 * mail/unrmail.el (unrmail):
7471 Replace obsolete detect-coding-with-priority.
7472
892f8ca3
GM
7473 * net/socks.el (socks-split-string): Use this rather than split-string.
7474 (socks-nslookup-host): Update for above change.
7475 (dynamic-choice, s5-dynamic-choice-match)
7476 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7477 Comment out unused code.
7478
3c291973
GM
7479 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7480 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7481 (gud-tooltip-echo-area): Make obsolete.
7482 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7483
43cc956b
GM
7484 * progmodes/js.el (js--optimize-arglist): Declare.
7485
dab49a3b
GM
7486 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7487
36b9d085
GM
7488 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7489 (ediff-window-C): Declare.
7490
e354ae76
GM
7491 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7492 Tweak requires to silence compiler.
7493
b8e57bf4
GM
7494 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7495 (he-search-string, he-tried-table, he-expand-list)
7496 (he-init-string, he-string-member, he-substitute-string)
7497 (he-reset-string): Declare.
7498
db785726
GM
7499 * obsolete/options.el (list-options): Use custom-variable-p,
7500 rather than obsolete alias.
7501
b3531901
SS
75022013-05-23 Sam Steingold <sds@gnu.org>
7503
7504 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7505 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7506 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7507
bdda4c66
SM
75082013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * emacs-lisp/smie.el (smie-indent-forward-token)
7511 (smie-indent-backward-token): Handle string tokens (bug#14381).
7512
c43d45f9
TH
75132013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7514
fe1eb856
RS
7515 * ielm.el (ielm-menu): New menu.
7516 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7517
fe1eb856
RS
75182013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7519
7520 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7521 Fix deactivate action.
7522
7523 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7524 Add cleveref macros.
074dd971 7525
c43d45f9
TH
7526 * lisp/textmodes/reftex-parse.el
7527 (reftex-locate-bibliography-files): Accept options for
7528 bibliography commands.
7529 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7530 Add addbibresource. Basic Biblatex support.
7531
7764286e
MA
75322013-05-23 Michael Albinus <michael.albinus@gmx.de>
7533
7534 * net/tramp-gvfs.el (top):
7535 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7536 when loading package. (Bug#14447)
7537
d361bc10
GM
75382013-05-23 Glenn Morris <rgm@gnu.org>
7539
8fa23984
GM
7540 * progmodes/js.el: No need to load comint when compiling.
7541 (ring-insert, comint-send-string, comint-send-input)
7542 (comint-last-input-end, ido-chop): Declare.
7543
a5c7df1a
GM
7544 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7545 * vc/ediff-mult.el: Adjust requires.
7546 (ediff-directories-internal, ediff-directory-revisions-internal)
7547 (ediff-patch-file-internal): Declare.
7548 * vc/ediff-ptch.el: Adjust requires.
7549 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7550 (ediff-find-file): Autoload.
7551 * vc/ediff-util.el: No need to load ediff when compiling.
7552 (ediff-regions-internal): Declare.
7553 * vc/ediff-wind.el: Adjust requires.
7554 (ediff-compute-toolbar-width): Define when compiling.
7555 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7556 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7557 (dired-get-filename, dired-get-marked-files)
7558 (ediff-last-dir-patch, ediff-patch-default-directory)
7559 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7560 (ediff-patch-buffer-internal): Declare.
7561
e2aec513
GM
7562 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7563 (ispell-process, ispell-buffer-local-words, lm-summary)
7564 (lm-section-start, lm-section-end): Declare.
7565 (checkdoc-ispell-init): Simplify.
7566
e68bbd7c
GM
7567 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7568 (he-string-member, he-reset-string, he-substitute-string): Declare.
7569
7efe0991
GM
7570 * eshell/em-ls.el: Adjust requires.
7571 (eshell-glob-regexp): Declare.
f87b1284
GM
7572 * eshell/em-tramp.el: Adjust requires.
7573 (eshell-parse-command): Autoload.
7574 * eshell/em-xtra.el: Adjust requires.
7575 (eshell-parse-command): Autoload.
7576 * eshell/esh-ext.el: Adjust requires.
7577 (eshell-parse-command, eshell-close-handles): Autoload.
7578 * eshell/esh-io.el: Adjust requires.
7579 (eshell-output-filter): Autoload.
7580 * eshell/esh-util.el: No need to load tramp when compiling.
7581 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7582 Declare.
7583 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7584 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7585 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7586 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7587 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7588 * eshell/esh-opt.el, eshell/esh-proc.el:
7589 * eshell/esh-var.el: Adjust requires.
7590 * eshell/eshell.el: Do not require esh-util twice.
7591 (eshell-add-input-to-history): Declare.
7592 (eshell-command): Check history module is active before using it.
7593
d361bc10
GM
7594 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7595
85d090a9
LL
75962013-05-22 Leo Liu <sdl.web@gmail.com>
7597
7598 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7599
5d0acd9d
MA
76002013-05-22 Michael Albinus <michael.albinus@gmx.de>
7601
7602 * autorevert.el (auto-revert-notify-add-watch)
7603 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7604 it indicates changes in file modification time.
7605
0cdffd7d
GM
76062013-05-22 Glenn Morris <rgm@gnu.org>
7607
ca5995ec
GM
7608 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7609 Always delete the autoloaded function from the noruntime and
7610 unresolved functions lists.
7611
6450907e
GM
7612 * allout.el: No need to load epa, epg, overlay when compiling.
7613 (epg-context-set-passphrase-callback, epg-list-keys)
7614 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7615 (epg-key-user-id-list): Declare.
7616
9c6906f6
GM
7617 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7618 (viper-set-parsing-style-toggling-macro)
7619 (viper-set-emacs-state-searchstyle-macros):
7620 Use called-interactively-p on Emacs.
7621 (viper-looking-back): Make it an obsolete alias. Update callers.
7622 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7623 Use looking-back rather than viper-looking-back.
7624 (viper-tmp-insert-at-eob, viper-enlarge-region)
7625 (viper-read-string-with-history, viper-register-to-point)
7626 (viper-append-to-register, viper-change-state-to-vi)
7627 (viper-backward-char-carefully, viper-forward-char-carefully)
7628 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7629 (viper-change-state-to-emacs): Declare.
7630 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7631 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7632 * emulation/viper-mous.el: Do not load viper-cmd.
7633 (viper-backward-char-carefully, viper-forward-char-carefully)
7634 (viper-forward-word, viper-adjust-window): Declare.
7635
5f70c169
GM
7636 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7637
b1b7f300
GM
7638 * progmodes/idlw-help.el (idlwave-help-fontify):
7639 Use called-interactively-p.
7640
f6ebbb46
GM
7641 * term/w32console.el (w32-get-console-codepage)
7642 (w32-get-console-output-codepage): Declare.
7643
0cdffd7d
GM
7644 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7645 Remove unnecessary declarations.
7646 (dframe-message): Doc fix.
7647
7648 * info.el (dframe-select-attached-frame, dframe-current-frame):
7649 Declare.
7650
7651 * speedbar.el (speedbar-message): Make it an obsolete alias.
7652 Update all callers.
7653 (speedbar-with-attached-buffer)
7654 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7655 (speedbar-with-writable): Use backquote.
7656 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7657 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7658 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7659 rather than speedbar- aliases.
7660 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7661 (speedbar-make-specialized-keymap, speedbar-insert-button)
7662 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7663 (speedbar-do-function-pointer): Declare.
7664 (rmail-speedbar-button, rmail-speedbar-find-file)
7665 (rmail-speedbar-move-message):
7666 Use dframe-with-attached-buffer rather than speedbar- alias.
7667 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7668 (dframe-message, speedbar-make-specialized-keymap)
7669 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7670 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7671 (speedbar-insert-button, dframe-select-attached-frame)
7672 (dframe-maybee-jump-to-attached-frame)
7673 (speedbar-change-initial-expansion-list)
7674 (speedbar-previously-used-expansion-list-name): Declare.
7675 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7676 Use dframe-message, dframe-with-attached-buffer rather than
7677 speedbar- aliases.
7678 (gud-sentinel): Silence compiler.
7679 * progmodes/vhdl-mode.el (speedbar-refresh)
7680 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7681 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7682 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7683 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7684 (speedbar-file-lists, speedbar-make-tag-line)
7685 (speedbar-line-directory, speedbar-goto-this-file)
7686 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7687 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7688 (speedbar-make-button, speedbar-reset-scanners)
7689 (speedbar-files-item-info, speedbar-line-text)
7690 (speedbar-find-file-in-frame, speedbar-set-timer)
7691 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7692 (speedbar-with-writable): Do not (re)define it.
7693 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7694 rather than speedbar- alias.
7695
ee44b62a
LL
76962013-05-21 Leo Liu <sdl.web@gmail.com>
7697
7698 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7699 menu items.
7700 (octave-mode): Tweak fill-nobreak-predicate.
7701 (inferior-octave-startup): Check process to avoid infinite loop.
7702 (inferior-octave): Pop to buffer first to show abornmal process
7703 exit information.
7704
640f050f
GM
77052013-05-21 Glenn Morris <rgm@gnu.org>
7706
79458038
GM
7707 * printing.el (pr-menu-bar): Define when compiling.
7708
9cc3e83f
LL
77092013-05-21 Leo Liu <sdl.web@gmail.com>
7710
7711 * progmodes/octave.el (octave-auto-fill): Remove.
7712 (octave-indent-new-comment-line): Improve.
7713 (octave-mode): Use auto fill mode through
4f405069 7714 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7715 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7716 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7717 (octave-help): Show parent directory.
7718
f440830d
GM
77192013-05-21 Glenn Morris <rgm@gnu.org>
7720
7721 * files.el (dired-unmark):
7722 * progmodes/gud.el (gdb-input): Update declarations.
7723
7724 * calculator.el (electric, ehelp): No need to load when compiling.
7725 (Electric-command-loop, electric-describe-mode): Declare.
7726
7727 * doc-view.el (doc-view-current-converter-processes): Move before use.
7728
7729 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7730 Move MODE-set-explicitly definition before use.
7731
7732 * international/mule-diag.el (mule-diag):
7733 Don't use obsolete window-system-version.
7734
7735 * mail/feedmail.el (smtpmail): No need to load when compiling.
7736 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7737
7738 * mail/mail-utils.el (rfc822): No need to load when compiling.
7739 (rfc822-addresses): Autoload it.
7740 (mail-strip-quoted-names): Trivial simplification.
7741
7742 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7743 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7744
7745 * net/snmp-mode.el (tempo): Don't duplicate requires.
7746
7747 * progmodes/prolog.el (info): No need to load when compiling.
7748 (comint): Require before shell requires it.
7749 (Info-goto-node): Autoload it.
7750 (Info-follow-nearest-node): Declare.
7751 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7752
7753 * textmodes/artist.el (picture-mode-exit): Declare.
7754
7755 * textmodes/reftex-parse.el (reftex-parse-from-file):
7756 Trivial rewrite so the compiler can parse it better.
7757
b4da2cbb
LL
77582013-05-20 Leo Liu <sdl.web@gmail.com>
7759
7760 * progmodes/octave.el (octave-help-mode-map)
7761 (octave-help-mode-finish-hook): New variables.
7762 (octave-help-mode, octave-help-mode-finish): New functions.
7763 (octave-help): Use octave-help-mode.
7764
33c0f65b
GM
77652013-05-20 Glenn Morris <rgm@gnu.org>
7766
7767 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7768
1a0a0a8a
DG
77692013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7770
7771 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7772 start at point, so that expansion starting right after opening
7773 slash in a regexp is recognized.
7774 (ruby-syntax-before-regexp-re): New defvar, extracted from
7775 ruby-syntax-propertize-function. Since the value of this regexp
7776 is looked up at runtime now, we should be able to turn
7777 `ruby-syntax-methods-before-regexp' into a defcustom later.
7778 (ruby-syntax-propertize-function): Split regexp matching into two
7779 parts, for opening and closing slashes. That allows us to skip
7780 over string interpolations and support multiline regexps.
7781 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7782 for them, which calls `ruby-syntax-propertize-expansion'.
7783 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7784 call to `ruby-syntax-propertize-function'.
7785 (ruby-syntax-propertize-expansion): Extracted from
7786 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7787 (ruby-syntax-propertize-percent-literal): Leave point right after
7788 the percent symbol, so that the expression expansion rule can
7789 propertize the contents.
462388b6
DG
7790 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7791 heredoc openers.
7792 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7793
c1a6c0a4
JL
77942013-05-18 Juri Linkov <juri@jurta.org>
7795
7796 * man.el (Man-default-man-entry): Remove `-' from the end
7797 of the default value. (Bug#14400)
7798
8051fccd
GM
77992013-05-18 Glenn Morris <rgm@gnu.org>
7800
7801 * comint.el (comint-password-prompt-regexp):
7802 Allow "password for XXX" where XXX contains colons (eg https://...).
7803
5e80b74f
LL
78042013-05-18 Leo Liu <sdl.web@gmail.com>
7805
7806 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7807 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7808 (octave-source-directories): Don't check process.
7809 (octave-source-directories, octave-find-definition): Doc fix.
7810
521a54c5
GM
78112013-05-18 Glenn Morris <rgm@gnu.org>
7812
86a94b05
GM
7813 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7814 Remove backspace/delete bindings. (Bug#14392)
7815
521a54c5
GM
7816 * cus-dep.el (custom-make-dependencies): Sort the output.
7817 (custom-versions-load-alist): Convert comment to doc.
7818
42caeb89
LL
78192013-05-17 Leo Liu <sdl.web@gmail.com>
7820
7821 * newcomment.el (comment-search-backward): Stricter in finding
7822 comment start. (Bug#14303)
7823
7824 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7825 (octave-comment-start-skip): Properly anchored.
7826
e219dd97
LL
78272013-05-17 Leo Liu <sdl.web@gmail.com>
7828
fe1eb856
RS
7829 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7830 Clean up when turned off. (Bug#14395)
e219dd97
LL
7831 (smie--highlight-matching-block-overlay): No longer buffer-local.
7832 (smie-highlight-matching-block): Adjust.
7833
dc5dcb4b
PE
78342013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7835
7836 Doc string fix for "nanoseconds" (Bug#14406).
7837 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7838 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7839
1db165f0
JB
78402013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7841
7842 * calc/calc-units.el (math-extract-units): Preserve powers
7843 of units.
7844
c7a8fcac
LL
78452013-05-17 Leo Liu <sdl.web@gmail.com>
7846
7847 * subr.el (delete-consecutive-dups): New function.
7848 * ido.el (ido-set-matches-1): Use it.
7849 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7850 * ido.el (ido-remove-consecutive-dups): Remove.
7851
f678b18a
SM
78522013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7855 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7856 regexp-opt's `words'.
7857
ebfe68e8
LL
78582013-05-16 Leo Liu <sdl.web@gmail.com>
7859
7860 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7861 (smie--highlight-matching-block-overlay)
7862 (smie--highlight-matching-block-lastpos)
7863 (smie--highlight-matching-block-timer): New variables.
7864 (smie-highlight-matching-block): New function.
7865 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7866 (smie-setup): Conditionally enable smie-blink-matching-open.
7867
bc8bc17d
WS
78682013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7869
7870 Sync with upstream verilog-mode r840.
7871 * progmodes/verilog-mode.el (verilog-mode-version)
7872 (verilog-mode-release-date): Update.
7873 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7874 (verilog-sig-tieoff): Fix string error on
7875 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7876 (verilog-read-decls): Fix parameters confusing
7877 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7878
df065a0b
EZ
78792013-05-16 Eli Zaretskii <eliz@gnu.org>
7880
7881 * subr.el (reveal-filename): New function.
7882
7883 * loadup.el: Compute Emacs executable versions on MS-Windows,
7884 where executables have the .exe extension. Add a hard link
7885 emacs-XX.YY.ZZ.exe on MS-Windows.
7886
7887 * Makefile.in (XARGS_LIMIT): New variable.
7888 (custom-deps, finder-data, autoloads)
7889 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7890 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7891 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7892 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7893
2d4bf34b
LL
78942013-05-16 Leo Liu <sdl.web@gmail.com>
7895
7896 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7897 (octave-mode-menu, octave-mode-map): Remove its uses.
7898
6b9c2d85
RZ
78992013-05-16 Reto Zimmermann <reto@gnu.org>
7900
7901 Sync with upstream vhdl mode v3.34.2.
7902 * progmodes/vhdl-mode.el: Use `push' throughout.
7903 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7904 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7905 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7906 (vhdl-actual-generic-name): New option to derive actual generic name.
7907 (vhdl-port-paste-signals): Replace formal by actual generics.
7908 (vhdl-beautify): New name for old group vhdl-align. Update users.
7909 (vhdl-beautify-options): New option.
7910 (vhdl-last-input-event): New compat alias. Use throughout.
7911 (vhdl-goto-line): Replace user level function `goto-line'.
7912 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7913 vhdl-fix-statement-buffer.
7914 (vhdl-create-mode-menu): Add some entries.
7915 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7916 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7917 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7918 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7919 to force statements on one line.
7920 (vhdl-remove-trailing-spaces-region):
7921 New, split from vhdl-remove-trailing-spaces.
7922 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7923 Respect vhdl-beautify-options.
7924 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7925 (vhdl-update-sensitivity-list): Not add with index if exists without.
7926 Not include array index with signal. Ignore keywords in comments.
7927 (vhdl-get-visible-signals): Regexp tweaks.
7928 (vhdl-template-component-inst): Handle empty library.
7929 (vhdl-template-type): Add template for 'enum' type.
7930 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7931 Use vhdl-replace-string.
7932 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7933 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7934 (vhdl-speedbar-initialize): Update for above name change.
7935 (vhdl-compose-wire-components): Fix in handling of constants.
7936 (vhdl-error-regexp-emacs-alist): New variable.
7937 (vhdl-error-regexp-add-emacs): New function;
7938 adds support for new compile.el (Emacs 22+)
7939 (vhdl-generate-makefile-1): Change target order for single lib. units.
7940 Allow use of absolute file names.
7941
9df4ec5e
LL
79422013-05-16 Leo Liu <sdl.web@gmail.com>
7943
7944 * simple.el (prog-indent-sexp): Indent enclosing defun.
7945
f5ba00a6
GM
79462013-05-15 Glenn Morris <rgm@gnu.org>
7947
ed8be7ff
GM
7948 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7949 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7950 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7951 (whitespace-highlight): Move to whitespace group.
7952
7953 * comint.el (comint-source):
7954 * pcmpl-linux.el (pcmpl-linux):
7955 * shell.el (shell-faces):
7956 * eshell/esh-opt.el (eshell-opt):
7957 * international/ccl.el (ccl): Remove empty custom groups.
7958
7959 * completion.el (dynamic-completion-mode):
7960 * jit-lock.el (jit-lock-debug-mode):
7961 * minibuffer.el (completion-in-region-mode):
7962 * type-break.el (type-break-mode-line-message-mode)
7963 (type-break-query-mode):
7964 * emulation/tpu-edt.el (tpu-edt-mode):
7965 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7966 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7967 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7968
7969 * term/xterm.el (xterm): Change parent group to terminals.
7970
7971 * master.el (master): Remove empty custom group.
7972 (master-mode): Remove unused :group argument.
7973 * textmodes/refill.el (refill): Remove empty custom group.
7974 (refill-mode): Remove unused :group argument.
7975
7976 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7977
82a7c41b
GM
7978 * cus-dep.el: Provide a feature.
7979 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7980 Don't mistakenly ignore files whose basenames match a basename
7981 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7982 Add a fallback method for getting :group.
f5ba00a6 7983
6d65486d
JL
79842013-05-15 Juri Linkov <juri@jurta.org>
7985
da547b32
JL
7986 * isearch.el (isearch-char-by-name): Rename from
7987 `isearch-insert-char-by-name'. Doc fix.
7988 (isearch-forward): Mention `isearch-char-by-name' in
7989 the docstring. (Bug#13348)
7990
6d65486d
JL
7991 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7992 `exit-minibuffer' instead of
7993 `isearch-nonincremental-exit-minibuffer'.
7994 (isearch-edit-string): Remove mention of
7995 `isearch-nonincremental-exit-minibuffer' from docstring.
7996 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7997 (isearch-forward-exit-minibuffer)
7998 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7999
c9990474
SM
80002013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8001
6e911150
SM
8002 * loadup.el: Just use unversioned DOC.
8003
c9990474
SM
8004 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8005 literals as extending to EOB.
8006 (nxml-last-fontify-end): Remove unused variable.
8007 (nxml-after-change1): Use with-silent-modifications.
8008 (nxml-extend-after-change-region): Simplify.
8009 (nxml-extend-after-change-region1): Remove function.
8010 (nxml-after-change1): Don't adjust for dependent regions.
8011 (nxml-fontify-matcher): Simplify.
8012 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8013 (xmltok-add-dependent): Remove function.
8014 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8015 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8016 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8017 unclosed <[[, <?, comment, and other literals as extending to EOB.
8018 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8019 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8020 Remove functions.
8021 (rng-do-some-validation-1): Don't mark dependent regions.
8022 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8023 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8024 (nxml-clear-dependent-regions): Remove functions.
8025 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8026 (nxml-ensure-scan-up-to-date):
8027 Don't clear&mark dependent regions.
8028
e3772e98
LL
80292013-05-15 Leo Liu <sdl.web@gmail.com>
8030
c9990474
SM
8031 * progmodes/octave.el (octave-goto-function-definition):
8032 Improve and fix callers.
e3772e98 8033
5ac2eb34
SM
80342013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8035
c46c57b0
SM
8036 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8037 the setter (bug#14387).
8038
5ac2eb34
SM
8039 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8040 surrounding group (bug#14402).
8041
180ed218
JL
80422013-05-14 Juri Linkov <juri@jurta.org>
8043
8044 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8045 (Bug#14390)
8046
0ac0fecb
GM
80472013-05-14 Glenn Morris <rgm@gnu.org>
8048
8049 * progmodes/f90.el (f90-imenu-generic-expression):
8050 Fix typo in 2013-05-08 change. (Bug#14402)
8051
2e78e6a7
JPG
80522013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8053
5ac2eb34
SM
8054 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8055 Remove signals for which replies are never received.
2e78e6a7 8056
53267cca
JPG
80572013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8058
8059 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8060 (gdb-handler-alist, gdb-handler-number): Remove variables.
8061 (gdb-handler-list): New variable.
8062 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8063 (gdb-pending-handler-p, gdb-handle-reply)
8064 (gdb-remove-all-pending-triggers): New functions.
8065 (gdb-discard-unordered-replies): New defcustom.
8066 (gdb-handler): New defstruct.
8067 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8068 instead of gdb-pending-triggers. Update docstring.
8069 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8070 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8071 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8072 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8073 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8074 (gdb-frame-handler): Pending triggers are now automatically managed.
8075 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8076 Remove argument.
8077 (gdb-input): Automatically handles pending triggers. Update docstring.
8078 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8079 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8080 Update comments.
8081 (gdb-done-or-error): Now use gdb-handle-reply.
8082
d04ce803
JPG
80832013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8084
8085 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8086 gdb-debug-log.
8087
0114073a
GM
80882013-05-14 Glenn Morris <rgm@gnu.org>
8089
8090 * subr.el (user-emacs-directory-warning): New option.
8091 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8092
4d25fd7e
LL
80932013-05-14 Leo Liu <sdl.web@gmail.com>
8094
8095 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8096 during redisplay.
8097 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8098 (octave-font-lock-texinfo-comment): Fix invalid search bound
8099 error: wrong side of point.
4d25fd7e 8100
27c8b6eb
GM
81012013-05-14 Glenn Morris <rgm@gnu.org>
8102
61aaeb01
GM
8103 * progmodes/flymake.el (flymake-xml-program): New option.
8104 (flymake-xml-init): Use it.
8105
5bf90bc5
GM
8106 * term/xterm.el: Provide a feature.
8107
8108 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8109
f4c7dfd2
GM
81102013-05-13 Glenn Morris <rgm@gnu.org>
8111
8112 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8113 Add compat aliases as a hack workaround. (Bug#14384)
8114
2aeb3a1d
LL
81152013-05-13 Leo Liu <sdl.web@gmail.com>
8116
b0e069c2
LL
8117 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8118 ###, and %!.
f5a9432f
LL
8119 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8120 C-M-q.
b0e069c2
LL
8121 (octave-comment-start-skip): Include %!.
8122 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8123
30ea8374
LL
81242013-05-12 Leo Liu <sdl.web@gmail.com>
8125
8126 * progmodes/octave.el (inferior-octave-startup): Store the value
8127 of __octave_srcdir__ for octave-source-directories.
8128 (inferior-octave-check-process): New function refactored out of
8129 inferior-octave-send-list-and-digest.
8130 (octave-source-directories)
8131 (octave-find-definition-filename-function): New variables.
8132 (octave-source-directories)
8133 (octave-find-definition-default-filename): New functions.
8134 (octave-find-definition): Improve to find functions implemented in C++.
8135
472a3834
GM
81362013-05-12 Glenn Morris <rgm@gnu.org>
8137
8138 * calendar/diary-lib.el (diary-outlook-format-1):
8139 Don't include dayname in the output. (Bug#14349)
8140
3191b52f
GM
81412013-05-11 Glenn Morris <rgm@gnu.org>
8142
0060ac73
GM
8143 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8144
3191b52f
GM
8145 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8146 Treat cc-provide like provide.
8147
e065ba74
KR
81482013-05-11 Kevin Ryde <user42@zip.com.au>
8149
8150 * cus-dep.el (custom-make-dependencies):
8151 Use generated-autoload-load-name for the sake of files such
8152 such cedet/semantic/bovine/c.el, where the base file name
8153 is not in load-path. (Bug#5277)
8154
36f84c37
GM
81552013-05-11 Glenn Morris <rgm@gnu.org>
8156
8157 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8158 Provide features.
8159
c8730c3a
LL
81602013-05-11 Leo Liu <sdl.web@gmail.com>
8161
8162 * progmodes/octave.el (octave-indent-comment): Improve.
8163 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8164 (octave-eldoc-function-signatures, octave-eldoc-function):
8165 New functions.
c8730c3a
LL
8166 (octave-mode, inferior-octave-mode): Add eldoc support.
8167
212e29f2
RS
81682013-05-11 Richard Stallman <rms@gnu.org>
8169
8170 * epa.el (epa-decrypt-file): Take output file name as argument
8171 and read it using `interactive'.
8172
083fe0d7
LL
81732013-05-11 Leo Liu <sdl.web@gmail.com>
8174
8175 * progmodes/octave.el (octave-beginning-of-line)
8176 (octave-end-of-line): Check before using up-list because it jumps
8177 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8178 (octave-indent-comment): New function.
8179 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8180 (octave-begin-keywords, octave-end-keywords)
8181 (octave-reserved-words, octave-smie-bnf-table)
8182 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8183
8582e4c4
GM
81842013-05-11 Glenn Morris <rgm@gnu.org>
8185
f20def1f
GM
8186 * faces.el (internal-face-x-get-resource):
8187 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8188 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8189 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8190 Fix declarations.
f20def1f 8191
445f95e2
GM
8192 * calc/calc-menu.el: Make it loadable in isolation.
8193
8194 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8195 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8196 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8197 (eudc-bbdb-query-internal): Require 'bbdb.
8198
99fb2756
GM
8199 * lpr.el (lpr-headers-switches):
8200 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8201
8202 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8203
0da7ad96
GM
8204 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8205
8582e4c4
GM
8206 * term.el (term-set-escape-char): Make it idempotent.
8207
f71c50d0
LL
82082013-05-10 Leo Liu <sdl.web@gmail.com>
8209
5ac2eb34
SM
8210 * progmodes/octave.el (inferior-octave-completion-table):
8211 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8212 completion due to bug#11906.
8213 (octave-beginning-of-defun): Re-write to be more general.
8214
d5837773
GM
82152013-05-10 Glenn Morris <rgm@gnu.org>
8216
8217 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8218
027c0f75
SM
82192013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 * comint.el (comint-redirect-send-command-to-process): Use :around
8222 rather than :override for comint-redirect-filter.
8223 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8224 Call it instead of comint-redirect-original-filter-function (which
8225 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8226
4465bfb4
JD
82272013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8228
8229 * frame.el (display-monitor-attributes-list): Add NS case.
8230 (ns-display-monitor-attributes-list): Declare.
8231
2d809ffa 82322013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8233
8234 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8235
e54eeb9b
GM
82362013-05-09 Glenn Morris <rgm@gnu.org>
8237
56cd351d
GM
8238 * international/fontset.el (vertical-centering-font-regexp):
8239 Set standard-value.
8240
d84b6108
GM
8241 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8242
a931698a
GM
8243 * bookmark.el (bookmark-search-delay):
8244 * cus-start.el (vertical-centering-font-regexp):
8245 * ps-mule.el (ps-mule-font-info-database-default):
8246 * ps-print.el (ps-default-fg, ps-default-bg):
8247 * type-break.el (type-break-good-break-interval):
8248 * whitespace.el (whitespace-indentation-regexp)
8249 (whitespace-space-after-tab-regexp):
8250 * emacs-lisp/testcover.el (testcover-1value-functions)
8251 (testcover-noreturn-functions, testcover-progn-functions)
8252 (testcover-prog1-functions):
8253 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8254 * eshell/em-glob.el (eshell-glob-translate-alist):
8255 * play/tetris.el (tetris-tty-colors):
8256 * progmodes/cpp.el (cpp-face-default-list):
8257 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8258 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8259 (idlwave-help-browser-generic-args):
8260 * progmodes/make-mode.el (makefile-special-targets-list):
8261 * progmodes/python.el (python-shell-virtualenv-path):
8262 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8263 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8264 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8265 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8266 * textmodes/reftex-vars.el (reftex-format-label-function):
8267 * textmodes/remember.el (remember-diary-file): Fix custom types.
8268
e54eeb9b
GM
8269 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8270 Add :version.
8271
455851dd
LL
82722013-05-09 Leo Liu <sdl.web@gmail.com>
8273
8274 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8275 Restore file completion. (Bug#14300)
455851dd
LL
8276 (inferior-octave-startup): Fix incorrect highlighting for the
8277 first prompt.
8278
a9e4425b
SM
82792013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8280
8281 * progmodes/ruby-mode.el: First cut at SMIE support.
8282 (ruby-use-smie): New var.
8283 (ruby-smie-grammar): New constant.
8284 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8285 (ruby-smie--forward-token, ruby-smie--backward-token)
8286 (ruby-smie-rules): New functions.
8287 (ruby-mode-variables): Setup SMIE if applicable.
8288
060ca408
EZ
82892013-05-08 Eli Zaretskii <eliz@gnu.org>
8290
8291 * simple.el (line-move-visual): Signal beginning/end of buffer
8292 only if vertical-motion moved less than it was requested. Avoids
8293 silly incorrect error messages when there are display strings with
8294 multiple newlines at EOL.
8295
1d5963cc
SM
82962013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8299 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8300 (prolog-char-quote-workaround):
8301 * progmodes/cperl-mode.el (cperl-under-as-char):
8302 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8303 Mark as obsolete.
8304 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8305 their declaration.
8306 (vhdl-mode-syntax-table-init): Remove.
8307
c9990474
SM
8308 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8309 last change.
1d5963cc
SM
8310
8311 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8312 syntax for "_".
8313 (ld-script-font-lock-keywords):
8314 Change regexps to use things like \_< and \_>.
8315
8316 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8317 Change all regexps to use things like \_< and \_>.
8318
8319 * progmodes/autoconf.el (autoconf-definition-regexp)
8320 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8321 Handle a _ with symbol syntax.
8322 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8323
c9990474
SM
8324 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8325 Consolidate declaration.
1d5963cc
SM
8326 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8327 the declaration.
8328 (ada-create-syntax-table): Remove.
8329 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8330 already has the right syntax nowadays.
8331 (ada-goto-next-word): Don't change the syntax of "_".
8332
8333 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8334 with-wrapper-hook.
8335
72d3cfca
SS
83362013-05-08 Sam Steingold <sds@gnu.org>
8337
8338 * thingatpt.el (thing-at-point): Accept optional second argument
8339 NO-PROPERTIES to strip the text properties from the return value.
8340 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8341 to `thing-at-point' instead of stripping the properties ourselves.
8342 Also, when `thing-at-point' fails to find a url, prepend "http://"
8343 to the filename at point on the assumption that the user is
8344 pointing at something like gnu.org/gnu.
8345
5cb15713
JB
83462013-05-08 Juanma Barranquero <lekktu@gmail.com>
8347
8348 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8349 * faces.el (crm-separator):
8350 Silence byte-compiler.
8351
8352 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8353 (tool-bar-map): Remove unneeded defvars.
8354
ea78b95b
LL
83552013-05-08 Leo Liu <sdl.web@gmail.com>
8356
8357 Re-work a fix for bug#10994 based on Le Wang's patch.
8358 * ido.el (ido-remove-consecutive-dups): New helper.
8359 (ido-completing-read): Use it.
8360 (ido-chop): Revert fix for bug#10994.
8361
dc7466df
AS
83622013-05-08 Adam Spiers <emacs@adamspiers.org>
8363
8364 * cus-edit.el (custom-save-variables):
8365 Pretty-print long values. (Bug#14187)
8366
9ecf672a
GM
83672013-05-08 Glenn Morris <rgm@gnu.org>
8368
8369 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8370 (m4-mode-syntax-table): Init in the defvar.
8371 (m4-mode-abbrev-table): Let define-derived-mode define it.
8372
3f555be8
TT
83732013-05-08 Tom Tromey <tromey@redhat.com>
8374
8375 * progmodes/m4-mode.el (m4-mode-syntax-table):
8376 Do not treat "_" as word constituent. (Bug#14167)
8377
7cc8ae06
GM
83782013-05-07 Glenn Morris <rgm@gnu.org>
8379
4f58bc06
GM
8380 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8381 Remove explicit eshell-isearch-cancel-map.
8382
7cc8ae06
GM
8383 * progmodes/f90.el (f90-smart-end-names): New option.
8384 (f90-smart-end): Doc fix.
8385 (f90-end-block-optional-name): New constant.
8386 (f90-block-match): Respect f90-smart-end-names.
8387
ceb57e59
SM
83882013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8391 about implicit semi-colons (bug#14218).
8392
4e3f9230
YM
83932013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8394
8395 * frame.el (display-monitor-attributes-list)
8396 (frame-monitor-attributes): New functions.
8397
203a5572
LL
83982013-05-06 Leo Liu <sdl.web@gmail.com>
8399
8400 * progmodes/octave.el (octave-syntax-propertize-function): Change
8401 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8402 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8403 (octave-completion-at-point): Rename from
203a5572
LL
8404 octave-completion-at-point-function.
8405 (inferior-octave-directory-tracker): Robustify.
8406 (octave-text-functions): Remove and fix its uses. No such things
8407 any more.
8408
ee6cff99
SM
84092013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * emacs-lisp/trace.el (trace--display-buffer): New function.
8412 (trace-make-advice): Use it.
8413
32985194
JL
84142013-05-06 Juri Linkov <juri@jurta.org>
8415
8416 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8417 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8418 Doc fix.
8419 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8420 in the help string. (Bug#12985)
8421
a1c700de
KD
84222013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8423
8424 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8425
c67c0839
SM
84262013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8427
323885fd
SM
8428 * progmodes/perl-mode.el: Add support for here documents.
8429 (perl-syntax-propertize-function): Match here-doc markers.
8430 (perl-syntax-propertize-special-constructs): Find their end.
8431 (perl-imenu-generic-expression): Use [:alnum:].
8432
c67c0839
SM
8433 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8434 (advice--add-function): Refresh the advice if already present
8435 (bug#14317).
8436
d491e7a8
IA
84372013-05-06 Ivan Andrus <darthandrus@gmail.com>
8438
8439 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8440
ddf9925e
GM
84412013-05-06 Glenn Morris <rgm@gnu.org>
8442
7cc3af27
GM
8443 * w32-fns.el (w32-charset-info-alist): Declare.
8444
16e343d6
GM
8445 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8446 of its defcustom properties.
8447 (eshell-cmpl-initialize): No need to load pcomplete.
8448
7d889a47
GM
8449 * generic-x.el: No need to require comint when compiling.
8450
ddf9925e
GM
8451 * net/eudc-export.el: Make it loadable without bbdb.
8452 (top-level): Use require rather than load-library.
8453 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8454 (eudc-batch-export-records-to-bbdb)
8455 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8456 Require bbdb.
8457
1e2c18df
SM
84582013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8461 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8462 some tweaks, instead.
8463
02502a5f
LL
84642013-05-05 Leo Liu <sdl.web@gmail.com>
8465
8466 * progmodes/octave.el (octave-font-lock-keywords)
8467 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8468 (inferior-octave-send-list-and-digest): Improve error message.
8469 (octave-mode, inferior-octave-mode): Use setq-local.
8470 (octave-help): Set info-lookup-mode.
8471
0dc04f42
RS
84722013-05-05 Richard Stallman <rms@gnu.org>
8473
6c54491c
RS
8474 * vc/compare-w.el (compare-windows-whitespace):
8475 Treat no-break space as whitespace.
8476
0dc04f42
RS
8477 * mail/rmailsum.el (rmail-summary-rmail-update):
8478 Detect empty summary and don't change selected message.
8479 (rmail-summary-goto-msg): Likewise.
8480
df8f35df
RS
8481 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8482 Doc fixes, rename args.
8483
5356e1a3
AM
84842013-05-05 Alan Mackenzie <acm@muc.de>
8485
8486 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8487
d44014cb
JL
84882013-05-05 Juri Linkov <juri@jurta.org>
8489
8490 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8491 to not add the length of the summary segment to the return value.
8492 (Bug#14125)
8493
c129b51f
LL
84942013-05-05 Leo Liu <sdl.web@gmail.com>
8495
8496 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8497 (inferior-octave-output-filter): Remove.
8498 (octave-send-region, inferior-octave-startup): Fix callers.
8499 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8500 (octave-binary-file-extensions): New user variable.
8501 (octave-find-definition): Confirm if opening binary files.
8502 (octave-help-file): Use octave-find-definition to get the binary
8503 confirmation.
8504 (octave-help): Adjust for octave-help-file change.
8505
aa7dab97
SM
85062013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8509 Merge the two entries that handle function definitions.
8510 (pascal--syntax-propertize): New const.
8511 (pascal-mode): Use it. Use setq-local.
8512
fd3a9a6b
GM
85132013-05-04 Glenn Morris <rgm@gnu.org>
8514
8515 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8516 (diary-from-outlook): Respect diary-from-outlook-function.
8517
30c7e542
SM
85182013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8521 Move the declaration from C.
8522 (read-minibuffer, eval-minibuffer): Move from C.
8523 (completion-setup-function): Avoid minibuffer-completion-contents.
8524
b54f978b
LL
85252013-05-03 Leo Liu <sdl.web@gmail.com>
8526
8527 * progmodes/octave.el (octave-font-lock-keywords): Do not
8528 dehighlight 'end' in comments or strings.
30c7e542
SM
8529 (octave-completing-read, octave-goto-function-definition):
8530 New helpers.
d4d0f9b3
LL
8531 (octave-help-buffer): New user variable.
8532 (octave-help-file, octave-help-function): New button types.
8533 (octave-help): New command and bind it to C-h ;.
8534 (octave-find-definition): New command and bind it to M-.
d74a1581 8535 (user-error): Alias to error if not defined.
b54f978b 8536
27135018
LL
85372013-05-02 Leo Liu <sdl.web@gmail.com>
8538
8539 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8540 for \. (bug#14332)
8541 (octave-font-lock-keywords): Include [ and {.
8542
0d634d3a
LL
85432013-05-02 Leo Liu <sdl.web@gmail.com>
8544
8545 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8546 (inferior-octave): Remove calling comint-mode and return the buffer.
8547 (inferior-octave-startup): Cosmetic changes.
8548
b4c8295e
LL
85492013-05-02 Leo Liu <sdl.web@gmail.com>
8550
30c7e542
SM
8551 * progmodes/octave.el (octave-syntax-propertize-function):
8552 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8553
f12ad6ec
GM
85542013-05-02 Glenn Morris <rgm@gnu.org>
8555
8556 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8557 * desktop.el (vc-dir-mode): Just autoload it here.
8558
30cac1e0
AM
85592013-05-02 Alan Mackenzie <acm@muc.de>
8560
8561 Eliminate variable c-standard-font-lock-fontify-region-function.
8562 * progmodes/cc-mode.el
8563 (c-standard-font-lock-fontify-region-function): Remove.
8564 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8565
d8ef28b1
LL
85662013-05-01 Leo Liu <sdl.web@gmail.com>
8567
2640d52e 8568 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8569 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8570 variables were removed from Octave in 2007.
d8ef28b1
LL
8571 (inferior-octave-startup): Fix uses.
8572 (comint-line-beginning-position): Remove compatibility code for
8573 emacs 21.
8574
ac63ec89
JL
85752013-05-01 Juri Linkov <juri@jurta.org>
8576
8577 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8578
9e9be37c
JL
85792013-05-01 Juri Linkov <juri@jurta.org>
8580
8581 * comint.el (comint-previous-matching-input): Don't print message
8582 "History item: %d" when `isearch-mode' is active.
8583 (comint-history-isearch-message): Print message "History item: %d"
8584 when `comint-input-ring-index' is not empty and this function is
8585 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8586
9b92c13b
LL
85872013-05-01 Leo Liu <sdl.web@gmail.com>
8588
8589 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8590 definitions. Use completion-at-point to insert keywords.
8591 (octave-abbrev-start): Remove.
8592 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8593
b12d33d7
LL
85942013-04-30 Leo Liu <sdl.web@gmail.com>
8595
8596 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8597 change.
8598
3d1c39fa
AM
85992013-04-30 Alan Mackenzie <acm@muc.de>
8600
8601 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8602 * progmodes/cc-engine.el (c-back-over-member-initializers):
8603 new function.
3d1c39fa
AM
8604 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8605 (most) member init lists.
8606
5147fc17
RS
86072013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8608
8609 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8610 variable.
8611
5b78d7fc
LL
86122013-04-30 Leo Liu <sdl.web@gmail.com>
8613
8614 * progmodes/octave.el (octave-variables): Remove. No builtin
8615 variables any more. All converted to functions.
8616 (octave-font-lock-keywords, octave-completion-at-point-function):
8617 Fix uses.
8618 (octave-font-lock-texinfo-comment): New user variable.
8619 (octave-texinfo-font-lock-keywords): New variable for texinfo
8620 comment block.
8621 (octave-function-comment-block): New face.
8622 (octave-font-lock-texinfo-comment): New function.
8623 (octave-mode): Font lock texinfo comment block.
8624
38d8527b
LL
86252013-04-29 Leo Liu <sdl.web@gmail.com>
8626
8627 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8628 indexing expression.
8629 (octave-continuation-string): Do not use \.
8630 (inferior-octave-complete-impossible): Remove.
8631 (inferior-octave-completion-table)
8632 (inferior-octave-completion-at-point): Remove its uses.
8633 (inferior-octave-startup): completion_matches was introduced to
8634 Octave in 1996 so safe to assume it.
8635 (octave-function-file-comment): Improve to follow how Octave does it.
8636 (octave-update-function-file-comment): Tweak.
8637
2ec12cb0
LL
86382013-04-29 Leo Liu <sdl.web@gmail.com>
8639
8640 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8641 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8642 (octave-function-file-comment): Fix typo.
8643 (octave-sync-function-file-names): Use read-char-choice.
8644
6eaed048
JB
86452013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8646
8647 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8648 to t for the less important warnings.
8649
3ffa2d4f
DH
86502013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8651
8652 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8653
685c9501
GM
86542013-04-27 Glenn Morris <rgm@gnu.org>
8655
8656 * vc/log-view.el (log-view-current-entry):
8657 Treat "---" separator lines as part of the following rev. (Bug#14169)
8658
0208ede7
JL
86592013-04-27 Juri Linkov <juri@jurta.org>
8660
8661 * subr.el (read-number): Doc fix about using it by interactive
8662 code letter `n'. (Bug#14254)
8663
5db9dace
JL
86642013-04-27 Juri Linkov <juri@jurta.org>
8665
8666 * desktop.el (desktop-auto-save-timeout): New option.
8667 (desktop-file-checksum): New variable.
8668 (desktop-save): Add optional arg `auto-save' and don't auto-save
8669 if nothing changed.
8670 (desktop-auto-save-timer): New variable.
8671 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8672 (after-init-hook): Call `desktop-auto-save-set-timer'.
8673 Suggested by Reuben Thomas <rrt@sc3d.org> in
8674 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8675
b7260dd4
LL
86762013-04-27 Leo Liu <sdl.web@gmail.com>
8677
8678 * progmodes/octave.el (octave-function-file-p)
8679 (octave-skip-comment-forward, octave-function-file-comment)
8680 (octave-update-function-file-comment): New functions.
8681 (octave-mode-map): Bind C-c ; to
8682 octave-update-function-file-comment.
8683 (octave-mode-menu): Add octave-update-function-file-comment.
8684 (octave-mode, inferior-octave-mode): Fix doc-string.
8685 (octave-insert-defun): Conform to Octave's coding convention.
8686 (Bug#14285)
8687
8688 * files.el (basic-save-buffer): Don't let errors in
8689 before-save-hook prevent saving buffer.
8690
c46da669
RW
86912013-04-20 Roland Winkler <winkler@gnu.org>
8692
8693 * faces.el (read-face-name): Use completing-read if arg multiple
8694 is nil.
8695
a81ee1eb
IL
86962013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8697
8698 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8699 displayed, move point to after the totals line.
8700 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8701 for the details.
8702
4fac34ce
SM
87032013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8706 Add current dir to the load-path.
8707 (package-generate-autoloads): Don't rely on
8708 autoload-ensure-default-file.
8709
f6bfc063
RT
87102013-04-26 Reuben Thomas <rrt@sc3d.org>
8711
d40ab5cf
BG
8712 * textmodes/remember.el (remember-store-in-files): Document that
8713 the file name format is passed to `format-time-string'.
f6bfc063 8714
e55d3b04
LL
87152013-04-26 Leo Liu <sdl.web@gmail.com>
8716
8717 * progmodes/octave.el (octave-sync-function-file-names): New function.
8718 (octave-mode): Use it in before-save-hook.
8719
e53052d3
SM
87202013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8721
140ef50c
SM
8722 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8723 (bug#14274).
8724
e53052d3
SM
8725 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8726 \n and comment, even if it's not an implicit ; (bug#14218).
8727
af80458d 87282013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8729
8730 * subr.el (read-number): Once more use `read' rather than
8731 `string-to-number', to trap non-numeric input. (Bug#14254)
8732
af80458d 87332013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8734
8735 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8736 Use `syntax-multiline' text property consistently instead of
8a621d53 8737 `font-lock-multiline'. (Bug#14237)
70203c2e 8738
e6ea1f6c
GM
87392013-04-26 Glenn Morris <rgm@gnu.org>
8740
8741 * emacs-lisp/shadow.el (list-load-path-shadows):
8742 No longer necessary to check for duplicate simple.el, since
8743 2012-07-07 change to init_lread to not include installation lisp
8744 directories in load-path when running uninstalled. (Bug#14270)
8745
070ccca4
LL
87462013-04-26 Leo Liu <sdl.web@gmail.com>
8747
8748 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8749 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8750 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8751 octave-in-string-or-comment-p.
8752 (octave-in-comment-p, octave-in-string-p)
8753 (octave-in-string-or-comment-p): Replace defsubst with defun.
8754
9d1c5fb6
PE
87552013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8756
8757 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8758
c034abda
BG
87592013-04-25 Bastien Guerry <bzg@gnu.org>
8760
8761 * textmodes/remember.el (remember-data-directory)
8762 (remember-directory-file-name-format): Fix custom types.
8763
584ea277
LL
87642013-04-25 Leo Liu <sdl.web@gmail.com>
8765
e53052d3
SM
8766 * progmodes/octave.el (octave-completion-at-point-function):
8767 Make use of inferior octave process.
584ea277
LL
8768 (octave-initialize-completions): Remove.
8769 (inferior-octave-completion-table): New function.
8770 (inferior-octave-completion-at-point): Use it.
8771 (octave-completion-alist): Remove.
8772
1693b06a
SM
87732013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8776 (opascal-mode-syntax-table): New var.
8777 (opascal-literal-kind, opascal-is-literal-end)
8778 (opascal-literal-token-at): Rewrite.
8779 (opascal--literal-start-re, opascal-font-lock-keywords)
8780 (opascal--syntax-propertize): New constants.
8781 (opascal-font-lock-defaults): Adjust.
8782 (opascal-mode): Use them. Set comment-<foo> variables as well.
8783 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8784 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8785 (delphi-other-face, opascal-other-face): Remove face variables.
8786 (opascal-save-state): Remove macro.
8787 (opascal-fontifying-progress-step): Remove constant.
8788 (opascal--ignore-changes): Remove var.
8789 (opascal-set-token-property, opascal-parse-next-literal)
8790 (opascal-is-stable-literal, opascal-complete-literal)
8791 (opascal-is-literal-start, opascal-face-of)
8792 (opascal-parse-region, opascal-parse-region-until-stable)
8793 (opascal-fontify-region, opascal-after-change)
8794 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8795 (opascal-debug-parse-region, opascal-debug-parse-window)
8796 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8797 (opascal-debug-fontify-buffer): Remove.
8798 (opascal-debug-mode-map): Adjust accordingly.
8799
be64c05d
LL
88002013-04-25 Leo Liu <sdl.web@gmail.com>
8801
8802 Merge octave-mod.el and octave-inf.el into octave.el with some
8803 cleanups.
8804 * progmodes/octave.el: New file renamed from octave-mod.el.
8805 * progmodes/octave-inf.el: Merged into octave.el.
8806 * progmodes/octave-mod.el: Renamed to octave.el.
8807
d79d37bd
TH
88082013-04-25 Tassilo Horn <tsdh@gnu.org>
8809
8810 * textmodes/reftex-vars.el
8811 (reftex-label-ignored-macros-and-environments): New defcustom.
8812
8813 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8814
ced3fc5d
SM
88152013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8818 (smie-indent-keyword): Improve the check to ensure that the next
8819 comment is really on the same line.
8820 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8821
8822 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8823 semi-colons if the line is not otherwise empty (bug#14218).
8824
1c141dad
GM
88252013-04-25 Glenn Morris <rgm@gnu.org>
8826
8827 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8828
5058062a
SM
88292013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * progmodes/opascal.el (opascal-set-token-property): Rename from
8832 opascal-set-text-properties and only set `token' (bug#14134).
8833 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8834 (opascal-literal-text-properties): Remove.
8835 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8836 Adjust callers.
8837
5db9dace 88382013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8839
8840 * textmodes/remember.el (remember-handler-functions): Add an
8841 option for a new handler `remember-store-in-files'.
8842 (remember-data-directory, remember-directory-file-name-format):
8843 New options.
8844 (remember-store-in-files): New function to store remember notes
8845 as separate files within a directory.
8846
4391916c
MH
88472013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8848
8849 * progmodes/compile.el (compilation-next-error-function):
8850 Pass "formats" to compilation-find-file (bug#11777).
8851
bb7cdf58
GM
88522013-04-24 Glenn Morris <rgm@gnu.org>
8853
3b8fe752 8854 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8855 * vc/vc-hg.el (vc-hg-print-log):
8856 * vc/vc-svn.el (vc-svn-print-log):
8857 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8858
bb7cdf58
GM
8859 * vc/vc-bzr.el (vc-bzr-print-log):
8860 * vc/vc-cvs.el (vc-cvs-print-log):
8861 * vc/vc-git.el (vc-git-print-log):
8862 * vc/vc-hg.el (vc-hg-print-log):
8863 * vc/vc-mtn.el (vc-mtn-print-log):
8864 * vc/vc-rcs.el (vc-rcs-print-log):
8865 * vc/vc-sccs.el (vc-sccs-print-log):
8866 * vc/vc-svn.el (vc-svn-print-log):
8867 * vc/vc.el (vc-print-log-internal): Doc fixes.
8868
b46a056e
GM
88692013-04-23 Glenn Morris <rgm@gnu.org>
8870
8871 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8872 Remove venerable code attempting to avoid substitute-command-keys.
8873
0aecf718
TH
88742013-04-23 Tassilo Horn <tsdh@gnu.org>
8875
4391916c
MH
8876 * textmodes/reftex-vars.el (reftex-label-regexps):
8877 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8878
117f94cf
SM
88792013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8880
4391916c 8881 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8882 Use lexical-binding.
8883 (jit-lock-force-redisplay): Use markers, check buffer's continued
8884 existence and beware narrowed buffers.
8885 (jit-lock-fontify-now): Adjust call accordingly.
8886
1d829c64
SM
88872013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8888
8889 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8890 to avoid misleading the user.
8891
72d548a9
LL
88922013-04-22 Leo Liu <sdl.web@gmail.com>
8893
8894 * info-look.el: Prefer latex2e.info. (Bug#14240)
8895
d0853629
MA
88962013-04-22 Michael Albinus <michael.albinus@gmx.de>
8897
8898 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8899
8900 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8901 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8902 (tramp-set-completion-function, tramp-parse-putty):
8903 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8904 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8905 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8906 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8907 (tramp-call-local-coding-command): Use `tramp-call-process'
8908 instead of `tramp-compat-call-process'.
8909
8910 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8911 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8912 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8913 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8914 (tramp-maybe-send-script): Check for Perl binary.
8915 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8916
38cc0210
DU
89172013-04-22 Daiki Ueno <ueno@gnu.org>
8918
8919 * epg.el (epg-context-pinentry-mode): New function.
8920 (epg-context-set-pinentry-mode): New function.
8921 (epg--start): Pass --pinentry-mode option to gpg command.
8922
cc641ee1
XF
89232013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8924
02d844b5 8925 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8926 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8927 `completion-at-point'. (Bug#13774)
5d4e5c31 8928
cc641ee1
XF
8929 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8930 default key binding for `describe-distribution' has been moved to
8931 `C-h C-o'. (Bug#13970)
8932
1b42ee43
GM
89332013-04-21 Glenn Morris <rgm@gnu.org>
8934
8935 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8936 Add doc strings.
8937 (vc-print-log): Clarify interactive prompt.
8938
a6d63d97
GM
89392013-04-20 Glenn Morris <rgm@gnu.org>
8940
8941 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8942 No longer include timestamp etc information.
8943
d7f5c16f
RW
89442013-04-20 Roland Winkler <winkler@gnu.org>
8945
8946 * faces.el (read-face-name): Bug fix, return just one face if arg
8947 multiple is nil. (Bug#14209)
8948
bcd7a0a4
SM
89492013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8952 (remove-function): Autoload.
8953
8954 * comint.el (comint-redirect-original-filter-function): Remove.
8955 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8956 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8957 (vc-cvs-annotate-command):
bcd7a0a4
SM
8958 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8959 * progmodes/prolog.el (prolog-consult-compile):
8960 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8961 Use add/remove-function instead.
8962 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8963 (gud-tooltip-process-output, gud-tooltip-tips):
8964 Use add/remove-function instead.
8965 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8966 (scheme-interaction-mode, exit-scheme-interaction-mode):
8967 Use add/remove-function instead.
8968
8969 * vc/vc-dispatcher.el: Use lexical-binding.
8970 (vc--process-sentinel): Rename from vc-process-sentinel.
8971 Change last arg to be the code to run. Don't use vc-previous-sentinel
8972 and vc-sentinel-commands any more.
8973 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8974 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8975
e36b2d20 89762013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8977
bcd7a0a4 8978 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8979 Handle function names with a single character. (Bug#14111)
4d3268ba 8980
781b4af6 89812013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8982
8983 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8984 for subroutines defined in an eval (bug#14182).
8985
7d688336
TV
89862013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8987
8988 * bookmark.el (bookmark-completing-read): Improve handling of empty
8989 string (bug#14176).
8990
31dcede0
SM
89912013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8994
adc31213
FEG
89952013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8996
8997 New faster Imenu implementation (bug#14058).
8998 * progmodes/python.el:
8999 (python-imenu-prev-index-position):
9000 (python-imenu-format-item-label-function)
9001 (python-imenu-format-parent-item-label-function)
9002 (python-imenu-format-parent-item-jump-label-function):
9003 New vars.
9004 (python-imenu-format-item-label)
9005 (python-imenu-format-parent-item-label)
9006 (python-imenu-format-parent-item-jump-label)
9007 (python-imenu--put-parent, python-imenu--build-tree)
9008 (python-imenu-create-index, python-imenu-create-flat-index)
9009 (python-util-popn): New functions.
9010 (python-mode): Set imenu-create-index-function to
9011 python-imenu-create-index.
9012
cdca8255
SM
90132013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * winner.el (winner-active-region): Use region-active-p, activate-mark
9016 and deactivate-mark (bug#14225).
9017
9018 * simple.el (deactivate-mark): Don't inline it.
9019
beb42340
MA
90202013-04-18 Michael Albinus <michael.albinus@gmx.de>
9021
9022 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9023
fc7f4d7e
TH
90242013-04-18 Tassilo Horn <tsdh@gnu.org>
9025
9026 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9027 file extensions from the archive-mode entry in order to prefer
9028 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9029
29f47822
LL
90302013-04-18 Leo Liu <sdl.web@gmail.com>
9031
9032 * bindings.el (help-event-list): Add ?\?.
9033
d36ed1c8
SM
90342013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * subr.el (with-wrapper-hook): Declare obsolete.
9037 * simple.el (filter-buffer-substring-function): New hook.
9038 (filter-buffer-substring): Use it.
9039 (filter-buffer-substring-functions): Mark obsolete.
9040 * minibuffer.el (completion-in-region-function): New hook.
9041 (completion-in-region): Use it.
9042 (completion-in-region-functions): Mark obsolete.
9043 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9044 * abbrev.el (abbrev-expand-function): New hook.
9045 (expand-abbrev): Use it.
9046 (abbrev-expand-functions): Mark obsolete.
9047 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9048 and :filter-return.
9049
04754d36
FEG
90502013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9051
9052 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9053 and do not care about match data.
9054
dd8791e9
SM
90552013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9058 completion tables when completing error conditions and
9059 `declare' arguments.
9060 (lisp-complete-symbol, field-complete): Mark as obsolete.
9061 (check-parens): Unmatched parens are user errors.
9062 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9063
ffe54a13
AM
90642013-04-17 Michal Nazarewicz <mina86@mina86.com>
9065
dd8791e9
SM
9066 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9067 command changed buffer (ie. `flyspell-pre-buffer' is not current
9068 buffer), which prevents making decisions based on invalid value of
9069 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9070 cause an error when `flyspell-pre-point' was nil after switching
9071 buffers.
9072 (flyspell-post-command-hook): No longer needs to change buffers when
9073 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9074
ec7e39f2
AM
90752013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9076
9077 * textmodes/ispell.el (ispell-add-per-file-word-list):
9078 Fix `flyspell-correct-word-before-point' error when accepting
9079 words and `coment-padding' is an integer by using
9080 `comment-normalize-vars' (Bug #14214).
9081
083850a6
FEG
90822013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9083
9084 New defun movement commands.
9085 * progmodes/python.el (python-nav--syntactically)
9086 (python-nav--forward-defun, python-nav-backward-defun)
9087 (python-nav-forward-defun): New functions.
9088
619ed6e1
FEG
90892013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9090
9091 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9092 (python-syntax-context): Use named compiler-macro for backwards
9093 compatibility with Emacs 24.x.
9094
7a1beb6c
LL
90952013-04-17 Leo Liu <sdl.web@gmail.com>
9096
9097 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9098 octave-hide-process-buffer.
9099
2d3fa3e5
SM
91002013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9101
9102 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9103 (bug#14216).
9104
7ce5be54
JPG
91052013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9106
9107 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9108 Fix adjustment of offset when receiving incomplete responses from GDB
9109 (bug#14129).
9110
351edece
SM
91112013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9112
9113 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9114 python-mode-abbrev-table.
9115 (python-skeleton-define): Adjust accordingly.
9116 (python-mode-abbrev-table): New table that inherits from it so that
9117 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9118
9119 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9120 (abbrev-symbol): Use it.
9121 (abbrev--before-point): Use it since we already handle inheritance.
9122
613f9481
LL
91232013-04-16 Leo Liu <sdl.web@gmail.com>
9124
9125 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9126 binding to info-lookup-symbol.
9127
51646b62
JB
91282013-04-16 Juanma Barranquero <lekktu@gmail.com>
9129
9130 * minibuffer.el (completion--twq-all):
9131 * term/ns-win.el (ns-initialize-window-system):
9132 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9133
efb3f01d
SM
91342013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9135
36c0a301
SM
9136 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9137 global bindings.
9138
efb3f01d
SM
9139 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9140
fb549d64
DG
91412013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9142
9143 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9144 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9145 to nil.
9146 (ruby-end-of-defun): Remove the unused arg, change the docstring
9147 to reflect that this function is only used as the value of
9148 `end-of-defun-function'.
9149 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9150 to reflect an earlier change that beginning/end-of-defun functions
9151 jump between methods in a class definition, as well as top-level
9152 functions.
9153
21e8fe2f
SM
91542013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * minibuffer.el (minibuffer-complete): Don't just scroll
9157 a *Completions* that's been iconified.
9158 (minibuffer-force-complete): Make sure repetitions do cycle when going
9159 through completion-in-region -> minibuffer-complete.
9160
20e527d0
AM
91612013-04-15 Alan Mackenzie <acm@muc.de>
9162
9163 Correct the placement of c-cpp-delimiters when there're #s not at
9164 col 0.
9165
9166 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9167 place a submatch around the #.
21e8fe2f
SM
9168 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9169 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9170 on the #, not BOL.
9171
dabefae5
SM
91722013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9175 (advice--member-p): New arg `name'.
9176 (advice--add-function, advice-member-p): Use it (bug#14202).
9177
85c9ab64
AM
91782013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9179
9180 Reformulate java imenu-generic-expression.
9181 The old expression contained ill formed regexps.
9182
9183 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9184 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9185 (cc-imenu-java-method-arg-regexp): New defconsts.
9186 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9187 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9188 handling of spaces in the regexp.
9189
0f821d99
AM
91902013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9191
9192 * textmodes/ispell.el (ispell-command-loop): Remove
9193 flyspell highlight of a word when ispell accepts it (bug #14178).
9194
eb922adf
MA
91952013-04-15 Michael Albinus <michael.albinus@gmx.de>
9196
9197 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9198 uses code from the previous `ange-ftp-run-real-handler'.
9199 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9200 only in case that function exist. This is needed for proper
9201 unloading of Tramp.
9202
4d9a0979
TH
92032013-04-15 Tassilo Horn <tsdh@gnu.org>
9204
9205 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9206
9207 * textmodes/reftex.el (reftex-compile-variables): Use it.
9208
a829b0dc
SM
92092013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9210
91e8293c
SM
9211 * files.el (normal-mode): Only use default major-mode if no other mode
9212 was specified.
9213
830aed4d
SM
9214 * emacs-lisp/trace.el (trace-values): New function.
9215
a829b0dc
SM
9216 * files.el: Allow : in local variables (bug#14089).
9217 (hack-local-variable-regexp): New var.
9218 (hack-local-variables-prop-line, hack-local-variables): Use it.
9219
7ae9f0fb
RW
92202013-04-13 Roland Winkler <winkler@gnu.org>
9221
9222 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9223 data before it gets modified by bibtex-beginning-of-entry.
9224
6646e848
RW
92252013-04-13 Roland Winkler <winkler@gnu.org>
9226
9227 * textmodes/bibtex.el (bibtex-url): Doc fix.
9228
92292013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9230
9231 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9232 does not visit a BibTeX file, exclude it from the list of buffers
9233 returned by bibtex-initialize.
9234
0aa3616e
SB
92352013-04-13 Stephen Berman <stephen.berman@gmx.net>
9236
9237 * window.el (split-window): Remove interactive form, since as a
9238 command this function is a special case of split-window-below.
9239 Correct doc string.
9240
011cddd6
RW
92412013-04-12 Roland Winkler <winkler@gnu.org>
9242
9243 * faces.el (read-face-name): Do not override value of arg default.
9244 Allow single faces and strings as default values. Remove those
9245 elements from return value that are not faces.
9246 (describe-face): Simplify.
9247 (face-at-point): New optional args thing and multiple so that this
9248 function can provide the same functionality previously provided by
9249 read-face-name.
9250 (make-face-bold, make-face-unbold, make-face-italic)
9251 (make-face-unitalic, make-face-bold-italic, invert-face)
9252 (modify-face, read-face-and-attribute): Use face-at-point.
9253
9254 * cus-edit.el (customize-face, customize-face-other-window)
9255 * cus-theme.el (custom-theme-add-face)
9256 * face-remap.el (buffer-face-set)
9257 * facemenu.el (facemenu-set-face): Use face-at-point.
9258
f24e0036
MA
92592013-04-12 Michael Albinus <michael.albinus@gmx.de>
9260
9261 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9262
da3cda2d
TH
92632013-04-10 Tassilo Horn <tsdh@gnu.org>
9264
9265 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9266 off leading { and trailing } from field values.
9267
15e54145
SM
92682013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9269
78ce603d
SM
9270 * emacs-lisp/timer.el (timer--check): New function.
9271 (timer--time, timer-set-function, timer-event-handler): Use it.
9272 (timer-set-idle-time): Simplify.
9273 (timer--activate): CSE.
9274 (timer-event-handler): Give more info in error message.
9275 (internal-timer-start-idle): New function, moved from C.
9276
15e54145
SM
9277 * mpc.el (mpc-proc): Add `restart' argument.
9278 (mpc-proc-cmd): Use it.
9279 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9280 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9281 less often.
9282
7144c627
MY
92832013-04-10 Masatake YAMATO <yamato@redhat.com>
9284
9285 * progmodes/sh-script.el: Implement `sh-mode' own
9286 `add-log-current-defun-function' (bug#14112).
9287 (sh-current-defun-name): New function.
9288 (sh-mode): Use the function.
9289
b39792eb
BG
92902013-04-09 Bastien Guerry <bzg@gnu.org>
9291
9292 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9293
8acdeb71
SM
92942013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9295
6fcdab68
SM
9296 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9297
8acdeb71
SM
9298 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9299 timer (bug#14156).
9300
e3e7b504
NF
93012013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9302
9303 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9304 declaration.
9305
201bb296
LL
93062013-04-07 Leo Liu <sdl.web@gmail.com>
9307
9308 * pcmpl-x.el: New file.
9309
ebb19708
DA
93102013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9311
9312 Do not set x-display-name until X connection is established.
9313 This is needed to prevent from weird situation described at
9314 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9315 * frame.el (make-frame): Set x-display-name after call to
9316 window system initialization function, not before.
9317 * term/x-win.el (x-initialize-window-system): Add optional
9318 display argument and use it.
9319 * term/w32-win.el (w32-initialize-window-system):
9320 * term/ns-win.el (ns-initialize-window-system):
9321 * term/pc-win.el (msdos-initialize-window-system):
9322 Add compatible optional display argument.
9323
33bb237a
EZ
93242013-04-06 Eli Zaretskii <eliz@gnu.org>
9325
9326 * files.el (normal-backup-enable-predicate): On MS-Windows and
9327 MS-DOS compare truenames of temporary-file-directory and of the
9328 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9329 don't fail comparison by compare-strings. Also, compare file
9330 names case-insensitively on MS-Windows and MS-DOS.
9331
134abf1f
SM
93322013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9335 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9336
d695cb94
DG
93372013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9338
e3e7b504
NF
9339 * whitespace.el (whitespace-color-on, whitespace-color-off):
9340 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9341
f4ad7ea1 93422013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9343
9344 * ispell.el (ispell-set-spellchecker-params):
9345 Really set `ispell-args' for all equivs.
9346
632556e4
SM
93472013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9348
9349 * ido.el (ido-completions): Use extra elements of ido-decorations
9350 (bug#14143).
9351 (ido-decorations): Update docstring.
9352
2a417372
MA
93532013-04-05 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9356 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9357 nil during initialization, in order not to miss changes since the
9358 file was opened. (Bug#14140)
9359
fc164b0c
LL
93602013-04-05 Leo Liu <sdl.web@gmail.com>
9361
9362 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9363
0ccecc08
JB
93642013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9365
9366 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9367
51af1aa2
GM
93682013-04-04 Glenn Morris <rgm@gnu.org>
9369
9370 * electric.el (electric-pair-inhibit-predicate): Add :version.
9371
b208ebc6
SM
93722013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9375 when a package is required several times (bug#14082).
9376
f3d3eaf0
RW
93772013-04-04 Roland Winkler <winkler@gnu.org>
9378
9379 * faces.el (read-face-name): Behave as promised by the docstring.
9380 Assume that arg default is a list of faces.
9381 (describe-face): Call read-face-name with list of default faces.
9382
2575da50
TV
93832013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9384
9385 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9386 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9387 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9388 the header.
9389 (bookmark-exit-hook-internal): Save even if list is empty.
9390
397703b4
YH
93912013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9392
9393 * emacs-lisp/package.el (package-pinned-packages): New var.
9394 (package--add-to-archive-contents): Obey it (bug#14118).
9395
691e26ae
AM
93962013-04-03 Alan Mackenzie <acm@muc.de>
9397
8a621d53
JB
9398 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9399 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9400
9401 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9402 parameter `not-in-delimiter'. Handle being inside comment opener.
9403 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9404 character in case we're typing a '*' after a '/'.
9405 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9406 instead by passing the parameter to c-state-pp-to-literal.
9407
9408 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9409 for elt. 7 of a parse state.
9410
4b725a70
PE
94112013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9412
9413 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9414 * international/latin1-disp.el, international/mule-util.el:
9415 * language/cyril-util.el, language/european.el, language/ind-util.el:
9416 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9417 * language/tibetan.el, language/viet-util.el:
9418 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9419
15c579f0
SM
94202013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9423 (electric-pair-post-self-insert-function): Use it.
9424 (electric-pair-default-inhibit): New function, extracted from
9425 electric-pair-post-self-insert-function.
9426
a77e2924
RW
94272013-03-31 Roland Winkler <winkler@gnu.org>
9428
9429 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9430
2bd8a4a8
SM
94312013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9432
9433 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9434
8d3655be 94352013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9436
9437 Un-indent after "pass" and "return" statements (Bug#13888)
9438 * progmodes/python.el (python-indent-block-enders): New var.
9439 (python-indent-calculate-indentation): Use it.
9440
8d3655be 94412013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9442
9443 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9444 defun. Defining it as defalias could introduce too eager
9445 byte-compiler optimization. (Bug#14030)
9446
8d3655be 94472013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9448
9449 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9450
0b1619da
LL
94512013-03-30 Leo Liu <sdl.web@gmail.com>
9452
9453 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9454 (kmacro-execute-from-register): Pass the keyboard macro to
9455 kmacro-call-macro or repeating won't work correctly.
9456
0b938190
TZ
94572013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9458
9459 * progmodes/subword.el: Back to using `forward-symbol'.
9460
9461 * subr.el (forward-whitespace, forward-symbol)
9462 (forward-same-syntax): Move from thingatpt.el.
9463
35710234
LL
94642013-03-29 Leo Liu <sdl.web@gmail.com>
9465
9466 * kmacro.el (kmacro-to-register): New command.
9467 (kmacro-execute-from-register): New function.
9468 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9469
efc0bb73
SM
94702013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * mpc.el: Use defvar-local and setq-local.
9473 (mpc--proc-connect): Connection failures are not bugs.
9474 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9475 (mpc-volume-map): Bind to the up-events.
9476
75a2f981
TZ
94772013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9478
9479 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9480 instead of `forward-symbol'.
9481
17c781d1
SM
94822013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9485 (edebug--recursive-edit): Use it.
9486 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9487 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9488
f67bfbcf
LL
94892013-03-28 Leo Liu <sdl.web@gmail.com>
9490
9491 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9492
b59f639d
EZ
94932013-03-27 Eli Zaretskii <eliz@gnu.org>
9494
9495 * facemenu.el (list-colors-callback): New defvar.
9496 (list-colors-redisplay): New function.
9497 (list-colors-display): Install list-colors-redisplay as the
9498 revert-buffer-function. (Bug#14063)
9499
f557c1b1
SM
95002013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9501
b1da2957
SM
9502 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9503 and suffixes don't overlap (bug#14061).
9504
f557c1b1
SM
9505 * case-table.el: Use lexical-binding.
9506 (case-table-get-table): New function.
9507 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9508
002668e1
TZ
95092013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9510
9511 * progmodes/subword.el: Add `superword-mode' to do word motion
9512 over symbol_words (parallels and leverages `subword-mode' which
9513 does word motion inside MixedCaseWords).
9514
73572c72
AG
95152013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9516
78b8f320 9517 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9518 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9519
69b2c07e
SM
95202013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9521
9522 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9523 Change return value to be a sexp. Delay `get-buffer' to after
9524 restoring the desktop (bug#13951).
9525
08bb5ee2
LL
95262013-03-26 Leo Liu <sdl.web@gmail.com>
9527
9528 * register.el: Move semantic tag handling back to
9529 cedet/semantic/senator.el. (Bug#14052)
9530
8d4c974e
SM
95312013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9532
9533 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9534 into the prompt either (bug#13963).
9535
b234d92c
SM
95362013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9537
9538 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9539 part of "(error-foo)".
9540
ddfa3cb4
JL
95412013-03-24 Juri Linkov <juri@jurta.org>
9542
9543 * replace.el (list-matching-lines-prefix-face): New defcustom.
9544 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9545 `occur-engine' if `face-differs-from-default-p' returns t.
9546 (occur-engine): Add `,' inside backquote construct to evaluate
9547 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9548 Pass `prefix-face' to the functions `occur-context-lines' and
9549 `occur-engine-add-prefix'.
9550 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9551 `prefix-face' and propertize the prefix with `prefix-face'.
9552 (Bug#14017)
9553
7b0e2f85
LL
95542013-03-24 Leo Liu <sdl.web@gmail.com>
9555
9556 * nxml/rng-valid.el (rng-validate-while-idle)
9557 (rng-validate-quick-while-idle): Guard against deleted buffer.
9558 (Bug#13999)
9559
9560 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9561 is the last entry in kill-buffer-hook.
9562
9563 * files.el (kill-buffer-hook): Doc fix.
9564
b3082f49
DG
95652013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9566
b234d92c
SM
9567 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9568 Make it safe-local.
bde73d27 9569
b3082f49
DG
9570 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9571
a320a2db
LL
95722013-03-23 Leo Liu <sdl.web@gmail.com>
9573
7e74b0fb
LL
9574 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9575 Remove.
9576
9577 * nxml/rng-valid.el (rng-validate-mode)
9578 (rng-after-change-function, rng-do-some-validation):
9579 * nxml/rng-maint.el (rng-validate-buffer):
9580 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9581 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9582 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9583 (nxml-extend-after-change-region): Use with-silent-modifications.
9584
a320a2db
LL
9585 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9586 timer-idle-list.
9587
9588 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9589 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9590 timer-idle-list. (Bug#13999)
9591
e38e6780
JL
95922013-03-23 Juri Linkov <juri@jurta.org>
9593
9594 * info.el (info-index-match): New face.
9595 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9596 main pattern and add text properties with the new face to matches
9597 in index entries relative to the beginning of the index entry.
9598 (Bug#14015)
9599
e8cc7880
DE
96002013-03-21 Eric Ludlam <zappo@gnu.org>
9601
9602 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9603 Inhibit read only while inserting objects.
9604
9bb0d822
TZ
96052013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9606
9607 * progmodes/cfengine.el: Update docs to mention
9608 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9609 symbol motion. Remove "_" from the word syntax.
9610
aa703640
TZ
96112013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9612
9613 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9614 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9615
afff09d0
JL
96162013-03-20 Juri Linkov <juri@jurta.org>
9617
9618 * info.el (Info-next-reference-or-link)
9619 (Info-prev-reference-or-link): New functions.
9620 (Info-next-reference, Info-prev-reference): Use them.
9621 (Info-try-follow-nearest-node): Handle footnote navigation.
9622 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9623
9a1ff164
SM
96242013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9627 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9628
2667d15d
PE
96292013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9630
9631 Suppress unnecessary non-ASCII chatter during build process.
9632 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9633 (batch-skkdic-convert): Suppress most of the chatter.
9634 It's not needed so much now that machines are faster,
9635 and its non-ASCII component was confusing; see Dmitry Gutov in
9636 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9637
438b0579
LL
96382013-03-20 Leo Liu <sdl.web@gmail.com>
9639
9640 * ido.el (ido-chop): Fix bug#10994.
9641
c128ab07
DG
96422013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9643
9644 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9645 Remove vars.
9a1ff164
SM
9646 (whitespace-color-on, whitespace-color-off):
9647 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9648
0e6008c5
SM
96492013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9652 remapping in mode-line.
9653 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9654
627b52b0
DG
96552013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9656
9657 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9658 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9659 (whitespace-font-lock-keywords): Change description.
9660 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9661 the constructed keywords instead.
9662 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9663
50c3a20b
LL
96642013-03-19 Leo Liu <sdl.web@gmail.com>
9665
9666 * progmodes/compile.el (compilation-display-error): New command.
9667 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9668 C-o. (Bug#13992)
9669
2aa2157b
PE
96702013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9671
9672 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9673
e477dbfa
JD
96742013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9675
9676 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9677
64ab82d1
MA
96782013-03-18 Michael Albinus <michael.albinus@gmx.de>
9679
9680 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9681
9682 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9683 * net/tramp-gvfs.el (top):
9684 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9685 (tramp-handle-shell-command): Use it.
9686 (tramp-dissect-file-name): Raise an error when hostname is a
9687 method name, and neither method nor user is specified.
9688
9689 * net/trampver.el: Update release number.
9690
33cef733
LL
96912013-03-18 Leo Liu <sdl.web@gmail.com>
9692
9693 Make sure eldoc can be turned off properly.
9694 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9695 eldoc-mode.
9696 (eldoc-display-message-p): Revert last change.
9697 (eldoc-display-message-no-interference-p)
9698 (eldoc-print-current-symbol-info): Tweak.
9699
2167b7b2
TH
97002013-03-18 Tassilo Horn <tsdh@gnu.org>
9701
9702 * doc-view.el (doc-view-new-window-function): Check the new window
9703 overlay's display property instead the char property of the
9704 buffer's first char. Use `with-selected-window' instead of
9705 `save-window-excursion' with `select-window'.
9706 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9707 display property instead the char property of the buffer's first char.
2167b7b2 9708
982efbcd
PE
97092013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9710
9711 Automate the build of ja-dic.el (Bug#13984).
9712 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9713 from the input, rather than assume that it's been done for us by the
9714 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9715 the current date into a ja-dic.el comment, as that complicates
9716 regression testing.
9717
2fcc7665
SM
97182013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9719
9720 * whitespace.el: Fix double evaluation.
9721 (whitespace-space, whitespace-hspace, whitespace-tab)
9722 (whitespace-newline, whitespace-trailing, whitespace-line)
9723 (whitespace-space-before-tab, whitespace-indentation)
9724 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9725 obsolete defvars.
9726 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9727 (whitespace-color-on): Use a single font-lock-add-keywords call.
9728 Fix double-evaluation of face variables.
9729
67c0a6e6
MA
97302013-03-17 Michael Albinus <michael.albinus@gmx.de>
9731
2fcc7665
SM
9732 * net/tramp-adb.el (tramp-adb-parse-device-names):
9733 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9734 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9735
69489f1d
LL
97362013-03-17 Leo Liu <sdl.web@gmail.com>
9737
9738 Extend eldoc to display info in the mode-line. (Bug#13978)
9739 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9740 (eldoc-mode-line-string): New variable.
9741 (eldoc-minibuffer-message): New function.
9742 (eldoc-message-function): New variable.
9743 (eldoc-message): Use it.
9744 (eldoc-display-message-p)
2fcc7665
SM
9745 (eldoc-display-message-no-interference-p):
9746 Support eldoc-post-insert-mode.
69489f1d
LL
9747
9748 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9749 (eval-expression): Run it.
9750
9c44569e
RW
97512013-03-17 Roland Winkler <winkler@gnu.org>
9752
9753 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9754 strings in the list of return values.
9755
327f1f6f
JB
97562013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9757
9758 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9759 radix before checking for HMS forms.
9760
67ed8fcd
LL
97612013-03-16 Leo Liu <sdl.web@gmail.com>
9762
9763 * progmodes/scheme.el: Add indentation and font-locking for λ.
9764 (Bug#13975)
9765
78be8b64 97662013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9767
9768 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9769 token before point (bug#13942).
9770
78be8b64 97712013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9772
95b43468 9773 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9774
98e775e6
EZ
97752013-03-16 Eli Zaretskii <eliz@gnu.org>
9776
9777 * startup.el (command-line-normalize-file-name): Fix handling of
9778 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9779 <xfq.free@gmail.com> in
9780 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9781
2edd6029
MA
97822013-03-15 Michael Albinus <michael.albinus@gmx.de>
9783
9784 Sync with Tramp 2.2.7.
9785
9786 * net/trampver.el: Update release number.
9787
d35f5864
TH
97882013-03-14 Tassilo Horn <tsdh@gnu.org>
9789
e903c210 9790 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9791 (doc-view-insert-image): Don't modify overlay associated to
9792 non-live windows, and implement horizontal centering of image in
9793 case it's smaller than the window.
9794 (doc-view-new-window-function): Force redisplay of new windows on
9795 doc-view buffers.
d35f5864 9796
1c4a85ed
KF
97972013-03-13 Karl Fogel <kfogel@red-bean.com>
9798
9799 * saveplace.el (save-place-alist-to-file): Don't sort
9800 `save-place-alist', just pretty-print it (bug#13882).
9801
85b66a21
MA
98022013-03-13 Michael Albinus <michael.albinus@gmx.de>
9803
a020afb9
JB
9804 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9805 Check whether `default-file-name-coding-system' is bound.
9806 It isn't in XEmacs.
85b66a21 9807
175600da
SM
98082013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9809
e7f7cb1a
SM
9810 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9811 backquotes for `obsolete' (bug#13929).
9812
175600da
SM
9813 * international/mule.el (find-auto-coding): Include file name in
9814 obsolescence warning (bug#13922).
9815
ca68a22e
TZ
98162013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9817
9818 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9819 for CFEngine 3-specific indentation.
9820 (cfengine3-indent-line): Use it. Fix up category regex.
9821 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9822
940e5099
SM
98232013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * type-break.el (type-break-file-name):
9826 * textmodes/remember.el (remember-data-file):
9827 * strokes.el (strokes-file):
9828 * shadowfile.el (shadow-initialize):
9829 * saveplace.el (save-place-file):
9830 * ps-bdf.el (bdf-cache-file):
9831 * progmodes/idlwave.el (idlwave-config-directory):
9832 * net/quickurl.el (quickurl-url-file):
9833 * international/kkc.el (kkc-init-file-name):
9834 * ido.el (ido-save-directory-list-file):
9835 * emulation/viper.el (viper-custom-file-name):
9836 * emulation/vip.el (vip-startup-file):
9837 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9838 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9839
cc725808
PE
98402013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9841
9842 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9843 * language/thai-word.el: Switch to UTF-8.
9844
a020afb9 9845See ChangeLog.16 for earlier changes.
e3d51b27
MR
9846
9847;; Local Variables:
9848;; coding: utf-8
e3d51b27
MR
9849;; End:
9850
ab422c4d 9851 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9852
9853 This file is part of GNU Emacs.
9854
9855 GNU Emacs is free software: you can redistribute it and/or modify
9856 it under the terms of the GNU General Public License as published by
9857 the Free Software Foundation, either version 3 of the License, or
9858 (at your option) any later version.
9859
9860 GNU Emacs is distributed in the hope that it will be useful,
9861 but WITHOUT ANY WARRANTY; without even the implied warranty of
9862 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9863 GNU General Public License for more details.
9864
9865 You should have received a copy of the GNU General Public License
9866 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.