* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
[bpt/emacs.git] / lisp / ChangeLog
1 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2
3 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
4 Add the ability to always insert an utf-8 encoding comment.
5
6 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/tramp-gvfs.el (top): Run init code only when
9 `tramp-gvfs-enabled' is not nil.
10 (tramp-gvfs-enabled): Check also :system bus.
11
12 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 Sync with upstream verilog-mode revision 78e66ba.
15 * progmodes/verilog-mode.el (verilog-end-of-defun)
16 (verilog-type-completion, verilog-get-list): Remove unused funcs.
17 (verilog-get-end-of-defun): Remove unused argument.
18 (verilog-comment-depth): Remove unused local `e'.
19 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
20 Don't pass arg to verilog-get-end-of-defun.
21
22 2013-11-14 Glenn Morris <rgm@gnu.org>
23
24 * obsolete/assoc.el (aget): Prefix dynamic variable.
25
26 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
27
28 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * widget.el, hfy-cmap.el: Remove bogus package version number.
31
32 2013-11-13 Glenn Morris <rgm@gnu.org>
33
34 * replace.el (replace-eval-replacement):
35 Try to give more helpful error message. (Bug#15836)
36
37 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
38 (archive-7z-update): Avoid custom type mismatches.
39
40 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
41
42 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
43
44 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPV6
45 address can be empty.
46
47 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
48 Accept nil SWITCHES.
49 (tramp-gvfs-handle-write-region): Implement APPEND.
50
51 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
52
53 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
54 binary "|" operator and closing block args delimiter.
55 Remove FIXME comment referring to Ruby 1.8-only syntax.
56 (ruby-smie--implicit-semi-p): Not after "|" operator.
57 (ruby-smie--closing-pipe-p): New function.
58 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
59 (ruby-smie-rules): Indent after "|".
60
61 2013-11-12 Glenn Morris <rgm@gnu.org>
62
63 * ps-print.el (ps-face-attribute-list):
64 Handle anonymous faces. (Bug#15827)
65
66 2013-11-12 Martin Rudalics <rudalics@gmx.at>
67
68 * window.el (display-buffer-other-frame): Fix doc-string.
69 (Bug#15868)
70
71 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * subr.el (force-mode-line-update): Delete, move to buffer.c.
74
75 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
76
77 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
78 (tramp-sh-handle-file-local-copy): Don't write a message when
79 saving temporary files.
80
81 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
82 both directories are remote.
83 (tramp-smb-handle-directory-files): Do not return double entries.
84 Do not expand full file names.
85 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
86 (tramp-smb-handle-write-region): Implement APPEND.
87 (tramp-smb-get-stat-capability): Fix a stupid bug.
88
89 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
92
93 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
94
95 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
96 throwing error over malformed let/let* (bug#15814).
97
98 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * iswitchb.el (iswitchb-mode): Mark obsolete.
101
102 2013-11-11 Glenn Morris <rgm@gnu.org>
103
104 * international/uni-bidi.el, international/uni-category.el:
105 * international/uni-name.el, international/uni-numeric.el:
106 Regenerate for Unicode 6.3.0.
107
108 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
109
110 * net/tramp.el (tramp-methods):
111 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
112 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
113
114 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
115
116 * progmodes/sh-script.el (sh-font-lock-keywords-var):
117 Force highlighting text after Summary keyword in doc face for rpm.
118
119 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
120
121 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
122 available and the word has no wildcards, append one to the grep pattern.
123 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
124 (ispell-complete-word): Call `ispell-lookup-words' with the value
125 independent of `ispell-look-p'.
126
127 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
128
129 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
130 Not after "||".
131 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
132 their parent.
133
134 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
137 (ruby-font-lock-keywords): Use backquote.
138
139 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
140
141 * progmodes/ruby-mode.el (ruby-smie--forward-token)
142 (ruby-smie--backward-token): Only consider full-string matches.
143
144 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
145
146 * faces.el (describe-face): Add distant-foreground.
147
148 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
149
150 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
151 Use `ruby-encoding-magic-comment-style' to control the
152 style of the auto-inserted encoding comment.
153
154 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
155
156 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
157 Use `smie-backward-sexp' with token argument.
158
159 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
160
161 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
162 Remove instrumentation code.
163
164 2013-11-08 Glenn Morris <rgm@gnu.org>
165
166 * progmodes/autoconf.el (autoconf-mode):
167 Tweak comment-start-skip. (Bug#15822)
168
169 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
172 at bobp (bug#15826).
173 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
174
175 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
176
177 * man.el (Man-start-calling): New macro, extracted from
178 Man-getpage-in-background.
179 (Man-getpage-in-background): Use it.
180 (Man-update-manpage): New command.
181 (Man-mode-map): Bind it.
182
183 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
184
185 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
186 of "and", "or", "&&" and "||".
187 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
188 argument. Prohibit opening curly brace because it could only be a
189 block opener in that position.
190 (ruby-smie--forward-token, ruby-smie--backward-token):
191 Separate "|" from "&" or "*" going after it. That can happen in block
192 arguments.
193 (ruby-smie--indent-to-stmt): New function, seeks the end of
194 previous statement or beginning of buffer.
195 (ruby-smie-rules): Use it.
196 (ruby-smie-rules): Check if there's a ":" before a curly block
197 opener candidate; if there is, it's a hash.
198
199 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
202 (cl--block-wrapper): Fix last accidental change.
203
204 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
205
206 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
207 Instrument, in order to hunt failure on hydra.
208
209 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
210
211 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
212 malformed bindings form (bug#15814).
213
214 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
215
216 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
217 "." compared to " @ ". This incidentally fixes some indentation
218 examples with "do".
219 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
220 (ruby-smie-grammar): New tokens: "and" and "or".
221 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
222 Exclude "and" and "or". Remove "do" in order to work around token
223 priorities.
224 (ruby-smie-rules): Add all infix tokens. Handle the case of
225 beginning-of-buffer.
226
227 2013-11-06 Glenn Morris <rgm@gnu.org>
228
229 * Makefile.in (setwins_almost, setwins_for_subdirs):
230 Avoid accidental matches.
231
232 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * menu-bar.el (popup-menu): Use key-binding.
235
236 2013-11-06 Eli Zaretskii <eliz@gnu.org>
237
238 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
239 menus, support also the menus produced by minor modes.
240 (Bug#15817)
241
242 2013-11-06 Leo Liu <sdl.web@gmail.com>
243
244 * thingatpt.el (thing-at-point-looking-at): Add optional arg
245 DISTANCE to bound the search. All uses changed. (Bug#15808)
246
247 2013-11-06 Glenn Morris <rgm@gnu.org>
248
249 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
250 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
251 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
252
253 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * electric.el (electric-indent-just-newline): New command.
256 (electric-indent-mode-map): New keymap.
257 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
258 Re-add :group which weren't redundant.
259
260 * electric.el (electric-indent-local-mode): New minor mode.
261 (electric-indent-functions-without-reindent): New var.
262 (electric-indent-post-self-insert-function): Use it.
263 * emacs-lisp/gv.el (buffer-local-value): Add setter.
264
265 2013-11-05 Eli Zaretskii <eliz@gnu.org>
266
267 * international/quail.el (quail-help): Be more explicit about the
268 meaning of the labels shown on the keys. (Bug#15800)
269
270 * startup.el (normal-top-level): Load the subdirs.el files before
271 setting the locale environment. (Bug#15805)
272
273 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
276 via arguments so as to get the right ones (bug#15418).
277
278 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
279
280 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
281
282 Fix problems found while writing a test suite.
283
284 * net/tramp-compat.el (tramp-compat-load): New defun.
285 * net/tramp.el (tramp-handle-load): Use it.
286
287 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
288 "(numberp ok-if-already-exists)" correctly.
289
290 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
291
292 * international/characters.el (glyphless-char-display-control):
293 Add usage note.
294
295 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
296
297 * progmodes/python.el (python-mode):
298 * progmodes/scheme.el (scheme-mode):
299 * progmodes/prolog.el (prolog-mode):
300 * progmodes/ruby-mode.el (ruby-mode):
301 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
302 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
303
304 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * rect.el (rectangle--highlight-for-redisplay):
307 * emacs-lisp/smie.el (smie--next-indent-change):
308 Use buffer-chars-modified-tick.
309
310 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
311
312 * electric.el (electric-indent-post-self-insert-function):
313 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
314
315 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
316
317 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
318
319 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
320
321 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
322 (bug#15786).
323
324 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
327
328 * progmodes/python.el: Fix up last change.
329 (python-shell--save-temp-file): New function.
330 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
331 `string' comes from the current buffer.
332 (python-shell-send-string-no-output): Remove `msg' arg.
333 (python--use-fake-loc): New var.
334 (python-shell-buffer-substring): Obey it. Try to compensate for the
335 extra coding line added by python-shell--save-temp-file.
336 (python-shell-send-region): Use python-shell--save-temp-file and
337 python-shell-send-file directly. Add `nomain' argument.
338 (python-shell-send-buffer): Use python-shell-send-region.
339 (python-electric-pair-string-delimiter): New function.
340 (python-mode): Use it.
341
342 2013-11-04 Eli Zaretskii <eliz@gnu.org>
343
344 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
345 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
346 environment and decoding all of the default-directory's to here
347 from command-line.
348 (command-line): Decode also argv[0].
349
350 * loadup.el: Error out if default-directory is a multibyte string
351 when we are dumping.
352
353 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
354
355 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
356
357 * emacs-lisp/package.el (package-menu-mode)
358 (package-menu--print-info, package-menu--archive-predicate):
359 Add Archive column to package list.
360
361 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
362
363 Fix problems found while writing a test suite.
364
365 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
366 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
367 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
368 to nil when running original file name handler. Otherwise,
369 there are problems with constructs like "$$FOO".
370
371 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
372 for `localname'.
373
374 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
375
376 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
377
378 * subr.el (version<, version<=, version=):
379 Update docstrings with information for snapshot versions.
380
381 * helpers.el: New library for misc helper functions.
382 (hash-table-keys): New function returning a list of hash keys.
383 (hash-table-values): New function returning a list of hash values.
384
385 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
386
387 * progmodes/ruby-mode.el (ruby-smie--forward-token)
388 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
389
390 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
391
392 * textmodes/fill.el (fill-single-char-nobreak-p): New function
393 checking whether point is after a 1-letter word.
394
395 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
396
397 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
398 Don't infloop when expanding region over `multiline' syntax-type that
399 begins a line (bug#15778).
400
401 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
404 Make it into a proper minor mode.
405 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
406 (rectangle-mark-mode-map): New keymap.
407 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
408
409 2013-11-04 Glenn Morris <rgm@gnu.org>
410
411 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
412
413 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
416 (ruby-smie-rules): Use smie-rule-parent instead.
417
418 * emacs-lisp/smie.el (smie-rule-parent): Always call
419 smie-indent-virtual rather than only for hanging tokens.
420 (smie--next-indent-change): New helper command.
421
422 2013-11-03 Glenn Morris <rgm@gnu.org>
423
424 * Makefile.in (abs_srcdir): Remove.
425 (emacs): Unset EMACSLOADPATH.
426
427 2013-11-02 Glenn Morris <rgm@gnu.org>
428
429 * Makefile.in (EMACS): Use a relative filename.
430 (abs_top_builddir): Remove.
431 (custom-deps, finder-data, autoloads): Use --chdir.
432
433 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
434
435 Use relative filenames in TAGS files.
436 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
437 (lisptagsfiles4, TAGS): Use relative file names.
438 (TAGS-LISP): Remove.
439 (maintainer-clean): No more TAGS-LISP file.
440
441 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
442 (lisptagsfiles4): Use absolute filenames again.
443 (TAGS, TAGS-LISP): Not everything needs to run in one line.
444 Remove all *loaddefs files, not just the first. Remove esh-groups.
445 (maintainer-clean): Delete TAGS, TAGS-LISP.
446
447 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
448
449 * emacs-lisp/package.el (package-version-join):
450 Recognize snapshot versions.
451
452 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
453
454 * subr.el (version-regexp-alist): Add support for snapshot versions.
455
456 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
457
458 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
459 New function, replacement for `smie-rule-parent' for when we want to
460 skip over our direct parent if it's an assignment token..
461 (ruby-smie-rules): Use it.
462
463 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
464
465 * progmodes/ruby-mode.el Use `syntax-propertize-function'
466 unconditionally. Remove now unnecessary forward declarations.
467 Remove XEmacs-specific setup.
468 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
469 (ruby-font-lock-syntactic-keywords)
470 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
471 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
472 (ruby-here-doc-end-syntax): Remove.
473 (ruby-mode): Don't check whether `syntax-propertize-rules' is
474 defined as function.
475
476 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
477
478 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
479
480 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
481
482 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
483 table and abbrev table, `define-derived-mode' does that for us
484 anyway.
485
486 2013-11-01 Glenn Morris <rgm@gnu.org>
487
488 * Makefile.in: Remove manual mh-e dependencies (writing .elc
489 files is atomic for some time, so no parallel compilation issues).
490
491 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
492
493 * faces.el (face-x-resources): Add :distant-foreground.
494 (region): Use :distant-foreground for gtk and ns.
495
496 2013-11-01 Tassilo Horn <tsdh@gnu.org>
497
498 Allow multiple bibliographies when BibLaTeX is used rather than
499 BibTeX.
500 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
501 (reftex-locate-bibliography-files): Us it.
502
503 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
504
505 * image.el (image-type-header-regexps): Fix the 'pbm' part to
506 allow comments in pbm files.
507
508 * term/w32-win.el (dynamic-library-alist): Support newer versions
509 of libjpeg starting with v7: look only for the DLL from the
510 version against which Emacs was built.
511 Support versions of libpng beyond 1.4.x.
512 Support libtiff v4.x.
513
514 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
515
516 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
517 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
518 Add property :safe.
519 (ruby-deep-arglist): Add property :type.
520
521 2013-10-31 Glenn Morris <rgm@gnu.org>
522
523 * Makefile.in (custom-deps, finder-data): No need to setq the target
524 variables, we are in the right directory and the defaults work fine.
525
526 2013-10-30 Glenn Morris <rgm@gnu.org>
527
528 * Makefile.in (autoloads): Do not use abs_lisp.
529
530 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
531 `newline' does not respect `standard-output', so use `princ'.
532
533 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
534
535 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
536 * buff-menu.el (Buffer-menu--unmark): New function.
537 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
538
539 2013-10-30 Glenn Morris <rgm@gnu.org>
540
541 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
542
543 * emacs-lisp/package.el (lm-homepage): Declare.
544
545 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
546 Fix doc typos.
547
548 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
549
550 * Makefile.in (finder-data, autoloads, update-subdirs)
551 (compile-main, compile-clean, compile-always, bootstrap-clean):
552 Check return value of cd.
553 (compile-calc): Remove.
554
555 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
558
559 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
560 (byte-compile-and-folded): New function.
561 (=, <, >, <=, >=): Use it.
562
563 * dos-w32.el (minibuffer-history-case-insensitive-variables)
564 (path-separator, null-device, buffer-file-coding-system)
565 (lpr-headers-switches): Check system-type before modifying them.
566 (find-buffer-file-type-coding-system): Mark obsolete.
567 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
568 find-file-not-found-set-buffer-file-coding-system.
569 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
570 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
571 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
572 (w32-direct-print-region-helper, w32-direct-print-region-function)
573 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
574 * startup.el (normal-top-level-add-subdirs-to-load-path):
575 * ps-print.el (ps-print-region-function):
576 * lpr.el (print-region-function): Use new name.
577
578 * subr.el (custom-declare-variable-early): Remove function.
579 (custom-declare-variable-list): Remove var.
580 (error, user-error): Remove `while' loop.
581 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
582 (user-emacs-directory-warning, locate-user-emacs-file):
583 Move to files.el.
584 * simple.el (read-quoted-char-radix, read-quoted-char):
585 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
586 Move from subr.el.
587 * custom.el (custom-declare-variable-list): Don't process
588 custom-declare-variable-list.
589
590 * progmodes/python.el (python-shell-get-buffer): New function.
591 (python-shell-get-process): Use it.
592 (python-shell-send-string): Always use utf-8 and add a cookie to tell
593 Python which encoding was used. Don't split-string since we only care
594 about the first line. Return the temp-file, if applicable.
595 (python-shell-send-region): Tell compile.el how to turn locations in
596 the temp-file into locations in the source buffer.
597
598 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
599
600 * subr.el (undefined): Add missing behavior from the C code for
601 unbound keys.
602
603 * rect.el: Use lexical-binding. Add new rectangular region support.
604 (rectangle-mark): New command.
605 (rectangle--region): New var.
606 (deactivate-mark-hook): Reset rectangle--region.
607 (rectangle--extract-region, rectangle--insert-for-yank)
608 (rectangle--highlight-for-redisplay)
609 (rectangle--unhighlight-for-redisplay): New functions.
610 (region-extract-function, redisplay-unhighlight-region-function)
611 (redisplay-highlight-region-function): Use them to handle
612 rectangular region.
613 * simple.el (region-extract-function): New var.
614 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
615 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
616 (kill-region): Replace obsolete `yank-handler' arg with `region'.
617 (copy-region-as-kill, kill-ring-save): Add `region' argument.
618 (redisplay-unhighlight-region-function)
619 (redisplay-highlight-region-function): New vars.
620 (redisplay--update-region-highlight): New function.
621 (pre-redisplay-function): Use it.
622 (exchange-point-and-mark): Don't deactivate the mark before
623 reactivate-it anyway.
624 * comint.el (comint-kill-region): Remove yank-handler argument.
625 * delsel.el (delete-backward-char, backward-delete-char-untabify)
626 (delete-char): Remove property, since it's now part of their
627 default behavior.
628 (self-insert-iso): Remove property since this command doesn't exist.
629
630 * emacs-lisp/package.el (package--download-one-archive)
631 (describe-package-1): Don't query the user about final newline.
632
633 2013-10-29 Daniel Colascione <dancol@dancol.org>
634
635 * net/tramp.el (tramp-methods): Document new functionality.
636 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
637 tramp-hostname-checker if method provides one instead of scanning
638 argument list for "%h" to decide hostname acceptability.
639
640 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
641
642 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
643 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
644 Handle COPY-CONTENTS. (Bug#15737)
645
646 2013-10-28 Daiki Ueno <ueno@gnu.org>
647
648 * epa-file.el
649 (epa-file-cache-passphrase-for-symmetric-encryption):
650 Document that this option has no effect with GnuPG 2.0 (bug#15552).
651
652 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
653
654 * image.el (defimage):
655 (image-load-path): Doc fixes.
656
657 2013-10-27 Alan Mackenzie <acm@muc.de>
658
659 Indent statements in macros following "##" correctly.
660 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
661 Modify the "#" arm of a cond form to handle "#" and "##" operators.
662
663 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
664
665 * linum.el (linum-update-window): Fix boundary test (bug#13446).
666
667 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
668
669 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
670 after `=' is probably a new expression.
671
672 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
673
674 * man.el (man-imenu-title): New option.
675 (Man-mode-map): Add menu. (Bug#15722)
676 (Man-mode): Add imenu to menu.
677
678 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
679
680 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
681 specific in what the first arg can be: a non-keyword word,
682 string/regexp/percent literal opener, opening paren, or unary
683 operator followed directly by word.
684
685 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
688 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
689 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
690 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
691 Remove vars, they do not apply any more.
692 (prolog-mode-abbrev-table): Remove redundant declaration.
693 (prolog-upper-case-string, prolog-lower-case-string): Remove.
694 (prolog-use-smie): Remove.
695 (prolog-smie-rules): Add indentation rule for the if-then-else layout
696 supported by prolog-electric-if-then-else-flag.
697 (prolog-mode-variables, prolog-menu): Use setq-local.
698 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
699 Remove binding to `Backspace' since this key doesn't exist anyway.
700 Remove bindings for electric self-inserting keys.
701 (prog-mode): Assume it's defined.
702 (prolog-post-self-insert): New function.
703 (prolog-mode): Use it.
704 (prolog-indent-line, prolog-indent-level)
705 (prolog-find-indent-of-matching-paren)
706 (prolog-indentation-level-of-line, prolog-goto-comment-column)
707 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
708 (prolog-goto-next-paren, prolog-in-string-or-comment)
709 (prolog-tokenize, prolog-inside-mline-comment)
710 (prolog-find-start-of-mline-comment): Remove functions.
711 (prolog-find-unmatched-paren, prolog-clause-end)
712 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
713 (prolog-electric--if-then-else): Rename from
714 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
715 (prolog-tokenize-searchkey): Remove const.
716 (prolog-clause-info): Use forward-sexp.
717 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
718 (prolog-electric-if-then-else): Remove commands.
719 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
720 for use in post-self-insert-hook.
721 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
722 for use in post-self-insert-hook.
723 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
724 for use in post-self-insert-hook.
725 (prolog-electric--underscore): Rename from prolog-electric--underscore;
726 adapt it for use in post-self-insert-hook.
727
728 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
729
730 * emacs-lisp/ert.el (ert-run-tests-interactively):
731 Use `completing-read'. (Bug#9756)
732
733 2013-10-25 Eli Zaretskii <eliz@gnu.org>
734
735 * simple.el (line-move): Call line-move-1 instead of
736 line-move-visual when the current window hscroll is zero, but
737 temporary-goal-column indicates we will need to hscroll as result
738 of the movement. (Bug#15712)
739
740 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
741
742 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
743 capitalization. Use :visible instead of :active.
744 Fix `ruby-indent-exp' reference. Add menu items for the generic
745 commands that are used with SMIE.
746 (ruby-do-end-to-brace): Insert space after `{'.
747
748 2013-10-25 John Anthony <john@jo.hnanthony.com>
749
750 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
751
752 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
753
754 2013-10-25 Glenn Morris <rgm@gnu.org>
755
756 * vc/vc.el (vc-print-log): Don't use a working revision unless
757 one was explicitly specified. (Bug#15322)
758
759 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * subr.el (add-to-list): Preserve return value in compiler-macro
762 (bug#15692).
763
764 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
765
766 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
767 result. Ask user to retry using '-all' flag. (Bug#15701)
768
769 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
770
771 * emacs-lisp/smie.el: New smie-config system.
772 (smie-config): New defcustom.
773 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
774 (smie-config-guess, smie-config-save): New commands.
775 (smie-config--mode-local, smie-config--buffer-local)
776 (smie-config--trace, smie-config--modefuns): New vars.
777 (smie-config--advice, smie-config--mode-hook)
778 (smie-config--setter, smie-config-local, smie-config--get-trace)
779 (smie-config--guess-value, smie-config--guess): New functions.
780 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
781 text properties. Treat "string fence" syntax like string syntax.
782
783 * progmodes/sh-script.el (sh-use-smie): Change default.
784 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
785 (sh-var-value): Simplify by CSE.
786 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
787 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
788 is used.
789 (sh-guess-basic-offset): Use cl-incf.
790 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
791
792 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
793
794 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
795 (bug#15699).
796
797 2013-10-24 Glenn Morris <rgm@gnu.org>
798
799 * Makefile.in (abs_top_srcdir): Remove.
800 (update-subdirs): Use relative path to update-subdirs.
801
802 2013-10-24 Eli Zaretskii <eliz@gnu.org>
803
804 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
805 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
806 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
807 Call unmsys--file-name before expand-file-name, not after it.
808
809 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
810
811 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
812 (ert-test-skipped): New error.
813 (ert-skip, ert-stats-skipped): New defuns.
814 (ert--skip-unless): New macro.
815 (ert-test-skipped): New struct.
816 (ert--run-test-debugger, ert-test-result-type-p)
817 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
818 (ert--stats-set-test-and-result, ert-char-for-test-result)
819 (ert-string-for-test-result, ert-run-tests-batch)
820 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
821 Handle skipped tests. (Bug#9803)
822
823 2013-10-24 Glenn Morris <rgm@gnu.org>
824
825 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
826
827 * Makefile.in (abs_top_srcdir): New, set by configure.
828 (update-subdirs): Correct build-aux location.
829
830 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
831
832 * vc/vc.el (vc-print-root-log): Always set `default-directory'
833 value, whether we could auto-deduce `backend', or not.
834
835 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
836 with parameters" example. Simplify the "is it block or is it
837 hash" check, but also make it more thorough.
838
839 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
840
841 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
842
843 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
846 { if it is hanging.
847
848 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
849 :before ";".
850
851 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
852
853 * progmodes/compile.el (compilation-directory-matcher)
854 (compilation-page-delimiter):
855 Support GNU Make-4.0 directory quoting. (Bug#15678)
856
857 2013-10-23 Leo Liu <sdl.web@gmail.com>
858
859 * ido.el (ido-tidy): Handle read-only text.
860
861 2013-10-23 Glenn Morris <rgm@gnu.org>
862
863 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
864 (emacs, compile, compile-always):
865 Quote entities that might contain whitespace.
866 (custom-deps, finder-data, autoloads): Use abs_lisp.
867 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
868 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
869 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
870
871 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
872
873 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
874 Use `following-char'.
875
876 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
877
878 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
879 * progmodes/ruby-mode.el (ruby-smie-rules):
880 Remove corresponding workaround. Fix indentation rule of ";" so it
881 also applies when ";" is the parent.
882
883 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
884
885 * frame.el (display-screens, display-pixel-height)
886 (display-pixel-width, display-mm-width, display-backing-store)
887 (display-save-under, display-planes, display-color-cells)
888 (display-visual-class, display-monitor-attributes-list):
889 Mention the optional ‘display’ argument in doc strings.
890
891 2013-10-22 Michael Gauland <mikelygee@amuri.net>
892
893 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
894 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
895
896 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
897
898 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
899 TODO. Add "." after " @ ".
900 (ruby-smie--at-dot-call): New function. Checks if point at method
901 call with explicit target.
902 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
903 to the method name tokens when it precedes them.
904 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
905 (ruby-smie-rules): Add rule for indentation before and after "."
906 token.
907
908 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * textmodes/remember.el (remember-diary-extract-entries):
911 Avoid add-to-list.
912
913 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
914 an instruction.
915
916 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
917
918 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
919 (ruby-smie--implicit-semi-p): Add new operator chars.
920
921 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
922 `smie-down-list'.
923 (ruby-smie--args-separator-p): Check that there's no newline
924 between method call and its arguments.
925
926 2013-10-20 Alan Mackenzie <acm@muc.de>
927
928 Allow comma separated lists after Java "implements".
929
930 * progmodes/cc-engine.el (c-backward-over-enum-header):
931 Parse commas.
932 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
933 from a "disallowed" list in enum fontification.
934
935 2013-10-20 Johan Bockgård <bojohan@gnu.org>
936
937 * startup.el (default-frame-background-mode): Remove unused defvar.
938
939 * progmodes/verilog-mode.el (verilog-mode): Don't set
940 comment-indent-function globally.
941
942 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
943
944 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
945 Move Info menu item creation to ns-win.el.
946
947 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
948 in menu bar.
949
950 * menu-bar.el: Move GNUStep specific menus...
951
952 * term/ns-win.el (ns-initialize-window-system): ... to here.
953
954 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
955
956 * simple.el (newline): Only run post-self-insert-hook when
957 called interactively.
958
959 2013-10-19 Johan Bockgård <bojohan@gnu.org>
960
961 * icomplete.el (icomplete-with-completion-tables): Add :version.
962
963 2013-10-19 Alan Mackenzie <acm@muc.de>
964
965 Fix fontification bugs with constructors and const.
966
967 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
968 CASE 2) Remove the check for the absence of a suffix construct
969 after a function declaration with only types (no identifiers) in
970 the parentheses. Also, accept a function declaration with just a
971 type inside the parentheses, if this type can be positively
972 recognised as such, or if a prefix keyword like "explicit" nails
973 down the construct as a declaration.
974
975 2013-10-19 Eli Zaretskii <eliz@gnu.org>
976
977 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
978 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
979 the problem whereby selecting a menu item that leads to a
980 minibuffer prompt moves the cursor out of the minibuffer window,
981 making it hard to type at the prompt. Suggested by Stefan Monnier
982 <monnier@iro.umontreal.ca>.
983
984 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
985
986 * menu-bar.el: Don't make Services menu.
987
988 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
989
990 * ffap.el: Handle "/usr/include/c++/<version>" directories.
991 (ffap-alist): Use ffap-c++-mode for c++-mode.
992 (ffap-c++-path): New variable.
993 (ffap-c++-mode): New function.
994
995 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
996
997 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
998
999 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1000
1001 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1002 introduced on 2013-09-08, which results in an infinite loop
1003 requesting a password.
1004
1005 2013-10-18 Glenn Morris <rgm@gnu.org>
1006
1007 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1008
1009 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1010
1011 Sync with upstream verilog-mode revision 1a6ecec7.
1012 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1013 (verilog-mode-release-date): Remove.
1014 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1015 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1016 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1017 (verilog-auto-tieoff-ignore-regexp)
1018 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1019 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1020 (verilog-signals-with, verilog-dir-cache-preserving)
1021 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1022 Doc fixes.
1023 (verilog-case-fold): New option, to control case folding in
1024 regexp searches, bug597.
1025 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1026 (verilog-string-match-fold, verilog-in-paren-count)
1027 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1028 (verilog-at-close-struct-p): New functions.
1029 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1030 (verilog-forward-sexp, verilog-set-auto-endcomments):
1031 (verilog-leap-to-case-head): Handle "unique0" case.
1032 (verilog-in-constraint-re): New constant.
1033 (verilog-keywords, verilog-type-font-keywords):
1034 Add some SystemVerilog 1800-2012 keywords.
1035 (verilog-label-be): Remove unimplemented argument, bug669.
1036 (verilog-batch-execute-func): When batch expanding clear
1037 create-lockfiles to prevent spurious user locks when a file ends
1038 up not changing.
1039 (verilog-calculate-indent, verilog-calc-1)
1040 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1041 (verilog-do-indent): Fix indentation of nested constraints
1042 and structures.
1043 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1044 (verilog-auto-inst-param): Use verilog-string-match-fold.
1045 (verilog-read-inst-module-matcher):
1046 Fix AUTOINST on gate primitives with #1.
1047 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1048 Reads all user-defined typed variables.
1049 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1050 (verilog-signals-matching-regexp)
1051 (verilog-signals-not-matching-regexp, verilog-auto):
1052 Respect verilog-case-fold.
1053 (verilog-diff-report): Fix line count.
1054 (verilog-auto-assign-modport): Remove unused local `modi'.
1055 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1056 better handle multidimensional arrays.
1057 Fix packed array ports misadding bit index in AUTOINST, bug637.
1058 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1059 to not double-declare existing outputs and inputs, respectively.
1060 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1061 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1062 (verilog-sk-uvm-component): New skeleton.
1063 (verilog-submit-bug-report): Add verilog-case-fold,
1064 remove verilog-mode-release-date.
1065
1066 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1067
1068 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1069 as before.
1070
1071 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1072
1073 * textmodes/remember.el (remember): set buffer-offer-save in
1074 remember buffers (bug#13566).
1075
1076 2013-10-18 Daniel Colascione <dancol@dancol.org>
1077
1078 When evaluating forms in ielm, direct standard output to ielm
1079 buffer. Add new ielm-return-for-effect command. Remove trailing
1080 whitespace throughout.
1081
1082 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1083 (ielm-return-for-effect): New command.
1084 (ielm-send-input): Accept optional `for-effect' parameter.
1085 (ielm-eval-input): Accept optional `for-effect' parameter.
1086 Bind `standard-output' to stream we create using
1087 `ielm-standard-output-impl'. Suppress printing result when
1088 `for-effect'.
1089 (ielm-standard-output-impl): New function.
1090 (inferior-emacs-lisp-mode): Explain new features in documentation.
1091
1092 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1093
1094 Code cleanup.
1095
1096 * net/tramp.el (tramp-debug-message): Do not check for connection
1097 buffer.
1098 (tramp-message): Use "vector" connection property.
1099
1100 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1101 (tramp-equal-remote, tramp-eshell-directory-change)
1102 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1103 (tramp-adb-handle-rename-file)
1104 * net/tramp-cmds.el (tramp-list-remote-buffers)
1105 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1106 * net/tramp-compat.el (tramp-compat-process-running-p)
1107 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1108 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1109 (tramp-gvfs-handle-rename-file)
1110 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1111 (tramp-set-file-uid-gid)
1112 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1113 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1114 of `file-remote-p'.
1115
1116 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1117 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1118 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1119 (tramp-gw-open-network-stream): Suppress unrelated traces.
1120
1121 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1122 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1123 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1124 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1125 connection property.
1126
1127 * net/tramp-cache.el (top): Suppress traces when reading
1128 persistency file.
1129
1130 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1131 Refactor common code. Improve debug message.
1132 (tramp-maybe-open-connection)
1133 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1134 connection buffer too early.
1135
1136 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1137 from `tramp-smb-actions-with-acl'.
1138 (tramp-smb-actions-set-acl): New defconst.
1139 (tramp-smb-handle-copy-directory)
1140 (tramp-smb-action-get-acl): New defun, renamed from
1141 `tramp-smb-action-with-acl'.
1142 (tramp-smb-action-set-acl): New defun.
1143 (tramp-smb-handle-set-file-acl): Rewrite.
1144
1145 2013-10-17 Glenn Morris <rgm@gnu.org>
1146
1147 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1148
1149 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * skeleton.el (skeleton-newline): Remove.
1152 (skeleton-internal-1): Use (insert "\n") instead.
1153
1154 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1155 let-bindings.
1156
1157 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1158 forward-sexp-function while we redo its job (bug#15613).
1159
1160 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1161
1162 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1163 represented by lists.
1164
1165 2013-10-16 Glenn Morris <rgm@gnu.org>
1166
1167 * tmm.el (tmm--history): New dynamic variable.
1168 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1169
1170 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1171
1172 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1173 (tramp-smb-errors): Add error messages.
1174 (tramp-smb-actions-with-acl): New defconst.
1175 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1176 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1177 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1178 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1179 (tramp-smb-get-stat-capability): Fix tests.
1180
1181 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1182
1183 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1184 (bug#15580).
1185
1186 2013-10-16 Glenn Morris <rgm@gnu.org>
1187
1188 * ansi-color.el (ansi-color-drop-regexp):
1189 Add 1J, 1K, 2K. (Bug#15617)
1190
1191 * files.el (hack-local-variables--warned-lexical): New.
1192 (hack-local-variables):
1193 Warn about misplaced lexical-binding. (Bug#15616)
1194
1195 * net/eww.el (eww-render): Always set eww-current-url,
1196 and update header line. (Bug#15622)
1197 (eww-display-html): ... Rather than just doing it here.
1198
1199 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1200
1201 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1202 menu navigations commands.
1203
1204 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1205
1206 * progmodes/subword.el (subword-capitalize): Be careful when
1207 the search for [[:alpha:]] fails (bug#15580).
1208
1209 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1210
1211 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1212 to commands that scroll the menu.
1213
1214 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1215
1216 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1217 Handle methods ending with `?' and `!'.
1218
1219 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1220
1221 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1222 `japanese-cp932' to `cp932' to fix the problem where saving a
1223 source file written in Shift_JIS twice would end up having
1224 `coding: japanese-cp932' which Ruby could not recognize.
1225 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1226 in `ruby-encoding-map'.
1227 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1228 doesn't need to be explicitly declared in magic comment.
1229 (ruby-encoding-map): Add type declaration for better customize UI.
1230
1231 2013-10-13 Glenn Morris <rgm@gnu.org>
1232
1233 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1234 Occur buffers are read-only. http://bugs.debian.org/720775
1235
1236 * emacs-lisp/authors.el (authors-fixed-entries):
1237 Comment out old alpha stuff.
1238
1239 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1240
1241 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1242 to `after-save-hook' instead of `before-save-hook'.
1243 (ruby-mode-set-encoding): Use the value of coding system used to
1244 write the file. Call `basic-save-buffer-1' after modifying the
1245 buffer.
1246
1247 2013-10-13 Alan Mackenzie <acm@muc.de>
1248
1249 Fix indentation/fontification of Java enum with
1250 "implements"/generic.
1251
1252 * progmodes/cc-engine.el (c-backward-over-enum-header):
1253 Extracted from the three other places and enhanced to handle generics.
1254 (c-inside-bracelist-p): Uses new function above.
1255 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1256 function above.
1257 (c-font-lock-enum-tail): Uses new function above.
1258
1259 2013-10-13 Kenichi Handa <handa@gnu.org>
1260
1261 * international/mule-cmds.el (select-safe-coding-system): Remove a
1262 superfluous condition in chekcing whether a coding system is safe
1263 or not.
1264
1265 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1266
1267 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1268
1269 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1270
1271 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1272
1273 2013-10-13 Glenn Morris <rgm@gnu.org>
1274
1275 * menu-bar.el (menu-bar-update-buffers):
1276 Unify Buffers menu prompt string. (Bug#15576)
1277
1278 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1279
1280 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1281 Add some entries.
1282 (authors-fixed-entries): Use accented form of name.
1283
1284 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1287 method calls (bug#15594).
1288 (ruby-smie--args-separator-p): New function.
1289 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1290 recognize paren-free method calls.
1291
1292 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1293 internals of universal-argument.
1294
1295 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1296
1297 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1298 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1299 dropped menu on second mouse click on the menu bar.
1300
1301 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1304 (explicit-shell-file-name): Declare.
1305 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1306 (sh-completion-at-point-function): New function.
1307 (sh-mode): Use it.
1308 (sh-smie--keyword-p): Remove unused argument.
1309 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1310 vars.
1311 (sh-set-shell): Always setup SMIE, even if we use the
1312 old indentation code.
1313
1314 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1315
1316 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1317 cases of ? and =.
1318 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1319 predicate would return nil are almost non-existent.
1320 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1321
1322 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1323 cache also after commands that modify the buffer but don't move
1324 point.
1325
1326 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * env.el (substitute-env-in-file-name): New function.
1329 (substitute-env-vars): Extend the meaning of the optional arg.
1330
1331 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1332
1333 * term/w32-win.el (dynamic-library-alist): Define separate lists
1334 of GIF DLLs for versions before and after 5.0.0 of giflib.
1335 (Bug#15531)
1336
1337 2013-10-10 João Távora <joaotavora@gmail.com>
1338
1339 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1340 not locked, use last revision and current source as
1341 defaults. (Bug#15569)
1342
1343 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1344
1345 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1346 menu-bar is hidden.
1347
1348 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1349
1350 * window.el (pop-to-buffer-same-window): Fix doc-string.
1351 (Bug#15492)
1352
1353 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1354
1355 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1356
1357 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1358
1359 * calendar/icalendar.el (icalendar-import-file):
1360 Fix interactive spec. (Bug#15482)
1361
1362 2013-10-10 Glenn Morris <rgm@gnu.org>
1363
1364 * desktop.el (desktop-save): Default to saving in .emacs.d,
1365 since PWD is no longer in desktop-path by default. (Bug#15319)
1366
1367 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1368 now that text mode has a menu with the same entry.
1369 (menu-bar-text-mode-auto-fill): Remove now unused func.
1370 * textmodes/text-mode.el (text-mode-map):
1371 Use auto-fill help text from menu-bar.el.
1372
1373 2013-10-10 John Anthony <john@jo.hnanthony.com>
1374
1375 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1376
1377 2013-10-09 Juri Linkov <juri@jurta.org>
1378
1379 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1380 instead of this-command-keys. Add universal-argument-more and
1381 universal-argument-minus to the list of prefix commands. (Bug#15568)
1382
1383 2013-10-09 Glenn Morris <rgm@gnu.org>
1384
1385 * vc/vc-svn.el (vc-svn-create-repo):
1386 Expand paths in file://... url. (Bug#15446)
1387
1388 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1389 Add some entries.
1390 (authors): Remove unused local variables.
1391
1392 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * profiler.el: Create a more coherent calltree from partial backtraces.
1395 (profiler-format): Hide the tail with `invisible' so that C-s can still
1396 find the hidden elements.
1397 (profiler-calltree-depth): Don't recurse so enthusiastically.
1398 (profiler-function-equal): New hash-table-test.
1399 (profiler-calltree-build-unified): New function.
1400 (profiler-calltree-build): Use it.
1401 (profiler-report-make-name-part): Indent the calltree less.
1402 (profiler-report-mode): Add visibility specs for profiler-format.
1403 (profiler-report-expand-entry, profiler-report-toggle-entry):
1404 Expand the whole subtree when provided with a prefix arg.
1405
1406 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1407
1408 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1409 iuwu-mod token.
1410 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1411 hanging iuwu-mod token.
1412 (ruby-smie--forward-token): Do not include a dot after a token in
1413 that token.
1414 (ruby-smie--backward-token): Likewise.
1415
1416 2013-10-08 Juri Linkov <juri@jurta.org>
1417
1418 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1419 to isearch-other-control-char.
1420 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1421 and isearch-post-command-hook to post-command-hook.
1422 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1423 and isearch-post-command-hook from post-command-hook.
1424 (isearch-unread-key-sequence)
1425 (isearch-reread-key-sequence-naturally)
1426 (isearch-lookup-scroll-key, isearch-other-control-char)
1427 (isearch-other-meta-char): Remove functions.
1428 (isearch-pre-command-hook, isearch-post-command-hook):
1429 New functions based on isearch-other-meta-char rewritten
1430 relying on the new behavior of overriding-terminal-local-map
1431 that does not replace the local keymaps any more. (Bug#15200)
1432
1433 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1434
1435 Support menus on text-mode terminals.
1436 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1437 functionality.
1438
1439 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1440
1441 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1442 Move here from mouse.el.
1443 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1444 and arrow keys.
1445 (tty-menu-navigation-map): New map for TTY menu navigation.
1446
1447 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1448
1449 * frame.el (display-mouse-p): Report text-mode mouse as available
1450 on w32.
1451 (display-popup-menus-p): Report availability if mouse is
1452 available; don't condition on window-system.
1453
1454 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1455 (tty-menu-selected-face): New faces.
1456
1457 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1460 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1461 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1462 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1463 New constants.
1464 (lisp-mode-variables): New `elisp' argument.
1465 (emacs-lisp-mode): Use it.
1466 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1467 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1468
1469 * indent.el: Use lexical-binding.
1470 (indent-region): Add progress reporter.
1471 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1472 last step.
1473 (indent--next-tab-stop): New function to implement this behavior.
1474 (tab-to-tab-stop, move-to-tab-stop): Use it.
1475
1476 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1477
1478 * indent.el (indent-rigidly--current-indentation): New function.
1479 (indent-rigidly-map): New var.
1480 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1481
1482 2013-10-08 Bastien Guerry <bzg@gnu.org>
1483
1484 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1485
1486 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1487
1488 * progmodes/perl-mode.el: Use lexical-binding.
1489 Remove redundant :group args.
1490 (perl-nochange): Change default to be closer to other major modes's
1491 standard behavior.
1492 (perl-indent-line): Don't consider text on current line as a
1493 valid beginning of function from which to indent.
1494
1495 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1496 with more than one argument (bug#15538).
1497
1498 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1499
1500 * vc/pcvs.el: Use lexical-binding.
1501 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1502 environment of `eval'.
1503 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1504 than a list of expressions. Adjust callers.
1505 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1506
1507 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1508
1509 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1510 case of the dot in a chained method call being on the following line.
1511
1512 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * electric.el (electric-indent-inhibit): New var.
1515 (electric-indent-post-self-insert-function): Use it.
1516 * progmodes/python.el (python-mode): Set it.
1517
1518 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1519 open braces.
1520
1521 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1522
1523 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1524 (css-mode): Use electric-indent-chars.
1525
1526 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1527 (font-lock-beg, font-lock-end): Move before first use.
1528 (nxml-mode): Use syntax-propertize-function.
1529 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1530 (nxml-extend-after-change-region): Remove.
1531 * nxml/xmltok.el: Use lexical-binding.
1532 (xmltok-save): Use `declare'.
1533 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1534 * nxml/nxml-util.el: Use lexical-binding.
1535 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1536 Use `declare'.
1537 * nxml/nxml-ns.el: Use lexical-binding.
1538 (nxml-ns-save): Use `declare'.
1539 (nxml-ns-prefixes-for): Avoid add-to-list.
1540 * nxml/rng-match.el: Use lexical-binding.
1541 (rng--ipattern): Use cl-defstruct.
1542 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1543 (rng-cons-group-after, rng-subst-group-after)
1544 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1545 Use closures instead of `(lambda...).
1546
1547 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1548
1549 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1550 of BEG and END.
1551
1552 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1553 Use `tramp-handle-insert-file-contents'.
1554 (tramp-gvfs-handle-insert-file-contents): Remove function.
1555
1556 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1557 Use `save-restriction' in order to keep markers.
1558
1559 * net/trampver.el: Update release number.
1560
1561 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * progmodes/compile.el (compilation-parse-errors):
1564 Use compilation--put-prop.
1565 (compilation--ensure-parse): Check compilation-multiline.
1566
1567 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1568
1569 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1570 lexical-binding.
1571
1572 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1573
1574 * progmodes/ruby-mode.el: Fix recently added tests.
1575 (ruby-smie-grammar): Add - and +.
1576 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1577 (ruby-smie--backward-id): New functions.
1578 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1579 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1580 any more.
1581
1582 2013-10-07 Leo Liu <sdl.web@gmail.com>
1583
1584 * register.el (register-preview-delay)
1585 (register-preview-functions): New variables.
1586 (register-read-with-preview, register-preview)
1587 (register-describe-oneline): New functions.
1588 (point-to-register, window-configuration-to-register)
1589 (frame-configuration-to-register, jump-to-register)
1590 (number-to-register, view-register, insert-register)
1591 (copy-to-register, append-to-register, prepend-to-register)
1592 (copy-rectangle-to-register): Use register-read-with-preview to
1593 read register. (Bug#15525)
1594
1595 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1596
1597 * net/network-stream.el (network-stream-open-starttls): Don't add
1598 --insecure if it's already present, because that gnutls-cli
1599 rejects getting that parameter twice.
1600
1601 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1602
1603 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1604 keyword, too.
1605
1606 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1607
1608 * newcomment.el (comment-use-global-state): Change default value
1609 to t, mark obsolete (Bug#15251).
1610 (comment-beginning): In addition to `comment-to-syntax', check the
1611 value of `comment-use-global-state'.
1612
1613 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1616 (ruby-comment-column): Follow the global default, by default.
1617 (ruby-smie-grammar): Add assignment syntax.
1618 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1619 open-paren, a comma, or a \.
1620 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1621 and line continuations.
1622 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1623 followed by implicit semi-colons. Add rule for string concatenation
1624 and for indentation at BOB.
1625 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1626
1627 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1628 calling next-sexp, since next-token may have skipped chars which
1629 next-sexp doesn't know should be skipped!
1630
1631 2013-10-05 Leo Liu <sdl.web@gmail.com>
1632
1633 * progmodes/octave.el (octave-send-region):
1634 Call compilation-forget-errors.
1635
1636 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1637
1638 * vc/vc-svn.el (vc-svn-find-admin-dir):
1639 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1640 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1641 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1642 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1643
1644 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1647
1648 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1650 * subr.el (read-passwd): Hide chars even when called within a context
1651 where after-change-functions is disabled (bug#15501).
1652 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1653 until we removed ourself from overriding-terminal-local-map.
1654
1655 2013-10-04 Leo Liu <sdl.web@gmail.com>
1656
1657 * progmodes/octave.el (inferior-octave-mode):
1658 Call compilation-forget-errors.
1659
1660 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1661
1662 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1663
1664 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1665
1666 * net/secrets.el (secrets-create-collection): Add optional
1667 argument ALIAS. Use proper Label keyword. Append ALIAS as
1668 dbus-call-method argument. (Bug#15516)
1669
1670 2013-10-04 Leo Liu <sdl.web@gmail.com>
1671
1672 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1673 (inferior-octave-compilation-font-lock-keywords): New variables.
1674 (compilation-error-regexp-alist)
1675 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1676 (inferior-octave-mode): Use compilation-shell-minor-mode.
1677
1678 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1679
1680 * minibuffer.el (completion--replace): Be careful that `end' might be
1681 a marker.
1682
1683 2013-10-03 Daiki Ueno <ueno@gnu.org>
1684
1685 Add support for package signature checking.
1686 * emacs-lisp/package.el (url-http-file-exists-p)
1687 (epg-make-context, epg-context-set-home-directory)
1688 (epg-verify-string, epg-context-result-for)
1689 (epg-signature-status, epg-signature-to-string)
1690 (epg-check-configuration, epg-configuration)
1691 (epg-import-keys-from-file): Declare.
1692 (package-check-signature): New user option.
1693 (package-unsigned-archives): New user option.
1694 (package-desc): Add `signed' field.
1695 (package-load-descriptor): Set `signed' field if .signed file exists.
1696 (package--archive-file-exists-p): New function.
1697 (package--check-signature): New function.
1698 (package-install-from-archive): Check package signature.
1699 (package--download-one-archive): Check archive signature.
1700 (package-delete): Remove .signed file.
1701 (package-import-keyring): New command.
1702 (package-refresh-contents): Import default keyring.
1703 (package-desc-status): Add "unsigned" status.
1704 (describe-package-1, package-menu--print-info)
1705 (package-menu-mark-delete, package-menu--find-upgrades)
1706 (package-menu--status-predicate): Support "unsigned" status.
1707
1708 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1709
1710 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1711 the new compilation scheme using the new byte-codes.
1712
1713 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1714 (byte-pophandler): New byte codes.
1715 (byte-goto-ops): Adjust accordingly.
1716 (byte-compile--use-old-handlers): New var.
1717 (byte-compile-catch): Use new byte codes depending on
1718 byte-compile--use-old-handlers.
1719 (byte-compile-condition-case--old): Rename from
1720 byte-compile-condition-case.
1721 (byte-compile-condition-case--new): New function.
1722 (byte-compile-condition-case): New function that dispatches depending
1723 on byte-compile--use-old-handlers.
1724 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1725 when we can.
1726
1727 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1728 Optimize under `condition-case' and `catch' if
1729 byte-compile--use-old-handlers is nil.
1730 (disassemble-offset): Handle new bytecodes.
1731
1732 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * subr.el (error): Use `declare'.
1735 (decode-char, encode-char): Use advertised-calling-convention instead
1736 of the docstring to discourage use of the `restriction' arg.
1737
1738 2013-10-03 Daiki Ueno <ueno@gnu.org>
1739
1740 * epg.el (epg-verify-file): Add a comment saying that it does not
1741 notify verification error as a return value nor a signal.
1742 (epg-verify-string): Ditto.
1743
1744 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1745
1746 * progmodes/compile.el (compilation-start): Try globbing the arg to
1747 `cd' (bug#15417).
1748
1749 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1750
1751 Sync with Tramp 2.2.8.
1752
1753 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1754 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1755 * net/trampver.el: Update release number.
1756
1757 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1758
1759 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1760 and default-process-coding-system for darwin only.
1761
1762 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1765
1766 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1767
1768 * vc/vc-git.el (vc-git-grep): Disable pager.
1769
1770 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1771
1772 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1773 Use :url instead of :homepage, as per
1774 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1775
1776 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1777 non-nil, use `syntax-ppss' (Bug#15251).
1778
1779 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1780
1781 * progmodes/octave.el (inferior-octave-startup-file):
1782 Prefer ~/.emacs.d/init_octave.m.
1783
1784 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1785
1786 * emacs-lisp/package.el (package-desc-from-define):
1787 Accept additional arguments as plist, convert them to an alist and store
1788 them in the `extras' slot.
1789 (package-generate-description-file): Convert extras alist back to
1790 plist and append to the `define-package' form arguments.
1791 (package--alist-to-plist): New function.
1792 (package--ac-desc): Add `extras' slot.
1793 (package--add-to-archive-contents): Check if the archive-contents
1794 vector is long enough, and if it is, pass its `extras' slot value
1795 to `package-desc-create'.
1796 (package-buffer-info): Call `lm-homepage', pass the returned value
1797 to `package-desc-from-define'.
1798 (describe-package-1): Render the homepage button (Bug#13291).
1799
1800 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1801 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1802
1803 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1804
1805 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1806 and default-process-coding-system to utf-8-unix (Bug#15402).
1807
1808 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1809
1810 * subr.el (looking-back): Do not recommend using looking-back.
1811
1812 2013-09-28 Alan Mackenzie <acm@muc.de>
1813
1814 Fix indentation/fontification of Java enum with "implements".
1815
1816 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1817 regexp which matches "implements", etc., in Java.
1818 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1819 specifier clauses coming after "enum".
1820 * progmodes/cc-fonts.el (c-font-lock-declarations)
1821 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1822 after "enum".
1823
1824 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1825
1826 * faces.el (region): Change ns_selection_color to
1827 ns_selection_fg_color, add ns_selection_bg_color.
1828
1829 2013-09-28 Leo Liu <sdl.web@gmail.com>
1830
1831 * progmodes/octave.el (inferior-octave-completion-table)
1832 (inferior-octave-completion-at-point): Minor tweaks.
1833
1834 * textmodes/ispell.el (ispell-lookup-words): Rename from
1835 lookup-words. (Bug#15460)
1836 (lookup-words): Obsolete.
1837 (ispell-complete-word, ispell-command-loop): All uses changed.
1838
1839 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1840
1841 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1842 (octave-mode-menu): Add octave-send-buffer.
1843 (octave-send-buffer): New function.
1844
1845 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1846
1847 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1848 octave-lookfor.
1849 (octave-mode-menu): Add octave-lookfor.
1850 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1851 octave-lookfor.
1852 (octave-lookfor): New function.
1853
1854 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * emacs-lisp/cl-macs.el:
1857 (cl--loop-destr-temps): Remove.
1858 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1859 its convention.
1860 (cl--loop-set-iterator-function): New function.
1861 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1862 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1863 Bind `it' with `let' instead of substituting it with `cl-subst'.
1864 (cl--unused-var-p): New function.
1865 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1866 Eliminate some unused variable warnings (bug#15326).
1867
1868 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1869
1870 * doc-view.el (doc-view-scale-reset): Rename from
1871 `doc-view-reset-zoom-level'.
1872 (doc-view-scale-adjust): New command.
1873 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1874 `doc-view-scale-adjust'.
1875
1876 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1877
1878 * doc-view.el (doc-view-reset-zoom-level): New command.
1879 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1880 zoom commands (bug#15466).
1881
1882 2013-09-26 Kenichi Handa <handa@gnu.org>
1883
1884 * international/quail.el (quail-help): Make it not a command.
1885
1886 2013-09-26 Leo Liu <sdl.web@gmail.com>
1887
1888 * minibuffer.el (completion-all-sorted-completions): Make args
1889 optional as they are.
1890
1891 2013-09-25 Daniel Colascione <dancol@dancol.org>
1892
1893 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1894 specs are and that they're not evaluated.
1895
1896 2013-09-24 Sam Steingold <sds@gnu.org>
1897
1898 * midnight.el (clean-buffer-list-kill-regexps)
1899 (clean-buffer-list-kill-buffer-names): Update for the new Man
1900 buffer naming which includes the object name.
1901
1902 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1905 (eshell-parse-command, eshell-parse-pipeline): Use it since
1906 eshell-separate-commands requires a dynamic scoped var.
1907 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1908
1909 2013-09-23 Leo Liu <sdl.web@gmail.com>
1910
1911 * autoinsert.el (auto-insert-alist): Make the value of
1912 lexical-binding match its file setting.
1913
1914 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1915
1916 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1917
1918 * autoarg.el (autoarg-kp-digit-argument):
1919 * electric.el (Electric-command-loop):
1920 * kmacro.el (kmacro-step-edit-insert):
1921 Do not set universal-argument-num-events.
1922
1923 2013-09-22 Leo Liu <sdl.web@gmail.com>
1924
1925 * files.el (interpreter-mode-alist): Add octave.
1926
1927 2013-09-21 Alan Mackenzie <acm@muc.de>
1928
1929 C++: fontify identifier in declaration following "public:" correctly.
1930 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1931 to match "public", etc.
1932 (c-decl-prefix-re): Add ":" into the C++ value.
1933 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1934 bit. Add a check for a ":" preceded by "public", etc.
1935
1936 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1937
1938 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1939 recognized by GDB 7.5 and later.
1940
1941 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1942
1943 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1944
1945 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * subr.el (internal--call-interactively): New const.
1948 (called-interactively-p): Use it (bug#3984).
1949
1950 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1951
1952 * vc/pcvs.el (cvs-mode-ignore):
1953 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1954 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1955
1956 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1957
1958 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1959 (eshell-ls-orig-insert-directory): Remove.
1960 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1961 (eshell-ls-use-in-dired): Use advice-add/remove.
1962 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1963 Add `orig-fun' arg for use in :around advice.
1964 Make it check (redundantly) eshell-ls-use-in-dired.
1965
1966 2013-09-19 Glenn Morris <rgm@gnu.org>
1967
1968 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1969
1970 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1971
1972 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1973
1974 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1975
1976 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1977 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1978 (tramp-get-remote-python): New defuns.
1979 (tramp-get-remote-uid-with-perl)
1980 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1981 contributed by yary <not.com@gmail.com> (tiny change).
1982 (tramp-get-remote-uid-with-python)
1983 (tramp-get-remote-gid-with-python): New defuns. Python code
1984 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1985 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1986
1987 2013-09-19 Glenn Morris <rgm@gnu.org>
1988
1989 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1990
1991 * eshell/em-unix.el (eshell-remove-entries):
1992 Rename argument to avoid name-clash with global `top-level'.
1993
1994 * eshell/esh-proc.el (eshell-kill-process-function):
1995 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1996 (eshell-reset-after-proc): Remove unused arg `proc'.
1997
1998 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1999 (directory-files-and-attributes): Mark unused arg.
2000
2001 * eshell/em-unix.el (eshell-remove-entries):
2002 Remove unused arg `path'. Update callers.
2003
2004 * eshell/em-hist.el (eshell-hist-parse-arguments):
2005 Remove unused arg `silent'. Update callers.
2006
2007 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2008 Fix (f)boundp mix-up.
2009
2010 * eshell/em-smart.el (eshell-smart-scroll-window)
2011 (eshell-disable-after-change):
2012 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2013
2014 2013-09-18 Alan Mackenzie <acm@muc.de>
2015
2016 Fix fontification of type when followed by "const".
2017 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2018 "known" types from fontification.
2019
2020 2013-09-18 Glenn Morris <rgm@gnu.org>
2021
2022 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2023 (chart-face-list): Drop Emacsen without display-color-p.
2024
2025 * net/eww.el (libxml-parse-html-region): Declare.
2026 (eww-display-html): Explicit error if no libxml2 support.
2027
2028 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2029
2030 * image.el (image-type-from-buffer, image-multi-frame-p):
2031 Remove --without-x warning/error.
2032
2033 * mouse.el (mouse-yank-primary):
2034 * term.el (term-mouse-paste):
2035 Reorder to silence --without-x compilation.
2036
2037 * mpc.el (doc-view-mode): Silence --without-x compilation.
2038
2039 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2040 Silence --without-x compilation.
2041
2042 * progmodes/gud.el (gud-find-file, gud-mode):
2043 Silence --without-x compilation.
2044 (tooltip-mode): Declare.
2045
2046 * wdired.el (dired-backup-overwrite): Remove declaration.
2047 (wdired-mode-map): Add doc string.
2048
2049 * custom.el (x-get-resource): Declare.
2050
2051 * eshell/em-glob.el (ange-cache):
2052 * eshell/em-unix.el (ange-cache): Declare.
2053
2054 * faces.el (x-display-list, x-open-connection, x-get-resource):
2055 Declare.
2056
2057 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2058 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2059 Declare.
2060
2061 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2062
2063 * net/gnutls.el (gnutls-log-level): Declare.
2064
2065 * net/shr.el (image-size, image-animate): Declare.
2066
2067 * simple.el (font-info): Declare.
2068
2069 * subr.el (x-popup-dialog): Declare.
2070
2071 * term/common-win.el (x-select-enable-primary)
2072 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2073 Declare.
2074
2075 * term/ns-win.el (x-handle-args): Declare.
2076
2077 * term/x-win.el (x-select-enable-clipboard): Declare.
2078
2079 * term/w32-win.el (create-default-fontset): Declare.
2080
2081 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2082 Declare.
2083
2084 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2085 (fit-frame-to-buffer): Explicit error if --without-x.
2086 (mouse-autoselect-window-select): Silence compiler.
2087
2088 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2089
2090 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2091 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2092 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2093 * eshell/esh-util.el (eshell-sublist):
2094 Remove unused local variables.
2095
2096 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2097
2098 * textmodes/two-column.el: Make 2C-split work for --without-x.
2099 (scroll-bar-columns): Autoload.
2100 (top-level): Require fringe when compiling.
2101
2102 2013-09-18 Leo Liu <sdl.web@gmail.com>
2103
2104 * subr.el (add-hook): Robustify to handle closure as well.
2105
2106 2013-09-17 Glenn Morris <rgm@gnu.org>
2107
2108 * simple.el (messages-buffer-mode-map): Unbind "g".
2109
2110 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * help-mode.el (help-mode-finish): Use derived-mode-p.
2113 Remove obsolete highlighting.
2114
2115 * play/life.el (life-mode): Use define-derived-mode. Derive from
2116 special-mode.
2117 (life): Let-bind inhibit-read-only.
2118 (life-setup): Avoid `setq'. Use `life-mode'.
2119
2120 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2121 which should not be needed any more.
2122 (package-menu-refresh, package-menu-describe-package): Use user-error.
2123
2124 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2125 (eshell-post-rewrite-command-hook): Make obsolete.
2126 (eshell-parse-command): Simplify.
2127 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2128 (eshell--cmd): Declare.
2129 (eshell-parse-pipeline): Remove unused var `final-p'.
2130 Pass a dynvar to eshell-post-rewrite-command-hook.
2131 Implement the new eshell-post-rewrite-command-function.
2132 (eshell-invoke-directly): Remove unused arg `input'.
2133 * eshell/esh-io.el (eshell-io-initialize):
2134 Use eshell-post-rewrite-command-function (bug#15399).
2135 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2136 adjust to new calling convention.
2137 (eshell-create-handles): Rename args to avoid clashing with dynvar
2138 `standard-output'.
2139
2140 2013-09-17 Glenn Morris <rgm@gnu.org>
2141
2142 * simple.el (messages-buffer-mode): New major mode.
2143 (messages-buffer): New function.
2144 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2145 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2146 (ert-run-test): Use `messages-buffer' function.
2147 (ert--force-message-log-buffer-truncation): Ignore read-only.
2148 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2149 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2150
2151 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2154
2155 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2156
2157 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * icomplete.el (icomplete-in-buffer): New var.
2160 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2161 vars and replace them with functions.
2162 (icomplete-minibuffer-setup): Adjust accordingly.
2163 (icomplete--completion-table, icomplete--completion-predicate)
2164 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2165 New functions.
2166 (icomplete-forward-completions, icomplete-backward-completions)
2167 (icomplete-simple-completing-p, icomplete-exhibit)
2168 (icomplete-completions): Use them.
2169 (icomplete--in-region-buffer): New var.
2170 (icomplete--in-region-setup): New function.
2171 (icomplete-mode): Use it.
2172
2173 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2174 (bug#15379).
2175 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2176 return args and options.
2177 (eshell-eval-using-options): Use the new return value of
2178 eshell--do-opts to set the options's vars in their scope.
2179 (eshell--set-option): Rename from eshell-set-option.
2180 Add arg `opt-vals'.
2181 (eshell--process-option): Rename from eshell-process-option.
2182 Add arg `opt-vals'.
2183 (eshell--process-args): Use an `opt-vals' alist to store the options's
2184 values during their processing and return them additionally to the
2185 remaining args.
2186
2187 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2188
2189 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2190 continuation character an operator, as far as indentation is
2191 concerned (Bug#15369).
2192
2193 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2194
2195 * window.el (window--state-put-2): Don't process buffer state
2196 when buffer doesn't exist any more (Bug#15382).
2197
2198 2013-09-15 Glenn Morris <rgm@gnu.org>
2199
2200 * eshell/em-unix.el (eshell/rm):
2201 Make -f ignore missing files. (Bug#15373)
2202
2203 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2204 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2205 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2206
2207 2013-09-14 Glenn Morris <rgm@gnu.org>
2208
2209 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2210
2211 2013-09-13 Glenn Morris <rgm@gnu.org>
2212
2213 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2214 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2215
2216 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2217
2218 * frame.el (x-focus-frame): Mark as declared in frame.c.
2219
2220 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * ls-lisp.el: Use advice-add.
2223 (original-insert-directory): Remove.
2224 (ls-lisp--insert-directory): Rename from insert-directory; add
2225 `orig-fun' argument.
2226 (insert-directory): Advise.
2227
2228 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2229
2230 * term.el (term-emulate-terminal): Decode the command string
2231 before passing it to term-command-hook. (Bug#15337)
2232
2233 2013-09-13 Glenn Morris <rgm@gnu.org>
2234
2235 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2236
2237 * eshell/esh-ext.el (eshell-search-path): Declare.
2238
2239 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2240 Otherwise an error occurs if eshell-dirs module not loaded.
2241
2242 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2243
2244 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2245
2246 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2247 `tramp-check-proper-host'. Check for a valid method name.
2248
2249 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2250 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2251 * net/tramp-sh.el (tramp-maybe-open-connection):
2252 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2253
2254 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2255 also for hash values.
2256
2257 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2258
2259 * term/ns-win.el (parameters): Don't declare as dynamic.
2260 (before-make-frame-hook): Don't add ineffective function.
2261
2262 * eshell/*.el: Use lexical-binding (bug#15231).
2263
2264 2013-09-12 Kenichi Handa <handa@gnu.org>
2265
2266 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2267
2268 2013-09-12 Glenn Morris <rgm@gnu.org>
2269
2270 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2271 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2272
2273 * subr.el (do-after-load-evaluation): Also give compiler warnings
2274 when obsolete files are used (except by obsolete files).
2275
2276 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2277 in the status output, assume `filename' is the first. (Bug#15322)
2278
2279 * vc/vc.el (vc-deduce-fileset): Doc fix.
2280
2281 * calc/calc-help.el (Info-goto-node):
2282 * progmodes/cperl-mode.el (Info-find-node):
2283 * vc/ediff.el (Info-goto-node): Update declarations.
2284
2285 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2286
2287 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2288 (vc-bzr-pull): Require vc-dispatcher.
2289 * vc/vc-git.el (vc-compilation-mode): Declare.
2290 (vc-git-pull): Require vc-dispatcher.
2291
2292 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2293
2294 * progmodes/octave.el (help-button-action): Declare.
2295
2296 * shell.el (shell-directory-tracker): Output error as a message
2297 rather than just returning it as a string.
2298 (shell-process-pushd): Remove useless use of message.
2299
2300 * dframe.el (dframe-timer-fn):
2301 * files.el (dir-locals-read-from-file):
2302 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2303 (mpc-format):
2304 * reveal.el (reveal-post-command):
2305 * saveplace.el (load-save-place-alist-from-file):
2306 * shell.el (shell-resync-dirs):
2307 * w32-common-fns.el (x-get-selection-value):
2308 * emacs-lisp/copyright.el (copyright-find-copyright):
2309 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2310 * emulation/tpu-edt.el (tpu-copy-keyfile):
2311 * play/bubbles.el (bubbles--mark-neighbourhood):
2312 * progmodes/executable.el
2313 (executable-make-buffer-file-executable-if-script-p):
2314 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2315
2316 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 Cleanup Eshell to rely less on dynamic scoping.
2319 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2320 last-value, and ext-command here. Bind `args' closer to `body'.
2321 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2322 (eshell--args): Declare new dynamic var.
2323 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2324 last-value, and ext-command. Pass `args' to `body'.
2325 (eshell-process-args): Bind eshell--args.
2326 (eshell-set-option): Use eshell--args.
2327 * eshell/eshell.el (eshell): Use derived-mode-p.
2328 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2329 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2330 (eshell-glob-function): Declare.
2331 * eshell/esh-util.el: Require cl-lib.
2332 (eshell-read-hosts-file): Avoid add-to-list.
2333 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2334 `err'.
2335 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2336 Declare.
2337 (eshell/diff): Remove unused var `err'.
2338 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2339 `killflag'.
2340 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2341 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2342 first use.
2343 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2344 Move declaration before first use.
2345 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2346 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2347 rely on cl-return.
2348
2349 2013-09-12 Glenn Morris <rgm@gnu.org>
2350
2351 * term/ns-win.el (global-map): Remove binding for ispell-next,
2352 deleted 1999-05-29. (Bug#15357)
2353
2354 2013-09-11 Glenn Morris <rgm@gnu.org>
2355
2356 * echistory.el (electric-command-history): Remove call to deleted func.
2357
2358 * play/landmark.el (landmark-mode): Fix typos.
2359
2360 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2361 Check cvs-sort-ignore-file is bound.
2362
2363 * savehist.el: No need for cl when compiling on Emacs.
2364
2365 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2368 (bug#15338).
2369 (eshell-self-insert-command, eshell-send-invisible):
2370 Remove unused argument.
2371 (eshell-handle-control-codes): Remove unused var `orig'.
2372 Avoid delete-backward-char.
2373
2374 * files.el (set-auto-mode): Simplify a bit further.
2375
2376 2013-09-11 Glenn Morris <rgm@gnu.org>
2377
2378 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2379 (set-auto-mode): Don't regexp-quote elements.
2380 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2381 * progmodes/cc-mode.el (interpreter-mode-alist):
2382 * progmodes/ruby-mode.el (interpreter-mode-alist):
2383 Revert previous change.
2384
2385 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * play/snake.el (snake-mode):
2388 * play/mpuz.el (mpuz-mode):
2389 * play/landmark.el (lm-mode):
2390 * play/blackbox.el (blackbox-mode):
2391 * play/5x5.el (5x5-mode):
2392 * obsolete/options.el (Edit-options-mode):
2393 * net/quickurl.el (quickurl-list-mode):
2394 * net/newst-treeview.el (newsticker-treeview-mode):
2395 * mail/rmailsum.el (rmail-summary-mode):
2396 * mail/mspools.el (mspools-mode):
2397 * locate.el (locate-mode):
2398 * ibuffer.el (ibuffer-mode):
2399 * emulation/ws-mode.el (wordstar-mode):
2400 * emacs-lisp/debug.el (debugger-mode):
2401 * array.el (array-mode):
2402 * net/eudc.el (eudc-mode): Use define-derived-mode.
2403 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2404 Move initialization into declaration.
2405 (mairix-searches-mode): Use define-derived-mode.
2406 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2407 (eudc-edit-hotlist): Use dolist.
2408 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2409 (Man-mode): Use define-derived-mode.
2410 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2411 (Info-edit-mode): Use define-derived-mode.
2412 (Info-cease-edit): Use Info-mode.
2413 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2414 into declaration.
2415 (eshell-mode): Use define-derived-mode.
2416 * chistory.el (command-history-mode-map): Rename from
2417 command-history-map.
2418 (command-history-mode): Use define-derived-mode.
2419 (Command-history-setup): Remove function.
2420 * calc/calc.el (calc-trail-mode-map): New var.
2421 (calc-trail-mode): Use define-derived-mode.
2422 (calc-trail-buffer): Set calc-main-buffer manually.
2423 * bookmark.el (bookmark-insert-annotation): New function.
2424 (bookmark-edit-annotation): Use it.
2425 (bookmark-edit-annotation-mode): Make it a proper major mode.
2426 (bookmark-send-edited-annotation): Use derived-mode-p.
2427 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2428 closer to its ideal place. Use \' to match EOS.
2429
2430 * profiler.el (profiler-calltree-find): Use function-equal.
2431
2432 2013-09-10 Glenn Morris <rgm@gnu.org>
2433
2434 * files.el (interpreter-mode-alist): Convert to regexps.
2435 (set-auto-mode): Adapt for this. (Bug#15306)
2436 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2437 Comment out unused variable.
2438 * progmodes/cc-mode.el (interpreter-mode-alist):
2439 * progmodes/python.el (interpreter-mode-alist):
2440 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2441 * progmodes/sh-script.el (sh-set-shell):
2442 No longer use interpreter-mode-alist to get list of shells.
2443
2444 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2445
2446 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * simple.el: Use set-temporary-overlay-map for universal-argument.
2449 (universal-argument-map): Don't use default-bindings (bug#15317).
2450 Bind switch-frame explicitly. Replace universal-argument-minus with
2451 a conditional binding.
2452 (universal-argument-num-events, saved-overriding-map): Remove.
2453 (restore-overriding-map): Remove.
2454 (universal-argument--mode): Rename from save&set-overriding-map,
2455 and rewrite.
2456 (universal-argument, universal-argument-more, negative-argument)
2457 (digit-argument): Adjust accordingly.
2458 (universal-argument-minus): Remove.
2459 (universal-argument-other-key): Remove.
2460
2461 * subr.el (with-demoted-errors): Add `format' argument.
2462
2463 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2464
2465 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2466 `tramp-cleanup-connection'.
2467
2468 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2469 parameters KEEP-DEBUG and KEEP-PASSWORD.
2470
2471 * net/tramp.el (tramp-file-name-handler):
2472 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2473 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2474 (tramp-maybe-open-connection):
2475 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2476 Use `tramp-cleanup-connection'.
2477
2478 * net/tramp-sh.el (tramp-maybe-open-connection):
2479 Catch 'uname-changed inside the progress reporter.
2480
2481 2013-09-10 Glenn Morris <rgm@gnu.org>
2482
2483 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2484
2485 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2486 returns "alternate access method" in mode (eg "-rw-r--r--.").
2487
2488 2013-09-08 Glenn Morris <rgm@gnu.org>
2489
2490 * saveplace.el (load-save-place-alist-from-file):
2491 Demote errors. (Bug#15305)
2492
2493 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2494
2495 Improve compatibility with older Emacsen, and XEmacs.
2496
2497 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2498 only if it is bound. It isn't for XEmacs.
2499 (with-tramp-progress-reporter): Do not let-bind `result'.
2500 This yields to scoping errors in XEmacs.
2501 (tramp-handle-make-auto-save-file-name): New function, moved from
2502 tramp-sh.el.
2503
2504 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2505 for `make-auto-save-file-name'.
2506 (tramp-adb--gnu-switches-to-ash):
2507 Use `tramp-compat-replace-regexp-in-string'.
2508
2509 * net/tramp-cache.el (tramp-cache-print): Call
2510 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2511
2512 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2513 bound. It isn't for XEmacs.
2514
2515 * net/tramp-compat.el (tramp-compat-copy-file):
2516 Catch `wrong-number-of-arguments' error.
2517 (tramp-compat-replace-regexp-in-string): New defun.
2518
2519 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2520 for `make-auto-save-file-name'.
2521 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2522 `copy-file'.
2523 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2524 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2525 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2526
2527 * net/tramp-gw.el (tramp-gw-open-network-stream):
2528 Use `tramp-compat-replace-regexp-in-string'.
2529
2530 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2531 Call `tramp-handle-make-auto-save-file-name'.
2532 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2533 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2534 (tramp-sh-file-inotifywait-process-filter):
2535 Use `tramp-compat-replace-regexp-in-string'.
2536 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2537
2538 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2539 for `make-auto-save-file-name'.
2540 (tramp-smb-handle-copy-directory):
2541 Call `tramp-compat-replace-regexp-in-string'.
2542 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2543 (tramp-smb-handle-copy-file): Improve error message.
2544 (tramp-smb-handle-rename-file): Rename directly only in case
2545 `newname' does not exist yet. This is a restriction of smbclient.
2546 (tramp-smb-maybe-open-connection): Rerun the function only when
2547 `auth-sources' is non-nil.
2548
2549 2013-09-08 Kenichi Handa <handa@gnu.org>
2550
2551 * international/characters.el: Set category "^" (Combining) for
2552 more characters.
2553
2554 2013-09-07 Alan Mackenzie <acm@muc.de>
2555
2556 Correctly fontify Java class constructors.
2557 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2558 in Java Mode.
2559 (c-recognize-typeless-decls): Set the Java value to t.
2560 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2561 While handling a "(", add a check for, effectively, Java, and handle a
2562 "typeless" declaration there.
2563
2564 2013-09-07 Roland Winkler <winkler@gnu.org>
2565
2566 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2567 field subtitle for entry type book.
2568
2569 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * minibuffer.el: Make minibuffer-complete call completion-in-region
2572 rather than other way around.
2573 (completion--some, completion-pcm--find-all-completions):
2574 Don't delay signals when debugging.
2575 (minibuffer-completion-contents): Beware fields within the
2576 minibuffer contents.
2577 (completion-all-sorted-completions): Use defvar-local.
2578 (completion--do-completion, completion--cache-all-sorted-completions)
2579 (completion-all-sorted-completions, minibuffer-force-complete):
2580 Add args `beg' and `end'.
2581 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2582 (minibuffer-complete): Use completion-in-region.
2583 (completion-complete-and-exit): New fun, extracted from
2584 minibuffer-complete-and-exit.
2585 (minibuffer-complete-and-exit): Use it.
2586 (completion--complete-and-exit): Rename from
2587 minibuffer--complete-and-exit.
2588 (completion-in-region--single-word): New function, extracted from
2589 minibuffer-complete-word.
2590 (minibuffer-complete-word): Use it.
2591 (display-completion-list): Make `common-substring' argument obsolete.
2592 (completion--in-region): Call completion--in-region-1 instead of
2593 minibuffer-complete.
2594 (completion-help-at-point): Pass boundaries to
2595 minibuffer-completion-help as args rather than via an overlay.
2596 (completion-pcm--string->pattern): Use `any-delim'.
2597 (completion-pcm--optimize-pattern): New function.
2598 (completion-pcm--pattern->regex): Handle `any-delim'.
2599 * icomplete.el (icomplete-forward-completions)
2600 (icomplete-backward-completions, icomplete-completions):
2601 Adjust calls to completion-all-sorted-completions and
2602 completion--cache-all-sorted-completions.
2603 (icomplete-with-completion-tables): Default to t.
2604 * emacs-lisp/crm.el (crm--current-element): Rename from
2605 crm--select-current-element. Don't put an overlay but return the
2606 boundaries instead.
2607 (crm--completion-command): Take two new args to bind to the boundaries.
2608 (crm-completion-help): Adjust accordingly.
2609 (crm-complete): Use completion-in-region.
2610 (crm-complete-word): Use completion-in-region--single-word.
2611 (crm-complete-and-exit): Use completion-complete-and-exit.
2612
2613 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2614
2615 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2616 than dynamically.
2617
2618 2013-09-06 Juri Linkov <juri@jurta.org>
2619
2620 * info.el (Info-display-images-node): When image file doesn't exist
2621 display text version of the image if it's provided in the Info file.
2622 Otherwise, display the location of missing image from SRC attribute.
2623 Add help-echo text property from ALT attribute. (Bug#15279)
2624
2625 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2628 (edit-abbrevs-mode): Use define-derived-mode.
2629
2630 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2631 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2632 that it's defined.
2633 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2634 Use define-derived-mode.
2635
2636 * epg.el (epg-start-encrypt): Minor CSE simplification.
2637
2638 2013-09-06 William Xu <william.xwl@gmail.com>
2639
2640 * arc-mode.el: Add support for 7za (bug#15264).
2641 (archive-7z-program): New var.
2642 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2643 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2644 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2645
2646 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2647
2648 Remove URL syntax.
2649
2650 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2651 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2652 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2653 (tramp-postfix-host-format, tramp-file-name-regexp)
2654 (tramp-completion-file-name-regexp)
2655 (tramp-completion-dissect-file-name)
2656 (tramp-handle-substitute-in-file-name): Remove 'url case.
2657 (tramp-file-name-regexp-url)
2658 (tramp-completion-file-name-regexp-url): Remove constants.
2659
2660 2013-09-06 Glenn Morris <rgm@gnu.org>
2661
2662 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2663
2664 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2665
2666 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2667 keywords" below "here-doc beginnings" (Bug#15270).
2668
2669 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * subr.el (pop): Use `car-safe'.
2672 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2673 to detect unused `pop' return value.
2674
2675 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2676 var `block-regexp'.
2677 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2678 (python-fill-string): Remove unused var `marker'.
2679 (python-skeleton-add-menu-items): Remove unused var `items'.
2680
2681 * international/mule-cmds.el: Require CL.
2682 (find-coding-systems-for-charsets): Avoid add-to-list.
2683 (sanitize-coding-system-list): New function, extracted from
2684 select-safe-coding-system-interactively.
2685 (select-safe-coding-system-interactively): Use it.
2686 (read-input-method-name): Accept symbols for `default'.
2687
2688 * emacs-lisp/advice.el (defadvice): Add indent rule.
2689
2690 2013-09-05 Daniel Hackney <dan@haxney.org>
2691
2692 * dired-x.el:
2693 * net/ange-ftp.el:
2694 * net/browse-url.el:
2695 * net/dbus.el:
2696 * net/eudc.el:
2697 * net/eudcb-ldap.el:
2698 * net/eww.el:
2699 * net/imap.el:
2700 * printing.el:
2701 * vc/ediff-diff.el:
2702 * vc/ediff-init.el:
2703 * vc/ediff-merg.el:
2704 * vc/ediff-mult.el:
2705 * vc/ediff-util.el:
2706 * vc/ediff-wind.el:
2707 * vc/ediff.el:
2708 * vc/emerge.el:
2709 * vc/pcvs.el:
2710 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2711 byte compiler. Remove some unused let-bound variables.
2712
2713 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2714
2715 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2716 a "ref-cell", since it gets better optimized (bug#14883).
2717
2718 2013-09-05 Glenn Morris <rgm@gnu.org>
2719
2720 * progmodes/cc-awk.el (c-forward-sws): Declare.
2721
2722 2013-09-04 Glenn Morris <rgm@gnu.org>
2723
2724 * generic-x.el [rul-generic-mode]: Require cc-mode.
2725 (c++-mode-syntax-table): Declare.
2726 (rul-generic-mode-syntax-table): Init in the defvar.
2727
2728 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2731 (vc-do-command, vc-set-async-update):
2732 * vc/vc-mtn.el (vc-mtn-dir-status):
2733 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2734 (vc-hg-pull, vc-hg-merge-branch):
2735 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2736 (vc-git-merge-branch):
2737 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2738 (vc-cvs-dir-status-files):
2739 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2740 (vc-bzr-dir-status-files):
2741 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2742 * vc/vc-annotate.el: Use lexical-binding.
2743 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2744 (vc-sentinel-movepoint): Declare.
2745 (vc-annotate): Don't use `goto-line'.
2746 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2747 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2748 (vc-sentinel-movepoint): Declare.
2749 * vc/vc-svn.el: Use lexical-binding.
2750 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2751 * vc/vc-sccs.el:
2752 * vc/vc-rcs.el: Use lexical-binding.
2753
2754 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2755 `deleted'. Don't drop errors silently.
2756
2757 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2758
2759 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2760
2761 * vc/vc.el (vc-ignore): Rewrite.
2762 (vc-default-ignore): New function.
2763 (vc-default-ignore-completion-table): Use find-ignore-file.
2764
2765 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2766 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2767 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2768 Remove. Most code moved to vc.el.
2769
2770 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2773 * net/tramp-smb.el (tramp-smb-get-file-entries):
2774 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2775 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2776
2777 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2778 Update call to it.
2779 (eww-change-select): Remove unused var `properties'.
2780 (eww-make-unique-file-name): Remove unused var `base'.
2781
2782 * finder.el (finder-compile-keywords): Don't mess with windows.
2783
2784 * calculator.el (calculator-funcall): Fix typo in last change.
2785
2786 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2787
2788 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2789 <pkg>-autoloads.el file stop us.
2790
2791 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2792 warnings, and factor out common code.
2793
2794 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2795
2796 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2797 two-character operators and whether the character preceding them
2798 changes their meaning (Bug#15208).
2799
2800 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2801
2802 Format code sent to Python shell for robustness.
2803 * progmodes/python.el (python-shell-buffer-substring):
2804 New function.
2805 (python-shell-send-region, python-shell-send-buffer): Use it.
2806
2807 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2808
2809 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2810 * net/tramp.el (tramp-user-error): ... here.
2811 (tramp-find-method, tramp-check-proper-host)
2812 (tramp-dissect-file-name, tramp-debug-message)
2813 (tramp-handle-shell-command):
2814 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2815 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2816
2817 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2818
2819 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2820
2821 * avoid.el (mouse-avoidance-point-position)
2822 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2823 returns nil.
2824
2825 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2826
2827 * progmodes/python.el (python-shell-completion-get-completions):
2828 Drop use of deleted `comint-last-prompt-overlay'.
2829 (python-nav-if-name-main): New command.
2830
2831 2013-09-01 Glenn Morris <rgm@gnu.org>
2832
2833 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2834 Avoid leading space in $wins. Otherwise the sed command used by
2835 eg compile-main ends up containing "/*.el". (Bug#15170)
2836
2837 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2838
2839 2013-08-30 Glenn Morris <rgm@gnu.org>
2840
2841 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2842 Fix is-this-a-directory logic. (Bug#15220)
2843
2844 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * textmodes/css-mode.el: Use SMIE.
2847 (css-smie-grammar): New var.
2848 (css-smie--forward-token, css-smie--backward-token)
2849 (css-smie-rules): New functions.
2850 (css-mode): Use them.
2851 (css-navigation-syntax-table): Remove var.
2852 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2853 (css-indent-calculate, css-indent-line): Remove functions.
2854
2855 Misc changes to reduce use of `(lambda...); and other cleanups.
2856 * cus-edit.el: Use lexical-binding.
2857 (customize-push-and-save, customize-apropos)
2858 (custom-buffer-create-internal): Use closures.
2859 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2860 * progmodes/ada-xref.el: Use setq.
2861 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2862 * dframe.el: Use lexical-binding.
2863 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2864 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2865 * descr-text.el: Use lexical-binding.
2866 (describe-text-widget, describe-text-sexp, describe-property-list):
2867 Use closures.
2868 * comint.el (comint-history-isearch-push-state): Use a closure.
2869 * calculator.el: Use lexical-binding.
2870 (calculator-number-to-string): Make it work with lexical-binding.
2871 (calculator-funcall): Same and use cl-letf.
2872
2873 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2874 (lisp--company-doc-string, lisp--company-location): New functions.
2875 (lisp-completion-at-point): Use them to improve Company support.
2876
2877 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2878 params of lambda expressions.
2879 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2880 (ruby-smie--opening-pipe-p): New function.
2881 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2882 symbols and matched |...| for formal params.
2883 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2884 from being treated as hanging. Handle "rescue".
2885
2886 2013-08-29 Glenn Morris <rgm@gnu.org>
2887
2888 * progmodes/cc-engine.el (c-pull-open-brace):
2889 Move definition before use.
2890
2891 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2894 are immutable. Don't use `unsafe' any more.
2895 (cl--defsubst-expand): Don't substitute at the same time as keeping
2896 a residual unused let-binding. Don't use `unsafe' any more.
2897
2898 2013-08-29 Glenn Morris <rgm@gnu.org>
2899
2900 * calendar/cal-china.el (calendar-chinese-year-cache):
2901 Recenter on 2015.
2902
2903 * nxml/nxml-util.el (nxml-debug-clear-inside):
2904 Use cl-loop rather than loop.
2905
2906 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2907
2908 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2909
2910 2013-08-28 Glenn Morris <rgm@gnu.org>
2911
2912 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2913
2914 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2915
2916 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2917
2918 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * simple.el (repeat-complex-command--called-interactively-skip):
2921 New function.
2922 (repeat-complex-command): Use it (bug#14136).
2923
2924 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2925 (c-define-abbrev-table): Add `doc' argument.
2926 (c-mode-abbrev-table, c++-mode-abbrev-table)
2927 (objc-mode-abbrev-table, java-mode-abbrev-table)
2928 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2929 (awk-mode-abbrev-table): Use it.
2930 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2931 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2932 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2933 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2934 Move initialization into the declaration; and remove any
2935 autoload cookie.
2936
2937 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2938 and dynamic let binding.
2939
2940 * vc/smerge-mode.el: Remove redundant :group args.
2941
2942 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2943 to load-path.
2944
2945 2013-08-28 Juri Linkov <juri@jurta.org>
2946
2947 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2948 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2949 (isearch-other-meta-char): Handle an undefined shifted printing
2950 character by downshifting it. (Bug#15200)
2951
2952 2013-08-28 Juri Linkov <juri@jurta.org>
2953
2954 * isearch.el (isearch-search): Change regexp error message for
2955 non-regexp searches. (Bug#15166)
2956
2957 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2958
2959 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2960 for portability to hosts where /bin/sh has problems.
2961
2962 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2965
2966 2013-08-27 Juri Linkov <juri@jurta.org>
2967
2968 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2969 in the keyboard macro. (Bug#15126)
2970
2971 2013-08-27 Juri Linkov <juri@jurta.org>
2972
2973 * isearch.el (isearch-quote-char): Comment out converting unibyte
2974 to multibyte, thus syncing with its `quoted-insert' counterpart.
2975 (Bug#15166)
2976
2977 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2978
2979 * window.el (display-buffer-use-some-window): Add missing
2980 argument in call of get-largest-window (Bug#15185).
2981 Reported by Stephen Leake.
2982
2983 2013-08-27 Glenn Morris <rgm@gnu.org>
2984
2985 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2986
2987 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2990 from a matcher-function unless there's no more matches (bug#15161).
2991
2992 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2993
2994 * minibuffer.el: Revert change from 2013-08-20.
2995
2996 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2997 with text property `tramp-default', if appropriate.
2998 (tramp-check-proper-host): New defun.
2999 (tramp-dissect-file-name): Do not check hostname. Revert change
3000 of 2013-03-18.
3001 (tramp-backtrace): Make VEC-OR-PROC optional.
3002
3003 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3004 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3005 * net/tramp-sh.el (tramp-maybe-open-connection):
3006 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3007 Apply `tramp-check-proper-host'.
3008
3009 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3010
3011 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3012 lambda expression in order to have `describe-variable' display it.
3013
3014 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3015
3016 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3017 BUF can be optional. (Bug#15186)
3018
3019 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3020
3021 * progmodes/flymake.el (flymake-get-real-file-name-function):
3022 Fix broken customization. (Bug#15184)
3023
3024 2013-08-25 Alan Mackenzie <acm@muc.de>
3025
3026 Improve indentation of bracelists defined by macros (without "=").
3027
3028 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3029 expansion begins with "{", regard it as bracelist when it doesn't
3030 contain a ";".
3031
3032 Parse C++ inher-intro when there's a template split over 2 lines.
3033
3034 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3035 rigorously the search for "class" etc. followed by ":".
3036
3037 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3038 random languages a regexp which never matches rather than nil.
3039
3040 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3041
3042 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3043 (c-awk-regexp-one-line-possibly-open-char-list-re)
3044 (c-awk-one-line-possibly-open-regexp-re)
3045 (c-awk-one-line-non-syn-ws*-re): Remove.
3046 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3047 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3048 (c-awk-space*-unclosed-regexp-/-re): New constants.
3049 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3050 aren't regexp delimiters.
3051
3052 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3053 handling for a rare situation in AWK Mode involving unterminated
3054 strings/regexps.
3055
3056 2013-08-23 Glenn Morris <rgm@gnu.org>
3057
3058 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3059
3060 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3061
3062 * files.el (create-file-buffer): If the result would begin with
3063 spaces, prepend a "|" instead of removing them. (Bug#15162)
3064
3065 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3068 text-properties (bug#15155).
3069
3070 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3071 exist any more.
3072 (calc-keypad-redraw): Remove unused var `pad'.
3073 (calc-keypad-press): Remove unused var `menu'.
3074
3075 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3076
3077 * window.el (display-buffer-pop-up-frame):
3078 Call pop-up-frame-function with BUFFER current so `make-frame' will
3079 use it as the new frame's buffer (Bug#15133).
3080
3081 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * calendar/timeclock.el: Minor cleanups.
3084 (timeclock-ask-before-exiting, timeclock-use-display-time):
3085 Use `symbol'.
3086 (timeclock-modeline-display): Define as alias before the
3087 actual definition.
3088 (timeclock-mode-line-display): Use define-minor-mode.
3089 (timeclock-day-list-template): Make it a function, add an argument.
3090 (timeclock-day-list-required, timeclock-day-list-length)
3091 (timeclock-day-list-debt, timeclock-day-list-span)
3092 (timeclock-day-list-break): Adjust calls accordingly.
3093
3094 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3097 Use read--expression so that completion works again.
3098
3099 2013-08-21 Sam Steingold <sds@gnu.org>
3100
3101 Add rudimentary inferior shell interaction
3102 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3103 (sh-set-shell): Reset it.
3104 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3105 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3106
3107 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * align.el: Use lexical-binding.
3110 (align-region): Simplify accordingly.
3111
3112 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3113
3114 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3115
3116 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3117 `non-essential' up.
3118
3119 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3120
3121 * net/tramp.el:
3122 * net/tramp-adb.el:
3123 * net/tramp-cmds.el:
3124 * net/tramp-ftp.el:
3125 * net/tramp-gvfs.el:
3126 * net/tramp-gw.el:
3127 * net/tramp-sh.el: Don't wrap external variable declarations by
3128 `eval-when-compile'.
3129
3130 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3131
3132 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3133 now that Emacs supports ImageMagick animations.
3134
3135 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3136
3137 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3138 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3139
3140 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3141
3142 * window.el (mouse-autoselect-window-select): Do autoselect when
3143 mouse pointer is on margin.
3144
3145 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3146
3147 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3148
3149 2013-08-16 Glenn Morris <rgm@gnu.org>
3150
3151 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3152 Handle "Remote Directory" response of some clients. (Bug#15058)
3153
3154 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3155 Tweak warning. (Bug#14926)
3156
3157 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3158 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3159
3160 * image-mode.el (image-mode-map): Add menu items to reverse,
3161 increase, decrease, reset animation speed.
3162 (image--set-speed, image-increase-speed, image-decrease-speed)
3163 (image-reverse-speed, image-reset-speed): New functions.
3164 (image-mode-map): Add bindings for speed commands.
3165
3166 * image.el (image-animate-get-speed, image-animate-set-speed):
3167 New functions.
3168 (image-animate-timeout): Respect image :speed property.
3169
3170 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3173 previous line (bug#15101).
3174 (debugger-eval-expression, debugger-record-expression):
3175 Use read--expression (bug#15102).
3176
3177 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3178
3179 Remove byte compiler warnings, visible when compiling with
3180 `byte-compile-force-lexical-warnings' set to t.
3181
3182 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3183 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3184 (tramp-handle-unhandled-file-name-directory)
3185 (tramp-handle-file-notify-add-watch, tramp-action-login)
3186 (tramp-action-succeed, tramp-action-permission-denied)
3187 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3188 arguments with "_".
3189
3190 * net/tramp-adb.el (tramp-adb-parse-device-names)
3191 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3192 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3193 (tramp-adb-handle-file-truename): Remove unused arguments.
3194
3195 * net/tramp-cache.el (tramp-flush-directory-property)
3196 (tramp-flush-connection-property, tramp-list-connections)
3197 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3198
3199 * net/tramp-compat.el (tramp-compat-make-temp-file):
3200 Rename FILENAME to F.
3201
3202 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3203 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3204 (tramp-zeroconf-parse-workstation-device-names)
3205 (tramp-zeroconf-parse-webdav-device-names)
3206 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3207
3208 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3209 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3210
3211 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3212 arguments.
3213 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3214 (tramp-sh-handle-insert-file-contents-literally)
3215 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3216 with "_".
3217 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3218 Remove unused variables.
3219
3220 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3221 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3222 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3223
3224 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3225 Make them a defconst.
3226 (tramp-uuencode-region): Remove unused variable.
3227
3228 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3229
3230 * frameset.el (frameset--prop-setter): New function.
3231 (frameset-prop): Add gv-setter declaration.
3232 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3233 parameter was already set in FILTERED. Doc fix.
3234 (frameset--record-minibuffer-relationships): Allow saving a
3235 minibufferless frame without its corresponding minibuffer frame.
3236 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3237 frame, if the frame id matches.
3238 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3239 frames before orphaned ones.
3240 (frameset-restore): Warn about orphaned windows, instead of error out.
3241
3242 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3243
3244 * window.el (window-make-atom): Don't overwrite parameter
3245 already present.
3246 (display-buffer-in-atom-window): Handle special case where we
3247 split an already atomic window.
3248 (window--major-non-side-window, display-buffer-in-side-window)
3249 (window--side-check): Ignore minibuffer window when walking
3250 window tree.
3251 (window-deletable-p): Return 'frame only if no other frame uses
3252 our minibuffer window.
3253 (record-window-buffer): Run buffer-list-update-hook.
3254 (split-window): Make sure window--check-frame won't destroy an
3255 existing atomic window in case the new window gets nested
3256 inside.
3257 (display-buffer-at-bottom): Ignore minibuffer window when
3258 walking window tree. Don't split a side window.
3259 (pop-to-buffer): Don't set-buffer here, the select-window call
3260 should do that.
3261 (mouse-autoselect-window-select): Autoselect only if we are in the
3262 text portion of the window.
3263
3264 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3265
3266 * net/shr.el (shr-parse-image-data): New function to grab both the
3267 data itself and the Content-Type.
3268 (shr-put-image): Use it.
3269
3270 * net/eww.el (eww-display-image): Ditto.
3271
3272 * image.el (image-content-type-suffixes): New variable.
3273
3274 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3275
3276 * progmodes/python.el (python-imenu--build-tree)
3277 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3278
3279 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3280
3281 * simple.el (backward-word): Mention the optional argument.
3282
3283 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * frameset.el (frameset--make): Rename constructor from make-frameset.
3286 (frameset-p, frameset-valid-p): Don't autoload.
3287 (frameset-valid-p): Use normal accessors.
3288
3289 2013-08-13 Glenn Morris <rgm@gnu.org>
3290
3291 * progmodes/compile.el (compile-command): Tweak example in doc.
3292 * obsolete/scribe.el (scribe-mode):
3293 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3294
3295 * mail/feedmail.el (feedmail-confirm-outgoing)
3296 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3297
3298 * cus-start.el (truncate-partial-width-windows): Fix type.
3299
3300 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3301
3302 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3303
3304 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * emacs-lisp/timer.el (timer--time-setter): New function.
3307 (timer--time): Use it as gv-setter.
3308
3309 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3310 setter is not a symbol.
3311
3312 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3313
3314 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3315 if sending fails. This makes debugging easier.
3316
3317 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3318
3319 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3320 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3321 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3322
3323 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3324
3325 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3326
3327 2013-08-12 Glenn Morris <rgm@gnu.org>
3328
3329 * format.el (format-annotate-function):
3330 Handle read-only text properties in the source. (Bug#14887)
3331
3332 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3333
3334 * net/eww.el (eww-display-html): Ignore coding system errors.
3335 One web site uses "utf-8lias" as the coding system.
3336
3337 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3338
3339 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3340
3341 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3342
3343 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3344 (tutorial--detailed-help): Remove unused local variables.
3345 (tutorial--save-tutorial-to): Use ignore-errors.
3346 (help-with-tutorial): Use looking-at-p.
3347
3348 * view.el (view-buffer-other-window, view-buffer-other-frame):
3349 Mark unused arguments.
3350
3351 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3352 (woman-select-symbol-fonts, woman, woman-find-file)
3353 (woman-insert-file-contents, woman-non-underline-faces):
3354 Use string-match-p.
3355 (woman1-unquote): Move declaration.
3356
3357 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3358 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3359 argument. Remove unused local variable.
3360 (xml-parse-elem-type): Use string-match-p.
3361 (xml-substitute-numeric-entities): Use ignore-errors.
3362
3363 * calculator.el (calculator): Mark unused argument.
3364 (calculator-paste, calculator-quit, calculator-integer-p):
3365 Use ignore-errors.
3366 (calculator-string-to-number, calculator-decimal, calculator-exp)
3367 (calculator-op-or-exp): Use string-match-p.
3368
3369 * dired.el (dired-buffer-more-recently-used-p): Declare.
3370 (dired-insert-set-properties, dired-insert-old-subdirs):
3371 Use ignore-errors.
3372
3373 * dired-aux.el (dired-compress): Use ignore-errors.
3374 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3375 (dired-do-async-shell-command, dired-do-shell-command)
3376 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3377 (dired-insert-subdir-validate): Use string-match-p.
3378 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3379 (dired-add-entry): Use string-match-p, looking-at-p.
3380 (dired-insert-subdir-newpos): Remove unused local variable.
3381
3382 * filenotify.el (file-notify-callback): Remove unused local variable.
3383
3384 * filesets.el (filesets-error): Mark unused argument.
3385 (filesets-which-command-p, filesets-filter-dir-names)
3386 (filesets-directory-files, filesets-get-external-viewer)
3387 (filesets-ingroup-get-data): Use string-match-p.
3388
3389 * find-file.el (ff-other-file-name, ff-other-file-name)
3390 (ff-find-the-other-file, ff-cc-hh-converter):
3391 Remove unused local variables.
3392 (ff-get-file-name): Use string-match-p.
3393 (ff-all-dirs-under): Use ignore-errors.
3394
3395 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3396 (follow-select-if-visible): Remove unused local variable.
3397
3398 * forms.el (read-file-filter): Move declaration.
3399 (forms--make-format, forms--make-parser, forms-insert-record):
3400 Quote function with #'.
3401 (forms--update): Use string-match-p. Quote function with #'.
3402
3403 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3404 (help-make-xrefs): Use looking-at-p.
3405 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3406
3407 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3408 (ibuffer-confirm-operation-on): Use string-match-p.
3409
3410 * msb.el (msb-item-handler, msb-dired-item-handler):
3411 Mark unused arguments.
3412
3413 * ses.el (ses-decode-cell-symbol)
3414 (ses-kill-override): Remove unused local variable.
3415 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3416 (ses-load): Use ignore-errors, looking-at-p.
3417 (ses-jump-safe): Use ignore-errors.
3418 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3419
3420 * tabify.el (untabify, tabify): Mark unused arguments.
3421
3422 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3423 Mark unused argument.
3424 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3425 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3426
3427 * emacs-lisp/timer.el (timer--time): Define setter with
3428 gv-define-setter to avoid deprecation warning.
3429
3430 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3431 (*record-cmpl-statistics-p*): Remove (was commented out).
3432 (cmpl-statistics-block): Remove (body was commented out).
3433 All callers changed.
3434 (add-completions-from-buffer, load-completions-from-file):
3435 Remove unused variables.
3436
3437 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3438
3439 * filecache.el (file-cache-delete-file-list):
3440 Print message only when told so.
3441 (file-cache-files-matching): Use #' in mapconcat argument.
3442
3443 * ffap.el (ffap-url-at-point): Fix reference to variable
3444 thing-at-point-default-mail-uri-scheme.
3445
3446 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * subr.el (define-error): New function.
3449 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3450 error-file-not-found and define with define-error.
3451 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3452 and define with define-error.
3453 * userlock.el (file-locked, file-supersession):
3454 * simple.el (mark-inactive):
3455 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3456 * progmodes/ada-mode.el (ada-mode-errors):
3457 * play/life.el (life-extinct):
3458 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3459 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3460 * nxml/rng-util.el (rng-error):
3461 * nxml/rng-uri.el (rng-uri-error):
3462 * nxml/rng-match.el (rng-compile-error):
3463 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3464 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3465 * nxml/nxml-rap.el (nxml-scan-error):
3466 * nxml/nxml-outln.el (nxml-outline-error):
3467 * net/soap-client.el (soap-error):
3468 * net/gnutls.el (gnutls-error):
3469 * net/ange-ftp.el (ftp-error):
3470 * mpc.el (mpc-proc-error):
3471 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3472 (json-number-format, json-string-escape, json-string-format)
3473 (json-key-format, json-object-format):
3474 * jka-compr.el (compression-error):
3475 * international/quail.el (quail-error):
3476 * international/kkc.el (kkc-error):
3477 * emacs-lisp/ert.el (ert-test-failed):
3478 * calc/calc.el (calc-error, inexact-result, math-overflow)
3479 (math-underflow):
3480 * bookmark.el (bookmark-error-no-filename):
3481 * epg.el (epg-error): Define with define-error.
3482
3483 * time.el (display-time-event-handler)
3484 (display-time-next-load-average): Don't call sit-for since it seems
3485 unnecessary (bug#15045).
3486
3487 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3488 Use #' instead of ' to quote functions.
3489 (checkdoc-output-mode): Use setq-local.
3490 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3491 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3492 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3493 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3494 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3495 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3496 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3497 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3498
3499 * ido.el (ido-completion-help): Fix up compiler warning.
3500
3501 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3502
3503 * frameset.el (frameset-p): Add autoload cookie.
3504 (frameset--jump-to-register): New function, based on code moved from
3505 register.el.
3506 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3507
3508 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3509 (frameset-restore, frameset-save, frameset-session-filter-alist):
3510 Remove declarations.
3511 (register-alist): Doc fix.
3512 (frameset-to-register): Move to frameset.el.
3513 (jump-to-register, describe-register-1): Remove frameset-specific code.
3514
3515 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3516
3517 * allout-widgets.el (allout-widgets-pre-command-business)
3518 (allout-widgets-post-command-business)
3519 (allout-widgets-after-change-handler)
3520 (allout-decorate-item-and-context, allout-set-boundary-marker)
3521 (allout-body-modification-handler)
3522 (allout-graphics-modification-handler): Mark ignored arguments.
3523 (allout-widgets-post-command-business)
3524 (allout-widgets-exposure-change-processor)
3525 (allout-widgets-exposure-undo-processor)
3526 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3527 (allout-parse-item-at-point, allout-decorate-item-guides)
3528 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3529 * allout.el (epa-passphrase-callback-function): Declare.
3530 (allout-overlay-insert-in-front-handler)
3531 (allout-overlay-interior-modification-handler)
3532 (allout-isearch-end-handler, allout-chart-siblings)
3533 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3534 (allout-yank-processing, allout-process-exposed)
3535 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3536 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3537 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3538 (lisp-indent-defform): Mark ignored arguments.
3539 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3540 (calculate-lisp-indent): Remove unused variables.
3541 * international/characters.el (indian-2-column, arabic-2-column)
3542 (tibetan): Mark ignored arguments.
3543 (use-cjk-char-width-table): Mark ignored arguments.
3544 Remove unused variables.
3545 * international/fontset.el (build-default-fontset-data)
3546 (x-compose-font-name, create-fontset-from-fontset-spec):
3547 Mark ignored arguments.
3548 (fontset-plain-name): Remove unused variables.
3549 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3550 (keyboard-coding-system): Mark ignored arguments.
3551 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3552 * help.el (resize-temp-buffer-window):
3553 * window.el (display-buffer-in-major-side-window)
3554 (display-buffer-in-side-window, display-buffer-in-previous-window):
3555 Remove unused variables.
3556 * isearch.el (isearch-forward-symbol):
3557 * version.el (emacs-bzr-version-bzr):
3558 * international/mule-cmds.el (current-language-environment):
3559 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3560 (x-handle-display):
3561 * term/pc-win.el (x-list-fonts, x-display-planes)
3562 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3563 (x-server-version, x-display-screens, x-display-mm-height)
3564 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3565 (x-selection-owner-p, x-own-selection-internal)
3566 (x-disown-selection-internal, x-get-selection-internal)
3567 (msdos-initialize-window-system):
3568 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3569 * term/x-win.el (x-handle-no-bitmap-icon):
3570 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3571 (vc-default-find-file-hook, vc-default-extra-menu):
3572 Mark ignored arguments.
3573
3574 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3577 break-condition in the context of the debugged code (bug#12685).
3578
3579 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3580
3581 * comint.el:
3582 Do not use an overlay to highlight the last prompt. (Bug#14744)
3583 (comint-mode): Make comint-last-prompt buffer local.
3584 (comint-last-prompt): New variable.
3585 (comint-last-prompt-overlay): Remove. Superseded by
3586 comint-last-prompt.
3587 (comint-snapshot-last-prompt, comint-output-filter):
3588 Use comint-last-prompt.
3589
3590 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3591
3592 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3593 (frameset-save): Check validity of the resulting frameset.
3594
3595 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3596
3597 * ido.el (ido-record-command): Add doc string.
3598
3599 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3600
3601 * frameset.el (frameset): Do not disable creation of the default
3602 frameset-p predicate. Doc fix.
3603 (frameset-valid-p): New function, copied from the old predicate-p.
3604 Add additional checks.
3605 (frameset-restore): Check with frameset-valid-p.
3606 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3607 (frameset-name, frameset-description, frameset-properties)
3608 (frameset-states): Add docstring.
3609 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3610 (frameset-filter-alist): Doc fixes.
3611
3612 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3613
3614 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3615
3616 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3619 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3620 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3621 (byte-compile-normal-call): Remove obsolescence check.
3622
3623 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3624
3625 * frameset.el (frameset-restore): Doc fix.
3626
3627 * register.el (frameset-frame-id, frameset-frame-with-id)
3628 (frameset-p, frameset-restore, frameset-save): Declare.
3629 (register-alist): Document framesets.
3630 (frameset-session-filter-alist): Declare.
3631 (frameset-to-register): New function.
3632 (jump-to-register): Implement jumping to framesets. Doc fix.
3633 (describe-register-1): Describe framesets.
3634
3635 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3636
3637 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3638
3639 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3640 Use lexical-binding.
3641
3642 * frameset.el (frameset): Use type vector, not list (incompatible
3643 change). Do not declare a new constructor, use the default one.
3644 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3645 `name' and `description', respectively, and add read-only slot
3646 `timestamp'. Doc fixes.
3647 (frameset-copy, frameset-persistent-filter-alist)
3648 (frameset-filter-alist, frameset-switch-to-gui-p)
3649 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3650 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3651 (frameset-filter-iconified, frameset-keep-original-display-p):
3652 Doc fixes.
3653 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3654 Rename from frameset-filter-(save|restore)-param. All callers changed.
3655 Doc fix.
3656 (frameset-p): Adapt to change to vector and be more thorough.
3657 Change arg name to OBJECT. Doc fix.
3658 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3659 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3660 All callers changed.
3661 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3662 All callers changed.
3663 (frameset--record-minibuffer-relationships): Rename from
3664 frameset--process-minibuffer-frames. All callers changed.
3665 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3666 Use new default constructor (again). Doc fix.
3667 (frameset--find-frame-if): Rename from `frameset--find-frame.
3668 All callers changed.
3669 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3670 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3671 Doc fix.
3672 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3673 PARAMETERS and WINDOW-STATE, respectively.
3674 (frameset-restore): Add new keyword argument PREDICATE.
3675 Reset frameset--target-display to nil. Doc fix.
3676
3677 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3680 (bat-mode): Use it.
3681 (bat-mode-syntax-table): Mark \n as end-of-comment.
3682 (bat-font-lock-keywords): Remove comment rule.
3683
3684 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3685 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3686
3687 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3688 (byte-compile-callargs-warn): Use `push'.
3689 (byte-compile-arglist-warn): Ignore higher-order "calls".
3690 (byte-compile-file-form-autoload): Use `pcase'.
3691 (byte-compile-function-form): If quoting a symbol, check that it exists.
3692
3693 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3694
3695 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3696 and add a few popular commands found in batch files.
3697 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3698 (dos-mode): Doc fixes.
3699
3700 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3703 (dos-mode): Use setq-local. Add space after "rem".
3704 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3705 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3706
3707 2013-08-07 Arni Magnusson <arnima@hafro.is>
3708
3709 * progmodes/dos.el: New file.
3710 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3711 dos-mode.
3712
3713 2013-08-06 Glenn Morris <rgm@gnu.org>
3714
3715 * calendar/calendar.el: Add new faces, and day-header-array.
3716 (calendar-weekday-header, calendar-weekend-header)
3717 (calendar-month-header): New faces.
3718 (calendar-day-header-construct): New function.
3719 (calendar-day-header-width): Also :set calendar-day-header-array.
3720 (calendar-american-month-header, calendar-european-month-header)
3721 (calendar-iso-month-header): Use calendar- faces.
3722 (calendar-generate-month):
3723 Use calendar-day-header-array for day headers; apply faces to them.
3724 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3725 (calendar-abbrev-construct): Add optional maxlen argument.
3726 (calendar-day-name-array): Doc fix.
3727 (calendar-day-name-array, calendar-abbrev-length)
3728 (calendar-day-abbrev-array):
3729 Also :set calendar-day-header-array, and maybe redraw.
3730 (calendar-day-header-array): New option. (Bug#15007)
3731 (calendar-font-lock-keywords): Set to nil and make obsolete.
3732 (calendar-day-name): Add option to use header array.
3733
3734 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3735
3736 * net/shr.el (shr-render-td): Remove debugging.
3737 (shr-render-td): Make width computation consistent by defaulting
3738 all zero-width columns to 10 characters. This may not be optimal,
3739 but it's at least consistent.
3740 (shr-make-table-1): Redo last change to fix the real problem in
3741 colspan handling.
3742
3743 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3744
3745 * files.el (cache-long-line-scans):
3746 Make obsolete alias to `cache-long-scans'.
3747
3748 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3749
3750 * frameset.el (frameset, frameset-filter-alist)
3751 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3752 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3753 (frameset-compute-pos): Rename from frameset--compute-pos,
3754 and add docstring.
3755 (frameset-move-onscreen): Use frameset-compute-pos.
3756 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3757
3758 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3759 Fix typos in docstrings.
3760
3761 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3762
3763 * frame.el (get-other-frame): Tiny cleanup.
3764
3765 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3766
3767 * vc/vc.el (vc-default-ignore-completion-table):
3768 Silence byte-compiler warning.
3769
3770 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3771 slot , which can indeed be nil.
3772 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3773 Move entry for `left' from persistent to live filter alist.
3774 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3775 Doc fixes.
3776 (frameset-filter-params): When restoring a frame, copy items added to
3777 `filtered', to avoid unwittingly modifying the original parameters.
3778 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3779 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3780
3781 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3782 to use looking-at-p instead of looking-at. (Bug#15028)
3783
3784 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 Revert introduction of isearch-filter-predicates (bug#14714).
3787 Rely on add-function instead.
3788 * isearch.el (isearch-filter-predicates): Rename it back to
3789 isearch-filter-predicate.
3790 (isearch-message-prefix): Use advice-function-mapc and advice
3791 properties to get the isearch-message-prefix.
3792 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3793 instead of run-hook-with-args-until-failure.
3794 (isearch-filter-visible): Not obsolete any more.
3795 * loadup.el: Preload nadvice.
3796 * replace.el (perform-replace): Revert to funcall
3797 instead of run-hook-with-args-until-failure.
3798 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3799 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3800 dired-isearch-filenames-toggle; make it into a proper minor mode.
3801 Use add/remove-function.
3802 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3803 Call the minor-mode rather than add/remove-hook.
3804 (dired-isearch-filter-filenames):
3805 Remove isearch-message-prefix property.
3806 * info.el (Info--search-loop): New function, extracted from Info-search.
3807 Funcall isearch-filter-predicate instead of
3808 run-hook-with-args-until-failure isearch-filter-predicates.
3809 (Info-search): Use it.
3810 (Info-mode): Use isearch-filter-predicate instead of
3811 isearch-filter-predicates.
3812
3813 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3814
3815 Do not call to `selected-window' where it is assumed by default.
3816 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3817 `window-hscroll', `window-width', `window-height', `window-buffer',
3818 `window-frame', `window-start', `window-point', `next-window'
3819 and `window-display-table'.
3820 * abbrev.el (abbrev--default-expand):
3821 * bs.el (bs--show-with-configuration):
3822 * buff-menu.el (Buffer-menu-mouse-select):
3823 * calc/calc.el (calc):
3824 * calendar/calendar.el (calendar-generate-window):
3825 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3826 (diary-make-entry):
3827 * comint.el (send-invisible, comint-dynamic-complete-filename)
3828 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3829 * completion.el (complete):
3830 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3831 * disp-table.el (describe-current-display-table):
3832 * doc-view.el (doc-view-insert-image):
3833 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3834 * ehelp.el (with-electric-help):
3835 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3836 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3837 * emacs-lisp/helper.el (Helper-help-scroller):
3838 * emulation/cua-base.el (cua--post-command-handler-1):
3839 * eshell/esh-mode.el (eshell-output-filter):
3840 * ffap.el (ffap-gnus-wrapper):
3841 * help-macro.el (make-help-screen):
3842 * hilit-chg.el (highlight-compare-buffers):
3843 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3844 * hl-line.el (global-hl-line-highlight):
3845 * icomplete.el (icomplete-simple-completing-p):
3846 * isearch.el (isearch-done):
3847 * jit-lock.el (jit-lock-stealth-fontify):
3848 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3849 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3850 * mpc.el (mpc-tagbrowser, mpc):
3851 * net/rcirc.el (rcirc-any-buffer):
3852 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3853 * play/landmark.el (landmark-max-width, landmark-max-height):
3854 * play/zone.el (zone):
3855 * progmodes/compile.el (compilation-goto-locus):
3856 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3857 * progmodes/etags.el (find-tag-other-window):
3858 * progmodes/fortran.el (fortran-column-ruler):
3859 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3860 * progmodes/verilog-mode.el (verilog-point-text):
3861 * reposition.el (reposition-window):
3862 * rot13.el (toggle-rot13-mode):
3863 * server.el (server-switch-buffer):
3864 * shell.el (shell-dynamic-complete-command)
3865 (shell-dynamic-complete-environment-variable):
3866 * simple.el (insert-buffer, set-selective-display)
3867 (delete-completion-window):
3868 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3869 (speedbar-recenter):
3870 * startup.el (fancy-splash-head):
3871 * textmodes/ispell.el (ispell-command-loop):
3872 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3873 * tutorial.el (help-with-tutorial):
3874 * vc/add-log.el (add-change-log-entry):
3875 * vc/compare-w.el (compare-windows):
3876 * vc/ediff-help.el (ediff-indent-help-message):
3877 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3878 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3879 (ediff-setup-control-frame):
3880 * vc/emerge.el (emerge-position-region):
3881 * vc/pcvs-util.el (cvs-bury-buffer):
3882 * window.el (walk-windows, mouse-autoselect-window-select):
3883 * winner.el (winner-set-conf, winner-undo): Related users changed.
3884
3885 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3886
3887 * frameset.el (frameset--set-id): Doc fix.
3888 (frameset-frame-id, frameset-frame-id-equal-p)
3889 (frameset-locate-frame-id): New functions.
3890 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3891 (frameset-restore): Use them.
3892
3893 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3894
3895 Do not call to `selected-frame' where it is assumed by default.
3896 Affected functions are `raise-frame', `redraw-frame',
3897 `frame-first-window', `frame-terminal' and `delete-frame'.
3898 * calendar/appt.el (appt-disp-window):
3899 * epg.el (epg-wait-for-completion):
3900 * follow.el (follow-delete-other-windows-and-split)
3901 (follow-avoid-tail-recenter):
3902 * international/mule.el (set-terminal-coding-system):
3903 * mail/rmail.el (rmail-mail-return):
3904 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3905 * progmodes/f90.el (f90-add-imenu-menu):
3906 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3907 * server.el (server-switch-buffer):
3908 * simple.el (delete-completion-window):
3909 * talk.el (talk):
3910 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3911 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3912 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3913 * vc/ediff.el (ediff-documentation): Related users changed.
3914 * frame.el (selected-terminal): Remove the leftover.
3915
3916 2013-08-05 Glenn Morris <rgm@gnu.org>
3917
3918 * calendar/calendar.el (calendar-generate-month):
3919 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3920 (calendar-generate-month, calendar-font-lock-keywords):
3921 Fix for calendar-day-header-width > length of any day name.
3922
3923 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3924
3925 * desktop.el (desktop-clear): Use new name of sort predicate.
3926
3927 * frameset.el (frameset): Add docstring. Move :version property to its
3928 own `version' slot.
3929 (frameset-copy): Rename from copy-frameset.
3930 (frameset-p): Check more thoroughly.
3931 (frameset-prop): Do not check for :version, which is no longer a prop.
3932 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3933 Use new :never value instead of t.
3934 (frameset-filter-alist): Expand and clarify docstring.
3935 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3936 (frameset-filter-minibuffer, frameset-filter-save-param)
3937 (frameset-filter-restore-param, frameset-filter-iconified):
3938 Add pointer to docstring of frameset-filter-alist.
3939 (frameset-filter-params): Rename filter values to be more meaningful:
3940 :never instead of t, and reverse the meanings of :save and :restore.
3941 (frameset--process-minibuffer-frames): Clarify error message.
3942 (frameset-save): Avoid unnecessary and confusing call to framep.
3943 Use new BOA constructor for framesets.
3944 (frameset--reuse-list): Doc fix.
3945 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3946 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3947 (frameset-minibufferless-first-p): Doc fix.
3948 Rename from frameset-sort-frames-for-deletion.
3949 (frameset-restore): Doc fixes. Use new function names.
3950 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3951
3952 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3953
3954 * desktop.el (desktop-restore-forces-onscreen)
3955 (desktop-restore-reuses-frames): Document :keyword constant values.
3956 (desktop-filter-parameters-alist): Remove, now identical to
3957 frameset-filter-alist.
3958 (desktop--filter-tty*): Remove, moved to frameset.el.
3959 (desktop-save-frameset, desktop-restore-frameset):
3960 Do not pass :filters argument.
3961
3962 * frameset.el (frameset-live-filter-alist)
3963 (frameset-persistent-filter-alist): New variables.
3964 (frameset-filter-alist): Use them. Add autoload cookie.
3965 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3966 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3967 `frameset--id' (it's supposed to be internal to frameset.el).
3968 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3969 (frameset--initial-params): New function.
3970 (frameset--get-frame): Use it. Doc fix.
3971 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3972 Accept :all, not 'all.
3973 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3974 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3975 with fbound symbols. Fix frame id matching, and remove matching ids if
3976 the frame being restored is deleted. Obey :delete.
3977
3978 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * subr.el (macrop): New function.
3981 (text-clone--maintaining): New var.
3982 (text-clone--maintain): Rename from text-clone-maintain. Use it
3983 instead of inhibit-modification-hooks.
3984
3985 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3986 a proxy, so as handle autoloads and redefinitions of the target.
3987 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3988
3989 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3990 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3991 (pcase--mutually-exclusive-p): New function.
3992 (pcase--split-consp): Use it.
3993 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3994 mutually exclusive with the current predicate.
3995
3996 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3997 (edebug-macrop): Remove. Use `macrop' instead.
3998 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3999 (ad-macro-p):
4000 * eshell/esh-cmd.el (eshell-macrop):
4001 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4002
4003 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4006 (advice-mapc): New function, using it.
4007 (advice-function-member-p): New function.
4008 (advice--normalize): Store the cdr in advice--saved-rewrite since
4009 that's the part that will be changed.
4010 (advice--symbol-function): New function.
4011 (advice-remove): Handle removal before the function is defined.
4012 Adjust to new advice--saved-rewrite.
4013 (advice-member-p): Use advice-function-member-p and
4014 advice--symbol-function.
4015
4016 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4017
4018 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4019 (frameset-filter-minibuffer): Doc fix.
4020 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4021 (frameset--set-id, frameset--process-minibuffer-frames)
4022 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4023 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4024
4025 * desktop.el (desktop-clear): Only delete frames when called
4026 interactively and desktop-restore-frames is non-nil. Doc fix.
4027 (desktop-read): Set desktop-saved-frameset to nil.
4028
4029 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4030
4031 * vc/vc.el (vc-ignore): Rewrite.
4032 (vc-default-ignore-completion-table):
4033 (vc--read-lines):
4034 (vc--add-line, vc--remove-regexp): New functions.
4035
4036 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4037 (vc-svn-ignore-completion-table): New function.
4038
4039 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4040 (vc-hg-ignore-completion-table):
4041 (vc-hg-find-ignore-file): New functions.
4042
4043 * vc/vc-git.el (vc-git-ignore): Rewrite.
4044 (vc-git-ignore-completion-table):
4045 (vc-git-find-ignore-file): New functions.
4046
4047 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4048
4049 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4050 (vc-bzr-ignore-completion-table):
4051 (vc-bzr-find-ignore-file): New functions.
4052
4053 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4054
4055 * frameset.el (frameset-prop): New function and setter.
4056 (frameset-save): Do not modify frame list passed by the caller.
4057
4058 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4061
4062 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4065 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4066
4067 * custom.el (custom-initialize-default, custom-initialize-set)
4068 (custom-initialize-reset, custom-initialize-changed): Affect the
4069 toplevel-default-value (bug#6275, bug#14586).
4070 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4071 for bug#6275.
4072
4073 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4074
4075 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4076 Add cl-def* expressions.
4077
4078 * frameset.el (frameset-filter-params): Fix order of arguments.
4079
4080 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4081
4082 Move code related to saving frames to frameset.el.
4083 * desktop.el: Require frameset.
4084 (desktop-restore-frames): Doc fix.
4085 (desktop-restore-reuses-frames): Rename from
4086 desktop-restoring-reuses-frames.
4087 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4088 (desktop-clear): Clear frames too.
4089 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4090 (desktop--filter-tty*, desktop-save, desktop-read):
4091 Use frameset functions.
4092 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4093 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4094 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4095 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4096 (desktop--process-minibuffer-frames, desktop-save-frames)
4097 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4098 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4099 (desktop--sort-states, desktop-restoring-frames-p)
4100 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4101 (desktop-restoring-frameset-p, desktop-restore-frameset)
4102 (desktop--check-dont-save, desktop-save-frameset): New functions.
4103 (desktop--app-id): New constant.
4104 (desktop-first-buffer, desktop-buffer-ok-count)
4105 (desktop-buffer-fail-count): Move before first use.
4106 * frameset.el: New file.
4107
4108 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * files.el: Use lexical-binding.
4111 (dir-locals-read-from-file): Remove unused `err' variable.
4112 (hack-dir-local-variables--warned-coding): New var.
4113 (hack-dir-local-variables): Use it to avoid repeated warnings.
4114 (make-backup-file-name--default-function): New function.
4115 (make-backup-file-name-function): Use it as default.
4116 (buffer-stale--default-function): New function.
4117 (buffer-stale-function): Use it as default.
4118 (revert-buffer-insert-file-contents--default-function): New function.
4119 (revert-buffer-insert-file-contents-function): Use it as default.
4120 (insert-directory): Avoid add-to-list.
4121
4122 * autorevert.el (auto-revert-handler): Simplify.
4123 Use buffer-stale--default-function.
4124
4125 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4126
4127 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4128
4129 * whitespace.el (whitespace-ensure-local-variables): New function.
4130 (whitespace-cleanup-region): Call it.
4131 (whitespace-turn-on): Call it.
4132
4133 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4134
4135 Complete file name handlers.
4136
4137 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4138 (tramp-handle-verify-visited-file-modtime)
4139 (tramp-handle-file-notify-rm-watch): New functions.
4140 (tramp-call-process): Do not bind `default-directory'.
4141
4142 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4143 Order alphabetically.
4144 [access-file, add-name-to-file, dired-call-process]:
4145 [dired-compress-file, file-acl, file-notify-rm-watch]:
4146 [file-ownership-preserved-p, file-selinux-context]:
4147 [make-directory-internal, make-symbolic-link, set-file-acl]:
4148 [set-file-selinux-context, set-visited-file-modtime]:
4149 [verify-visited-file-modtime]: Add handler.
4150 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4151
4152 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4153 [file-notify-add-watch, file-notify-rm-watch]:
4154 [set-file-times, set-visited-file-modtime]:
4155 [verify-visited-file-modtime]: Add handler.
4156 (with-tramp-gvfs-error-message)
4157 (tramp-gvfs-handle-set-visited-file-modtime)
4158 (tramp-gvfs-fuse-file-name): Remove.
4159 (tramp-gvfs-handle-file-notify-add-watch)
4160 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4161 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4162
4163 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4164 Order alphabetically.
4165 [file-notify-rm-watch ]: Use default Tramp handler.
4166 [executable-find]: Remove private handler.
4167 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4168 `default-directory'.
4169 (tramp-sh-handle-executable-find)
4170 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4171 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4172 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4173 Do not use `format' in `tramp-message'.
4174
4175 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4176 [file-notify-rm-watch, set-visited-file-modtime]:
4177 [verify-visited-file-modtime]: Add handler.
4178 (tramp-smb-call-winexe): Do not bind `default-directory'.
4179
4180 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4181
4182 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4183
4184 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4185
4186 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4187 use it.
4188 (log-view-diff-changeset): Same.
4189 (log-view-diff-common): Call backend command `previous-revision'
4190 to find out the previous revision, in both cases. Swap the
4191 variables `to' and `fr', so that `fr' usually refers to the
4192 earlier revision (Bug#14989).
4193
4194 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4195
4196 * ibuf-ext.el (ibuffer-filter-by-filename):
4197 Make it work with dired buffers too.
4198
4199 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4200
4201 * emacs-lisp/re-builder.el (reb-color-display-p):
4202 * files.el (save-buffers-kill-terminal):
4203 * net/browse-url.el (browse-url):
4204 * server.el (server-save-buffers-kill-terminal):
4205 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4206 Prefer nil to selected-frame for the first arg of frame-parameter.
4207
4208 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4209
4210 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4211
4212 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4213
4214 * minibuffer.el (completion--twq-all): Try and preserve each
4215 completion's case choice (bug#14907).
4216
4217 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4218
4219 * net/network-stream.el (open-network-stream): Mention the new
4220 :nogreeting parameter.
4221 (network-stream-open-starttls): Use the :nogreeting parameter
4222 (bug#14938).
4223
4224 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4225
4226 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4227 more natural than popping.
4228
4229 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4230 (shr-urlify): Highlight under mouse.
4231
4232 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4233
4234 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4235
4236 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4237
4238 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4239 buffer for output.
4240
4241 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4242 point-min==1. Fix search string. Fix parentheses missing.
4243
4244 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4245 assume point-min==1. Fix search string. Fix parentheses missing.
4246
4247 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4248
4249 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4250 buffer for output.
4251
4252 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4253
4254 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4255 initial frame is minibuffer-less. (Bug#14841)
4256
4257 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4258
4259 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4260 option.
4261
4262 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4263 (tramp-maybe-open-connection): Use it.
4264
4265 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4266
4267 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4268 minimal set of parameters passed when creating a frame, because
4269 the minibuffer status of a frame cannot be changed later.
4270
4271 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4272
4273 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4274 replace-regexp-in-string and inadvertent omissions in previous change.
4275 (todo-filter-items): Ensure only file names are comma-separated in
4276 name of filtered items buffer.
4277
4278 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4279
4280 * desktop.el: Optionally force offscreen frames back onscreen.
4281 (desktop-restoring-reuses-frames): New option.
4282 (desktop--compute-pos, desktop--move-onscreen): New functions.
4283 (desktop--make-frame): Use desktop--move-onscreen.
4284
4285 2013-07-27 Alan Mackenzie <acm@muc.de>
4286
4287 Fontify a Java generic method as a function.
4288 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4289 value to t.
4290
4291 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4292
4293 * calendar/todo-mode.el: Add command to rename todo files.
4294 (todo-rename-file): New command.
4295 (todo-key-bindings-t): Add key binding for it. Change the
4296 bindings of todo-filter-regexp-items(-multifile) to use `x'
4297 instead of `r', since the latter is better suited to the new
4298 renaming command.
4299
4300 2013-07-27 Alan Mackenzie <acm@muc.de>
4301
4302 Make Java try-with-resources statement parse properly.
4303 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4304 (c-block-stmt-1-2-key): New language constants/variables.
4305 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4306 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4307 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4308 with c-block-stmt-1-2-key.
4309
4310 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4311
4312 * desktop.el (desktop--make-frame): Apply most frame parameters after
4313 creating the frame to force (partially or totally) offscreen frames to
4314 be restored as such.
4315
4316 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4317
4318 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4319 (Bug#14948)
4320
4321 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4322
4323 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4324 `base' arg of backtrace-frame.
4325
4326 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4327
4328 * simple.el (list-processes): Doc fix.
4329
4330 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4331
4332 * desktop.el (desktop--select-frame):
4333 Try harder to reuse existing frames.
4334
4335 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4338 (edebug-eval): Use backtrace-eval.
4339 (edebug--display, edebug--recursive-edit): Don't let-bind the
4340 edebug-outer-* vars that keep track of variables we locally let-bind.
4341 (edebug-outside-excursion): Don't restore outside values of locally
4342 let-bound vars.
4343 (edebug--display): Use user-error.
4344 (cl-lexical-debug, cl-debug-env): Remove.
4345
4346 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4347
4348 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4349 are restored to be sure that they are visible before deleting any
4350 remaining ones.
4351
4352 2013-07-26 Matthias Meulien <orontee@gmail.com>
4353
4354 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4355 vc-print-root-log. (Bug#14948)
4356
4357 2013-07-26 Richard Stallman <rms@gnu.org>
4358
4359 Add aliases for encrypting mail.
4360 * epa.el (epa-mail-aliases): New option.
4361 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4362 Bind inhibit-read-only so read-only text doesn't ruin everything.
4363 (epa-mail-default-recipients): New subroutine broken out.
4364 Handle epa-mail-aliases.
4365
4366 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 Add support for lexical variables to the debugger's `e' command.
4369 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4370 vars, except for debugger-outer-match-data.
4371 (debugger-frame-number): Move check for "on a function call" from
4372 callers into it. Add `skip-base' argument.
4373 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4374 (debugger-env-macro): Only reset the state stored in non-variables,
4375 i.e. current-buffer and match-data.
4376 (debugger-eval-expression): Rewrite using backtrace-eval.
4377 * subr.el (internal--called-interactively-p--get-frame): Remove.
4378 (called-interactively-p):
4379 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4380 `base' arg of backtrace-frame instead.
4381
4382 2013-07-26 Glenn Morris <rgm@gnu.org>
4383
4384 * align.el (align-regexp): Doc fix. (Bug#14857)
4385 (align-region): Explicit error if subexpression missing/does not match.
4386
4387 * simple.el (global-visual-line-mode):
4388 Do not duplicate the mode lighter. (Bug#14858)
4389
4390 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4391
4392 * window.el (display-buffer): In display-buffer bind
4393 split-window-keep-point to t, bug#14829.
4394
4395 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4396
4397 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4398 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4399 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4400 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4401 Change accordingly.
4402 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4403 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4404
4405 2013-07-25 Glenn Morris <rgm@gnu.org>
4406
4407 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4408
4409 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4410
4411 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4412 parameter to modify-frame-parameters if the value has not changed;
4413 this is a workaround for bug#14949.
4414 (desktop--make-frame): On cl-delete-if call, check parameter name,
4415 not full parameter.
4416
4417 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4418
4419 * vc/vc.el (vc-ignore): New function.
4420
4421 * vc/vc-svn.el (vc-svn-ignore): New function.
4422
4423 * vc/vc-hg.el (vc-hg-ignore): New function.
4424
4425 * vc/vc-git.el (vc-git-ignore): New function.
4426
4427 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4428 (vc-dir-ignore): New function.
4429
4430 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4431 (cvs-append-to-ignore): Move here from pcvs.el.
4432
4433 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4434
4435 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4436
4437 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4438
4439 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4440 (desktop-restore-frames): Warn when deleting an existing frame failed.
4441
4442 2013-07-24 Glenn Morris <rgm@gnu.org>
4443
4444 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4445
4446 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4447
4448 * filenotify.el (file-notify-supported-p):
4449 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4450 Remove functions.
4451
4452 * autorevert.el (auto-revert-use-notify):
4453 (auto-revert-notify-add-watch):
4454 * net/tramp.el (tramp-file-name-for-operation):
4455 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4456 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4457 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4458 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4459 Remove `file-notify-supported-p' entry.
4460
4461 2013-07-24 Glenn Morris <rgm@gnu.org>
4462
4463 * printing.el: Replace all uses of deleted ps-windows-system,
4464 ps-lp-system, ps-flatten-list with lpr- versions.
4465
4466 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4469 checked with memq (bug#14935).
4470
4471 * files.el (revert-buffer-function): Use a non-nil default.
4472 (revert-buffer-preserve-modes): Declare var to
4473 provide access to the `preserve-modes' argument.
4474 (revert-buffer): Let-bind it.
4475 (revert-buffer--default): New function, extracted from revert-buffer.
4476
4477 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * lpr.el: Signal print errors more prominently.
4480 (print-region-function): Don't default to nil.
4481 (lpr-print-region): New function, extracted from print-region-1.
4482 Check lpr's return value and signal an error in case of problem.
4483 (print-region-1): Use it.
4484 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4485 versions instead.
4486 (ps-printer-name): Default to nil.
4487 (ps-printer-name-option): Default to lpr-printer-switch.
4488 (ps-print-region-function): Don't default to nil.
4489 (ps-postscript-code-directory): Simplify default.
4490 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4491 (ps-string-list, ps-eval-switch, ps-flatten-list)
4492 (ps-flatten-list-1): Remove.
4493 (ps-multibyte-buffer): Avoid setq.
4494 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4495 (print-region-function, ps-print-region-function): Don't set them here.
4496
4497 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4498
4499 * ido.el (ido-fractionp):
4500 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4501 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4502 (ido-max-directory-size, ido-max-dir-file-cache)
4503 (ido-decorations): Doc fix.
4504
4505 * ansi-color.el: Fix old URL.
4506
4507 2013-07-23 Michael R. Mauger <michael@mauger.com>
4508
4509 * progmodes/sql.el: Version 3.3
4510 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4511 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4512 (sql-interactive-remove-continuation-prompt): Rewrite, use
4513 functions above. Fix continuation prompt and complete output line
4514 handling.
4515 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4516 redirected output buffer.
4517 (sql-mode): Restore deleted code (Bug#13591).
4518
4519 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4520
4521 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4522
4523 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4524
4525 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4526
4527 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4528 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4529 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4530
4531 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4532
4533 * desktop.el (desktop-clear): Simplify; remove useless checks
4534 against invalid buffer names.
4535 (desktop-list*): Use cl-list*.
4536 (desktop-buffer-info, desktop-create-buffer): Simplify.
4537
4538 2013-07-23 Leo Liu <sdl.web@gmail.com>
4539
4540 * bookmark.el (bookmark-make-record): Restore NAME as a default
4541 value. (Bug#14933)
4542
4543 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4546 extracted from autoload--insert-text.
4547 (autoload--insert-text): Remove.
4548 (autoload--print-cookie-text): New function, extracted from
4549 autoload--insert-cookie-text.
4550 (autoload--insert-cookie-text): Remove.
4551 (autoload-generate-file-autoloads): Adjust calls accordingly.
4552
4553 * winner.el (winner-hook-installed-p): Remove.
4554 (winner-mode): Simplify accordingly.
4555
4556 * subr.el (add-to-list): Fix compiler-macro when `append' is
4557 not constant. Don't use `cl-member' for the base case.
4558
4559 * progmodes/subword.el: Fix boundary case (bug#13758).
4560 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4561 own group.
4562 (subword-backward-regexp): Make it a constant.
4563 (subword-forward-internal): Don't treat a trailing capital as the
4564 beginning of a word.
4565
4566 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4567
4568 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4569 global value of tabulated-list-revert-hook (bug#14930).
4570
4571 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4572
4573 * desktop.el: Require 'cl-lib.
4574 (desktop-before-saving-frames-functions): New hook.
4575 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4576 for frames being saved. Rename from desktop--save-minibuffer-frames.
4577 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4578 Do not save frames with non-nil `desktop-dont-save' parameter.
4579 Filter out deleted frames.
4580 (desktop--find-frame): Use cl-find-if.
4581 (desktop--select-frame): Use cl-(first|second|third) to access values
4582 of desktop-mini.
4583 (desktop--make-frame): Use cl-delete-if.
4584 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4585 (desktop-restore-frames): Use cl-(first|second|third) to access values
4586 of desktop-mini. Look for visible frame at the end, not while
4587 restoring frames.
4588
4589 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4590 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4591 Use string-match-p, looking-at-p (bug#14927).
4592
4593 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4594
4595 * desktop.el (desktop-saved-frame-states):
4596 Rename from desktop--saved-states; all users changed.
4597 (desktop-save-frames): Rename from desktop--save-frames.
4598 Do not save state to desktop file.
4599 (desktop-save): Save desktop-saved-frame-states to desktop file
4600 and reset to nil.
4601 (desktop-restoring-frames-p): New function.
4602 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4603 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4604 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4605
4606 * desktop.el: Correctly restore iconified frames.
4607 (desktop--filter-iconified-position): New function.
4608 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4609
4610 2013-07-20 Glenn Morris <rgm@gnu.org>
4611
4612 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4613 Let `message' do the formatting.
4614 (def-gdb-preempt-display-buffer): Add explicit format.
4615
4616 * image-dired.el (image-dired-track-original-file):
4617 Use with-current-buffer.
4618 (image-dired-track-thumbnail): Use with-current-buffer.
4619 Avoid changing point of wrong window.
4620
4621 * image-dired.el (image-dired-track-original-file):
4622 Avoid changing point of wrong window. (Bug#14909)
4623
4624 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4625
4626 * progmodes/gdb-mi.el (gdb-done-or-error):
4627 Guard against "%" in gdb output. (Bug#14127)
4628
4629 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4630
4631 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4632 (Bug#14826)
4633
4634 * international/mule.el (coding-system-iso-2022-flags): Fix last
4635 change.
4636
4637 2013-07-20 Kenichi Handa <handa@gnu.org>
4638
4639 * international/mule.el (coding-system-iso-2022-flags):
4640 Add `8-bit-level-4'. (Bug#8522)
4641
4642 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643
4644 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4645 (bug#14815).
4646
4647 * net/eww.el (eww-process-text-input): Allow inputting when the
4648 point is at the start of the line, as the properties aren't
4649 front-sticky.
4650
4651 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4652 degenerate widths.
4653
4654 2013-07-19 Richard Stallman <rms@gnu.org>
4655
4656 * epa.el (epa-popup-info-window): Doc fix.
4657
4658 * subr.el (split-string): New arg TRIM.
4659
4660 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4661
4662 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4663 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4664
4665 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4666
4667 * filenotify.el (file-notify--library): Rename from
4668 `file-notify-support'. Do not autoload. Adapt all uses.
4669 (file-notify-supported-p): New defun.
4670
4671 * autorevert.el (auto-revert-use-notify):
4672 Use `file-notify-supported-p' instead of `file-notify-support'.
4673 Adapt docstring.
4674 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4675
4676 * net/tramp.el (tramp-file-name-for-operation):
4677 Add `file-notify-supported-p'.
4678
4679 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4680 New defun.
4681 (tramp-sh-file-name-handler-alist): Add it as handler for
4682 `file-notify-supported-p '.
4683
4684 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4685 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4686 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4687 Add `ignore' as handler for `file-notify-*' functions.
4688
4689 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4690
4691 * simple.el (line-move-partial, line-move): Don't start vscroll or
4692 scroll-up if the current line is not taller than the window.
4693 (Bug#14881)
4694
4695 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4696
4697 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4698 highlight question marks in the method names as strings.
4699 (ruby-block-beg-keywords): Inline.
4700 (ruby-font-lock-keyword-beg-re): Extract from
4701 `ruby-font-lock-keywords'.
4702
4703 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4704
4705 * frame.el (blink-cursor-blinks): New defcustom.
4706 (blink-cursor-blinks-done): New defvar.
4707 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4708 (blink-cursor-timer-function): Check if number of blinks has been
4709 done on X and NS.
4710 (blink-cursor-suspend, blink-cursor-check): New defuns.
4711
4712 2013-07-15 Glenn Morris <rgm@gnu.org>
4713
4714 * edmacro.el (edmacro-format-keys): Fix previous change.
4715
4716 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4717
4718 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4719 The hack didn't work outside English locales anyway.
4720
4721 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4722
4723 * simple.el (define-alternatives): Rename from alternatives-define,
4724 per RMS' suggestion.
4725
4726 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4727
4728 * desktop.el (desktop-restore-frames): Change default to t.
4729 (desktop-restore-in-current-display): Now offer more options.
4730 (desktop-restoring-reuses-frames): New customization option.
4731 (desktop--saved-states): Doc fix.
4732 (desktop-filter-parameters-alist): New variable, renamed and expanded
4733 from desktop--excluded-frame-parameters.
4734 (desktop--target-display): New variable.
4735 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4736 (desktop--filter-tty*, desktop--filter-*-color)
4737 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4738 (desktop--filter-save-desktop-parm)
4739 (desktop-restore-in-original-display-p): New functions.
4740 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4741 (desktop--save-minibuffer-frames): New function, inspired by a similar
4742 function from Martin Rudalics.
4743 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4744 (desktop--restore-in-this-display-p): Remove.
4745 (desktop--find-frame): Rename from desktop--find-frame-in-display
4746 and add predicate argument.
4747 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4748 (desktop--reuse-list): New variable.
4749 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4750 New functions.
4751 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4752
4753 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4754
4755 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4756
4757 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4758
4759 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4760 Highlight conversion methods on Kernel.
4761
4762 2013-07-13 Alan Mackenzie <acm@muc.de>
4763
4764 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4765 and comment it out. This out-commenting enables certain C++
4766 declarations to be parsed correctly.
4767
4768 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4769
4770 * international/mule.el (define-coding-system): Doc fix.
4771
4772 * simple.el (default-font-height): Don't call font-info if the
4773 frame's default font didn't change since the frame was created.
4774 (Bug#14838)
4775
4776 2013-07-13 Leo Liu <sdl.web@gmail.com>
4777
4778 * ido.el (ido-read-file-name): Guard against non-symbol value.
4779
4780 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4781
4782 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4783 in nested defuns.
4784
4785 2013-07-13 Leo Liu <sdl.web@gmail.com>
4786
4787 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4788 ido-set-matches call. (Bug#6852)
4789
4790 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4791
4792 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4793 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4794 Ruby 2.0.
4795 (ruby-font-lock-keywords): Distinguish calls to functions with
4796 module-like names from module references. Highlight character
4797 literals.
4798
4799 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4800
4801 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4802 (gdb-send): Handle continued commands. (Bug#14847)
4803
4804 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4805
4806 * desktop.el (desktop--v2s): Remove unused local variable.
4807 (desktop-save-buffer): Make defvar-local; adjust docstring.
4808 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4809 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4810
4811 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4812
4813 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4814
4815 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4816
4817 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4818 (Bug#14842)
4819
4820 2013-07-12 Glenn Morris <rgm@gnu.org>
4821
4822 * doc-view.el: Require cl-lib at runtime too.
4823 (doc-view-remove-if): Remove.
4824 (doc-view-search-next-match, doc-view-search-previous-match):
4825 Use cl-remove-if.
4826
4827 * edmacro.el: Require cl-lib at runtime too.
4828 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4829 (edmacro-mismatch, edmacro-subseq): Remove.
4830
4831 * shadowfile.el: Require cl-lib.
4832 (shadow-remove-if): Remove.
4833 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4834 Use cl-remove-if.
4835
4836 * wid-edit.el: Require cl-lib.
4837 (widget-choose): Use cl-remove-if.
4838 (widget-remove-if): Remove.
4839
4840 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4841 (ebrowse-delete-if-not): Remove.
4842 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4843 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4844 Use cl-delete-if-not.
4845
4846 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4847
4848 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4849 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4850
4851 2013-07-12 Leo Liu <sdl.web@gmail.com>
4852
4853 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4854
4855 2013-07-11 Glenn Morris <rgm@gnu.org>
4856
4857 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4858 (edebug-gensym-index, edebug-gensym):
4859 Remove reimplementation of cl-gensym.
4860 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4861
4862 * thumbs.el: Require cl-lib at run-time too.
4863 (thumbs-gensym-counter, thumbs-gensym):
4864 Remove reimplementation of cl-gensym.
4865 (thumbs-temp-file): Use cl-gensym.
4866
4867 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4868 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4869 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4870 (ert--union, ert--gensym-counter, ert--gensym-counter)
4871 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4872 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4873 (ert-make-test-unbound, ert--expand-should-1)
4874 (ert--expand-should, ert--should-error-handle-error)
4875 (should-error, ert--explain-equal-rec)
4876 (ert--plist-difference-explanation, ert-select-tests)
4877 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4878 Use cl-lib functions rather than reimplementations.
4879
4880 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4881
4882 * net/tramp.el (tramp-methods): Extend docstring.
4883 (tramp-connection-timeout): New defcustom.
4884 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4885 (with-tramp-progress-reporter): Simplify.
4886 (tramp-process-actions): Improve messages.
4887
4888 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4889 * net/tramp-sh.el (tramp-maybe-open-connection):
4890 Use `tramp-connection-timeout'.
4891 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4892 (Bug#14808)
4893
4894 2013-07-11 Leo Liu <sdl.web@gmail.com>
4895
4896 * ido.el (ido-read-file-name): Conform to the requirements of
4897 read-file-name. (Bug#11861)
4898 (ido-read-directory-name): Conform to the requirements of
4899 read-directory-name.
4900
4901 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4902
4903 * subr.el (delay-warning): New function.
4904
4905 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4906
4907 * simple.el (default-line-height): New function.
4908 (line-move-partial, line-move): Use it instead of computing the
4909 line height inline.
4910 (line-move-partial): Always compute ROWH. If the last line is
4911 partially-visible, but its text is completely visible, allow
4912 cursor to enter such a partially-visible line.
4913
4914 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4915
4916 Improve error messages. (Bug#14808)
4917
4918 * net/tramp.el (tramp-current-connection): New defvar, moved from
4919 tramp-sh.el.
4920 (tramp-message-show-progress-reporter-message): Remove, not
4921 needed anymore.
4922 (tramp-error-with-buffer): Show message in minibuffer.
4923 Discard input before waiting. Reset connection timestamp.
4924 (with-tramp-progress-reporter): Improve messages.
4925 (tramp-process-actions): Use progress reporter. Delete process in
4926 case of error. Improve messages.
4927
4928 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4929 Call `tramp-error-with-buffer' with vector and buffer.
4930 (tramp-current-connection): Remove.
4931 (tramp-maybe-open-connection): The car of
4932 `tramp-current-connection' are the first 3 slots of the vector.
4933
4934 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4935
4936 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4937 inside continued strings.
4938
4939 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4940
4941 Timestamp fixes for undo (Bug#14824).
4942 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4943
4944 2013-07-10 Leo Liu <sdl.web@gmail.com>
4945
4946 * files.el (require-final-newline): Allow safe local value.
4947 (Bug#14834)
4948
4949 2013-07-09 Leo Liu <sdl.web@gmail.com>
4950
4951 * ido.el (ido-read-directory-name): Handle fallback.
4952 (ido-read-file-name): Update DIR to ido-current-directory.
4953 (Bug#1516)
4954 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4955
4956 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4957
4958 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4959 "autoload". Remove "warn lower camel case" section, previously
4960 commented out. Highlight negation char. Do not highlight the
4961 target in singleton method definitions.
4962
4963 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * faces.el (tty-setup-hook): Declare the hook.
4966
4967 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4968 and detect when a guard/pred depends on local vars (bug#14773).
4969 (pcase--u1): Adjust caller.
4970
4971 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4972
4973 * simple.el (line-move-partial, line-move): Account for
4974 line-spacing.
4975 (line-move-partial): Avoid setting vscroll when the last
4976 partially-visible line in window is of default height.
4977
4978 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4979
4980 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4981 been used a while.
4982
4983 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4984
4985 * subr.el (read-quoted-char): Remove unused local variable `char'.
4986
4987 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4988
4989 * ediff.el (ediff-version): Version update.
4990 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4991 (ediff-merge-with-ancestor-command, ediff-directories-command)
4992 (ediff-directories3-command, ediff-merge-directories-command)
4993 (ediff-merge-directories-with-ancestor-command): New functions.
4994 All are command-line interfaces to ediff: to facilitate calling
4995 Emacs with the appropriate ediff functions invoked.
4996
4997 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4998 (viper-save-kill-buffer): Check if buffer is modified.
4999
5000 * viper.el (viper-version): Version update.
5001 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5002
5003 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5006 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5007 (viper-intercept-ESC-key): Simplify.
5008 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5009 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5010 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5011 (viper-setup-ESC-to-escape): New functions.
5012 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5013 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5014
5015 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5016
5017 * simple.el (default-font-height, window-screen-lines):
5018 New functions.
5019 (line-move, line-move-partial): Use them instead of
5020 frame-char-height and window-text-height. This makes scrolling
5021 text smoother when the buffer's default face uses a font that is
5022 different from the frame's default font.
5023
5024 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5025
5026 * files.el (write-file): Do not display confirm dialog for NS,
5027 it does its own dialog, which can't be cancelled (Bug#14578).
5028
5029 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5030
5031 * simple.el (line-move-partial): Adjust the row returned by
5032 posn-at-point for the current window-vscroll. (Bug#14567)
5033
5034 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5035
5036 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5037 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5038 spaces.
5039
5040 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5041
5042 * window.el (window-state-put-stale-windows): New variable.
5043 (window--state-put-2): Save list of windows without matching buffer.
5044 (window-state-put): Remove "bufferless" windows if possible.
5045
5046 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5047
5048 * simple.el (alternatives-define): Remove leftover :group keyword.
5049 Tweak docstring.
5050
5051 2013-07-06 Leo Liu <sdl.web@gmail.com>
5052
5053 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5054 (ido-enable-virtual-buffers): New variable.
5055 (ido-buffer-internal, ido-toggle-virtual-buffers)
5056 (ido-make-buffer-list): Use it.
5057 (ido-exhibit): Support turning on and off virtual buffers
5058 automatically.
5059
5060 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5061
5062 * simple.el (alternatives-define): New macro.
5063
5064 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * subr.el (read-quoted-char): Use read-key.
5067 (sit-for): Let read-event decode tty input (bug#14782).
5068
5069 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5070
5071 * calendar/todo-mode.el: Add handling of file deletion, both by
5072 mode command and externally. Fix various related bugs.
5073 Clarify Commentary and improve some documentation strings and code.
5074 (todo-delete-file): New command.
5075 (todo-check-file): New function.
5076 (todo-show): Handle external deletion of the file we're trying to
5077 show (bug#14688). Replace called-interactively-p by an optional
5078 prefix argument to avoid problematic interaction with catch form
5079 when byte compiled (bug#14702).
5080 (todo-quit): Handle external deletion of the archive's todo file.
5081 Make sure the buffer that was visiting the archive file is still
5082 live before trying to bury it.
5083 (todo-category-completions): Handle external deletion of any
5084 category completion files.
5085 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5086 of todo files, in case of external deletion.
5087 (todo-add-file): Replace unnecessary setq by let-binding.
5088 (todo-find-archive): Check whether there are any archives.
5089 Replace unnecessary setq by let-binding.
5090 (todo-archive-done-item): Use find-file-noselect to get the
5091 archive buffer whether or not the archive already exists.
5092 Remove superfluous code. Use file size instead of buffer-file-name to
5093 check if the archive is new; if it is, update list of archives.
5094 (todo-default-todo-file): Allow nil to be a valid value for when
5095 there are no todo files.
5096 (todo-reevaluate-default-file-defcustom): Use corrected definition
5097 of todo-default-todo-file.
5098 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5099 (todo-delete-category, todo-show-categories-table)
5100 (todo-category-number): Clarify comment.
5101 (todo-filter-items): Clarify documentation string.
5102 (todo-show-current-file, todo-display-as-todo-file)
5103 (todo-reset-and-enable-done-separator): Tweak documentation string.
5104 (todo-done-separator): Make separator length window-width, since
5105 bug#2749 is now fixed.
5106
5107 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5108
5109 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5110 Support both "gvfs-monitor-dir" and "inotifywait".
5111 (tramp-sh-file-inotifywait-process-filter): Rename from
5112 `tramp-sh-file-notify-process-filter'.
5113 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5114 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5115
5116 2013-07-05 Leo Liu <sdl.web@gmail.com>
5117
5118 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5119
5120 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5121
5122 * frame.el (display-pixel-height, display-pixel-width)
5123 (display-mm-height, display-mm-width): Mention behavior on
5124 multi-monitor setups in docstrings.
5125 (w32-display-monitor-attributes-list): Declare function.
5126 (display-monitor-attributes-list): Use it.
5127
5128 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5129
5130 * filenotify.el: New package.
5131
5132 * autorevert.el (top): Require filenotify.el.
5133 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5134 instead.
5135 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5136 (auto-revert-notify-handler): Use `file-notify-*' functions.
5137
5138 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5139
5140 * net/tramp.el (tramp-file-name-for-operation):
5141 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5142
5143 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5144 for `file-notify-add-watch' and `file-notify-rm-watch'.
5145 (tramp-process-sentinel): Improve trace.
5146 (tramp-sh-handle-file-notify-add-watch)
5147 (tramp-sh-file-notify-process-filter)
5148 (tramp-sh-handle-file-notify-rm-watch)
5149 (tramp-get-remote-inotifywait): New defuns.
5150
5151 2013-07-03 Juri Linkov <juri@jurta.org>
5152
5153 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5154 call of `occur-read-primary-args' to interactive spec.
5155
5156 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5157 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5158
5159 2013-07-03 Matthias Meulien <orontee@gmail.com>
5160
5161 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5162 `Buffer-menu-multi-occur'. Add it to the menu.
5163 (Buffer-menu-mode): Document it in docstring.
5164 (Buffer-menu-multi-occur): New command. (Bug#14673)
5165
5166 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5167
5168 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5169 keywords and built-ins.
5170
5171 2013-07-03 Glenn Morris <rgm@gnu.org>
5172
5173 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5174
5175 Make info-xref checks case-sensitive by default
5176 * info.el (Info-find-node, Info-find-in-tag-table)
5177 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5178 Add option for exact case matching of nodes.
5179 * info-xref.el (info-xref): New custom group.
5180 (info-xref-case-fold): New option.
5181 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5182
5183 2013-07-03 Leo Liu <sdl.web@gmail.com>
5184
5185 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5186
5187 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5188
5189 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5190 middle of block statement initially, lower the depth. Remove
5191 FIXME comment, not longer valid. Remove middle of block statement
5192 detection, no need to do that anymore since we've been using
5193 `ruby-parse-region' here.
5194
5195 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5196
5197 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5198
5199 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5200
5201 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5202
5203 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5204
5205 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5206 (desktop-restore-in-current-display): New customization option.
5207 (desktop--excluded-frame-parameters): Add `font'.
5208 (desktop--save-frames): Rename from desktop--save-windows.
5209 (desktop--restore-in-this-display-p): New function.
5210 (desktop--make-full-frame): Remove unwanted width/height from
5211 full(width|height) frames.
5212 (desktop--restore-frames): Rename from desktop--restore-windows.
5213 Obey desktop-restore-current-display. Do not delete old frames or
5214 select a new frame unless we were able to restore at least one frame.
5215
5216 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5217
5218 * files.el (find-file-noselect): Simplify conditional expression.
5219
5220 * remember.el (remember-append-to-file):
5221 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5222
5223 Add `remember-notes' function to store random notes across Emacs
5224 restarts.
5225 * remember.el (remember-data-file): Add :set callback to affect
5226 notes buffer (if any).
5227 (remember-notes): New command.
5228 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5229 New defcustoms for the `remember-notes' function.
5230 (remember-notes-save-and-bury-buffer): New command.
5231 (remember-notes-mode-map): New variable.
5232 (remember-mode): New minor mode.
5233 (remember-notes--kill-buffer-query): New function.
5234 * startup.el (initial-buffer-choice): Add notes to custom type.
5235
5236 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5237
5238 * bindings.el (right-char, left-char): Don't call sit-for, this is
5239 no longer needed. Use arithmetic comparison only for numerical
5240 arguments.
5241
5242 * international/mule-cmds.el (select-safe-coding-system):
5243 Handle the case of FROM being a string correctly. (Bug#14755)
5244
5245 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5246
5247 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5248 progression on degenerate tables.
5249 (shr-rescale-image): ImageMagick animated images currently don't work.
5250
5251 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5252
5253 Some fixes and improvements for desktop frame restoration.
5254 It is still experimental and disabled by default.
5255 * desktop.el (desktop--save-windows): Put the selected frame at
5256 the head of the list.
5257 (desktop--make-full-frame): New function.
5258 (desktop--restore-windows): Try to re-select the frame that was
5259 selected upon saving. Do not abort if some frames fail to restore,
5260 just show an error message and continue. Set up maximized frames
5261 so they have default non-maximized dimensions.
5262
5263 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5264
5265 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5266 Don't start heredoc inside a string or comment.
5267
5268 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5269
5270 * bindings.el (visual-order-cursor-movement): New defcustom.
5271 (right-char, left-char): Provide visual-order cursor motion by
5272 calling move-point-visually. Update the doc strings.
5273
5274 2013-06-28 Kenichi Handa <handa@gnu.org>
5275
5276 * international/mule.el (define-coding-system): New coding system
5277 properties :inhibit-null-byte-detection,
5278 :inhibit-iso-escape-detection, and :prefer-utf-8.
5279 (set-buffer-file-coding-system): If :charset-list property of
5280 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5281 appropriate for setting.
5282
5283 * international/mule-cmds.el (select-safe-coding-system):
5284 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5285 multibyte characters, return utf-8 (or one of its siblings).
5286
5287 * international/mule-conf.el (prefer-utf-8): New coding system.
5288 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5289 files.
5290
5291 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5292
5293 * net/shr.el (shr-render-region): New function.
5294
5295 * net/eww.el: Autoload `eww-browse-url'.
5296
5297 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5298
5299 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5300 Adapt to `package-desc-version' being a list.
5301 Use `package--ac-desc-version' to retrieve version from a package
5302 archive element.
5303
5304 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5305
5306 New experimental feature to save&restore window and frame setup.
5307 * desktop.el (desktop-save-windows): New defcustom.
5308 (desktop--saved-states): New var.
5309 (desktop--excluded-frame-parameters): New defconst.
5310 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5311 (desktop--restore-windows, desktop--save-windows): New functions.
5312 (desktop-save): Call `desktop--save-windows'.
5313 (desktop-read): Call `desktop--restore-windows'.
5314
5315 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5316
5317 * net/shr.el (add-face-text-property): Remove compat definition.
5318
5319 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5320
5321 * info.el (Info-try-follow-nearest-node): Move search for footnote
5322 above search for node name to prevent missing a footnote (bug#14717).
5323
5324 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5325
5326 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5327
5328 2013-06-27 Leo Liu <sdl.web@gmail.com>
5329
5330 * net/eww.el (eww-read-bookmarks): Check file size.
5331
5332 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5335 advice--pending if newdef is nil or an autoload (bug#13820).
5336 (advice-mapc): New function.
5337
5338 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5339
5340 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5341 probably.
5342 (eww-mode-map): Add a menu bar.
5343 (eww-add-bookmark): New command.
5344 (eww-bookmark-mode): New mode and commands.
5345 (eww-add-bookmark): Remove newlines from the title.
5346 (eww-bookmark-browse): Don't bug out if it's the only window.
5347
5348 2013-06-26 Glenn Morris <rgm@gnu.org>
5349
5350 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5351 (hfy-size): Handle ttys. (Bug#14668)
5352
5353 * info-xref.el: Update for Texinfo 5 change in *note format.
5354 (info-xref-node-re, info-xref-note-re): New constants.
5355 (info-xref-check-buffer): Use info-xref-note-re.
5356
5357 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5360
5361 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5362 nil terminate the loop (bug#14718).
5363
5364 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5365
5366 * net/eww.el: Rework history traversal. When going forward/back,
5367 put these actions into the history, too, so that they can be
5368 replayed.
5369 (eww-render): Move the history reset to the correct buffer.
5370
5371 2013-06-25 Juri Linkov <juri@jurta.org>
5372
5373 * files-x.el (modify-dir-local-variable): Change the header comment
5374 in the file with directory local variables. (Bug#14692)
5375
5376 * files-x.el (read-file-local-variable-value): Add `default'.
5377 (Bug#14710)
5378
5379 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5380
5381 * net/eww.el (eww-make-unique-file-name): Create a unique file
5382 name before saving to entering `y' accidentally asynchronously.
5383
5384 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5385
5386 * net/eww.el (eww-download): New command and keystroke.
5387
5388 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5389
5390 * net/eww.el (eww-copy-page-url): Change name of command.
5391
5392 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5393 be more consistent with Info and dired.
5394
5395 * net/eww.el (eww-mode-map): Ditto.
5396
5397 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5400 packages from archives.
5401 (package-archive-contents): Change format; include obsolete packages.
5402 (package-desc): Use `dir' to mark builtin packages.
5403 (package--from-builtin): Set the `dir' field to `builtin'.
5404 (generated-autoload-file, version-control): Declare.
5405 (package-compute-transaction): Change first arg and return value to be
5406 lists of package-descs. Adjust to new package-archive-contents format.
5407 (package--add-to-archive-contents): Adjust to new
5408 package-archive-contents format.
5409 (package-download-transaction): Arg is now a list of package-descs.
5410 (package-install): If `pkg' is a package name, pass it as
5411 a requirement, so it is subject to the usual (e.g. disabled) checks.
5412 (describe-package): Accept package-desc as well.
5413 (describe-package-1): Describe a specific package-desc. Add links to
5414 other package-descs for the same package name.
5415 (package-menu-describe-package): Pass the actual package-desc.
5416 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5417 works correctly.
5418 (package-desc-status): New function.
5419 (package-menu--refresh): New function, extracted
5420 from package-menu--generate.
5421 (package-menu--generate): Use it.
5422 (package-delete): Update package-alist.
5423 (package-menu-execute): Don't call package-initialize.
5424
5425 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5426 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5427 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5428 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5429 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5430 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5431
5432 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5433
5434 * window.el (window--state-get-1): Workaround for bug#14527.
5435 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5436
5437 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5438
5439 * net/eww.el (eww-back-url): Implement the history by stashing all
5440 the data into a list.
5441 (eww-forward-url): Allow going forward in the history, too.
5442
5443 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5446 for values and use read--expression for expressions (bug#14710).
5447 (read-file-local-variable): Avoid setq.
5448 (read-file-local-variable-mode): Use minor-mode-list.
5449
5450 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5451
5452 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5453 for DOI URLs.
5454
5455 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5456
5457 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5458 Update imenu-support when dialect changes.
5459
5460 2013-06-25 Leo Liu <sdl.web@gmail.com>
5461
5462 * ido.el (ido-read-internal): Allow forward slash on windows.
5463
5464 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5465
5466 * net/eww.el (eww): Start of strings is \\`, not ^.
5467
5468 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5469
5470 * net/shr.el (shr-browse-url): Fix interactive spec.
5471
5472 * net/eww.el (eww): Add a trailing slash to domain names.
5473
5474 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5475
5476 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5477
5478 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5479
5480 * net/shr.el (shr-browse-url): Use an external browser if given a
5481 prefix.
5482
5483 * net/eww.el (eww-external-browser): Move to shr.
5484
5485 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5486
5487 * net/eww.el (eww): Work more correctly for file: URLs.
5488 (eww-detect-charset): Allow quoted charsets.
5489 (eww-yank-page-url): New command and keystroke.
5490
5491 2013-06-24 Daiki Ueno <ueno@gnu.org>
5492
5493 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5494 file name of gpg executable.
5495 (epg-context-program): New function.
5496 (epg-context-home-directory): New function.
5497 (epg-context-set-program): New function.
5498 (epg-context-set-home-directory): New function.
5499 (epg--start): Use `epg-context-program' instead of
5500 'epg-gpg-program'.
5501 (epg--list-keys-1): Likewise.
5502
5503 2013-06-24 Leo Liu <sdl.web@gmail.com>
5504
5505 * ido.el (ido-read-internal): Fix bug#14620.
5506
5507 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5508
5509 * faces.el (face-documentation): Simplify.
5510 (read-face-attribute, tty-find-type, x-resolve-font-name):
5511 Use `string-match-p'.
5512 (list-faces-display): Use `string-match-p'. Simplify.
5513 (face-spec-recalc): Check face to avoid face alias loops.
5514 (read-color): Use `string-match-p' and non-capturing parenthesis.
5515
5516 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5517
5518 * net/shr.el (shr-rescale-image): Use the new
5519 :max-width/:max-height functionality.
5520
5521 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5522
5523 * net/eww.el (eww-search-prefix): New variable.
5524 (eww): Use it.
5525 (eww-external-browser): New variable.
5526 (eww-mode-map): New keystroke.
5527 (eww-browse-with-external-browser): New command.
5528
5529 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5530
5531 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5532
5533 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5534 Don't skip aligning the next header field when padding is 0;
5535 otherwise, field width is not respected unless the title is as
5536 wide as the field.
5537
5538 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5539
5540 * emacs-lisp/package.el (package-el-version): Remove.
5541 (package-process-define-package): Fix inf-loop.
5542 (package-install): Allow symbols as arguments again.
5543
5544 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5545
5546 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5547 add some more keyword-like methods.
5548 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5549
5550 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5551
5552 * bs.el (bs-buffer-show-mark): Make defvar-local.
5553 (bs-mode): Use setq-local.
5554
5555 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5556 (emacs-lock--try-unlocking): Make defvar-local.
5557
5558 2013-06-22 Glenn Morris <rgm@gnu.org>
5559
5560 * play/cookie1.el (cookie-apropos): Minor simplification.
5561
5562 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5563
5564 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5565
5566 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5567 `regexp-opt', it breaks the build during dumping.
5568
5569 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5570
5571 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5572 Highlight keyword-like methods on Kernel and Module with
5573 font-lock-builtin-face.
5574 (auto-mode-alist): Consolidate different entries into one regexp
5575 and add more *file-s.
5576
5577 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5578
5579 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5580
5581 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5582 (diary-entry): Use it in the action of this button type instead of
5583 diary-goto-entry.
5584
5585 * calendar/todo-mode.el: New version.
5586 (todo-add-category): Append new category to end of file and give
5587 it the highest number, instead of putting it at the beginning and
5588 giving it 0. Incorporate noninteractive functionality.
5589 (todo-forward-category): Adapt to 1-based category numbering.
5590 Allow skipping over archived categories.
5591 (todo-backward-category): Derive from todo-forward-category.
5592 (todo-backward-item, todo-forward-item): Make noninteractive and
5593 delegate interactive part to new commands. Make sensitive to done items.
5594 (todo-categories): Make value an alist of category names and
5595 vectors of item counts.
5596 (todo-category-beg): Make a defconst.
5597 (todo-category-number): Use 1 instead of 0 as initial value.
5598 (todo-category-select): Make sensitive to overlays, optional item
5599 highlighting and done items.
5600 (todo-delete-item): Make sensitive to overlays and marked and done items.
5601 (todo-edit-item): Make sensitive to overlays and editing of
5602 date/time header optional. Add format checks.
5603 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5604 no-op if point is not on an item. Advertise using todo-edit-quit.
5605 (todo-edit-mode): Make sensitive to new format, font-locking, and
5606 multiple todo files.
5607 (todo-insert-item, todo-insert-item-here): Derive from
5608 todo-basic-insert-item and extend functionality.
5609 (todo-item-end, todo-item-start): Make sensitive to done items.
5610 (todo-item-string): Don't return text properties. Restore point.
5611 (todo-jump-to-category): Make sensitive to multiple todo files and
5612 todo archives. Use extended category completion.
5613 (todo-lower-item, todo-raise-item): Rename to *-priority and
5614 derive from todo-set-item-priority.
5615 (todo-mode): Derive from special-mode. Make sensitive to new
5616 format, font-locking and multiple todo files. Make read-only.
5617 (todo-mode-map): Don't suppress digit keys, so they can supply
5618 prefix arguments. Add many new key bindings.
5619 (todo-prefix): Insert as an overlay instead of file text.
5620 Change semantics from diary date expression to purely visual mark.
5621 (todo-print): Rename to todo-print-buffer. Make buffer display
5622 features printable. Remove option to restrict number of items
5623 printed. Add option to print to file.
5624 (todo-print-function): Rename to todo-print-buffer-function.
5625 (todo-quit): Extend to handle exiting new todo modes.
5626 (todo-remove-item): Make sensitive to overlays.
5627 (todo-save): Extend to buffers of filtered items.
5628 (todo-show): Make sensitive to done items, multiple todo files and
5629 new todo modes. Offer to convert legacy todo file before creating
5630 first new todo file.
5631 (todo-show-priorities): Rename to todo-top-priorities.
5632 Change semantics of value 0.
5633 (todo-top-priorities): Rename to todo-filter-top-priorities,
5634 derive from todo-filter-items and extend functionality.
5635 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5636 and extend functionality to other types of filtered items.
5637 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5638 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5639 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5640 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5641 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5642 (todo-edit-mode-hook, todo-entry-prefix-function)
5643 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5644 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5645 (todo-initials, todo-insert-threshold, todo-item-string-start)
5646 (todo-line-string, todo-menu, todo-mode-hook)
5647 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5648 (todo-print-priorities, todo-remove-separator)
5649 (todo-save-top-priorities-too, todo-string-count-lines)
5650 (todo-string-multiline-p, todo-time-string-format)
5651 (todo-tmp-buffer-name): Remove.
5652 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5653 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5654 (todo-edit-category-diary-inclusion)
5655 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5656 (todo-edit-file, todo-edit-item-date-day)
5657 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5658 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5659 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5660 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5661 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5662 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5663 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5664 (todo-filter-top-priorities-multifile, todo-find-archive)
5665 (todo-find-filtered-items-file, todo-go-to-source-item)
5666 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5667 (todo-jump-to-archive-category, todo-lower-category)
5668 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5669 (todo-move-category, todo-move-item, todo-next-button)
5670 (todo-next-item, todo-padded-string, todo-powerset)
5671 (todo-previous-button, todo-previous-item)
5672 (todo-print-buffer-to-file, todo-raise-category)
5673 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5674 (todo-set-category-number, todo-set-item-priority)
5675 (todo-set-top-priorities-in-category)
5676 (todo-set-top-priorities-in-file, todo-show-categories-table)
5677 (todo-sort-categories-alphabetically-or-numerically)
5678 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5679 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5680 (todo-toggle-item-header, todo-toggle-item-highlighting)
5681 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5682 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5683 (todo-unarchive-items, todo-unmark-category): New commands.
5684 (todo-absolute-file-name, todo-add-to-buffer-list)
5685 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5686 (todo-basic-insert-item, todo-category-completions)
5687 (todo-category-number, todo-category-string-matcher-1)
5688 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5689 (todo-check-format, todo-clear-matches)
5690 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5691 (todo-current-category, todo-date-string-matcher)
5692 (todo-define-insertion-command, todo-diary-expired-matcher)
5693 (todo-diary-goto-entry, todo-diary-item-p)
5694 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5695 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5696 (todo-done-item-section-p, todo-done-separator)
5697 (todo-done-string-matcher, todo-files, todo-filter-items)
5698 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5699 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5700 (todo-insert-category-line, todo-insert-item-from-calendar)
5701 (todo-insert-sort-button, todo-insert-with-overlays)
5702 (todo-insertion-command-name, todo-insertion-key-bindings)
5703 (todo-label-to-key, todo-longest-category-name-length)
5704 (todo-make-categories-list, todo-mode-external-set)
5705 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5706 (todo-modes-set-3, todo-multiple-filter-files)
5707 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5708 (todo-read-category, todo-read-date, todo-read-dayname)
5709 (todo-read-file-name, todo-read-time)
5710 (todo-reevaluate-category-completions-files-defcustom)
5711 (todo-reevaluate-default-file-defcustom)
5712 (todo-reevaluate-filelist-defcustoms)
5713 (todo-reevaluate-filter-files-defcustom)
5714 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5715 (todo-reset-done-separator, todo-reset-done-separator-string)
5716 (todo-reset-done-string, todo-reset-global-current-todo-file)
5717 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5718 (todo-reset-prefix, todo-set-categories)
5719 (todo-set-date-from-calendar, todo-set-show-current-file)
5720 (todo-set-top-priorities, todo-short-file-name)
5721 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5722 (todo-total-item-counts, todo-update-buffer-list)
5723 (todo-update-categories-display, todo-update-categories-sexp)
5724 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5725 New functions.
5726 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5727 New major modes.
5728 (todo-categories, todo-display, todo-edit, todo-faces)
5729 (todo-filtered): New defgroups.
5730 (todo-archived-only, todo-button, todo-category-string, todo-date)
5731 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5732 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5733 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5734 (todo-add-item-if-new-category, todo-always-add-time-string)
5735 (todo-categories-align, todo-categories-archived-label)
5736 (todo-categories-category-label, todo-categories-diary-label)
5737 (todo-categories-done-label, todo-categories-number-separator)
5738 (todo-categories-todo-label, todo-categories-totals-label)
5739 (todo-category-completions-files, todo-completion-ignore-case)
5740 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5741 (todo-done-separator-string, todo-done-string)
5742 (todo-files-function, todo-filter-done-items, todo-filter-files)
5743 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5744 (todo-initial-category, todo-initial-file, todo-item-mark)
5745 (todo-legacy-date-time-regexp, todo-mode-line-function)
5746 (todo-nondiary-marker, todo-number-prefix)
5747 (todo-print-buffer-function, todo-show-current-file)
5748 (todo-show-done-only, todo-show-first, todo-show-with-done)
5749 (todo-skip-archived-categories, todo-top-priorities-overrides)
5750 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5751 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5752 New defcustoms.
5753 (todo-category-done, todo-date-pattern, todo-date-string-start)
5754 (todo-diary-items-buffer, todo-done-string-start)
5755 (todo-filtered-items-buffer, todo-item-start)
5756 (todo-month-abbrev-array, todo-month-name-array)
5757 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5758 (todo-top-priorities-buffer): New defconsts.
5759 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5760 (todo-categories-with-marks, todo-category-string-face)
5761 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5762 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5763 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5764 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5765 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5766 (todo-font-lock-keywords, todo-global-current-todo-file)
5767 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5768 (todo-insertion-commands-args)
5769 (todo-insertion-commands-args-genlist)
5770 (todo-insertion-commands-names, todo-insertion-map)
5771 (todo-key-bindings-t, todo-key-bindings-t+a)
5772 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5773 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5774 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5775 (todo-visited): New variables.
5776
5777 2013-06-21 Glenn Morris <rgm@gnu.org>
5778
5779 * play/cookie1.el (cookie-apropos): Add optional display argument.
5780 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5781 (psychoanalyze-pinhead): Use cookie-doctor.
5782
5783 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5784
5785 * emacs-lisp/package.el (tar-get-file-descriptor)
5786 (tar--extract): Declare.
5787
5788 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5789
5790 Extend flymake's warning predicate to be a function (bug#14217).
5791 * progmodes/flymake.el (flymake-warning-predicate): New.
5792 (flymake-parse-line): Use it.
5793 (flymake-warning-re): Make obsolete alias to
5794 `flymake-warning-predicate'.
5795
5796 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5799 (package-obsolete-list): Remove.
5800 (package-activate): Remove min-version argument. Add `force' argument.
5801 Adjust to new package-alist format.
5802 (package-mark-obsolete): Remove.
5803 (package-unpack): Force reload of the package's autoloads.
5804 (package-installed-p): Check builtins if the installed package is not
5805 recent enough.
5806 (package-initialize): Don't reset package-obsolete-list.
5807 Don't specify which package version to activate.
5808 (package-process-define-package, describe-package-1)
5809 (package-menu--generate): Adjust to new package-alist format.
5810
5811 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5812
5813 * allout-widgets.el (allout-widgets-mode-off)
5814 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5815 (allout-widgets-post-command-business)
5816 (allout-widgets-after-copy-or-kill-function)
5817 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5818 (allout-decorate-item-and-context)
5819 (allout-graphics-modification-handler): Fix typos in docstrings.
5820 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5821
5822 * cmuscheme.el (scheme-start-file): Doc fix.
5823 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5824 (scheme-input-filter): Use `string-match-p'.
5825
5826 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5827
5828 * dired-x.el: Use Dired consistently in docstrings.
5829
5830 * dired.el: Use Dired consistently in docstrings.
5831 (dired-readin, dired-mode): Use `setq-local'.
5832 (dired-switches-alist): Make defvar-local.
5833 (dired-buffers-for-dir): Use `zerop'.
5834 (dired-safe-switches-p, dired-switches-escape-p)
5835 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5836 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5837 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5838 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5839 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5840 (dired-toggle-marks, dired-mark-files-containing-regexp)
5841 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5842 (dired-flag-auto-save-files, dired-flag-backup-files):
5843 Use `looking-at-p'.
5844 (dired-mark-files-regexp, dired-build-subdir-alist):
5845 Use `string-match-p', `looking-at-p'.
5846
5847 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5848 (direct-print-region-helper): Use `string-match-p'.
5849
5850 2013-06-21 Leo Liu <sdl.web@gmail.com>
5851
5852 * comint.el (comint-redirect-results-list-from-process):
5853 Fix infinite loop.
5854
5855 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5856
5857 * net/eww.el (eww-update-header-line-format): Quote % characters.
5858
5859 2013-06-21 Glenn Morris <rgm@gnu.org>
5860
5861 * play/cookie1.el (cookie): New custom group.
5862 (cookie-file): New option.
5863 (cookie-check-file): New function.
5864 (cookie): Make it interactive. Make start and end messages optional.
5865 Interactively, display the result. Default to cookie-file.
5866 (cookie-insert): Default to cookie-file.
5867 (cookie-snarf): Make start and end messages optional.
5868 Default to cookie-file. Use with-temp-buffer.
5869 (cookie-read): Rename from read-cookie.
5870 Make start and end messages optional. Default to cookie-file.
5871 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5872 Do not autoload it.
5873 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5874 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5875
5876 2013-06-21 Leo Liu <sdl.web@gmail.com>
5877
5878 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5879
5880 2013-06-21 Glenn Morris <rgm@gnu.org>
5881
5882 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5883
5884 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5885 Daniel Hackney <dan@haxney.org>
5886
5887 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5888 Consolidate the single-file vs tarball code.
5889 (package-desc-suffix): New function.
5890 (package-desc-full-name): Don't bother inlining it.
5891 (package-load-descriptor): Return the new package-desc.
5892 (package-mark-obsolete): Remove unused arg `package'.
5893 (package-unpack): Make it work for single files as well.
5894 Make it update package-alist.
5895 (package--make-autoloads-and-stuff): Rename from
5896 package--make-autoloads-and-compile. Don't compile any more.
5897 (package--compile): New function.
5898 (package-generate-description-file): New function, extracted from
5899 package-unpack-single.
5900 (package-unpack-single): Remove.
5901 (package--with-work-buffer): Add indentation and debugging info.
5902 (package-download-single): Remove.
5903 (package-install-from-archive): Rename from package-download-tar, make
5904 it take a pkg-desc, and make it work for single files as well.
5905 (package-download-transaction): Simplify.
5906 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5907 external tar program.
5908 (package-install-from-buffer): Remove `pkg-desc' argument.
5909 Use package-tar-file-info for tar-mode buffers.
5910 (package-install-file): Simplify accordingly.
5911 (package-archive-base): Change to take a pkg-desc.
5912 * tar-mode.el (tar--check-descriptor): New function, extracted from
5913 tar-get-descriptor.
5914 (tar-get-descriptor): Use it.
5915 (tar-get-file-descriptor): New function.
5916 (tar--extract): New function, extracted from tar-extract.
5917 (tar--extract): Use it.
5918 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5919 case the summary uses non-ascii. Adjust to new calling convention of
5920 package-tar-file-info.
5921
5922 2013-06-21 Leo Liu <sdl.web@gmail.com>
5923
5924 * comint.el (comint-redirect-results-list-from-process):
5925 Fix random delay. (Bug#14681)
5926
5927 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5928
5929 * profiler.el (profiler-format-number): Use log, not log10.
5930
5931 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5932
5933 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5934
5935 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5938 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5939 yet available.
5940 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5941 (AUTOGENEL): ... here.
5942 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5943 (cl--defsubst-expand): Use it.
5944
5945 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5946
5947 * subr.el (log10): Move here from C code, and declare as obsolete.
5948 All uses of (log10 X) replaced with (log X 10).
5949
5950 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5951
5952 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5953 Declare with `defvar-local'.
5954 (tabulated-list-use-header-line, tabulated-list-entries)
5955 (tabulated-list-padding, tabulated-list-printer)
5956 (tabulated-list-sort-key): Declare with `defvar-local'.
5957 (tabulated-list-init-header, tabulated-list-print-fake-header):
5958 Use `setq-local'.
5959
5960 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5961
5962 * arc-mode.el (archive-mode): Add `archive-write-file' to
5963 `write-contents-functions' also for remote files. (Bug#14652)
5964
5965 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5966
5967 * cus-edit.el (custom-commands): Fix typos.
5968 (custom-display): Fix tooltip text.
5969 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5970 Fix typos in docstrings.
5971 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5972 (custom-unlispify-menu-entry, custom-magic-value-create)
5973 (custom-add-see-also, custom-group-value-create): Use ?\s.
5974 (custom-guess-type, customize-apropos, editable-field)
5975 (custom-face-value-create): Use `string-match-p'.
5976 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5977
5978 * custom.el (custom-load-symbol): Use `string-match-p'.
5979
5980 * ansi-color.el: Convert to lexical binding.
5981 (ansi-colors): Fix URL.
5982 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5983 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5984 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5985
5986 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5987
5988 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5989
5990 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5991
5992 2013-06-19 Tom Tromey <tromey@redhat.com>
5993
5994 * net/eww.el (eww-top-url): Remove.
5995 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5996 (eww-render): Set new variables. Don't set eww-top-url.
5997 (eww-handle-link): Handle "prev", "home", and "contents".
5998 Downcase the rel text.
5999 (eww-top-url): Choose best top URL.
6000
6001 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6002
6003 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6004 relying in widget.el. Using widget.el leads to too many
6005 user interface inconsistencies.
6006 (eww-self-insert): Implement entering commands in text fields.
6007 (eww-process-text-input): New function to make text input field editing
6008 work.
6009 (eww-submit): Rewrite to use the new-style form methods.
6010 (eww-select-display): Display the correct selected item.
6011 (eww-change-select): Implement changing the select value.
6012 (eww-toggle-checkbox): Implement radio/checkboxes.
6013 (eww-update-field): Fix compilation error.
6014 (eww-tag-textarea): Implement <textarea>.
6015
6016 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6017 we don't shadow mode-specific bindings.
6018
6019 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6020 nothing to push.
6021
6022 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6023
6024 2013-06-19 Glenn Morris <rgm@gnu.org>
6025
6026 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6027
6028 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6029
6030 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6031 not needed.
6032
6033 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6034
6035 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6036
6037 * net/browse-url.el (browse-url-browser-function):
6038 `eww-browse-url' has the right calling signature, `eww' does not.
6039
6040 2013-06-19 Glenn Morris <rgm@gnu.org>
6041
6042 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6043 Only eval autoloaded macros.
6044 (byte-compile-autoload): Only give the macro warning for macros.
6045
6046 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6047 (ps-underlined-faces): Declare.
6048
6049 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6050 (speedbar-add-supported-extension): Declare.
6051
6052 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6053 Don't include a date stamp in the header of the generated file;
6054 it leads to needless differences between output files.
6055
6056 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6057
6058 * net/secrets.el (secrets-struct-secret-content-type):
6059 Replace check of introspection data by a test call of "CreateItem".
6060 Some servers do not offer introspection.
6061
6062 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6063
6064 * electric.el (electric-pair-mode): Improve interaction with
6065 electric-layout-mode.
6066 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6067 (electric-pair-syntax): Use text-mode-syntax-table in comments
6068 and strings.
6069 (electric-pair--insert): New function.
6070 (electric-pair-post-self-insert-function): Use it and
6071 electric--after-char-pos.
6072
6073 2013-06-19 Leo Liu <sdl.web@gmail.com>
6074
6075 * progmodes/octave.el (octave-help): Fix regexp.
6076
6077 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6078
6079 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6080 (shr-table-horizontal-line): Allow nil as a value, and change the
6081 default.
6082 (shr-insert-table-ruler): Respect the nil value.
6083
6084 2013-06-18 Tom Tromey <tromey@barimba>
6085
6086 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6087 New defvars.
6088 (eww-open-file): New defun.
6089 (eww-render): Initialize new variables.
6090 (eww-display-html): Handle "link" and "a".
6091 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6092 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6093 (eww-back-url): Rename from eww-previous-url.
6094 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6095 New defuns.
6096
6097 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6098
6099 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6100 Distinguish ternary operator tokens from slash symbol and slash
6101 char literal.
6102
6103 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6104
6105 Convert symbol prettification into minor mode and global minor mode.
6106
6107 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6108 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6109 (prettify-symbols--keywords): Rename from
6110 `prog-prettify-symbols-alist' and make a local defvar.
6111 (prettify-symbols--compose-symbol): Rename from
6112 `prog--prettify-font-lock-compose-symbol'.
6113 (prettify-symbols--make-keywords): Rename from
6114 `prog-prettify-font-lock-symbols-keywords' and simplify.
6115 (prog-prettify-install): Remove.
6116 (prettify-symbols-mode): New minor mode, based on
6117 `prog-prettify-install'.
6118 (turn-on-prettify-symbols-mode): New function.
6119 (global-prettify-symbols-mode): New globalized minor mode.
6120
6121 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6122 * progmodes/cfengine.el (cfengine3-mode):
6123 * progmodes/perl-mode.el (perl-mode): Don't call
6124 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6125
6126 2013-06-18 Juri Linkov <juri@jurta.org>
6127
6128 * files-x.el (modify-file-local-variable-message): New function.
6129 (modify-file-local-variable)
6130 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6131 and call `modify-file-local-variable-message' when it's non-nil.
6132 (add-file-local-variable, delete-file-local-variable)
6133 (add-file-local-variable-prop-line)
6134 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6135 and use it. (Bug#9820)
6136
6137 2013-06-18 Juri Linkov <juri@jurta.org>
6138
6139 * emulation/vi.el (vi-shell-op):
6140 * emulation/vip.el (vip-execute-com, ex-command):
6141 * emulation/viper-cmd.el (viper-exec-bang):
6142 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6143 the call of `shell-command-on-region'. (Bug#14637)
6144
6145 * simple.el (shell-command-on-region): Doc fix.
6146
6147 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6150 (bug#14633).
6151
6152 2013-06-18 Glenn Morris <rgm@gnu.org>
6153
6154 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6155
6156 * newcomment.el (comment-search-forward, comment-search-backward):
6157 Doc fix. (Bug#14376)
6158
6159 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6160
6161 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6162 (buffer-face-mode-invoke): Doc fix.
6163
6164 2013-06-18 Matthias Meulien <orontee@gmail.com>
6165
6166 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6167 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6168
6169 2013-06-18 Glenn Morris <rgm@gnu.org>
6170
6171 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6172 Replace obsolete function generic-make-keywords with its expansion.
6173
6174 * progmodes/python.el (ffap-alist): Declare.
6175
6176 * textmodes/reftex.el (bibtex-mode-map): Declare.
6177
6178 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6181 (package-unpack, package-unpack-single): Return the pkg-dir.
6182 (package-download-transaction): Use it to update package-alist.
6183
6184 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6185
6186 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6187 possible choice.
6188
6189 2013-06-17 Juri Linkov <juri@jurta.org>
6190
6191 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6192
6193 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6194
6195 * emacs-lisp/package.el (package-load-descriptor):
6196 Remove `with-syntax-table' call, `read' doesn't need it.
6197 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6198
6199 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6200
6201 * startup.el (command-line): Expand package name returned by
6202 `package--description-file' (bug#14639).
6203
6204 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6205
6206 * emacs-lisp/package.el (package-load-descriptor): Do not call
6207 `emacs-lisp-mode', just use its syntax table.
6208
6209 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6210
6211 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6212 `font-lock-extra-managed-props' if any prettifying keyword is added.
6213 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6214 (prog-mode): Use `setq-local'.
6215
6216 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * international/characters.el (standard-case-table): Set syntax of ?»
6219 and ?« to punctuation.
6220
6221 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6222
6223 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6224 Save relevant match data before calling `syntax-ppss' (bug#14595).
6225
6226 2013-06-15 Juri Linkov <juri@jurta.org>
6227
6228 * files-x.el (modify-file-local-variable-prop-line): Add local
6229 variables to the end of the existing comment on the first line.
6230 Use `file-auto-mode-skip' to skip interpreter magic line,
6231 and also skip XML declaration.
6232
6233 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6234
6235 * startup.el (package--builtin-versions): New var.
6236 (package-subdirectory-regexp): Remove.
6237 (package--description-file): Hard code its value instead.
6238
6239 * emacs-lisp/package.el: Don't activate packages older than builtin.
6240 (package-obsolete-list): Rename from package-obsolete-alist, and make
6241 it into a simple list of package-desc.
6242 (package-strip-version): Remove.
6243 (package-built-in-p): Use package--builtin-versions.
6244 (package-mark-obsolete): Simplify.
6245 (package-process-define-package): Mark it obsolete if older than the
6246 builtin version.
6247 (package-handle-response): Use line-end-position.
6248 (package-read-archive-contents, package--download-one-archive):
6249 Simplify.
6250 (package--add-to-archive-contents): Skip if older than the builtin or
6251 installed version.
6252 (package-menu-describe-package): Fix last change.
6253 (package-list-unversioned): New var.
6254 (package-menu--generate): Use it.
6255
6256 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6257 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6258 (autoload-builtin-package-versions): New variable.
6259 (autoload-generate-file-autoloads): Use them.
6260 Remove the list of autoloaded functions/macros from the
6261 (autoload...) comments.
6262
6263 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6264
6265 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6266
6267 * simple.el (line-move-partial): Don't jump to the next screen
6268 line as soon as it becomes visible. Instead, continue enlarging
6269 the vscroll until the portion of a tall screen line that's left on
6270 display is about the height of the frame's default font.
6271 (Bug#14567)
6272
6273 2013-06-15 Glenn Morris <rgm@gnu.org>
6274
6275 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6276 compilation-error-regexp-alist void, or local while let-bound.
6277
6278 * progmodes/make-mode.el (makefile-mode-syntax-table):
6279 Treat "=" as punctuation. (Bug#14614)
6280
6281 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6282
6283 * help-fns.el (describe-variable):
6284 Add extra line for permanent-local variables.
6285
6286 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6287
6288 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6289 Add export, import, library. (Bug#9164)
6290 (library): Set indent function.
6291
6292 2013-06-14 Glenn Morris <rgm@gnu.org>
6293
6294 * term/xterm.el (xterm--query):
6295 Stop after first matching handler. (Bug#14615)
6296
6297 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6298
6299 Add support for dired in saveplace.
6300 * dired.el (dired-initial-position-hook): New variable.
6301 (dired-initial-position): Call hook to place cursor position.
6302 * saveplace.el (save-place-to-alist): Add dired position.
6303 (save-place-dired-hook): New function.
6304
6305 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6308 through a symbol rather than letrec.
6309
6310 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6311 (package-desc): Add `dir' field.
6312 (package-desc-full-name): New function.
6313 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6314 (package-maybe-load-descriptor): Remove.
6315 (package-load-all-descriptors): Just call package-load-descriptor.
6316 (package--disabled-p): New function.
6317 (package-desc-vers, package-desc-doc): Remove aliases.
6318 (package--dir): Remove function.
6319 (package-activate): Check if a package is disabled.
6320 (package-process-define-package): New function, extracted from
6321 define-package.
6322 (define-package): Turn into a place holder.
6323 (package-unpack-single, package-tar-file-info):
6324 Use package--description-file.
6325 (package-compute-transaction): Use package--disabled-p.
6326 (package-download-transaction): Don't call
6327 package-maybe-load-descriptor since they're all loaded anyway.
6328 (package-install): Change argument to be a pkg-desc.
6329 (package-delete): Use a single pkg-desc argument.
6330 (describe-package-1): Use package-desc-dir instead of package--dir.
6331 Use package-desc property instead of package-symbol.
6332 (package-install-button-action): Adjust accordingly.
6333 (package--push): Rewrite.
6334 (package-menu--print-info): Adjust accordingly. Change the ID format
6335 to be a pkg-desc.
6336 (package-menu-describe-package, package-menu-get-status)
6337 (package-menu--find-upgrades, package-menu-mark-upgrades)
6338 (package-menu-execute, package-menu--name-predicate):
6339 Adjust accordingly.
6340 * startup.el (package--description-file): New function.
6341 (command-line): Use it.
6342 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6343 Use package-desc-version.
6344
6345 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6346 (byte-compile-preprocess): Use it.
6347 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6348 can't quite recognize.
6349 (byte-compile-add-to-list): Remove.
6350 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6351 (cconv-closure-convert): Add assertion.
6352
6353 * emacs-lisp/map-ynp.el: Use lexical-binding.
6354 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6355 Factor out some repeated code.
6356
6357 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * subr.el (with-eval-after-load): New macro.
6360 (eval-after-load): Allow form to be a function.
6361 take advantage of lexical-binding.
6362 (do-after-load-evaluation): Use dolist and adjust to new format.
6363 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6364
6365 2013-06-13 Juri Linkov <juri@jurta.org>
6366
6367 * replace.el (perform-replace): Display "symbol " and other search
6368 modes from `isearch-message-prefix' in the *Help* buffer.
6369
6370 * isearch.el (isearch-query-replace): Add " symbol" and other
6371 possible search modes from `isearch-message-prefix' to the prompt.
6372 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6373 when reading a regexp to collect.
6374
6375 2013-06-13 Juri Linkov <juri@jurta.org>
6376
6377 * isearch.el (word-search-regexp): Match whitespace if the search
6378 string begins or ends in whitespace. The LAX arg is applied to
6379 both ends of the search string. Use `regexp-quote' and explicit
6380 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6381 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6382 boundaries are replaced with symbol boundaries, and characters
6383 between symbols match non-word non-symbol syntax. (Bug#14602)
6384
6385 2013-06-13 Juri Linkov <juri@jurta.org>
6386
6387 * isearch.el (isearch-del-char): Don't exceed the length of
6388 `isearch-string' by the prefix arg. (Bug#14563)
6389
6390 2013-06-13 Juri Linkov <juri@jurta.org>
6391
6392 * isearch.el (isearch-yank-word, isearch-yank-line)
6393 (isearch-char-by-name, isearch-quote-char)
6394 (isearch-printing-char, isearch-process-search-char):
6395 Add optional count prefix arg. (Bug#14563)
6396
6397 * international/isearch-x.el
6398 (isearch-process-search-multibyte-characters):
6399 Add optional count prefix arg.
6400
6401 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6404 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6405 lexical-binding.
6406
6407 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6408
6409 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6410
6411 2013-06-13 Glenn Morris <rgm@gnu.org>
6412
6413 * startup.el (tty-handle-args):
6414 Don't just discard "--" and anything after. (Bug#14608)
6415
6416 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6417
6418 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6419
6420 Implement changes in Secret Service API. Make it backward compatible.
6421 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6422 (secrets-create-item): Use it. Prefix properties with interface.
6423
6424 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6425
6426 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6427 (term-emulate-terminal): Respect term-suppress-hard-newline.
6428
6429 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6430
6431 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6432 Only remove a `thumb-file' overlay. (Bug#14548)
6433
6434 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6435
6436 * mail/reporter.el (reporter-submit-bug-report):
6437 Handle missing package-name. (Bug#14600)
6438
6439 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6440
6441 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6442 (reftex-citation-prompt, reftex-default-bibliography)
6443 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6444 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6445 (reftex-bib-sort-author, reftex-bib-sort-year)
6446 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6447 (reftex-extract-bib-entries-from-thebibliography)
6448 (reftex-get-bibkey-default, reftex-get-bib-names)
6449 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6450 (reftex-format-bib-entry, reftex-parse-bibitem)
6451 (reftex-format-bibitem, reftex-do-citation)
6452 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6453 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6454 (reftex-insert-bib-matches, reftex-format-citation)
6455 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6456 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6457 existing comments into docstrings.
6458
6459 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6460
6461 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6462
6463 2013-06-12 Andreas Schwab <schwab@suse.de>
6464
6465 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6466 for auto-save files.
6467
6468 2013-06-12 Glenn Morris <rgm@gnu.org>
6469
6470 * ido.el (ido-delete-ignored-files): Remove.
6471 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6472 Go back to calling ido-ignore-item-p directly.
6473
6474 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6475
6476 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6477
6478 * ido.el (ido-delete-ignored-files): New function,
6479 split from ido-make-file-list-1.
6480 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6481 (ido-make-file-list-1): Use ido-delete-ignored-files.
6482
6483 2013-06-12 Leo Liu <sdl.web@gmail.com>
6484
6485 * progmodes/octave.el (inferior-octave-startup)
6486 (inferior-octave-completion-table)
6487 (inferior-octave-track-window-width-change)
6488 (octave-eldoc-function-signatures, octave-help)
6489 (octave-find-definition): Use single quoted strings.
6490 (inferior-octave-startup-args): Change default value.
6491 (inferior-octave-startup): Do not hard code "-i" and
6492 "--no-line-editing".
6493 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6494 (inferior-octave-directory-tracker): Use it.
6495 (octave-goto-function-definition): Robustify.
6496 (octave-help): Support highlighting operators in 'See also'.
6497 (octave-find-definition): Find subfunctions only in Octave mode.
6498
6499 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * help-fns.el (help-fns--compiler-macro): If the handler function is
6502 named, then put a link to it.
6503 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6504 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6505 (cl-typep): Use it.
6506 (cl-eval-when): Simplify debug spec.
6507 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6508 compiler-macro function instead of setting `compiler-macro-file'.
6509
6510 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6511
6512 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6513 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6514
6515 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6516 Daniel Hackney <dan@haxney.org>
6517
6518 First part of Daniel Hackney's patch to package.el.
6519 * emacs-lisp/package.el: Use defstruct.
6520 (package-desc): New, main struct.
6521 (package--bi-desc, package--ac-desc): New structs, used to describe the
6522 format in external files.
6523 (package-desc-vers): Replace with package-desc-version accessor.
6524 (package-desc-doc): Replace with package-desc-summary accessor.
6525 (package-activate-1): Remove `package' arg since the pkg-vec now
6526 includes the name.
6527 (define-package): Use package-desc-from-define.
6528 (package-unpack-single): Change file-name arg to be a symbol.
6529 (package--add-to-archive-contents): Use package-desc-create and new
6530 accessor functions to package--ac-desc.
6531 (package-buffer-info, package-tar-file-info): Return a package-desc.
6532 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6533 arg to be a package-desc.
6534 (package-install-file): Adjust accordingly. Use \' to match EOS.
6535 (package--from-builtin): New function.
6536 (describe-package-1, package-menu--generate): Use it.
6537 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6538 (package-generate-autoloads): Idem and return the name of the file.
6539 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6540 Change pkg-info arg to be a package-desc.
6541 Use package-make-ac-desc.
6542 (package-upload-file): Use \' to match EOS.
6543 * finder.el (finder-compile-keywords): Use package-make-builtin.
6544
6545 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * vc/vc.el (vc-deduce-fileset): Change error message.
6548 (vc-read-backend): New function.
6549 (vc-next-action): Use it.
6550
6551 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6552
6553 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6554 (prolog-font-lock-keywords): Use regexp-opt instead.
6555 Don't manually highlight strings.
6556 (prolog-mode-variables): Simplify comment-start-skip.
6557 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6558
6559 * emacs-lisp/generic.el (generic--normalise-comments)
6560 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6561 (generic-mode-set-comments): Use them.
6562 (generic-bracket-support): Use setq-local.
6563 (generic-make-keywords-list): Declare obsolete.
6564
6565 2013-06-11 Glenn Morris <rgm@gnu.org>
6566
6567 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6568 Prettify after setting font-lock-defaults. (Bug#14574)
6569
6570 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6571
6572 * replace.el (query-replace, occur-read-regexp-defaults-function)
6573 (replace-search):
6574 * subr.el (declare-function, number-sequence, local-set-key)
6575 (substitute-key-definition, locate-user-emacs-file)
6576 (with-silent-modifications, split-string, eval-after-load):
6577 Fix typos, remove unneeded backslashes and reflow some docstrings.
6578
6579 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6581 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6582 default for Elisp files.
6583
6584 2013-06-11 Glenn Morris <rgm@gnu.org>
6585
6586 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6587 although define-derived-mode was doing this anyway. (Bug#14583)
6588
6589 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6590
6591 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6592 Fix make-variable-buffer-local call to refer to the correct variable.
6593
6594 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6595
6596 * eshell/em-term.el (eshell-visual-commands)
6597 (eshell-visual-subcommands, eshell-visual-options):
6598 Add summary line to docstrings. Add cross-references.
6599
6600 2013-06-10 Glenn Morris <rgm@gnu.org>
6601
6602 * epa.el (epa-read-file-name): New function. (Bug#14510)
6603 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6604
6605 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6606
6607 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6608 output redirection to be ignored with visual commands.
6609
6610 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6611
6612 * eshell/em-term.el (eshell-visual-command-p): New function.
6613 (eshell-term-initialize): Move long lambda to separate function
6614 eshell-visual-command-p.
6615 * eshell/em-dirs.el (eshell-dirs-initialise):
6616 * eshell/em-script.el (eshell-script-initialize):
6617 Add missing #' to lambda.
6618
6619 2013-06-08 Leo Liu <sdl.web@gmail.com>
6620
6621 * progmodes/octave.el (octave-add-log-current-defun): New function.
6622 (octave-mode): Set add-log-current-defun-function.
6623 (octave-goto-function-definition): Do not move point if not found.
6624 (octave-find-definition): Enhance to try subfunctions first.
6625
6626 2013-06-08 Glenn Morris <rgm@gnu.org>
6627
6628 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6629 (byte-compile-backward-char, byte-compile-backward-word):
6630 Improve previous change, to handle non-explicit nil.
6631
6632 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6635 (smie--opener/closer-at-point): New function.
6636 (smie--matching-block-data): Use it. Don't match from right after an
6637 opener or right before a closer. Obey smie-blink-matching-inners.
6638 Don't signal a mismatch for repeated inners like "switch..case..case".
6639
6640 2013-06-07 Leo Liu <sdl.web@gmail.com>
6641
6642 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6643 to t. (Bug#14303)
6644 (octave-function-header-regexp): Fix. (Bug#14570)
6645 (octave-help-mode-finish-hook, octave-help-mode-finish):
6646 Remove. Just use temp-buffer-show-hook.
6647
6648 * newcomment.el (comment-search-backward): Revert last change.
6649 (Bug#14434)
6650
6651 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6652
6653 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6654
6655 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6656 through xargs, to avoid failure due to MS-Windows limitations on
6657 command-line length.
6658
6659 2013-06-06 Glenn Morris <rgm@gnu.org>
6660
6661 * font-lock.el (lisp-font-lock-keywords-2):
6662 Treat user-error like error.
6663
6664 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6665 (byte-compile-backward-char, byte-compile-backward-word):
6666 Handle explicit nil arguments. (Bug#14565)
6667
6668 2013-06-05 Alan Mackenzie <acm@muc.de>
6669
6670 * isearch.el (isearch-allow-prefix): New user option.
6671 (isearch-other-meta-char): Don't exit isearch when a prefix
6672 argument is typed whilst `isearch-allow-prefix' is non-nil.
6673 (Bug#9706)
6674
6675 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * autorevert.el (auto-revert-notify-handler): Use memq.
6678 Hide assertion failure.
6679
6680 * skeleton.el: Use cl-lib.
6681 (skeleton-further-elements): Use defvar-local.
6682 (skeleton-insert): Use cl-progv.
6683
6684 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6685
6686 * progmodes/prog-mode.el (prog-prettify-symbols)
6687 (prog-prettify-install): Update docstrings.
6688
6689 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6690
6691 * simple.el: Move all the prog-mode code to prog-mode.el.
6692 * progmodes/prog-mode.el: New file.
6693 * loadup.el: Add prog-mode.el.
6694
6695 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6696
6697 * simple.el (prog-prettify-symbols): Add version.
6698 (prog-prettify-install): Add convenience function to prettify symbols.
6699
6700 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6701 (perl--augmented-font-lock-keywords-1)
6702 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6703 variables and use it.
6704
6705 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6706 (cfengine3-mode): Remove unneeded variable and use it.
6707
6708 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6709 (lisp--augmented-font-lock-keywords-1)
6710 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6711 Remove unneeded variables and use it.
6712
6713 2013-06-05 João Távora <joaotavora@gmail.com>
6714
6715 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6716 to point when opening the connection. (Bug#14380)
6717
6718 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6719
6720 * subr.el (load-history-regexp, load-history-filename-element)
6721 (eval-after-load, after-load-functions, do-after-load-evaluation)
6722 (eval-next-after-load, display-delayed-warnings)
6723 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6724 definition of save-match-data.
6725 (overriding-local-map): Remove accidental obsolescence declaration.
6726
6727 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6728
6729 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6730
6731 Generalize symbol prettify support to prog-mode and implement it
6732 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6733 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6734 (prog--prettify-font-lock-compose-symbol)
6735 (prog-prettify-font-lock-symbols-keywords): New variables and
6736 functions to support symbol prettification.
6737 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6738 (lisp--augmented-font-lock-keywords-1)
6739 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6740 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6741 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6742 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6743 Implement prettify of -> => :: strings.
6744 * progmodes/perl-mode.el (perl-prettify-symbols)
6745 (perl--font-lock-compose-symbol)
6746 (perl--font-lock-symbols-keywords): Move to prog-mode.
6747 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6748 (perl-font-lock-keywords-1)
6749 (perl-font-lock-keywords-2): Remove explicit prettify support.
6750 (perl--augmented-font-lock-keywords)
6751 (perl--augmented-font-lock-keywords-1)
6752 (perl--augmented-font-lock-keywords-2, perl-mode):
6753 Implement prettify support.
6754
6755 2013-06-05 Leo Liu <sdl.web@gmail.com>
6756
6757 Re-implement smie matching block highlight using
6758 show-paren-data-function. (Bug#14395)
6759 * emacs-lisp/smie.el (smie-matching-block-highlight)
6760 (smie--highlight-matching-block-overlay)
6761 (smie--highlight-matching-block-lastpos)
6762 (smie-highlight-matching-block)
6763 (smie-highlight-matching-block-mode): Remove.
6764 (smie--matching-block-data-cache): New variable.
6765 (smie--matching-block-data): New function.
6766 (smie-setup): Use smie--matching-block-data for
6767 show-paren-data-function.
6768
6769 * progmodes/octave.el (octave-mode-menu): Fix.
6770 (octave-find-definition): Skip garbage lines.
6771
6772 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 Fix compilation error with simultaneous dynamic+lexical scoping.
6775 Add warning when a defvar appears after the first let-binding.
6776 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6777 (byte-compile-close-variables): Initialize it.
6778 (byte-compile--declare-var): New function.
6779 (byte-compile-file-form-defvar)
6780 (byte-compile-file-form-define-abbrev-table)
6781 (byte-compile-file-form-custom-declare-variable): Use it.
6782 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6783 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6784 (byte-compile-bind): Handle dynamic bindings that shadow
6785 lexical bindings.
6786 (byte-compile-unbind): Make arg non-optional.
6787 (byte-compile-let): Simplify.
6788 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6789 (cconv--analyse-function, cconv-analyse-form): Populate it.
6790 Protect byte-compile-bound-variables to limit the scope of defvars.
6791 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6792 Remove unneeded rule for `declare'.
6793
6794 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6795 so as to avoid depending on cl-adjoin at run-time.
6796 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6797
6798 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6799 (macroexp--warn-and-return): Use it.
6800
6801 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * lisp/subr.el: Convert to lexical binding.
6804 (overriding-local-map): Make obsolete.
6805 (add-to-list): Doc fix. Add compiler macro.
6806 (read-key): Swap values of local maps.
6807
6808 2013-06-05 Leo Liu <sdl.web@gmail.com>
6809
6810 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6811
6812 2013-06-04 Leo Liu <sdl.web@gmail.com>
6813
6814 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6815 (compilation-auto-jump): Suppress the "Mark set" message to give
6816 way to exit message.
6817
6818 2013-06-04 Alan Mackenzie <acm@muc.de>
6819
6820 Remove faulty optimisation from indentation calculation.
6821 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6822 search limit based on 2000 characters back from indent-point.
6823
6824 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6825
6826 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6827
6828 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * emacs-lisp/lisp.el: Use lexical-binding.
6831 (lisp--local-variables-1, lisp--local-variables): New functions.
6832 (lisp--local-variables-completion-table): New var.
6833 (lisp-completion-at-point): Use it complete let-bound vars.
6834
6835 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6836 eagerly (bug#14422).
6837
6838 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6839
6840 * autorevert.el (auto-revert-notify-enabled)
6841 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6842 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6843 (auto-revert-notify-handler): Handle also gfilenotify.
6844
6845 * subr.el (file-notify-handle-event): New defun. Replacing ...
6846 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6847 Remove.
6848
6849 2013-06-03 Juri Linkov <juri@jurta.org>
6850
6851 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6852 `M-s h .'. (Bug#14427)
6853
6854 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6855 command `hi-lock-face-symbol-at-point'.
6856 (hi-lock-face-symbol-at-point): New command.
6857 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6858 (hi-lock-menu): Add `highlight-symbol-at-point'.
6859 (hi-lock-mode): Doc fix.
6860
6861 * isearch.el (isearch-forward-symbol-at-point): New command.
6862 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6863 (isearch-highlight-regexp): Add a regexp which matches
6864 words/symbols for word/symbol mode.
6865
6866 * subr.el (find-tag-default-bounds): New function with the body
6867 mostly moved from `find-tag-default'.
6868 (find-tag-default): Move most code to `find-tag-default-bounds',
6869 call it and apply `buffer-substring-no-properties' afterwards.
6870
6871 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6872
6873 * eshell/em-term.el (eshell-term-initialize):
6874 Use `cl-intersection' rather than `intersection'.
6875
6876 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6877
6878 * vc/log-view.el: Doc fix.
6879 (log-view-mode-map): Copy keymap from `special-mode-map'.
6880
6881 2013-06-02 Eric Ludlam <zappo@gnu.org>
6882
6883 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6884 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6885 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6886 (eieio-unbound, eieio-default-superclass)
6887 (eieio--define-field-accessors, method-static, method-before)
6888 (method-primary, method-after, method-num-lists)
6889 (method-generic-before, method-generic-primary)
6890 (method-generic-after, method-num-slots)
6891 (eieio-specialized-key-to-generic-key)
6892 (eieio--check-type, class-v, class-p)
6893 (eieio-class-name, define-obsolete-function-alias)
6894 (eieio-class-parents-fast, eieio-class-children-fast)
6895 (same-class-fast-p, class-constructor, generic-p)
6896 (generic-primary-only-p, generic-primary-only-one-p)
6897 (class-option-assoc, class-option, eieio-object-p)
6898 (class-abstract-p, class-method-invocation-order)
6899 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6900 (eieio-class-un-autoload, eieio-defclass)
6901 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6902 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6903 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6904 (eieio-defgeneric-reset-generic-form)
6905 (eieio-defgeneric-form-primary-only)
6906 (eieio-defgeneric-reset-generic-form-primary-only)
6907 (eieio-defgeneric-form-primary-only-one)
6908 (eieio-defgeneric-reset-generic-form-primary-only-one)
6909 (eieio-unbind-method-implementations)
6910 (eieio--defmethod, eieio--typep)
6911 (eieio-perform-slot-validation, eieio-validate-slot-value)
6912 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6913 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6914 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6915 (eieio-slot-name-index, eieio-class-slot-name-index)
6916 (eieio-set-defaults, eieio-initarg-to-attribute)
6917 (eieio-attribute-to-initarg, eieio-c3-candidate)
6918 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6919 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6920 (eieio-class-precedence-list, eieio-generic-call-methodname)
6921 (eieio-generic-call-arglst, eieio-generic-call-key)
6922 (eieio-generic-call-next-method-list)
6923 (eieio-pre-method-execution-functions, eieio-generic-call)
6924 (eieio-generic-call-primary-only, eieiomt-method-list)
6925 (eieiomt-optimizing-obarray, eieiomt-install)
6926 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6927 (eieio-generic-form, eieio-defmethod, make-obsolete)
6928 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6929 (defclass): Remove `eval-and-compile' from macro.
6930 (call-next-method, shared-initialize): Instead of using
6931 `scoped-class' variable, use new eieio--scoped-class, and
6932 eieio--with-scoped-class.
6933 (initialize-instance): Rename local variable 'scoped-class' to
6934 'this-class' to remove ambiguitity from old global.
6935
6936 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6937 eieio.el.
6938 (eieio--scoped-class-stack): New variable.
6939 (eieio--scoped-class): New fcn.
6940 (eieio--with-scoped-class): New scoping macro.
6941 (eieio-defclass): Use pushnew instead of add-to-list.
6942 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6943 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6944 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6945 `scoped-class' variable, use new eieio--scoped-class, and
6946 eieio--with-scoped-class.
6947
6948 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6949
6950 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6951
6952 * eshell/esh-ext.el (eshell-external-command): Pass args to
6953 `eshell-find-interpreter'.
6954 (eshell-find-interpreter): Add new second parameter ARGS.
6955
6956 * eshell/em-script.el (eshell-script-initialize): Add second arg
6957 to the function added as MATCH to `eshell-interpreter-alist'.
6958
6959 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6960 the function added as MATCH to `eshell-interpreter-alist'.
6961
6962 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6963 (eshell-visual-options): New defcustom.
6964 (eshell-escape-control-x): Adapt docstring.
6965 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6966 `eshell-visual-options' in addition to `eshell-visual-commands'.
6967 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6968
6969 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6970
6971 * progmodes/python.el (python-indent-block-enders): Add break,
6972 continue and raise keywords.
6973
6974 2013-06-01 Glenn Morris <rgm@gnu.org>
6975
6976 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6977
6978 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6979 * progmodes/cc-cmds.el (delete-forward-p):
6980 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6981 * progmodes/cc-engine.el (buffer-syntactic-context):
6982 * progmodes/cc-fonts.el (face-property-instance):
6983 * progmodes/cc-mode.el (set-keymap-parents):
6984 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6985 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6986 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6987 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6988 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6989
6990 * progmodes/cc-vars.el (other): Emacs has this widget since
6991 at least 21.1, so don't (re)define it.
6992
6993 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6994 Replace the obsolete alias pcomplete-arg-quote-list.
6995
6996 2013-06-01 Leo Liu <sdl.web@gmail.com>
6997
6998 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6999 punctuation syntax.
7000 (inferior-octave-minimal-columns)
7001 (inferior-octave-last-column-width): New variables.
7002 (inferior-octave-track-window-width-change): New function.
7003 (inferior-octave-mode): Adjust column width so that Octave output,
7004 for example from 'ls', can fit into the window nicely.
7005
7006 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7007
7008 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7009 Highlight expansions inside regexp literals.
7010
7011 2013-05-31 Glenn Morris <rgm@gnu.org>
7012
7013 * obsolete/sym-comp.el (symbol-complete):
7014 Replace obsolete completion-annotate-function.
7015
7016 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7017
7018 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7019
7020 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7021 New function, checks if point is inside a literal that allows
7022 expression expansion.
7023 (ruby-syntax-propertize-expansion): Use it.
7024 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7025 around the body.
7026
7027 2013-05-30 Juri Linkov <juri@jurta.org>
7028
7029 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7030 to "\M-si".
7031 (isearch-invisible): New variable.
7032 (isearch-forward): Doc fix.
7033 (isearch-mode): Set `isearch-invisible'
7034 to the value of `search-invisible'.
7035 (isearch-toggle-case-fold): Doc fix.
7036 (isearch-toggle-invisible): New command.
7037 (isearch-query-replace): Let-bind `search-invisible'
7038 to the value of `isearch-invisible'.
7039 (isearch-search): Use `isearch-invisible' instead of
7040 `search-invisible'. Let-bind `search-invisible'
7041 to the value of `isearch-invisible'. (Bug#11378)
7042
7043 2013-05-30 Juri Linkov <juri@jurta.org>
7044
7045 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7046 call when `query-flag' is nil and `search-invisible' is non-nil.
7047 (Bug#11746)
7048
7049 2013-05-30 Glenn Morris <rgm@gnu.org>
7050
7051 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7052
7053 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7054 (cc-require): Suppress spurious "noruntime" warnings.
7055 (cc-require-when-compile): Use fboundp, for sake of compiler.
7056
7057 * progmodes/cc-mode.el: Move load of cc-vars before that of
7058 cc-langs (which in turn loads cc-vars), to quieten compiler.
7059
7060 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7061
7062 * paren.el: Simplify the code.
7063 (show-paren-mode): Always start the timer.
7064 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7065 (show-paren--overlay, show-paren--overlay-1): Rename from
7066 show-paren-overlay and show-paren-overlay-1, and initialize to an
7067 overlay rather than to nil.
7068 (show-paren-function): Misc cleanup and simplifications.
7069
7070 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * paren.el (show-paren-data-function): New hook.
7073 (show-paren--default): New function, extracted from show-paren-function.
7074 (show-paren-function): Use show-paren-data-function.
7075
7076 2013-05-30 Glenn Morris <rgm@gnu.org>
7077
7078 * ielm.el (ielm-map, ielm-complete-symbol):
7079 Use completion-at-point rather than obsolete functions.
7080 (inferior-emacs-lisp-mode): Doc fix.
7081 Set completion-at-point-functions, rather than
7082 comint-dynamic-complete-functions.
7083
7084 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7085 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7086 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7087
7088 * image.el (image-animated-p): Tweak definition.
7089
7090 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7091 (rlogin-process-connection-type): Tweak default. Add set-after.
7092 (rlogin-host): Doc fix.
7093 (rlogin): Tweak prompt.
7094 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7095
7096 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7097 * progmodes/tcl.el (inferior-tcl-mode-map):
7098 Use completion-at-point rather than obsolete alias.
7099
7100 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7101
7102 * minibuffer.el (read-file-name-completion-ignore-case):
7103 Move before completion--in-region, for eager macro expansion.
7104
7105 2013-05-29 Juri Linkov <juri@jurta.org>
7106
7107 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7108 for total count of matching lines. Add `global-matches' for total
7109 count of matches. Rename `matches' to `lines' for count of
7110 matching lines. Add `matches' for count of matches.
7111 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7112 to `prev-line' for line number of prev match endpt.
7113 Increment `matches' for every match. Print the number of
7114 matching lines in the header.
7115 (occur-context-lines): Rename `lines' to `curr-line'.
7116 Rename `prev-lines' to `prev-line'. (Bug#14017)
7117
7118 2013-05-29 Juri Linkov <juri@jurta.org>
7119
7120 * replace.el (perform-replace): Add `skip-read-only-count',
7121 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7122 Increment them for corresponding conditions and report the number
7123 of skipped occurrences in the final message. (Bug#11746)
7124 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7125 (replace-string, replace-regexp): Doc fix.
7126
7127 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7130
7131 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7132 prog-mode-map (bug#14504).
7133
7134 2013-05-29 Leo Liu <sdl.web@gmail.com>
7135
7136 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7137 (octave-help): Small simplification.
7138
7139 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7140 off the highlight first.
7141
7142 2013-05-29 Glenn Morris <rgm@gnu.org>
7143
7144 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7145 Handle idlwave-last-system-routine-info-cons-cell being nil.
7146
7147 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7148 (idlwave-write-paths): Simplify via with-temp-buffer.
7149
7150 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7151 * emulation/cua-rect.el: Also load cua-base at run time.
7152
7153 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7154 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7155 (cperl-imenu-on-info): Require imenu.
7156
7157 2013-05-28 Alan Mackenzie <acm@muc.de>
7158
7159 Handle "capitalised keywords" correctly.
7160 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7161
7162 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7163
7164 * eshell/em-unix.el: Add -r option to cp.
7165
7166 2013-05-28 Glenn Morris <rgm@gnu.org>
7167
7168 * vc/vc-arch.el (vc-exec-after): Declare.
7169 (vc-switches): Autoload.
7170 * vc/vc-bzr.el: No need to require vc when compiling.
7171 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7172 (vc-resynch-buffer, vc-dir-refresh): Declare.
7173 (vc-setup-buffer, vc-switches): Autoload.
7174 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7175 (vc-resynch-buffer): Declare.
7176 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7177 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7178 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7179 (grep-read-regexp, grep-read-files, grep-expand-template)
7180 (vc-dir-refresh): Declare.
7181 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7182 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7183 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7184 * vc/vc-mtn.el (vc-exec-after): Declare.
7185 (vc-switches): Autoload.
7186 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7187 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7188 (vc-file-tree-walk): Declare.
7189 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7190 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7191 (vc-tag-precondition, vc-rename-master): Autoload.
7192 * vc/vc-svn.el (vc-exec-after): Declare.
7193 (vc-switches, vc-setup-buffer): Autoload.
7194 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7195 Autoload.
7196 (vc-resynch-buffer): Declare.
7197
7198 * obsolete/fast-lock.el (byte-compile-warnings):
7199 Don't warn about obsolete features in this obsolete file.
7200
7201 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7202 Move definition before use.
7203
7204 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7205 (dun-unix-verbs): Remove dun-zippy.
7206 (dun-zippy): Remove function.
7207
7208 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7209
7210 2013-05-27 Juri Linkov <juri@jurta.org>
7211
7212 * replace.el (replace-search): New function with code moved out
7213 from `perform-replace'.
7214 (replace-highlight, replace-dehighlight): Move function definitions
7215 up closer to `replace-search'. (Bug#11746)
7216
7217 2013-05-27 Juri Linkov <juri@jurta.org>
7218
7219 * replace.el (perform-replace): Ignore invisible matches.
7220 In addition to checking `query-replace-skip-read-only', also
7221 filter out matches by calling `run-hook-with-args-until-failure'
7222 on `isearch-filter-predicates', and also check `search-invisible'
7223 for t or call `isearch-range-invisible'.
7224 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7225
7226 2013-05-27 Juri Linkov <juri@jurta.org>
7227
7228 * isearch.el (isearch-filter-predicates): Rename from
7229 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7230 (isearch-message-prefix): Display text from the property
7231 `isearch-message-prefix' of the currently active filters.
7232 (isearch-search): Don't compare `isearch-filter-predicate' with
7233 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7234 on `isearch-filter-predicates'. Also check `search-invisible' for t
7235 or call `isearch-range-invisible'.
7236 (isearch-filter-visible): Make obsolete.
7237 (isearch-lazy-highlight-search):
7238 Call `run-hook-with-args-until-failure' on
7239 `isearch-filter-predicates' and use `isearch-range-invisible'.
7240
7241 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7242 `isearch-filter-predicates' instead of `funcall'ing
7243 `isearch-filter-predicate'.
7244 (Info-mode): Set `Info-isearch-filter' to
7245 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7246
7247 * dired-aux.el (dired-isearch-filter-predicate-orig):
7248 Remove variable.
7249 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7250 (dired-isearch-filenames-end): Add and remove
7251 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7252 instead of changing the value of `isearch-filter-predicate'.
7253 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7254 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7255 Put property `isearch-message-prefix' to "filename " on
7256 `dired-isearch-filter-filenames'.
7257
7258 * wdired.el (wdired-change-to-wdired-mode):
7259 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7260 locally instead of changing `isearch-filter-predicate'.
7261 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7262
7263 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7264
7265 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7266 return the commit hash (Bug#14459). Also set the
7267 `vc-git-detached' property.
7268 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7269 (vc-git-mode-line-string): Use the same help-echo format whether
7270 in detached mode or not, because we know the actual revision now.
7271 When in detached mode, shorten the revision to 7 chars.
7272
7273 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7274
7275 * emacs-lisp/easy-mmode.el (define-minor-mode):
7276 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7277 mode hook and provide a docstring.
7278
7279 2013-05-27 Alan Mackenzie <acm@muc.de>
7280
7281 Remove spurious syntax-table text properties inserted by C-y.
7282 * progmodes/cc-mode.el (c-after-change): Also clear hard
7283 syntax-table property with value nil.
7284
7285 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7286
7287 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7288 when reading the events; the buffer layout shall not be changed.
7289
7290 2013-05-27 Leo Liu <sdl.web@gmail.com>
7291
7292 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7293 New variable.
7294 (inferior-octave-directory-tracker): Automatically re-sync
7295 default-directory.
7296 (octave-help): Improve handling of 'See also'.
7297
7298 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * doc-view.el: Minor naming convention tweaks.
7301 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7302
7303 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7304 even if there's no `display' property yet (bug#14435).
7305
7306 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7307
7308 * subr.el (unmsys--file-name): Rename from reveal-filename.
7309
7310 * Makefile.in (custom-deps, finder-data, autoloads)
7311 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7312 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7313 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7314
7315 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7316
7317 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7318 error-completion on the first 2 args of condition-case (bug#14446).
7319 Don't burp at EOB.
7320
7321 2013-05-25 Leo Liu <sdl.web@gmail.com>
7322
7323 * comint.el (comint-previous-matching-input): Do not flood the
7324 *Messages* buffer with trivial messages.
7325
7326 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * progmodes/flymake.el (flymake-nop): Don't return a string.
7329 (flymake-set-at): Fix typo.
7330
7331 * simple.el (read--expression): New function, extracted from
7332 eval-expression. Set completion-at-point-functions (bug#14465).
7333 (eval-expression, eval-minibuffer): Use it.
7334
7335 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7336
7337 * progmodes/flymake.el (flymake-save-buffer-in-file)
7338 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7339 (flymake-selected-frame, flymake-log, flymake-ins-after)
7340 (flymake-set-at, flymake-get-buildfile-from-cache)
7341 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7342 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7343 Refine the doc string.
7344 (flymake-get-file-name-mode-and-masks): Reformat.
7345 (flymake-get-real-file-name-function): Fix a minor bug.
7346
7347 2013-05-24 Juri Linkov <juri@jurta.org>
7348
7349 * progmodes/grep.el (grep-mode-font-lock-keywords):
7350 Support =linenumber= format used by git-grep for lines with
7351 function names. (Bug#13549)
7352
7353 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7356 0 after a semi-colon; it works better for smie-auto-fill.
7357 (octave--indent-new-comment-line): New function.
7358 (octave-indent-new-comment-line): Use it (indirectly).
7359 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7360 modify comment-line-break-function.
7361
7362 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7363 (smie-setup): Use add-function to set it.
7364
7365 2013-05-24 Sam Steingold <sds@gnu.org>
7366
7367 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7368 argument (before the `interactive' argument).
7369
7370 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7371
7372 * image-mode.el (image-mode-winprops): Add winprops to
7373 image-mode-winprops-alist before running
7374 image-mode-new-window-functions.
7375 * doc-view.el (doc-view-new-window-function): Don't delay
7376 doc-view-goto-page via timers (bug#14435).
7377
7378 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7379
7380 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7381 (doc-view-desktop-save-buffer): New function.
7382 (doc-view-restore-desktop-buffer): New function.
7383 (desktop-buffer-mode-handlers):
7384 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7385 handler.
7386 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7387 `desktop-save-buffer' function.
7388
7389 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7390
7391 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7392 (tramp-gvfs-file-name-handler): Raise a user error when
7393 `tramp-gvfs-enabled' is nil.
7394 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7395 Do not raise a user error when loading package. (Bug#14447)
7396
7397 * net/xesam.el: Move to obsolete/.
7398
7399 2013-05-24 Glenn Morris <rgm@gnu.org>
7400
7401 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7402
7403 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7404
7405 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7406 (Info-find-node, Man-getpage-in-background): Declare.
7407
7408 * mail/unrmail.el (unrmail):
7409 Replace obsolete detect-coding-with-priority.
7410
7411 * net/socks.el (socks-split-string): Use this rather than split-string.
7412 (socks-nslookup-host): Update for above change.
7413 (dynamic-choice, s5-dynamic-choice-match)
7414 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7415 Comment out unused code.
7416
7417 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7418 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7419 (gud-tooltip-echo-area): Make obsolete.
7420 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7421
7422 * progmodes/js.el (js--optimize-arglist): Declare.
7423
7424 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7425
7426 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7427 (ediff-window-C): Declare.
7428
7429 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7430 Tweak requires to silence compiler.
7431
7432 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7433 (he-search-string, he-tried-table, he-expand-list)
7434 (he-init-string, he-string-member, he-substitute-string)
7435 (he-reset-string): Declare.
7436
7437 * obsolete/options.el (list-options): Use custom-variable-p,
7438 rather than obsolete alias.
7439
7440 2013-05-23 Sam Steingold <sds@gnu.org>
7441
7442 * simple.el (shell-command-on-region): Pass the `replace' argument
7443 down to `call-process-region' to comply with the doc as reported on
7444 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7445
7446 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7447
7448 * emacs-lisp/smie.el (smie-indent-forward-token)
7449 (smie-indent-backward-token): Handle string tokens (bug#14381).
7450
7451 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7452
7453 * ielm.el (ielm-menu): New menu.
7454 (inferior-emacs-lisp-mode): Set comment-start.
7455
7456 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7457
7458 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7459 Fix deactivate action.
7460
7461 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7462 Add cleveref macros.
7463
7464 * lisp/textmodes/reftex-parse.el
7465 (reftex-locate-bibliography-files): Accept options for
7466 bibliography commands.
7467 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7468 Add addbibresource. Basic Biblatex support.
7469
7470 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7471
7472 * net/tramp-gvfs.el (top):
7473 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7474 when loading package. (Bug#14447)
7475
7476 2013-05-23 Glenn Morris <rgm@gnu.org>
7477
7478 * progmodes/js.el: No need to load comint when compiling.
7479 (ring-insert, comint-send-string, comint-send-input)
7480 (comint-last-input-end, ido-chop): Declare.
7481
7482 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7483 * vc/ediff-mult.el: Adjust requires.
7484 (ediff-directories-internal, ediff-directory-revisions-internal)
7485 (ediff-patch-file-internal): Declare.
7486 * vc/ediff-ptch.el: Adjust requires.
7487 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7488 (ediff-find-file): Autoload.
7489 * vc/ediff-util.el: No need to load ediff when compiling.
7490 (ediff-regions-internal): Declare.
7491 * vc/ediff-wind.el: Adjust requires.
7492 (ediff-compute-toolbar-width): Define when compiling.
7493 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7494 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7495 (dired-get-filename, dired-get-marked-files)
7496 (ediff-last-dir-patch, ediff-patch-default-directory)
7497 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7498 (ediff-patch-buffer-internal): Declare.
7499
7500 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7501 (ispell-process, ispell-buffer-local-words, lm-summary)
7502 (lm-section-start, lm-section-end): Declare.
7503 (checkdoc-ispell-init): Simplify.
7504
7505 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7506 (he-string-member, he-reset-string, he-substitute-string): Declare.
7507
7508 * eshell/em-ls.el: Adjust requires.
7509 (eshell-glob-regexp): Declare.
7510 * eshell/em-tramp.el: Adjust requires.
7511 (eshell-parse-command): Autoload.
7512 * eshell/em-xtra.el: Adjust requires.
7513 (eshell-parse-command): Autoload.
7514 * eshell/esh-ext.el: Adjust requires.
7515 (eshell-parse-command, eshell-close-handles): Autoload.
7516 * eshell/esh-io.el: Adjust requires.
7517 (eshell-output-filter): Autoload.
7518 * eshell/esh-util.el: No need to load tramp when compiling.
7519 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7520 Declare.
7521 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7522 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7523 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7524 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7525 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7526 * eshell/esh-opt.el, eshell/esh-proc.el:
7527 * eshell/esh-var.el: Adjust requires.
7528 * eshell/eshell.el: Do not require esh-util twice.
7529 (eshell-add-input-to-history): Declare.
7530 (eshell-command): Check history module is active before using it.
7531
7532 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7533
7534 2013-05-22 Leo Liu <sdl.web@gmail.com>
7535
7536 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7537
7538 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7539
7540 * autorevert.el (auto-revert-notify-add-watch)
7541 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7542 it indicates changes in file modification time.
7543
7544 2013-05-22 Glenn Morris <rgm@gnu.org>
7545
7546 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7547 Always delete the autoloaded function from the noruntime and
7548 unresolved functions lists.
7549
7550 * allout.el: No need to load epa, epg, overlay when compiling.
7551 (epg-context-set-passphrase-callback, epg-list-keys)
7552 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7553 (epg-key-user-id-list): Declare.
7554
7555 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7556 (viper-set-parsing-style-toggling-macro)
7557 (viper-set-emacs-state-searchstyle-macros):
7558 Use called-interactively-p on Emacs.
7559 (viper-looking-back): Make it an obsolete alias. Update callers.
7560 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7561 Use looking-back rather than viper-looking-back.
7562 (viper-tmp-insert-at-eob, viper-enlarge-region)
7563 (viper-read-string-with-history, viper-register-to-point)
7564 (viper-append-to-register, viper-change-state-to-vi)
7565 (viper-backward-char-carefully, viper-forward-char-carefully)
7566 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7567 (viper-change-state-to-emacs): Declare.
7568 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7569 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7570 * emulation/viper-mous.el: Do not load viper-cmd.
7571 (viper-backward-char-carefully, viper-forward-char-carefully)
7572 (viper-forward-word, viper-adjust-window): Declare.
7573
7574 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7575
7576 * progmodes/idlw-help.el (idlwave-help-fontify):
7577 Use called-interactively-p.
7578
7579 * term/w32console.el (w32-get-console-codepage)
7580 (w32-get-console-output-codepage): Declare.
7581
7582 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7583 Remove unnecessary declarations.
7584 (dframe-message): Doc fix.
7585
7586 * info.el (dframe-select-attached-frame, dframe-current-frame):
7587 Declare.
7588
7589 * speedbar.el (speedbar-message): Make it an obsolete alias.
7590 Update all callers.
7591 (speedbar-with-attached-buffer)
7592 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7593 (speedbar-with-writable): Use backquote.
7594 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7595 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7596 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7597 rather than speedbar- aliases.
7598 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7599 (speedbar-make-specialized-keymap, speedbar-insert-button)
7600 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7601 (speedbar-do-function-pointer): Declare.
7602 (rmail-speedbar-button, rmail-speedbar-find-file)
7603 (rmail-speedbar-move-message):
7604 Use dframe-with-attached-buffer rather than speedbar- alias.
7605 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7606 (dframe-message, speedbar-make-specialized-keymap)
7607 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7608 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7609 (speedbar-insert-button, dframe-select-attached-frame)
7610 (dframe-maybee-jump-to-attached-frame)
7611 (speedbar-change-initial-expansion-list)
7612 (speedbar-previously-used-expansion-list-name): Declare.
7613 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7614 Use dframe-message, dframe-with-attached-buffer rather than
7615 speedbar- aliases.
7616 (gud-sentinel): Silence compiler.
7617 * progmodes/vhdl-mode.el (speedbar-refresh)
7618 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7619 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7620 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7621 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7622 (speedbar-file-lists, speedbar-make-tag-line)
7623 (speedbar-line-directory, speedbar-goto-this-file)
7624 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7625 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7626 (speedbar-make-button, speedbar-reset-scanners)
7627 (speedbar-files-item-info, speedbar-line-text)
7628 (speedbar-find-file-in-frame, speedbar-set-timer)
7629 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7630 (speedbar-with-writable): Do not (re)define it.
7631 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7632 rather than speedbar- alias.
7633
7634 2013-05-21 Leo Liu <sdl.web@gmail.com>
7635
7636 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7637 menu items.
7638 (octave-mode): Tweak fill-nobreak-predicate.
7639 (inferior-octave-startup): Check process to avoid infinite loop.
7640 (inferior-octave): Pop to buffer first to show abornmal process
7641 exit information.
7642
7643 2013-05-21 Glenn Morris <rgm@gnu.org>
7644
7645 * printing.el (pr-menu-bar): Define when compiling.
7646
7647 2013-05-21 Leo Liu <sdl.web@gmail.com>
7648
7649 * progmodes/octave.el (octave-auto-fill): Remove.
7650 (octave-indent-new-comment-line): Improve.
7651 (octave-mode): Use auto fill mode through
7652 comment-line-break-function and fill-nobreak-predicate.
7653 (octave-goto-function-definition): Support DEFUN_DLD.
7654 (octave-beginning-of-defun): Small tweak.
7655 (octave-help): Show parent directory.
7656
7657 2013-05-21 Glenn Morris <rgm@gnu.org>
7658
7659 * files.el (dired-unmark):
7660 * progmodes/gud.el (gdb-input): Update declarations.
7661
7662 * calculator.el (electric, ehelp): No need to load when compiling.
7663 (Electric-command-loop, electric-describe-mode): Declare.
7664
7665 * doc-view.el (doc-view-current-converter-processes): Move before use.
7666
7667 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7668 Move MODE-set-explicitly definition before use.
7669
7670 * international/mule-diag.el (mule-diag):
7671 Don't use obsolete window-system-version.
7672
7673 * mail/feedmail.el (smtpmail): No need to load when compiling.
7674 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7675
7676 * mail/mail-utils.el (rfc822): No need to load when compiling.
7677 (rfc822-addresses): Autoload it.
7678 (mail-strip-quoted-names): Trivial simplification.
7679
7680 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7681 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7682
7683 * net/snmp-mode.el (tempo): Don't duplicate requires.
7684
7685 * progmodes/prolog.el (info): No need to load when compiling.
7686 (comint): Require before shell requires it.
7687 (Info-goto-node): Autoload it.
7688 (Info-follow-nearest-node): Declare.
7689 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7690
7691 * textmodes/artist.el (picture-mode-exit): Declare.
7692
7693 * textmodes/reftex-parse.el (reftex-parse-from-file):
7694 Trivial rewrite so the compiler can parse it better.
7695
7696 2013-05-20 Leo Liu <sdl.web@gmail.com>
7697
7698 * progmodes/octave.el (octave-help-mode-map)
7699 (octave-help-mode-finish-hook): New variables.
7700 (octave-help-mode, octave-help-mode-finish): New functions.
7701 (octave-help): Use octave-help-mode.
7702
7703 2013-05-20 Glenn Morris <rgm@gnu.org>
7704
7705 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7706
7707 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7708
7709 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7710 start at point, so that expansion starting right after opening
7711 slash in a regexp is recognized.
7712 (ruby-syntax-before-regexp-re): New defvar, extracted from
7713 ruby-syntax-propertize-function. Since the value of this regexp
7714 is looked up at runtime now, we should be able to turn
7715 `ruby-syntax-methods-before-regexp' into a defcustom later.
7716 (ruby-syntax-propertize-function): Split regexp matching into two
7717 parts, for opening and closing slashes. That allows us to skip
7718 over string interpolations and support multiline regexps.
7719 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7720 for them, which calls `ruby-syntax-propertize-expansion'.
7721 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7722 call to `ruby-syntax-propertize-function'.
7723 (ruby-syntax-propertize-expansion): Extracted from
7724 `ruby-syntax-propertize-expansions'. Handles one expansion.
7725 (ruby-syntax-propertize-percent-literal): Leave point right after
7726 the percent symbol, so that the expression expansion rule can
7727 propertize the contents.
7728 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7729 heredoc openers.
7730 (ruby-syntax-propertize-expansions): Remove.
7731
7732 2013-05-18 Juri Linkov <juri@jurta.org>
7733
7734 * man.el (Man-default-man-entry): Remove `-' from the end
7735 of the default value. (Bug#14400)
7736
7737 2013-05-18 Glenn Morris <rgm@gnu.org>
7738
7739 * comint.el (comint-password-prompt-regexp):
7740 Allow "password for XXX" where XXX contains colons (eg https://...).
7741
7742 2013-05-18 Leo Liu <sdl.web@gmail.com>
7743
7744 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7745 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7746 (octave-source-directories): Don't check process.
7747 (octave-source-directories, octave-find-definition): Doc fix.
7748
7749 2013-05-18 Glenn Morris <rgm@gnu.org>
7750
7751 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7752 Remove backspace/delete bindings. (Bug#14392)
7753
7754 * cus-dep.el (custom-make-dependencies): Sort the output.
7755 (custom-versions-load-alist): Convert comment to doc.
7756
7757 2013-05-17 Leo Liu <sdl.web@gmail.com>
7758
7759 * newcomment.el (comment-search-backward): Stricter in finding
7760 comment start. (Bug#14303)
7761
7762 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7763 (octave-comment-start-skip): Properly anchored.
7764
7765 2013-05-17 Leo Liu <sdl.web@gmail.com>
7766
7767 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7768 Clean up when turned off. (Bug#14395)
7769 (smie--highlight-matching-block-overlay): No longer buffer-local.
7770 (smie-highlight-matching-block): Adjust.
7771
7772 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7773
7774 Doc string fix for "nanoseconds" (Bug#14406).
7775 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7776 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7777
7778 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7779
7780 * calc/calc-units.el (math-extract-units): Preserve powers
7781 of units.
7782
7783 2013-05-17 Leo Liu <sdl.web@gmail.com>
7784
7785 * subr.el (delete-consecutive-dups): New function.
7786 * ido.el (ido-set-matches-1): Use it.
7787 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7788 * ido.el (ido-remove-consecutive-dups): Remove.
7789
7790 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7793 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7794 regexp-opt's `words'.
7795
7796 2013-05-16 Leo Liu <sdl.web@gmail.com>
7797
7798 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7799 (smie--highlight-matching-block-overlay)
7800 (smie--highlight-matching-block-lastpos)
7801 (smie--highlight-matching-block-timer): New variables.
7802 (smie-highlight-matching-block): New function.
7803 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7804 (smie-setup): Conditionally enable smie-blink-matching-open.
7805
7806 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7807
7808 Sync with upstream verilog-mode r840.
7809 * progmodes/verilog-mode.el (verilog-mode-version)
7810 (verilog-mode-release-date): Update.
7811 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7812 (verilog-sig-tieoff): Fix string error on
7813 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7814 (verilog-read-decls): Fix parameters confusing
7815 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7816
7817 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7818
7819 * subr.el (reveal-filename): New function.
7820
7821 * loadup.el: Compute Emacs executable versions on MS-Windows,
7822 where executables have the .exe extension. Add a hard link
7823 emacs-XX.YY.ZZ.exe on MS-Windows.
7824
7825 * Makefile.in (XARGS_LIMIT): New variable.
7826 (custom-deps, finder-data, autoloads)
7827 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7828 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7829 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7830 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7831
7832 2013-05-16 Leo Liu <sdl.web@gmail.com>
7833
7834 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7835 (octave-mode-menu, octave-mode-map): Remove its uses.
7836
7837 2013-05-16 Reto Zimmermann <reto@gnu.org>
7838
7839 Sync with upstream vhdl mode v3.34.2.
7840 * progmodes/vhdl-mode.el: Use `push' throughout.
7841 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7842 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7843 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7844 (vhdl-actual-generic-name): New option to derive actual generic name.
7845 (vhdl-port-paste-signals): Replace formal by actual generics.
7846 (vhdl-beautify): New name for old group vhdl-align. Update users.
7847 (vhdl-beautify-options): New option.
7848 (vhdl-last-input-event): New compat alias. Use throughout.
7849 (vhdl-goto-line): Replace user level function `goto-line'.
7850 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7851 vhdl-fix-statement-buffer.
7852 (vhdl-create-mode-menu): Add some entries.
7853 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7854 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7855 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7856 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7857 to force statements on one line.
7858 (vhdl-remove-trailing-spaces-region):
7859 New, split from vhdl-remove-trailing-spaces.
7860 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7861 Respect vhdl-beautify-options.
7862 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7863 (vhdl-update-sensitivity-list): Not add with index if exists without.
7864 Not include array index with signal. Ignore keywords in comments.
7865 (vhdl-get-visible-signals): Regexp tweaks.
7866 (vhdl-template-component-inst): Handle empty library.
7867 (vhdl-template-type): Add template for 'enum' type.
7868 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7869 Use vhdl-replace-string.
7870 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7871 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7872 (vhdl-speedbar-initialize): Update for above name change.
7873 (vhdl-compose-wire-components): Fix in handling of constants.
7874 (vhdl-error-regexp-emacs-alist): New variable.
7875 (vhdl-error-regexp-add-emacs): New function;
7876 adds support for new compile.el (Emacs 22+)
7877 (vhdl-generate-makefile-1): Change target order for single lib. units.
7878 Allow use of absolute file names.
7879
7880 2013-05-16 Leo Liu <sdl.web@gmail.com>
7881
7882 * simple.el (prog-indent-sexp): Indent enclosing defun.
7883
7884 2013-05-15 Glenn Morris <rgm@gnu.org>
7885
7886 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7887 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7888 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7889 (whitespace-highlight): Move to whitespace group.
7890
7891 * comint.el (comint-source):
7892 * pcmpl-linux.el (pcmpl-linux):
7893 * shell.el (shell-faces):
7894 * eshell/esh-opt.el (eshell-opt):
7895 * international/ccl.el (ccl): Remove empty custom groups.
7896
7897 * completion.el (dynamic-completion-mode):
7898 * jit-lock.el (jit-lock-debug-mode):
7899 * minibuffer.el (completion-in-region-mode):
7900 * type-break.el (type-break-mode-line-message-mode)
7901 (type-break-query-mode):
7902 * emulation/tpu-edt.el (tpu-edt-mode):
7903 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7904 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7905 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7906
7907 * term/xterm.el (xterm): Change parent group to terminals.
7908
7909 * master.el (master): Remove empty custom group.
7910 (master-mode): Remove unused :group argument.
7911 * textmodes/refill.el (refill): Remove empty custom group.
7912 (refill-mode): Remove unused :group argument.
7913
7914 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7915
7916 * cus-dep.el: Provide a feature.
7917 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7918 Don't mistakenly ignore files whose basenames match a basename
7919 from preloaded-file-list (eg cedet/ede/simple.el).
7920 Add a fallback method for getting :group.
7921
7922 2013-05-15 Juri Linkov <juri@jurta.org>
7923
7924 * isearch.el (isearch-char-by-name): Rename from
7925 `isearch-insert-char-by-name'. Doc fix.
7926 (isearch-forward): Mention `isearch-char-by-name' in
7927 the docstring. (Bug#13348)
7928
7929 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7930 `exit-minibuffer' instead of
7931 `isearch-nonincremental-exit-minibuffer'.
7932 (isearch-edit-string): Remove mention of
7933 `isearch-nonincremental-exit-minibuffer' from docstring.
7934 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7935 (isearch-forward-exit-minibuffer)
7936 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7937
7938 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * loadup.el: Just use unversioned DOC.
7941
7942 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7943 literals as extending to EOB.
7944 (nxml-last-fontify-end): Remove unused variable.
7945 (nxml-after-change1): Use with-silent-modifications.
7946 (nxml-extend-after-change-region): Simplify.
7947 (nxml-extend-after-change-region1): Remove function.
7948 (nxml-after-change1): Don't adjust for dependent regions.
7949 (nxml-fontify-matcher): Simplify.
7950 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7951 (xmltok-add-dependent): Remove function.
7952 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7953 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7954 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7955 unclosed <[[, <?, comment, and other literals as extending to EOB.
7956 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7957 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7958 Remove functions.
7959 (rng-do-some-validation-1): Don't mark dependent regions.
7960 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7961 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7962 (nxml-clear-dependent-regions): Remove functions.
7963 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7964 (nxml-ensure-scan-up-to-date):
7965 Don't clear&mark dependent regions.
7966
7967 2013-05-15 Leo Liu <sdl.web@gmail.com>
7968
7969 * progmodes/octave.el (octave-goto-function-definition):
7970 Improve and fix callers.
7971
7972 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7973
7974 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7975 the setter (bug#14387).
7976
7977 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7978 surrounding group (bug#14402).
7979
7980 2013-05-14 Juri Linkov <juri@jurta.org>
7981
7982 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7983 (Bug#14390)
7984
7985 2013-05-14 Glenn Morris <rgm@gnu.org>
7986
7987 * progmodes/f90.el (f90-imenu-generic-expression):
7988 Fix typo in 2013-05-08 change. (Bug#14402)
7989
7990 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7991
7992 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7993 Remove signals for which replies are never received.
7994
7995 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7996
7997 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7998 (gdb-handler-alist, gdb-handler-number): Remove variables.
7999 (gdb-handler-list): New variable.
8000 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8001 (gdb-pending-handler-p, gdb-handle-reply)
8002 (gdb-remove-all-pending-triggers): New functions.
8003 (gdb-discard-unordered-replies): New defcustom.
8004 (gdb-handler): New defstruct.
8005 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8006 instead of gdb-pending-triggers. Update docstring.
8007 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8008 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8009 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8010 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8011 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8012 (gdb-frame-handler): Pending triggers are now automatically managed.
8013 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8014 Remove argument.
8015 (gdb-input): Automatically handles pending triggers. Update docstring.
8016 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8017 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8018 Update comments.
8019 (gdb-done-or-error): Now use gdb-handle-reply.
8020
8021 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8022
8023 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8024 gdb-debug-log.
8025
8026 2013-05-14 Glenn Morris <rgm@gnu.org>
8027
8028 * subr.el (user-emacs-directory-warning): New option.
8029 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8030
8031 2013-05-14 Leo Liu <sdl.web@gmail.com>
8032
8033 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8034 during redisplay.
8035 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8036 (octave-font-lock-texinfo-comment): Fix invalid search bound
8037 error: wrong side of point.
8038
8039 2013-05-14 Glenn Morris <rgm@gnu.org>
8040
8041 * progmodes/flymake.el (flymake-xml-program): New option.
8042 (flymake-xml-init): Use it.
8043
8044 * term/xterm.el: Provide a feature.
8045
8046 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8047
8048 2013-05-13 Glenn Morris <rgm@gnu.org>
8049
8050 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8051 Add compat aliases as a hack workaround. (Bug#14384)
8052
8053 2013-05-13 Leo Liu <sdl.web@gmail.com>
8054
8055 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8056 ###, and %!.
8057 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8058 C-M-q.
8059 (octave-comment-start-skip): Include %!.
8060 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8061
8062 2013-05-12 Leo Liu <sdl.web@gmail.com>
8063
8064 * progmodes/octave.el (inferior-octave-startup): Store the value
8065 of __octave_srcdir__ for octave-source-directories.
8066 (inferior-octave-check-process): New function refactored out of
8067 inferior-octave-send-list-and-digest.
8068 (octave-source-directories)
8069 (octave-find-definition-filename-function): New variables.
8070 (octave-source-directories)
8071 (octave-find-definition-default-filename): New functions.
8072 (octave-find-definition): Improve to find functions implemented in C++.
8073
8074 2013-05-12 Glenn Morris <rgm@gnu.org>
8075
8076 * calendar/diary-lib.el (diary-outlook-format-1):
8077 Don't include dayname in the output. (Bug#14349)
8078
8079 2013-05-11 Glenn Morris <rgm@gnu.org>
8080
8081 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8082
8083 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8084 Treat cc-provide like provide.
8085
8086 2013-05-11 Kevin Ryde <user42@zip.com.au>
8087
8088 * cus-dep.el (custom-make-dependencies):
8089 Use generated-autoload-load-name for the sake of files such
8090 such cedet/semantic/bovine/c.el, where the base file name
8091 is not in load-path. (Bug#5277)
8092
8093 2013-05-11 Glenn Morris <rgm@gnu.org>
8094
8095 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8096 Provide features.
8097
8098 2013-05-11 Leo Liu <sdl.web@gmail.com>
8099
8100 * progmodes/octave.el (octave-indent-comment): Improve.
8101 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8102 (octave-eldoc-function-signatures, octave-eldoc-function):
8103 New functions.
8104 (octave-mode, inferior-octave-mode): Add eldoc support.
8105
8106 2013-05-11 Richard Stallman <rms@gnu.org>
8107
8108 * epa.el (epa-decrypt-file): Take output file name as argument
8109 and read it using `interactive'.
8110
8111 2013-05-11 Leo Liu <sdl.web@gmail.com>
8112
8113 * progmodes/octave.el (octave-beginning-of-line)
8114 (octave-end-of-line): Check before using up-list because it jumps
8115 out of more syntactic contructs since moving to smie.
8116 (octave-indent-comment): New function.
8117 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8118 (octave-begin-keywords, octave-end-keywords)
8119 (octave-reserved-words, octave-smie-bnf-table)
8120 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8121
8122 2013-05-11 Glenn Morris <rgm@gnu.org>
8123
8124 * faces.el (internal-face-x-get-resource):
8125 * frame.el (ns-display-monitor-attributes-list):
8126 * calc/calc-aent.el (math-to-radians-2):
8127 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8128 Fix declarations.
8129
8130 * calc/calc-menu.el: Make it loadable in isolation.
8131
8132 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8133 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8134 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8135 (eudc-bbdb-query-internal): Require 'bbdb.
8136
8137 * lpr.el (lpr-headers-switches):
8138 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8139
8140 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8141
8142 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8143
8144 * term.el (term-set-escape-char): Make it idempotent.
8145
8146 2013-05-10 Leo Liu <sdl.web@gmail.com>
8147
8148 * progmodes/octave.el (inferior-octave-completion-table):
8149 No longer a function and all uses changed. Use cache to speed up
8150 completion due to bug#11906.
8151 (octave-beginning-of-defun): Re-write to be more general.
8152
8153 2013-05-10 Glenn Morris <rgm@gnu.org>
8154
8155 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8156
8157 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * comint.el (comint-redirect-send-command-to-process): Use :around
8160 rather than :override for comint-redirect-filter.
8161 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8162 Call it instead of comint-redirect-original-filter-function (which
8163 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8164
8165 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8166
8167 * frame.el (display-monitor-attributes-list): Add NS case.
8168 (ns-display-monitor-attributes-list): Declare.
8169
8170 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8171
8172 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8173
8174 2013-05-09 Glenn Morris <rgm@gnu.org>
8175
8176 * international/fontset.el (vertical-centering-font-regexp):
8177 Set standard-value.
8178
8179 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8180
8181 * bookmark.el (bookmark-search-delay):
8182 * cus-start.el (vertical-centering-font-regexp):
8183 * ps-mule.el (ps-mule-font-info-database-default):
8184 * ps-print.el (ps-default-fg, ps-default-bg):
8185 * type-break.el (type-break-good-break-interval):
8186 * whitespace.el (whitespace-indentation-regexp)
8187 (whitespace-space-after-tab-regexp):
8188 * emacs-lisp/testcover.el (testcover-1value-functions)
8189 (testcover-noreturn-functions, testcover-progn-functions)
8190 (testcover-prog1-functions):
8191 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8192 * eshell/em-glob.el (eshell-glob-translate-alist):
8193 * play/tetris.el (tetris-tty-colors):
8194 * progmodes/cpp.el (cpp-face-default-list):
8195 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8196 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8197 (idlwave-help-browser-generic-args):
8198 * progmodes/make-mode.el (makefile-special-targets-list):
8199 * progmodes/python.el (python-shell-virtualenv-path):
8200 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8201 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8202 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8203 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8204 * textmodes/reftex-vars.el (reftex-format-label-function):
8205 * textmodes/remember.el (remember-diary-file): Fix custom types.
8206
8207 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8208 Add :version.
8209
8210 2013-05-09 Leo Liu <sdl.web@gmail.com>
8211
8212 * progmodes/octave.el (inferior-octave-completion-at-point):
8213 Restore file completion. (Bug#14300)
8214 (inferior-octave-startup): Fix incorrect highlighting for the
8215 first prompt.
8216
8217 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * progmodes/ruby-mode.el: First cut at SMIE support.
8220 (ruby-use-smie): New var.
8221 (ruby-smie-grammar): New constant.
8222 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8223 (ruby-smie--forward-token, ruby-smie--backward-token)
8224 (ruby-smie-rules): New functions.
8225 (ruby-mode-variables): Setup SMIE if applicable.
8226
8227 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8228
8229 * simple.el (line-move-visual): Signal beginning/end of buffer
8230 only if vertical-motion moved less than it was requested. Avoids
8231 silly incorrect error messages when there are display strings with
8232 multiple newlines at EOL.
8233
8234 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8237 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8238 (prolog-char-quote-workaround):
8239 * progmodes/cperl-mode.el (cperl-under-as-char):
8240 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8241 Mark as obsolete.
8242 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8243 their declaration.
8244 (vhdl-mode-syntax-table-init): Remove.
8245
8246 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8247 last change.
8248
8249 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8250 syntax for "_".
8251 (ld-script-font-lock-keywords):
8252 Change regexps to use things like \_< and \_>.
8253
8254 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8255 Change all regexps to use things like \_< and \_>.
8256
8257 * progmodes/autoconf.el (autoconf-definition-regexp)
8258 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8259 Handle a _ with symbol syntax.
8260 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8261
8262 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8263 Consolidate declaration.
8264 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8265 the declaration.
8266 (ada-create-syntax-table): Remove.
8267 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8268 already has the right syntax nowadays.
8269 (ada-goto-next-word): Don't change the syntax of "_".
8270
8271 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8272 with-wrapper-hook.
8273
8274 2013-05-08 Sam Steingold <sds@gnu.org>
8275
8276 * thingatpt.el (thing-at-point): Accept optional second argument
8277 NO-PROPERTIES to strip the text properties from the return value.
8278 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8279 to `thing-at-point' instead of stripping the properties ourselves.
8280 Also, when `thing-at-point' fails to find a url, prepend "http://"
8281 to the filename at point on the assumption that the user is
8282 pointing at something like gnu.org/gnu.
8283
8284 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8285
8286 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8287 * faces.el (crm-separator):
8288 Silence byte-compiler.
8289
8290 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8291 (tool-bar-map): Remove unneeded defvars.
8292
8293 2013-05-08 Leo Liu <sdl.web@gmail.com>
8294
8295 Re-work a fix for bug#10994 based on Le Wang's patch.
8296 * ido.el (ido-remove-consecutive-dups): New helper.
8297 (ido-completing-read): Use it.
8298 (ido-chop): Revert fix for bug#10994.
8299
8300 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8301
8302 * cus-edit.el (custom-save-variables):
8303 Pretty-print long values. (Bug#14187)
8304
8305 2013-05-08 Glenn Morris <rgm@gnu.org>
8306
8307 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8308 (m4-mode-syntax-table): Init in the defvar.
8309 (m4-mode-abbrev-table): Let define-derived-mode define it.
8310
8311 2013-05-08 Tom Tromey <tromey@redhat.com>
8312
8313 * progmodes/m4-mode.el (m4-mode-syntax-table):
8314 Do not treat "_" as word constituent. (Bug#14167)
8315
8316 2013-05-07 Glenn Morris <rgm@gnu.org>
8317
8318 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8319 Remove explicit eshell-isearch-cancel-map.
8320
8321 * progmodes/f90.el (f90-smart-end-names): New option.
8322 (f90-smart-end): Doc fix.
8323 (f90-end-block-optional-name): New constant.
8324 (f90-block-match): Respect f90-smart-end-names.
8325
8326 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8327
8328 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8329 about implicit semi-colons (bug#14218).
8330
8331 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8332
8333 * frame.el (display-monitor-attributes-list)
8334 (frame-monitor-attributes): New functions.
8335
8336 2013-05-06 Leo Liu <sdl.web@gmail.com>
8337
8338 * progmodes/octave.el (octave-syntax-propertize-function): Change
8339 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8340 (octave-font-lock-keywords): Use octave-operator-regexp.
8341 (octave-completion-at-point): Rename from
8342 octave-completion-at-point-function.
8343 (inferior-octave-directory-tracker): Robustify.
8344 (octave-text-functions): Remove and fix its uses. No such things
8345 any more.
8346
8347 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * emacs-lisp/trace.el (trace--display-buffer): New function.
8350 (trace-make-advice): Use it.
8351
8352 2013-05-06 Juri Linkov <juri@jurta.org>
8353
8354 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8355 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8356 Doc fix.
8357 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8358 in the help string. (Bug#12985)
8359
8360 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8361
8362 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8363
8364 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8365
8366 * progmodes/perl-mode.el: Add support for here documents.
8367 (perl-syntax-propertize-function): Match here-doc markers.
8368 (perl-syntax-propertize-special-constructs): Find their end.
8369 (perl-imenu-generic-expression): Use [:alnum:].
8370
8371 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8372 (advice--add-function): Refresh the advice if already present
8373 (bug#14317).
8374
8375 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8376
8377 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8378
8379 2013-05-06 Glenn Morris <rgm@gnu.org>
8380
8381 * w32-fns.el (w32-charset-info-alist): Declare.
8382
8383 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8384 of its defcustom properties.
8385 (eshell-cmpl-initialize): No need to load pcomplete.
8386
8387 * generic-x.el: No need to require comint when compiling.
8388
8389 * net/eudc-export.el: Make it loadable without bbdb.
8390 (top-level): Use require rather than load-library.
8391 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8392 (eudc-batch-export-records-to-bbdb)
8393 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8394 Require bbdb.
8395
8396 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8399 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8400 some tweaks, instead.
8401
8402 2013-05-05 Leo Liu <sdl.web@gmail.com>
8403
8404 * progmodes/octave.el (octave-font-lock-keywords)
8405 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8406 (inferior-octave-send-list-and-digest): Improve error message.
8407 (octave-mode, inferior-octave-mode): Use setq-local.
8408 (octave-help): Set info-lookup-mode.
8409
8410 2013-05-05 Richard Stallman <rms@gnu.org>
8411
8412 * vc/compare-w.el (compare-windows-whitespace):
8413 Treat no-break space as whitespace.
8414
8415 * mail/rmailsum.el (rmail-summary-rmail-update):
8416 Detect empty summary and don't change selected message.
8417 (rmail-summary-goto-msg): Likewise.
8418
8419 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8420 Doc fixes, rename args.
8421
8422 2013-05-05 Alan Mackenzie <acm@muc.de>
8423
8424 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8425
8426 2013-05-05 Juri Linkov <juri@jurta.org>
8427
8428 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8429 to not add the length of the summary segment to the return value.
8430 (Bug#14125)
8431
8432 2013-05-05 Leo Liu <sdl.web@gmail.com>
8433
8434 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8435 (inferior-octave-output-filter): Remove.
8436 (octave-send-region, inferior-octave-startup): Fix callers.
8437 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8438 (octave-binary-file-extensions): New user variable.
8439 (octave-find-definition): Confirm if opening binary files.
8440 (octave-help-file): Use octave-find-definition to get the binary
8441 confirmation.
8442 (octave-help): Adjust for octave-help-file change.
8443
8444 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8447 Merge the two entries that handle function definitions.
8448 (pascal--syntax-propertize): New const.
8449 (pascal-mode): Use it. Use setq-local.
8450
8451 2013-05-04 Glenn Morris <rgm@gnu.org>
8452
8453 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8454 (diary-from-outlook): Respect diary-from-outlook-function.
8455
8456 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8459 Move the declaration from C.
8460 (read-minibuffer, eval-minibuffer): Move from C.
8461 (completion-setup-function): Avoid minibuffer-completion-contents.
8462
8463 2013-05-03 Leo Liu <sdl.web@gmail.com>
8464
8465 * progmodes/octave.el (octave-font-lock-keywords): Do not
8466 dehighlight 'end' in comments or strings.
8467 (octave-completing-read, octave-goto-function-definition):
8468 New helpers.
8469 (octave-help-buffer): New user variable.
8470 (octave-help-file, octave-help-function): New button types.
8471 (octave-help): New command and bind it to C-h ;.
8472 (octave-find-definition): New command and bind it to M-.
8473 (user-error): Alias to error if not defined.
8474
8475 2013-05-02 Leo Liu <sdl.web@gmail.com>
8476
8477 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8478 for \. (bug#14332)
8479 (octave-font-lock-keywords): Include [ and {.
8480
8481 2013-05-02 Leo Liu <sdl.web@gmail.com>
8482
8483 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8484 (inferior-octave): Remove calling comint-mode and return the buffer.
8485 (inferior-octave-startup): Cosmetic changes.
8486
8487 2013-05-02 Leo Liu <sdl.web@gmail.com>
8488
8489 * progmodes/octave.el (octave-syntax-propertize-function):
8490 Include the case when ' is at line beginning. (Bug#14336)
8491
8492 2013-05-02 Glenn Morris <rgm@gnu.org>
8493
8494 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8495 * desktop.el (vc-dir-mode): Just autoload it here.
8496
8497 2013-05-02 Alan Mackenzie <acm@muc.de>
8498
8499 Eliminate variable c-standard-font-lock-fontify-region-function.
8500 * progmodes/cc-mode.el
8501 (c-standard-font-lock-fontify-region-function): Remove.
8502 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8503
8504 2013-05-01 Leo Liu <sdl.web@gmail.com>
8505
8506 * progmodes/octave.el: Compatible with older emacs-24 releases.
8507 (inferior-octave-has-built-in-variables): Remove. Built-in
8508 variables were removed from Octave in 2007.
8509 (inferior-octave-startup): Fix uses.
8510 (comint-line-beginning-position): Remove compatibility code for
8511 emacs 21.
8512
8513 2013-05-01 Juri Linkov <juri@jurta.org>
8514
8515 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8516
8517 2013-05-01 Juri Linkov <juri@jurta.org>
8518
8519 * comint.el (comint-previous-matching-input): Don't print message
8520 "History item: %d" when `isearch-mode' is active.
8521 (comint-history-isearch-message): Print message "History item: %d"
8522 when `comint-input-ring-index' is not empty and this function is
8523 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8524
8525 2013-05-01 Leo Liu <sdl.web@gmail.com>
8526
8527 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8528 definitions. Use completion-at-point to insert keywords.
8529 (octave-abbrev-start): Remove.
8530 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8531
8532 2013-04-30 Leo Liu <sdl.web@gmail.com>
8533
8534 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8535 change.
8536
8537 2013-04-30 Alan Mackenzie <acm@muc.de>
8538
8539 Handle arbitrarily long C++ member initialisation lists.
8540 * progmodes/cc-engine.el (c-back-over-member-initializers):
8541 new function.
8542 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8543 (most) member init lists.
8544
8545 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8546
8547 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8548 variable.
8549
8550 2013-04-30 Leo Liu <sdl.web@gmail.com>
8551
8552 * progmodes/octave.el (octave-variables): Remove. No builtin
8553 variables any more. All converted to functions.
8554 (octave-font-lock-keywords, octave-completion-at-point-function):
8555 Fix uses.
8556 (octave-font-lock-texinfo-comment): New user variable.
8557 (octave-texinfo-font-lock-keywords): New variable for texinfo
8558 comment block.
8559 (octave-function-comment-block): New face.
8560 (octave-font-lock-texinfo-comment): New function.
8561 (octave-mode): Font lock texinfo comment block.
8562
8563 2013-04-29 Leo Liu <sdl.web@gmail.com>
8564
8565 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8566 indexing expression.
8567 (octave-continuation-string): Do not use \.
8568 (inferior-octave-complete-impossible): Remove.
8569 (inferior-octave-completion-table)
8570 (inferior-octave-completion-at-point): Remove its uses.
8571 (inferior-octave-startup): completion_matches was introduced to
8572 Octave in 1996 so safe to assume it.
8573 (octave-function-file-comment): Improve to follow how Octave does it.
8574 (octave-update-function-file-comment): Tweak.
8575
8576 2013-04-29 Leo Liu <sdl.web@gmail.com>
8577
8578 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8579 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8580 (octave-function-file-comment): Fix typo.
8581 (octave-sync-function-file-names): Use read-char-choice.
8582
8583 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8584
8585 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8586 to t for the less important warnings.
8587
8588 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8589
8590 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8591
8592 2013-04-27 Glenn Morris <rgm@gnu.org>
8593
8594 * vc/log-view.el (log-view-current-entry):
8595 Treat "---" separator lines as part of the following rev. (Bug#14169)
8596
8597 2013-04-27 Juri Linkov <juri@jurta.org>
8598
8599 * subr.el (read-number): Doc fix about using it by interactive
8600 code letter `n'. (Bug#14254)
8601
8602 2013-04-27 Juri Linkov <juri@jurta.org>
8603
8604 * desktop.el (desktop-auto-save-timeout): New option.
8605 (desktop-file-checksum): New variable.
8606 (desktop-save): Add optional arg `auto-save' and don't auto-save
8607 if nothing changed.
8608 (desktop-auto-save-timer): New variable.
8609 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8610 (after-init-hook): Call `desktop-auto-save-set-timer'.
8611 Suggested by Reuben Thomas <rrt@sc3d.org> in
8612 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8613
8614 2013-04-27 Leo Liu <sdl.web@gmail.com>
8615
8616 * progmodes/octave.el (octave-function-file-p)
8617 (octave-skip-comment-forward, octave-function-file-comment)
8618 (octave-update-function-file-comment): New functions.
8619 (octave-mode-map): Bind C-c ; to
8620 octave-update-function-file-comment.
8621 (octave-mode-menu): Add octave-update-function-file-comment.
8622 (octave-mode, inferior-octave-mode): Fix doc-string.
8623 (octave-insert-defun): Conform to Octave's coding convention.
8624 (Bug#14285)
8625
8626 * files.el (basic-save-buffer): Don't let errors in
8627 before-save-hook prevent saving buffer.
8628
8629 2013-04-20 Roland Winkler <winkler@gnu.org>
8630
8631 * faces.el (read-face-name): Use completing-read if arg multiple
8632 is nil.
8633
8634 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8635
8636 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8637 displayed, move point to after the totals line.
8638 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8639 for the details.
8640
8641 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8642
8643 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8644 Add current dir to the load-path.
8645 (package-generate-autoloads): Don't rely on
8646 autoload-ensure-default-file.
8647
8648 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8649
8650 * textmodes/remember.el (remember-store-in-files): Document that
8651 the file name format is passed to `format-time-string'.
8652
8653 2013-04-26 Leo Liu <sdl.web@gmail.com>
8654
8655 * progmodes/octave.el (octave-sync-function-file-names): New function.
8656 (octave-mode): Use it in before-save-hook.
8657
8658 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8659
8660 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8661 (bug#14274).
8662
8663 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8664 \n and comment, even if it's not an implicit ; (bug#14218).
8665
8666 2013-04-26 Glenn Morris <rgm@gnu.org>
8667
8668 * subr.el (read-number): Once more use `read' rather than
8669 `string-to-number', to trap non-numeric input. (Bug#14254)
8670
8671 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8672
8673 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8674 Use `syntax-multiline' text property consistently instead of
8675 `font-lock-multiline'. (Bug#14237)
8676
8677 2013-04-26 Glenn Morris <rgm@gnu.org>
8678
8679 * emacs-lisp/shadow.el (list-load-path-shadows):
8680 No longer necessary to check for duplicate simple.el, since
8681 2012-07-07 change to init_lread to not include installation lisp
8682 directories in load-path when running uninstalled. (Bug#14270)
8683
8684 2013-04-26 Leo Liu <sdl.web@gmail.com>
8685
8686 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8687 (octave-mode, inferior-octave-mode): Use setq-local.
8688 (octave-not-in-string-or-comment-p): Rename to
8689 octave-in-string-or-comment-p.
8690 (octave-in-comment-p, octave-in-string-p)
8691 (octave-in-string-or-comment-p): Replace defsubst with defun.
8692
8693 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8694
8695 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8696
8697 2013-04-25 Bastien Guerry <bzg@gnu.org>
8698
8699 * textmodes/remember.el (remember-data-directory)
8700 (remember-directory-file-name-format): Fix custom types.
8701
8702 2013-04-25 Leo Liu <sdl.web@gmail.com>
8703
8704 * progmodes/octave.el (octave-completion-at-point-function):
8705 Make use of inferior octave process.
8706 (octave-initialize-completions): Remove.
8707 (inferior-octave-completion-table): New function.
8708 (inferior-octave-completion-at-point): Use it.
8709 (octave-completion-alist): Remove.
8710
8711 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8712
8713 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8714 (opascal-mode-syntax-table): New var.
8715 (opascal-literal-kind, opascal-is-literal-end)
8716 (opascal-literal-token-at): Rewrite.
8717 (opascal--literal-start-re, opascal-font-lock-keywords)
8718 (opascal--syntax-propertize): New constants.
8719 (opascal-font-lock-defaults): Adjust.
8720 (opascal-mode): Use them. Set comment-<foo> variables as well.
8721 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8722 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8723 (delphi-other-face, opascal-other-face): Remove face variables.
8724 (opascal-save-state): Remove macro.
8725 (opascal-fontifying-progress-step): Remove constant.
8726 (opascal--ignore-changes): Remove var.
8727 (opascal-set-token-property, opascal-parse-next-literal)
8728 (opascal-is-stable-literal, opascal-complete-literal)
8729 (opascal-is-literal-start, opascal-face-of)
8730 (opascal-parse-region, opascal-parse-region-until-stable)
8731 (opascal-fontify-region, opascal-after-change)
8732 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8733 (opascal-debug-parse-region, opascal-debug-parse-window)
8734 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8735 (opascal-debug-fontify-buffer): Remove.
8736 (opascal-debug-mode-map): Adjust accordingly.
8737
8738 2013-04-25 Leo Liu <sdl.web@gmail.com>
8739
8740 Merge octave-mod.el and octave-inf.el into octave.el with some
8741 cleanups.
8742 * progmodes/octave.el: New file renamed from octave-mod.el.
8743 * progmodes/octave-inf.el: Merged into octave.el.
8744 * progmodes/octave-mod.el: Renamed to octave.el.
8745
8746 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8747
8748 * textmodes/reftex-vars.el
8749 (reftex-label-ignored-macros-and-environments): New defcustom.
8750
8751 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8752
8753 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8754
8755 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8756 (smie-indent-keyword): Improve the check to ensure that the next
8757 comment is really on the same line.
8758 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8759
8760 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8761 semi-colons if the line is not otherwise empty (bug#14218).
8762
8763 2013-04-25 Glenn Morris <rgm@gnu.org>
8764
8765 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8766
8767 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * progmodes/opascal.el (opascal-set-token-property): Rename from
8770 opascal-set-text-properties and only set `token' (bug#14134).
8771 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8772 (opascal-literal-text-properties): Remove.
8773 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8774 Adjust callers.
8775
8776 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8777
8778 * textmodes/remember.el (remember-handler-functions): Add an
8779 option for a new handler `remember-store-in-files'.
8780 (remember-data-directory, remember-directory-file-name-format):
8781 New options.
8782 (remember-store-in-files): New function to store remember notes
8783 as separate files within a directory.
8784
8785 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8786
8787 * progmodes/compile.el (compilation-next-error-function):
8788 Pass "formats" to compilation-find-file (bug#11777).
8789
8790 2013-04-24 Glenn Morris <rgm@gnu.org>
8791
8792 * vc/vc-bzr.el (vc-bzr-print-log):
8793 * vc/vc-hg.el (vc-hg-print-log):
8794 * vc/vc-svn.el (vc-svn-print-log):
8795 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8796
8797 * vc/vc-bzr.el (vc-bzr-print-log):
8798 * vc/vc-cvs.el (vc-cvs-print-log):
8799 * vc/vc-git.el (vc-git-print-log):
8800 * vc/vc-hg.el (vc-hg-print-log):
8801 * vc/vc-mtn.el (vc-mtn-print-log):
8802 * vc/vc-rcs.el (vc-rcs-print-log):
8803 * vc/vc-sccs.el (vc-sccs-print-log):
8804 * vc/vc-svn.el (vc-svn-print-log):
8805 * vc/vc.el (vc-print-log-internal): Doc fixes.
8806
8807 2013-04-23 Glenn Morris <rgm@gnu.org>
8808
8809 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8810 Remove venerable code attempting to avoid substitute-command-keys.
8811
8812 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8813
8814 * textmodes/reftex-vars.el (reftex-label-regexps):
8815 Call `reftex-compile-variables' after changes to this variable.
8816
8817 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8820 Use lexical-binding.
8821 (jit-lock-force-redisplay): Use markers, check buffer's continued
8822 existence and beware narrowed buffers.
8823 (jit-lock-fontify-now): Adjust call accordingly.
8824
8825 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8828 to avoid misleading the user.
8829
8830 2013-04-22 Leo Liu <sdl.web@gmail.com>
8831
8832 * info-look.el: Prefer latex2e.info. (Bug#14240)
8833
8834 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8835
8836 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8837
8838 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8839 * net/tramp.el (tramp-call-process): ... here.
8840 (tramp-set-completion-function, tramp-parse-putty):
8841 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8842 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8843 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8844 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8845 (tramp-call-local-coding-command): Use `tramp-call-process'
8846 instead of `tramp-compat-call-process'.
8847
8848 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8849 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8850 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8851 (tramp-find-inline-compress): Improve traces.
8852 (tramp-maybe-send-script): Check for Perl binary.
8853 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8854
8855 2013-04-22 Daiki Ueno <ueno@gnu.org>
8856
8857 * epg.el (epg-context-pinentry-mode): New function.
8858 (epg-context-set-pinentry-mode): New function.
8859 (epg--start): Pass --pinentry-mode option to gpg command.
8860
8861 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8862
8863 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8864 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8865 `completion-at-point'. (Bug#13774)
8866
8867 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8868 default key binding for `describe-distribution' has been moved to
8869 `C-h C-o'. (Bug#13970)
8870
8871 2013-04-21 Glenn Morris <rgm@gnu.org>
8872
8873 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8874 Add doc strings.
8875 (vc-print-log): Clarify interactive prompt.
8876
8877 2013-04-20 Glenn Morris <rgm@gnu.org>
8878
8879 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8880 No longer include timestamp etc information.
8881
8882 2013-04-20 Roland Winkler <winkler@gnu.org>
8883
8884 * faces.el (read-face-name): Bug fix, return just one face if arg
8885 multiple is nil. (Bug#14209)
8886
8887 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8888
8889 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8890 (remove-function): Autoload.
8891
8892 * comint.el (comint-redirect-original-filter-function): Remove.
8893 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8894 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8895 (vc-cvs-annotate-command):
8896 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8897 * progmodes/prolog.el (prolog-consult-compile):
8898 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8899 Use add/remove-function instead.
8900 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8901 (gud-tooltip-process-output, gud-tooltip-tips):
8902 Use add/remove-function instead.
8903 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8904 (scheme-interaction-mode, exit-scheme-interaction-mode):
8905 Use add/remove-function instead.
8906
8907 * vc/vc-dispatcher.el: Use lexical-binding.
8908 (vc--process-sentinel): Rename from vc-process-sentinel.
8909 Change last arg to be the code to run. Don't use vc-previous-sentinel
8910 and vc-sentinel-commands any more.
8911 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8912 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8913
8914 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8915
8916 * progmodes/sh-script.el (sh-imenu-generic-expression):
8917 Handle function names with a single character. (Bug#14111)
8918
8919 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8920
8921 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8922 for subroutines defined in an eval (bug#14182).
8923
8924 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8925
8926 * bookmark.el (bookmark-completing-read): Improve handling of empty
8927 string (bug#14176).
8928
8929 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8932
8933 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8934
8935 New faster Imenu implementation (bug#14058).
8936 * progmodes/python.el:
8937 (python-imenu-prev-index-position):
8938 (python-imenu-format-item-label-function)
8939 (python-imenu-format-parent-item-label-function)
8940 (python-imenu-format-parent-item-jump-label-function):
8941 New vars.
8942 (python-imenu-format-item-label)
8943 (python-imenu-format-parent-item-label)
8944 (python-imenu-format-parent-item-jump-label)
8945 (python-imenu--put-parent, python-imenu--build-tree)
8946 (python-imenu-create-index, python-imenu-create-flat-index)
8947 (python-util-popn): New functions.
8948 (python-mode): Set imenu-create-index-function to
8949 python-imenu-create-index.
8950
8951 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * winner.el (winner-active-region): Use region-active-p, activate-mark
8954 and deactivate-mark (bug#14225).
8955
8956 * simple.el (deactivate-mark): Don't inline it.
8957
8958 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8959
8960 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8961
8962 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8963
8964 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8965 file extensions from the archive-mode entry in order to prefer
8966 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8967
8968 2013-04-18 Leo Liu <sdl.web@gmail.com>
8969
8970 * bindings.el (help-event-list): Add ?\?.
8971
8972 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * subr.el (with-wrapper-hook): Declare obsolete.
8975 * simple.el (filter-buffer-substring-function): New hook.
8976 (filter-buffer-substring): Use it.
8977 (filter-buffer-substring-functions): Mark obsolete.
8978 * minibuffer.el (completion-in-region-function): New hook.
8979 (completion-in-region): Use it.
8980 (completion-in-region-functions): Mark obsolete.
8981 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8982 * abbrev.el (abbrev-expand-function): New hook.
8983 (expand-abbrev): Use it.
8984 (abbrev-expand-functions): Mark obsolete.
8985 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8986 and :filter-return.
8987
8988 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8989
8990 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8991 and do not care about match data.
8992
8993 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8994
8995 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8996 completion tables when completing error conditions and
8997 `declare' arguments.
8998 (lisp-complete-symbol, field-complete): Mark as obsolete.
8999 (check-parens): Unmatched parens are user errors.
9000 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9001
9002 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9003
9004 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9005 command changed buffer (ie. `flyspell-pre-buffer' is not current
9006 buffer), which prevents making decisions based on invalid value of
9007 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9008 cause an error when `flyspell-pre-point' was nil after switching
9009 buffers.
9010 (flyspell-post-command-hook): No longer needs to change buffers when
9011 checking pre-word. While at it remove unnecessary progn.
9012
9013 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9014
9015 * textmodes/ispell.el (ispell-add-per-file-word-list):
9016 Fix `flyspell-correct-word-before-point' error when accepting
9017 words and `coment-padding' is an integer by using
9018 `comment-normalize-vars' (Bug #14214).
9019
9020 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9021
9022 New defun movement commands.
9023 * progmodes/python.el (python-nav--syntactically)
9024 (python-nav--forward-defun, python-nav-backward-defun)
9025 (python-nav-forward-defun): New functions.
9026
9027 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9028
9029 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9030 (python-syntax-context): Use named compiler-macro for backwards
9031 compatibility with Emacs 24.x.
9032
9033 2013-04-17 Leo Liu <sdl.web@gmail.com>
9034
9035 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9036 octave-hide-process-buffer.
9037
9038 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9041 (bug#14216).
9042
9043 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9044
9045 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9046 Fix adjustment of offset when receiving incomplete responses from GDB
9047 (bug#14129).
9048
9049 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9050
9051 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9052 python-mode-abbrev-table.
9053 (python-skeleton-define): Adjust accordingly.
9054 (python-mode-abbrev-table): New table that inherits from it so that
9055 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9056
9057 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9058 (abbrev-symbol): Use it.
9059 (abbrev--before-point): Use it since we already handle inheritance.
9060
9061 2013-04-16 Leo Liu <sdl.web@gmail.com>
9062
9063 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9064 binding to info-lookup-symbol.
9065
9066 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9067
9068 * minibuffer.el (completion--twq-all):
9069 * term/ns-win.el (ns-initialize-window-system):
9070 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9071
9072 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9075 global bindings.
9076
9077 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9078
9079 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9080
9081 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9082 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9083 to nil.
9084 (ruby-end-of-defun): Remove the unused arg, change the docstring
9085 to reflect that this function is only used as the value of
9086 `end-of-defun-function'.
9087 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9088 to reflect an earlier change that beginning/end-of-defun functions
9089 jump between methods in a class definition, as well as top-level
9090 functions.
9091
9092 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * minibuffer.el (minibuffer-complete): Don't just scroll
9095 a *Completions* that's been iconified.
9096 (minibuffer-force-complete): Make sure repetitions do cycle when going
9097 through completion-in-region -> minibuffer-complete.
9098
9099 2013-04-15 Alan Mackenzie <acm@muc.de>
9100
9101 Correct the placement of c-cpp-delimiters when there're #s not at
9102 col 0.
9103
9104 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9105 place a submatch around the #.
9106 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9107 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9108 on the #, not BOL.
9109
9110 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9113 (advice--member-p): New arg `name'.
9114 (advice--add-function, advice-member-p): Use it (bug#14202).
9115
9116 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9117
9118 Reformulate java imenu-generic-expression.
9119 The old expression contained ill formed regexps.
9120
9121 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9122 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9123 (cc-imenu-java-method-arg-regexp): New defconsts.
9124 (cc-imenu-java-build-type-args-regex): New defun.
9125 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9126 handling of spaces in the regexp.
9127
9128 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9129
9130 * textmodes/ispell.el (ispell-command-loop): Remove
9131 flyspell highlight of a word when ispell accepts it (bug #14178).
9132
9133 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9134
9135 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9136 uses code from the previous `ange-ftp-run-real-handler'.
9137 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9138 only in case that function exist. This is needed for proper
9139 unloading of Tramp.
9140
9141 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9142
9143 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9144
9145 * textmodes/reftex.el (reftex-compile-variables): Use it.
9146
9147 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9148
9149 * files.el (normal-mode): Only use default major-mode if no other mode
9150 was specified.
9151
9152 * emacs-lisp/trace.el (trace-values): New function.
9153
9154 * files.el: Allow : in local variables (bug#14089).
9155 (hack-local-variable-regexp): New var.
9156 (hack-local-variables-prop-line, hack-local-variables): Use it.
9157
9158 2013-04-13 Roland Winkler <winkler@gnu.org>
9159
9160 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9161 data before it gets modified by bibtex-beginning-of-entry.
9162
9163 2013-04-13 Roland Winkler <winkler@gnu.org>
9164
9165 * textmodes/bibtex.el (bibtex-url): Doc fix.
9166
9167 2013-04-13 Roland Winkler <winkler@gnu.org>
9168
9169 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9170 does not visit a BibTeX file, exclude it from the list of buffers
9171 returned by bibtex-initialize.
9172
9173 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9174
9175 * window.el (split-window): Remove interactive form, since as a
9176 command this function is a special case of split-window-below.
9177 Correct doc string.
9178
9179 2013-04-12 Roland Winkler <winkler@gnu.org>
9180
9181 * faces.el (read-face-name): Do not override value of arg default.
9182 Allow single faces and strings as default values. Remove those
9183 elements from return value that are not faces.
9184 (describe-face): Simplify.
9185 (face-at-point): New optional args thing and multiple so that this
9186 function can provide the same functionality previously provided by
9187 read-face-name.
9188 (make-face-bold, make-face-unbold, make-face-italic)
9189 (make-face-unitalic, make-face-bold-italic, invert-face)
9190 (modify-face, read-face-and-attribute): Use face-at-point.
9191
9192 * cus-edit.el (customize-face, customize-face-other-window)
9193 * cus-theme.el (custom-theme-add-face)
9194 * face-remap.el (buffer-face-set)
9195 * facemenu.el (facemenu-set-face): Use face-at-point.
9196
9197 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9198
9199 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9200
9201 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9202
9203 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9204 off leading { and trailing } from field values.
9205
9206 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * emacs-lisp/timer.el (timer--check): New function.
9209 (timer--time, timer-set-function, timer-event-handler): Use it.
9210 (timer-set-idle-time): Simplify.
9211 (timer--activate): CSE.
9212 (timer-event-handler): Give more info in error message.
9213 (internal-timer-start-idle): New function, moved from C.
9214
9215 * mpc.el (mpc-proc): Add `restart' argument.
9216 (mpc-proc-cmd): Use it.
9217 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9218 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9219 less often.
9220
9221 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9222
9223 * progmodes/sh-script.el: Implement `sh-mode' own
9224 `add-log-current-defun-function' (bug#14112).
9225 (sh-current-defun-name): New function.
9226 (sh-mode): Use the function.
9227
9228 2013-04-09 Bastien Guerry <bzg@gnu.org>
9229
9230 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9231
9232 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9235
9236 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9237 timer (bug#14156).
9238
9239 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9240
9241 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9242 declaration.
9243
9244 2013-04-07 Leo Liu <sdl.web@gmail.com>
9245
9246 * pcmpl-x.el: New file.
9247
9248 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9249
9250 Do not set x-display-name until X connection is established.
9251 This is needed to prevent from weird situation described at
9252 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9253 * frame.el (make-frame): Set x-display-name after call to
9254 window system initialization function, not before.
9255 * term/x-win.el (x-initialize-window-system): Add optional
9256 display argument and use it.
9257 * term/w32-win.el (w32-initialize-window-system):
9258 * term/ns-win.el (ns-initialize-window-system):
9259 * term/pc-win.el (msdos-initialize-window-system):
9260 Add compatible optional display argument.
9261
9262 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9263
9264 * files.el (normal-backup-enable-predicate): On MS-Windows and
9265 MS-DOS compare truenames of temporary-file-directory and of the
9266 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9267 don't fail comparison by compare-strings. Also, compare file
9268 names case-insensitively on MS-Windows and MS-DOS.
9269
9270 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9271
9272 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9273 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9274
9275 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9276
9277 * whitespace.el (whitespace-color-on, whitespace-color-off):
9278 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9279
9280 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9281
9282 * ispell.el (ispell-set-spellchecker-params):
9283 Really set `ispell-args' for all equivs.
9284
9285 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9286
9287 * ido.el (ido-completions): Use extra elements of ido-decorations
9288 (bug#14143).
9289 (ido-decorations): Update docstring.
9290
9291 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9292
9293 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9294 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9295 nil during initialization, in order not to miss changes since the
9296 file was opened. (Bug#14140)
9297
9298 2013-04-05 Leo Liu <sdl.web@gmail.com>
9299
9300 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9301
9302 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9303
9304 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9305
9306 2013-04-04 Glenn Morris <rgm@gnu.org>
9307
9308 * electric.el (electric-pair-inhibit-predicate): Add :version.
9309
9310 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9313 when a package is required several times (bug#14082).
9314
9315 2013-04-04 Roland Winkler <winkler@gnu.org>
9316
9317 * faces.el (read-face-name): Behave as promised by the docstring.
9318 Assume that arg default is a list of faces.
9319 (describe-face): Call read-face-name with list of default faces.
9320
9321 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9322
9323 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9324 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9325 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9326 the header.
9327 (bookmark-exit-hook-internal): Save even if list is empty.
9328
9329 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9330
9331 * emacs-lisp/package.el (package-pinned-packages): New var.
9332 (package--add-to-archive-contents): Obey it (bug#14118).
9333
9334 2013-04-03 Alan Mackenzie <acm@muc.de>
9335
9336 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9337 Also adapt to the new values of element 7 of a parse state.
9338
9339 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9340 parameter `not-in-delimiter'. Handle being inside comment opener.
9341 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9342 character in case we're typing a '*' after a '/'.
9343 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9344 instead by passing the parameter to c-state-pp-to-literal.
9345
9346 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9347 for elt. 7 of a parse state.
9348
9349 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9350
9351 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9352 * international/latin1-disp.el, international/mule-util.el:
9353 * language/cyril-util.el, language/european.el, language/ind-util.el:
9354 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9355 * language/tibetan.el, language/viet-util.el:
9356 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9357
9358 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9361 (electric-pair-post-self-insert-function): Use it.
9362 (electric-pair-default-inhibit): New function, extracted from
9363 electric-pair-post-self-insert-function.
9364
9365 2013-03-31 Roland Winkler <winkler@gnu.org>
9366
9367 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9368
9369 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9370
9371 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9372
9373 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9374
9375 Un-indent after "pass" and "return" statements (Bug#13888)
9376 * progmodes/python.el (python-indent-block-enders): New var.
9377 (python-indent-calculate-indentation): Use it.
9378
9379 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9380
9381 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9382 defun. Defining it as defalias could introduce too eager
9383 byte-compiler optimization. (Bug#14030)
9384
9385 2013-03-30 Chong Yidong <cyd@gnu.org>
9386
9387 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9388
9389 2013-03-30 Leo Liu <sdl.web@gmail.com>
9390
9391 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9392 (kmacro-execute-from-register): Pass the keyboard macro to
9393 kmacro-call-macro or repeating won't work correctly.
9394
9395 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9396
9397 * progmodes/subword.el: Back to using `forward-symbol'.
9398
9399 * subr.el (forward-whitespace, forward-symbol)
9400 (forward-same-syntax): Move from thingatpt.el.
9401
9402 2013-03-29 Leo Liu <sdl.web@gmail.com>
9403
9404 * kmacro.el (kmacro-to-register): New command.
9405 (kmacro-execute-from-register): New function.
9406 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9407
9408 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * mpc.el: Use defvar-local and setq-local.
9411 (mpc--proc-connect): Connection failures are not bugs.
9412 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9413 (mpc-volume-map): Bind to the up-events.
9414
9415 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9416
9417 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9418 instead of `forward-symbol'.
9419
9420 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9423 (edebug--recursive-edit): Use it.
9424 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9425 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9426
9427 2013-03-28 Leo Liu <sdl.web@gmail.com>
9428
9429 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9430
9431 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9432
9433 * facemenu.el (list-colors-callback): New defvar.
9434 (list-colors-redisplay): New function.
9435 (list-colors-display): Install list-colors-redisplay as the
9436 revert-buffer-function. (Bug#14063)
9437
9438 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9439
9440 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9441 and suffixes don't overlap (bug#14061).
9442
9443 * case-table.el: Use lexical-binding.
9444 (case-table-get-table): New function.
9445 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9446
9447 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9448
9449 * progmodes/subword.el: Add `superword-mode' to do word motion
9450 over symbol_words (parallels and leverages `subword-mode' which
9451 does word motion inside MixedCaseWords).
9452
9453 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9454
9455 * eshell/em-unix.el: Move su and sudo to...
9456 * eshell/em-tramp.el: ...Eshell tramp module.
9457
9458 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9461 Change return value to be a sexp. Delay `get-buffer' to after
9462 restoring the desktop (bug#13951).
9463
9464 2013-03-26 Leo Liu <sdl.web@gmail.com>
9465
9466 * register.el: Move semantic tag handling back to
9467 cedet/semantic/senator.el. (Bug#14052)
9468
9469 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9470
9471 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9472 into the prompt either (bug#13963).
9473
9474 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9477 part of "(error-foo)".
9478
9479 2013-03-24 Juri Linkov <juri@jurta.org>
9480
9481 * replace.el (list-matching-lines-prefix-face): New defcustom.
9482 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9483 `occur-engine' if `face-differs-from-default-p' returns t.
9484 (occur-engine): Add `,' inside backquote construct to evaluate
9485 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9486 Pass `prefix-face' to the functions `occur-context-lines' and
9487 `occur-engine-add-prefix'.
9488 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9489 `prefix-face' and propertize the prefix with `prefix-face'.
9490 (Bug#14017)
9491
9492 2013-03-24 Leo Liu <sdl.web@gmail.com>
9493
9494 * nxml/rng-valid.el (rng-validate-while-idle)
9495 (rng-validate-quick-while-idle): Guard against deleted buffer.
9496 (Bug#13999)
9497
9498 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9499 is the last entry in kill-buffer-hook.
9500
9501 * files.el (kill-buffer-hook): Doc fix.
9502
9503 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9504
9505 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9506 Make it safe-local.
9507
9508 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9509
9510 2013-03-23 Leo Liu <sdl.web@gmail.com>
9511
9512 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9513 Remove.
9514
9515 * nxml/rng-valid.el (rng-validate-mode)
9516 (rng-after-change-function, rng-do-some-validation):
9517 * nxml/rng-maint.el (rng-validate-buffer):
9518 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9519 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9520 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9521 (nxml-extend-after-change-region): Use with-silent-modifications.
9522
9523 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9524 timer-idle-list.
9525
9526 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9527 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9528 timer-idle-list. (Bug#13999)
9529
9530 2013-03-23 Juri Linkov <juri@jurta.org>
9531
9532 * info.el (info-index-match): New face.
9533 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9534 main pattern and add text properties with the new face to matches
9535 in index entries relative to the beginning of the index entry.
9536 (Bug#14015)
9537
9538 2013-03-21 Eric Ludlam <zappo@gnu.org>
9539
9540 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9541 Inhibit read only while inserting objects.
9542
9543 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9544
9545 * progmodes/cfengine.el: Update docs to mention
9546 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9547 symbol motion. Remove "_" from the word syntax.
9548
9549 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9550
9551 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9552 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9553
9554 2013-03-20 Juri Linkov <juri@jurta.org>
9555
9556 * info.el (Info-next-reference-or-link)
9557 (Info-prev-reference-or-link): New functions.
9558 (Info-next-reference, Info-prev-reference): Use them.
9559 (Info-try-follow-nearest-node): Handle footnote navigation.
9560 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9561
9562 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9565 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9566
9567 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9568
9569 Suppress unnecessary non-ASCII chatter during build process.
9570 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9571 (batch-skkdic-convert): Suppress most of the chatter.
9572 It's not needed so much now that machines are faster,
9573 and its non-ASCII component was confusing; see Dmitry Gutov in
9574 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9575
9576 2013-03-20 Leo Liu <sdl.web@gmail.com>
9577
9578 * ido.el (ido-chop): Fix bug#10994.
9579
9580 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9581
9582 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9583 Remove vars.
9584 (whitespace-color-on, whitespace-color-off):
9585 Use `font-lock-fontify-buffer' (Bug#13817).
9586
9587 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9588
9589 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9590 remapping in mode-line.
9591 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9592
9593 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9594
9595 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9596 value for `whitespace-line' face (Bug#13875).
9597 (whitespace-font-lock-keywords): Change description.
9598 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9599 the constructed keywords instead.
9600 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9601
9602 2013-03-19 Leo Liu <sdl.web@gmail.com>
9603
9604 * progmodes/compile.el (compilation-display-error): New command.
9605 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9606 C-o. (Bug#13992)
9607
9608 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9609
9610 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9611
9612 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9613
9614 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9615
9616 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9617
9618 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9619
9620 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9621 * net/tramp-gvfs.el (top):
9622 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9623 (tramp-handle-shell-command): Use it.
9624 (tramp-dissect-file-name): Raise an error when hostname is a
9625 method name, and neither method nor user is specified.
9626
9627 * net/trampver.el: Update release number.
9628
9629 2013-03-18 Leo Liu <sdl.web@gmail.com>
9630
9631 Make sure eldoc can be turned off properly.
9632 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9633 eldoc-mode.
9634 (eldoc-display-message-p): Revert last change.
9635 (eldoc-display-message-no-interference-p)
9636 (eldoc-print-current-symbol-info): Tweak.
9637
9638 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9639
9640 * doc-view.el (doc-view-new-window-function): Check the new window
9641 overlay's display property instead the char property of the
9642 buffer's first char. Use `with-selected-window' instead of
9643 `save-window-excursion' with `select-window'.
9644 (doc-view-document->bitmap): Check the current doc-view overlay's
9645 display property instead the char property of the buffer's first char.
9646
9647 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9648
9649 Automate the build of ja-dic.el (Bug#13984).
9650 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9651 from the input, rather than assume that it's been done for us by the
9652 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9653 the current date into a ja-dic.el comment, as that complicates
9654 regression testing.
9655
9656 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * whitespace.el: Fix double evaluation.
9659 (whitespace-space, whitespace-hspace, whitespace-tab)
9660 (whitespace-newline, whitespace-trailing, whitespace-line)
9661 (whitespace-space-before-tab, whitespace-indentation)
9662 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9663 obsolete defvars.
9664 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9665 (whitespace-color-on): Use a single font-lock-add-keywords call.
9666 Fix double-evaluation of face variables.
9667
9668 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9669
9670 * net/tramp-adb.el (tramp-adb-parse-device-names):
9671 Use `start-process' instead of `call-process'. Otherwise, the
9672 function might be blocked under MS Windows. (Bug#13299)
9673
9674 2013-03-17 Leo Liu <sdl.web@gmail.com>
9675
9676 Extend eldoc to display info in the mode-line. (Bug#13978)
9677 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9678 (eldoc-mode-line-string): New variable.
9679 (eldoc-minibuffer-message): New function.
9680 (eldoc-message-function): New variable.
9681 (eldoc-message): Use it.
9682 (eldoc-display-message-p)
9683 (eldoc-display-message-no-interference-p):
9684 Support eldoc-post-insert-mode.
9685
9686 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9687 (eval-expression): Run it.
9688
9689 2013-03-17 Roland Winkler <winkler@gnu.org>
9690
9691 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9692 strings in the list of return values.
9693
9694 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9695
9696 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9697 radix before checking for HMS forms.
9698
9699 2013-03-16 Leo Liu <sdl.web@gmail.com>
9700
9701 * progmodes/scheme.el: Add indentation and font-locking for λ.
9702 (Bug#13975)
9703
9704 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9707 token before point (bug#13942).
9708
9709 2013-03-16 Leo Liu <sdl.web@gmail.com>
9710
9711 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9712
9713 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9714
9715 * startup.el (command-line-normalize-file-name): Fix handling of
9716 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9717 <xfq.free@gmail.com> in
9718 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9719
9720 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9721
9722 Sync with Tramp 2.2.7.
9723
9724 * net/trampver.el: Update release number.
9725
9726 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9727
9728 * doc-view.el: Fix bug#13887.
9729 (doc-view-insert-image): Don't modify overlay associated to
9730 non-live windows, and implement horizontal centering of image in
9731 case it's smaller than the window.
9732 (doc-view-new-window-function): Force redisplay of new windows on
9733 doc-view buffers.
9734
9735 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9736
9737 * saveplace.el (save-place-alist-to-file): Don't sort
9738 `save-place-alist', just pretty-print it (bug#13882).
9739
9740 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9741
9742 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9743 Check whether `default-file-name-coding-system' is bound.
9744 It isn't in XEmacs.
9745
9746 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9749 backquotes for `obsolete' (bug#13929).
9750
9751 * international/mule.el (find-auto-coding): Include file name in
9752 obsolescence warning (bug#13922).
9753
9754 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9755
9756 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9757 for CFEngine 3-specific indentation.
9758 (cfengine3-indent-line): Use it. Fix up category regex.
9759 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9760
9761 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9762
9763 * type-break.el (type-break-file-name):
9764 * textmodes/remember.el (remember-data-file):
9765 * strokes.el (strokes-file):
9766 * shadowfile.el (shadow-initialize):
9767 * saveplace.el (save-place-file):
9768 * ps-bdf.el (bdf-cache-file):
9769 * progmodes/idlwave.el (idlwave-config-directory):
9770 * net/quickurl.el (quickurl-url-file):
9771 * international/kkc.el (kkc-init-file-name):
9772 * ido.el (ido-save-directory-list-file):
9773 * emulation/viper.el (viper-custom-file-name):
9774 * emulation/vip.el (vip-startup-file):
9775 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9776 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9777
9778 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9779
9780 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9781 * language/thai-word.el: Switch to UTF-8.
9782
9783 See ChangeLog.16 for earlier changes.
9784
9785 ;; Local Variables:
9786 ;; coding: utf-8
9787 ;; End:
9788
9789 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9790
9791 This file is part of GNU Emacs.
9792
9793 GNU Emacs is free software: you can redistribute it and/or modify
9794 it under the terms of the GNU General Public License as published by
9795 the Free Software Foundation, either version 3 of the License, or
9796 (at your option) any later version.
9797
9798 GNU Emacs is distributed in the hope that it will be useful,
9799 but WITHOUT ANY WARRANTY; without even the implied warranty of
9800 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9801 GNU General Public License for more details.
9802
9803 You should have received a copy of the GNU General Public License
9804 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.