* progmodes/octave.el (inferior-octave-startup): Spit out error
[bpt/emacs.git] / lisp / ChangeLog
1 2013-11-22 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/octave.el (inferior-octave-startup): Spit out error
4 message.
5
6 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7
8 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9 Improve docstring.
10 Add :version.
11 (ruby-encoding-magic-comment-style): Add :version.
12
13 2013-11-22 Leo Liu <sdl.web@gmail.com>
14
15 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
16 (Bug#15076)
17 (octave-help-mode): Adapt to change to help-mode-finish to use
18 derived-mode-p on 2013-09-17.
19 (inferior-octave-prompt): Also match octave-gui.
20 (octave-kill-process): Don't ask twice. (Bug#10564)
21
22 2013-11-22 Leo Liu <sdl.web@gmail.com>
23
24 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
25 (inferior-octave-startup, inferior-octave-check-process)
26 (inferior-octave-track-window-width-change)
27 (octave-completion-at-point, octave-eldoc-function): Use it.
28 (octave-kill-process): Provide confirmation. (Bug#10564)
29
30 2013-11-21 Leo Liu <sdl.web@gmail.com>
31
32 * progmodes/octave.el (octave-mode, inferior-octave-mode): Fix
33 obsolete variable comment-use-global-state.
34
35 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
36
37 * progmodes/octave.el (octave-mode-map, octave-mode-menu): Add
38 `octave-source-file'.
39 (octave-source-file): New function. (Bug#15935)
40
41 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
42
43 * net/eww.el (eww-local-regex): New variable.
44 (eww): Use it to detect localhost and similar.
45
46 2013-11-21 Leo Liu <sdl.web@gmail.com>
47
48 Add completion for command `ag'.
49 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
50 (pcomplete/ag): New function.
51 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
52
53 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
56 (bug#14646).
57 (make-obsolete): Remove interactive spec.
58
59 2013-11-21 Glenn Morris <rgm@gnu.org>
60
61 * startup.el (command-line-1): Use path-separator with -L.
62
63 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
64
65 * emacs-lisp/package.el (describe-package-1): Add package archive
66 to shown fields.
67
68 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
69
70 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
71 Change default to "# encoding: %s" to differentiate it from the
72 default Ruby encoding comment template.
73
74 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
75
76 * ses.el (ses-mode): Doc fix. (Bug#14748)
77
78 2013-11-20 Leo Liu <sdl.web@gmail.com>
79
80 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
81
82 2013-11-19 Dan Nicolaescu <dann@gnu.org>
83
84 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
85 when rebase or bisect are in progress.
86
87 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
88
89 * filenotify.el (file-notify-add-watch): Doc fix.
90
91 2013-11-19 Leo Liu <sdl.web@gmail.com>
92
93 * obsolete/rcompile.el: Mark obsolete.
94
95 * progmodes/compile.el (compilation-start)
96 (compilation-goto-locus, compilation-find-file):
97 Pass no-display-ok and handle nil value from display-buffer.
98 (Bug#13594)
99
100 * window.el (display-buffer-alist, display-buffer): Document the
101 new parameter no-display-ok.
102
103 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * electric.el (electric-indent-mode-map): Remove.
106 (electric-indent-mode): Change the global-map instead (bug#15915).
107
108 * textmodes/text-mode.el (paragraph-indent-minor-mode):
109 Use add-function.
110
111 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * emacs-lisp/nadvice.el (remove-function): Align with
114 add-function's behavior.
115
116 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
117 (gdb--string-regexp): New constant.
118 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
119 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
120 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
121 submatch 1.
122 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
123 Adjust use accordingly.
124 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
125
126 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
127
128 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
129 interpolation curlies (Bug#15914).
130
131 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
132
133 * calc/calc.el (calc-context-sensitive-enter): New variable.
134 (calc-enter): Use `calc-context-sensitive-enter'.
135
136 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
137
138 * progmodes/cfengine.el: Version bump.
139 (cfengine-cf-promises): New defcustom to locate cf-promises.
140 (cfengine3-vartypes): Add new "data" type.
141 (cfengine3--current-word): New function to get current name-like
142 word or its bounds.
143 (cfengine3--current-function): New function to look up a CFEngine
144 function's definition.
145 (cfengine3-format-function-docstring): New function.
146 (cfengine3-make-syntax-cache): New function.
147 (cfengine3-documentation-function): New function: ElDoc glue.
148 (cfengine3-completion-function): New function: completion glue.
149 (cfengine3-mode): Set `compile-command',
150 `eldoc-documentation-function', and add to
151 `completion-at-point-functions'.
152
153 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
154
155 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
156 `tramp-current-connection'.
157
158 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
159
160 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
161 nil/self/true/false with "end of symbol".
162
163 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
164
165 * subr.el (version-regexp-alist): Fix a typo.
166
167 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
168
169 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
170 "en_US.utf8" and "LC_CTYPE" to "".
171 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
172 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
173
174 2013-11-15 Leo Liu <sdl.web@gmail.com>
175
176 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
177
178 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * progmodes/gud.el (ctl-x-map):
181 Remove C-x SPC binding. (Bug#12342)
182 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
183
184 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
185
186 * subr.el (version-regexp-alist):
187 Recognize hg, svn and darcs versions as snapshot versions.
188
189 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
190 Add the ability to always insert an utf-8 encoding comment.
191 Fix and simplify coding comment update logic.
192
193 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
194
195 * net/tramp-gvfs.el (top): Run init code only when
196 `tramp-gvfs-enabled' is not nil.
197 (tramp-gvfs-enabled): Check also :system bus.
198
199 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 Sync with upstream verilog-mode revision 78e66ba.
202 * progmodes/verilog-mode.el (verilog-end-of-defun)
203 (verilog-type-completion, verilog-get-list): Remove unused funcs.
204 (verilog-get-end-of-defun): Remove unused argument.
205 (verilog-comment-depth): Remove unused local `e'.
206 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
207 Don't pass arg to verilog-get-end-of-defun.
208
209 2013-11-14 Glenn Morris <rgm@gnu.org>
210
211 * obsolete/assoc.el (aget): Prefix dynamic variable.
212
213 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
214
215 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 * widget.el, hfy-cmap.el: Remove bogus package version number.
218
219 2013-11-13 Glenn Morris <rgm@gnu.org>
220
221 * replace.el (replace-eval-replacement):
222 Try to give more helpful error message. (Bug#15836)
223
224 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
225 (archive-7z-update): Avoid custom type mismatches.
226
227 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
228
229 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
230
231 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
232 address can be empty.
233
234 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
235 Accept nil SWITCHES.
236 (tramp-gvfs-handle-write-region): Implement APPEND.
237
238 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
239
240 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
241 binary "|" operator and closing block args delimiter.
242 Remove FIXME comment referring to Ruby 1.8-only syntax.
243 (ruby-smie--implicit-semi-p): Not after "|" operator.
244 (ruby-smie--closing-pipe-p): New function.
245 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
246 (ruby-smie-rules): Indent after "|".
247
248 2013-11-12 Glenn Morris <rgm@gnu.org>
249
250 * ps-print.el (ps-face-attribute-list):
251 Handle anonymous faces. (Bug#15827)
252
253 2013-11-12 Martin Rudalics <rudalics@gmx.at>
254
255 * window.el (display-buffer-other-frame): Fix doc-string.
256 (Bug#15868)
257
258 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * subr.el (force-mode-line-update): Delete, move to buffer.c.
261
262 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
263
264 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
265 (tramp-sh-handle-file-local-copy): Don't write a message when
266 saving temporary files.
267
268 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
269 both directories are remote.
270 (tramp-smb-handle-directory-files): Do not return double entries.
271 Do not expand full file names.
272 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
273 (tramp-smb-handle-write-region): Implement APPEND.
274 (tramp-smb-get-stat-capability): Fix a stupid bug.
275
276 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
279
280 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
281
282 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
283 throwing error over malformed let/let* (bug#15814).
284
285 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * iswitchb.el (iswitchb-mode): Mark obsolete.
288
289 2013-11-11 Glenn Morris <rgm@gnu.org>
290
291 * international/uni-bidi.el, international/uni-category.el:
292 * international/uni-name.el, international/uni-numeric.el:
293 Regenerate for Unicode 6.3.0.
294
295 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
296
297 * net/tramp.el (tramp-methods):
298 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
299 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
300
301 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
302
303 * progmodes/sh-script.el (sh-font-lock-keywords-var):
304 Force highlighting text after Summary keyword in doc face for rpm.
305
306 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
307
308 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
309 available and the word has no wildcards, append one to the grep pattern.
310 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
311 (ispell-complete-word): Call `ispell-lookup-words' with the value
312 independent of `ispell-look-p'.
313
314 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
315
316 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
317 Not after "||".
318 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
319 their parent.
320
321 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
324 (ruby-font-lock-keywords): Use backquote.
325
326 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
327
328 * progmodes/ruby-mode.el (ruby-smie--forward-token)
329 (ruby-smie--backward-token): Only consider full-string matches.
330
331 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
332
333 * faces.el (describe-face): Add distant-foreground.
334
335 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
336
337 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
338 Use `ruby-encoding-magic-comment-style' to control the
339 style of the auto-inserted encoding comment.
340
341 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
342
343 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
344 Use `smie-backward-sexp' with token argument.
345
346 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
347
348 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
349 Remove instrumentation code.
350
351 2013-11-08 Glenn Morris <rgm@gnu.org>
352
353 * progmodes/autoconf.el (autoconf-mode):
354 Tweak comment-start-skip. (Bug#15822)
355
356 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
359 at bobp (bug#15826).
360 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
361
362 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
363
364 * man.el (Man-start-calling): New macro, extracted from
365 Man-getpage-in-background.
366 (Man-getpage-in-background): Use it.
367 (Man-update-manpage): New command.
368 (Man-mode-map): Bind it.
369
370 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
371
372 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
373 of "and", "or", "&&" and "||".
374 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
375 argument. Prohibit opening curly brace because it could only be a
376 block opener in that position.
377 (ruby-smie--forward-token, ruby-smie--backward-token):
378 Separate "|" from "&" or "*" going after it. That can happen in block
379 arguments.
380 (ruby-smie--indent-to-stmt): New function, seeks the end of
381 previous statement or beginning of buffer.
382 (ruby-smie-rules): Use it.
383 (ruby-smie-rules): Check if there's a ":" before a curly block
384 opener candidate; if there is, it's a hash.
385
386 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
389 (cl--block-wrapper): Fix last accidental change.
390
391 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
392
393 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
394 Instrument, in order to hunt failure on hydra.
395
396 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
397
398 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
399 malformed bindings form (bug#15814).
400
401 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
402
403 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
404 "." compared to " @ ". This incidentally fixes some indentation
405 examples with "do".
406 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
407 (ruby-smie-grammar): New tokens: "and" and "or".
408 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
409 Exclude "and" and "or". Remove "do" in order to work around token
410 priorities.
411 (ruby-smie-rules): Add all infix tokens. Handle the case of
412 beginning-of-buffer.
413
414 2013-11-06 Glenn Morris <rgm@gnu.org>
415
416 * Makefile.in (setwins_almost, setwins_for_subdirs):
417 Avoid accidental matches.
418
419 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
420
421 * menu-bar.el (popup-menu): Use key-binding.
422
423 2013-11-06 Eli Zaretskii <eliz@gnu.org>
424
425 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
426 menus, support also the menus produced by minor modes.
427 (Bug#15817)
428
429 2013-11-06 Leo Liu <sdl.web@gmail.com>
430
431 * thingatpt.el (thing-at-point-looking-at): Add optional arg
432 DISTANCE to bound the search. All uses changed. (Bug#15808)
433
434 2013-11-06 Glenn Morris <rgm@gnu.org>
435
436 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
437 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
438 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
439
440 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * electric.el (electric-indent-just-newline): New command.
443 (electric-indent-mode-map): New keymap.
444 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
445 Re-add :group which weren't redundant.
446
447 * electric.el (electric-indent-local-mode): New minor mode.
448 (electric-indent-functions-without-reindent): New var.
449 (electric-indent-post-self-insert-function): Use it.
450 * emacs-lisp/gv.el (buffer-local-value): Add setter.
451
452 2013-11-05 Eli Zaretskii <eliz@gnu.org>
453
454 * international/quail.el (quail-help): Be more explicit about the
455 meaning of the labels shown on the keys. (Bug#15800)
456
457 * startup.el (normal-top-level): Load the subdirs.el files before
458 setting the locale environment. (Bug#15805)
459
460 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
463 via arguments so as to get the right ones (bug#15418).
464
465 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
466
467 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
468
469 Fix problems found while writing a test suite.
470
471 * net/tramp-compat.el (tramp-compat-load): New defun.
472 * net/tramp.el (tramp-handle-load): Use it.
473
474 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
475 "(numberp ok-if-already-exists)" correctly.
476
477 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
478
479 * international/characters.el (glyphless-char-display-control):
480 Add usage note.
481
482 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
483
484 * progmodes/python.el (python-mode):
485 * progmodes/scheme.el (scheme-mode):
486 * progmodes/prolog.el (prolog-mode):
487 * progmodes/ruby-mode.el (ruby-mode):
488 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
489 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
490
491 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
492
493 * rect.el (rectangle--highlight-for-redisplay):
494 * emacs-lisp/smie.el (smie--next-indent-change):
495 Use buffer-chars-modified-tick.
496
497 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
498
499 * electric.el (electric-indent-post-self-insert-function):
500 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
501
502 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
503
504 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
505
506 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
507
508 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
509 (bug#15786).
510
511 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
514
515 * progmodes/python.el: Fix up last change.
516 (python-shell--save-temp-file): New function.
517 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
518 `string' comes from the current buffer.
519 (python-shell-send-string-no-output): Remove `msg' arg.
520 (python--use-fake-loc): New var.
521 (python-shell-buffer-substring): Obey it. Try to compensate for the
522 extra coding line added by python-shell--save-temp-file.
523 (python-shell-send-region): Use python-shell--save-temp-file and
524 python-shell-send-file directly. Add `nomain' argument.
525 (python-shell-send-buffer): Use python-shell-send-region.
526 (python-electric-pair-string-delimiter): New function.
527 (python-mode): Use it.
528
529 2013-11-04 Eli Zaretskii <eliz@gnu.org>
530
531 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
532 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
533 environment and decoding all of the default-directory's to here
534 from command-line.
535 (command-line): Decode also argv[0].
536
537 * loadup.el: Error out if default-directory is a multibyte string
538 when we are dumping.
539
540 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
541
542 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
543
544 * emacs-lisp/package.el (package-menu-mode)
545 (package-menu--print-info, package-menu--archive-predicate):
546 Add Archive column to package list.
547
548 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
549
550 Fix problems found while writing a test suite.
551
552 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
553 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
554 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
555 to nil when running original file name handler. Otherwise,
556 there are problems with constructs like "$$FOO".
557
558 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
559 for `localname'.
560
561 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
562
563 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
564
565 * subr.el (version<, version<=, version=):
566 Update docstrings with information for snapshot versions.
567
568 * helpers.el: New library for misc helper functions.
569 (hash-table-keys): New function returning a list of hash keys.
570 (hash-table-values): New function returning a list of hash values.
571
572 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
573
574 * progmodes/ruby-mode.el (ruby-smie--forward-token)
575 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
576
577 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
578
579 * textmodes/fill.el (fill-single-char-nobreak-p): New function
580 checking whether point is after a 1-letter word.
581
582 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
583
584 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
585 Don't infloop when expanding region over `multiline' syntax-type that
586 begins a line (bug#15778).
587
588 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
591 Make it into a proper minor mode.
592 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
593 (rectangle-mark-mode-map): New keymap.
594 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
595
596 2013-11-04 Glenn Morris <rgm@gnu.org>
597
598 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
599
600 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
603 (ruby-smie-rules): Use smie-rule-parent instead.
604
605 * emacs-lisp/smie.el (smie-rule-parent): Always call
606 smie-indent-virtual rather than only for hanging tokens.
607 (smie--next-indent-change): New helper command.
608
609 2013-11-03 Glenn Morris <rgm@gnu.org>
610
611 * Makefile.in (abs_srcdir): Remove.
612 (emacs): Unset EMACSLOADPATH.
613
614 2013-11-02 Glenn Morris <rgm@gnu.org>
615
616 * Makefile.in (EMACS): Use a relative filename.
617 (abs_top_builddir): Remove.
618 (custom-deps, finder-data, autoloads): Use --chdir.
619
620 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
621
622 Use relative filenames in TAGS files.
623 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
624 (lisptagsfiles4, TAGS): Use relative file names.
625 (TAGS-LISP): Remove.
626 (maintainer-clean): No more TAGS-LISP file.
627
628 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
629 (lisptagsfiles4): Use absolute filenames again.
630 (TAGS, TAGS-LISP): Not everything needs to run in one line.
631 Remove all *loaddefs files, not just the first. Remove esh-groups.
632 (maintainer-clean): Delete TAGS, TAGS-LISP.
633
634 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
635
636 * emacs-lisp/package.el (package-version-join):
637 Recognize snapshot versions.
638
639 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
640
641 * subr.el (version-regexp-alist): Add support for snapshot versions.
642
643 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
644
645 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
646 New function, replacement for `smie-rule-parent' for when we want to
647 skip over our direct parent if it's an assignment token..
648 (ruby-smie-rules): Use it.
649
650 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
651
652 * progmodes/ruby-mode.el Use `syntax-propertize-function'
653 unconditionally. Remove now unnecessary forward declarations.
654 Remove XEmacs-specific setup.
655 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
656 (ruby-font-lock-syntactic-keywords)
657 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
658 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
659 (ruby-here-doc-end-syntax): Remove.
660 (ruby-mode): Don't check whether `syntax-propertize-rules' is
661 defined as function.
662
663 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
664
665 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
666
667 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
668
669 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
670 table and abbrev table, `define-derived-mode' does that for us
671 anyway.
672
673 2013-11-01 Glenn Morris <rgm@gnu.org>
674
675 * Makefile.in: Remove manual mh-e dependencies (writing .elc
676 files is atomic for some time, so no parallel compilation issues).
677
678 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
679
680 * faces.el (face-x-resources): Add :distant-foreground.
681 (region): Use :distant-foreground for gtk and ns.
682
683 2013-11-01 Tassilo Horn <tsdh@gnu.org>
684
685 Allow multiple bibliographies when BibLaTeX is used rather than
686 BibTeX.
687 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
688 (reftex-locate-bibliography-files): Us it.
689
690 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
691
692 * image.el (image-type-header-regexps): Fix the 'pbm' part to
693 allow comments in pbm files.
694
695 * term/w32-win.el (dynamic-library-alist): Support newer versions
696 of libjpeg starting with v7: look only for the DLL from the
697 version against which Emacs was built.
698 Support versions of libpng beyond 1.4.x.
699 Support libtiff v4.x.
700
701 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
702
703 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
704 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
705 Add property :safe.
706 (ruby-deep-arglist): Add property :type.
707
708 2013-10-31 Glenn Morris <rgm@gnu.org>
709
710 * Makefile.in (custom-deps, finder-data): No need to setq the target
711 variables, we are in the right directory and the defaults work fine.
712
713 2013-10-30 Glenn Morris <rgm@gnu.org>
714
715 * Makefile.in (autoloads): Do not use abs_lisp.
716
717 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
718 `newline' does not respect `standard-output', so use `princ'.
719
720 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
721
722 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
723 * buff-menu.el (Buffer-menu--unmark): New function.
724 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
725
726 2013-10-30 Glenn Morris <rgm@gnu.org>
727
728 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
729
730 * emacs-lisp/package.el (lm-homepage): Declare.
731
732 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
733 Fix doc typos.
734
735 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
736
737 * Makefile.in (finder-data, autoloads, update-subdirs)
738 (compile-main, compile-clean, compile-always, bootstrap-clean):
739 Check return value of cd.
740 (compile-calc): Remove.
741
742 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
745
746 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
747 (byte-compile-and-folded): New function.
748 (=, <, >, <=, >=): Use it.
749
750 * dos-w32.el (minibuffer-history-case-insensitive-variables)
751 (path-separator, null-device, buffer-file-coding-system)
752 (lpr-headers-switches): Check system-type before modifying them.
753 (find-buffer-file-type-coding-system): Mark obsolete.
754 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
755 find-file-not-found-set-buffer-file-coding-system.
756 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
757 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
758 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
759 (w32-direct-print-region-helper, w32-direct-print-region-function)
760 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
761 * startup.el (normal-top-level-add-subdirs-to-load-path):
762 * ps-print.el (ps-print-region-function):
763 * lpr.el (print-region-function): Use new name.
764
765 * subr.el (custom-declare-variable-early): Remove function.
766 (custom-declare-variable-list): Remove var.
767 (error, user-error): Remove `while' loop.
768 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
769 (user-emacs-directory-warning, locate-user-emacs-file):
770 Move to files.el.
771 * simple.el (read-quoted-char-radix, read-quoted-char):
772 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
773 Move from subr.el.
774 * custom.el (custom-declare-variable-list): Don't process
775 custom-declare-variable-list.
776
777 * progmodes/python.el (python-shell-get-buffer): New function.
778 (python-shell-get-process): Use it.
779 (python-shell-send-string): Always use utf-8 and add a cookie to tell
780 Python which encoding was used. Don't split-string since we only care
781 about the first line. Return the temp-file, if applicable.
782 (python-shell-send-region): Tell compile.el how to turn locations in
783 the temp-file into locations in the source buffer.
784
785 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * subr.el (undefined): Add missing behavior from the C code for
788 unbound keys.
789
790 * rect.el: Use lexical-binding. Add new rectangular region support.
791 (rectangle-mark): New command.
792 (rectangle--region): New var.
793 (deactivate-mark-hook): Reset rectangle--region.
794 (rectangle--extract-region, rectangle--insert-for-yank)
795 (rectangle--highlight-for-redisplay)
796 (rectangle--unhighlight-for-redisplay): New functions.
797 (region-extract-function, redisplay-unhighlight-region-function)
798 (redisplay-highlight-region-function): Use them to handle
799 rectangular region.
800 * simple.el (region-extract-function): New var.
801 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
802 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
803 (kill-region): Replace obsolete `yank-handler' arg with `region'.
804 (copy-region-as-kill, kill-ring-save): Add `region' argument.
805 (redisplay-unhighlight-region-function)
806 (redisplay-highlight-region-function): New vars.
807 (redisplay--update-region-highlight): New function.
808 (pre-redisplay-function): Use it.
809 (exchange-point-and-mark): Don't deactivate the mark before
810 reactivate-it anyway.
811 * comint.el (comint-kill-region): Remove yank-handler argument.
812 * delsel.el (delete-backward-char, backward-delete-char-untabify)
813 (delete-char): Remove property, since it's now part of their
814 default behavior.
815 (self-insert-iso): Remove property since this command doesn't exist.
816
817 * emacs-lisp/package.el (package--download-one-archive)
818 (describe-package-1): Don't query the user about final newline.
819
820 2013-10-29 Daniel Colascione <dancol@dancol.org>
821
822 * net/tramp.el (tramp-methods): Document new functionality.
823 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
824 tramp-hostname-checker if method provides one instead of scanning
825 argument list for "%h" to decide hostname acceptability.
826
827 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
828
829 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
830 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
831 Handle COPY-CONTENTS. (Bug#15737)
832
833 2013-10-28 Daiki Ueno <ueno@gnu.org>
834
835 * epa-file.el
836 (epa-file-cache-passphrase-for-symmetric-encryption):
837 Document that this option has no effect with GnuPG 2.0 (bug#15552).
838
839 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
840
841 * image.el (defimage):
842 (image-load-path): Doc fixes.
843
844 2013-10-27 Alan Mackenzie <acm@muc.de>
845
846 Indent statements in macros following "##" correctly.
847 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
848 Modify the "#" arm of a cond form to handle "#" and "##" operators.
849
850 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
851
852 * linum.el (linum-update-window): Fix boundary test (bug#13446).
853
854 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
855
856 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
857 after `=' is probably a new expression.
858
859 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
860
861 * man.el (man-imenu-title): New option.
862 (Man-mode-map): Add menu. (Bug#15722)
863 (Man-mode): Add imenu to menu.
864
865 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
866
867 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
868 specific in what the first arg can be: a non-keyword word,
869 string/regexp/percent literal opener, opening paren, or unary
870 operator followed directly by word.
871
872 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
875 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
876 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
877 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
878 Remove vars, they do not apply any more.
879 (prolog-mode-abbrev-table): Remove redundant declaration.
880 (prolog-upper-case-string, prolog-lower-case-string): Remove.
881 (prolog-use-smie): Remove.
882 (prolog-smie-rules): Add indentation rule for the if-then-else layout
883 supported by prolog-electric-if-then-else-flag.
884 (prolog-mode-variables, prolog-menu): Use setq-local.
885 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
886 Remove binding to `Backspace' since this key doesn't exist anyway.
887 Remove bindings for electric self-inserting keys.
888 (prog-mode): Assume it's defined.
889 (prolog-post-self-insert): New function.
890 (prolog-mode): Use it.
891 (prolog-indent-line, prolog-indent-level)
892 (prolog-find-indent-of-matching-paren)
893 (prolog-indentation-level-of-line, prolog-goto-comment-column)
894 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
895 (prolog-goto-next-paren, prolog-in-string-or-comment)
896 (prolog-tokenize, prolog-inside-mline-comment)
897 (prolog-find-start-of-mline-comment): Remove functions.
898 (prolog-find-unmatched-paren, prolog-clause-end)
899 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
900 (prolog-electric--if-then-else): Rename from
901 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
902 (prolog-tokenize-searchkey): Remove const.
903 (prolog-clause-info): Use forward-sexp.
904 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
905 (prolog-electric-if-then-else): Remove commands.
906 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
907 for use in post-self-insert-hook.
908 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
909 for use in post-self-insert-hook.
910 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
911 for use in post-self-insert-hook.
912 (prolog-electric--underscore): Rename from prolog-electric--underscore;
913 adapt it for use in post-self-insert-hook.
914
915 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
916
917 * emacs-lisp/ert.el (ert-run-tests-interactively):
918 Use `completing-read'. (Bug#9756)
919
920 2013-10-25 Eli Zaretskii <eliz@gnu.org>
921
922 * simple.el (line-move): Call line-move-1 instead of
923 line-move-visual when the current window hscroll is zero, but
924 temporary-goal-column indicates we will need to hscroll as result
925 of the movement. (Bug#15712)
926
927 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
928
929 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
930 capitalization. Use :visible instead of :active.
931 Fix `ruby-indent-exp' reference. Add menu items for the generic
932 commands that are used with SMIE.
933 (ruby-do-end-to-brace): Insert space after `{'.
934
935 2013-10-25 John Anthony <john@jo.hnanthony.com>
936
937 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
938
939 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
940
941 2013-10-25 Glenn Morris <rgm@gnu.org>
942
943 * vc/vc.el (vc-print-log): Don't use a working revision unless
944 one was explicitly specified. (Bug#15322)
945
946 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * subr.el (add-to-list): Preserve return value in compiler-macro
949 (bug#15692).
950
951 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
952
953 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
954 result. Ask user to retry using '-all' flag. (Bug#15701)
955
956 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * emacs-lisp/smie.el: New smie-config system.
959 (smie-config): New defcustom.
960 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
961 (smie-config-guess, smie-config-save): New commands.
962 (smie-config--mode-local, smie-config--buffer-local)
963 (smie-config--trace, smie-config--modefuns): New vars.
964 (smie-config--advice, smie-config--mode-hook)
965 (smie-config--setter, smie-config-local, smie-config--get-trace)
966 (smie-config--guess-value, smie-config--guess): New functions.
967 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
968 text properties. Treat "string fence" syntax like string syntax.
969
970 * progmodes/sh-script.el (sh-use-smie): Change default.
971 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
972 (sh-var-value): Simplify by CSE.
973 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
974 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
975 is used.
976 (sh-guess-basic-offset): Use cl-incf.
977 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
978
979 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
980
981 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
982 (bug#15699).
983
984 2013-10-24 Glenn Morris <rgm@gnu.org>
985
986 * Makefile.in (abs_top_srcdir): Remove.
987 (update-subdirs): Use relative path to update-subdirs.
988
989 2013-10-24 Eli Zaretskii <eliz@gnu.org>
990
991 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
992 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
993 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
994 Call unmsys--file-name before expand-file-name, not after it.
995
996 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
997
998 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
999 (ert-test-skipped): New error.
1000 (ert-skip, ert-stats-skipped): New defuns.
1001 (ert--skip-unless): New macro.
1002 (ert-test-skipped): New struct.
1003 (ert--run-test-debugger, ert-test-result-type-p)
1004 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1005 (ert--stats-set-test-and-result, ert-char-for-test-result)
1006 (ert-string-for-test-result, ert-run-tests-batch)
1007 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1008 Handle skipped tests. (Bug#9803)
1009
1010 2013-10-24 Glenn Morris <rgm@gnu.org>
1011
1012 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1013
1014 * Makefile.in (abs_top_srcdir): New, set by configure.
1015 (update-subdirs): Correct build-aux location.
1016
1017 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1018
1019 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1020 value, whether we could auto-deduce `backend', or not.
1021
1022 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1023 with parameters" example. Simplify the "is it block or is it
1024 hash" check, but also make it more thorough.
1025
1026 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1027
1028 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1029
1030 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1033 { if it is hanging.
1034
1035 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1036 :before ";".
1037
1038 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1039
1040 * progmodes/compile.el (compilation-directory-matcher)
1041 (compilation-page-delimiter):
1042 Support GNU Make-4.0 directory quoting. (Bug#15678)
1043
1044 2013-10-23 Leo Liu <sdl.web@gmail.com>
1045
1046 * ido.el (ido-tidy): Handle read-only text.
1047
1048 2013-10-23 Glenn Morris <rgm@gnu.org>
1049
1050 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1051 (emacs, compile, compile-always):
1052 Quote entities that might contain whitespace.
1053 (custom-deps, finder-data, autoloads): Use abs_lisp.
1054 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1055 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1056 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1057
1058 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1059
1060 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1061 Use `following-char'.
1062
1063 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1066 * progmodes/ruby-mode.el (ruby-smie-rules):
1067 Remove corresponding workaround. Fix indentation rule of ";" so it
1068 also applies when ";" is the parent.
1069
1070 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1071
1072 * frame.el (display-screens, display-pixel-height)
1073 (display-pixel-width, display-mm-width, display-backing-store)
1074 (display-save-under, display-planes, display-color-cells)
1075 (display-visual-class, display-monitor-attributes-list):
1076 Mention the optional ‘display’ argument in doc strings.
1077
1078 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1079
1080 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1081 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1082
1083 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1084
1085 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1086 TODO. Add "." after " @ ".
1087 (ruby-smie--at-dot-call): New function. Checks if point at method
1088 call with explicit target.
1089 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1090 to the method name tokens when it precedes them.
1091 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1092 (ruby-smie-rules): Add rule for indentation before and after "."
1093 token.
1094
1095 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * textmodes/remember.el (remember-diary-extract-entries):
1098 Avoid add-to-list.
1099
1100 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1101 an instruction.
1102
1103 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1104
1105 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1106 (ruby-smie--implicit-semi-p): Add new operator chars.
1107
1108 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1109 `smie-down-list'.
1110 (ruby-smie--args-separator-p): Check that there's no newline
1111 between method call and its arguments.
1112
1113 2013-10-20 Alan Mackenzie <acm@muc.de>
1114
1115 Allow comma separated lists after Java "implements".
1116
1117 * progmodes/cc-engine.el (c-backward-over-enum-header):
1118 Parse commas.
1119 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1120 from a "disallowed" list in enum fontification.
1121
1122 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1123
1124 * startup.el (default-frame-background-mode): Remove unused defvar.
1125
1126 * progmodes/verilog-mode.el (verilog-mode): Don't set
1127 comment-indent-function globally.
1128
1129 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1130
1131 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1132 Move Info menu item creation to ns-win.el.
1133
1134 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1135 in menu bar.
1136
1137 * menu-bar.el: Move GNUStep specific menus...
1138
1139 * term/ns-win.el (ns-initialize-window-system): ... to here.
1140
1141 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * simple.el (newline): Only run post-self-insert-hook when
1144 called interactively.
1145
1146 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1147
1148 * icomplete.el (icomplete-with-completion-tables): Add :version.
1149
1150 2013-10-19 Alan Mackenzie <acm@muc.de>
1151
1152 Fix fontification bugs with constructors and const.
1153
1154 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1155 CASE 2) Remove the check for the absence of a suffix construct
1156 after a function declaration with only types (no identifiers) in
1157 the parentheses. Also, accept a function declaration with just a
1158 type inside the parentheses, if this type can be positively
1159 recognised as such, or if a prefix keyword like "explicit" nails
1160 down the construct as a declaration.
1161
1162 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1163
1164 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1165 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1166 the problem whereby selecting a menu item that leads to a
1167 minibuffer prompt moves the cursor out of the minibuffer window,
1168 making it hard to type at the prompt. Suggested by Stefan Monnier
1169 <monnier@iro.umontreal.ca>.
1170
1171 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1172
1173 * menu-bar.el: Don't make Services menu.
1174
1175 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1176
1177 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1178 (ffap-alist): Use ffap-c++-mode for c++-mode.
1179 (ffap-c++-path): New variable.
1180 (ffap-c++-mode): New function.
1181
1182 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1183
1184 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1185
1186 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1187
1188 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1189 introduced on 2013-09-08, which results in an infinite loop
1190 requesting a password.
1191
1192 2013-10-18 Glenn Morris <rgm@gnu.org>
1193
1194 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1195
1196 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1197
1198 Sync with upstream verilog-mode revision 1a6ecec7.
1199 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1200 (verilog-mode-release-date): Remove.
1201 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1202 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1203 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1204 (verilog-auto-tieoff-ignore-regexp)
1205 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1206 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1207 (verilog-signals-with, verilog-dir-cache-preserving)
1208 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1209 Doc fixes.
1210 (verilog-case-fold): New option, to control case folding in
1211 regexp searches, bug597.
1212 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1213 (verilog-string-match-fold, verilog-in-paren-count)
1214 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1215 (verilog-at-close-struct-p): New functions.
1216 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1217 (verilog-forward-sexp, verilog-set-auto-endcomments):
1218 (verilog-leap-to-case-head): Handle "unique0" case.
1219 (verilog-in-constraint-re): New constant.
1220 (verilog-keywords, verilog-type-font-keywords):
1221 Add some SystemVerilog 1800-2012 keywords.
1222 (verilog-label-be): Remove unimplemented argument, bug669.
1223 (verilog-batch-execute-func): When batch expanding clear
1224 create-lockfiles to prevent spurious user locks when a file ends
1225 up not changing.
1226 (verilog-calculate-indent, verilog-calc-1)
1227 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1228 (verilog-do-indent): Fix indentation of nested constraints
1229 and structures.
1230 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1231 (verilog-auto-inst-param): Use verilog-string-match-fold.
1232 (verilog-read-inst-module-matcher):
1233 Fix AUTOINST on gate primitives with #1.
1234 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1235 Reads all user-defined typed variables.
1236 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1237 (verilog-signals-matching-regexp)
1238 (verilog-signals-not-matching-regexp, verilog-auto):
1239 Respect verilog-case-fold.
1240 (verilog-diff-report): Fix line count.
1241 (verilog-auto-assign-modport): Remove unused local `modi'.
1242 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1243 better handle multidimensional arrays.
1244 Fix packed array ports misadding bit index in AUTOINST, bug637.
1245 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1246 to not double-declare existing outputs and inputs, respectively.
1247 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1248 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1249 (verilog-sk-uvm-component): New skeleton.
1250 (verilog-submit-bug-report): Add verilog-case-fold,
1251 remove verilog-mode-release-date.
1252
1253 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1254
1255 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1256 as before.
1257
1258 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1259
1260 * textmodes/remember.el (remember): set buffer-offer-save in
1261 remember buffers (bug#13566).
1262
1263 2013-10-18 Daniel Colascione <dancol@dancol.org>
1264
1265 When evaluating forms in ielm, direct standard output to ielm
1266 buffer. Add new ielm-return-for-effect command. Remove trailing
1267 whitespace throughout.
1268
1269 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1270 (ielm-return-for-effect): New command.
1271 (ielm-send-input): Accept optional `for-effect' parameter.
1272 (ielm-eval-input): Accept optional `for-effect' parameter.
1273 Bind `standard-output' to stream we create using
1274 `ielm-standard-output-impl'. Suppress printing result when
1275 `for-effect'.
1276 (ielm-standard-output-impl): New function.
1277 (inferior-emacs-lisp-mode): Explain new features in documentation.
1278
1279 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1280
1281 Code cleanup.
1282
1283 * net/tramp.el (tramp-debug-message): Do not check for connection
1284 buffer.
1285 (tramp-message): Use "vector" connection property.
1286
1287 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1288 (tramp-equal-remote, tramp-eshell-directory-change)
1289 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1290 (tramp-adb-handle-rename-file)
1291 * net/tramp-cmds.el (tramp-list-remote-buffers)
1292 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1293 * net/tramp-compat.el (tramp-compat-process-running-p)
1294 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1295 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1296 (tramp-gvfs-handle-rename-file)
1297 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1298 (tramp-set-file-uid-gid)
1299 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1300 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1301 of `file-remote-p'.
1302
1303 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1304 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1305 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1306 (tramp-gw-open-network-stream): Suppress unrelated traces.
1307
1308 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1309 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1310 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1311 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1312 connection property.
1313
1314 * net/tramp-cache.el (top): Suppress traces when reading
1315 persistency file.
1316
1317 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1318 Refactor common code. Improve debug message.
1319 (tramp-maybe-open-connection)
1320 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1321 connection buffer too early.
1322
1323 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1324 from `tramp-smb-actions-with-acl'.
1325 (tramp-smb-actions-set-acl): New defconst.
1326 (tramp-smb-handle-copy-directory)
1327 (tramp-smb-action-get-acl): New defun, renamed from
1328 `tramp-smb-action-with-acl'.
1329 (tramp-smb-action-set-acl): New defun.
1330 (tramp-smb-handle-set-file-acl): Rewrite.
1331
1332 2013-10-17 Glenn Morris <rgm@gnu.org>
1333
1334 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1335
1336 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * skeleton.el (skeleton-newline): Remove.
1339 (skeleton-internal-1): Use (insert "\n") instead.
1340
1341 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1342 let-bindings.
1343
1344 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1345 forward-sexp-function while we redo its job (bug#15613).
1346
1347 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1348
1349 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1350 represented by lists.
1351
1352 2013-10-16 Glenn Morris <rgm@gnu.org>
1353
1354 * tmm.el (tmm--history): New dynamic variable.
1355 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1356
1357 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1358
1359 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1360 (tramp-smb-errors): Add error messages.
1361 (tramp-smb-actions-with-acl): New defconst.
1362 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1363 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1364 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1365 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1366 (tramp-smb-get-stat-capability): Fix tests.
1367
1368 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1369
1370 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1371 (bug#15580).
1372
1373 2013-10-16 Glenn Morris <rgm@gnu.org>
1374
1375 * ansi-color.el (ansi-color-drop-regexp):
1376 Add 1J, 1K, 2K. (Bug#15617)
1377
1378 * files.el (hack-local-variables--warned-lexical): New.
1379 (hack-local-variables):
1380 Warn about misplaced lexical-binding. (Bug#15616)
1381
1382 * net/eww.el (eww-render): Always set eww-current-url,
1383 and update header line. (Bug#15622)
1384 (eww-display-html): ... Rather than just doing it here.
1385
1386 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1387
1388 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1389 menu navigations commands.
1390
1391 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1392
1393 * progmodes/subword.el (subword-capitalize): Be careful when
1394 the search for [[:alpha:]] fails (bug#15580).
1395
1396 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1397
1398 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1399 to commands that scroll the menu.
1400
1401 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1402
1403 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1404 Handle methods ending with `?' and `!'.
1405
1406 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1407
1408 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1409 `japanese-cp932' to `cp932' to fix the problem where saving a
1410 source file written in Shift_JIS twice would end up having
1411 `coding: japanese-cp932' which Ruby could not recognize.
1412 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1413 in `ruby-encoding-map'.
1414 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1415 doesn't need to be explicitly declared in magic comment.
1416 (ruby-encoding-map): Add type declaration for better customize UI.
1417
1418 2013-10-13 Glenn Morris <rgm@gnu.org>
1419
1420 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1421 Occur buffers are read-only. http://bugs.debian.org/720775
1422
1423 * emacs-lisp/authors.el (authors-fixed-entries):
1424 Comment out old alpha stuff.
1425
1426 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1427
1428 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1429 to `after-save-hook' instead of `before-save-hook'.
1430 (ruby-mode-set-encoding): Use the value of coding system used to
1431 write the file. Call `basic-save-buffer-1' after modifying the
1432 buffer.
1433
1434 2013-10-13 Alan Mackenzie <acm@muc.de>
1435
1436 Fix indentation/fontification of Java enum with
1437 "implements"/generic.
1438
1439 * progmodes/cc-engine.el (c-backward-over-enum-header):
1440 Extracted from the three other places and enhanced to handle generics.
1441 (c-inside-bracelist-p): Uses new function above.
1442 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1443 function above.
1444 (c-font-lock-enum-tail): Uses new function above.
1445
1446 2013-10-13 Kenichi Handa <handa@gnu.org>
1447
1448 * international/mule-cmds.el (select-safe-coding-system): Remove a
1449 superfluous condition in chekcing whether a coding system is safe
1450 or not.
1451
1452 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1453
1454 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1455
1456 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1457
1458 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1459
1460 2013-10-13 Glenn Morris <rgm@gnu.org>
1461
1462 * menu-bar.el (menu-bar-update-buffers):
1463 Unify Buffers menu prompt string. (Bug#15576)
1464
1465 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1466
1467 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1468 Add some entries.
1469 (authors-fixed-entries): Use accented form of name.
1470
1471 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1472
1473 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1474 method calls (bug#15594).
1475 (ruby-smie--args-separator-p): New function.
1476 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1477 recognize paren-free method calls.
1478
1479 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1480 internals of universal-argument.
1481
1482 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1483
1484 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1485 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1486 dropped menu on second mouse click on the menu bar.
1487
1488 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1491 (explicit-shell-file-name): Declare.
1492 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1493 (sh-completion-at-point-function): New function.
1494 (sh-mode): Use it.
1495 (sh-smie--keyword-p): Remove unused argument.
1496 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1497 vars.
1498 (sh-set-shell): Always setup SMIE, even if we use the
1499 old indentation code.
1500
1501 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1502
1503 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1504 cases of ? and =.
1505 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1506 predicate would return nil are almost non-existent.
1507 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1508
1509 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1510 cache also after commands that modify the buffer but don't move
1511 point.
1512
1513 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * env.el (substitute-env-in-file-name): New function.
1516 (substitute-env-vars): Extend the meaning of the optional arg.
1517
1518 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1519
1520 * term/w32-win.el (dynamic-library-alist): Define separate lists
1521 of GIF DLLs for versions before and after 5.0.0 of giflib.
1522 (Bug#15531)
1523
1524 2013-10-10 João Távora <joaotavora@gmail.com>
1525
1526 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1527 not locked, use last revision and current source as
1528 defaults. (Bug#15569)
1529
1530 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1531
1532 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1533 menu-bar is hidden.
1534
1535 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1536
1537 * window.el (pop-to-buffer-same-window): Fix doc-string.
1538 (Bug#15492)
1539
1540 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1541
1542 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1543
1544 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1545
1546 * calendar/icalendar.el (icalendar-import-file):
1547 Fix interactive spec. (Bug#15482)
1548
1549 2013-10-10 Glenn Morris <rgm@gnu.org>
1550
1551 * desktop.el (desktop-save): Default to saving in .emacs.d,
1552 since PWD is no longer in desktop-path by default. (Bug#15319)
1553
1554 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1555 now that text mode has a menu with the same entry.
1556 (menu-bar-text-mode-auto-fill): Remove now unused func.
1557 * textmodes/text-mode.el (text-mode-map):
1558 Use auto-fill help text from menu-bar.el.
1559
1560 2013-10-10 John Anthony <john@jo.hnanthony.com>
1561
1562 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1563
1564 2013-10-09 Juri Linkov <juri@jurta.org>
1565
1566 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1567 instead of this-command-keys. Add universal-argument-more and
1568 universal-argument-minus to the list of prefix commands. (Bug#15568)
1569
1570 2013-10-09 Glenn Morris <rgm@gnu.org>
1571
1572 * vc/vc-svn.el (vc-svn-create-repo):
1573 Expand paths in file://... url. (Bug#15446)
1574
1575 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1576 Add some entries.
1577 (authors): Remove unused local variables.
1578
1579 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * profiler.el: Create a more coherent calltree from partial backtraces.
1582 (profiler-format): Hide the tail with `invisible' so that C-s can still
1583 find the hidden elements.
1584 (profiler-calltree-depth): Don't recurse so enthusiastically.
1585 (profiler-function-equal): New hash-table-test.
1586 (profiler-calltree-build-unified): New function.
1587 (profiler-calltree-build): Use it.
1588 (profiler-report-make-name-part): Indent the calltree less.
1589 (profiler-report-mode): Add visibility specs for profiler-format.
1590 (profiler-report-expand-entry, profiler-report-toggle-entry):
1591 Expand the whole subtree when provided with a prefix arg.
1592
1593 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1594
1595 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1596 iuwu-mod token.
1597 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1598 hanging iuwu-mod token.
1599 (ruby-smie--forward-token): Do not include a dot after a token in
1600 that token.
1601 (ruby-smie--backward-token): Likewise.
1602
1603 2013-10-08 Juri Linkov <juri@jurta.org>
1604
1605 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1606 to isearch-other-control-char.
1607 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1608 and isearch-post-command-hook to post-command-hook.
1609 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1610 and isearch-post-command-hook from post-command-hook.
1611 (isearch-unread-key-sequence)
1612 (isearch-reread-key-sequence-naturally)
1613 (isearch-lookup-scroll-key, isearch-other-control-char)
1614 (isearch-other-meta-char): Remove functions.
1615 (isearch-pre-command-hook, isearch-post-command-hook):
1616 New functions based on isearch-other-meta-char rewritten
1617 relying on the new behavior of overriding-terminal-local-map
1618 that does not replace the local keymaps any more. (Bug#15200)
1619
1620 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1621
1622 Support menus on text-mode terminals.
1623 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1624 functionality.
1625
1626 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1627
1628 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1629 Move here from mouse.el.
1630 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1631 and arrow keys.
1632 (tty-menu-navigation-map): New map for TTY menu navigation.
1633
1634 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1635
1636 * frame.el (display-mouse-p): Report text-mode mouse as available
1637 on w32.
1638 (display-popup-menus-p): Report availability if mouse is
1639 available; don't condition on window-system.
1640
1641 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1642 (tty-menu-selected-face): New faces.
1643
1644 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1647 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1648 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1649 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1650 New constants.
1651 (lisp-mode-variables): New `elisp' argument.
1652 (emacs-lisp-mode): Use it.
1653 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1654 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1655
1656 * indent.el: Use lexical-binding.
1657 (indent-region): Add progress reporter.
1658 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1659 last step.
1660 (indent--next-tab-stop): New function to implement this behavior.
1661 (tab-to-tab-stop, move-to-tab-stop): Use it.
1662
1663 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1664
1665 * indent.el (indent-rigidly--current-indentation): New function.
1666 (indent-rigidly-map): New var.
1667 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1668
1669 2013-10-08 Bastien Guerry <bzg@gnu.org>
1670
1671 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1672
1673 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * progmodes/perl-mode.el: Use lexical-binding.
1676 Remove redundant :group args.
1677 (perl-nochange): Change default to be closer to other major modes's
1678 standard behavior.
1679 (perl-indent-line): Don't consider text on current line as a
1680 valid beginning of function from which to indent.
1681
1682 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1683 with more than one argument (bug#15538).
1684
1685 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1686
1687 * vc/pcvs.el: Use lexical-binding.
1688 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1689 environment of `eval'.
1690 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1691 than a list of expressions. Adjust callers.
1692 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1693
1694 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1695
1696 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1697 case of the dot in a chained method call being on the following line.
1698
1699 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * electric.el (electric-indent-inhibit): New var.
1702 (electric-indent-post-self-insert-function): Use it.
1703 * progmodes/python.el (python-mode): Set it.
1704
1705 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1706 open braces.
1707
1708 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1709
1710 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1711 (css-mode): Use electric-indent-chars.
1712
1713 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1714 (font-lock-beg, font-lock-end): Move before first use.
1715 (nxml-mode): Use syntax-propertize-function.
1716 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1717 (nxml-extend-after-change-region): Remove.
1718 * nxml/xmltok.el: Use lexical-binding.
1719 (xmltok-save): Use `declare'.
1720 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1721 * nxml/nxml-util.el: Use lexical-binding.
1722 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1723 Use `declare'.
1724 * nxml/nxml-ns.el: Use lexical-binding.
1725 (nxml-ns-save): Use `declare'.
1726 (nxml-ns-prefixes-for): Avoid add-to-list.
1727 * nxml/rng-match.el: Use lexical-binding.
1728 (rng--ipattern): Use cl-defstruct.
1729 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1730 (rng-cons-group-after, rng-subst-group-after)
1731 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1732 Use closures instead of `(lambda...).
1733
1734 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1735
1736 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1737 of BEG and END.
1738
1739 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1740 Use `tramp-handle-insert-file-contents'.
1741 (tramp-gvfs-handle-insert-file-contents): Remove function.
1742
1743 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1744 Use `save-restriction' in order to keep markers.
1745
1746 * net/trampver.el: Update release number.
1747
1748 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * progmodes/compile.el (compilation-parse-errors):
1751 Use compilation--put-prop.
1752 (compilation--ensure-parse): Check compilation-multiline.
1753
1754 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1755
1756 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1757 lexical-binding.
1758
1759 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1760
1761 * progmodes/ruby-mode.el: Fix recently added tests.
1762 (ruby-smie-grammar): Add - and +.
1763 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1764 (ruby-smie--backward-id): New functions.
1765 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1766 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1767 any more.
1768
1769 2013-10-07 Leo Liu <sdl.web@gmail.com>
1770
1771 * register.el (register-preview-delay)
1772 (register-preview-functions): New variables.
1773 (register-read-with-preview, register-preview)
1774 (register-describe-oneline): New functions.
1775 (point-to-register, window-configuration-to-register)
1776 (frame-configuration-to-register, jump-to-register)
1777 (number-to-register, view-register, insert-register)
1778 (copy-to-register, append-to-register, prepend-to-register)
1779 (copy-rectangle-to-register): Use register-read-with-preview to
1780 read register. (Bug#15525)
1781
1782 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1783
1784 * net/network-stream.el (network-stream-open-starttls): Don't add
1785 --insecure if it's already present, because that gnutls-cli
1786 rejects getting that parameter twice.
1787
1788 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1789
1790 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1791 keyword, too.
1792
1793 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1794
1795 * newcomment.el (comment-use-global-state): Change default value
1796 to t, mark obsolete (Bug#15251).
1797 (comment-beginning): In addition to `comment-to-syntax', check the
1798 value of `comment-use-global-state'.
1799
1800 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1801
1802 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1803 (ruby-comment-column): Follow the global default, by default.
1804 (ruby-smie-grammar): Add assignment syntax.
1805 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1806 open-paren, a comma, or a \.
1807 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1808 and line continuations.
1809 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1810 followed by implicit semi-colons. Add rule for string concatenation
1811 and for indentation at BOB.
1812 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1813
1814 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1815 calling next-sexp, since next-token may have skipped chars which
1816 next-sexp doesn't know should be skipped!
1817
1818 2013-10-05 Leo Liu <sdl.web@gmail.com>
1819
1820 * progmodes/octave.el (octave-send-region):
1821 Call compilation-forget-errors.
1822
1823 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1824
1825 * vc/vc-svn.el (vc-svn-find-admin-dir):
1826 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1827 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1828 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1829 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1830
1831 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1834
1835 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * subr.el (read-passwd): Hide chars even when called within a context
1838 where after-change-functions is disabled (bug#15501).
1839 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1840 until we removed ourself from overriding-terminal-local-map.
1841
1842 2013-10-04 Leo Liu <sdl.web@gmail.com>
1843
1844 * progmodes/octave.el (inferior-octave-mode):
1845 Call compilation-forget-errors.
1846
1847 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1848
1849 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1850
1851 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1852
1853 * net/secrets.el (secrets-create-collection): Add optional
1854 argument ALIAS. Use proper Label keyword. Append ALIAS as
1855 dbus-call-method argument. (Bug#15516)
1856
1857 2013-10-04 Leo Liu <sdl.web@gmail.com>
1858
1859 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1860 (inferior-octave-compilation-font-lock-keywords): New variables.
1861 (compilation-error-regexp-alist)
1862 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1863 (inferior-octave-mode): Use compilation-shell-minor-mode.
1864
1865 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1866
1867 * minibuffer.el (completion--replace): Be careful that `end' might be
1868 a marker.
1869
1870 2013-10-03 Daiki Ueno <ueno@gnu.org>
1871
1872 Add support for package signature checking.
1873 * emacs-lisp/package.el (url-http-file-exists-p)
1874 (epg-make-context, epg-context-set-home-directory)
1875 (epg-verify-string, epg-context-result-for)
1876 (epg-signature-status, epg-signature-to-string)
1877 (epg-check-configuration, epg-configuration)
1878 (epg-import-keys-from-file): Declare.
1879 (package-check-signature): New user option.
1880 (package-unsigned-archives): New user option.
1881 (package-desc): Add `signed' field.
1882 (package-load-descriptor): Set `signed' field if .signed file exists.
1883 (package--archive-file-exists-p): New function.
1884 (package--check-signature): New function.
1885 (package-install-from-archive): Check package signature.
1886 (package--download-one-archive): Check archive signature.
1887 (package-delete): Remove .signed file.
1888 (package-import-keyring): New command.
1889 (package-refresh-contents): Import default keyring.
1890 (package-desc-status): Add "unsigned" status.
1891 (describe-package-1, package-menu--print-info)
1892 (package-menu-mark-delete, package-menu--find-upgrades)
1893 (package-menu--status-predicate): Support "unsigned" status.
1894
1895 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1898 the new compilation scheme using the new byte-codes.
1899
1900 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1901 (byte-pophandler): New byte codes.
1902 (byte-goto-ops): Adjust accordingly.
1903 (byte-compile--use-old-handlers): New var.
1904 (byte-compile-catch): Use new byte codes depending on
1905 byte-compile--use-old-handlers.
1906 (byte-compile-condition-case--old): Rename from
1907 byte-compile-condition-case.
1908 (byte-compile-condition-case--new): New function.
1909 (byte-compile-condition-case): New function that dispatches depending
1910 on byte-compile--use-old-handlers.
1911 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1912 when we can.
1913
1914 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1915 Optimize under `condition-case' and `catch' if
1916 byte-compile--use-old-handlers is nil.
1917 (disassemble-offset): Handle new bytecodes.
1918
1919 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * subr.el (error): Use `declare'.
1922 (decode-char, encode-char): Use advertised-calling-convention instead
1923 of the docstring to discourage use of the `restriction' arg.
1924
1925 2013-10-03 Daiki Ueno <ueno@gnu.org>
1926
1927 * epg.el (epg-verify-file): Add a comment saying that it does not
1928 notify verification error as a return value nor a signal.
1929 (epg-verify-string): Ditto.
1930
1931 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1932
1933 * progmodes/compile.el (compilation-start): Try globbing the arg to
1934 `cd' (bug#15417).
1935
1936 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1937
1938 Sync with Tramp 2.2.8.
1939
1940 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1941 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1942 * net/trampver.el: Update release number.
1943
1944 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1945
1946 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1947 and default-process-coding-system for darwin only.
1948
1949 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1952
1953 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1954
1955 * vc/vc-git.el (vc-git-grep): Disable pager.
1956
1957 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1958
1959 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1960 Use :url instead of :homepage, as per
1961 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1962
1963 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1964 non-nil, use `syntax-ppss' (Bug#15251).
1965
1966 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1967
1968 * progmodes/octave.el (inferior-octave-startup-file):
1969 Prefer ~/.emacs.d/init_octave.m.
1970
1971 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1972
1973 * emacs-lisp/package.el (package-desc-from-define):
1974 Accept additional arguments as plist, convert them to an alist and store
1975 them in the `extras' slot.
1976 (package-generate-description-file): Convert extras alist back to
1977 plist and append to the `define-package' form arguments.
1978 (package--alist-to-plist): New function.
1979 (package--ac-desc): Add `extras' slot.
1980 (package--add-to-archive-contents): Check if the archive-contents
1981 vector is long enough, and if it is, pass its `extras' slot value
1982 to `package-desc-create'.
1983 (package-buffer-info): Call `lm-homepage', pass the returned value
1984 to `package-desc-from-define'.
1985 (describe-package-1): Render the homepage button (Bug#13291).
1986
1987 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1988 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1989
1990 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1991
1992 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1993 and default-process-coding-system to utf-8-unix (Bug#15402).
1994
1995 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1996
1997 * subr.el (looking-back): Do not recommend using looking-back.
1998
1999 2013-09-28 Alan Mackenzie <acm@muc.de>
2000
2001 Fix indentation/fontification of Java enum with "implements".
2002
2003 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2004 regexp which matches "implements", etc., in Java.
2005 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2006 specifier clauses coming after "enum".
2007 * progmodes/cc-fonts.el (c-font-lock-declarations)
2008 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2009 after "enum".
2010
2011 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2012
2013 * faces.el (region): Change ns_selection_color to
2014 ns_selection_fg_color, add ns_selection_bg_color.
2015
2016 2013-09-28 Leo Liu <sdl.web@gmail.com>
2017
2018 * progmodes/octave.el (inferior-octave-completion-table)
2019 (inferior-octave-completion-at-point): Minor tweaks.
2020
2021 * textmodes/ispell.el (ispell-lookup-words): Rename from
2022 lookup-words. (Bug#15460)
2023 (lookup-words): Obsolete.
2024 (ispell-complete-word, ispell-command-loop): All uses changed.
2025
2026 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2027
2028 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2029 (octave-mode-menu): Add octave-send-buffer.
2030 (octave-send-buffer): New function.
2031
2032 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2033
2034 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2035 octave-lookfor.
2036 (octave-mode-menu): Add octave-lookfor.
2037 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2038 octave-lookfor.
2039 (octave-lookfor): New function.
2040
2041 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * emacs-lisp/cl-macs.el:
2044 (cl--loop-destr-temps): Remove.
2045 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2046 its convention.
2047 (cl--loop-set-iterator-function): New function.
2048 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2049 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2050 Bind `it' with `let' instead of substituting it with `cl-subst'.
2051 (cl--unused-var-p): New function.
2052 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2053 Eliminate some unused variable warnings (bug#15326).
2054
2055 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2056
2057 * doc-view.el (doc-view-scale-reset): Rename from
2058 `doc-view-reset-zoom-level'.
2059 (doc-view-scale-adjust): New command.
2060 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2061 `doc-view-scale-adjust'.
2062
2063 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2064
2065 * doc-view.el (doc-view-reset-zoom-level): New command.
2066 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2067 zoom commands (bug#15466).
2068
2069 2013-09-26 Kenichi Handa <handa@gnu.org>
2070
2071 * international/quail.el (quail-help): Make it not a command.
2072
2073 2013-09-26 Leo Liu <sdl.web@gmail.com>
2074
2075 * minibuffer.el (completion-all-sorted-completions): Make args
2076 optional as they are.
2077
2078 2013-09-25 Daniel Colascione <dancol@dancol.org>
2079
2080 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2081 specs are and that they're not evaluated.
2082
2083 2013-09-24 Sam Steingold <sds@gnu.org>
2084
2085 * midnight.el (clean-buffer-list-kill-regexps)
2086 (clean-buffer-list-kill-buffer-names): Update for the new Man
2087 buffer naming which includes the object name.
2088
2089 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2092 (eshell-parse-command, eshell-parse-pipeline): Use it since
2093 eshell-separate-commands requires a dynamic scoped var.
2094 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2095
2096 2013-09-23 Leo Liu <sdl.web@gmail.com>
2097
2098 * autoinsert.el (auto-insert-alist): Make the value of
2099 lexical-binding match its file setting.
2100
2101 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2102
2103 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2104
2105 * autoarg.el (autoarg-kp-digit-argument):
2106 * electric.el (Electric-command-loop):
2107 * kmacro.el (kmacro-step-edit-insert):
2108 Do not set universal-argument-num-events.
2109
2110 2013-09-22 Leo Liu <sdl.web@gmail.com>
2111
2112 * files.el (interpreter-mode-alist): Add octave.
2113
2114 2013-09-21 Alan Mackenzie <acm@muc.de>
2115
2116 C++: fontify identifier in declaration following "public:" correctly.
2117 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2118 to match "public", etc.
2119 (c-decl-prefix-re): Add ":" into the C++ value.
2120 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2121 bit. Add a check for a ":" preceded by "public", etc.
2122
2123 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2124
2125 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2126 recognized by GDB 7.5 and later.
2127
2128 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2129
2130 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2131
2132 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * subr.el (internal--call-interactively): New const.
2135 (called-interactively-p): Use it (bug#3984).
2136
2137 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2138
2139 * vc/pcvs.el (cvs-mode-ignore):
2140 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2141 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2142
2143 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2146 (eshell-ls-orig-insert-directory): Remove.
2147 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2148 (eshell-ls-use-in-dired): Use advice-add/remove.
2149 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2150 Add `orig-fun' arg for use in :around advice.
2151 Make it check (redundantly) eshell-ls-use-in-dired.
2152
2153 2013-09-19 Glenn Morris <rgm@gnu.org>
2154
2155 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2156
2157 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2158
2159 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2160
2161 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2162
2163 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2164 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2165 (tramp-get-remote-python): New defuns.
2166 (tramp-get-remote-uid-with-perl)
2167 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2168 contributed by yary <not.com@gmail.com> (tiny change).
2169 (tramp-get-remote-uid-with-python)
2170 (tramp-get-remote-gid-with-python): New defuns. Python code
2171 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2172 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2173
2174 2013-09-19 Glenn Morris <rgm@gnu.org>
2175
2176 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2177
2178 * eshell/em-unix.el (eshell-remove-entries):
2179 Rename argument to avoid name-clash with global `top-level'.
2180
2181 * eshell/esh-proc.el (eshell-kill-process-function):
2182 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2183 (eshell-reset-after-proc): Remove unused arg `proc'.
2184
2185 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2186 (directory-files-and-attributes): Mark unused arg.
2187
2188 * eshell/em-unix.el (eshell-remove-entries):
2189 Remove unused arg `path'. Update callers.
2190
2191 * eshell/em-hist.el (eshell-hist-parse-arguments):
2192 Remove unused arg `silent'. Update callers.
2193
2194 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2195 Fix (f)boundp mix-up.
2196
2197 * eshell/em-smart.el (eshell-smart-scroll-window)
2198 (eshell-disable-after-change):
2199 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2200
2201 2013-09-18 Alan Mackenzie <acm@muc.de>
2202
2203 Fix fontification of type when followed by "const".
2204 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2205 "known" types from fontification.
2206
2207 2013-09-18 Glenn Morris <rgm@gnu.org>
2208
2209 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2210 (chart-face-list): Drop Emacsen without display-color-p.
2211
2212 * net/eww.el (libxml-parse-html-region): Declare.
2213 (eww-display-html): Explicit error if no libxml2 support.
2214
2215 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2216
2217 * image.el (image-type-from-buffer, image-multi-frame-p):
2218 Remove --without-x warning/error.
2219
2220 * mouse.el (mouse-yank-primary):
2221 * term.el (term-mouse-paste):
2222 Reorder to silence --without-x compilation.
2223
2224 * mpc.el (doc-view-mode): Silence --without-x compilation.
2225
2226 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2227 Silence --without-x compilation.
2228
2229 * progmodes/gud.el (gud-find-file, gud-mode):
2230 Silence --without-x compilation.
2231 (tooltip-mode): Declare.
2232
2233 * wdired.el (dired-backup-overwrite): Remove declaration.
2234 (wdired-mode-map): Add doc string.
2235
2236 * custom.el (x-get-resource): Declare.
2237
2238 * eshell/em-glob.el (ange-cache):
2239 * eshell/em-unix.el (ange-cache): Declare.
2240
2241 * faces.el (x-display-list, x-open-connection, x-get-resource):
2242 Declare.
2243
2244 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2245 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2246 Declare.
2247
2248 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2249
2250 * net/gnutls.el (gnutls-log-level): Declare.
2251
2252 * net/shr.el (image-size, image-animate): Declare.
2253
2254 * simple.el (font-info): Declare.
2255
2256 * subr.el (x-popup-dialog): Declare.
2257
2258 * term/common-win.el (x-select-enable-primary)
2259 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2260 Declare.
2261
2262 * term/ns-win.el (x-handle-args): Declare.
2263
2264 * term/x-win.el (x-select-enable-clipboard): Declare.
2265
2266 * term/w32-win.el (create-default-fontset): Declare.
2267
2268 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2269 Declare.
2270
2271 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2272 (fit-frame-to-buffer): Explicit error if --without-x.
2273 (mouse-autoselect-window-select): Silence compiler.
2274
2275 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2276
2277 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2278 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2279 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2280 * eshell/esh-util.el (eshell-sublist):
2281 Remove unused local variables.
2282
2283 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2284
2285 * textmodes/two-column.el: Make 2C-split work for --without-x.
2286 (scroll-bar-columns): Autoload.
2287 (top-level): Require fringe when compiling.
2288
2289 2013-09-18 Leo Liu <sdl.web@gmail.com>
2290
2291 * subr.el (add-hook): Robustify to handle closure as well.
2292
2293 2013-09-17 Glenn Morris <rgm@gnu.org>
2294
2295 * simple.el (messages-buffer-mode-map): Unbind "g".
2296
2297 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * help-mode.el (help-mode-finish): Use derived-mode-p.
2300 Remove obsolete highlighting.
2301
2302 * play/life.el (life-mode): Use define-derived-mode. Derive from
2303 special-mode.
2304 (life): Let-bind inhibit-read-only.
2305 (life-setup): Avoid `setq'. Use `life-mode'.
2306
2307 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2308 which should not be needed any more.
2309 (package-menu-refresh, package-menu-describe-package): Use user-error.
2310
2311 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2312 (eshell-post-rewrite-command-hook): Make obsolete.
2313 (eshell-parse-command): Simplify.
2314 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2315 (eshell--cmd): Declare.
2316 (eshell-parse-pipeline): Remove unused var `final-p'.
2317 Pass a dynvar to eshell-post-rewrite-command-hook.
2318 Implement the new eshell-post-rewrite-command-function.
2319 (eshell-invoke-directly): Remove unused arg `input'.
2320 * eshell/esh-io.el (eshell-io-initialize):
2321 Use eshell-post-rewrite-command-function (bug#15399).
2322 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2323 adjust to new calling convention.
2324 (eshell-create-handles): Rename args to avoid clashing with dynvar
2325 `standard-output'.
2326
2327 2013-09-17 Glenn Morris <rgm@gnu.org>
2328
2329 * simple.el (messages-buffer-mode): New major mode.
2330 (messages-buffer): New function.
2331 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2332 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2333 (ert-run-test): Use `messages-buffer' function.
2334 (ert--force-message-log-buffer-truncation): Ignore read-only.
2335 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2336 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2337
2338 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2341
2342 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2343
2344 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2345
2346 * icomplete.el (icomplete-in-buffer): New var.
2347 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2348 vars and replace them with functions.
2349 (icomplete-minibuffer-setup): Adjust accordingly.
2350 (icomplete--completion-table, icomplete--completion-predicate)
2351 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2352 New functions.
2353 (icomplete-forward-completions, icomplete-backward-completions)
2354 (icomplete-simple-completing-p, icomplete-exhibit)
2355 (icomplete-completions): Use them.
2356 (icomplete--in-region-buffer): New var.
2357 (icomplete--in-region-setup): New function.
2358 (icomplete-mode): Use it.
2359
2360 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2361 (bug#15379).
2362 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2363 return args and options.
2364 (eshell-eval-using-options): Use the new return value of
2365 eshell--do-opts to set the options's vars in their scope.
2366 (eshell--set-option): Rename from eshell-set-option.
2367 Add arg `opt-vals'.
2368 (eshell--process-option): Rename from eshell-process-option.
2369 Add arg `opt-vals'.
2370 (eshell--process-args): Use an `opt-vals' alist to store the options's
2371 values during their processing and return them additionally to the
2372 remaining args.
2373
2374 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2375
2376 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2377 continuation character an operator, as far as indentation is
2378 concerned (Bug#15369).
2379
2380 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2381
2382 * window.el (window--state-put-2): Don't process buffer state
2383 when buffer doesn't exist any more (Bug#15382).
2384
2385 2013-09-15 Glenn Morris <rgm@gnu.org>
2386
2387 * eshell/em-unix.el (eshell/rm):
2388 Make -f ignore missing files. (Bug#15373)
2389
2390 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2391 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2392 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2393
2394 2013-09-14 Glenn Morris <rgm@gnu.org>
2395
2396 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2397
2398 2013-09-13 Glenn Morris <rgm@gnu.org>
2399
2400 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2401 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2402
2403 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2404
2405 * frame.el (x-focus-frame): Mark as declared in frame.c.
2406
2407 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 * ls-lisp.el: Use advice-add.
2410 (original-insert-directory): Remove.
2411 (ls-lisp--insert-directory): Rename from insert-directory; add
2412 `orig-fun' argument.
2413 (insert-directory): Advise.
2414
2415 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2416
2417 * term.el (term-emulate-terminal): Decode the command string
2418 before passing it to term-command-hook. (Bug#15337)
2419
2420 2013-09-13 Glenn Morris <rgm@gnu.org>
2421
2422 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2423
2424 * eshell/esh-ext.el (eshell-search-path): Declare.
2425
2426 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2427 Otherwise an error occurs if eshell-dirs module not loaded.
2428
2429 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2430
2431 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2432
2433 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2434 `tramp-check-proper-host'. Check for a valid method name.
2435
2436 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2437 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2438 * net/tramp-sh.el (tramp-maybe-open-connection):
2439 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2440
2441 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2442 also for hash values.
2443
2444 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * term/ns-win.el (parameters): Don't declare as dynamic.
2447 (before-make-frame-hook): Don't add ineffective function.
2448
2449 * eshell/*.el: Use lexical-binding (bug#15231).
2450
2451 2013-09-12 Kenichi Handa <handa@gnu.org>
2452
2453 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2454
2455 2013-09-12 Glenn Morris <rgm@gnu.org>
2456
2457 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2458 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2459
2460 * subr.el (do-after-load-evaluation): Also give compiler warnings
2461 when obsolete files are used (except by obsolete files).
2462
2463 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2464 in the status output, assume `filename' is the first. (Bug#15322)
2465
2466 * vc/vc.el (vc-deduce-fileset): Doc fix.
2467
2468 * calc/calc-help.el (Info-goto-node):
2469 * progmodes/cperl-mode.el (Info-find-node):
2470 * vc/ediff.el (Info-goto-node): Update declarations.
2471
2472 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2473
2474 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2475 (vc-bzr-pull): Require vc-dispatcher.
2476 * vc/vc-git.el (vc-compilation-mode): Declare.
2477 (vc-git-pull): Require vc-dispatcher.
2478
2479 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2480
2481 * progmodes/octave.el (help-button-action): Declare.
2482
2483 * shell.el (shell-directory-tracker): Output error as a message
2484 rather than just returning it as a string.
2485 (shell-process-pushd): Remove useless use of message.
2486
2487 * dframe.el (dframe-timer-fn):
2488 * files.el (dir-locals-read-from-file):
2489 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2490 (mpc-format):
2491 * reveal.el (reveal-post-command):
2492 * saveplace.el (load-save-place-alist-from-file):
2493 * shell.el (shell-resync-dirs):
2494 * w32-common-fns.el (x-get-selection-value):
2495 * emacs-lisp/copyright.el (copyright-find-copyright):
2496 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2497 * emulation/tpu-edt.el (tpu-copy-keyfile):
2498 * play/bubbles.el (bubbles--mark-neighbourhood):
2499 * progmodes/executable.el
2500 (executable-make-buffer-file-executable-if-script-p):
2501 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2502
2503 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 Cleanup Eshell to rely less on dynamic scoping.
2506 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2507 last-value, and ext-command here. Bind `args' closer to `body'.
2508 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2509 (eshell--args): Declare new dynamic var.
2510 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2511 last-value, and ext-command. Pass `args' to `body'.
2512 (eshell-process-args): Bind eshell--args.
2513 (eshell-set-option): Use eshell--args.
2514 * eshell/eshell.el (eshell): Use derived-mode-p.
2515 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2516 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2517 (eshell-glob-function): Declare.
2518 * eshell/esh-util.el: Require cl-lib.
2519 (eshell-read-hosts-file): Avoid add-to-list.
2520 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2521 `err'.
2522 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2523 Declare.
2524 (eshell/diff): Remove unused var `err'.
2525 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2526 `killflag'.
2527 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2528 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2529 first use.
2530 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2531 Move declaration before first use.
2532 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2533 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2534 rely on cl-return.
2535
2536 2013-09-12 Glenn Morris <rgm@gnu.org>
2537
2538 * term/ns-win.el (global-map): Remove binding for ispell-next,
2539 deleted 1999-05-29. (Bug#15357)
2540
2541 2013-09-11 Glenn Morris <rgm@gnu.org>
2542
2543 * echistory.el (electric-command-history): Remove call to deleted func.
2544
2545 * play/landmark.el (landmark-mode): Fix typos.
2546
2547 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2548 Check cvs-sort-ignore-file is bound.
2549
2550 * savehist.el: No need for cl when compiling on Emacs.
2551
2552 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2555 (bug#15338).
2556 (eshell-self-insert-command, eshell-send-invisible):
2557 Remove unused argument.
2558 (eshell-handle-control-codes): Remove unused var `orig'.
2559 Avoid delete-backward-char.
2560
2561 * files.el (set-auto-mode): Simplify a bit further.
2562
2563 2013-09-11 Glenn Morris <rgm@gnu.org>
2564
2565 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2566 (set-auto-mode): Don't regexp-quote elements.
2567 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2568 * progmodes/cc-mode.el (interpreter-mode-alist):
2569 * progmodes/ruby-mode.el (interpreter-mode-alist):
2570 Revert previous change.
2571
2572 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * play/snake.el (snake-mode):
2575 * play/mpuz.el (mpuz-mode):
2576 * play/landmark.el (lm-mode):
2577 * play/blackbox.el (blackbox-mode):
2578 * play/5x5.el (5x5-mode):
2579 * obsolete/options.el (Edit-options-mode):
2580 * net/quickurl.el (quickurl-list-mode):
2581 * net/newst-treeview.el (newsticker-treeview-mode):
2582 * mail/rmailsum.el (rmail-summary-mode):
2583 * mail/mspools.el (mspools-mode):
2584 * locate.el (locate-mode):
2585 * ibuffer.el (ibuffer-mode):
2586 * emulation/ws-mode.el (wordstar-mode):
2587 * emacs-lisp/debug.el (debugger-mode):
2588 * array.el (array-mode):
2589 * net/eudc.el (eudc-mode): Use define-derived-mode.
2590 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2591 Move initialization into declaration.
2592 (mairix-searches-mode): Use define-derived-mode.
2593 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2594 (eudc-edit-hotlist): Use dolist.
2595 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2596 (Man-mode): Use define-derived-mode.
2597 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2598 (Info-edit-mode): Use define-derived-mode.
2599 (Info-cease-edit): Use Info-mode.
2600 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2601 into declaration.
2602 (eshell-mode): Use define-derived-mode.
2603 * chistory.el (command-history-mode-map): Rename from
2604 command-history-map.
2605 (command-history-mode): Use define-derived-mode.
2606 (Command-history-setup): Remove function.
2607 * calc/calc.el (calc-trail-mode-map): New var.
2608 (calc-trail-mode): Use define-derived-mode.
2609 (calc-trail-buffer): Set calc-main-buffer manually.
2610 * bookmark.el (bookmark-insert-annotation): New function.
2611 (bookmark-edit-annotation): Use it.
2612 (bookmark-edit-annotation-mode): Make it a proper major mode.
2613 (bookmark-send-edited-annotation): Use derived-mode-p.
2614 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2615 closer to its ideal place. Use \' to match EOS.
2616
2617 * profiler.el (profiler-calltree-find): Use function-equal.
2618
2619 2013-09-10 Glenn Morris <rgm@gnu.org>
2620
2621 * files.el (interpreter-mode-alist): Convert to regexps.
2622 (set-auto-mode): Adapt for this. (Bug#15306)
2623 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2624 Comment out unused variable.
2625 * progmodes/cc-mode.el (interpreter-mode-alist):
2626 * progmodes/python.el (interpreter-mode-alist):
2627 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2628 * progmodes/sh-script.el (sh-set-shell):
2629 No longer use interpreter-mode-alist to get list of shells.
2630
2631 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2632
2633 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * simple.el: Use set-temporary-overlay-map for universal-argument.
2636 (universal-argument-map): Don't use default-bindings (bug#15317).
2637 Bind switch-frame explicitly. Replace universal-argument-minus with
2638 a conditional binding.
2639 (universal-argument-num-events, saved-overriding-map): Remove.
2640 (restore-overriding-map): Remove.
2641 (universal-argument--mode): Rename from save&set-overriding-map,
2642 and rewrite.
2643 (universal-argument, universal-argument-more, negative-argument)
2644 (digit-argument): Adjust accordingly.
2645 (universal-argument-minus): Remove.
2646 (universal-argument-other-key): Remove.
2647
2648 * subr.el (with-demoted-errors): Add `format' argument.
2649
2650 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2651
2652 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2653 `tramp-cleanup-connection'.
2654
2655 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2656 parameters KEEP-DEBUG and KEEP-PASSWORD.
2657
2658 * net/tramp.el (tramp-file-name-handler):
2659 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2660 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2661 (tramp-maybe-open-connection):
2662 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2663 Use `tramp-cleanup-connection'.
2664
2665 * net/tramp-sh.el (tramp-maybe-open-connection):
2666 Catch 'uname-changed inside the progress reporter.
2667
2668 2013-09-10 Glenn Morris <rgm@gnu.org>
2669
2670 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2671
2672 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2673 returns "alternate access method" in mode (eg "-rw-r--r--.").
2674
2675 2013-09-08 Glenn Morris <rgm@gnu.org>
2676
2677 * saveplace.el (load-save-place-alist-from-file):
2678 Demote errors. (Bug#15305)
2679
2680 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2681
2682 Improve compatibility with older Emacsen, and XEmacs.
2683
2684 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2685 only if it is bound. It isn't for XEmacs.
2686 (with-tramp-progress-reporter): Do not let-bind `result'.
2687 This yields to scoping errors in XEmacs.
2688 (tramp-handle-make-auto-save-file-name): New function, moved from
2689 tramp-sh.el.
2690
2691 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2692 for `make-auto-save-file-name'.
2693 (tramp-adb--gnu-switches-to-ash):
2694 Use `tramp-compat-replace-regexp-in-string'.
2695
2696 * net/tramp-cache.el (tramp-cache-print): Call
2697 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2698
2699 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2700 bound. It isn't for XEmacs.
2701
2702 * net/tramp-compat.el (tramp-compat-copy-file):
2703 Catch `wrong-number-of-arguments' error.
2704 (tramp-compat-replace-regexp-in-string): New defun.
2705
2706 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2707 for `make-auto-save-file-name'.
2708 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2709 `copy-file'.
2710 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2711 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2712 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2713
2714 * net/tramp-gw.el (tramp-gw-open-network-stream):
2715 Use `tramp-compat-replace-regexp-in-string'.
2716
2717 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2718 Call `tramp-handle-make-auto-save-file-name'.
2719 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2720 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2721 (tramp-sh-file-inotifywait-process-filter):
2722 Use `tramp-compat-replace-regexp-in-string'.
2723 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2724
2725 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2726 for `make-auto-save-file-name'.
2727 (tramp-smb-handle-copy-directory):
2728 Call `tramp-compat-replace-regexp-in-string'.
2729 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2730 (tramp-smb-handle-copy-file): Improve error message.
2731 (tramp-smb-handle-rename-file): Rename directly only in case
2732 `newname' does not exist yet. This is a restriction of smbclient.
2733 (tramp-smb-maybe-open-connection): Rerun the function only when
2734 `auth-sources' is non-nil.
2735
2736 2013-09-08 Kenichi Handa <handa@gnu.org>
2737
2738 * international/characters.el: Set category "^" (Combining) for
2739 more characters.
2740
2741 2013-09-07 Alan Mackenzie <acm@muc.de>
2742
2743 Correctly fontify Java class constructors.
2744 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2745 in Java Mode.
2746 (c-recognize-typeless-decls): Set the Java value to t.
2747 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2748 While handling a "(", add a check for, effectively, Java, and handle a
2749 "typeless" declaration there.
2750
2751 2013-09-07 Roland Winkler <winkler@gnu.org>
2752
2753 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2754 field subtitle for entry type book.
2755
2756 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * minibuffer.el: Make minibuffer-complete call completion-in-region
2759 rather than other way around.
2760 (completion--some, completion-pcm--find-all-completions):
2761 Don't delay signals when debugging.
2762 (minibuffer-completion-contents): Beware fields within the
2763 minibuffer contents.
2764 (completion-all-sorted-completions): Use defvar-local.
2765 (completion--do-completion, completion--cache-all-sorted-completions)
2766 (completion-all-sorted-completions, minibuffer-force-complete):
2767 Add args `beg' and `end'.
2768 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2769 (minibuffer-complete): Use completion-in-region.
2770 (completion-complete-and-exit): New fun, extracted from
2771 minibuffer-complete-and-exit.
2772 (minibuffer-complete-and-exit): Use it.
2773 (completion--complete-and-exit): Rename from
2774 minibuffer--complete-and-exit.
2775 (completion-in-region--single-word): New function, extracted from
2776 minibuffer-complete-word.
2777 (minibuffer-complete-word): Use it.
2778 (display-completion-list): Make `common-substring' argument obsolete.
2779 (completion--in-region): Call completion--in-region-1 instead of
2780 minibuffer-complete.
2781 (completion-help-at-point): Pass boundaries to
2782 minibuffer-completion-help as args rather than via an overlay.
2783 (completion-pcm--string->pattern): Use `any-delim'.
2784 (completion-pcm--optimize-pattern): New function.
2785 (completion-pcm--pattern->regex): Handle `any-delim'.
2786 * icomplete.el (icomplete-forward-completions)
2787 (icomplete-backward-completions, icomplete-completions):
2788 Adjust calls to completion-all-sorted-completions and
2789 completion--cache-all-sorted-completions.
2790 (icomplete-with-completion-tables): Default to t.
2791 * emacs-lisp/crm.el (crm--current-element): Rename from
2792 crm--select-current-element. Don't put an overlay but return the
2793 boundaries instead.
2794 (crm--completion-command): Take two new args to bind to the boundaries.
2795 (crm-completion-help): Adjust accordingly.
2796 (crm-complete): Use completion-in-region.
2797 (crm-complete-word): Use completion-in-region--single-word.
2798 (crm-complete-and-exit): Use completion-complete-and-exit.
2799
2800 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2801
2802 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2803 than dynamically.
2804
2805 2013-09-06 Juri Linkov <juri@jurta.org>
2806
2807 * info.el (Info-display-images-node): When image file doesn't exist
2808 display text version of the image if it's provided in the Info file.
2809 Otherwise, display the location of missing image from SRC attribute.
2810 Add help-echo text property from ALT attribute. (Bug#15279)
2811
2812 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2815 (edit-abbrevs-mode): Use define-derived-mode.
2816
2817 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2818 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2819 that it's defined.
2820 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2821 Use define-derived-mode.
2822
2823 * epg.el (epg-start-encrypt): Minor CSE simplification.
2824
2825 2013-09-06 William Xu <william.xwl@gmail.com>
2826
2827 * arc-mode.el: Add support for 7za (bug#15264).
2828 (archive-7z-program): New var.
2829 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2830 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2831 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2832
2833 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2834
2835 Remove URL syntax.
2836
2837 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2838 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2839 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2840 (tramp-postfix-host-format, tramp-file-name-regexp)
2841 (tramp-completion-file-name-regexp)
2842 (tramp-completion-dissect-file-name)
2843 (tramp-handle-substitute-in-file-name): Remove 'url case.
2844 (tramp-file-name-regexp-url)
2845 (tramp-completion-file-name-regexp-url): Remove constants.
2846
2847 2013-09-06 Glenn Morris <rgm@gnu.org>
2848
2849 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2850
2851 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2852
2853 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2854 keywords" below "here-doc beginnings" (Bug#15270).
2855
2856 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * subr.el (pop): Use `car-safe'.
2859 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2860 to detect unused `pop' return value.
2861
2862 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2863 var `block-regexp'.
2864 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2865 (python-fill-string): Remove unused var `marker'.
2866 (python-skeleton-add-menu-items): Remove unused var `items'.
2867
2868 * international/mule-cmds.el: Require CL.
2869 (find-coding-systems-for-charsets): Avoid add-to-list.
2870 (sanitize-coding-system-list): New function, extracted from
2871 select-safe-coding-system-interactively.
2872 (select-safe-coding-system-interactively): Use it.
2873 (read-input-method-name): Accept symbols for `default'.
2874
2875 * emacs-lisp/advice.el (defadvice): Add indent rule.
2876
2877 2013-09-05 Daniel Hackney <dan@haxney.org>
2878
2879 * dired-x.el:
2880 * net/ange-ftp.el:
2881 * net/browse-url.el:
2882 * net/dbus.el:
2883 * net/eudc.el:
2884 * net/eudcb-ldap.el:
2885 * net/eww.el:
2886 * net/imap.el:
2887 * printing.el:
2888 * vc/ediff-diff.el:
2889 * vc/ediff-init.el:
2890 * vc/ediff-merg.el:
2891 * vc/ediff-mult.el:
2892 * vc/ediff-util.el:
2893 * vc/ediff-wind.el:
2894 * vc/ediff.el:
2895 * vc/emerge.el:
2896 * vc/pcvs.el:
2897 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2898 byte compiler. Remove some unused let-bound variables.
2899
2900 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2903 a "ref-cell", since it gets better optimized (bug#14883).
2904
2905 2013-09-05 Glenn Morris <rgm@gnu.org>
2906
2907 * progmodes/cc-awk.el (c-forward-sws): Declare.
2908
2909 2013-09-04 Glenn Morris <rgm@gnu.org>
2910
2911 * generic-x.el [rul-generic-mode]: Require cc-mode.
2912 (c++-mode-syntax-table): Declare.
2913 (rul-generic-mode-syntax-table): Init in the defvar.
2914
2915 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2918 (vc-do-command, vc-set-async-update):
2919 * vc/vc-mtn.el (vc-mtn-dir-status):
2920 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2921 (vc-hg-pull, vc-hg-merge-branch):
2922 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2923 (vc-git-merge-branch):
2924 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2925 (vc-cvs-dir-status-files):
2926 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2927 (vc-bzr-dir-status-files):
2928 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2929 * vc/vc-annotate.el: Use lexical-binding.
2930 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2931 (vc-sentinel-movepoint): Declare.
2932 (vc-annotate): Don't use `goto-line'.
2933 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2934 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2935 (vc-sentinel-movepoint): Declare.
2936 * vc/vc-svn.el: Use lexical-binding.
2937 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2938 * vc/vc-sccs.el:
2939 * vc/vc-rcs.el: Use lexical-binding.
2940
2941 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2942 `deleted'. Don't drop errors silently.
2943
2944 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2945
2946 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2947
2948 * vc/vc.el (vc-ignore): Rewrite.
2949 (vc-default-ignore): New function.
2950 (vc-default-ignore-completion-table): Use find-ignore-file.
2951
2952 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2953 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2954 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2955 Remove. Most code moved to vc.el.
2956
2957 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2960 * net/tramp-smb.el (tramp-smb-get-file-entries):
2961 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2962 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2963
2964 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2965 Update call to it.
2966 (eww-change-select): Remove unused var `properties'.
2967 (eww-make-unique-file-name): Remove unused var `base'.
2968
2969 * finder.el (finder-compile-keywords): Don't mess with windows.
2970
2971 * calculator.el (calculator-funcall): Fix typo in last change.
2972
2973 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2974
2975 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2976 <pkg>-autoloads.el file stop us.
2977
2978 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2979 warnings, and factor out common code.
2980
2981 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2982
2983 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2984 two-character operators and whether the character preceding them
2985 changes their meaning (Bug#15208).
2986
2987 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2988
2989 Format code sent to Python shell for robustness.
2990 * progmodes/python.el (python-shell-buffer-substring):
2991 New function.
2992 (python-shell-send-region, python-shell-send-buffer): Use it.
2993
2994 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2997 * net/tramp.el (tramp-user-error): ... here.
2998 (tramp-find-method, tramp-check-proper-host)
2999 (tramp-dissect-file-name, tramp-debug-message)
3000 (tramp-handle-shell-command):
3001 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3002 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3003
3004 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3005
3006 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3007
3008 * avoid.el (mouse-avoidance-point-position)
3009 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3010 returns nil.
3011
3012 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3013
3014 * progmodes/python.el (python-shell-completion-get-completions):
3015 Drop use of deleted `comint-last-prompt-overlay'.
3016 (python-nav-if-name-main): New command.
3017
3018 2013-09-01 Glenn Morris <rgm@gnu.org>
3019
3020 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3021 Avoid leading space in $wins. Otherwise the sed command used by
3022 eg compile-main ends up containing "/*.el". (Bug#15170)
3023
3024 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3025
3026 2013-08-30 Glenn Morris <rgm@gnu.org>
3027
3028 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3029 Fix is-this-a-directory logic. (Bug#15220)
3030
3031 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * textmodes/css-mode.el: Use SMIE.
3034 (css-smie-grammar): New var.
3035 (css-smie--forward-token, css-smie--backward-token)
3036 (css-smie-rules): New functions.
3037 (css-mode): Use them.
3038 (css-navigation-syntax-table): Remove var.
3039 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3040 (css-indent-calculate, css-indent-line): Remove functions.
3041
3042 Misc changes to reduce use of `(lambda...); and other cleanups.
3043 * cus-edit.el: Use lexical-binding.
3044 (customize-push-and-save, customize-apropos)
3045 (custom-buffer-create-internal): Use closures.
3046 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3047 * progmodes/ada-xref.el: Use setq.
3048 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3049 * dframe.el: Use lexical-binding.
3050 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3051 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3052 * descr-text.el: Use lexical-binding.
3053 (describe-text-widget, describe-text-sexp, describe-property-list):
3054 Use closures.
3055 * comint.el (comint-history-isearch-push-state): Use a closure.
3056 * calculator.el: Use lexical-binding.
3057 (calculator-number-to-string): Make it work with lexical-binding.
3058 (calculator-funcall): Same and use cl-letf.
3059
3060 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3061 (lisp--company-doc-string, lisp--company-location): New functions.
3062 (lisp-completion-at-point): Use them to improve Company support.
3063
3064 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3065 params of lambda expressions.
3066 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3067 (ruby-smie--opening-pipe-p): New function.
3068 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3069 symbols and matched |...| for formal params.
3070 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3071 from being treated as hanging. Handle "rescue".
3072
3073 2013-08-29 Glenn Morris <rgm@gnu.org>
3074
3075 * progmodes/cc-engine.el (c-pull-open-brace):
3076 Move definition before use.
3077
3078 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3081 are immutable. Don't use `unsafe' any more.
3082 (cl--defsubst-expand): Don't substitute at the same time as keeping
3083 a residual unused let-binding. Don't use `unsafe' any more.
3084
3085 2013-08-29 Glenn Morris <rgm@gnu.org>
3086
3087 * calendar/cal-china.el (calendar-chinese-year-cache):
3088 Recenter on 2015.
3089
3090 * nxml/nxml-util.el (nxml-debug-clear-inside):
3091 Use cl-loop rather than loop.
3092
3093 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3094
3095 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3096
3097 2013-08-28 Glenn Morris <rgm@gnu.org>
3098
3099 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3100
3101 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3102
3103 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3104
3105 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3106
3107 * simple.el (repeat-complex-command--called-interactively-skip):
3108 New function.
3109 (repeat-complex-command): Use it (bug#14136).
3110
3111 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3112 (c-define-abbrev-table): Add `doc' argument.
3113 (c-mode-abbrev-table, c++-mode-abbrev-table)
3114 (objc-mode-abbrev-table, java-mode-abbrev-table)
3115 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3116 (awk-mode-abbrev-table): Use it.
3117 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3118 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3119 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3120 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3121 Move initialization into the declaration; and remove any
3122 autoload cookie.
3123
3124 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3125 and dynamic let binding.
3126
3127 * vc/smerge-mode.el: Remove redundant :group args.
3128
3129 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3130 to load-path.
3131
3132 2013-08-28 Juri Linkov <juri@jurta.org>
3133
3134 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3135 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3136 (isearch-other-meta-char): Handle an undefined shifted printing
3137 character by downshifting it. (Bug#15200)
3138
3139 2013-08-28 Juri Linkov <juri@jurta.org>
3140
3141 * isearch.el (isearch-search): Change regexp error message for
3142 non-regexp searches. (Bug#15166)
3143
3144 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3145
3146 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3147 for portability to hosts where /bin/sh has problems.
3148
3149 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3152
3153 2013-08-27 Juri Linkov <juri@jurta.org>
3154
3155 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3156 in the keyboard macro. (Bug#15126)
3157
3158 2013-08-27 Juri Linkov <juri@jurta.org>
3159
3160 * isearch.el (isearch-quote-char): Comment out converting unibyte
3161 to multibyte, thus syncing with its `quoted-insert' counterpart.
3162 (Bug#15166)
3163
3164 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3165
3166 * window.el (display-buffer-use-some-window): Add missing
3167 argument in call of get-largest-window (Bug#15185).
3168 Reported by Stephen Leake.
3169
3170 2013-08-27 Glenn Morris <rgm@gnu.org>
3171
3172 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3173
3174 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3177 from a matcher-function unless there's no more matches (bug#15161).
3178
3179 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3180
3181 * minibuffer.el: Revert change from 2013-08-20.
3182
3183 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3184 with text property `tramp-default', if appropriate.
3185 (tramp-check-proper-host): New defun.
3186 (tramp-dissect-file-name): Do not check hostname. Revert change
3187 of 2013-03-18.
3188 (tramp-backtrace): Make VEC-OR-PROC optional.
3189
3190 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3191 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3192 * net/tramp-sh.el (tramp-maybe-open-connection):
3193 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3194 Apply `tramp-check-proper-host'.
3195
3196 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3197
3198 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3199 lambda expression in order to have `describe-variable' display it.
3200
3201 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3202
3203 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3204 BUF can be optional. (Bug#15186)
3205
3206 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3207
3208 * progmodes/flymake.el (flymake-get-real-file-name-function):
3209 Fix broken customization. (Bug#15184)
3210
3211 2013-08-25 Alan Mackenzie <acm@muc.de>
3212
3213 Improve indentation of bracelists defined by macros (without "=").
3214
3215 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3216 expansion begins with "{", regard it as bracelist when it doesn't
3217 contain a ";".
3218
3219 Parse C++ inher-intro when there's a template split over 2 lines.
3220
3221 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3222 rigorously the search for "class" etc. followed by ":".
3223
3224 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3225 random languages a regexp which never matches rather than nil.
3226
3227 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3228
3229 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3230 (c-awk-regexp-one-line-possibly-open-char-list-re)
3231 (c-awk-one-line-possibly-open-regexp-re)
3232 (c-awk-one-line-non-syn-ws*-re): Remove.
3233 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3234 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3235 (c-awk-space*-unclosed-regexp-/-re): New constants.
3236 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3237 aren't regexp delimiters.
3238
3239 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3240 handling for a rare situation in AWK Mode involving unterminated
3241 strings/regexps.
3242
3243 2013-08-23 Glenn Morris <rgm@gnu.org>
3244
3245 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3246
3247 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3248
3249 * files.el (create-file-buffer): If the result would begin with
3250 spaces, prepend a "|" instead of removing them. (Bug#15162)
3251
3252 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3253
3254 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3255 text-properties (bug#15155).
3256
3257 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3258 exist any more.
3259 (calc-keypad-redraw): Remove unused var `pad'.
3260 (calc-keypad-press): Remove unused var `menu'.
3261
3262 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3263
3264 * window.el (display-buffer-pop-up-frame):
3265 Call pop-up-frame-function with BUFFER current so `make-frame' will
3266 use it as the new frame's buffer (Bug#15133).
3267
3268 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * calendar/timeclock.el: Minor cleanups.
3271 (timeclock-ask-before-exiting, timeclock-use-display-time):
3272 Use `symbol'.
3273 (timeclock-modeline-display): Define as alias before the
3274 actual definition.
3275 (timeclock-mode-line-display): Use define-minor-mode.
3276 (timeclock-day-list-template): Make it a function, add an argument.
3277 (timeclock-day-list-required, timeclock-day-list-length)
3278 (timeclock-day-list-debt, timeclock-day-list-span)
3279 (timeclock-day-list-break): Adjust calls accordingly.
3280
3281 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3284 Use read--expression so that completion works again.
3285
3286 2013-08-21 Sam Steingold <sds@gnu.org>
3287
3288 Add rudimentary inferior shell interaction
3289 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3290 (sh-set-shell): Reset it.
3291 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3292 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3293
3294 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3295
3296 * align.el: Use lexical-binding.
3297 (align-region): Simplify accordingly.
3298
3299 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3300
3301 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3302
3303 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3304 `non-essential' up.
3305
3306 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3307
3308 * net/tramp.el:
3309 * net/tramp-adb.el:
3310 * net/tramp-cmds.el:
3311 * net/tramp-ftp.el:
3312 * net/tramp-gvfs.el:
3313 * net/tramp-gw.el:
3314 * net/tramp-sh.el: Don't wrap external variable declarations by
3315 `eval-when-compile'.
3316
3317 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3318
3319 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3320 now that Emacs supports ImageMagick animations.
3321
3322 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3323
3324 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3325 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3326
3327 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3328
3329 * window.el (mouse-autoselect-window-select): Do autoselect when
3330 mouse pointer is on margin.
3331
3332 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3333
3334 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3335
3336 2013-08-16 Glenn Morris <rgm@gnu.org>
3337
3338 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3339 Handle "Remote Directory" response of some clients. (Bug#15058)
3340
3341 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3342 Tweak warning. (Bug#14926)
3343
3344 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3345 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3346
3347 * image-mode.el (image-mode-map): Add menu items to reverse,
3348 increase, decrease, reset animation speed.
3349 (image--set-speed, image-increase-speed, image-decrease-speed)
3350 (image-reverse-speed, image-reset-speed): New functions.
3351 (image-mode-map): Add bindings for speed commands.
3352
3353 * image.el (image-animate-get-speed, image-animate-set-speed):
3354 New functions.
3355 (image-animate-timeout): Respect image :speed property.
3356
3357 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3360 previous line (bug#15101).
3361 (debugger-eval-expression, debugger-record-expression):
3362 Use read--expression (bug#15102).
3363
3364 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3365
3366 Remove byte compiler warnings, visible when compiling with
3367 `byte-compile-force-lexical-warnings' set to t.
3368
3369 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3370 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3371 (tramp-handle-unhandled-file-name-directory)
3372 (tramp-handle-file-notify-add-watch, tramp-action-login)
3373 (tramp-action-succeed, tramp-action-permission-denied)
3374 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3375 arguments with "_".
3376
3377 * net/tramp-adb.el (tramp-adb-parse-device-names)
3378 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3379 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3380 (tramp-adb-handle-file-truename): Remove unused arguments.
3381
3382 * net/tramp-cache.el (tramp-flush-directory-property)
3383 (tramp-flush-connection-property, tramp-list-connections)
3384 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3385
3386 * net/tramp-compat.el (tramp-compat-make-temp-file):
3387 Rename FILENAME to F.
3388
3389 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3390 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3391 (tramp-zeroconf-parse-workstation-device-names)
3392 (tramp-zeroconf-parse-webdav-device-names)
3393 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3394
3395 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3396 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3397
3398 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3399 arguments.
3400 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3401 (tramp-sh-handle-insert-file-contents-literally)
3402 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3403 with "_".
3404 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3405 Remove unused variables.
3406
3407 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3408 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3409 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3410
3411 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3412 Make them a defconst.
3413 (tramp-uuencode-region): Remove unused variable.
3414
3415 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3416
3417 * frameset.el (frameset--prop-setter): New function.
3418 (frameset-prop): Add gv-setter declaration.
3419 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3420 parameter was already set in FILTERED. Doc fix.
3421 (frameset--record-minibuffer-relationships): Allow saving a
3422 minibufferless frame without its corresponding minibuffer frame.
3423 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3424 frame, if the frame id matches.
3425 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3426 frames before orphaned ones.
3427 (frameset-restore): Warn about orphaned windows, instead of error out.
3428
3429 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3430
3431 * window.el (window-make-atom): Don't overwrite parameter
3432 already present.
3433 (display-buffer-in-atom-window): Handle special case where we
3434 split an already atomic window.
3435 (window--major-non-side-window, display-buffer-in-side-window)
3436 (window--side-check): Ignore minibuffer window when walking
3437 window tree.
3438 (window-deletable-p): Return 'frame only if no other frame uses
3439 our minibuffer window.
3440 (record-window-buffer): Run buffer-list-update-hook.
3441 (split-window): Make sure window--check-frame won't destroy an
3442 existing atomic window in case the new window gets nested
3443 inside.
3444 (display-buffer-at-bottom): Ignore minibuffer window when
3445 walking window tree. Don't split a side window.
3446 (pop-to-buffer): Don't set-buffer here, the select-window call
3447 should do that.
3448 (mouse-autoselect-window-select): Autoselect only if we are in the
3449 text portion of the window.
3450
3451 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3452
3453 * net/shr.el (shr-parse-image-data): New function to grab both the
3454 data itself and the Content-Type.
3455 (shr-put-image): Use it.
3456
3457 * net/eww.el (eww-display-image): Ditto.
3458
3459 * image.el (image-content-type-suffixes): New variable.
3460
3461 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3462
3463 * progmodes/python.el (python-imenu--build-tree)
3464 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3465
3466 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3467
3468 * simple.el (backward-word): Mention the optional argument.
3469
3470 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3471
3472 * frameset.el (frameset--make): Rename constructor from make-frameset.
3473 (frameset-p, frameset-valid-p): Don't autoload.
3474 (frameset-valid-p): Use normal accessors.
3475
3476 2013-08-13 Glenn Morris <rgm@gnu.org>
3477
3478 * progmodes/compile.el (compile-command): Tweak example in doc.
3479 * obsolete/scribe.el (scribe-mode):
3480 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3481
3482 * mail/feedmail.el (feedmail-confirm-outgoing)
3483 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3484
3485 * cus-start.el (truncate-partial-width-windows): Fix type.
3486
3487 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3488
3489 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3490
3491 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * emacs-lisp/timer.el (timer--time-setter): New function.
3494 (timer--time): Use it as gv-setter.
3495
3496 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3497 setter is not a symbol.
3498
3499 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3500
3501 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3502 if sending fails. This makes debugging easier.
3503
3504 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3505
3506 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3507 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3508 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3509
3510 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3511
3512 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3513
3514 2013-08-12 Glenn Morris <rgm@gnu.org>
3515
3516 * format.el (format-annotate-function):
3517 Handle read-only text properties in the source. (Bug#14887)
3518
3519 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3520
3521 * net/eww.el (eww-display-html): Ignore coding system errors.
3522 One web site uses "utf-8lias" as the coding system.
3523
3524 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3525
3526 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3527
3528 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3529
3530 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3531 (tutorial--detailed-help): Remove unused local variables.
3532 (tutorial--save-tutorial-to): Use ignore-errors.
3533 (help-with-tutorial): Use looking-at-p.
3534
3535 * view.el (view-buffer-other-window, view-buffer-other-frame):
3536 Mark unused arguments.
3537
3538 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3539 (woman-select-symbol-fonts, woman, woman-find-file)
3540 (woman-insert-file-contents, woman-non-underline-faces):
3541 Use string-match-p.
3542 (woman1-unquote): Move declaration.
3543
3544 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3545 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3546 argument. Remove unused local variable.
3547 (xml-parse-elem-type): Use string-match-p.
3548 (xml-substitute-numeric-entities): Use ignore-errors.
3549
3550 * calculator.el (calculator): Mark unused argument.
3551 (calculator-paste, calculator-quit, calculator-integer-p):
3552 Use ignore-errors.
3553 (calculator-string-to-number, calculator-decimal, calculator-exp)
3554 (calculator-op-or-exp): Use string-match-p.
3555
3556 * dired.el (dired-buffer-more-recently-used-p): Declare.
3557 (dired-insert-set-properties, dired-insert-old-subdirs):
3558 Use ignore-errors.
3559
3560 * dired-aux.el (dired-compress): Use ignore-errors.
3561 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3562 (dired-do-async-shell-command, dired-do-shell-command)
3563 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3564 (dired-insert-subdir-validate): Use string-match-p.
3565 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3566 (dired-add-entry): Use string-match-p, looking-at-p.
3567 (dired-insert-subdir-newpos): Remove unused local variable.
3568
3569 * filenotify.el (file-notify-callback): Remove unused local variable.
3570
3571 * filesets.el (filesets-error): Mark unused argument.
3572 (filesets-which-command-p, filesets-filter-dir-names)
3573 (filesets-directory-files, filesets-get-external-viewer)
3574 (filesets-ingroup-get-data): Use string-match-p.
3575
3576 * find-file.el (ff-other-file-name, ff-other-file-name)
3577 (ff-find-the-other-file, ff-cc-hh-converter):
3578 Remove unused local variables.
3579 (ff-get-file-name): Use string-match-p.
3580 (ff-all-dirs-under): Use ignore-errors.
3581
3582 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3583 (follow-select-if-visible): Remove unused local variable.
3584
3585 * forms.el (read-file-filter): Move declaration.
3586 (forms--make-format, forms--make-parser, forms-insert-record):
3587 Quote function with #'.
3588 (forms--update): Use string-match-p. Quote function with #'.
3589
3590 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3591 (help-make-xrefs): Use looking-at-p.
3592 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3593
3594 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3595 (ibuffer-confirm-operation-on): Use string-match-p.
3596
3597 * msb.el (msb-item-handler, msb-dired-item-handler):
3598 Mark unused arguments.
3599
3600 * ses.el (ses-decode-cell-symbol)
3601 (ses-kill-override): Remove unused local variable.
3602 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3603 (ses-load): Use ignore-errors, looking-at-p.
3604 (ses-jump-safe): Use ignore-errors.
3605 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3606
3607 * tabify.el (untabify, tabify): Mark unused arguments.
3608
3609 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3610 Mark unused argument.
3611 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3612 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3613
3614 * emacs-lisp/timer.el (timer--time): Define setter with
3615 gv-define-setter to avoid deprecation warning.
3616
3617 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3618 (*record-cmpl-statistics-p*): Remove (was commented out).
3619 (cmpl-statistics-block): Remove (body was commented out).
3620 All callers changed.
3621 (add-completions-from-buffer, load-completions-from-file):
3622 Remove unused variables.
3623
3624 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3625
3626 * filecache.el (file-cache-delete-file-list):
3627 Print message only when told so.
3628 (file-cache-files-matching): Use #' in mapconcat argument.
3629
3630 * ffap.el (ffap-url-at-point): Fix reference to variable
3631 thing-at-point-default-mail-uri-scheme.
3632
3633 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * subr.el (define-error): New function.
3636 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3637 error-file-not-found and define with define-error.
3638 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3639 and define with define-error.
3640 * userlock.el (file-locked, file-supersession):
3641 * simple.el (mark-inactive):
3642 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3643 * progmodes/ada-mode.el (ada-mode-errors):
3644 * play/life.el (life-extinct):
3645 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3646 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3647 * nxml/rng-util.el (rng-error):
3648 * nxml/rng-uri.el (rng-uri-error):
3649 * nxml/rng-match.el (rng-compile-error):
3650 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3651 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3652 * nxml/nxml-rap.el (nxml-scan-error):
3653 * nxml/nxml-outln.el (nxml-outline-error):
3654 * net/soap-client.el (soap-error):
3655 * net/gnutls.el (gnutls-error):
3656 * net/ange-ftp.el (ftp-error):
3657 * mpc.el (mpc-proc-error):
3658 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3659 (json-number-format, json-string-escape, json-string-format)
3660 (json-key-format, json-object-format):
3661 * jka-compr.el (compression-error):
3662 * international/quail.el (quail-error):
3663 * international/kkc.el (kkc-error):
3664 * emacs-lisp/ert.el (ert-test-failed):
3665 * calc/calc.el (calc-error, inexact-result, math-overflow)
3666 (math-underflow):
3667 * bookmark.el (bookmark-error-no-filename):
3668 * epg.el (epg-error): Define with define-error.
3669
3670 * time.el (display-time-event-handler)
3671 (display-time-next-load-average): Don't call sit-for since it seems
3672 unnecessary (bug#15045).
3673
3674 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3675 Use #' instead of ' to quote functions.
3676 (checkdoc-output-mode): Use setq-local.
3677 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3678 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3679 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3680 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3681 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3682 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3683 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3684 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3685
3686 * ido.el (ido-completion-help): Fix up compiler warning.
3687
3688 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3689
3690 * frameset.el (frameset-p): Add autoload cookie.
3691 (frameset--jump-to-register): New function, based on code moved from
3692 register.el.
3693 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3694
3695 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3696 (frameset-restore, frameset-save, frameset-session-filter-alist):
3697 Remove declarations.
3698 (register-alist): Doc fix.
3699 (frameset-to-register): Move to frameset.el.
3700 (jump-to-register, describe-register-1): Remove frameset-specific code.
3701
3702 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3703
3704 * allout-widgets.el (allout-widgets-pre-command-business)
3705 (allout-widgets-post-command-business)
3706 (allout-widgets-after-change-handler)
3707 (allout-decorate-item-and-context, allout-set-boundary-marker)
3708 (allout-body-modification-handler)
3709 (allout-graphics-modification-handler): Mark ignored arguments.
3710 (allout-widgets-post-command-business)
3711 (allout-widgets-exposure-change-processor)
3712 (allout-widgets-exposure-undo-processor)
3713 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3714 (allout-parse-item-at-point, allout-decorate-item-guides)
3715 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3716 * allout.el (epa-passphrase-callback-function): Declare.
3717 (allout-overlay-insert-in-front-handler)
3718 (allout-overlay-interior-modification-handler)
3719 (allout-isearch-end-handler, allout-chart-siblings)
3720 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3721 (allout-yank-processing, allout-process-exposed)
3722 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3723 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3724 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3725 (lisp-indent-defform): Mark ignored arguments.
3726 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3727 (calculate-lisp-indent): Remove unused variables.
3728 * international/characters.el (indian-2-column, arabic-2-column)
3729 (tibetan): Mark ignored arguments.
3730 (use-cjk-char-width-table): Mark ignored arguments.
3731 Remove unused variables.
3732 * international/fontset.el (build-default-fontset-data)
3733 (x-compose-font-name, create-fontset-from-fontset-spec):
3734 Mark ignored arguments.
3735 (fontset-plain-name): Remove unused variables.
3736 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3737 (keyboard-coding-system): Mark ignored arguments.
3738 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3739 * help.el (resize-temp-buffer-window):
3740 * window.el (display-buffer-in-major-side-window)
3741 (display-buffer-in-side-window, display-buffer-in-previous-window):
3742 Remove unused variables.
3743 * isearch.el (isearch-forward-symbol):
3744 * version.el (emacs-bzr-version-bzr):
3745 * international/mule-cmds.el (current-language-environment):
3746 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3747 (x-handle-display):
3748 * term/pc-win.el (x-list-fonts, x-display-planes)
3749 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3750 (x-server-version, x-display-screens, x-display-mm-height)
3751 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3752 (x-selection-owner-p, x-own-selection-internal)
3753 (x-disown-selection-internal, x-get-selection-internal)
3754 (msdos-initialize-window-system):
3755 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3756 * term/x-win.el (x-handle-no-bitmap-icon):
3757 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3758 (vc-default-find-file-hook, vc-default-extra-menu):
3759 Mark ignored arguments.
3760
3761 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3764 break-condition in the context of the debugged code (bug#12685).
3765
3766 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3767
3768 * comint.el:
3769 Do not use an overlay to highlight the last prompt. (Bug#14744)
3770 (comint-mode): Make comint-last-prompt buffer local.
3771 (comint-last-prompt): New variable.
3772 (comint-last-prompt-overlay): Remove. Superseded by
3773 comint-last-prompt.
3774 (comint-snapshot-last-prompt, comint-output-filter):
3775 Use comint-last-prompt.
3776
3777 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3778
3779 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3780 (frameset-save): Check validity of the resulting frameset.
3781
3782 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3783
3784 * ido.el (ido-record-command): Add doc string.
3785
3786 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3787
3788 * frameset.el (frameset): Do not disable creation of the default
3789 frameset-p predicate. Doc fix.
3790 (frameset-valid-p): New function, copied from the old predicate-p.
3791 Add additional checks.
3792 (frameset-restore): Check with frameset-valid-p.
3793 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3794 (frameset-name, frameset-description, frameset-properties)
3795 (frameset-states): Add docstring.
3796 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3797 (frameset-filter-alist): Doc fixes.
3798
3799 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3800
3801 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3802
3803 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3806 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3807 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3808 (byte-compile-normal-call): Remove obsolescence check.
3809
3810 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3811
3812 * frameset.el (frameset-restore): Doc fix.
3813
3814 * register.el (frameset-frame-id, frameset-frame-with-id)
3815 (frameset-p, frameset-restore, frameset-save): Declare.
3816 (register-alist): Document framesets.
3817 (frameset-session-filter-alist): Declare.
3818 (frameset-to-register): New function.
3819 (jump-to-register): Implement jumping to framesets. Doc fix.
3820 (describe-register-1): Describe framesets.
3821
3822 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3823
3824 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3825
3826 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3827 Use lexical-binding.
3828
3829 * frameset.el (frameset): Use type vector, not list (incompatible
3830 change). Do not declare a new constructor, use the default one.
3831 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3832 `name' and `description', respectively, and add read-only slot
3833 `timestamp'. Doc fixes.
3834 (frameset-copy, frameset-persistent-filter-alist)
3835 (frameset-filter-alist, frameset-switch-to-gui-p)
3836 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3837 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3838 (frameset-filter-iconified, frameset-keep-original-display-p):
3839 Doc fixes.
3840 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3841 Rename from frameset-filter-(save|restore)-param. All callers changed.
3842 Doc fix.
3843 (frameset-p): Adapt to change to vector and be more thorough.
3844 Change arg name to OBJECT. Doc fix.
3845 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3846 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3847 All callers changed.
3848 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3849 All callers changed.
3850 (frameset--record-minibuffer-relationships): Rename from
3851 frameset--process-minibuffer-frames. All callers changed.
3852 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3853 Use new default constructor (again). Doc fix.
3854 (frameset--find-frame-if): Rename from `frameset--find-frame.
3855 All callers changed.
3856 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3857 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3858 Doc fix.
3859 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3860 PARAMETERS and WINDOW-STATE, respectively.
3861 (frameset-restore): Add new keyword argument PREDICATE.
3862 Reset frameset--target-display to nil. Doc fix.
3863
3864 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3867 (bat-mode): Use it.
3868 (bat-mode-syntax-table): Mark \n as end-of-comment.
3869 (bat-font-lock-keywords): Remove comment rule.
3870
3871 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3872 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3873
3874 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3875 (byte-compile-callargs-warn): Use `push'.
3876 (byte-compile-arglist-warn): Ignore higher-order "calls".
3877 (byte-compile-file-form-autoload): Use `pcase'.
3878 (byte-compile-function-form): If quoting a symbol, check that it exists.
3879
3880 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3881
3882 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3883 and add a few popular commands found in batch files.
3884 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3885 (dos-mode): Doc fixes.
3886
3887 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3890 (dos-mode): Use setq-local. Add space after "rem".
3891 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3892 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3893
3894 2013-08-07 Arni Magnusson <arnima@hafro.is>
3895
3896 * progmodes/dos.el: New file.
3897 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3898 dos-mode.
3899
3900 2013-08-06 Glenn Morris <rgm@gnu.org>
3901
3902 * calendar/calendar.el: Add new faces, and day-header-array.
3903 (calendar-weekday-header, calendar-weekend-header)
3904 (calendar-month-header): New faces.
3905 (calendar-day-header-construct): New function.
3906 (calendar-day-header-width): Also :set calendar-day-header-array.
3907 (calendar-american-month-header, calendar-european-month-header)
3908 (calendar-iso-month-header): Use calendar- faces.
3909 (calendar-generate-month):
3910 Use calendar-day-header-array for day headers; apply faces to them.
3911 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3912 (calendar-abbrev-construct): Add optional maxlen argument.
3913 (calendar-day-name-array): Doc fix.
3914 (calendar-day-name-array, calendar-abbrev-length)
3915 (calendar-day-abbrev-array):
3916 Also :set calendar-day-header-array, and maybe redraw.
3917 (calendar-day-header-array): New option. (Bug#15007)
3918 (calendar-font-lock-keywords): Set to nil and make obsolete.
3919 (calendar-day-name): Add option to use header array.
3920
3921 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3922
3923 * net/shr.el (shr-render-td): Remove debugging.
3924 (shr-render-td): Make width computation consistent by defaulting
3925 all zero-width columns to 10 characters. This may not be optimal,
3926 but it's at least consistent.
3927 (shr-make-table-1): Redo last change to fix the real problem in
3928 colspan handling.
3929
3930 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3931
3932 * files.el (cache-long-line-scans):
3933 Make obsolete alias to `cache-long-scans'.
3934
3935 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3936
3937 * frameset.el (frameset, frameset-filter-alist)
3938 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3939 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3940 (frameset-compute-pos): Rename from frameset--compute-pos,
3941 and add docstring.
3942 (frameset-move-onscreen): Use frameset-compute-pos.
3943 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3944
3945 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3946 Fix typos in docstrings.
3947
3948 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3949
3950 * frame.el (get-other-frame): Tiny cleanup.
3951
3952 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3953
3954 * vc/vc.el (vc-default-ignore-completion-table):
3955 Silence byte-compiler warning.
3956
3957 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3958 slot , which can indeed be nil.
3959 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3960 Move entry for `left' from persistent to live filter alist.
3961 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3962 Doc fixes.
3963 (frameset-filter-params): When restoring a frame, copy items added to
3964 `filtered', to avoid unwittingly modifying the original parameters.
3965 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3966 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3967
3968 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3969 to use looking-at-p instead of looking-at. (Bug#15028)
3970
3971 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3972
3973 Revert introduction of isearch-filter-predicates (bug#14714).
3974 Rely on add-function instead.
3975 * isearch.el (isearch-filter-predicates): Rename it back to
3976 isearch-filter-predicate.
3977 (isearch-message-prefix): Use advice-function-mapc and advice
3978 properties to get the isearch-message-prefix.
3979 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3980 instead of run-hook-with-args-until-failure.
3981 (isearch-filter-visible): Not obsolete any more.
3982 * loadup.el: Preload nadvice.
3983 * replace.el (perform-replace): Revert to funcall
3984 instead of run-hook-with-args-until-failure.
3985 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3986 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3987 dired-isearch-filenames-toggle; make it into a proper minor mode.
3988 Use add/remove-function.
3989 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3990 Call the minor-mode rather than add/remove-hook.
3991 (dired-isearch-filter-filenames):
3992 Remove isearch-message-prefix property.
3993 * info.el (Info--search-loop): New function, extracted from Info-search.
3994 Funcall isearch-filter-predicate instead of
3995 run-hook-with-args-until-failure isearch-filter-predicates.
3996 (Info-search): Use it.
3997 (Info-mode): Use isearch-filter-predicate instead of
3998 isearch-filter-predicates.
3999
4000 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4001
4002 Do not call to `selected-window' where it is assumed by default.
4003 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4004 `window-hscroll', `window-width', `window-height', `window-buffer',
4005 `window-frame', `window-start', `window-point', `next-window'
4006 and `window-display-table'.
4007 * abbrev.el (abbrev--default-expand):
4008 * bs.el (bs--show-with-configuration):
4009 * buff-menu.el (Buffer-menu-mouse-select):
4010 * calc/calc.el (calc):
4011 * calendar/calendar.el (calendar-generate-window):
4012 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4013 (diary-make-entry):
4014 * comint.el (send-invisible, comint-dynamic-complete-filename)
4015 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4016 * completion.el (complete):
4017 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4018 * disp-table.el (describe-current-display-table):
4019 * doc-view.el (doc-view-insert-image):
4020 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4021 * ehelp.el (with-electric-help):
4022 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4023 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4024 * emacs-lisp/helper.el (Helper-help-scroller):
4025 * emulation/cua-base.el (cua--post-command-handler-1):
4026 * eshell/esh-mode.el (eshell-output-filter):
4027 * ffap.el (ffap-gnus-wrapper):
4028 * help-macro.el (make-help-screen):
4029 * hilit-chg.el (highlight-compare-buffers):
4030 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4031 * hl-line.el (global-hl-line-highlight):
4032 * icomplete.el (icomplete-simple-completing-p):
4033 * isearch.el (isearch-done):
4034 * jit-lock.el (jit-lock-stealth-fontify):
4035 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4036 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4037 * mpc.el (mpc-tagbrowser, mpc):
4038 * net/rcirc.el (rcirc-any-buffer):
4039 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4040 * play/landmark.el (landmark-max-width, landmark-max-height):
4041 * play/zone.el (zone):
4042 * progmodes/compile.el (compilation-goto-locus):
4043 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4044 * progmodes/etags.el (find-tag-other-window):
4045 * progmodes/fortran.el (fortran-column-ruler):
4046 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4047 * progmodes/verilog-mode.el (verilog-point-text):
4048 * reposition.el (reposition-window):
4049 * rot13.el (toggle-rot13-mode):
4050 * server.el (server-switch-buffer):
4051 * shell.el (shell-dynamic-complete-command)
4052 (shell-dynamic-complete-environment-variable):
4053 * simple.el (insert-buffer, set-selective-display)
4054 (delete-completion-window):
4055 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4056 (speedbar-recenter):
4057 * startup.el (fancy-splash-head):
4058 * textmodes/ispell.el (ispell-command-loop):
4059 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4060 * tutorial.el (help-with-tutorial):
4061 * vc/add-log.el (add-change-log-entry):
4062 * vc/compare-w.el (compare-windows):
4063 * vc/ediff-help.el (ediff-indent-help-message):
4064 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4065 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4066 (ediff-setup-control-frame):
4067 * vc/emerge.el (emerge-position-region):
4068 * vc/pcvs-util.el (cvs-bury-buffer):
4069 * window.el (walk-windows, mouse-autoselect-window-select):
4070 * winner.el (winner-set-conf, winner-undo): Related users changed.
4071
4072 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4073
4074 * frameset.el (frameset--set-id): Doc fix.
4075 (frameset-frame-id, frameset-frame-id-equal-p)
4076 (frameset-locate-frame-id): New functions.
4077 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4078 (frameset-restore): Use them.
4079
4080 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4081
4082 Do not call to `selected-frame' where it is assumed by default.
4083 Affected functions are `raise-frame', `redraw-frame',
4084 `frame-first-window', `frame-terminal' and `delete-frame'.
4085 * calendar/appt.el (appt-disp-window):
4086 * epg.el (epg-wait-for-completion):
4087 * follow.el (follow-delete-other-windows-and-split)
4088 (follow-avoid-tail-recenter):
4089 * international/mule.el (set-terminal-coding-system):
4090 * mail/rmail.el (rmail-mail-return):
4091 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4092 * progmodes/f90.el (f90-add-imenu-menu):
4093 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4094 * server.el (server-switch-buffer):
4095 * simple.el (delete-completion-window):
4096 * talk.el (talk):
4097 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4098 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4099 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4100 * vc/ediff.el (ediff-documentation): Related users changed.
4101 * frame.el (selected-terminal): Remove the leftover.
4102
4103 2013-08-05 Glenn Morris <rgm@gnu.org>
4104
4105 * calendar/calendar.el (calendar-generate-month):
4106 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4107 (calendar-generate-month, calendar-font-lock-keywords):
4108 Fix for calendar-day-header-width > length of any day name.
4109
4110 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4111
4112 * desktop.el (desktop-clear): Use new name of sort predicate.
4113
4114 * frameset.el (frameset): Add docstring. Move :version property to its
4115 own `version' slot.
4116 (frameset-copy): Rename from copy-frameset.
4117 (frameset-p): Check more thoroughly.
4118 (frameset-prop): Do not check for :version, which is no longer a prop.
4119 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4120 Use new :never value instead of t.
4121 (frameset-filter-alist): Expand and clarify docstring.
4122 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4123 (frameset-filter-minibuffer, frameset-filter-save-param)
4124 (frameset-filter-restore-param, frameset-filter-iconified):
4125 Add pointer to docstring of frameset-filter-alist.
4126 (frameset-filter-params): Rename filter values to be more meaningful:
4127 :never instead of t, and reverse the meanings of :save and :restore.
4128 (frameset--process-minibuffer-frames): Clarify error message.
4129 (frameset-save): Avoid unnecessary and confusing call to framep.
4130 Use new BOA constructor for framesets.
4131 (frameset--reuse-list): Doc fix.
4132 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4133 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4134 (frameset-minibufferless-first-p): Doc fix.
4135 Rename from frameset-sort-frames-for-deletion.
4136 (frameset-restore): Doc fixes. Use new function names.
4137 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4138
4139 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4140
4141 * desktop.el (desktop-restore-forces-onscreen)
4142 (desktop-restore-reuses-frames): Document :keyword constant values.
4143 (desktop-filter-parameters-alist): Remove, now identical to
4144 frameset-filter-alist.
4145 (desktop--filter-tty*): Remove, moved to frameset.el.
4146 (desktop-save-frameset, desktop-restore-frameset):
4147 Do not pass :filters argument.
4148
4149 * frameset.el (frameset-live-filter-alist)
4150 (frameset-persistent-filter-alist): New variables.
4151 (frameset-filter-alist): Use them. Add autoload cookie.
4152 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4153 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4154 `frameset--id' (it's supposed to be internal to frameset.el).
4155 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4156 (frameset--initial-params): New function.
4157 (frameset--get-frame): Use it. Doc fix.
4158 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4159 Accept :all, not 'all.
4160 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4161 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4162 with fbound symbols. Fix frame id matching, and remove matching ids if
4163 the frame being restored is deleted. Obey :delete.
4164
4165 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * subr.el (macrop): New function.
4168 (text-clone--maintaining): New var.
4169 (text-clone--maintain): Rename from text-clone-maintain. Use it
4170 instead of inhibit-modification-hooks.
4171
4172 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4173 a proxy, so as handle autoloads and redefinitions of the target.
4174 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4175
4176 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4177 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4178 (pcase--mutually-exclusive-p): New function.
4179 (pcase--split-consp): Use it.
4180 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4181 mutually exclusive with the current predicate.
4182
4183 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4184 (edebug-macrop): Remove. Use `macrop' instead.
4185 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4186 (ad-macro-p):
4187 * eshell/esh-cmd.el (eshell-macrop):
4188 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4189
4190 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4193 (advice-mapc): New function, using it.
4194 (advice-function-member-p): New function.
4195 (advice--normalize): Store the cdr in advice--saved-rewrite since
4196 that's the part that will be changed.
4197 (advice--symbol-function): New function.
4198 (advice-remove): Handle removal before the function is defined.
4199 Adjust to new advice--saved-rewrite.
4200 (advice-member-p): Use advice-function-member-p and
4201 advice--symbol-function.
4202
4203 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4204
4205 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4206 (frameset-filter-minibuffer): Doc fix.
4207 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4208 (frameset--set-id, frameset--process-minibuffer-frames)
4209 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4210 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4211
4212 * desktop.el (desktop-clear): Only delete frames when called
4213 interactively and desktop-restore-frames is non-nil. Doc fix.
4214 (desktop-read): Set desktop-saved-frameset to nil.
4215
4216 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4217
4218 * vc/vc.el (vc-ignore): Rewrite.
4219 (vc-default-ignore-completion-table):
4220 (vc--read-lines):
4221 (vc--add-line, vc--remove-regexp): New functions.
4222
4223 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4224 (vc-svn-ignore-completion-table): New function.
4225
4226 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4227 (vc-hg-ignore-completion-table):
4228 (vc-hg-find-ignore-file): New functions.
4229
4230 * vc/vc-git.el (vc-git-ignore): Rewrite.
4231 (vc-git-ignore-completion-table):
4232 (vc-git-find-ignore-file): New functions.
4233
4234 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4235
4236 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4237 (vc-bzr-ignore-completion-table):
4238 (vc-bzr-find-ignore-file): New functions.
4239
4240 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4241
4242 * frameset.el (frameset-prop): New function and setter.
4243 (frameset-save): Do not modify frame list passed by the caller.
4244
4245 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4248
4249 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4252 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4253
4254 * custom.el (custom-initialize-default, custom-initialize-set)
4255 (custom-initialize-reset, custom-initialize-changed): Affect the
4256 toplevel-default-value (bug#6275, bug#14586).
4257 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4258 for bug#6275.
4259
4260 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4261
4262 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4263 Add cl-def* expressions.
4264
4265 * frameset.el (frameset-filter-params): Fix order of arguments.
4266
4267 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4268
4269 Move code related to saving frames to frameset.el.
4270 * desktop.el: Require frameset.
4271 (desktop-restore-frames): Doc fix.
4272 (desktop-restore-reuses-frames): Rename from
4273 desktop-restoring-reuses-frames.
4274 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4275 (desktop-clear): Clear frames too.
4276 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4277 (desktop--filter-tty*, desktop-save, desktop-read):
4278 Use frameset functions.
4279 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4280 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4281 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4282 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4283 (desktop--process-minibuffer-frames, desktop-save-frames)
4284 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4285 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4286 (desktop--sort-states, desktop-restoring-frames-p)
4287 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4288 (desktop-restoring-frameset-p, desktop-restore-frameset)
4289 (desktop--check-dont-save, desktop-save-frameset): New functions.
4290 (desktop--app-id): New constant.
4291 (desktop-first-buffer, desktop-buffer-ok-count)
4292 (desktop-buffer-fail-count): Move before first use.
4293 * frameset.el: New file.
4294
4295 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * files.el: Use lexical-binding.
4298 (dir-locals-read-from-file): Remove unused `err' variable.
4299 (hack-dir-local-variables--warned-coding): New var.
4300 (hack-dir-local-variables): Use it to avoid repeated warnings.
4301 (make-backup-file-name--default-function): New function.
4302 (make-backup-file-name-function): Use it as default.
4303 (buffer-stale--default-function): New function.
4304 (buffer-stale-function): Use it as default.
4305 (revert-buffer-insert-file-contents--default-function): New function.
4306 (revert-buffer-insert-file-contents-function): Use it as default.
4307 (insert-directory): Avoid add-to-list.
4308
4309 * autorevert.el (auto-revert-handler): Simplify.
4310 Use buffer-stale--default-function.
4311
4312 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4313
4314 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4315
4316 * whitespace.el (whitespace-ensure-local-variables): New function.
4317 (whitespace-cleanup-region): Call it.
4318 (whitespace-turn-on): Call it.
4319
4320 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4321
4322 Complete file name handlers.
4323
4324 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4325 (tramp-handle-verify-visited-file-modtime)
4326 (tramp-handle-file-notify-rm-watch): New functions.
4327 (tramp-call-process): Do not bind `default-directory'.
4328
4329 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4330 Order alphabetically.
4331 [access-file, add-name-to-file, dired-call-process]:
4332 [dired-compress-file, file-acl, file-notify-rm-watch]:
4333 [file-ownership-preserved-p, file-selinux-context]:
4334 [make-directory-internal, make-symbolic-link, set-file-acl]:
4335 [set-file-selinux-context, set-visited-file-modtime]:
4336 [verify-visited-file-modtime]: Add handler.
4337 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4338
4339 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4340 [file-notify-add-watch, file-notify-rm-watch]:
4341 [set-file-times, set-visited-file-modtime]:
4342 [verify-visited-file-modtime]: Add handler.
4343 (with-tramp-gvfs-error-message)
4344 (tramp-gvfs-handle-set-visited-file-modtime)
4345 (tramp-gvfs-fuse-file-name): Remove.
4346 (tramp-gvfs-handle-file-notify-add-watch)
4347 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4348 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4349
4350 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4351 Order alphabetically.
4352 [file-notify-rm-watch ]: Use default Tramp handler.
4353 [executable-find]: Remove private handler.
4354 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4355 `default-directory'.
4356 (tramp-sh-handle-executable-find)
4357 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4358 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4359 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4360 Do not use `format' in `tramp-message'.
4361
4362 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4363 [file-notify-rm-watch, set-visited-file-modtime]:
4364 [verify-visited-file-modtime]: Add handler.
4365 (tramp-smb-call-winexe): Do not bind `default-directory'.
4366
4367 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4368
4369 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4370
4371 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4372
4373 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4374 use it.
4375 (log-view-diff-changeset): Same.
4376 (log-view-diff-common): Call backend command `previous-revision'
4377 to find out the previous revision, in both cases. Swap the
4378 variables `to' and `fr', so that `fr' usually refers to the
4379 earlier revision (Bug#14989).
4380
4381 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4382
4383 * ibuf-ext.el (ibuffer-filter-by-filename):
4384 Make it work with dired buffers too.
4385
4386 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4387
4388 * emacs-lisp/re-builder.el (reb-color-display-p):
4389 * files.el (save-buffers-kill-terminal):
4390 * net/browse-url.el (browse-url):
4391 * server.el (server-save-buffers-kill-terminal):
4392 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4393 Prefer nil to selected-frame for the first arg of frame-parameter.
4394
4395 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4396
4397 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4398
4399 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4400
4401 * minibuffer.el (completion--twq-all): Try and preserve each
4402 completion's case choice (bug#14907).
4403
4404 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4405
4406 * net/network-stream.el (open-network-stream): Mention the new
4407 :nogreeting parameter.
4408 (network-stream-open-starttls): Use the :nogreeting parameter
4409 (bug#14938).
4410
4411 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4412
4413 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4414 more natural than popping.
4415
4416 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4417 (shr-urlify): Highlight under mouse.
4418
4419 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4420
4421 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4422
4423 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4424
4425 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4426 buffer for output.
4427
4428 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4429 point-min==1. Fix search string. Fix parentheses missing.
4430
4431 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4432 assume point-min==1. Fix search string. Fix parentheses missing.
4433
4434 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4435
4436 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4437 buffer for output.
4438
4439 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4440
4441 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4442 initial frame is minibuffer-less. (Bug#14841)
4443
4444 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4445
4446 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4447 option.
4448
4449 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4450 (tramp-maybe-open-connection): Use it.
4451
4452 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4453
4454 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4455 minimal set of parameters passed when creating a frame, because
4456 the minibuffer status of a frame cannot be changed later.
4457
4458 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4459
4460 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4461 replace-regexp-in-string and inadvertent omissions in previous change.
4462 (todo-filter-items): Ensure only file names are comma-separated in
4463 name of filtered items buffer.
4464
4465 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4466
4467 * desktop.el: Optionally force offscreen frames back onscreen.
4468 (desktop-restoring-reuses-frames): New option.
4469 (desktop--compute-pos, desktop--move-onscreen): New functions.
4470 (desktop--make-frame): Use desktop--move-onscreen.
4471
4472 2013-07-27 Alan Mackenzie <acm@muc.de>
4473
4474 Fontify a Java generic method as a function.
4475 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4476 value to t.
4477
4478 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4479
4480 * calendar/todo-mode.el: Add command to rename todo files.
4481 (todo-rename-file): New command.
4482 (todo-key-bindings-t): Add key binding for it. Change the
4483 bindings of todo-filter-regexp-items(-multifile) to use `x'
4484 instead of `r', since the latter is better suited to the new
4485 renaming command.
4486
4487 2013-07-27 Alan Mackenzie <acm@muc.de>
4488
4489 Make Java try-with-resources statement parse properly.
4490 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4491 (c-block-stmt-1-2-key): New language constants/variables.
4492 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4493 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4494 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4495 with c-block-stmt-1-2-key.
4496
4497 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4498
4499 * desktop.el (desktop--make-frame): Apply most frame parameters after
4500 creating the frame to force (partially or totally) offscreen frames to
4501 be restored as such.
4502
4503 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4504
4505 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4506 (Bug#14948)
4507
4508 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4511 `base' arg of backtrace-frame.
4512
4513 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4514
4515 * simple.el (list-processes): Doc fix.
4516
4517 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4518
4519 * desktop.el (desktop--select-frame):
4520 Try harder to reuse existing frames.
4521
4522 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4525 (edebug-eval): Use backtrace-eval.
4526 (edebug--display, edebug--recursive-edit): Don't let-bind the
4527 edebug-outer-* vars that keep track of variables we locally let-bind.
4528 (edebug-outside-excursion): Don't restore outside values of locally
4529 let-bound vars.
4530 (edebug--display): Use user-error.
4531 (cl-lexical-debug, cl-debug-env): Remove.
4532
4533 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4534
4535 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4536 are restored to be sure that they are visible before deleting any
4537 remaining ones.
4538
4539 2013-07-26 Matthias Meulien <orontee@gmail.com>
4540
4541 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4542 vc-print-root-log. (Bug#14948)
4543
4544 2013-07-26 Richard Stallman <rms@gnu.org>
4545
4546 Add aliases for encrypting mail.
4547 * epa.el (epa-mail-aliases): New option.
4548 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4549 Bind inhibit-read-only so read-only text doesn't ruin everything.
4550 (epa-mail-default-recipients): New subroutine broken out.
4551 Handle epa-mail-aliases.
4552
4553 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 Add support for lexical variables to the debugger's `e' command.
4556 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4557 vars, except for debugger-outer-match-data.
4558 (debugger-frame-number): Move check for "on a function call" from
4559 callers into it. Add `skip-base' argument.
4560 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4561 (debugger-env-macro): Only reset the state stored in non-variables,
4562 i.e. current-buffer and match-data.
4563 (debugger-eval-expression): Rewrite using backtrace-eval.
4564 * subr.el (internal--called-interactively-p--get-frame): Remove.
4565 (called-interactively-p):
4566 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4567 `base' arg of backtrace-frame instead.
4568
4569 2013-07-26 Glenn Morris <rgm@gnu.org>
4570
4571 * align.el (align-regexp): Doc fix. (Bug#14857)
4572 (align-region): Explicit error if subexpression missing/does not match.
4573
4574 * simple.el (global-visual-line-mode):
4575 Do not duplicate the mode lighter. (Bug#14858)
4576
4577 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4578
4579 * window.el (display-buffer): In display-buffer bind
4580 split-window-keep-point to t, bug#14829.
4581
4582 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4583
4584 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4585 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4586 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4587 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4588 Change accordingly.
4589 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4590 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4591
4592 2013-07-25 Glenn Morris <rgm@gnu.org>
4593
4594 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4595
4596 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4597
4598 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4599 parameter to modify-frame-parameters if the value has not changed;
4600 this is a workaround for bug#14949.
4601 (desktop--make-frame): On cl-delete-if call, check parameter name,
4602 not full parameter.
4603
4604 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4605
4606 * vc/vc.el (vc-ignore): New function.
4607
4608 * vc/vc-svn.el (vc-svn-ignore): New function.
4609
4610 * vc/vc-hg.el (vc-hg-ignore): New function.
4611
4612 * vc/vc-git.el (vc-git-ignore): New function.
4613
4614 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4615 (vc-dir-ignore): New function.
4616
4617 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4618 (cvs-append-to-ignore): Move here from pcvs.el.
4619
4620 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4621
4622 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4623
4624 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4625
4626 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4627 (desktop-restore-frames): Warn when deleting an existing frame failed.
4628
4629 2013-07-24 Glenn Morris <rgm@gnu.org>
4630
4631 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4632
4633 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4634
4635 * filenotify.el (file-notify-supported-p):
4636 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4637 Remove functions.
4638
4639 * autorevert.el (auto-revert-use-notify):
4640 (auto-revert-notify-add-watch):
4641 * net/tramp.el (tramp-file-name-for-operation):
4642 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4643 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4644 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4645 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4646 Remove `file-notify-supported-p' entry.
4647
4648 2013-07-24 Glenn Morris <rgm@gnu.org>
4649
4650 * printing.el: Replace all uses of deleted ps-windows-system,
4651 ps-lp-system, ps-flatten-list with lpr- versions.
4652
4653 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4656 checked with memq (bug#14935).
4657
4658 * files.el (revert-buffer-function): Use a non-nil default.
4659 (revert-buffer-preserve-modes): Declare var to
4660 provide access to the `preserve-modes' argument.
4661 (revert-buffer): Let-bind it.
4662 (revert-buffer--default): New function, extracted from revert-buffer.
4663
4664 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * lpr.el: Signal print errors more prominently.
4667 (print-region-function): Don't default to nil.
4668 (lpr-print-region): New function, extracted from print-region-1.
4669 Check lpr's return value and signal an error in case of problem.
4670 (print-region-1): Use it.
4671 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4672 versions instead.
4673 (ps-printer-name): Default to nil.
4674 (ps-printer-name-option): Default to lpr-printer-switch.
4675 (ps-print-region-function): Don't default to nil.
4676 (ps-postscript-code-directory): Simplify default.
4677 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4678 (ps-string-list, ps-eval-switch, ps-flatten-list)
4679 (ps-flatten-list-1): Remove.
4680 (ps-multibyte-buffer): Avoid setq.
4681 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4682 (print-region-function, ps-print-region-function): Don't set them here.
4683
4684 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4685
4686 * ido.el (ido-fractionp):
4687 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4688 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4689 (ido-max-directory-size, ido-max-dir-file-cache)
4690 (ido-decorations): Doc fix.
4691
4692 * ansi-color.el: Fix old URL.
4693
4694 2013-07-23 Michael R. Mauger <michael@mauger.com>
4695
4696 * progmodes/sql.el: Version 3.3
4697 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4698 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4699 (sql-interactive-remove-continuation-prompt): Rewrite, use
4700 functions above. Fix continuation prompt and complete output line
4701 handling.
4702 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4703 redirected output buffer.
4704 (sql-mode): Restore deleted code (Bug#13591).
4705
4706 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4707
4708 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4709
4710 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4711
4712 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4713
4714 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4715 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4716 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4717
4718 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4719
4720 * desktop.el (desktop-clear): Simplify; remove useless checks
4721 against invalid buffer names.
4722 (desktop-list*): Use cl-list*.
4723 (desktop-buffer-info, desktop-create-buffer): Simplify.
4724
4725 2013-07-23 Leo Liu <sdl.web@gmail.com>
4726
4727 * bookmark.el (bookmark-make-record): Restore NAME as a default
4728 value. (Bug#14933)
4729
4730 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4733 extracted from autoload--insert-text.
4734 (autoload--insert-text): Remove.
4735 (autoload--print-cookie-text): New function, extracted from
4736 autoload--insert-cookie-text.
4737 (autoload--insert-cookie-text): Remove.
4738 (autoload-generate-file-autoloads): Adjust calls accordingly.
4739
4740 * winner.el (winner-hook-installed-p): Remove.
4741 (winner-mode): Simplify accordingly.
4742
4743 * subr.el (add-to-list): Fix compiler-macro when `append' is
4744 not constant. Don't use `cl-member' for the base case.
4745
4746 * progmodes/subword.el: Fix boundary case (bug#13758).
4747 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4748 own group.
4749 (subword-backward-regexp): Make it a constant.
4750 (subword-forward-internal): Don't treat a trailing capital as the
4751 beginning of a word.
4752
4753 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4754
4755 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4756 global value of tabulated-list-revert-hook (bug#14930).
4757
4758 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4759
4760 * desktop.el: Require 'cl-lib.
4761 (desktop-before-saving-frames-functions): New hook.
4762 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4763 for frames being saved. Rename from desktop--save-minibuffer-frames.
4764 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4765 Do not save frames with non-nil `desktop-dont-save' parameter.
4766 Filter out deleted frames.
4767 (desktop--find-frame): Use cl-find-if.
4768 (desktop--select-frame): Use cl-(first|second|third) to access values
4769 of desktop-mini.
4770 (desktop--make-frame): Use cl-delete-if.
4771 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4772 (desktop-restore-frames): Use cl-(first|second|third) to access values
4773 of desktop-mini. Look for visible frame at the end, not while
4774 restoring frames.
4775
4776 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4777 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4778 Use string-match-p, looking-at-p (bug#14927).
4779
4780 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4781
4782 * desktop.el (desktop-saved-frame-states):
4783 Rename from desktop--saved-states; all users changed.
4784 (desktop-save-frames): Rename from desktop--save-frames.
4785 Do not save state to desktop file.
4786 (desktop-save): Save desktop-saved-frame-states to desktop file
4787 and reset to nil.
4788 (desktop-restoring-frames-p): New function.
4789 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4790 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4791 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4792
4793 * desktop.el: Correctly restore iconified frames.
4794 (desktop--filter-iconified-position): New function.
4795 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4796
4797 2013-07-20 Glenn Morris <rgm@gnu.org>
4798
4799 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4800 Let `message' do the formatting.
4801 (def-gdb-preempt-display-buffer): Add explicit format.
4802
4803 * image-dired.el (image-dired-track-original-file):
4804 Use with-current-buffer.
4805 (image-dired-track-thumbnail): Use with-current-buffer.
4806 Avoid changing point of wrong window.
4807
4808 * image-dired.el (image-dired-track-original-file):
4809 Avoid changing point of wrong window. (Bug#14909)
4810
4811 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4812
4813 * progmodes/gdb-mi.el (gdb-done-or-error):
4814 Guard against "%" in gdb output. (Bug#14127)
4815
4816 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4817
4818 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4819 (Bug#14826)
4820
4821 * international/mule.el (coding-system-iso-2022-flags): Fix last
4822 change.
4823
4824 2013-07-20 Kenichi Handa <handa@gnu.org>
4825
4826 * international/mule.el (coding-system-iso-2022-flags):
4827 Add `8-bit-level-4'. (Bug#8522)
4828
4829 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4830
4831 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4832 (bug#14815).
4833
4834 * net/eww.el (eww-process-text-input): Allow inputting when the
4835 point is at the start of the line, as the properties aren't
4836 front-sticky.
4837
4838 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4839 degenerate widths.
4840
4841 2013-07-19 Richard Stallman <rms@gnu.org>
4842
4843 * epa.el (epa-popup-info-window): Doc fix.
4844
4845 * subr.el (split-string): New arg TRIM.
4846
4847 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4848
4849 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4850 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4851
4852 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4853
4854 * filenotify.el (file-notify--library): Rename from
4855 `file-notify-support'. Do not autoload. Adapt all uses.
4856 (file-notify-supported-p): New defun.
4857
4858 * autorevert.el (auto-revert-use-notify):
4859 Use `file-notify-supported-p' instead of `file-notify-support'.
4860 Adapt docstring.
4861 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4862
4863 * net/tramp.el (tramp-file-name-for-operation):
4864 Add `file-notify-supported-p'.
4865
4866 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4867 New defun.
4868 (tramp-sh-file-name-handler-alist): Add it as handler for
4869 `file-notify-supported-p '.
4870
4871 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4872 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4873 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4874 Add `ignore' as handler for `file-notify-*' functions.
4875
4876 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4877
4878 * simple.el (line-move-partial, line-move): Don't start vscroll or
4879 scroll-up if the current line is not taller than the window.
4880 (Bug#14881)
4881
4882 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4883
4884 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4885 highlight question marks in the method names as strings.
4886 (ruby-block-beg-keywords): Inline.
4887 (ruby-font-lock-keyword-beg-re): Extract from
4888 `ruby-font-lock-keywords'.
4889
4890 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4891
4892 * frame.el (blink-cursor-blinks): New defcustom.
4893 (blink-cursor-blinks-done): New defvar.
4894 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4895 (blink-cursor-timer-function): Check if number of blinks has been
4896 done on X and NS.
4897 (blink-cursor-suspend, blink-cursor-check): New defuns.
4898
4899 2013-07-15 Glenn Morris <rgm@gnu.org>
4900
4901 * edmacro.el (edmacro-format-keys): Fix previous change.
4902
4903 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4904
4905 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4906 The hack didn't work outside English locales anyway.
4907
4908 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4909
4910 * simple.el (define-alternatives): Rename from alternatives-define,
4911 per RMS' suggestion.
4912
4913 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4914
4915 * desktop.el (desktop-restore-frames): Change default to t.
4916 (desktop-restore-in-current-display): Now offer more options.
4917 (desktop-restoring-reuses-frames): New customization option.
4918 (desktop--saved-states): Doc fix.
4919 (desktop-filter-parameters-alist): New variable, renamed and expanded
4920 from desktop--excluded-frame-parameters.
4921 (desktop--target-display): New variable.
4922 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4923 (desktop--filter-tty*, desktop--filter-*-color)
4924 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4925 (desktop--filter-save-desktop-parm)
4926 (desktop-restore-in-original-display-p): New functions.
4927 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4928 (desktop--save-minibuffer-frames): New function, inspired by a similar
4929 function from Martin Rudalics.
4930 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4931 (desktop--restore-in-this-display-p): Remove.
4932 (desktop--find-frame): Rename from desktop--find-frame-in-display
4933 and add predicate argument.
4934 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4935 (desktop--reuse-list): New variable.
4936 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4937 New functions.
4938 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4939
4940 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4941
4942 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4943
4944 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4945
4946 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4947 Highlight conversion methods on Kernel.
4948
4949 2013-07-13 Alan Mackenzie <acm@muc.de>
4950
4951 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4952 and comment it out. This out-commenting enables certain C++
4953 declarations to be parsed correctly.
4954
4955 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4956
4957 * international/mule.el (define-coding-system): Doc fix.
4958
4959 * simple.el (default-font-height): Don't call font-info if the
4960 frame's default font didn't change since the frame was created.
4961 (Bug#14838)
4962
4963 2013-07-13 Leo Liu <sdl.web@gmail.com>
4964
4965 * ido.el (ido-read-file-name): Guard against non-symbol value.
4966
4967 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4968
4969 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4970 in nested defuns.
4971
4972 2013-07-13 Leo Liu <sdl.web@gmail.com>
4973
4974 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4975 ido-set-matches call. (Bug#6852)
4976
4977 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4978
4979 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4980 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4981 Ruby 2.0.
4982 (ruby-font-lock-keywords): Distinguish calls to functions with
4983 module-like names from module references. Highlight character
4984 literals.
4985
4986 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4987
4988 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4989 (gdb-send): Handle continued commands. (Bug#14847)
4990
4991 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4992
4993 * desktop.el (desktop--v2s): Remove unused local variable.
4994 (desktop-save-buffer): Make defvar-local; adjust docstring.
4995 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4996 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4997
4998 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4999
5000 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5001
5002 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5003
5004 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5005 (Bug#14842)
5006
5007 2013-07-12 Glenn Morris <rgm@gnu.org>
5008
5009 * doc-view.el: Require cl-lib at runtime too.
5010 (doc-view-remove-if): Remove.
5011 (doc-view-search-next-match, doc-view-search-previous-match):
5012 Use cl-remove-if.
5013
5014 * edmacro.el: Require cl-lib at runtime too.
5015 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5016 (edmacro-mismatch, edmacro-subseq): Remove.
5017
5018 * shadowfile.el: Require cl-lib.
5019 (shadow-remove-if): Remove.
5020 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5021 Use cl-remove-if.
5022
5023 * wid-edit.el: Require cl-lib.
5024 (widget-choose): Use cl-remove-if.
5025 (widget-remove-if): Remove.
5026
5027 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5028 (ebrowse-delete-if-not): Remove.
5029 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5030 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5031 Use cl-delete-if-not.
5032
5033 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5034
5035 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5036 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5037
5038 2013-07-12 Leo Liu <sdl.web@gmail.com>
5039
5040 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5041
5042 2013-07-11 Glenn Morris <rgm@gnu.org>
5043
5044 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5045 (edebug-gensym-index, edebug-gensym):
5046 Remove reimplementation of cl-gensym.
5047 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5048
5049 * thumbs.el: Require cl-lib at run-time too.
5050 (thumbs-gensym-counter, thumbs-gensym):
5051 Remove reimplementation of cl-gensym.
5052 (thumbs-temp-file): Use cl-gensym.
5053
5054 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5055 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5056 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5057 (ert--union, ert--gensym-counter, ert--gensym-counter)
5058 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5059 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5060 (ert-make-test-unbound, ert--expand-should-1)
5061 (ert--expand-should, ert--should-error-handle-error)
5062 (should-error, ert--explain-equal-rec)
5063 (ert--plist-difference-explanation, ert-select-tests)
5064 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5065 Use cl-lib functions rather than reimplementations.
5066
5067 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5068
5069 * net/tramp.el (tramp-methods): Extend docstring.
5070 (tramp-connection-timeout): New defcustom.
5071 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5072 (with-tramp-progress-reporter): Simplify.
5073 (tramp-process-actions): Improve messages.
5074
5075 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5076 * net/tramp-sh.el (tramp-maybe-open-connection):
5077 Use `tramp-connection-timeout'.
5078 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5079 (Bug#14808)
5080
5081 2013-07-11 Leo Liu <sdl.web@gmail.com>
5082
5083 * ido.el (ido-read-file-name): Conform to the requirements of
5084 read-file-name. (Bug#11861)
5085 (ido-read-directory-name): Conform to the requirements of
5086 read-directory-name.
5087
5088 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5089
5090 * subr.el (delay-warning): New function.
5091
5092 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5093
5094 * simple.el (default-line-height): New function.
5095 (line-move-partial, line-move): Use it instead of computing the
5096 line height inline.
5097 (line-move-partial): Always compute ROWH. If the last line is
5098 partially-visible, but its text is completely visible, allow
5099 cursor to enter such a partially-visible line.
5100
5101 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5102
5103 Improve error messages. (Bug#14808)
5104
5105 * net/tramp.el (tramp-current-connection): New defvar, moved from
5106 tramp-sh.el.
5107 (tramp-message-show-progress-reporter-message): Remove, not
5108 needed anymore.
5109 (tramp-error-with-buffer): Show message in minibuffer.
5110 Discard input before waiting. Reset connection timestamp.
5111 (with-tramp-progress-reporter): Improve messages.
5112 (tramp-process-actions): Use progress reporter. Delete process in
5113 case of error. Improve messages.
5114
5115 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5116 Call `tramp-error-with-buffer' with vector and buffer.
5117 (tramp-current-connection): Remove.
5118 (tramp-maybe-open-connection): The car of
5119 `tramp-current-connection' are the first 3 slots of the vector.
5120
5121 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5122
5123 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5124 inside continued strings.
5125
5126 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5127
5128 Timestamp fixes for undo (Bug#14824).
5129 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5130
5131 2013-07-10 Leo Liu <sdl.web@gmail.com>
5132
5133 * files.el (require-final-newline): Allow safe local value.
5134 (Bug#14834)
5135
5136 2013-07-09 Leo Liu <sdl.web@gmail.com>
5137
5138 * ido.el (ido-read-directory-name): Handle fallback.
5139 (ido-read-file-name): Update DIR to ido-current-directory.
5140 (Bug#1516)
5141 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5142
5143 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5144
5145 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5146 "autoload". Remove "warn lower camel case" section, previously
5147 commented out. Highlight negation char. Do not highlight the
5148 target in singleton method definitions.
5149
5150 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5151
5152 * faces.el (tty-setup-hook): Declare the hook.
5153
5154 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5155 and detect when a guard/pred depends on local vars (bug#14773).
5156 (pcase--u1): Adjust caller.
5157
5158 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5159
5160 * simple.el (line-move-partial, line-move): Account for
5161 line-spacing.
5162 (line-move-partial): Avoid setting vscroll when the last
5163 partially-visible line in window is of default height.
5164
5165 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5166
5167 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5168 been used a while.
5169
5170 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5171
5172 * subr.el (read-quoted-char): Remove unused local variable `char'.
5173
5174 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5175
5176 * ediff.el (ediff-version): Version update.
5177 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5178 (ediff-merge-with-ancestor-command, ediff-directories-command)
5179 (ediff-directories3-command, ediff-merge-directories-command)
5180 (ediff-merge-directories-with-ancestor-command): New functions.
5181 All are command-line interfaces to ediff: to facilitate calling
5182 Emacs with the appropriate ediff functions invoked.
5183
5184 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5185 (viper-save-kill-buffer): Check if buffer is modified.
5186
5187 * viper.el (viper-version): Version update.
5188 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5189
5190 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5193 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5194 (viper-intercept-ESC-key): Simplify.
5195 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5196 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5197 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5198 (viper-setup-ESC-to-escape): New functions.
5199 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5200 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5201
5202 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5203
5204 * simple.el (default-font-height, window-screen-lines):
5205 New functions.
5206 (line-move, line-move-partial): Use them instead of
5207 frame-char-height and window-text-height. This makes scrolling
5208 text smoother when the buffer's default face uses a font that is
5209 different from the frame's default font.
5210
5211 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5212
5213 * files.el (write-file): Do not display confirm dialog for NS,
5214 it does its own dialog, which can't be cancelled (Bug#14578).
5215
5216 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5217
5218 * simple.el (line-move-partial): Adjust the row returned by
5219 posn-at-point for the current window-vscroll. (Bug#14567)
5220
5221 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5222
5223 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5224 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5225 spaces.
5226
5227 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5228
5229 * window.el (window-state-put-stale-windows): New variable.
5230 (window--state-put-2): Save list of windows without matching buffer.
5231 (window-state-put): Remove "bufferless" windows if possible.
5232
5233 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5234
5235 * simple.el (alternatives-define): Remove leftover :group keyword.
5236 Tweak docstring.
5237
5238 2013-07-06 Leo Liu <sdl.web@gmail.com>
5239
5240 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5241 (ido-enable-virtual-buffers): New variable.
5242 (ido-buffer-internal, ido-toggle-virtual-buffers)
5243 (ido-make-buffer-list): Use it.
5244 (ido-exhibit): Support turning on and off virtual buffers
5245 automatically.
5246
5247 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5248
5249 * simple.el (alternatives-define): New macro.
5250
5251 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 * subr.el (read-quoted-char): Use read-key.
5254 (sit-for): Let read-event decode tty input (bug#14782).
5255
5256 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5257
5258 * calendar/todo-mode.el: Add handling of file deletion, both by
5259 mode command and externally. Fix various related bugs.
5260 Clarify Commentary and improve some documentation strings and code.
5261 (todo-delete-file): New command.
5262 (todo-check-file): New function.
5263 (todo-show): Handle external deletion of the file we're trying to
5264 show (bug#14688). Replace called-interactively-p by an optional
5265 prefix argument to avoid problematic interaction with catch form
5266 when byte compiled (bug#14702).
5267 (todo-quit): Handle external deletion of the archive's todo file.
5268 Make sure the buffer that was visiting the archive file is still
5269 live before trying to bury it.
5270 (todo-category-completions): Handle external deletion of any
5271 category completion files.
5272 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5273 of todo files, in case of external deletion.
5274 (todo-add-file): Replace unnecessary setq by let-binding.
5275 (todo-find-archive): Check whether there are any archives.
5276 Replace unnecessary setq by let-binding.
5277 (todo-archive-done-item): Use find-file-noselect to get the
5278 archive buffer whether or not the archive already exists.
5279 Remove superfluous code. Use file size instead of buffer-file-name to
5280 check if the archive is new; if it is, update list of archives.
5281 (todo-default-todo-file): Allow nil to be a valid value for when
5282 there are no todo files.
5283 (todo-reevaluate-default-file-defcustom): Use corrected definition
5284 of todo-default-todo-file.
5285 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5286 (todo-delete-category, todo-show-categories-table)
5287 (todo-category-number): Clarify comment.
5288 (todo-filter-items): Clarify documentation string.
5289 (todo-show-current-file, todo-display-as-todo-file)
5290 (todo-reset-and-enable-done-separator): Tweak documentation string.
5291 (todo-done-separator): Make separator length window-width, since
5292 bug#2749 is now fixed.
5293
5294 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5295
5296 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5297 Support both "gvfs-monitor-dir" and "inotifywait".
5298 (tramp-sh-file-inotifywait-process-filter): Rename from
5299 `tramp-sh-file-notify-process-filter'.
5300 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5301 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5302
5303 2013-07-05 Leo Liu <sdl.web@gmail.com>
5304
5305 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5306
5307 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5308
5309 * frame.el (display-pixel-height, display-pixel-width)
5310 (display-mm-height, display-mm-width): Mention behavior on
5311 multi-monitor setups in docstrings.
5312 (w32-display-monitor-attributes-list): Declare function.
5313 (display-monitor-attributes-list): Use it.
5314
5315 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5316
5317 * filenotify.el: New package.
5318
5319 * autorevert.el (top): Require filenotify.el.
5320 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5321 instead.
5322 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5323 (auto-revert-notify-handler): Use `file-notify-*' functions.
5324
5325 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5326
5327 * net/tramp.el (tramp-file-name-for-operation):
5328 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5329
5330 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5331 for `file-notify-add-watch' and `file-notify-rm-watch'.
5332 (tramp-process-sentinel): Improve trace.
5333 (tramp-sh-handle-file-notify-add-watch)
5334 (tramp-sh-file-notify-process-filter)
5335 (tramp-sh-handle-file-notify-rm-watch)
5336 (tramp-get-remote-inotifywait): New defuns.
5337
5338 2013-07-03 Juri Linkov <juri@jurta.org>
5339
5340 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5341 call of `occur-read-primary-args' to interactive spec.
5342
5343 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5344 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5345
5346 2013-07-03 Matthias Meulien <orontee@gmail.com>
5347
5348 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5349 `Buffer-menu-multi-occur'. Add it to the menu.
5350 (Buffer-menu-mode): Document it in docstring.
5351 (Buffer-menu-multi-occur): New command. (Bug#14673)
5352
5353 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5354
5355 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5356 keywords and built-ins.
5357
5358 2013-07-03 Glenn Morris <rgm@gnu.org>
5359
5360 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5361
5362 Make info-xref checks case-sensitive by default
5363 * info.el (Info-find-node, Info-find-in-tag-table)
5364 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5365 Add option for exact case matching of nodes.
5366 * info-xref.el (info-xref): New custom group.
5367 (info-xref-case-fold): New option.
5368 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5369
5370 2013-07-03 Leo Liu <sdl.web@gmail.com>
5371
5372 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5373
5374 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5375
5376 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5377 middle of block statement initially, lower the depth. Remove
5378 FIXME comment, not longer valid. Remove middle of block statement
5379 detection, no need to do that anymore since we've been using
5380 `ruby-parse-region' here.
5381
5382 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5383
5384 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5385
5386 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5387
5388 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5389
5390 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5391
5392 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5393 (desktop-restore-in-current-display): New customization option.
5394 (desktop--excluded-frame-parameters): Add `font'.
5395 (desktop--save-frames): Rename from desktop--save-windows.
5396 (desktop--restore-in-this-display-p): New function.
5397 (desktop--make-full-frame): Remove unwanted width/height from
5398 full(width|height) frames.
5399 (desktop--restore-frames): Rename from desktop--restore-windows.
5400 Obey desktop-restore-current-display. Do not delete old frames or
5401 select a new frame unless we were able to restore at least one frame.
5402
5403 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5404
5405 * files.el (find-file-noselect): Simplify conditional expression.
5406
5407 * remember.el (remember-append-to-file):
5408 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5409
5410 Add `remember-notes' function to store random notes across Emacs
5411 restarts.
5412 * remember.el (remember-data-file): Add :set callback to affect
5413 notes buffer (if any).
5414 (remember-notes): New command.
5415 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5416 New defcustoms for the `remember-notes' function.
5417 (remember-notes-save-and-bury-buffer): New command.
5418 (remember-notes-mode-map): New variable.
5419 (remember-mode): New minor mode.
5420 (remember-notes--kill-buffer-query): New function.
5421 * startup.el (initial-buffer-choice): Add notes to custom type.
5422
5423 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5424
5425 * bindings.el (right-char, left-char): Don't call sit-for, this is
5426 no longer needed. Use arithmetic comparison only for numerical
5427 arguments.
5428
5429 * international/mule-cmds.el (select-safe-coding-system):
5430 Handle the case of FROM being a string correctly. (Bug#14755)
5431
5432 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5433
5434 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5435 progression on degenerate tables.
5436 (shr-rescale-image): ImageMagick animated images currently don't work.
5437
5438 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5439
5440 Some fixes and improvements for desktop frame restoration.
5441 It is still experimental and disabled by default.
5442 * desktop.el (desktop--save-windows): Put the selected frame at
5443 the head of the list.
5444 (desktop--make-full-frame): New function.
5445 (desktop--restore-windows): Try to re-select the frame that was
5446 selected upon saving. Do not abort if some frames fail to restore,
5447 just show an error message and continue. Set up maximized frames
5448 so they have default non-maximized dimensions.
5449
5450 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5451
5452 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5453 Don't start heredoc inside a string or comment.
5454
5455 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5456
5457 * bindings.el (visual-order-cursor-movement): New defcustom.
5458 (right-char, left-char): Provide visual-order cursor motion by
5459 calling move-point-visually. Update the doc strings.
5460
5461 2013-06-28 Kenichi Handa <handa@gnu.org>
5462
5463 * international/mule.el (define-coding-system): New coding system
5464 properties :inhibit-null-byte-detection,
5465 :inhibit-iso-escape-detection, and :prefer-utf-8.
5466 (set-buffer-file-coding-system): If :charset-list property of
5467 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5468 appropriate for setting.
5469
5470 * international/mule-cmds.el (select-safe-coding-system):
5471 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5472 multibyte characters, return utf-8 (or one of its siblings).
5473
5474 * international/mule-conf.el (prefer-utf-8): New coding system.
5475 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5476 files.
5477
5478 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5479
5480 * net/shr.el (shr-render-region): New function.
5481
5482 * net/eww.el: Autoload `eww-browse-url'.
5483
5484 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5485
5486 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5487 Adapt to `package-desc-version' being a list.
5488 Use `package--ac-desc-version' to retrieve version from a package
5489 archive element.
5490
5491 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5492
5493 New experimental feature to save&restore window and frame setup.
5494 * desktop.el (desktop-save-windows): New defcustom.
5495 (desktop--saved-states): New var.
5496 (desktop--excluded-frame-parameters): New defconst.
5497 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5498 (desktop--restore-windows, desktop--save-windows): New functions.
5499 (desktop-save): Call `desktop--save-windows'.
5500 (desktop-read): Call `desktop--restore-windows'.
5501
5502 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5503
5504 * net/shr.el (add-face-text-property): Remove compat definition.
5505
5506 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5507
5508 * info.el (Info-try-follow-nearest-node): Move search for footnote
5509 above search for node name to prevent missing a footnote (bug#14717).
5510
5511 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5512
5513 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5514
5515 2013-06-27 Leo Liu <sdl.web@gmail.com>
5516
5517 * net/eww.el (eww-read-bookmarks): Check file size.
5518
5519 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5522 advice--pending if newdef is nil or an autoload (bug#13820).
5523 (advice-mapc): New function.
5524
5525 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5526
5527 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5528 probably.
5529 (eww-mode-map): Add a menu bar.
5530 (eww-add-bookmark): New command.
5531 (eww-bookmark-mode): New mode and commands.
5532 (eww-add-bookmark): Remove newlines from the title.
5533 (eww-bookmark-browse): Don't bug out if it's the only window.
5534
5535 2013-06-26 Glenn Morris <rgm@gnu.org>
5536
5537 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5538 (hfy-size): Handle ttys. (Bug#14668)
5539
5540 * info-xref.el: Update for Texinfo 5 change in *note format.
5541 (info-xref-node-re, info-xref-note-re): New constants.
5542 (info-xref-check-buffer): Use info-xref-note-re.
5543
5544 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5547
5548 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5549 nil terminate the loop (bug#14718).
5550
5551 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5552
5553 * net/eww.el: Rework history traversal. When going forward/back,
5554 put these actions into the history, too, so that they can be
5555 replayed.
5556 (eww-render): Move the history reset to the correct buffer.
5557
5558 2013-06-25 Juri Linkov <juri@jurta.org>
5559
5560 * files-x.el (modify-dir-local-variable): Change the header comment
5561 in the file with directory local variables. (Bug#14692)
5562
5563 * files-x.el (read-file-local-variable-value): Add `default'.
5564 (Bug#14710)
5565
5566 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5567
5568 * net/eww.el (eww-make-unique-file-name): Create a unique file
5569 name before saving to entering `y' accidentally asynchronously.
5570
5571 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5572
5573 * net/eww.el (eww-download): New command and keystroke.
5574
5575 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5576
5577 * net/eww.el (eww-copy-page-url): Change name of command.
5578
5579 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5580 be more consistent with Info and dired.
5581
5582 * net/eww.el (eww-mode-map): Ditto.
5583
5584 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5587 packages from archives.
5588 (package-archive-contents): Change format; include obsolete packages.
5589 (package-desc): Use `dir' to mark builtin packages.
5590 (package--from-builtin): Set the `dir' field to `builtin'.
5591 (generated-autoload-file, version-control): Declare.
5592 (package-compute-transaction): Change first arg and return value to be
5593 lists of package-descs. Adjust to new package-archive-contents format.
5594 (package--add-to-archive-contents): Adjust to new
5595 package-archive-contents format.
5596 (package-download-transaction): Arg is now a list of package-descs.
5597 (package-install): If `pkg' is a package name, pass it as
5598 a requirement, so it is subject to the usual (e.g. disabled) checks.
5599 (describe-package): Accept package-desc as well.
5600 (describe-package-1): Describe a specific package-desc. Add links to
5601 other package-descs for the same package name.
5602 (package-menu-describe-package): Pass the actual package-desc.
5603 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5604 works correctly.
5605 (package-desc-status): New function.
5606 (package-menu--refresh): New function, extracted
5607 from package-menu--generate.
5608 (package-menu--generate): Use it.
5609 (package-delete): Update package-alist.
5610 (package-menu-execute): Don't call package-initialize.
5611
5612 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5613 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5614 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5615 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5616 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5617 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5618
5619 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5620
5621 * window.el (window--state-get-1): Workaround for bug#14527.
5622 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5623
5624 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5625
5626 * net/eww.el (eww-back-url): Implement the history by stashing all
5627 the data into a list.
5628 (eww-forward-url): Allow going forward in the history, too.
5629
5630 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5633 for values and use read--expression for expressions (bug#14710).
5634 (read-file-local-variable): Avoid setq.
5635 (read-file-local-variable-mode): Use minor-mode-list.
5636
5637 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5638
5639 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5640 for DOI URLs.
5641
5642 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5643
5644 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5645 Update imenu-support when dialect changes.
5646
5647 2013-06-25 Leo Liu <sdl.web@gmail.com>
5648
5649 * ido.el (ido-read-internal): Allow forward slash on windows.
5650
5651 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5652
5653 * net/eww.el (eww): Start of strings is \\`, not ^.
5654
5655 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5656
5657 * net/shr.el (shr-browse-url): Fix interactive spec.
5658
5659 * net/eww.el (eww): Add a trailing slash to domain names.
5660
5661 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5662
5663 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5664
5665 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5666
5667 * net/shr.el (shr-browse-url): Use an external browser if given a
5668 prefix.
5669
5670 * net/eww.el (eww-external-browser): Move to shr.
5671
5672 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5673
5674 * net/eww.el (eww): Work more correctly for file: URLs.
5675 (eww-detect-charset): Allow quoted charsets.
5676 (eww-yank-page-url): New command and keystroke.
5677
5678 2013-06-24 Daiki Ueno <ueno@gnu.org>
5679
5680 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5681 file name of gpg executable.
5682 (epg-context-program): New function.
5683 (epg-context-home-directory): New function.
5684 (epg-context-set-program): New function.
5685 (epg-context-set-home-directory): New function.
5686 (epg--start): Use `epg-context-program' instead of
5687 'epg-gpg-program'.
5688 (epg--list-keys-1): Likewise.
5689
5690 2013-06-24 Leo Liu <sdl.web@gmail.com>
5691
5692 * ido.el (ido-read-internal): Fix bug#14620.
5693
5694 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5695
5696 * faces.el (face-documentation): Simplify.
5697 (read-face-attribute, tty-find-type, x-resolve-font-name):
5698 Use `string-match-p'.
5699 (list-faces-display): Use `string-match-p'. Simplify.
5700 (face-spec-recalc): Check face to avoid face alias loops.
5701 (read-color): Use `string-match-p' and non-capturing parenthesis.
5702
5703 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5704
5705 * net/shr.el (shr-rescale-image): Use the new
5706 :max-width/:max-height functionality.
5707
5708 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5709
5710 * net/eww.el (eww-search-prefix): New variable.
5711 (eww): Use it.
5712 (eww-external-browser): New variable.
5713 (eww-mode-map): New keystroke.
5714 (eww-browse-with-external-browser): New command.
5715
5716 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5717
5718 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5719
5720 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5721 Don't skip aligning the next header field when padding is 0;
5722 otherwise, field width is not respected unless the title is as
5723 wide as the field.
5724
5725 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * emacs-lisp/package.el (package-el-version): Remove.
5728 (package-process-define-package): Fix inf-loop.
5729 (package-install): Allow symbols as arguments again.
5730
5731 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5732
5733 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5734 add some more keyword-like methods.
5735 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5736
5737 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5738
5739 * bs.el (bs-buffer-show-mark): Make defvar-local.
5740 (bs-mode): Use setq-local.
5741
5742 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5743 (emacs-lock--try-unlocking): Make defvar-local.
5744
5745 2013-06-22 Glenn Morris <rgm@gnu.org>
5746
5747 * play/cookie1.el (cookie-apropos): Minor simplification.
5748
5749 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5750
5751 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5752
5753 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5754 `regexp-opt', it breaks the build during dumping.
5755
5756 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5757
5758 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5759 Highlight keyword-like methods on Kernel and Module with
5760 font-lock-builtin-face.
5761 (auto-mode-alist): Consolidate different entries into one regexp
5762 and add more *file-s.
5763
5764 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5765
5766 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5767
5768 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5769 (diary-entry): Use it in the action of this button type instead of
5770 diary-goto-entry.
5771
5772 * calendar/todo-mode.el: New version.
5773 (todo-add-category): Append new category to end of file and give
5774 it the highest number, instead of putting it at the beginning and
5775 giving it 0. Incorporate noninteractive functionality.
5776 (todo-forward-category): Adapt to 1-based category numbering.
5777 Allow skipping over archived categories.
5778 (todo-backward-category): Derive from todo-forward-category.
5779 (todo-backward-item, todo-forward-item): Make noninteractive and
5780 delegate interactive part to new commands. Make sensitive to done items.
5781 (todo-categories): Make value an alist of category names and
5782 vectors of item counts.
5783 (todo-category-beg): Make a defconst.
5784 (todo-category-number): Use 1 instead of 0 as initial value.
5785 (todo-category-select): Make sensitive to overlays, optional item
5786 highlighting and done items.
5787 (todo-delete-item): Make sensitive to overlays and marked and done items.
5788 (todo-edit-item): Make sensitive to overlays and editing of
5789 date/time header optional. Add format checks.
5790 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5791 no-op if point is not on an item. Advertise using todo-edit-quit.
5792 (todo-edit-mode): Make sensitive to new format, font-locking, and
5793 multiple todo files.
5794 (todo-insert-item, todo-insert-item-here): Derive from
5795 todo-basic-insert-item and extend functionality.
5796 (todo-item-end, todo-item-start): Make sensitive to done items.
5797 (todo-item-string): Don't return text properties. Restore point.
5798 (todo-jump-to-category): Make sensitive to multiple todo files and
5799 todo archives. Use extended category completion.
5800 (todo-lower-item, todo-raise-item): Rename to *-priority and
5801 derive from todo-set-item-priority.
5802 (todo-mode): Derive from special-mode. Make sensitive to new
5803 format, font-locking and multiple todo files. Make read-only.
5804 (todo-mode-map): Don't suppress digit keys, so they can supply
5805 prefix arguments. Add many new key bindings.
5806 (todo-prefix): Insert as an overlay instead of file text.
5807 Change semantics from diary date expression to purely visual mark.
5808 (todo-print): Rename to todo-print-buffer. Make buffer display
5809 features printable. Remove option to restrict number of items
5810 printed. Add option to print to file.
5811 (todo-print-function): Rename to todo-print-buffer-function.
5812 (todo-quit): Extend to handle exiting new todo modes.
5813 (todo-remove-item): Make sensitive to overlays.
5814 (todo-save): Extend to buffers of filtered items.
5815 (todo-show): Make sensitive to done items, multiple todo files and
5816 new todo modes. Offer to convert legacy todo file before creating
5817 first new todo file.
5818 (todo-show-priorities): Rename to todo-top-priorities.
5819 Change semantics of value 0.
5820 (todo-top-priorities): Rename to todo-filter-top-priorities,
5821 derive from todo-filter-items and extend functionality.
5822 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5823 and extend functionality to other types of filtered items.
5824 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5825 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5826 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5827 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5828 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5829 (todo-edit-mode-hook, todo-entry-prefix-function)
5830 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5831 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5832 (todo-initials, todo-insert-threshold, todo-item-string-start)
5833 (todo-line-string, todo-menu, todo-mode-hook)
5834 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5835 (todo-print-priorities, todo-remove-separator)
5836 (todo-save-top-priorities-too, todo-string-count-lines)
5837 (todo-string-multiline-p, todo-time-string-format)
5838 (todo-tmp-buffer-name): Remove.
5839 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5840 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5841 (todo-edit-category-diary-inclusion)
5842 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5843 (todo-edit-file, todo-edit-item-date-day)
5844 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5845 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5846 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5847 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5848 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5849 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5850 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5851 (todo-filter-top-priorities-multifile, todo-find-archive)
5852 (todo-find-filtered-items-file, todo-go-to-source-item)
5853 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5854 (todo-jump-to-archive-category, todo-lower-category)
5855 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5856 (todo-move-category, todo-move-item, todo-next-button)
5857 (todo-next-item, todo-padded-string, todo-powerset)
5858 (todo-previous-button, todo-previous-item)
5859 (todo-print-buffer-to-file, todo-raise-category)
5860 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5861 (todo-set-category-number, todo-set-item-priority)
5862 (todo-set-top-priorities-in-category)
5863 (todo-set-top-priorities-in-file, todo-show-categories-table)
5864 (todo-sort-categories-alphabetically-or-numerically)
5865 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5866 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5867 (todo-toggle-item-header, todo-toggle-item-highlighting)
5868 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5869 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5870 (todo-unarchive-items, todo-unmark-category): New commands.
5871 (todo-absolute-file-name, todo-add-to-buffer-list)
5872 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5873 (todo-basic-insert-item, todo-category-completions)
5874 (todo-category-number, todo-category-string-matcher-1)
5875 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5876 (todo-check-format, todo-clear-matches)
5877 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5878 (todo-current-category, todo-date-string-matcher)
5879 (todo-define-insertion-command, todo-diary-expired-matcher)
5880 (todo-diary-goto-entry, todo-diary-item-p)
5881 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5882 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5883 (todo-done-item-section-p, todo-done-separator)
5884 (todo-done-string-matcher, todo-files, todo-filter-items)
5885 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5886 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5887 (todo-insert-category-line, todo-insert-item-from-calendar)
5888 (todo-insert-sort-button, todo-insert-with-overlays)
5889 (todo-insertion-command-name, todo-insertion-key-bindings)
5890 (todo-label-to-key, todo-longest-category-name-length)
5891 (todo-make-categories-list, todo-mode-external-set)
5892 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5893 (todo-modes-set-3, todo-multiple-filter-files)
5894 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5895 (todo-read-category, todo-read-date, todo-read-dayname)
5896 (todo-read-file-name, todo-read-time)
5897 (todo-reevaluate-category-completions-files-defcustom)
5898 (todo-reevaluate-default-file-defcustom)
5899 (todo-reevaluate-filelist-defcustoms)
5900 (todo-reevaluate-filter-files-defcustom)
5901 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5902 (todo-reset-done-separator, todo-reset-done-separator-string)
5903 (todo-reset-done-string, todo-reset-global-current-todo-file)
5904 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5905 (todo-reset-prefix, todo-set-categories)
5906 (todo-set-date-from-calendar, todo-set-show-current-file)
5907 (todo-set-top-priorities, todo-short-file-name)
5908 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5909 (todo-total-item-counts, todo-update-buffer-list)
5910 (todo-update-categories-display, todo-update-categories-sexp)
5911 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5912 New functions.
5913 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5914 New major modes.
5915 (todo-categories, todo-display, todo-edit, todo-faces)
5916 (todo-filtered): New defgroups.
5917 (todo-archived-only, todo-button, todo-category-string, todo-date)
5918 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5919 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5920 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5921 (todo-add-item-if-new-category, todo-always-add-time-string)
5922 (todo-categories-align, todo-categories-archived-label)
5923 (todo-categories-category-label, todo-categories-diary-label)
5924 (todo-categories-done-label, todo-categories-number-separator)
5925 (todo-categories-todo-label, todo-categories-totals-label)
5926 (todo-category-completions-files, todo-completion-ignore-case)
5927 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5928 (todo-done-separator-string, todo-done-string)
5929 (todo-files-function, todo-filter-done-items, todo-filter-files)
5930 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5931 (todo-initial-category, todo-initial-file, todo-item-mark)
5932 (todo-legacy-date-time-regexp, todo-mode-line-function)
5933 (todo-nondiary-marker, todo-number-prefix)
5934 (todo-print-buffer-function, todo-show-current-file)
5935 (todo-show-done-only, todo-show-first, todo-show-with-done)
5936 (todo-skip-archived-categories, todo-top-priorities-overrides)
5937 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5938 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5939 New defcustoms.
5940 (todo-category-done, todo-date-pattern, todo-date-string-start)
5941 (todo-diary-items-buffer, todo-done-string-start)
5942 (todo-filtered-items-buffer, todo-item-start)
5943 (todo-month-abbrev-array, todo-month-name-array)
5944 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5945 (todo-top-priorities-buffer): New defconsts.
5946 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5947 (todo-categories-with-marks, todo-category-string-face)
5948 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5949 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5950 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5951 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5952 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5953 (todo-font-lock-keywords, todo-global-current-todo-file)
5954 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5955 (todo-insertion-commands-args)
5956 (todo-insertion-commands-args-genlist)
5957 (todo-insertion-commands-names, todo-insertion-map)
5958 (todo-key-bindings-t, todo-key-bindings-t+a)
5959 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5960 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5961 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5962 (todo-visited): New variables.
5963
5964 2013-06-21 Glenn Morris <rgm@gnu.org>
5965
5966 * play/cookie1.el (cookie-apropos): Add optional display argument.
5967 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5968 (psychoanalyze-pinhead): Use cookie-doctor.
5969
5970 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5971
5972 * emacs-lisp/package.el (tar-get-file-descriptor)
5973 (tar--extract): Declare.
5974
5975 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5976
5977 Extend flymake's warning predicate to be a function (bug#14217).
5978 * progmodes/flymake.el (flymake-warning-predicate): New.
5979 (flymake-parse-line): Use it.
5980 (flymake-warning-re): Make obsolete alias to
5981 `flymake-warning-predicate'.
5982
5983 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5984
5985 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5986 (package-obsolete-list): Remove.
5987 (package-activate): Remove min-version argument. Add `force' argument.
5988 Adjust to new package-alist format.
5989 (package-mark-obsolete): Remove.
5990 (package-unpack): Force reload of the package's autoloads.
5991 (package-installed-p): Check builtins if the installed package is not
5992 recent enough.
5993 (package-initialize): Don't reset package-obsolete-list.
5994 Don't specify which package version to activate.
5995 (package-process-define-package, describe-package-1)
5996 (package-menu--generate): Adjust to new package-alist format.
5997
5998 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5999
6000 * allout-widgets.el (allout-widgets-mode-off)
6001 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6002 (allout-widgets-post-command-business)
6003 (allout-widgets-after-copy-or-kill-function)
6004 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6005 (allout-decorate-item-and-context)
6006 (allout-graphics-modification-handler): Fix typos in docstrings.
6007 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6008
6009 * cmuscheme.el (scheme-start-file): Doc fix.
6010 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6011 (scheme-input-filter): Use `string-match-p'.
6012
6013 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6014
6015 * dired-x.el: Use Dired consistently in docstrings.
6016
6017 * dired.el: Use Dired consistently in docstrings.
6018 (dired-readin, dired-mode): Use `setq-local'.
6019 (dired-switches-alist): Make defvar-local.
6020 (dired-buffers-for-dir): Use `zerop'.
6021 (dired-safe-switches-p, dired-switches-escape-p)
6022 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6023 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6024 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6025 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6026 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6027 (dired-toggle-marks, dired-mark-files-containing-regexp)
6028 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6029 (dired-flag-auto-save-files, dired-flag-backup-files):
6030 Use `looking-at-p'.
6031 (dired-mark-files-regexp, dired-build-subdir-alist):
6032 Use `string-match-p', `looking-at-p'.
6033
6034 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6035 (direct-print-region-helper): Use `string-match-p'.
6036
6037 2013-06-21 Leo Liu <sdl.web@gmail.com>
6038
6039 * comint.el (comint-redirect-results-list-from-process):
6040 Fix infinite loop.
6041
6042 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6043
6044 * net/eww.el (eww-update-header-line-format): Quote % characters.
6045
6046 2013-06-21 Glenn Morris <rgm@gnu.org>
6047
6048 * play/cookie1.el (cookie): New custom group.
6049 (cookie-file): New option.
6050 (cookie-check-file): New function.
6051 (cookie): Make it interactive. Make start and end messages optional.
6052 Interactively, display the result. Default to cookie-file.
6053 (cookie-insert): Default to cookie-file.
6054 (cookie-snarf): Make start and end messages optional.
6055 Default to cookie-file. Use with-temp-buffer.
6056 (cookie-read): Rename from read-cookie.
6057 Make start and end messages optional. Default to cookie-file.
6058 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6059 Do not autoload it.
6060 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6061 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6062
6063 2013-06-21 Leo Liu <sdl.web@gmail.com>
6064
6065 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6066
6067 2013-06-21 Glenn Morris <rgm@gnu.org>
6068
6069 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6070
6071 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6072 Daniel Hackney <dan@haxney.org>
6073
6074 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6075 Consolidate the single-file vs tarball code.
6076 (package-desc-suffix): New function.
6077 (package-desc-full-name): Don't bother inlining it.
6078 (package-load-descriptor): Return the new package-desc.
6079 (package-mark-obsolete): Remove unused arg `package'.
6080 (package-unpack): Make it work for single files as well.
6081 Make it update package-alist.
6082 (package--make-autoloads-and-stuff): Rename from
6083 package--make-autoloads-and-compile. Don't compile any more.
6084 (package--compile): New function.
6085 (package-generate-description-file): New function, extracted from
6086 package-unpack-single.
6087 (package-unpack-single): Remove.
6088 (package--with-work-buffer): Add indentation and debugging info.
6089 (package-download-single): Remove.
6090 (package-install-from-archive): Rename from package-download-tar, make
6091 it take a pkg-desc, and make it work for single files as well.
6092 (package-download-transaction): Simplify.
6093 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6094 external tar program.
6095 (package-install-from-buffer): Remove `pkg-desc' argument.
6096 Use package-tar-file-info for tar-mode buffers.
6097 (package-install-file): Simplify accordingly.
6098 (package-archive-base): Change to take a pkg-desc.
6099 * tar-mode.el (tar--check-descriptor): New function, extracted from
6100 tar-get-descriptor.
6101 (tar-get-descriptor): Use it.
6102 (tar-get-file-descriptor): New function.
6103 (tar--extract): New function, extracted from tar-extract.
6104 (tar--extract): Use it.
6105 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6106 case the summary uses non-ascii. Adjust to new calling convention of
6107 package-tar-file-info.
6108
6109 2013-06-21 Leo Liu <sdl.web@gmail.com>
6110
6111 * comint.el (comint-redirect-results-list-from-process):
6112 Fix random delay. (Bug#14681)
6113
6114 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6115
6116 * profiler.el (profiler-format-number): Use log, not log10.
6117
6118 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6119
6120 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6121
6122 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6123
6124 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6125 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6126 yet available.
6127 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6128 (AUTOGENEL): ... here.
6129 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6130 (cl--defsubst-expand): Use it.
6131
6132 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6133
6134 * subr.el (log10): Move here from C code, and declare as obsolete.
6135 All uses of (log10 X) replaced with (log X 10).
6136
6137 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6138
6139 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6140 Declare with `defvar-local'.
6141 (tabulated-list-use-header-line, tabulated-list-entries)
6142 (tabulated-list-padding, tabulated-list-printer)
6143 (tabulated-list-sort-key): Declare with `defvar-local'.
6144 (tabulated-list-init-header, tabulated-list-print-fake-header):
6145 Use `setq-local'.
6146
6147 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6148
6149 * arc-mode.el (archive-mode): Add `archive-write-file' to
6150 `write-contents-functions' also for remote files. (Bug#14652)
6151
6152 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6153
6154 * cus-edit.el (custom-commands): Fix typos.
6155 (custom-display): Fix tooltip text.
6156 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6157 Fix typos in docstrings.
6158 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6159 (custom-unlispify-menu-entry, custom-magic-value-create)
6160 (custom-add-see-also, custom-group-value-create): Use ?\s.
6161 (custom-guess-type, customize-apropos, editable-field)
6162 (custom-face-value-create): Use `string-match-p'.
6163 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6164
6165 * custom.el (custom-load-symbol): Use `string-match-p'.
6166
6167 * ansi-color.el: Convert to lexical binding.
6168 (ansi-colors): Fix URL.
6169 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6170 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6171 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6172
6173 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6174
6175 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6176
6177 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6178
6179 2013-06-19 Tom Tromey <tromey@redhat.com>
6180
6181 * net/eww.el (eww-top-url): Remove.
6182 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6183 (eww-render): Set new variables. Don't set eww-top-url.
6184 (eww-handle-link): Handle "prev", "home", and "contents".
6185 Downcase the rel text.
6186 (eww-top-url): Choose best top URL.
6187
6188 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6189
6190 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6191 relying in widget.el. Using widget.el leads to too many
6192 user interface inconsistencies.
6193 (eww-self-insert): Implement entering commands in text fields.
6194 (eww-process-text-input): New function to make text input field editing
6195 work.
6196 (eww-submit): Rewrite to use the new-style form methods.
6197 (eww-select-display): Display the correct selected item.
6198 (eww-change-select): Implement changing the select value.
6199 (eww-toggle-checkbox): Implement radio/checkboxes.
6200 (eww-update-field): Fix compilation error.
6201 (eww-tag-textarea): Implement <textarea>.
6202
6203 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6204 we don't shadow mode-specific bindings.
6205
6206 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6207 nothing to push.
6208
6209 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6210
6211 2013-06-19 Glenn Morris <rgm@gnu.org>
6212
6213 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6214
6215 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6216
6217 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6218 not needed.
6219
6220 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6221
6222 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6223
6224 * net/browse-url.el (browse-url-browser-function):
6225 `eww-browse-url' has the right calling signature, `eww' does not.
6226
6227 2013-06-19 Glenn Morris <rgm@gnu.org>
6228
6229 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6230 Only eval autoloaded macros.
6231 (byte-compile-autoload): Only give the macro warning for macros.
6232
6233 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6234 (ps-underlined-faces): Declare.
6235
6236 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6237 (speedbar-add-supported-extension): Declare.
6238
6239 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6240 Don't include a date stamp in the header of the generated file;
6241 it leads to needless differences between output files.
6242
6243 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6244
6245 * net/secrets.el (secrets-struct-secret-content-type):
6246 Replace check of introspection data by a test call of "CreateItem".
6247 Some servers do not offer introspection.
6248
6249 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * electric.el (electric-pair-mode): Improve interaction with
6252 electric-layout-mode.
6253 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6254 (electric-pair-syntax): Use text-mode-syntax-table in comments
6255 and strings.
6256 (electric-pair--insert): New function.
6257 (electric-pair-post-self-insert-function): Use it and
6258 electric--after-char-pos.
6259
6260 2013-06-19 Leo Liu <sdl.web@gmail.com>
6261
6262 * progmodes/octave.el (octave-help): Fix regexp.
6263
6264 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6265
6266 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6267 (shr-table-horizontal-line): Allow nil as a value, and change the
6268 default.
6269 (shr-insert-table-ruler): Respect the nil value.
6270
6271 2013-06-18 Tom Tromey <tromey@barimba>
6272
6273 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6274 New defvars.
6275 (eww-open-file): New defun.
6276 (eww-render): Initialize new variables.
6277 (eww-display-html): Handle "link" and "a".
6278 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6279 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6280 (eww-back-url): Rename from eww-previous-url.
6281 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6282 New defuns.
6283
6284 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6285
6286 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6287 Distinguish ternary operator tokens from slash symbol and slash
6288 char literal.
6289
6290 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6291
6292 Convert symbol prettification into minor mode and global minor mode.
6293
6294 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6295 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6296 (prettify-symbols--keywords): Rename from
6297 `prog-prettify-symbols-alist' and make a local defvar.
6298 (prettify-symbols--compose-symbol): Rename from
6299 `prog--prettify-font-lock-compose-symbol'.
6300 (prettify-symbols--make-keywords): Rename from
6301 `prog-prettify-font-lock-symbols-keywords' and simplify.
6302 (prog-prettify-install): Remove.
6303 (prettify-symbols-mode): New minor mode, based on
6304 `prog-prettify-install'.
6305 (turn-on-prettify-symbols-mode): New function.
6306 (global-prettify-symbols-mode): New globalized minor mode.
6307
6308 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6309 * progmodes/cfengine.el (cfengine3-mode):
6310 * progmodes/perl-mode.el (perl-mode): Don't call
6311 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6312
6313 2013-06-18 Juri Linkov <juri@jurta.org>
6314
6315 * files-x.el (modify-file-local-variable-message): New function.
6316 (modify-file-local-variable)
6317 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6318 and call `modify-file-local-variable-message' when it's non-nil.
6319 (add-file-local-variable, delete-file-local-variable)
6320 (add-file-local-variable-prop-line)
6321 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6322 and use it. (Bug#9820)
6323
6324 2013-06-18 Juri Linkov <juri@jurta.org>
6325
6326 * emulation/vi.el (vi-shell-op):
6327 * emulation/vip.el (vip-execute-com, ex-command):
6328 * emulation/viper-cmd.el (viper-exec-bang):
6329 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6330 the call of `shell-command-on-region'. (Bug#14637)
6331
6332 * simple.el (shell-command-on-region): Doc fix.
6333
6334 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6335
6336 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6337 (bug#14633).
6338
6339 2013-06-18 Glenn Morris <rgm@gnu.org>
6340
6341 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6342
6343 * newcomment.el (comment-search-forward, comment-search-backward):
6344 Doc fix. (Bug#14376)
6345
6346 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6347
6348 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6349 (buffer-face-mode-invoke): Doc fix.
6350
6351 2013-06-18 Matthias Meulien <orontee@gmail.com>
6352
6353 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6354 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6355
6356 2013-06-18 Glenn Morris <rgm@gnu.org>
6357
6358 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6359 Replace obsolete function generic-make-keywords with its expansion.
6360
6361 * progmodes/python.el (ffap-alist): Declare.
6362
6363 * textmodes/reftex.el (bibtex-mode-map): Declare.
6364
6365 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6368 (package-unpack, package-unpack-single): Return the pkg-dir.
6369 (package-download-transaction): Use it to update package-alist.
6370
6371 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6372
6373 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6374 possible choice.
6375
6376 2013-06-17 Juri Linkov <juri@jurta.org>
6377
6378 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6379
6380 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6381
6382 * emacs-lisp/package.el (package-load-descriptor):
6383 Remove `with-syntax-table' call, `read' doesn't need it.
6384 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6385
6386 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6387
6388 * startup.el (command-line): Expand package name returned by
6389 `package--description-file' (bug#14639).
6390
6391 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6392
6393 * emacs-lisp/package.el (package-load-descriptor): Do not call
6394 `emacs-lisp-mode', just use its syntax table.
6395
6396 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6397
6398 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6399 `font-lock-extra-managed-props' if any prettifying keyword is added.
6400 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6401 (prog-mode): Use `setq-local'.
6402
6403 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * international/characters.el (standard-case-table): Set syntax of ?»
6406 and ?« to punctuation.
6407
6408 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6409
6410 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6411 Save relevant match data before calling `syntax-ppss' (bug#14595).
6412
6413 2013-06-15 Juri Linkov <juri@jurta.org>
6414
6415 * files-x.el (modify-file-local-variable-prop-line): Add local
6416 variables to the end of the existing comment on the first line.
6417 Use `file-auto-mode-skip' to skip interpreter magic line,
6418 and also skip XML declaration.
6419
6420 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * startup.el (package--builtin-versions): New var.
6423 (package-subdirectory-regexp): Remove.
6424 (package--description-file): Hard code its value instead.
6425
6426 * emacs-lisp/package.el: Don't activate packages older than builtin.
6427 (package-obsolete-list): Rename from package-obsolete-alist, and make
6428 it into a simple list of package-desc.
6429 (package-strip-version): Remove.
6430 (package-built-in-p): Use package--builtin-versions.
6431 (package-mark-obsolete): Simplify.
6432 (package-process-define-package): Mark it obsolete if older than the
6433 builtin version.
6434 (package-handle-response): Use line-end-position.
6435 (package-read-archive-contents, package--download-one-archive):
6436 Simplify.
6437 (package--add-to-archive-contents): Skip if older than the builtin or
6438 installed version.
6439 (package-menu-describe-package): Fix last change.
6440 (package-list-unversioned): New var.
6441 (package-menu--generate): Use it.
6442
6443 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6444 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6445 (autoload-builtin-package-versions): New variable.
6446 (autoload-generate-file-autoloads): Use them.
6447 Remove the list of autoloaded functions/macros from the
6448 (autoload...) comments.
6449
6450 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6451
6452 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6453
6454 * simple.el (line-move-partial): Don't jump to the next screen
6455 line as soon as it becomes visible. Instead, continue enlarging
6456 the vscroll until the portion of a tall screen line that's left on
6457 display is about the height of the frame's default font.
6458 (Bug#14567)
6459
6460 2013-06-15 Glenn Morris <rgm@gnu.org>
6461
6462 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6463 compilation-error-regexp-alist void, or local while let-bound.
6464
6465 * progmodes/make-mode.el (makefile-mode-syntax-table):
6466 Treat "=" as punctuation. (Bug#14614)
6467
6468 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6469
6470 * help-fns.el (describe-variable):
6471 Add extra line for permanent-local variables.
6472
6473 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6474
6475 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6476 Add export, import, library. (Bug#9164)
6477 (library): Set indent function.
6478
6479 2013-06-14 Glenn Morris <rgm@gnu.org>
6480
6481 * term/xterm.el (xterm--query):
6482 Stop after first matching handler. (Bug#14615)
6483
6484 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6485
6486 Add support for dired in saveplace.
6487 * dired.el (dired-initial-position-hook): New variable.
6488 (dired-initial-position): Call hook to place cursor position.
6489 * saveplace.el (save-place-to-alist): Add dired position.
6490 (save-place-dired-hook): New function.
6491
6492 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6495 through a symbol rather than letrec.
6496
6497 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6498 (package-desc): Add `dir' field.
6499 (package-desc-full-name): New function.
6500 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6501 (package-maybe-load-descriptor): Remove.
6502 (package-load-all-descriptors): Just call package-load-descriptor.
6503 (package--disabled-p): New function.
6504 (package-desc-vers, package-desc-doc): Remove aliases.
6505 (package--dir): Remove function.
6506 (package-activate): Check if a package is disabled.
6507 (package-process-define-package): New function, extracted from
6508 define-package.
6509 (define-package): Turn into a place holder.
6510 (package-unpack-single, package-tar-file-info):
6511 Use package--description-file.
6512 (package-compute-transaction): Use package--disabled-p.
6513 (package-download-transaction): Don't call
6514 package-maybe-load-descriptor since they're all loaded anyway.
6515 (package-install): Change argument to be a pkg-desc.
6516 (package-delete): Use a single pkg-desc argument.
6517 (describe-package-1): Use package-desc-dir instead of package--dir.
6518 Use package-desc property instead of package-symbol.
6519 (package-install-button-action): Adjust accordingly.
6520 (package--push): Rewrite.
6521 (package-menu--print-info): Adjust accordingly. Change the ID format
6522 to be a pkg-desc.
6523 (package-menu-describe-package, package-menu-get-status)
6524 (package-menu--find-upgrades, package-menu-mark-upgrades)
6525 (package-menu-execute, package-menu--name-predicate):
6526 Adjust accordingly.
6527 * startup.el (package--description-file): New function.
6528 (command-line): Use it.
6529 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6530 Use package-desc-version.
6531
6532 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6533 (byte-compile-preprocess): Use it.
6534 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6535 can't quite recognize.
6536 (byte-compile-add-to-list): Remove.
6537 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6538 (cconv-closure-convert): Add assertion.
6539
6540 * emacs-lisp/map-ynp.el: Use lexical-binding.
6541 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6542 Factor out some repeated code.
6543
6544 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * subr.el (with-eval-after-load): New macro.
6547 (eval-after-load): Allow form to be a function.
6548 take advantage of lexical-binding.
6549 (do-after-load-evaluation): Use dolist and adjust to new format.
6550 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6551
6552 2013-06-13 Juri Linkov <juri@jurta.org>
6553
6554 * replace.el (perform-replace): Display "symbol " and other search
6555 modes from `isearch-message-prefix' in the *Help* buffer.
6556
6557 * isearch.el (isearch-query-replace): Add " symbol" and other
6558 possible search modes from `isearch-message-prefix' to the prompt.
6559 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6560 when reading a regexp to collect.
6561
6562 2013-06-13 Juri Linkov <juri@jurta.org>
6563
6564 * isearch.el (word-search-regexp): Match whitespace if the search
6565 string begins or ends in whitespace. The LAX arg is applied to
6566 both ends of the search string. Use `regexp-quote' and explicit
6567 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6568 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6569 boundaries are replaced with symbol boundaries, and characters
6570 between symbols match non-word non-symbol syntax. (Bug#14602)
6571
6572 2013-06-13 Juri Linkov <juri@jurta.org>
6573
6574 * isearch.el (isearch-del-char): Don't exceed the length of
6575 `isearch-string' by the prefix arg. (Bug#14563)
6576
6577 2013-06-13 Juri Linkov <juri@jurta.org>
6578
6579 * isearch.el (isearch-yank-word, isearch-yank-line)
6580 (isearch-char-by-name, isearch-quote-char)
6581 (isearch-printing-char, isearch-process-search-char):
6582 Add optional count prefix arg. (Bug#14563)
6583
6584 * international/isearch-x.el
6585 (isearch-process-search-multibyte-characters):
6586 Add optional count prefix arg.
6587
6588 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6591 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6592 lexical-binding.
6593
6594 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6595
6596 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6597
6598 2013-06-13 Glenn Morris <rgm@gnu.org>
6599
6600 * startup.el (tty-handle-args):
6601 Don't just discard "--" and anything after. (Bug#14608)
6602
6603 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6604
6605 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6606
6607 Implement changes in Secret Service API. Make it backward compatible.
6608 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6609 (secrets-create-item): Use it. Prefix properties with interface.
6610
6611 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6612
6613 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6614 (term-emulate-terminal): Respect term-suppress-hard-newline.
6615
6616 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6617
6618 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6619 Only remove a `thumb-file' overlay. (Bug#14548)
6620
6621 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6622
6623 * mail/reporter.el (reporter-submit-bug-report):
6624 Handle missing package-name. (Bug#14600)
6625
6626 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6627
6628 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6629 (reftex-citation-prompt, reftex-default-bibliography)
6630 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6631 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6632 (reftex-bib-sort-author, reftex-bib-sort-year)
6633 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6634 (reftex-extract-bib-entries-from-thebibliography)
6635 (reftex-get-bibkey-default, reftex-get-bib-names)
6636 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6637 (reftex-format-bib-entry, reftex-parse-bibitem)
6638 (reftex-format-bibitem, reftex-do-citation)
6639 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6640 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6641 (reftex-insert-bib-matches, reftex-format-citation)
6642 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6643 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6644 existing comments into docstrings.
6645
6646 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6647
6648 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6649
6650 2013-06-12 Andreas Schwab <schwab@suse.de>
6651
6652 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6653 for auto-save files.
6654
6655 2013-06-12 Glenn Morris <rgm@gnu.org>
6656
6657 * ido.el (ido-delete-ignored-files): Remove.
6658 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6659 Go back to calling ido-ignore-item-p directly.
6660
6661 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6662
6663 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6664
6665 * ido.el (ido-delete-ignored-files): New function,
6666 split from ido-make-file-list-1.
6667 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6668 (ido-make-file-list-1): Use ido-delete-ignored-files.
6669
6670 2013-06-12 Leo Liu <sdl.web@gmail.com>
6671
6672 * progmodes/octave.el (inferior-octave-startup)
6673 (inferior-octave-completion-table)
6674 (inferior-octave-track-window-width-change)
6675 (octave-eldoc-function-signatures, octave-help)
6676 (octave-find-definition): Use single quoted strings.
6677 (inferior-octave-startup-args): Change default value.
6678 (inferior-octave-startup): Do not hard code "-i" and
6679 "--no-line-editing".
6680 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6681 (inferior-octave-directory-tracker): Use it.
6682 (octave-goto-function-definition): Robustify.
6683 (octave-help): Support highlighting operators in 'See also'.
6684 (octave-find-definition): Find subfunctions only in Octave mode.
6685
6686 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * help-fns.el (help-fns--compiler-macro): If the handler function is
6689 named, then put a link to it.
6690 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6691 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6692 (cl-typep): Use it.
6693 (cl-eval-when): Simplify debug spec.
6694 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6695 compiler-macro function instead of setting `compiler-macro-file'.
6696
6697 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6698
6699 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6700 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6701
6702 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6703 Daniel Hackney <dan@haxney.org>
6704
6705 First part of Daniel Hackney's patch to package.el.
6706 * emacs-lisp/package.el: Use defstruct.
6707 (package-desc): New, main struct.
6708 (package--bi-desc, package--ac-desc): New structs, used to describe the
6709 format in external files.
6710 (package-desc-vers): Replace with package-desc-version accessor.
6711 (package-desc-doc): Replace with package-desc-summary accessor.
6712 (package-activate-1): Remove `package' arg since the pkg-vec now
6713 includes the name.
6714 (define-package): Use package-desc-from-define.
6715 (package-unpack-single): Change file-name arg to be a symbol.
6716 (package--add-to-archive-contents): Use package-desc-create and new
6717 accessor functions to package--ac-desc.
6718 (package-buffer-info, package-tar-file-info): Return a package-desc.
6719 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6720 arg to be a package-desc.
6721 (package-install-file): Adjust accordingly. Use \' to match EOS.
6722 (package--from-builtin): New function.
6723 (describe-package-1, package-menu--generate): Use it.
6724 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6725 (package-generate-autoloads): Idem and return the name of the file.
6726 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6727 Change pkg-info arg to be a package-desc.
6728 Use package-make-ac-desc.
6729 (package-upload-file): Use \' to match EOS.
6730 * finder.el (finder-compile-keywords): Use package-make-builtin.
6731
6732 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 * vc/vc.el (vc-deduce-fileset): Change error message.
6735 (vc-read-backend): New function.
6736 (vc-next-action): Use it.
6737
6738 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6739
6740 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6741 (prolog-font-lock-keywords): Use regexp-opt instead.
6742 Don't manually highlight strings.
6743 (prolog-mode-variables): Simplify comment-start-skip.
6744 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6745
6746 * emacs-lisp/generic.el (generic--normalise-comments)
6747 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6748 (generic-mode-set-comments): Use them.
6749 (generic-bracket-support): Use setq-local.
6750 (generic-make-keywords-list): Declare obsolete.
6751
6752 2013-06-11 Glenn Morris <rgm@gnu.org>
6753
6754 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6755 Prettify after setting font-lock-defaults. (Bug#14574)
6756
6757 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6758
6759 * replace.el (query-replace, occur-read-regexp-defaults-function)
6760 (replace-search):
6761 * subr.el (declare-function, number-sequence, local-set-key)
6762 (substitute-key-definition, locate-user-emacs-file)
6763 (with-silent-modifications, split-string, eval-after-load):
6764 Fix typos, remove unneeded backslashes and reflow some docstrings.
6765
6766 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6769 default for Elisp files.
6770
6771 2013-06-11 Glenn Morris <rgm@gnu.org>
6772
6773 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6774 although define-derived-mode was doing this anyway. (Bug#14583)
6775
6776 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6777
6778 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6779 Fix make-variable-buffer-local call to refer to the correct variable.
6780
6781 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6782
6783 * eshell/em-term.el (eshell-visual-commands)
6784 (eshell-visual-subcommands, eshell-visual-options):
6785 Add summary line to docstrings. Add cross-references.
6786
6787 2013-06-10 Glenn Morris <rgm@gnu.org>
6788
6789 * epa.el (epa-read-file-name): New function. (Bug#14510)
6790 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6791
6792 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6793
6794 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6795 output redirection to be ignored with visual commands.
6796
6797 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6798
6799 * eshell/em-term.el (eshell-visual-command-p): New function.
6800 (eshell-term-initialize): Move long lambda to separate function
6801 eshell-visual-command-p.
6802 * eshell/em-dirs.el (eshell-dirs-initialise):
6803 * eshell/em-script.el (eshell-script-initialize):
6804 Add missing #' to lambda.
6805
6806 2013-06-08 Leo Liu <sdl.web@gmail.com>
6807
6808 * progmodes/octave.el (octave-add-log-current-defun): New function.
6809 (octave-mode): Set add-log-current-defun-function.
6810 (octave-goto-function-definition): Do not move point if not found.
6811 (octave-find-definition): Enhance to try subfunctions first.
6812
6813 2013-06-08 Glenn Morris <rgm@gnu.org>
6814
6815 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6816 (byte-compile-backward-char, byte-compile-backward-word):
6817 Improve previous change, to handle non-explicit nil.
6818
6819 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6822 (smie--opener/closer-at-point): New function.
6823 (smie--matching-block-data): Use it. Don't match from right after an
6824 opener or right before a closer. Obey smie-blink-matching-inners.
6825 Don't signal a mismatch for repeated inners like "switch..case..case".
6826
6827 2013-06-07 Leo Liu <sdl.web@gmail.com>
6828
6829 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6830 to t. (Bug#14303)
6831 (octave-function-header-regexp): Fix. (Bug#14570)
6832 (octave-help-mode-finish-hook, octave-help-mode-finish):
6833 Remove. Just use temp-buffer-show-hook.
6834
6835 * newcomment.el (comment-search-backward): Revert last change.
6836 (Bug#14434)
6837
6838 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6839
6840 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6841
6842 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6843 through xargs, to avoid failure due to MS-Windows limitations on
6844 command-line length.
6845
6846 2013-06-06 Glenn Morris <rgm@gnu.org>
6847
6848 * font-lock.el (lisp-font-lock-keywords-2):
6849 Treat user-error like error.
6850
6851 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6852 (byte-compile-backward-char, byte-compile-backward-word):
6853 Handle explicit nil arguments. (Bug#14565)
6854
6855 2013-06-05 Alan Mackenzie <acm@muc.de>
6856
6857 * isearch.el (isearch-allow-prefix): New user option.
6858 (isearch-other-meta-char): Don't exit isearch when a prefix
6859 argument is typed whilst `isearch-allow-prefix' is non-nil.
6860 (Bug#9706)
6861
6862 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6863
6864 * autorevert.el (auto-revert-notify-handler): Use memq.
6865 Hide assertion failure.
6866
6867 * skeleton.el: Use cl-lib.
6868 (skeleton-further-elements): Use defvar-local.
6869 (skeleton-insert): Use cl-progv.
6870
6871 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6872
6873 * progmodes/prog-mode.el (prog-prettify-symbols)
6874 (prog-prettify-install): Update docstrings.
6875
6876 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6878 * simple.el: Move all the prog-mode code to prog-mode.el.
6879 * progmodes/prog-mode.el: New file.
6880 * loadup.el: Add prog-mode.el.
6881
6882 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6883
6884 * simple.el (prog-prettify-symbols): Add version.
6885 (prog-prettify-install): Add convenience function to prettify symbols.
6886
6887 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6888 (perl--augmented-font-lock-keywords-1)
6889 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6890 variables and use it.
6891
6892 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6893 (cfengine3-mode): Remove unneeded variable and use it.
6894
6895 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6896 (lisp--augmented-font-lock-keywords-1)
6897 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6898 Remove unneeded variables and use it.
6899
6900 2013-06-05 João Távora <joaotavora@gmail.com>
6901
6902 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6903 to point when opening the connection. (Bug#14380)
6904
6905 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6906
6907 * subr.el (load-history-regexp, load-history-filename-element)
6908 (eval-after-load, after-load-functions, do-after-load-evaluation)
6909 (eval-next-after-load, display-delayed-warnings)
6910 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6911 definition of save-match-data.
6912 (overriding-local-map): Remove accidental obsolescence declaration.
6913
6914 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6915
6916 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6917
6918 Generalize symbol prettify support to prog-mode and implement it
6919 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6920 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6921 (prog--prettify-font-lock-compose-symbol)
6922 (prog-prettify-font-lock-symbols-keywords): New variables and
6923 functions to support symbol prettification.
6924 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6925 (lisp--augmented-font-lock-keywords-1)
6926 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6927 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6928 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6929 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6930 Implement prettify of -> => :: strings.
6931 * progmodes/perl-mode.el (perl-prettify-symbols)
6932 (perl--font-lock-compose-symbol)
6933 (perl--font-lock-symbols-keywords): Move to prog-mode.
6934 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6935 (perl-font-lock-keywords-1)
6936 (perl-font-lock-keywords-2): Remove explicit prettify support.
6937 (perl--augmented-font-lock-keywords)
6938 (perl--augmented-font-lock-keywords-1)
6939 (perl--augmented-font-lock-keywords-2, perl-mode):
6940 Implement prettify support.
6941
6942 2013-06-05 Leo Liu <sdl.web@gmail.com>
6943
6944 Re-implement smie matching block highlight using
6945 show-paren-data-function. (Bug#14395)
6946 * emacs-lisp/smie.el (smie-matching-block-highlight)
6947 (smie--highlight-matching-block-overlay)
6948 (smie--highlight-matching-block-lastpos)
6949 (smie-highlight-matching-block)
6950 (smie-highlight-matching-block-mode): Remove.
6951 (smie--matching-block-data-cache): New variable.
6952 (smie--matching-block-data): New function.
6953 (smie-setup): Use smie--matching-block-data for
6954 show-paren-data-function.
6955
6956 * progmodes/octave.el (octave-mode-menu): Fix.
6957 (octave-find-definition): Skip garbage lines.
6958
6959 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 Fix compilation error with simultaneous dynamic+lexical scoping.
6962 Add warning when a defvar appears after the first let-binding.
6963 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6964 (byte-compile-close-variables): Initialize it.
6965 (byte-compile--declare-var): New function.
6966 (byte-compile-file-form-defvar)
6967 (byte-compile-file-form-define-abbrev-table)
6968 (byte-compile-file-form-custom-declare-variable): Use it.
6969 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6970 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6971 (byte-compile-bind): Handle dynamic bindings that shadow
6972 lexical bindings.
6973 (byte-compile-unbind): Make arg non-optional.
6974 (byte-compile-let): Simplify.
6975 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6976 (cconv--analyse-function, cconv-analyse-form): Populate it.
6977 Protect byte-compile-bound-variables to limit the scope of defvars.
6978 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6979 Remove unneeded rule for `declare'.
6980
6981 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6982 so as to avoid depending on cl-adjoin at run-time.
6983 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6984
6985 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6986 (macroexp--warn-and-return): Use it.
6987
6988 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * lisp/subr.el: Convert to lexical binding.
6991 (overriding-local-map): Make obsolete.
6992 (add-to-list): Doc fix. Add compiler macro.
6993 (read-key): Swap values of local maps.
6994
6995 2013-06-05 Leo Liu <sdl.web@gmail.com>
6996
6997 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6998
6999 2013-06-04 Leo Liu <sdl.web@gmail.com>
7000
7001 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7002 (compilation-auto-jump): Suppress the "Mark set" message to give
7003 way to exit message.
7004
7005 2013-06-04 Alan Mackenzie <acm@muc.de>
7006
7007 Remove faulty optimisation from indentation calculation.
7008 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7009 search limit based on 2000 characters back from indent-point.
7010
7011 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7012
7013 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7014
7015 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7016
7017 * emacs-lisp/lisp.el: Use lexical-binding.
7018 (lisp--local-variables-1, lisp--local-variables): New functions.
7019 (lisp--local-variables-completion-table): New var.
7020 (lisp-completion-at-point): Use it complete let-bound vars.
7021
7022 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7023 eagerly (bug#14422).
7024
7025 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7026
7027 * autorevert.el (auto-revert-notify-enabled)
7028 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7029 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7030 (auto-revert-notify-handler): Handle also gfilenotify.
7031
7032 * subr.el (file-notify-handle-event): New defun. Replacing ...
7033 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7034 Remove.
7035
7036 2013-06-03 Juri Linkov <juri@jurta.org>
7037
7038 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7039 `M-s h .'. (Bug#14427)
7040
7041 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7042 command `hi-lock-face-symbol-at-point'.
7043 (hi-lock-face-symbol-at-point): New command.
7044 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7045 (hi-lock-menu): Add `highlight-symbol-at-point'.
7046 (hi-lock-mode): Doc fix.
7047
7048 * isearch.el (isearch-forward-symbol-at-point): New command.
7049 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7050 (isearch-highlight-regexp): Add a regexp which matches
7051 words/symbols for word/symbol mode.
7052
7053 * subr.el (find-tag-default-bounds): New function with the body
7054 mostly moved from `find-tag-default'.
7055 (find-tag-default): Move most code to `find-tag-default-bounds',
7056 call it and apply `buffer-substring-no-properties' afterwards.
7057
7058 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7059
7060 * eshell/em-term.el (eshell-term-initialize):
7061 Use `cl-intersection' rather than `intersection'.
7062
7063 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7064
7065 * vc/log-view.el: Doc fix.
7066 (log-view-mode-map): Copy keymap from `special-mode-map'.
7067
7068 2013-06-02 Eric Ludlam <zappo@gnu.org>
7069
7070 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7071 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7072 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7073 (eieio-unbound, eieio-default-superclass)
7074 (eieio--define-field-accessors, method-static, method-before)
7075 (method-primary, method-after, method-num-lists)
7076 (method-generic-before, method-generic-primary)
7077 (method-generic-after, method-num-slots)
7078 (eieio-specialized-key-to-generic-key)
7079 (eieio--check-type, class-v, class-p)
7080 (eieio-class-name, define-obsolete-function-alias)
7081 (eieio-class-parents-fast, eieio-class-children-fast)
7082 (same-class-fast-p, class-constructor, generic-p)
7083 (generic-primary-only-p, generic-primary-only-one-p)
7084 (class-option-assoc, class-option, eieio-object-p)
7085 (class-abstract-p, class-method-invocation-order)
7086 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7087 (eieio-class-un-autoload, eieio-defclass)
7088 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7089 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7090 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7091 (eieio-defgeneric-reset-generic-form)
7092 (eieio-defgeneric-form-primary-only)
7093 (eieio-defgeneric-reset-generic-form-primary-only)
7094 (eieio-defgeneric-form-primary-only-one)
7095 (eieio-defgeneric-reset-generic-form-primary-only-one)
7096 (eieio-unbind-method-implementations)
7097 (eieio--defmethod, eieio--typep)
7098 (eieio-perform-slot-validation, eieio-validate-slot-value)
7099 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7100 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7101 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7102 (eieio-slot-name-index, eieio-class-slot-name-index)
7103 (eieio-set-defaults, eieio-initarg-to-attribute)
7104 (eieio-attribute-to-initarg, eieio-c3-candidate)
7105 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7106 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7107 (eieio-class-precedence-list, eieio-generic-call-methodname)
7108 (eieio-generic-call-arglst, eieio-generic-call-key)
7109 (eieio-generic-call-next-method-list)
7110 (eieio-pre-method-execution-functions, eieio-generic-call)
7111 (eieio-generic-call-primary-only, eieiomt-method-list)
7112 (eieiomt-optimizing-obarray, eieiomt-install)
7113 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7114 (eieio-generic-form, eieio-defmethod, make-obsolete)
7115 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7116 (defclass): Remove `eval-and-compile' from macro.
7117 (call-next-method, shared-initialize): Instead of using
7118 `scoped-class' variable, use new eieio--scoped-class, and
7119 eieio--with-scoped-class.
7120 (initialize-instance): Rename local variable 'scoped-class' to
7121 'this-class' to remove ambiguitity from old global.
7122
7123 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7124 eieio.el.
7125 (eieio--scoped-class-stack): New variable.
7126 (eieio--scoped-class): New fcn.
7127 (eieio--with-scoped-class): New scoping macro.
7128 (eieio-defclass): Use pushnew instead of add-to-list.
7129 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7130 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7131 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7132 `scoped-class' variable, use new eieio--scoped-class, and
7133 eieio--with-scoped-class.
7134
7135 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7136
7137 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7138
7139 * eshell/esh-ext.el (eshell-external-command): Pass args to
7140 `eshell-find-interpreter'.
7141 (eshell-find-interpreter): Add new second parameter ARGS.
7142
7143 * eshell/em-script.el (eshell-script-initialize): Add second arg
7144 to the function added as MATCH to `eshell-interpreter-alist'.
7145
7146 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7147 the function added as MATCH to `eshell-interpreter-alist'.
7148
7149 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7150 (eshell-visual-options): New defcustom.
7151 (eshell-escape-control-x): Adapt docstring.
7152 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7153 `eshell-visual-options' in addition to `eshell-visual-commands'.
7154 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7155
7156 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7157
7158 * progmodes/python.el (python-indent-block-enders): Add break,
7159 continue and raise keywords.
7160
7161 2013-06-01 Glenn Morris <rgm@gnu.org>
7162
7163 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7164
7165 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7166 * progmodes/cc-cmds.el (delete-forward-p):
7167 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7168 * progmodes/cc-engine.el (buffer-syntactic-context):
7169 * progmodes/cc-fonts.el (face-property-instance):
7170 * progmodes/cc-mode.el (set-keymap-parents):
7171 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7172 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7173 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7174 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7175 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7176
7177 * progmodes/cc-vars.el (other): Emacs has this widget since
7178 at least 21.1, so don't (re)define it.
7179
7180 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7181 Replace the obsolete alias pcomplete-arg-quote-list.
7182
7183 2013-06-01 Leo Liu <sdl.web@gmail.com>
7184
7185 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7186 punctuation syntax.
7187 (inferior-octave-minimal-columns)
7188 (inferior-octave-last-column-width): New variables.
7189 (inferior-octave-track-window-width-change): New function.
7190 (inferior-octave-mode): Adjust column width so that Octave output,
7191 for example from 'ls', can fit into the window nicely.
7192
7193 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7194
7195 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7196 Highlight expansions inside regexp literals.
7197
7198 2013-05-31 Glenn Morris <rgm@gnu.org>
7199
7200 * obsolete/sym-comp.el (symbol-complete):
7201 Replace obsolete completion-annotate-function.
7202
7203 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7204
7205 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7206
7207 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7208 New function, checks if point is inside a literal that allows
7209 expression expansion.
7210 (ruby-syntax-propertize-expansion): Use it.
7211 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7212 around the body.
7213
7214 2013-05-30 Juri Linkov <juri@jurta.org>
7215
7216 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7217 to "\M-si".
7218 (isearch-invisible): New variable.
7219 (isearch-forward): Doc fix.
7220 (isearch-mode): Set `isearch-invisible'
7221 to the value of `search-invisible'.
7222 (isearch-toggle-case-fold): Doc fix.
7223 (isearch-toggle-invisible): New command.
7224 (isearch-query-replace): Let-bind `search-invisible'
7225 to the value of `isearch-invisible'.
7226 (isearch-search): Use `isearch-invisible' instead of
7227 `search-invisible'. Let-bind `search-invisible'
7228 to the value of `isearch-invisible'. (Bug#11378)
7229
7230 2013-05-30 Juri Linkov <juri@jurta.org>
7231
7232 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7233 call when `query-flag' is nil and `search-invisible' is non-nil.
7234 (Bug#11746)
7235
7236 2013-05-30 Glenn Morris <rgm@gnu.org>
7237
7238 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7239
7240 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7241 (cc-require): Suppress spurious "noruntime" warnings.
7242 (cc-require-when-compile): Use fboundp, for sake of compiler.
7243
7244 * progmodes/cc-mode.el: Move load of cc-vars before that of
7245 cc-langs (which in turn loads cc-vars), to quieten compiler.
7246
7247 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * paren.el: Simplify the code.
7250 (show-paren-mode): Always start the timer.
7251 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7252 (show-paren--overlay, show-paren--overlay-1): Rename from
7253 show-paren-overlay and show-paren-overlay-1, and initialize to an
7254 overlay rather than to nil.
7255 (show-paren-function): Misc cleanup and simplifications.
7256
7257 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * paren.el (show-paren-data-function): New hook.
7260 (show-paren--default): New function, extracted from show-paren-function.
7261 (show-paren-function): Use show-paren-data-function.
7262
7263 2013-05-30 Glenn Morris <rgm@gnu.org>
7264
7265 * ielm.el (ielm-map, ielm-complete-symbol):
7266 Use completion-at-point rather than obsolete functions.
7267 (inferior-emacs-lisp-mode): Doc fix.
7268 Set completion-at-point-functions, rather than
7269 comint-dynamic-complete-functions.
7270
7271 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7272 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7273 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7274
7275 * image.el (image-animated-p): Tweak definition.
7276
7277 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7278 (rlogin-process-connection-type): Tweak default. Add set-after.
7279 (rlogin-host): Doc fix.
7280 (rlogin): Tweak prompt.
7281 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7282
7283 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7284 * progmodes/tcl.el (inferior-tcl-mode-map):
7285 Use completion-at-point rather than obsolete alias.
7286
7287 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7288
7289 * minibuffer.el (read-file-name-completion-ignore-case):
7290 Move before completion--in-region, for eager macro expansion.
7291
7292 2013-05-29 Juri Linkov <juri@jurta.org>
7293
7294 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7295 for total count of matching lines. Add `global-matches' for total
7296 count of matches. Rename `matches' to `lines' for count of
7297 matching lines. Add `matches' for count of matches.
7298 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7299 to `prev-line' for line number of prev match endpt.
7300 Increment `matches' for every match. Print the number of
7301 matching lines in the header.
7302 (occur-context-lines): Rename `lines' to `curr-line'.
7303 Rename `prev-lines' to `prev-line'. (Bug#14017)
7304
7305 2013-05-29 Juri Linkov <juri@jurta.org>
7306
7307 * replace.el (perform-replace): Add `skip-read-only-count',
7308 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7309 Increment them for corresponding conditions and report the number
7310 of skipped occurrences in the final message. (Bug#11746)
7311 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7312 (replace-string, replace-regexp): Doc fix.
7313
7314 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7315
7316 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7317
7318 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7319 prog-mode-map (bug#14504).
7320
7321 2013-05-29 Leo Liu <sdl.web@gmail.com>
7322
7323 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7324 (octave-help): Small simplification.
7325
7326 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7327 off the highlight first.
7328
7329 2013-05-29 Glenn Morris <rgm@gnu.org>
7330
7331 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7332 Handle idlwave-last-system-routine-info-cons-cell being nil.
7333
7334 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7335 (idlwave-write-paths): Simplify via with-temp-buffer.
7336
7337 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7338 * emulation/cua-rect.el: Also load cua-base at run time.
7339
7340 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7341 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7342 (cperl-imenu-on-info): Require imenu.
7343
7344 2013-05-28 Alan Mackenzie <acm@muc.de>
7345
7346 Handle "capitalised keywords" correctly.
7347 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7348
7349 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7350
7351 * eshell/em-unix.el: Add -r option to cp.
7352
7353 2013-05-28 Glenn Morris <rgm@gnu.org>
7354
7355 * vc/vc-arch.el (vc-exec-after): Declare.
7356 (vc-switches): Autoload.
7357 * vc/vc-bzr.el: No need to require vc when compiling.
7358 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7359 (vc-resynch-buffer, vc-dir-refresh): Declare.
7360 (vc-setup-buffer, vc-switches): Autoload.
7361 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7362 (vc-resynch-buffer): Declare.
7363 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7364 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7365 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7366 (grep-read-regexp, grep-read-files, grep-expand-template)
7367 (vc-dir-refresh): Declare.
7368 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7369 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7370 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7371 * vc/vc-mtn.el (vc-exec-after): Declare.
7372 (vc-switches): Autoload.
7373 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7374 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7375 (vc-file-tree-walk): Declare.
7376 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7377 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7378 (vc-tag-precondition, vc-rename-master): Autoload.
7379 * vc/vc-svn.el (vc-exec-after): Declare.
7380 (vc-switches, vc-setup-buffer): Autoload.
7381 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7382 Autoload.
7383 (vc-resynch-buffer): Declare.
7384
7385 * obsolete/fast-lock.el (byte-compile-warnings):
7386 Don't warn about obsolete features in this obsolete file.
7387
7388 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7389 Move definition before use.
7390
7391 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7392 (dun-unix-verbs): Remove dun-zippy.
7393 (dun-zippy): Remove function.
7394
7395 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7396
7397 2013-05-27 Juri Linkov <juri@jurta.org>
7398
7399 * replace.el (replace-search): New function with code moved out
7400 from `perform-replace'.
7401 (replace-highlight, replace-dehighlight): Move function definitions
7402 up closer to `replace-search'. (Bug#11746)
7403
7404 2013-05-27 Juri Linkov <juri@jurta.org>
7405
7406 * replace.el (perform-replace): Ignore invisible matches.
7407 In addition to checking `query-replace-skip-read-only', also
7408 filter out matches by calling `run-hook-with-args-until-failure'
7409 on `isearch-filter-predicates', and also check `search-invisible'
7410 for t or call `isearch-range-invisible'.
7411 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7412
7413 2013-05-27 Juri Linkov <juri@jurta.org>
7414
7415 * isearch.el (isearch-filter-predicates): Rename from
7416 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7417 (isearch-message-prefix): Display text from the property
7418 `isearch-message-prefix' of the currently active filters.
7419 (isearch-search): Don't compare `isearch-filter-predicate' with
7420 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7421 on `isearch-filter-predicates'. Also check `search-invisible' for t
7422 or call `isearch-range-invisible'.
7423 (isearch-filter-visible): Make obsolete.
7424 (isearch-lazy-highlight-search):
7425 Call `run-hook-with-args-until-failure' on
7426 `isearch-filter-predicates' and use `isearch-range-invisible'.
7427
7428 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7429 `isearch-filter-predicates' instead of `funcall'ing
7430 `isearch-filter-predicate'.
7431 (Info-mode): Set `Info-isearch-filter' to
7432 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7433
7434 * dired-aux.el (dired-isearch-filter-predicate-orig):
7435 Remove variable.
7436 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7437 (dired-isearch-filenames-end): Add and remove
7438 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7439 instead of changing the value of `isearch-filter-predicate'.
7440 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7441 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7442 Put property `isearch-message-prefix' to "filename " on
7443 `dired-isearch-filter-filenames'.
7444
7445 * wdired.el (wdired-change-to-wdired-mode):
7446 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7447 locally instead of changing `isearch-filter-predicate'.
7448 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7449
7450 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7451
7452 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7453 return the commit hash (Bug#14459). Also set the
7454 `vc-git-detached' property.
7455 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7456 (vc-git-mode-line-string): Use the same help-echo format whether
7457 in detached mode or not, because we know the actual revision now.
7458 When in detached mode, shorten the revision to 7 chars.
7459
7460 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * emacs-lisp/easy-mmode.el (define-minor-mode):
7463 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7464 mode hook and provide a docstring.
7465
7466 2013-05-27 Alan Mackenzie <acm@muc.de>
7467
7468 Remove spurious syntax-table text properties inserted by C-y.
7469 * progmodes/cc-mode.el (c-after-change): Also clear hard
7470 syntax-table property with value nil.
7471
7472 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7473
7474 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7475 when reading the events; the buffer layout shall not be changed.
7476
7477 2013-05-27 Leo Liu <sdl.web@gmail.com>
7478
7479 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7480 New variable.
7481 (inferior-octave-directory-tracker): Automatically re-sync
7482 default-directory.
7483 (octave-help): Improve handling of 'See also'.
7484
7485 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * doc-view.el: Minor naming convention tweaks.
7488 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7489
7490 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7491 even if there's no `display' property yet (bug#14435).
7492
7493 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7494
7495 * subr.el (unmsys--file-name): Rename from reveal-filename.
7496
7497 * Makefile.in (custom-deps, finder-data, autoloads)
7498 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7499 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7500 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7501
7502 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7505 error-completion on the first 2 args of condition-case (bug#14446).
7506 Don't burp at EOB.
7507
7508 2013-05-25 Leo Liu <sdl.web@gmail.com>
7509
7510 * comint.el (comint-previous-matching-input): Do not flood the
7511 *Messages* buffer with trivial messages.
7512
7513 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * progmodes/flymake.el (flymake-nop): Don't return a string.
7516 (flymake-set-at): Fix typo.
7517
7518 * simple.el (read--expression): New function, extracted from
7519 eval-expression. Set completion-at-point-functions (bug#14465).
7520 (eval-expression, eval-minibuffer): Use it.
7521
7522 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7523
7524 * progmodes/flymake.el (flymake-save-buffer-in-file)
7525 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7526 (flymake-selected-frame, flymake-log, flymake-ins-after)
7527 (flymake-set-at, flymake-get-buildfile-from-cache)
7528 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7529 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7530 Refine the doc string.
7531 (flymake-get-file-name-mode-and-masks): Reformat.
7532 (flymake-get-real-file-name-function): Fix a minor bug.
7533
7534 2013-05-24 Juri Linkov <juri@jurta.org>
7535
7536 * progmodes/grep.el (grep-mode-font-lock-keywords):
7537 Support =linenumber= format used by git-grep for lines with
7538 function names. (Bug#13549)
7539
7540 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7543 0 after a semi-colon; it works better for smie-auto-fill.
7544 (octave--indent-new-comment-line): New function.
7545 (octave-indent-new-comment-line): Use it (indirectly).
7546 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7547 modify comment-line-break-function.
7548
7549 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7550 (smie-setup): Use add-function to set it.
7551
7552 2013-05-24 Sam Steingold <sds@gnu.org>
7553
7554 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7555 argument (before the `interactive' argument).
7556
7557 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * image-mode.el (image-mode-winprops): Add winprops to
7560 image-mode-winprops-alist before running
7561 image-mode-new-window-functions.
7562 * doc-view.el (doc-view-new-window-function): Don't delay
7563 doc-view-goto-page via timers (bug#14435).
7564
7565 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7566
7567 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7568 (doc-view-desktop-save-buffer): New function.
7569 (doc-view-restore-desktop-buffer): New function.
7570 (desktop-buffer-mode-handlers):
7571 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7572 handler.
7573 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7574 `desktop-save-buffer' function.
7575
7576 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7577
7578 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7579 (tramp-gvfs-file-name-handler): Raise a user error when
7580 `tramp-gvfs-enabled' is nil.
7581 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7582 Do not raise a user error when loading package. (Bug#14447)
7583
7584 * net/xesam.el: Move to obsolete/.
7585
7586 2013-05-24 Glenn Morris <rgm@gnu.org>
7587
7588 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7589
7590 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7591
7592 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7593 (Info-find-node, Man-getpage-in-background): Declare.
7594
7595 * mail/unrmail.el (unrmail):
7596 Replace obsolete detect-coding-with-priority.
7597
7598 * net/socks.el (socks-split-string): Use this rather than split-string.
7599 (socks-nslookup-host): Update for above change.
7600 (dynamic-choice, s5-dynamic-choice-match)
7601 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7602 Comment out unused code.
7603
7604 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7605 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7606 (gud-tooltip-echo-area): Make obsolete.
7607 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7608
7609 * progmodes/js.el (js--optimize-arglist): Declare.
7610
7611 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7612
7613 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7614 (ediff-window-C): Declare.
7615
7616 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7617 Tweak requires to silence compiler.
7618
7619 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7620 (he-search-string, he-tried-table, he-expand-list)
7621 (he-init-string, he-string-member, he-substitute-string)
7622 (he-reset-string): Declare.
7623
7624 * obsolete/options.el (list-options): Use custom-variable-p,
7625 rather than obsolete alias.
7626
7627 2013-05-23 Sam Steingold <sds@gnu.org>
7628
7629 * simple.el (shell-command-on-region): Pass the `replace' argument
7630 down to `call-process-region' to comply with the doc as reported on
7631 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7632
7633 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * emacs-lisp/smie.el (smie-indent-forward-token)
7636 (smie-indent-backward-token): Handle string tokens (bug#14381).
7637
7638 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7639
7640 * ielm.el (ielm-menu): New menu.
7641 (inferior-emacs-lisp-mode): Set comment-start.
7642
7643 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7644
7645 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7646 Fix deactivate action.
7647
7648 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7649 Add cleveref macros.
7650
7651 * lisp/textmodes/reftex-parse.el
7652 (reftex-locate-bibliography-files): Accept options for
7653 bibliography commands.
7654 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7655 Add addbibresource. Basic Biblatex support.
7656
7657 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * net/tramp-gvfs.el (top):
7660 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7661 when loading package. (Bug#14447)
7662
7663 2013-05-23 Glenn Morris <rgm@gnu.org>
7664
7665 * progmodes/js.el: No need to load comint when compiling.
7666 (ring-insert, comint-send-string, comint-send-input)
7667 (comint-last-input-end, ido-chop): Declare.
7668
7669 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7670 * vc/ediff-mult.el: Adjust requires.
7671 (ediff-directories-internal, ediff-directory-revisions-internal)
7672 (ediff-patch-file-internal): Declare.
7673 * vc/ediff-ptch.el: Adjust requires.
7674 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7675 (ediff-find-file): Autoload.
7676 * vc/ediff-util.el: No need to load ediff when compiling.
7677 (ediff-regions-internal): Declare.
7678 * vc/ediff-wind.el: Adjust requires.
7679 (ediff-compute-toolbar-width): Define when compiling.
7680 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7681 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7682 (dired-get-filename, dired-get-marked-files)
7683 (ediff-last-dir-patch, ediff-patch-default-directory)
7684 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7685 (ediff-patch-buffer-internal): Declare.
7686
7687 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7688 (ispell-process, ispell-buffer-local-words, lm-summary)
7689 (lm-section-start, lm-section-end): Declare.
7690 (checkdoc-ispell-init): Simplify.
7691
7692 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7693 (he-string-member, he-reset-string, he-substitute-string): Declare.
7694
7695 * eshell/em-ls.el: Adjust requires.
7696 (eshell-glob-regexp): Declare.
7697 * eshell/em-tramp.el: Adjust requires.
7698 (eshell-parse-command): Autoload.
7699 * eshell/em-xtra.el: Adjust requires.
7700 (eshell-parse-command): Autoload.
7701 * eshell/esh-ext.el: Adjust requires.
7702 (eshell-parse-command, eshell-close-handles): Autoload.
7703 * eshell/esh-io.el: Adjust requires.
7704 (eshell-output-filter): Autoload.
7705 * eshell/esh-util.el: No need to load tramp when compiling.
7706 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7707 Declare.
7708 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7709 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7710 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7711 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7712 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7713 * eshell/esh-opt.el, eshell/esh-proc.el:
7714 * eshell/esh-var.el: Adjust requires.
7715 * eshell/eshell.el: Do not require esh-util twice.
7716 (eshell-add-input-to-history): Declare.
7717 (eshell-command): Check history module is active before using it.
7718
7719 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7720
7721 2013-05-22 Leo Liu <sdl.web@gmail.com>
7722
7723 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7724
7725 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7726
7727 * autorevert.el (auto-revert-notify-add-watch)
7728 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7729 it indicates changes in file modification time.
7730
7731 2013-05-22 Glenn Morris <rgm@gnu.org>
7732
7733 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7734 Always delete the autoloaded function from the noruntime and
7735 unresolved functions lists.
7736
7737 * allout.el: No need to load epa, epg, overlay when compiling.
7738 (epg-context-set-passphrase-callback, epg-list-keys)
7739 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7740 (epg-key-user-id-list): Declare.
7741
7742 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7743 (viper-set-parsing-style-toggling-macro)
7744 (viper-set-emacs-state-searchstyle-macros):
7745 Use called-interactively-p on Emacs.
7746 (viper-looking-back): Make it an obsolete alias. Update callers.
7747 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7748 Use looking-back rather than viper-looking-back.
7749 (viper-tmp-insert-at-eob, viper-enlarge-region)
7750 (viper-read-string-with-history, viper-register-to-point)
7751 (viper-append-to-register, viper-change-state-to-vi)
7752 (viper-backward-char-carefully, viper-forward-char-carefully)
7753 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7754 (viper-change-state-to-emacs): Declare.
7755 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7756 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7757 * emulation/viper-mous.el: Do not load viper-cmd.
7758 (viper-backward-char-carefully, viper-forward-char-carefully)
7759 (viper-forward-word, viper-adjust-window): Declare.
7760
7761 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7762
7763 * progmodes/idlw-help.el (idlwave-help-fontify):
7764 Use called-interactively-p.
7765
7766 * term/w32console.el (w32-get-console-codepage)
7767 (w32-get-console-output-codepage): Declare.
7768
7769 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7770 Remove unnecessary declarations.
7771 (dframe-message): Doc fix.
7772
7773 * info.el (dframe-select-attached-frame, dframe-current-frame):
7774 Declare.
7775
7776 * speedbar.el (speedbar-message): Make it an obsolete alias.
7777 Update all callers.
7778 (speedbar-with-attached-buffer)
7779 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7780 (speedbar-with-writable): Use backquote.
7781 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7782 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7783 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7784 rather than speedbar- aliases.
7785 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7786 (speedbar-make-specialized-keymap, speedbar-insert-button)
7787 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7788 (speedbar-do-function-pointer): Declare.
7789 (rmail-speedbar-button, rmail-speedbar-find-file)
7790 (rmail-speedbar-move-message):
7791 Use dframe-with-attached-buffer rather than speedbar- alias.
7792 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7793 (dframe-message, speedbar-make-specialized-keymap)
7794 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7795 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7796 (speedbar-insert-button, dframe-select-attached-frame)
7797 (dframe-maybee-jump-to-attached-frame)
7798 (speedbar-change-initial-expansion-list)
7799 (speedbar-previously-used-expansion-list-name): Declare.
7800 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7801 Use dframe-message, dframe-with-attached-buffer rather than
7802 speedbar- aliases.
7803 (gud-sentinel): Silence compiler.
7804 * progmodes/vhdl-mode.el (speedbar-refresh)
7805 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7806 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7807 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7808 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7809 (speedbar-file-lists, speedbar-make-tag-line)
7810 (speedbar-line-directory, speedbar-goto-this-file)
7811 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7812 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7813 (speedbar-make-button, speedbar-reset-scanners)
7814 (speedbar-files-item-info, speedbar-line-text)
7815 (speedbar-find-file-in-frame, speedbar-set-timer)
7816 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7817 (speedbar-with-writable): Do not (re)define it.
7818 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7819 rather than speedbar- alias.
7820
7821 2013-05-21 Leo Liu <sdl.web@gmail.com>
7822
7823 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7824 menu items.
7825 (octave-mode): Tweak fill-nobreak-predicate.
7826 (inferior-octave-startup): Check process to avoid infinite loop.
7827 (inferior-octave): Pop to buffer first to show abornmal process
7828 exit information.
7829
7830 2013-05-21 Glenn Morris <rgm@gnu.org>
7831
7832 * printing.el (pr-menu-bar): Define when compiling.
7833
7834 2013-05-21 Leo Liu <sdl.web@gmail.com>
7835
7836 * progmodes/octave.el (octave-auto-fill): Remove.
7837 (octave-indent-new-comment-line): Improve.
7838 (octave-mode): Use auto fill mode through
7839 comment-line-break-function and fill-nobreak-predicate.
7840 (octave-goto-function-definition): Support DEFUN_DLD.
7841 (octave-beginning-of-defun): Small tweak.
7842 (octave-help): Show parent directory.
7843
7844 2013-05-21 Glenn Morris <rgm@gnu.org>
7845
7846 * files.el (dired-unmark):
7847 * progmodes/gud.el (gdb-input): Update declarations.
7848
7849 * calculator.el (electric, ehelp): No need to load when compiling.
7850 (Electric-command-loop, electric-describe-mode): Declare.
7851
7852 * doc-view.el (doc-view-current-converter-processes): Move before use.
7853
7854 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7855 Move MODE-set-explicitly definition before use.
7856
7857 * international/mule-diag.el (mule-diag):
7858 Don't use obsolete window-system-version.
7859
7860 * mail/feedmail.el (smtpmail): No need to load when compiling.
7861 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7862
7863 * mail/mail-utils.el (rfc822): No need to load when compiling.
7864 (rfc822-addresses): Autoload it.
7865 (mail-strip-quoted-names): Trivial simplification.
7866
7867 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7868 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7869
7870 * net/snmp-mode.el (tempo): Don't duplicate requires.
7871
7872 * progmodes/prolog.el (info): No need to load when compiling.
7873 (comint): Require before shell requires it.
7874 (Info-goto-node): Autoload it.
7875 (Info-follow-nearest-node): Declare.
7876 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7877
7878 * textmodes/artist.el (picture-mode-exit): Declare.
7879
7880 * textmodes/reftex-parse.el (reftex-parse-from-file):
7881 Trivial rewrite so the compiler can parse it better.
7882
7883 2013-05-20 Leo Liu <sdl.web@gmail.com>
7884
7885 * progmodes/octave.el (octave-help-mode-map)
7886 (octave-help-mode-finish-hook): New variables.
7887 (octave-help-mode, octave-help-mode-finish): New functions.
7888 (octave-help): Use octave-help-mode.
7889
7890 2013-05-20 Glenn Morris <rgm@gnu.org>
7891
7892 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7893
7894 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7895
7896 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7897 start at point, so that expansion starting right after opening
7898 slash in a regexp is recognized.
7899 (ruby-syntax-before-regexp-re): New defvar, extracted from
7900 ruby-syntax-propertize-function. Since the value of this regexp
7901 is looked up at runtime now, we should be able to turn
7902 `ruby-syntax-methods-before-regexp' into a defcustom later.
7903 (ruby-syntax-propertize-function): Split regexp matching into two
7904 parts, for opening and closing slashes. That allows us to skip
7905 over string interpolations and support multiline regexps.
7906 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7907 for them, which calls `ruby-syntax-propertize-expansion'.
7908 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7909 call to `ruby-syntax-propertize-function'.
7910 (ruby-syntax-propertize-expansion): Extracted from
7911 `ruby-syntax-propertize-expansions'. Handles one expansion.
7912 (ruby-syntax-propertize-percent-literal): Leave point right after
7913 the percent symbol, so that the expression expansion rule can
7914 propertize the contents.
7915 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7916 heredoc openers.
7917 (ruby-syntax-propertize-expansions): Remove.
7918
7919 2013-05-18 Juri Linkov <juri@jurta.org>
7920
7921 * man.el (Man-default-man-entry): Remove `-' from the end
7922 of the default value. (Bug#14400)
7923
7924 2013-05-18 Glenn Morris <rgm@gnu.org>
7925
7926 * comint.el (comint-password-prompt-regexp):
7927 Allow "password for XXX" where XXX contains colons (eg https://...).
7928
7929 2013-05-18 Leo Liu <sdl.web@gmail.com>
7930
7931 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7932 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7933 (octave-source-directories): Don't check process.
7934 (octave-source-directories, octave-find-definition): Doc fix.
7935
7936 2013-05-18 Glenn Morris <rgm@gnu.org>
7937
7938 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7939 Remove backspace/delete bindings. (Bug#14392)
7940
7941 * cus-dep.el (custom-make-dependencies): Sort the output.
7942 (custom-versions-load-alist): Convert comment to doc.
7943
7944 2013-05-17 Leo Liu <sdl.web@gmail.com>
7945
7946 * newcomment.el (comment-search-backward): Stricter in finding
7947 comment start. (Bug#14303)
7948
7949 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7950 (octave-comment-start-skip): Properly anchored.
7951
7952 2013-05-17 Leo Liu <sdl.web@gmail.com>
7953
7954 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7955 Clean up when turned off. (Bug#14395)
7956 (smie--highlight-matching-block-overlay): No longer buffer-local.
7957 (smie-highlight-matching-block): Adjust.
7958
7959 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7960
7961 Doc string fix for "nanoseconds" (Bug#14406).
7962 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7963 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7964
7965 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7966
7967 * calc/calc-units.el (math-extract-units): Preserve powers
7968 of units.
7969
7970 2013-05-17 Leo Liu <sdl.web@gmail.com>
7971
7972 * subr.el (delete-consecutive-dups): New function.
7973 * ido.el (ido-set-matches-1): Use it.
7974 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7975 * ido.el (ido-remove-consecutive-dups): Remove.
7976
7977 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7980 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7981 regexp-opt's `words'.
7982
7983 2013-05-16 Leo Liu <sdl.web@gmail.com>
7984
7985 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7986 (smie--highlight-matching-block-overlay)
7987 (smie--highlight-matching-block-lastpos)
7988 (smie--highlight-matching-block-timer): New variables.
7989 (smie-highlight-matching-block): New function.
7990 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7991 (smie-setup): Conditionally enable smie-blink-matching-open.
7992
7993 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7994
7995 Sync with upstream verilog-mode r840.
7996 * progmodes/verilog-mode.el (verilog-mode-version)
7997 (verilog-mode-release-date): Update.
7998 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7999 (verilog-sig-tieoff): Fix string error on
8000 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8001 (verilog-read-decls): Fix parameters confusing
8002 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8003
8004 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8005
8006 * subr.el (reveal-filename): New function.
8007
8008 * loadup.el: Compute Emacs executable versions on MS-Windows,
8009 where executables have the .exe extension. Add a hard link
8010 emacs-XX.YY.ZZ.exe on MS-Windows.
8011
8012 * Makefile.in (XARGS_LIMIT): New variable.
8013 (custom-deps, finder-data, autoloads)
8014 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8015 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8016 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8017 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8018
8019 2013-05-16 Leo Liu <sdl.web@gmail.com>
8020
8021 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8022 (octave-mode-menu, octave-mode-map): Remove its uses.
8023
8024 2013-05-16 Reto Zimmermann <reto@gnu.org>
8025
8026 Sync with upstream vhdl mode v3.34.2.
8027 * progmodes/vhdl-mode.el: Use `push' throughout.
8028 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8029 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8030 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8031 (vhdl-actual-generic-name): New option to derive actual generic name.
8032 (vhdl-port-paste-signals): Replace formal by actual generics.
8033 (vhdl-beautify): New name for old group vhdl-align. Update users.
8034 (vhdl-beautify-options): New option.
8035 (vhdl-last-input-event): New compat alias. Use throughout.
8036 (vhdl-goto-line): Replace user level function `goto-line'.
8037 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8038 vhdl-fix-statement-buffer.
8039 (vhdl-create-mode-menu): Add some entries.
8040 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8041 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8042 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8043 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8044 to force statements on one line.
8045 (vhdl-remove-trailing-spaces-region):
8046 New, split from vhdl-remove-trailing-spaces.
8047 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8048 Respect vhdl-beautify-options.
8049 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8050 (vhdl-update-sensitivity-list): Not add with index if exists without.
8051 Not include array index with signal. Ignore keywords in comments.
8052 (vhdl-get-visible-signals): Regexp tweaks.
8053 (vhdl-template-component-inst): Handle empty library.
8054 (vhdl-template-type): Add template for 'enum' type.
8055 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8056 Use vhdl-replace-string.
8057 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8058 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8059 (vhdl-speedbar-initialize): Update for above name change.
8060 (vhdl-compose-wire-components): Fix in handling of constants.
8061 (vhdl-error-regexp-emacs-alist): New variable.
8062 (vhdl-error-regexp-add-emacs): New function;
8063 adds support for new compile.el (Emacs 22+)
8064 (vhdl-generate-makefile-1): Change target order for single lib. units.
8065 Allow use of absolute file names.
8066
8067 2013-05-16 Leo Liu <sdl.web@gmail.com>
8068
8069 * simple.el (prog-indent-sexp): Indent enclosing defun.
8070
8071 2013-05-15 Glenn Morris <rgm@gnu.org>
8072
8073 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8074 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8075 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8076 (whitespace-highlight): Move to whitespace group.
8077
8078 * comint.el (comint-source):
8079 * pcmpl-linux.el (pcmpl-linux):
8080 * shell.el (shell-faces):
8081 * eshell/esh-opt.el (eshell-opt):
8082 * international/ccl.el (ccl): Remove empty custom groups.
8083
8084 * completion.el (dynamic-completion-mode):
8085 * jit-lock.el (jit-lock-debug-mode):
8086 * minibuffer.el (completion-in-region-mode):
8087 * type-break.el (type-break-mode-line-message-mode)
8088 (type-break-query-mode):
8089 * emulation/tpu-edt.el (tpu-edt-mode):
8090 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8091 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8092 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8093
8094 * term/xterm.el (xterm): Change parent group to terminals.
8095
8096 * master.el (master): Remove empty custom group.
8097 (master-mode): Remove unused :group argument.
8098 * textmodes/refill.el (refill): Remove empty custom group.
8099 (refill-mode): Remove unused :group argument.
8100
8101 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8102
8103 * cus-dep.el: Provide a feature.
8104 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8105 Don't mistakenly ignore files whose basenames match a basename
8106 from preloaded-file-list (eg cedet/ede/simple.el).
8107 Add a fallback method for getting :group.
8108
8109 2013-05-15 Juri Linkov <juri@jurta.org>
8110
8111 * isearch.el (isearch-char-by-name): Rename from
8112 `isearch-insert-char-by-name'. Doc fix.
8113 (isearch-forward): Mention `isearch-char-by-name' in
8114 the docstring. (Bug#13348)
8115
8116 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8117 `exit-minibuffer' instead of
8118 `isearch-nonincremental-exit-minibuffer'.
8119 (isearch-edit-string): Remove mention of
8120 `isearch-nonincremental-exit-minibuffer' from docstring.
8121 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8122 (isearch-forward-exit-minibuffer)
8123 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8124
8125 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8126
8127 * loadup.el: Just use unversioned DOC.
8128
8129 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8130 literals as extending to EOB.
8131 (nxml-last-fontify-end): Remove unused variable.
8132 (nxml-after-change1): Use with-silent-modifications.
8133 (nxml-extend-after-change-region): Simplify.
8134 (nxml-extend-after-change-region1): Remove function.
8135 (nxml-after-change1): Don't adjust for dependent regions.
8136 (nxml-fontify-matcher): Simplify.
8137 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8138 (xmltok-add-dependent): Remove function.
8139 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8140 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8141 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8142 unclosed <[[, <?, comment, and other literals as extending to EOB.
8143 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8144 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8145 Remove functions.
8146 (rng-do-some-validation-1): Don't mark dependent regions.
8147 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8148 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8149 (nxml-clear-dependent-regions): Remove functions.
8150 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8151 (nxml-ensure-scan-up-to-date):
8152 Don't clear&mark dependent regions.
8153
8154 2013-05-15 Leo Liu <sdl.web@gmail.com>
8155
8156 * progmodes/octave.el (octave-goto-function-definition):
8157 Improve and fix callers.
8158
8159 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8160
8161 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8162 the setter (bug#14387).
8163
8164 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8165 surrounding group (bug#14402).
8166
8167 2013-05-14 Juri Linkov <juri@jurta.org>
8168
8169 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8170 (Bug#14390)
8171
8172 2013-05-14 Glenn Morris <rgm@gnu.org>
8173
8174 * progmodes/f90.el (f90-imenu-generic-expression):
8175 Fix typo in 2013-05-08 change. (Bug#14402)
8176
8177 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8178
8179 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8180 Remove signals for which replies are never received.
8181
8182 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8183
8184 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8185 (gdb-handler-alist, gdb-handler-number): Remove variables.
8186 (gdb-handler-list): New variable.
8187 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8188 (gdb-pending-handler-p, gdb-handle-reply)
8189 (gdb-remove-all-pending-triggers): New functions.
8190 (gdb-discard-unordered-replies): New defcustom.
8191 (gdb-handler): New defstruct.
8192 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8193 instead of gdb-pending-triggers. Update docstring.
8194 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8195 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8196 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8197 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8198 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8199 (gdb-frame-handler): Pending triggers are now automatically managed.
8200 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8201 Remove argument.
8202 (gdb-input): Automatically handles pending triggers. Update docstring.
8203 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8204 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8205 Update comments.
8206 (gdb-done-or-error): Now use gdb-handle-reply.
8207
8208 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8209
8210 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8211 gdb-debug-log.
8212
8213 2013-05-14 Glenn Morris <rgm@gnu.org>
8214
8215 * subr.el (user-emacs-directory-warning): New option.
8216 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8217
8218 2013-05-14 Leo Liu <sdl.web@gmail.com>
8219
8220 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8221 during redisplay.
8222 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8223 (octave-font-lock-texinfo-comment): Fix invalid search bound
8224 error: wrong side of point.
8225
8226 2013-05-14 Glenn Morris <rgm@gnu.org>
8227
8228 * progmodes/flymake.el (flymake-xml-program): New option.
8229 (flymake-xml-init): Use it.
8230
8231 * term/xterm.el: Provide a feature.
8232
8233 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8234
8235 2013-05-13 Glenn Morris <rgm@gnu.org>
8236
8237 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8238 Add compat aliases as a hack workaround. (Bug#14384)
8239
8240 2013-05-13 Leo Liu <sdl.web@gmail.com>
8241
8242 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8243 ###, and %!.
8244 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8245 C-M-q.
8246 (octave-comment-start-skip): Include %!.
8247 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8248
8249 2013-05-12 Leo Liu <sdl.web@gmail.com>
8250
8251 * progmodes/octave.el (inferior-octave-startup): Store the value
8252 of __octave_srcdir__ for octave-source-directories.
8253 (inferior-octave-check-process): New function refactored out of
8254 inferior-octave-send-list-and-digest.
8255 (octave-source-directories)
8256 (octave-find-definition-filename-function): New variables.
8257 (octave-source-directories)
8258 (octave-find-definition-default-filename): New functions.
8259 (octave-find-definition): Improve to find functions implemented in C++.
8260
8261 2013-05-12 Glenn Morris <rgm@gnu.org>
8262
8263 * calendar/diary-lib.el (diary-outlook-format-1):
8264 Don't include dayname in the output. (Bug#14349)
8265
8266 2013-05-11 Glenn Morris <rgm@gnu.org>
8267
8268 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8269
8270 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8271 Treat cc-provide like provide.
8272
8273 2013-05-11 Kevin Ryde <user42@zip.com.au>
8274
8275 * cus-dep.el (custom-make-dependencies):
8276 Use generated-autoload-load-name for the sake of files such
8277 such cedet/semantic/bovine/c.el, where the base file name
8278 is not in load-path. (Bug#5277)
8279
8280 2013-05-11 Glenn Morris <rgm@gnu.org>
8281
8282 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8283 Provide features.
8284
8285 2013-05-11 Leo Liu <sdl.web@gmail.com>
8286
8287 * progmodes/octave.el (octave-indent-comment): Improve.
8288 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8289 (octave-eldoc-function-signatures, octave-eldoc-function):
8290 New functions.
8291 (octave-mode, inferior-octave-mode): Add eldoc support.
8292
8293 2013-05-11 Richard Stallman <rms@gnu.org>
8294
8295 * epa.el (epa-decrypt-file): Take output file name as argument
8296 and read it using `interactive'.
8297
8298 2013-05-11 Leo Liu <sdl.web@gmail.com>
8299
8300 * progmodes/octave.el (octave-beginning-of-line)
8301 (octave-end-of-line): Check before using up-list because it jumps
8302 out of more syntactic contructs since moving to smie.
8303 (octave-indent-comment): New function.
8304 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8305 (octave-begin-keywords, octave-end-keywords)
8306 (octave-reserved-words, octave-smie-bnf-table)
8307 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8308
8309 2013-05-11 Glenn Morris <rgm@gnu.org>
8310
8311 * faces.el (internal-face-x-get-resource):
8312 * frame.el (ns-display-monitor-attributes-list):
8313 * calc/calc-aent.el (math-to-radians-2):
8314 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8315 Fix declarations.
8316
8317 * calc/calc-menu.el: Make it loadable in isolation.
8318
8319 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8320 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8321 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8322 (eudc-bbdb-query-internal): Require 'bbdb.
8323
8324 * lpr.el (lpr-headers-switches):
8325 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8326
8327 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8328
8329 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8330
8331 * term.el (term-set-escape-char): Make it idempotent.
8332
8333 2013-05-10 Leo Liu <sdl.web@gmail.com>
8334
8335 * progmodes/octave.el (inferior-octave-completion-table):
8336 No longer a function and all uses changed. Use cache to speed up
8337 completion due to bug#11906.
8338 (octave-beginning-of-defun): Re-write to be more general.
8339
8340 2013-05-10 Glenn Morris <rgm@gnu.org>
8341
8342 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8343
8344 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * comint.el (comint-redirect-send-command-to-process): Use :around
8347 rather than :override for comint-redirect-filter.
8348 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8349 Call it instead of comint-redirect-original-filter-function (which
8350 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8351
8352 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8353
8354 * frame.el (display-monitor-attributes-list): Add NS case.
8355 (ns-display-monitor-attributes-list): Declare.
8356
8357 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8358
8359 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8360
8361 2013-05-09 Glenn Morris <rgm@gnu.org>
8362
8363 * international/fontset.el (vertical-centering-font-regexp):
8364 Set standard-value.
8365
8366 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8367
8368 * bookmark.el (bookmark-search-delay):
8369 * cus-start.el (vertical-centering-font-regexp):
8370 * ps-mule.el (ps-mule-font-info-database-default):
8371 * ps-print.el (ps-default-fg, ps-default-bg):
8372 * type-break.el (type-break-good-break-interval):
8373 * whitespace.el (whitespace-indentation-regexp)
8374 (whitespace-space-after-tab-regexp):
8375 * emacs-lisp/testcover.el (testcover-1value-functions)
8376 (testcover-noreturn-functions, testcover-progn-functions)
8377 (testcover-prog1-functions):
8378 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8379 * eshell/em-glob.el (eshell-glob-translate-alist):
8380 * play/tetris.el (tetris-tty-colors):
8381 * progmodes/cpp.el (cpp-face-default-list):
8382 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8383 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8384 (idlwave-help-browser-generic-args):
8385 * progmodes/make-mode.el (makefile-special-targets-list):
8386 * progmodes/python.el (python-shell-virtualenv-path):
8387 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8388 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8389 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8390 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8391 * textmodes/reftex-vars.el (reftex-format-label-function):
8392 * textmodes/remember.el (remember-diary-file): Fix custom types.
8393
8394 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8395 Add :version.
8396
8397 2013-05-09 Leo Liu <sdl.web@gmail.com>
8398
8399 * progmodes/octave.el (inferior-octave-completion-at-point):
8400 Restore file completion. (Bug#14300)
8401 (inferior-octave-startup): Fix incorrect highlighting for the
8402 first prompt.
8403
8404 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * progmodes/ruby-mode.el: First cut at SMIE support.
8407 (ruby-use-smie): New var.
8408 (ruby-smie-grammar): New constant.
8409 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8410 (ruby-smie--forward-token, ruby-smie--backward-token)
8411 (ruby-smie-rules): New functions.
8412 (ruby-mode-variables): Setup SMIE if applicable.
8413
8414 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8415
8416 * simple.el (line-move-visual): Signal beginning/end of buffer
8417 only if vertical-motion moved less than it was requested. Avoids
8418 silly incorrect error messages when there are display strings with
8419 multiple newlines at EOL.
8420
8421 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8424 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8425 (prolog-char-quote-workaround):
8426 * progmodes/cperl-mode.el (cperl-under-as-char):
8427 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8428 Mark as obsolete.
8429 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8430 their declaration.
8431 (vhdl-mode-syntax-table-init): Remove.
8432
8433 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8434 last change.
8435
8436 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8437 syntax for "_".
8438 (ld-script-font-lock-keywords):
8439 Change regexps to use things like \_< and \_>.
8440
8441 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8442 Change all regexps to use things like \_< and \_>.
8443
8444 * progmodes/autoconf.el (autoconf-definition-regexp)
8445 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8446 Handle a _ with symbol syntax.
8447 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8448
8449 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8450 Consolidate declaration.
8451 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8452 the declaration.
8453 (ada-create-syntax-table): Remove.
8454 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8455 already has the right syntax nowadays.
8456 (ada-goto-next-word): Don't change the syntax of "_".
8457
8458 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8459 with-wrapper-hook.
8460
8461 2013-05-08 Sam Steingold <sds@gnu.org>
8462
8463 * thingatpt.el (thing-at-point): Accept optional second argument
8464 NO-PROPERTIES to strip the text properties from the return value.
8465 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8466 to `thing-at-point' instead of stripping the properties ourselves.
8467 Also, when `thing-at-point' fails to find a url, prepend "http://"
8468 to the filename at point on the assumption that the user is
8469 pointing at something like gnu.org/gnu.
8470
8471 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8472
8473 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8474 * faces.el (crm-separator):
8475 Silence byte-compiler.
8476
8477 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8478 (tool-bar-map): Remove unneeded defvars.
8479
8480 2013-05-08 Leo Liu <sdl.web@gmail.com>
8481
8482 Re-work a fix for bug#10994 based on Le Wang's patch.
8483 * ido.el (ido-remove-consecutive-dups): New helper.
8484 (ido-completing-read): Use it.
8485 (ido-chop): Revert fix for bug#10994.
8486
8487 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8488
8489 * cus-edit.el (custom-save-variables):
8490 Pretty-print long values. (Bug#14187)
8491
8492 2013-05-08 Glenn Morris <rgm@gnu.org>
8493
8494 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8495 (m4-mode-syntax-table): Init in the defvar.
8496 (m4-mode-abbrev-table): Let define-derived-mode define it.
8497
8498 2013-05-08 Tom Tromey <tromey@redhat.com>
8499
8500 * progmodes/m4-mode.el (m4-mode-syntax-table):
8501 Do not treat "_" as word constituent. (Bug#14167)
8502
8503 2013-05-07 Glenn Morris <rgm@gnu.org>
8504
8505 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8506 Remove explicit eshell-isearch-cancel-map.
8507
8508 * progmodes/f90.el (f90-smart-end-names): New option.
8509 (f90-smart-end): Doc fix.
8510 (f90-end-block-optional-name): New constant.
8511 (f90-block-match): Respect f90-smart-end-names.
8512
8513 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8516 about implicit semi-colons (bug#14218).
8517
8518 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8519
8520 * frame.el (display-monitor-attributes-list)
8521 (frame-monitor-attributes): New functions.
8522
8523 2013-05-06 Leo Liu <sdl.web@gmail.com>
8524
8525 * progmodes/octave.el (octave-syntax-propertize-function): Change
8526 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8527 (octave-font-lock-keywords): Use octave-operator-regexp.
8528 (octave-completion-at-point): Rename from
8529 octave-completion-at-point-function.
8530 (inferior-octave-directory-tracker): Robustify.
8531 (octave-text-functions): Remove and fix its uses. No such things
8532 any more.
8533
8534 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * emacs-lisp/trace.el (trace--display-buffer): New function.
8537 (trace-make-advice): Use it.
8538
8539 2013-05-06 Juri Linkov <juri@jurta.org>
8540
8541 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8542 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8543 Doc fix.
8544 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8545 in the help string. (Bug#12985)
8546
8547 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8548
8549 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8550
8551 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * progmodes/perl-mode.el: Add support for here documents.
8554 (perl-syntax-propertize-function): Match here-doc markers.
8555 (perl-syntax-propertize-special-constructs): Find their end.
8556 (perl-imenu-generic-expression): Use [:alnum:].
8557
8558 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8559 (advice--add-function): Refresh the advice if already present
8560 (bug#14317).
8561
8562 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8563
8564 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8565
8566 2013-05-06 Glenn Morris <rgm@gnu.org>
8567
8568 * w32-fns.el (w32-charset-info-alist): Declare.
8569
8570 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8571 of its defcustom properties.
8572 (eshell-cmpl-initialize): No need to load pcomplete.
8573
8574 * generic-x.el: No need to require comint when compiling.
8575
8576 * net/eudc-export.el: Make it loadable without bbdb.
8577 (top-level): Use require rather than load-library.
8578 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8579 (eudc-batch-export-records-to-bbdb)
8580 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8581 Require bbdb.
8582
8583 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8584
8585 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8586 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8587 some tweaks, instead.
8588
8589 2013-05-05 Leo Liu <sdl.web@gmail.com>
8590
8591 * progmodes/octave.el (octave-font-lock-keywords)
8592 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8593 (inferior-octave-send-list-and-digest): Improve error message.
8594 (octave-mode, inferior-octave-mode): Use setq-local.
8595 (octave-help): Set info-lookup-mode.
8596
8597 2013-05-05 Richard Stallman <rms@gnu.org>
8598
8599 * vc/compare-w.el (compare-windows-whitespace):
8600 Treat no-break space as whitespace.
8601
8602 * mail/rmailsum.el (rmail-summary-rmail-update):
8603 Detect empty summary and don't change selected message.
8604 (rmail-summary-goto-msg): Likewise.
8605
8606 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8607 Doc fixes, rename args.
8608
8609 2013-05-05 Alan Mackenzie <acm@muc.de>
8610
8611 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8612
8613 2013-05-05 Juri Linkov <juri@jurta.org>
8614
8615 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8616 to not add the length of the summary segment to the return value.
8617 (Bug#14125)
8618
8619 2013-05-05 Leo Liu <sdl.web@gmail.com>
8620
8621 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8622 (inferior-octave-output-filter): Remove.
8623 (octave-send-region, inferior-octave-startup): Fix callers.
8624 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8625 (octave-binary-file-extensions): New user variable.
8626 (octave-find-definition): Confirm if opening binary files.
8627 (octave-help-file): Use octave-find-definition to get the binary
8628 confirmation.
8629 (octave-help): Adjust for octave-help-file change.
8630
8631 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8634 Merge the two entries that handle function definitions.
8635 (pascal--syntax-propertize): New const.
8636 (pascal-mode): Use it. Use setq-local.
8637
8638 2013-05-04 Glenn Morris <rgm@gnu.org>
8639
8640 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8641 (diary-from-outlook): Respect diary-from-outlook-function.
8642
8643 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8646 Move the declaration from C.
8647 (read-minibuffer, eval-minibuffer): Move from C.
8648 (completion-setup-function): Avoid minibuffer-completion-contents.
8649
8650 2013-05-03 Leo Liu <sdl.web@gmail.com>
8651
8652 * progmodes/octave.el (octave-font-lock-keywords): Do not
8653 dehighlight 'end' in comments or strings.
8654 (octave-completing-read, octave-goto-function-definition):
8655 New helpers.
8656 (octave-help-buffer): New user variable.
8657 (octave-help-file, octave-help-function): New button types.
8658 (octave-help): New command and bind it to C-h ;.
8659 (octave-find-definition): New command and bind it to M-.
8660 (user-error): Alias to error if not defined.
8661
8662 2013-05-02 Leo Liu <sdl.web@gmail.com>
8663
8664 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8665 for \. (bug#14332)
8666 (octave-font-lock-keywords): Include [ and {.
8667
8668 2013-05-02 Leo Liu <sdl.web@gmail.com>
8669
8670 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8671 (inferior-octave): Remove calling comint-mode and return the buffer.
8672 (inferior-octave-startup): Cosmetic changes.
8673
8674 2013-05-02 Leo Liu <sdl.web@gmail.com>
8675
8676 * progmodes/octave.el (octave-syntax-propertize-function):
8677 Include the case when ' is at line beginning. (Bug#14336)
8678
8679 2013-05-02 Glenn Morris <rgm@gnu.org>
8680
8681 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8682 * desktop.el (vc-dir-mode): Just autoload it here.
8683
8684 2013-05-02 Alan Mackenzie <acm@muc.de>
8685
8686 Eliminate variable c-standard-font-lock-fontify-region-function.
8687 * progmodes/cc-mode.el
8688 (c-standard-font-lock-fontify-region-function): Remove.
8689 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8690
8691 2013-05-01 Leo Liu <sdl.web@gmail.com>
8692
8693 * progmodes/octave.el: Compatible with older emacs-24 releases.
8694 (inferior-octave-has-built-in-variables): Remove. Built-in
8695 variables were removed from Octave in 2007.
8696 (inferior-octave-startup): Fix uses.
8697 (comint-line-beginning-position): Remove compatibility code for
8698 emacs 21.
8699
8700 2013-05-01 Juri Linkov <juri@jurta.org>
8701
8702 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8703
8704 2013-05-01 Juri Linkov <juri@jurta.org>
8705
8706 * comint.el (comint-previous-matching-input): Don't print message
8707 "History item: %d" when `isearch-mode' is active.
8708 (comint-history-isearch-message): Print message "History item: %d"
8709 when `comint-input-ring-index' is not empty and this function is
8710 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8711
8712 2013-05-01 Leo Liu <sdl.web@gmail.com>
8713
8714 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8715 definitions. Use completion-at-point to insert keywords.
8716 (octave-abbrev-start): Remove.
8717 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8718
8719 2013-04-30 Leo Liu <sdl.web@gmail.com>
8720
8721 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8722 change.
8723
8724 2013-04-30 Alan Mackenzie <acm@muc.de>
8725
8726 Handle arbitrarily long C++ member initialisation lists.
8727 * progmodes/cc-engine.el (c-back-over-member-initializers):
8728 new function.
8729 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8730 (most) member init lists.
8731
8732 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8733
8734 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8735 variable.
8736
8737 2013-04-30 Leo Liu <sdl.web@gmail.com>
8738
8739 * progmodes/octave.el (octave-variables): Remove. No builtin
8740 variables any more. All converted to functions.
8741 (octave-font-lock-keywords, octave-completion-at-point-function):
8742 Fix uses.
8743 (octave-font-lock-texinfo-comment): New user variable.
8744 (octave-texinfo-font-lock-keywords): New variable for texinfo
8745 comment block.
8746 (octave-function-comment-block): New face.
8747 (octave-font-lock-texinfo-comment): New function.
8748 (octave-mode): Font lock texinfo comment block.
8749
8750 2013-04-29 Leo Liu <sdl.web@gmail.com>
8751
8752 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8753 indexing expression.
8754 (octave-continuation-string): Do not use \.
8755 (inferior-octave-complete-impossible): Remove.
8756 (inferior-octave-completion-table)
8757 (inferior-octave-completion-at-point): Remove its uses.
8758 (inferior-octave-startup): completion_matches was introduced to
8759 Octave in 1996 so safe to assume it.
8760 (octave-function-file-comment): Improve to follow how Octave does it.
8761 (octave-update-function-file-comment): Tweak.
8762
8763 2013-04-29 Leo Liu <sdl.web@gmail.com>
8764
8765 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8766 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8767 (octave-function-file-comment): Fix typo.
8768 (octave-sync-function-file-names): Use read-char-choice.
8769
8770 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8771
8772 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8773 to t for the less important warnings.
8774
8775 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8776
8777 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8778
8779 2013-04-27 Glenn Morris <rgm@gnu.org>
8780
8781 * vc/log-view.el (log-view-current-entry):
8782 Treat "---" separator lines as part of the following rev. (Bug#14169)
8783
8784 2013-04-27 Juri Linkov <juri@jurta.org>
8785
8786 * subr.el (read-number): Doc fix about using it by interactive
8787 code letter `n'. (Bug#14254)
8788
8789 2013-04-27 Juri Linkov <juri@jurta.org>
8790
8791 * desktop.el (desktop-auto-save-timeout): New option.
8792 (desktop-file-checksum): New variable.
8793 (desktop-save): Add optional arg `auto-save' and don't auto-save
8794 if nothing changed.
8795 (desktop-auto-save-timer): New variable.
8796 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8797 (after-init-hook): Call `desktop-auto-save-set-timer'.
8798 Suggested by Reuben Thomas <rrt@sc3d.org> in
8799 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8800
8801 2013-04-27 Leo Liu <sdl.web@gmail.com>
8802
8803 * progmodes/octave.el (octave-function-file-p)
8804 (octave-skip-comment-forward, octave-function-file-comment)
8805 (octave-update-function-file-comment): New functions.
8806 (octave-mode-map): Bind C-c ; to
8807 octave-update-function-file-comment.
8808 (octave-mode-menu): Add octave-update-function-file-comment.
8809 (octave-mode, inferior-octave-mode): Fix doc-string.
8810 (octave-insert-defun): Conform to Octave's coding convention.
8811 (Bug#14285)
8812
8813 * files.el (basic-save-buffer): Don't let errors in
8814 before-save-hook prevent saving buffer.
8815
8816 2013-04-20 Roland Winkler <winkler@gnu.org>
8817
8818 * faces.el (read-face-name): Use completing-read if arg multiple
8819 is nil.
8820
8821 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8822
8823 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8824 displayed, move point to after the totals line.
8825 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8826 for the details.
8827
8828 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8831 Add current dir to the load-path.
8832 (package-generate-autoloads): Don't rely on
8833 autoload-ensure-default-file.
8834
8835 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8836
8837 * textmodes/remember.el (remember-store-in-files): Document that
8838 the file name format is passed to `format-time-string'.
8839
8840 2013-04-26 Leo Liu <sdl.web@gmail.com>
8841
8842 * progmodes/octave.el (octave-sync-function-file-names): New function.
8843 (octave-mode): Use it in before-save-hook.
8844
8845 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8846
8847 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8848 (bug#14274).
8849
8850 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8851 \n and comment, even if it's not an implicit ; (bug#14218).
8852
8853 2013-04-26 Glenn Morris <rgm@gnu.org>
8854
8855 * subr.el (read-number): Once more use `read' rather than
8856 `string-to-number', to trap non-numeric input. (Bug#14254)
8857
8858 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8859
8860 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8861 Use `syntax-multiline' text property consistently instead of
8862 `font-lock-multiline'. (Bug#14237)
8863
8864 2013-04-26 Glenn Morris <rgm@gnu.org>
8865
8866 * emacs-lisp/shadow.el (list-load-path-shadows):
8867 No longer necessary to check for duplicate simple.el, since
8868 2012-07-07 change to init_lread to not include installation lisp
8869 directories in load-path when running uninstalled. (Bug#14270)
8870
8871 2013-04-26 Leo Liu <sdl.web@gmail.com>
8872
8873 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8874 (octave-mode, inferior-octave-mode): Use setq-local.
8875 (octave-not-in-string-or-comment-p): Rename to
8876 octave-in-string-or-comment-p.
8877 (octave-in-comment-p, octave-in-string-p)
8878 (octave-in-string-or-comment-p): Replace defsubst with defun.
8879
8880 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8881
8882 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8883
8884 2013-04-25 Bastien Guerry <bzg@gnu.org>
8885
8886 * textmodes/remember.el (remember-data-directory)
8887 (remember-directory-file-name-format): Fix custom types.
8888
8889 2013-04-25 Leo Liu <sdl.web@gmail.com>
8890
8891 * progmodes/octave.el (octave-completion-at-point-function):
8892 Make use of inferior octave process.
8893 (octave-initialize-completions): Remove.
8894 (inferior-octave-completion-table): New function.
8895 (inferior-octave-completion-at-point): Use it.
8896 (octave-completion-alist): Remove.
8897
8898 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8901 (opascal-mode-syntax-table): New var.
8902 (opascal-literal-kind, opascal-is-literal-end)
8903 (opascal-literal-token-at): Rewrite.
8904 (opascal--literal-start-re, opascal-font-lock-keywords)
8905 (opascal--syntax-propertize): New constants.
8906 (opascal-font-lock-defaults): Adjust.
8907 (opascal-mode): Use them. Set comment-<foo> variables as well.
8908 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8909 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8910 (delphi-other-face, opascal-other-face): Remove face variables.
8911 (opascal-save-state): Remove macro.
8912 (opascal-fontifying-progress-step): Remove constant.
8913 (opascal--ignore-changes): Remove var.
8914 (opascal-set-token-property, opascal-parse-next-literal)
8915 (opascal-is-stable-literal, opascal-complete-literal)
8916 (opascal-is-literal-start, opascal-face-of)
8917 (opascal-parse-region, opascal-parse-region-until-stable)
8918 (opascal-fontify-region, opascal-after-change)
8919 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8920 (opascal-debug-parse-region, opascal-debug-parse-window)
8921 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8922 (opascal-debug-fontify-buffer): Remove.
8923 (opascal-debug-mode-map): Adjust accordingly.
8924
8925 2013-04-25 Leo Liu <sdl.web@gmail.com>
8926
8927 Merge octave-mod.el and octave-inf.el into octave.el with some
8928 cleanups.
8929 * progmodes/octave.el: New file renamed from octave-mod.el.
8930 * progmodes/octave-inf.el: Merged into octave.el.
8931 * progmodes/octave-mod.el: Renamed to octave.el.
8932
8933 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8934
8935 * textmodes/reftex-vars.el
8936 (reftex-label-ignored-macros-and-environments): New defcustom.
8937
8938 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8939
8940 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8943 (smie-indent-keyword): Improve the check to ensure that the next
8944 comment is really on the same line.
8945 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8946
8947 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8948 semi-colons if the line is not otherwise empty (bug#14218).
8949
8950 2013-04-25 Glenn Morris <rgm@gnu.org>
8951
8952 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8953
8954 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 * progmodes/opascal.el (opascal-set-token-property): Rename from
8957 opascal-set-text-properties and only set `token' (bug#14134).
8958 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8959 (opascal-literal-text-properties): Remove.
8960 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8961 Adjust callers.
8962
8963 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8964
8965 * textmodes/remember.el (remember-handler-functions): Add an
8966 option for a new handler `remember-store-in-files'.
8967 (remember-data-directory, remember-directory-file-name-format):
8968 New options.
8969 (remember-store-in-files): New function to store remember notes
8970 as separate files within a directory.
8971
8972 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8973
8974 * progmodes/compile.el (compilation-next-error-function):
8975 Pass "formats" to compilation-find-file (bug#11777).
8976
8977 2013-04-24 Glenn Morris <rgm@gnu.org>
8978
8979 * vc/vc-bzr.el (vc-bzr-print-log):
8980 * vc/vc-hg.el (vc-hg-print-log):
8981 * vc/vc-svn.el (vc-svn-print-log):
8982 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8983
8984 * vc/vc-bzr.el (vc-bzr-print-log):
8985 * vc/vc-cvs.el (vc-cvs-print-log):
8986 * vc/vc-git.el (vc-git-print-log):
8987 * vc/vc-hg.el (vc-hg-print-log):
8988 * vc/vc-mtn.el (vc-mtn-print-log):
8989 * vc/vc-rcs.el (vc-rcs-print-log):
8990 * vc/vc-sccs.el (vc-sccs-print-log):
8991 * vc/vc-svn.el (vc-svn-print-log):
8992 * vc/vc.el (vc-print-log-internal): Doc fixes.
8993
8994 2013-04-23 Glenn Morris <rgm@gnu.org>
8995
8996 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8997 Remove venerable code attempting to avoid substitute-command-keys.
8998
8999 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9000
9001 * textmodes/reftex-vars.el (reftex-label-regexps):
9002 Call `reftex-compile-variables' after changes to this variable.
9003
9004 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9007 Use lexical-binding.
9008 (jit-lock-force-redisplay): Use markers, check buffer's continued
9009 existence and beware narrowed buffers.
9010 (jit-lock-fontify-now): Adjust call accordingly.
9011
9012 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9015 to avoid misleading the user.
9016
9017 2013-04-22 Leo Liu <sdl.web@gmail.com>
9018
9019 * info-look.el: Prefer latex2e.info. (Bug#14240)
9020
9021 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9022
9023 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9024
9025 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9026 * net/tramp.el (tramp-call-process): ... here.
9027 (tramp-set-completion-function, tramp-parse-putty):
9028 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9029 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9030 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9031 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9032 (tramp-call-local-coding-command): Use `tramp-call-process'
9033 instead of `tramp-compat-call-process'.
9034
9035 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9036 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9037 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9038 (tramp-find-inline-compress): Improve traces.
9039 (tramp-maybe-send-script): Check for Perl binary.
9040 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9041
9042 2013-04-22 Daiki Ueno <ueno@gnu.org>
9043
9044 * epg.el (epg-context-pinentry-mode): New function.
9045 (epg-context-set-pinentry-mode): New function.
9046 (epg--start): Pass --pinentry-mode option to gpg command.
9047
9048 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9049
9050 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9051 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9052 `completion-at-point'. (Bug#13774)
9053
9054 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9055 default key binding for `describe-distribution' has been moved to
9056 `C-h C-o'. (Bug#13970)
9057
9058 2013-04-21 Glenn Morris <rgm@gnu.org>
9059
9060 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9061 Add doc strings.
9062 (vc-print-log): Clarify interactive prompt.
9063
9064 2013-04-20 Glenn Morris <rgm@gnu.org>
9065
9066 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9067 No longer include timestamp etc information.
9068
9069 2013-04-20 Roland Winkler <winkler@gnu.org>
9070
9071 * faces.el (read-face-name): Bug fix, return just one face if arg
9072 multiple is nil. (Bug#14209)
9073
9074 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9077 (remove-function): Autoload.
9078
9079 * comint.el (comint-redirect-original-filter-function): Remove.
9080 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9081 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9082 (vc-cvs-annotate-command):
9083 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9084 * progmodes/prolog.el (prolog-consult-compile):
9085 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9086 Use add/remove-function instead.
9087 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9088 (gud-tooltip-process-output, gud-tooltip-tips):
9089 Use add/remove-function instead.
9090 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9091 (scheme-interaction-mode, exit-scheme-interaction-mode):
9092 Use add/remove-function instead.
9093
9094 * vc/vc-dispatcher.el: Use lexical-binding.
9095 (vc--process-sentinel): Rename from vc-process-sentinel.
9096 Change last arg to be the code to run. Don't use vc-previous-sentinel
9097 and vc-sentinel-commands any more.
9098 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9099 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9100
9101 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9102
9103 * progmodes/sh-script.el (sh-imenu-generic-expression):
9104 Handle function names with a single character. (Bug#14111)
9105
9106 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9107
9108 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9109 for subroutines defined in an eval (bug#14182).
9110
9111 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9112
9113 * bookmark.el (bookmark-completing-read): Improve handling of empty
9114 string (bug#14176).
9115
9116 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9117
9118 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9119
9120 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9121
9122 New faster Imenu implementation (bug#14058).
9123 * progmodes/python.el:
9124 (python-imenu-prev-index-position):
9125 (python-imenu-format-item-label-function)
9126 (python-imenu-format-parent-item-label-function)
9127 (python-imenu-format-parent-item-jump-label-function):
9128 New vars.
9129 (python-imenu-format-item-label)
9130 (python-imenu-format-parent-item-label)
9131 (python-imenu-format-parent-item-jump-label)
9132 (python-imenu--put-parent, python-imenu--build-tree)
9133 (python-imenu-create-index, python-imenu-create-flat-index)
9134 (python-util-popn): New functions.
9135 (python-mode): Set imenu-create-index-function to
9136 python-imenu-create-index.
9137
9138 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9139
9140 * winner.el (winner-active-region): Use region-active-p, activate-mark
9141 and deactivate-mark (bug#14225).
9142
9143 * simple.el (deactivate-mark): Don't inline it.
9144
9145 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9146
9147 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9148
9149 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9150
9151 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9152 file extensions from the archive-mode entry in order to prefer
9153 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9154
9155 2013-04-18 Leo Liu <sdl.web@gmail.com>
9156
9157 * bindings.el (help-event-list): Add ?\?.
9158
9159 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * subr.el (with-wrapper-hook): Declare obsolete.
9162 * simple.el (filter-buffer-substring-function): New hook.
9163 (filter-buffer-substring): Use it.
9164 (filter-buffer-substring-functions): Mark obsolete.
9165 * minibuffer.el (completion-in-region-function): New hook.
9166 (completion-in-region): Use it.
9167 (completion-in-region-functions): Mark obsolete.
9168 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9169 * abbrev.el (abbrev-expand-function): New hook.
9170 (expand-abbrev): Use it.
9171 (abbrev-expand-functions): Mark obsolete.
9172 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9173 and :filter-return.
9174
9175 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9176
9177 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9178 and do not care about match data.
9179
9180 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9181
9182 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9183 completion tables when completing error conditions and
9184 `declare' arguments.
9185 (lisp-complete-symbol, field-complete): Mark as obsolete.
9186 (check-parens): Unmatched parens are user errors.
9187 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9188
9189 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9190
9191 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9192 command changed buffer (ie. `flyspell-pre-buffer' is not current
9193 buffer), which prevents making decisions based on invalid value of
9194 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9195 cause an error when `flyspell-pre-point' was nil after switching
9196 buffers.
9197 (flyspell-post-command-hook): No longer needs to change buffers when
9198 checking pre-word. While at it remove unnecessary progn.
9199
9200 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9201
9202 * textmodes/ispell.el (ispell-add-per-file-word-list):
9203 Fix `flyspell-correct-word-before-point' error when accepting
9204 words and `coment-padding' is an integer by using
9205 `comment-normalize-vars' (Bug #14214).
9206
9207 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9208
9209 New defun movement commands.
9210 * progmodes/python.el (python-nav--syntactically)
9211 (python-nav--forward-defun, python-nav-backward-defun)
9212 (python-nav-forward-defun): New functions.
9213
9214 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9215
9216 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9217 (python-syntax-context): Use named compiler-macro for backwards
9218 compatibility with Emacs 24.x.
9219
9220 2013-04-17 Leo Liu <sdl.web@gmail.com>
9221
9222 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9223 octave-hide-process-buffer.
9224
9225 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9228 (bug#14216).
9229
9230 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9231
9232 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9233 Fix adjustment of offset when receiving incomplete responses from GDB
9234 (bug#14129).
9235
9236 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9237
9238 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9239 python-mode-abbrev-table.
9240 (python-skeleton-define): Adjust accordingly.
9241 (python-mode-abbrev-table): New table that inherits from it so that
9242 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9243
9244 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9245 (abbrev-symbol): Use it.
9246 (abbrev--before-point): Use it since we already handle inheritance.
9247
9248 2013-04-16 Leo Liu <sdl.web@gmail.com>
9249
9250 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9251 binding to info-lookup-symbol.
9252
9253 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9254
9255 * minibuffer.el (completion--twq-all):
9256 * term/ns-win.el (ns-initialize-window-system):
9257 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9258
9259 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9262 global bindings.
9263
9264 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9265
9266 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9267
9268 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9269 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9270 to nil.
9271 (ruby-end-of-defun): Remove the unused arg, change the docstring
9272 to reflect that this function is only used as the value of
9273 `end-of-defun-function'.
9274 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9275 to reflect an earlier change that beginning/end-of-defun functions
9276 jump between methods in a class definition, as well as top-level
9277 functions.
9278
9279 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9280
9281 * minibuffer.el (minibuffer-complete): Don't just scroll
9282 a *Completions* that's been iconified.
9283 (minibuffer-force-complete): Make sure repetitions do cycle when going
9284 through completion-in-region -> minibuffer-complete.
9285
9286 2013-04-15 Alan Mackenzie <acm@muc.de>
9287
9288 Correct the placement of c-cpp-delimiters when there're #s not at
9289 col 0.
9290
9291 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9292 place a submatch around the #.
9293 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9294 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9295 on the #, not BOL.
9296
9297 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9300 (advice--member-p): New arg `name'.
9301 (advice--add-function, advice-member-p): Use it (bug#14202).
9302
9303 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9304
9305 Reformulate java imenu-generic-expression.
9306 The old expression contained ill formed regexps.
9307
9308 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9309 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9310 (cc-imenu-java-method-arg-regexp): New defconsts.
9311 (cc-imenu-java-build-type-args-regex): New defun.
9312 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9313 handling of spaces in the regexp.
9314
9315 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9316
9317 * textmodes/ispell.el (ispell-command-loop): Remove
9318 flyspell highlight of a word when ispell accepts it (bug #14178).
9319
9320 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9321
9322 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9323 uses code from the previous `ange-ftp-run-real-handler'.
9324 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9325 only in case that function exist. This is needed for proper
9326 unloading of Tramp.
9327
9328 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9329
9330 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9331
9332 * textmodes/reftex.el (reftex-compile-variables): Use it.
9333
9334 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * files.el (normal-mode): Only use default major-mode if no other mode
9337 was specified.
9338
9339 * emacs-lisp/trace.el (trace-values): New function.
9340
9341 * files.el: Allow : in local variables (bug#14089).
9342 (hack-local-variable-regexp): New var.
9343 (hack-local-variables-prop-line, hack-local-variables): Use it.
9344
9345 2013-04-13 Roland Winkler <winkler@gnu.org>
9346
9347 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9348 data before it gets modified by bibtex-beginning-of-entry.
9349
9350 2013-04-13 Roland Winkler <winkler@gnu.org>
9351
9352 * textmodes/bibtex.el (bibtex-url): Doc fix.
9353
9354 2013-04-13 Roland Winkler <winkler@gnu.org>
9355
9356 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9357 does not visit a BibTeX file, exclude it from the list of buffers
9358 returned by bibtex-initialize.
9359
9360 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9361
9362 * window.el (split-window): Remove interactive form, since as a
9363 command this function is a special case of split-window-below.
9364 Correct doc string.
9365
9366 2013-04-12 Roland Winkler <winkler@gnu.org>
9367
9368 * faces.el (read-face-name): Do not override value of arg default.
9369 Allow single faces and strings as default values. Remove those
9370 elements from return value that are not faces.
9371 (describe-face): Simplify.
9372 (face-at-point): New optional args thing and multiple so that this
9373 function can provide the same functionality previously provided by
9374 read-face-name.
9375 (make-face-bold, make-face-unbold, make-face-italic)
9376 (make-face-unitalic, make-face-bold-italic, invert-face)
9377 (modify-face, read-face-and-attribute): Use face-at-point.
9378
9379 * cus-edit.el (customize-face, customize-face-other-window)
9380 * cus-theme.el (custom-theme-add-face)
9381 * face-remap.el (buffer-face-set)
9382 * facemenu.el (facemenu-set-face): Use face-at-point.
9383
9384 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9385
9386 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9387
9388 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9389
9390 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9391 off leading { and trailing } from field values.
9392
9393 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9394
9395 * emacs-lisp/timer.el (timer--check): New function.
9396 (timer--time, timer-set-function, timer-event-handler): Use it.
9397 (timer-set-idle-time): Simplify.
9398 (timer--activate): CSE.
9399 (timer-event-handler): Give more info in error message.
9400 (internal-timer-start-idle): New function, moved from C.
9401
9402 * mpc.el (mpc-proc): Add `restart' argument.
9403 (mpc-proc-cmd): Use it.
9404 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9405 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9406 less often.
9407
9408 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9409
9410 * progmodes/sh-script.el: Implement `sh-mode' own
9411 `add-log-current-defun-function' (bug#14112).
9412 (sh-current-defun-name): New function.
9413 (sh-mode): Use the function.
9414
9415 2013-04-09 Bastien Guerry <bzg@gnu.org>
9416
9417 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9418
9419 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9420
9421 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9422
9423 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9424 timer (bug#14156).
9425
9426 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9427
9428 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9429 declaration.
9430
9431 2013-04-07 Leo Liu <sdl.web@gmail.com>
9432
9433 * pcmpl-x.el: New file.
9434
9435 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9436
9437 Do not set x-display-name until X connection is established.
9438 This is needed to prevent from weird situation described at
9439 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9440 * frame.el (make-frame): Set x-display-name after call to
9441 window system initialization function, not before.
9442 * term/x-win.el (x-initialize-window-system): Add optional
9443 display argument and use it.
9444 * term/w32-win.el (w32-initialize-window-system):
9445 * term/ns-win.el (ns-initialize-window-system):
9446 * term/pc-win.el (msdos-initialize-window-system):
9447 Add compatible optional display argument.
9448
9449 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9450
9451 * files.el (normal-backup-enable-predicate): On MS-Windows and
9452 MS-DOS compare truenames of temporary-file-directory and of the
9453 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9454 don't fail comparison by compare-strings. Also, compare file
9455 names case-insensitively on MS-Windows and MS-DOS.
9456
9457 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9460 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9461
9462 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9463
9464 * whitespace.el (whitespace-color-on, whitespace-color-off):
9465 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9466
9467 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9468
9469 * ispell.el (ispell-set-spellchecker-params):
9470 Really set `ispell-args' for all equivs.
9471
9472 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * ido.el (ido-completions): Use extra elements of ido-decorations
9475 (bug#14143).
9476 (ido-decorations): Update docstring.
9477
9478 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9479
9480 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9481 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9482 nil during initialization, in order not to miss changes since the
9483 file was opened. (Bug#14140)
9484
9485 2013-04-05 Leo Liu <sdl.web@gmail.com>
9486
9487 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9488
9489 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9490
9491 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9492
9493 2013-04-04 Glenn Morris <rgm@gnu.org>
9494
9495 * electric.el (electric-pair-inhibit-predicate): Add :version.
9496
9497 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9498
9499 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9500 when a package is required several times (bug#14082).
9501
9502 2013-04-04 Roland Winkler <winkler@gnu.org>
9503
9504 * faces.el (read-face-name): Behave as promised by the docstring.
9505 Assume that arg default is a list of faces.
9506 (describe-face): Call read-face-name with list of default faces.
9507
9508 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9509
9510 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9511 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9512 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9513 the header.
9514 (bookmark-exit-hook-internal): Save even if list is empty.
9515
9516 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9517
9518 * emacs-lisp/package.el (package-pinned-packages): New var.
9519 (package--add-to-archive-contents): Obey it (bug#14118).
9520
9521 2013-04-03 Alan Mackenzie <acm@muc.de>
9522
9523 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9524 Also adapt to the new values of element 7 of a parse state.
9525
9526 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9527 parameter `not-in-delimiter'. Handle being inside comment opener.
9528 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9529 character in case we're typing a '*' after a '/'.
9530 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9531 instead by passing the parameter to c-state-pp-to-literal.
9532
9533 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9534 for elt. 7 of a parse state.
9535
9536 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9537
9538 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9539 * international/latin1-disp.el, international/mule-util.el:
9540 * language/cyril-util.el, language/european.el, language/ind-util.el:
9541 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9542 * language/tibetan.el, language/viet-util.el:
9543 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9544
9545 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9546
9547 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9548 (electric-pair-post-self-insert-function): Use it.
9549 (electric-pair-default-inhibit): New function, extracted from
9550 electric-pair-post-self-insert-function.
9551
9552 2013-03-31 Roland Winkler <winkler@gnu.org>
9553
9554 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9555
9556 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9559
9560 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9561
9562 Un-indent after "pass" and "return" statements (Bug#13888)
9563 * progmodes/python.el (python-indent-block-enders): New var.
9564 (python-indent-calculate-indentation): Use it.
9565
9566 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9567
9568 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9569 defun. Defining it as defalias could introduce too eager
9570 byte-compiler optimization. (Bug#14030)
9571
9572 2013-03-30 Chong Yidong <cyd@gnu.org>
9573
9574 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9575
9576 2013-03-30 Leo Liu <sdl.web@gmail.com>
9577
9578 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9579 (kmacro-execute-from-register): Pass the keyboard macro to
9580 kmacro-call-macro or repeating won't work correctly.
9581
9582 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9583
9584 * progmodes/subword.el: Back to using `forward-symbol'.
9585
9586 * subr.el (forward-whitespace, forward-symbol)
9587 (forward-same-syntax): Move from thingatpt.el.
9588
9589 2013-03-29 Leo Liu <sdl.web@gmail.com>
9590
9591 * kmacro.el (kmacro-to-register): New command.
9592 (kmacro-execute-from-register): New function.
9593 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9594
9595 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 * mpc.el: Use defvar-local and setq-local.
9598 (mpc--proc-connect): Connection failures are not bugs.
9599 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9600 (mpc-volume-map): Bind to the up-events.
9601
9602 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9603
9604 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9605 instead of `forward-symbol'.
9606
9607 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9610 (edebug--recursive-edit): Use it.
9611 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9612 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9613
9614 2013-03-28 Leo Liu <sdl.web@gmail.com>
9615
9616 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9617
9618 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9619
9620 * facemenu.el (list-colors-callback): New defvar.
9621 (list-colors-redisplay): New function.
9622 (list-colors-display): Install list-colors-redisplay as the
9623 revert-buffer-function. (Bug#14063)
9624
9625 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9628 and suffixes don't overlap (bug#14061).
9629
9630 * case-table.el: Use lexical-binding.
9631 (case-table-get-table): New function.
9632 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9633
9634 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9635
9636 * progmodes/subword.el: Add `superword-mode' to do word motion
9637 over symbol_words (parallels and leverages `subword-mode' which
9638 does word motion inside MixedCaseWords).
9639
9640 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9641
9642 * eshell/em-unix.el: Move su and sudo to...
9643 * eshell/em-tramp.el: ...Eshell tramp module.
9644
9645 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9648 Change return value to be a sexp. Delay `get-buffer' to after
9649 restoring the desktop (bug#13951).
9650
9651 2013-03-26 Leo Liu <sdl.web@gmail.com>
9652
9653 * register.el: Move semantic tag handling back to
9654 cedet/semantic/senator.el. (Bug#14052)
9655
9656 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9659 into the prompt either (bug#13963).
9660
9661 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9662
9663 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9664 part of "(error-foo)".
9665
9666 2013-03-24 Juri Linkov <juri@jurta.org>
9667
9668 * replace.el (list-matching-lines-prefix-face): New defcustom.
9669 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9670 `occur-engine' if `face-differs-from-default-p' returns t.
9671 (occur-engine): Add `,' inside backquote construct to evaluate
9672 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9673 Pass `prefix-face' to the functions `occur-context-lines' and
9674 `occur-engine-add-prefix'.
9675 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9676 `prefix-face' and propertize the prefix with `prefix-face'.
9677 (Bug#14017)
9678
9679 2013-03-24 Leo Liu <sdl.web@gmail.com>
9680
9681 * nxml/rng-valid.el (rng-validate-while-idle)
9682 (rng-validate-quick-while-idle): Guard against deleted buffer.
9683 (Bug#13999)
9684
9685 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9686 is the last entry in kill-buffer-hook.
9687
9688 * files.el (kill-buffer-hook): Doc fix.
9689
9690 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9691
9692 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9693 Make it safe-local.
9694
9695 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9696
9697 2013-03-23 Leo Liu <sdl.web@gmail.com>
9698
9699 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9700 Remove.
9701
9702 * nxml/rng-valid.el (rng-validate-mode)
9703 (rng-after-change-function, rng-do-some-validation):
9704 * nxml/rng-maint.el (rng-validate-buffer):
9705 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9706 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9707 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9708 (nxml-extend-after-change-region): Use with-silent-modifications.
9709
9710 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9711 timer-idle-list.
9712
9713 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9714 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9715 timer-idle-list. (Bug#13999)
9716
9717 2013-03-23 Juri Linkov <juri@jurta.org>
9718
9719 * info.el (info-index-match): New face.
9720 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9721 main pattern and add text properties with the new face to matches
9722 in index entries relative to the beginning of the index entry.
9723 (Bug#14015)
9724
9725 2013-03-21 Eric Ludlam <zappo@gnu.org>
9726
9727 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9728 Inhibit read only while inserting objects.
9729
9730 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9731
9732 * progmodes/cfengine.el: Update docs to mention
9733 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9734 symbol motion. Remove "_" from the word syntax.
9735
9736 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9737
9738 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9739 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9740
9741 2013-03-20 Juri Linkov <juri@jurta.org>
9742
9743 * info.el (Info-next-reference-or-link)
9744 (Info-prev-reference-or-link): New functions.
9745 (Info-next-reference, Info-prev-reference): Use them.
9746 (Info-try-follow-nearest-node): Handle footnote navigation.
9747 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9748
9749 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9750
9751 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9752 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9753
9754 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9755
9756 Suppress unnecessary non-ASCII chatter during build process.
9757 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9758 (batch-skkdic-convert): Suppress most of the chatter.
9759 It's not needed so much now that machines are faster,
9760 and its non-ASCII component was confusing; see Dmitry Gutov in
9761 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9762
9763 2013-03-20 Leo Liu <sdl.web@gmail.com>
9764
9765 * ido.el (ido-chop): Fix bug#10994.
9766
9767 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9768
9769 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9770 Remove vars.
9771 (whitespace-color-on, whitespace-color-off):
9772 Use `font-lock-fontify-buffer' (Bug#13817).
9773
9774 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9777 remapping in mode-line.
9778 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9779
9780 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9781
9782 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9783 value for `whitespace-line' face (Bug#13875).
9784 (whitespace-font-lock-keywords): Change description.
9785 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9786 the constructed keywords instead.
9787 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9788
9789 2013-03-19 Leo Liu <sdl.web@gmail.com>
9790
9791 * progmodes/compile.el (compilation-display-error): New command.
9792 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9793 C-o. (Bug#13992)
9794
9795 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9796
9797 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9798
9799 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9800
9801 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9802
9803 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9804
9805 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9806
9807 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9808 * net/tramp-gvfs.el (top):
9809 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9810 (tramp-handle-shell-command): Use it.
9811 (tramp-dissect-file-name): Raise an error when hostname is a
9812 method name, and neither method nor user is specified.
9813
9814 * net/trampver.el: Update release number.
9815
9816 2013-03-18 Leo Liu <sdl.web@gmail.com>
9817
9818 Make sure eldoc can be turned off properly.
9819 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9820 eldoc-mode.
9821 (eldoc-display-message-p): Revert last change.
9822 (eldoc-display-message-no-interference-p)
9823 (eldoc-print-current-symbol-info): Tweak.
9824
9825 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9826
9827 * doc-view.el (doc-view-new-window-function): Check the new window
9828 overlay's display property instead the char property of the
9829 buffer's first char. Use `with-selected-window' instead of
9830 `save-window-excursion' with `select-window'.
9831 (doc-view-document->bitmap): Check the current doc-view overlay's
9832 display property instead the char property of the buffer's first char.
9833
9834 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9835
9836 Automate the build of ja-dic.el (Bug#13984).
9837 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9838 from the input, rather than assume that it's been done for us by the
9839 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9840 the current date into a ja-dic.el comment, as that complicates
9841 regression testing.
9842
9843 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * whitespace.el: Fix double evaluation.
9846 (whitespace-space, whitespace-hspace, whitespace-tab)
9847 (whitespace-newline, whitespace-trailing, whitespace-line)
9848 (whitespace-space-before-tab, whitespace-indentation)
9849 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9850 obsolete defvars.
9851 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9852 (whitespace-color-on): Use a single font-lock-add-keywords call.
9853 Fix double-evaluation of face variables.
9854
9855 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9856
9857 * net/tramp-adb.el (tramp-adb-parse-device-names):
9858 Use `start-process' instead of `call-process'. Otherwise, the
9859 function might be blocked under MS Windows. (Bug#13299)
9860
9861 2013-03-17 Leo Liu <sdl.web@gmail.com>
9862
9863 Extend eldoc to display info in the mode-line. (Bug#13978)
9864 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9865 (eldoc-mode-line-string): New variable.
9866 (eldoc-minibuffer-message): New function.
9867 (eldoc-message-function): New variable.
9868 (eldoc-message): Use it.
9869 (eldoc-display-message-p)
9870 (eldoc-display-message-no-interference-p):
9871 Support eldoc-post-insert-mode.
9872
9873 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9874 (eval-expression): Run it.
9875
9876 2013-03-17 Roland Winkler <winkler@gnu.org>
9877
9878 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9879 strings in the list of return values.
9880
9881 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9882
9883 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9884 radix before checking for HMS forms.
9885
9886 2013-03-16 Leo Liu <sdl.web@gmail.com>
9887
9888 * progmodes/scheme.el: Add indentation and font-locking for λ.
9889 (Bug#13975)
9890
9891 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9892
9893 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9894 token before point (bug#13942).
9895
9896 2013-03-16 Leo Liu <sdl.web@gmail.com>
9897
9898 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9899
9900 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9901
9902 * startup.el (command-line-normalize-file-name): Fix handling of
9903 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9904 <xfq.free@gmail.com> in
9905 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9906
9907 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9908
9909 Sync with Tramp 2.2.7.
9910
9911 * net/trampver.el: Update release number.
9912
9913 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9914
9915 * doc-view.el: Fix bug#13887.
9916 (doc-view-insert-image): Don't modify overlay associated to
9917 non-live windows, and implement horizontal centering of image in
9918 case it's smaller than the window.
9919 (doc-view-new-window-function): Force redisplay of new windows on
9920 doc-view buffers.
9921
9922 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9923
9924 * saveplace.el (save-place-alist-to-file): Don't sort
9925 `save-place-alist', just pretty-print it (bug#13882).
9926
9927 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9928
9929 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9930 Check whether `default-file-name-coding-system' is bound.
9931 It isn't in XEmacs.
9932
9933 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9934
9935 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9936 backquotes for `obsolete' (bug#13929).
9937
9938 * international/mule.el (find-auto-coding): Include file name in
9939 obsolescence warning (bug#13922).
9940
9941 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9942
9943 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9944 for CFEngine 3-specific indentation.
9945 (cfengine3-indent-line): Use it. Fix up category regex.
9946 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9947
9948 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 * type-break.el (type-break-file-name):
9951 * textmodes/remember.el (remember-data-file):
9952 * strokes.el (strokes-file):
9953 * shadowfile.el (shadow-initialize):
9954 * saveplace.el (save-place-file):
9955 * ps-bdf.el (bdf-cache-file):
9956 * progmodes/idlwave.el (idlwave-config-directory):
9957 * net/quickurl.el (quickurl-url-file):
9958 * international/kkc.el (kkc-init-file-name):
9959 * ido.el (ido-save-directory-list-file):
9960 * emulation/viper.el (viper-custom-file-name):
9961 * emulation/vip.el (vip-startup-file):
9962 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9963 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9964
9965 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9966
9967 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9968 * language/thai-word.el: Switch to UTF-8.
9969
9970 See ChangeLog.16 for earlier changes.
9971
9972 ;; Local Variables:
9973 ;; coding: utf-8
9974 ;; End:
9975
9976 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9977
9978 This file is part of GNU Emacs.
9979
9980 GNU Emacs is free software: you can redistribute it and/or modify
9981 it under the terms of the GNU General Public License as published by
9982 the Free Software Foundation, either version 3 of the License, or
9983 (at your option) any later version.
9984
9985 GNU Emacs is distributed in the hope that it will be useful,
9986 but WITHOUT ANY WARRANTY; without even the implied warranty of
9987 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9988 GNU General Public License for more details.
9989
9990 You should have received a copy of the GNU General Public License
9991 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.