* vc/vc-git.el (vc-git-dir-extra-headers): Add headers
[bpt/emacs.git] / lisp / ChangeLog
1 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2
3 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4 when rebase or bisect are in progress.
5
6 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7
8 * filenotify.el (file-notify-add-watch): Doc fix.
9
10 2013-11-19 Leo Liu <sdl.web@gmail.com>
11
12 * obsolete/rcompile.el: Mark obsolete.
13
14 * progmodes/compile.el (compilation-start)
15 (compilation-goto-locus, compilation-find-file): Pass
16 no-display-ok and handle nil value from display-buffer.
17 (Bug#13594)
18
19 * window.el (display-buffer-alist, display-buffer): Document the
20 new parameter no-display-ok.
21
22 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * electric.el (electric-indent-mode-map): Remove.
25 (electric-indent-mode): Change the global-map instead (bug#15915).
26
27 * textmodes/text-mode.el (paragraph-indent-minor-mode):
28 Use add-function.
29
30 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * emacs-lisp/nadvice.el (remove-function): Align with
33 add-function's behavior.
34
35 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
36 (gdb--string-regexp): New constant.
37 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
38 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
39 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
40 submatch 1.
41 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
42 Adjust use accordingly.
43 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
44
45 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
46
47 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
48 interpolation curlies (Bug#15914).
49
50 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
51
52 * calc/calc.el (calc-context-sensitive-enter): New variable.
53 (calc-enter): Use `calc-context-sensitive-enter'.
54
55 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
56
57 * progmodes/cfengine.el: Version bump.
58 (cfengine-cf-promises): New defcustom to locate cf-promises.
59 (cfengine3-vartypes): Add new "data" type.
60 (cfengine3--current-word): New function to get current name-like
61 word or its bounds.
62 (cfengine3--current-function): New function to look up a CFEngine
63 function's definition.
64 (cfengine3-format-function-docstring): New function.
65 (cfengine3-make-syntax-cache): New function.
66 (cfengine3-documentation-function): New function: ElDoc glue.
67 (cfengine3-completion-function): New function: completion glue.
68 (cfengine3-mode): Set `compile-command',
69 `eldoc-documentation-function', and add to
70 `completion-at-point-functions'.
71
72 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
73
74 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
75 `tramp-current-connection'.
76
77 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
78
79 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
80 nil/self/true/false with "end of symbol".
81
82 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
83
84 * subr.el (version-regexp-alist): Fix a typo.
85
86 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
87
88 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
89 "en_US.utf8" and "LC_CTYPE" to "".
90 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
91 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
92
93 2013-11-15 Leo Liu <sdl.web@gmail.com>
94
95 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
96
97 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * progmodes/gud.el (ctl-x-map):
100 Remove C-x SPC binding. (Bug#12342)
101 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
102
103 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
104
105 * subr.el (version-regexp-alist):
106 Recognize hg, svn and darcs versions as snapshot versions.
107
108 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
109 Add the ability to always insert an utf-8 encoding comment.
110 Fix and simplify coding comment update logic.
111
112 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
113
114 * net/tramp-gvfs.el (top): Run init code only when
115 `tramp-gvfs-enabled' is not nil.
116 (tramp-gvfs-enabled): Check also :system bus.
117
118 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 Sync with upstream verilog-mode revision 78e66ba.
121 * progmodes/verilog-mode.el (verilog-end-of-defun)
122 (verilog-type-completion, verilog-get-list): Remove unused funcs.
123 (verilog-get-end-of-defun): Remove unused argument.
124 (verilog-comment-depth): Remove unused local `e'.
125 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
126 Don't pass arg to verilog-get-end-of-defun.
127
128 2013-11-14 Glenn Morris <rgm@gnu.org>
129
130 * obsolete/assoc.el (aget): Prefix dynamic variable.
131
132 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
133
134 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * widget.el, hfy-cmap.el: Remove bogus package version number.
137
138 2013-11-13 Glenn Morris <rgm@gnu.org>
139
140 * replace.el (replace-eval-replacement):
141 Try to give more helpful error message. (Bug#15836)
142
143 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
144 (archive-7z-update): Avoid custom type mismatches.
145
146 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
147
148 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
149
150 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
151 address can be empty.
152
153 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
154 Accept nil SWITCHES.
155 (tramp-gvfs-handle-write-region): Implement APPEND.
156
157 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
158
159 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
160 binary "|" operator and closing block args delimiter.
161 Remove FIXME comment referring to Ruby 1.8-only syntax.
162 (ruby-smie--implicit-semi-p): Not after "|" operator.
163 (ruby-smie--closing-pipe-p): New function.
164 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
165 (ruby-smie-rules): Indent after "|".
166
167 2013-11-12 Glenn Morris <rgm@gnu.org>
168
169 * ps-print.el (ps-face-attribute-list):
170 Handle anonymous faces. (Bug#15827)
171
172 2013-11-12 Martin Rudalics <rudalics@gmx.at>
173
174 * window.el (display-buffer-other-frame): Fix doc-string.
175 (Bug#15868)
176
177 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * subr.el (force-mode-line-update): Delete, move to buffer.c.
180
181 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
182
183 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
184 (tramp-sh-handle-file-local-copy): Don't write a message when
185 saving temporary files.
186
187 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
188 both directories are remote.
189 (tramp-smb-handle-directory-files): Do not return double entries.
190 Do not expand full file names.
191 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
192 (tramp-smb-handle-write-region): Implement APPEND.
193 (tramp-smb-get-stat-capability): Fix a stupid bug.
194
195 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
198
199 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
200
201 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
202 throwing error over malformed let/let* (bug#15814).
203
204 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * iswitchb.el (iswitchb-mode): Mark obsolete.
207
208 2013-11-11 Glenn Morris <rgm@gnu.org>
209
210 * international/uni-bidi.el, international/uni-category.el:
211 * international/uni-name.el, international/uni-numeric.el:
212 Regenerate for Unicode 6.3.0.
213
214 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
215
216 * net/tramp.el (tramp-methods):
217 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
218 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
219
220 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
221
222 * progmodes/sh-script.el (sh-font-lock-keywords-var):
223 Force highlighting text after Summary keyword in doc face for rpm.
224
225 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
226
227 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
228 available and the word has no wildcards, append one to the grep pattern.
229 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
230 (ispell-complete-word): Call `ispell-lookup-words' with the value
231 independent of `ispell-look-p'.
232
233 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
234
235 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
236 Not after "||".
237 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
238 their parent.
239
240 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
241
242 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
243 (ruby-font-lock-keywords): Use backquote.
244
245 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
246
247 * progmodes/ruby-mode.el (ruby-smie--forward-token)
248 (ruby-smie--backward-token): Only consider full-string matches.
249
250 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
251
252 * faces.el (describe-face): Add distant-foreground.
253
254 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
255
256 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
257 Use `ruby-encoding-magic-comment-style' to control the
258 style of the auto-inserted encoding comment.
259
260 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
261
262 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
263 Use `smie-backward-sexp' with token argument.
264
265 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
266
267 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
268 Remove instrumentation code.
269
270 2013-11-08 Glenn Morris <rgm@gnu.org>
271
272 * progmodes/autoconf.el (autoconf-mode):
273 Tweak comment-start-skip. (Bug#15822)
274
275 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
278 at bobp (bug#15826).
279 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
280
281 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
282
283 * man.el (Man-start-calling): New macro, extracted from
284 Man-getpage-in-background.
285 (Man-getpage-in-background): Use it.
286 (Man-update-manpage): New command.
287 (Man-mode-map): Bind it.
288
289 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
290
291 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
292 of "and", "or", "&&" and "||".
293 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
294 argument. Prohibit opening curly brace because it could only be a
295 block opener in that position.
296 (ruby-smie--forward-token, ruby-smie--backward-token):
297 Separate "|" from "&" or "*" going after it. That can happen in block
298 arguments.
299 (ruby-smie--indent-to-stmt): New function, seeks the end of
300 previous statement or beginning of buffer.
301 (ruby-smie-rules): Use it.
302 (ruby-smie-rules): Check if there's a ":" before a curly block
303 opener candidate; if there is, it's a hash.
304
305 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
308 (cl--block-wrapper): Fix last accidental change.
309
310 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
311
312 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
313 Instrument, in order to hunt failure on hydra.
314
315 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
316
317 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
318 malformed bindings form (bug#15814).
319
320 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
321
322 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
323 "." compared to " @ ". This incidentally fixes some indentation
324 examples with "do".
325 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
326 (ruby-smie-grammar): New tokens: "and" and "or".
327 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
328 Exclude "and" and "or". Remove "do" in order to work around token
329 priorities.
330 (ruby-smie-rules): Add all infix tokens. Handle the case of
331 beginning-of-buffer.
332
333 2013-11-06 Glenn Morris <rgm@gnu.org>
334
335 * Makefile.in (setwins_almost, setwins_for_subdirs):
336 Avoid accidental matches.
337
338 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * menu-bar.el (popup-menu): Use key-binding.
341
342 2013-11-06 Eli Zaretskii <eliz@gnu.org>
343
344 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
345 menus, support also the menus produced by minor modes.
346 (Bug#15817)
347
348 2013-11-06 Leo Liu <sdl.web@gmail.com>
349
350 * thingatpt.el (thing-at-point-looking-at): Add optional arg
351 DISTANCE to bound the search. All uses changed. (Bug#15808)
352
353 2013-11-06 Glenn Morris <rgm@gnu.org>
354
355 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
356 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
357 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
358
359 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * electric.el (electric-indent-just-newline): New command.
362 (electric-indent-mode-map): New keymap.
363 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
364 Re-add :group which weren't redundant.
365
366 * electric.el (electric-indent-local-mode): New minor mode.
367 (electric-indent-functions-without-reindent): New var.
368 (electric-indent-post-self-insert-function): Use it.
369 * emacs-lisp/gv.el (buffer-local-value): Add setter.
370
371 2013-11-05 Eli Zaretskii <eliz@gnu.org>
372
373 * international/quail.el (quail-help): Be more explicit about the
374 meaning of the labels shown on the keys. (Bug#15800)
375
376 * startup.el (normal-top-level): Load the subdirs.el files before
377 setting the locale environment. (Bug#15805)
378
379 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
382 via arguments so as to get the right ones (bug#15418).
383
384 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
385
386 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
387
388 Fix problems found while writing a test suite.
389
390 * net/tramp-compat.el (tramp-compat-load): New defun.
391 * net/tramp.el (tramp-handle-load): Use it.
392
393 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
394 "(numberp ok-if-already-exists)" correctly.
395
396 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
397
398 * international/characters.el (glyphless-char-display-control):
399 Add usage note.
400
401 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
402
403 * progmodes/python.el (python-mode):
404 * progmodes/scheme.el (scheme-mode):
405 * progmodes/prolog.el (prolog-mode):
406 * progmodes/ruby-mode.el (ruby-mode):
407 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
408 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
409
410 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * rect.el (rectangle--highlight-for-redisplay):
413 * emacs-lisp/smie.el (smie--next-indent-change):
414 Use buffer-chars-modified-tick.
415
416 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
417
418 * electric.el (electric-indent-post-self-insert-function):
419 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
420
421 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
422
423 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
424
425 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
426
427 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
428 (bug#15786).
429
430 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
433
434 * progmodes/python.el: Fix up last change.
435 (python-shell--save-temp-file): New function.
436 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
437 `string' comes from the current buffer.
438 (python-shell-send-string-no-output): Remove `msg' arg.
439 (python--use-fake-loc): New var.
440 (python-shell-buffer-substring): Obey it. Try to compensate for the
441 extra coding line added by python-shell--save-temp-file.
442 (python-shell-send-region): Use python-shell--save-temp-file and
443 python-shell-send-file directly. Add `nomain' argument.
444 (python-shell-send-buffer): Use python-shell-send-region.
445 (python-electric-pair-string-delimiter): New function.
446 (python-mode): Use it.
447
448 2013-11-04 Eli Zaretskii <eliz@gnu.org>
449
450 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
451 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
452 environment and decoding all of the default-directory's to here
453 from command-line.
454 (command-line): Decode also argv[0].
455
456 * loadup.el: Error out if default-directory is a multibyte string
457 when we are dumping.
458
459 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
460
461 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
462
463 * emacs-lisp/package.el (package-menu-mode)
464 (package-menu--print-info, package-menu--archive-predicate):
465 Add Archive column to package list.
466
467 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
468
469 Fix problems found while writing a test suite.
470
471 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
472 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
473 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
474 to nil when running original file name handler. Otherwise,
475 there are problems with constructs like "$$FOO".
476
477 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
478 for `localname'.
479
480 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
481
482 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
483
484 * subr.el (version<, version<=, version=):
485 Update docstrings with information for snapshot versions.
486
487 * helpers.el: New library for misc helper functions.
488 (hash-table-keys): New function returning a list of hash keys.
489 (hash-table-values): New function returning a list of hash values.
490
491 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
492
493 * progmodes/ruby-mode.el (ruby-smie--forward-token)
494 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
495
496 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
497
498 * textmodes/fill.el (fill-single-char-nobreak-p): New function
499 checking whether point is after a 1-letter word.
500
501 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
502
503 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
504 Don't infloop when expanding region over `multiline' syntax-type that
505 begins a line (bug#15778).
506
507 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
510 Make it into a proper minor mode.
511 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
512 (rectangle-mark-mode-map): New keymap.
513 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
514
515 2013-11-04 Glenn Morris <rgm@gnu.org>
516
517 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
518
519 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
522 (ruby-smie-rules): Use smie-rule-parent instead.
523
524 * emacs-lisp/smie.el (smie-rule-parent): Always call
525 smie-indent-virtual rather than only for hanging tokens.
526 (smie--next-indent-change): New helper command.
527
528 2013-11-03 Glenn Morris <rgm@gnu.org>
529
530 * Makefile.in (abs_srcdir): Remove.
531 (emacs): Unset EMACSLOADPATH.
532
533 2013-11-02 Glenn Morris <rgm@gnu.org>
534
535 * Makefile.in (EMACS): Use a relative filename.
536 (abs_top_builddir): Remove.
537 (custom-deps, finder-data, autoloads): Use --chdir.
538
539 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
540
541 Use relative filenames in TAGS files.
542 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
543 (lisptagsfiles4, TAGS): Use relative file names.
544 (TAGS-LISP): Remove.
545 (maintainer-clean): No more TAGS-LISP file.
546
547 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
548 (lisptagsfiles4): Use absolute filenames again.
549 (TAGS, TAGS-LISP): Not everything needs to run in one line.
550 Remove all *loaddefs files, not just the first. Remove esh-groups.
551 (maintainer-clean): Delete TAGS, TAGS-LISP.
552
553 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
554
555 * emacs-lisp/package.el (package-version-join):
556 Recognize snapshot versions.
557
558 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
559
560 * subr.el (version-regexp-alist): Add support for snapshot versions.
561
562 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
563
564 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
565 New function, replacement for `smie-rule-parent' for when we want to
566 skip over our direct parent if it's an assignment token..
567 (ruby-smie-rules): Use it.
568
569 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
570
571 * progmodes/ruby-mode.el Use `syntax-propertize-function'
572 unconditionally. Remove now unnecessary forward declarations.
573 Remove XEmacs-specific setup.
574 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
575 (ruby-font-lock-syntactic-keywords)
576 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
577 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
578 (ruby-here-doc-end-syntax): Remove.
579 (ruby-mode): Don't check whether `syntax-propertize-rules' is
580 defined as function.
581
582 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
583
584 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
585
586 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
587
588 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
589 table and abbrev table, `define-derived-mode' does that for us
590 anyway.
591
592 2013-11-01 Glenn Morris <rgm@gnu.org>
593
594 * Makefile.in: Remove manual mh-e dependencies (writing .elc
595 files is atomic for some time, so no parallel compilation issues).
596
597 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
598
599 * faces.el (face-x-resources): Add :distant-foreground.
600 (region): Use :distant-foreground for gtk and ns.
601
602 2013-11-01 Tassilo Horn <tsdh@gnu.org>
603
604 Allow multiple bibliographies when BibLaTeX is used rather than
605 BibTeX.
606 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
607 (reftex-locate-bibliography-files): Us it.
608
609 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
610
611 * image.el (image-type-header-regexps): Fix the 'pbm' part to
612 allow comments in pbm files.
613
614 * term/w32-win.el (dynamic-library-alist): Support newer versions
615 of libjpeg starting with v7: look only for the DLL from the
616 version against which Emacs was built.
617 Support versions of libpng beyond 1.4.x.
618 Support libtiff v4.x.
619
620 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
621
622 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
623 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
624 Add property :safe.
625 (ruby-deep-arglist): Add property :type.
626
627 2013-10-31 Glenn Morris <rgm@gnu.org>
628
629 * Makefile.in (custom-deps, finder-data): No need to setq the target
630 variables, we are in the right directory and the defaults work fine.
631
632 2013-10-30 Glenn Morris <rgm@gnu.org>
633
634 * Makefile.in (autoloads): Do not use abs_lisp.
635
636 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
637 `newline' does not respect `standard-output', so use `princ'.
638
639 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
640
641 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
642 * buff-menu.el (Buffer-menu--unmark): New function.
643 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
644
645 2013-10-30 Glenn Morris <rgm@gnu.org>
646
647 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
648
649 * emacs-lisp/package.el (lm-homepage): Declare.
650
651 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
652 Fix doc typos.
653
654 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
655
656 * Makefile.in (finder-data, autoloads, update-subdirs)
657 (compile-main, compile-clean, compile-always, bootstrap-clean):
658 Check return value of cd.
659 (compile-calc): Remove.
660
661 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
664
665 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
666 (byte-compile-and-folded): New function.
667 (=, <, >, <=, >=): Use it.
668
669 * dos-w32.el (minibuffer-history-case-insensitive-variables)
670 (path-separator, null-device, buffer-file-coding-system)
671 (lpr-headers-switches): Check system-type before modifying them.
672 (find-buffer-file-type-coding-system): Mark obsolete.
673 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
674 find-file-not-found-set-buffer-file-coding-system.
675 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
676 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
677 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
678 (w32-direct-print-region-helper, w32-direct-print-region-function)
679 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
680 * startup.el (normal-top-level-add-subdirs-to-load-path):
681 * ps-print.el (ps-print-region-function):
682 * lpr.el (print-region-function): Use new name.
683
684 * subr.el (custom-declare-variable-early): Remove function.
685 (custom-declare-variable-list): Remove var.
686 (error, user-error): Remove `while' loop.
687 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
688 (user-emacs-directory-warning, locate-user-emacs-file):
689 Move to files.el.
690 * simple.el (read-quoted-char-radix, read-quoted-char):
691 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
692 Move from subr.el.
693 * custom.el (custom-declare-variable-list): Don't process
694 custom-declare-variable-list.
695
696 * progmodes/python.el (python-shell-get-buffer): New function.
697 (python-shell-get-process): Use it.
698 (python-shell-send-string): Always use utf-8 and add a cookie to tell
699 Python which encoding was used. Don't split-string since we only care
700 about the first line. Return the temp-file, if applicable.
701 (python-shell-send-region): Tell compile.el how to turn locations in
702 the temp-file into locations in the source buffer.
703
704 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
705
706 * subr.el (undefined): Add missing behavior from the C code for
707 unbound keys.
708
709 * rect.el: Use lexical-binding. Add new rectangular region support.
710 (rectangle-mark): New command.
711 (rectangle--region): New var.
712 (deactivate-mark-hook): Reset rectangle--region.
713 (rectangle--extract-region, rectangle--insert-for-yank)
714 (rectangle--highlight-for-redisplay)
715 (rectangle--unhighlight-for-redisplay): New functions.
716 (region-extract-function, redisplay-unhighlight-region-function)
717 (redisplay-highlight-region-function): Use them to handle
718 rectangular region.
719 * simple.el (region-extract-function): New var.
720 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
721 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
722 (kill-region): Replace obsolete `yank-handler' arg with `region'.
723 (copy-region-as-kill, kill-ring-save): Add `region' argument.
724 (redisplay-unhighlight-region-function)
725 (redisplay-highlight-region-function): New vars.
726 (redisplay--update-region-highlight): New function.
727 (pre-redisplay-function): Use it.
728 (exchange-point-and-mark): Don't deactivate the mark before
729 reactivate-it anyway.
730 * comint.el (comint-kill-region): Remove yank-handler argument.
731 * delsel.el (delete-backward-char, backward-delete-char-untabify)
732 (delete-char): Remove property, since it's now part of their
733 default behavior.
734 (self-insert-iso): Remove property since this command doesn't exist.
735
736 * emacs-lisp/package.el (package--download-one-archive)
737 (describe-package-1): Don't query the user about final newline.
738
739 2013-10-29 Daniel Colascione <dancol@dancol.org>
740
741 * net/tramp.el (tramp-methods): Document new functionality.
742 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
743 tramp-hostname-checker if method provides one instead of scanning
744 argument list for "%h" to decide hostname acceptability.
745
746 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
747
748 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
749 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
750 Handle COPY-CONTENTS. (Bug#15737)
751
752 2013-10-28 Daiki Ueno <ueno@gnu.org>
753
754 * epa-file.el
755 (epa-file-cache-passphrase-for-symmetric-encryption):
756 Document that this option has no effect with GnuPG 2.0 (bug#15552).
757
758 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
759
760 * image.el (defimage):
761 (image-load-path): Doc fixes.
762
763 2013-10-27 Alan Mackenzie <acm@muc.de>
764
765 Indent statements in macros following "##" correctly.
766 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
767 Modify the "#" arm of a cond form to handle "#" and "##" operators.
768
769 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
770
771 * linum.el (linum-update-window): Fix boundary test (bug#13446).
772
773 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
774
775 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
776 after `=' is probably a new expression.
777
778 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
779
780 * man.el (man-imenu-title): New option.
781 (Man-mode-map): Add menu. (Bug#15722)
782 (Man-mode): Add imenu to menu.
783
784 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
785
786 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
787 specific in what the first arg can be: a non-keyword word,
788 string/regexp/percent literal opener, opening paren, or unary
789 operator followed directly by word.
790
791 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
794 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
795 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
796 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
797 Remove vars, they do not apply any more.
798 (prolog-mode-abbrev-table): Remove redundant declaration.
799 (prolog-upper-case-string, prolog-lower-case-string): Remove.
800 (prolog-use-smie): Remove.
801 (prolog-smie-rules): Add indentation rule for the if-then-else layout
802 supported by prolog-electric-if-then-else-flag.
803 (prolog-mode-variables, prolog-menu): Use setq-local.
804 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
805 Remove binding to `Backspace' since this key doesn't exist anyway.
806 Remove bindings for electric self-inserting keys.
807 (prog-mode): Assume it's defined.
808 (prolog-post-self-insert): New function.
809 (prolog-mode): Use it.
810 (prolog-indent-line, prolog-indent-level)
811 (prolog-find-indent-of-matching-paren)
812 (prolog-indentation-level-of-line, prolog-goto-comment-column)
813 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
814 (prolog-goto-next-paren, prolog-in-string-or-comment)
815 (prolog-tokenize, prolog-inside-mline-comment)
816 (prolog-find-start-of-mline-comment): Remove functions.
817 (prolog-find-unmatched-paren, prolog-clause-end)
818 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
819 (prolog-electric--if-then-else): Rename from
820 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
821 (prolog-tokenize-searchkey): Remove const.
822 (prolog-clause-info): Use forward-sexp.
823 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
824 (prolog-electric-if-then-else): Remove commands.
825 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
826 for use in post-self-insert-hook.
827 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
828 for use in post-self-insert-hook.
829 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
830 for use in post-self-insert-hook.
831 (prolog-electric--underscore): Rename from prolog-electric--underscore;
832 adapt it for use in post-self-insert-hook.
833
834 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
835
836 * emacs-lisp/ert.el (ert-run-tests-interactively):
837 Use `completing-read'. (Bug#9756)
838
839 2013-10-25 Eli Zaretskii <eliz@gnu.org>
840
841 * simple.el (line-move): Call line-move-1 instead of
842 line-move-visual when the current window hscroll is zero, but
843 temporary-goal-column indicates we will need to hscroll as result
844 of the movement. (Bug#15712)
845
846 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
847
848 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
849 capitalization. Use :visible instead of :active.
850 Fix `ruby-indent-exp' reference. Add menu items for the generic
851 commands that are used with SMIE.
852 (ruby-do-end-to-brace): Insert space after `{'.
853
854 2013-10-25 John Anthony <john@jo.hnanthony.com>
855
856 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
857
858 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
859
860 2013-10-25 Glenn Morris <rgm@gnu.org>
861
862 * vc/vc.el (vc-print-log): Don't use a working revision unless
863 one was explicitly specified. (Bug#15322)
864
865 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * subr.el (add-to-list): Preserve return value in compiler-macro
868 (bug#15692).
869
870 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
871
872 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
873 result. Ask user to retry using '-all' flag. (Bug#15701)
874
875 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * emacs-lisp/smie.el: New smie-config system.
878 (smie-config): New defcustom.
879 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
880 (smie-config-guess, smie-config-save): New commands.
881 (smie-config--mode-local, smie-config--buffer-local)
882 (smie-config--trace, smie-config--modefuns): New vars.
883 (smie-config--advice, smie-config--mode-hook)
884 (smie-config--setter, smie-config-local, smie-config--get-trace)
885 (smie-config--guess-value, smie-config--guess): New functions.
886 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
887 text properties. Treat "string fence" syntax like string syntax.
888
889 * progmodes/sh-script.el (sh-use-smie): Change default.
890 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
891 (sh-var-value): Simplify by CSE.
892 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
893 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
894 is used.
895 (sh-guess-basic-offset): Use cl-incf.
896 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
897
898 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
899
900 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
901 (bug#15699).
902
903 2013-10-24 Glenn Morris <rgm@gnu.org>
904
905 * Makefile.in (abs_top_srcdir): Remove.
906 (update-subdirs): Use relative path to update-subdirs.
907
908 2013-10-24 Eli Zaretskii <eliz@gnu.org>
909
910 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
911 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
912 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
913 Call unmsys--file-name before expand-file-name, not after it.
914
915 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
916
917 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
918 (ert-test-skipped): New error.
919 (ert-skip, ert-stats-skipped): New defuns.
920 (ert--skip-unless): New macro.
921 (ert-test-skipped): New struct.
922 (ert--run-test-debugger, ert-test-result-type-p)
923 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
924 (ert--stats-set-test-and-result, ert-char-for-test-result)
925 (ert-string-for-test-result, ert-run-tests-batch)
926 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
927 Handle skipped tests. (Bug#9803)
928
929 2013-10-24 Glenn Morris <rgm@gnu.org>
930
931 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
932
933 * Makefile.in (abs_top_srcdir): New, set by configure.
934 (update-subdirs): Correct build-aux location.
935
936 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
937
938 * vc/vc.el (vc-print-root-log): Always set `default-directory'
939 value, whether we could auto-deduce `backend', or not.
940
941 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
942 with parameters" example. Simplify the "is it block or is it
943 hash" check, but also make it more thorough.
944
945 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
946
947 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
948
949 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
952 { if it is hanging.
953
954 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
955 :before ";".
956
957 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
958
959 * progmodes/compile.el (compilation-directory-matcher)
960 (compilation-page-delimiter):
961 Support GNU Make-4.0 directory quoting. (Bug#15678)
962
963 2013-10-23 Leo Liu <sdl.web@gmail.com>
964
965 * ido.el (ido-tidy): Handle read-only text.
966
967 2013-10-23 Glenn Morris <rgm@gnu.org>
968
969 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
970 (emacs, compile, compile-always):
971 Quote entities that might contain whitespace.
972 (custom-deps, finder-data, autoloads): Use abs_lisp.
973 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
974 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
975 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
976
977 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
978
979 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
980 Use `following-char'.
981
982 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
985 * progmodes/ruby-mode.el (ruby-smie-rules):
986 Remove corresponding workaround. Fix indentation rule of ";" so it
987 also applies when ";" is the parent.
988
989 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
990
991 * frame.el (display-screens, display-pixel-height)
992 (display-pixel-width, display-mm-width, display-backing-store)
993 (display-save-under, display-planes, display-color-cells)
994 (display-visual-class, display-monitor-attributes-list):
995 Mention the optional ‘display’ argument in doc strings.
996
997 2013-10-22 Michael Gauland <mikelygee@amuri.net>
998
999 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1000 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1001
1002 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1003
1004 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1005 TODO. Add "." after " @ ".
1006 (ruby-smie--at-dot-call): New function. Checks if point at method
1007 call with explicit target.
1008 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1009 to the method name tokens when it precedes them.
1010 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1011 (ruby-smie-rules): Add rule for indentation before and after "."
1012 token.
1013
1014 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * textmodes/remember.el (remember-diary-extract-entries):
1017 Avoid add-to-list.
1018
1019 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1020 an instruction.
1021
1022 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1023
1024 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1025 (ruby-smie--implicit-semi-p): Add new operator chars.
1026
1027 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1028 `smie-down-list'.
1029 (ruby-smie--args-separator-p): Check that there's no newline
1030 between method call and its arguments.
1031
1032 2013-10-20 Alan Mackenzie <acm@muc.de>
1033
1034 Allow comma separated lists after Java "implements".
1035
1036 * progmodes/cc-engine.el (c-backward-over-enum-header):
1037 Parse commas.
1038 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1039 from a "disallowed" list in enum fontification.
1040
1041 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1042
1043 * startup.el (default-frame-background-mode): Remove unused defvar.
1044
1045 * progmodes/verilog-mode.el (verilog-mode): Don't set
1046 comment-indent-function globally.
1047
1048 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1049
1050 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1051 Move Info menu item creation to ns-win.el.
1052
1053 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1054 in menu bar.
1055
1056 * menu-bar.el: Move GNUStep specific menus...
1057
1058 * term/ns-win.el (ns-initialize-window-system): ... to here.
1059
1060 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * simple.el (newline): Only run post-self-insert-hook when
1063 called interactively.
1064
1065 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1066
1067 * icomplete.el (icomplete-with-completion-tables): Add :version.
1068
1069 2013-10-19 Alan Mackenzie <acm@muc.de>
1070
1071 Fix fontification bugs with constructors and const.
1072
1073 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1074 CASE 2) Remove the check for the absence of a suffix construct
1075 after a function declaration with only types (no identifiers) in
1076 the parentheses. Also, accept a function declaration with just a
1077 type inside the parentheses, if this type can be positively
1078 recognised as such, or if a prefix keyword like "explicit" nails
1079 down the construct as a declaration.
1080
1081 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1082
1083 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1084 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1085 the problem whereby selecting a menu item that leads to a
1086 minibuffer prompt moves the cursor out of the minibuffer window,
1087 making it hard to type at the prompt. Suggested by Stefan Monnier
1088 <monnier@iro.umontreal.ca>.
1089
1090 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1091
1092 * menu-bar.el: Don't make Services menu.
1093
1094 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1095
1096 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1097 (ffap-alist): Use ffap-c++-mode for c++-mode.
1098 (ffap-c++-path): New variable.
1099 (ffap-c++-mode): New function.
1100
1101 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1102
1103 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1104
1105 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1106
1107 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1108 introduced on 2013-09-08, which results in an infinite loop
1109 requesting a password.
1110
1111 2013-10-18 Glenn Morris <rgm@gnu.org>
1112
1113 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1114
1115 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1116
1117 Sync with upstream verilog-mode revision 1a6ecec7.
1118 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1119 (verilog-mode-release-date): Remove.
1120 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1121 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1122 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1123 (verilog-auto-tieoff-ignore-regexp)
1124 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1125 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1126 (verilog-signals-with, verilog-dir-cache-preserving)
1127 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1128 Doc fixes.
1129 (verilog-case-fold): New option, to control case folding in
1130 regexp searches, bug597.
1131 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1132 (verilog-string-match-fold, verilog-in-paren-count)
1133 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1134 (verilog-at-close-struct-p): New functions.
1135 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1136 (verilog-forward-sexp, verilog-set-auto-endcomments):
1137 (verilog-leap-to-case-head): Handle "unique0" case.
1138 (verilog-in-constraint-re): New constant.
1139 (verilog-keywords, verilog-type-font-keywords):
1140 Add some SystemVerilog 1800-2012 keywords.
1141 (verilog-label-be): Remove unimplemented argument, bug669.
1142 (verilog-batch-execute-func): When batch expanding clear
1143 create-lockfiles to prevent spurious user locks when a file ends
1144 up not changing.
1145 (verilog-calculate-indent, verilog-calc-1)
1146 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1147 (verilog-do-indent): Fix indentation of nested constraints
1148 and structures.
1149 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1150 (verilog-auto-inst-param): Use verilog-string-match-fold.
1151 (verilog-read-inst-module-matcher):
1152 Fix AUTOINST on gate primitives with #1.
1153 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1154 Reads all user-defined typed variables.
1155 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1156 (verilog-signals-matching-regexp)
1157 (verilog-signals-not-matching-regexp, verilog-auto):
1158 Respect verilog-case-fold.
1159 (verilog-diff-report): Fix line count.
1160 (verilog-auto-assign-modport): Remove unused local `modi'.
1161 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1162 better handle multidimensional arrays.
1163 Fix packed array ports misadding bit index in AUTOINST, bug637.
1164 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1165 to not double-declare existing outputs and inputs, respectively.
1166 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1167 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1168 (verilog-sk-uvm-component): New skeleton.
1169 (verilog-submit-bug-report): Add verilog-case-fold,
1170 remove verilog-mode-release-date.
1171
1172 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1173
1174 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1175 as before.
1176
1177 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1178
1179 * textmodes/remember.el (remember): set buffer-offer-save in
1180 remember buffers (bug#13566).
1181
1182 2013-10-18 Daniel Colascione <dancol@dancol.org>
1183
1184 When evaluating forms in ielm, direct standard output to ielm
1185 buffer. Add new ielm-return-for-effect command. Remove trailing
1186 whitespace throughout.
1187
1188 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1189 (ielm-return-for-effect): New command.
1190 (ielm-send-input): Accept optional `for-effect' parameter.
1191 (ielm-eval-input): Accept optional `for-effect' parameter.
1192 Bind `standard-output' to stream we create using
1193 `ielm-standard-output-impl'. Suppress printing result when
1194 `for-effect'.
1195 (ielm-standard-output-impl): New function.
1196 (inferior-emacs-lisp-mode): Explain new features in documentation.
1197
1198 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1199
1200 Code cleanup.
1201
1202 * net/tramp.el (tramp-debug-message): Do not check for connection
1203 buffer.
1204 (tramp-message): Use "vector" connection property.
1205
1206 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1207 (tramp-equal-remote, tramp-eshell-directory-change)
1208 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1209 (tramp-adb-handle-rename-file)
1210 * net/tramp-cmds.el (tramp-list-remote-buffers)
1211 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1212 * net/tramp-compat.el (tramp-compat-process-running-p)
1213 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1214 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1215 (tramp-gvfs-handle-rename-file)
1216 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1217 (tramp-set-file-uid-gid)
1218 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1219 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1220 of `file-remote-p'.
1221
1222 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1223 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1224 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1225 (tramp-gw-open-network-stream): Suppress unrelated traces.
1226
1227 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1228 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1229 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1230 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1231 connection property.
1232
1233 * net/tramp-cache.el (top): Suppress traces when reading
1234 persistency file.
1235
1236 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1237 Refactor common code. Improve debug message.
1238 (tramp-maybe-open-connection)
1239 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1240 connection buffer too early.
1241
1242 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1243 from `tramp-smb-actions-with-acl'.
1244 (tramp-smb-actions-set-acl): New defconst.
1245 (tramp-smb-handle-copy-directory)
1246 (tramp-smb-action-get-acl): New defun, renamed from
1247 `tramp-smb-action-with-acl'.
1248 (tramp-smb-action-set-acl): New defun.
1249 (tramp-smb-handle-set-file-acl): Rewrite.
1250
1251 2013-10-17 Glenn Morris <rgm@gnu.org>
1252
1253 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1254
1255 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * skeleton.el (skeleton-newline): Remove.
1258 (skeleton-internal-1): Use (insert "\n") instead.
1259
1260 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1261 let-bindings.
1262
1263 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1264 forward-sexp-function while we redo its job (bug#15613).
1265
1266 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1267
1268 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1269 represented by lists.
1270
1271 2013-10-16 Glenn Morris <rgm@gnu.org>
1272
1273 * tmm.el (tmm--history): New dynamic variable.
1274 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1275
1276 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1277
1278 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1279 (tramp-smb-errors): Add error messages.
1280 (tramp-smb-actions-with-acl): New defconst.
1281 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1282 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1283 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1284 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1285 (tramp-smb-get-stat-capability): Fix tests.
1286
1287 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1288
1289 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1290 (bug#15580).
1291
1292 2013-10-16 Glenn Morris <rgm@gnu.org>
1293
1294 * ansi-color.el (ansi-color-drop-regexp):
1295 Add 1J, 1K, 2K. (Bug#15617)
1296
1297 * files.el (hack-local-variables--warned-lexical): New.
1298 (hack-local-variables):
1299 Warn about misplaced lexical-binding. (Bug#15616)
1300
1301 * net/eww.el (eww-render): Always set eww-current-url,
1302 and update header line. (Bug#15622)
1303 (eww-display-html): ... Rather than just doing it here.
1304
1305 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1306
1307 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1308 menu navigations commands.
1309
1310 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1311
1312 * progmodes/subword.el (subword-capitalize): Be careful when
1313 the search for [[:alpha:]] fails (bug#15580).
1314
1315 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1316
1317 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1318 to commands that scroll the menu.
1319
1320 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1321
1322 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1323 Handle methods ending with `?' and `!'.
1324
1325 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1326
1327 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1328 `japanese-cp932' to `cp932' to fix the problem where saving a
1329 source file written in Shift_JIS twice would end up having
1330 `coding: japanese-cp932' which Ruby could not recognize.
1331 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1332 in `ruby-encoding-map'.
1333 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1334 doesn't need to be explicitly declared in magic comment.
1335 (ruby-encoding-map): Add type declaration for better customize UI.
1336
1337 2013-10-13 Glenn Morris <rgm@gnu.org>
1338
1339 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1340 Occur buffers are read-only. http://bugs.debian.org/720775
1341
1342 * emacs-lisp/authors.el (authors-fixed-entries):
1343 Comment out old alpha stuff.
1344
1345 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1346
1347 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1348 to `after-save-hook' instead of `before-save-hook'.
1349 (ruby-mode-set-encoding): Use the value of coding system used to
1350 write the file. Call `basic-save-buffer-1' after modifying the
1351 buffer.
1352
1353 2013-10-13 Alan Mackenzie <acm@muc.de>
1354
1355 Fix indentation/fontification of Java enum with
1356 "implements"/generic.
1357
1358 * progmodes/cc-engine.el (c-backward-over-enum-header):
1359 Extracted from the three other places and enhanced to handle generics.
1360 (c-inside-bracelist-p): Uses new function above.
1361 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1362 function above.
1363 (c-font-lock-enum-tail): Uses new function above.
1364
1365 2013-10-13 Kenichi Handa <handa@gnu.org>
1366
1367 * international/mule-cmds.el (select-safe-coding-system): Remove a
1368 superfluous condition in chekcing whether a coding system is safe
1369 or not.
1370
1371 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1372
1373 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1374
1375 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1376
1377 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1378
1379 2013-10-13 Glenn Morris <rgm@gnu.org>
1380
1381 * menu-bar.el (menu-bar-update-buffers):
1382 Unify Buffers menu prompt string. (Bug#15576)
1383
1384 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1385
1386 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1387 Add some entries.
1388 (authors-fixed-entries): Use accented form of name.
1389
1390 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1391
1392 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1393 method calls (bug#15594).
1394 (ruby-smie--args-separator-p): New function.
1395 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1396 recognize paren-free method calls.
1397
1398 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1399 internals of universal-argument.
1400
1401 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1402
1403 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1404 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1405 dropped menu on second mouse click on the menu bar.
1406
1407 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1410 (explicit-shell-file-name): Declare.
1411 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1412 (sh-completion-at-point-function): New function.
1413 (sh-mode): Use it.
1414 (sh-smie--keyword-p): Remove unused argument.
1415 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1416 vars.
1417 (sh-set-shell): Always setup SMIE, even if we use the
1418 old indentation code.
1419
1420 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1421
1422 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1423 cases of ? and =.
1424 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1425 predicate would return nil are almost non-existent.
1426 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1427
1428 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1429 cache also after commands that modify the buffer but don't move
1430 point.
1431
1432 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * env.el (substitute-env-in-file-name): New function.
1435 (substitute-env-vars): Extend the meaning of the optional arg.
1436
1437 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1438
1439 * term/w32-win.el (dynamic-library-alist): Define separate lists
1440 of GIF DLLs for versions before and after 5.0.0 of giflib.
1441 (Bug#15531)
1442
1443 2013-10-10 João Távora <joaotavora@gmail.com>
1444
1445 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1446 not locked, use last revision and current source as
1447 defaults. (Bug#15569)
1448
1449 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1450
1451 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1452 menu-bar is hidden.
1453
1454 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1455
1456 * window.el (pop-to-buffer-same-window): Fix doc-string.
1457 (Bug#15492)
1458
1459 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1460
1461 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1462
1463 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1464
1465 * calendar/icalendar.el (icalendar-import-file):
1466 Fix interactive spec. (Bug#15482)
1467
1468 2013-10-10 Glenn Morris <rgm@gnu.org>
1469
1470 * desktop.el (desktop-save): Default to saving in .emacs.d,
1471 since PWD is no longer in desktop-path by default. (Bug#15319)
1472
1473 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1474 now that text mode has a menu with the same entry.
1475 (menu-bar-text-mode-auto-fill): Remove now unused func.
1476 * textmodes/text-mode.el (text-mode-map):
1477 Use auto-fill help text from menu-bar.el.
1478
1479 2013-10-10 John Anthony <john@jo.hnanthony.com>
1480
1481 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1482
1483 2013-10-09 Juri Linkov <juri@jurta.org>
1484
1485 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1486 instead of this-command-keys. Add universal-argument-more and
1487 universal-argument-minus to the list of prefix commands. (Bug#15568)
1488
1489 2013-10-09 Glenn Morris <rgm@gnu.org>
1490
1491 * vc/vc-svn.el (vc-svn-create-repo):
1492 Expand paths in file://... url. (Bug#15446)
1493
1494 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1495 Add some entries.
1496 (authors): Remove unused local variables.
1497
1498 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * profiler.el: Create a more coherent calltree from partial backtraces.
1501 (profiler-format): Hide the tail with `invisible' so that C-s can still
1502 find the hidden elements.
1503 (profiler-calltree-depth): Don't recurse so enthusiastically.
1504 (profiler-function-equal): New hash-table-test.
1505 (profiler-calltree-build-unified): New function.
1506 (profiler-calltree-build): Use it.
1507 (profiler-report-make-name-part): Indent the calltree less.
1508 (profiler-report-mode): Add visibility specs for profiler-format.
1509 (profiler-report-expand-entry, profiler-report-toggle-entry):
1510 Expand the whole subtree when provided with a prefix arg.
1511
1512 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1513
1514 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1515 iuwu-mod token.
1516 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1517 hanging iuwu-mod token.
1518 (ruby-smie--forward-token): Do not include a dot after a token in
1519 that token.
1520 (ruby-smie--backward-token): Likewise.
1521
1522 2013-10-08 Juri Linkov <juri@jurta.org>
1523
1524 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1525 to isearch-other-control-char.
1526 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1527 and isearch-post-command-hook to post-command-hook.
1528 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1529 and isearch-post-command-hook from post-command-hook.
1530 (isearch-unread-key-sequence)
1531 (isearch-reread-key-sequence-naturally)
1532 (isearch-lookup-scroll-key, isearch-other-control-char)
1533 (isearch-other-meta-char): Remove functions.
1534 (isearch-pre-command-hook, isearch-post-command-hook):
1535 New functions based on isearch-other-meta-char rewritten
1536 relying on the new behavior of overriding-terminal-local-map
1537 that does not replace the local keymaps any more. (Bug#15200)
1538
1539 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1540
1541 Support menus on text-mode terminals.
1542 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1543 functionality.
1544
1545 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1546
1547 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1548 Move here from mouse.el.
1549 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1550 and arrow keys.
1551 (tty-menu-navigation-map): New map for TTY menu navigation.
1552
1553 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1554
1555 * frame.el (display-mouse-p): Report text-mode mouse as available
1556 on w32.
1557 (display-popup-menus-p): Report availability if mouse is
1558 available; don't condition on window-system.
1559
1560 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1561 (tty-menu-selected-face): New faces.
1562
1563 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1566 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1567 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1568 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1569 New constants.
1570 (lisp-mode-variables): New `elisp' argument.
1571 (emacs-lisp-mode): Use it.
1572 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1573 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1574
1575 * indent.el: Use lexical-binding.
1576 (indent-region): Add progress reporter.
1577 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1578 last step.
1579 (indent--next-tab-stop): New function to implement this behavior.
1580 (tab-to-tab-stop, move-to-tab-stop): Use it.
1581
1582 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1583
1584 * indent.el (indent-rigidly--current-indentation): New function.
1585 (indent-rigidly-map): New var.
1586 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1587
1588 2013-10-08 Bastien Guerry <bzg@gnu.org>
1589
1590 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1591
1592 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * progmodes/perl-mode.el: Use lexical-binding.
1595 Remove redundant :group args.
1596 (perl-nochange): Change default to be closer to other major modes's
1597 standard behavior.
1598 (perl-indent-line): Don't consider text on current line as a
1599 valid beginning of function from which to indent.
1600
1601 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1602 with more than one argument (bug#15538).
1603
1604 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1605
1606 * vc/pcvs.el: Use lexical-binding.
1607 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1608 environment of `eval'.
1609 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1610 than a list of expressions. Adjust callers.
1611 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1612
1613 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1614
1615 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1616 case of the dot in a chained method call being on the following line.
1617
1618 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1619
1620 * electric.el (electric-indent-inhibit): New var.
1621 (electric-indent-post-self-insert-function): Use it.
1622 * progmodes/python.el (python-mode): Set it.
1623
1624 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1625 open braces.
1626
1627 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1628
1629 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1630 (css-mode): Use electric-indent-chars.
1631
1632 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1633 (font-lock-beg, font-lock-end): Move before first use.
1634 (nxml-mode): Use syntax-propertize-function.
1635 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1636 (nxml-extend-after-change-region): Remove.
1637 * nxml/xmltok.el: Use lexical-binding.
1638 (xmltok-save): Use `declare'.
1639 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1640 * nxml/nxml-util.el: Use lexical-binding.
1641 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1642 Use `declare'.
1643 * nxml/nxml-ns.el: Use lexical-binding.
1644 (nxml-ns-save): Use `declare'.
1645 (nxml-ns-prefixes-for): Avoid add-to-list.
1646 * nxml/rng-match.el: Use lexical-binding.
1647 (rng--ipattern): Use cl-defstruct.
1648 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1649 (rng-cons-group-after, rng-subst-group-after)
1650 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1651 Use closures instead of `(lambda...).
1652
1653 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1654
1655 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1656 of BEG and END.
1657
1658 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1659 Use `tramp-handle-insert-file-contents'.
1660 (tramp-gvfs-handle-insert-file-contents): Remove function.
1661
1662 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1663 Use `save-restriction' in order to keep markers.
1664
1665 * net/trampver.el: Update release number.
1666
1667 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * progmodes/compile.el (compilation-parse-errors):
1670 Use compilation--put-prop.
1671 (compilation--ensure-parse): Check compilation-multiline.
1672
1673 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1674
1675 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1676 lexical-binding.
1677
1678 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1679
1680 * progmodes/ruby-mode.el: Fix recently added tests.
1681 (ruby-smie-grammar): Add - and +.
1682 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1683 (ruby-smie--backward-id): New functions.
1684 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1685 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1686 any more.
1687
1688 2013-10-07 Leo Liu <sdl.web@gmail.com>
1689
1690 * register.el (register-preview-delay)
1691 (register-preview-functions): New variables.
1692 (register-read-with-preview, register-preview)
1693 (register-describe-oneline): New functions.
1694 (point-to-register, window-configuration-to-register)
1695 (frame-configuration-to-register, jump-to-register)
1696 (number-to-register, view-register, insert-register)
1697 (copy-to-register, append-to-register, prepend-to-register)
1698 (copy-rectangle-to-register): Use register-read-with-preview to
1699 read register. (Bug#15525)
1700
1701 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1702
1703 * net/network-stream.el (network-stream-open-starttls): Don't add
1704 --insecure if it's already present, because that gnutls-cli
1705 rejects getting that parameter twice.
1706
1707 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1708
1709 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1710 keyword, too.
1711
1712 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1713
1714 * newcomment.el (comment-use-global-state): Change default value
1715 to t, mark obsolete (Bug#15251).
1716 (comment-beginning): In addition to `comment-to-syntax', check the
1717 value of `comment-use-global-state'.
1718
1719 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1722 (ruby-comment-column): Follow the global default, by default.
1723 (ruby-smie-grammar): Add assignment syntax.
1724 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1725 open-paren, a comma, or a \.
1726 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1727 and line continuations.
1728 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1729 followed by implicit semi-colons. Add rule for string concatenation
1730 and for indentation at BOB.
1731 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1732
1733 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1734 calling next-sexp, since next-token may have skipped chars which
1735 next-sexp doesn't know should be skipped!
1736
1737 2013-10-05 Leo Liu <sdl.web@gmail.com>
1738
1739 * progmodes/octave.el (octave-send-region):
1740 Call compilation-forget-errors.
1741
1742 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1743
1744 * vc/vc-svn.el (vc-svn-find-admin-dir):
1745 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1746 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1747 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1748 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1749
1750 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1751
1752 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1753
1754 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1755
1756 * subr.el (read-passwd): Hide chars even when called within a context
1757 where after-change-functions is disabled (bug#15501).
1758 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1759 until we removed ourself from overriding-terminal-local-map.
1760
1761 2013-10-04 Leo Liu <sdl.web@gmail.com>
1762
1763 * progmodes/octave.el (inferior-octave-mode):
1764 Call compilation-forget-errors.
1765
1766 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1767
1768 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1769
1770 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1771
1772 * net/secrets.el (secrets-create-collection): Add optional
1773 argument ALIAS. Use proper Label keyword. Append ALIAS as
1774 dbus-call-method argument. (Bug#15516)
1775
1776 2013-10-04 Leo Liu <sdl.web@gmail.com>
1777
1778 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1779 (inferior-octave-compilation-font-lock-keywords): New variables.
1780 (compilation-error-regexp-alist)
1781 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1782 (inferior-octave-mode): Use compilation-shell-minor-mode.
1783
1784 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1785
1786 * minibuffer.el (completion--replace): Be careful that `end' might be
1787 a marker.
1788
1789 2013-10-03 Daiki Ueno <ueno@gnu.org>
1790
1791 Add support for package signature checking.
1792 * emacs-lisp/package.el (url-http-file-exists-p)
1793 (epg-make-context, epg-context-set-home-directory)
1794 (epg-verify-string, epg-context-result-for)
1795 (epg-signature-status, epg-signature-to-string)
1796 (epg-check-configuration, epg-configuration)
1797 (epg-import-keys-from-file): Declare.
1798 (package-check-signature): New user option.
1799 (package-unsigned-archives): New user option.
1800 (package-desc): Add `signed' field.
1801 (package-load-descriptor): Set `signed' field if .signed file exists.
1802 (package--archive-file-exists-p): New function.
1803 (package--check-signature): New function.
1804 (package-install-from-archive): Check package signature.
1805 (package--download-one-archive): Check archive signature.
1806 (package-delete): Remove .signed file.
1807 (package-import-keyring): New command.
1808 (package-refresh-contents): Import default keyring.
1809 (package-desc-status): Add "unsigned" status.
1810 (describe-package-1, package-menu--print-info)
1811 (package-menu-mark-delete, package-menu--find-upgrades)
1812 (package-menu--status-predicate): Support "unsigned" status.
1813
1814 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1817 the new compilation scheme using the new byte-codes.
1818
1819 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1820 (byte-pophandler): New byte codes.
1821 (byte-goto-ops): Adjust accordingly.
1822 (byte-compile--use-old-handlers): New var.
1823 (byte-compile-catch): Use new byte codes depending on
1824 byte-compile--use-old-handlers.
1825 (byte-compile-condition-case--old): Rename from
1826 byte-compile-condition-case.
1827 (byte-compile-condition-case--new): New function.
1828 (byte-compile-condition-case): New function that dispatches depending
1829 on byte-compile--use-old-handlers.
1830 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1831 when we can.
1832
1833 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1834 Optimize under `condition-case' and `catch' if
1835 byte-compile--use-old-handlers is nil.
1836 (disassemble-offset): Handle new bytecodes.
1837
1838 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * subr.el (error): Use `declare'.
1841 (decode-char, encode-char): Use advertised-calling-convention instead
1842 of the docstring to discourage use of the `restriction' arg.
1843
1844 2013-10-03 Daiki Ueno <ueno@gnu.org>
1845
1846 * epg.el (epg-verify-file): Add a comment saying that it does not
1847 notify verification error as a return value nor a signal.
1848 (epg-verify-string): Ditto.
1849
1850 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1851
1852 * progmodes/compile.el (compilation-start): Try globbing the arg to
1853 `cd' (bug#15417).
1854
1855 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1856
1857 Sync with Tramp 2.2.8.
1858
1859 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1860 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1861 * net/trampver.el: Update release number.
1862
1863 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1864
1865 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1866 and default-process-coding-system for darwin only.
1867
1868 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1871
1872 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1873
1874 * vc/vc-git.el (vc-git-grep): Disable pager.
1875
1876 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1877
1878 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1879 Use :url instead of :homepage, as per
1880 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1881
1882 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1883 non-nil, use `syntax-ppss' (Bug#15251).
1884
1885 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1886
1887 * progmodes/octave.el (inferior-octave-startup-file):
1888 Prefer ~/.emacs.d/init_octave.m.
1889
1890 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1891
1892 * emacs-lisp/package.el (package-desc-from-define):
1893 Accept additional arguments as plist, convert them to an alist and store
1894 them in the `extras' slot.
1895 (package-generate-description-file): Convert extras alist back to
1896 plist and append to the `define-package' form arguments.
1897 (package--alist-to-plist): New function.
1898 (package--ac-desc): Add `extras' slot.
1899 (package--add-to-archive-contents): Check if the archive-contents
1900 vector is long enough, and if it is, pass its `extras' slot value
1901 to `package-desc-create'.
1902 (package-buffer-info): Call `lm-homepage', pass the returned value
1903 to `package-desc-from-define'.
1904 (describe-package-1): Render the homepage button (Bug#13291).
1905
1906 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1907 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1908
1909 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1910
1911 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1912 and default-process-coding-system to utf-8-unix (Bug#15402).
1913
1914 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1915
1916 * subr.el (looking-back): Do not recommend using looking-back.
1917
1918 2013-09-28 Alan Mackenzie <acm@muc.de>
1919
1920 Fix indentation/fontification of Java enum with "implements".
1921
1922 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1923 regexp which matches "implements", etc., in Java.
1924 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1925 specifier clauses coming after "enum".
1926 * progmodes/cc-fonts.el (c-font-lock-declarations)
1927 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1928 after "enum".
1929
1930 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1931
1932 * faces.el (region): Change ns_selection_color to
1933 ns_selection_fg_color, add ns_selection_bg_color.
1934
1935 2013-09-28 Leo Liu <sdl.web@gmail.com>
1936
1937 * progmodes/octave.el (inferior-octave-completion-table)
1938 (inferior-octave-completion-at-point): Minor tweaks.
1939
1940 * textmodes/ispell.el (ispell-lookup-words): Rename from
1941 lookup-words. (Bug#15460)
1942 (lookup-words): Obsolete.
1943 (ispell-complete-word, ispell-command-loop): All uses changed.
1944
1945 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1946
1947 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1948 (octave-mode-menu): Add octave-send-buffer.
1949 (octave-send-buffer): New function.
1950
1951 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1952
1953 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1954 octave-lookfor.
1955 (octave-mode-menu): Add octave-lookfor.
1956 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1957 octave-lookfor.
1958 (octave-lookfor): New function.
1959
1960 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * emacs-lisp/cl-macs.el:
1963 (cl--loop-destr-temps): Remove.
1964 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1965 its convention.
1966 (cl--loop-set-iterator-function): New function.
1967 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1968 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1969 Bind `it' with `let' instead of substituting it with `cl-subst'.
1970 (cl--unused-var-p): New function.
1971 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1972 Eliminate some unused variable warnings (bug#15326).
1973
1974 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1975
1976 * doc-view.el (doc-view-scale-reset): Rename from
1977 `doc-view-reset-zoom-level'.
1978 (doc-view-scale-adjust): New command.
1979 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1980 `doc-view-scale-adjust'.
1981
1982 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1983
1984 * doc-view.el (doc-view-reset-zoom-level): New command.
1985 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1986 zoom commands (bug#15466).
1987
1988 2013-09-26 Kenichi Handa <handa@gnu.org>
1989
1990 * international/quail.el (quail-help): Make it not a command.
1991
1992 2013-09-26 Leo Liu <sdl.web@gmail.com>
1993
1994 * minibuffer.el (completion-all-sorted-completions): Make args
1995 optional as they are.
1996
1997 2013-09-25 Daniel Colascione <dancol@dancol.org>
1998
1999 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2000 specs are and that they're not evaluated.
2001
2002 2013-09-24 Sam Steingold <sds@gnu.org>
2003
2004 * midnight.el (clean-buffer-list-kill-regexps)
2005 (clean-buffer-list-kill-buffer-names): Update for the new Man
2006 buffer naming which includes the object name.
2007
2008 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2010 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2011 (eshell-parse-command, eshell-parse-pipeline): Use it since
2012 eshell-separate-commands requires a dynamic scoped var.
2013 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2014
2015 2013-09-23 Leo Liu <sdl.web@gmail.com>
2016
2017 * autoinsert.el (auto-insert-alist): Make the value of
2018 lexical-binding match its file setting.
2019
2020 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2021
2022 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2023
2024 * autoarg.el (autoarg-kp-digit-argument):
2025 * electric.el (Electric-command-loop):
2026 * kmacro.el (kmacro-step-edit-insert):
2027 Do not set universal-argument-num-events.
2028
2029 2013-09-22 Leo Liu <sdl.web@gmail.com>
2030
2031 * files.el (interpreter-mode-alist): Add octave.
2032
2033 2013-09-21 Alan Mackenzie <acm@muc.de>
2034
2035 C++: fontify identifier in declaration following "public:" correctly.
2036 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2037 to match "public", etc.
2038 (c-decl-prefix-re): Add ":" into the C++ value.
2039 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2040 bit. Add a check for a ":" preceded by "public", etc.
2041
2042 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2043
2044 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2045 recognized by GDB 7.5 and later.
2046
2047 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2048
2049 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2050
2051 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 * subr.el (internal--call-interactively): New const.
2054 (called-interactively-p): Use it (bug#3984).
2055
2056 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2057
2058 * vc/pcvs.el (cvs-mode-ignore):
2059 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2060 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2061
2062 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2065 (eshell-ls-orig-insert-directory): Remove.
2066 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2067 (eshell-ls-use-in-dired): Use advice-add/remove.
2068 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2069 Add `orig-fun' arg for use in :around advice.
2070 Make it check (redundantly) eshell-ls-use-in-dired.
2071
2072 2013-09-19 Glenn Morris <rgm@gnu.org>
2073
2074 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2075
2076 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2077
2078 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2079
2080 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2081
2082 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2083 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2084 (tramp-get-remote-python): New defuns.
2085 (tramp-get-remote-uid-with-perl)
2086 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2087 contributed by yary <not.com@gmail.com> (tiny change).
2088 (tramp-get-remote-uid-with-python)
2089 (tramp-get-remote-gid-with-python): New defuns. Python code
2090 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2091 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2092
2093 2013-09-19 Glenn Morris <rgm@gnu.org>
2094
2095 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2096
2097 * eshell/em-unix.el (eshell-remove-entries):
2098 Rename argument to avoid name-clash with global `top-level'.
2099
2100 * eshell/esh-proc.el (eshell-kill-process-function):
2101 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2102 (eshell-reset-after-proc): Remove unused arg `proc'.
2103
2104 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2105 (directory-files-and-attributes): Mark unused arg.
2106
2107 * eshell/em-unix.el (eshell-remove-entries):
2108 Remove unused arg `path'. Update callers.
2109
2110 * eshell/em-hist.el (eshell-hist-parse-arguments):
2111 Remove unused arg `silent'. Update callers.
2112
2113 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2114 Fix (f)boundp mix-up.
2115
2116 * eshell/em-smart.el (eshell-smart-scroll-window)
2117 (eshell-disable-after-change):
2118 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2119
2120 2013-09-18 Alan Mackenzie <acm@muc.de>
2121
2122 Fix fontification of type when followed by "const".
2123 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2124 "known" types from fontification.
2125
2126 2013-09-18 Glenn Morris <rgm@gnu.org>
2127
2128 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2129 (chart-face-list): Drop Emacsen without display-color-p.
2130
2131 * net/eww.el (libxml-parse-html-region): Declare.
2132 (eww-display-html): Explicit error if no libxml2 support.
2133
2134 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2135
2136 * image.el (image-type-from-buffer, image-multi-frame-p):
2137 Remove --without-x warning/error.
2138
2139 * mouse.el (mouse-yank-primary):
2140 * term.el (term-mouse-paste):
2141 Reorder to silence --without-x compilation.
2142
2143 * mpc.el (doc-view-mode): Silence --without-x compilation.
2144
2145 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2146 Silence --without-x compilation.
2147
2148 * progmodes/gud.el (gud-find-file, gud-mode):
2149 Silence --without-x compilation.
2150 (tooltip-mode): Declare.
2151
2152 * wdired.el (dired-backup-overwrite): Remove declaration.
2153 (wdired-mode-map): Add doc string.
2154
2155 * custom.el (x-get-resource): Declare.
2156
2157 * eshell/em-glob.el (ange-cache):
2158 * eshell/em-unix.el (ange-cache): Declare.
2159
2160 * faces.el (x-display-list, x-open-connection, x-get-resource):
2161 Declare.
2162
2163 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2164 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2165 Declare.
2166
2167 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2168
2169 * net/gnutls.el (gnutls-log-level): Declare.
2170
2171 * net/shr.el (image-size, image-animate): Declare.
2172
2173 * simple.el (font-info): Declare.
2174
2175 * subr.el (x-popup-dialog): Declare.
2176
2177 * term/common-win.el (x-select-enable-primary)
2178 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2179 Declare.
2180
2181 * term/ns-win.el (x-handle-args): Declare.
2182
2183 * term/x-win.el (x-select-enable-clipboard): Declare.
2184
2185 * term/w32-win.el (create-default-fontset): Declare.
2186
2187 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2188 Declare.
2189
2190 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2191 (fit-frame-to-buffer): Explicit error if --without-x.
2192 (mouse-autoselect-window-select): Silence compiler.
2193
2194 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2195
2196 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2197 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2198 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2199 * eshell/esh-util.el (eshell-sublist):
2200 Remove unused local variables.
2201
2202 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2203
2204 * textmodes/two-column.el: Make 2C-split work for --without-x.
2205 (scroll-bar-columns): Autoload.
2206 (top-level): Require fringe when compiling.
2207
2208 2013-09-18 Leo Liu <sdl.web@gmail.com>
2209
2210 * subr.el (add-hook): Robustify to handle closure as well.
2211
2212 2013-09-17 Glenn Morris <rgm@gnu.org>
2213
2214 * simple.el (messages-buffer-mode-map): Unbind "g".
2215
2216 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * help-mode.el (help-mode-finish): Use derived-mode-p.
2219 Remove obsolete highlighting.
2220
2221 * play/life.el (life-mode): Use define-derived-mode. Derive from
2222 special-mode.
2223 (life): Let-bind inhibit-read-only.
2224 (life-setup): Avoid `setq'. Use `life-mode'.
2225
2226 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2227 which should not be needed any more.
2228 (package-menu-refresh, package-menu-describe-package): Use user-error.
2229
2230 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2231 (eshell-post-rewrite-command-hook): Make obsolete.
2232 (eshell-parse-command): Simplify.
2233 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2234 (eshell--cmd): Declare.
2235 (eshell-parse-pipeline): Remove unused var `final-p'.
2236 Pass a dynvar to eshell-post-rewrite-command-hook.
2237 Implement the new eshell-post-rewrite-command-function.
2238 (eshell-invoke-directly): Remove unused arg `input'.
2239 * eshell/esh-io.el (eshell-io-initialize):
2240 Use eshell-post-rewrite-command-function (bug#15399).
2241 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2242 adjust to new calling convention.
2243 (eshell-create-handles): Rename args to avoid clashing with dynvar
2244 `standard-output'.
2245
2246 2013-09-17 Glenn Morris <rgm@gnu.org>
2247
2248 * simple.el (messages-buffer-mode): New major mode.
2249 (messages-buffer): New function.
2250 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2251 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2252 (ert-run-test): Use `messages-buffer' function.
2253 (ert--force-message-log-buffer-truncation): Ignore read-only.
2254 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2255 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2256
2257 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2258
2259 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2260
2261 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2262
2263 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * icomplete.el (icomplete-in-buffer): New var.
2266 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2267 vars and replace them with functions.
2268 (icomplete-minibuffer-setup): Adjust accordingly.
2269 (icomplete--completion-table, icomplete--completion-predicate)
2270 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2271 New functions.
2272 (icomplete-forward-completions, icomplete-backward-completions)
2273 (icomplete-simple-completing-p, icomplete-exhibit)
2274 (icomplete-completions): Use them.
2275 (icomplete--in-region-buffer): New var.
2276 (icomplete--in-region-setup): New function.
2277 (icomplete-mode): Use it.
2278
2279 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2280 (bug#15379).
2281 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2282 return args and options.
2283 (eshell-eval-using-options): Use the new return value of
2284 eshell--do-opts to set the options's vars in their scope.
2285 (eshell--set-option): Rename from eshell-set-option.
2286 Add arg `opt-vals'.
2287 (eshell--process-option): Rename from eshell-process-option.
2288 Add arg `opt-vals'.
2289 (eshell--process-args): Use an `opt-vals' alist to store the options's
2290 values during their processing and return them additionally to the
2291 remaining args.
2292
2293 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2294
2295 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2296 continuation character an operator, as far as indentation is
2297 concerned (Bug#15369).
2298
2299 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2300
2301 * window.el (window--state-put-2): Don't process buffer state
2302 when buffer doesn't exist any more (Bug#15382).
2303
2304 2013-09-15 Glenn Morris <rgm@gnu.org>
2305
2306 * eshell/em-unix.el (eshell/rm):
2307 Make -f ignore missing files. (Bug#15373)
2308
2309 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2310 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2311 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2312
2313 2013-09-14 Glenn Morris <rgm@gnu.org>
2314
2315 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2316
2317 2013-09-13 Glenn Morris <rgm@gnu.org>
2318
2319 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2320 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2321
2322 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2323
2324 * frame.el (x-focus-frame): Mark as declared in frame.c.
2325
2326 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * ls-lisp.el: Use advice-add.
2329 (original-insert-directory): Remove.
2330 (ls-lisp--insert-directory): Rename from insert-directory; add
2331 `orig-fun' argument.
2332 (insert-directory): Advise.
2333
2334 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2335
2336 * term.el (term-emulate-terminal): Decode the command string
2337 before passing it to term-command-hook. (Bug#15337)
2338
2339 2013-09-13 Glenn Morris <rgm@gnu.org>
2340
2341 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2342
2343 * eshell/esh-ext.el (eshell-search-path): Declare.
2344
2345 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2346 Otherwise an error occurs if eshell-dirs module not loaded.
2347
2348 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2349
2350 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2351
2352 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2353 `tramp-check-proper-host'. Check for a valid method name.
2354
2355 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2356 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2357 * net/tramp-sh.el (tramp-maybe-open-connection):
2358 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2359
2360 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2361 also for hash values.
2362
2363 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * term/ns-win.el (parameters): Don't declare as dynamic.
2366 (before-make-frame-hook): Don't add ineffective function.
2367
2368 * eshell/*.el: Use lexical-binding (bug#15231).
2369
2370 2013-09-12 Kenichi Handa <handa@gnu.org>
2371
2372 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2373
2374 2013-09-12 Glenn Morris <rgm@gnu.org>
2375
2376 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2377 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2378
2379 * subr.el (do-after-load-evaluation): Also give compiler warnings
2380 when obsolete files are used (except by obsolete files).
2381
2382 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2383 in the status output, assume `filename' is the first. (Bug#15322)
2384
2385 * vc/vc.el (vc-deduce-fileset): Doc fix.
2386
2387 * calc/calc-help.el (Info-goto-node):
2388 * progmodes/cperl-mode.el (Info-find-node):
2389 * vc/ediff.el (Info-goto-node): Update declarations.
2390
2391 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2392
2393 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2394 (vc-bzr-pull): Require vc-dispatcher.
2395 * vc/vc-git.el (vc-compilation-mode): Declare.
2396 (vc-git-pull): Require vc-dispatcher.
2397
2398 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2399
2400 * progmodes/octave.el (help-button-action): Declare.
2401
2402 * shell.el (shell-directory-tracker): Output error as a message
2403 rather than just returning it as a string.
2404 (shell-process-pushd): Remove useless use of message.
2405
2406 * dframe.el (dframe-timer-fn):
2407 * files.el (dir-locals-read-from-file):
2408 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2409 (mpc-format):
2410 * reveal.el (reveal-post-command):
2411 * saveplace.el (load-save-place-alist-from-file):
2412 * shell.el (shell-resync-dirs):
2413 * w32-common-fns.el (x-get-selection-value):
2414 * emacs-lisp/copyright.el (copyright-find-copyright):
2415 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2416 * emulation/tpu-edt.el (tpu-copy-keyfile):
2417 * play/bubbles.el (bubbles--mark-neighbourhood):
2418 * progmodes/executable.el
2419 (executable-make-buffer-file-executable-if-script-p):
2420 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2421
2422 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2423
2424 Cleanup Eshell to rely less on dynamic scoping.
2425 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2426 last-value, and ext-command here. Bind `args' closer to `body'.
2427 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2428 (eshell--args): Declare new dynamic var.
2429 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2430 last-value, and ext-command. Pass `args' to `body'.
2431 (eshell-process-args): Bind eshell--args.
2432 (eshell-set-option): Use eshell--args.
2433 * eshell/eshell.el (eshell): Use derived-mode-p.
2434 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2435 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2436 (eshell-glob-function): Declare.
2437 * eshell/esh-util.el: Require cl-lib.
2438 (eshell-read-hosts-file): Avoid add-to-list.
2439 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2440 `err'.
2441 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2442 Declare.
2443 (eshell/diff): Remove unused var `err'.
2444 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2445 `killflag'.
2446 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2447 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2448 first use.
2449 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2450 Move declaration before first use.
2451 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2452 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2453 rely on cl-return.
2454
2455 2013-09-12 Glenn Morris <rgm@gnu.org>
2456
2457 * term/ns-win.el (global-map): Remove binding for ispell-next,
2458 deleted 1999-05-29. (Bug#15357)
2459
2460 2013-09-11 Glenn Morris <rgm@gnu.org>
2461
2462 * echistory.el (electric-command-history): Remove call to deleted func.
2463
2464 * play/landmark.el (landmark-mode): Fix typos.
2465
2466 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2467 Check cvs-sort-ignore-file is bound.
2468
2469 * savehist.el: No need for cl when compiling on Emacs.
2470
2471 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2474 (bug#15338).
2475 (eshell-self-insert-command, eshell-send-invisible):
2476 Remove unused argument.
2477 (eshell-handle-control-codes): Remove unused var `orig'.
2478 Avoid delete-backward-char.
2479
2480 * files.el (set-auto-mode): Simplify a bit further.
2481
2482 2013-09-11 Glenn Morris <rgm@gnu.org>
2483
2484 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2485 (set-auto-mode): Don't regexp-quote elements.
2486 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2487 * progmodes/cc-mode.el (interpreter-mode-alist):
2488 * progmodes/ruby-mode.el (interpreter-mode-alist):
2489 Revert previous change.
2490
2491 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * play/snake.el (snake-mode):
2494 * play/mpuz.el (mpuz-mode):
2495 * play/landmark.el (lm-mode):
2496 * play/blackbox.el (blackbox-mode):
2497 * play/5x5.el (5x5-mode):
2498 * obsolete/options.el (Edit-options-mode):
2499 * net/quickurl.el (quickurl-list-mode):
2500 * net/newst-treeview.el (newsticker-treeview-mode):
2501 * mail/rmailsum.el (rmail-summary-mode):
2502 * mail/mspools.el (mspools-mode):
2503 * locate.el (locate-mode):
2504 * ibuffer.el (ibuffer-mode):
2505 * emulation/ws-mode.el (wordstar-mode):
2506 * emacs-lisp/debug.el (debugger-mode):
2507 * array.el (array-mode):
2508 * net/eudc.el (eudc-mode): Use define-derived-mode.
2509 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2510 Move initialization into declaration.
2511 (mairix-searches-mode): Use define-derived-mode.
2512 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2513 (eudc-edit-hotlist): Use dolist.
2514 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2515 (Man-mode): Use define-derived-mode.
2516 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2517 (Info-edit-mode): Use define-derived-mode.
2518 (Info-cease-edit): Use Info-mode.
2519 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2520 into declaration.
2521 (eshell-mode): Use define-derived-mode.
2522 * chistory.el (command-history-mode-map): Rename from
2523 command-history-map.
2524 (command-history-mode): Use define-derived-mode.
2525 (Command-history-setup): Remove function.
2526 * calc/calc.el (calc-trail-mode-map): New var.
2527 (calc-trail-mode): Use define-derived-mode.
2528 (calc-trail-buffer): Set calc-main-buffer manually.
2529 * bookmark.el (bookmark-insert-annotation): New function.
2530 (bookmark-edit-annotation): Use it.
2531 (bookmark-edit-annotation-mode): Make it a proper major mode.
2532 (bookmark-send-edited-annotation): Use derived-mode-p.
2533 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2534 closer to its ideal place. Use \' to match EOS.
2535
2536 * profiler.el (profiler-calltree-find): Use function-equal.
2537
2538 2013-09-10 Glenn Morris <rgm@gnu.org>
2539
2540 * files.el (interpreter-mode-alist): Convert to regexps.
2541 (set-auto-mode): Adapt for this. (Bug#15306)
2542 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2543 Comment out unused variable.
2544 * progmodes/cc-mode.el (interpreter-mode-alist):
2545 * progmodes/python.el (interpreter-mode-alist):
2546 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2547 * progmodes/sh-script.el (sh-set-shell):
2548 No longer use interpreter-mode-alist to get list of shells.
2549
2550 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2551
2552 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * simple.el: Use set-temporary-overlay-map for universal-argument.
2555 (universal-argument-map): Don't use default-bindings (bug#15317).
2556 Bind switch-frame explicitly. Replace universal-argument-minus with
2557 a conditional binding.
2558 (universal-argument-num-events, saved-overriding-map): Remove.
2559 (restore-overriding-map): Remove.
2560 (universal-argument--mode): Rename from save&set-overriding-map,
2561 and rewrite.
2562 (universal-argument, universal-argument-more, negative-argument)
2563 (digit-argument): Adjust accordingly.
2564 (universal-argument-minus): Remove.
2565 (universal-argument-other-key): Remove.
2566
2567 * subr.el (with-demoted-errors): Add `format' argument.
2568
2569 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2572 `tramp-cleanup-connection'.
2573
2574 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2575 parameters KEEP-DEBUG and KEEP-PASSWORD.
2576
2577 * net/tramp.el (tramp-file-name-handler):
2578 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2579 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2580 (tramp-maybe-open-connection):
2581 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2582 Use `tramp-cleanup-connection'.
2583
2584 * net/tramp-sh.el (tramp-maybe-open-connection):
2585 Catch 'uname-changed inside the progress reporter.
2586
2587 2013-09-10 Glenn Morris <rgm@gnu.org>
2588
2589 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2590
2591 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2592 returns "alternate access method" in mode (eg "-rw-r--r--.").
2593
2594 2013-09-08 Glenn Morris <rgm@gnu.org>
2595
2596 * saveplace.el (load-save-place-alist-from-file):
2597 Demote errors. (Bug#15305)
2598
2599 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2600
2601 Improve compatibility with older Emacsen, and XEmacs.
2602
2603 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2604 only if it is bound. It isn't for XEmacs.
2605 (with-tramp-progress-reporter): Do not let-bind `result'.
2606 This yields to scoping errors in XEmacs.
2607 (tramp-handle-make-auto-save-file-name): New function, moved from
2608 tramp-sh.el.
2609
2610 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2611 for `make-auto-save-file-name'.
2612 (tramp-adb--gnu-switches-to-ash):
2613 Use `tramp-compat-replace-regexp-in-string'.
2614
2615 * net/tramp-cache.el (tramp-cache-print): Call
2616 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2617
2618 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2619 bound. It isn't for XEmacs.
2620
2621 * net/tramp-compat.el (tramp-compat-copy-file):
2622 Catch `wrong-number-of-arguments' error.
2623 (tramp-compat-replace-regexp-in-string): New defun.
2624
2625 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2626 for `make-auto-save-file-name'.
2627 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2628 `copy-file'.
2629 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2630 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2631 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2632
2633 * net/tramp-gw.el (tramp-gw-open-network-stream):
2634 Use `tramp-compat-replace-regexp-in-string'.
2635
2636 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2637 Call `tramp-handle-make-auto-save-file-name'.
2638 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2639 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2640 (tramp-sh-file-inotifywait-process-filter):
2641 Use `tramp-compat-replace-regexp-in-string'.
2642 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2643
2644 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2645 for `make-auto-save-file-name'.
2646 (tramp-smb-handle-copy-directory):
2647 Call `tramp-compat-replace-regexp-in-string'.
2648 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2649 (tramp-smb-handle-copy-file): Improve error message.
2650 (tramp-smb-handle-rename-file): Rename directly only in case
2651 `newname' does not exist yet. This is a restriction of smbclient.
2652 (tramp-smb-maybe-open-connection): Rerun the function only when
2653 `auth-sources' is non-nil.
2654
2655 2013-09-08 Kenichi Handa <handa@gnu.org>
2656
2657 * international/characters.el: Set category "^" (Combining) for
2658 more characters.
2659
2660 2013-09-07 Alan Mackenzie <acm@muc.de>
2661
2662 Correctly fontify Java class constructors.
2663 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2664 in Java Mode.
2665 (c-recognize-typeless-decls): Set the Java value to t.
2666 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2667 While handling a "(", add a check for, effectively, Java, and handle a
2668 "typeless" declaration there.
2669
2670 2013-09-07 Roland Winkler <winkler@gnu.org>
2671
2672 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2673 field subtitle for entry type book.
2674
2675 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * minibuffer.el: Make minibuffer-complete call completion-in-region
2678 rather than other way around.
2679 (completion--some, completion-pcm--find-all-completions):
2680 Don't delay signals when debugging.
2681 (minibuffer-completion-contents): Beware fields within the
2682 minibuffer contents.
2683 (completion-all-sorted-completions): Use defvar-local.
2684 (completion--do-completion, completion--cache-all-sorted-completions)
2685 (completion-all-sorted-completions, minibuffer-force-complete):
2686 Add args `beg' and `end'.
2687 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2688 (minibuffer-complete): Use completion-in-region.
2689 (completion-complete-and-exit): New fun, extracted from
2690 minibuffer-complete-and-exit.
2691 (minibuffer-complete-and-exit): Use it.
2692 (completion--complete-and-exit): Rename from
2693 minibuffer--complete-and-exit.
2694 (completion-in-region--single-word): New function, extracted from
2695 minibuffer-complete-word.
2696 (minibuffer-complete-word): Use it.
2697 (display-completion-list): Make `common-substring' argument obsolete.
2698 (completion--in-region): Call completion--in-region-1 instead of
2699 minibuffer-complete.
2700 (completion-help-at-point): Pass boundaries to
2701 minibuffer-completion-help as args rather than via an overlay.
2702 (completion-pcm--string->pattern): Use `any-delim'.
2703 (completion-pcm--optimize-pattern): New function.
2704 (completion-pcm--pattern->regex): Handle `any-delim'.
2705 * icomplete.el (icomplete-forward-completions)
2706 (icomplete-backward-completions, icomplete-completions):
2707 Adjust calls to completion-all-sorted-completions and
2708 completion--cache-all-sorted-completions.
2709 (icomplete-with-completion-tables): Default to t.
2710 * emacs-lisp/crm.el (crm--current-element): Rename from
2711 crm--select-current-element. Don't put an overlay but return the
2712 boundaries instead.
2713 (crm--completion-command): Take two new args to bind to the boundaries.
2714 (crm-completion-help): Adjust accordingly.
2715 (crm-complete): Use completion-in-region.
2716 (crm-complete-word): Use completion-in-region--single-word.
2717 (crm-complete-and-exit): Use completion-complete-and-exit.
2718
2719 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2722 than dynamically.
2723
2724 2013-09-06 Juri Linkov <juri@jurta.org>
2725
2726 * info.el (Info-display-images-node): When image file doesn't exist
2727 display text version of the image if it's provided in the Info file.
2728 Otherwise, display the location of missing image from SRC attribute.
2729 Add help-echo text property from ALT attribute. (Bug#15279)
2730
2731 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2732
2733 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2734 (edit-abbrevs-mode): Use define-derived-mode.
2735
2736 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2737 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2738 that it's defined.
2739 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2740 Use define-derived-mode.
2741
2742 * epg.el (epg-start-encrypt): Minor CSE simplification.
2743
2744 2013-09-06 William Xu <william.xwl@gmail.com>
2745
2746 * arc-mode.el: Add support for 7za (bug#15264).
2747 (archive-7z-program): New var.
2748 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2749 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2750 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2751
2752 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2753
2754 Remove URL syntax.
2755
2756 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2757 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2758 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2759 (tramp-postfix-host-format, tramp-file-name-regexp)
2760 (tramp-completion-file-name-regexp)
2761 (tramp-completion-dissect-file-name)
2762 (tramp-handle-substitute-in-file-name): Remove 'url case.
2763 (tramp-file-name-regexp-url)
2764 (tramp-completion-file-name-regexp-url): Remove constants.
2765
2766 2013-09-06 Glenn Morris <rgm@gnu.org>
2767
2768 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2769
2770 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2771
2772 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2773 keywords" below "here-doc beginnings" (Bug#15270).
2774
2775 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * subr.el (pop): Use `car-safe'.
2778 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2779 to detect unused `pop' return value.
2780
2781 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2782 var `block-regexp'.
2783 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2784 (python-fill-string): Remove unused var `marker'.
2785 (python-skeleton-add-menu-items): Remove unused var `items'.
2786
2787 * international/mule-cmds.el: Require CL.
2788 (find-coding-systems-for-charsets): Avoid add-to-list.
2789 (sanitize-coding-system-list): New function, extracted from
2790 select-safe-coding-system-interactively.
2791 (select-safe-coding-system-interactively): Use it.
2792 (read-input-method-name): Accept symbols for `default'.
2793
2794 * emacs-lisp/advice.el (defadvice): Add indent rule.
2795
2796 2013-09-05 Daniel Hackney <dan@haxney.org>
2797
2798 * dired-x.el:
2799 * net/ange-ftp.el:
2800 * net/browse-url.el:
2801 * net/dbus.el:
2802 * net/eudc.el:
2803 * net/eudcb-ldap.el:
2804 * net/eww.el:
2805 * net/imap.el:
2806 * printing.el:
2807 * vc/ediff-diff.el:
2808 * vc/ediff-init.el:
2809 * vc/ediff-merg.el:
2810 * vc/ediff-mult.el:
2811 * vc/ediff-util.el:
2812 * vc/ediff-wind.el:
2813 * vc/ediff.el:
2814 * vc/emerge.el:
2815 * vc/pcvs.el:
2816 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2817 byte compiler. Remove some unused let-bound variables.
2818
2819 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2820
2821 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2822 a "ref-cell", since it gets better optimized (bug#14883).
2823
2824 2013-09-05 Glenn Morris <rgm@gnu.org>
2825
2826 * progmodes/cc-awk.el (c-forward-sws): Declare.
2827
2828 2013-09-04 Glenn Morris <rgm@gnu.org>
2829
2830 * generic-x.el [rul-generic-mode]: Require cc-mode.
2831 (c++-mode-syntax-table): Declare.
2832 (rul-generic-mode-syntax-table): Init in the defvar.
2833
2834 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2837 (vc-do-command, vc-set-async-update):
2838 * vc/vc-mtn.el (vc-mtn-dir-status):
2839 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2840 (vc-hg-pull, vc-hg-merge-branch):
2841 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2842 (vc-git-merge-branch):
2843 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2844 (vc-cvs-dir-status-files):
2845 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2846 (vc-bzr-dir-status-files):
2847 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2848 * vc/vc-annotate.el: Use lexical-binding.
2849 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2850 (vc-sentinel-movepoint): Declare.
2851 (vc-annotate): Don't use `goto-line'.
2852 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2853 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2854 (vc-sentinel-movepoint): Declare.
2855 * vc/vc-svn.el: Use lexical-binding.
2856 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2857 * vc/vc-sccs.el:
2858 * vc/vc-rcs.el: Use lexical-binding.
2859
2860 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2861 `deleted'. Don't drop errors silently.
2862
2863 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2864
2865 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2866
2867 * vc/vc.el (vc-ignore): Rewrite.
2868 (vc-default-ignore): New function.
2869 (vc-default-ignore-completion-table): Use find-ignore-file.
2870
2871 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2872 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2873 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2874 Remove. Most code moved to vc.el.
2875
2876 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2879 * net/tramp-smb.el (tramp-smb-get-file-entries):
2880 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2881 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2882
2883 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2884 Update call to it.
2885 (eww-change-select): Remove unused var `properties'.
2886 (eww-make-unique-file-name): Remove unused var `base'.
2887
2888 * finder.el (finder-compile-keywords): Don't mess with windows.
2889
2890 * calculator.el (calculator-funcall): Fix typo in last change.
2891
2892 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2893
2894 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2895 <pkg>-autoloads.el file stop us.
2896
2897 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2898 warnings, and factor out common code.
2899
2900 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2901
2902 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2903 two-character operators and whether the character preceding them
2904 changes their meaning (Bug#15208).
2905
2906 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2907
2908 Format code sent to Python shell for robustness.
2909 * progmodes/python.el (python-shell-buffer-substring):
2910 New function.
2911 (python-shell-send-region, python-shell-send-buffer): Use it.
2912
2913 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2914
2915 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2916 * net/tramp.el (tramp-user-error): ... here.
2917 (tramp-find-method, tramp-check-proper-host)
2918 (tramp-dissect-file-name, tramp-debug-message)
2919 (tramp-handle-shell-command):
2920 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2921 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2922
2923 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2924
2925 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2926
2927 * avoid.el (mouse-avoidance-point-position)
2928 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2929 returns nil.
2930
2931 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2932
2933 * progmodes/python.el (python-shell-completion-get-completions):
2934 Drop use of deleted `comint-last-prompt-overlay'.
2935 (python-nav-if-name-main): New command.
2936
2937 2013-09-01 Glenn Morris <rgm@gnu.org>
2938
2939 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2940 Avoid leading space in $wins. Otherwise the sed command used by
2941 eg compile-main ends up containing "/*.el". (Bug#15170)
2942
2943 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2944
2945 2013-08-30 Glenn Morris <rgm@gnu.org>
2946
2947 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2948 Fix is-this-a-directory logic. (Bug#15220)
2949
2950 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * textmodes/css-mode.el: Use SMIE.
2953 (css-smie-grammar): New var.
2954 (css-smie--forward-token, css-smie--backward-token)
2955 (css-smie-rules): New functions.
2956 (css-mode): Use them.
2957 (css-navigation-syntax-table): Remove var.
2958 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2959 (css-indent-calculate, css-indent-line): Remove functions.
2960
2961 Misc changes to reduce use of `(lambda...); and other cleanups.
2962 * cus-edit.el: Use lexical-binding.
2963 (customize-push-and-save, customize-apropos)
2964 (custom-buffer-create-internal): Use closures.
2965 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2966 * progmodes/ada-xref.el: Use setq.
2967 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2968 * dframe.el: Use lexical-binding.
2969 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2970 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2971 * descr-text.el: Use lexical-binding.
2972 (describe-text-widget, describe-text-sexp, describe-property-list):
2973 Use closures.
2974 * comint.el (comint-history-isearch-push-state): Use a closure.
2975 * calculator.el: Use lexical-binding.
2976 (calculator-number-to-string): Make it work with lexical-binding.
2977 (calculator-funcall): Same and use cl-letf.
2978
2979 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2980 (lisp--company-doc-string, lisp--company-location): New functions.
2981 (lisp-completion-at-point): Use them to improve Company support.
2982
2983 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2984 params of lambda expressions.
2985 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2986 (ruby-smie--opening-pipe-p): New function.
2987 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2988 symbols and matched |...| for formal params.
2989 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2990 from being treated as hanging. Handle "rescue".
2991
2992 2013-08-29 Glenn Morris <rgm@gnu.org>
2993
2994 * progmodes/cc-engine.el (c-pull-open-brace):
2995 Move definition before use.
2996
2997 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2998
2999 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3000 are immutable. Don't use `unsafe' any more.
3001 (cl--defsubst-expand): Don't substitute at the same time as keeping
3002 a residual unused let-binding. Don't use `unsafe' any more.
3003
3004 2013-08-29 Glenn Morris <rgm@gnu.org>
3005
3006 * calendar/cal-china.el (calendar-chinese-year-cache):
3007 Recenter on 2015.
3008
3009 * nxml/nxml-util.el (nxml-debug-clear-inside):
3010 Use cl-loop rather than loop.
3011
3012 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3013
3014 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3015
3016 2013-08-28 Glenn Morris <rgm@gnu.org>
3017
3018 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3019
3020 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3021
3022 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3023
3024 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * simple.el (repeat-complex-command--called-interactively-skip):
3027 New function.
3028 (repeat-complex-command): Use it (bug#14136).
3029
3030 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3031 (c-define-abbrev-table): Add `doc' argument.
3032 (c-mode-abbrev-table, c++-mode-abbrev-table)
3033 (objc-mode-abbrev-table, java-mode-abbrev-table)
3034 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3035 (awk-mode-abbrev-table): Use it.
3036 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3037 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3038 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3039 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3040 Move initialization into the declaration; and remove any
3041 autoload cookie.
3042
3043 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3044 and dynamic let binding.
3045
3046 * vc/smerge-mode.el: Remove redundant :group args.
3047
3048 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3049 to load-path.
3050
3051 2013-08-28 Juri Linkov <juri@jurta.org>
3052
3053 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3054 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3055 (isearch-other-meta-char): Handle an undefined shifted printing
3056 character by downshifting it. (Bug#15200)
3057
3058 2013-08-28 Juri Linkov <juri@jurta.org>
3059
3060 * isearch.el (isearch-search): Change regexp error message for
3061 non-regexp searches. (Bug#15166)
3062
3063 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3064
3065 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3066 for portability to hosts where /bin/sh has problems.
3067
3068 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3071
3072 2013-08-27 Juri Linkov <juri@jurta.org>
3073
3074 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3075 in the keyboard macro. (Bug#15126)
3076
3077 2013-08-27 Juri Linkov <juri@jurta.org>
3078
3079 * isearch.el (isearch-quote-char): Comment out converting unibyte
3080 to multibyte, thus syncing with its `quoted-insert' counterpart.
3081 (Bug#15166)
3082
3083 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3084
3085 * window.el (display-buffer-use-some-window): Add missing
3086 argument in call of get-largest-window (Bug#15185).
3087 Reported by Stephen Leake.
3088
3089 2013-08-27 Glenn Morris <rgm@gnu.org>
3090
3091 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3092
3093 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3096 from a matcher-function unless there's no more matches (bug#15161).
3097
3098 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * minibuffer.el: Revert change from 2013-08-20.
3101
3102 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3103 with text property `tramp-default', if appropriate.
3104 (tramp-check-proper-host): New defun.
3105 (tramp-dissect-file-name): Do not check hostname. Revert change
3106 of 2013-03-18.
3107 (tramp-backtrace): Make VEC-OR-PROC optional.
3108
3109 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3110 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3111 * net/tramp-sh.el (tramp-maybe-open-connection):
3112 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3113 Apply `tramp-check-proper-host'.
3114
3115 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3116
3117 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3118 lambda expression in order to have `describe-variable' display it.
3119
3120 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3121
3122 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3123 BUF can be optional. (Bug#15186)
3124
3125 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3126
3127 * progmodes/flymake.el (flymake-get-real-file-name-function):
3128 Fix broken customization. (Bug#15184)
3129
3130 2013-08-25 Alan Mackenzie <acm@muc.de>
3131
3132 Improve indentation of bracelists defined by macros (without "=").
3133
3134 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3135 expansion begins with "{", regard it as bracelist when it doesn't
3136 contain a ";".
3137
3138 Parse C++ inher-intro when there's a template split over 2 lines.
3139
3140 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3141 rigorously the search for "class" etc. followed by ":".
3142
3143 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3144 random languages a regexp which never matches rather than nil.
3145
3146 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3147
3148 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3149 (c-awk-regexp-one-line-possibly-open-char-list-re)
3150 (c-awk-one-line-possibly-open-regexp-re)
3151 (c-awk-one-line-non-syn-ws*-re): Remove.
3152 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3153 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3154 (c-awk-space*-unclosed-regexp-/-re): New constants.
3155 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3156 aren't regexp delimiters.
3157
3158 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3159 handling for a rare situation in AWK Mode involving unterminated
3160 strings/regexps.
3161
3162 2013-08-23 Glenn Morris <rgm@gnu.org>
3163
3164 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3165
3166 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3167
3168 * files.el (create-file-buffer): If the result would begin with
3169 spaces, prepend a "|" instead of removing them. (Bug#15162)
3170
3171 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3174 text-properties (bug#15155).
3175
3176 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3177 exist any more.
3178 (calc-keypad-redraw): Remove unused var `pad'.
3179 (calc-keypad-press): Remove unused var `menu'.
3180
3181 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3182
3183 * window.el (display-buffer-pop-up-frame):
3184 Call pop-up-frame-function with BUFFER current so `make-frame' will
3185 use it as the new frame's buffer (Bug#15133).
3186
3187 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 * calendar/timeclock.el: Minor cleanups.
3190 (timeclock-ask-before-exiting, timeclock-use-display-time):
3191 Use `symbol'.
3192 (timeclock-modeline-display): Define as alias before the
3193 actual definition.
3194 (timeclock-mode-line-display): Use define-minor-mode.
3195 (timeclock-day-list-template): Make it a function, add an argument.
3196 (timeclock-day-list-required, timeclock-day-list-length)
3197 (timeclock-day-list-debt, timeclock-day-list-span)
3198 (timeclock-day-list-break): Adjust calls accordingly.
3199
3200 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3203 Use read--expression so that completion works again.
3204
3205 2013-08-21 Sam Steingold <sds@gnu.org>
3206
3207 Add rudimentary inferior shell interaction
3208 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3209 (sh-set-shell): Reset it.
3210 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3211 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3212
3213 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3214
3215 * align.el: Use lexical-binding.
3216 (align-region): Simplify accordingly.
3217
3218 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3219
3220 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3221
3222 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3223 `non-essential' up.
3224
3225 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3226
3227 * net/tramp.el:
3228 * net/tramp-adb.el:
3229 * net/tramp-cmds.el:
3230 * net/tramp-ftp.el:
3231 * net/tramp-gvfs.el:
3232 * net/tramp-gw.el:
3233 * net/tramp-sh.el: Don't wrap external variable declarations by
3234 `eval-when-compile'.
3235
3236 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3237
3238 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3239 now that Emacs supports ImageMagick animations.
3240
3241 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3242
3243 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3244 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3245
3246 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3247
3248 * window.el (mouse-autoselect-window-select): Do autoselect when
3249 mouse pointer is on margin.
3250
3251 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3252
3253 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3254
3255 2013-08-16 Glenn Morris <rgm@gnu.org>
3256
3257 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3258 Handle "Remote Directory" response of some clients. (Bug#15058)
3259
3260 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3261 Tweak warning. (Bug#14926)
3262
3263 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3264 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3265
3266 * image-mode.el (image-mode-map): Add menu items to reverse,
3267 increase, decrease, reset animation speed.
3268 (image--set-speed, image-increase-speed, image-decrease-speed)
3269 (image-reverse-speed, image-reset-speed): New functions.
3270 (image-mode-map): Add bindings for speed commands.
3271
3272 * image.el (image-animate-get-speed, image-animate-set-speed):
3273 New functions.
3274 (image-animate-timeout): Respect image :speed property.
3275
3276 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3279 previous line (bug#15101).
3280 (debugger-eval-expression, debugger-record-expression):
3281 Use read--expression (bug#15102).
3282
3283 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3284
3285 Remove byte compiler warnings, visible when compiling with
3286 `byte-compile-force-lexical-warnings' set to t.
3287
3288 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3289 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3290 (tramp-handle-unhandled-file-name-directory)
3291 (tramp-handle-file-notify-add-watch, tramp-action-login)
3292 (tramp-action-succeed, tramp-action-permission-denied)
3293 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3294 arguments with "_".
3295
3296 * net/tramp-adb.el (tramp-adb-parse-device-names)
3297 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3298 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3299 (tramp-adb-handle-file-truename): Remove unused arguments.
3300
3301 * net/tramp-cache.el (tramp-flush-directory-property)
3302 (tramp-flush-connection-property, tramp-list-connections)
3303 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3304
3305 * net/tramp-compat.el (tramp-compat-make-temp-file):
3306 Rename FILENAME to F.
3307
3308 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3309 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3310 (tramp-zeroconf-parse-workstation-device-names)
3311 (tramp-zeroconf-parse-webdav-device-names)
3312 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3313
3314 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3315 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3316
3317 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3318 arguments.
3319 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3320 (tramp-sh-handle-insert-file-contents-literally)
3321 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3322 with "_".
3323 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3324 Remove unused variables.
3325
3326 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3327 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3328 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3329
3330 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3331 Make them a defconst.
3332 (tramp-uuencode-region): Remove unused variable.
3333
3334 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3335
3336 * frameset.el (frameset--prop-setter): New function.
3337 (frameset-prop): Add gv-setter declaration.
3338 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3339 parameter was already set in FILTERED. Doc fix.
3340 (frameset--record-minibuffer-relationships): Allow saving a
3341 minibufferless frame without its corresponding minibuffer frame.
3342 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3343 frame, if the frame id matches.
3344 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3345 frames before orphaned ones.
3346 (frameset-restore): Warn about orphaned windows, instead of error out.
3347
3348 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3349
3350 * window.el (window-make-atom): Don't overwrite parameter
3351 already present.
3352 (display-buffer-in-atom-window): Handle special case where we
3353 split an already atomic window.
3354 (window--major-non-side-window, display-buffer-in-side-window)
3355 (window--side-check): Ignore minibuffer window when walking
3356 window tree.
3357 (window-deletable-p): Return 'frame only if no other frame uses
3358 our minibuffer window.
3359 (record-window-buffer): Run buffer-list-update-hook.
3360 (split-window): Make sure window--check-frame won't destroy an
3361 existing atomic window in case the new window gets nested
3362 inside.
3363 (display-buffer-at-bottom): Ignore minibuffer window when
3364 walking window tree. Don't split a side window.
3365 (pop-to-buffer): Don't set-buffer here, the select-window call
3366 should do that.
3367 (mouse-autoselect-window-select): Autoselect only if we are in the
3368 text portion of the window.
3369
3370 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3371
3372 * net/shr.el (shr-parse-image-data): New function to grab both the
3373 data itself and the Content-Type.
3374 (shr-put-image): Use it.
3375
3376 * net/eww.el (eww-display-image): Ditto.
3377
3378 * image.el (image-content-type-suffixes): New variable.
3379
3380 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3381
3382 * progmodes/python.el (python-imenu--build-tree)
3383 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3384
3385 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3386
3387 * simple.el (backward-word): Mention the optional argument.
3388
3389 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * frameset.el (frameset--make): Rename constructor from make-frameset.
3392 (frameset-p, frameset-valid-p): Don't autoload.
3393 (frameset-valid-p): Use normal accessors.
3394
3395 2013-08-13 Glenn Morris <rgm@gnu.org>
3396
3397 * progmodes/compile.el (compile-command): Tweak example in doc.
3398 * obsolete/scribe.el (scribe-mode):
3399 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3400
3401 * mail/feedmail.el (feedmail-confirm-outgoing)
3402 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3403
3404 * cus-start.el (truncate-partial-width-windows): Fix type.
3405
3406 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3407
3408 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3409
3410 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emacs-lisp/timer.el (timer--time-setter): New function.
3413 (timer--time): Use it as gv-setter.
3414
3415 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3416 setter is not a symbol.
3417
3418 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3419
3420 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3421 if sending fails. This makes debugging easier.
3422
3423 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3424
3425 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3426 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3427 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3428
3429 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3430
3431 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3432
3433 2013-08-12 Glenn Morris <rgm@gnu.org>
3434
3435 * format.el (format-annotate-function):
3436 Handle read-only text properties in the source. (Bug#14887)
3437
3438 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3439
3440 * net/eww.el (eww-display-html): Ignore coding system errors.
3441 One web site uses "utf-8lias" as the coding system.
3442
3443 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3444
3445 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3446
3447 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3448
3449 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3450 (tutorial--detailed-help): Remove unused local variables.
3451 (tutorial--save-tutorial-to): Use ignore-errors.
3452 (help-with-tutorial): Use looking-at-p.
3453
3454 * view.el (view-buffer-other-window, view-buffer-other-frame):
3455 Mark unused arguments.
3456
3457 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3458 (woman-select-symbol-fonts, woman, woman-find-file)
3459 (woman-insert-file-contents, woman-non-underline-faces):
3460 Use string-match-p.
3461 (woman1-unquote): Move declaration.
3462
3463 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3464 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3465 argument. Remove unused local variable.
3466 (xml-parse-elem-type): Use string-match-p.
3467 (xml-substitute-numeric-entities): Use ignore-errors.
3468
3469 * calculator.el (calculator): Mark unused argument.
3470 (calculator-paste, calculator-quit, calculator-integer-p):
3471 Use ignore-errors.
3472 (calculator-string-to-number, calculator-decimal, calculator-exp)
3473 (calculator-op-or-exp): Use string-match-p.
3474
3475 * dired.el (dired-buffer-more-recently-used-p): Declare.
3476 (dired-insert-set-properties, dired-insert-old-subdirs):
3477 Use ignore-errors.
3478
3479 * dired-aux.el (dired-compress): Use ignore-errors.
3480 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3481 (dired-do-async-shell-command, dired-do-shell-command)
3482 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3483 (dired-insert-subdir-validate): Use string-match-p.
3484 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3485 (dired-add-entry): Use string-match-p, looking-at-p.
3486 (dired-insert-subdir-newpos): Remove unused local variable.
3487
3488 * filenotify.el (file-notify-callback): Remove unused local variable.
3489
3490 * filesets.el (filesets-error): Mark unused argument.
3491 (filesets-which-command-p, filesets-filter-dir-names)
3492 (filesets-directory-files, filesets-get-external-viewer)
3493 (filesets-ingroup-get-data): Use string-match-p.
3494
3495 * find-file.el (ff-other-file-name, ff-other-file-name)
3496 (ff-find-the-other-file, ff-cc-hh-converter):
3497 Remove unused local variables.
3498 (ff-get-file-name): Use string-match-p.
3499 (ff-all-dirs-under): Use ignore-errors.
3500
3501 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3502 (follow-select-if-visible): Remove unused local variable.
3503
3504 * forms.el (read-file-filter): Move declaration.
3505 (forms--make-format, forms--make-parser, forms-insert-record):
3506 Quote function with #'.
3507 (forms--update): Use string-match-p. Quote function with #'.
3508
3509 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3510 (help-make-xrefs): Use looking-at-p.
3511 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3512
3513 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3514 (ibuffer-confirm-operation-on): Use string-match-p.
3515
3516 * msb.el (msb-item-handler, msb-dired-item-handler):
3517 Mark unused arguments.
3518
3519 * ses.el (ses-decode-cell-symbol)
3520 (ses-kill-override): Remove unused local variable.
3521 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3522 (ses-load): Use ignore-errors, looking-at-p.
3523 (ses-jump-safe): Use ignore-errors.
3524 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3525
3526 * tabify.el (untabify, tabify): Mark unused arguments.
3527
3528 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3529 Mark unused argument.
3530 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3531 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3532
3533 * emacs-lisp/timer.el (timer--time): Define setter with
3534 gv-define-setter to avoid deprecation warning.
3535
3536 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3537 (*record-cmpl-statistics-p*): Remove (was commented out).
3538 (cmpl-statistics-block): Remove (body was commented out).
3539 All callers changed.
3540 (add-completions-from-buffer, load-completions-from-file):
3541 Remove unused variables.
3542
3543 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3544
3545 * filecache.el (file-cache-delete-file-list):
3546 Print message only when told so.
3547 (file-cache-files-matching): Use #' in mapconcat argument.
3548
3549 * ffap.el (ffap-url-at-point): Fix reference to variable
3550 thing-at-point-default-mail-uri-scheme.
3551
3552 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * subr.el (define-error): New function.
3555 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3556 error-file-not-found and define with define-error.
3557 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3558 and define with define-error.
3559 * userlock.el (file-locked, file-supersession):
3560 * simple.el (mark-inactive):
3561 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3562 * progmodes/ada-mode.el (ada-mode-errors):
3563 * play/life.el (life-extinct):
3564 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3565 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3566 * nxml/rng-util.el (rng-error):
3567 * nxml/rng-uri.el (rng-uri-error):
3568 * nxml/rng-match.el (rng-compile-error):
3569 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3570 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3571 * nxml/nxml-rap.el (nxml-scan-error):
3572 * nxml/nxml-outln.el (nxml-outline-error):
3573 * net/soap-client.el (soap-error):
3574 * net/gnutls.el (gnutls-error):
3575 * net/ange-ftp.el (ftp-error):
3576 * mpc.el (mpc-proc-error):
3577 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3578 (json-number-format, json-string-escape, json-string-format)
3579 (json-key-format, json-object-format):
3580 * jka-compr.el (compression-error):
3581 * international/quail.el (quail-error):
3582 * international/kkc.el (kkc-error):
3583 * emacs-lisp/ert.el (ert-test-failed):
3584 * calc/calc.el (calc-error, inexact-result, math-overflow)
3585 (math-underflow):
3586 * bookmark.el (bookmark-error-no-filename):
3587 * epg.el (epg-error): Define with define-error.
3588
3589 * time.el (display-time-event-handler)
3590 (display-time-next-load-average): Don't call sit-for since it seems
3591 unnecessary (bug#15045).
3592
3593 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3594 Use #' instead of ' to quote functions.
3595 (checkdoc-output-mode): Use setq-local.
3596 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3597 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3598 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3599 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3600 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3601 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3602 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3603 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3604
3605 * ido.el (ido-completion-help): Fix up compiler warning.
3606
3607 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3608
3609 * frameset.el (frameset-p): Add autoload cookie.
3610 (frameset--jump-to-register): New function, based on code moved from
3611 register.el.
3612 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3613
3614 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3615 (frameset-restore, frameset-save, frameset-session-filter-alist):
3616 Remove declarations.
3617 (register-alist): Doc fix.
3618 (frameset-to-register): Move to frameset.el.
3619 (jump-to-register, describe-register-1): Remove frameset-specific code.
3620
3621 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3622
3623 * allout-widgets.el (allout-widgets-pre-command-business)
3624 (allout-widgets-post-command-business)
3625 (allout-widgets-after-change-handler)
3626 (allout-decorate-item-and-context, allout-set-boundary-marker)
3627 (allout-body-modification-handler)
3628 (allout-graphics-modification-handler): Mark ignored arguments.
3629 (allout-widgets-post-command-business)
3630 (allout-widgets-exposure-change-processor)
3631 (allout-widgets-exposure-undo-processor)
3632 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3633 (allout-parse-item-at-point, allout-decorate-item-guides)
3634 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3635 * allout.el (epa-passphrase-callback-function): Declare.
3636 (allout-overlay-insert-in-front-handler)
3637 (allout-overlay-interior-modification-handler)
3638 (allout-isearch-end-handler, allout-chart-siblings)
3639 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3640 (allout-yank-processing, allout-process-exposed)
3641 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3642 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3643 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3644 (lisp-indent-defform): Mark ignored arguments.
3645 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3646 (calculate-lisp-indent): Remove unused variables.
3647 * international/characters.el (indian-2-column, arabic-2-column)
3648 (tibetan): Mark ignored arguments.
3649 (use-cjk-char-width-table): Mark ignored arguments.
3650 Remove unused variables.
3651 * international/fontset.el (build-default-fontset-data)
3652 (x-compose-font-name, create-fontset-from-fontset-spec):
3653 Mark ignored arguments.
3654 (fontset-plain-name): Remove unused variables.
3655 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3656 (keyboard-coding-system): Mark ignored arguments.
3657 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3658 * help.el (resize-temp-buffer-window):
3659 * window.el (display-buffer-in-major-side-window)
3660 (display-buffer-in-side-window, display-buffer-in-previous-window):
3661 Remove unused variables.
3662 * isearch.el (isearch-forward-symbol):
3663 * version.el (emacs-bzr-version-bzr):
3664 * international/mule-cmds.el (current-language-environment):
3665 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3666 (x-handle-display):
3667 * term/pc-win.el (x-list-fonts, x-display-planes)
3668 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3669 (x-server-version, x-display-screens, x-display-mm-height)
3670 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3671 (x-selection-owner-p, x-own-selection-internal)
3672 (x-disown-selection-internal, x-get-selection-internal)
3673 (msdos-initialize-window-system):
3674 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3675 * term/x-win.el (x-handle-no-bitmap-icon):
3676 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3677 (vc-default-find-file-hook, vc-default-extra-menu):
3678 Mark ignored arguments.
3679
3680 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3681
3682 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3683 break-condition in the context of the debugged code (bug#12685).
3684
3685 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3686
3687 * comint.el:
3688 Do not use an overlay to highlight the last prompt. (Bug#14744)
3689 (comint-mode): Make comint-last-prompt buffer local.
3690 (comint-last-prompt): New variable.
3691 (comint-last-prompt-overlay): Remove. Superseded by
3692 comint-last-prompt.
3693 (comint-snapshot-last-prompt, comint-output-filter):
3694 Use comint-last-prompt.
3695
3696 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3697
3698 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3699 (frameset-save): Check validity of the resulting frameset.
3700
3701 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3702
3703 * ido.el (ido-record-command): Add doc string.
3704
3705 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3706
3707 * frameset.el (frameset): Do not disable creation of the default
3708 frameset-p predicate. Doc fix.
3709 (frameset-valid-p): New function, copied from the old predicate-p.
3710 Add additional checks.
3711 (frameset-restore): Check with frameset-valid-p.
3712 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3713 (frameset-name, frameset-description, frameset-properties)
3714 (frameset-states): Add docstring.
3715 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3716 (frameset-filter-alist): Doc fixes.
3717
3718 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3719
3720 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3721
3722 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3725 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3726 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3727 (byte-compile-normal-call): Remove obsolescence check.
3728
3729 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3730
3731 * frameset.el (frameset-restore): Doc fix.
3732
3733 * register.el (frameset-frame-id, frameset-frame-with-id)
3734 (frameset-p, frameset-restore, frameset-save): Declare.
3735 (register-alist): Document framesets.
3736 (frameset-session-filter-alist): Declare.
3737 (frameset-to-register): New function.
3738 (jump-to-register): Implement jumping to framesets. Doc fix.
3739 (describe-register-1): Describe framesets.
3740
3741 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3742
3743 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3744
3745 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3746 Use lexical-binding.
3747
3748 * frameset.el (frameset): Use type vector, not list (incompatible
3749 change). Do not declare a new constructor, use the default one.
3750 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3751 `name' and `description', respectively, and add read-only slot
3752 `timestamp'. Doc fixes.
3753 (frameset-copy, frameset-persistent-filter-alist)
3754 (frameset-filter-alist, frameset-switch-to-gui-p)
3755 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3756 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3757 (frameset-filter-iconified, frameset-keep-original-display-p):
3758 Doc fixes.
3759 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3760 Rename from frameset-filter-(save|restore)-param. All callers changed.
3761 Doc fix.
3762 (frameset-p): Adapt to change to vector and be more thorough.
3763 Change arg name to OBJECT. Doc fix.
3764 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3765 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3766 All callers changed.
3767 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3768 All callers changed.
3769 (frameset--record-minibuffer-relationships): Rename from
3770 frameset--process-minibuffer-frames. All callers changed.
3771 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3772 Use new default constructor (again). Doc fix.
3773 (frameset--find-frame-if): Rename from `frameset--find-frame.
3774 All callers changed.
3775 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3776 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3777 Doc fix.
3778 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3779 PARAMETERS and WINDOW-STATE, respectively.
3780 (frameset-restore): Add new keyword argument PREDICATE.
3781 Reset frameset--target-display to nil. Doc fix.
3782
3783 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3786 (bat-mode): Use it.
3787 (bat-mode-syntax-table): Mark \n as end-of-comment.
3788 (bat-font-lock-keywords): Remove comment rule.
3789
3790 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3791 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3792
3793 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3794 (byte-compile-callargs-warn): Use `push'.
3795 (byte-compile-arglist-warn): Ignore higher-order "calls".
3796 (byte-compile-file-form-autoload): Use `pcase'.
3797 (byte-compile-function-form): If quoting a symbol, check that it exists.
3798
3799 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3800
3801 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3802 and add a few popular commands found in batch files.
3803 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3804 (dos-mode): Doc fixes.
3805
3806 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3809 (dos-mode): Use setq-local. Add space after "rem".
3810 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3811 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3812
3813 2013-08-07 Arni Magnusson <arnima@hafro.is>
3814
3815 * progmodes/dos.el: New file.
3816 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3817 dos-mode.
3818
3819 2013-08-06 Glenn Morris <rgm@gnu.org>
3820
3821 * calendar/calendar.el: Add new faces, and day-header-array.
3822 (calendar-weekday-header, calendar-weekend-header)
3823 (calendar-month-header): New faces.
3824 (calendar-day-header-construct): New function.
3825 (calendar-day-header-width): Also :set calendar-day-header-array.
3826 (calendar-american-month-header, calendar-european-month-header)
3827 (calendar-iso-month-header): Use calendar- faces.
3828 (calendar-generate-month):
3829 Use calendar-day-header-array for day headers; apply faces to them.
3830 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3831 (calendar-abbrev-construct): Add optional maxlen argument.
3832 (calendar-day-name-array): Doc fix.
3833 (calendar-day-name-array, calendar-abbrev-length)
3834 (calendar-day-abbrev-array):
3835 Also :set calendar-day-header-array, and maybe redraw.
3836 (calendar-day-header-array): New option. (Bug#15007)
3837 (calendar-font-lock-keywords): Set to nil and make obsolete.
3838 (calendar-day-name): Add option to use header array.
3839
3840 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3841
3842 * net/shr.el (shr-render-td): Remove debugging.
3843 (shr-render-td): Make width computation consistent by defaulting
3844 all zero-width columns to 10 characters. This may not be optimal,
3845 but it's at least consistent.
3846 (shr-make-table-1): Redo last change to fix the real problem in
3847 colspan handling.
3848
3849 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3850
3851 * files.el (cache-long-line-scans):
3852 Make obsolete alias to `cache-long-scans'.
3853
3854 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3855
3856 * frameset.el (frameset, frameset-filter-alist)
3857 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3858 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3859 (frameset-compute-pos): Rename from frameset--compute-pos,
3860 and add docstring.
3861 (frameset-move-onscreen): Use frameset-compute-pos.
3862 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3863
3864 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3865 Fix typos in docstrings.
3866
3867 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3868
3869 * frame.el (get-other-frame): Tiny cleanup.
3870
3871 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3872
3873 * vc/vc.el (vc-default-ignore-completion-table):
3874 Silence byte-compiler warning.
3875
3876 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3877 slot , which can indeed be nil.
3878 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3879 Move entry for `left' from persistent to live filter alist.
3880 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3881 Doc fixes.
3882 (frameset-filter-params): When restoring a frame, copy items added to
3883 `filtered', to avoid unwittingly modifying the original parameters.
3884 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3885 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3886
3887 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3888 to use looking-at-p instead of looking-at. (Bug#15028)
3889
3890 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 Revert introduction of isearch-filter-predicates (bug#14714).
3893 Rely on add-function instead.
3894 * isearch.el (isearch-filter-predicates): Rename it back to
3895 isearch-filter-predicate.
3896 (isearch-message-prefix): Use advice-function-mapc and advice
3897 properties to get the isearch-message-prefix.
3898 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3899 instead of run-hook-with-args-until-failure.
3900 (isearch-filter-visible): Not obsolete any more.
3901 * loadup.el: Preload nadvice.
3902 * replace.el (perform-replace): Revert to funcall
3903 instead of run-hook-with-args-until-failure.
3904 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3905 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3906 dired-isearch-filenames-toggle; make it into a proper minor mode.
3907 Use add/remove-function.
3908 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3909 Call the minor-mode rather than add/remove-hook.
3910 (dired-isearch-filter-filenames):
3911 Remove isearch-message-prefix property.
3912 * info.el (Info--search-loop): New function, extracted from Info-search.
3913 Funcall isearch-filter-predicate instead of
3914 run-hook-with-args-until-failure isearch-filter-predicates.
3915 (Info-search): Use it.
3916 (Info-mode): Use isearch-filter-predicate instead of
3917 isearch-filter-predicates.
3918
3919 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3920
3921 Do not call to `selected-window' where it is assumed by default.
3922 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3923 `window-hscroll', `window-width', `window-height', `window-buffer',
3924 `window-frame', `window-start', `window-point', `next-window'
3925 and `window-display-table'.
3926 * abbrev.el (abbrev--default-expand):
3927 * bs.el (bs--show-with-configuration):
3928 * buff-menu.el (Buffer-menu-mouse-select):
3929 * calc/calc.el (calc):
3930 * calendar/calendar.el (calendar-generate-window):
3931 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3932 (diary-make-entry):
3933 * comint.el (send-invisible, comint-dynamic-complete-filename)
3934 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3935 * completion.el (complete):
3936 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3937 * disp-table.el (describe-current-display-table):
3938 * doc-view.el (doc-view-insert-image):
3939 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3940 * ehelp.el (with-electric-help):
3941 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3942 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3943 * emacs-lisp/helper.el (Helper-help-scroller):
3944 * emulation/cua-base.el (cua--post-command-handler-1):
3945 * eshell/esh-mode.el (eshell-output-filter):
3946 * ffap.el (ffap-gnus-wrapper):
3947 * help-macro.el (make-help-screen):
3948 * hilit-chg.el (highlight-compare-buffers):
3949 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3950 * hl-line.el (global-hl-line-highlight):
3951 * icomplete.el (icomplete-simple-completing-p):
3952 * isearch.el (isearch-done):
3953 * jit-lock.el (jit-lock-stealth-fontify):
3954 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3955 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3956 * mpc.el (mpc-tagbrowser, mpc):
3957 * net/rcirc.el (rcirc-any-buffer):
3958 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3959 * play/landmark.el (landmark-max-width, landmark-max-height):
3960 * play/zone.el (zone):
3961 * progmodes/compile.el (compilation-goto-locus):
3962 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3963 * progmodes/etags.el (find-tag-other-window):
3964 * progmodes/fortran.el (fortran-column-ruler):
3965 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3966 * progmodes/verilog-mode.el (verilog-point-text):
3967 * reposition.el (reposition-window):
3968 * rot13.el (toggle-rot13-mode):
3969 * server.el (server-switch-buffer):
3970 * shell.el (shell-dynamic-complete-command)
3971 (shell-dynamic-complete-environment-variable):
3972 * simple.el (insert-buffer, set-selective-display)
3973 (delete-completion-window):
3974 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3975 (speedbar-recenter):
3976 * startup.el (fancy-splash-head):
3977 * textmodes/ispell.el (ispell-command-loop):
3978 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3979 * tutorial.el (help-with-tutorial):
3980 * vc/add-log.el (add-change-log-entry):
3981 * vc/compare-w.el (compare-windows):
3982 * vc/ediff-help.el (ediff-indent-help-message):
3983 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3984 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3985 (ediff-setup-control-frame):
3986 * vc/emerge.el (emerge-position-region):
3987 * vc/pcvs-util.el (cvs-bury-buffer):
3988 * window.el (walk-windows, mouse-autoselect-window-select):
3989 * winner.el (winner-set-conf, winner-undo): Related users changed.
3990
3991 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3992
3993 * frameset.el (frameset--set-id): Doc fix.
3994 (frameset-frame-id, frameset-frame-id-equal-p)
3995 (frameset-locate-frame-id): New functions.
3996 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3997 (frameset-restore): Use them.
3998
3999 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4000
4001 Do not call to `selected-frame' where it is assumed by default.
4002 Affected functions are `raise-frame', `redraw-frame',
4003 `frame-first-window', `frame-terminal' and `delete-frame'.
4004 * calendar/appt.el (appt-disp-window):
4005 * epg.el (epg-wait-for-completion):
4006 * follow.el (follow-delete-other-windows-and-split)
4007 (follow-avoid-tail-recenter):
4008 * international/mule.el (set-terminal-coding-system):
4009 * mail/rmail.el (rmail-mail-return):
4010 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4011 * progmodes/f90.el (f90-add-imenu-menu):
4012 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4013 * server.el (server-switch-buffer):
4014 * simple.el (delete-completion-window):
4015 * talk.el (talk):
4016 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4017 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4018 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4019 * vc/ediff.el (ediff-documentation): Related users changed.
4020 * frame.el (selected-terminal): Remove the leftover.
4021
4022 2013-08-05 Glenn Morris <rgm@gnu.org>
4023
4024 * calendar/calendar.el (calendar-generate-month):
4025 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4026 (calendar-generate-month, calendar-font-lock-keywords):
4027 Fix for calendar-day-header-width > length of any day name.
4028
4029 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4030
4031 * desktop.el (desktop-clear): Use new name of sort predicate.
4032
4033 * frameset.el (frameset): Add docstring. Move :version property to its
4034 own `version' slot.
4035 (frameset-copy): Rename from copy-frameset.
4036 (frameset-p): Check more thoroughly.
4037 (frameset-prop): Do not check for :version, which is no longer a prop.
4038 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4039 Use new :never value instead of t.
4040 (frameset-filter-alist): Expand and clarify docstring.
4041 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4042 (frameset-filter-minibuffer, frameset-filter-save-param)
4043 (frameset-filter-restore-param, frameset-filter-iconified):
4044 Add pointer to docstring of frameset-filter-alist.
4045 (frameset-filter-params): Rename filter values to be more meaningful:
4046 :never instead of t, and reverse the meanings of :save and :restore.
4047 (frameset--process-minibuffer-frames): Clarify error message.
4048 (frameset-save): Avoid unnecessary and confusing call to framep.
4049 Use new BOA constructor for framesets.
4050 (frameset--reuse-list): Doc fix.
4051 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4052 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4053 (frameset-minibufferless-first-p): Doc fix.
4054 Rename from frameset-sort-frames-for-deletion.
4055 (frameset-restore): Doc fixes. Use new function names.
4056 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4057
4058 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4059
4060 * desktop.el (desktop-restore-forces-onscreen)
4061 (desktop-restore-reuses-frames): Document :keyword constant values.
4062 (desktop-filter-parameters-alist): Remove, now identical to
4063 frameset-filter-alist.
4064 (desktop--filter-tty*): Remove, moved to frameset.el.
4065 (desktop-save-frameset, desktop-restore-frameset):
4066 Do not pass :filters argument.
4067
4068 * frameset.el (frameset-live-filter-alist)
4069 (frameset-persistent-filter-alist): New variables.
4070 (frameset-filter-alist): Use them. Add autoload cookie.
4071 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4072 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4073 `frameset--id' (it's supposed to be internal to frameset.el).
4074 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4075 (frameset--initial-params): New function.
4076 (frameset--get-frame): Use it. Doc fix.
4077 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4078 Accept :all, not 'all.
4079 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4080 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4081 with fbound symbols. Fix frame id matching, and remove matching ids if
4082 the frame being restored is deleted. Obey :delete.
4083
4084 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 * subr.el (macrop): New function.
4087 (text-clone--maintaining): New var.
4088 (text-clone--maintain): Rename from text-clone-maintain. Use it
4089 instead of inhibit-modification-hooks.
4090
4091 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4092 a proxy, so as handle autoloads and redefinitions of the target.
4093 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4094
4095 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4096 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4097 (pcase--mutually-exclusive-p): New function.
4098 (pcase--split-consp): Use it.
4099 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4100 mutually exclusive with the current predicate.
4101
4102 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4103 (edebug-macrop): Remove. Use `macrop' instead.
4104 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4105 (ad-macro-p):
4106 * eshell/esh-cmd.el (eshell-macrop):
4107 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4108
4109 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4112 (advice-mapc): New function, using it.
4113 (advice-function-member-p): New function.
4114 (advice--normalize): Store the cdr in advice--saved-rewrite since
4115 that's the part that will be changed.
4116 (advice--symbol-function): New function.
4117 (advice-remove): Handle removal before the function is defined.
4118 Adjust to new advice--saved-rewrite.
4119 (advice-member-p): Use advice-function-member-p and
4120 advice--symbol-function.
4121
4122 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4123
4124 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4125 (frameset-filter-minibuffer): Doc fix.
4126 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4127 (frameset--set-id, frameset--process-minibuffer-frames)
4128 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4129 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4130
4131 * desktop.el (desktop-clear): Only delete frames when called
4132 interactively and desktop-restore-frames is non-nil. Doc fix.
4133 (desktop-read): Set desktop-saved-frameset to nil.
4134
4135 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4136
4137 * vc/vc.el (vc-ignore): Rewrite.
4138 (vc-default-ignore-completion-table):
4139 (vc--read-lines):
4140 (vc--add-line, vc--remove-regexp): New functions.
4141
4142 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4143 (vc-svn-ignore-completion-table): New function.
4144
4145 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4146 (vc-hg-ignore-completion-table):
4147 (vc-hg-find-ignore-file): New functions.
4148
4149 * vc/vc-git.el (vc-git-ignore): Rewrite.
4150 (vc-git-ignore-completion-table):
4151 (vc-git-find-ignore-file): New functions.
4152
4153 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4154
4155 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4156 (vc-bzr-ignore-completion-table):
4157 (vc-bzr-find-ignore-file): New functions.
4158
4159 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4160
4161 * frameset.el (frameset-prop): New function and setter.
4162 (frameset-save): Do not modify frame list passed by the caller.
4163
4164 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4167
4168 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4169
4170 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4171 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4172
4173 * custom.el (custom-initialize-default, custom-initialize-set)
4174 (custom-initialize-reset, custom-initialize-changed): Affect the
4175 toplevel-default-value (bug#6275, bug#14586).
4176 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4177 for bug#6275.
4178
4179 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4180
4181 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4182 Add cl-def* expressions.
4183
4184 * frameset.el (frameset-filter-params): Fix order of arguments.
4185
4186 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4187
4188 Move code related to saving frames to frameset.el.
4189 * desktop.el: Require frameset.
4190 (desktop-restore-frames): Doc fix.
4191 (desktop-restore-reuses-frames): Rename from
4192 desktop-restoring-reuses-frames.
4193 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4194 (desktop-clear): Clear frames too.
4195 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4196 (desktop--filter-tty*, desktop-save, desktop-read):
4197 Use frameset functions.
4198 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4199 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4200 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4201 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4202 (desktop--process-minibuffer-frames, desktop-save-frames)
4203 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4204 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4205 (desktop--sort-states, desktop-restoring-frames-p)
4206 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4207 (desktop-restoring-frameset-p, desktop-restore-frameset)
4208 (desktop--check-dont-save, desktop-save-frameset): New functions.
4209 (desktop--app-id): New constant.
4210 (desktop-first-buffer, desktop-buffer-ok-count)
4211 (desktop-buffer-fail-count): Move before first use.
4212 * frameset.el: New file.
4213
4214 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * files.el: Use lexical-binding.
4217 (dir-locals-read-from-file): Remove unused `err' variable.
4218 (hack-dir-local-variables--warned-coding): New var.
4219 (hack-dir-local-variables): Use it to avoid repeated warnings.
4220 (make-backup-file-name--default-function): New function.
4221 (make-backup-file-name-function): Use it as default.
4222 (buffer-stale--default-function): New function.
4223 (buffer-stale-function): Use it as default.
4224 (revert-buffer-insert-file-contents--default-function): New function.
4225 (revert-buffer-insert-file-contents-function): Use it as default.
4226 (insert-directory): Avoid add-to-list.
4227
4228 * autorevert.el (auto-revert-handler): Simplify.
4229 Use buffer-stale--default-function.
4230
4231 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4232
4233 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4234
4235 * whitespace.el (whitespace-ensure-local-variables): New function.
4236 (whitespace-cleanup-region): Call it.
4237 (whitespace-turn-on): Call it.
4238
4239 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4240
4241 Complete file name handlers.
4242
4243 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4244 (tramp-handle-verify-visited-file-modtime)
4245 (tramp-handle-file-notify-rm-watch): New functions.
4246 (tramp-call-process): Do not bind `default-directory'.
4247
4248 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4249 Order alphabetically.
4250 [access-file, add-name-to-file, dired-call-process]:
4251 [dired-compress-file, file-acl, file-notify-rm-watch]:
4252 [file-ownership-preserved-p, file-selinux-context]:
4253 [make-directory-internal, make-symbolic-link, set-file-acl]:
4254 [set-file-selinux-context, set-visited-file-modtime]:
4255 [verify-visited-file-modtime]: Add handler.
4256 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4257
4258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4259 [file-notify-add-watch, file-notify-rm-watch]:
4260 [set-file-times, set-visited-file-modtime]:
4261 [verify-visited-file-modtime]: Add handler.
4262 (with-tramp-gvfs-error-message)
4263 (tramp-gvfs-handle-set-visited-file-modtime)
4264 (tramp-gvfs-fuse-file-name): Remove.
4265 (tramp-gvfs-handle-file-notify-add-watch)
4266 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4267 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4268
4269 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4270 Order alphabetically.
4271 [file-notify-rm-watch ]: Use default Tramp handler.
4272 [executable-find]: Remove private handler.
4273 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4274 `default-directory'.
4275 (tramp-sh-handle-executable-find)
4276 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4277 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4278 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4279 Do not use `format' in `tramp-message'.
4280
4281 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4282 [file-notify-rm-watch, set-visited-file-modtime]:
4283 [verify-visited-file-modtime]: Add handler.
4284 (tramp-smb-call-winexe): Do not bind `default-directory'.
4285
4286 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4287
4288 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4289
4290 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4291
4292 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4293 use it.
4294 (log-view-diff-changeset): Same.
4295 (log-view-diff-common): Call backend command `previous-revision'
4296 to find out the previous revision, in both cases. Swap the
4297 variables `to' and `fr', so that `fr' usually refers to the
4298 earlier revision (Bug#14989).
4299
4300 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4301
4302 * ibuf-ext.el (ibuffer-filter-by-filename):
4303 Make it work with dired buffers too.
4304
4305 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4306
4307 * emacs-lisp/re-builder.el (reb-color-display-p):
4308 * files.el (save-buffers-kill-terminal):
4309 * net/browse-url.el (browse-url):
4310 * server.el (server-save-buffers-kill-terminal):
4311 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4312 Prefer nil to selected-frame for the first arg of frame-parameter.
4313
4314 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4315
4316 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4317
4318 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4319
4320 * minibuffer.el (completion--twq-all): Try and preserve each
4321 completion's case choice (bug#14907).
4322
4323 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4324
4325 * net/network-stream.el (open-network-stream): Mention the new
4326 :nogreeting parameter.
4327 (network-stream-open-starttls): Use the :nogreeting parameter
4328 (bug#14938).
4329
4330 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4331
4332 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4333 more natural than popping.
4334
4335 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4336 (shr-urlify): Highlight under mouse.
4337
4338 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4339
4340 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4341
4342 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4343
4344 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4345 buffer for output.
4346
4347 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4348 point-min==1. Fix search string. Fix parentheses missing.
4349
4350 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4351 assume point-min==1. Fix search string. Fix parentheses missing.
4352
4353 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4354
4355 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4356 buffer for output.
4357
4358 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4359
4360 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4361 initial frame is minibuffer-less. (Bug#14841)
4362
4363 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4364
4365 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4366 option.
4367
4368 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4369 (tramp-maybe-open-connection): Use it.
4370
4371 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4372
4373 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4374 minimal set of parameters passed when creating a frame, because
4375 the minibuffer status of a frame cannot be changed later.
4376
4377 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4378
4379 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4380 replace-regexp-in-string and inadvertent omissions in previous change.
4381 (todo-filter-items): Ensure only file names are comma-separated in
4382 name of filtered items buffer.
4383
4384 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4385
4386 * desktop.el: Optionally force offscreen frames back onscreen.
4387 (desktop-restoring-reuses-frames): New option.
4388 (desktop--compute-pos, desktop--move-onscreen): New functions.
4389 (desktop--make-frame): Use desktop--move-onscreen.
4390
4391 2013-07-27 Alan Mackenzie <acm@muc.de>
4392
4393 Fontify a Java generic method as a function.
4394 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4395 value to t.
4396
4397 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4398
4399 * calendar/todo-mode.el: Add command to rename todo files.
4400 (todo-rename-file): New command.
4401 (todo-key-bindings-t): Add key binding for it. Change the
4402 bindings of todo-filter-regexp-items(-multifile) to use `x'
4403 instead of `r', since the latter is better suited to the new
4404 renaming command.
4405
4406 2013-07-27 Alan Mackenzie <acm@muc.de>
4407
4408 Make Java try-with-resources statement parse properly.
4409 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4410 (c-block-stmt-1-2-key): New language constants/variables.
4411 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4412 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4413 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4414 with c-block-stmt-1-2-key.
4415
4416 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4417
4418 * desktop.el (desktop--make-frame): Apply most frame parameters after
4419 creating the frame to force (partially or totally) offscreen frames to
4420 be restored as such.
4421
4422 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4423
4424 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4425 (Bug#14948)
4426
4427 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4428
4429 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4430 `base' arg of backtrace-frame.
4431
4432 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4433
4434 * simple.el (list-processes): Doc fix.
4435
4436 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4437
4438 * desktop.el (desktop--select-frame):
4439 Try harder to reuse existing frames.
4440
4441 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4442
4443 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4444 (edebug-eval): Use backtrace-eval.
4445 (edebug--display, edebug--recursive-edit): Don't let-bind the
4446 edebug-outer-* vars that keep track of variables we locally let-bind.
4447 (edebug-outside-excursion): Don't restore outside values of locally
4448 let-bound vars.
4449 (edebug--display): Use user-error.
4450 (cl-lexical-debug, cl-debug-env): Remove.
4451
4452 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4453
4454 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4455 are restored to be sure that they are visible before deleting any
4456 remaining ones.
4457
4458 2013-07-26 Matthias Meulien <orontee@gmail.com>
4459
4460 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4461 vc-print-root-log. (Bug#14948)
4462
4463 2013-07-26 Richard Stallman <rms@gnu.org>
4464
4465 Add aliases for encrypting mail.
4466 * epa.el (epa-mail-aliases): New option.
4467 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4468 Bind inhibit-read-only so read-only text doesn't ruin everything.
4469 (epa-mail-default-recipients): New subroutine broken out.
4470 Handle epa-mail-aliases.
4471
4472 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 Add support for lexical variables to the debugger's `e' command.
4475 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4476 vars, except for debugger-outer-match-data.
4477 (debugger-frame-number): Move check for "on a function call" from
4478 callers into it. Add `skip-base' argument.
4479 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4480 (debugger-env-macro): Only reset the state stored in non-variables,
4481 i.e. current-buffer and match-data.
4482 (debugger-eval-expression): Rewrite using backtrace-eval.
4483 * subr.el (internal--called-interactively-p--get-frame): Remove.
4484 (called-interactively-p):
4485 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4486 `base' arg of backtrace-frame instead.
4487
4488 2013-07-26 Glenn Morris <rgm@gnu.org>
4489
4490 * align.el (align-regexp): Doc fix. (Bug#14857)
4491 (align-region): Explicit error if subexpression missing/does not match.
4492
4493 * simple.el (global-visual-line-mode):
4494 Do not duplicate the mode lighter. (Bug#14858)
4495
4496 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4497
4498 * window.el (display-buffer): In display-buffer bind
4499 split-window-keep-point to t, bug#14829.
4500
4501 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4502
4503 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4504 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4505 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4506 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4507 Change accordingly.
4508 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4509 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4510
4511 2013-07-25 Glenn Morris <rgm@gnu.org>
4512
4513 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4514
4515 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4516
4517 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4518 parameter to modify-frame-parameters if the value has not changed;
4519 this is a workaround for bug#14949.
4520 (desktop--make-frame): On cl-delete-if call, check parameter name,
4521 not full parameter.
4522
4523 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4524
4525 * vc/vc.el (vc-ignore): New function.
4526
4527 * vc/vc-svn.el (vc-svn-ignore): New function.
4528
4529 * vc/vc-hg.el (vc-hg-ignore): New function.
4530
4531 * vc/vc-git.el (vc-git-ignore): New function.
4532
4533 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4534 (vc-dir-ignore): New function.
4535
4536 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4537 (cvs-append-to-ignore): Move here from pcvs.el.
4538
4539 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4540
4541 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4542
4543 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4544
4545 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4546 (desktop-restore-frames): Warn when deleting an existing frame failed.
4547
4548 2013-07-24 Glenn Morris <rgm@gnu.org>
4549
4550 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4551
4552 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4553
4554 * filenotify.el (file-notify-supported-p):
4555 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4556 Remove functions.
4557
4558 * autorevert.el (auto-revert-use-notify):
4559 (auto-revert-notify-add-watch):
4560 * net/tramp.el (tramp-file-name-for-operation):
4561 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4562 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4563 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4564 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4565 Remove `file-notify-supported-p' entry.
4566
4567 2013-07-24 Glenn Morris <rgm@gnu.org>
4568
4569 * printing.el: Replace all uses of deleted ps-windows-system,
4570 ps-lp-system, ps-flatten-list with lpr- versions.
4571
4572 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4575 checked with memq (bug#14935).
4576
4577 * files.el (revert-buffer-function): Use a non-nil default.
4578 (revert-buffer-preserve-modes): Declare var to
4579 provide access to the `preserve-modes' argument.
4580 (revert-buffer): Let-bind it.
4581 (revert-buffer--default): New function, extracted from revert-buffer.
4582
4583 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * lpr.el: Signal print errors more prominently.
4586 (print-region-function): Don't default to nil.
4587 (lpr-print-region): New function, extracted from print-region-1.
4588 Check lpr's return value and signal an error in case of problem.
4589 (print-region-1): Use it.
4590 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4591 versions instead.
4592 (ps-printer-name): Default to nil.
4593 (ps-printer-name-option): Default to lpr-printer-switch.
4594 (ps-print-region-function): Don't default to nil.
4595 (ps-postscript-code-directory): Simplify default.
4596 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4597 (ps-string-list, ps-eval-switch, ps-flatten-list)
4598 (ps-flatten-list-1): Remove.
4599 (ps-multibyte-buffer): Avoid setq.
4600 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4601 (print-region-function, ps-print-region-function): Don't set them here.
4602
4603 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4604
4605 * ido.el (ido-fractionp):
4606 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4607 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4608 (ido-max-directory-size, ido-max-dir-file-cache)
4609 (ido-decorations): Doc fix.
4610
4611 * ansi-color.el: Fix old URL.
4612
4613 2013-07-23 Michael R. Mauger <michael@mauger.com>
4614
4615 * progmodes/sql.el: Version 3.3
4616 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4617 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4618 (sql-interactive-remove-continuation-prompt): Rewrite, use
4619 functions above. Fix continuation prompt and complete output line
4620 handling.
4621 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4622 redirected output buffer.
4623 (sql-mode): Restore deleted code (Bug#13591).
4624
4625 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4626
4627 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4628
4629 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4630
4631 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4632
4633 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4634 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4635 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4636
4637 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4638
4639 * desktop.el (desktop-clear): Simplify; remove useless checks
4640 against invalid buffer names.
4641 (desktop-list*): Use cl-list*.
4642 (desktop-buffer-info, desktop-create-buffer): Simplify.
4643
4644 2013-07-23 Leo Liu <sdl.web@gmail.com>
4645
4646 * bookmark.el (bookmark-make-record): Restore NAME as a default
4647 value. (Bug#14933)
4648
4649 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4652 extracted from autoload--insert-text.
4653 (autoload--insert-text): Remove.
4654 (autoload--print-cookie-text): New function, extracted from
4655 autoload--insert-cookie-text.
4656 (autoload--insert-cookie-text): Remove.
4657 (autoload-generate-file-autoloads): Adjust calls accordingly.
4658
4659 * winner.el (winner-hook-installed-p): Remove.
4660 (winner-mode): Simplify accordingly.
4661
4662 * subr.el (add-to-list): Fix compiler-macro when `append' is
4663 not constant. Don't use `cl-member' for the base case.
4664
4665 * progmodes/subword.el: Fix boundary case (bug#13758).
4666 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4667 own group.
4668 (subword-backward-regexp): Make it a constant.
4669 (subword-forward-internal): Don't treat a trailing capital as the
4670 beginning of a word.
4671
4672 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4673
4674 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4675 global value of tabulated-list-revert-hook (bug#14930).
4676
4677 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4678
4679 * desktop.el: Require 'cl-lib.
4680 (desktop-before-saving-frames-functions): New hook.
4681 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4682 for frames being saved. Rename from desktop--save-minibuffer-frames.
4683 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4684 Do not save frames with non-nil `desktop-dont-save' parameter.
4685 Filter out deleted frames.
4686 (desktop--find-frame): Use cl-find-if.
4687 (desktop--select-frame): Use cl-(first|second|third) to access values
4688 of desktop-mini.
4689 (desktop--make-frame): Use cl-delete-if.
4690 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4691 (desktop-restore-frames): Use cl-(first|second|third) to access values
4692 of desktop-mini. Look for visible frame at the end, not while
4693 restoring frames.
4694
4695 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4696 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4697 Use string-match-p, looking-at-p (bug#14927).
4698
4699 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4700
4701 * desktop.el (desktop-saved-frame-states):
4702 Rename from desktop--saved-states; all users changed.
4703 (desktop-save-frames): Rename from desktop--save-frames.
4704 Do not save state to desktop file.
4705 (desktop-save): Save desktop-saved-frame-states to desktop file
4706 and reset to nil.
4707 (desktop-restoring-frames-p): New function.
4708 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4709 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4710 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4711
4712 * desktop.el: Correctly restore iconified frames.
4713 (desktop--filter-iconified-position): New function.
4714 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4715
4716 2013-07-20 Glenn Morris <rgm@gnu.org>
4717
4718 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4719 Let `message' do the formatting.
4720 (def-gdb-preempt-display-buffer): Add explicit format.
4721
4722 * image-dired.el (image-dired-track-original-file):
4723 Use with-current-buffer.
4724 (image-dired-track-thumbnail): Use with-current-buffer.
4725 Avoid changing point of wrong window.
4726
4727 * image-dired.el (image-dired-track-original-file):
4728 Avoid changing point of wrong window. (Bug#14909)
4729
4730 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4731
4732 * progmodes/gdb-mi.el (gdb-done-or-error):
4733 Guard against "%" in gdb output. (Bug#14127)
4734
4735 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4736
4737 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4738 (Bug#14826)
4739
4740 * international/mule.el (coding-system-iso-2022-flags): Fix last
4741 change.
4742
4743 2013-07-20 Kenichi Handa <handa@gnu.org>
4744
4745 * international/mule.el (coding-system-iso-2022-flags):
4746 Add `8-bit-level-4'. (Bug#8522)
4747
4748 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4749
4750 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4751 (bug#14815).
4752
4753 * net/eww.el (eww-process-text-input): Allow inputting when the
4754 point is at the start of the line, as the properties aren't
4755 front-sticky.
4756
4757 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4758 degenerate widths.
4759
4760 2013-07-19 Richard Stallman <rms@gnu.org>
4761
4762 * epa.el (epa-popup-info-window): Doc fix.
4763
4764 * subr.el (split-string): New arg TRIM.
4765
4766 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4767
4768 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4769 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4770
4771 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4772
4773 * filenotify.el (file-notify--library): Rename from
4774 `file-notify-support'. Do not autoload. Adapt all uses.
4775 (file-notify-supported-p): New defun.
4776
4777 * autorevert.el (auto-revert-use-notify):
4778 Use `file-notify-supported-p' instead of `file-notify-support'.
4779 Adapt docstring.
4780 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4781
4782 * net/tramp.el (tramp-file-name-for-operation):
4783 Add `file-notify-supported-p'.
4784
4785 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4786 New defun.
4787 (tramp-sh-file-name-handler-alist): Add it as handler for
4788 `file-notify-supported-p '.
4789
4790 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4791 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4792 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4793 Add `ignore' as handler for `file-notify-*' functions.
4794
4795 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4796
4797 * simple.el (line-move-partial, line-move): Don't start vscroll or
4798 scroll-up if the current line is not taller than the window.
4799 (Bug#14881)
4800
4801 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4804 highlight question marks in the method names as strings.
4805 (ruby-block-beg-keywords): Inline.
4806 (ruby-font-lock-keyword-beg-re): Extract from
4807 `ruby-font-lock-keywords'.
4808
4809 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4810
4811 * frame.el (blink-cursor-blinks): New defcustom.
4812 (blink-cursor-blinks-done): New defvar.
4813 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4814 (blink-cursor-timer-function): Check if number of blinks has been
4815 done on X and NS.
4816 (blink-cursor-suspend, blink-cursor-check): New defuns.
4817
4818 2013-07-15 Glenn Morris <rgm@gnu.org>
4819
4820 * edmacro.el (edmacro-format-keys): Fix previous change.
4821
4822 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4823
4824 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4825 The hack didn't work outside English locales anyway.
4826
4827 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4828
4829 * simple.el (define-alternatives): Rename from alternatives-define,
4830 per RMS' suggestion.
4831
4832 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4833
4834 * desktop.el (desktop-restore-frames): Change default to t.
4835 (desktop-restore-in-current-display): Now offer more options.
4836 (desktop-restoring-reuses-frames): New customization option.
4837 (desktop--saved-states): Doc fix.
4838 (desktop-filter-parameters-alist): New variable, renamed and expanded
4839 from desktop--excluded-frame-parameters.
4840 (desktop--target-display): New variable.
4841 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4842 (desktop--filter-tty*, desktop--filter-*-color)
4843 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4844 (desktop--filter-save-desktop-parm)
4845 (desktop-restore-in-original-display-p): New functions.
4846 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4847 (desktop--save-minibuffer-frames): New function, inspired by a similar
4848 function from Martin Rudalics.
4849 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4850 (desktop--restore-in-this-display-p): Remove.
4851 (desktop--find-frame): Rename from desktop--find-frame-in-display
4852 and add predicate argument.
4853 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4854 (desktop--reuse-list): New variable.
4855 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4856 New functions.
4857 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4858
4859 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4860
4861 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4862
4863 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4864
4865 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4866 Highlight conversion methods on Kernel.
4867
4868 2013-07-13 Alan Mackenzie <acm@muc.de>
4869
4870 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4871 and comment it out. This out-commenting enables certain C++
4872 declarations to be parsed correctly.
4873
4874 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4875
4876 * international/mule.el (define-coding-system): Doc fix.
4877
4878 * simple.el (default-font-height): Don't call font-info if the
4879 frame's default font didn't change since the frame was created.
4880 (Bug#14838)
4881
4882 2013-07-13 Leo Liu <sdl.web@gmail.com>
4883
4884 * ido.el (ido-read-file-name): Guard against non-symbol value.
4885
4886 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4887
4888 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4889 in nested defuns.
4890
4891 2013-07-13 Leo Liu <sdl.web@gmail.com>
4892
4893 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4894 ido-set-matches call. (Bug#6852)
4895
4896 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4897
4898 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4899 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4900 Ruby 2.0.
4901 (ruby-font-lock-keywords): Distinguish calls to functions with
4902 module-like names from module references. Highlight character
4903 literals.
4904
4905 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4906
4907 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4908 (gdb-send): Handle continued commands. (Bug#14847)
4909
4910 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4911
4912 * desktop.el (desktop--v2s): Remove unused local variable.
4913 (desktop-save-buffer): Make defvar-local; adjust docstring.
4914 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4915 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4916
4917 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4918
4919 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4920
4921 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4922
4923 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4924 (Bug#14842)
4925
4926 2013-07-12 Glenn Morris <rgm@gnu.org>
4927
4928 * doc-view.el: Require cl-lib at runtime too.
4929 (doc-view-remove-if): Remove.
4930 (doc-view-search-next-match, doc-view-search-previous-match):
4931 Use cl-remove-if.
4932
4933 * edmacro.el: Require cl-lib at runtime too.
4934 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4935 (edmacro-mismatch, edmacro-subseq): Remove.
4936
4937 * shadowfile.el: Require cl-lib.
4938 (shadow-remove-if): Remove.
4939 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4940 Use cl-remove-if.
4941
4942 * wid-edit.el: Require cl-lib.
4943 (widget-choose): Use cl-remove-if.
4944 (widget-remove-if): Remove.
4945
4946 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4947 (ebrowse-delete-if-not): Remove.
4948 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4949 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4950 Use cl-delete-if-not.
4951
4952 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4953
4954 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4955 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4956
4957 2013-07-12 Leo Liu <sdl.web@gmail.com>
4958
4959 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4960
4961 2013-07-11 Glenn Morris <rgm@gnu.org>
4962
4963 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4964 (edebug-gensym-index, edebug-gensym):
4965 Remove reimplementation of cl-gensym.
4966 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4967
4968 * thumbs.el: Require cl-lib at run-time too.
4969 (thumbs-gensym-counter, thumbs-gensym):
4970 Remove reimplementation of cl-gensym.
4971 (thumbs-temp-file): Use cl-gensym.
4972
4973 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4974 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4975 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4976 (ert--union, ert--gensym-counter, ert--gensym-counter)
4977 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4978 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4979 (ert-make-test-unbound, ert--expand-should-1)
4980 (ert--expand-should, ert--should-error-handle-error)
4981 (should-error, ert--explain-equal-rec)
4982 (ert--plist-difference-explanation, ert-select-tests)
4983 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4984 Use cl-lib functions rather than reimplementations.
4985
4986 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4987
4988 * net/tramp.el (tramp-methods): Extend docstring.
4989 (tramp-connection-timeout): New defcustom.
4990 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4991 (with-tramp-progress-reporter): Simplify.
4992 (tramp-process-actions): Improve messages.
4993
4994 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4995 * net/tramp-sh.el (tramp-maybe-open-connection):
4996 Use `tramp-connection-timeout'.
4997 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4998 (Bug#14808)
4999
5000 2013-07-11 Leo Liu <sdl.web@gmail.com>
5001
5002 * ido.el (ido-read-file-name): Conform to the requirements of
5003 read-file-name. (Bug#11861)
5004 (ido-read-directory-name): Conform to the requirements of
5005 read-directory-name.
5006
5007 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5008
5009 * subr.el (delay-warning): New function.
5010
5011 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5012
5013 * simple.el (default-line-height): New function.
5014 (line-move-partial, line-move): Use it instead of computing the
5015 line height inline.
5016 (line-move-partial): Always compute ROWH. If the last line is
5017 partially-visible, but its text is completely visible, allow
5018 cursor to enter such a partially-visible line.
5019
5020 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5021
5022 Improve error messages. (Bug#14808)
5023
5024 * net/tramp.el (tramp-current-connection): New defvar, moved from
5025 tramp-sh.el.
5026 (tramp-message-show-progress-reporter-message): Remove, not
5027 needed anymore.
5028 (tramp-error-with-buffer): Show message in minibuffer.
5029 Discard input before waiting. Reset connection timestamp.
5030 (with-tramp-progress-reporter): Improve messages.
5031 (tramp-process-actions): Use progress reporter. Delete process in
5032 case of error. Improve messages.
5033
5034 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5035 Call `tramp-error-with-buffer' with vector and buffer.
5036 (tramp-current-connection): Remove.
5037 (tramp-maybe-open-connection): The car of
5038 `tramp-current-connection' are the first 3 slots of the vector.
5039
5040 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5041
5042 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5043 inside continued strings.
5044
5045 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5046
5047 Timestamp fixes for undo (Bug#14824).
5048 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5049
5050 2013-07-10 Leo Liu <sdl.web@gmail.com>
5051
5052 * files.el (require-final-newline): Allow safe local value.
5053 (Bug#14834)
5054
5055 2013-07-09 Leo Liu <sdl.web@gmail.com>
5056
5057 * ido.el (ido-read-directory-name): Handle fallback.
5058 (ido-read-file-name): Update DIR to ido-current-directory.
5059 (Bug#1516)
5060 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5061
5062 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5063
5064 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5065 "autoload". Remove "warn lower camel case" section, previously
5066 commented out. Highlight negation char. Do not highlight the
5067 target in singleton method definitions.
5068
5069 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * faces.el (tty-setup-hook): Declare the hook.
5072
5073 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5074 and detect when a guard/pred depends on local vars (bug#14773).
5075 (pcase--u1): Adjust caller.
5076
5077 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5078
5079 * simple.el (line-move-partial, line-move): Account for
5080 line-spacing.
5081 (line-move-partial): Avoid setting vscroll when the last
5082 partially-visible line in window is of default height.
5083
5084 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5085
5086 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5087 been used a while.
5088
5089 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5090
5091 * subr.el (read-quoted-char): Remove unused local variable `char'.
5092
5093 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5094
5095 * ediff.el (ediff-version): Version update.
5096 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5097 (ediff-merge-with-ancestor-command, ediff-directories-command)
5098 (ediff-directories3-command, ediff-merge-directories-command)
5099 (ediff-merge-directories-with-ancestor-command): New functions.
5100 All are command-line interfaces to ediff: to facilitate calling
5101 Emacs with the appropriate ediff functions invoked.
5102
5103 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5104 (viper-save-kill-buffer): Check if buffer is modified.
5105
5106 * viper.el (viper-version): Version update.
5107 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5108
5109 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5112 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5113 (viper-intercept-ESC-key): Simplify.
5114 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5115 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5116 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5117 (viper-setup-ESC-to-escape): New functions.
5118 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5119 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5120
5121 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5122
5123 * simple.el (default-font-height, window-screen-lines):
5124 New functions.
5125 (line-move, line-move-partial): Use them instead of
5126 frame-char-height and window-text-height. This makes scrolling
5127 text smoother when the buffer's default face uses a font that is
5128 different from the frame's default font.
5129
5130 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5131
5132 * files.el (write-file): Do not display confirm dialog for NS,
5133 it does its own dialog, which can't be cancelled (Bug#14578).
5134
5135 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5136
5137 * simple.el (line-move-partial): Adjust the row returned by
5138 posn-at-point for the current window-vscroll. (Bug#14567)
5139
5140 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5141
5142 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5143 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5144 spaces.
5145
5146 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5147
5148 * window.el (window-state-put-stale-windows): New variable.
5149 (window--state-put-2): Save list of windows without matching buffer.
5150 (window-state-put): Remove "bufferless" windows if possible.
5151
5152 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5153
5154 * simple.el (alternatives-define): Remove leftover :group keyword.
5155 Tweak docstring.
5156
5157 2013-07-06 Leo Liu <sdl.web@gmail.com>
5158
5159 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5160 (ido-enable-virtual-buffers): New variable.
5161 (ido-buffer-internal, ido-toggle-virtual-buffers)
5162 (ido-make-buffer-list): Use it.
5163 (ido-exhibit): Support turning on and off virtual buffers
5164 automatically.
5165
5166 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5167
5168 * simple.el (alternatives-define): New macro.
5169
5170 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5171
5172 * subr.el (read-quoted-char): Use read-key.
5173 (sit-for): Let read-event decode tty input (bug#14782).
5174
5175 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5176
5177 * calendar/todo-mode.el: Add handling of file deletion, both by
5178 mode command and externally. Fix various related bugs.
5179 Clarify Commentary and improve some documentation strings and code.
5180 (todo-delete-file): New command.
5181 (todo-check-file): New function.
5182 (todo-show): Handle external deletion of the file we're trying to
5183 show (bug#14688). Replace called-interactively-p by an optional
5184 prefix argument to avoid problematic interaction with catch form
5185 when byte compiled (bug#14702).
5186 (todo-quit): Handle external deletion of the archive's todo file.
5187 Make sure the buffer that was visiting the archive file is still
5188 live before trying to bury it.
5189 (todo-category-completions): Handle external deletion of any
5190 category completion files.
5191 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5192 of todo files, in case of external deletion.
5193 (todo-add-file): Replace unnecessary setq by let-binding.
5194 (todo-find-archive): Check whether there are any archives.
5195 Replace unnecessary setq by let-binding.
5196 (todo-archive-done-item): Use find-file-noselect to get the
5197 archive buffer whether or not the archive already exists.
5198 Remove superfluous code. Use file size instead of buffer-file-name to
5199 check if the archive is new; if it is, update list of archives.
5200 (todo-default-todo-file): Allow nil to be a valid value for when
5201 there are no todo files.
5202 (todo-reevaluate-default-file-defcustom): Use corrected definition
5203 of todo-default-todo-file.
5204 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5205 (todo-delete-category, todo-show-categories-table)
5206 (todo-category-number): Clarify comment.
5207 (todo-filter-items): Clarify documentation string.
5208 (todo-show-current-file, todo-display-as-todo-file)
5209 (todo-reset-and-enable-done-separator): Tweak documentation string.
5210 (todo-done-separator): Make separator length window-width, since
5211 bug#2749 is now fixed.
5212
5213 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5214
5215 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5216 Support both "gvfs-monitor-dir" and "inotifywait".
5217 (tramp-sh-file-inotifywait-process-filter): Rename from
5218 `tramp-sh-file-notify-process-filter'.
5219 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5220 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5221
5222 2013-07-05 Leo Liu <sdl.web@gmail.com>
5223
5224 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5225
5226 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5227
5228 * frame.el (display-pixel-height, display-pixel-width)
5229 (display-mm-height, display-mm-width): Mention behavior on
5230 multi-monitor setups in docstrings.
5231 (w32-display-monitor-attributes-list): Declare function.
5232 (display-monitor-attributes-list): Use it.
5233
5234 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5235
5236 * filenotify.el: New package.
5237
5238 * autorevert.el (top): Require filenotify.el.
5239 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5240 instead.
5241 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5242 (auto-revert-notify-handler): Use `file-notify-*' functions.
5243
5244 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5245
5246 * net/tramp.el (tramp-file-name-for-operation):
5247 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5248
5249 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5250 for `file-notify-add-watch' and `file-notify-rm-watch'.
5251 (tramp-process-sentinel): Improve trace.
5252 (tramp-sh-handle-file-notify-add-watch)
5253 (tramp-sh-file-notify-process-filter)
5254 (tramp-sh-handle-file-notify-rm-watch)
5255 (tramp-get-remote-inotifywait): New defuns.
5256
5257 2013-07-03 Juri Linkov <juri@jurta.org>
5258
5259 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5260 call of `occur-read-primary-args' to interactive spec.
5261
5262 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5263 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5264
5265 2013-07-03 Matthias Meulien <orontee@gmail.com>
5266
5267 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5268 `Buffer-menu-multi-occur'. Add it to the menu.
5269 (Buffer-menu-mode): Document it in docstring.
5270 (Buffer-menu-multi-occur): New command. (Bug#14673)
5271
5272 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5273
5274 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5275 keywords and built-ins.
5276
5277 2013-07-03 Glenn Morris <rgm@gnu.org>
5278
5279 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5280
5281 Make info-xref checks case-sensitive by default
5282 * info.el (Info-find-node, Info-find-in-tag-table)
5283 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5284 Add option for exact case matching of nodes.
5285 * info-xref.el (info-xref): New custom group.
5286 (info-xref-case-fold): New option.
5287 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5288
5289 2013-07-03 Leo Liu <sdl.web@gmail.com>
5290
5291 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5292
5293 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5294
5295 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5296 middle of block statement initially, lower the depth. Remove
5297 FIXME comment, not longer valid. Remove middle of block statement
5298 detection, no need to do that anymore since we've been using
5299 `ruby-parse-region' here.
5300
5301 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5302
5303 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5304
5305 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5306
5307 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5308
5309 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5310
5311 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5312 (desktop-restore-in-current-display): New customization option.
5313 (desktop--excluded-frame-parameters): Add `font'.
5314 (desktop--save-frames): Rename from desktop--save-windows.
5315 (desktop--restore-in-this-display-p): New function.
5316 (desktop--make-full-frame): Remove unwanted width/height from
5317 full(width|height) frames.
5318 (desktop--restore-frames): Rename from desktop--restore-windows.
5319 Obey desktop-restore-current-display. Do not delete old frames or
5320 select a new frame unless we were able to restore at least one frame.
5321
5322 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5323
5324 * files.el (find-file-noselect): Simplify conditional expression.
5325
5326 * remember.el (remember-append-to-file):
5327 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5328
5329 Add `remember-notes' function to store random notes across Emacs
5330 restarts.
5331 * remember.el (remember-data-file): Add :set callback to affect
5332 notes buffer (if any).
5333 (remember-notes): New command.
5334 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5335 New defcustoms for the `remember-notes' function.
5336 (remember-notes-save-and-bury-buffer): New command.
5337 (remember-notes-mode-map): New variable.
5338 (remember-mode): New minor mode.
5339 (remember-notes--kill-buffer-query): New function.
5340 * startup.el (initial-buffer-choice): Add notes to custom type.
5341
5342 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5343
5344 * bindings.el (right-char, left-char): Don't call sit-for, this is
5345 no longer needed. Use arithmetic comparison only for numerical
5346 arguments.
5347
5348 * international/mule-cmds.el (select-safe-coding-system):
5349 Handle the case of FROM being a string correctly. (Bug#14755)
5350
5351 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5352
5353 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5354 progression on degenerate tables.
5355 (shr-rescale-image): ImageMagick animated images currently don't work.
5356
5357 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5358
5359 Some fixes and improvements for desktop frame restoration.
5360 It is still experimental and disabled by default.
5361 * desktop.el (desktop--save-windows): Put the selected frame at
5362 the head of the list.
5363 (desktop--make-full-frame): New function.
5364 (desktop--restore-windows): Try to re-select the frame that was
5365 selected upon saving. Do not abort if some frames fail to restore,
5366 just show an error message and continue. Set up maximized frames
5367 so they have default non-maximized dimensions.
5368
5369 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5370
5371 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5372 Don't start heredoc inside a string or comment.
5373
5374 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5375
5376 * bindings.el (visual-order-cursor-movement): New defcustom.
5377 (right-char, left-char): Provide visual-order cursor motion by
5378 calling move-point-visually. Update the doc strings.
5379
5380 2013-06-28 Kenichi Handa <handa@gnu.org>
5381
5382 * international/mule.el (define-coding-system): New coding system
5383 properties :inhibit-null-byte-detection,
5384 :inhibit-iso-escape-detection, and :prefer-utf-8.
5385 (set-buffer-file-coding-system): If :charset-list property of
5386 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5387 appropriate for setting.
5388
5389 * international/mule-cmds.el (select-safe-coding-system):
5390 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5391 multibyte characters, return utf-8 (or one of its siblings).
5392
5393 * international/mule-conf.el (prefer-utf-8): New coding system.
5394 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5395 files.
5396
5397 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5398
5399 * net/shr.el (shr-render-region): New function.
5400
5401 * net/eww.el: Autoload `eww-browse-url'.
5402
5403 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5404
5405 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5406 Adapt to `package-desc-version' being a list.
5407 Use `package--ac-desc-version' to retrieve version from a package
5408 archive element.
5409
5410 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5411
5412 New experimental feature to save&restore window and frame setup.
5413 * desktop.el (desktop-save-windows): New defcustom.
5414 (desktop--saved-states): New var.
5415 (desktop--excluded-frame-parameters): New defconst.
5416 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5417 (desktop--restore-windows, desktop--save-windows): New functions.
5418 (desktop-save): Call `desktop--save-windows'.
5419 (desktop-read): Call `desktop--restore-windows'.
5420
5421 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5422
5423 * net/shr.el (add-face-text-property): Remove compat definition.
5424
5425 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5426
5427 * info.el (Info-try-follow-nearest-node): Move search for footnote
5428 above search for node name to prevent missing a footnote (bug#14717).
5429
5430 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5431
5432 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5433
5434 2013-06-27 Leo Liu <sdl.web@gmail.com>
5435
5436 * net/eww.el (eww-read-bookmarks): Check file size.
5437
5438 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5441 advice--pending if newdef is nil or an autoload (bug#13820).
5442 (advice-mapc): New function.
5443
5444 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5445
5446 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5447 probably.
5448 (eww-mode-map): Add a menu bar.
5449 (eww-add-bookmark): New command.
5450 (eww-bookmark-mode): New mode and commands.
5451 (eww-add-bookmark): Remove newlines from the title.
5452 (eww-bookmark-browse): Don't bug out if it's the only window.
5453
5454 2013-06-26 Glenn Morris <rgm@gnu.org>
5455
5456 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5457 (hfy-size): Handle ttys. (Bug#14668)
5458
5459 * info-xref.el: Update for Texinfo 5 change in *note format.
5460 (info-xref-node-re, info-xref-note-re): New constants.
5461 (info-xref-check-buffer): Use info-xref-note-re.
5462
5463 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5466
5467 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5468 nil terminate the loop (bug#14718).
5469
5470 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5471
5472 * net/eww.el: Rework history traversal. When going forward/back,
5473 put these actions into the history, too, so that they can be
5474 replayed.
5475 (eww-render): Move the history reset to the correct buffer.
5476
5477 2013-06-25 Juri Linkov <juri@jurta.org>
5478
5479 * files-x.el (modify-dir-local-variable): Change the header comment
5480 in the file with directory local variables. (Bug#14692)
5481
5482 * files-x.el (read-file-local-variable-value): Add `default'.
5483 (Bug#14710)
5484
5485 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5486
5487 * net/eww.el (eww-make-unique-file-name): Create a unique file
5488 name before saving to entering `y' accidentally asynchronously.
5489
5490 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5491
5492 * net/eww.el (eww-download): New command and keystroke.
5493
5494 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5495
5496 * net/eww.el (eww-copy-page-url): Change name of command.
5497
5498 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5499 be more consistent with Info and dired.
5500
5501 * net/eww.el (eww-mode-map): Ditto.
5502
5503 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5504
5505 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5506 packages from archives.
5507 (package-archive-contents): Change format; include obsolete packages.
5508 (package-desc): Use `dir' to mark builtin packages.
5509 (package--from-builtin): Set the `dir' field to `builtin'.
5510 (generated-autoload-file, version-control): Declare.
5511 (package-compute-transaction): Change first arg and return value to be
5512 lists of package-descs. Adjust to new package-archive-contents format.
5513 (package--add-to-archive-contents): Adjust to new
5514 package-archive-contents format.
5515 (package-download-transaction): Arg is now a list of package-descs.
5516 (package-install): If `pkg' is a package name, pass it as
5517 a requirement, so it is subject to the usual (e.g. disabled) checks.
5518 (describe-package): Accept package-desc as well.
5519 (describe-package-1): Describe a specific package-desc. Add links to
5520 other package-descs for the same package name.
5521 (package-menu-describe-package): Pass the actual package-desc.
5522 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5523 works correctly.
5524 (package-desc-status): New function.
5525 (package-menu--refresh): New function, extracted
5526 from package-menu--generate.
5527 (package-menu--generate): Use it.
5528 (package-delete): Update package-alist.
5529 (package-menu-execute): Don't call package-initialize.
5530
5531 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5532 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5533 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5534 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5535 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5536 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5537
5538 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5539
5540 * window.el (window--state-get-1): Workaround for bug#14527.
5541 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5542
5543 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5544
5545 * net/eww.el (eww-back-url): Implement the history by stashing all
5546 the data into a list.
5547 (eww-forward-url): Allow going forward in the history, too.
5548
5549 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5552 for values and use read--expression for expressions (bug#14710).
5553 (read-file-local-variable): Avoid setq.
5554 (read-file-local-variable-mode): Use minor-mode-list.
5555
5556 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5557
5558 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5559 for DOI URLs.
5560
5561 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5562
5563 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5564 Update imenu-support when dialect changes.
5565
5566 2013-06-25 Leo Liu <sdl.web@gmail.com>
5567
5568 * ido.el (ido-read-internal): Allow forward slash on windows.
5569
5570 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5571
5572 * net/eww.el (eww): Start of strings is \\`, not ^.
5573
5574 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5575
5576 * net/shr.el (shr-browse-url): Fix interactive spec.
5577
5578 * net/eww.el (eww): Add a trailing slash to domain names.
5579
5580 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5581
5582 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5583
5584 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5585
5586 * net/shr.el (shr-browse-url): Use an external browser if given a
5587 prefix.
5588
5589 * net/eww.el (eww-external-browser): Move to shr.
5590
5591 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5592
5593 * net/eww.el (eww): Work more correctly for file: URLs.
5594 (eww-detect-charset): Allow quoted charsets.
5595 (eww-yank-page-url): New command and keystroke.
5596
5597 2013-06-24 Daiki Ueno <ueno@gnu.org>
5598
5599 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5600 file name of gpg executable.
5601 (epg-context-program): New function.
5602 (epg-context-home-directory): New function.
5603 (epg-context-set-program): New function.
5604 (epg-context-set-home-directory): New function.
5605 (epg--start): Use `epg-context-program' instead of
5606 'epg-gpg-program'.
5607 (epg--list-keys-1): Likewise.
5608
5609 2013-06-24 Leo Liu <sdl.web@gmail.com>
5610
5611 * ido.el (ido-read-internal): Fix bug#14620.
5612
5613 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5614
5615 * faces.el (face-documentation): Simplify.
5616 (read-face-attribute, tty-find-type, x-resolve-font-name):
5617 Use `string-match-p'.
5618 (list-faces-display): Use `string-match-p'. Simplify.
5619 (face-spec-recalc): Check face to avoid face alias loops.
5620 (read-color): Use `string-match-p' and non-capturing parenthesis.
5621
5622 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5623
5624 * net/shr.el (shr-rescale-image): Use the new
5625 :max-width/:max-height functionality.
5626
5627 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5628
5629 * net/eww.el (eww-search-prefix): New variable.
5630 (eww): Use it.
5631 (eww-external-browser): New variable.
5632 (eww-mode-map): New keystroke.
5633 (eww-browse-with-external-browser): New command.
5634
5635 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5636
5637 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5638
5639 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5640 Don't skip aligning the next header field when padding is 0;
5641 otherwise, field width is not respected unless the title is as
5642 wide as the field.
5643
5644 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5645
5646 * emacs-lisp/package.el (package-el-version): Remove.
5647 (package-process-define-package): Fix inf-loop.
5648 (package-install): Allow symbols as arguments again.
5649
5650 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5651
5652 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5653 add some more keyword-like methods.
5654 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5655
5656 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5657
5658 * bs.el (bs-buffer-show-mark): Make defvar-local.
5659 (bs-mode): Use setq-local.
5660
5661 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5662 (emacs-lock--try-unlocking): Make defvar-local.
5663
5664 2013-06-22 Glenn Morris <rgm@gnu.org>
5665
5666 * play/cookie1.el (cookie-apropos): Minor simplification.
5667
5668 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5669
5670 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5671
5672 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5673 `regexp-opt', it breaks the build during dumping.
5674
5675 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5676
5677 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5678 Highlight keyword-like methods on Kernel and Module with
5679 font-lock-builtin-face.
5680 (auto-mode-alist): Consolidate different entries into one regexp
5681 and add more *file-s.
5682
5683 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5684
5685 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5686
5687 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5688 (diary-entry): Use it in the action of this button type instead of
5689 diary-goto-entry.
5690
5691 * calendar/todo-mode.el: New version.
5692 (todo-add-category): Append new category to end of file and give
5693 it the highest number, instead of putting it at the beginning and
5694 giving it 0. Incorporate noninteractive functionality.
5695 (todo-forward-category): Adapt to 1-based category numbering.
5696 Allow skipping over archived categories.
5697 (todo-backward-category): Derive from todo-forward-category.
5698 (todo-backward-item, todo-forward-item): Make noninteractive and
5699 delegate interactive part to new commands. Make sensitive to done items.
5700 (todo-categories): Make value an alist of category names and
5701 vectors of item counts.
5702 (todo-category-beg): Make a defconst.
5703 (todo-category-number): Use 1 instead of 0 as initial value.
5704 (todo-category-select): Make sensitive to overlays, optional item
5705 highlighting and done items.
5706 (todo-delete-item): Make sensitive to overlays and marked and done items.
5707 (todo-edit-item): Make sensitive to overlays and editing of
5708 date/time header optional. Add format checks.
5709 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5710 no-op if point is not on an item. Advertise using todo-edit-quit.
5711 (todo-edit-mode): Make sensitive to new format, font-locking, and
5712 multiple todo files.
5713 (todo-insert-item, todo-insert-item-here): Derive from
5714 todo-basic-insert-item and extend functionality.
5715 (todo-item-end, todo-item-start): Make sensitive to done items.
5716 (todo-item-string): Don't return text properties. Restore point.
5717 (todo-jump-to-category): Make sensitive to multiple todo files and
5718 todo archives. Use extended category completion.
5719 (todo-lower-item, todo-raise-item): Rename to *-priority and
5720 derive from todo-set-item-priority.
5721 (todo-mode): Derive from special-mode. Make sensitive to new
5722 format, font-locking and multiple todo files. Make read-only.
5723 (todo-mode-map): Don't suppress digit keys, so they can supply
5724 prefix arguments. Add many new key bindings.
5725 (todo-prefix): Insert as an overlay instead of file text.
5726 Change semantics from diary date expression to purely visual mark.
5727 (todo-print): Rename to todo-print-buffer. Make buffer display
5728 features printable. Remove option to restrict number of items
5729 printed. Add option to print to file.
5730 (todo-print-function): Rename to todo-print-buffer-function.
5731 (todo-quit): Extend to handle exiting new todo modes.
5732 (todo-remove-item): Make sensitive to overlays.
5733 (todo-save): Extend to buffers of filtered items.
5734 (todo-show): Make sensitive to done items, multiple todo files and
5735 new todo modes. Offer to convert legacy todo file before creating
5736 first new todo file.
5737 (todo-show-priorities): Rename to todo-top-priorities.
5738 Change semantics of value 0.
5739 (todo-top-priorities): Rename to todo-filter-top-priorities,
5740 derive from todo-filter-items and extend functionality.
5741 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5742 and extend functionality to other types of filtered items.
5743 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5744 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5745 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5746 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5747 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5748 (todo-edit-mode-hook, todo-entry-prefix-function)
5749 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5750 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5751 (todo-initials, todo-insert-threshold, todo-item-string-start)
5752 (todo-line-string, todo-menu, todo-mode-hook)
5753 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5754 (todo-print-priorities, todo-remove-separator)
5755 (todo-save-top-priorities-too, todo-string-count-lines)
5756 (todo-string-multiline-p, todo-time-string-format)
5757 (todo-tmp-buffer-name): Remove.
5758 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5759 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5760 (todo-edit-category-diary-inclusion)
5761 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5762 (todo-edit-file, todo-edit-item-date-day)
5763 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5764 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5765 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5766 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5767 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5768 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5769 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5770 (todo-filter-top-priorities-multifile, todo-find-archive)
5771 (todo-find-filtered-items-file, todo-go-to-source-item)
5772 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5773 (todo-jump-to-archive-category, todo-lower-category)
5774 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5775 (todo-move-category, todo-move-item, todo-next-button)
5776 (todo-next-item, todo-padded-string, todo-powerset)
5777 (todo-previous-button, todo-previous-item)
5778 (todo-print-buffer-to-file, todo-raise-category)
5779 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5780 (todo-set-category-number, todo-set-item-priority)
5781 (todo-set-top-priorities-in-category)
5782 (todo-set-top-priorities-in-file, todo-show-categories-table)
5783 (todo-sort-categories-alphabetically-or-numerically)
5784 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5785 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5786 (todo-toggle-item-header, todo-toggle-item-highlighting)
5787 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5788 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5789 (todo-unarchive-items, todo-unmark-category): New commands.
5790 (todo-absolute-file-name, todo-add-to-buffer-list)
5791 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5792 (todo-basic-insert-item, todo-category-completions)
5793 (todo-category-number, todo-category-string-matcher-1)
5794 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5795 (todo-check-format, todo-clear-matches)
5796 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5797 (todo-current-category, todo-date-string-matcher)
5798 (todo-define-insertion-command, todo-diary-expired-matcher)
5799 (todo-diary-goto-entry, todo-diary-item-p)
5800 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5801 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5802 (todo-done-item-section-p, todo-done-separator)
5803 (todo-done-string-matcher, todo-files, todo-filter-items)
5804 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5805 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5806 (todo-insert-category-line, todo-insert-item-from-calendar)
5807 (todo-insert-sort-button, todo-insert-with-overlays)
5808 (todo-insertion-command-name, todo-insertion-key-bindings)
5809 (todo-label-to-key, todo-longest-category-name-length)
5810 (todo-make-categories-list, todo-mode-external-set)
5811 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5812 (todo-modes-set-3, todo-multiple-filter-files)
5813 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5814 (todo-read-category, todo-read-date, todo-read-dayname)
5815 (todo-read-file-name, todo-read-time)
5816 (todo-reevaluate-category-completions-files-defcustom)
5817 (todo-reevaluate-default-file-defcustom)
5818 (todo-reevaluate-filelist-defcustoms)
5819 (todo-reevaluate-filter-files-defcustom)
5820 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5821 (todo-reset-done-separator, todo-reset-done-separator-string)
5822 (todo-reset-done-string, todo-reset-global-current-todo-file)
5823 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5824 (todo-reset-prefix, todo-set-categories)
5825 (todo-set-date-from-calendar, todo-set-show-current-file)
5826 (todo-set-top-priorities, todo-short-file-name)
5827 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5828 (todo-total-item-counts, todo-update-buffer-list)
5829 (todo-update-categories-display, todo-update-categories-sexp)
5830 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5831 New functions.
5832 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5833 New major modes.
5834 (todo-categories, todo-display, todo-edit, todo-faces)
5835 (todo-filtered): New defgroups.
5836 (todo-archived-only, todo-button, todo-category-string, todo-date)
5837 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5838 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5839 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5840 (todo-add-item-if-new-category, todo-always-add-time-string)
5841 (todo-categories-align, todo-categories-archived-label)
5842 (todo-categories-category-label, todo-categories-diary-label)
5843 (todo-categories-done-label, todo-categories-number-separator)
5844 (todo-categories-todo-label, todo-categories-totals-label)
5845 (todo-category-completions-files, todo-completion-ignore-case)
5846 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5847 (todo-done-separator-string, todo-done-string)
5848 (todo-files-function, todo-filter-done-items, todo-filter-files)
5849 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5850 (todo-initial-category, todo-initial-file, todo-item-mark)
5851 (todo-legacy-date-time-regexp, todo-mode-line-function)
5852 (todo-nondiary-marker, todo-number-prefix)
5853 (todo-print-buffer-function, todo-show-current-file)
5854 (todo-show-done-only, todo-show-first, todo-show-with-done)
5855 (todo-skip-archived-categories, todo-top-priorities-overrides)
5856 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5857 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5858 New defcustoms.
5859 (todo-category-done, todo-date-pattern, todo-date-string-start)
5860 (todo-diary-items-buffer, todo-done-string-start)
5861 (todo-filtered-items-buffer, todo-item-start)
5862 (todo-month-abbrev-array, todo-month-name-array)
5863 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5864 (todo-top-priorities-buffer): New defconsts.
5865 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5866 (todo-categories-with-marks, todo-category-string-face)
5867 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5868 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5869 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5870 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5871 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5872 (todo-font-lock-keywords, todo-global-current-todo-file)
5873 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5874 (todo-insertion-commands-args)
5875 (todo-insertion-commands-args-genlist)
5876 (todo-insertion-commands-names, todo-insertion-map)
5877 (todo-key-bindings-t, todo-key-bindings-t+a)
5878 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5879 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5880 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5881 (todo-visited): New variables.
5882
5883 2013-06-21 Glenn Morris <rgm@gnu.org>
5884
5885 * play/cookie1.el (cookie-apropos): Add optional display argument.
5886 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5887 (psychoanalyze-pinhead): Use cookie-doctor.
5888
5889 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5890
5891 * emacs-lisp/package.el (tar-get-file-descriptor)
5892 (tar--extract): Declare.
5893
5894 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5895
5896 Extend flymake's warning predicate to be a function (bug#14217).
5897 * progmodes/flymake.el (flymake-warning-predicate): New.
5898 (flymake-parse-line): Use it.
5899 (flymake-warning-re): Make obsolete alias to
5900 `flymake-warning-predicate'.
5901
5902 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5905 (package-obsolete-list): Remove.
5906 (package-activate): Remove min-version argument. Add `force' argument.
5907 Adjust to new package-alist format.
5908 (package-mark-obsolete): Remove.
5909 (package-unpack): Force reload of the package's autoloads.
5910 (package-installed-p): Check builtins if the installed package is not
5911 recent enough.
5912 (package-initialize): Don't reset package-obsolete-list.
5913 Don't specify which package version to activate.
5914 (package-process-define-package, describe-package-1)
5915 (package-menu--generate): Adjust to new package-alist format.
5916
5917 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5918
5919 * allout-widgets.el (allout-widgets-mode-off)
5920 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5921 (allout-widgets-post-command-business)
5922 (allout-widgets-after-copy-or-kill-function)
5923 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5924 (allout-decorate-item-and-context)
5925 (allout-graphics-modification-handler): Fix typos in docstrings.
5926 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5927
5928 * cmuscheme.el (scheme-start-file): Doc fix.
5929 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5930 (scheme-input-filter): Use `string-match-p'.
5931
5932 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5933
5934 * dired-x.el: Use Dired consistently in docstrings.
5935
5936 * dired.el: Use Dired consistently in docstrings.
5937 (dired-readin, dired-mode): Use `setq-local'.
5938 (dired-switches-alist): Make defvar-local.
5939 (dired-buffers-for-dir): Use `zerop'.
5940 (dired-safe-switches-p, dired-switches-escape-p)
5941 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5942 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5943 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5944 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5945 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5946 (dired-toggle-marks, dired-mark-files-containing-regexp)
5947 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5948 (dired-flag-auto-save-files, dired-flag-backup-files):
5949 Use `looking-at-p'.
5950 (dired-mark-files-regexp, dired-build-subdir-alist):
5951 Use `string-match-p', `looking-at-p'.
5952
5953 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5954 (direct-print-region-helper): Use `string-match-p'.
5955
5956 2013-06-21 Leo Liu <sdl.web@gmail.com>
5957
5958 * comint.el (comint-redirect-results-list-from-process):
5959 Fix infinite loop.
5960
5961 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5962
5963 * net/eww.el (eww-update-header-line-format): Quote % characters.
5964
5965 2013-06-21 Glenn Morris <rgm@gnu.org>
5966
5967 * play/cookie1.el (cookie): New custom group.
5968 (cookie-file): New option.
5969 (cookie-check-file): New function.
5970 (cookie): Make it interactive. Make start and end messages optional.
5971 Interactively, display the result. Default to cookie-file.
5972 (cookie-insert): Default to cookie-file.
5973 (cookie-snarf): Make start and end messages optional.
5974 Default to cookie-file. Use with-temp-buffer.
5975 (cookie-read): Rename from read-cookie.
5976 Make start and end messages optional. Default to cookie-file.
5977 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5978 Do not autoload it.
5979 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5980 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5981
5982 2013-06-21 Leo Liu <sdl.web@gmail.com>
5983
5984 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5985
5986 2013-06-21 Glenn Morris <rgm@gnu.org>
5987
5988 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5989
5990 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5991 Daniel Hackney <dan@haxney.org>
5992
5993 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5994 Consolidate the single-file vs tarball code.
5995 (package-desc-suffix): New function.
5996 (package-desc-full-name): Don't bother inlining it.
5997 (package-load-descriptor): Return the new package-desc.
5998 (package-mark-obsolete): Remove unused arg `package'.
5999 (package-unpack): Make it work for single files as well.
6000 Make it update package-alist.
6001 (package--make-autoloads-and-stuff): Rename from
6002 package--make-autoloads-and-compile. Don't compile any more.
6003 (package--compile): New function.
6004 (package-generate-description-file): New function, extracted from
6005 package-unpack-single.
6006 (package-unpack-single): Remove.
6007 (package--with-work-buffer): Add indentation and debugging info.
6008 (package-download-single): Remove.
6009 (package-install-from-archive): Rename from package-download-tar, make
6010 it take a pkg-desc, and make it work for single files as well.
6011 (package-download-transaction): Simplify.
6012 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6013 external tar program.
6014 (package-install-from-buffer): Remove `pkg-desc' argument.
6015 Use package-tar-file-info for tar-mode buffers.
6016 (package-install-file): Simplify accordingly.
6017 (package-archive-base): Change to take a pkg-desc.
6018 * tar-mode.el (tar--check-descriptor): New function, extracted from
6019 tar-get-descriptor.
6020 (tar-get-descriptor): Use it.
6021 (tar-get-file-descriptor): New function.
6022 (tar--extract): New function, extracted from tar-extract.
6023 (tar--extract): Use it.
6024 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6025 case the summary uses non-ascii. Adjust to new calling convention of
6026 package-tar-file-info.
6027
6028 2013-06-21 Leo Liu <sdl.web@gmail.com>
6029
6030 * comint.el (comint-redirect-results-list-from-process):
6031 Fix random delay. (Bug#14681)
6032
6033 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * profiler.el (profiler-format-number): Use log, not log10.
6036
6037 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6038
6039 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6040
6041 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6044 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6045 yet available.
6046 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6047 (AUTOGENEL): ... here.
6048 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6049 (cl--defsubst-expand): Use it.
6050
6051 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6052
6053 * subr.el (log10): Move here from C code, and declare as obsolete.
6054 All uses of (log10 X) replaced with (log X 10).
6055
6056 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6057
6058 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6059 Declare with `defvar-local'.
6060 (tabulated-list-use-header-line, tabulated-list-entries)
6061 (tabulated-list-padding, tabulated-list-printer)
6062 (tabulated-list-sort-key): Declare with `defvar-local'.
6063 (tabulated-list-init-header, tabulated-list-print-fake-header):
6064 Use `setq-local'.
6065
6066 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6067
6068 * arc-mode.el (archive-mode): Add `archive-write-file' to
6069 `write-contents-functions' also for remote files. (Bug#14652)
6070
6071 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * cus-edit.el (custom-commands): Fix typos.
6074 (custom-display): Fix tooltip text.
6075 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6076 Fix typos in docstrings.
6077 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6078 (custom-unlispify-menu-entry, custom-magic-value-create)
6079 (custom-add-see-also, custom-group-value-create): Use ?\s.
6080 (custom-guess-type, customize-apropos, editable-field)
6081 (custom-face-value-create): Use `string-match-p'.
6082 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6083
6084 * custom.el (custom-load-symbol): Use `string-match-p'.
6085
6086 * ansi-color.el: Convert to lexical binding.
6087 (ansi-colors): Fix URL.
6088 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6089 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6090 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6091
6092 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6093
6094 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6095
6096 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6097
6098 2013-06-19 Tom Tromey <tromey@redhat.com>
6099
6100 * net/eww.el (eww-top-url): Remove.
6101 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6102 (eww-render): Set new variables. Don't set eww-top-url.
6103 (eww-handle-link): Handle "prev", "home", and "contents".
6104 Downcase the rel text.
6105 (eww-top-url): Choose best top URL.
6106
6107 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6108
6109 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6110 relying in widget.el. Using widget.el leads to too many
6111 user interface inconsistencies.
6112 (eww-self-insert): Implement entering commands in text fields.
6113 (eww-process-text-input): New function to make text input field editing
6114 work.
6115 (eww-submit): Rewrite to use the new-style form methods.
6116 (eww-select-display): Display the correct selected item.
6117 (eww-change-select): Implement changing the select value.
6118 (eww-toggle-checkbox): Implement radio/checkboxes.
6119 (eww-update-field): Fix compilation error.
6120 (eww-tag-textarea): Implement <textarea>.
6121
6122 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6123 we don't shadow mode-specific bindings.
6124
6125 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6126 nothing to push.
6127
6128 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6129
6130 2013-06-19 Glenn Morris <rgm@gnu.org>
6131
6132 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6133
6134 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6135
6136 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6137 not needed.
6138
6139 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6140
6141 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6142
6143 * net/browse-url.el (browse-url-browser-function):
6144 `eww-browse-url' has the right calling signature, `eww' does not.
6145
6146 2013-06-19 Glenn Morris <rgm@gnu.org>
6147
6148 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6149 Only eval autoloaded macros.
6150 (byte-compile-autoload): Only give the macro warning for macros.
6151
6152 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6153 (ps-underlined-faces): Declare.
6154
6155 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6156 (speedbar-add-supported-extension): Declare.
6157
6158 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6159 Don't include a date stamp in the header of the generated file;
6160 it leads to needless differences between output files.
6161
6162 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6163
6164 * net/secrets.el (secrets-struct-secret-content-type):
6165 Replace check of introspection data by a test call of "CreateItem".
6166 Some servers do not offer introspection.
6167
6168 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * electric.el (electric-pair-mode): Improve interaction with
6171 electric-layout-mode.
6172 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6173 (electric-pair-syntax): Use text-mode-syntax-table in comments
6174 and strings.
6175 (electric-pair--insert): New function.
6176 (electric-pair-post-self-insert-function): Use it and
6177 electric--after-char-pos.
6178
6179 2013-06-19 Leo Liu <sdl.web@gmail.com>
6180
6181 * progmodes/octave.el (octave-help): Fix regexp.
6182
6183 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6184
6185 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6186 (shr-table-horizontal-line): Allow nil as a value, and change the
6187 default.
6188 (shr-insert-table-ruler): Respect the nil value.
6189
6190 2013-06-18 Tom Tromey <tromey@barimba>
6191
6192 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6193 New defvars.
6194 (eww-open-file): New defun.
6195 (eww-render): Initialize new variables.
6196 (eww-display-html): Handle "link" and "a".
6197 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6198 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6199 (eww-back-url): Rename from eww-previous-url.
6200 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6201 New defuns.
6202
6203 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6204
6205 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6206 Distinguish ternary operator tokens from slash symbol and slash
6207 char literal.
6208
6209 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6210
6211 Convert symbol prettification into minor mode and global minor mode.
6212
6213 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6214 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6215 (prettify-symbols--keywords): Rename from
6216 `prog-prettify-symbols-alist' and make a local defvar.
6217 (prettify-symbols--compose-symbol): Rename from
6218 `prog--prettify-font-lock-compose-symbol'.
6219 (prettify-symbols--make-keywords): Rename from
6220 `prog-prettify-font-lock-symbols-keywords' and simplify.
6221 (prog-prettify-install): Remove.
6222 (prettify-symbols-mode): New minor mode, based on
6223 `prog-prettify-install'.
6224 (turn-on-prettify-symbols-mode): New function.
6225 (global-prettify-symbols-mode): New globalized minor mode.
6226
6227 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6228 * progmodes/cfengine.el (cfengine3-mode):
6229 * progmodes/perl-mode.el (perl-mode): Don't call
6230 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6231
6232 2013-06-18 Juri Linkov <juri@jurta.org>
6233
6234 * files-x.el (modify-file-local-variable-message): New function.
6235 (modify-file-local-variable)
6236 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6237 and call `modify-file-local-variable-message' when it's non-nil.
6238 (add-file-local-variable, delete-file-local-variable)
6239 (add-file-local-variable-prop-line)
6240 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6241 and use it. (Bug#9820)
6242
6243 2013-06-18 Juri Linkov <juri@jurta.org>
6244
6245 * emulation/vi.el (vi-shell-op):
6246 * emulation/vip.el (vip-execute-com, ex-command):
6247 * emulation/viper-cmd.el (viper-exec-bang):
6248 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6249 the call of `shell-command-on-region'. (Bug#14637)
6250
6251 * simple.el (shell-command-on-region): Doc fix.
6252
6253 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6256 (bug#14633).
6257
6258 2013-06-18 Glenn Morris <rgm@gnu.org>
6259
6260 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6261
6262 * newcomment.el (comment-search-forward, comment-search-backward):
6263 Doc fix. (Bug#14376)
6264
6265 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6266
6267 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6268 (buffer-face-mode-invoke): Doc fix.
6269
6270 2013-06-18 Matthias Meulien <orontee@gmail.com>
6271
6272 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6273 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6274
6275 2013-06-18 Glenn Morris <rgm@gnu.org>
6276
6277 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6278 Replace obsolete function generic-make-keywords with its expansion.
6279
6280 * progmodes/python.el (ffap-alist): Declare.
6281
6282 * textmodes/reftex.el (bibtex-mode-map): Declare.
6283
6284 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6287 (package-unpack, package-unpack-single): Return the pkg-dir.
6288 (package-download-transaction): Use it to update package-alist.
6289
6290 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6291
6292 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6293 possible choice.
6294
6295 2013-06-17 Juri Linkov <juri@jurta.org>
6296
6297 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6298
6299 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6300
6301 * emacs-lisp/package.el (package-load-descriptor):
6302 Remove `with-syntax-table' call, `read' doesn't need it.
6303 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6304
6305 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6306
6307 * startup.el (command-line): Expand package name returned by
6308 `package--description-file' (bug#14639).
6309
6310 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6311
6312 * emacs-lisp/package.el (package-load-descriptor): Do not call
6313 `emacs-lisp-mode', just use its syntax table.
6314
6315 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6316
6317 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6318 `font-lock-extra-managed-props' if any prettifying keyword is added.
6319 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6320 (prog-mode): Use `setq-local'.
6321
6322 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * international/characters.el (standard-case-table): Set syntax of ?»
6325 and ?« to punctuation.
6326
6327 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6328
6329 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6330 Save relevant match data before calling `syntax-ppss' (bug#14595).
6331
6332 2013-06-15 Juri Linkov <juri@jurta.org>
6333
6334 * files-x.el (modify-file-local-variable-prop-line): Add local
6335 variables to the end of the existing comment on the first line.
6336 Use `file-auto-mode-skip' to skip interpreter magic line,
6337 and also skip XML declaration.
6338
6339 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * startup.el (package--builtin-versions): New var.
6342 (package-subdirectory-regexp): Remove.
6343 (package--description-file): Hard code its value instead.
6344
6345 * emacs-lisp/package.el: Don't activate packages older than builtin.
6346 (package-obsolete-list): Rename from package-obsolete-alist, and make
6347 it into a simple list of package-desc.
6348 (package-strip-version): Remove.
6349 (package-built-in-p): Use package--builtin-versions.
6350 (package-mark-obsolete): Simplify.
6351 (package-process-define-package): Mark it obsolete if older than the
6352 builtin version.
6353 (package-handle-response): Use line-end-position.
6354 (package-read-archive-contents, package--download-one-archive):
6355 Simplify.
6356 (package--add-to-archive-contents): Skip if older than the builtin or
6357 installed version.
6358 (package-menu-describe-package): Fix last change.
6359 (package-list-unversioned): New var.
6360 (package-menu--generate): Use it.
6361
6362 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6363 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6364 (autoload-builtin-package-versions): New variable.
6365 (autoload-generate-file-autoloads): Use them.
6366 Remove the list of autoloaded functions/macros from the
6367 (autoload...) comments.
6368
6369 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6370
6371 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6372
6373 * simple.el (line-move-partial): Don't jump to the next screen
6374 line as soon as it becomes visible. Instead, continue enlarging
6375 the vscroll until the portion of a tall screen line that's left on
6376 display is about the height of the frame's default font.
6377 (Bug#14567)
6378
6379 2013-06-15 Glenn Morris <rgm@gnu.org>
6380
6381 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6382 compilation-error-regexp-alist void, or local while let-bound.
6383
6384 * progmodes/make-mode.el (makefile-mode-syntax-table):
6385 Treat "=" as punctuation. (Bug#14614)
6386
6387 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6388
6389 * help-fns.el (describe-variable):
6390 Add extra line for permanent-local variables.
6391
6392 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6393
6394 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6395 Add export, import, library. (Bug#9164)
6396 (library): Set indent function.
6397
6398 2013-06-14 Glenn Morris <rgm@gnu.org>
6399
6400 * term/xterm.el (xterm--query):
6401 Stop after first matching handler. (Bug#14615)
6402
6403 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6404
6405 Add support for dired in saveplace.
6406 * dired.el (dired-initial-position-hook): New variable.
6407 (dired-initial-position): Call hook to place cursor position.
6408 * saveplace.el (save-place-to-alist): Add dired position.
6409 (save-place-dired-hook): New function.
6410
6411 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6414 through a symbol rather than letrec.
6415
6416 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6417 (package-desc): Add `dir' field.
6418 (package-desc-full-name): New function.
6419 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6420 (package-maybe-load-descriptor): Remove.
6421 (package-load-all-descriptors): Just call package-load-descriptor.
6422 (package--disabled-p): New function.
6423 (package-desc-vers, package-desc-doc): Remove aliases.
6424 (package--dir): Remove function.
6425 (package-activate): Check if a package is disabled.
6426 (package-process-define-package): New function, extracted from
6427 define-package.
6428 (define-package): Turn into a place holder.
6429 (package-unpack-single, package-tar-file-info):
6430 Use package--description-file.
6431 (package-compute-transaction): Use package--disabled-p.
6432 (package-download-transaction): Don't call
6433 package-maybe-load-descriptor since they're all loaded anyway.
6434 (package-install): Change argument to be a pkg-desc.
6435 (package-delete): Use a single pkg-desc argument.
6436 (describe-package-1): Use package-desc-dir instead of package--dir.
6437 Use package-desc property instead of package-symbol.
6438 (package-install-button-action): Adjust accordingly.
6439 (package--push): Rewrite.
6440 (package-menu--print-info): Adjust accordingly. Change the ID format
6441 to be a pkg-desc.
6442 (package-menu-describe-package, package-menu-get-status)
6443 (package-menu--find-upgrades, package-menu-mark-upgrades)
6444 (package-menu-execute, package-menu--name-predicate):
6445 Adjust accordingly.
6446 * startup.el (package--description-file): New function.
6447 (command-line): Use it.
6448 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6449 Use package-desc-version.
6450
6451 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6452 (byte-compile-preprocess): Use it.
6453 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6454 can't quite recognize.
6455 (byte-compile-add-to-list): Remove.
6456 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6457 (cconv-closure-convert): Add assertion.
6458
6459 * emacs-lisp/map-ynp.el: Use lexical-binding.
6460 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6461 Factor out some repeated code.
6462
6463 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * subr.el (with-eval-after-load): New macro.
6466 (eval-after-load): Allow form to be a function.
6467 take advantage of lexical-binding.
6468 (do-after-load-evaluation): Use dolist and adjust to new format.
6469 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6470
6471 2013-06-13 Juri Linkov <juri@jurta.org>
6472
6473 * replace.el (perform-replace): Display "symbol " and other search
6474 modes from `isearch-message-prefix' in the *Help* buffer.
6475
6476 * isearch.el (isearch-query-replace): Add " symbol" and other
6477 possible search modes from `isearch-message-prefix' to the prompt.
6478 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6479 when reading a regexp to collect.
6480
6481 2013-06-13 Juri Linkov <juri@jurta.org>
6482
6483 * isearch.el (word-search-regexp): Match whitespace if the search
6484 string begins or ends in whitespace. The LAX arg is applied to
6485 both ends of the search string. Use `regexp-quote' and explicit
6486 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6487 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6488 boundaries are replaced with symbol boundaries, and characters
6489 between symbols match non-word non-symbol syntax. (Bug#14602)
6490
6491 2013-06-13 Juri Linkov <juri@jurta.org>
6492
6493 * isearch.el (isearch-del-char): Don't exceed the length of
6494 `isearch-string' by the prefix arg. (Bug#14563)
6495
6496 2013-06-13 Juri Linkov <juri@jurta.org>
6497
6498 * isearch.el (isearch-yank-word, isearch-yank-line)
6499 (isearch-char-by-name, isearch-quote-char)
6500 (isearch-printing-char, isearch-process-search-char):
6501 Add optional count prefix arg. (Bug#14563)
6502
6503 * international/isearch-x.el
6504 (isearch-process-search-multibyte-characters):
6505 Add optional count prefix arg.
6506
6507 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6510 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6511 lexical-binding.
6512
6513 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6514
6515 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6516
6517 2013-06-13 Glenn Morris <rgm@gnu.org>
6518
6519 * startup.el (tty-handle-args):
6520 Don't just discard "--" and anything after. (Bug#14608)
6521
6522 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6523
6524 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6525
6526 Implement changes in Secret Service API. Make it backward compatible.
6527 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6528 (secrets-create-item): Use it. Prefix properties with interface.
6529
6530 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6531
6532 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6533 (term-emulate-terminal): Respect term-suppress-hard-newline.
6534
6535 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6536
6537 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6538 Only remove a `thumb-file' overlay. (Bug#14548)
6539
6540 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6541
6542 * mail/reporter.el (reporter-submit-bug-report):
6543 Handle missing package-name. (Bug#14600)
6544
6545 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6546
6547 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6548 (reftex-citation-prompt, reftex-default-bibliography)
6549 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6550 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6551 (reftex-bib-sort-author, reftex-bib-sort-year)
6552 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6553 (reftex-extract-bib-entries-from-thebibliography)
6554 (reftex-get-bibkey-default, reftex-get-bib-names)
6555 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6556 (reftex-format-bib-entry, reftex-parse-bibitem)
6557 (reftex-format-bibitem, reftex-do-citation)
6558 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6559 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6560 (reftex-insert-bib-matches, reftex-format-citation)
6561 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6562 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6563 existing comments into docstrings.
6564
6565 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6566
6567 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6568
6569 2013-06-12 Andreas Schwab <schwab@suse.de>
6570
6571 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6572 for auto-save files.
6573
6574 2013-06-12 Glenn Morris <rgm@gnu.org>
6575
6576 * ido.el (ido-delete-ignored-files): Remove.
6577 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6578 Go back to calling ido-ignore-item-p directly.
6579
6580 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6581
6582 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6583
6584 * ido.el (ido-delete-ignored-files): New function,
6585 split from ido-make-file-list-1.
6586 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6587 (ido-make-file-list-1): Use ido-delete-ignored-files.
6588
6589 2013-06-12 Leo Liu <sdl.web@gmail.com>
6590
6591 * progmodes/octave.el (inferior-octave-startup)
6592 (inferior-octave-completion-table)
6593 (inferior-octave-track-window-width-change)
6594 (octave-eldoc-function-signatures, octave-help)
6595 (octave-find-definition): Use single quoted strings.
6596 (inferior-octave-startup-args): Change default value.
6597 (inferior-octave-startup): Do not hard code "-i" and
6598 "--no-line-editing".
6599 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6600 (inferior-octave-directory-tracker): Use it.
6601 (octave-goto-function-definition): Robustify.
6602 (octave-help): Support highlighting operators in 'See also'.
6603 (octave-find-definition): Find subfunctions only in Octave mode.
6604
6605 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6606
6607 * help-fns.el (help-fns--compiler-macro): If the handler function is
6608 named, then put a link to it.
6609 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6610 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6611 (cl-typep): Use it.
6612 (cl-eval-when): Simplify debug spec.
6613 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6614 compiler-macro function instead of setting `compiler-macro-file'.
6615
6616 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6617
6618 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6619 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6620
6621 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6622 Daniel Hackney <dan@haxney.org>
6623
6624 First part of Daniel Hackney's patch to package.el.
6625 * emacs-lisp/package.el: Use defstruct.
6626 (package-desc): New, main struct.
6627 (package--bi-desc, package--ac-desc): New structs, used to describe the
6628 format in external files.
6629 (package-desc-vers): Replace with package-desc-version accessor.
6630 (package-desc-doc): Replace with package-desc-summary accessor.
6631 (package-activate-1): Remove `package' arg since the pkg-vec now
6632 includes the name.
6633 (define-package): Use package-desc-from-define.
6634 (package-unpack-single): Change file-name arg to be a symbol.
6635 (package--add-to-archive-contents): Use package-desc-create and new
6636 accessor functions to package--ac-desc.
6637 (package-buffer-info, package-tar-file-info): Return a package-desc.
6638 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6639 arg to be a package-desc.
6640 (package-install-file): Adjust accordingly. Use \' to match EOS.
6641 (package--from-builtin): New function.
6642 (describe-package-1, package-menu--generate): Use it.
6643 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6644 (package-generate-autoloads): Idem and return the name of the file.
6645 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6646 Change pkg-info arg to be a package-desc.
6647 Use package-make-ac-desc.
6648 (package-upload-file): Use \' to match EOS.
6649 * finder.el (finder-compile-keywords): Use package-make-builtin.
6650
6651 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6652
6653 * vc/vc.el (vc-deduce-fileset): Change error message.
6654 (vc-read-backend): New function.
6655 (vc-next-action): Use it.
6656
6657 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6658
6659 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6660 (prolog-font-lock-keywords): Use regexp-opt instead.
6661 Don't manually highlight strings.
6662 (prolog-mode-variables): Simplify comment-start-skip.
6663 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6664
6665 * emacs-lisp/generic.el (generic--normalise-comments)
6666 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6667 (generic-mode-set-comments): Use them.
6668 (generic-bracket-support): Use setq-local.
6669 (generic-make-keywords-list): Declare obsolete.
6670
6671 2013-06-11 Glenn Morris <rgm@gnu.org>
6672
6673 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6674 Prettify after setting font-lock-defaults. (Bug#14574)
6675
6676 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6677
6678 * replace.el (query-replace, occur-read-regexp-defaults-function)
6679 (replace-search):
6680 * subr.el (declare-function, number-sequence, local-set-key)
6681 (substitute-key-definition, locate-user-emacs-file)
6682 (with-silent-modifications, split-string, eval-after-load):
6683 Fix typos, remove unneeded backslashes and reflow some docstrings.
6684
6685 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6688 default for Elisp files.
6689
6690 2013-06-11 Glenn Morris <rgm@gnu.org>
6691
6692 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6693 although define-derived-mode was doing this anyway. (Bug#14583)
6694
6695 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6696
6697 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6698 Fix make-variable-buffer-local call to refer to the correct variable.
6699
6700 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6701
6702 * eshell/em-term.el (eshell-visual-commands)
6703 (eshell-visual-subcommands, eshell-visual-options):
6704 Add summary line to docstrings. Add cross-references.
6705
6706 2013-06-10 Glenn Morris <rgm@gnu.org>
6707
6708 * epa.el (epa-read-file-name): New function. (Bug#14510)
6709 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6710
6711 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6712
6713 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6714 output redirection to be ignored with visual commands.
6715
6716 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6717
6718 * eshell/em-term.el (eshell-visual-command-p): New function.
6719 (eshell-term-initialize): Move long lambda to separate function
6720 eshell-visual-command-p.
6721 * eshell/em-dirs.el (eshell-dirs-initialise):
6722 * eshell/em-script.el (eshell-script-initialize):
6723 Add missing #' to lambda.
6724
6725 2013-06-08 Leo Liu <sdl.web@gmail.com>
6726
6727 * progmodes/octave.el (octave-add-log-current-defun): New function.
6728 (octave-mode): Set add-log-current-defun-function.
6729 (octave-goto-function-definition): Do not move point if not found.
6730 (octave-find-definition): Enhance to try subfunctions first.
6731
6732 2013-06-08 Glenn Morris <rgm@gnu.org>
6733
6734 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6735 (byte-compile-backward-char, byte-compile-backward-word):
6736 Improve previous change, to handle non-explicit nil.
6737
6738 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6741 (smie--opener/closer-at-point): New function.
6742 (smie--matching-block-data): Use it. Don't match from right after an
6743 opener or right before a closer. Obey smie-blink-matching-inners.
6744 Don't signal a mismatch for repeated inners like "switch..case..case".
6745
6746 2013-06-07 Leo Liu <sdl.web@gmail.com>
6747
6748 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6749 to t. (Bug#14303)
6750 (octave-function-header-regexp): Fix. (Bug#14570)
6751 (octave-help-mode-finish-hook, octave-help-mode-finish):
6752 Remove. Just use temp-buffer-show-hook.
6753
6754 * newcomment.el (comment-search-backward): Revert last change.
6755 (Bug#14434)
6756
6757 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6758
6759 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6760
6761 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6762 through xargs, to avoid failure due to MS-Windows limitations on
6763 command-line length.
6764
6765 2013-06-06 Glenn Morris <rgm@gnu.org>
6766
6767 * font-lock.el (lisp-font-lock-keywords-2):
6768 Treat user-error like error.
6769
6770 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6771 (byte-compile-backward-char, byte-compile-backward-word):
6772 Handle explicit nil arguments. (Bug#14565)
6773
6774 2013-06-05 Alan Mackenzie <acm@muc.de>
6775
6776 * isearch.el (isearch-allow-prefix): New user option.
6777 (isearch-other-meta-char): Don't exit isearch when a prefix
6778 argument is typed whilst `isearch-allow-prefix' is non-nil.
6779 (Bug#9706)
6780
6781 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * autorevert.el (auto-revert-notify-handler): Use memq.
6784 Hide assertion failure.
6785
6786 * skeleton.el: Use cl-lib.
6787 (skeleton-further-elements): Use defvar-local.
6788 (skeleton-insert): Use cl-progv.
6789
6790 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6791
6792 * progmodes/prog-mode.el (prog-prettify-symbols)
6793 (prog-prettify-install): Update docstrings.
6794
6795 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * simple.el: Move all the prog-mode code to prog-mode.el.
6798 * progmodes/prog-mode.el: New file.
6799 * loadup.el: Add prog-mode.el.
6800
6801 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6802
6803 * simple.el (prog-prettify-symbols): Add version.
6804 (prog-prettify-install): Add convenience function to prettify symbols.
6805
6806 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6807 (perl--augmented-font-lock-keywords-1)
6808 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6809 variables and use it.
6810
6811 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6812 (cfengine3-mode): Remove unneeded variable and use it.
6813
6814 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6815 (lisp--augmented-font-lock-keywords-1)
6816 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6817 Remove unneeded variables and use it.
6818
6819 2013-06-05 João Távora <joaotavora@gmail.com>
6820
6821 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6822 to point when opening the connection. (Bug#14380)
6823
6824 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * subr.el (load-history-regexp, load-history-filename-element)
6827 (eval-after-load, after-load-functions, do-after-load-evaluation)
6828 (eval-next-after-load, display-delayed-warnings)
6829 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6830 definition of save-match-data.
6831 (overriding-local-map): Remove accidental obsolescence declaration.
6832
6833 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6834
6835 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6836
6837 Generalize symbol prettify support to prog-mode and implement it
6838 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6839 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6840 (prog--prettify-font-lock-compose-symbol)
6841 (prog-prettify-font-lock-symbols-keywords): New variables and
6842 functions to support symbol prettification.
6843 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6844 (lisp--augmented-font-lock-keywords-1)
6845 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6846 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6847 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6848 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6849 Implement prettify of -> => :: strings.
6850 * progmodes/perl-mode.el (perl-prettify-symbols)
6851 (perl--font-lock-compose-symbol)
6852 (perl--font-lock-symbols-keywords): Move to prog-mode.
6853 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6854 (perl-font-lock-keywords-1)
6855 (perl-font-lock-keywords-2): Remove explicit prettify support.
6856 (perl--augmented-font-lock-keywords)
6857 (perl--augmented-font-lock-keywords-1)
6858 (perl--augmented-font-lock-keywords-2, perl-mode):
6859 Implement prettify support.
6860
6861 2013-06-05 Leo Liu <sdl.web@gmail.com>
6862
6863 Re-implement smie matching block highlight using
6864 show-paren-data-function. (Bug#14395)
6865 * emacs-lisp/smie.el (smie-matching-block-highlight)
6866 (smie--highlight-matching-block-overlay)
6867 (smie--highlight-matching-block-lastpos)
6868 (smie-highlight-matching-block)
6869 (smie-highlight-matching-block-mode): Remove.
6870 (smie--matching-block-data-cache): New variable.
6871 (smie--matching-block-data): New function.
6872 (smie-setup): Use smie--matching-block-data for
6873 show-paren-data-function.
6874
6875 * progmodes/octave.el (octave-mode-menu): Fix.
6876 (octave-find-definition): Skip garbage lines.
6877
6878 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 Fix compilation error with simultaneous dynamic+lexical scoping.
6881 Add warning when a defvar appears after the first let-binding.
6882 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6883 (byte-compile-close-variables): Initialize it.
6884 (byte-compile--declare-var): New function.
6885 (byte-compile-file-form-defvar)
6886 (byte-compile-file-form-define-abbrev-table)
6887 (byte-compile-file-form-custom-declare-variable): Use it.
6888 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6889 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6890 (byte-compile-bind): Handle dynamic bindings that shadow
6891 lexical bindings.
6892 (byte-compile-unbind): Make arg non-optional.
6893 (byte-compile-let): Simplify.
6894 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6895 (cconv--analyse-function, cconv-analyse-form): Populate it.
6896 Protect byte-compile-bound-variables to limit the scope of defvars.
6897 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6898 Remove unneeded rule for `declare'.
6899
6900 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6901 so as to avoid depending on cl-adjoin at run-time.
6902 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6903
6904 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6905 (macroexp--warn-and-return): Use it.
6906
6907 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * lisp/subr.el: Convert to lexical binding.
6910 (overriding-local-map): Make obsolete.
6911 (add-to-list): Doc fix. Add compiler macro.
6912 (read-key): Swap values of local maps.
6913
6914 2013-06-05 Leo Liu <sdl.web@gmail.com>
6915
6916 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6917
6918 2013-06-04 Leo Liu <sdl.web@gmail.com>
6919
6920 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6921 (compilation-auto-jump): Suppress the "Mark set" message to give
6922 way to exit message.
6923
6924 2013-06-04 Alan Mackenzie <acm@muc.de>
6925
6926 Remove faulty optimisation from indentation calculation.
6927 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6928 search limit based on 2000 characters back from indent-point.
6929
6930 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6931
6932 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6933
6934 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6935
6936 * emacs-lisp/lisp.el: Use lexical-binding.
6937 (lisp--local-variables-1, lisp--local-variables): New functions.
6938 (lisp--local-variables-completion-table): New var.
6939 (lisp-completion-at-point): Use it complete let-bound vars.
6940
6941 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6942 eagerly (bug#14422).
6943
6944 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6945
6946 * autorevert.el (auto-revert-notify-enabled)
6947 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6948 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6949 (auto-revert-notify-handler): Handle also gfilenotify.
6950
6951 * subr.el (file-notify-handle-event): New defun. Replacing ...
6952 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6953 Remove.
6954
6955 2013-06-03 Juri Linkov <juri@jurta.org>
6956
6957 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6958 `M-s h .'. (Bug#14427)
6959
6960 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6961 command `hi-lock-face-symbol-at-point'.
6962 (hi-lock-face-symbol-at-point): New command.
6963 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6964 (hi-lock-menu): Add `highlight-symbol-at-point'.
6965 (hi-lock-mode): Doc fix.
6966
6967 * isearch.el (isearch-forward-symbol-at-point): New command.
6968 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6969 (isearch-highlight-regexp): Add a regexp which matches
6970 words/symbols for word/symbol mode.
6971
6972 * subr.el (find-tag-default-bounds): New function with the body
6973 mostly moved from `find-tag-default'.
6974 (find-tag-default): Move most code to `find-tag-default-bounds',
6975 call it and apply `buffer-substring-no-properties' afterwards.
6976
6977 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6978
6979 * eshell/em-term.el (eshell-term-initialize):
6980 Use `cl-intersection' rather than `intersection'.
6981
6982 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6983
6984 * vc/log-view.el: Doc fix.
6985 (log-view-mode-map): Copy keymap from `special-mode-map'.
6986
6987 2013-06-02 Eric Ludlam <zappo@gnu.org>
6988
6989 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6990 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6991 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6992 (eieio-unbound, eieio-default-superclass)
6993 (eieio--define-field-accessors, method-static, method-before)
6994 (method-primary, method-after, method-num-lists)
6995 (method-generic-before, method-generic-primary)
6996 (method-generic-after, method-num-slots)
6997 (eieio-specialized-key-to-generic-key)
6998 (eieio--check-type, class-v, class-p)
6999 (eieio-class-name, define-obsolete-function-alias)
7000 (eieio-class-parents-fast, eieio-class-children-fast)
7001 (same-class-fast-p, class-constructor, generic-p)
7002 (generic-primary-only-p, generic-primary-only-one-p)
7003 (class-option-assoc, class-option, eieio-object-p)
7004 (class-abstract-p, class-method-invocation-order)
7005 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7006 (eieio-class-un-autoload, eieio-defclass)
7007 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7008 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7009 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7010 (eieio-defgeneric-reset-generic-form)
7011 (eieio-defgeneric-form-primary-only)
7012 (eieio-defgeneric-reset-generic-form-primary-only)
7013 (eieio-defgeneric-form-primary-only-one)
7014 (eieio-defgeneric-reset-generic-form-primary-only-one)
7015 (eieio-unbind-method-implementations)
7016 (eieio--defmethod, eieio--typep)
7017 (eieio-perform-slot-validation, eieio-validate-slot-value)
7018 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7019 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7020 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7021 (eieio-slot-name-index, eieio-class-slot-name-index)
7022 (eieio-set-defaults, eieio-initarg-to-attribute)
7023 (eieio-attribute-to-initarg, eieio-c3-candidate)
7024 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7025 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7026 (eieio-class-precedence-list, eieio-generic-call-methodname)
7027 (eieio-generic-call-arglst, eieio-generic-call-key)
7028 (eieio-generic-call-next-method-list)
7029 (eieio-pre-method-execution-functions, eieio-generic-call)
7030 (eieio-generic-call-primary-only, eieiomt-method-list)
7031 (eieiomt-optimizing-obarray, eieiomt-install)
7032 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7033 (eieio-generic-form, eieio-defmethod, make-obsolete)
7034 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7035 (defclass): Remove `eval-and-compile' from macro.
7036 (call-next-method, shared-initialize): Instead of using
7037 `scoped-class' variable, use new eieio--scoped-class, and
7038 eieio--with-scoped-class.
7039 (initialize-instance): Rename local variable 'scoped-class' to
7040 'this-class' to remove ambiguitity from old global.
7041
7042 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7043 eieio.el.
7044 (eieio--scoped-class-stack): New variable.
7045 (eieio--scoped-class): New fcn.
7046 (eieio--with-scoped-class): New scoping macro.
7047 (eieio-defclass): Use pushnew instead of add-to-list.
7048 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7049 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7050 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7051 `scoped-class' variable, use new eieio--scoped-class, and
7052 eieio--with-scoped-class.
7053
7054 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7055
7056 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7057
7058 * eshell/esh-ext.el (eshell-external-command): Pass args to
7059 `eshell-find-interpreter'.
7060 (eshell-find-interpreter): Add new second parameter ARGS.
7061
7062 * eshell/em-script.el (eshell-script-initialize): Add second arg
7063 to the function added as MATCH to `eshell-interpreter-alist'.
7064
7065 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7066 the function added as MATCH to `eshell-interpreter-alist'.
7067
7068 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7069 (eshell-visual-options): New defcustom.
7070 (eshell-escape-control-x): Adapt docstring.
7071 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7072 `eshell-visual-options' in addition to `eshell-visual-commands'.
7073 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7074
7075 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7076
7077 * progmodes/python.el (python-indent-block-enders): Add break,
7078 continue and raise keywords.
7079
7080 2013-06-01 Glenn Morris <rgm@gnu.org>
7081
7082 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7083
7084 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7085 * progmodes/cc-cmds.el (delete-forward-p):
7086 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7087 * progmodes/cc-engine.el (buffer-syntactic-context):
7088 * progmodes/cc-fonts.el (face-property-instance):
7089 * progmodes/cc-mode.el (set-keymap-parents):
7090 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7091 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7092 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7093 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7094 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7095
7096 * progmodes/cc-vars.el (other): Emacs has this widget since
7097 at least 21.1, so don't (re)define it.
7098
7099 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7100 Replace the obsolete alias pcomplete-arg-quote-list.
7101
7102 2013-06-01 Leo Liu <sdl.web@gmail.com>
7103
7104 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7105 punctuation syntax.
7106 (inferior-octave-minimal-columns)
7107 (inferior-octave-last-column-width): New variables.
7108 (inferior-octave-track-window-width-change): New function.
7109 (inferior-octave-mode): Adjust column width so that Octave output,
7110 for example from 'ls', can fit into the window nicely.
7111
7112 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7113
7114 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7115 Highlight expansions inside regexp literals.
7116
7117 2013-05-31 Glenn Morris <rgm@gnu.org>
7118
7119 * obsolete/sym-comp.el (symbol-complete):
7120 Replace obsolete completion-annotate-function.
7121
7122 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7123
7124 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7125
7126 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7127 New function, checks if point is inside a literal that allows
7128 expression expansion.
7129 (ruby-syntax-propertize-expansion): Use it.
7130 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7131 around the body.
7132
7133 2013-05-30 Juri Linkov <juri@jurta.org>
7134
7135 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7136 to "\M-si".
7137 (isearch-invisible): New variable.
7138 (isearch-forward): Doc fix.
7139 (isearch-mode): Set `isearch-invisible'
7140 to the value of `search-invisible'.
7141 (isearch-toggle-case-fold): Doc fix.
7142 (isearch-toggle-invisible): New command.
7143 (isearch-query-replace): Let-bind `search-invisible'
7144 to the value of `isearch-invisible'.
7145 (isearch-search): Use `isearch-invisible' instead of
7146 `search-invisible'. Let-bind `search-invisible'
7147 to the value of `isearch-invisible'. (Bug#11378)
7148
7149 2013-05-30 Juri Linkov <juri@jurta.org>
7150
7151 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7152 call when `query-flag' is nil and `search-invisible' is non-nil.
7153 (Bug#11746)
7154
7155 2013-05-30 Glenn Morris <rgm@gnu.org>
7156
7157 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7158
7159 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7160 (cc-require): Suppress spurious "noruntime" warnings.
7161 (cc-require-when-compile): Use fboundp, for sake of compiler.
7162
7163 * progmodes/cc-mode.el: Move load of cc-vars before that of
7164 cc-langs (which in turn loads cc-vars), to quieten compiler.
7165
7166 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * paren.el: Simplify the code.
7169 (show-paren-mode): Always start the timer.
7170 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7171 (show-paren--overlay, show-paren--overlay-1): Rename from
7172 show-paren-overlay and show-paren-overlay-1, and initialize to an
7173 overlay rather than to nil.
7174 (show-paren-function): Misc cleanup and simplifications.
7175
7176 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * paren.el (show-paren-data-function): New hook.
7179 (show-paren--default): New function, extracted from show-paren-function.
7180 (show-paren-function): Use show-paren-data-function.
7181
7182 2013-05-30 Glenn Morris <rgm@gnu.org>
7183
7184 * ielm.el (ielm-map, ielm-complete-symbol):
7185 Use completion-at-point rather than obsolete functions.
7186 (inferior-emacs-lisp-mode): Doc fix.
7187 Set completion-at-point-functions, rather than
7188 comint-dynamic-complete-functions.
7189
7190 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7191 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7192 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7193
7194 * image.el (image-animated-p): Tweak definition.
7195
7196 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7197 (rlogin-process-connection-type): Tweak default. Add set-after.
7198 (rlogin-host): Doc fix.
7199 (rlogin): Tweak prompt.
7200 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7201
7202 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7203 * progmodes/tcl.el (inferior-tcl-mode-map):
7204 Use completion-at-point rather than obsolete alias.
7205
7206 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7207
7208 * minibuffer.el (read-file-name-completion-ignore-case):
7209 Move before completion--in-region, for eager macro expansion.
7210
7211 2013-05-29 Juri Linkov <juri@jurta.org>
7212
7213 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7214 for total count of matching lines. Add `global-matches' for total
7215 count of matches. Rename `matches' to `lines' for count of
7216 matching lines. Add `matches' for count of matches.
7217 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7218 to `prev-line' for line number of prev match endpt.
7219 Increment `matches' for every match. Print the number of
7220 matching lines in the header.
7221 (occur-context-lines): Rename `lines' to `curr-line'.
7222 Rename `prev-lines' to `prev-line'. (Bug#14017)
7223
7224 2013-05-29 Juri Linkov <juri@jurta.org>
7225
7226 * replace.el (perform-replace): Add `skip-read-only-count',
7227 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7228 Increment them for corresponding conditions and report the number
7229 of skipped occurrences in the final message. (Bug#11746)
7230 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7231 (replace-string, replace-regexp): Doc fix.
7232
7233 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7236
7237 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7238 prog-mode-map (bug#14504).
7239
7240 2013-05-29 Leo Liu <sdl.web@gmail.com>
7241
7242 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7243 (octave-help): Small simplification.
7244
7245 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7246 off the highlight first.
7247
7248 2013-05-29 Glenn Morris <rgm@gnu.org>
7249
7250 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7251 Handle idlwave-last-system-routine-info-cons-cell being nil.
7252
7253 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7254 (idlwave-write-paths): Simplify via with-temp-buffer.
7255
7256 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7257 * emulation/cua-rect.el: Also load cua-base at run time.
7258
7259 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7260 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7261 (cperl-imenu-on-info): Require imenu.
7262
7263 2013-05-28 Alan Mackenzie <acm@muc.de>
7264
7265 Handle "capitalised keywords" correctly.
7266 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7267
7268 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7269
7270 * eshell/em-unix.el: Add -r option to cp.
7271
7272 2013-05-28 Glenn Morris <rgm@gnu.org>
7273
7274 * vc/vc-arch.el (vc-exec-after): Declare.
7275 (vc-switches): Autoload.
7276 * vc/vc-bzr.el: No need to require vc when compiling.
7277 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7278 (vc-resynch-buffer, vc-dir-refresh): Declare.
7279 (vc-setup-buffer, vc-switches): Autoload.
7280 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7281 (vc-resynch-buffer): Declare.
7282 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7283 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7284 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7285 (grep-read-regexp, grep-read-files, grep-expand-template)
7286 (vc-dir-refresh): Declare.
7287 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7288 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7289 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7290 * vc/vc-mtn.el (vc-exec-after): Declare.
7291 (vc-switches): Autoload.
7292 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7293 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7294 (vc-file-tree-walk): Declare.
7295 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7296 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7297 (vc-tag-precondition, vc-rename-master): Autoload.
7298 * vc/vc-svn.el (vc-exec-after): Declare.
7299 (vc-switches, vc-setup-buffer): Autoload.
7300 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7301 Autoload.
7302 (vc-resynch-buffer): Declare.
7303
7304 * obsolete/fast-lock.el (byte-compile-warnings):
7305 Don't warn about obsolete features in this obsolete file.
7306
7307 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7308 Move definition before use.
7309
7310 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7311 (dun-unix-verbs): Remove dun-zippy.
7312 (dun-zippy): Remove function.
7313
7314 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7315
7316 2013-05-27 Juri Linkov <juri@jurta.org>
7317
7318 * replace.el (replace-search): New function with code moved out
7319 from `perform-replace'.
7320 (replace-highlight, replace-dehighlight): Move function definitions
7321 up closer to `replace-search'. (Bug#11746)
7322
7323 2013-05-27 Juri Linkov <juri@jurta.org>
7324
7325 * replace.el (perform-replace): Ignore invisible matches.
7326 In addition to checking `query-replace-skip-read-only', also
7327 filter out matches by calling `run-hook-with-args-until-failure'
7328 on `isearch-filter-predicates', and also check `search-invisible'
7329 for t or call `isearch-range-invisible'.
7330 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7331
7332 2013-05-27 Juri Linkov <juri@jurta.org>
7333
7334 * isearch.el (isearch-filter-predicates): Rename from
7335 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7336 (isearch-message-prefix): Display text from the property
7337 `isearch-message-prefix' of the currently active filters.
7338 (isearch-search): Don't compare `isearch-filter-predicate' with
7339 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7340 on `isearch-filter-predicates'. Also check `search-invisible' for t
7341 or call `isearch-range-invisible'.
7342 (isearch-filter-visible): Make obsolete.
7343 (isearch-lazy-highlight-search):
7344 Call `run-hook-with-args-until-failure' on
7345 `isearch-filter-predicates' and use `isearch-range-invisible'.
7346
7347 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7348 `isearch-filter-predicates' instead of `funcall'ing
7349 `isearch-filter-predicate'.
7350 (Info-mode): Set `Info-isearch-filter' to
7351 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7352
7353 * dired-aux.el (dired-isearch-filter-predicate-orig):
7354 Remove variable.
7355 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7356 (dired-isearch-filenames-end): Add and remove
7357 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7358 instead of changing the value of `isearch-filter-predicate'.
7359 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7360 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7361 Put property `isearch-message-prefix' to "filename " on
7362 `dired-isearch-filter-filenames'.
7363
7364 * wdired.el (wdired-change-to-wdired-mode):
7365 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7366 locally instead of changing `isearch-filter-predicate'.
7367 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7368
7369 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7370
7371 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7372 return the commit hash (Bug#14459). Also set the
7373 `vc-git-detached' property.
7374 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7375 (vc-git-mode-line-string): Use the same help-echo format whether
7376 in detached mode or not, because we know the actual revision now.
7377 When in detached mode, shorten the revision to 7 chars.
7378
7379 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7380
7381 * emacs-lisp/easy-mmode.el (define-minor-mode):
7382 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7383 mode hook and provide a docstring.
7384
7385 2013-05-27 Alan Mackenzie <acm@muc.de>
7386
7387 Remove spurious syntax-table text properties inserted by C-y.
7388 * progmodes/cc-mode.el (c-after-change): Also clear hard
7389 syntax-table property with value nil.
7390
7391 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7392
7393 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7394 when reading the events; the buffer layout shall not be changed.
7395
7396 2013-05-27 Leo Liu <sdl.web@gmail.com>
7397
7398 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7399 New variable.
7400 (inferior-octave-directory-tracker): Automatically re-sync
7401 default-directory.
7402 (octave-help): Improve handling of 'See also'.
7403
7404 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * doc-view.el: Minor naming convention tweaks.
7407 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7408
7409 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7410 even if there's no `display' property yet (bug#14435).
7411
7412 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7413
7414 * subr.el (unmsys--file-name): Rename from reveal-filename.
7415
7416 * Makefile.in (custom-deps, finder-data, autoloads)
7417 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7418 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7419 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7420
7421 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7424 error-completion on the first 2 args of condition-case (bug#14446).
7425 Don't burp at EOB.
7426
7427 2013-05-25 Leo Liu <sdl.web@gmail.com>
7428
7429 * comint.el (comint-previous-matching-input): Do not flood the
7430 *Messages* buffer with trivial messages.
7431
7432 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * progmodes/flymake.el (flymake-nop): Don't return a string.
7435 (flymake-set-at): Fix typo.
7436
7437 * simple.el (read--expression): New function, extracted from
7438 eval-expression. Set completion-at-point-functions (bug#14465).
7439 (eval-expression, eval-minibuffer): Use it.
7440
7441 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7442
7443 * progmodes/flymake.el (flymake-save-buffer-in-file)
7444 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7445 (flymake-selected-frame, flymake-log, flymake-ins-after)
7446 (flymake-set-at, flymake-get-buildfile-from-cache)
7447 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7448 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7449 Refine the doc string.
7450 (flymake-get-file-name-mode-and-masks): Reformat.
7451 (flymake-get-real-file-name-function): Fix a minor bug.
7452
7453 2013-05-24 Juri Linkov <juri@jurta.org>
7454
7455 * progmodes/grep.el (grep-mode-font-lock-keywords):
7456 Support =linenumber= format used by git-grep for lines with
7457 function names. (Bug#13549)
7458
7459 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7460
7461 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7462 0 after a semi-colon; it works better for smie-auto-fill.
7463 (octave--indent-new-comment-line): New function.
7464 (octave-indent-new-comment-line): Use it (indirectly).
7465 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7466 modify comment-line-break-function.
7467
7468 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7469 (smie-setup): Use add-function to set it.
7470
7471 2013-05-24 Sam Steingold <sds@gnu.org>
7472
7473 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7474 argument (before the `interactive' argument).
7475
7476 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * image-mode.el (image-mode-winprops): Add winprops to
7479 image-mode-winprops-alist before running
7480 image-mode-new-window-functions.
7481 * doc-view.el (doc-view-new-window-function): Don't delay
7482 doc-view-goto-page via timers (bug#14435).
7483
7484 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7485
7486 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7487 (doc-view-desktop-save-buffer): New function.
7488 (doc-view-restore-desktop-buffer): New function.
7489 (desktop-buffer-mode-handlers):
7490 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7491 handler.
7492 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7493 `desktop-save-buffer' function.
7494
7495 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7496
7497 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7498 (tramp-gvfs-file-name-handler): Raise a user error when
7499 `tramp-gvfs-enabled' is nil.
7500 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7501 Do not raise a user error when loading package. (Bug#14447)
7502
7503 * net/xesam.el: Move to obsolete/.
7504
7505 2013-05-24 Glenn Morris <rgm@gnu.org>
7506
7507 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7508
7509 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7510
7511 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7512 (Info-find-node, Man-getpage-in-background): Declare.
7513
7514 * mail/unrmail.el (unrmail):
7515 Replace obsolete detect-coding-with-priority.
7516
7517 * net/socks.el (socks-split-string): Use this rather than split-string.
7518 (socks-nslookup-host): Update for above change.
7519 (dynamic-choice, s5-dynamic-choice-match)
7520 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7521 Comment out unused code.
7522
7523 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7524 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7525 (gud-tooltip-echo-area): Make obsolete.
7526 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7527
7528 * progmodes/js.el (js--optimize-arglist): Declare.
7529
7530 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7531
7532 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7533 (ediff-window-C): Declare.
7534
7535 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7536 Tweak requires to silence compiler.
7537
7538 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7539 (he-search-string, he-tried-table, he-expand-list)
7540 (he-init-string, he-string-member, he-substitute-string)
7541 (he-reset-string): Declare.
7542
7543 * obsolete/options.el (list-options): Use custom-variable-p,
7544 rather than obsolete alias.
7545
7546 2013-05-23 Sam Steingold <sds@gnu.org>
7547
7548 * simple.el (shell-command-on-region): Pass the `replace' argument
7549 down to `call-process-region' to comply with the doc as reported on
7550 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7551
7552 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * emacs-lisp/smie.el (smie-indent-forward-token)
7555 (smie-indent-backward-token): Handle string tokens (bug#14381).
7556
7557 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7558
7559 * ielm.el (ielm-menu): New menu.
7560 (inferior-emacs-lisp-mode): Set comment-start.
7561
7562 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7563
7564 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7565 Fix deactivate action.
7566
7567 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7568 Add cleveref macros.
7569
7570 * lisp/textmodes/reftex-parse.el
7571 (reftex-locate-bibliography-files): Accept options for
7572 bibliography commands.
7573 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7574 Add addbibresource. Basic Biblatex support.
7575
7576 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7577
7578 * net/tramp-gvfs.el (top):
7579 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7580 when loading package. (Bug#14447)
7581
7582 2013-05-23 Glenn Morris <rgm@gnu.org>
7583
7584 * progmodes/js.el: No need to load comint when compiling.
7585 (ring-insert, comint-send-string, comint-send-input)
7586 (comint-last-input-end, ido-chop): Declare.
7587
7588 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7589 * vc/ediff-mult.el: Adjust requires.
7590 (ediff-directories-internal, ediff-directory-revisions-internal)
7591 (ediff-patch-file-internal): Declare.
7592 * vc/ediff-ptch.el: Adjust requires.
7593 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7594 (ediff-find-file): Autoload.
7595 * vc/ediff-util.el: No need to load ediff when compiling.
7596 (ediff-regions-internal): Declare.
7597 * vc/ediff-wind.el: Adjust requires.
7598 (ediff-compute-toolbar-width): Define when compiling.
7599 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7600 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7601 (dired-get-filename, dired-get-marked-files)
7602 (ediff-last-dir-patch, ediff-patch-default-directory)
7603 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7604 (ediff-patch-buffer-internal): Declare.
7605
7606 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7607 (ispell-process, ispell-buffer-local-words, lm-summary)
7608 (lm-section-start, lm-section-end): Declare.
7609 (checkdoc-ispell-init): Simplify.
7610
7611 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7612 (he-string-member, he-reset-string, he-substitute-string): Declare.
7613
7614 * eshell/em-ls.el: Adjust requires.
7615 (eshell-glob-regexp): Declare.
7616 * eshell/em-tramp.el: Adjust requires.
7617 (eshell-parse-command): Autoload.
7618 * eshell/em-xtra.el: Adjust requires.
7619 (eshell-parse-command): Autoload.
7620 * eshell/esh-ext.el: Adjust requires.
7621 (eshell-parse-command, eshell-close-handles): Autoload.
7622 * eshell/esh-io.el: Adjust requires.
7623 (eshell-output-filter): Autoload.
7624 * eshell/esh-util.el: No need to load tramp when compiling.
7625 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7626 Declare.
7627 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7628 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7629 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7630 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7631 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7632 * eshell/esh-opt.el, eshell/esh-proc.el:
7633 * eshell/esh-var.el: Adjust requires.
7634 * eshell/eshell.el: Do not require esh-util twice.
7635 (eshell-add-input-to-history): Declare.
7636 (eshell-command): Check history module is active before using it.
7637
7638 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7639
7640 2013-05-22 Leo Liu <sdl.web@gmail.com>
7641
7642 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7643
7644 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7645
7646 * autorevert.el (auto-revert-notify-add-watch)
7647 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7648 it indicates changes in file modification time.
7649
7650 2013-05-22 Glenn Morris <rgm@gnu.org>
7651
7652 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7653 Always delete the autoloaded function from the noruntime and
7654 unresolved functions lists.
7655
7656 * allout.el: No need to load epa, epg, overlay when compiling.
7657 (epg-context-set-passphrase-callback, epg-list-keys)
7658 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7659 (epg-key-user-id-list): Declare.
7660
7661 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7662 (viper-set-parsing-style-toggling-macro)
7663 (viper-set-emacs-state-searchstyle-macros):
7664 Use called-interactively-p on Emacs.
7665 (viper-looking-back): Make it an obsolete alias. Update callers.
7666 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7667 Use looking-back rather than viper-looking-back.
7668 (viper-tmp-insert-at-eob, viper-enlarge-region)
7669 (viper-read-string-with-history, viper-register-to-point)
7670 (viper-append-to-register, viper-change-state-to-vi)
7671 (viper-backward-char-carefully, viper-forward-char-carefully)
7672 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7673 (viper-change-state-to-emacs): Declare.
7674 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7675 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7676 * emulation/viper-mous.el: Do not load viper-cmd.
7677 (viper-backward-char-carefully, viper-forward-char-carefully)
7678 (viper-forward-word, viper-adjust-window): Declare.
7679
7680 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7681
7682 * progmodes/idlw-help.el (idlwave-help-fontify):
7683 Use called-interactively-p.
7684
7685 * term/w32console.el (w32-get-console-codepage)
7686 (w32-get-console-output-codepage): Declare.
7687
7688 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7689 Remove unnecessary declarations.
7690 (dframe-message): Doc fix.
7691
7692 * info.el (dframe-select-attached-frame, dframe-current-frame):
7693 Declare.
7694
7695 * speedbar.el (speedbar-message): Make it an obsolete alias.
7696 Update all callers.
7697 (speedbar-with-attached-buffer)
7698 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7699 (speedbar-with-writable): Use backquote.
7700 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7701 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7702 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7703 rather than speedbar- aliases.
7704 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7705 (speedbar-make-specialized-keymap, speedbar-insert-button)
7706 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7707 (speedbar-do-function-pointer): Declare.
7708 (rmail-speedbar-button, rmail-speedbar-find-file)
7709 (rmail-speedbar-move-message):
7710 Use dframe-with-attached-buffer rather than speedbar- alias.
7711 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7712 (dframe-message, speedbar-make-specialized-keymap)
7713 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7714 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7715 (speedbar-insert-button, dframe-select-attached-frame)
7716 (dframe-maybee-jump-to-attached-frame)
7717 (speedbar-change-initial-expansion-list)
7718 (speedbar-previously-used-expansion-list-name): Declare.
7719 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7720 Use dframe-message, dframe-with-attached-buffer rather than
7721 speedbar- aliases.
7722 (gud-sentinel): Silence compiler.
7723 * progmodes/vhdl-mode.el (speedbar-refresh)
7724 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7725 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7726 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7727 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7728 (speedbar-file-lists, speedbar-make-tag-line)
7729 (speedbar-line-directory, speedbar-goto-this-file)
7730 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7731 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7732 (speedbar-make-button, speedbar-reset-scanners)
7733 (speedbar-files-item-info, speedbar-line-text)
7734 (speedbar-find-file-in-frame, speedbar-set-timer)
7735 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7736 (speedbar-with-writable): Do not (re)define it.
7737 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7738 rather than speedbar- alias.
7739
7740 2013-05-21 Leo Liu <sdl.web@gmail.com>
7741
7742 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7743 menu items.
7744 (octave-mode): Tweak fill-nobreak-predicate.
7745 (inferior-octave-startup): Check process to avoid infinite loop.
7746 (inferior-octave): Pop to buffer first to show abornmal process
7747 exit information.
7748
7749 2013-05-21 Glenn Morris <rgm@gnu.org>
7750
7751 * printing.el (pr-menu-bar): Define when compiling.
7752
7753 2013-05-21 Leo Liu <sdl.web@gmail.com>
7754
7755 * progmodes/octave.el (octave-auto-fill): Remove.
7756 (octave-indent-new-comment-line): Improve.
7757 (octave-mode): Use auto fill mode through
7758 comment-line-break-function and fill-nobreak-predicate.
7759 (octave-goto-function-definition): Support DEFUN_DLD.
7760 (octave-beginning-of-defun): Small tweak.
7761 (octave-help): Show parent directory.
7762
7763 2013-05-21 Glenn Morris <rgm@gnu.org>
7764
7765 * files.el (dired-unmark):
7766 * progmodes/gud.el (gdb-input): Update declarations.
7767
7768 * calculator.el (electric, ehelp): No need to load when compiling.
7769 (Electric-command-loop, electric-describe-mode): Declare.
7770
7771 * doc-view.el (doc-view-current-converter-processes): Move before use.
7772
7773 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7774 Move MODE-set-explicitly definition before use.
7775
7776 * international/mule-diag.el (mule-diag):
7777 Don't use obsolete window-system-version.
7778
7779 * mail/feedmail.el (smtpmail): No need to load when compiling.
7780 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7781
7782 * mail/mail-utils.el (rfc822): No need to load when compiling.
7783 (rfc822-addresses): Autoload it.
7784 (mail-strip-quoted-names): Trivial simplification.
7785
7786 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7787 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7788
7789 * net/snmp-mode.el (tempo): Don't duplicate requires.
7790
7791 * progmodes/prolog.el (info): No need to load when compiling.
7792 (comint): Require before shell requires it.
7793 (Info-goto-node): Autoload it.
7794 (Info-follow-nearest-node): Declare.
7795 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7796
7797 * textmodes/artist.el (picture-mode-exit): Declare.
7798
7799 * textmodes/reftex-parse.el (reftex-parse-from-file):
7800 Trivial rewrite so the compiler can parse it better.
7801
7802 2013-05-20 Leo Liu <sdl.web@gmail.com>
7803
7804 * progmodes/octave.el (octave-help-mode-map)
7805 (octave-help-mode-finish-hook): New variables.
7806 (octave-help-mode, octave-help-mode-finish): New functions.
7807 (octave-help): Use octave-help-mode.
7808
7809 2013-05-20 Glenn Morris <rgm@gnu.org>
7810
7811 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7812
7813 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7814
7815 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7816 start at point, so that expansion starting right after opening
7817 slash in a regexp is recognized.
7818 (ruby-syntax-before-regexp-re): New defvar, extracted from
7819 ruby-syntax-propertize-function. Since the value of this regexp
7820 is looked up at runtime now, we should be able to turn
7821 `ruby-syntax-methods-before-regexp' into a defcustom later.
7822 (ruby-syntax-propertize-function): Split regexp matching into two
7823 parts, for opening and closing slashes. That allows us to skip
7824 over string interpolations and support multiline regexps.
7825 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7826 for them, which calls `ruby-syntax-propertize-expansion'.
7827 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7828 call to `ruby-syntax-propertize-function'.
7829 (ruby-syntax-propertize-expansion): Extracted from
7830 `ruby-syntax-propertize-expansions'. Handles one expansion.
7831 (ruby-syntax-propertize-percent-literal): Leave point right after
7832 the percent symbol, so that the expression expansion rule can
7833 propertize the contents.
7834 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7835 heredoc openers.
7836 (ruby-syntax-propertize-expansions): Remove.
7837
7838 2013-05-18 Juri Linkov <juri@jurta.org>
7839
7840 * man.el (Man-default-man-entry): Remove `-' from the end
7841 of the default value. (Bug#14400)
7842
7843 2013-05-18 Glenn Morris <rgm@gnu.org>
7844
7845 * comint.el (comint-password-prompt-regexp):
7846 Allow "password for XXX" where XXX contains colons (eg https://...).
7847
7848 2013-05-18 Leo Liu <sdl.web@gmail.com>
7849
7850 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7851 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7852 (octave-source-directories): Don't check process.
7853 (octave-source-directories, octave-find-definition): Doc fix.
7854
7855 2013-05-18 Glenn Morris <rgm@gnu.org>
7856
7857 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7858 Remove backspace/delete bindings. (Bug#14392)
7859
7860 * cus-dep.el (custom-make-dependencies): Sort the output.
7861 (custom-versions-load-alist): Convert comment to doc.
7862
7863 2013-05-17 Leo Liu <sdl.web@gmail.com>
7864
7865 * newcomment.el (comment-search-backward): Stricter in finding
7866 comment start. (Bug#14303)
7867
7868 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7869 (octave-comment-start-skip): Properly anchored.
7870
7871 2013-05-17 Leo Liu <sdl.web@gmail.com>
7872
7873 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7874 Clean up when turned off. (Bug#14395)
7875 (smie--highlight-matching-block-overlay): No longer buffer-local.
7876 (smie-highlight-matching-block): Adjust.
7877
7878 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7879
7880 Doc string fix for "nanoseconds" (Bug#14406).
7881 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7882 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7883
7884 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7885
7886 * calc/calc-units.el (math-extract-units): Preserve powers
7887 of units.
7888
7889 2013-05-17 Leo Liu <sdl.web@gmail.com>
7890
7891 * subr.el (delete-consecutive-dups): New function.
7892 * ido.el (ido-set-matches-1): Use it.
7893 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7894 * ido.el (ido-remove-consecutive-dups): Remove.
7895
7896 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7899 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7900 regexp-opt's `words'.
7901
7902 2013-05-16 Leo Liu <sdl.web@gmail.com>
7903
7904 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7905 (smie--highlight-matching-block-overlay)
7906 (smie--highlight-matching-block-lastpos)
7907 (smie--highlight-matching-block-timer): New variables.
7908 (smie-highlight-matching-block): New function.
7909 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7910 (smie-setup): Conditionally enable smie-blink-matching-open.
7911
7912 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7913
7914 Sync with upstream verilog-mode r840.
7915 * progmodes/verilog-mode.el (verilog-mode-version)
7916 (verilog-mode-release-date): Update.
7917 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7918 (verilog-sig-tieoff): Fix string error on
7919 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7920 (verilog-read-decls): Fix parameters confusing
7921 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7922
7923 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7924
7925 * subr.el (reveal-filename): New function.
7926
7927 * loadup.el: Compute Emacs executable versions on MS-Windows,
7928 where executables have the .exe extension. Add a hard link
7929 emacs-XX.YY.ZZ.exe on MS-Windows.
7930
7931 * Makefile.in (XARGS_LIMIT): New variable.
7932 (custom-deps, finder-data, autoloads)
7933 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7934 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7935 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7936 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7937
7938 2013-05-16 Leo Liu <sdl.web@gmail.com>
7939
7940 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7941 (octave-mode-menu, octave-mode-map): Remove its uses.
7942
7943 2013-05-16 Reto Zimmermann <reto@gnu.org>
7944
7945 Sync with upstream vhdl mode v3.34.2.
7946 * progmodes/vhdl-mode.el: Use `push' throughout.
7947 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7948 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7949 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7950 (vhdl-actual-generic-name): New option to derive actual generic name.
7951 (vhdl-port-paste-signals): Replace formal by actual generics.
7952 (vhdl-beautify): New name for old group vhdl-align. Update users.
7953 (vhdl-beautify-options): New option.
7954 (vhdl-last-input-event): New compat alias. Use throughout.
7955 (vhdl-goto-line): Replace user level function `goto-line'.
7956 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7957 vhdl-fix-statement-buffer.
7958 (vhdl-create-mode-menu): Add some entries.
7959 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7960 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7961 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7962 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7963 to force statements on one line.
7964 (vhdl-remove-trailing-spaces-region):
7965 New, split from vhdl-remove-trailing-spaces.
7966 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7967 Respect vhdl-beautify-options.
7968 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7969 (vhdl-update-sensitivity-list): Not add with index if exists without.
7970 Not include array index with signal. Ignore keywords in comments.
7971 (vhdl-get-visible-signals): Regexp tweaks.
7972 (vhdl-template-component-inst): Handle empty library.
7973 (vhdl-template-type): Add template for 'enum' type.
7974 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7975 Use vhdl-replace-string.
7976 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7977 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7978 (vhdl-speedbar-initialize): Update for above name change.
7979 (vhdl-compose-wire-components): Fix in handling of constants.
7980 (vhdl-error-regexp-emacs-alist): New variable.
7981 (vhdl-error-regexp-add-emacs): New function;
7982 adds support for new compile.el (Emacs 22+)
7983 (vhdl-generate-makefile-1): Change target order for single lib. units.
7984 Allow use of absolute file names.
7985
7986 2013-05-16 Leo Liu <sdl.web@gmail.com>
7987
7988 * simple.el (prog-indent-sexp): Indent enclosing defun.
7989
7990 2013-05-15 Glenn Morris <rgm@gnu.org>
7991
7992 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7993 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7994 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7995 (whitespace-highlight): Move to whitespace group.
7996
7997 * comint.el (comint-source):
7998 * pcmpl-linux.el (pcmpl-linux):
7999 * shell.el (shell-faces):
8000 * eshell/esh-opt.el (eshell-opt):
8001 * international/ccl.el (ccl): Remove empty custom groups.
8002
8003 * completion.el (dynamic-completion-mode):
8004 * jit-lock.el (jit-lock-debug-mode):
8005 * minibuffer.el (completion-in-region-mode):
8006 * type-break.el (type-break-mode-line-message-mode)
8007 (type-break-query-mode):
8008 * emulation/tpu-edt.el (tpu-edt-mode):
8009 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8010 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8011 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8012
8013 * term/xterm.el (xterm): Change parent group to terminals.
8014
8015 * master.el (master): Remove empty custom group.
8016 (master-mode): Remove unused :group argument.
8017 * textmodes/refill.el (refill): Remove empty custom group.
8018 (refill-mode): Remove unused :group argument.
8019
8020 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8021
8022 * cus-dep.el: Provide a feature.
8023 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8024 Don't mistakenly ignore files whose basenames match a basename
8025 from preloaded-file-list (eg cedet/ede/simple.el).
8026 Add a fallback method for getting :group.
8027
8028 2013-05-15 Juri Linkov <juri@jurta.org>
8029
8030 * isearch.el (isearch-char-by-name): Rename from
8031 `isearch-insert-char-by-name'. Doc fix.
8032 (isearch-forward): Mention `isearch-char-by-name' in
8033 the docstring. (Bug#13348)
8034
8035 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8036 `exit-minibuffer' instead of
8037 `isearch-nonincremental-exit-minibuffer'.
8038 (isearch-edit-string): Remove mention of
8039 `isearch-nonincremental-exit-minibuffer' from docstring.
8040 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8041 (isearch-forward-exit-minibuffer)
8042 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8043
8044 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8045
8046 * loadup.el: Just use unversioned DOC.
8047
8048 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8049 literals as extending to EOB.
8050 (nxml-last-fontify-end): Remove unused variable.
8051 (nxml-after-change1): Use with-silent-modifications.
8052 (nxml-extend-after-change-region): Simplify.
8053 (nxml-extend-after-change-region1): Remove function.
8054 (nxml-after-change1): Don't adjust for dependent regions.
8055 (nxml-fontify-matcher): Simplify.
8056 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8057 (xmltok-add-dependent): Remove function.
8058 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8059 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8060 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8061 unclosed <[[, <?, comment, and other literals as extending to EOB.
8062 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8063 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8064 Remove functions.
8065 (rng-do-some-validation-1): Don't mark dependent regions.
8066 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8067 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8068 (nxml-clear-dependent-regions): Remove functions.
8069 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8070 (nxml-ensure-scan-up-to-date):
8071 Don't clear&mark dependent regions.
8072
8073 2013-05-15 Leo Liu <sdl.web@gmail.com>
8074
8075 * progmodes/octave.el (octave-goto-function-definition):
8076 Improve and fix callers.
8077
8078 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8081 the setter (bug#14387).
8082
8083 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8084 surrounding group (bug#14402).
8085
8086 2013-05-14 Juri Linkov <juri@jurta.org>
8087
8088 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8089 (Bug#14390)
8090
8091 2013-05-14 Glenn Morris <rgm@gnu.org>
8092
8093 * progmodes/f90.el (f90-imenu-generic-expression):
8094 Fix typo in 2013-05-08 change. (Bug#14402)
8095
8096 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8097
8098 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8099 Remove signals for which replies are never received.
8100
8101 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8102
8103 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8104 (gdb-handler-alist, gdb-handler-number): Remove variables.
8105 (gdb-handler-list): New variable.
8106 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8107 (gdb-pending-handler-p, gdb-handle-reply)
8108 (gdb-remove-all-pending-triggers): New functions.
8109 (gdb-discard-unordered-replies): New defcustom.
8110 (gdb-handler): New defstruct.
8111 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8112 instead of gdb-pending-triggers. Update docstring.
8113 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8114 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8115 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8116 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8117 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8118 (gdb-frame-handler): Pending triggers are now automatically managed.
8119 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8120 Remove argument.
8121 (gdb-input): Automatically handles pending triggers. Update docstring.
8122 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8123 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8124 Update comments.
8125 (gdb-done-or-error): Now use gdb-handle-reply.
8126
8127 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8128
8129 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8130 gdb-debug-log.
8131
8132 2013-05-14 Glenn Morris <rgm@gnu.org>
8133
8134 * subr.el (user-emacs-directory-warning): New option.
8135 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8136
8137 2013-05-14 Leo Liu <sdl.web@gmail.com>
8138
8139 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8140 during redisplay.
8141 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8142 (octave-font-lock-texinfo-comment): Fix invalid search bound
8143 error: wrong side of point.
8144
8145 2013-05-14 Glenn Morris <rgm@gnu.org>
8146
8147 * progmodes/flymake.el (flymake-xml-program): New option.
8148 (flymake-xml-init): Use it.
8149
8150 * term/xterm.el: Provide a feature.
8151
8152 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8153
8154 2013-05-13 Glenn Morris <rgm@gnu.org>
8155
8156 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8157 Add compat aliases as a hack workaround. (Bug#14384)
8158
8159 2013-05-13 Leo Liu <sdl.web@gmail.com>
8160
8161 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8162 ###, and %!.
8163 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8164 C-M-q.
8165 (octave-comment-start-skip): Include %!.
8166 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8167
8168 2013-05-12 Leo Liu <sdl.web@gmail.com>
8169
8170 * progmodes/octave.el (inferior-octave-startup): Store the value
8171 of __octave_srcdir__ for octave-source-directories.
8172 (inferior-octave-check-process): New function refactored out of
8173 inferior-octave-send-list-and-digest.
8174 (octave-source-directories)
8175 (octave-find-definition-filename-function): New variables.
8176 (octave-source-directories)
8177 (octave-find-definition-default-filename): New functions.
8178 (octave-find-definition): Improve to find functions implemented in C++.
8179
8180 2013-05-12 Glenn Morris <rgm@gnu.org>
8181
8182 * calendar/diary-lib.el (diary-outlook-format-1):
8183 Don't include dayname in the output. (Bug#14349)
8184
8185 2013-05-11 Glenn Morris <rgm@gnu.org>
8186
8187 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8188
8189 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8190 Treat cc-provide like provide.
8191
8192 2013-05-11 Kevin Ryde <user42@zip.com.au>
8193
8194 * cus-dep.el (custom-make-dependencies):
8195 Use generated-autoload-load-name for the sake of files such
8196 such cedet/semantic/bovine/c.el, where the base file name
8197 is not in load-path. (Bug#5277)
8198
8199 2013-05-11 Glenn Morris <rgm@gnu.org>
8200
8201 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8202 Provide features.
8203
8204 2013-05-11 Leo Liu <sdl.web@gmail.com>
8205
8206 * progmodes/octave.el (octave-indent-comment): Improve.
8207 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8208 (octave-eldoc-function-signatures, octave-eldoc-function):
8209 New functions.
8210 (octave-mode, inferior-octave-mode): Add eldoc support.
8211
8212 2013-05-11 Richard Stallman <rms@gnu.org>
8213
8214 * epa.el (epa-decrypt-file): Take output file name as argument
8215 and read it using `interactive'.
8216
8217 2013-05-11 Leo Liu <sdl.web@gmail.com>
8218
8219 * progmodes/octave.el (octave-beginning-of-line)
8220 (octave-end-of-line): Check before using up-list because it jumps
8221 out of more syntactic contructs since moving to smie.
8222 (octave-indent-comment): New function.
8223 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8224 (octave-begin-keywords, octave-end-keywords)
8225 (octave-reserved-words, octave-smie-bnf-table)
8226 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8227
8228 2013-05-11 Glenn Morris <rgm@gnu.org>
8229
8230 * faces.el (internal-face-x-get-resource):
8231 * frame.el (ns-display-monitor-attributes-list):
8232 * calc/calc-aent.el (math-to-radians-2):
8233 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8234 Fix declarations.
8235
8236 * calc/calc-menu.el: Make it loadable in isolation.
8237
8238 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8239 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8240 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8241 (eudc-bbdb-query-internal): Require 'bbdb.
8242
8243 * lpr.el (lpr-headers-switches):
8244 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8245
8246 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8247
8248 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8249
8250 * term.el (term-set-escape-char): Make it idempotent.
8251
8252 2013-05-10 Leo Liu <sdl.web@gmail.com>
8253
8254 * progmodes/octave.el (inferior-octave-completion-table):
8255 No longer a function and all uses changed. Use cache to speed up
8256 completion due to bug#11906.
8257 (octave-beginning-of-defun): Re-write to be more general.
8258
8259 2013-05-10 Glenn Morris <rgm@gnu.org>
8260
8261 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8262
8263 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 * comint.el (comint-redirect-send-command-to-process): Use :around
8266 rather than :override for comint-redirect-filter.
8267 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8268 Call it instead of comint-redirect-original-filter-function (which
8269 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8270
8271 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8272
8273 * frame.el (display-monitor-attributes-list): Add NS case.
8274 (ns-display-monitor-attributes-list): Declare.
8275
8276 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8277
8278 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8279
8280 2013-05-09 Glenn Morris <rgm@gnu.org>
8281
8282 * international/fontset.el (vertical-centering-font-regexp):
8283 Set standard-value.
8284
8285 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8286
8287 * bookmark.el (bookmark-search-delay):
8288 * cus-start.el (vertical-centering-font-regexp):
8289 * ps-mule.el (ps-mule-font-info-database-default):
8290 * ps-print.el (ps-default-fg, ps-default-bg):
8291 * type-break.el (type-break-good-break-interval):
8292 * whitespace.el (whitespace-indentation-regexp)
8293 (whitespace-space-after-tab-regexp):
8294 * emacs-lisp/testcover.el (testcover-1value-functions)
8295 (testcover-noreturn-functions, testcover-progn-functions)
8296 (testcover-prog1-functions):
8297 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8298 * eshell/em-glob.el (eshell-glob-translate-alist):
8299 * play/tetris.el (tetris-tty-colors):
8300 * progmodes/cpp.el (cpp-face-default-list):
8301 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8302 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8303 (idlwave-help-browser-generic-args):
8304 * progmodes/make-mode.el (makefile-special-targets-list):
8305 * progmodes/python.el (python-shell-virtualenv-path):
8306 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8307 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8308 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8309 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8310 * textmodes/reftex-vars.el (reftex-format-label-function):
8311 * textmodes/remember.el (remember-diary-file): Fix custom types.
8312
8313 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8314 Add :version.
8315
8316 2013-05-09 Leo Liu <sdl.web@gmail.com>
8317
8318 * progmodes/octave.el (inferior-octave-completion-at-point):
8319 Restore file completion. (Bug#14300)
8320 (inferior-octave-startup): Fix incorrect highlighting for the
8321 first prompt.
8322
8323 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8324
8325 * progmodes/ruby-mode.el: First cut at SMIE support.
8326 (ruby-use-smie): New var.
8327 (ruby-smie-grammar): New constant.
8328 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8329 (ruby-smie--forward-token, ruby-smie--backward-token)
8330 (ruby-smie-rules): New functions.
8331 (ruby-mode-variables): Setup SMIE if applicable.
8332
8333 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8334
8335 * simple.el (line-move-visual): Signal beginning/end of buffer
8336 only if vertical-motion moved less than it was requested. Avoids
8337 silly incorrect error messages when there are display strings with
8338 multiple newlines at EOL.
8339
8340 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8343 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8344 (prolog-char-quote-workaround):
8345 * progmodes/cperl-mode.el (cperl-under-as-char):
8346 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8347 Mark as obsolete.
8348 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8349 their declaration.
8350 (vhdl-mode-syntax-table-init): Remove.
8351
8352 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8353 last change.
8354
8355 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8356 syntax for "_".
8357 (ld-script-font-lock-keywords):
8358 Change regexps to use things like \_< and \_>.
8359
8360 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8361 Change all regexps to use things like \_< and \_>.
8362
8363 * progmodes/autoconf.el (autoconf-definition-regexp)
8364 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8365 Handle a _ with symbol syntax.
8366 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8367
8368 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8369 Consolidate declaration.
8370 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8371 the declaration.
8372 (ada-create-syntax-table): Remove.
8373 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8374 already has the right syntax nowadays.
8375 (ada-goto-next-word): Don't change the syntax of "_".
8376
8377 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8378 with-wrapper-hook.
8379
8380 2013-05-08 Sam Steingold <sds@gnu.org>
8381
8382 * thingatpt.el (thing-at-point): Accept optional second argument
8383 NO-PROPERTIES to strip the text properties from the return value.
8384 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8385 to `thing-at-point' instead of stripping the properties ourselves.
8386 Also, when `thing-at-point' fails to find a url, prepend "http://"
8387 to the filename at point on the assumption that the user is
8388 pointing at something like gnu.org/gnu.
8389
8390 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8391
8392 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8393 * faces.el (crm-separator):
8394 Silence byte-compiler.
8395
8396 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8397 (tool-bar-map): Remove unneeded defvars.
8398
8399 2013-05-08 Leo Liu <sdl.web@gmail.com>
8400
8401 Re-work a fix for bug#10994 based on Le Wang's patch.
8402 * ido.el (ido-remove-consecutive-dups): New helper.
8403 (ido-completing-read): Use it.
8404 (ido-chop): Revert fix for bug#10994.
8405
8406 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8407
8408 * cus-edit.el (custom-save-variables):
8409 Pretty-print long values. (Bug#14187)
8410
8411 2013-05-08 Glenn Morris <rgm@gnu.org>
8412
8413 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8414 (m4-mode-syntax-table): Init in the defvar.
8415 (m4-mode-abbrev-table): Let define-derived-mode define it.
8416
8417 2013-05-08 Tom Tromey <tromey@redhat.com>
8418
8419 * progmodes/m4-mode.el (m4-mode-syntax-table):
8420 Do not treat "_" as word constituent. (Bug#14167)
8421
8422 2013-05-07 Glenn Morris <rgm@gnu.org>
8423
8424 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8425 Remove explicit eshell-isearch-cancel-map.
8426
8427 * progmodes/f90.el (f90-smart-end-names): New option.
8428 (f90-smart-end): Doc fix.
8429 (f90-end-block-optional-name): New constant.
8430 (f90-block-match): Respect f90-smart-end-names.
8431
8432 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8433
8434 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8435 about implicit semi-colons (bug#14218).
8436
8437 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8438
8439 * frame.el (display-monitor-attributes-list)
8440 (frame-monitor-attributes): New functions.
8441
8442 2013-05-06 Leo Liu <sdl.web@gmail.com>
8443
8444 * progmodes/octave.el (octave-syntax-propertize-function): Change
8445 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8446 (octave-font-lock-keywords): Use octave-operator-regexp.
8447 (octave-completion-at-point): Rename from
8448 octave-completion-at-point-function.
8449 (inferior-octave-directory-tracker): Robustify.
8450 (octave-text-functions): Remove and fix its uses. No such things
8451 any more.
8452
8453 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * emacs-lisp/trace.el (trace--display-buffer): New function.
8456 (trace-make-advice): Use it.
8457
8458 2013-05-06 Juri Linkov <juri@jurta.org>
8459
8460 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8461 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8462 Doc fix.
8463 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8464 in the help string. (Bug#12985)
8465
8466 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8467
8468 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8469
8470 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * progmodes/perl-mode.el: Add support for here documents.
8473 (perl-syntax-propertize-function): Match here-doc markers.
8474 (perl-syntax-propertize-special-constructs): Find their end.
8475 (perl-imenu-generic-expression): Use [:alnum:].
8476
8477 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8478 (advice--add-function): Refresh the advice if already present
8479 (bug#14317).
8480
8481 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8482
8483 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8484
8485 2013-05-06 Glenn Morris <rgm@gnu.org>
8486
8487 * w32-fns.el (w32-charset-info-alist): Declare.
8488
8489 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8490 of its defcustom properties.
8491 (eshell-cmpl-initialize): No need to load pcomplete.
8492
8493 * generic-x.el: No need to require comint when compiling.
8494
8495 * net/eudc-export.el: Make it loadable without bbdb.
8496 (top-level): Use require rather than load-library.
8497 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8498 (eudc-batch-export-records-to-bbdb)
8499 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8500 Require bbdb.
8501
8502 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8505 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8506 some tweaks, instead.
8507
8508 2013-05-05 Leo Liu <sdl.web@gmail.com>
8509
8510 * progmodes/octave.el (octave-font-lock-keywords)
8511 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8512 (inferior-octave-send-list-and-digest): Improve error message.
8513 (octave-mode, inferior-octave-mode): Use setq-local.
8514 (octave-help): Set info-lookup-mode.
8515
8516 2013-05-05 Richard Stallman <rms@gnu.org>
8517
8518 * vc/compare-w.el (compare-windows-whitespace):
8519 Treat no-break space as whitespace.
8520
8521 * mail/rmailsum.el (rmail-summary-rmail-update):
8522 Detect empty summary and don't change selected message.
8523 (rmail-summary-goto-msg): Likewise.
8524
8525 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8526 Doc fixes, rename args.
8527
8528 2013-05-05 Alan Mackenzie <acm@muc.de>
8529
8530 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8531
8532 2013-05-05 Juri Linkov <juri@jurta.org>
8533
8534 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8535 to not add the length of the summary segment to the return value.
8536 (Bug#14125)
8537
8538 2013-05-05 Leo Liu <sdl.web@gmail.com>
8539
8540 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8541 (inferior-octave-output-filter): Remove.
8542 (octave-send-region, inferior-octave-startup): Fix callers.
8543 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8544 (octave-binary-file-extensions): New user variable.
8545 (octave-find-definition): Confirm if opening binary files.
8546 (octave-help-file): Use octave-find-definition to get the binary
8547 confirmation.
8548 (octave-help): Adjust for octave-help-file change.
8549
8550 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8553 Merge the two entries that handle function definitions.
8554 (pascal--syntax-propertize): New const.
8555 (pascal-mode): Use it. Use setq-local.
8556
8557 2013-05-04 Glenn Morris <rgm@gnu.org>
8558
8559 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8560 (diary-from-outlook): Respect diary-from-outlook-function.
8561
8562 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8565 Move the declaration from C.
8566 (read-minibuffer, eval-minibuffer): Move from C.
8567 (completion-setup-function): Avoid minibuffer-completion-contents.
8568
8569 2013-05-03 Leo Liu <sdl.web@gmail.com>
8570
8571 * progmodes/octave.el (octave-font-lock-keywords): Do not
8572 dehighlight 'end' in comments or strings.
8573 (octave-completing-read, octave-goto-function-definition):
8574 New helpers.
8575 (octave-help-buffer): New user variable.
8576 (octave-help-file, octave-help-function): New button types.
8577 (octave-help): New command and bind it to C-h ;.
8578 (octave-find-definition): New command and bind it to M-.
8579 (user-error): Alias to error if not defined.
8580
8581 2013-05-02 Leo Liu <sdl.web@gmail.com>
8582
8583 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8584 for \. (bug#14332)
8585 (octave-font-lock-keywords): Include [ and {.
8586
8587 2013-05-02 Leo Liu <sdl.web@gmail.com>
8588
8589 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8590 (inferior-octave): Remove calling comint-mode and return the buffer.
8591 (inferior-octave-startup): Cosmetic changes.
8592
8593 2013-05-02 Leo Liu <sdl.web@gmail.com>
8594
8595 * progmodes/octave.el (octave-syntax-propertize-function):
8596 Include the case when ' is at line beginning. (Bug#14336)
8597
8598 2013-05-02 Glenn Morris <rgm@gnu.org>
8599
8600 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8601 * desktop.el (vc-dir-mode): Just autoload it here.
8602
8603 2013-05-02 Alan Mackenzie <acm@muc.de>
8604
8605 Eliminate variable c-standard-font-lock-fontify-region-function.
8606 * progmodes/cc-mode.el
8607 (c-standard-font-lock-fontify-region-function): Remove.
8608 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8609
8610 2013-05-01 Leo Liu <sdl.web@gmail.com>
8611
8612 * progmodes/octave.el: Compatible with older emacs-24 releases.
8613 (inferior-octave-has-built-in-variables): Remove. Built-in
8614 variables were removed from Octave in 2007.
8615 (inferior-octave-startup): Fix uses.
8616 (comint-line-beginning-position): Remove compatibility code for
8617 emacs 21.
8618
8619 2013-05-01 Juri Linkov <juri@jurta.org>
8620
8621 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8622
8623 2013-05-01 Juri Linkov <juri@jurta.org>
8624
8625 * comint.el (comint-previous-matching-input): Don't print message
8626 "History item: %d" when `isearch-mode' is active.
8627 (comint-history-isearch-message): Print message "History item: %d"
8628 when `comint-input-ring-index' is not empty and this function is
8629 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8630
8631 2013-05-01 Leo Liu <sdl.web@gmail.com>
8632
8633 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8634 definitions. Use completion-at-point to insert keywords.
8635 (octave-abbrev-start): Remove.
8636 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8637
8638 2013-04-30 Leo Liu <sdl.web@gmail.com>
8639
8640 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8641 change.
8642
8643 2013-04-30 Alan Mackenzie <acm@muc.de>
8644
8645 Handle arbitrarily long C++ member initialisation lists.
8646 * progmodes/cc-engine.el (c-back-over-member-initializers):
8647 new function.
8648 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8649 (most) member init lists.
8650
8651 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8652
8653 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8654 variable.
8655
8656 2013-04-30 Leo Liu <sdl.web@gmail.com>
8657
8658 * progmodes/octave.el (octave-variables): Remove. No builtin
8659 variables any more. All converted to functions.
8660 (octave-font-lock-keywords, octave-completion-at-point-function):
8661 Fix uses.
8662 (octave-font-lock-texinfo-comment): New user variable.
8663 (octave-texinfo-font-lock-keywords): New variable for texinfo
8664 comment block.
8665 (octave-function-comment-block): New face.
8666 (octave-font-lock-texinfo-comment): New function.
8667 (octave-mode): Font lock texinfo comment block.
8668
8669 2013-04-29 Leo Liu <sdl.web@gmail.com>
8670
8671 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8672 indexing expression.
8673 (octave-continuation-string): Do not use \.
8674 (inferior-octave-complete-impossible): Remove.
8675 (inferior-octave-completion-table)
8676 (inferior-octave-completion-at-point): Remove its uses.
8677 (inferior-octave-startup): completion_matches was introduced to
8678 Octave in 1996 so safe to assume it.
8679 (octave-function-file-comment): Improve to follow how Octave does it.
8680 (octave-update-function-file-comment): Tweak.
8681
8682 2013-04-29 Leo Liu <sdl.web@gmail.com>
8683
8684 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8685 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8686 (octave-function-file-comment): Fix typo.
8687 (octave-sync-function-file-names): Use read-char-choice.
8688
8689 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8690
8691 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8692 to t for the less important warnings.
8693
8694 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8695
8696 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8697
8698 2013-04-27 Glenn Morris <rgm@gnu.org>
8699
8700 * vc/log-view.el (log-view-current-entry):
8701 Treat "---" separator lines as part of the following rev. (Bug#14169)
8702
8703 2013-04-27 Juri Linkov <juri@jurta.org>
8704
8705 * subr.el (read-number): Doc fix about using it by interactive
8706 code letter `n'. (Bug#14254)
8707
8708 2013-04-27 Juri Linkov <juri@jurta.org>
8709
8710 * desktop.el (desktop-auto-save-timeout): New option.
8711 (desktop-file-checksum): New variable.
8712 (desktop-save): Add optional arg `auto-save' and don't auto-save
8713 if nothing changed.
8714 (desktop-auto-save-timer): New variable.
8715 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8716 (after-init-hook): Call `desktop-auto-save-set-timer'.
8717 Suggested by Reuben Thomas <rrt@sc3d.org> in
8718 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8719
8720 2013-04-27 Leo Liu <sdl.web@gmail.com>
8721
8722 * progmodes/octave.el (octave-function-file-p)
8723 (octave-skip-comment-forward, octave-function-file-comment)
8724 (octave-update-function-file-comment): New functions.
8725 (octave-mode-map): Bind C-c ; to
8726 octave-update-function-file-comment.
8727 (octave-mode-menu): Add octave-update-function-file-comment.
8728 (octave-mode, inferior-octave-mode): Fix doc-string.
8729 (octave-insert-defun): Conform to Octave's coding convention.
8730 (Bug#14285)
8731
8732 * files.el (basic-save-buffer): Don't let errors in
8733 before-save-hook prevent saving buffer.
8734
8735 2013-04-20 Roland Winkler <winkler@gnu.org>
8736
8737 * faces.el (read-face-name): Use completing-read if arg multiple
8738 is nil.
8739
8740 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8741
8742 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8743 displayed, move point to after the totals line.
8744 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8745 for the details.
8746
8747 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8750 Add current dir to the load-path.
8751 (package-generate-autoloads): Don't rely on
8752 autoload-ensure-default-file.
8753
8754 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8755
8756 * textmodes/remember.el (remember-store-in-files): Document that
8757 the file name format is passed to `format-time-string'.
8758
8759 2013-04-26 Leo Liu <sdl.web@gmail.com>
8760
8761 * progmodes/octave.el (octave-sync-function-file-names): New function.
8762 (octave-mode): Use it in before-save-hook.
8763
8764 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8767 (bug#14274).
8768
8769 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8770 \n and comment, even if it's not an implicit ; (bug#14218).
8771
8772 2013-04-26 Glenn Morris <rgm@gnu.org>
8773
8774 * subr.el (read-number): Once more use `read' rather than
8775 `string-to-number', to trap non-numeric input. (Bug#14254)
8776
8777 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8778
8779 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8780 Use `syntax-multiline' text property consistently instead of
8781 `font-lock-multiline'. (Bug#14237)
8782
8783 2013-04-26 Glenn Morris <rgm@gnu.org>
8784
8785 * emacs-lisp/shadow.el (list-load-path-shadows):
8786 No longer necessary to check for duplicate simple.el, since
8787 2012-07-07 change to init_lread to not include installation lisp
8788 directories in load-path when running uninstalled. (Bug#14270)
8789
8790 2013-04-26 Leo Liu <sdl.web@gmail.com>
8791
8792 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8793 (octave-mode, inferior-octave-mode): Use setq-local.
8794 (octave-not-in-string-or-comment-p): Rename to
8795 octave-in-string-or-comment-p.
8796 (octave-in-comment-p, octave-in-string-p)
8797 (octave-in-string-or-comment-p): Replace defsubst with defun.
8798
8799 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8800
8801 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8802
8803 2013-04-25 Bastien Guerry <bzg@gnu.org>
8804
8805 * textmodes/remember.el (remember-data-directory)
8806 (remember-directory-file-name-format): Fix custom types.
8807
8808 2013-04-25 Leo Liu <sdl.web@gmail.com>
8809
8810 * progmodes/octave.el (octave-completion-at-point-function):
8811 Make use of inferior octave process.
8812 (octave-initialize-completions): Remove.
8813 (inferior-octave-completion-table): New function.
8814 (inferior-octave-completion-at-point): Use it.
8815 (octave-completion-alist): Remove.
8816
8817 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8820 (opascal-mode-syntax-table): New var.
8821 (opascal-literal-kind, opascal-is-literal-end)
8822 (opascal-literal-token-at): Rewrite.
8823 (opascal--literal-start-re, opascal-font-lock-keywords)
8824 (opascal--syntax-propertize): New constants.
8825 (opascal-font-lock-defaults): Adjust.
8826 (opascal-mode): Use them. Set comment-<foo> variables as well.
8827 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8828 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8829 (delphi-other-face, opascal-other-face): Remove face variables.
8830 (opascal-save-state): Remove macro.
8831 (opascal-fontifying-progress-step): Remove constant.
8832 (opascal--ignore-changes): Remove var.
8833 (opascal-set-token-property, opascal-parse-next-literal)
8834 (opascal-is-stable-literal, opascal-complete-literal)
8835 (opascal-is-literal-start, opascal-face-of)
8836 (opascal-parse-region, opascal-parse-region-until-stable)
8837 (opascal-fontify-region, opascal-after-change)
8838 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8839 (opascal-debug-parse-region, opascal-debug-parse-window)
8840 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8841 (opascal-debug-fontify-buffer): Remove.
8842 (opascal-debug-mode-map): Adjust accordingly.
8843
8844 2013-04-25 Leo Liu <sdl.web@gmail.com>
8845
8846 Merge octave-mod.el and octave-inf.el into octave.el with some
8847 cleanups.
8848 * progmodes/octave.el: New file renamed from octave-mod.el.
8849 * progmodes/octave-inf.el: Merged into octave.el.
8850 * progmodes/octave-mod.el: Renamed to octave.el.
8851
8852 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8853
8854 * textmodes/reftex-vars.el
8855 (reftex-label-ignored-macros-and-environments): New defcustom.
8856
8857 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8858
8859 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8860
8861 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8862 (smie-indent-keyword): Improve the check to ensure that the next
8863 comment is really on the same line.
8864 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8865
8866 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8867 semi-colons if the line is not otherwise empty (bug#14218).
8868
8869 2013-04-25 Glenn Morris <rgm@gnu.org>
8870
8871 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8872
8873 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * progmodes/opascal.el (opascal-set-token-property): Rename from
8876 opascal-set-text-properties and only set `token' (bug#14134).
8877 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8878 (opascal-literal-text-properties): Remove.
8879 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8880 Adjust callers.
8881
8882 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8883
8884 * textmodes/remember.el (remember-handler-functions): Add an
8885 option for a new handler `remember-store-in-files'.
8886 (remember-data-directory, remember-directory-file-name-format):
8887 New options.
8888 (remember-store-in-files): New function to store remember notes
8889 as separate files within a directory.
8890
8891 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8892
8893 * progmodes/compile.el (compilation-next-error-function):
8894 Pass "formats" to compilation-find-file (bug#11777).
8895
8896 2013-04-24 Glenn Morris <rgm@gnu.org>
8897
8898 * vc/vc-bzr.el (vc-bzr-print-log):
8899 * vc/vc-hg.el (vc-hg-print-log):
8900 * vc/vc-svn.el (vc-svn-print-log):
8901 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8902
8903 * vc/vc-bzr.el (vc-bzr-print-log):
8904 * vc/vc-cvs.el (vc-cvs-print-log):
8905 * vc/vc-git.el (vc-git-print-log):
8906 * vc/vc-hg.el (vc-hg-print-log):
8907 * vc/vc-mtn.el (vc-mtn-print-log):
8908 * vc/vc-rcs.el (vc-rcs-print-log):
8909 * vc/vc-sccs.el (vc-sccs-print-log):
8910 * vc/vc-svn.el (vc-svn-print-log):
8911 * vc/vc.el (vc-print-log-internal): Doc fixes.
8912
8913 2013-04-23 Glenn Morris <rgm@gnu.org>
8914
8915 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8916 Remove venerable code attempting to avoid substitute-command-keys.
8917
8918 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8919
8920 * textmodes/reftex-vars.el (reftex-label-regexps):
8921 Call `reftex-compile-variables' after changes to this variable.
8922
8923 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8926 Use lexical-binding.
8927 (jit-lock-force-redisplay): Use markers, check buffer's continued
8928 existence and beware narrowed buffers.
8929 (jit-lock-fontify-now): Adjust call accordingly.
8930
8931 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8934 to avoid misleading the user.
8935
8936 2013-04-22 Leo Liu <sdl.web@gmail.com>
8937
8938 * info-look.el: Prefer latex2e.info. (Bug#14240)
8939
8940 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8941
8942 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8943
8944 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8945 * net/tramp.el (tramp-call-process): ... here.
8946 (tramp-set-completion-function, tramp-parse-putty):
8947 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8948 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8949 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8950 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8951 (tramp-call-local-coding-command): Use `tramp-call-process'
8952 instead of `tramp-compat-call-process'.
8953
8954 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8955 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8956 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8957 (tramp-find-inline-compress): Improve traces.
8958 (tramp-maybe-send-script): Check for Perl binary.
8959 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8960
8961 2013-04-22 Daiki Ueno <ueno@gnu.org>
8962
8963 * epg.el (epg-context-pinentry-mode): New function.
8964 (epg-context-set-pinentry-mode): New function.
8965 (epg--start): Pass --pinentry-mode option to gpg command.
8966
8967 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8968
8969 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8970 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8971 `completion-at-point'. (Bug#13774)
8972
8973 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8974 default key binding for `describe-distribution' has been moved to
8975 `C-h C-o'. (Bug#13970)
8976
8977 2013-04-21 Glenn Morris <rgm@gnu.org>
8978
8979 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8980 Add doc strings.
8981 (vc-print-log): Clarify interactive prompt.
8982
8983 2013-04-20 Glenn Morris <rgm@gnu.org>
8984
8985 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8986 No longer include timestamp etc information.
8987
8988 2013-04-20 Roland Winkler <winkler@gnu.org>
8989
8990 * faces.el (read-face-name): Bug fix, return just one face if arg
8991 multiple is nil. (Bug#14209)
8992
8993 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8994
8995 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8996 (remove-function): Autoload.
8997
8998 * comint.el (comint-redirect-original-filter-function): Remove.
8999 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9000 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9001 (vc-cvs-annotate-command):
9002 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9003 * progmodes/prolog.el (prolog-consult-compile):
9004 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9005 Use add/remove-function instead.
9006 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9007 (gud-tooltip-process-output, gud-tooltip-tips):
9008 Use add/remove-function instead.
9009 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9010 (scheme-interaction-mode, exit-scheme-interaction-mode):
9011 Use add/remove-function instead.
9012
9013 * vc/vc-dispatcher.el: Use lexical-binding.
9014 (vc--process-sentinel): Rename from vc-process-sentinel.
9015 Change last arg to be the code to run. Don't use vc-previous-sentinel
9016 and vc-sentinel-commands any more.
9017 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9018 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9019
9020 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9021
9022 * progmodes/sh-script.el (sh-imenu-generic-expression):
9023 Handle function names with a single character. (Bug#14111)
9024
9025 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9026
9027 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9028 for subroutines defined in an eval (bug#14182).
9029
9030 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9031
9032 * bookmark.el (bookmark-completing-read): Improve handling of empty
9033 string (bug#14176).
9034
9035 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9038
9039 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9040
9041 New faster Imenu implementation (bug#14058).
9042 * progmodes/python.el:
9043 (python-imenu-prev-index-position):
9044 (python-imenu-format-item-label-function)
9045 (python-imenu-format-parent-item-label-function)
9046 (python-imenu-format-parent-item-jump-label-function):
9047 New vars.
9048 (python-imenu-format-item-label)
9049 (python-imenu-format-parent-item-label)
9050 (python-imenu-format-parent-item-jump-label)
9051 (python-imenu--put-parent, python-imenu--build-tree)
9052 (python-imenu-create-index, python-imenu-create-flat-index)
9053 (python-util-popn): New functions.
9054 (python-mode): Set imenu-create-index-function to
9055 python-imenu-create-index.
9056
9057 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * winner.el (winner-active-region): Use region-active-p, activate-mark
9060 and deactivate-mark (bug#14225).
9061
9062 * simple.el (deactivate-mark): Don't inline it.
9063
9064 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9065
9066 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9067
9068 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9069
9070 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9071 file extensions from the archive-mode entry in order to prefer
9072 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9073
9074 2013-04-18 Leo Liu <sdl.web@gmail.com>
9075
9076 * bindings.el (help-event-list): Add ?\?.
9077
9078 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * subr.el (with-wrapper-hook): Declare obsolete.
9081 * simple.el (filter-buffer-substring-function): New hook.
9082 (filter-buffer-substring): Use it.
9083 (filter-buffer-substring-functions): Mark obsolete.
9084 * minibuffer.el (completion-in-region-function): New hook.
9085 (completion-in-region): Use it.
9086 (completion-in-region-functions): Mark obsolete.
9087 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9088 * abbrev.el (abbrev-expand-function): New hook.
9089 (expand-abbrev): Use it.
9090 (abbrev-expand-functions): Mark obsolete.
9091 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9092 and :filter-return.
9093
9094 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9095
9096 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9097 and do not care about match data.
9098
9099 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9100
9101 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9102 completion tables when completing error conditions and
9103 `declare' arguments.
9104 (lisp-complete-symbol, field-complete): Mark as obsolete.
9105 (check-parens): Unmatched parens are user errors.
9106 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9107
9108 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9109
9110 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9111 command changed buffer (ie. `flyspell-pre-buffer' is not current
9112 buffer), which prevents making decisions based on invalid value of
9113 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9114 cause an error when `flyspell-pre-point' was nil after switching
9115 buffers.
9116 (flyspell-post-command-hook): No longer needs to change buffers when
9117 checking pre-word. While at it remove unnecessary progn.
9118
9119 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9120
9121 * textmodes/ispell.el (ispell-add-per-file-word-list):
9122 Fix `flyspell-correct-word-before-point' error when accepting
9123 words and `coment-padding' is an integer by using
9124 `comment-normalize-vars' (Bug #14214).
9125
9126 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9127
9128 New defun movement commands.
9129 * progmodes/python.el (python-nav--syntactically)
9130 (python-nav--forward-defun, python-nav-backward-defun)
9131 (python-nav-forward-defun): New functions.
9132
9133 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9134
9135 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9136 (python-syntax-context): Use named compiler-macro for backwards
9137 compatibility with Emacs 24.x.
9138
9139 2013-04-17 Leo Liu <sdl.web@gmail.com>
9140
9141 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9142 octave-hide-process-buffer.
9143
9144 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9147 (bug#14216).
9148
9149 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9150
9151 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9152 Fix adjustment of offset when receiving incomplete responses from GDB
9153 (bug#14129).
9154
9155 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9158 python-mode-abbrev-table.
9159 (python-skeleton-define): Adjust accordingly.
9160 (python-mode-abbrev-table): New table that inherits from it so that
9161 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9162
9163 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9164 (abbrev-symbol): Use it.
9165 (abbrev--before-point): Use it since we already handle inheritance.
9166
9167 2013-04-16 Leo Liu <sdl.web@gmail.com>
9168
9169 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9170 binding to info-lookup-symbol.
9171
9172 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9173
9174 * minibuffer.el (completion--twq-all):
9175 * term/ns-win.el (ns-initialize-window-system):
9176 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9177
9178 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9181 global bindings.
9182
9183 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9184
9185 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9186
9187 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9188 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9189 to nil.
9190 (ruby-end-of-defun): Remove the unused arg, change the docstring
9191 to reflect that this function is only used as the value of
9192 `end-of-defun-function'.
9193 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9194 to reflect an earlier change that beginning/end-of-defun functions
9195 jump between methods in a class definition, as well as top-level
9196 functions.
9197
9198 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * minibuffer.el (minibuffer-complete): Don't just scroll
9201 a *Completions* that's been iconified.
9202 (minibuffer-force-complete): Make sure repetitions do cycle when going
9203 through completion-in-region -> minibuffer-complete.
9204
9205 2013-04-15 Alan Mackenzie <acm@muc.de>
9206
9207 Correct the placement of c-cpp-delimiters when there're #s not at
9208 col 0.
9209
9210 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9211 place a submatch around the #.
9212 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9213 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9214 on the #, not BOL.
9215
9216 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9219 (advice--member-p): New arg `name'.
9220 (advice--add-function, advice-member-p): Use it (bug#14202).
9221
9222 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9223
9224 Reformulate java imenu-generic-expression.
9225 The old expression contained ill formed regexps.
9226
9227 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9228 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9229 (cc-imenu-java-method-arg-regexp): New defconsts.
9230 (cc-imenu-java-build-type-args-regex): New defun.
9231 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9232 handling of spaces in the regexp.
9233
9234 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9235
9236 * textmodes/ispell.el (ispell-command-loop): Remove
9237 flyspell highlight of a word when ispell accepts it (bug #14178).
9238
9239 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9240
9241 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9242 uses code from the previous `ange-ftp-run-real-handler'.
9243 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9244 only in case that function exist. This is needed for proper
9245 unloading of Tramp.
9246
9247 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9248
9249 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9250
9251 * textmodes/reftex.el (reftex-compile-variables): Use it.
9252
9253 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 * files.el (normal-mode): Only use default major-mode if no other mode
9256 was specified.
9257
9258 * emacs-lisp/trace.el (trace-values): New function.
9259
9260 * files.el: Allow : in local variables (bug#14089).
9261 (hack-local-variable-regexp): New var.
9262 (hack-local-variables-prop-line, hack-local-variables): Use it.
9263
9264 2013-04-13 Roland Winkler <winkler@gnu.org>
9265
9266 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9267 data before it gets modified by bibtex-beginning-of-entry.
9268
9269 2013-04-13 Roland Winkler <winkler@gnu.org>
9270
9271 * textmodes/bibtex.el (bibtex-url): Doc fix.
9272
9273 2013-04-13 Roland Winkler <winkler@gnu.org>
9274
9275 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9276 does not visit a BibTeX file, exclude it from the list of buffers
9277 returned by bibtex-initialize.
9278
9279 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9280
9281 * window.el (split-window): Remove interactive form, since as a
9282 command this function is a special case of split-window-below.
9283 Correct doc string.
9284
9285 2013-04-12 Roland Winkler <winkler@gnu.org>
9286
9287 * faces.el (read-face-name): Do not override value of arg default.
9288 Allow single faces and strings as default values. Remove those
9289 elements from return value that are not faces.
9290 (describe-face): Simplify.
9291 (face-at-point): New optional args thing and multiple so that this
9292 function can provide the same functionality previously provided by
9293 read-face-name.
9294 (make-face-bold, make-face-unbold, make-face-italic)
9295 (make-face-unitalic, make-face-bold-italic, invert-face)
9296 (modify-face, read-face-and-attribute): Use face-at-point.
9297
9298 * cus-edit.el (customize-face, customize-face-other-window)
9299 * cus-theme.el (custom-theme-add-face)
9300 * face-remap.el (buffer-face-set)
9301 * facemenu.el (facemenu-set-face): Use face-at-point.
9302
9303 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9304
9305 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9306
9307 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9308
9309 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9310 off leading { and trailing } from field values.
9311
9312 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 * emacs-lisp/timer.el (timer--check): New function.
9315 (timer--time, timer-set-function, timer-event-handler): Use it.
9316 (timer-set-idle-time): Simplify.
9317 (timer--activate): CSE.
9318 (timer-event-handler): Give more info in error message.
9319 (internal-timer-start-idle): New function, moved from C.
9320
9321 * mpc.el (mpc-proc): Add `restart' argument.
9322 (mpc-proc-cmd): Use it.
9323 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9324 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9325 less often.
9326
9327 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9328
9329 * progmodes/sh-script.el: Implement `sh-mode' own
9330 `add-log-current-defun-function' (bug#14112).
9331 (sh-current-defun-name): New function.
9332 (sh-mode): Use the function.
9333
9334 2013-04-09 Bastien Guerry <bzg@gnu.org>
9335
9336 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9337
9338 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9341
9342 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9343 timer (bug#14156).
9344
9345 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9346
9347 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9348 declaration.
9349
9350 2013-04-07 Leo Liu <sdl.web@gmail.com>
9351
9352 * pcmpl-x.el: New file.
9353
9354 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9355
9356 Do not set x-display-name until X connection is established.
9357 This is needed to prevent from weird situation described at
9358 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9359 * frame.el (make-frame): Set x-display-name after call to
9360 window system initialization function, not before.
9361 * term/x-win.el (x-initialize-window-system): Add optional
9362 display argument and use it.
9363 * term/w32-win.el (w32-initialize-window-system):
9364 * term/ns-win.el (ns-initialize-window-system):
9365 * term/pc-win.el (msdos-initialize-window-system):
9366 Add compatible optional display argument.
9367
9368 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9369
9370 * files.el (normal-backup-enable-predicate): On MS-Windows and
9371 MS-DOS compare truenames of temporary-file-directory and of the
9372 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9373 don't fail comparison by compare-strings. Also, compare file
9374 names case-insensitively on MS-Windows and MS-DOS.
9375
9376 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9379 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9380
9381 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9382
9383 * whitespace.el (whitespace-color-on, whitespace-color-off):
9384 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9385
9386 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9387
9388 * ispell.el (ispell-set-spellchecker-params):
9389 Really set `ispell-args' for all equivs.
9390
9391 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9392
9393 * ido.el (ido-completions): Use extra elements of ido-decorations
9394 (bug#14143).
9395 (ido-decorations): Update docstring.
9396
9397 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9398
9399 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9400 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9401 nil during initialization, in order not to miss changes since the
9402 file was opened. (Bug#14140)
9403
9404 2013-04-05 Leo Liu <sdl.web@gmail.com>
9405
9406 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9407
9408 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9409
9410 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9411
9412 2013-04-04 Glenn Morris <rgm@gnu.org>
9413
9414 * electric.el (electric-pair-inhibit-predicate): Add :version.
9415
9416 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9417
9418 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9419 when a package is required several times (bug#14082).
9420
9421 2013-04-04 Roland Winkler <winkler@gnu.org>
9422
9423 * faces.el (read-face-name): Behave as promised by the docstring.
9424 Assume that arg default is a list of faces.
9425 (describe-face): Call read-face-name with list of default faces.
9426
9427 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9428
9429 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9430 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9431 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9432 the header.
9433 (bookmark-exit-hook-internal): Save even if list is empty.
9434
9435 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9436
9437 * emacs-lisp/package.el (package-pinned-packages): New var.
9438 (package--add-to-archive-contents): Obey it (bug#14118).
9439
9440 2013-04-03 Alan Mackenzie <acm@muc.de>
9441
9442 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9443 Also adapt to the new values of element 7 of a parse state.
9444
9445 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9446 parameter `not-in-delimiter'. Handle being inside comment opener.
9447 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9448 character in case we're typing a '*' after a '/'.
9449 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9450 instead by passing the parameter to c-state-pp-to-literal.
9451
9452 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9453 for elt. 7 of a parse state.
9454
9455 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9456
9457 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9458 * international/latin1-disp.el, international/mule-util.el:
9459 * language/cyril-util.el, language/european.el, language/ind-util.el:
9460 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9461 * language/tibetan.el, language/viet-util.el:
9462 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9463
9464 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9465
9466 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9467 (electric-pair-post-self-insert-function): Use it.
9468 (electric-pair-default-inhibit): New function, extracted from
9469 electric-pair-post-self-insert-function.
9470
9471 2013-03-31 Roland Winkler <winkler@gnu.org>
9472
9473 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9474
9475 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9478
9479 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9480
9481 Un-indent after "pass" and "return" statements (Bug#13888)
9482 * progmodes/python.el (python-indent-block-enders): New var.
9483 (python-indent-calculate-indentation): Use it.
9484
9485 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9486
9487 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9488 defun. Defining it as defalias could introduce too eager
9489 byte-compiler optimization. (Bug#14030)
9490
9491 2013-03-30 Chong Yidong <cyd@gnu.org>
9492
9493 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9494
9495 2013-03-30 Leo Liu <sdl.web@gmail.com>
9496
9497 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9498 (kmacro-execute-from-register): Pass the keyboard macro to
9499 kmacro-call-macro or repeating won't work correctly.
9500
9501 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9502
9503 * progmodes/subword.el: Back to using `forward-symbol'.
9504
9505 * subr.el (forward-whitespace, forward-symbol)
9506 (forward-same-syntax): Move from thingatpt.el.
9507
9508 2013-03-29 Leo Liu <sdl.web@gmail.com>
9509
9510 * kmacro.el (kmacro-to-register): New command.
9511 (kmacro-execute-from-register): New function.
9512 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9513
9514 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * mpc.el: Use defvar-local and setq-local.
9517 (mpc--proc-connect): Connection failures are not bugs.
9518 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9519 (mpc-volume-map): Bind to the up-events.
9520
9521 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9522
9523 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9524 instead of `forward-symbol'.
9525
9526 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9529 (edebug--recursive-edit): Use it.
9530 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9531 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9532
9533 2013-03-28 Leo Liu <sdl.web@gmail.com>
9534
9535 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9536
9537 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9538
9539 * facemenu.el (list-colors-callback): New defvar.
9540 (list-colors-redisplay): New function.
9541 (list-colors-display): Install list-colors-redisplay as the
9542 revert-buffer-function. (Bug#14063)
9543
9544 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9547 and suffixes don't overlap (bug#14061).
9548
9549 * case-table.el: Use lexical-binding.
9550 (case-table-get-table): New function.
9551 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9552
9553 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9554
9555 * progmodes/subword.el: Add `superword-mode' to do word motion
9556 over symbol_words (parallels and leverages `subword-mode' which
9557 does word motion inside MixedCaseWords).
9558
9559 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9560
9561 * eshell/em-unix.el: Move su and sudo to...
9562 * eshell/em-tramp.el: ...Eshell tramp module.
9563
9564 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9567 Change return value to be a sexp. Delay `get-buffer' to after
9568 restoring the desktop (bug#13951).
9569
9570 2013-03-26 Leo Liu <sdl.web@gmail.com>
9571
9572 * register.el: Move semantic tag handling back to
9573 cedet/semantic/senator.el. (Bug#14052)
9574
9575 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9578 into the prompt either (bug#13963).
9579
9580 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9581
9582 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9583 part of "(error-foo)".
9584
9585 2013-03-24 Juri Linkov <juri@jurta.org>
9586
9587 * replace.el (list-matching-lines-prefix-face): New defcustom.
9588 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9589 `occur-engine' if `face-differs-from-default-p' returns t.
9590 (occur-engine): Add `,' inside backquote construct to evaluate
9591 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9592 Pass `prefix-face' to the functions `occur-context-lines' and
9593 `occur-engine-add-prefix'.
9594 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9595 `prefix-face' and propertize the prefix with `prefix-face'.
9596 (Bug#14017)
9597
9598 2013-03-24 Leo Liu <sdl.web@gmail.com>
9599
9600 * nxml/rng-valid.el (rng-validate-while-idle)
9601 (rng-validate-quick-while-idle): Guard against deleted buffer.
9602 (Bug#13999)
9603
9604 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9605 is the last entry in kill-buffer-hook.
9606
9607 * files.el (kill-buffer-hook): Doc fix.
9608
9609 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9610
9611 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9612 Make it safe-local.
9613
9614 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9615
9616 2013-03-23 Leo Liu <sdl.web@gmail.com>
9617
9618 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9619 Remove.
9620
9621 * nxml/rng-valid.el (rng-validate-mode)
9622 (rng-after-change-function, rng-do-some-validation):
9623 * nxml/rng-maint.el (rng-validate-buffer):
9624 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9625 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9626 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9627 (nxml-extend-after-change-region): Use with-silent-modifications.
9628
9629 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9630 timer-idle-list.
9631
9632 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9633 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9634 timer-idle-list. (Bug#13999)
9635
9636 2013-03-23 Juri Linkov <juri@jurta.org>
9637
9638 * info.el (info-index-match): New face.
9639 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9640 main pattern and add text properties with the new face to matches
9641 in index entries relative to the beginning of the index entry.
9642 (Bug#14015)
9643
9644 2013-03-21 Eric Ludlam <zappo@gnu.org>
9645
9646 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9647 Inhibit read only while inserting objects.
9648
9649 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9650
9651 * progmodes/cfengine.el: Update docs to mention
9652 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9653 symbol motion. Remove "_" from the word syntax.
9654
9655 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9656
9657 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9658 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9659
9660 2013-03-20 Juri Linkov <juri@jurta.org>
9661
9662 * info.el (Info-next-reference-or-link)
9663 (Info-prev-reference-or-link): New functions.
9664 (Info-next-reference, Info-prev-reference): Use them.
9665 (Info-try-follow-nearest-node): Handle footnote navigation.
9666 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9667
9668 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9671 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9672
9673 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9674
9675 Suppress unnecessary non-ASCII chatter during build process.
9676 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9677 (batch-skkdic-convert): Suppress most of the chatter.
9678 It's not needed so much now that machines are faster,
9679 and its non-ASCII component was confusing; see Dmitry Gutov in
9680 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9681
9682 2013-03-20 Leo Liu <sdl.web@gmail.com>
9683
9684 * ido.el (ido-chop): Fix bug#10994.
9685
9686 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9687
9688 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9689 Remove vars.
9690 (whitespace-color-on, whitespace-color-off):
9691 Use `font-lock-fontify-buffer' (Bug#13817).
9692
9693 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9694
9695 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9696 remapping in mode-line.
9697 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9698
9699 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9700
9701 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9702 value for `whitespace-line' face (Bug#13875).
9703 (whitespace-font-lock-keywords): Change description.
9704 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9705 the constructed keywords instead.
9706 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9707
9708 2013-03-19 Leo Liu <sdl.web@gmail.com>
9709
9710 * progmodes/compile.el (compilation-display-error): New command.
9711 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9712 C-o. (Bug#13992)
9713
9714 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9715
9716 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9717
9718 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9719
9720 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9721
9722 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9723
9724 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9725
9726 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9727 * net/tramp-gvfs.el (top):
9728 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9729 (tramp-handle-shell-command): Use it.
9730 (tramp-dissect-file-name): Raise an error when hostname is a
9731 method name, and neither method nor user is specified.
9732
9733 * net/trampver.el: Update release number.
9734
9735 2013-03-18 Leo Liu <sdl.web@gmail.com>
9736
9737 Make sure eldoc can be turned off properly.
9738 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9739 eldoc-mode.
9740 (eldoc-display-message-p): Revert last change.
9741 (eldoc-display-message-no-interference-p)
9742 (eldoc-print-current-symbol-info): Tweak.
9743
9744 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9745
9746 * doc-view.el (doc-view-new-window-function): Check the new window
9747 overlay's display property instead the char property of the
9748 buffer's first char. Use `with-selected-window' instead of
9749 `save-window-excursion' with `select-window'.
9750 (doc-view-document->bitmap): Check the current doc-view overlay's
9751 display property instead the char property of the buffer's first char.
9752
9753 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9754
9755 Automate the build of ja-dic.el (Bug#13984).
9756 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9757 from the input, rather than assume that it's been done for us by the
9758 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9759 the current date into a ja-dic.el comment, as that complicates
9760 regression testing.
9761
9762 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * whitespace.el: Fix double evaluation.
9765 (whitespace-space, whitespace-hspace, whitespace-tab)
9766 (whitespace-newline, whitespace-trailing, whitespace-line)
9767 (whitespace-space-before-tab, whitespace-indentation)
9768 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9769 obsolete defvars.
9770 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9771 (whitespace-color-on): Use a single font-lock-add-keywords call.
9772 Fix double-evaluation of face variables.
9773
9774 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9775
9776 * net/tramp-adb.el (tramp-adb-parse-device-names):
9777 Use `start-process' instead of `call-process'. Otherwise, the
9778 function might be blocked under MS Windows. (Bug#13299)
9779
9780 2013-03-17 Leo Liu <sdl.web@gmail.com>
9781
9782 Extend eldoc to display info in the mode-line. (Bug#13978)
9783 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9784 (eldoc-mode-line-string): New variable.
9785 (eldoc-minibuffer-message): New function.
9786 (eldoc-message-function): New variable.
9787 (eldoc-message): Use it.
9788 (eldoc-display-message-p)
9789 (eldoc-display-message-no-interference-p):
9790 Support eldoc-post-insert-mode.
9791
9792 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9793 (eval-expression): Run it.
9794
9795 2013-03-17 Roland Winkler <winkler@gnu.org>
9796
9797 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9798 strings in the list of return values.
9799
9800 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9801
9802 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9803 radix before checking for HMS forms.
9804
9805 2013-03-16 Leo Liu <sdl.web@gmail.com>
9806
9807 * progmodes/scheme.el: Add indentation and font-locking for λ.
9808 (Bug#13975)
9809
9810 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9813 token before point (bug#13942).
9814
9815 2013-03-16 Leo Liu <sdl.web@gmail.com>
9816
9817 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9818
9819 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9820
9821 * startup.el (command-line-normalize-file-name): Fix handling of
9822 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9823 <xfq.free@gmail.com> in
9824 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9825
9826 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9827
9828 Sync with Tramp 2.2.7.
9829
9830 * net/trampver.el: Update release number.
9831
9832 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9833
9834 * doc-view.el: Fix bug#13887.
9835 (doc-view-insert-image): Don't modify overlay associated to
9836 non-live windows, and implement horizontal centering of image in
9837 case it's smaller than the window.
9838 (doc-view-new-window-function): Force redisplay of new windows on
9839 doc-view buffers.
9840
9841 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9842
9843 * saveplace.el (save-place-alist-to-file): Don't sort
9844 `save-place-alist', just pretty-print it (bug#13882).
9845
9846 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9847
9848 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9849 Check whether `default-file-name-coding-system' is bound.
9850 It isn't in XEmacs.
9851
9852 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9853
9854 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9855 backquotes for `obsolete' (bug#13929).
9856
9857 * international/mule.el (find-auto-coding): Include file name in
9858 obsolescence warning (bug#13922).
9859
9860 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9861
9862 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9863 for CFEngine 3-specific indentation.
9864 (cfengine3-indent-line): Use it. Fix up category regex.
9865 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9866
9867 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * type-break.el (type-break-file-name):
9870 * textmodes/remember.el (remember-data-file):
9871 * strokes.el (strokes-file):
9872 * shadowfile.el (shadow-initialize):
9873 * saveplace.el (save-place-file):
9874 * ps-bdf.el (bdf-cache-file):
9875 * progmodes/idlwave.el (idlwave-config-directory):
9876 * net/quickurl.el (quickurl-url-file):
9877 * international/kkc.el (kkc-init-file-name):
9878 * ido.el (ido-save-directory-list-file):
9879 * emulation/viper.el (viper-custom-file-name):
9880 * emulation/vip.el (vip-startup-file):
9881 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9882 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9883
9884 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9885
9886 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9887 * language/thai-word.el: Switch to UTF-8.
9888
9889 See ChangeLog.16 for earlier changes.
9890
9891 ;; Local Variables:
9892 ;; coding: utf-8
9893 ;; End:
9894
9895 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9896
9897 This file is part of GNU Emacs.
9898
9899 GNU Emacs is free software: you can redistribute it and/or modify
9900 it under the terms of the GNU General Public License as published by
9901 the Free Software Foundation, either version 3 of the License, or
9902 (at your option) any later version.
9903
9904 GNU Emacs is distributed in the hope that it will be useful,
9905 but WITHOUT ANY WARRANTY; without even the implied warranty of
9906 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9907 GNU General Public License for more details.
9908
9909 You should have received a copy of the GNU General Public License
9910 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.