Scroll correct window when showing completion options.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2
3 * minibuffer.el (completion--in-region-1): Scroll the correct
4 window. (Bug#13898)
5
6 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7
8 * emacs-lisp/helpers.el: Add some string helpers.
9 (string-trim-left): Removes leading whitespace.
10 (string-trim-right): Removes trailing whitespace.
11 (string-trim): Removes leading and trailing whitespace.
12
13 * subr.el (string-suffix-p): New function.
14
15 2013-11-23 Glenn Morris <rgm@gnu.org>
16
17 * progmodes/python.el (python-shell-send-file):
18 Add option to delete file when done. (Bug#15647)
19 (python-shell-send-string, python-shell-send-region): Use it.
20
21 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
22
23 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
24 to set buffer-read-only to t, never to nil. (Bug#15938)
25
26 * textmodes/tex-mode.el (latex-noindent-environments):
27 Add safe-local-variable property. (Bug#15936)
28
29 2013-11-23 Glenn Morris <rgm@gnu.org>
30
31 * textmodes/enriched.el (enriched-mode): Doc fix.
32 * emacs-lisp/authors.el (authors-renamed-files-alist):
33 Add enriched.doc -> enriched.txt.
34
35 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
36
37 2013-11-22 Leo Liu <sdl.web@gmail.com>
38
39 * progmodes/octave.el (inferior-octave-startup): Spit out error
40 message.
41
42 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
43
44 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
45 Improve docstring.
46 Add :version.
47 (ruby-encoding-magic-comment-style): Add :version.
48
49 2013-11-22 Leo Liu <sdl.web@gmail.com>
50
51 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
52 (Bug#15076)
53 (octave-help-mode): Adapt to change to help-mode-finish to use
54 derived-mode-p on 2013-09-17.
55 (inferior-octave-prompt): Also match octave-gui.
56 (octave-kill-process): Don't ask twice. (Bug#10564)
57
58 2013-11-22 Leo Liu <sdl.web@gmail.com>
59
60 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
61 (inferior-octave-startup, inferior-octave-check-process)
62 (inferior-octave-track-window-width-change)
63 (octave-completion-at-point, octave-eldoc-function): Use it.
64 (octave-kill-process): Provide confirmation. (Bug#10564)
65
66 2013-11-21 Leo Liu <sdl.web@gmail.com>
67
68 * progmodes/octave.el (octave-mode, inferior-octave-mode): Fix
69 obsolete variable comment-use-global-state.
70
71 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
72
73 * progmodes/octave.el (octave-mode-map, octave-mode-menu): Add
74 `octave-source-file'.
75 (octave-source-file): New function. (Bug#15935)
76
77 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
78
79 * net/eww.el (eww-local-regex): New variable.
80 (eww): Use it to detect localhost and similar.
81
82 2013-11-21 Leo Liu <sdl.web@gmail.com>
83
84 Add completion for command `ag'.
85 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
86 (pcomplete/ag): New function.
87 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
88
89 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
92 (bug#14646).
93 (make-obsolete): Remove interactive spec.
94
95 2013-11-21 Glenn Morris <rgm@gnu.org>
96
97 * startup.el (command-line-1): Use path-separator with -L.
98
99 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
100
101 * emacs-lisp/package.el (describe-package-1): Add package archive
102 to shown fields.
103
104 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
105
106 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
107 Change default to "# encoding: %s" to differentiate it from the
108 default Ruby encoding comment template.
109
110 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
111
112 * ses.el (ses-mode): Doc fix. (Bug#14748)
113
114 2013-11-20 Leo Liu <sdl.web@gmail.com>
115
116 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
117
118 2013-11-19 Dan Nicolaescu <dann@gnu.org>
119
120 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
121 when rebase or bisect are in progress.
122
123 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
124
125 * filenotify.el (file-notify-add-watch): Doc fix.
126
127 2013-11-19 Leo Liu <sdl.web@gmail.com>
128
129 * obsolete/rcompile.el: Mark obsolete.
130
131 * progmodes/compile.el (compilation-start)
132 (compilation-goto-locus, compilation-find-file):
133 Pass no-display-ok and handle nil value from display-buffer.
134 (Bug#13594)
135
136 * window.el (display-buffer-alist, display-buffer): Document the
137 new parameter no-display-ok.
138
139 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * electric.el (electric-indent-mode-map): Remove.
142 (electric-indent-mode): Change the global-map instead (bug#15915).
143
144 * textmodes/text-mode.el (paragraph-indent-minor-mode):
145 Use add-function.
146
147 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * emacs-lisp/nadvice.el (remove-function): Align with
150 add-function's behavior.
151
152 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
153 (gdb--string-regexp): New constant.
154 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
155 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
156 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
157 submatch 1.
158 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
159 Adjust use accordingly.
160 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
161
162 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
163
164 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
165 interpolation curlies (Bug#15914).
166
167 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
168
169 * calc/calc.el (calc-context-sensitive-enter): New variable.
170 (calc-enter): Use `calc-context-sensitive-enter'.
171
172 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
173
174 * progmodes/cfengine.el: Version bump.
175 (cfengine-cf-promises): New defcustom to locate cf-promises.
176 (cfengine3-vartypes): Add new "data" type.
177 (cfengine3--current-word): New function to get current name-like
178 word or its bounds.
179 (cfengine3--current-function): New function to look up a CFEngine
180 function's definition.
181 (cfengine3-format-function-docstring): New function.
182 (cfengine3-make-syntax-cache): New function.
183 (cfengine3-documentation-function): New function: ElDoc glue.
184 (cfengine3-completion-function): New function: completion glue.
185 (cfengine3-mode): Set `compile-command',
186 `eldoc-documentation-function', and add to
187 `completion-at-point-functions'.
188
189 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
190
191 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
192 `tramp-current-connection'.
193
194 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
195
196 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
197 nil/self/true/false with "end of symbol".
198
199 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
200
201 * subr.el (version-regexp-alist): Fix a typo.
202
203 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
204
205 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
206 "en_US.utf8" and "LC_CTYPE" to "".
207 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
208 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
209
210 2013-11-15 Leo Liu <sdl.web@gmail.com>
211
212 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
213
214 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * progmodes/gud.el (ctl-x-map):
217 Remove C-x SPC binding. (Bug#12342)
218 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
219
220 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
221
222 * subr.el (version-regexp-alist):
223 Recognize hg, svn and darcs versions as snapshot versions.
224
225 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
226 Add the ability to always insert an utf-8 encoding comment.
227 Fix and simplify coding comment update logic.
228
229 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
230
231 * net/tramp-gvfs.el (top): Run init code only when
232 `tramp-gvfs-enabled' is not nil.
233 (tramp-gvfs-enabled): Check also :system bus.
234
235 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 Sync with upstream verilog-mode revision 78e66ba.
238 * progmodes/verilog-mode.el (verilog-end-of-defun)
239 (verilog-type-completion, verilog-get-list): Remove unused funcs.
240 (verilog-get-end-of-defun): Remove unused argument.
241 (verilog-comment-depth): Remove unused local `e'.
242 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
243 Don't pass arg to verilog-get-end-of-defun.
244
245 2013-11-14 Glenn Morris <rgm@gnu.org>
246
247 * obsolete/assoc.el (aget): Prefix dynamic variable.
248
249 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
250
251 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * widget.el, hfy-cmap.el: Remove bogus package version number.
254
255 2013-11-13 Glenn Morris <rgm@gnu.org>
256
257 * replace.el (replace-eval-replacement):
258 Try to give more helpful error message. (Bug#15836)
259
260 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
261 (archive-7z-update): Avoid custom type mismatches.
262
263 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
264
265 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
266
267 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
268 address can be empty.
269
270 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
271 Accept nil SWITCHES.
272 (tramp-gvfs-handle-write-region): Implement APPEND.
273
274 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
275
276 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
277 binary "|" operator and closing block args delimiter.
278 Remove FIXME comment referring to Ruby 1.8-only syntax.
279 (ruby-smie--implicit-semi-p): Not after "|" operator.
280 (ruby-smie--closing-pipe-p): New function.
281 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
282 (ruby-smie-rules): Indent after "|".
283
284 2013-11-12 Glenn Morris <rgm@gnu.org>
285
286 * ps-print.el (ps-face-attribute-list):
287 Handle anonymous faces. (Bug#15827)
288
289 2013-11-12 Martin Rudalics <rudalics@gmx.at>
290
291 * window.el (display-buffer-other-frame): Fix doc-string.
292 (Bug#15868)
293
294 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * subr.el (force-mode-line-update): Delete, move to buffer.c.
297
298 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
299
300 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
301 (tramp-sh-handle-file-local-copy): Don't write a message when
302 saving temporary files.
303
304 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
305 both directories are remote.
306 (tramp-smb-handle-directory-files): Do not return double entries.
307 Do not expand full file names.
308 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
309 (tramp-smb-handle-write-region): Implement APPEND.
310 (tramp-smb-get-stat-capability): Fix a stupid bug.
311
312 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
315
316 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
317
318 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
319 throwing error over malformed let/let* (bug#15814).
320
321 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * iswitchb.el (iswitchb-mode): Mark obsolete.
324
325 2013-11-11 Glenn Morris <rgm@gnu.org>
326
327 * international/uni-bidi.el, international/uni-category.el:
328 * international/uni-name.el, international/uni-numeric.el:
329 Regenerate for Unicode 6.3.0.
330
331 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
332
333 * net/tramp.el (tramp-methods):
334 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
335 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
336
337 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
338
339 * progmodes/sh-script.el (sh-font-lock-keywords-var):
340 Force highlighting text after Summary keyword in doc face for rpm.
341
342 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
343
344 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
345 available and the word has no wildcards, append one to the grep pattern.
346 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
347 (ispell-complete-word): Call `ispell-lookup-words' with the value
348 independent of `ispell-look-p'.
349
350 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
351
352 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
353 Not after "||".
354 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
355 their parent.
356
357 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
360 (ruby-font-lock-keywords): Use backquote.
361
362 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
363
364 * progmodes/ruby-mode.el (ruby-smie--forward-token)
365 (ruby-smie--backward-token): Only consider full-string matches.
366
367 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
368
369 * faces.el (describe-face): Add distant-foreground.
370
371 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
372
373 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
374 Use `ruby-encoding-magic-comment-style' to control the
375 style of the auto-inserted encoding comment.
376
377 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
378
379 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
380 Use `smie-backward-sexp' with token argument.
381
382 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
383
384 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
385 Remove instrumentation code.
386
387 2013-11-08 Glenn Morris <rgm@gnu.org>
388
389 * progmodes/autoconf.el (autoconf-mode):
390 Tweak comment-start-skip. (Bug#15822)
391
392 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
395 at bobp (bug#15826).
396 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
397
398 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
399
400 * man.el (Man-start-calling): New macro, extracted from
401 Man-getpage-in-background.
402 (Man-getpage-in-background): Use it.
403 (Man-update-manpage): New command.
404 (Man-mode-map): Bind it.
405
406 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
407
408 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
409 of "and", "or", "&&" and "||".
410 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
411 argument. Prohibit opening curly brace because it could only be a
412 block opener in that position.
413 (ruby-smie--forward-token, ruby-smie--backward-token):
414 Separate "|" from "&" or "*" going after it. That can happen in block
415 arguments.
416 (ruby-smie--indent-to-stmt): New function, seeks the end of
417 previous statement or beginning of buffer.
418 (ruby-smie-rules): Use it.
419 (ruby-smie-rules): Check if there's a ":" before a curly block
420 opener candidate; if there is, it's a hash.
421
422 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
425 (cl--block-wrapper): Fix last accidental change.
426
427 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
428
429 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
430 Instrument, in order to hunt failure on hydra.
431
432 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
433
434 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
435 malformed bindings form (bug#15814).
436
437 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
438
439 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
440 "." compared to " @ ". This incidentally fixes some indentation
441 examples with "do".
442 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
443 (ruby-smie-grammar): New tokens: "and" and "or".
444 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
445 Exclude "and" and "or". Remove "do" in order to work around token
446 priorities.
447 (ruby-smie-rules): Add all infix tokens. Handle the case of
448 beginning-of-buffer.
449
450 2013-11-06 Glenn Morris <rgm@gnu.org>
451
452 * Makefile.in (setwins_almost, setwins_for_subdirs):
453 Avoid accidental matches.
454
455 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * menu-bar.el (popup-menu): Use key-binding.
458
459 2013-11-06 Eli Zaretskii <eliz@gnu.org>
460
461 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
462 menus, support also the menus produced by minor modes.
463 (Bug#15817)
464
465 2013-11-06 Leo Liu <sdl.web@gmail.com>
466
467 * thingatpt.el (thing-at-point-looking-at): Add optional arg
468 DISTANCE to bound the search. All uses changed. (Bug#15808)
469
470 2013-11-06 Glenn Morris <rgm@gnu.org>
471
472 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
473 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
474 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
475
476 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * electric.el (electric-indent-just-newline): New command.
479 (electric-indent-mode-map): New keymap.
480 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
481 Re-add :group which weren't redundant.
482
483 * electric.el (electric-indent-local-mode): New minor mode.
484 (electric-indent-functions-without-reindent): New var.
485 (electric-indent-post-self-insert-function): Use it.
486 * emacs-lisp/gv.el (buffer-local-value): Add setter.
487
488 2013-11-05 Eli Zaretskii <eliz@gnu.org>
489
490 * international/quail.el (quail-help): Be more explicit about the
491 meaning of the labels shown on the keys. (Bug#15800)
492
493 * startup.el (normal-top-level): Load the subdirs.el files before
494 setting the locale environment. (Bug#15805)
495
496 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
499 via arguments so as to get the right ones (bug#15418).
500
501 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
502
503 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
504
505 Fix problems found while writing a test suite.
506
507 * net/tramp-compat.el (tramp-compat-load): New defun.
508 * net/tramp.el (tramp-handle-load): Use it.
509
510 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
511 "(numberp ok-if-already-exists)" correctly.
512
513 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
514
515 * international/characters.el (glyphless-char-display-control):
516 Add usage note.
517
518 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
519
520 * progmodes/python.el (python-mode):
521 * progmodes/scheme.el (scheme-mode):
522 * progmodes/prolog.el (prolog-mode):
523 * progmodes/ruby-mode.el (ruby-mode):
524 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
525 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
526
527 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * rect.el (rectangle--highlight-for-redisplay):
530 * emacs-lisp/smie.el (smie--next-indent-change):
531 Use buffer-chars-modified-tick.
532
533 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
534
535 * electric.el (electric-indent-post-self-insert-function):
536 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
537
538 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
539
540 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
541
542 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
543
544 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
545 (bug#15786).
546
547 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
550
551 * progmodes/python.el: Fix up last change.
552 (python-shell--save-temp-file): New function.
553 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
554 `string' comes from the current buffer.
555 (python-shell-send-string-no-output): Remove `msg' arg.
556 (python--use-fake-loc): New var.
557 (python-shell-buffer-substring): Obey it. Try to compensate for the
558 extra coding line added by python-shell--save-temp-file.
559 (python-shell-send-region): Use python-shell--save-temp-file and
560 python-shell-send-file directly. Add `nomain' argument.
561 (python-shell-send-buffer): Use python-shell-send-region.
562 (python-electric-pair-string-delimiter): New function.
563 (python-mode): Use it.
564
565 2013-11-04 Eli Zaretskii <eliz@gnu.org>
566
567 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
568 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
569 environment and decoding all of the default-directory's to here
570 from command-line.
571 (command-line): Decode also argv[0].
572
573 * loadup.el: Error out if default-directory is a multibyte string
574 when we are dumping.
575
576 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
577
578 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
579
580 * emacs-lisp/package.el (package-menu-mode)
581 (package-menu--print-info, package-menu--archive-predicate):
582 Add Archive column to package list.
583
584 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
585
586 Fix problems found while writing a test suite.
587
588 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
589 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
590 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
591 to nil when running original file name handler. Otherwise,
592 there are problems with constructs like "$$FOO".
593
594 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
595 for `localname'.
596
597 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
598
599 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
600
601 * subr.el (version<, version<=, version=):
602 Update docstrings with information for snapshot versions.
603
604 * helpers.el: New library for misc helper functions.
605 (hash-table-keys): New function returning a list of hash keys.
606 (hash-table-values): New function returning a list of hash values.
607
608 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
609
610 * progmodes/ruby-mode.el (ruby-smie--forward-token)
611 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
612
613 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
614
615 * textmodes/fill.el (fill-single-char-nobreak-p): New function
616 checking whether point is after a 1-letter word.
617
618 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
619
620 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
621 Don't infloop when expanding region over `multiline' syntax-type that
622 begins a line (bug#15778).
623
624 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
627 Make it into a proper minor mode.
628 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
629 (rectangle-mark-mode-map): New keymap.
630 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
631
632 2013-11-04 Glenn Morris <rgm@gnu.org>
633
634 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
635
636 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
639 (ruby-smie-rules): Use smie-rule-parent instead.
640
641 * emacs-lisp/smie.el (smie-rule-parent): Always call
642 smie-indent-virtual rather than only for hanging tokens.
643 (smie--next-indent-change): New helper command.
644
645 2013-11-03 Glenn Morris <rgm@gnu.org>
646
647 * Makefile.in (abs_srcdir): Remove.
648 (emacs): Unset EMACSLOADPATH.
649
650 2013-11-02 Glenn Morris <rgm@gnu.org>
651
652 * Makefile.in (EMACS): Use a relative filename.
653 (abs_top_builddir): Remove.
654 (custom-deps, finder-data, autoloads): Use --chdir.
655
656 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
657
658 Use relative filenames in TAGS files.
659 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
660 (lisptagsfiles4, TAGS): Use relative file names.
661 (TAGS-LISP): Remove.
662 (maintainer-clean): No more TAGS-LISP file.
663
664 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
665 (lisptagsfiles4): Use absolute filenames again.
666 (TAGS, TAGS-LISP): Not everything needs to run in one line.
667 Remove all *loaddefs files, not just the first. Remove esh-groups.
668 (maintainer-clean): Delete TAGS, TAGS-LISP.
669
670 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
671
672 * emacs-lisp/package.el (package-version-join):
673 Recognize snapshot versions.
674
675 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
676
677 * subr.el (version-regexp-alist): Add support for snapshot versions.
678
679 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
680
681 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
682 New function, replacement for `smie-rule-parent' for when we want to
683 skip over our direct parent if it's an assignment token..
684 (ruby-smie-rules): Use it.
685
686 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
687
688 * progmodes/ruby-mode.el Use `syntax-propertize-function'
689 unconditionally. Remove now unnecessary forward declarations.
690 Remove XEmacs-specific setup.
691 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
692 (ruby-font-lock-syntactic-keywords)
693 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
694 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
695 (ruby-here-doc-end-syntax): Remove.
696 (ruby-mode): Don't check whether `syntax-propertize-rules' is
697 defined as function.
698
699 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
700
701 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
702
703 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
704
705 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
706 table and abbrev table, `define-derived-mode' does that for us
707 anyway.
708
709 2013-11-01 Glenn Morris <rgm@gnu.org>
710
711 * Makefile.in: Remove manual mh-e dependencies (writing .elc
712 files is atomic for some time, so no parallel compilation issues).
713
714 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
715
716 * faces.el (face-x-resources): Add :distant-foreground.
717 (region): Use :distant-foreground for gtk and ns.
718
719 2013-11-01 Tassilo Horn <tsdh@gnu.org>
720
721 Allow multiple bibliographies when BibLaTeX is used rather than
722 BibTeX.
723 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
724 (reftex-locate-bibliography-files): Us it.
725
726 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
727
728 * image.el (image-type-header-regexps): Fix the 'pbm' part to
729 allow comments in pbm files.
730
731 * term/w32-win.el (dynamic-library-alist): Support newer versions
732 of libjpeg starting with v7: look only for the DLL from the
733 version against which Emacs was built.
734 Support versions of libpng beyond 1.4.x.
735 Support libtiff v4.x.
736
737 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
738
739 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
740 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
741 Add property :safe.
742 (ruby-deep-arglist): Add property :type.
743
744 2013-10-31 Glenn Morris <rgm@gnu.org>
745
746 * Makefile.in (custom-deps, finder-data): No need to setq the target
747 variables, we are in the right directory and the defaults work fine.
748
749 2013-10-30 Glenn Morris <rgm@gnu.org>
750
751 * Makefile.in (autoloads): Do not use abs_lisp.
752
753 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
754 `newline' does not respect `standard-output', so use `princ'.
755
756 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
757
758 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
759 * buff-menu.el (Buffer-menu--unmark): New function.
760 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
761
762 2013-10-30 Glenn Morris <rgm@gnu.org>
763
764 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
765
766 * emacs-lisp/package.el (lm-homepage): Declare.
767
768 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
769 Fix doc typos.
770
771 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
772
773 * Makefile.in (finder-data, autoloads, update-subdirs)
774 (compile-main, compile-clean, compile-always, bootstrap-clean):
775 Check return value of cd.
776 (compile-calc): Remove.
777
778 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
781
782 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
783 (byte-compile-and-folded): New function.
784 (=, <, >, <=, >=): Use it.
785
786 * dos-w32.el (minibuffer-history-case-insensitive-variables)
787 (path-separator, null-device, buffer-file-coding-system)
788 (lpr-headers-switches): Check system-type before modifying them.
789 (find-buffer-file-type-coding-system): Mark obsolete.
790 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
791 find-file-not-found-set-buffer-file-coding-system.
792 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
793 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
794 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
795 (w32-direct-print-region-helper, w32-direct-print-region-function)
796 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
797 * startup.el (normal-top-level-add-subdirs-to-load-path):
798 * ps-print.el (ps-print-region-function):
799 * lpr.el (print-region-function): Use new name.
800
801 * subr.el (custom-declare-variable-early): Remove function.
802 (custom-declare-variable-list): Remove var.
803 (error, user-error): Remove `while' loop.
804 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
805 (user-emacs-directory-warning, locate-user-emacs-file):
806 Move to files.el.
807 * simple.el (read-quoted-char-radix, read-quoted-char):
808 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
809 Move from subr.el.
810 * custom.el (custom-declare-variable-list): Don't process
811 custom-declare-variable-list.
812
813 * progmodes/python.el (python-shell-get-buffer): New function.
814 (python-shell-get-process): Use it.
815 (python-shell-send-string): Always use utf-8 and add a cookie to tell
816 Python which encoding was used. Don't split-string since we only care
817 about the first line. Return the temp-file, if applicable.
818 (python-shell-send-region): Tell compile.el how to turn locations in
819 the temp-file into locations in the source buffer.
820
821 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * subr.el (undefined): Add missing behavior from the C code for
824 unbound keys.
825
826 * rect.el: Use lexical-binding. Add new rectangular region support.
827 (rectangle-mark): New command.
828 (rectangle--region): New var.
829 (deactivate-mark-hook): Reset rectangle--region.
830 (rectangle--extract-region, rectangle--insert-for-yank)
831 (rectangle--highlight-for-redisplay)
832 (rectangle--unhighlight-for-redisplay): New functions.
833 (region-extract-function, redisplay-unhighlight-region-function)
834 (redisplay-highlight-region-function): Use them to handle
835 rectangular region.
836 * simple.el (region-extract-function): New var.
837 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
838 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
839 (kill-region): Replace obsolete `yank-handler' arg with `region'.
840 (copy-region-as-kill, kill-ring-save): Add `region' argument.
841 (redisplay-unhighlight-region-function)
842 (redisplay-highlight-region-function): New vars.
843 (redisplay--update-region-highlight): New function.
844 (pre-redisplay-function): Use it.
845 (exchange-point-and-mark): Don't deactivate the mark before
846 reactivate-it anyway.
847 * comint.el (comint-kill-region): Remove yank-handler argument.
848 * delsel.el (delete-backward-char, backward-delete-char-untabify)
849 (delete-char): Remove property, since it's now part of their
850 default behavior.
851 (self-insert-iso): Remove property since this command doesn't exist.
852
853 * emacs-lisp/package.el (package--download-one-archive)
854 (describe-package-1): Don't query the user about final newline.
855
856 2013-10-29 Daniel Colascione <dancol@dancol.org>
857
858 * net/tramp.el (tramp-methods): Document new functionality.
859 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
860 tramp-hostname-checker if method provides one instead of scanning
861 argument list for "%h" to decide hostname acceptability.
862
863 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
864
865 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
866 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
867 Handle COPY-CONTENTS. (Bug#15737)
868
869 2013-10-28 Daiki Ueno <ueno@gnu.org>
870
871 * epa-file.el
872 (epa-file-cache-passphrase-for-symmetric-encryption):
873 Document that this option has no effect with GnuPG 2.0 (bug#15552).
874
875 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
876
877 * image.el (defimage):
878 (image-load-path): Doc fixes.
879
880 2013-10-27 Alan Mackenzie <acm@muc.de>
881
882 Indent statements in macros following "##" correctly.
883 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
884 Modify the "#" arm of a cond form to handle "#" and "##" operators.
885
886 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
887
888 * linum.el (linum-update-window): Fix boundary test (bug#13446).
889
890 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
891
892 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
893 after `=' is probably a new expression.
894
895 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
896
897 * man.el (man-imenu-title): New option.
898 (Man-mode-map): Add menu. (Bug#15722)
899 (Man-mode): Add imenu to menu.
900
901 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
902
903 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
904 specific in what the first arg can be: a non-keyword word,
905 string/regexp/percent literal opener, opening paren, or unary
906 operator followed directly by word.
907
908 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
911 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
912 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
913 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
914 Remove vars, they do not apply any more.
915 (prolog-mode-abbrev-table): Remove redundant declaration.
916 (prolog-upper-case-string, prolog-lower-case-string): Remove.
917 (prolog-use-smie): Remove.
918 (prolog-smie-rules): Add indentation rule for the if-then-else layout
919 supported by prolog-electric-if-then-else-flag.
920 (prolog-mode-variables, prolog-menu): Use setq-local.
921 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
922 Remove binding to `Backspace' since this key doesn't exist anyway.
923 Remove bindings for electric self-inserting keys.
924 (prog-mode): Assume it's defined.
925 (prolog-post-self-insert): New function.
926 (prolog-mode): Use it.
927 (prolog-indent-line, prolog-indent-level)
928 (prolog-find-indent-of-matching-paren)
929 (prolog-indentation-level-of-line, prolog-goto-comment-column)
930 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
931 (prolog-goto-next-paren, prolog-in-string-or-comment)
932 (prolog-tokenize, prolog-inside-mline-comment)
933 (prolog-find-start-of-mline-comment): Remove functions.
934 (prolog-find-unmatched-paren, prolog-clause-end)
935 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
936 (prolog-electric--if-then-else): Rename from
937 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
938 (prolog-tokenize-searchkey): Remove const.
939 (prolog-clause-info): Use forward-sexp.
940 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
941 (prolog-electric-if-then-else): Remove commands.
942 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
943 for use in post-self-insert-hook.
944 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
945 for use in post-self-insert-hook.
946 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
947 for use in post-self-insert-hook.
948 (prolog-electric--underscore): Rename from prolog-electric--underscore;
949 adapt it for use in post-self-insert-hook.
950
951 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
952
953 * emacs-lisp/ert.el (ert-run-tests-interactively):
954 Use `completing-read'. (Bug#9756)
955
956 2013-10-25 Eli Zaretskii <eliz@gnu.org>
957
958 * simple.el (line-move): Call line-move-1 instead of
959 line-move-visual when the current window hscroll is zero, but
960 temporary-goal-column indicates we will need to hscroll as result
961 of the movement. (Bug#15712)
962
963 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
964
965 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
966 capitalization. Use :visible instead of :active.
967 Fix `ruby-indent-exp' reference. Add menu items for the generic
968 commands that are used with SMIE.
969 (ruby-do-end-to-brace): Insert space after `{'.
970
971 2013-10-25 John Anthony <john@jo.hnanthony.com>
972
973 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
974
975 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
976
977 2013-10-25 Glenn Morris <rgm@gnu.org>
978
979 * vc/vc.el (vc-print-log): Don't use a working revision unless
980 one was explicitly specified. (Bug#15322)
981
982 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * subr.el (add-to-list): Preserve return value in compiler-macro
985 (bug#15692).
986
987 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
988
989 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
990 result. Ask user to retry using '-all' flag. (Bug#15701)
991
992 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * emacs-lisp/smie.el: New smie-config system.
995 (smie-config): New defcustom.
996 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
997 (smie-config-guess, smie-config-save): New commands.
998 (smie-config--mode-local, smie-config--buffer-local)
999 (smie-config--trace, smie-config--modefuns): New vars.
1000 (smie-config--advice, smie-config--mode-hook)
1001 (smie-config--setter, smie-config-local, smie-config--get-trace)
1002 (smie-config--guess-value, smie-config--guess): New functions.
1003 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1004 text properties. Treat "string fence" syntax like string syntax.
1005
1006 * progmodes/sh-script.el (sh-use-smie): Change default.
1007 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1008 (sh-var-value): Simplify by CSE.
1009 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1010 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1011 is used.
1012 (sh-guess-basic-offset): Use cl-incf.
1013 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1014
1015 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1016
1017 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1018 (bug#15699).
1019
1020 2013-10-24 Glenn Morris <rgm@gnu.org>
1021
1022 * Makefile.in (abs_top_srcdir): Remove.
1023 (update-subdirs): Use relative path to update-subdirs.
1024
1025 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1026
1027 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1028 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1029 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1030 Call unmsys--file-name before expand-file-name, not after it.
1031
1032 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1033
1034 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1035 (ert-test-skipped): New error.
1036 (ert-skip, ert-stats-skipped): New defuns.
1037 (ert--skip-unless): New macro.
1038 (ert-test-skipped): New struct.
1039 (ert--run-test-debugger, ert-test-result-type-p)
1040 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1041 (ert--stats-set-test-and-result, ert-char-for-test-result)
1042 (ert-string-for-test-result, ert-run-tests-batch)
1043 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1044 Handle skipped tests. (Bug#9803)
1045
1046 2013-10-24 Glenn Morris <rgm@gnu.org>
1047
1048 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1049
1050 * Makefile.in (abs_top_srcdir): New, set by configure.
1051 (update-subdirs): Correct build-aux location.
1052
1053 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1054
1055 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1056 value, whether we could auto-deduce `backend', or not.
1057
1058 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1059 with parameters" example. Simplify the "is it block or is it
1060 hash" check, but also make it more thorough.
1061
1062 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1063
1064 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1065
1066 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1069 { if it is hanging.
1070
1071 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1072 :before ";".
1073
1074 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1075
1076 * progmodes/compile.el (compilation-directory-matcher)
1077 (compilation-page-delimiter):
1078 Support GNU Make-4.0 directory quoting. (Bug#15678)
1079
1080 2013-10-23 Leo Liu <sdl.web@gmail.com>
1081
1082 * ido.el (ido-tidy): Handle read-only text.
1083
1084 2013-10-23 Glenn Morris <rgm@gnu.org>
1085
1086 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1087 (emacs, compile, compile-always):
1088 Quote entities that might contain whitespace.
1089 (custom-deps, finder-data, autoloads): Use abs_lisp.
1090 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1091 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1092 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1093
1094 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1095
1096 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1097 Use `following-char'.
1098
1099 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1102 * progmodes/ruby-mode.el (ruby-smie-rules):
1103 Remove corresponding workaround. Fix indentation rule of ";" so it
1104 also applies when ";" is the parent.
1105
1106 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1107
1108 * frame.el (display-screens, display-pixel-height)
1109 (display-pixel-width, display-mm-width, display-backing-store)
1110 (display-save-under, display-planes, display-color-cells)
1111 (display-visual-class, display-monitor-attributes-list):
1112 Mention the optional ‘display’ argument in doc strings.
1113
1114 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1115
1116 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1117 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1118
1119 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1120
1121 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1122 TODO. Add "." after " @ ".
1123 (ruby-smie--at-dot-call): New function. Checks if point at method
1124 call with explicit target.
1125 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1126 to the method name tokens when it precedes them.
1127 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1128 (ruby-smie-rules): Add rule for indentation before and after "."
1129 token.
1130
1131 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * textmodes/remember.el (remember-diary-extract-entries):
1134 Avoid add-to-list.
1135
1136 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1137 an instruction.
1138
1139 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1140
1141 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1142 (ruby-smie--implicit-semi-p): Add new operator chars.
1143
1144 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1145 `smie-down-list'.
1146 (ruby-smie--args-separator-p): Check that there's no newline
1147 between method call and its arguments.
1148
1149 2013-10-20 Alan Mackenzie <acm@muc.de>
1150
1151 Allow comma separated lists after Java "implements".
1152
1153 * progmodes/cc-engine.el (c-backward-over-enum-header):
1154 Parse commas.
1155 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1156 from a "disallowed" list in enum fontification.
1157
1158 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1159
1160 * startup.el (default-frame-background-mode): Remove unused defvar.
1161
1162 * progmodes/verilog-mode.el (verilog-mode): Don't set
1163 comment-indent-function globally.
1164
1165 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1166
1167 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1168 Move Info menu item creation to ns-win.el.
1169
1170 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1171 in menu bar.
1172
1173 * menu-bar.el: Move GNUStep specific menus...
1174
1175 * term/ns-win.el (ns-initialize-window-system): ... to here.
1176
1177 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * simple.el (newline): Only run post-self-insert-hook when
1180 called interactively.
1181
1182 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1183
1184 * icomplete.el (icomplete-with-completion-tables): Add :version.
1185
1186 2013-10-19 Alan Mackenzie <acm@muc.de>
1187
1188 Fix fontification bugs with constructors and const.
1189
1190 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1191 CASE 2) Remove the check for the absence of a suffix construct
1192 after a function declaration with only types (no identifiers) in
1193 the parentheses. Also, accept a function declaration with just a
1194 type inside the parentheses, if this type can be positively
1195 recognised as such, or if a prefix keyword like "explicit" nails
1196 down the construct as a declaration.
1197
1198 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1199
1200 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1201 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1202 the problem whereby selecting a menu item that leads to a
1203 minibuffer prompt moves the cursor out of the minibuffer window,
1204 making it hard to type at the prompt. Suggested by Stefan Monnier
1205 <monnier@iro.umontreal.ca>.
1206
1207 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1208
1209 * menu-bar.el: Don't make Services menu.
1210
1211 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1212
1213 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1214 (ffap-alist): Use ffap-c++-mode for c++-mode.
1215 (ffap-c++-path): New variable.
1216 (ffap-c++-mode): New function.
1217
1218 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1219
1220 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1221
1222 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1223
1224 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1225 introduced on 2013-09-08, which results in an infinite loop
1226 requesting a password.
1227
1228 2013-10-18 Glenn Morris <rgm@gnu.org>
1229
1230 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1231
1232 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1233
1234 Sync with upstream verilog-mode revision 1a6ecec7.
1235 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1236 (verilog-mode-release-date): Remove.
1237 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1238 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1239 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1240 (verilog-auto-tieoff-ignore-regexp)
1241 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1242 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1243 (verilog-signals-with, verilog-dir-cache-preserving)
1244 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1245 Doc fixes.
1246 (verilog-case-fold): New option, to control case folding in
1247 regexp searches, bug597.
1248 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1249 (verilog-string-match-fold, verilog-in-paren-count)
1250 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1251 (verilog-at-close-struct-p): New functions.
1252 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1253 (verilog-forward-sexp, verilog-set-auto-endcomments):
1254 (verilog-leap-to-case-head): Handle "unique0" case.
1255 (verilog-in-constraint-re): New constant.
1256 (verilog-keywords, verilog-type-font-keywords):
1257 Add some SystemVerilog 1800-2012 keywords.
1258 (verilog-label-be): Remove unimplemented argument, bug669.
1259 (verilog-batch-execute-func): When batch expanding clear
1260 create-lockfiles to prevent spurious user locks when a file ends
1261 up not changing.
1262 (verilog-calculate-indent, verilog-calc-1)
1263 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1264 (verilog-do-indent): Fix indentation of nested constraints
1265 and structures.
1266 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1267 (verilog-auto-inst-param): Use verilog-string-match-fold.
1268 (verilog-read-inst-module-matcher):
1269 Fix AUTOINST on gate primitives with #1.
1270 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1271 Reads all user-defined typed variables.
1272 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1273 (verilog-signals-matching-regexp)
1274 (verilog-signals-not-matching-regexp, verilog-auto):
1275 Respect verilog-case-fold.
1276 (verilog-diff-report): Fix line count.
1277 (verilog-auto-assign-modport): Remove unused local `modi'.
1278 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1279 better handle multidimensional arrays.
1280 Fix packed array ports misadding bit index in AUTOINST, bug637.
1281 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1282 to not double-declare existing outputs and inputs, respectively.
1283 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1284 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1285 (verilog-sk-uvm-component): New skeleton.
1286 (verilog-submit-bug-report): Add verilog-case-fold,
1287 remove verilog-mode-release-date.
1288
1289 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1290
1291 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1292 as before.
1293
1294 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1295
1296 * textmodes/remember.el (remember): set buffer-offer-save in
1297 remember buffers (bug#13566).
1298
1299 2013-10-18 Daniel Colascione <dancol@dancol.org>
1300
1301 When evaluating forms in ielm, direct standard output to ielm
1302 buffer. Add new ielm-return-for-effect command. Remove trailing
1303 whitespace throughout.
1304
1305 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1306 (ielm-return-for-effect): New command.
1307 (ielm-send-input): Accept optional `for-effect' parameter.
1308 (ielm-eval-input): Accept optional `for-effect' parameter.
1309 Bind `standard-output' to stream we create using
1310 `ielm-standard-output-impl'. Suppress printing result when
1311 `for-effect'.
1312 (ielm-standard-output-impl): New function.
1313 (inferior-emacs-lisp-mode): Explain new features in documentation.
1314
1315 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1316
1317 Code cleanup.
1318
1319 * net/tramp.el (tramp-debug-message): Do not check for connection
1320 buffer.
1321 (tramp-message): Use "vector" connection property.
1322
1323 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1324 (tramp-equal-remote, tramp-eshell-directory-change)
1325 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1326 (tramp-adb-handle-rename-file)
1327 * net/tramp-cmds.el (tramp-list-remote-buffers)
1328 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1329 * net/tramp-compat.el (tramp-compat-process-running-p)
1330 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1331 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1332 (tramp-gvfs-handle-rename-file)
1333 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1334 (tramp-set-file-uid-gid)
1335 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1336 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1337 of `file-remote-p'.
1338
1339 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1340 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1341 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1342 (tramp-gw-open-network-stream): Suppress unrelated traces.
1343
1344 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1345 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1346 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1347 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1348 connection property.
1349
1350 * net/tramp-cache.el (top): Suppress traces when reading
1351 persistency file.
1352
1353 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1354 Refactor common code. Improve debug message.
1355 (tramp-maybe-open-connection)
1356 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1357 connection buffer too early.
1358
1359 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1360 from `tramp-smb-actions-with-acl'.
1361 (tramp-smb-actions-set-acl): New defconst.
1362 (tramp-smb-handle-copy-directory)
1363 (tramp-smb-action-get-acl): New defun, renamed from
1364 `tramp-smb-action-with-acl'.
1365 (tramp-smb-action-set-acl): New defun.
1366 (tramp-smb-handle-set-file-acl): Rewrite.
1367
1368 2013-10-17 Glenn Morris <rgm@gnu.org>
1369
1370 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1371
1372 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * skeleton.el (skeleton-newline): Remove.
1375 (skeleton-internal-1): Use (insert "\n") instead.
1376
1377 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1378 let-bindings.
1379
1380 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1381 forward-sexp-function while we redo its job (bug#15613).
1382
1383 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1384
1385 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1386 represented by lists.
1387
1388 2013-10-16 Glenn Morris <rgm@gnu.org>
1389
1390 * tmm.el (tmm--history): New dynamic variable.
1391 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1392
1393 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1394
1395 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1396 (tramp-smb-errors): Add error messages.
1397 (tramp-smb-actions-with-acl): New defconst.
1398 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1399 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1400 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1401 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1402 (tramp-smb-get-stat-capability): Fix tests.
1403
1404 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1405
1406 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1407 (bug#15580).
1408
1409 2013-10-16 Glenn Morris <rgm@gnu.org>
1410
1411 * ansi-color.el (ansi-color-drop-regexp):
1412 Add 1J, 1K, 2K. (Bug#15617)
1413
1414 * files.el (hack-local-variables--warned-lexical): New.
1415 (hack-local-variables):
1416 Warn about misplaced lexical-binding. (Bug#15616)
1417
1418 * net/eww.el (eww-render): Always set eww-current-url,
1419 and update header line. (Bug#15622)
1420 (eww-display-html): ... Rather than just doing it here.
1421
1422 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1423
1424 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1425 menu navigations commands.
1426
1427 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1428
1429 * progmodes/subword.el (subword-capitalize): Be careful when
1430 the search for [[:alpha:]] fails (bug#15580).
1431
1432 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1433
1434 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1435 to commands that scroll the menu.
1436
1437 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1438
1439 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1440 Handle methods ending with `?' and `!'.
1441
1442 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1443
1444 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1445 `japanese-cp932' to `cp932' to fix the problem where saving a
1446 source file written in Shift_JIS twice would end up having
1447 `coding: japanese-cp932' which Ruby could not recognize.
1448 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1449 in `ruby-encoding-map'.
1450 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1451 doesn't need to be explicitly declared in magic comment.
1452 (ruby-encoding-map): Add type declaration for better customize UI.
1453
1454 2013-10-13 Glenn Morris <rgm@gnu.org>
1455
1456 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1457 Occur buffers are read-only. http://bugs.debian.org/720775
1458
1459 * emacs-lisp/authors.el (authors-fixed-entries):
1460 Comment out old alpha stuff.
1461
1462 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1463
1464 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1465 to `after-save-hook' instead of `before-save-hook'.
1466 (ruby-mode-set-encoding): Use the value of coding system used to
1467 write the file. Call `basic-save-buffer-1' after modifying the
1468 buffer.
1469
1470 2013-10-13 Alan Mackenzie <acm@muc.de>
1471
1472 Fix indentation/fontification of Java enum with
1473 "implements"/generic.
1474
1475 * progmodes/cc-engine.el (c-backward-over-enum-header):
1476 Extracted from the three other places and enhanced to handle generics.
1477 (c-inside-bracelist-p): Uses new function above.
1478 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1479 function above.
1480 (c-font-lock-enum-tail): Uses new function above.
1481
1482 2013-10-13 Kenichi Handa <handa@gnu.org>
1483
1484 * international/mule-cmds.el (select-safe-coding-system): Remove a
1485 superfluous condition in chekcing whether a coding system is safe
1486 or not.
1487
1488 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1489
1490 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1491
1492 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1493
1494 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1495
1496 2013-10-13 Glenn Morris <rgm@gnu.org>
1497
1498 * menu-bar.el (menu-bar-update-buffers):
1499 Unify Buffers menu prompt string. (Bug#15576)
1500
1501 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1502
1503 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1504 Add some entries.
1505 (authors-fixed-entries): Use accented form of name.
1506
1507 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1510 method calls (bug#15594).
1511 (ruby-smie--args-separator-p): New function.
1512 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1513 recognize paren-free method calls.
1514
1515 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1516 internals of universal-argument.
1517
1518 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1519
1520 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1521 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1522 dropped menu on second mouse click on the menu bar.
1523
1524 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1527 (explicit-shell-file-name): Declare.
1528 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1529 (sh-completion-at-point-function): New function.
1530 (sh-mode): Use it.
1531 (sh-smie--keyword-p): Remove unused argument.
1532 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1533 vars.
1534 (sh-set-shell): Always setup SMIE, even if we use the
1535 old indentation code.
1536
1537 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1538
1539 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1540 cases of ? and =.
1541 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1542 predicate would return nil are almost non-existent.
1543 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1544
1545 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1546 cache also after commands that modify the buffer but don't move
1547 point.
1548
1549 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * env.el (substitute-env-in-file-name): New function.
1552 (substitute-env-vars): Extend the meaning of the optional arg.
1553
1554 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1555
1556 * term/w32-win.el (dynamic-library-alist): Define separate lists
1557 of GIF DLLs for versions before and after 5.0.0 of giflib.
1558 (Bug#15531)
1559
1560 2013-10-10 João Távora <joaotavora@gmail.com>
1561
1562 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1563 not locked, use last revision and current source as
1564 defaults. (Bug#15569)
1565
1566 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1567
1568 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1569 menu-bar is hidden.
1570
1571 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1572
1573 * window.el (pop-to-buffer-same-window): Fix doc-string.
1574 (Bug#15492)
1575
1576 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1579
1580 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1581
1582 * calendar/icalendar.el (icalendar-import-file):
1583 Fix interactive spec. (Bug#15482)
1584
1585 2013-10-10 Glenn Morris <rgm@gnu.org>
1586
1587 * desktop.el (desktop-save): Default to saving in .emacs.d,
1588 since PWD is no longer in desktop-path by default. (Bug#15319)
1589
1590 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1591 now that text mode has a menu with the same entry.
1592 (menu-bar-text-mode-auto-fill): Remove now unused func.
1593 * textmodes/text-mode.el (text-mode-map):
1594 Use auto-fill help text from menu-bar.el.
1595
1596 2013-10-10 John Anthony <john@jo.hnanthony.com>
1597
1598 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1599
1600 2013-10-09 Juri Linkov <juri@jurta.org>
1601
1602 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1603 instead of this-command-keys. Add universal-argument-more and
1604 universal-argument-minus to the list of prefix commands. (Bug#15568)
1605
1606 2013-10-09 Glenn Morris <rgm@gnu.org>
1607
1608 * vc/vc-svn.el (vc-svn-create-repo):
1609 Expand paths in file://... url. (Bug#15446)
1610
1611 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1612 Add some entries.
1613 (authors): Remove unused local variables.
1614
1615 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * profiler.el: Create a more coherent calltree from partial backtraces.
1618 (profiler-format): Hide the tail with `invisible' so that C-s can still
1619 find the hidden elements.
1620 (profiler-calltree-depth): Don't recurse so enthusiastically.
1621 (profiler-function-equal): New hash-table-test.
1622 (profiler-calltree-build-unified): New function.
1623 (profiler-calltree-build): Use it.
1624 (profiler-report-make-name-part): Indent the calltree less.
1625 (profiler-report-mode): Add visibility specs for profiler-format.
1626 (profiler-report-expand-entry, profiler-report-toggle-entry):
1627 Expand the whole subtree when provided with a prefix arg.
1628
1629 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1630
1631 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1632 iuwu-mod token.
1633 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1634 hanging iuwu-mod token.
1635 (ruby-smie--forward-token): Do not include a dot after a token in
1636 that token.
1637 (ruby-smie--backward-token): Likewise.
1638
1639 2013-10-08 Juri Linkov <juri@jurta.org>
1640
1641 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1642 to isearch-other-control-char.
1643 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1644 and isearch-post-command-hook to post-command-hook.
1645 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1646 and isearch-post-command-hook from post-command-hook.
1647 (isearch-unread-key-sequence)
1648 (isearch-reread-key-sequence-naturally)
1649 (isearch-lookup-scroll-key, isearch-other-control-char)
1650 (isearch-other-meta-char): Remove functions.
1651 (isearch-pre-command-hook, isearch-post-command-hook):
1652 New functions based on isearch-other-meta-char rewritten
1653 relying on the new behavior of overriding-terminal-local-map
1654 that does not replace the local keymaps any more. (Bug#15200)
1655
1656 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1657
1658 Support menus on text-mode terminals.
1659 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1660 functionality.
1661
1662 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1663
1664 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1665 Move here from mouse.el.
1666 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1667 and arrow keys.
1668 (tty-menu-navigation-map): New map for TTY menu navigation.
1669
1670 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1671
1672 * frame.el (display-mouse-p): Report text-mode mouse as available
1673 on w32.
1674 (display-popup-menus-p): Report availability if mouse is
1675 available; don't condition on window-system.
1676
1677 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1678 (tty-menu-selected-face): New faces.
1679
1680 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1683 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1684 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1685 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1686 New constants.
1687 (lisp-mode-variables): New `elisp' argument.
1688 (emacs-lisp-mode): Use it.
1689 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1690 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1691
1692 * indent.el: Use lexical-binding.
1693 (indent-region): Add progress reporter.
1694 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1695 last step.
1696 (indent--next-tab-stop): New function to implement this behavior.
1697 (tab-to-tab-stop, move-to-tab-stop): Use it.
1698
1699 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1700
1701 * indent.el (indent-rigidly--current-indentation): New function.
1702 (indent-rigidly-map): New var.
1703 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1704
1705 2013-10-08 Bastien Guerry <bzg@gnu.org>
1706
1707 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1708
1709 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * progmodes/perl-mode.el: Use lexical-binding.
1712 Remove redundant :group args.
1713 (perl-nochange): Change default to be closer to other major modes's
1714 standard behavior.
1715 (perl-indent-line): Don't consider text on current line as a
1716 valid beginning of function from which to indent.
1717
1718 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1719 with more than one argument (bug#15538).
1720
1721 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1722
1723 * vc/pcvs.el: Use lexical-binding.
1724 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1725 environment of `eval'.
1726 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1727 than a list of expressions. Adjust callers.
1728 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1729
1730 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1731
1732 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1733 case of the dot in a chained method call being on the following line.
1734
1735 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * electric.el (electric-indent-inhibit): New var.
1738 (electric-indent-post-self-insert-function): Use it.
1739 * progmodes/python.el (python-mode): Set it.
1740
1741 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1742 open braces.
1743
1744 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1745
1746 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1747 (css-mode): Use electric-indent-chars.
1748
1749 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1750 (font-lock-beg, font-lock-end): Move before first use.
1751 (nxml-mode): Use syntax-propertize-function.
1752 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1753 (nxml-extend-after-change-region): Remove.
1754 * nxml/xmltok.el: Use lexical-binding.
1755 (xmltok-save): Use `declare'.
1756 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1757 * nxml/nxml-util.el: Use lexical-binding.
1758 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1759 Use `declare'.
1760 * nxml/nxml-ns.el: Use lexical-binding.
1761 (nxml-ns-save): Use `declare'.
1762 (nxml-ns-prefixes-for): Avoid add-to-list.
1763 * nxml/rng-match.el: Use lexical-binding.
1764 (rng--ipattern): Use cl-defstruct.
1765 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1766 (rng-cons-group-after, rng-subst-group-after)
1767 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1768 Use closures instead of `(lambda...).
1769
1770 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1771
1772 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1773 of BEG and END.
1774
1775 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1776 Use `tramp-handle-insert-file-contents'.
1777 (tramp-gvfs-handle-insert-file-contents): Remove function.
1778
1779 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1780 Use `save-restriction' in order to keep markers.
1781
1782 * net/trampver.el: Update release number.
1783
1784 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * progmodes/compile.el (compilation-parse-errors):
1787 Use compilation--put-prop.
1788 (compilation--ensure-parse): Check compilation-multiline.
1789
1790 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1791
1792 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1793 lexical-binding.
1794
1795 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1796
1797 * progmodes/ruby-mode.el: Fix recently added tests.
1798 (ruby-smie-grammar): Add - and +.
1799 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1800 (ruby-smie--backward-id): New functions.
1801 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1802 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1803 any more.
1804
1805 2013-10-07 Leo Liu <sdl.web@gmail.com>
1806
1807 * register.el (register-preview-delay)
1808 (register-preview-functions): New variables.
1809 (register-read-with-preview, register-preview)
1810 (register-describe-oneline): New functions.
1811 (point-to-register, window-configuration-to-register)
1812 (frame-configuration-to-register, jump-to-register)
1813 (number-to-register, view-register, insert-register)
1814 (copy-to-register, append-to-register, prepend-to-register)
1815 (copy-rectangle-to-register): Use register-read-with-preview to
1816 read register. (Bug#15525)
1817
1818 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1819
1820 * net/network-stream.el (network-stream-open-starttls): Don't add
1821 --insecure if it's already present, because that gnutls-cli
1822 rejects getting that parameter twice.
1823
1824 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1825
1826 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1827 keyword, too.
1828
1829 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1830
1831 * newcomment.el (comment-use-global-state): Change default value
1832 to t, mark obsolete (Bug#15251).
1833 (comment-beginning): In addition to `comment-to-syntax', check the
1834 value of `comment-use-global-state'.
1835
1836 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1839 (ruby-comment-column): Follow the global default, by default.
1840 (ruby-smie-grammar): Add assignment syntax.
1841 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1842 open-paren, a comma, or a \.
1843 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1844 and line continuations.
1845 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1846 followed by implicit semi-colons. Add rule for string concatenation
1847 and for indentation at BOB.
1848 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1849
1850 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1851 calling next-sexp, since next-token may have skipped chars which
1852 next-sexp doesn't know should be skipped!
1853
1854 2013-10-05 Leo Liu <sdl.web@gmail.com>
1855
1856 * progmodes/octave.el (octave-send-region):
1857 Call compilation-forget-errors.
1858
1859 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1860
1861 * vc/vc-svn.el (vc-svn-find-admin-dir):
1862 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1863 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1864 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1865 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1866
1867 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1870
1871 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * subr.el (read-passwd): Hide chars even when called within a context
1874 where after-change-functions is disabled (bug#15501).
1875 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1876 until we removed ourself from overriding-terminal-local-map.
1877
1878 2013-10-04 Leo Liu <sdl.web@gmail.com>
1879
1880 * progmodes/octave.el (inferior-octave-mode):
1881 Call compilation-forget-errors.
1882
1883 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1884
1885 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1886
1887 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1888
1889 * net/secrets.el (secrets-create-collection): Add optional
1890 argument ALIAS. Use proper Label keyword. Append ALIAS as
1891 dbus-call-method argument. (Bug#15516)
1892
1893 2013-10-04 Leo Liu <sdl.web@gmail.com>
1894
1895 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1896 (inferior-octave-compilation-font-lock-keywords): New variables.
1897 (compilation-error-regexp-alist)
1898 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1899 (inferior-octave-mode): Use compilation-shell-minor-mode.
1900
1901 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1902
1903 * minibuffer.el (completion--replace): Be careful that `end' might be
1904 a marker.
1905
1906 2013-10-03 Daiki Ueno <ueno@gnu.org>
1907
1908 Add support for package signature checking.
1909 * emacs-lisp/package.el (url-http-file-exists-p)
1910 (epg-make-context, epg-context-set-home-directory)
1911 (epg-verify-string, epg-context-result-for)
1912 (epg-signature-status, epg-signature-to-string)
1913 (epg-check-configuration, epg-configuration)
1914 (epg-import-keys-from-file): Declare.
1915 (package-check-signature): New user option.
1916 (package-unsigned-archives): New user option.
1917 (package-desc): Add `signed' field.
1918 (package-load-descriptor): Set `signed' field if .signed file exists.
1919 (package--archive-file-exists-p): New function.
1920 (package--check-signature): New function.
1921 (package-install-from-archive): Check package signature.
1922 (package--download-one-archive): Check archive signature.
1923 (package-delete): Remove .signed file.
1924 (package-import-keyring): New command.
1925 (package-refresh-contents): Import default keyring.
1926 (package-desc-status): Add "unsigned" status.
1927 (describe-package-1, package-menu--print-info)
1928 (package-menu-mark-delete, package-menu--find-upgrades)
1929 (package-menu--status-predicate): Support "unsigned" status.
1930
1931 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1934 the new compilation scheme using the new byte-codes.
1935
1936 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1937 (byte-pophandler): New byte codes.
1938 (byte-goto-ops): Adjust accordingly.
1939 (byte-compile--use-old-handlers): New var.
1940 (byte-compile-catch): Use new byte codes depending on
1941 byte-compile--use-old-handlers.
1942 (byte-compile-condition-case--old): Rename from
1943 byte-compile-condition-case.
1944 (byte-compile-condition-case--new): New function.
1945 (byte-compile-condition-case): New function that dispatches depending
1946 on byte-compile--use-old-handlers.
1947 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1948 when we can.
1949
1950 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1951 Optimize under `condition-case' and `catch' if
1952 byte-compile--use-old-handlers is nil.
1953 (disassemble-offset): Handle new bytecodes.
1954
1955 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * subr.el (error): Use `declare'.
1958 (decode-char, encode-char): Use advertised-calling-convention instead
1959 of the docstring to discourage use of the `restriction' arg.
1960
1961 2013-10-03 Daiki Ueno <ueno@gnu.org>
1962
1963 * epg.el (epg-verify-file): Add a comment saying that it does not
1964 notify verification error as a return value nor a signal.
1965 (epg-verify-string): Ditto.
1966
1967 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1968
1969 * progmodes/compile.el (compilation-start): Try globbing the arg to
1970 `cd' (bug#15417).
1971
1972 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1973
1974 Sync with Tramp 2.2.8.
1975
1976 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1977 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1978 * net/trampver.el: Update release number.
1979
1980 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1981
1982 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1983 and default-process-coding-system for darwin only.
1984
1985 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1988
1989 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1990
1991 * vc/vc-git.el (vc-git-grep): Disable pager.
1992
1993 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1994
1995 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1996 Use :url instead of :homepage, as per
1997 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1998
1999 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2000 non-nil, use `syntax-ppss' (Bug#15251).
2001
2002 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2003
2004 * progmodes/octave.el (inferior-octave-startup-file):
2005 Prefer ~/.emacs.d/init_octave.m.
2006
2007 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2008
2009 * emacs-lisp/package.el (package-desc-from-define):
2010 Accept additional arguments as plist, convert them to an alist and store
2011 them in the `extras' slot.
2012 (package-generate-description-file): Convert extras alist back to
2013 plist and append to the `define-package' form arguments.
2014 (package--alist-to-plist): New function.
2015 (package--ac-desc): Add `extras' slot.
2016 (package--add-to-archive-contents): Check if the archive-contents
2017 vector is long enough, and if it is, pass its `extras' slot value
2018 to `package-desc-create'.
2019 (package-buffer-info): Call `lm-homepage', pass the returned value
2020 to `package-desc-from-define'.
2021 (describe-package-1): Render the homepage button (Bug#13291).
2022
2023 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2024 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2025
2026 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2027
2028 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2029 and default-process-coding-system to utf-8-unix (Bug#15402).
2030
2031 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2032
2033 * subr.el (looking-back): Do not recommend using looking-back.
2034
2035 2013-09-28 Alan Mackenzie <acm@muc.de>
2036
2037 Fix indentation/fontification of Java enum with "implements".
2038
2039 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2040 regexp which matches "implements", etc., in Java.
2041 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2042 specifier clauses coming after "enum".
2043 * progmodes/cc-fonts.el (c-font-lock-declarations)
2044 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2045 after "enum".
2046
2047 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2048
2049 * faces.el (region): Change ns_selection_color to
2050 ns_selection_fg_color, add ns_selection_bg_color.
2051
2052 2013-09-28 Leo Liu <sdl.web@gmail.com>
2053
2054 * progmodes/octave.el (inferior-octave-completion-table)
2055 (inferior-octave-completion-at-point): Minor tweaks.
2056
2057 * textmodes/ispell.el (ispell-lookup-words): Rename from
2058 lookup-words. (Bug#15460)
2059 (lookup-words): Obsolete.
2060 (ispell-complete-word, ispell-command-loop): All uses changed.
2061
2062 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2063
2064 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2065 (octave-mode-menu): Add octave-send-buffer.
2066 (octave-send-buffer): New function.
2067
2068 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2069
2070 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2071 octave-lookfor.
2072 (octave-mode-menu): Add octave-lookfor.
2073 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2074 octave-lookfor.
2075 (octave-lookfor): New function.
2076
2077 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * emacs-lisp/cl-macs.el:
2080 (cl--loop-destr-temps): Remove.
2081 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2082 its convention.
2083 (cl--loop-set-iterator-function): New function.
2084 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2085 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2086 Bind `it' with `let' instead of substituting it with `cl-subst'.
2087 (cl--unused-var-p): New function.
2088 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2089 Eliminate some unused variable warnings (bug#15326).
2090
2091 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2092
2093 * doc-view.el (doc-view-scale-reset): Rename from
2094 `doc-view-reset-zoom-level'.
2095 (doc-view-scale-adjust): New command.
2096 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2097 `doc-view-scale-adjust'.
2098
2099 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2100
2101 * doc-view.el (doc-view-reset-zoom-level): New command.
2102 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2103 zoom commands (bug#15466).
2104
2105 2013-09-26 Kenichi Handa <handa@gnu.org>
2106
2107 * international/quail.el (quail-help): Make it not a command.
2108
2109 2013-09-26 Leo Liu <sdl.web@gmail.com>
2110
2111 * minibuffer.el (completion-all-sorted-completions): Make args
2112 optional as they are.
2113
2114 2013-09-25 Daniel Colascione <dancol@dancol.org>
2115
2116 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2117 specs are and that they're not evaluated.
2118
2119 2013-09-24 Sam Steingold <sds@gnu.org>
2120
2121 * midnight.el (clean-buffer-list-kill-regexps)
2122 (clean-buffer-list-kill-buffer-names): Update for the new Man
2123 buffer naming which includes the object name.
2124
2125 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2126
2127 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2128 (eshell-parse-command, eshell-parse-pipeline): Use it since
2129 eshell-separate-commands requires a dynamic scoped var.
2130 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2131
2132 2013-09-23 Leo Liu <sdl.web@gmail.com>
2133
2134 * autoinsert.el (auto-insert-alist): Make the value of
2135 lexical-binding match its file setting.
2136
2137 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2138
2139 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2140
2141 * autoarg.el (autoarg-kp-digit-argument):
2142 * electric.el (Electric-command-loop):
2143 * kmacro.el (kmacro-step-edit-insert):
2144 Do not set universal-argument-num-events.
2145
2146 2013-09-22 Leo Liu <sdl.web@gmail.com>
2147
2148 * files.el (interpreter-mode-alist): Add octave.
2149
2150 2013-09-21 Alan Mackenzie <acm@muc.de>
2151
2152 C++: fontify identifier in declaration following "public:" correctly.
2153 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2154 to match "public", etc.
2155 (c-decl-prefix-re): Add ":" into the C++ value.
2156 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2157 bit. Add a check for a ":" preceded by "public", etc.
2158
2159 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2160
2161 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2162 recognized by GDB 7.5 and later.
2163
2164 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2165
2166 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2167
2168 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * subr.el (internal--call-interactively): New const.
2171 (called-interactively-p): Use it (bug#3984).
2172
2173 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2174
2175 * vc/pcvs.el (cvs-mode-ignore):
2176 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2177 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2178
2179 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2182 (eshell-ls-orig-insert-directory): Remove.
2183 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2184 (eshell-ls-use-in-dired): Use advice-add/remove.
2185 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2186 Add `orig-fun' arg for use in :around advice.
2187 Make it check (redundantly) eshell-ls-use-in-dired.
2188
2189 2013-09-19 Glenn Morris <rgm@gnu.org>
2190
2191 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2192
2193 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2194
2195 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2196
2197 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2198
2199 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2200 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2201 (tramp-get-remote-python): New defuns.
2202 (tramp-get-remote-uid-with-perl)
2203 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2204 contributed by yary <not.com@gmail.com> (tiny change).
2205 (tramp-get-remote-uid-with-python)
2206 (tramp-get-remote-gid-with-python): New defuns. Python code
2207 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2208 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2209
2210 2013-09-19 Glenn Morris <rgm@gnu.org>
2211
2212 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2213
2214 * eshell/em-unix.el (eshell-remove-entries):
2215 Rename argument to avoid name-clash with global `top-level'.
2216
2217 * eshell/esh-proc.el (eshell-kill-process-function):
2218 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2219 (eshell-reset-after-proc): Remove unused arg `proc'.
2220
2221 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2222 (directory-files-and-attributes): Mark unused arg.
2223
2224 * eshell/em-unix.el (eshell-remove-entries):
2225 Remove unused arg `path'. Update callers.
2226
2227 * eshell/em-hist.el (eshell-hist-parse-arguments):
2228 Remove unused arg `silent'. Update callers.
2229
2230 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2231 Fix (f)boundp mix-up.
2232
2233 * eshell/em-smart.el (eshell-smart-scroll-window)
2234 (eshell-disable-after-change):
2235 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2236
2237 2013-09-18 Alan Mackenzie <acm@muc.de>
2238
2239 Fix fontification of type when followed by "const".
2240 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2241 "known" types from fontification.
2242
2243 2013-09-18 Glenn Morris <rgm@gnu.org>
2244
2245 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2246 (chart-face-list): Drop Emacsen without display-color-p.
2247
2248 * net/eww.el (libxml-parse-html-region): Declare.
2249 (eww-display-html): Explicit error if no libxml2 support.
2250
2251 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2252
2253 * image.el (image-type-from-buffer, image-multi-frame-p):
2254 Remove --without-x warning/error.
2255
2256 * mouse.el (mouse-yank-primary):
2257 * term.el (term-mouse-paste):
2258 Reorder to silence --without-x compilation.
2259
2260 * mpc.el (doc-view-mode): Silence --without-x compilation.
2261
2262 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2263 Silence --without-x compilation.
2264
2265 * progmodes/gud.el (gud-find-file, gud-mode):
2266 Silence --without-x compilation.
2267 (tooltip-mode): Declare.
2268
2269 * wdired.el (dired-backup-overwrite): Remove declaration.
2270 (wdired-mode-map): Add doc string.
2271
2272 * custom.el (x-get-resource): Declare.
2273
2274 * eshell/em-glob.el (ange-cache):
2275 * eshell/em-unix.el (ange-cache): Declare.
2276
2277 * faces.el (x-display-list, x-open-connection, x-get-resource):
2278 Declare.
2279
2280 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2281 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2282 Declare.
2283
2284 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2285
2286 * net/gnutls.el (gnutls-log-level): Declare.
2287
2288 * net/shr.el (image-size, image-animate): Declare.
2289
2290 * simple.el (font-info): Declare.
2291
2292 * subr.el (x-popup-dialog): Declare.
2293
2294 * term/common-win.el (x-select-enable-primary)
2295 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2296 Declare.
2297
2298 * term/ns-win.el (x-handle-args): Declare.
2299
2300 * term/x-win.el (x-select-enable-clipboard): Declare.
2301
2302 * term/w32-win.el (create-default-fontset): Declare.
2303
2304 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2305 Declare.
2306
2307 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2308 (fit-frame-to-buffer): Explicit error if --without-x.
2309 (mouse-autoselect-window-select): Silence compiler.
2310
2311 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2312
2313 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2314 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2315 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2316 * eshell/esh-util.el (eshell-sublist):
2317 Remove unused local variables.
2318
2319 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2320
2321 * textmodes/two-column.el: Make 2C-split work for --without-x.
2322 (scroll-bar-columns): Autoload.
2323 (top-level): Require fringe when compiling.
2324
2325 2013-09-18 Leo Liu <sdl.web@gmail.com>
2326
2327 * subr.el (add-hook): Robustify to handle closure as well.
2328
2329 2013-09-17 Glenn Morris <rgm@gnu.org>
2330
2331 * simple.el (messages-buffer-mode-map): Unbind "g".
2332
2333 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * help-mode.el (help-mode-finish): Use derived-mode-p.
2336 Remove obsolete highlighting.
2337
2338 * play/life.el (life-mode): Use define-derived-mode. Derive from
2339 special-mode.
2340 (life): Let-bind inhibit-read-only.
2341 (life-setup): Avoid `setq'. Use `life-mode'.
2342
2343 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2344 which should not be needed any more.
2345 (package-menu-refresh, package-menu-describe-package): Use user-error.
2346
2347 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2348 (eshell-post-rewrite-command-hook): Make obsolete.
2349 (eshell-parse-command): Simplify.
2350 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2351 (eshell--cmd): Declare.
2352 (eshell-parse-pipeline): Remove unused var `final-p'.
2353 Pass a dynvar to eshell-post-rewrite-command-hook.
2354 Implement the new eshell-post-rewrite-command-function.
2355 (eshell-invoke-directly): Remove unused arg `input'.
2356 * eshell/esh-io.el (eshell-io-initialize):
2357 Use eshell-post-rewrite-command-function (bug#15399).
2358 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2359 adjust to new calling convention.
2360 (eshell-create-handles): Rename args to avoid clashing with dynvar
2361 `standard-output'.
2362
2363 2013-09-17 Glenn Morris <rgm@gnu.org>
2364
2365 * simple.el (messages-buffer-mode): New major mode.
2366 (messages-buffer): New function.
2367 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2368 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2369 (ert-run-test): Use `messages-buffer' function.
2370 (ert--force-message-log-buffer-truncation): Ignore read-only.
2371 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2372 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2373
2374 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2375
2376 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2377
2378 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2379
2380 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * icomplete.el (icomplete-in-buffer): New var.
2383 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2384 vars and replace them with functions.
2385 (icomplete-minibuffer-setup): Adjust accordingly.
2386 (icomplete--completion-table, icomplete--completion-predicate)
2387 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2388 New functions.
2389 (icomplete-forward-completions, icomplete-backward-completions)
2390 (icomplete-simple-completing-p, icomplete-exhibit)
2391 (icomplete-completions): Use them.
2392 (icomplete--in-region-buffer): New var.
2393 (icomplete--in-region-setup): New function.
2394 (icomplete-mode): Use it.
2395
2396 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2397 (bug#15379).
2398 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2399 return args and options.
2400 (eshell-eval-using-options): Use the new return value of
2401 eshell--do-opts to set the options's vars in their scope.
2402 (eshell--set-option): Rename from eshell-set-option.
2403 Add arg `opt-vals'.
2404 (eshell--process-option): Rename from eshell-process-option.
2405 Add arg `opt-vals'.
2406 (eshell--process-args): Use an `opt-vals' alist to store the options's
2407 values during their processing and return them additionally to the
2408 remaining args.
2409
2410 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2411
2412 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2413 continuation character an operator, as far as indentation is
2414 concerned (Bug#15369).
2415
2416 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2417
2418 * window.el (window--state-put-2): Don't process buffer state
2419 when buffer doesn't exist any more (Bug#15382).
2420
2421 2013-09-15 Glenn Morris <rgm@gnu.org>
2422
2423 * eshell/em-unix.el (eshell/rm):
2424 Make -f ignore missing files. (Bug#15373)
2425
2426 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2427 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2428 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2429
2430 2013-09-14 Glenn Morris <rgm@gnu.org>
2431
2432 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2433
2434 2013-09-13 Glenn Morris <rgm@gnu.org>
2435
2436 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2437 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2438
2439 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2440
2441 * frame.el (x-focus-frame): Mark as declared in frame.c.
2442
2443 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * ls-lisp.el: Use advice-add.
2446 (original-insert-directory): Remove.
2447 (ls-lisp--insert-directory): Rename from insert-directory; add
2448 `orig-fun' argument.
2449 (insert-directory): Advise.
2450
2451 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2452
2453 * term.el (term-emulate-terminal): Decode the command string
2454 before passing it to term-command-hook. (Bug#15337)
2455
2456 2013-09-13 Glenn Morris <rgm@gnu.org>
2457
2458 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2459
2460 * eshell/esh-ext.el (eshell-search-path): Declare.
2461
2462 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2463 Otherwise an error occurs if eshell-dirs module not loaded.
2464
2465 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2466
2467 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2468
2469 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2470 `tramp-check-proper-host'. Check for a valid method name.
2471
2472 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2473 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2474 * net/tramp-sh.el (tramp-maybe-open-connection):
2475 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2476
2477 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2478 also for hash values.
2479
2480 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2481
2482 * term/ns-win.el (parameters): Don't declare as dynamic.
2483 (before-make-frame-hook): Don't add ineffective function.
2484
2485 * eshell/*.el: Use lexical-binding (bug#15231).
2486
2487 2013-09-12 Kenichi Handa <handa@gnu.org>
2488
2489 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2490
2491 2013-09-12 Glenn Morris <rgm@gnu.org>
2492
2493 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2494 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2495
2496 * subr.el (do-after-load-evaluation): Also give compiler warnings
2497 when obsolete files are used (except by obsolete files).
2498
2499 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2500 in the status output, assume `filename' is the first. (Bug#15322)
2501
2502 * vc/vc.el (vc-deduce-fileset): Doc fix.
2503
2504 * calc/calc-help.el (Info-goto-node):
2505 * progmodes/cperl-mode.el (Info-find-node):
2506 * vc/ediff.el (Info-goto-node): Update declarations.
2507
2508 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2509
2510 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2511 (vc-bzr-pull): Require vc-dispatcher.
2512 * vc/vc-git.el (vc-compilation-mode): Declare.
2513 (vc-git-pull): Require vc-dispatcher.
2514
2515 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2516
2517 * progmodes/octave.el (help-button-action): Declare.
2518
2519 * shell.el (shell-directory-tracker): Output error as a message
2520 rather than just returning it as a string.
2521 (shell-process-pushd): Remove useless use of message.
2522
2523 * dframe.el (dframe-timer-fn):
2524 * files.el (dir-locals-read-from-file):
2525 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2526 (mpc-format):
2527 * reveal.el (reveal-post-command):
2528 * saveplace.el (load-save-place-alist-from-file):
2529 * shell.el (shell-resync-dirs):
2530 * w32-common-fns.el (x-get-selection-value):
2531 * emacs-lisp/copyright.el (copyright-find-copyright):
2532 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2533 * emulation/tpu-edt.el (tpu-copy-keyfile):
2534 * play/bubbles.el (bubbles--mark-neighbourhood):
2535 * progmodes/executable.el
2536 (executable-make-buffer-file-executable-if-script-p):
2537 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2538
2539 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 Cleanup Eshell to rely less on dynamic scoping.
2542 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2543 last-value, and ext-command here. Bind `args' closer to `body'.
2544 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2545 (eshell--args): Declare new dynamic var.
2546 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2547 last-value, and ext-command. Pass `args' to `body'.
2548 (eshell-process-args): Bind eshell--args.
2549 (eshell-set-option): Use eshell--args.
2550 * eshell/eshell.el (eshell): Use derived-mode-p.
2551 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2552 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2553 (eshell-glob-function): Declare.
2554 * eshell/esh-util.el: Require cl-lib.
2555 (eshell-read-hosts-file): Avoid add-to-list.
2556 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2557 `err'.
2558 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2559 Declare.
2560 (eshell/diff): Remove unused var `err'.
2561 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2562 `killflag'.
2563 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2564 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2565 first use.
2566 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2567 Move declaration before first use.
2568 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2569 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2570 rely on cl-return.
2571
2572 2013-09-12 Glenn Morris <rgm@gnu.org>
2573
2574 * term/ns-win.el (global-map): Remove binding for ispell-next,
2575 deleted 1999-05-29. (Bug#15357)
2576
2577 2013-09-11 Glenn Morris <rgm@gnu.org>
2578
2579 * echistory.el (electric-command-history): Remove call to deleted func.
2580
2581 * play/landmark.el (landmark-mode): Fix typos.
2582
2583 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2584 Check cvs-sort-ignore-file is bound.
2585
2586 * savehist.el: No need for cl when compiling on Emacs.
2587
2588 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2589
2590 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2591 (bug#15338).
2592 (eshell-self-insert-command, eshell-send-invisible):
2593 Remove unused argument.
2594 (eshell-handle-control-codes): Remove unused var `orig'.
2595 Avoid delete-backward-char.
2596
2597 * files.el (set-auto-mode): Simplify a bit further.
2598
2599 2013-09-11 Glenn Morris <rgm@gnu.org>
2600
2601 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2602 (set-auto-mode): Don't regexp-quote elements.
2603 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2604 * progmodes/cc-mode.el (interpreter-mode-alist):
2605 * progmodes/ruby-mode.el (interpreter-mode-alist):
2606 Revert previous change.
2607
2608 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2609
2610 * play/snake.el (snake-mode):
2611 * play/mpuz.el (mpuz-mode):
2612 * play/landmark.el (lm-mode):
2613 * play/blackbox.el (blackbox-mode):
2614 * play/5x5.el (5x5-mode):
2615 * obsolete/options.el (Edit-options-mode):
2616 * net/quickurl.el (quickurl-list-mode):
2617 * net/newst-treeview.el (newsticker-treeview-mode):
2618 * mail/rmailsum.el (rmail-summary-mode):
2619 * mail/mspools.el (mspools-mode):
2620 * locate.el (locate-mode):
2621 * ibuffer.el (ibuffer-mode):
2622 * emulation/ws-mode.el (wordstar-mode):
2623 * emacs-lisp/debug.el (debugger-mode):
2624 * array.el (array-mode):
2625 * net/eudc.el (eudc-mode): Use define-derived-mode.
2626 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2627 Move initialization into declaration.
2628 (mairix-searches-mode): Use define-derived-mode.
2629 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2630 (eudc-edit-hotlist): Use dolist.
2631 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2632 (Man-mode): Use define-derived-mode.
2633 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2634 (Info-edit-mode): Use define-derived-mode.
2635 (Info-cease-edit): Use Info-mode.
2636 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2637 into declaration.
2638 (eshell-mode): Use define-derived-mode.
2639 * chistory.el (command-history-mode-map): Rename from
2640 command-history-map.
2641 (command-history-mode): Use define-derived-mode.
2642 (Command-history-setup): Remove function.
2643 * calc/calc.el (calc-trail-mode-map): New var.
2644 (calc-trail-mode): Use define-derived-mode.
2645 (calc-trail-buffer): Set calc-main-buffer manually.
2646 * bookmark.el (bookmark-insert-annotation): New function.
2647 (bookmark-edit-annotation): Use it.
2648 (bookmark-edit-annotation-mode): Make it a proper major mode.
2649 (bookmark-send-edited-annotation): Use derived-mode-p.
2650 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2651 closer to its ideal place. Use \' to match EOS.
2652
2653 * profiler.el (profiler-calltree-find): Use function-equal.
2654
2655 2013-09-10 Glenn Morris <rgm@gnu.org>
2656
2657 * files.el (interpreter-mode-alist): Convert to regexps.
2658 (set-auto-mode): Adapt for this. (Bug#15306)
2659 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2660 Comment out unused variable.
2661 * progmodes/cc-mode.el (interpreter-mode-alist):
2662 * progmodes/python.el (interpreter-mode-alist):
2663 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2664 * progmodes/sh-script.el (sh-set-shell):
2665 No longer use interpreter-mode-alist to get list of shells.
2666
2667 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2668
2669 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * simple.el: Use set-temporary-overlay-map for universal-argument.
2672 (universal-argument-map): Don't use default-bindings (bug#15317).
2673 Bind switch-frame explicitly. Replace universal-argument-minus with
2674 a conditional binding.
2675 (universal-argument-num-events, saved-overriding-map): Remove.
2676 (restore-overriding-map): Remove.
2677 (universal-argument--mode): Rename from save&set-overriding-map,
2678 and rewrite.
2679 (universal-argument, universal-argument-more, negative-argument)
2680 (digit-argument): Adjust accordingly.
2681 (universal-argument-minus): Remove.
2682 (universal-argument-other-key): Remove.
2683
2684 * subr.el (with-demoted-errors): Add `format' argument.
2685
2686 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2687
2688 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2689 `tramp-cleanup-connection'.
2690
2691 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2692 parameters KEEP-DEBUG and KEEP-PASSWORD.
2693
2694 * net/tramp.el (tramp-file-name-handler):
2695 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2696 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2697 (tramp-maybe-open-connection):
2698 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2699 Use `tramp-cleanup-connection'.
2700
2701 * net/tramp-sh.el (tramp-maybe-open-connection):
2702 Catch 'uname-changed inside the progress reporter.
2703
2704 2013-09-10 Glenn Morris <rgm@gnu.org>
2705
2706 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2707
2708 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2709 returns "alternate access method" in mode (eg "-rw-r--r--.").
2710
2711 2013-09-08 Glenn Morris <rgm@gnu.org>
2712
2713 * saveplace.el (load-save-place-alist-from-file):
2714 Demote errors. (Bug#15305)
2715
2716 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2717
2718 Improve compatibility with older Emacsen, and XEmacs.
2719
2720 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2721 only if it is bound. It isn't for XEmacs.
2722 (with-tramp-progress-reporter): Do not let-bind `result'.
2723 This yields to scoping errors in XEmacs.
2724 (tramp-handle-make-auto-save-file-name): New function, moved from
2725 tramp-sh.el.
2726
2727 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2728 for `make-auto-save-file-name'.
2729 (tramp-adb--gnu-switches-to-ash):
2730 Use `tramp-compat-replace-regexp-in-string'.
2731
2732 * net/tramp-cache.el (tramp-cache-print): Call
2733 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2734
2735 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2736 bound. It isn't for XEmacs.
2737
2738 * net/tramp-compat.el (tramp-compat-copy-file):
2739 Catch `wrong-number-of-arguments' error.
2740 (tramp-compat-replace-regexp-in-string): New defun.
2741
2742 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2743 for `make-auto-save-file-name'.
2744 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2745 `copy-file'.
2746 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2747 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2748 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2749
2750 * net/tramp-gw.el (tramp-gw-open-network-stream):
2751 Use `tramp-compat-replace-regexp-in-string'.
2752
2753 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2754 Call `tramp-handle-make-auto-save-file-name'.
2755 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2756 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2757 (tramp-sh-file-inotifywait-process-filter):
2758 Use `tramp-compat-replace-regexp-in-string'.
2759 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2760
2761 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2762 for `make-auto-save-file-name'.
2763 (tramp-smb-handle-copy-directory):
2764 Call `tramp-compat-replace-regexp-in-string'.
2765 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2766 (tramp-smb-handle-copy-file): Improve error message.
2767 (tramp-smb-handle-rename-file): Rename directly only in case
2768 `newname' does not exist yet. This is a restriction of smbclient.
2769 (tramp-smb-maybe-open-connection): Rerun the function only when
2770 `auth-sources' is non-nil.
2771
2772 2013-09-08 Kenichi Handa <handa@gnu.org>
2773
2774 * international/characters.el: Set category "^" (Combining) for
2775 more characters.
2776
2777 2013-09-07 Alan Mackenzie <acm@muc.de>
2778
2779 Correctly fontify Java class constructors.
2780 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2781 in Java Mode.
2782 (c-recognize-typeless-decls): Set the Java value to t.
2783 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2784 While handling a "(", add a check for, effectively, Java, and handle a
2785 "typeless" declaration there.
2786
2787 2013-09-07 Roland Winkler <winkler@gnu.org>
2788
2789 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2790 field subtitle for entry type book.
2791
2792 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * minibuffer.el: Make minibuffer-complete call completion-in-region
2795 rather than other way around.
2796 (completion--some, completion-pcm--find-all-completions):
2797 Don't delay signals when debugging.
2798 (minibuffer-completion-contents): Beware fields within the
2799 minibuffer contents.
2800 (completion-all-sorted-completions): Use defvar-local.
2801 (completion--do-completion, completion--cache-all-sorted-completions)
2802 (completion-all-sorted-completions, minibuffer-force-complete):
2803 Add args `beg' and `end'.
2804 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2805 (minibuffer-complete): Use completion-in-region.
2806 (completion-complete-and-exit): New fun, extracted from
2807 minibuffer-complete-and-exit.
2808 (minibuffer-complete-and-exit): Use it.
2809 (completion--complete-and-exit): Rename from
2810 minibuffer--complete-and-exit.
2811 (completion-in-region--single-word): New function, extracted from
2812 minibuffer-complete-word.
2813 (minibuffer-complete-word): Use it.
2814 (display-completion-list): Make `common-substring' argument obsolete.
2815 (completion--in-region): Call completion--in-region-1 instead of
2816 minibuffer-complete.
2817 (completion-help-at-point): Pass boundaries to
2818 minibuffer-completion-help as args rather than via an overlay.
2819 (completion-pcm--string->pattern): Use `any-delim'.
2820 (completion-pcm--optimize-pattern): New function.
2821 (completion-pcm--pattern->regex): Handle `any-delim'.
2822 * icomplete.el (icomplete-forward-completions)
2823 (icomplete-backward-completions, icomplete-completions):
2824 Adjust calls to completion-all-sorted-completions and
2825 completion--cache-all-sorted-completions.
2826 (icomplete-with-completion-tables): Default to t.
2827 * emacs-lisp/crm.el (crm--current-element): Rename from
2828 crm--select-current-element. Don't put an overlay but return the
2829 boundaries instead.
2830 (crm--completion-command): Take two new args to bind to the boundaries.
2831 (crm-completion-help): Adjust accordingly.
2832 (crm-complete): Use completion-in-region.
2833 (crm-complete-word): Use completion-in-region--single-word.
2834 (crm-complete-and-exit): Use completion-complete-and-exit.
2835
2836 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2838 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2839 than dynamically.
2840
2841 2013-09-06 Juri Linkov <juri@jurta.org>
2842
2843 * info.el (Info-display-images-node): When image file doesn't exist
2844 display text version of the image if it's provided in the Info file.
2845 Otherwise, display the location of missing image from SRC attribute.
2846 Add help-echo text property from ALT attribute. (Bug#15279)
2847
2848 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2851 (edit-abbrevs-mode): Use define-derived-mode.
2852
2853 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2854 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2855 that it's defined.
2856 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2857 Use define-derived-mode.
2858
2859 * epg.el (epg-start-encrypt): Minor CSE simplification.
2860
2861 2013-09-06 William Xu <william.xwl@gmail.com>
2862
2863 * arc-mode.el: Add support for 7za (bug#15264).
2864 (archive-7z-program): New var.
2865 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2866 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2867 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2868
2869 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2870
2871 Remove URL syntax.
2872
2873 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2874 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2875 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2876 (tramp-postfix-host-format, tramp-file-name-regexp)
2877 (tramp-completion-file-name-regexp)
2878 (tramp-completion-dissect-file-name)
2879 (tramp-handle-substitute-in-file-name): Remove 'url case.
2880 (tramp-file-name-regexp-url)
2881 (tramp-completion-file-name-regexp-url): Remove constants.
2882
2883 2013-09-06 Glenn Morris <rgm@gnu.org>
2884
2885 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2886
2887 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2888
2889 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2890 keywords" below "here-doc beginnings" (Bug#15270).
2891
2892 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * subr.el (pop): Use `car-safe'.
2895 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2896 to detect unused `pop' return value.
2897
2898 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2899 var `block-regexp'.
2900 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2901 (python-fill-string): Remove unused var `marker'.
2902 (python-skeleton-add-menu-items): Remove unused var `items'.
2903
2904 * international/mule-cmds.el: Require CL.
2905 (find-coding-systems-for-charsets): Avoid add-to-list.
2906 (sanitize-coding-system-list): New function, extracted from
2907 select-safe-coding-system-interactively.
2908 (select-safe-coding-system-interactively): Use it.
2909 (read-input-method-name): Accept symbols for `default'.
2910
2911 * emacs-lisp/advice.el (defadvice): Add indent rule.
2912
2913 2013-09-05 Daniel Hackney <dan@haxney.org>
2914
2915 * dired-x.el:
2916 * net/ange-ftp.el:
2917 * net/browse-url.el:
2918 * net/dbus.el:
2919 * net/eudc.el:
2920 * net/eudcb-ldap.el:
2921 * net/eww.el:
2922 * net/imap.el:
2923 * printing.el:
2924 * vc/ediff-diff.el:
2925 * vc/ediff-init.el:
2926 * vc/ediff-merg.el:
2927 * vc/ediff-mult.el:
2928 * vc/ediff-util.el:
2929 * vc/ediff-wind.el:
2930 * vc/ediff.el:
2931 * vc/emerge.el:
2932 * vc/pcvs.el:
2933 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2934 byte compiler. Remove some unused let-bound variables.
2935
2936 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2937
2938 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2939 a "ref-cell", since it gets better optimized (bug#14883).
2940
2941 2013-09-05 Glenn Morris <rgm@gnu.org>
2942
2943 * progmodes/cc-awk.el (c-forward-sws): Declare.
2944
2945 2013-09-04 Glenn Morris <rgm@gnu.org>
2946
2947 * generic-x.el [rul-generic-mode]: Require cc-mode.
2948 (c++-mode-syntax-table): Declare.
2949 (rul-generic-mode-syntax-table): Init in the defvar.
2950
2951 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2954 (vc-do-command, vc-set-async-update):
2955 * vc/vc-mtn.el (vc-mtn-dir-status):
2956 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2957 (vc-hg-pull, vc-hg-merge-branch):
2958 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2959 (vc-git-merge-branch):
2960 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2961 (vc-cvs-dir-status-files):
2962 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2963 (vc-bzr-dir-status-files):
2964 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2965 * vc/vc-annotate.el: Use lexical-binding.
2966 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2967 (vc-sentinel-movepoint): Declare.
2968 (vc-annotate): Don't use `goto-line'.
2969 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2970 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2971 (vc-sentinel-movepoint): Declare.
2972 * vc/vc-svn.el: Use lexical-binding.
2973 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2974 * vc/vc-sccs.el:
2975 * vc/vc-rcs.el: Use lexical-binding.
2976
2977 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2978 `deleted'. Don't drop errors silently.
2979
2980 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2981
2982 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2983
2984 * vc/vc.el (vc-ignore): Rewrite.
2985 (vc-default-ignore): New function.
2986 (vc-default-ignore-completion-table): Use find-ignore-file.
2987
2988 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2989 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2990 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2991 Remove. Most code moved to vc.el.
2992
2993 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2996 * net/tramp-smb.el (tramp-smb-get-file-entries):
2997 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2998 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2999
3000 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3001 Update call to it.
3002 (eww-change-select): Remove unused var `properties'.
3003 (eww-make-unique-file-name): Remove unused var `base'.
3004
3005 * finder.el (finder-compile-keywords): Don't mess with windows.
3006
3007 * calculator.el (calculator-funcall): Fix typo in last change.
3008
3009 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3010
3011 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3012 <pkg>-autoloads.el file stop us.
3013
3014 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3015 warnings, and factor out common code.
3016
3017 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3018
3019 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3020 two-character operators and whether the character preceding them
3021 changes their meaning (Bug#15208).
3022
3023 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3024
3025 Format code sent to Python shell for robustness.
3026 * progmodes/python.el (python-shell-buffer-substring):
3027 New function.
3028 (python-shell-send-region, python-shell-send-buffer): Use it.
3029
3030 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3031
3032 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3033 * net/tramp.el (tramp-user-error): ... here.
3034 (tramp-find-method, tramp-check-proper-host)
3035 (tramp-dissect-file-name, tramp-debug-message)
3036 (tramp-handle-shell-command):
3037 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3038 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3039
3040 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3041
3042 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3043
3044 * avoid.el (mouse-avoidance-point-position)
3045 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3046 returns nil.
3047
3048 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3049
3050 * progmodes/python.el (python-shell-completion-get-completions):
3051 Drop use of deleted `comint-last-prompt-overlay'.
3052 (python-nav-if-name-main): New command.
3053
3054 2013-09-01 Glenn Morris <rgm@gnu.org>
3055
3056 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3057 Avoid leading space in $wins. Otherwise the sed command used by
3058 eg compile-main ends up containing "/*.el". (Bug#15170)
3059
3060 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3061
3062 2013-08-30 Glenn Morris <rgm@gnu.org>
3063
3064 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3065 Fix is-this-a-directory logic. (Bug#15220)
3066
3067 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * textmodes/css-mode.el: Use SMIE.
3070 (css-smie-grammar): New var.
3071 (css-smie--forward-token, css-smie--backward-token)
3072 (css-smie-rules): New functions.
3073 (css-mode): Use them.
3074 (css-navigation-syntax-table): Remove var.
3075 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3076 (css-indent-calculate, css-indent-line): Remove functions.
3077
3078 Misc changes to reduce use of `(lambda...); and other cleanups.
3079 * cus-edit.el: Use lexical-binding.
3080 (customize-push-and-save, customize-apropos)
3081 (custom-buffer-create-internal): Use closures.
3082 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3083 * progmodes/ada-xref.el: Use setq.
3084 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3085 * dframe.el: Use lexical-binding.
3086 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3087 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3088 * descr-text.el: Use lexical-binding.
3089 (describe-text-widget, describe-text-sexp, describe-property-list):
3090 Use closures.
3091 * comint.el (comint-history-isearch-push-state): Use a closure.
3092 * calculator.el: Use lexical-binding.
3093 (calculator-number-to-string): Make it work with lexical-binding.
3094 (calculator-funcall): Same and use cl-letf.
3095
3096 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3097 (lisp--company-doc-string, lisp--company-location): New functions.
3098 (lisp-completion-at-point): Use them to improve Company support.
3099
3100 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3101 params of lambda expressions.
3102 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3103 (ruby-smie--opening-pipe-p): New function.
3104 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3105 symbols and matched |...| for formal params.
3106 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3107 from being treated as hanging. Handle "rescue".
3108
3109 2013-08-29 Glenn Morris <rgm@gnu.org>
3110
3111 * progmodes/cc-engine.el (c-pull-open-brace):
3112 Move definition before use.
3113
3114 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3115
3116 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3117 are immutable. Don't use `unsafe' any more.
3118 (cl--defsubst-expand): Don't substitute at the same time as keeping
3119 a residual unused let-binding. Don't use `unsafe' any more.
3120
3121 2013-08-29 Glenn Morris <rgm@gnu.org>
3122
3123 * calendar/cal-china.el (calendar-chinese-year-cache):
3124 Recenter on 2015.
3125
3126 * nxml/nxml-util.el (nxml-debug-clear-inside):
3127 Use cl-loop rather than loop.
3128
3129 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3130
3131 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3132
3133 2013-08-28 Glenn Morris <rgm@gnu.org>
3134
3135 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3136
3137 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3138
3139 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3140
3141 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * simple.el (repeat-complex-command--called-interactively-skip):
3144 New function.
3145 (repeat-complex-command): Use it (bug#14136).
3146
3147 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3148 (c-define-abbrev-table): Add `doc' argument.
3149 (c-mode-abbrev-table, c++-mode-abbrev-table)
3150 (objc-mode-abbrev-table, java-mode-abbrev-table)
3151 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3152 (awk-mode-abbrev-table): Use it.
3153 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3154 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3155 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3156 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3157 Move initialization into the declaration; and remove any
3158 autoload cookie.
3159
3160 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3161 and dynamic let binding.
3162
3163 * vc/smerge-mode.el: Remove redundant :group args.
3164
3165 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3166 to load-path.
3167
3168 2013-08-28 Juri Linkov <juri@jurta.org>
3169
3170 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3171 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3172 (isearch-other-meta-char): Handle an undefined shifted printing
3173 character by downshifting it. (Bug#15200)
3174
3175 2013-08-28 Juri Linkov <juri@jurta.org>
3176
3177 * isearch.el (isearch-search): Change regexp error message for
3178 non-regexp searches. (Bug#15166)
3179
3180 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3181
3182 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3183 for portability to hosts where /bin/sh has problems.
3184
3185 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3188
3189 2013-08-27 Juri Linkov <juri@jurta.org>
3190
3191 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3192 in the keyboard macro. (Bug#15126)
3193
3194 2013-08-27 Juri Linkov <juri@jurta.org>
3195
3196 * isearch.el (isearch-quote-char): Comment out converting unibyte
3197 to multibyte, thus syncing with its `quoted-insert' counterpart.
3198 (Bug#15166)
3199
3200 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3201
3202 * window.el (display-buffer-use-some-window): Add missing
3203 argument in call of get-largest-window (Bug#15185).
3204 Reported by Stephen Leake.
3205
3206 2013-08-27 Glenn Morris <rgm@gnu.org>
3207
3208 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3209
3210 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3211
3212 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3213 from a matcher-function unless there's no more matches (bug#15161).
3214
3215 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3216
3217 * minibuffer.el: Revert change from 2013-08-20.
3218
3219 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3220 with text property `tramp-default', if appropriate.
3221 (tramp-check-proper-host): New defun.
3222 (tramp-dissect-file-name): Do not check hostname. Revert change
3223 of 2013-03-18.
3224 (tramp-backtrace): Make VEC-OR-PROC optional.
3225
3226 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3227 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3228 * net/tramp-sh.el (tramp-maybe-open-connection):
3229 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3230 Apply `tramp-check-proper-host'.
3231
3232 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3233
3234 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3235 lambda expression in order to have `describe-variable' display it.
3236
3237 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3238
3239 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3240 BUF can be optional. (Bug#15186)
3241
3242 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3243
3244 * progmodes/flymake.el (flymake-get-real-file-name-function):
3245 Fix broken customization. (Bug#15184)
3246
3247 2013-08-25 Alan Mackenzie <acm@muc.de>
3248
3249 Improve indentation of bracelists defined by macros (without "=").
3250
3251 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3252 expansion begins with "{", regard it as bracelist when it doesn't
3253 contain a ";".
3254
3255 Parse C++ inher-intro when there's a template split over 2 lines.
3256
3257 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3258 rigorously the search for "class" etc. followed by ":".
3259
3260 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3261 random languages a regexp which never matches rather than nil.
3262
3263 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3264
3265 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3266 (c-awk-regexp-one-line-possibly-open-char-list-re)
3267 (c-awk-one-line-possibly-open-regexp-re)
3268 (c-awk-one-line-non-syn-ws*-re): Remove.
3269 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3270 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3271 (c-awk-space*-unclosed-regexp-/-re): New constants.
3272 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3273 aren't regexp delimiters.
3274
3275 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3276 handling for a rare situation in AWK Mode involving unterminated
3277 strings/regexps.
3278
3279 2013-08-23 Glenn Morris <rgm@gnu.org>
3280
3281 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3282
3283 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3284
3285 * files.el (create-file-buffer): If the result would begin with
3286 spaces, prepend a "|" instead of removing them. (Bug#15162)
3287
3288 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3291 text-properties (bug#15155).
3292
3293 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3294 exist any more.
3295 (calc-keypad-redraw): Remove unused var `pad'.
3296 (calc-keypad-press): Remove unused var `menu'.
3297
3298 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3299
3300 * window.el (display-buffer-pop-up-frame):
3301 Call pop-up-frame-function with BUFFER current so `make-frame' will
3302 use it as the new frame's buffer (Bug#15133).
3303
3304 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * calendar/timeclock.el: Minor cleanups.
3307 (timeclock-ask-before-exiting, timeclock-use-display-time):
3308 Use `symbol'.
3309 (timeclock-modeline-display): Define as alias before the
3310 actual definition.
3311 (timeclock-mode-line-display): Use define-minor-mode.
3312 (timeclock-day-list-template): Make it a function, add an argument.
3313 (timeclock-day-list-required, timeclock-day-list-length)
3314 (timeclock-day-list-debt, timeclock-day-list-span)
3315 (timeclock-day-list-break): Adjust calls accordingly.
3316
3317 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3320 Use read--expression so that completion works again.
3321
3322 2013-08-21 Sam Steingold <sds@gnu.org>
3323
3324 Add rudimentary inferior shell interaction
3325 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3326 (sh-set-shell): Reset it.
3327 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3328 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3329
3330 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * align.el: Use lexical-binding.
3333 (align-region): Simplify accordingly.
3334
3335 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3338
3339 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3340 `non-essential' up.
3341
3342 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3343
3344 * net/tramp.el:
3345 * net/tramp-adb.el:
3346 * net/tramp-cmds.el:
3347 * net/tramp-ftp.el:
3348 * net/tramp-gvfs.el:
3349 * net/tramp-gw.el:
3350 * net/tramp-sh.el: Don't wrap external variable declarations by
3351 `eval-when-compile'.
3352
3353 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3354
3355 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3356 now that Emacs supports ImageMagick animations.
3357
3358 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3359
3360 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3361 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3362
3363 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3364
3365 * window.el (mouse-autoselect-window-select): Do autoselect when
3366 mouse pointer is on margin.
3367
3368 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3369
3370 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3371
3372 2013-08-16 Glenn Morris <rgm@gnu.org>
3373
3374 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3375 Handle "Remote Directory" response of some clients. (Bug#15058)
3376
3377 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3378 Tweak warning. (Bug#14926)
3379
3380 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3381 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3382
3383 * image-mode.el (image-mode-map): Add menu items to reverse,
3384 increase, decrease, reset animation speed.
3385 (image--set-speed, image-increase-speed, image-decrease-speed)
3386 (image-reverse-speed, image-reset-speed): New functions.
3387 (image-mode-map): Add bindings for speed commands.
3388
3389 * image.el (image-animate-get-speed, image-animate-set-speed):
3390 New functions.
3391 (image-animate-timeout): Respect image :speed property.
3392
3393 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3396 previous line (bug#15101).
3397 (debugger-eval-expression, debugger-record-expression):
3398 Use read--expression (bug#15102).
3399
3400 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3401
3402 Remove byte compiler warnings, visible when compiling with
3403 `byte-compile-force-lexical-warnings' set to t.
3404
3405 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3406 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3407 (tramp-handle-unhandled-file-name-directory)
3408 (tramp-handle-file-notify-add-watch, tramp-action-login)
3409 (tramp-action-succeed, tramp-action-permission-denied)
3410 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3411 arguments with "_".
3412
3413 * net/tramp-adb.el (tramp-adb-parse-device-names)
3414 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3415 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3416 (tramp-adb-handle-file-truename): Remove unused arguments.
3417
3418 * net/tramp-cache.el (tramp-flush-directory-property)
3419 (tramp-flush-connection-property, tramp-list-connections)
3420 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3421
3422 * net/tramp-compat.el (tramp-compat-make-temp-file):
3423 Rename FILENAME to F.
3424
3425 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3426 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3427 (tramp-zeroconf-parse-workstation-device-names)
3428 (tramp-zeroconf-parse-webdav-device-names)
3429 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3430
3431 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3432 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3433
3434 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3435 arguments.
3436 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3437 (tramp-sh-handle-insert-file-contents-literally)
3438 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3439 with "_".
3440 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3441 Remove unused variables.
3442
3443 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3444 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3445 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3446
3447 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3448 Make them a defconst.
3449 (tramp-uuencode-region): Remove unused variable.
3450
3451 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3452
3453 * frameset.el (frameset--prop-setter): New function.
3454 (frameset-prop): Add gv-setter declaration.
3455 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3456 parameter was already set in FILTERED. Doc fix.
3457 (frameset--record-minibuffer-relationships): Allow saving a
3458 minibufferless frame without its corresponding minibuffer frame.
3459 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3460 frame, if the frame id matches.
3461 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3462 frames before orphaned ones.
3463 (frameset-restore): Warn about orphaned windows, instead of error out.
3464
3465 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3466
3467 * window.el (window-make-atom): Don't overwrite parameter
3468 already present.
3469 (display-buffer-in-atom-window): Handle special case where we
3470 split an already atomic window.
3471 (window--major-non-side-window, display-buffer-in-side-window)
3472 (window--side-check): Ignore minibuffer window when walking
3473 window tree.
3474 (window-deletable-p): Return 'frame only if no other frame uses
3475 our minibuffer window.
3476 (record-window-buffer): Run buffer-list-update-hook.
3477 (split-window): Make sure window--check-frame won't destroy an
3478 existing atomic window in case the new window gets nested
3479 inside.
3480 (display-buffer-at-bottom): Ignore minibuffer window when
3481 walking window tree. Don't split a side window.
3482 (pop-to-buffer): Don't set-buffer here, the select-window call
3483 should do that.
3484 (mouse-autoselect-window-select): Autoselect only if we are in the
3485 text portion of the window.
3486
3487 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3488
3489 * net/shr.el (shr-parse-image-data): New function to grab both the
3490 data itself and the Content-Type.
3491 (shr-put-image): Use it.
3492
3493 * net/eww.el (eww-display-image): Ditto.
3494
3495 * image.el (image-content-type-suffixes): New variable.
3496
3497 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3498
3499 * progmodes/python.el (python-imenu--build-tree)
3500 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3501
3502 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3503
3504 * simple.el (backward-word): Mention the optional argument.
3505
3506 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * frameset.el (frameset--make): Rename constructor from make-frameset.
3509 (frameset-p, frameset-valid-p): Don't autoload.
3510 (frameset-valid-p): Use normal accessors.
3511
3512 2013-08-13 Glenn Morris <rgm@gnu.org>
3513
3514 * progmodes/compile.el (compile-command): Tweak example in doc.
3515 * obsolete/scribe.el (scribe-mode):
3516 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3517
3518 * mail/feedmail.el (feedmail-confirm-outgoing)
3519 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3520
3521 * cus-start.el (truncate-partial-width-windows): Fix type.
3522
3523 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3524
3525 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3526
3527 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * emacs-lisp/timer.el (timer--time-setter): New function.
3530 (timer--time): Use it as gv-setter.
3531
3532 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3533 setter is not a symbol.
3534
3535 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3536
3537 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3538 if sending fails. This makes debugging easier.
3539
3540 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3541
3542 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3543 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3544 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3545
3546 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3547
3548 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3549
3550 2013-08-12 Glenn Morris <rgm@gnu.org>
3551
3552 * format.el (format-annotate-function):
3553 Handle read-only text properties in the source. (Bug#14887)
3554
3555 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3556
3557 * net/eww.el (eww-display-html): Ignore coding system errors.
3558 One web site uses "utf-8lias" as the coding system.
3559
3560 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3561
3562 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3563
3564 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3565
3566 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3567 (tutorial--detailed-help): Remove unused local variables.
3568 (tutorial--save-tutorial-to): Use ignore-errors.
3569 (help-with-tutorial): Use looking-at-p.
3570
3571 * view.el (view-buffer-other-window, view-buffer-other-frame):
3572 Mark unused arguments.
3573
3574 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3575 (woman-select-symbol-fonts, woman, woman-find-file)
3576 (woman-insert-file-contents, woman-non-underline-faces):
3577 Use string-match-p.
3578 (woman1-unquote): Move declaration.
3579
3580 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3581 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3582 argument. Remove unused local variable.
3583 (xml-parse-elem-type): Use string-match-p.
3584 (xml-substitute-numeric-entities): Use ignore-errors.
3585
3586 * calculator.el (calculator): Mark unused argument.
3587 (calculator-paste, calculator-quit, calculator-integer-p):
3588 Use ignore-errors.
3589 (calculator-string-to-number, calculator-decimal, calculator-exp)
3590 (calculator-op-or-exp): Use string-match-p.
3591
3592 * dired.el (dired-buffer-more-recently-used-p): Declare.
3593 (dired-insert-set-properties, dired-insert-old-subdirs):
3594 Use ignore-errors.
3595
3596 * dired-aux.el (dired-compress): Use ignore-errors.
3597 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3598 (dired-do-async-shell-command, dired-do-shell-command)
3599 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3600 (dired-insert-subdir-validate): Use string-match-p.
3601 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3602 (dired-add-entry): Use string-match-p, looking-at-p.
3603 (dired-insert-subdir-newpos): Remove unused local variable.
3604
3605 * filenotify.el (file-notify-callback): Remove unused local variable.
3606
3607 * filesets.el (filesets-error): Mark unused argument.
3608 (filesets-which-command-p, filesets-filter-dir-names)
3609 (filesets-directory-files, filesets-get-external-viewer)
3610 (filesets-ingroup-get-data): Use string-match-p.
3611
3612 * find-file.el (ff-other-file-name, ff-other-file-name)
3613 (ff-find-the-other-file, ff-cc-hh-converter):
3614 Remove unused local variables.
3615 (ff-get-file-name): Use string-match-p.
3616 (ff-all-dirs-under): Use ignore-errors.
3617
3618 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3619 (follow-select-if-visible): Remove unused local variable.
3620
3621 * forms.el (read-file-filter): Move declaration.
3622 (forms--make-format, forms--make-parser, forms-insert-record):
3623 Quote function with #'.
3624 (forms--update): Use string-match-p. Quote function with #'.
3625
3626 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3627 (help-make-xrefs): Use looking-at-p.
3628 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3629
3630 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3631 (ibuffer-confirm-operation-on): Use string-match-p.
3632
3633 * msb.el (msb-item-handler, msb-dired-item-handler):
3634 Mark unused arguments.
3635
3636 * ses.el (ses-decode-cell-symbol)
3637 (ses-kill-override): Remove unused local variable.
3638 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3639 (ses-load): Use ignore-errors, looking-at-p.
3640 (ses-jump-safe): Use ignore-errors.
3641 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3642
3643 * tabify.el (untabify, tabify): Mark unused arguments.
3644
3645 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3646 Mark unused argument.
3647 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3648 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3649
3650 * emacs-lisp/timer.el (timer--time): Define setter with
3651 gv-define-setter to avoid deprecation warning.
3652
3653 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3654 (*record-cmpl-statistics-p*): Remove (was commented out).
3655 (cmpl-statistics-block): Remove (body was commented out).
3656 All callers changed.
3657 (add-completions-from-buffer, load-completions-from-file):
3658 Remove unused variables.
3659
3660 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3661
3662 * filecache.el (file-cache-delete-file-list):
3663 Print message only when told so.
3664 (file-cache-files-matching): Use #' in mapconcat argument.
3665
3666 * ffap.el (ffap-url-at-point): Fix reference to variable
3667 thing-at-point-default-mail-uri-scheme.
3668
3669 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * subr.el (define-error): New function.
3672 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3673 error-file-not-found and define with define-error.
3674 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3675 and define with define-error.
3676 * userlock.el (file-locked, file-supersession):
3677 * simple.el (mark-inactive):
3678 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3679 * progmodes/ada-mode.el (ada-mode-errors):
3680 * play/life.el (life-extinct):
3681 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3682 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3683 * nxml/rng-util.el (rng-error):
3684 * nxml/rng-uri.el (rng-uri-error):
3685 * nxml/rng-match.el (rng-compile-error):
3686 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3687 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3688 * nxml/nxml-rap.el (nxml-scan-error):
3689 * nxml/nxml-outln.el (nxml-outline-error):
3690 * net/soap-client.el (soap-error):
3691 * net/gnutls.el (gnutls-error):
3692 * net/ange-ftp.el (ftp-error):
3693 * mpc.el (mpc-proc-error):
3694 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3695 (json-number-format, json-string-escape, json-string-format)
3696 (json-key-format, json-object-format):
3697 * jka-compr.el (compression-error):
3698 * international/quail.el (quail-error):
3699 * international/kkc.el (kkc-error):
3700 * emacs-lisp/ert.el (ert-test-failed):
3701 * calc/calc.el (calc-error, inexact-result, math-overflow)
3702 (math-underflow):
3703 * bookmark.el (bookmark-error-no-filename):
3704 * epg.el (epg-error): Define with define-error.
3705
3706 * time.el (display-time-event-handler)
3707 (display-time-next-load-average): Don't call sit-for since it seems
3708 unnecessary (bug#15045).
3709
3710 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3711 Use #' instead of ' to quote functions.
3712 (checkdoc-output-mode): Use setq-local.
3713 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3714 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3715 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3716 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3717 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3718 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3719 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3720 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3721
3722 * ido.el (ido-completion-help): Fix up compiler warning.
3723
3724 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3725
3726 * frameset.el (frameset-p): Add autoload cookie.
3727 (frameset--jump-to-register): New function, based on code moved from
3728 register.el.
3729 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3730
3731 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3732 (frameset-restore, frameset-save, frameset-session-filter-alist):
3733 Remove declarations.
3734 (register-alist): Doc fix.
3735 (frameset-to-register): Move to frameset.el.
3736 (jump-to-register, describe-register-1): Remove frameset-specific code.
3737
3738 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3739
3740 * allout-widgets.el (allout-widgets-pre-command-business)
3741 (allout-widgets-post-command-business)
3742 (allout-widgets-after-change-handler)
3743 (allout-decorate-item-and-context, allout-set-boundary-marker)
3744 (allout-body-modification-handler)
3745 (allout-graphics-modification-handler): Mark ignored arguments.
3746 (allout-widgets-post-command-business)
3747 (allout-widgets-exposure-change-processor)
3748 (allout-widgets-exposure-undo-processor)
3749 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3750 (allout-parse-item-at-point, allout-decorate-item-guides)
3751 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3752 * allout.el (epa-passphrase-callback-function): Declare.
3753 (allout-overlay-insert-in-front-handler)
3754 (allout-overlay-interior-modification-handler)
3755 (allout-isearch-end-handler, allout-chart-siblings)
3756 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3757 (allout-yank-processing, allout-process-exposed)
3758 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3759 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3760 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3761 (lisp-indent-defform): Mark ignored arguments.
3762 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3763 (calculate-lisp-indent): Remove unused variables.
3764 * international/characters.el (indian-2-column, arabic-2-column)
3765 (tibetan): Mark ignored arguments.
3766 (use-cjk-char-width-table): Mark ignored arguments.
3767 Remove unused variables.
3768 * international/fontset.el (build-default-fontset-data)
3769 (x-compose-font-name, create-fontset-from-fontset-spec):
3770 Mark ignored arguments.
3771 (fontset-plain-name): Remove unused variables.
3772 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3773 (keyboard-coding-system): Mark ignored arguments.
3774 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3775 * help.el (resize-temp-buffer-window):
3776 * window.el (display-buffer-in-major-side-window)
3777 (display-buffer-in-side-window, display-buffer-in-previous-window):
3778 Remove unused variables.
3779 * isearch.el (isearch-forward-symbol):
3780 * version.el (emacs-bzr-version-bzr):
3781 * international/mule-cmds.el (current-language-environment):
3782 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3783 (x-handle-display):
3784 * term/pc-win.el (x-list-fonts, x-display-planes)
3785 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3786 (x-server-version, x-display-screens, x-display-mm-height)
3787 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3788 (x-selection-owner-p, x-own-selection-internal)
3789 (x-disown-selection-internal, x-get-selection-internal)
3790 (msdos-initialize-window-system):
3791 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3792 * term/x-win.el (x-handle-no-bitmap-icon):
3793 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3794 (vc-default-find-file-hook, vc-default-extra-menu):
3795 Mark ignored arguments.
3796
3797 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3800 break-condition in the context of the debugged code (bug#12685).
3801
3802 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3803
3804 * comint.el:
3805 Do not use an overlay to highlight the last prompt. (Bug#14744)
3806 (comint-mode): Make comint-last-prompt buffer local.
3807 (comint-last-prompt): New variable.
3808 (comint-last-prompt-overlay): Remove. Superseded by
3809 comint-last-prompt.
3810 (comint-snapshot-last-prompt, comint-output-filter):
3811 Use comint-last-prompt.
3812
3813 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3814
3815 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3816 (frameset-save): Check validity of the resulting frameset.
3817
3818 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3819
3820 * ido.el (ido-record-command): Add doc string.
3821
3822 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3823
3824 * frameset.el (frameset): Do not disable creation of the default
3825 frameset-p predicate. Doc fix.
3826 (frameset-valid-p): New function, copied from the old predicate-p.
3827 Add additional checks.
3828 (frameset-restore): Check with frameset-valid-p.
3829 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3830 (frameset-name, frameset-description, frameset-properties)
3831 (frameset-states): Add docstring.
3832 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3833 (frameset-filter-alist): Doc fixes.
3834
3835 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3836
3837 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3838
3839 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3842 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3843 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3844 (byte-compile-normal-call): Remove obsolescence check.
3845
3846 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3847
3848 * frameset.el (frameset-restore): Doc fix.
3849
3850 * register.el (frameset-frame-id, frameset-frame-with-id)
3851 (frameset-p, frameset-restore, frameset-save): Declare.
3852 (register-alist): Document framesets.
3853 (frameset-session-filter-alist): Declare.
3854 (frameset-to-register): New function.
3855 (jump-to-register): Implement jumping to framesets. Doc fix.
3856 (describe-register-1): Describe framesets.
3857
3858 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3859
3860 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3861
3862 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3863 Use lexical-binding.
3864
3865 * frameset.el (frameset): Use type vector, not list (incompatible
3866 change). Do not declare a new constructor, use the default one.
3867 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3868 `name' and `description', respectively, and add read-only slot
3869 `timestamp'. Doc fixes.
3870 (frameset-copy, frameset-persistent-filter-alist)
3871 (frameset-filter-alist, frameset-switch-to-gui-p)
3872 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3873 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3874 (frameset-filter-iconified, frameset-keep-original-display-p):
3875 Doc fixes.
3876 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3877 Rename from frameset-filter-(save|restore)-param. All callers changed.
3878 Doc fix.
3879 (frameset-p): Adapt to change to vector and be more thorough.
3880 Change arg name to OBJECT. Doc fix.
3881 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3882 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3883 All callers changed.
3884 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3885 All callers changed.
3886 (frameset--record-minibuffer-relationships): Rename from
3887 frameset--process-minibuffer-frames. All callers changed.
3888 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3889 Use new default constructor (again). Doc fix.
3890 (frameset--find-frame-if): Rename from `frameset--find-frame.
3891 All callers changed.
3892 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3893 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3894 Doc fix.
3895 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3896 PARAMETERS and WINDOW-STATE, respectively.
3897 (frameset-restore): Add new keyword argument PREDICATE.
3898 Reset frameset--target-display to nil. Doc fix.
3899
3900 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3903 (bat-mode): Use it.
3904 (bat-mode-syntax-table): Mark \n as end-of-comment.
3905 (bat-font-lock-keywords): Remove comment rule.
3906
3907 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3908 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3909
3910 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3911 (byte-compile-callargs-warn): Use `push'.
3912 (byte-compile-arglist-warn): Ignore higher-order "calls".
3913 (byte-compile-file-form-autoload): Use `pcase'.
3914 (byte-compile-function-form): If quoting a symbol, check that it exists.
3915
3916 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3917
3918 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3919 and add a few popular commands found in batch files.
3920 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3921 (dos-mode): Doc fixes.
3922
3923 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3926 (dos-mode): Use setq-local. Add space after "rem".
3927 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3928 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3929
3930 2013-08-07 Arni Magnusson <arnima@hafro.is>
3931
3932 * progmodes/dos.el: New file.
3933 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3934 dos-mode.
3935
3936 2013-08-06 Glenn Morris <rgm@gnu.org>
3937
3938 * calendar/calendar.el: Add new faces, and day-header-array.
3939 (calendar-weekday-header, calendar-weekend-header)
3940 (calendar-month-header): New faces.
3941 (calendar-day-header-construct): New function.
3942 (calendar-day-header-width): Also :set calendar-day-header-array.
3943 (calendar-american-month-header, calendar-european-month-header)
3944 (calendar-iso-month-header): Use calendar- faces.
3945 (calendar-generate-month):
3946 Use calendar-day-header-array for day headers; apply faces to them.
3947 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3948 (calendar-abbrev-construct): Add optional maxlen argument.
3949 (calendar-day-name-array): Doc fix.
3950 (calendar-day-name-array, calendar-abbrev-length)
3951 (calendar-day-abbrev-array):
3952 Also :set calendar-day-header-array, and maybe redraw.
3953 (calendar-day-header-array): New option. (Bug#15007)
3954 (calendar-font-lock-keywords): Set to nil and make obsolete.
3955 (calendar-day-name): Add option to use header array.
3956
3957 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3958
3959 * net/shr.el (shr-render-td): Remove debugging.
3960 (shr-render-td): Make width computation consistent by defaulting
3961 all zero-width columns to 10 characters. This may not be optimal,
3962 but it's at least consistent.
3963 (shr-make-table-1): Redo last change to fix the real problem in
3964 colspan handling.
3965
3966 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3967
3968 * files.el (cache-long-line-scans):
3969 Make obsolete alias to `cache-long-scans'.
3970
3971 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3972
3973 * frameset.el (frameset, frameset-filter-alist)
3974 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3975 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3976 (frameset-compute-pos): Rename from frameset--compute-pos,
3977 and add docstring.
3978 (frameset-move-onscreen): Use frameset-compute-pos.
3979 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3980
3981 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3982 Fix typos in docstrings.
3983
3984 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3985
3986 * frame.el (get-other-frame): Tiny cleanup.
3987
3988 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3989
3990 * vc/vc.el (vc-default-ignore-completion-table):
3991 Silence byte-compiler warning.
3992
3993 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3994 slot , which can indeed be nil.
3995 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3996 Move entry for `left' from persistent to live filter alist.
3997 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3998 Doc fixes.
3999 (frameset-filter-params): When restoring a frame, copy items added to
4000 `filtered', to avoid unwittingly modifying the original parameters.
4001 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4002 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4003
4004 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4005 to use looking-at-p instead of looking-at. (Bug#15028)
4006
4007 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 Revert introduction of isearch-filter-predicates (bug#14714).
4010 Rely on add-function instead.
4011 * isearch.el (isearch-filter-predicates): Rename it back to
4012 isearch-filter-predicate.
4013 (isearch-message-prefix): Use advice-function-mapc and advice
4014 properties to get the isearch-message-prefix.
4015 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4016 instead of run-hook-with-args-until-failure.
4017 (isearch-filter-visible): Not obsolete any more.
4018 * loadup.el: Preload nadvice.
4019 * replace.el (perform-replace): Revert to funcall
4020 instead of run-hook-with-args-until-failure.
4021 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4022 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4023 dired-isearch-filenames-toggle; make it into a proper minor mode.
4024 Use add/remove-function.
4025 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4026 Call the minor-mode rather than add/remove-hook.
4027 (dired-isearch-filter-filenames):
4028 Remove isearch-message-prefix property.
4029 * info.el (Info--search-loop): New function, extracted from Info-search.
4030 Funcall isearch-filter-predicate instead of
4031 run-hook-with-args-until-failure isearch-filter-predicates.
4032 (Info-search): Use it.
4033 (Info-mode): Use isearch-filter-predicate instead of
4034 isearch-filter-predicates.
4035
4036 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4037
4038 Do not call to `selected-window' where it is assumed by default.
4039 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4040 `window-hscroll', `window-width', `window-height', `window-buffer',
4041 `window-frame', `window-start', `window-point', `next-window'
4042 and `window-display-table'.
4043 * abbrev.el (abbrev--default-expand):
4044 * bs.el (bs--show-with-configuration):
4045 * buff-menu.el (Buffer-menu-mouse-select):
4046 * calc/calc.el (calc):
4047 * calendar/calendar.el (calendar-generate-window):
4048 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4049 (diary-make-entry):
4050 * comint.el (send-invisible, comint-dynamic-complete-filename)
4051 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4052 * completion.el (complete):
4053 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4054 * disp-table.el (describe-current-display-table):
4055 * doc-view.el (doc-view-insert-image):
4056 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4057 * ehelp.el (with-electric-help):
4058 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4059 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4060 * emacs-lisp/helper.el (Helper-help-scroller):
4061 * emulation/cua-base.el (cua--post-command-handler-1):
4062 * eshell/esh-mode.el (eshell-output-filter):
4063 * ffap.el (ffap-gnus-wrapper):
4064 * help-macro.el (make-help-screen):
4065 * hilit-chg.el (highlight-compare-buffers):
4066 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4067 * hl-line.el (global-hl-line-highlight):
4068 * icomplete.el (icomplete-simple-completing-p):
4069 * isearch.el (isearch-done):
4070 * jit-lock.el (jit-lock-stealth-fontify):
4071 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4072 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4073 * mpc.el (mpc-tagbrowser, mpc):
4074 * net/rcirc.el (rcirc-any-buffer):
4075 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4076 * play/landmark.el (landmark-max-width, landmark-max-height):
4077 * play/zone.el (zone):
4078 * progmodes/compile.el (compilation-goto-locus):
4079 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4080 * progmodes/etags.el (find-tag-other-window):
4081 * progmodes/fortran.el (fortran-column-ruler):
4082 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4083 * progmodes/verilog-mode.el (verilog-point-text):
4084 * reposition.el (reposition-window):
4085 * rot13.el (toggle-rot13-mode):
4086 * server.el (server-switch-buffer):
4087 * shell.el (shell-dynamic-complete-command)
4088 (shell-dynamic-complete-environment-variable):
4089 * simple.el (insert-buffer, set-selective-display)
4090 (delete-completion-window):
4091 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4092 (speedbar-recenter):
4093 * startup.el (fancy-splash-head):
4094 * textmodes/ispell.el (ispell-command-loop):
4095 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4096 * tutorial.el (help-with-tutorial):
4097 * vc/add-log.el (add-change-log-entry):
4098 * vc/compare-w.el (compare-windows):
4099 * vc/ediff-help.el (ediff-indent-help-message):
4100 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4101 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4102 (ediff-setup-control-frame):
4103 * vc/emerge.el (emerge-position-region):
4104 * vc/pcvs-util.el (cvs-bury-buffer):
4105 * window.el (walk-windows, mouse-autoselect-window-select):
4106 * winner.el (winner-set-conf, winner-undo): Related users changed.
4107
4108 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4109
4110 * frameset.el (frameset--set-id): Doc fix.
4111 (frameset-frame-id, frameset-frame-id-equal-p)
4112 (frameset-locate-frame-id): New functions.
4113 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4114 (frameset-restore): Use them.
4115
4116 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4117
4118 Do not call to `selected-frame' where it is assumed by default.
4119 Affected functions are `raise-frame', `redraw-frame',
4120 `frame-first-window', `frame-terminal' and `delete-frame'.
4121 * calendar/appt.el (appt-disp-window):
4122 * epg.el (epg-wait-for-completion):
4123 * follow.el (follow-delete-other-windows-and-split)
4124 (follow-avoid-tail-recenter):
4125 * international/mule.el (set-terminal-coding-system):
4126 * mail/rmail.el (rmail-mail-return):
4127 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4128 * progmodes/f90.el (f90-add-imenu-menu):
4129 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4130 * server.el (server-switch-buffer):
4131 * simple.el (delete-completion-window):
4132 * talk.el (talk):
4133 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4134 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4135 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4136 * vc/ediff.el (ediff-documentation): Related users changed.
4137 * frame.el (selected-terminal): Remove the leftover.
4138
4139 2013-08-05 Glenn Morris <rgm@gnu.org>
4140
4141 * calendar/calendar.el (calendar-generate-month):
4142 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4143 (calendar-generate-month, calendar-font-lock-keywords):
4144 Fix for calendar-day-header-width > length of any day name.
4145
4146 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4147
4148 * desktop.el (desktop-clear): Use new name of sort predicate.
4149
4150 * frameset.el (frameset): Add docstring. Move :version property to its
4151 own `version' slot.
4152 (frameset-copy): Rename from copy-frameset.
4153 (frameset-p): Check more thoroughly.
4154 (frameset-prop): Do not check for :version, which is no longer a prop.
4155 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4156 Use new :never value instead of t.
4157 (frameset-filter-alist): Expand and clarify docstring.
4158 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4159 (frameset-filter-minibuffer, frameset-filter-save-param)
4160 (frameset-filter-restore-param, frameset-filter-iconified):
4161 Add pointer to docstring of frameset-filter-alist.
4162 (frameset-filter-params): Rename filter values to be more meaningful:
4163 :never instead of t, and reverse the meanings of :save and :restore.
4164 (frameset--process-minibuffer-frames): Clarify error message.
4165 (frameset-save): Avoid unnecessary and confusing call to framep.
4166 Use new BOA constructor for framesets.
4167 (frameset--reuse-list): Doc fix.
4168 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4169 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4170 (frameset-minibufferless-first-p): Doc fix.
4171 Rename from frameset-sort-frames-for-deletion.
4172 (frameset-restore): Doc fixes. Use new function names.
4173 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4174
4175 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4176
4177 * desktop.el (desktop-restore-forces-onscreen)
4178 (desktop-restore-reuses-frames): Document :keyword constant values.
4179 (desktop-filter-parameters-alist): Remove, now identical to
4180 frameset-filter-alist.
4181 (desktop--filter-tty*): Remove, moved to frameset.el.
4182 (desktop-save-frameset, desktop-restore-frameset):
4183 Do not pass :filters argument.
4184
4185 * frameset.el (frameset-live-filter-alist)
4186 (frameset-persistent-filter-alist): New variables.
4187 (frameset-filter-alist): Use them. Add autoload cookie.
4188 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4189 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4190 `frameset--id' (it's supposed to be internal to frameset.el).
4191 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4192 (frameset--initial-params): New function.
4193 (frameset--get-frame): Use it. Doc fix.
4194 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4195 Accept :all, not 'all.
4196 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4197 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4198 with fbound symbols. Fix frame id matching, and remove matching ids if
4199 the frame being restored is deleted. Obey :delete.
4200
4201 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * subr.el (macrop): New function.
4204 (text-clone--maintaining): New var.
4205 (text-clone--maintain): Rename from text-clone-maintain. Use it
4206 instead of inhibit-modification-hooks.
4207
4208 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4209 a proxy, so as handle autoloads and redefinitions of the target.
4210 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4211
4212 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4213 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4214 (pcase--mutually-exclusive-p): New function.
4215 (pcase--split-consp): Use it.
4216 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4217 mutually exclusive with the current predicate.
4218
4219 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4220 (edebug-macrop): Remove. Use `macrop' instead.
4221 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4222 (ad-macro-p):
4223 * eshell/esh-cmd.el (eshell-macrop):
4224 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4225
4226 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4229 (advice-mapc): New function, using it.
4230 (advice-function-member-p): New function.
4231 (advice--normalize): Store the cdr in advice--saved-rewrite since
4232 that's the part that will be changed.
4233 (advice--symbol-function): New function.
4234 (advice-remove): Handle removal before the function is defined.
4235 Adjust to new advice--saved-rewrite.
4236 (advice-member-p): Use advice-function-member-p and
4237 advice--symbol-function.
4238
4239 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4240
4241 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4242 (frameset-filter-minibuffer): Doc fix.
4243 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4244 (frameset--set-id, frameset--process-minibuffer-frames)
4245 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4246 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4247
4248 * desktop.el (desktop-clear): Only delete frames when called
4249 interactively and desktop-restore-frames is non-nil. Doc fix.
4250 (desktop-read): Set desktop-saved-frameset to nil.
4251
4252 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4253
4254 * vc/vc.el (vc-ignore): Rewrite.
4255 (vc-default-ignore-completion-table):
4256 (vc--read-lines):
4257 (vc--add-line, vc--remove-regexp): New functions.
4258
4259 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4260 (vc-svn-ignore-completion-table): New function.
4261
4262 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4263 (vc-hg-ignore-completion-table):
4264 (vc-hg-find-ignore-file): New functions.
4265
4266 * vc/vc-git.el (vc-git-ignore): Rewrite.
4267 (vc-git-ignore-completion-table):
4268 (vc-git-find-ignore-file): New functions.
4269
4270 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4271
4272 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4273 (vc-bzr-ignore-completion-table):
4274 (vc-bzr-find-ignore-file): New functions.
4275
4276 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4277
4278 * frameset.el (frameset-prop): New function and setter.
4279 (frameset-save): Do not modify frame list passed by the caller.
4280
4281 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4284
4285 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4288 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4289
4290 * custom.el (custom-initialize-default, custom-initialize-set)
4291 (custom-initialize-reset, custom-initialize-changed): Affect the
4292 toplevel-default-value (bug#6275, bug#14586).
4293 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4294 for bug#6275.
4295
4296 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4297
4298 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4299 Add cl-def* expressions.
4300
4301 * frameset.el (frameset-filter-params): Fix order of arguments.
4302
4303 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4304
4305 Move code related to saving frames to frameset.el.
4306 * desktop.el: Require frameset.
4307 (desktop-restore-frames): Doc fix.
4308 (desktop-restore-reuses-frames): Rename from
4309 desktop-restoring-reuses-frames.
4310 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4311 (desktop-clear): Clear frames too.
4312 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4313 (desktop--filter-tty*, desktop-save, desktop-read):
4314 Use frameset functions.
4315 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4316 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4317 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4318 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4319 (desktop--process-minibuffer-frames, desktop-save-frames)
4320 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4321 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4322 (desktop--sort-states, desktop-restoring-frames-p)
4323 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4324 (desktop-restoring-frameset-p, desktop-restore-frameset)
4325 (desktop--check-dont-save, desktop-save-frameset): New functions.
4326 (desktop--app-id): New constant.
4327 (desktop-first-buffer, desktop-buffer-ok-count)
4328 (desktop-buffer-fail-count): Move before first use.
4329 * frameset.el: New file.
4330
4331 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4332
4333 * files.el: Use lexical-binding.
4334 (dir-locals-read-from-file): Remove unused `err' variable.
4335 (hack-dir-local-variables--warned-coding): New var.
4336 (hack-dir-local-variables): Use it to avoid repeated warnings.
4337 (make-backup-file-name--default-function): New function.
4338 (make-backup-file-name-function): Use it as default.
4339 (buffer-stale--default-function): New function.
4340 (buffer-stale-function): Use it as default.
4341 (revert-buffer-insert-file-contents--default-function): New function.
4342 (revert-buffer-insert-file-contents-function): Use it as default.
4343 (insert-directory): Avoid add-to-list.
4344
4345 * autorevert.el (auto-revert-handler): Simplify.
4346 Use buffer-stale--default-function.
4347
4348 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4349
4350 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4351
4352 * whitespace.el (whitespace-ensure-local-variables): New function.
4353 (whitespace-cleanup-region): Call it.
4354 (whitespace-turn-on): Call it.
4355
4356 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4357
4358 Complete file name handlers.
4359
4360 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4361 (tramp-handle-verify-visited-file-modtime)
4362 (tramp-handle-file-notify-rm-watch): New functions.
4363 (tramp-call-process): Do not bind `default-directory'.
4364
4365 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4366 Order alphabetically.
4367 [access-file, add-name-to-file, dired-call-process]:
4368 [dired-compress-file, file-acl, file-notify-rm-watch]:
4369 [file-ownership-preserved-p, file-selinux-context]:
4370 [make-directory-internal, make-symbolic-link, set-file-acl]:
4371 [set-file-selinux-context, set-visited-file-modtime]:
4372 [verify-visited-file-modtime]: Add handler.
4373 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4374
4375 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4376 [file-notify-add-watch, file-notify-rm-watch]:
4377 [set-file-times, set-visited-file-modtime]:
4378 [verify-visited-file-modtime]: Add handler.
4379 (with-tramp-gvfs-error-message)
4380 (tramp-gvfs-handle-set-visited-file-modtime)
4381 (tramp-gvfs-fuse-file-name): Remove.
4382 (tramp-gvfs-handle-file-notify-add-watch)
4383 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4384 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4385
4386 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4387 Order alphabetically.
4388 [file-notify-rm-watch ]: Use default Tramp handler.
4389 [executable-find]: Remove private handler.
4390 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4391 `default-directory'.
4392 (tramp-sh-handle-executable-find)
4393 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4394 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4395 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4396 Do not use `format' in `tramp-message'.
4397
4398 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4399 [file-notify-rm-watch, set-visited-file-modtime]:
4400 [verify-visited-file-modtime]: Add handler.
4401 (tramp-smb-call-winexe): Do not bind `default-directory'.
4402
4403 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4404
4405 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4406
4407 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4408
4409 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4410 use it.
4411 (log-view-diff-changeset): Same.
4412 (log-view-diff-common): Call backend command `previous-revision'
4413 to find out the previous revision, in both cases. Swap the
4414 variables `to' and `fr', so that `fr' usually refers to the
4415 earlier revision (Bug#14989).
4416
4417 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4418
4419 * ibuf-ext.el (ibuffer-filter-by-filename):
4420 Make it work with dired buffers too.
4421
4422 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4423
4424 * emacs-lisp/re-builder.el (reb-color-display-p):
4425 * files.el (save-buffers-kill-terminal):
4426 * net/browse-url.el (browse-url):
4427 * server.el (server-save-buffers-kill-terminal):
4428 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4429 Prefer nil to selected-frame for the first arg of frame-parameter.
4430
4431 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4432
4433 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4434
4435 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4436
4437 * minibuffer.el (completion--twq-all): Try and preserve each
4438 completion's case choice (bug#14907).
4439
4440 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4441
4442 * net/network-stream.el (open-network-stream): Mention the new
4443 :nogreeting parameter.
4444 (network-stream-open-starttls): Use the :nogreeting parameter
4445 (bug#14938).
4446
4447 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4448
4449 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4450 more natural than popping.
4451
4452 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4453 (shr-urlify): Highlight under mouse.
4454
4455 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4456
4457 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4458
4459 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4460
4461 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4462 buffer for output.
4463
4464 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4465 point-min==1. Fix search string. Fix parentheses missing.
4466
4467 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4468 assume point-min==1. Fix search string. Fix parentheses missing.
4469
4470 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4471
4472 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4473 buffer for output.
4474
4475 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4476
4477 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4478 initial frame is minibuffer-less. (Bug#14841)
4479
4480 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4481
4482 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4483 option.
4484
4485 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4486 (tramp-maybe-open-connection): Use it.
4487
4488 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4489
4490 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4491 minimal set of parameters passed when creating a frame, because
4492 the minibuffer status of a frame cannot be changed later.
4493
4494 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4495
4496 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4497 replace-regexp-in-string and inadvertent omissions in previous change.
4498 (todo-filter-items): Ensure only file names are comma-separated in
4499 name of filtered items buffer.
4500
4501 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4502
4503 * desktop.el: Optionally force offscreen frames back onscreen.
4504 (desktop-restoring-reuses-frames): New option.
4505 (desktop--compute-pos, desktop--move-onscreen): New functions.
4506 (desktop--make-frame): Use desktop--move-onscreen.
4507
4508 2013-07-27 Alan Mackenzie <acm@muc.de>
4509
4510 Fontify a Java generic method as a function.
4511 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4512 value to t.
4513
4514 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4515
4516 * calendar/todo-mode.el: Add command to rename todo files.
4517 (todo-rename-file): New command.
4518 (todo-key-bindings-t): Add key binding for it. Change the
4519 bindings of todo-filter-regexp-items(-multifile) to use `x'
4520 instead of `r', since the latter is better suited to the new
4521 renaming command.
4522
4523 2013-07-27 Alan Mackenzie <acm@muc.de>
4524
4525 Make Java try-with-resources statement parse properly.
4526 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4527 (c-block-stmt-1-2-key): New language constants/variables.
4528 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4529 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4530 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4531 with c-block-stmt-1-2-key.
4532
4533 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4534
4535 * desktop.el (desktop--make-frame): Apply most frame parameters after
4536 creating the frame to force (partially or totally) offscreen frames to
4537 be restored as such.
4538
4539 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4540
4541 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4542 (Bug#14948)
4543
4544 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4547 `base' arg of backtrace-frame.
4548
4549 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4550
4551 * simple.el (list-processes): Doc fix.
4552
4553 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4554
4555 * desktop.el (desktop--select-frame):
4556 Try harder to reuse existing frames.
4557
4558 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4561 (edebug-eval): Use backtrace-eval.
4562 (edebug--display, edebug--recursive-edit): Don't let-bind the
4563 edebug-outer-* vars that keep track of variables we locally let-bind.
4564 (edebug-outside-excursion): Don't restore outside values of locally
4565 let-bound vars.
4566 (edebug--display): Use user-error.
4567 (cl-lexical-debug, cl-debug-env): Remove.
4568
4569 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4570
4571 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4572 are restored to be sure that they are visible before deleting any
4573 remaining ones.
4574
4575 2013-07-26 Matthias Meulien <orontee@gmail.com>
4576
4577 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4578 vc-print-root-log. (Bug#14948)
4579
4580 2013-07-26 Richard Stallman <rms@gnu.org>
4581
4582 Add aliases for encrypting mail.
4583 * epa.el (epa-mail-aliases): New option.
4584 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4585 Bind inhibit-read-only so read-only text doesn't ruin everything.
4586 (epa-mail-default-recipients): New subroutine broken out.
4587 Handle epa-mail-aliases.
4588
4589 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 Add support for lexical variables to the debugger's `e' command.
4592 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4593 vars, except for debugger-outer-match-data.
4594 (debugger-frame-number): Move check for "on a function call" from
4595 callers into it. Add `skip-base' argument.
4596 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4597 (debugger-env-macro): Only reset the state stored in non-variables,
4598 i.e. current-buffer and match-data.
4599 (debugger-eval-expression): Rewrite using backtrace-eval.
4600 * subr.el (internal--called-interactively-p--get-frame): Remove.
4601 (called-interactively-p):
4602 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4603 `base' arg of backtrace-frame instead.
4604
4605 2013-07-26 Glenn Morris <rgm@gnu.org>
4606
4607 * align.el (align-regexp): Doc fix. (Bug#14857)
4608 (align-region): Explicit error if subexpression missing/does not match.
4609
4610 * simple.el (global-visual-line-mode):
4611 Do not duplicate the mode lighter. (Bug#14858)
4612
4613 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4614
4615 * window.el (display-buffer): In display-buffer bind
4616 split-window-keep-point to t, bug#14829.
4617
4618 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4619
4620 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4621 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4622 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4623 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4624 Change accordingly.
4625 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4626 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4627
4628 2013-07-25 Glenn Morris <rgm@gnu.org>
4629
4630 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4631
4632 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4633
4634 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4635 parameter to modify-frame-parameters if the value has not changed;
4636 this is a workaround for bug#14949.
4637 (desktop--make-frame): On cl-delete-if call, check parameter name,
4638 not full parameter.
4639
4640 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4641
4642 * vc/vc.el (vc-ignore): New function.
4643
4644 * vc/vc-svn.el (vc-svn-ignore): New function.
4645
4646 * vc/vc-hg.el (vc-hg-ignore): New function.
4647
4648 * vc/vc-git.el (vc-git-ignore): New function.
4649
4650 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4651 (vc-dir-ignore): New function.
4652
4653 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4654 (cvs-append-to-ignore): Move here from pcvs.el.
4655
4656 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4657
4658 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4659
4660 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4661
4662 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4663 (desktop-restore-frames): Warn when deleting an existing frame failed.
4664
4665 2013-07-24 Glenn Morris <rgm@gnu.org>
4666
4667 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4668
4669 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4670
4671 * filenotify.el (file-notify-supported-p):
4672 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4673 Remove functions.
4674
4675 * autorevert.el (auto-revert-use-notify):
4676 (auto-revert-notify-add-watch):
4677 * net/tramp.el (tramp-file-name-for-operation):
4678 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4679 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4680 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4681 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4682 Remove `file-notify-supported-p' entry.
4683
4684 2013-07-24 Glenn Morris <rgm@gnu.org>
4685
4686 * printing.el: Replace all uses of deleted ps-windows-system,
4687 ps-lp-system, ps-flatten-list with lpr- versions.
4688
4689 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4692 checked with memq (bug#14935).
4693
4694 * files.el (revert-buffer-function): Use a non-nil default.
4695 (revert-buffer-preserve-modes): Declare var to
4696 provide access to the `preserve-modes' argument.
4697 (revert-buffer): Let-bind it.
4698 (revert-buffer--default): New function, extracted from revert-buffer.
4699
4700 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * lpr.el: Signal print errors more prominently.
4703 (print-region-function): Don't default to nil.
4704 (lpr-print-region): New function, extracted from print-region-1.
4705 Check lpr's return value and signal an error in case of problem.
4706 (print-region-1): Use it.
4707 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4708 versions instead.
4709 (ps-printer-name): Default to nil.
4710 (ps-printer-name-option): Default to lpr-printer-switch.
4711 (ps-print-region-function): Don't default to nil.
4712 (ps-postscript-code-directory): Simplify default.
4713 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4714 (ps-string-list, ps-eval-switch, ps-flatten-list)
4715 (ps-flatten-list-1): Remove.
4716 (ps-multibyte-buffer): Avoid setq.
4717 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4718 (print-region-function, ps-print-region-function): Don't set them here.
4719
4720 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4721
4722 * ido.el (ido-fractionp):
4723 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4724 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4725 (ido-max-directory-size, ido-max-dir-file-cache)
4726 (ido-decorations): Doc fix.
4727
4728 * ansi-color.el: Fix old URL.
4729
4730 2013-07-23 Michael R. Mauger <michael@mauger.com>
4731
4732 * progmodes/sql.el: Version 3.3
4733 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4734 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4735 (sql-interactive-remove-continuation-prompt): Rewrite, use
4736 functions above. Fix continuation prompt and complete output line
4737 handling.
4738 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4739 redirected output buffer.
4740 (sql-mode): Restore deleted code (Bug#13591).
4741
4742 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4743
4744 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4745
4746 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4747
4748 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4749
4750 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4751 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4752 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4753
4754 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4755
4756 * desktop.el (desktop-clear): Simplify; remove useless checks
4757 against invalid buffer names.
4758 (desktop-list*): Use cl-list*.
4759 (desktop-buffer-info, desktop-create-buffer): Simplify.
4760
4761 2013-07-23 Leo Liu <sdl.web@gmail.com>
4762
4763 * bookmark.el (bookmark-make-record): Restore NAME as a default
4764 value. (Bug#14933)
4765
4766 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4767
4768 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4769 extracted from autoload--insert-text.
4770 (autoload--insert-text): Remove.
4771 (autoload--print-cookie-text): New function, extracted from
4772 autoload--insert-cookie-text.
4773 (autoload--insert-cookie-text): Remove.
4774 (autoload-generate-file-autoloads): Adjust calls accordingly.
4775
4776 * winner.el (winner-hook-installed-p): Remove.
4777 (winner-mode): Simplify accordingly.
4778
4779 * subr.el (add-to-list): Fix compiler-macro when `append' is
4780 not constant. Don't use `cl-member' for the base case.
4781
4782 * progmodes/subword.el: Fix boundary case (bug#13758).
4783 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4784 own group.
4785 (subword-backward-regexp): Make it a constant.
4786 (subword-forward-internal): Don't treat a trailing capital as the
4787 beginning of a word.
4788
4789 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4790
4791 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4792 global value of tabulated-list-revert-hook (bug#14930).
4793
4794 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4795
4796 * desktop.el: Require 'cl-lib.
4797 (desktop-before-saving-frames-functions): New hook.
4798 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4799 for frames being saved. Rename from desktop--save-minibuffer-frames.
4800 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4801 Do not save frames with non-nil `desktop-dont-save' parameter.
4802 Filter out deleted frames.
4803 (desktop--find-frame): Use cl-find-if.
4804 (desktop--select-frame): Use cl-(first|second|third) to access values
4805 of desktop-mini.
4806 (desktop--make-frame): Use cl-delete-if.
4807 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4808 (desktop-restore-frames): Use cl-(first|second|third) to access values
4809 of desktop-mini. Look for visible frame at the end, not while
4810 restoring frames.
4811
4812 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4813 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4814 Use string-match-p, looking-at-p (bug#14927).
4815
4816 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4817
4818 * desktop.el (desktop-saved-frame-states):
4819 Rename from desktop--saved-states; all users changed.
4820 (desktop-save-frames): Rename from desktop--save-frames.
4821 Do not save state to desktop file.
4822 (desktop-save): Save desktop-saved-frame-states to desktop file
4823 and reset to nil.
4824 (desktop-restoring-frames-p): New function.
4825 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4826 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4827 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4828
4829 * desktop.el: Correctly restore iconified frames.
4830 (desktop--filter-iconified-position): New function.
4831 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4832
4833 2013-07-20 Glenn Morris <rgm@gnu.org>
4834
4835 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4836 Let `message' do the formatting.
4837 (def-gdb-preempt-display-buffer): Add explicit format.
4838
4839 * image-dired.el (image-dired-track-original-file):
4840 Use with-current-buffer.
4841 (image-dired-track-thumbnail): Use with-current-buffer.
4842 Avoid changing point of wrong window.
4843
4844 * image-dired.el (image-dired-track-original-file):
4845 Avoid changing point of wrong window. (Bug#14909)
4846
4847 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4848
4849 * progmodes/gdb-mi.el (gdb-done-or-error):
4850 Guard against "%" in gdb output. (Bug#14127)
4851
4852 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4853
4854 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4855 (Bug#14826)
4856
4857 * international/mule.el (coding-system-iso-2022-flags): Fix last
4858 change.
4859
4860 2013-07-20 Kenichi Handa <handa@gnu.org>
4861
4862 * international/mule.el (coding-system-iso-2022-flags):
4863 Add `8-bit-level-4'. (Bug#8522)
4864
4865 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4866
4867 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4868 (bug#14815).
4869
4870 * net/eww.el (eww-process-text-input): Allow inputting when the
4871 point is at the start of the line, as the properties aren't
4872 front-sticky.
4873
4874 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4875 degenerate widths.
4876
4877 2013-07-19 Richard Stallman <rms@gnu.org>
4878
4879 * epa.el (epa-popup-info-window): Doc fix.
4880
4881 * subr.el (split-string): New arg TRIM.
4882
4883 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4884
4885 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4886 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4887
4888 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4889
4890 * filenotify.el (file-notify--library): Rename from
4891 `file-notify-support'. Do not autoload. Adapt all uses.
4892 (file-notify-supported-p): New defun.
4893
4894 * autorevert.el (auto-revert-use-notify):
4895 Use `file-notify-supported-p' instead of `file-notify-support'.
4896 Adapt docstring.
4897 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4898
4899 * net/tramp.el (tramp-file-name-for-operation):
4900 Add `file-notify-supported-p'.
4901
4902 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4903 New defun.
4904 (tramp-sh-file-name-handler-alist): Add it as handler for
4905 `file-notify-supported-p '.
4906
4907 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4908 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4909 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4910 Add `ignore' as handler for `file-notify-*' functions.
4911
4912 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4913
4914 * simple.el (line-move-partial, line-move): Don't start vscroll or
4915 scroll-up if the current line is not taller than the window.
4916 (Bug#14881)
4917
4918 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4919
4920 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4921 highlight question marks in the method names as strings.
4922 (ruby-block-beg-keywords): Inline.
4923 (ruby-font-lock-keyword-beg-re): Extract from
4924 `ruby-font-lock-keywords'.
4925
4926 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4927
4928 * frame.el (blink-cursor-blinks): New defcustom.
4929 (blink-cursor-blinks-done): New defvar.
4930 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4931 (blink-cursor-timer-function): Check if number of blinks has been
4932 done on X and NS.
4933 (blink-cursor-suspend, blink-cursor-check): New defuns.
4934
4935 2013-07-15 Glenn Morris <rgm@gnu.org>
4936
4937 * edmacro.el (edmacro-format-keys): Fix previous change.
4938
4939 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4940
4941 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4942 The hack didn't work outside English locales anyway.
4943
4944 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4945
4946 * simple.el (define-alternatives): Rename from alternatives-define,
4947 per RMS' suggestion.
4948
4949 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * desktop.el (desktop-restore-frames): Change default to t.
4952 (desktop-restore-in-current-display): Now offer more options.
4953 (desktop-restoring-reuses-frames): New customization option.
4954 (desktop--saved-states): Doc fix.
4955 (desktop-filter-parameters-alist): New variable, renamed and expanded
4956 from desktop--excluded-frame-parameters.
4957 (desktop--target-display): New variable.
4958 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4959 (desktop--filter-tty*, desktop--filter-*-color)
4960 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4961 (desktop--filter-save-desktop-parm)
4962 (desktop-restore-in-original-display-p): New functions.
4963 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4964 (desktop--save-minibuffer-frames): New function, inspired by a similar
4965 function from Martin Rudalics.
4966 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4967 (desktop--restore-in-this-display-p): Remove.
4968 (desktop--find-frame): Rename from desktop--find-frame-in-display
4969 and add predicate argument.
4970 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4971 (desktop--reuse-list): New variable.
4972 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4973 New functions.
4974 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4975
4976 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4977
4978 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4979
4980 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4981
4982 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4983 Highlight conversion methods on Kernel.
4984
4985 2013-07-13 Alan Mackenzie <acm@muc.de>
4986
4987 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4988 and comment it out. This out-commenting enables certain C++
4989 declarations to be parsed correctly.
4990
4991 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4992
4993 * international/mule.el (define-coding-system): Doc fix.
4994
4995 * simple.el (default-font-height): Don't call font-info if the
4996 frame's default font didn't change since the frame was created.
4997 (Bug#14838)
4998
4999 2013-07-13 Leo Liu <sdl.web@gmail.com>
5000
5001 * ido.el (ido-read-file-name): Guard against non-symbol value.
5002
5003 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5004
5005 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5006 in nested defuns.
5007
5008 2013-07-13 Leo Liu <sdl.web@gmail.com>
5009
5010 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5011 ido-set-matches call. (Bug#6852)
5012
5013 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5014
5015 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5016 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5017 Ruby 2.0.
5018 (ruby-font-lock-keywords): Distinguish calls to functions with
5019 module-like names from module references. Highlight character
5020 literals.
5021
5022 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5023
5024 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5025 (gdb-send): Handle continued commands. (Bug#14847)
5026
5027 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5028
5029 * desktop.el (desktop--v2s): Remove unused local variable.
5030 (desktop-save-buffer): Make defvar-local; adjust docstring.
5031 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5032 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5033
5034 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5035
5036 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5037
5038 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5039
5040 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5041 (Bug#14842)
5042
5043 2013-07-12 Glenn Morris <rgm@gnu.org>
5044
5045 * doc-view.el: Require cl-lib at runtime too.
5046 (doc-view-remove-if): Remove.
5047 (doc-view-search-next-match, doc-view-search-previous-match):
5048 Use cl-remove-if.
5049
5050 * edmacro.el: Require cl-lib at runtime too.
5051 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5052 (edmacro-mismatch, edmacro-subseq): Remove.
5053
5054 * shadowfile.el: Require cl-lib.
5055 (shadow-remove-if): Remove.
5056 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5057 Use cl-remove-if.
5058
5059 * wid-edit.el: Require cl-lib.
5060 (widget-choose): Use cl-remove-if.
5061 (widget-remove-if): Remove.
5062
5063 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5064 (ebrowse-delete-if-not): Remove.
5065 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5066 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5067 Use cl-delete-if-not.
5068
5069 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5070
5071 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5072 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5073
5074 2013-07-12 Leo Liu <sdl.web@gmail.com>
5075
5076 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5077
5078 2013-07-11 Glenn Morris <rgm@gnu.org>
5079
5080 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5081 (edebug-gensym-index, edebug-gensym):
5082 Remove reimplementation of cl-gensym.
5083 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5084
5085 * thumbs.el: Require cl-lib at run-time too.
5086 (thumbs-gensym-counter, thumbs-gensym):
5087 Remove reimplementation of cl-gensym.
5088 (thumbs-temp-file): Use cl-gensym.
5089
5090 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5091 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5092 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5093 (ert--union, ert--gensym-counter, ert--gensym-counter)
5094 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5095 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5096 (ert-make-test-unbound, ert--expand-should-1)
5097 (ert--expand-should, ert--should-error-handle-error)
5098 (should-error, ert--explain-equal-rec)
5099 (ert--plist-difference-explanation, ert-select-tests)
5100 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5101 Use cl-lib functions rather than reimplementations.
5102
5103 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5104
5105 * net/tramp.el (tramp-methods): Extend docstring.
5106 (tramp-connection-timeout): New defcustom.
5107 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5108 (with-tramp-progress-reporter): Simplify.
5109 (tramp-process-actions): Improve messages.
5110
5111 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5112 * net/tramp-sh.el (tramp-maybe-open-connection):
5113 Use `tramp-connection-timeout'.
5114 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5115 (Bug#14808)
5116
5117 2013-07-11 Leo Liu <sdl.web@gmail.com>
5118
5119 * ido.el (ido-read-file-name): Conform to the requirements of
5120 read-file-name. (Bug#11861)
5121 (ido-read-directory-name): Conform to the requirements of
5122 read-directory-name.
5123
5124 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5125
5126 * subr.el (delay-warning): New function.
5127
5128 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5129
5130 * simple.el (default-line-height): New function.
5131 (line-move-partial, line-move): Use it instead of computing the
5132 line height inline.
5133 (line-move-partial): Always compute ROWH. If the last line is
5134 partially-visible, but its text is completely visible, allow
5135 cursor to enter such a partially-visible line.
5136
5137 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5138
5139 Improve error messages. (Bug#14808)
5140
5141 * net/tramp.el (tramp-current-connection): New defvar, moved from
5142 tramp-sh.el.
5143 (tramp-message-show-progress-reporter-message): Remove, not
5144 needed anymore.
5145 (tramp-error-with-buffer): Show message in minibuffer.
5146 Discard input before waiting. Reset connection timestamp.
5147 (with-tramp-progress-reporter): Improve messages.
5148 (tramp-process-actions): Use progress reporter. Delete process in
5149 case of error. Improve messages.
5150
5151 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5152 Call `tramp-error-with-buffer' with vector and buffer.
5153 (tramp-current-connection): Remove.
5154 (tramp-maybe-open-connection): The car of
5155 `tramp-current-connection' are the first 3 slots of the vector.
5156
5157 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5158
5159 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5160 inside continued strings.
5161
5162 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5163
5164 Timestamp fixes for undo (Bug#14824).
5165 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5166
5167 2013-07-10 Leo Liu <sdl.web@gmail.com>
5168
5169 * files.el (require-final-newline): Allow safe local value.
5170 (Bug#14834)
5171
5172 2013-07-09 Leo Liu <sdl.web@gmail.com>
5173
5174 * ido.el (ido-read-directory-name): Handle fallback.
5175 (ido-read-file-name): Update DIR to ido-current-directory.
5176 (Bug#1516)
5177 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5178
5179 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5180
5181 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5182 "autoload". Remove "warn lower camel case" section, previously
5183 commented out. Highlight negation char. Do not highlight the
5184 target in singleton method definitions.
5185
5186 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5187
5188 * faces.el (tty-setup-hook): Declare the hook.
5189
5190 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5191 and detect when a guard/pred depends on local vars (bug#14773).
5192 (pcase--u1): Adjust caller.
5193
5194 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5195
5196 * simple.el (line-move-partial, line-move): Account for
5197 line-spacing.
5198 (line-move-partial): Avoid setting vscroll when the last
5199 partially-visible line in window is of default height.
5200
5201 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5202
5203 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5204 been used a while.
5205
5206 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5207
5208 * subr.el (read-quoted-char): Remove unused local variable `char'.
5209
5210 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5211
5212 * ediff.el (ediff-version): Version update.
5213 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5214 (ediff-merge-with-ancestor-command, ediff-directories-command)
5215 (ediff-directories3-command, ediff-merge-directories-command)
5216 (ediff-merge-directories-with-ancestor-command): New functions.
5217 All are command-line interfaces to ediff: to facilitate calling
5218 Emacs with the appropriate ediff functions invoked.
5219
5220 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5221 (viper-save-kill-buffer): Check if buffer is modified.
5222
5223 * viper.el (viper-version): Version update.
5224 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5225
5226 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5229 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5230 (viper-intercept-ESC-key): Simplify.
5231 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5232 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5233 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5234 (viper-setup-ESC-to-escape): New functions.
5235 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5236 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5237
5238 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5239
5240 * simple.el (default-font-height, window-screen-lines):
5241 New functions.
5242 (line-move, line-move-partial): Use them instead of
5243 frame-char-height and window-text-height. This makes scrolling
5244 text smoother when the buffer's default face uses a font that is
5245 different from the frame's default font.
5246
5247 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5248
5249 * files.el (write-file): Do not display confirm dialog for NS,
5250 it does its own dialog, which can't be cancelled (Bug#14578).
5251
5252 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5253
5254 * simple.el (line-move-partial): Adjust the row returned by
5255 posn-at-point for the current window-vscroll. (Bug#14567)
5256
5257 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5258
5259 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5260 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5261 spaces.
5262
5263 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5264
5265 * window.el (window-state-put-stale-windows): New variable.
5266 (window--state-put-2): Save list of windows without matching buffer.
5267 (window-state-put): Remove "bufferless" windows if possible.
5268
5269 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5270
5271 * simple.el (alternatives-define): Remove leftover :group keyword.
5272 Tweak docstring.
5273
5274 2013-07-06 Leo Liu <sdl.web@gmail.com>
5275
5276 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5277 (ido-enable-virtual-buffers): New variable.
5278 (ido-buffer-internal, ido-toggle-virtual-buffers)
5279 (ido-make-buffer-list): Use it.
5280 (ido-exhibit): Support turning on and off virtual buffers
5281 automatically.
5282
5283 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5284
5285 * simple.el (alternatives-define): New macro.
5286
5287 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5288
5289 * subr.el (read-quoted-char): Use read-key.
5290 (sit-for): Let read-event decode tty input (bug#14782).
5291
5292 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5293
5294 * calendar/todo-mode.el: Add handling of file deletion, both by
5295 mode command and externally. Fix various related bugs.
5296 Clarify Commentary and improve some documentation strings and code.
5297 (todo-delete-file): New command.
5298 (todo-check-file): New function.
5299 (todo-show): Handle external deletion of the file we're trying to
5300 show (bug#14688). Replace called-interactively-p by an optional
5301 prefix argument to avoid problematic interaction with catch form
5302 when byte compiled (bug#14702).
5303 (todo-quit): Handle external deletion of the archive's todo file.
5304 Make sure the buffer that was visiting the archive file is still
5305 live before trying to bury it.
5306 (todo-category-completions): Handle external deletion of any
5307 category completion files.
5308 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5309 of todo files, in case of external deletion.
5310 (todo-add-file): Replace unnecessary setq by let-binding.
5311 (todo-find-archive): Check whether there are any archives.
5312 Replace unnecessary setq by let-binding.
5313 (todo-archive-done-item): Use find-file-noselect to get the
5314 archive buffer whether or not the archive already exists.
5315 Remove superfluous code. Use file size instead of buffer-file-name to
5316 check if the archive is new; if it is, update list of archives.
5317 (todo-default-todo-file): Allow nil to be a valid value for when
5318 there are no todo files.
5319 (todo-reevaluate-default-file-defcustom): Use corrected definition
5320 of todo-default-todo-file.
5321 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5322 (todo-delete-category, todo-show-categories-table)
5323 (todo-category-number): Clarify comment.
5324 (todo-filter-items): Clarify documentation string.
5325 (todo-show-current-file, todo-display-as-todo-file)
5326 (todo-reset-and-enable-done-separator): Tweak documentation string.
5327 (todo-done-separator): Make separator length window-width, since
5328 bug#2749 is now fixed.
5329
5330 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5331
5332 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5333 Support both "gvfs-monitor-dir" and "inotifywait".
5334 (tramp-sh-file-inotifywait-process-filter): Rename from
5335 `tramp-sh-file-notify-process-filter'.
5336 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5337 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5338
5339 2013-07-05 Leo Liu <sdl.web@gmail.com>
5340
5341 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5342
5343 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5344
5345 * frame.el (display-pixel-height, display-pixel-width)
5346 (display-mm-height, display-mm-width): Mention behavior on
5347 multi-monitor setups in docstrings.
5348 (w32-display-monitor-attributes-list): Declare function.
5349 (display-monitor-attributes-list): Use it.
5350
5351 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5352
5353 * filenotify.el: New package.
5354
5355 * autorevert.el (top): Require filenotify.el.
5356 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5357 instead.
5358 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5359 (auto-revert-notify-handler): Use `file-notify-*' functions.
5360
5361 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5362
5363 * net/tramp.el (tramp-file-name-for-operation):
5364 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5365
5366 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5367 for `file-notify-add-watch' and `file-notify-rm-watch'.
5368 (tramp-process-sentinel): Improve trace.
5369 (tramp-sh-handle-file-notify-add-watch)
5370 (tramp-sh-file-notify-process-filter)
5371 (tramp-sh-handle-file-notify-rm-watch)
5372 (tramp-get-remote-inotifywait): New defuns.
5373
5374 2013-07-03 Juri Linkov <juri@jurta.org>
5375
5376 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5377 call of `occur-read-primary-args' to interactive spec.
5378
5379 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5380 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5381
5382 2013-07-03 Matthias Meulien <orontee@gmail.com>
5383
5384 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5385 `Buffer-menu-multi-occur'. Add it to the menu.
5386 (Buffer-menu-mode): Document it in docstring.
5387 (Buffer-menu-multi-occur): New command. (Bug#14673)
5388
5389 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5390
5391 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5392 keywords and built-ins.
5393
5394 2013-07-03 Glenn Morris <rgm@gnu.org>
5395
5396 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5397
5398 Make info-xref checks case-sensitive by default
5399 * info.el (Info-find-node, Info-find-in-tag-table)
5400 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5401 Add option for exact case matching of nodes.
5402 * info-xref.el (info-xref): New custom group.
5403 (info-xref-case-fold): New option.
5404 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5405
5406 2013-07-03 Leo Liu <sdl.web@gmail.com>
5407
5408 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5409
5410 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5411
5412 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5413 middle of block statement initially, lower the depth. Remove
5414 FIXME comment, not longer valid. Remove middle of block statement
5415 detection, no need to do that anymore since we've been using
5416 `ruby-parse-region' here.
5417
5418 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5419
5420 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5421
5422 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5423
5424 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5425
5426 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5427
5428 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5429 (desktop-restore-in-current-display): New customization option.
5430 (desktop--excluded-frame-parameters): Add `font'.
5431 (desktop--save-frames): Rename from desktop--save-windows.
5432 (desktop--restore-in-this-display-p): New function.
5433 (desktop--make-full-frame): Remove unwanted width/height from
5434 full(width|height) frames.
5435 (desktop--restore-frames): Rename from desktop--restore-windows.
5436 Obey desktop-restore-current-display. Do not delete old frames or
5437 select a new frame unless we were able to restore at least one frame.
5438
5439 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5440
5441 * files.el (find-file-noselect): Simplify conditional expression.
5442
5443 * remember.el (remember-append-to-file):
5444 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5445
5446 Add `remember-notes' function to store random notes across Emacs
5447 restarts.
5448 * remember.el (remember-data-file): Add :set callback to affect
5449 notes buffer (if any).
5450 (remember-notes): New command.
5451 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5452 New defcustoms for the `remember-notes' function.
5453 (remember-notes-save-and-bury-buffer): New command.
5454 (remember-notes-mode-map): New variable.
5455 (remember-mode): New minor mode.
5456 (remember-notes--kill-buffer-query): New function.
5457 * startup.el (initial-buffer-choice): Add notes to custom type.
5458
5459 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5460
5461 * bindings.el (right-char, left-char): Don't call sit-for, this is
5462 no longer needed. Use arithmetic comparison only for numerical
5463 arguments.
5464
5465 * international/mule-cmds.el (select-safe-coding-system):
5466 Handle the case of FROM being a string correctly. (Bug#14755)
5467
5468 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5469
5470 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5471 progression on degenerate tables.
5472 (shr-rescale-image): ImageMagick animated images currently don't work.
5473
5474 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5475
5476 Some fixes and improvements for desktop frame restoration.
5477 It is still experimental and disabled by default.
5478 * desktop.el (desktop--save-windows): Put the selected frame at
5479 the head of the list.
5480 (desktop--make-full-frame): New function.
5481 (desktop--restore-windows): Try to re-select the frame that was
5482 selected upon saving. Do not abort if some frames fail to restore,
5483 just show an error message and continue. Set up maximized frames
5484 so they have default non-maximized dimensions.
5485
5486 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5487
5488 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5489 Don't start heredoc inside a string or comment.
5490
5491 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5492
5493 * bindings.el (visual-order-cursor-movement): New defcustom.
5494 (right-char, left-char): Provide visual-order cursor motion by
5495 calling move-point-visually. Update the doc strings.
5496
5497 2013-06-28 Kenichi Handa <handa@gnu.org>
5498
5499 * international/mule.el (define-coding-system): New coding system
5500 properties :inhibit-null-byte-detection,
5501 :inhibit-iso-escape-detection, and :prefer-utf-8.
5502 (set-buffer-file-coding-system): If :charset-list property of
5503 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5504 appropriate for setting.
5505
5506 * international/mule-cmds.el (select-safe-coding-system):
5507 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5508 multibyte characters, return utf-8 (or one of its siblings).
5509
5510 * international/mule-conf.el (prefer-utf-8): New coding system.
5511 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5512 files.
5513
5514 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5515
5516 * net/shr.el (shr-render-region): New function.
5517
5518 * net/eww.el: Autoload `eww-browse-url'.
5519
5520 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5521
5522 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5523 Adapt to `package-desc-version' being a list.
5524 Use `package--ac-desc-version' to retrieve version from a package
5525 archive element.
5526
5527 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5528
5529 New experimental feature to save&restore window and frame setup.
5530 * desktop.el (desktop-save-windows): New defcustom.
5531 (desktop--saved-states): New var.
5532 (desktop--excluded-frame-parameters): New defconst.
5533 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5534 (desktop--restore-windows, desktop--save-windows): New functions.
5535 (desktop-save): Call `desktop--save-windows'.
5536 (desktop-read): Call `desktop--restore-windows'.
5537
5538 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5539
5540 * net/shr.el (add-face-text-property): Remove compat definition.
5541
5542 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5543
5544 * info.el (Info-try-follow-nearest-node): Move search for footnote
5545 above search for node name to prevent missing a footnote (bug#14717).
5546
5547 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5548
5549 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5550
5551 2013-06-27 Leo Liu <sdl.web@gmail.com>
5552
5553 * net/eww.el (eww-read-bookmarks): Check file size.
5554
5555 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5558 advice--pending if newdef is nil or an autoload (bug#13820).
5559 (advice-mapc): New function.
5560
5561 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5562
5563 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5564 probably.
5565 (eww-mode-map): Add a menu bar.
5566 (eww-add-bookmark): New command.
5567 (eww-bookmark-mode): New mode and commands.
5568 (eww-add-bookmark): Remove newlines from the title.
5569 (eww-bookmark-browse): Don't bug out if it's the only window.
5570
5571 2013-06-26 Glenn Morris <rgm@gnu.org>
5572
5573 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5574 (hfy-size): Handle ttys. (Bug#14668)
5575
5576 * info-xref.el: Update for Texinfo 5 change in *note format.
5577 (info-xref-node-re, info-xref-note-re): New constants.
5578 (info-xref-check-buffer): Use info-xref-note-re.
5579
5580 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5583
5584 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5585 nil terminate the loop (bug#14718).
5586
5587 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5588
5589 * net/eww.el: Rework history traversal. When going forward/back,
5590 put these actions into the history, too, so that they can be
5591 replayed.
5592 (eww-render): Move the history reset to the correct buffer.
5593
5594 2013-06-25 Juri Linkov <juri@jurta.org>
5595
5596 * files-x.el (modify-dir-local-variable): Change the header comment
5597 in the file with directory local variables. (Bug#14692)
5598
5599 * files-x.el (read-file-local-variable-value): Add `default'.
5600 (Bug#14710)
5601
5602 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5603
5604 * net/eww.el (eww-make-unique-file-name): Create a unique file
5605 name before saving to entering `y' accidentally asynchronously.
5606
5607 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5608
5609 * net/eww.el (eww-download): New command and keystroke.
5610
5611 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5612
5613 * net/eww.el (eww-copy-page-url): Change name of command.
5614
5615 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5616 be more consistent with Info and dired.
5617
5618 * net/eww.el (eww-mode-map): Ditto.
5619
5620 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5623 packages from archives.
5624 (package-archive-contents): Change format; include obsolete packages.
5625 (package-desc): Use `dir' to mark builtin packages.
5626 (package--from-builtin): Set the `dir' field to `builtin'.
5627 (generated-autoload-file, version-control): Declare.
5628 (package-compute-transaction): Change first arg and return value to be
5629 lists of package-descs. Adjust to new package-archive-contents format.
5630 (package--add-to-archive-contents): Adjust to new
5631 package-archive-contents format.
5632 (package-download-transaction): Arg is now a list of package-descs.
5633 (package-install): If `pkg' is a package name, pass it as
5634 a requirement, so it is subject to the usual (e.g. disabled) checks.
5635 (describe-package): Accept package-desc as well.
5636 (describe-package-1): Describe a specific package-desc. Add links to
5637 other package-descs for the same package name.
5638 (package-menu-describe-package): Pass the actual package-desc.
5639 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5640 works correctly.
5641 (package-desc-status): New function.
5642 (package-menu--refresh): New function, extracted
5643 from package-menu--generate.
5644 (package-menu--generate): Use it.
5645 (package-delete): Update package-alist.
5646 (package-menu-execute): Don't call package-initialize.
5647
5648 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5649 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5650 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5651 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5652 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5653 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5654
5655 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5656
5657 * window.el (window--state-get-1): Workaround for bug#14527.
5658 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5659
5660 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5661
5662 * net/eww.el (eww-back-url): Implement the history by stashing all
5663 the data into a list.
5664 (eww-forward-url): Allow going forward in the history, too.
5665
5666 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5669 for values and use read--expression for expressions (bug#14710).
5670 (read-file-local-variable): Avoid setq.
5671 (read-file-local-variable-mode): Use minor-mode-list.
5672
5673 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5674
5675 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5676 for DOI URLs.
5677
5678 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5679
5680 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5681 Update imenu-support when dialect changes.
5682
5683 2013-06-25 Leo Liu <sdl.web@gmail.com>
5684
5685 * ido.el (ido-read-internal): Allow forward slash on windows.
5686
5687 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688
5689 * net/eww.el (eww): Start of strings is \\`, not ^.
5690
5691 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5692
5693 * net/shr.el (shr-browse-url): Fix interactive spec.
5694
5695 * net/eww.el (eww): Add a trailing slash to domain names.
5696
5697 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5698
5699 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5700
5701 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5702
5703 * net/shr.el (shr-browse-url): Use an external browser if given a
5704 prefix.
5705
5706 * net/eww.el (eww-external-browser): Move to shr.
5707
5708 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5709
5710 * net/eww.el (eww): Work more correctly for file: URLs.
5711 (eww-detect-charset): Allow quoted charsets.
5712 (eww-yank-page-url): New command and keystroke.
5713
5714 2013-06-24 Daiki Ueno <ueno@gnu.org>
5715
5716 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5717 file name of gpg executable.
5718 (epg-context-program): New function.
5719 (epg-context-home-directory): New function.
5720 (epg-context-set-program): New function.
5721 (epg-context-set-home-directory): New function.
5722 (epg--start): Use `epg-context-program' instead of
5723 'epg-gpg-program'.
5724 (epg--list-keys-1): Likewise.
5725
5726 2013-06-24 Leo Liu <sdl.web@gmail.com>
5727
5728 * ido.el (ido-read-internal): Fix bug#14620.
5729
5730 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5731
5732 * faces.el (face-documentation): Simplify.
5733 (read-face-attribute, tty-find-type, x-resolve-font-name):
5734 Use `string-match-p'.
5735 (list-faces-display): Use `string-match-p'. Simplify.
5736 (face-spec-recalc): Check face to avoid face alias loops.
5737 (read-color): Use `string-match-p' and non-capturing parenthesis.
5738
5739 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5740
5741 * net/shr.el (shr-rescale-image): Use the new
5742 :max-width/:max-height functionality.
5743
5744 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5745
5746 * net/eww.el (eww-search-prefix): New variable.
5747 (eww): Use it.
5748 (eww-external-browser): New variable.
5749 (eww-mode-map): New keystroke.
5750 (eww-browse-with-external-browser): New command.
5751
5752 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5753
5754 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5755
5756 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5757 Don't skip aligning the next header field when padding is 0;
5758 otherwise, field width is not respected unless the title is as
5759 wide as the field.
5760
5761 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * emacs-lisp/package.el (package-el-version): Remove.
5764 (package-process-define-package): Fix inf-loop.
5765 (package-install): Allow symbols as arguments again.
5766
5767 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5768
5769 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5770 add some more keyword-like methods.
5771 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5772
5773 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5774
5775 * bs.el (bs-buffer-show-mark): Make defvar-local.
5776 (bs-mode): Use setq-local.
5777
5778 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5779 (emacs-lock--try-unlocking): Make defvar-local.
5780
5781 2013-06-22 Glenn Morris <rgm@gnu.org>
5782
5783 * play/cookie1.el (cookie-apropos): Minor simplification.
5784
5785 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5786
5787 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5788
5789 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5790 `regexp-opt', it breaks the build during dumping.
5791
5792 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5793
5794 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5795 Highlight keyword-like methods on Kernel and Module with
5796 font-lock-builtin-face.
5797 (auto-mode-alist): Consolidate different entries into one regexp
5798 and add more *file-s.
5799
5800 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5801
5802 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5803
5804 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5805 (diary-entry): Use it in the action of this button type instead of
5806 diary-goto-entry.
5807
5808 * calendar/todo-mode.el: New version.
5809 (todo-add-category): Append new category to end of file and give
5810 it the highest number, instead of putting it at the beginning and
5811 giving it 0. Incorporate noninteractive functionality.
5812 (todo-forward-category): Adapt to 1-based category numbering.
5813 Allow skipping over archived categories.
5814 (todo-backward-category): Derive from todo-forward-category.
5815 (todo-backward-item, todo-forward-item): Make noninteractive and
5816 delegate interactive part to new commands. Make sensitive to done items.
5817 (todo-categories): Make value an alist of category names and
5818 vectors of item counts.
5819 (todo-category-beg): Make a defconst.
5820 (todo-category-number): Use 1 instead of 0 as initial value.
5821 (todo-category-select): Make sensitive to overlays, optional item
5822 highlighting and done items.
5823 (todo-delete-item): Make sensitive to overlays and marked and done items.
5824 (todo-edit-item): Make sensitive to overlays and editing of
5825 date/time header optional. Add format checks.
5826 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5827 no-op if point is not on an item. Advertise using todo-edit-quit.
5828 (todo-edit-mode): Make sensitive to new format, font-locking, and
5829 multiple todo files.
5830 (todo-insert-item, todo-insert-item-here): Derive from
5831 todo-basic-insert-item and extend functionality.
5832 (todo-item-end, todo-item-start): Make sensitive to done items.
5833 (todo-item-string): Don't return text properties. Restore point.
5834 (todo-jump-to-category): Make sensitive to multiple todo files and
5835 todo archives. Use extended category completion.
5836 (todo-lower-item, todo-raise-item): Rename to *-priority and
5837 derive from todo-set-item-priority.
5838 (todo-mode): Derive from special-mode. Make sensitive to new
5839 format, font-locking and multiple todo files. Make read-only.
5840 (todo-mode-map): Don't suppress digit keys, so they can supply
5841 prefix arguments. Add many new key bindings.
5842 (todo-prefix): Insert as an overlay instead of file text.
5843 Change semantics from diary date expression to purely visual mark.
5844 (todo-print): Rename to todo-print-buffer. Make buffer display
5845 features printable. Remove option to restrict number of items
5846 printed. Add option to print to file.
5847 (todo-print-function): Rename to todo-print-buffer-function.
5848 (todo-quit): Extend to handle exiting new todo modes.
5849 (todo-remove-item): Make sensitive to overlays.
5850 (todo-save): Extend to buffers of filtered items.
5851 (todo-show): Make sensitive to done items, multiple todo files and
5852 new todo modes. Offer to convert legacy todo file before creating
5853 first new todo file.
5854 (todo-show-priorities): Rename to todo-top-priorities.
5855 Change semantics of value 0.
5856 (todo-top-priorities): Rename to todo-filter-top-priorities,
5857 derive from todo-filter-items and extend functionality.
5858 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5859 and extend functionality to other types of filtered items.
5860 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5861 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5862 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5863 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5864 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5865 (todo-edit-mode-hook, todo-entry-prefix-function)
5866 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5867 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5868 (todo-initials, todo-insert-threshold, todo-item-string-start)
5869 (todo-line-string, todo-menu, todo-mode-hook)
5870 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5871 (todo-print-priorities, todo-remove-separator)
5872 (todo-save-top-priorities-too, todo-string-count-lines)
5873 (todo-string-multiline-p, todo-time-string-format)
5874 (todo-tmp-buffer-name): Remove.
5875 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5876 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5877 (todo-edit-category-diary-inclusion)
5878 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5879 (todo-edit-file, todo-edit-item-date-day)
5880 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5881 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5882 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5883 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5884 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5885 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5886 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5887 (todo-filter-top-priorities-multifile, todo-find-archive)
5888 (todo-find-filtered-items-file, todo-go-to-source-item)
5889 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5890 (todo-jump-to-archive-category, todo-lower-category)
5891 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5892 (todo-move-category, todo-move-item, todo-next-button)
5893 (todo-next-item, todo-padded-string, todo-powerset)
5894 (todo-previous-button, todo-previous-item)
5895 (todo-print-buffer-to-file, todo-raise-category)
5896 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5897 (todo-set-category-number, todo-set-item-priority)
5898 (todo-set-top-priorities-in-category)
5899 (todo-set-top-priorities-in-file, todo-show-categories-table)
5900 (todo-sort-categories-alphabetically-or-numerically)
5901 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5902 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5903 (todo-toggle-item-header, todo-toggle-item-highlighting)
5904 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5905 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5906 (todo-unarchive-items, todo-unmark-category): New commands.
5907 (todo-absolute-file-name, todo-add-to-buffer-list)
5908 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5909 (todo-basic-insert-item, todo-category-completions)
5910 (todo-category-number, todo-category-string-matcher-1)
5911 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5912 (todo-check-format, todo-clear-matches)
5913 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5914 (todo-current-category, todo-date-string-matcher)
5915 (todo-define-insertion-command, todo-diary-expired-matcher)
5916 (todo-diary-goto-entry, todo-diary-item-p)
5917 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5918 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5919 (todo-done-item-section-p, todo-done-separator)
5920 (todo-done-string-matcher, todo-files, todo-filter-items)
5921 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5922 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5923 (todo-insert-category-line, todo-insert-item-from-calendar)
5924 (todo-insert-sort-button, todo-insert-with-overlays)
5925 (todo-insertion-command-name, todo-insertion-key-bindings)
5926 (todo-label-to-key, todo-longest-category-name-length)
5927 (todo-make-categories-list, todo-mode-external-set)
5928 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5929 (todo-modes-set-3, todo-multiple-filter-files)
5930 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5931 (todo-read-category, todo-read-date, todo-read-dayname)
5932 (todo-read-file-name, todo-read-time)
5933 (todo-reevaluate-category-completions-files-defcustom)
5934 (todo-reevaluate-default-file-defcustom)
5935 (todo-reevaluate-filelist-defcustoms)
5936 (todo-reevaluate-filter-files-defcustom)
5937 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5938 (todo-reset-done-separator, todo-reset-done-separator-string)
5939 (todo-reset-done-string, todo-reset-global-current-todo-file)
5940 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5941 (todo-reset-prefix, todo-set-categories)
5942 (todo-set-date-from-calendar, todo-set-show-current-file)
5943 (todo-set-top-priorities, todo-short-file-name)
5944 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5945 (todo-total-item-counts, todo-update-buffer-list)
5946 (todo-update-categories-display, todo-update-categories-sexp)
5947 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5948 New functions.
5949 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5950 New major modes.
5951 (todo-categories, todo-display, todo-edit, todo-faces)
5952 (todo-filtered): New defgroups.
5953 (todo-archived-only, todo-button, todo-category-string, todo-date)
5954 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5955 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5956 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5957 (todo-add-item-if-new-category, todo-always-add-time-string)
5958 (todo-categories-align, todo-categories-archived-label)
5959 (todo-categories-category-label, todo-categories-diary-label)
5960 (todo-categories-done-label, todo-categories-number-separator)
5961 (todo-categories-todo-label, todo-categories-totals-label)
5962 (todo-category-completions-files, todo-completion-ignore-case)
5963 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5964 (todo-done-separator-string, todo-done-string)
5965 (todo-files-function, todo-filter-done-items, todo-filter-files)
5966 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5967 (todo-initial-category, todo-initial-file, todo-item-mark)
5968 (todo-legacy-date-time-regexp, todo-mode-line-function)
5969 (todo-nondiary-marker, todo-number-prefix)
5970 (todo-print-buffer-function, todo-show-current-file)
5971 (todo-show-done-only, todo-show-first, todo-show-with-done)
5972 (todo-skip-archived-categories, todo-top-priorities-overrides)
5973 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5974 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5975 New defcustoms.
5976 (todo-category-done, todo-date-pattern, todo-date-string-start)
5977 (todo-diary-items-buffer, todo-done-string-start)
5978 (todo-filtered-items-buffer, todo-item-start)
5979 (todo-month-abbrev-array, todo-month-name-array)
5980 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5981 (todo-top-priorities-buffer): New defconsts.
5982 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5983 (todo-categories-with-marks, todo-category-string-face)
5984 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5985 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5986 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5987 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5988 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5989 (todo-font-lock-keywords, todo-global-current-todo-file)
5990 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5991 (todo-insertion-commands-args)
5992 (todo-insertion-commands-args-genlist)
5993 (todo-insertion-commands-names, todo-insertion-map)
5994 (todo-key-bindings-t, todo-key-bindings-t+a)
5995 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5996 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5997 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5998 (todo-visited): New variables.
5999
6000 2013-06-21 Glenn Morris <rgm@gnu.org>
6001
6002 * play/cookie1.el (cookie-apropos): Add optional display argument.
6003 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6004 (psychoanalyze-pinhead): Use cookie-doctor.
6005
6006 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6007
6008 * emacs-lisp/package.el (tar-get-file-descriptor)
6009 (tar--extract): Declare.
6010
6011 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6012
6013 Extend flymake's warning predicate to be a function (bug#14217).
6014 * progmodes/flymake.el (flymake-warning-predicate): New.
6015 (flymake-parse-line): Use it.
6016 (flymake-warning-re): Make obsolete alias to
6017 `flymake-warning-predicate'.
6018
6019 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6022 (package-obsolete-list): Remove.
6023 (package-activate): Remove min-version argument. Add `force' argument.
6024 Adjust to new package-alist format.
6025 (package-mark-obsolete): Remove.
6026 (package-unpack): Force reload of the package's autoloads.
6027 (package-installed-p): Check builtins if the installed package is not
6028 recent enough.
6029 (package-initialize): Don't reset package-obsolete-list.
6030 Don't specify which package version to activate.
6031 (package-process-define-package, describe-package-1)
6032 (package-menu--generate): Adjust to new package-alist format.
6033
6034 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6035
6036 * allout-widgets.el (allout-widgets-mode-off)
6037 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6038 (allout-widgets-post-command-business)
6039 (allout-widgets-after-copy-or-kill-function)
6040 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6041 (allout-decorate-item-and-context)
6042 (allout-graphics-modification-handler): Fix typos in docstrings.
6043 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6044
6045 * cmuscheme.el (scheme-start-file): Doc fix.
6046 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6047 (scheme-input-filter): Use `string-match-p'.
6048
6049 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6050
6051 * dired-x.el: Use Dired consistently in docstrings.
6052
6053 * dired.el: Use Dired consistently in docstrings.
6054 (dired-readin, dired-mode): Use `setq-local'.
6055 (dired-switches-alist): Make defvar-local.
6056 (dired-buffers-for-dir): Use `zerop'.
6057 (dired-safe-switches-p, dired-switches-escape-p)
6058 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6059 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6060 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6061 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6062 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6063 (dired-toggle-marks, dired-mark-files-containing-regexp)
6064 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6065 (dired-flag-auto-save-files, dired-flag-backup-files):
6066 Use `looking-at-p'.
6067 (dired-mark-files-regexp, dired-build-subdir-alist):
6068 Use `string-match-p', `looking-at-p'.
6069
6070 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6071 (direct-print-region-helper): Use `string-match-p'.
6072
6073 2013-06-21 Leo Liu <sdl.web@gmail.com>
6074
6075 * comint.el (comint-redirect-results-list-from-process):
6076 Fix infinite loop.
6077
6078 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6079
6080 * net/eww.el (eww-update-header-line-format): Quote % characters.
6081
6082 2013-06-21 Glenn Morris <rgm@gnu.org>
6083
6084 * play/cookie1.el (cookie): New custom group.
6085 (cookie-file): New option.
6086 (cookie-check-file): New function.
6087 (cookie): Make it interactive. Make start and end messages optional.
6088 Interactively, display the result. Default to cookie-file.
6089 (cookie-insert): Default to cookie-file.
6090 (cookie-snarf): Make start and end messages optional.
6091 Default to cookie-file. Use with-temp-buffer.
6092 (cookie-read): Rename from read-cookie.
6093 Make start and end messages optional. Default to cookie-file.
6094 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6095 Do not autoload it.
6096 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6097 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6098
6099 2013-06-21 Leo Liu <sdl.web@gmail.com>
6100
6101 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6102
6103 2013-06-21 Glenn Morris <rgm@gnu.org>
6104
6105 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6106
6107 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6108 Daniel Hackney <dan@haxney.org>
6109
6110 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6111 Consolidate the single-file vs tarball code.
6112 (package-desc-suffix): New function.
6113 (package-desc-full-name): Don't bother inlining it.
6114 (package-load-descriptor): Return the new package-desc.
6115 (package-mark-obsolete): Remove unused arg `package'.
6116 (package-unpack): Make it work for single files as well.
6117 Make it update package-alist.
6118 (package--make-autoloads-and-stuff): Rename from
6119 package--make-autoloads-and-compile. Don't compile any more.
6120 (package--compile): New function.
6121 (package-generate-description-file): New function, extracted from
6122 package-unpack-single.
6123 (package-unpack-single): Remove.
6124 (package--with-work-buffer): Add indentation and debugging info.
6125 (package-download-single): Remove.
6126 (package-install-from-archive): Rename from package-download-tar, make
6127 it take a pkg-desc, and make it work for single files as well.
6128 (package-download-transaction): Simplify.
6129 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6130 external tar program.
6131 (package-install-from-buffer): Remove `pkg-desc' argument.
6132 Use package-tar-file-info for tar-mode buffers.
6133 (package-install-file): Simplify accordingly.
6134 (package-archive-base): Change to take a pkg-desc.
6135 * tar-mode.el (tar--check-descriptor): New function, extracted from
6136 tar-get-descriptor.
6137 (tar-get-descriptor): Use it.
6138 (tar-get-file-descriptor): New function.
6139 (tar--extract): New function, extracted from tar-extract.
6140 (tar--extract): Use it.
6141 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6142 case the summary uses non-ascii. Adjust to new calling convention of
6143 package-tar-file-info.
6144
6145 2013-06-21 Leo Liu <sdl.web@gmail.com>
6146
6147 * comint.el (comint-redirect-results-list-from-process):
6148 Fix random delay. (Bug#14681)
6149
6150 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6151
6152 * profiler.el (profiler-format-number): Use log, not log10.
6153
6154 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6155
6156 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6157
6158 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6161 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6162 yet available.
6163 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6164 (AUTOGENEL): ... here.
6165 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6166 (cl--defsubst-expand): Use it.
6167
6168 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6169
6170 * subr.el (log10): Move here from C code, and declare as obsolete.
6171 All uses of (log10 X) replaced with (log X 10).
6172
6173 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6174
6175 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6176 Declare with `defvar-local'.
6177 (tabulated-list-use-header-line, tabulated-list-entries)
6178 (tabulated-list-padding, tabulated-list-printer)
6179 (tabulated-list-sort-key): Declare with `defvar-local'.
6180 (tabulated-list-init-header, tabulated-list-print-fake-header):
6181 Use `setq-local'.
6182
6183 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6184
6185 * arc-mode.el (archive-mode): Add `archive-write-file' to
6186 `write-contents-functions' also for remote files. (Bug#14652)
6187
6188 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6189
6190 * cus-edit.el (custom-commands): Fix typos.
6191 (custom-display): Fix tooltip text.
6192 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6193 Fix typos in docstrings.
6194 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6195 (custom-unlispify-menu-entry, custom-magic-value-create)
6196 (custom-add-see-also, custom-group-value-create): Use ?\s.
6197 (custom-guess-type, customize-apropos, editable-field)
6198 (custom-face-value-create): Use `string-match-p'.
6199 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6200
6201 * custom.el (custom-load-symbol): Use `string-match-p'.
6202
6203 * ansi-color.el: Convert to lexical binding.
6204 (ansi-colors): Fix URL.
6205 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6206 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6207 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6208
6209 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6210
6211 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6212
6213 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6214
6215 2013-06-19 Tom Tromey <tromey@redhat.com>
6216
6217 * net/eww.el (eww-top-url): Remove.
6218 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6219 (eww-render): Set new variables. Don't set eww-top-url.
6220 (eww-handle-link): Handle "prev", "home", and "contents".
6221 Downcase the rel text.
6222 (eww-top-url): Choose best top URL.
6223
6224 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6225
6226 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6227 relying in widget.el. Using widget.el leads to too many
6228 user interface inconsistencies.
6229 (eww-self-insert): Implement entering commands in text fields.
6230 (eww-process-text-input): New function to make text input field editing
6231 work.
6232 (eww-submit): Rewrite to use the new-style form methods.
6233 (eww-select-display): Display the correct selected item.
6234 (eww-change-select): Implement changing the select value.
6235 (eww-toggle-checkbox): Implement radio/checkboxes.
6236 (eww-update-field): Fix compilation error.
6237 (eww-tag-textarea): Implement <textarea>.
6238
6239 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6240 we don't shadow mode-specific bindings.
6241
6242 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6243 nothing to push.
6244
6245 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6246
6247 2013-06-19 Glenn Morris <rgm@gnu.org>
6248
6249 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6250
6251 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6252
6253 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6254 not needed.
6255
6256 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6257
6258 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6259
6260 * net/browse-url.el (browse-url-browser-function):
6261 `eww-browse-url' has the right calling signature, `eww' does not.
6262
6263 2013-06-19 Glenn Morris <rgm@gnu.org>
6264
6265 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6266 Only eval autoloaded macros.
6267 (byte-compile-autoload): Only give the macro warning for macros.
6268
6269 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6270 (ps-underlined-faces): Declare.
6271
6272 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6273 (speedbar-add-supported-extension): Declare.
6274
6275 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6276 Don't include a date stamp in the header of the generated file;
6277 it leads to needless differences between output files.
6278
6279 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6280
6281 * net/secrets.el (secrets-struct-secret-content-type):
6282 Replace check of introspection data by a test call of "CreateItem".
6283 Some servers do not offer introspection.
6284
6285 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * electric.el (electric-pair-mode): Improve interaction with
6288 electric-layout-mode.
6289 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6290 (electric-pair-syntax): Use text-mode-syntax-table in comments
6291 and strings.
6292 (electric-pair--insert): New function.
6293 (electric-pair-post-self-insert-function): Use it and
6294 electric--after-char-pos.
6295
6296 2013-06-19 Leo Liu <sdl.web@gmail.com>
6297
6298 * progmodes/octave.el (octave-help): Fix regexp.
6299
6300 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6301
6302 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6303 (shr-table-horizontal-line): Allow nil as a value, and change the
6304 default.
6305 (shr-insert-table-ruler): Respect the nil value.
6306
6307 2013-06-18 Tom Tromey <tromey@barimba>
6308
6309 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6310 New defvars.
6311 (eww-open-file): New defun.
6312 (eww-render): Initialize new variables.
6313 (eww-display-html): Handle "link" and "a".
6314 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6315 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6316 (eww-back-url): Rename from eww-previous-url.
6317 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6318 New defuns.
6319
6320 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6321
6322 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6323 Distinguish ternary operator tokens from slash symbol and slash
6324 char literal.
6325
6326 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6327
6328 Convert symbol prettification into minor mode and global minor mode.
6329
6330 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6331 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6332 (prettify-symbols--keywords): Rename from
6333 `prog-prettify-symbols-alist' and make a local defvar.
6334 (prettify-symbols--compose-symbol): Rename from
6335 `prog--prettify-font-lock-compose-symbol'.
6336 (prettify-symbols--make-keywords): Rename from
6337 `prog-prettify-font-lock-symbols-keywords' and simplify.
6338 (prog-prettify-install): Remove.
6339 (prettify-symbols-mode): New minor mode, based on
6340 `prog-prettify-install'.
6341 (turn-on-prettify-symbols-mode): New function.
6342 (global-prettify-symbols-mode): New globalized minor mode.
6343
6344 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6345 * progmodes/cfengine.el (cfengine3-mode):
6346 * progmodes/perl-mode.el (perl-mode): Don't call
6347 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6348
6349 2013-06-18 Juri Linkov <juri@jurta.org>
6350
6351 * files-x.el (modify-file-local-variable-message): New function.
6352 (modify-file-local-variable)
6353 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6354 and call `modify-file-local-variable-message' when it's non-nil.
6355 (add-file-local-variable, delete-file-local-variable)
6356 (add-file-local-variable-prop-line)
6357 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6358 and use it. (Bug#9820)
6359
6360 2013-06-18 Juri Linkov <juri@jurta.org>
6361
6362 * emulation/vi.el (vi-shell-op):
6363 * emulation/vip.el (vip-execute-com, ex-command):
6364 * emulation/viper-cmd.el (viper-exec-bang):
6365 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6366 the call of `shell-command-on-region'. (Bug#14637)
6367
6368 * simple.el (shell-command-on-region): Doc fix.
6369
6370 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6373 (bug#14633).
6374
6375 2013-06-18 Glenn Morris <rgm@gnu.org>
6376
6377 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6378
6379 * newcomment.el (comment-search-forward, comment-search-backward):
6380 Doc fix. (Bug#14376)
6381
6382 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6383
6384 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6385 (buffer-face-mode-invoke): Doc fix.
6386
6387 2013-06-18 Matthias Meulien <orontee@gmail.com>
6388
6389 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6390 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6391
6392 2013-06-18 Glenn Morris <rgm@gnu.org>
6393
6394 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6395 Replace obsolete function generic-make-keywords with its expansion.
6396
6397 * progmodes/python.el (ffap-alist): Declare.
6398
6399 * textmodes/reftex.el (bibtex-mode-map): Declare.
6400
6401 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6404 (package-unpack, package-unpack-single): Return the pkg-dir.
6405 (package-download-transaction): Use it to update package-alist.
6406
6407 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6408
6409 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6410 possible choice.
6411
6412 2013-06-17 Juri Linkov <juri@jurta.org>
6413
6414 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6415
6416 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6417
6418 * emacs-lisp/package.el (package-load-descriptor):
6419 Remove `with-syntax-table' call, `read' doesn't need it.
6420 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6421
6422 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6423
6424 * startup.el (command-line): Expand package name returned by
6425 `package--description-file' (bug#14639).
6426
6427 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6428
6429 * emacs-lisp/package.el (package-load-descriptor): Do not call
6430 `emacs-lisp-mode', just use its syntax table.
6431
6432 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6433
6434 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6435 `font-lock-extra-managed-props' if any prettifying keyword is added.
6436 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6437 (prog-mode): Use `setq-local'.
6438
6439 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6440
6441 * international/characters.el (standard-case-table): Set syntax of ?»
6442 and ?« to punctuation.
6443
6444 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6445
6446 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6447 Save relevant match data before calling `syntax-ppss' (bug#14595).
6448
6449 2013-06-15 Juri Linkov <juri@jurta.org>
6450
6451 * files-x.el (modify-file-local-variable-prop-line): Add local
6452 variables to the end of the existing comment on the first line.
6453 Use `file-auto-mode-skip' to skip interpreter magic line,
6454 and also skip XML declaration.
6455
6456 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * startup.el (package--builtin-versions): New var.
6459 (package-subdirectory-regexp): Remove.
6460 (package--description-file): Hard code its value instead.
6461
6462 * emacs-lisp/package.el: Don't activate packages older than builtin.
6463 (package-obsolete-list): Rename from package-obsolete-alist, and make
6464 it into a simple list of package-desc.
6465 (package-strip-version): Remove.
6466 (package-built-in-p): Use package--builtin-versions.
6467 (package-mark-obsolete): Simplify.
6468 (package-process-define-package): Mark it obsolete if older than the
6469 builtin version.
6470 (package-handle-response): Use line-end-position.
6471 (package-read-archive-contents, package--download-one-archive):
6472 Simplify.
6473 (package--add-to-archive-contents): Skip if older than the builtin or
6474 installed version.
6475 (package-menu-describe-package): Fix last change.
6476 (package-list-unversioned): New var.
6477 (package-menu--generate): Use it.
6478
6479 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6480 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6481 (autoload-builtin-package-versions): New variable.
6482 (autoload-generate-file-autoloads): Use them.
6483 Remove the list of autoloaded functions/macros from the
6484 (autoload...) comments.
6485
6486 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6487
6488 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6489
6490 * simple.el (line-move-partial): Don't jump to the next screen
6491 line as soon as it becomes visible. Instead, continue enlarging
6492 the vscroll until the portion of a tall screen line that's left on
6493 display is about the height of the frame's default font.
6494 (Bug#14567)
6495
6496 2013-06-15 Glenn Morris <rgm@gnu.org>
6497
6498 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6499 compilation-error-regexp-alist void, or local while let-bound.
6500
6501 * progmodes/make-mode.el (makefile-mode-syntax-table):
6502 Treat "=" as punctuation. (Bug#14614)
6503
6504 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6505
6506 * help-fns.el (describe-variable):
6507 Add extra line for permanent-local variables.
6508
6509 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6510
6511 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6512 Add export, import, library. (Bug#9164)
6513 (library): Set indent function.
6514
6515 2013-06-14 Glenn Morris <rgm@gnu.org>
6516
6517 * term/xterm.el (xterm--query):
6518 Stop after first matching handler. (Bug#14615)
6519
6520 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6521
6522 Add support for dired in saveplace.
6523 * dired.el (dired-initial-position-hook): New variable.
6524 (dired-initial-position): Call hook to place cursor position.
6525 * saveplace.el (save-place-to-alist): Add dired position.
6526 (save-place-dired-hook): New function.
6527
6528 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6531 through a symbol rather than letrec.
6532
6533 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6534 (package-desc): Add `dir' field.
6535 (package-desc-full-name): New function.
6536 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6537 (package-maybe-load-descriptor): Remove.
6538 (package-load-all-descriptors): Just call package-load-descriptor.
6539 (package--disabled-p): New function.
6540 (package-desc-vers, package-desc-doc): Remove aliases.
6541 (package--dir): Remove function.
6542 (package-activate): Check if a package is disabled.
6543 (package-process-define-package): New function, extracted from
6544 define-package.
6545 (define-package): Turn into a place holder.
6546 (package-unpack-single, package-tar-file-info):
6547 Use package--description-file.
6548 (package-compute-transaction): Use package--disabled-p.
6549 (package-download-transaction): Don't call
6550 package-maybe-load-descriptor since they're all loaded anyway.
6551 (package-install): Change argument to be a pkg-desc.
6552 (package-delete): Use a single pkg-desc argument.
6553 (describe-package-1): Use package-desc-dir instead of package--dir.
6554 Use package-desc property instead of package-symbol.
6555 (package-install-button-action): Adjust accordingly.
6556 (package--push): Rewrite.
6557 (package-menu--print-info): Adjust accordingly. Change the ID format
6558 to be a pkg-desc.
6559 (package-menu-describe-package, package-menu-get-status)
6560 (package-menu--find-upgrades, package-menu-mark-upgrades)
6561 (package-menu-execute, package-menu--name-predicate):
6562 Adjust accordingly.
6563 * startup.el (package--description-file): New function.
6564 (command-line): Use it.
6565 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6566 Use package-desc-version.
6567
6568 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6569 (byte-compile-preprocess): Use it.
6570 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6571 can't quite recognize.
6572 (byte-compile-add-to-list): Remove.
6573 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6574 (cconv-closure-convert): Add assertion.
6575
6576 * emacs-lisp/map-ynp.el: Use lexical-binding.
6577 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6578 Factor out some repeated code.
6579
6580 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * subr.el (with-eval-after-load): New macro.
6583 (eval-after-load): Allow form to be a function.
6584 take advantage of lexical-binding.
6585 (do-after-load-evaluation): Use dolist and adjust to new format.
6586 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6587
6588 2013-06-13 Juri Linkov <juri@jurta.org>
6589
6590 * replace.el (perform-replace): Display "symbol " and other search
6591 modes from `isearch-message-prefix' in the *Help* buffer.
6592
6593 * isearch.el (isearch-query-replace): Add " symbol" and other
6594 possible search modes from `isearch-message-prefix' to the prompt.
6595 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6596 when reading a regexp to collect.
6597
6598 2013-06-13 Juri Linkov <juri@jurta.org>
6599
6600 * isearch.el (word-search-regexp): Match whitespace if the search
6601 string begins or ends in whitespace. The LAX arg is applied to
6602 both ends of the search string. Use `regexp-quote' and explicit
6603 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6604 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6605 boundaries are replaced with symbol boundaries, and characters
6606 between symbols match non-word non-symbol syntax. (Bug#14602)
6607
6608 2013-06-13 Juri Linkov <juri@jurta.org>
6609
6610 * isearch.el (isearch-del-char): Don't exceed the length of
6611 `isearch-string' by the prefix arg. (Bug#14563)
6612
6613 2013-06-13 Juri Linkov <juri@jurta.org>
6614
6615 * isearch.el (isearch-yank-word, isearch-yank-line)
6616 (isearch-char-by-name, isearch-quote-char)
6617 (isearch-printing-char, isearch-process-search-char):
6618 Add optional count prefix arg. (Bug#14563)
6619
6620 * international/isearch-x.el
6621 (isearch-process-search-multibyte-characters):
6622 Add optional count prefix arg.
6623
6624 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6627 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6628 lexical-binding.
6629
6630 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6631
6632 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6633
6634 2013-06-13 Glenn Morris <rgm@gnu.org>
6635
6636 * startup.el (tty-handle-args):
6637 Don't just discard "--" and anything after. (Bug#14608)
6638
6639 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6640
6641 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6642
6643 Implement changes in Secret Service API. Make it backward compatible.
6644 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6645 (secrets-create-item): Use it. Prefix properties with interface.
6646
6647 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6648
6649 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6650 (term-emulate-terminal): Respect term-suppress-hard-newline.
6651
6652 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6653
6654 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6655 Only remove a `thumb-file' overlay. (Bug#14548)
6656
6657 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6658
6659 * mail/reporter.el (reporter-submit-bug-report):
6660 Handle missing package-name. (Bug#14600)
6661
6662 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6663
6664 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6665 (reftex-citation-prompt, reftex-default-bibliography)
6666 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6667 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6668 (reftex-bib-sort-author, reftex-bib-sort-year)
6669 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6670 (reftex-extract-bib-entries-from-thebibliography)
6671 (reftex-get-bibkey-default, reftex-get-bib-names)
6672 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6673 (reftex-format-bib-entry, reftex-parse-bibitem)
6674 (reftex-format-bibitem, reftex-do-citation)
6675 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6676 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6677 (reftex-insert-bib-matches, reftex-format-citation)
6678 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6679 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6680 existing comments into docstrings.
6681
6682 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6683
6684 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6685
6686 2013-06-12 Andreas Schwab <schwab@suse.de>
6687
6688 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6689 for auto-save files.
6690
6691 2013-06-12 Glenn Morris <rgm@gnu.org>
6692
6693 * ido.el (ido-delete-ignored-files): Remove.
6694 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6695 Go back to calling ido-ignore-item-p directly.
6696
6697 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6698
6699 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6700
6701 * ido.el (ido-delete-ignored-files): New function,
6702 split from ido-make-file-list-1.
6703 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6704 (ido-make-file-list-1): Use ido-delete-ignored-files.
6705
6706 2013-06-12 Leo Liu <sdl.web@gmail.com>
6707
6708 * progmodes/octave.el (inferior-octave-startup)
6709 (inferior-octave-completion-table)
6710 (inferior-octave-track-window-width-change)
6711 (octave-eldoc-function-signatures, octave-help)
6712 (octave-find-definition): Use single quoted strings.
6713 (inferior-octave-startup-args): Change default value.
6714 (inferior-octave-startup): Do not hard code "-i" and
6715 "--no-line-editing".
6716 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6717 (inferior-octave-directory-tracker): Use it.
6718 (octave-goto-function-definition): Robustify.
6719 (octave-help): Support highlighting operators in 'See also'.
6720 (octave-find-definition): Find subfunctions only in Octave mode.
6721
6722 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6723
6724 * help-fns.el (help-fns--compiler-macro): If the handler function is
6725 named, then put a link to it.
6726 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6727 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6728 (cl-typep): Use it.
6729 (cl-eval-when): Simplify debug spec.
6730 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6731 compiler-macro function instead of setting `compiler-macro-file'.
6732
6733 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6734
6735 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6736 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6737
6738 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6739 Daniel Hackney <dan@haxney.org>
6740
6741 First part of Daniel Hackney's patch to package.el.
6742 * emacs-lisp/package.el: Use defstruct.
6743 (package-desc): New, main struct.
6744 (package--bi-desc, package--ac-desc): New structs, used to describe the
6745 format in external files.
6746 (package-desc-vers): Replace with package-desc-version accessor.
6747 (package-desc-doc): Replace with package-desc-summary accessor.
6748 (package-activate-1): Remove `package' arg since the pkg-vec now
6749 includes the name.
6750 (define-package): Use package-desc-from-define.
6751 (package-unpack-single): Change file-name arg to be a symbol.
6752 (package--add-to-archive-contents): Use package-desc-create and new
6753 accessor functions to package--ac-desc.
6754 (package-buffer-info, package-tar-file-info): Return a package-desc.
6755 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6756 arg to be a package-desc.
6757 (package-install-file): Adjust accordingly. Use \' to match EOS.
6758 (package--from-builtin): New function.
6759 (describe-package-1, package-menu--generate): Use it.
6760 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6761 (package-generate-autoloads): Idem and return the name of the file.
6762 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6763 Change pkg-info arg to be a package-desc.
6764 Use package-make-ac-desc.
6765 (package-upload-file): Use \' to match EOS.
6766 * finder.el (finder-compile-keywords): Use package-make-builtin.
6767
6768 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * vc/vc.el (vc-deduce-fileset): Change error message.
6771 (vc-read-backend): New function.
6772 (vc-next-action): Use it.
6773
6774 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6775
6776 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6777 (prolog-font-lock-keywords): Use regexp-opt instead.
6778 Don't manually highlight strings.
6779 (prolog-mode-variables): Simplify comment-start-skip.
6780 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6781
6782 * emacs-lisp/generic.el (generic--normalise-comments)
6783 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6784 (generic-mode-set-comments): Use them.
6785 (generic-bracket-support): Use setq-local.
6786 (generic-make-keywords-list): Declare obsolete.
6787
6788 2013-06-11 Glenn Morris <rgm@gnu.org>
6789
6790 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6791 Prettify after setting font-lock-defaults. (Bug#14574)
6792
6793 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6794
6795 * replace.el (query-replace, occur-read-regexp-defaults-function)
6796 (replace-search):
6797 * subr.el (declare-function, number-sequence, local-set-key)
6798 (substitute-key-definition, locate-user-emacs-file)
6799 (with-silent-modifications, split-string, eval-after-load):
6800 Fix typos, remove unneeded backslashes and reflow some docstrings.
6801
6802 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6805 default for Elisp files.
6806
6807 2013-06-11 Glenn Morris <rgm@gnu.org>
6808
6809 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6810 although define-derived-mode was doing this anyway. (Bug#14583)
6811
6812 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6813
6814 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6815 Fix make-variable-buffer-local call to refer to the correct variable.
6816
6817 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6818
6819 * eshell/em-term.el (eshell-visual-commands)
6820 (eshell-visual-subcommands, eshell-visual-options):
6821 Add summary line to docstrings. Add cross-references.
6822
6823 2013-06-10 Glenn Morris <rgm@gnu.org>
6824
6825 * epa.el (epa-read-file-name): New function. (Bug#14510)
6826 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6827
6828 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6829
6830 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6831 output redirection to be ignored with visual commands.
6832
6833 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6834
6835 * eshell/em-term.el (eshell-visual-command-p): New function.
6836 (eshell-term-initialize): Move long lambda to separate function
6837 eshell-visual-command-p.
6838 * eshell/em-dirs.el (eshell-dirs-initialise):
6839 * eshell/em-script.el (eshell-script-initialize):
6840 Add missing #' to lambda.
6841
6842 2013-06-08 Leo Liu <sdl.web@gmail.com>
6843
6844 * progmodes/octave.el (octave-add-log-current-defun): New function.
6845 (octave-mode): Set add-log-current-defun-function.
6846 (octave-goto-function-definition): Do not move point if not found.
6847 (octave-find-definition): Enhance to try subfunctions first.
6848
6849 2013-06-08 Glenn Morris <rgm@gnu.org>
6850
6851 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6852 (byte-compile-backward-char, byte-compile-backward-word):
6853 Improve previous change, to handle non-explicit nil.
6854
6855 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6858 (smie--opener/closer-at-point): New function.
6859 (smie--matching-block-data): Use it. Don't match from right after an
6860 opener or right before a closer. Obey smie-blink-matching-inners.
6861 Don't signal a mismatch for repeated inners like "switch..case..case".
6862
6863 2013-06-07 Leo Liu <sdl.web@gmail.com>
6864
6865 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6866 to t. (Bug#14303)
6867 (octave-function-header-regexp): Fix. (Bug#14570)
6868 (octave-help-mode-finish-hook, octave-help-mode-finish):
6869 Remove. Just use temp-buffer-show-hook.
6870
6871 * newcomment.el (comment-search-backward): Revert last change.
6872 (Bug#14434)
6873
6874 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6875
6876 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6877
6878 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6879 through xargs, to avoid failure due to MS-Windows limitations on
6880 command-line length.
6881
6882 2013-06-06 Glenn Morris <rgm@gnu.org>
6883
6884 * font-lock.el (lisp-font-lock-keywords-2):
6885 Treat user-error like error.
6886
6887 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6888 (byte-compile-backward-char, byte-compile-backward-word):
6889 Handle explicit nil arguments. (Bug#14565)
6890
6891 2013-06-05 Alan Mackenzie <acm@muc.de>
6892
6893 * isearch.el (isearch-allow-prefix): New user option.
6894 (isearch-other-meta-char): Don't exit isearch when a prefix
6895 argument is typed whilst `isearch-allow-prefix' is non-nil.
6896 (Bug#9706)
6897
6898 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6899
6900 * autorevert.el (auto-revert-notify-handler): Use memq.
6901 Hide assertion failure.
6902
6903 * skeleton.el: Use cl-lib.
6904 (skeleton-further-elements): Use defvar-local.
6905 (skeleton-insert): Use cl-progv.
6906
6907 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6908
6909 * progmodes/prog-mode.el (prog-prettify-symbols)
6910 (prog-prettify-install): Update docstrings.
6911
6912 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * simple.el: Move all the prog-mode code to prog-mode.el.
6915 * progmodes/prog-mode.el: New file.
6916 * loadup.el: Add prog-mode.el.
6917
6918 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6919
6920 * simple.el (prog-prettify-symbols): Add version.
6921 (prog-prettify-install): Add convenience function to prettify symbols.
6922
6923 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6924 (perl--augmented-font-lock-keywords-1)
6925 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6926 variables and use it.
6927
6928 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6929 (cfengine3-mode): Remove unneeded variable and use it.
6930
6931 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6932 (lisp--augmented-font-lock-keywords-1)
6933 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6934 Remove unneeded variables and use it.
6935
6936 2013-06-05 João Távora <joaotavora@gmail.com>
6937
6938 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6939 to point when opening the connection. (Bug#14380)
6940
6941 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * subr.el (load-history-regexp, load-history-filename-element)
6944 (eval-after-load, after-load-functions, do-after-load-evaluation)
6945 (eval-next-after-load, display-delayed-warnings)
6946 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6947 definition of save-match-data.
6948 (overriding-local-map): Remove accidental obsolescence declaration.
6949
6950 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6951
6952 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6953
6954 Generalize symbol prettify support to prog-mode and implement it
6955 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6956 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6957 (prog--prettify-font-lock-compose-symbol)
6958 (prog-prettify-font-lock-symbols-keywords): New variables and
6959 functions to support symbol prettification.
6960 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6961 (lisp--augmented-font-lock-keywords-1)
6962 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6963 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6964 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6965 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6966 Implement prettify of -> => :: strings.
6967 * progmodes/perl-mode.el (perl-prettify-symbols)
6968 (perl--font-lock-compose-symbol)
6969 (perl--font-lock-symbols-keywords): Move to prog-mode.
6970 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6971 (perl-font-lock-keywords-1)
6972 (perl-font-lock-keywords-2): Remove explicit prettify support.
6973 (perl--augmented-font-lock-keywords)
6974 (perl--augmented-font-lock-keywords-1)
6975 (perl--augmented-font-lock-keywords-2, perl-mode):
6976 Implement prettify support.
6977
6978 2013-06-05 Leo Liu <sdl.web@gmail.com>
6979
6980 Re-implement smie matching block highlight using
6981 show-paren-data-function. (Bug#14395)
6982 * emacs-lisp/smie.el (smie-matching-block-highlight)
6983 (smie--highlight-matching-block-overlay)
6984 (smie--highlight-matching-block-lastpos)
6985 (smie-highlight-matching-block)
6986 (smie-highlight-matching-block-mode): Remove.
6987 (smie--matching-block-data-cache): New variable.
6988 (smie--matching-block-data): New function.
6989 (smie-setup): Use smie--matching-block-data for
6990 show-paren-data-function.
6991
6992 * progmodes/octave.el (octave-mode-menu): Fix.
6993 (octave-find-definition): Skip garbage lines.
6994
6995 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 Fix compilation error with simultaneous dynamic+lexical scoping.
6998 Add warning when a defvar appears after the first let-binding.
6999 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7000 (byte-compile-close-variables): Initialize it.
7001 (byte-compile--declare-var): New function.
7002 (byte-compile-file-form-defvar)
7003 (byte-compile-file-form-define-abbrev-table)
7004 (byte-compile-file-form-custom-declare-variable): Use it.
7005 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7006 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7007 (byte-compile-bind): Handle dynamic bindings that shadow
7008 lexical bindings.
7009 (byte-compile-unbind): Make arg non-optional.
7010 (byte-compile-let): Simplify.
7011 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7012 (cconv--analyse-function, cconv-analyse-form): Populate it.
7013 Protect byte-compile-bound-variables to limit the scope of defvars.
7014 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7015 Remove unneeded rule for `declare'.
7016
7017 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7018 so as to avoid depending on cl-adjoin at run-time.
7019 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7020
7021 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7022 (macroexp--warn-and-return): Use it.
7023
7024 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * lisp/subr.el: Convert to lexical binding.
7027 (overriding-local-map): Make obsolete.
7028 (add-to-list): Doc fix. Add compiler macro.
7029 (read-key): Swap values of local maps.
7030
7031 2013-06-05 Leo Liu <sdl.web@gmail.com>
7032
7033 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7034
7035 2013-06-04 Leo Liu <sdl.web@gmail.com>
7036
7037 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7038 (compilation-auto-jump): Suppress the "Mark set" message to give
7039 way to exit message.
7040
7041 2013-06-04 Alan Mackenzie <acm@muc.de>
7042
7043 Remove faulty optimisation from indentation calculation.
7044 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7045 search limit based on 2000 characters back from indent-point.
7046
7047 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7048
7049 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7050
7051 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7052
7053 * emacs-lisp/lisp.el: Use lexical-binding.
7054 (lisp--local-variables-1, lisp--local-variables): New functions.
7055 (lisp--local-variables-completion-table): New var.
7056 (lisp-completion-at-point): Use it complete let-bound vars.
7057
7058 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7059 eagerly (bug#14422).
7060
7061 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7062
7063 * autorevert.el (auto-revert-notify-enabled)
7064 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7065 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7066 (auto-revert-notify-handler): Handle also gfilenotify.
7067
7068 * subr.el (file-notify-handle-event): New defun. Replacing ...
7069 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7070 Remove.
7071
7072 2013-06-03 Juri Linkov <juri@jurta.org>
7073
7074 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7075 `M-s h .'. (Bug#14427)
7076
7077 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7078 command `hi-lock-face-symbol-at-point'.
7079 (hi-lock-face-symbol-at-point): New command.
7080 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7081 (hi-lock-menu): Add `highlight-symbol-at-point'.
7082 (hi-lock-mode): Doc fix.
7083
7084 * isearch.el (isearch-forward-symbol-at-point): New command.
7085 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7086 (isearch-highlight-regexp): Add a regexp which matches
7087 words/symbols for word/symbol mode.
7088
7089 * subr.el (find-tag-default-bounds): New function with the body
7090 mostly moved from `find-tag-default'.
7091 (find-tag-default): Move most code to `find-tag-default-bounds',
7092 call it and apply `buffer-substring-no-properties' afterwards.
7093
7094 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7095
7096 * eshell/em-term.el (eshell-term-initialize):
7097 Use `cl-intersection' rather than `intersection'.
7098
7099 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7100
7101 * vc/log-view.el: Doc fix.
7102 (log-view-mode-map): Copy keymap from `special-mode-map'.
7103
7104 2013-06-02 Eric Ludlam <zappo@gnu.org>
7105
7106 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7107 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7108 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7109 (eieio-unbound, eieio-default-superclass)
7110 (eieio--define-field-accessors, method-static, method-before)
7111 (method-primary, method-after, method-num-lists)
7112 (method-generic-before, method-generic-primary)
7113 (method-generic-after, method-num-slots)
7114 (eieio-specialized-key-to-generic-key)
7115 (eieio--check-type, class-v, class-p)
7116 (eieio-class-name, define-obsolete-function-alias)
7117 (eieio-class-parents-fast, eieio-class-children-fast)
7118 (same-class-fast-p, class-constructor, generic-p)
7119 (generic-primary-only-p, generic-primary-only-one-p)
7120 (class-option-assoc, class-option, eieio-object-p)
7121 (class-abstract-p, class-method-invocation-order)
7122 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7123 (eieio-class-un-autoload, eieio-defclass)
7124 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7125 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7126 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7127 (eieio-defgeneric-reset-generic-form)
7128 (eieio-defgeneric-form-primary-only)
7129 (eieio-defgeneric-reset-generic-form-primary-only)
7130 (eieio-defgeneric-form-primary-only-one)
7131 (eieio-defgeneric-reset-generic-form-primary-only-one)
7132 (eieio-unbind-method-implementations)
7133 (eieio--defmethod, eieio--typep)
7134 (eieio-perform-slot-validation, eieio-validate-slot-value)
7135 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7136 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7137 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7138 (eieio-slot-name-index, eieio-class-slot-name-index)
7139 (eieio-set-defaults, eieio-initarg-to-attribute)
7140 (eieio-attribute-to-initarg, eieio-c3-candidate)
7141 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7142 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7143 (eieio-class-precedence-list, eieio-generic-call-methodname)
7144 (eieio-generic-call-arglst, eieio-generic-call-key)
7145 (eieio-generic-call-next-method-list)
7146 (eieio-pre-method-execution-functions, eieio-generic-call)
7147 (eieio-generic-call-primary-only, eieiomt-method-list)
7148 (eieiomt-optimizing-obarray, eieiomt-install)
7149 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7150 (eieio-generic-form, eieio-defmethod, make-obsolete)
7151 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7152 (defclass): Remove `eval-and-compile' from macro.
7153 (call-next-method, shared-initialize): Instead of using
7154 `scoped-class' variable, use new eieio--scoped-class, and
7155 eieio--with-scoped-class.
7156 (initialize-instance): Rename local variable 'scoped-class' to
7157 'this-class' to remove ambiguitity from old global.
7158
7159 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7160 eieio.el.
7161 (eieio--scoped-class-stack): New variable.
7162 (eieio--scoped-class): New fcn.
7163 (eieio--with-scoped-class): New scoping macro.
7164 (eieio-defclass): Use pushnew instead of add-to-list.
7165 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7166 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7167 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7168 `scoped-class' variable, use new eieio--scoped-class, and
7169 eieio--with-scoped-class.
7170
7171 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7172
7173 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7174
7175 * eshell/esh-ext.el (eshell-external-command): Pass args to
7176 `eshell-find-interpreter'.
7177 (eshell-find-interpreter): Add new second parameter ARGS.
7178
7179 * eshell/em-script.el (eshell-script-initialize): Add second arg
7180 to the function added as MATCH to `eshell-interpreter-alist'.
7181
7182 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7183 the function added as MATCH to `eshell-interpreter-alist'.
7184
7185 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7186 (eshell-visual-options): New defcustom.
7187 (eshell-escape-control-x): Adapt docstring.
7188 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7189 `eshell-visual-options' in addition to `eshell-visual-commands'.
7190 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7191
7192 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7193
7194 * progmodes/python.el (python-indent-block-enders): Add break,
7195 continue and raise keywords.
7196
7197 2013-06-01 Glenn Morris <rgm@gnu.org>
7198
7199 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7200
7201 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7202 * progmodes/cc-cmds.el (delete-forward-p):
7203 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7204 * progmodes/cc-engine.el (buffer-syntactic-context):
7205 * progmodes/cc-fonts.el (face-property-instance):
7206 * progmodes/cc-mode.el (set-keymap-parents):
7207 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7208 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7209 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7210 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7211 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7212
7213 * progmodes/cc-vars.el (other): Emacs has this widget since
7214 at least 21.1, so don't (re)define it.
7215
7216 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7217 Replace the obsolete alias pcomplete-arg-quote-list.
7218
7219 2013-06-01 Leo Liu <sdl.web@gmail.com>
7220
7221 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7222 punctuation syntax.
7223 (inferior-octave-minimal-columns)
7224 (inferior-octave-last-column-width): New variables.
7225 (inferior-octave-track-window-width-change): New function.
7226 (inferior-octave-mode): Adjust column width so that Octave output,
7227 for example from 'ls', can fit into the window nicely.
7228
7229 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7230
7231 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7232 Highlight expansions inside regexp literals.
7233
7234 2013-05-31 Glenn Morris <rgm@gnu.org>
7235
7236 * obsolete/sym-comp.el (symbol-complete):
7237 Replace obsolete completion-annotate-function.
7238
7239 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7240
7241 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7242
7243 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7244 New function, checks if point is inside a literal that allows
7245 expression expansion.
7246 (ruby-syntax-propertize-expansion): Use it.
7247 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7248 around the body.
7249
7250 2013-05-30 Juri Linkov <juri@jurta.org>
7251
7252 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7253 to "\M-si".
7254 (isearch-invisible): New variable.
7255 (isearch-forward): Doc fix.
7256 (isearch-mode): Set `isearch-invisible'
7257 to the value of `search-invisible'.
7258 (isearch-toggle-case-fold): Doc fix.
7259 (isearch-toggle-invisible): New command.
7260 (isearch-query-replace): Let-bind `search-invisible'
7261 to the value of `isearch-invisible'.
7262 (isearch-search): Use `isearch-invisible' instead of
7263 `search-invisible'. Let-bind `search-invisible'
7264 to the value of `isearch-invisible'. (Bug#11378)
7265
7266 2013-05-30 Juri Linkov <juri@jurta.org>
7267
7268 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7269 call when `query-flag' is nil and `search-invisible' is non-nil.
7270 (Bug#11746)
7271
7272 2013-05-30 Glenn Morris <rgm@gnu.org>
7273
7274 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7275
7276 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7277 (cc-require): Suppress spurious "noruntime" warnings.
7278 (cc-require-when-compile): Use fboundp, for sake of compiler.
7279
7280 * progmodes/cc-mode.el: Move load of cc-vars before that of
7281 cc-langs (which in turn loads cc-vars), to quieten compiler.
7282
7283 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * paren.el: Simplify the code.
7286 (show-paren-mode): Always start the timer.
7287 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7288 (show-paren--overlay, show-paren--overlay-1): Rename from
7289 show-paren-overlay and show-paren-overlay-1, and initialize to an
7290 overlay rather than to nil.
7291 (show-paren-function): Misc cleanup and simplifications.
7292
7293 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * paren.el (show-paren-data-function): New hook.
7296 (show-paren--default): New function, extracted from show-paren-function.
7297 (show-paren-function): Use show-paren-data-function.
7298
7299 2013-05-30 Glenn Morris <rgm@gnu.org>
7300
7301 * ielm.el (ielm-map, ielm-complete-symbol):
7302 Use completion-at-point rather than obsolete functions.
7303 (inferior-emacs-lisp-mode): Doc fix.
7304 Set completion-at-point-functions, rather than
7305 comint-dynamic-complete-functions.
7306
7307 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7308 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7309 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7310
7311 * image.el (image-animated-p): Tweak definition.
7312
7313 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7314 (rlogin-process-connection-type): Tweak default. Add set-after.
7315 (rlogin-host): Doc fix.
7316 (rlogin): Tweak prompt.
7317 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7318
7319 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7320 * progmodes/tcl.el (inferior-tcl-mode-map):
7321 Use completion-at-point rather than obsolete alias.
7322
7323 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7324
7325 * minibuffer.el (read-file-name-completion-ignore-case):
7326 Move before completion--in-region, for eager macro expansion.
7327
7328 2013-05-29 Juri Linkov <juri@jurta.org>
7329
7330 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7331 for total count of matching lines. Add `global-matches' for total
7332 count of matches. Rename `matches' to `lines' for count of
7333 matching lines. Add `matches' for count of matches.
7334 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7335 to `prev-line' for line number of prev match endpt.
7336 Increment `matches' for every match. Print the number of
7337 matching lines in the header.
7338 (occur-context-lines): Rename `lines' to `curr-line'.
7339 Rename `prev-lines' to `prev-line'. (Bug#14017)
7340
7341 2013-05-29 Juri Linkov <juri@jurta.org>
7342
7343 * replace.el (perform-replace): Add `skip-read-only-count',
7344 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7345 Increment them for corresponding conditions and report the number
7346 of skipped occurrences in the final message. (Bug#11746)
7347 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7348 (replace-string, replace-regexp): Doc fix.
7349
7350 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7353
7354 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7355 prog-mode-map (bug#14504).
7356
7357 2013-05-29 Leo Liu <sdl.web@gmail.com>
7358
7359 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7360 (octave-help): Small simplification.
7361
7362 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7363 off the highlight first.
7364
7365 2013-05-29 Glenn Morris <rgm@gnu.org>
7366
7367 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7368 Handle idlwave-last-system-routine-info-cons-cell being nil.
7369
7370 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7371 (idlwave-write-paths): Simplify via with-temp-buffer.
7372
7373 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7374 * emulation/cua-rect.el: Also load cua-base at run time.
7375
7376 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7377 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7378 (cperl-imenu-on-info): Require imenu.
7379
7380 2013-05-28 Alan Mackenzie <acm@muc.de>
7381
7382 Handle "capitalised keywords" correctly.
7383 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7384
7385 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7386
7387 * eshell/em-unix.el: Add -r option to cp.
7388
7389 2013-05-28 Glenn Morris <rgm@gnu.org>
7390
7391 * vc/vc-arch.el (vc-exec-after): Declare.
7392 (vc-switches): Autoload.
7393 * vc/vc-bzr.el: No need to require vc when compiling.
7394 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7395 (vc-resynch-buffer, vc-dir-refresh): Declare.
7396 (vc-setup-buffer, vc-switches): Autoload.
7397 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7398 (vc-resynch-buffer): Declare.
7399 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7400 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7401 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7402 (grep-read-regexp, grep-read-files, grep-expand-template)
7403 (vc-dir-refresh): Declare.
7404 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7405 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7406 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7407 * vc/vc-mtn.el (vc-exec-after): Declare.
7408 (vc-switches): Autoload.
7409 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7410 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7411 (vc-file-tree-walk): Declare.
7412 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7413 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7414 (vc-tag-precondition, vc-rename-master): Autoload.
7415 * vc/vc-svn.el (vc-exec-after): Declare.
7416 (vc-switches, vc-setup-buffer): Autoload.
7417 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7418 Autoload.
7419 (vc-resynch-buffer): Declare.
7420
7421 * obsolete/fast-lock.el (byte-compile-warnings):
7422 Don't warn about obsolete features in this obsolete file.
7423
7424 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7425 Move definition before use.
7426
7427 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7428 (dun-unix-verbs): Remove dun-zippy.
7429 (dun-zippy): Remove function.
7430
7431 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7432
7433 2013-05-27 Juri Linkov <juri@jurta.org>
7434
7435 * replace.el (replace-search): New function with code moved out
7436 from `perform-replace'.
7437 (replace-highlight, replace-dehighlight): Move function definitions
7438 up closer to `replace-search'. (Bug#11746)
7439
7440 2013-05-27 Juri Linkov <juri@jurta.org>
7441
7442 * replace.el (perform-replace): Ignore invisible matches.
7443 In addition to checking `query-replace-skip-read-only', also
7444 filter out matches by calling `run-hook-with-args-until-failure'
7445 on `isearch-filter-predicates', and also check `search-invisible'
7446 for t or call `isearch-range-invisible'.
7447 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7448
7449 2013-05-27 Juri Linkov <juri@jurta.org>
7450
7451 * isearch.el (isearch-filter-predicates): Rename from
7452 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7453 (isearch-message-prefix): Display text from the property
7454 `isearch-message-prefix' of the currently active filters.
7455 (isearch-search): Don't compare `isearch-filter-predicate' with
7456 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7457 on `isearch-filter-predicates'. Also check `search-invisible' for t
7458 or call `isearch-range-invisible'.
7459 (isearch-filter-visible): Make obsolete.
7460 (isearch-lazy-highlight-search):
7461 Call `run-hook-with-args-until-failure' on
7462 `isearch-filter-predicates' and use `isearch-range-invisible'.
7463
7464 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7465 `isearch-filter-predicates' instead of `funcall'ing
7466 `isearch-filter-predicate'.
7467 (Info-mode): Set `Info-isearch-filter' to
7468 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7469
7470 * dired-aux.el (dired-isearch-filter-predicate-orig):
7471 Remove variable.
7472 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7473 (dired-isearch-filenames-end): Add and remove
7474 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7475 instead of changing the value of `isearch-filter-predicate'.
7476 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7477 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7478 Put property `isearch-message-prefix' to "filename " on
7479 `dired-isearch-filter-filenames'.
7480
7481 * wdired.el (wdired-change-to-wdired-mode):
7482 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7483 locally instead of changing `isearch-filter-predicate'.
7484 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7485
7486 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7487
7488 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7489 return the commit hash (Bug#14459). Also set the
7490 `vc-git-detached' property.
7491 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7492 (vc-git-mode-line-string): Use the same help-echo format whether
7493 in detached mode or not, because we know the actual revision now.
7494 When in detached mode, shorten the revision to 7 chars.
7495
7496 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7497
7498 * emacs-lisp/easy-mmode.el (define-minor-mode):
7499 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7500 mode hook and provide a docstring.
7501
7502 2013-05-27 Alan Mackenzie <acm@muc.de>
7503
7504 Remove spurious syntax-table text properties inserted by C-y.
7505 * progmodes/cc-mode.el (c-after-change): Also clear hard
7506 syntax-table property with value nil.
7507
7508 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7509
7510 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7511 when reading the events; the buffer layout shall not be changed.
7512
7513 2013-05-27 Leo Liu <sdl.web@gmail.com>
7514
7515 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7516 New variable.
7517 (inferior-octave-directory-tracker): Automatically re-sync
7518 default-directory.
7519 (octave-help): Improve handling of 'See also'.
7520
7521 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7522
7523 * doc-view.el: Minor naming convention tweaks.
7524 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7525
7526 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7527 even if there's no `display' property yet (bug#14435).
7528
7529 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7530
7531 * subr.el (unmsys--file-name): Rename from reveal-filename.
7532
7533 * Makefile.in (custom-deps, finder-data, autoloads)
7534 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7535 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7536 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7537
7538 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7541 error-completion on the first 2 args of condition-case (bug#14446).
7542 Don't burp at EOB.
7543
7544 2013-05-25 Leo Liu <sdl.web@gmail.com>
7545
7546 * comint.el (comint-previous-matching-input): Do not flood the
7547 *Messages* buffer with trivial messages.
7548
7549 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7550
7551 * progmodes/flymake.el (flymake-nop): Don't return a string.
7552 (flymake-set-at): Fix typo.
7553
7554 * simple.el (read--expression): New function, extracted from
7555 eval-expression. Set completion-at-point-functions (bug#14465).
7556 (eval-expression, eval-minibuffer): Use it.
7557
7558 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7559
7560 * progmodes/flymake.el (flymake-save-buffer-in-file)
7561 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7562 (flymake-selected-frame, flymake-log, flymake-ins-after)
7563 (flymake-set-at, flymake-get-buildfile-from-cache)
7564 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7565 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7566 Refine the doc string.
7567 (flymake-get-file-name-mode-and-masks): Reformat.
7568 (flymake-get-real-file-name-function): Fix a minor bug.
7569
7570 2013-05-24 Juri Linkov <juri@jurta.org>
7571
7572 * progmodes/grep.el (grep-mode-font-lock-keywords):
7573 Support =linenumber= format used by git-grep for lines with
7574 function names. (Bug#13549)
7575
7576 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7577
7578 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7579 0 after a semi-colon; it works better for smie-auto-fill.
7580 (octave--indent-new-comment-line): New function.
7581 (octave-indent-new-comment-line): Use it (indirectly).
7582 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7583 modify comment-line-break-function.
7584
7585 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7586 (smie-setup): Use add-function to set it.
7587
7588 2013-05-24 Sam Steingold <sds@gnu.org>
7589
7590 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7591 argument (before the `interactive' argument).
7592
7593 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7594
7595 * image-mode.el (image-mode-winprops): Add winprops to
7596 image-mode-winprops-alist before running
7597 image-mode-new-window-functions.
7598 * doc-view.el (doc-view-new-window-function): Don't delay
7599 doc-view-goto-page via timers (bug#14435).
7600
7601 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7602
7603 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7604 (doc-view-desktop-save-buffer): New function.
7605 (doc-view-restore-desktop-buffer): New function.
7606 (desktop-buffer-mode-handlers):
7607 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7608 handler.
7609 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7610 `desktop-save-buffer' function.
7611
7612 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7613
7614 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7615 (tramp-gvfs-file-name-handler): Raise a user error when
7616 `tramp-gvfs-enabled' is nil.
7617 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7618 Do not raise a user error when loading package. (Bug#14447)
7619
7620 * net/xesam.el: Move to obsolete/.
7621
7622 2013-05-24 Glenn Morris <rgm@gnu.org>
7623
7624 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7625
7626 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7627
7628 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7629 (Info-find-node, Man-getpage-in-background): Declare.
7630
7631 * mail/unrmail.el (unrmail):
7632 Replace obsolete detect-coding-with-priority.
7633
7634 * net/socks.el (socks-split-string): Use this rather than split-string.
7635 (socks-nslookup-host): Update for above change.
7636 (dynamic-choice, s5-dynamic-choice-match)
7637 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7638 Comment out unused code.
7639
7640 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7641 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7642 (gud-tooltip-echo-area): Make obsolete.
7643 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7644
7645 * progmodes/js.el (js--optimize-arglist): Declare.
7646
7647 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7648
7649 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7650 (ediff-window-C): Declare.
7651
7652 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7653 Tweak requires to silence compiler.
7654
7655 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7656 (he-search-string, he-tried-table, he-expand-list)
7657 (he-init-string, he-string-member, he-substitute-string)
7658 (he-reset-string): Declare.
7659
7660 * obsolete/options.el (list-options): Use custom-variable-p,
7661 rather than obsolete alias.
7662
7663 2013-05-23 Sam Steingold <sds@gnu.org>
7664
7665 * simple.el (shell-command-on-region): Pass the `replace' argument
7666 down to `call-process-region' to comply with the doc as reported on
7667 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7668
7669 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * emacs-lisp/smie.el (smie-indent-forward-token)
7672 (smie-indent-backward-token): Handle string tokens (bug#14381).
7673
7674 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7675
7676 * ielm.el (ielm-menu): New menu.
7677 (inferior-emacs-lisp-mode): Set comment-start.
7678
7679 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7680
7681 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7682 Fix deactivate action.
7683
7684 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7685 Add cleveref macros.
7686
7687 * lisp/textmodes/reftex-parse.el
7688 (reftex-locate-bibliography-files): Accept options for
7689 bibliography commands.
7690 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7691 Add addbibresource. Basic Biblatex support.
7692
7693 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7694
7695 * net/tramp-gvfs.el (top):
7696 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7697 when loading package. (Bug#14447)
7698
7699 2013-05-23 Glenn Morris <rgm@gnu.org>
7700
7701 * progmodes/js.el: No need to load comint when compiling.
7702 (ring-insert, comint-send-string, comint-send-input)
7703 (comint-last-input-end, ido-chop): Declare.
7704
7705 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7706 * vc/ediff-mult.el: Adjust requires.
7707 (ediff-directories-internal, ediff-directory-revisions-internal)
7708 (ediff-patch-file-internal): Declare.
7709 * vc/ediff-ptch.el: Adjust requires.
7710 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7711 (ediff-find-file): Autoload.
7712 * vc/ediff-util.el: No need to load ediff when compiling.
7713 (ediff-regions-internal): Declare.
7714 * vc/ediff-wind.el: Adjust requires.
7715 (ediff-compute-toolbar-width): Define when compiling.
7716 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7717 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7718 (dired-get-filename, dired-get-marked-files)
7719 (ediff-last-dir-patch, ediff-patch-default-directory)
7720 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7721 (ediff-patch-buffer-internal): Declare.
7722
7723 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7724 (ispell-process, ispell-buffer-local-words, lm-summary)
7725 (lm-section-start, lm-section-end): Declare.
7726 (checkdoc-ispell-init): Simplify.
7727
7728 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7729 (he-string-member, he-reset-string, he-substitute-string): Declare.
7730
7731 * eshell/em-ls.el: Adjust requires.
7732 (eshell-glob-regexp): Declare.
7733 * eshell/em-tramp.el: Adjust requires.
7734 (eshell-parse-command): Autoload.
7735 * eshell/em-xtra.el: Adjust requires.
7736 (eshell-parse-command): Autoload.
7737 * eshell/esh-ext.el: Adjust requires.
7738 (eshell-parse-command, eshell-close-handles): Autoload.
7739 * eshell/esh-io.el: Adjust requires.
7740 (eshell-output-filter): Autoload.
7741 * eshell/esh-util.el: No need to load tramp when compiling.
7742 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7743 Declare.
7744 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7745 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7746 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7747 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7748 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7749 * eshell/esh-opt.el, eshell/esh-proc.el:
7750 * eshell/esh-var.el: Adjust requires.
7751 * eshell/eshell.el: Do not require esh-util twice.
7752 (eshell-add-input-to-history): Declare.
7753 (eshell-command): Check history module is active before using it.
7754
7755 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7756
7757 2013-05-22 Leo Liu <sdl.web@gmail.com>
7758
7759 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7760
7761 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7762
7763 * autorevert.el (auto-revert-notify-add-watch)
7764 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7765 it indicates changes in file modification time.
7766
7767 2013-05-22 Glenn Morris <rgm@gnu.org>
7768
7769 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7770 Always delete the autoloaded function from the noruntime and
7771 unresolved functions lists.
7772
7773 * allout.el: No need to load epa, epg, overlay when compiling.
7774 (epg-context-set-passphrase-callback, epg-list-keys)
7775 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7776 (epg-key-user-id-list): Declare.
7777
7778 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7779 (viper-set-parsing-style-toggling-macro)
7780 (viper-set-emacs-state-searchstyle-macros):
7781 Use called-interactively-p on Emacs.
7782 (viper-looking-back): Make it an obsolete alias. Update callers.
7783 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7784 Use looking-back rather than viper-looking-back.
7785 (viper-tmp-insert-at-eob, viper-enlarge-region)
7786 (viper-read-string-with-history, viper-register-to-point)
7787 (viper-append-to-register, viper-change-state-to-vi)
7788 (viper-backward-char-carefully, viper-forward-char-carefully)
7789 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7790 (viper-change-state-to-emacs): Declare.
7791 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7792 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7793 * emulation/viper-mous.el: Do not load viper-cmd.
7794 (viper-backward-char-carefully, viper-forward-char-carefully)
7795 (viper-forward-word, viper-adjust-window): Declare.
7796
7797 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7798
7799 * progmodes/idlw-help.el (idlwave-help-fontify):
7800 Use called-interactively-p.
7801
7802 * term/w32console.el (w32-get-console-codepage)
7803 (w32-get-console-output-codepage): Declare.
7804
7805 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7806 Remove unnecessary declarations.
7807 (dframe-message): Doc fix.
7808
7809 * info.el (dframe-select-attached-frame, dframe-current-frame):
7810 Declare.
7811
7812 * speedbar.el (speedbar-message): Make it an obsolete alias.
7813 Update all callers.
7814 (speedbar-with-attached-buffer)
7815 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7816 (speedbar-with-writable): Use backquote.
7817 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7818 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7819 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7820 rather than speedbar- aliases.
7821 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7822 (speedbar-make-specialized-keymap, speedbar-insert-button)
7823 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7824 (speedbar-do-function-pointer): Declare.
7825 (rmail-speedbar-button, rmail-speedbar-find-file)
7826 (rmail-speedbar-move-message):
7827 Use dframe-with-attached-buffer rather than speedbar- alias.
7828 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7829 (dframe-message, speedbar-make-specialized-keymap)
7830 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7831 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7832 (speedbar-insert-button, dframe-select-attached-frame)
7833 (dframe-maybee-jump-to-attached-frame)
7834 (speedbar-change-initial-expansion-list)
7835 (speedbar-previously-used-expansion-list-name): Declare.
7836 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7837 Use dframe-message, dframe-with-attached-buffer rather than
7838 speedbar- aliases.
7839 (gud-sentinel): Silence compiler.
7840 * progmodes/vhdl-mode.el (speedbar-refresh)
7841 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7842 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7843 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7844 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7845 (speedbar-file-lists, speedbar-make-tag-line)
7846 (speedbar-line-directory, speedbar-goto-this-file)
7847 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7848 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7849 (speedbar-make-button, speedbar-reset-scanners)
7850 (speedbar-files-item-info, speedbar-line-text)
7851 (speedbar-find-file-in-frame, speedbar-set-timer)
7852 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7853 (speedbar-with-writable): Do not (re)define it.
7854 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7855 rather than speedbar- alias.
7856
7857 2013-05-21 Leo Liu <sdl.web@gmail.com>
7858
7859 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7860 menu items.
7861 (octave-mode): Tweak fill-nobreak-predicate.
7862 (inferior-octave-startup): Check process to avoid infinite loop.
7863 (inferior-octave): Pop to buffer first to show abornmal process
7864 exit information.
7865
7866 2013-05-21 Glenn Morris <rgm@gnu.org>
7867
7868 * printing.el (pr-menu-bar): Define when compiling.
7869
7870 2013-05-21 Leo Liu <sdl.web@gmail.com>
7871
7872 * progmodes/octave.el (octave-auto-fill): Remove.
7873 (octave-indent-new-comment-line): Improve.
7874 (octave-mode): Use auto fill mode through
7875 comment-line-break-function and fill-nobreak-predicate.
7876 (octave-goto-function-definition): Support DEFUN_DLD.
7877 (octave-beginning-of-defun): Small tweak.
7878 (octave-help): Show parent directory.
7879
7880 2013-05-21 Glenn Morris <rgm@gnu.org>
7881
7882 * files.el (dired-unmark):
7883 * progmodes/gud.el (gdb-input): Update declarations.
7884
7885 * calculator.el (electric, ehelp): No need to load when compiling.
7886 (Electric-command-loop, electric-describe-mode): Declare.
7887
7888 * doc-view.el (doc-view-current-converter-processes): Move before use.
7889
7890 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7891 Move MODE-set-explicitly definition before use.
7892
7893 * international/mule-diag.el (mule-diag):
7894 Don't use obsolete window-system-version.
7895
7896 * mail/feedmail.el (smtpmail): No need to load when compiling.
7897 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7898
7899 * mail/mail-utils.el (rfc822): No need to load when compiling.
7900 (rfc822-addresses): Autoload it.
7901 (mail-strip-quoted-names): Trivial simplification.
7902
7903 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7904 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7905
7906 * net/snmp-mode.el (tempo): Don't duplicate requires.
7907
7908 * progmodes/prolog.el (info): No need to load when compiling.
7909 (comint): Require before shell requires it.
7910 (Info-goto-node): Autoload it.
7911 (Info-follow-nearest-node): Declare.
7912 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7913
7914 * textmodes/artist.el (picture-mode-exit): Declare.
7915
7916 * textmodes/reftex-parse.el (reftex-parse-from-file):
7917 Trivial rewrite so the compiler can parse it better.
7918
7919 2013-05-20 Leo Liu <sdl.web@gmail.com>
7920
7921 * progmodes/octave.el (octave-help-mode-map)
7922 (octave-help-mode-finish-hook): New variables.
7923 (octave-help-mode, octave-help-mode-finish): New functions.
7924 (octave-help): Use octave-help-mode.
7925
7926 2013-05-20 Glenn Morris <rgm@gnu.org>
7927
7928 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7929
7930 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7931
7932 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7933 start at point, so that expansion starting right after opening
7934 slash in a regexp is recognized.
7935 (ruby-syntax-before-regexp-re): New defvar, extracted from
7936 ruby-syntax-propertize-function. Since the value of this regexp
7937 is looked up at runtime now, we should be able to turn
7938 `ruby-syntax-methods-before-regexp' into a defcustom later.
7939 (ruby-syntax-propertize-function): Split regexp matching into two
7940 parts, for opening and closing slashes. That allows us to skip
7941 over string interpolations and support multiline regexps.
7942 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7943 for them, which calls `ruby-syntax-propertize-expansion'.
7944 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7945 call to `ruby-syntax-propertize-function'.
7946 (ruby-syntax-propertize-expansion): Extracted from
7947 `ruby-syntax-propertize-expansions'. Handles one expansion.
7948 (ruby-syntax-propertize-percent-literal): Leave point right after
7949 the percent symbol, so that the expression expansion rule can
7950 propertize the contents.
7951 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7952 heredoc openers.
7953 (ruby-syntax-propertize-expansions): Remove.
7954
7955 2013-05-18 Juri Linkov <juri@jurta.org>
7956
7957 * man.el (Man-default-man-entry): Remove `-' from the end
7958 of the default value. (Bug#14400)
7959
7960 2013-05-18 Glenn Morris <rgm@gnu.org>
7961
7962 * comint.el (comint-password-prompt-regexp):
7963 Allow "password for XXX" where XXX contains colons (eg https://...).
7964
7965 2013-05-18 Leo Liu <sdl.web@gmail.com>
7966
7967 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7968 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7969 (octave-source-directories): Don't check process.
7970 (octave-source-directories, octave-find-definition): Doc fix.
7971
7972 2013-05-18 Glenn Morris <rgm@gnu.org>
7973
7974 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7975 Remove backspace/delete bindings. (Bug#14392)
7976
7977 * cus-dep.el (custom-make-dependencies): Sort the output.
7978 (custom-versions-load-alist): Convert comment to doc.
7979
7980 2013-05-17 Leo Liu <sdl.web@gmail.com>
7981
7982 * newcomment.el (comment-search-backward): Stricter in finding
7983 comment start. (Bug#14303)
7984
7985 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7986 (octave-comment-start-skip): Properly anchored.
7987
7988 2013-05-17 Leo Liu <sdl.web@gmail.com>
7989
7990 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7991 Clean up when turned off. (Bug#14395)
7992 (smie--highlight-matching-block-overlay): No longer buffer-local.
7993 (smie-highlight-matching-block): Adjust.
7994
7995 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7996
7997 Doc string fix for "nanoseconds" (Bug#14406).
7998 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7999 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8000
8001 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8002
8003 * calc/calc-units.el (math-extract-units): Preserve powers
8004 of units.
8005
8006 2013-05-17 Leo Liu <sdl.web@gmail.com>
8007
8008 * subr.el (delete-consecutive-dups): New function.
8009 * ido.el (ido-set-matches-1): Use it.
8010 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8011 * ido.el (ido-remove-consecutive-dups): Remove.
8012
8013 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8016 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8017 regexp-opt's `words'.
8018
8019 2013-05-16 Leo Liu <sdl.web@gmail.com>
8020
8021 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8022 (smie--highlight-matching-block-overlay)
8023 (smie--highlight-matching-block-lastpos)
8024 (smie--highlight-matching-block-timer): New variables.
8025 (smie-highlight-matching-block): New function.
8026 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8027 (smie-setup): Conditionally enable smie-blink-matching-open.
8028
8029 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8030
8031 Sync with upstream verilog-mode r840.
8032 * progmodes/verilog-mode.el (verilog-mode-version)
8033 (verilog-mode-release-date): Update.
8034 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8035 (verilog-sig-tieoff): Fix string error on
8036 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8037 (verilog-read-decls): Fix parameters confusing
8038 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8039
8040 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8041
8042 * subr.el (reveal-filename): New function.
8043
8044 * loadup.el: Compute Emacs executable versions on MS-Windows,
8045 where executables have the .exe extension. Add a hard link
8046 emacs-XX.YY.ZZ.exe on MS-Windows.
8047
8048 * Makefile.in (XARGS_LIMIT): New variable.
8049 (custom-deps, finder-data, autoloads)
8050 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8051 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8052 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8053 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8054
8055 2013-05-16 Leo Liu <sdl.web@gmail.com>
8056
8057 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8058 (octave-mode-menu, octave-mode-map): Remove its uses.
8059
8060 2013-05-16 Reto Zimmermann <reto@gnu.org>
8061
8062 Sync with upstream vhdl mode v3.34.2.
8063 * progmodes/vhdl-mode.el: Use `push' throughout.
8064 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8065 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8066 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8067 (vhdl-actual-generic-name): New option to derive actual generic name.
8068 (vhdl-port-paste-signals): Replace formal by actual generics.
8069 (vhdl-beautify): New name for old group vhdl-align. Update users.
8070 (vhdl-beautify-options): New option.
8071 (vhdl-last-input-event): New compat alias. Use throughout.
8072 (vhdl-goto-line): Replace user level function `goto-line'.
8073 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8074 vhdl-fix-statement-buffer.
8075 (vhdl-create-mode-menu): Add some entries.
8076 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8077 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8078 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8079 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8080 to force statements on one line.
8081 (vhdl-remove-trailing-spaces-region):
8082 New, split from vhdl-remove-trailing-spaces.
8083 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8084 Respect vhdl-beautify-options.
8085 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8086 (vhdl-update-sensitivity-list): Not add with index if exists without.
8087 Not include array index with signal. Ignore keywords in comments.
8088 (vhdl-get-visible-signals): Regexp tweaks.
8089 (vhdl-template-component-inst): Handle empty library.
8090 (vhdl-template-type): Add template for 'enum' type.
8091 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8092 Use vhdl-replace-string.
8093 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8094 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8095 (vhdl-speedbar-initialize): Update for above name change.
8096 (vhdl-compose-wire-components): Fix in handling of constants.
8097 (vhdl-error-regexp-emacs-alist): New variable.
8098 (vhdl-error-regexp-add-emacs): New function;
8099 adds support for new compile.el (Emacs 22+)
8100 (vhdl-generate-makefile-1): Change target order for single lib. units.
8101 Allow use of absolute file names.
8102
8103 2013-05-16 Leo Liu <sdl.web@gmail.com>
8104
8105 * simple.el (prog-indent-sexp): Indent enclosing defun.
8106
8107 2013-05-15 Glenn Morris <rgm@gnu.org>
8108
8109 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8110 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8111 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8112 (whitespace-highlight): Move to whitespace group.
8113
8114 * comint.el (comint-source):
8115 * pcmpl-linux.el (pcmpl-linux):
8116 * shell.el (shell-faces):
8117 * eshell/esh-opt.el (eshell-opt):
8118 * international/ccl.el (ccl): Remove empty custom groups.
8119
8120 * completion.el (dynamic-completion-mode):
8121 * jit-lock.el (jit-lock-debug-mode):
8122 * minibuffer.el (completion-in-region-mode):
8123 * type-break.el (type-break-mode-line-message-mode)
8124 (type-break-query-mode):
8125 * emulation/tpu-edt.el (tpu-edt-mode):
8126 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8127 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8128 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8129
8130 * term/xterm.el (xterm): Change parent group to terminals.
8131
8132 * master.el (master): Remove empty custom group.
8133 (master-mode): Remove unused :group argument.
8134 * textmodes/refill.el (refill): Remove empty custom group.
8135 (refill-mode): Remove unused :group argument.
8136
8137 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8138
8139 * cus-dep.el: Provide a feature.
8140 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8141 Don't mistakenly ignore files whose basenames match a basename
8142 from preloaded-file-list (eg cedet/ede/simple.el).
8143 Add a fallback method for getting :group.
8144
8145 2013-05-15 Juri Linkov <juri@jurta.org>
8146
8147 * isearch.el (isearch-char-by-name): Rename from
8148 `isearch-insert-char-by-name'. Doc fix.
8149 (isearch-forward): Mention `isearch-char-by-name' in
8150 the docstring. (Bug#13348)
8151
8152 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8153 `exit-minibuffer' instead of
8154 `isearch-nonincremental-exit-minibuffer'.
8155 (isearch-edit-string): Remove mention of
8156 `isearch-nonincremental-exit-minibuffer' from docstring.
8157 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8158 (isearch-forward-exit-minibuffer)
8159 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8160
8161 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * loadup.el: Just use unversioned DOC.
8164
8165 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8166 literals as extending to EOB.
8167 (nxml-last-fontify-end): Remove unused variable.
8168 (nxml-after-change1): Use with-silent-modifications.
8169 (nxml-extend-after-change-region): Simplify.
8170 (nxml-extend-after-change-region1): Remove function.
8171 (nxml-after-change1): Don't adjust for dependent regions.
8172 (nxml-fontify-matcher): Simplify.
8173 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8174 (xmltok-add-dependent): Remove function.
8175 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8176 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8177 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8178 unclosed <[[, <?, comment, and other literals as extending to EOB.
8179 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8180 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8181 Remove functions.
8182 (rng-do-some-validation-1): Don't mark dependent regions.
8183 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8184 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8185 (nxml-clear-dependent-regions): Remove functions.
8186 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8187 (nxml-ensure-scan-up-to-date):
8188 Don't clear&mark dependent regions.
8189
8190 2013-05-15 Leo Liu <sdl.web@gmail.com>
8191
8192 * progmodes/octave.el (octave-goto-function-definition):
8193 Improve and fix callers.
8194
8195 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8198 the setter (bug#14387).
8199
8200 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8201 surrounding group (bug#14402).
8202
8203 2013-05-14 Juri Linkov <juri@jurta.org>
8204
8205 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8206 (Bug#14390)
8207
8208 2013-05-14 Glenn Morris <rgm@gnu.org>
8209
8210 * progmodes/f90.el (f90-imenu-generic-expression):
8211 Fix typo in 2013-05-08 change. (Bug#14402)
8212
8213 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8214
8215 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8216 Remove signals for which replies are never received.
8217
8218 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8219
8220 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8221 (gdb-handler-alist, gdb-handler-number): Remove variables.
8222 (gdb-handler-list): New variable.
8223 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8224 (gdb-pending-handler-p, gdb-handle-reply)
8225 (gdb-remove-all-pending-triggers): New functions.
8226 (gdb-discard-unordered-replies): New defcustom.
8227 (gdb-handler): New defstruct.
8228 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8229 instead of gdb-pending-triggers. Update docstring.
8230 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8231 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8232 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8233 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8234 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8235 (gdb-frame-handler): Pending triggers are now automatically managed.
8236 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8237 Remove argument.
8238 (gdb-input): Automatically handles pending triggers. Update docstring.
8239 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8240 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8241 Update comments.
8242 (gdb-done-or-error): Now use gdb-handle-reply.
8243
8244 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8245
8246 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8247 gdb-debug-log.
8248
8249 2013-05-14 Glenn Morris <rgm@gnu.org>
8250
8251 * subr.el (user-emacs-directory-warning): New option.
8252 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8253
8254 2013-05-14 Leo Liu <sdl.web@gmail.com>
8255
8256 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8257 during redisplay.
8258 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8259 (octave-font-lock-texinfo-comment): Fix invalid search bound
8260 error: wrong side of point.
8261
8262 2013-05-14 Glenn Morris <rgm@gnu.org>
8263
8264 * progmodes/flymake.el (flymake-xml-program): New option.
8265 (flymake-xml-init): Use it.
8266
8267 * term/xterm.el: Provide a feature.
8268
8269 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8270
8271 2013-05-13 Glenn Morris <rgm@gnu.org>
8272
8273 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8274 Add compat aliases as a hack workaround. (Bug#14384)
8275
8276 2013-05-13 Leo Liu <sdl.web@gmail.com>
8277
8278 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8279 ###, and %!.
8280 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8281 C-M-q.
8282 (octave-comment-start-skip): Include %!.
8283 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8284
8285 2013-05-12 Leo Liu <sdl.web@gmail.com>
8286
8287 * progmodes/octave.el (inferior-octave-startup): Store the value
8288 of __octave_srcdir__ for octave-source-directories.
8289 (inferior-octave-check-process): New function refactored out of
8290 inferior-octave-send-list-and-digest.
8291 (octave-source-directories)
8292 (octave-find-definition-filename-function): New variables.
8293 (octave-source-directories)
8294 (octave-find-definition-default-filename): New functions.
8295 (octave-find-definition): Improve to find functions implemented in C++.
8296
8297 2013-05-12 Glenn Morris <rgm@gnu.org>
8298
8299 * calendar/diary-lib.el (diary-outlook-format-1):
8300 Don't include dayname in the output. (Bug#14349)
8301
8302 2013-05-11 Glenn Morris <rgm@gnu.org>
8303
8304 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8305
8306 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8307 Treat cc-provide like provide.
8308
8309 2013-05-11 Kevin Ryde <user42@zip.com.au>
8310
8311 * cus-dep.el (custom-make-dependencies):
8312 Use generated-autoload-load-name for the sake of files such
8313 such cedet/semantic/bovine/c.el, where the base file name
8314 is not in load-path. (Bug#5277)
8315
8316 2013-05-11 Glenn Morris <rgm@gnu.org>
8317
8318 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8319 Provide features.
8320
8321 2013-05-11 Leo Liu <sdl.web@gmail.com>
8322
8323 * progmodes/octave.el (octave-indent-comment): Improve.
8324 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8325 (octave-eldoc-function-signatures, octave-eldoc-function):
8326 New functions.
8327 (octave-mode, inferior-octave-mode): Add eldoc support.
8328
8329 2013-05-11 Richard Stallman <rms@gnu.org>
8330
8331 * epa.el (epa-decrypt-file): Take output file name as argument
8332 and read it using `interactive'.
8333
8334 2013-05-11 Leo Liu <sdl.web@gmail.com>
8335
8336 * progmodes/octave.el (octave-beginning-of-line)
8337 (octave-end-of-line): Check before using up-list because it jumps
8338 out of more syntactic contructs since moving to smie.
8339 (octave-indent-comment): New function.
8340 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8341 (octave-begin-keywords, octave-end-keywords)
8342 (octave-reserved-words, octave-smie-bnf-table)
8343 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8344
8345 2013-05-11 Glenn Morris <rgm@gnu.org>
8346
8347 * faces.el (internal-face-x-get-resource):
8348 * frame.el (ns-display-monitor-attributes-list):
8349 * calc/calc-aent.el (math-to-radians-2):
8350 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8351 Fix declarations.
8352
8353 * calc/calc-menu.el: Make it loadable in isolation.
8354
8355 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8356 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8357 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8358 (eudc-bbdb-query-internal): Require 'bbdb.
8359
8360 * lpr.el (lpr-headers-switches):
8361 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8362
8363 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8364
8365 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8366
8367 * term.el (term-set-escape-char): Make it idempotent.
8368
8369 2013-05-10 Leo Liu <sdl.web@gmail.com>
8370
8371 * progmodes/octave.el (inferior-octave-completion-table):
8372 No longer a function and all uses changed. Use cache to speed up
8373 completion due to bug#11906.
8374 (octave-beginning-of-defun): Re-write to be more general.
8375
8376 2013-05-10 Glenn Morris <rgm@gnu.org>
8377
8378 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8379
8380 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * comint.el (comint-redirect-send-command-to-process): Use :around
8383 rather than :override for comint-redirect-filter.
8384 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8385 Call it instead of comint-redirect-original-filter-function (which
8386 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8387
8388 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8389
8390 * frame.el (display-monitor-attributes-list): Add NS case.
8391 (ns-display-monitor-attributes-list): Declare.
8392
8393 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8394
8395 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8396
8397 2013-05-09 Glenn Morris <rgm@gnu.org>
8398
8399 * international/fontset.el (vertical-centering-font-regexp):
8400 Set standard-value.
8401
8402 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8403
8404 * bookmark.el (bookmark-search-delay):
8405 * cus-start.el (vertical-centering-font-regexp):
8406 * ps-mule.el (ps-mule-font-info-database-default):
8407 * ps-print.el (ps-default-fg, ps-default-bg):
8408 * type-break.el (type-break-good-break-interval):
8409 * whitespace.el (whitespace-indentation-regexp)
8410 (whitespace-space-after-tab-regexp):
8411 * emacs-lisp/testcover.el (testcover-1value-functions)
8412 (testcover-noreturn-functions, testcover-progn-functions)
8413 (testcover-prog1-functions):
8414 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8415 * eshell/em-glob.el (eshell-glob-translate-alist):
8416 * play/tetris.el (tetris-tty-colors):
8417 * progmodes/cpp.el (cpp-face-default-list):
8418 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8419 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8420 (idlwave-help-browser-generic-args):
8421 * progmodes/make-mode.el (makefile-special-targets-list):
8422 * progmodes/python.el (python-shell-virtualenv-path):
8423 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8424 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8425 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8426 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8427 * textmodes/reftex-vars.el (reftex-format-label-function):
8428 * textmodes/remember.el (remember-diary-file): Fix custom types.
8429
8430 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8431 Add :version.
8432
8433 2013-05-09 Leo Liu <sdl.web@gmail.com>
8434
8435 * progmodes/octave.el (inferior-octave-completion-at-point):
8436 Restore file completion. (Bug#14300)
8437 (inferior-octave-startup): Fix incorrect highlighting for the
8438 first prompt.
8439
8440 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * progmodes/ruby-mode.el: First cut at SMIE support.
8443 (ruby-use-smie): New var.
8444 (ruby-smie-grammar): New constant.
8445 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8446 (ruby-smie--forward-token, ruby-smie--backward-token)
8447 (ruby-smie-rules): New functions.
8448 (ruby-mode-variables): Setup SMIE if applicable.
8449
8450 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8451
8452 * simple.el (line-move-visual): Signal beginning/end of buffer
8453 only if vertical-motion moved less than it was requested. Avoids
8454 silly incorrect error messages when there are display strings with
8455 multiple newlines at EOL.
8456
8457 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8460 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8461 (prolog-char-quote-workaround):
8462 * progmodes/cperl-mode.el (cperl-under-as-char):
8463 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8464 Mark as obsolete.
8465 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8466 their declaration.
8467 (vhdl-mode-syntax-table-init): Remove.
8468
8469 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8470 last change.
8471
8472 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8473 syntax for "_".
8474 (ld-script-font-lock-keywords):
8475 Change regexps to use things like \_< and \_>.
8476
8477 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8478 Change all regexps to use things like \_< and \_>.
8479
8480 * progmodes/autoconf.el (autoconf-definition-regexp)
8481 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8482 Handle a _ with symbol syntax.
8483 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8484
8485 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8486 Consolidate declaration.
8487 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8488 the declaration.
8489 (ada-create-syntax-table): Remove.
8490 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8491 already has the right syntax nowadays.
8492 (ada-goto-next-word): Don't change the syntax of "_".
8493
8494 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8495 with-wrapper-hook.
8496
8497 2013-05-08 Sam Steingold <sds@gnu.org>
8498
8499 * thingatpt.el (thing-at-point): Accept optional second argument
8500 NO-PROPERTIES to strip the text properties from the return value.
8501 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8502 to `thing-at-point' instead of stripping the properties ourselves.
8503 Also, when `thing-at-point' fails to find a url, prepend "http://"
8504 to the filename at point on the assumption that the user is
8505 pointing at something like gnu.org/gnu.
8506
8507 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8510 * faces.el (crm-separator):
8511 Silence byte-compiler.
8512
8513 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8514 (tool-bar-map): Remove unneeded defvars.
8515
8516 2013-05-08 Leo Liu <sdl.web@gmail.com>
8517
8518 Re-work a fix for bug#10994 based on Le Wang's patch.
8519 * ido.el (ido-remove-consecutive-dups): New helper.
8520 (ido-completing-read): Use it.
8521 (ido-chop): Revert fix for bug#10994.
8522
8523 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8524
8525 * cus-edit.el (custom-save-variables):
8526 Pretty-print long values. (Bug#14187)
8527
8528 2013-05-08 Glenn Morris <rgm@gnu.org>
8529
8530 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8531 (m4-mode-syntax-table): Init in the defvar.
8532 (m4-mode-abbrev-table): Let define-derived-mode define it.
8533
8534 2013-05-08 Tom Tromey <tromey@redhat.com>
8535
8536 * progmodes/m4-mode.el (m4-mode-syntax-table):
8537 Do not treat "_" as word constituent. (Bug#14167)
8538
8539 2013-05-07 Glenn Morris <rgm@gnu.org>
8540
8541 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8542 Remove explicit eshell-isearch-cancel-map.
8543
8544 * progmodes/f90.el (f90-smart-end-names): New option.
8545 (f90-smart-end): Doc fix.
8546 (f90-end-block-optional-name): New constant.
8547 (f90-block-match): Respect f90-smart-end-names.
8548
8549 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8550
8551 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8552 about implicit semi-colons (bug#14218).
8553
8554 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8555
8556 * frame.el (display-monitor-attributes-list)
8557 (frame-monitor-attributes): New functions.
8558
8559 2013-05-06 Leo Liu <sdl.web@gmail.com>
8560
8561 * progmodes/octave.el (octave-syntax-propertize-function): Change
8562 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8563 (octave-font-lock-keywords): Use octave-operator-regexp.
8564 (octave-completion-at-point): Rename from
8565 octave-completion-at-point-function.
8566 (inferior-octave-directory-tracker): Robustify.
8567 (octave-text-functions): Remove and fix its uses. No such things
8568 any more.
8569
8570 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8571
8572 * emacs-lisp/trace.el (trace--display-buffer): New function.
8573 (trace-make-advice): Use it.
8574
8575 2013-05-06 Juri Linkov <juri@jurta.org>
8576
8577 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8578 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8579 Doc fix.
8580 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8581 in the help string. (Bug#12985)
8582
8583 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8584
8585 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8586
8587 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8588
8589 * progmodes/perl-mode.el: Add support for here documents.
8590 (perl-syntax-propertize-function): Match here-doc markers.
8591 (perl-syntax-propertize-special-constructs): Find their end.
8592 (perl-imenu-generic-expression): Use [:alnum:].
8593
8594 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8595 (advice--add-function): Refresh the advice if already present
8596 (bug#14317).
8597
8598 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8599
8600 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8601
8602 2013-05-06 Glenn Morris <rgm@gnu.org>
8603
8604 * w32-fns.el (w32-charset-info-alist): Declare.
8605
8606 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8607 of its defcustom properties.
8608 (eshell-cmpl-initialize): No need to load pcomplete.
8609
8610 * generic-x.el: No need to require comint when compiling.
8611
8612 * net/eudc-export.el: Make it loadable without bbdb.
8613 (top-level): Use require rather than load-library.
8614 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8615 (eudc-batch-export-records-to-bbdb)
8616 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8617 Require bbdb.
8618
8619 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8622 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8623 some tweaks, instead.
8624
8625 2013-05-05 Leo Liu <sdl.web@gmail.com>
8626
8627 * progmodes/octave.el (octave-font-lock-keywords)
8628 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8629 (inferior-octave-send-list-and-digest): Improve error message.
8630 (octave-mode, inferior-octave-mode): Use setq-local.
8631 (octave-help): Set info-lookup-mode.
8632
8633 2013-05-05 Richard Stallman <rms@gnu.org>
8634
8635 * vc/compare-w.el (compare-windows-whitespace):
8636 Treat no-break space as whitespace.
8637
8638 * mail/rmailsum.el (rmail-summary-rmail-update):
8639 Detect empty summary and don't change selected message.
8640 (rmail-summary-goto-msg): Likewise.
8641
8642 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8643 Doc fixes, rename args.
8644
8645 2013-05-05 Alan Mackenzie <acm@muc.de>
8646
8647 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8648
8649 2013-05-05 Juri Linkov <juri@jurta.org>
8650
8651 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8652 to not add the length of the summary segment to the return value.
8653 (Bug#14125)
8654
8655 2013-05-05 Leo Liu <sdl.web@gmail.com>
8656
8657 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8658 (inferior-octave-output-filter): Remove.
8659 (octave-send-region, inferior-octave-startup): Fix callers.
8660 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8661 (octave-binary-file-extensions): New user variable.
8662 (octave-find-definition): Confirm if opening binary files.
8663 (octave-help-file): Use octave-find-definition to get the binary
8664 confirmation.
8665 (octave-help): Adjust for octave-help-file change.
8666
8667 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8670 Merge the two entries that handle function definitions.
8671 (pascal--syntax-propertize): New const.
8672 (pascal-mode): Use it. Use setq-local.
8673
8674 2013-05-04 Glenn Morris <rgm@gnu.org>
8675
8676 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8677 (diary-from-outlook): Respect diary-from-outlook-function.
8678
8679 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8680
8681 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8682 Move the declaration from C.
8683 (read-minibuffer, eval-minibuffer): Move from C.
8684 (completion-setup-function): Avoid minibuffer-completion-contents.
8685
8686 2013-05-03 Leo Liu <sdl.web@gmail.com>
8687
8688 * progmodes/octave.el (octave-font-lock-keywords): Do not
8689 dehighlight 'end' in comments or strings.
8690 (octave-completing-read, octave-goto-function-definition):
8691 New helpers.
8692 (octave-help-buffer): New user variable.
8693 (octave-help-file, octave-help-function): New button types.
8694 (octave-help): New command and bind it to C-h ;.
8695 (octave-find-definition): New command and bind it to M-.
8696 (user-error): Alias to error if not defined.
8697
8698 2013-05-02 Leo Liu <sdl.web@gmail.com>
8699
8700 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8701 for \. (bug#14332)
8702 (octave-font-lock-keywords): Include [ and {.
8703
8704 2013-05-02 Leo Liu <sdl.web@gmail.com>
8705
8706 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8707 (inferior-octave): Remove calling comint-mode and return the buffer.
8708 (inferior-octave-startup): Cosmetic changes.
8709
8710 2013-05-02 Leo Liu <sdl.web@gmail.com>
8711
8712 * progmodes/octave.el (octave-syntax-propertize-function):
8713 Include the case when ' is at line beginning. (Bug#14336)
8714
8715 2013-05-02 Glenn Morris <rgm@gnu.org>
8716
8717 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8718 * desktop.el (vc-dir-mode): Just autoload it here.
8719
8720 2013-05-02 Alan Mackenzie <acm@muc.de>
8721
8722 Eliminate variable c-standard-font-lock-fontify-region-function.
8723 * progmodes/cc-mode.el
8724 (c-standard-font-lock-fontify-region-function): Remove.
8725 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8726
8727 2013-05-01 Leo Liu <sdl.web@gmail.com>
8728
8729 * progmodes/octave.el: Compatible with older emacs-24 releases.
8730 (inferior-octave-has-built-in-variables): Remove. Built-in
8731 variables were removed from Octave in 2007.
8732 (inferior-octave-startup): Fix uses.
8733 (comint-line-beginning-position): Remove compatibility code for
8734 emacs 21.
8735
8736 2013-05-01 Juri Linkov <juri@jurta.org>
8737
8738 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8739
8740 2013-05-01 Juri Linkov <juri@jurta.org>
8741
8742 * comint.el (comint-previous-matching-input): Don't print message
8743 "History item: %d" when `isearch-mode' is active.
8744 (comint-history-isearch-message): Print message "History item: %d"
8745 when `comint-input-ring-index' is not empty and this function is
8746 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8747
8748 2013-05-01 Leo Liu <sdl.web@gmail.com>
8749
8750 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8751 definitions. Use completion-at-point to insert keywords.
8752 (octave-abbrev-start): Remove.
8753 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8754
8755 2013-04-30 Leo Liu <sdl.web@gmail.com>
8756
8757 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8758 change.
8759
8760 2013-04-30 Alan Mackenzie <acm@muc.de>
8761
8762 Handle arbitrarily long C++ member initialisation lists.
8763 * progmodes/cc-engine.el (c-back-over-member-initializers):
8764 new function.
8765 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8766 (most) member init lists.
8767
8768 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8769
8770 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8771 variable.
8772
8773 2013-04-30 Leo Liu <sdl.web@gmail.com>
8774
8775 * progmodes/octave.el (octave-variables): Remove. No builtin
8776 variables any more. All converted to functions.
8777 (octave-font-lock-keywords, octave-completion-at-point-function):
8778 Fix uses.
8779 (octave-font-lock-texinfo-comment): New user variable.
8780 (octave-texinfo-font-lock-keywords): New variable for texinfo
8781 comment block.
8782 (octave-function-comment-block): New face.
8783 (octave-font-lock-texinfo-comment): New function.
8784 (octave-mode): Font lock texinfo comment block.
8785
8786 2013-04-29 Leo Liu <sdl.web@gmail.com>
8787
8788 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8789 indexing expression.
8790 (octave-continuation-string): Do not use \.
8791 (inferior-octave-complete-impossible): Remove.
8792 (inferior-octave-completion-table)
8793 (inferior-octave-completion-at-point): Remove its uses.
8794 (inferior-octave-startup): completion_matches was introduced to
8795 Octave in 1996 so safe to assume it.
8796 (octave-function-file-comment): Improve to follow how Octave does it.
8797 (octave-update-function-file-comment): Tweak.
8798
8799 2013-04-29 Leo Liu <sdl.web@gmail.com>
8800
8801 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8802 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8803 (octave-function-file-comment): Fix typo.
8804 (octave-sync-function-file-names): Use read-char-choice.
8805
8806 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8807
8808 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8809 to t for the less important warnings.
8810
8811 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8812
8813 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8814
8815 2013-04-27 Glenn Morris <rgm@gnu.org>
8816
8817 * vc/log-view.el (log-view-current-entry):
8818 Treat "---" separator lines as part of the following rev. (Bug#14169)
8819
8820 2013-04-27 Juri Linkov <juri@jurta.org>
8821
8822 * subr.el (read-number): Doc fix about using it by interactive
8823 code letter `n'. (Bug#14254)
8824
8825 2013-04-27 Juri Linkov <juri@jurta.org>
8826
8827 * desktop.el (desktop-auto-save-timeout): New option.
8828 (desktop-file-checksum): New variable.
8829 (desktop-save): Add optional arg `auto-save' and don't auto-save
8830 if nothing changed.
8831 (desktop-auto-save-timer): New variable.
8832 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8833 (after-init-hook): Call `desktop-auto-save-set-timer'.
8834 Suggested by Reuben Thomas <rrt@sc3d.org> in
8835 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8836
8837 2013-04-27 Leo Liu <sdl.web@gmail.com>
8838
8839 * progmodes/octave.el (octave-function-file-p)
8840 (octave-skip-comment-forward, octave-function-file-comment)
8841 (octave-update-function-file-comment): New functions.
8842 (octave-mode-map): Bind C-c ; to
8843 octave-update-function-file-comment.
8844 (octave-mode-menu): Add octave-update-function-file-comment.
8845 (octave-mode, inferior-octave-mode): Fix doc-string.
8846 (octave-insert-defun): Conform to Octave's coding convention.
8847 (Bug#14285)
8848
8849 * files.el (basic-save-buffer): Don't let errors in
8850 before-save-hook prevent saving buffer.
8851
8852 2013-04-20 Roland Winkler <winkler@gnu.org>
8853
8854 * faces.el (read-face-name): Use completing-read if arg multiple
8855 is nil.
8856
8857 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8858
8859 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8860 displayed, move point to after the totals line.
8861 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8862 for the details.
8863
8864 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8865
8866 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8867 Add current dir to the load-path.
8868 (package-generate-autoloads): Don't rely on
8869 autoload-ensure-default-file.
8870
8871 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8872
8873 * textmodes/remember.el (remember-store-in-files): Document that
8874 the file name format is passed to `format-time-string'.
8875
8876 2013-04-26 Leo Liu <sdl.web@gmail.com>
8877
8878 * progmodes/octave.el (octave-sync-function-file-names): New function.
8879 (octave-mode): Use it in before-save-hook.
8880
8881 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8884 (bug#14274).
8885
8886 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8887 \n and comment, even if it's not an implicit ; (bug#14218).
8888
8889 2013-04-26 Glenn Morris <rgm@gnu.org>
8890
8891 * subr.el (read-number): Once more use `read' rather than
8892 `string-to-number', to trap non-numeric input. (Bug#14254)
8893
8894 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8895
8896 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8897 Use `syntax-multiline' text property consistently instead of
8898 `font-lock-multiline'. (Bug#14237)
8899
8900 2013-04-26 Glenn Morris <rgm@gnu.org>
8901
8902 * emacs-lisp/shadow.el (list-load-path-shadows):
8903 No longer necessary to check for duplicate simple.el, since
8904 2012-07-07 change to init_lread to not include installation lisp
8905 directories in load-path when running uninstalled. (Bug#14270)
8906
8907 2013-04-26 Leo Liu <sdl.web@gmail.com>
8908
8909 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8910 (octave-mode, inferior-octave-mode): Use setq-local.
8911 (octave-not-in-string-or-comment-p): Rename to
8912 octave-in-string-or-comment-p.
8913 (octave-in-comment-p, octave-in-string-p)
8914 (octave-in-string-or-comment-p): Replace defsubst with defun.
8915
8916 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8917
8918 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8919
8920 2013-04-25 Bastien Guerry <bzg@gnu.org>
8921
8922 * textmodes/remember.el (remember-data-directory)
8923 (remember-directory-file-name-format): Fix custom types.
8924
8925 2013-04-25 Leo Liu <sdl.web@gmail.com>
8926
8927 * progmodes/octave.el (octave-completion-at-point-function):
8928 Make use of inferior octave process.
8929 (octave-initialize-completions): Remove.
8930 (inferior-octave-completion-table): New function.
8931 (inferior-octave-completion-at-point): Use it.
8932 (octave-completion-alist): Remove.
8933
8934 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8937 (opascal-mode-syntax-table): New var.
8938 (opascal-literal-kind, opascal-is-literal-end)
8939 (opascal-literal-token-at): Rewrite.
8940 (opascal--literal-start-re, opascal-font-lock-keywords)
8941 (opascal--syntax-propertize): New constants.
8942 (opascal-font-lock-defaults): Adjust.
8943 (opascal-mode): Use them. Set comment-<foo> variables as well.
8944 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8945 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8946 (delphi-other-face, opascal-other-face): Remove face variables.
8947 (opascal-save-state): Remove macro.
8948 (opascal-fontifying-progress-step): Remove constant.
8949 (opascal--ignore-changes): Remove var.
8950 (opascal-set-token-property, opascal-parse-next-literal)
8951 (opascal-is-stable-literal, opascal-complete-literal)
8952 (opascal-is-literal-start, opascal-face-of)
8953 (opascal-parse-region, opascal-parse-region-until-stable)
8954 (opascal-fontify-region, opascal-after-change)
8955 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8956 (opascal-debug-parse-region, opascal-debug-parse-window)
8957 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8958 (opascal-debug-fontify-buffer): Remove.
8959 (opascal-debug-mode-map): Adjust accordingly.
8960
8961 2013-04-25 Leo Liu <sdl.web@gmail.com>
8962
8963 Merge octave-mod.el and octave-inf.el into octave.el with some
8964 cleanups.
8965 * progmodes/octave.el: New file renamed from octave-mod.el.
8966 * progmodes/octave-inf.el: Merged into octave.el.
8967 * progmodes/octave-mod.el: Renamed to octave.el.
8968
8969 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8970
8971 * textmodes/reftex-vars.el
8972 (reftex-label-ignored-macros-and-environments): New defcustom.
8973
8974 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8975
8976 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8977
8978 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8979 (smie-indent-keyword): Improve the check to ensure that the next
8980 comment is really on the same line.
8981 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8982
8983 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8984 semi-colons if the line is not otherwise empty (bug#14218).
8985
8986 2013-04-25 Glenn Morris <rgm@gnu.org>
8987
8988 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8989
8990 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8991
8992 * progmodes/opascal.el (opascal-set-token-property): Rename from
8993 opascal-set-text-properties and only set `token' (bug#14134).
8994 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8995 (opascal-literal-text-properties): Remove.
8996 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8997 Adjust callers.
8998
8999 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9000
9001 * textmodes/remember.el (remember-handler-functions): Add an
9002 option for a new handler `remember-store-in-files'.
9003 (remember-data-directory, remember-directory-file-name-format):
9004 New options.
9005 (remember-store-in-files): New function to store remember notes
9006 as separate files within a directory.
9007
9008 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9009
9010 * progmodes/compile.el (compilation-next-error-function):
9011 Pass "formats" to compilation-find-file (bug#11777).
9012
9013 2013-04-24 Glenn Morris <rgm@gnu.org>
9014
9015 * vc/vc-bzr.el (vc-bzr-print-log):
9016 * vc/vc-hg.el (vc-hg-print-log):
9017 * vc/vc-svn.el (vc-svn-print-log):
9018 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9019
9020 * vc/vc-bzr.el (vc-bzr-print-log):
9021 * vc/vc-cvs.el (vc-cvs-print-log):
9022 * vc/vc-git.el (vc-git-print-log):
9023 * vc/vc-hg.el (vc-hg-print-log):
9024 * vc/vc-mtn.el (vc-mtn-print-log):
9025 * vc/vc-rcs.el (vc-rcs-print-log):
9026 * vc/vc-sccs.el (vc-sccs-print-log):
9027 * vc/vc-svn.el (vc-svn-print-log):
9028 * vc/vc.el (vc-print-log-internal): Doc fixes.
9029
9030 2013-04-23 Glenn Morris <rgm@gnu.org>
9031
9032 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9033 Remove venerable code attempting to avoid substitute-command-keys.
9034
9035 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9036
9037 * textmodes/reftex-vars.el (reftex-label-regexps):
9038 Call `reftex-compile-variables' after changes to this variable.
9039
9040 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9043 Use lexical-binding.
9044 (jit-lock-force-redisplay): Use markers, check buffer's continued
9045 existence and beware narrowed buffers.
9046 (jit-lock-fontify-now): Adjust call accordingly.
9047
9048 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9051 to avoid misleading the user.
9052
9053 2013-04-22 Leo Liu <sdl.web@gmail.com>
9054
9055 * info-look.el: Prefer latex2e.info. (Bug#14240)
9056
9057 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9058
9059 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9060
9061 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9062 * net/tramp.el (tramp-call-process): ... here.
9063 (tramp-set-completion-function, tramp-parse-putty):
9064 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9065 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9066 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9067 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9068 (tramp-call-local-coding-command): Use `tramp-call-process'
9069 instead of `tramp-compat-call-process'.
9070
9071 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9072 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9073 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9074 (tramp-find-inline-compress): Improve traces.
9075 (tramp-maybe-send-script): Check for Perl binary.
9076 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9077
9078 2013-04-22 Daiki Ueno <ueno@gnu.org>
9079
9080 * epg.el (epg-context-pinentry-mode): New function.
9081 (epg-context-set-pinentry-mode): New function.
9082 (epg--start): Pass --pinentry-mode option to gpg command.
9083
9084 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9085
9086 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9087 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9088 `completion-at-point'. (Bug#13774)
9089
9090 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9091 default key binding for `describe-distribution' has been moved to
9092 `C-h C-o'. (Bug#13970)
9093
9094 2013-04-21 Glenn Morris <rgm@gnu.org>
9095
9096 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9097 Add doc strings.
9098 (vc-print-log): Clarify interactive prompt.
9099
9100 2013-04-20 Glenn Morris <rgm@gnu.org>
9101
9102 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9103 No longer include timestamp etc information.
9104
9105 2013-04-20 Roland Winkler <winkler@gnu.org>
9106
9107 * faces.el (read-face-name): Bug fix, return just one face if arg
9108 multiple is nil. (Bug#14209)
9109
9110 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9113 (remove-function): Autoload.
9114
9115 * comint.el (comint-redirect-original-filter-function): Remove.
9116 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9117 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9118 (vc-cvs-annotate-command):
9119 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9120 * progmodes/prolog.el (prolog-consult-compile):
9121 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9122 Use add/remove-function instead.
9123 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9124 (gud-tooltip-process-output, gud-tooltip-tips):
9125 Use add/remove-function instead.
9126 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9127 (scheme-interaction-mode, exit-scheme-interaction-mode):
9128 Use add/remove-function instead.
9129
9130 * vc/vc-dispatcher.el: Use lexical-binding.
9131 (vc--process-sentinel): Rename from vc-process-sentinel.
9132 Change last arg to be the code to run. Don't use vc-previous-sentinel
9133 and vc-sentinel-commands any more.
9134 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9135 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9136
9137 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9138
9139 * progmodes/sh-script.el (sh-imenu-generic-expression):
9140 Handle function names with a single character. (Bug#14111)
9141
9142 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9143
9144 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9145 for subroutines defined in an eval (bug#14182).
9146
9147 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9148
9149 * bookmark.el (bookmark-completing-read): Improve handling of empty
9150 string (bug#14176).
9151
9152 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9155
9156 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9157
9158 New faster Imenu implementation (bug#14058).
9159 * progmodes/python.el:
9160 (python-imenu-prev-index-position):
9161 (python-imenu-format-item-label-function)
9162 (python-imenu-format-parent-item-label-function)
9163 (python-imenu-format-parent-item-jump-label-function):
9164 New vars.
9165 (python-imenu-format-item-label)
9166 (python-imenu-format-parent-item-label)
9167 (python-imenu-format-parent-item-jump-label)
9168 (python-imenu--put-parent, python-imenu--build-tree)
9169 (python-imenu-create-index, python-imenu-create-flat-index)
9170 (python-util-popn): New functions.
9171 (python-mode): Set imenu-create-index-function to
9172 python-imenu-create-index.
9173
9174 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * winner.el (winner-active-region): Use region-active-p, activate-mark
9177 and deactivate-mark (bug#14225).
9178
9179 * simple.el (deactivate-mark): Don't inline it.
9180
9181 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9182
9183 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9184
9185 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9186
9187 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9188 file extensions from the archive-mode entry in order to prefer
9189 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9190
9191 2013-04-18 Leo Liu <sdl.web@gmail.com>
9192
9193 * bindings.el (help-event-list): Add ?\?.
9194
9195 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * subr.el (with-wrapper-hook): Declare obsolete.
9198 * simple.el (filter-buffer-substring-function): New hook.
9199 (filter-buffer-substring): Use it.
9200 (filter-buffer-substring-functions): Mark obsolete.
9201 * minibuffer.el (completion-in-region-function): New hook.
9202 (completion-in-region): Use it.
9203 (completion-in-region-functions): Mark obsolete.
9204 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9205 * abbrev.el (abbrev-expand-function): New hook.
9206 (expand-abbrev): Use it.
9207 (abbrev-expand-functions): Mark obsolete.
9208 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9209 and :filter-return.
9210
9211 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9212
9213 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9214 and do not care about match data.
9215
9216 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9219 completion tables when completing error conditions and
9220 `declare' arguments.
9221 (lisp-complete-symbol, field-complete): Mark as obsolete.
9222 (check-parens): Unmatched parens are user errors.
9223 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9224
9225 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9226
9227 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9228 command changed buffer (ie. `flyspell-pre-buffer' is not current
9229 buffer), which prevents making decisions based on invalid value of
9230 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9231 cause an error when `flyspell-pre-point' was nil after switching
9232 buffers.
9233 (flyspell-post-command-hook): No longer needs to change buffers when
9234 checking pre-word. While at it remove unnecessary progn.
9235
9236 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9237
9238 * textmodes/ispell.el (ispell-add-per-file-word-list):
9239 Fix `flyspell-correct-word-before-point' error when accepting
9240 words and `coment-padding' is an integer by using
9241 `comment-normalize-vars' (Bug #14214).
9242
9243 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9244
9245 New defun movement commands.
9246 * progmodes/python.el (python-nav--syntactically)
9247 (python-nav--forward-defun, python-nav-backward-defun)
9248 (python-nav-forward-defun): New functions.
9249
9250 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9251
9252 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9253 (python-syntax-context): Use named compiler-macro for backwards
9254 compatibility with Emacs 24.x.
9255
9256 2013-04-17 Leo Liu <sdl.web@gmail.com>
9257
9258 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9259 octave-hide-process-buffer.
9260
9261 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9264 (bug#14216).
9265
9266 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9267
9268 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9269 Fix adjustment of offset when receiving incomplete responses from GDB
9270 (bug#14129).
9271
9272 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9275 python-mode-abbrev-table.
9276 (python-skeleton-define): Adjust accordingly.
9277 (python-mode-abbrev-table): New table that inherits from it so that
9278 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9279
9280 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9281 (abbrev-symbol): Use it.
9282 (abbrev--before-point): Use it since we already handle inheritance.
9283
9284 2013-04-16 Leo Liu <sdl.web@gmail.com>
9285
9286 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9287 binding to info-lookup-symbol.
9288
9289 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9290
9291 * minibuffer.el (completion--twq-all):
9292 * term/ns-win.el (ns-initialize-window-system):
9293 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9294
9295 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9298 global bindings.
9299
9300 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9301
9302 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9303
9304 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9305 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9306 to nil.
9307 (ruby-end-of-defun): Remove the unused arg, change the docstring
9308 to reflect that this function is only used as the value of
9309 `end-of-defun-function'.
9310 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9311 to reflect an earlier change that beginning/end-of-defun functions
9312 jump between methods in a class definition, as well as top-level
9313 functions.
9314
9315 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 * minibuffer.el (minibuffer-complete): Don't just scroll
9318 a *Completions* that's been iconified.
9319 (minibuffer-force-complete): Make sure repetitions do cycle when going
9320 through completion-in-region -> minibuffer-complete.
9321
9322 2013-04-15 Alan Mackenzie <acm@muc.de>
9323
9324 Correct the placement of c-cpp-delimiters when there're #s not at
9325 col 0.
9326
9327 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9328 place a submatch around the #.
9329 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9330 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9331 on the #, not BOL.
9332
9333 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9336 (advice--member-p): New arg `name'.
9337 (advice--add-function, advice-member-p): Use it (bug#14202).
9338
9339 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9340
9341 Reformulate java imenu-generic-expression.
9342 The old expression contained ill formed regexps.
9343
9344 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9345 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9346 (cc-imenu-java-method-arg-regexp): New defconsts.
9347 (cc-imenu-java-build-type-args-regex): New defun.
9348 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9349 handling of spaces in the regexp.
9350
9351 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9352
9353 * textmodes/ispell.el (ispell-command-loop): Remove
9354 flyspell highlight of a word when ispell accepts it (bug #14178).
9355
9356 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9357
9358 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9359 uses code from the previous `ange-ftp-run-real-handler'.
9360 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9361 only in case that function exist. This is needed for proper
9362 unloading of Tramp.
9363
9364 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9365
9366 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9367
9368 * textmodes/reftex.el (reftex-compile-variables): Use it.
9369
9370 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9371
9372 * files.el (normal-mode): Only use default major-mode if no other mode
9373 was specified.
9374
9375 * emacs-lisp/trace.el (trace-values): New function.
9376
9377 * files.el: Allow : in local variables (bug#14089).
9378 (hack-local-variable-regexp): New var.
9379 (hack-local-variables-prop-line, hack-local-variables): Use it.
9380
9381 2013-04-13 Roland Winkler <winkler@gnu.org>
9382
9383 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9384 data before it gets modified by bibtex-beginning-of-entry.
9385
9386 2013-04-13 Roland Winkler <winkler@gnu.org>
9387
9388 * textmodes/bibtex.el (bibtex-url): Doc fix.
9389
9390 2013-04-13 Roland Winkler <winkler@gnu.org>
9391
9392 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9393 does not visit a BibTeX file, exclude it from the list of buffers
9394 returned by bibtex-initialize.
9395
9396 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9397
9398 * window.el (split-window): Remove interactive form, since as a
9399 command this function is a special case of split-window-below.
9400 Correct doc string.
9401
9402 2013-04-12 Roland Winkler <winkler@gnu.org>
9403
9404 * faces.el (read-face-name): Do not override value of arg default.
9405 Allow single faces and strings as default values. Remove those
9406 elements from return value that are not faces.
9407 (describe-face): Simplify.
9408 (face-at-point): New optional args thing and multiple so that this
9409 function can provide the same functionality previously provided by
9410 read-face-name.
9411 (make-face-bold, make-face-unbold, make-face-italic)
9412 (make-face-unitalic, make-face-bold-italic, invert-face)
9413 (modify-face, read-face-and-attribute): Use face-at-point.
9414
9415 * cus-edit.el (customize-face, customize-face-other-window)
9416 * cus-theme.el (custom-theme-add-face)
9417 * face-remap.el (buffer-face-set)
9418 * facemenu.el (facemenu-set-face): Use face-at-point.
9419
9420 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9421
9422 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9423
9424 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9425
9426 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9427 off leading { and trailing } from field values.
9428
9429 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * emacs-lisp/timer.el (timer--check): New function.
9432 (timer--time, timer-set-function, timer-event-handler): Use it.
9433 (timer-set-idle-time): Simplify.
9434 (timer--activate): CSE.
9435 (timer-event-handler): Give more info in error message.
9436 (internal-timer-start-idle): New function, moved from C.
9437
9438 * mpc.el (mpc-proc): Add `restart' argument.
9439 (mpc-proc-cmd): Use it.
9440 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9441 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9442 less often.
9443
9444 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9445
9446 * progmodes/sh-script.el: Implement `sh-mode' own
9447 `add-log-current-defun-function' (bug#14112).
9448 (sh-current-defun-name): New function.
9449 (sh-mode): Use the function.
9450
9451 2013-04-09 Bastien Guerry <bzg@gnu.org>
9452
9453 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9454
9455 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9458
9459 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9460 timer (bug#14156).
9461
9462 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9463
9464 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9465 declaration.
9466
9467 2013-04-07 Leo Liu <sdl.web@gmail.com>
9468
9469 * pcmpl-x.el: New file.
9470
9471 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9472
9473 Do not set x-display-name until X connection is established.
9474 This is needed to prevent from weird situation described at
9475 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9476 * frame.el (make-frame): Set x-display-name after call to
9477 window system initialization function, not before.
9478 * term/x-win.el (x-initialize-window-system): Add optional
9479 display argument and use it.
9480 * term/w32-win.el (w32-initialize-window-system):
9481 * term/ns-win.el (ns-initialize-window-system):
9482 * term/pc-win.el (msdos-initialize-window-system):
9483 Add compatible optional display argument.
9484
9485 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9486
9487 * files.el (normal-backup-enable-predicate): On MS-Windows and
9488 MS-DOS compare truenames of temporary-file-directory and of the
9489 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9490 don't fail comparison by compare-strings. Also, compare file
9491 names case-insensitively on MS-Windows and MS-DOS.
9492
9493 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9494
9495 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9496 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9497
9498 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9499
9500 * whitespace.el (whitespace-color-on, whitespace-color-off):
9501 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9502
9503 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9504
9505 * ispell.el (ispell-set-spellchecker-params):
9506 Really set `ispell-args' for all equivs.
9507
9508 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * ido.el (ido-completions): Use extra elements of ido-decorations
9511 (bug#14143).
9512 (ido-decorations): Update docstring.
9513
9514 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9515
9516 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9517 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9518 nil during initialization, in order not to miss changes since the
9519 file was opened. (Bug#14140)
9520
9521 2013-04-05 Leo Liu <sdl.web@gmail.com>
9522
9523 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9524
9525 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9526
9527 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9528
9529 2013-04-04 Glenn Morris <rgm@gnu.org>
9530
9531 * electric.el (electric-pair-inhibit-predicate): Add :version.
9532
9533 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9534
9535 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9536 when a package is required several times (bug#14082).
9537
9538 2013-04-04 Roland Winkler <winkler@gnu.org>
9539
9540 * faces.el (read-face-name): Behave as promised by the docstring.
9541 Assume that arg default is a list of faces.
9542 (describe-face): Call read-face-name with list of default faces.
9543
9544 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9545
9546 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9547 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9548 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9549 the header.
9550 (bookmark-exit-hook-internal): Save even if list is empty.
9551
9552 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9553
9554 * emacs-lisp/package.el (package-pinned-packages): New var.
9555 (package--add-to-archive-contents): Obey it (bug#14118).
9556
9557 2013-04-03 Alan Mackenzie <acm@muc.de>
9558
9559 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9560 Also adapt to the new values of element 7 of a parse state.
9561
9562 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9563 parameter `not-in-delimiter'. Handle being inside comment opener.
9564 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9565 character in case we're typing a '*' after a '/'.
9566 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9567 instead by passing the parameter to c-state-pp-to-literal.
9568
9569 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9570 for elt. 7 of a parse state.
9571
9572 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9573
9574 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9575 * international/latin1-disp.el, international/mule-util.el:
9576 * language/cyril-util.el, language/european.el, language/ind-util.el:
9577 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9578 * language/tibetan.el, language/viet-util.el:
9579 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9580
9581 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9584 (electric-pair-post-self-insert-function): Use it.
9585 (electric-pair-default-inhibit): New function, extracted from
9586 electric-pair-post-self-insert-function.
9587
9588 2013-03-31 Roland Winkler <winkler@gnu.org>
9589
9590 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9591
9592 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9595
9596 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9597
9598 Un-indent after "pass" and "return" statements (Bug#13888)
9599 * progmodes/python.el (python-indent-block-enders): New var.
9600 (python-indent-calculate-indentation): Use it.
9601
9602 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9603
9604 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9605 defun. Defining it as defalias could introduce too eager
9606 byte-compiler optimization. (Bug#14030)
9607
9608 2013-03-30 Chong Yidong <cyd@gnu.org>
9609
9610 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9611
9612 2013-03-30 Leo Liu <sdl.web@gmail.com>
9613
9614 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9615 (kmacro-execute-from-register): Pass the keyboard macro to
9616 kmacro-call-macro or repeating won't work correctly.
9617
9618 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9619
9620 * progmodes/subword.el: Back to using `forward-symbol'.
9621
9622 * subr.el (forward-whitespace, forward-symbol)
9623 (forward-same-syntax): Move from thingatpt.el.
9624
9625 2013-03-29 Leo Liu <sdl.web@gmail.com>
9626
9627 * kmacro.el (kmacro-to-register): New command.
9628 (kmacro-execute-from-register): New function.
9629 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9630
9631 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * mpc.el: Use defvar-local and setq-local.
9634 (mpc--proc-connect): Connection failures are not bugs.
9635 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9636 (mpc-volume-map): Bind to the up-events.
9637
9638 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9639
9640 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9641 instead of `forward-symbol'.
9642
9643 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9644
9645 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9646 (edebug--recursive-edit): Use it.
9647 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9648 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9649
9650 2013-03-28 Leo Liu <sdl.web@gmail.com>
9651
9652 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9653
9654 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9655
9656 * facemenu.el (list-colors-callback): New defvar.
9657 (list-colors-redisplay): New function.
9658 (list-colors-display): Install list-colors-redisplay as the
9659 revert-buffer-function. (Bug#14063)
9660
9661 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9662
9663 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9664 and suffixes don't overlap (bug#14061).
9665
9666 * case-table.el: Use lexical-binding.
9667 (case-table-get-table): New function.
9668 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9669
9670 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9671
9672 * progmodes/subword.el: Add `superword-mode' to do word motion
9673 over symbol_words (parallels and leverages `subword-mode' which
9674 does word motion inside MixedCaseWords).
9675
9676 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9677
9678 * eshell/em-unix.el: Move su and sudo to...
9679 * eshell/em-tramp.el: ...Eshell tramp module.
9680
9681 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9682
9683 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9684 Change return value to be a sexp. Delay `get-buffer' to after
9685 restoring the desktop (bug#13951).
9686
9687 2013-03-26 Leo Liu <sdl.web@gmail.com>
9688
9689 * register.el: Move semantic tag handling back to
9690 cedet/semantic/senator.el. (Bug#14052)
9691
9692 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9693
9694 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9695 into the prompt either (bug#13963).
9696
9697 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9700 part of "(error-foo)".
9701
9702 2013-03-24 Juri Linkov <juri@jurta.org>
9703
9704 * replace.el (list-matching-lines-prefix-face): New defcustom.
9705 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9706 `occur-engine' if `face-differs-from-default-p' returns t.
9707 (occur-engine): Add `,' inside backquote construct to evaluate
9708 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9709 Pass `prefix-face' to the functions `occur-context-lines' and
9710 `occur-engine-add-prefix'.
9711 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9712 `prefix-face' and propertize the prefix with `prefix-face'.
9713 (Bug#14017)
9714
9715 2013-03-24 Leo Liu <sdl.web@gmail.com>
9716
9717 * nxml/rng-valid.el (rng-validate-while-idle)
9718 (rng-validate-quick-while-idle): Guard against deleted buffer.
9719 (Bug#13999)
9720
9721 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9722 is the last entry in kill-buffer-hook.
9723
9724 * files.el (kill-buffer-hook): Doc fix.
9725
9726 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9727
9728 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9729 Make it safe-local.
9730
9731 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9732
9733 2013-03-23 Leo Liu <sdl.web@gmail.com>
9734
9735 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9736 Remove.
9737
9738 * nxml/rng-valid.el (rng-validate-mode)
9739 (rng-after-change-function, rng-do-some-validation):
9740 * nxml/rng-maint.el (rng-validate-buffer):
9741 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9742 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9743 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9744 (nxml-extend-after-change-region): Use with-silent-modifications.
9745
9746 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9747 timer-idle-list.
9748
9749 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9750 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9751 timer-idle-list. (Bug#13999)
9752
9753 2013-03-23 Juri Linkov <juri@jurta.org>
9754
9755 * info.el (info-index-match): New face.
9756 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9757 main pattern and add text properties with the new face to matches
9758 in index entries relative to the beginning of the index entry.
9759 (Bug#14015)
9760
9761 2013-03-21 Eric Ludlam <zappo@gnu.org>
9762
9763 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9764 Inhibit read only while inserting objects.
9765
9766 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9767
9768 * progmodes/cfengine.el: Update docs to mention
9769 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9770 symbol motion. Remove "_" from the word syntax.
9771
9772 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9773
9774 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9775 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9776
9777 2013-03-20 Juri Linkov <juri@jurta.org>
9778
9779 * info.el (Info-next-reference-or-link)
9780 (Info-prev-reference-or-link): New functions.
9781 (Info-next-reference, Info-prev-reference): Use them.
9782 (Info-try-follow-nearest-node): Handle footnote navigation.
9783 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9784
9785 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9787 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9788 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9789
9790 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9791
9792 Suppress unnecessary non-ASCII chatter during build process.
9793 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9794 (batch-skkdic-convert): Suppress most of the chatter.
9795 It's not needed so much now that machines are faster,
9796 and its non-ASCII component was confusing; see Dmitry Gutov in
9797 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9798
9799 2013-03-20 Leo Liu <sdl.web@gmail.com>
9800
9801 * ido.el (ido-chop): Fix bug#10994.
9802
9803 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9804
9805 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9806 Remove vars.
9807 (whitespace-color-on, whitespace-color-off):
9808 Use `font-lock-fontify-buffer' (Bug#13817).
9809
9810 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9813 remapping in mode-line.
9814 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9815
9816 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9817
9818 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9819 value for `whitespace-line' face (Bug#13875).
9820 (whitespace-font-lock-keywords): Change description.
9821 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9822 the constructed keywords instead.
9823 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9824
9825 2013-03-19 Leo Liu <sdl.web@gmail.com>
9826
9827 * progmodes/compile.el (compilation-display-error): New command.
9828 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9829 C-o. (Bug#13992)
9830
9831 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9832
9833 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9834
9835 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9836
9837 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9838
9839 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9840
9841 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9842
9843 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9844 * net/tramp-gvfs.el (top):
9845 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9846 (tramp-handle-shell-command): Use it.
9847 (tramp-dissect-file-name): Raise an error when hostname is a
9848 method name, and neither method nor user is specified.
9849
9850 * net/trampver.el: Update release number.
9851
9852 2013-03-18 Leo Liu <sdl.web@gmail.com>
9853
9854 Make sure eldoc can be turned off properly.
9855 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9856 eldoc-mode.
9857 (eldoc-display-message-p): Revert last change.
9858 (eldoc-display-message-no-interference-p)
9859 (eldoc-print-current-symbol-info): Tweak.
9860
9861 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9862
9863 * doc-view.el (doc-view-new-window-function): Check the new window
9864 overlay's display property instead the char property of the
9865 buffer's first char. Use `with-selected-window' instead of
9866 `save-window-excursion' with `select-window'.
9867 (doc-view-document->bitmap): Check the current doc-view overlay's
9868 display property instead the char property of the buffer's first char.
9869
9870 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9871
9872 Automate the build of ja-dic.el (Bug#13984).
9873 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9874 from the input, rather than assume that it's been done for us by the
9875 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9876 the current date into a ja-dic.el comment, as that complicates
9877 regression testing.
9878
9879 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * whitespace.el: Fix double evaluation.
9882 (whitespace-space, whitespace-hspace, whitespace-tab)
9883 (whitespace-newline, whitespace-trailing, whitespace-line)
9884 (whitespace-space-before-tab, whitespace-indentation)
9885 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9886 obsolete defvars.
9887 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9888 (whitespace-color-on): Use a single font-lock-add-keywords call.
9889 Fix double-evaluation of face variables.
9890
9891 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9892
9893 * net/tramp-adb.el (tramp-adb-parse-device-names):
9894 Use `start-process' instead of `call-process'. Otherwise, the
9895 function might be blocked under MS Windows. (Bug#13299)
9896
9897 2013-03-17 Leo Liu <sdl.web@gmail.com>
9898
9899 Extend eldoc to display info in the mode-line. (Bug#13978)
9900 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9901 (eldoc-mode-line-string): New variable.
9902 (eldoc-minibuffer-message): New function.
9903 (eldoc-message-function): New variable.
9904 (eldoc-message): Use it.
9905 (eldoc-display-message-p)
9906 (eldoc-display-message-no-interference-p):
9907 Support eldoc-post-insert-mode.
9908
9909 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9910 (eval-expression): Run it.
9911
9912 2013-03-17 Roland Winkler <winkler@gnu.org>
9913
9914 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9915 strings in the list of return values.
9916
9917 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9918
9919 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9920 radix before checking for HMS forms.
9921
9922 2013-03-16 Leo Liu <sdl.web@gmail.com>
9923
9924 * progmodes/scheme.el: Add indentation and font-locking for λ.
9925 (Bug#13975)
9926
9927 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9930 token before point (bug#13942).
9931
9932 2013-03-16 Leo Liu <sdl.web@gmail.com>
9933
9934 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9935
9936 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9937
9938 * startup.el (command-line-normalize-file-name): Fix handling of
9939 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9940 <xfq.free@gmail.com> in
9941 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9942
9943 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9944
9945 Sync with Tramp 2.2.7.
9946
9947 * net/trampver.el: Update release number.
9948
9949 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9950
9951 * doc-view.el: Fix bug#13887.
9952 (doc-view-insert-image): Don't modify overlay associated to
9953 non-live windows, and implement horizontal centering of image in
9954 case it's smaller than the window.
9955 (doc-view-new-window-function): Force redisplay of new windows on
9956 doc-view buffers.
9957
9958 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9959
9960 * saveplace.el (save-place-alist-to-file): Don't sort
9961 `save-place-alist', just pretty-print it (bug#13882).
9962
9963 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9964
9965 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9966 Check whether `default-file-name-coding-system' is bound.
9967 It isn't in XEmacs.
9968
9969 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9972 backquotes for `obsolete' (bug#13929).
9973
9974 * international/mule.el (find-auto-coding): Include file name in
9975 obsolescence warning (bug#13922).
9976
9977 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9978
9979 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9980 for CFEngine 3-specific indentation.
9981 (cfengine3-indent-line): Use it. Fix up category regex.
9982 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9983
9984 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9985
9986 * type-break.el (type-break-file-name):
9987 * textmodes/remember.el (remember-data-file):
9988 * strokes.el (strokes-file):
9989 * shadowfile.el (shadow-initialize):
9990 * saveplace.el (save-place-file):
9991 * ps-bdf.el (bdf-cache-file):
9992 * progmodes/idlwave.el (idlwave-config-directory):
9993 * net/quickurl.el (quickurl-url-file):
9994 * international/kkc.el (kkc-init-file-name):
9995 * ido.el (ido-save-directory-list-file):
9996 * emulation/viper.el (viper-custom-file-name):
9997 * emulation/vip.el (vip-startup-file):
9998 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9999 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10000
10001 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10002
10003 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10004 * language/thai-word.el: Switch to UTF-8.
10005
10006 See ChangeLog.16 for earlier changes.
10007
10008 ;; Local Variables:
10009 ;; coding: utf-8
10010 ;; End:
10011
10012 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10013
10014 This file is part of GNU Emacs.
10015
10016 GNU Emacs is free software: you can redistribute it and/or modify
10017 it under the terms of the GNU General Public License as published by
10018 the Free Software Foundation, either version 3 of the License, or
10019 (at your option) any later version.
10020
10021 GNU Emacs is distributed in the hope that it will be useful,
10022 but WITHOUT ANY WARRANTY; without even the implied warranty of
10023 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10024 GNU General Public License for more details.
10025
10026 You should have received a copy of the GNU General Public License
10027 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.