Fix minor problems found by static checking.
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12013-11-25 Sebastian Wiesner <lunaryorn@gmail.com>
2
3 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4 Mark as obsolete and replace it with a symbol property.
5 (byte-compile-form): Use new 'interactive-only property.
6 * comint.el, files.el, replace.el, simple.el:
7 Apply new 'interactive-only properly.
8
92013-11-25 Martin Rudalics <rudalics@gmx.at>
10
11 * window.el (display-buffer-at-bottom): Make sure that
12 split-window-sensibly creates the new window on bottom
13 (Bug#15961).
14
152013-11-23 David Kastrup <dak@gnu.org>
16
17 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
18 on the conflict markers when available.
19 (smerge--get-marker): New function.
20 (smerge-end-re, smerge-base-re): Add subgroup.
21
222013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * frame.el (handle-focus-in, handle-focus-out): Add missing
25 interactive spec.
26
272013-11-25 Michael Albinus <michael.albinus@gmx.de>
28
29 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
30 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
31
322013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
35 (gomoku--last-pos): New var.
36 (gomoku--intangible-chars): New const.
37 (gomoku--intangible): New function.
38 (gomoku-mode): Use it. Derive from special-mode.
39 (gomoku-move-up): Adjust line count.
40 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
41 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
42 Simplify accordingly.
43
44 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
45 Remove blink-cursor code.
46 (blink-cursor-timer-function, blink-cursor-suspend):
47 Don't special-case GUIs.
48 (blink-cursor-mode): Use focus-in/out-hook.
49
502013-11-25 Dmitry Gutov <dgutov@yandex.ru>
51
52 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
53 work when annotation is invisible (Bug#13886).
54
552013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
56
57 * json.el (json-alist-p): Only return non-nil if the alist has
58 simple keys (Bug#13518).
59
602013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
61
62 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
63 when control-statement is the first statement in a buffer (Bug#15956).
64
652013-11-24 Dmitry Gutov <dgutov@yandex.ru>
66
67 * imenu.el (imenu-generic-skip-comments-and-strings):
68 New option (Bug#15560).
69 (imenu--generic-function): Use it.
70
712013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
72
73 * minibuffer.el (completion--in-region-1): Scroll the correct
74 window. (Bug#13898)
75
762013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
77
78 * emacs-lisp/helpers.el: Add some string helpers.
79 (string-trim-left): Removes leading whitespace.
80 (string-trim-right): Removes trailing whitespace.
81 (string-trim): Removes leading and trailing whitespace.
82
83 * subr.el (string-suffix-p): New function.
84
852013-11-23 Glenn Morris <rgm@gnu.org>
86
87 * progmodes/python.el (python-shell-send-file):
88 Add option to delete file when done. (Bug#15647)
89 (python-shell-send-string, python-shell-send-region): Use it.
90
912013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
92
93 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
94 to set buffer-read-only to t, never to nil. (Bug#15938)
95
96 * textmodes/tex-mode.el (latex-noindent-environments):
97 Add safe-local-variable property. (Bug#15936)
98
992013-11-23 Glenn Morris <rgm@gnu.org>
100
101 * textmodes/enriched.el (enriched-mode): Doc fix.
102 * emacs-lisp/authors.el (authors-renamed-files-alist):
103 Add enriched.doc -> enriched.txt.
104
105 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
106
1072013-11-22 Leo Liu <sdl.web@gmail.com>
108
109 * progmodes/octave.el (inferior-octave-startup): Spit out error
110 message.
111
1122013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
113
114 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
115 Improve docstring.
116 Add :version.
117 (ruby-encoding-magic-comment-style): Add :version.
118
1192013-11-22 Leo Liu <sdl.web@gmail.com>
120
121 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
122 (Bug#15076)
123 (octave-help-mode): Adapt to change to help-mode-finish to use
124 derived-mode-p on 2013-09-17.
125 (inferior-octave-prompt): Also match octave-gui.
126 (octave-kill-process): Don't ask twice. (Bug#10564)
127
1282013-11-22 Leo Liu <sdl.web@gmail.com>
129
130 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
131 (inferior-octave-startup, inferior-octave-check-process)
132 (inferior-octave-track-window-width-change)
133 (octave-completion-at-point, octave-eldoc-function): Use it.
134 (octave-kill-process): Provide confirmation. (Bug#10564)
135
1362013-11-21 Leo Liu <sdl.web@gmail.com>
137
138 * progmodes/octave.el (octave-mode, inferior-octave-mode):
139 Fix obsolete variable comment-use-global-state.
140
1412013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
142
143 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
144 Add `octave-source-file'.
145 (octave-source-file): New function. (Bug#15935)
146
1472013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
148
149 * net/eww.el (eww-local-regex): New variable.
150 (eww): Use it to detect localhost and similar.
151
1522013-11-21 Leo Liu <sdl.web@gmail.com>
153
154 Add completion for command `ag'.
155 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
156 (pcomplete/ag): New function.
157 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
158
1592013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
162 (bug#14646).
163 (make-obsolete): Remove interactive spec.
164
1652013-11-21 Glenn Morris <rgm@gnu.org>
166
167 * startup.el (command-line-1): Use path-separator with -L.
168
1692013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
170
171 * emacs-lisp/package.el (describe-package-1): Add package archive
172 to shown fields.
173
1742013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
175
176 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
177 Change default to "# encoding: %s" to differentiate it from the
178 default Ruby encoding comment template.
179
1802013-11-20 era eriksson <era+emacsbugs@iki.fi>
181
182 * ses.el (ses-mode): Doc fix. (Bug#14748)
183
1842013-11-20 Leo Liu <sdl.web@gmail.com>
185
186 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
187
1882013-11-19 Dan Nicolaescu <dann@gnu.org>
189
190 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
191 when rebase or bisect are in progress.
192
1932013-11-19 Xue Fuqiao <xfq.free@gmail.com>
194
195 * filenotify.el (file-notify-add-watch): Doc fix.
196
1972013-11-19 Leo Liu <sdl.web@gmail.com>
198
199 * obsolete/rcompile.el: Mark obsolete.
200
201 * progmodes/compile.el (compilation-start)
202 (compilation-goto-locus, compilation-find-file):
203 Pass no-display-ok and handle nil value from display-buffer.
204 (Bug#13594)
205
206 * window.el (display-buffer-alist, display-buffer): Document the
207 new parameter no-display-ok.
208
2092013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * electric.el (electric-indent-mode-map): Remove.
212 (electric-indent-mode): Change the global-map instead (bug#15915).
213
214 * textmodes/text-mode.el (paragraph-indent-minor-mode):
215 Use add-function.
216
2172013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * emacs-lisp/nadvice.el (remove-function): Align with
220 add-function's behavior.
221
222 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
223 (gdb--string-regexp): New constant.
224 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
225 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
226 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
227 submatch 1.
228 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
229 Adjust use accordingly.
230 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
231
2322013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
233
234 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
235 interpolation curlies (Bug#15914).
236
2372013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
238
239 * calc/calc.el (calc-context-sensitive-enter): New variable.
240 (calc-enter): Use `calc-context-sensitive-enter'.
241
2422013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
243
244 * progmodes/cfengine.el: Version bump.
245 (cfengine-cf-promises): New defcustom to locate cf-promises.
246 (cfengine3-vartypes): Add new "data" type.
247 (cfengine3--current-word): New function to get current name-like
248 word or its bounds.
249 (cfengine3--current-function): New function to look up a CFEngine
250 function's definition.
251 (cfengine3-format-function-docstring): New function.
252 (cfengine3-make-syntax-cache): New function.
253 (cfengine3-documentation-function): New function: ElDoc glue.
254 (cfengine3-completion-function): New function: completion glue.
255 (cfengine3-mode): Set `compile-command',
256 `eldoc-documentation-function', and add to
257 `completion-at-point-functions'.
258
2592013-11-16 Michael Albinus <michael.albinus@gmx.de>
260
261 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
262 `tramp-current-connection'.
263
2642013-11-15 Dmitry Gutov <dgutov@yandex.ru>
265
266 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
267 nil/self/true/false with "end of symbol".
268
2692013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
270
271 * subr.el (version-regexp-alist): Fix a typo.
272
2732013-11-15 Michael Albinus <michael.albinus@gmx.de>
274
275 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
276 "en_US.utf8" and "LC_CTYPE" to "".
277 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
278 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
279
2802013-11-15 Leo Liu <sdl.web@gmail.com>
281
282 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
283
2842013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * progmodes/gud.el (ctl-x-map):
287 Remove C-x SPC binding. (Bug#12342)
288 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
289
2902013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
291
292 * subr.el (version-regexp-alist):
293 Recognize hg, svn and darcs versions as snapshot versions.
294
295 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
296 Add the ability to always insert an utf-8 encoding comment.
297 Fix and simplify coding comment update logic.
298
2992013-11-14 Michael Albinus <michael.albinus@gmx.de>
300
301 * net/tramp-gvfs.el (top): Run init code only when
302 `tramp-gvfs-enabled' is not nil.
303 (tramp-gvfs-enabled): Check also :system bus.
304
3052013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 Sync with upstream verilog-mode revision 78e66ba.
308 * progmodes/verilog-mode.el (verilog-end-of-defun)
309 (verilog-type-completion, verilog-get-list): Remove unused funcs.
310 (verilog-get-end-of-defun): Remove unused argument.
311 (verilog-comment-depth): Remove unused local `e'.
312 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
313 Don't pass arg to verilog-get-end-of-defun.
314
3152013-11-14 Glenn Morris <rgm@gnu.org>
316
317 * obsolete/assoc.el (aget): Prefix dynamic variable.
318
319 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
320
3212013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * widget.el, hfy-cmap.el: Remove bogus package version number.
324
3252013-11-13 Glenn Morris <rgm@gnu.org>
326
327 * replace.el (replace-eval-replacement):
328 Try to give more helpful error message. (Bug#15836)
329
330 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
331 (archive-7z-update): Avoid custom type mismatches.
332
333 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
334
3352013-11-13 Michael Albinus <michael.albinus@gmx.de>
336
337 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
338 address can be empty.
339
340 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
341 Accept nil SWITCHES.
342 (tramp-gvfs-handle-write-region): Implement APPEND.
343
3442013-11-12 Dmitry Gutov <dgutov@yandex.ru>
345
346 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
347 binary "|" operator and closing block args delimiter.
348 Remove FIXME comment referring to Ruby 1.8-only syntax.
349 (ruby-smie--implicit-semi-p): Not after "|" operator.
350 (ruby-smie--closing-pipe-p): New function.
351 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
352 (ruby-smie-rules): Indent after "|".
353
3542013-11-12 Glenn Morris <rgm@gnu.org>
355
356 * ps-print.el (ps-face-attribute-list):
357 Handle anonymous faces. (Bug#15827)
358
3592013-11-12 Martin Rudalics <rudalics@gmx.at>
360
361 * window.el (display-buffer-other-frame): Fix doc-string.
362 (Bug#15868)
363
3642013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
365
366 * subr.el (force-mode-line-update): Delete, move to buffer.c.
367
3682013-11-11 Michael Albinus <michael.albinus@gmx.de>
369
370 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
371 (tramp-sh-handle-file-local-copy): Don't write a message when
372 saving temporary files.
373
374 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
375 both directories are remote.
376 (tramp-smb-handle-directory-files): Do not return double entries.
377 Do not expand full file names.
378 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
379 (tramp-smb-handle-write-region): Implement APPEND.
380 (tramp-smb-get-stat-capability): Fix a stupid bug.
381
3822013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
385
3862013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
387
388 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
389 throwing error over malformed let/let* (bug#15814).
390
3912013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * iswitchb.el (iswitchb-mode): Mark obsolete.
394
3952013-11-11 Glenn Morris <rgm@gnu.org>
396
397 * international/uni-bidi.el, international/uni-category.el:
398 * international/uni-name.el, international/uni-numeric.el:
399 Regenerate for Unicode 6.3.0.
400
4012013-11-10 Michael Albinus <michael.albinus@gmx.de>
402
403 * net/tramp.el (tramp-methods):
404 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
405 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
406
4072013-11-09 Andreas Schwab <schwab@linux-m68k.org>
408
409 * progmodes/sh-script.el (sh-font-lock-keywords-var):
410 Force highlighting text after Summary keyword in doc face for rpm.
411
4122013-11-09 Dmitry Gutov <dgutov@yandex.ru>
413
414 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
415 available and the word has no wildcards, append one to the grep pattern.
416 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
417 (ispell-complete-word): Call `ispell-lookup-words' with the value
418 independent of `ispell-look-p'.
419
4202013-11-08 Dmitry Gutov <dgutov@yandex.ru>
421
422 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
423 Not after "||".
424 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
425 their parent.
426
4272013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
430 (ruby-font-lock-keywords): Use backquote.
431
4322013-11-08 Dmitry Gutov <dgutov@yandex.ru>
433
434 * progmodes/ruby-mode.el (ruby-smie--forward-token)
435 (ruby-smie--backward-token): Only consider full-string matches.
436
4372013-11-08 Jan Djärv <jan.h.d@swipnet.se>
438
439 * faces.el (describe-face): Add distant-foreground.
440
4412013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
442
443 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
444 Use `ruby-encoding-magic-comment-style' to control the
445 style of the auto-inserted encoding comment.
446
4472013-11-08 Dmitry Gutov <dgutov@yandex.ru>
448
449 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
450 Use `smie-backward-sexp' with token argument.
451
4522013-11-08 Michael Albinus <michael.albinus@gmx.de>
453
454 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
455 Remove instrumentation code.
456
4572013-11-08 Glenn Morris <rgm@gnu.org>
458
459 * progmodes/autoconf.el (autoconf-mode):
460 Tweak comment-start-skip. (Bug#15822)
461
4622013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
465 at bobp (bug#15826).
466 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
467
4682013-11-08 Darren Hoo <darren.hoo@gmail.com>
469
470 * man.el (Man-start-calling): New macro, extracted from
471 Man-getpage-in-background.
472 (Man-getpage-in-background): Use it.
473 (Man-update-manpage): New command.
474 (Man-mode-map): Bind it.
475
4762013-11-08 Dmitry Gutov <dgutov@yandex.ru>
477
478 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
479 of "and", "or", "&&" and "||".
480 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
481 argument. Prohibit opening curly brace because it could only be a
482 block opener in that position.
483 (ruby-smie--forward-token, ruby-smie--backward-token):
484 Separate "|" from "&" or "*" going after it. That can happen in block
485 arguments.
486 (ruby-smie--indent-to-stmt): New function, seeks the end of
487 previous statement or beginning of buffer.
488 (ruby-smie-rules): Use it.
489 (ruby-smie-rules): Check if there's a ":" before a curly block
490 opener candidate; if there is, it's a hash.
491
4922013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
495 (cl--block-wrapper): Fix last accidental change.
496
4972013-11-07 Michael Albinus <michael.albinus@gmx.de>
498
499 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
500 Instrument, in order to hunt failure on hydra.
501
5022013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
503
504 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
505 malformed bindings form (bug#15814).
506
5072013-11-07 Dmitry Gutov <dgutov@yandex.ru>
508
509 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
510 "." compared to " @ ". This incidentally fixes some indentation
511 examples with "do".
512 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
513 (ruby-smie-grammar): New tokens: "and" and "or".
514 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
515 Exclude "and" and "or". Remove "do" in order to work around token
516 priorities.
517 (ruby-smie-rules): Add all infix tokens. Handle the case of
518 beginning-of-buffer.
519
5202013-11-06 Glenn Morris <rgm@gnu.org>
521
522 * Makefile.in (setwins_almost, setwins_for_subdirs):
523 Avoid accidental matches.
524
5252013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * menu-bar.el (popup-menu): Use key-binding.
528
5292013-11-06 Eli Zaretskii <eliz@gnu.org>
530
531 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
532 menus, support also the menus produced by minor modes.
533 (Bug#15817)
534
5352013-11-06 Leo Liu <sdl.web@gmail.com>
536
537 * thingatpt.el (thing-at-point-looking-at): Add optional arg
538 DISTANCE to bound the search. All uses changed. (Bug#15808)
539
5402013-11-06 Glenn Morris <rgm@gnu.org>
541
542 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
543 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
544 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
545
5462013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * electric.el (electric-indent-just-newline): New command.
549 (electric-indent-mode-map): New keymap.
550 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
551 Re-add :group which weren't redundant.
552
553 * electric.el (electric-indent-local-mode): New minor mode.
554 (electric-indent-functions-without-reindent): New var.
555 (electric-indent-post-self-insert-function): Use it.
556 * emacs-lisp/gv.el (buffer-local-value): Add setter.
557
5582013-11-05 Eli Zaretskii <eliz@gnu.org>
559
560 * international/quail.el (quail-help): Be more explicit about the
561 meaning of the labels shown on the keys. (Bug#15800)
562
563 * startup.el (normal-top-level): Load the subdirs.el files before
564 setting the locale environment. (Bug#15805)
565
5662013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
567
568 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
569 via arguments so as to get the right ones (bug#15418).
570
571 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
572
5732013-11-05 Michael Albinus <michael.albinus@gmx.de>
574
575 Fix problems found while writing a test suite.
576
577 * net/tramp-compat.el (tramp-compat-load): New defun.
578 * net/tramp.el (tramp-handle-load): Use it.
579
580 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
581 "(numberp ok-if-already-exists)" correctly.
582
5832013-11-05 Xue Fuqiao <xfq.free@gmail.com>
584
585 * international/characters.el (glyphless-char-display-control):
586 Add usage note.
587
5882013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
589
590 * progmodes/python.el (python-mode):
591 * progmodes/scheme.el (scheme-mode):
592 * progmodes/prolog.el (prolog-mode):
593 * progmodes/ruby-mode.el (ruby-mode):
594 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
595 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
596
5972013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * rect.el (rectangle--highlight-for-redisplay):
600 * emacs-lisp/smie.el (smie--next-indent-change):
601 Use buffer-chars-modified-tick.
602
603 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
604
605 * electric.el (electric-indent-post-self-insert-function):
606 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
607
6082013-11-04 Helmut Eller <eller.helmut@gmail.com>
609
610 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
611
6122013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
613
614 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
615 (bug#15786).
616
6172013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
618
619 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
620
621 * progmodes/python.el: Fix up last change.
622 (python-shell--save-temp-file): New function.
623 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
624 `string' comes from the current buffer.
625 (python-shell-send-string-no-output): Remove `msg' arg.
626 (python--use-fake-loc): New var.
627 (python-shell-buffer-substring): Obey it. Try to compensate for the
628 extra coding line added by python-shell--save-temp-file.
629 (python-shell-send-region): Use python-shell--save-temp-file and
630 python-shell-send-file directly. Add `nomain' argument.
631 (python-shell-send-buffer): Use python-shell-send-region.
632 (python-electric-pair-string-delimiter): New function.
633 (python-mode): Use it.
634
6352013-11-04 Eli Zaretskii <eliz@gnu.org>
636
637 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
638 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
639 environment and decoding all of the default-directory's to here
640 from command-line.
641 (command-line): Decode also argv[0].
642
643 * loadup.el: Error out if default-directory is a multibyte string
644 when we are dumping.
645
646 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
647
6482013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
649
650 * emacs-lisp/package.el (package-menu-mode)
651 (package-menu--print-info, package-menu--archive-predicate):
652 Add Archive column to package list.
653
6542013-11-04 Michael Albinus <michael.albinus@gmx.de>
655
656 Fix problems found while writing a test suite.
657
658 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
659 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
660 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
661 to nil when running original file name handler. Otherwise,
662 there are problems with constructs like "$$FOO".
663
664 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
665 for `localname'.
666
6672013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
668
669 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
670
671 * subr.el (version<, version<=, version=):
672 Update docstrings with information for snapshot versions.
673
674 * helpers.el: New library for misc helper functions.
675 (hash-table-keys): New function returning a list of hash keys.
676 (hash-table-values): New function returning a list of hash values.
677
6782013-11-04 Dmitry Gutov <dgutov@yandex.ru>
679
680 * progmodes/ruby-mode.el (ruby-smie--forward-token)
681 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
682
6832013-11-04 Michal Nazarewicz <mina86@mina86.com>
684
685 * textmodes/fill.el (fill-single-char-nobreak-p): New function
686 checking whether point is after a 1-letter word.
687
6882013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
689
690 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
691 Don't infloop when expanding region over `multiline' syntax-type that
692 begins a line (bug#15778).
693
6942013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
697 Make it into a proper minor mode.
698 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
699 (rectangle-mark-mode-map): New keymap.
700 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
701
7022013-11-04 Glenn Morris <rgm@gnu.org>
703
704 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
705
7062013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
707
708 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
709 (ruby-smie-rules): Use smie-rule-parent instead.
710
711 * emacs-lisp/smie.el (smie-rule-parent): Always call
712 smie-indent-virtual rather than only for hanging tokens.
713 (smie--next-indent-change): New helper command.
714
7152013-11-03 Glenn Morris <rgm@gnu.org>
716
717 * Makefile.in (abs_srcdir): Remove.
718 (emacs): Unset EMACSLOADPATH.
719
7202013-11-02 Glenn Morris <rgm@gnu.org>
721
722 * Makefile.in (EMACS): Use a relative filename.
723 (abs_top_builddir): Remove.
724 (custom-deps, finder-data, autoloads): Use --chdir.
725
726 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
727
728 Use relative filenames in TAGS files.
729 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
730 (lisptagsfiles4, TAGS): Use relative file names.
731 (TAGS-LISP): Remove.
732 (maintainer-clean): No more TAGS-LISP file.
733
734 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
735 (lisptagsfiles4): Use absolute filenames again.
736 (TAGS, TAGS-LISP): Not everything needs to run in one line.
737 Remove all *loaddefs files, not just the first. Remove esh-groups.
738 (maintainer-clean): Delete TAGS, TAGS-LISP.
739
7402013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
741
742 * emacs-lisp/package.el (package-version-join):
743 Recognize snapshot versions.
744
7452013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
746
747 * subr.el (version-regexp-alist): Add support for snapshot versions.
748
7492013-11-02 Dmitry Gutov <dgutov@yandex.ru>
750
751 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
752 New function, replacement for `smie-rule-parent' for when we want to
753 skip over our direct parent if it's an assignment token..
754 (ruby-smie-rules): Use it.
755
7562013-11-02 Dmitry Gutov <dgutov@yandex.ru>
757
758 * progmodes/ruby-mode.el Use `syntax-propertize-function'
759 unconditionally. Remove now unnecessary forward declarations.
760 Remove XEmacs-specific setup.
761 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
762 (ruby-font-lock-syntactic-keywords)
763 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
764 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
765 (ruby-here-doc-end-syntax): Remove.
766 (ruby-mode): Don't check whether `syntax-propertize-rules' is
767 defined as function.
768
7692013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
770
771 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
772
7732013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
774
775 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
776 table and abbrev table, `define-derived-mode' does that for us
777 anyway.
778
7792013-11-01 Glenn Morris <rgm@gnu.org>
780
781 * Makefile.in: Remove manual mh-e dependencies (writing .elc
782 files is atomic for some time, so no parallel compilation issues).
783
7842013-11-01 Jan Djärv <jan.h.d@swipnet.se>
785
786 * faces.el (face-x-resources): Add :distant-foreground.
787 (region): Use :distant-foreground for gtk and ns.
788
7892013-11-01 Tassilo Horn <tsdh@gnu.org>
790
791 Allow multiple bibliographies when BibLaTeX is used rather than
792 BibTeX.
793 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
794 (reftex-locate-bibliography-files): Us it.
795
7962013-11-01 Claudio Bley <claudio.bley@googlemail.com>
797
798 * image.el (image-type-header-regexps): Fix the 'pbm' part to
799 allow comments in pbm files.
800
801 * term/w32-win.el (dynamic-library-alist): Support newer versions
802 of libjpeg starting with v7: look only for the DLL from the
803 version against which Emacs was built.
804 Support versions of libpng beyond 1.4.x.
805 Support libtiff v4.x.
806
8072013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
808
809 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
810 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
811 Add property :safe.
812 (ruby-deep-arglist): Add property :type.
813
8142013-10-31 Glenn Morris <rgm@gnu.org>
815
816 * Makefile.in (custom-deps, finder-data): No need to setq the target
817 variables, we are in the right directory and the defaults work fine.
818
8192013-10-30 Glenn Morris <rgm@gnu.org>
820
821 * Makefile.in (autoloads): Do not use abs_lisp.
822
823 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
824 `newline' does not respect `standard-output', so use `princ'.
825
8262013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
827
828 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
829 * buff-menu.el (Buffer-menu--unmark): New function.
830 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
831
8322013-10-30 Glenn Morris <rgm@gnu.org>
833
834 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
835
836 * emacs-lisp/package.el (lm-homepage): Declare.
837
838 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
839 Fix doc typos.
840
841 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
842
843 * Makefile.in (finder-data, autoloads, update-subdirs)
844 (compile-main, compile-clean, compile-always, bootstrap-clean):
845 Check return value of cd.
846 (compile-calc): Remove.
847
8482013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
851
852 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
853 (byte-compile-and-folded): New function.
854 (=, <, >, <=, >=): Use it.
855
856 * dos-w32.el (minibuffer-history-case-insensitive-variables)
857 (path-separator, null-device, buffer-file-coding-system)
858 (lpr-headers-switches): Check system-type before modifying them.
859 (find-buffer-file-type-coding-system): Mark obsolete.
860 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
861 find-file-not-found-set-buffer-file-coding-system.
862 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
863 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
864 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
865 (w32-direct-print-region-helper, w32-direct-print-region-function)
866 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
867 * startup.el (normal-top-level-add-subdirs-to-load-path):
868 * ps-print.el (ps-print-region-function):
869 * lpr.el (print-region-function): Use new name.
870
871 * subr.el (custom-declare-variable-early): Remove function.
872 (custom-declare-variable-list): Remove var.
873 (error, user-error): Remove `while' loop.
874 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
875 (user-emacs-directory-warning, locate-user-emacs-file):
876 Move to files.el.
877 * simple.el (read-quoted-char-radix, read-quoted-char):
878 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
879 Move from subr.el.
880 * custom.el (custom-declare-variable-list): Don't process
881 custom-declare-variable-list.
882
883 * progmodes/python.el (python-shell-get-buffer): New function.
884 (python-shell-get-process): Use it.
885 (python-shell-send-string): Always use utf-8 and add a cookie to tell
886 Python which encoding was used. Don't split-string since we only care
887 about the first line. Return the temp-file, if applicable.
888 (python-shell-send-region): Tell compile.el how to turn locations in
889 the temp-file into locations in the source buffer.
890
8912013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * subr.el (undefined): Add missing behavior from the C code for
894 unbound keys.
895
896 * rect.el: Use lexical-binding. Add new rectangular region support.
897 (rectangle-mark): New command.
898 (rectangle--region): New var.
899 (deactivate-mark-hook): Reset rectangle--region.
900 (rectangle--extract-region, rectangle--insert-for-yank)
901 (rectangle--highlight-for-redisplay)
902 (rectangle--unhighlight-for-redisplay): New functions.
903 (region-extract-function, redisplay-unhighlight-region-function)
904 (redisplay-highlight-region-function): Use them to handle
905 rectangular region.
906 * simple.el (region-extract-function): New var.
907 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
908 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
909 (kill-region): Replace obsolete `yank-handler' arg with `region'.
910 (copy-region-as-kill, kill-ring-save): Add `region' argument.
911 (redisplay-unhighlight-region-function)
912 (redisplay-highlight-region-function): New vars.
913 (redisplay--update-region-highlight): New function.
914 (pre-redisplay-function): Use it.
915 (exchange-point-and-mark): Don't deactivate the mark before
916 reactivate-it anyway.
917 * comint.el (comint-kill-region): Remove yank-handler argument.
918 * delsel.el (delete-backward-char, backward-delete-char-untabify)
919 (delete-char): Remove property, since it's now part of their
920 default behavior.
921 (self-insert-iso): Remove property since this command doesn't exist.
922
923 * emacs-lisp/package.el (package--download-one-archive)
924 (describe-package-1): Don't query the user about final newline.
925
9262013-10-29 Daniel Colascione <dancol@dancol.org>
927
928 * net/tramp.el (tramp-methods): Document new functionality.
929 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
930 tramp-hostname-checker if method provides one instead of scanning
931 argument list for "%h" to decide hostname acceptability.
932
9332013-10-28 Michael Albinus <michael.albinus@gmx.de>
934
935 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
936 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
937 Handle COPY-CONTENTS. (Bug#15737)
938
9392013-10-28 Daiki Ueno <ueno@gnu.org>
940
941 * epa-file.el
942 (epa-file-cache-passphrase-for-symmetric-encryption):
943 Document that this option has no effect with GnuPG 2.0 (bug#15552).
944
9452013-10-27 Xue Fuqiao <xfq.free@gmail.com>
946
947 * image.el (defimage):
948 (image-load-path): Doc fixes.
949
9502013-10-27 Alan Mackenzie <acm@muc.de>
951
952 Indent statements in macros following "##" correctly.
953 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
954 Modify the "#" arm of a cond form to handle "#" and "##" operators.
955
9562013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
957
958 * linum.el (linum-update-window): Fix boundary test (bug#13446).
959
9602013-10-27 Dmitry Gutov <dgutov@yandex.ru>
961
962 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
963 after `=' is probably a new expression.
964
9652013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
966
967 * man.el (man-imenu-title): New option.
968 (Man-mode-map): Add menu. (Bug#15722)
969 (Man-mode): Add imenu to menu.
970
9712013-10-26 Dmitry Gutov <dgutov@yandex.ru>
972
973 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
974 specific in what the first arg can be: a non-keyword word,
975 string/regexp/percent literal opener, opening paren, or unary
976 operator followed directly by word.
977
9782013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
981 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
982 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
983 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
984 Remove vars, they do not apply any more.
985 (prolog-mode-abbrev-table): Remove redundant declaration.
986 (prolog-upper-case-string, prolog-lower-case-string): Remove.
987 (prolog-use-smie): Remove.
988 (prolog-smie-rules): Add indentation rule for the if-then-else layout
989 supported by prolog-electric-if-then-else-flag.
990 (prolog-mode-variables, prolog-menu): Use setq-local.
991 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
992 Remove binding to `Backspace' since this key doesn't exist anyway.
993 Remove bindings for electric self-inserting keys.
994 (prog-mode): Assume it's defined.
995 (prolog-post-self-insert): New function.
996 (prolog-mode): Use it.
997 (prolog-indent-line, prolog-indent-level)
998 (prolog-find-indent-of-matching-paren)
999 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1000 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1001 (prolog-goto-next-paren, prolog-in-string-or-comment)
1002 (prolog-tokenize, prolog-inside-mline-comment)
1003 (prolog-find-start-of-mline-comment): Remove functions.
1004 (prolog-find-unmatched-paren, prolog-clause-end)
1005 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1006 (prolog-electric--if-then-else): Rename from
1007 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1008 (prolog-tokenize-searchkey): Remove const.
1009 (prolog-clause-info): Use forward-sexp.
1010 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1011 (prolog-electric-if-then-else): Remove commands.
1012 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1013 for use in post-self-insert-hook.
1014 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1015 for use in post-self-insert-hook.
1016 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1017 for use in post-self-insert-hook.
1018 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1019 adapt it for use in post-self-insert-hook.
1020
10212013-10-25 Michael Albinus <michael.albinus@gmx.de>
1022
1023 * emacs-lisp/ert.el (ert-run-tests-interactively):
1024 Use `completing-read'. (Bug#9756)
1025
10262013-10-25 Eli Zaretskii <eliz@gnu.org>
1027
1028 * simple.el (line-move): Call line-move-1 instead of
1029 line-move-visual when the current window hscroll is zero, but
1030 temporary-goal-column indicates we will need to hscroll as result
1031 of the movement. (Bug#15712)
1032
10332013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1034
1035 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1036 capitalization. Use :visible instead of :active.
1037 Fix `ruby-indent-exp' reference. Add menu items for the generic
1038 commands that are used with SMIE.
1039 (ruby-do-end-to-brace): Insert space after `{'.
1040
10412013-10-25 John Anthony <john@jo.hnanthony.com>
1042
1043 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1044
1045 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1046
10472013-10-25 Glenn Morris <rgm@gnu.org>
1048
1049 * vc/vc.el (vc-print-log): Don't use a working revision unless
1050 one was explicitly specified. (Bug#15322)
1051
10522013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * subr.el (add-to-list): Preserve return value in compiler-macro
1055 (bug#15692).
1056
10572013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1058
1059 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1060 result. Ask user to retry using '-all' flag. (Bug#15701)
1061
10622013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1063
1064 * emacs-lisp/smie.el: New smie-config system.
1065 (smie-config): New defcustom.
1066 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1067 (smie-config-guess, smie-config-save): New commands.
1068 (smie-config--mode-local, smie-config--buffer-local)
1069 (smie-config--trace, smie-config--modefuns): New vars.
1070 (smie-config--advice, smie-config--mode-hook)
1071 (smie-config--setter, smie-config-local, smie-config--get-trace)
1072 (smie-config--guess-value, smie-config--guess): New functions.
1073 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1074 text properties. Treat "string fence" syntax like string syntax.
1075
1076 * progmodes/sh-script.el (sh-use-smie): Change default.
1077 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1078 (sh-var-value): Simplify by CSE.
1079 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1080 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1081 is used.
1082 (sh-guess-basic-offset): Use cl-incf.
1083 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1084
10852013-10-24 Helmut Eller <eller.helmut@gmail.com>
1086
1087 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1088 (bug#15699).
1089
10902013-10-24 Glenn Morris <rgm@gnu.org>
1091
1092 * Makefile.in (abs_top_srcdir): Remove.
1093 (update-subdirs): Use relative path to update-subdirs.
1094
10952013-10-24 Eli Zaretskii <eliz@gnu.org>
1096
1097 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1098 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1099 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1100 Call unmsys--file-name before expand-file-name, not after it.
1101
11022013-10-24 Michael Albinus <michael.albinus@gmx.de>
1103
1104 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1105 (ert-test-skipped): New error.
1106 (ert-skip, ert-stats-skipped): New defuns.
1107 (ert--skip-unless): New macro.
1108 (ert-test-skipped): New struct.
1109 (ert--run-test-debugger, ert-test-result-type-p)
1110 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1111 (ert--stats-set-test-and-result, ert-char-for-test-result)
1112 (ert-string-for-test-result, ert-run-tests-batch)
1113 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1114 Handle skipped tests. (Bug#9803)
1115
11162013-10-24 Glenn Morris <rgm@gnu.org>
1117
1118 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1119
1120 * Makefile.in (abs_top_srcdir): New, set by configure.
1121 (update-subdirs): Correct build-aux location.
1122
11232013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1124
1125 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1126 value, whether we could auto-deduce `backend', or not.
1127
1128 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1129 with parameters" example. Simplify the "is it block or is it
1130 hash" check, but also make it more thorough.
1131
11322013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1133
1134 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1135
11362013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1139 { if it is hanging.
1140
1141 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1142 :before ";".
1143
11442013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1145
1146 * progmodes/compile.el (compilation-directory-matcher)
1147 (compilation-page-delimiter):
1148 Support GNU Make-4.0 directory quoting. (Bug#15678)
1149
11502013-10-23 Leo Liu <sdl.web@gmail.com>
1151
1152 * ido.el (ido-tidy): Handle read-only text.
1153
11542013-10-23 Glenn Morris <rgm@gnu.org>
1155
1156 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1157 (emacs, compile, compile-always):
1158 Quote entities that might contain whitespace.
1159 (custom-deps, finder-data, autoloads): Use abs_lisp.
1160 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1161 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1162 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1163
11642013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1165
1166 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1167 Use `following-char'.
1168
11692013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1172 * progmodes/ruby-mode.el (ruby-smie-rules):
1173 Remove corresponding workaround. Fix indentation rule of ";" so it
1174 also applies when ";" is the parent.
1175
11762013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1177
1178 * frame.el (display-screens, display-pixel-height)
1179 (display-pixel-width, display-mm-width, display-backing-store)
1180 (display-save-under, display-planes, display-color-cells)
1181 (display-visual-class, display-monitor-attributes-list):
1182 Mention the optional ‘display’ argument in doc strings.
1183
11842013-10-22 Michael Gauland <mikelygee@amuri.net>
1185
1186 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1187 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1188
11892013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1190
1191 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1192 TODO. Add "." after " @ ".
1193 (ruby-smie--at-dot-call): New function. Checks if point at method
1194 call with explicit target.
1195 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1196 to the method name tokens when it precedes them.
1197 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1198 (ruby-smie-rules): Add rule for indentation before and after "."
1199 token.
1200
12012013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * textmodes/remember.el (remember-diary-extract-entries):
1204 Avoid add-to-list.
1205
1206 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1207 an instruction.
1208
12092013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1210
1211 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1212 (ruby-smie--implicit-semi-p): Add new operator chars.
1213
1214 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1215 `smie-down-list'.
1216 (ruby-smie--args-separator-p): Check that there's no newline
1217 between method call and its arguments.
1218
12192013-10-20 Alan Mackenzie <acm@muc.de>
1220
1221 Allow comma separated lists after Java "implements".
1222
1223 * progmodes/cc-engine.el (c-backward-over-enum-header):
1224 Parse commas.
1225 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1226 from a "disallowed" list in enum fontification.
1227
12282013-10-20 Johan Bockgård <bojohan@gnu.org>
1229
1230 * startup.el (default-frame-background-mode): Remove unused defvar.
1231
1232 * progmodes/verilog-mode.el (verilog-mode): Don't set
1233 comment-indent-function globally.
1234
12352013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1236
1237 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1238 Move Info menu item creation to ns-win.el.
1239
1240 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1241 in menu bar.
1242
1243 * menu-bar.el: Move GNUStep specific menus...
1244
1245 * term/ns-win.el (ns-initialize-window-system): ... to here.
1246
12472013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * simple.el (newline): Only run post-self-insert-hook when
1250 called interactively.
1251
12522013-10-19 Johan Bockgård <bojohan@gnu.org>
1253
1254 * icomplete.el (icomplete-with-completion-tables): Add :version.
1255
12562013-10-19 Alan Mackenzie <acm@muc.de>
1257
1258 Fix fontification bugs with constructors and const.
1259
1260 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1261 CASE 2) Remove the check for the absence of a suffix construct
1262 after a function declaration with only types (no identifiers) in
1263 the parentheses. Also, accept a function declaration with just a
1264 type inside the parentheses, if this type can be positively
1265 recognised as such, or if a prefix keyword like "explicit" nails
1266 down the construct as a declaration.
1267
12682013-10-19 Eli Zaretskii <eliz@gnu.org>
1269
1270 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1271 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1272 the problem whereby selecting a menu item that leads to a
1273 minibuffer prompt moves the cursor out of the minibuffer window,
1274 making it hard to type at the prompt. Suggested by Stefan Monnier
1275 <monnier@iro.umontreal.ca>.
1276
12772013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1278
1279 * menu-bar.el: Don't make Services menu.
1280
12812013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1282
1283 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1284 (ffap-alist): Use ffap-c++-mode for c++-mode.
1285 (ffap-c++-path): New variable.
1286 (ffap-c++-mode): New function.
1287
12882013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1289
1290 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1291
12922013-10-18 Michael Albinus <michael.albinus@gmx.de>
1293
1294 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1295 introduced on 2013-09-08, which results in an infinite loop
1296 requesting a password.
1297
12982013-10-18 Glenn Morris <rgm@gnu.org>
1299
1300 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1301
13022013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1303
1304 Sync with upstream verilog-mode revision 1a6ecec7.
1305 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1306 (verilog-mode-release-date): Remove.
1307 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1308 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1309 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1310 (verilog-auto-tieoff-ignore-regexp)
1311 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1312 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1313 (verilog-signals-with, verilog-dir-cache-preserving)
1314 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1315 Doc fixes.
1316 (verilog-case-fold): New option, to control case folding in
1317 regexp searches, bug597.
1318 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1319 (verilog-string-match-fold, verilog-in-paren-count)
1320 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1321 (verilog-at-close-struct-p): New functions.
1322 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1323 (verilog-forward-sexp, verilog-set-auto-endcomments):
1324 (verilog-leap-to-case-head): Handle "unique0" case.
1325 (verilog-in-constraint-re): New constant.
1326 (verilog-keywords, verilog-type-font-keywords):
1327 Add some SystemVerilog 1800-2012 keywords.
1328 (verilog-label-be): Remove unimplemented argument, bug669.
1329 (verilog-batch-execute-func): When batch expanding clear
1330 create-lockfiles to prevent spurious user locks when a file ends
1331 up not changing.
1332 (verilog-calculate-indent, verilog-calc-1)
1333 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1334 (verilog-do-indent): Fix indentation of nested constraints
1335 and structures.
1336 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1337 (verilog-auto-inst-param): Use verilog-string-match-fold.
1338 (verilog-read-inst-module-matcher):
1339 Fix AUTOINST on gate primitives with #1.
1340 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1341 Reads all user-defined typed variables.
1342 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1343 (verilog-signals-matching-regexp)
1344 (verilog-signals-not-matching-regexp, verilog-auto):
1345 Respect verilog-case-fold.
1346 (verilog-diff-report): Fix line count.
1347 (verilog-auto-assign-modport): Remove unused local `modi'.
1348 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1349 better handle multidimensional arrays.
1350 Fix packed array ports misadding bit index in AUTOINST, bug637.
1351 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1352 to not double-declare existing outputs and inputs, respectively.
1353 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1354 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1355 (verilog-sk-uvm-component): New skeleton.
1356 (verilog-submit-bug-report): Add verilog-case-fold,
1357 remove verilog-mode-release-date.
1358
13592013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1360
1361 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1362 as before.
1363
13642013-10-18 Reuben Thomas <rrt@sc3d.org>
1365
1366 * textmodes/remember.el (remember): set buffer-offer-save in
1367 remember buffers (bug#13566).
1368
13692013-10-18 Daniel Colascione <dancol@dancol.org>
1370
1371 When evaluating forms in ielm, direct standard output to ielm
1372 buffer. Add new ielm-return-for-effect command. Remove trailing
1373 whitespace throughout.
1374
1375 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1376 (ielm-return-for-effect): New command.
1377 (ielm-send-input): Accept optional `for-effect' parameter.
1378 (ielm-eval-input): Accept optional `for-effect' parameter.
1379 Bind `standard-output' to stream we create using
1380 `ielm-standard-output-impl'. Suppress printing result when
1381 `for-effect'.
1382 (ielm-standard-output-impl): New function.
1383 (inferior-emacs-lisp-mode): Explain new features in documentation.
1384
13852013-10-17 Michael Albinus <michael.albinus@gmx.de>
1386
1387 Code cleanup.
1388
1389 * net/tramp.el (tramp-debug-message): Do not check for connection
1390 buffer.
1391 (tramp-message): Use "vector" connection property.
1392
1393 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1394 (tramp-equal-remote, tramp-eshell-directory-change)
1395 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1396 (tramp-adb-handle-rename-file)
1397 * net/tramp-cmds.el (tramp-list-remote-buffers)
1398 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1399 * net/tramp-compat.el (tramp-compat-process-running-p)
1400 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1401 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1402 (tramp-gvfs-handle-rename-file)
1403 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1404 (tramp-set-file-uid-gid)
1405 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1406 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1407 of `file-remote-p'.
1408
1409 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1410 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1411 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1412 (tramp-gw-open-network-stream): Suppress unrelated traces.
1413
1414 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1415 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1416 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1417 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1418 connection property.
1419
1420 * net/tramp-cache.el (top): Suppress traces when reading
1421 persistency file.
1422
1423 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1424 Refactor common code. Improve debug message.
1425 (tramp-maybe-open-connection)
1426 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1427 connection buffer too early.
1428
1429 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1430 from `tramp-smb-actions-with-acl'.
1431 (tramp-smb-actions-set-acl): New defconst.
1432 (tramp-smb-handle-copy-directory)
1433 (tramp-smb-action-get-acl): New defun, renamed from
1434 `tramp-smb-action-with-acl'.
1435 (tramp-smb-action-set-acl): New defun.
1436 (tramp-smb-handle-set-file-acl): Rewrite.
1437
14382013-10-17 Glenn Morris <rgm@gnu.org>
1439
1440 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1441
14422013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * skeleton.el (skeleton-newline): Remove.
1445 (skeleton-internal-1): Use (insert "\n") instead.
1446
1447 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1448 let-bindings.
1449
1450 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1451 forward-sexp-function while we redo its job (bug#15613).
1452
14532013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1454
1455 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1456 represented by lists.
1457
14582013-10-16 Glenn Morris <rgm@gnu.org>
1459
1460 * tmm.el (tmm--history): New dynamic variable.
1461 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1462
14632013-10-16 Michael Albinus <michael.albinus@gmx.de>
1464
1465 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1466 (tramp-smb-errors): Add error messages.
1467 (tramp-smb-actions-with-acl): New defconst.
1468 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1469 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1470 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1471 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1472 (tramp-smb-get-stat-capability): Fix tests.
1473
14742013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1475
1476 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1477 (bug#15580).
1478
14792013-10-16 Glenn Morris <rgm@gnu.org>
1480
1481 * ansi-color.el (ansi-color-drop-regexp):
1482 Add 1J, 1K, 2K. (Bug#15617)
1483
1484 * files.el (hack-local-variables--warned-lexical): New.
1485 (hack-local-variables):
1486 Warn about misplaced lexical-binding. (Bug#15616)
1487
1488 * net/eww.el (eww-render): Always set eww-current-url,
1489 and update header line. (Bug#15622)
1490 (eww-display-html): ... Rather than just doing it here.
1491
14922013-10-15 Eli Zaretskii <eliz@gnu.org>
1493
1494 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1495 menu navigations commands.
1496
14972013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1498
1499 * progmodes/subword.el (subword-capitalize): Be careful when
1500 the search for [[:alpha:]] fails (bug#15580).
1501
15022013-10-14 Eli Zaretskii <eliz@gnu.org>
1503
1504 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1505 to commands that scroll the menu.
1506
15072013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1508
1509 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1510 Handle methods ending with `?' and `!'.
1511
15122013-10-14 Akinori MUSHA <knu@iDaemons.org>
1513
1514 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1515 `japanese-cp932' to `cp932' to fix the problem where saving a
1516 source file written in Shift_JIS twice would end up having
1517 `coding: japanese-cp932' which Ruby could not recognize.
1518 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1519 in `ruby-encoding-map'.
1520 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1521 doesn't need to be explicitly declared in magic comment.
1522 (ruby-encoding-map): Add type declaration for better customize UI.
1523
15242013-10-13 Glenn Morris <rgm@gnu.org>
1525
1526 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1527 Occur buffers are read-only. http://bugs.debian.org/720775
1528
1529 * emacs-lisp/authors.el (authors-fixed-entries):
1530 Comment out old alpha stuff.
1531
15322013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1533
1534 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1535 to `after-save-hook' instead of `before-save-hook'.
1536 (ruby-mode-set-encoding): Use the value of coding system used to
1537 write the file. Call `basic-save-buffer-1' after modifying the
1538 buffer.
1539
15402013-10-13 Alan Mackenzie <acm@muc.de>
1541
1542 Fix indentation/fontification of Java enum with
1543 "implements"/generic.
1544
1545 * progmodes/cc-engine.el (c-backward-over-enum-header):
1546 Extracted from the three other places and enhanced to handle generics.
1547 (c-inside-bracelist-p): Uses new function above.
1548 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1549 function above.
1550 (c-font-lock-enum-tail): Uses new function above.
1551
15522013-10-13 Kenichi Handa <handa@gnu.org>
1553
1554 * international/mule-cmds.el (select-safe-coding-system): Remove a
1555 superfluous condition in chekcing whether a coding system is safe
1556 or not.
1557
15582013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1559
1560 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1561
15622013-10-13 Andreas Politz <politza@hochschule-trier.de>
1563
1564 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1565
15662013-10-13 Glenn Morris <rgm@gnu.org>
1567
1568 * menu-bar.el (menu-bar-update-buffers):
1569 Unify Buffers menu prompt string. (Bug#15576)
1570
1571 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1572
1573 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1574 Add some entries.
1575 (authors-fixed-entries): Use accented form of name.
1576
15772013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1580 method calls (bug#15594).
1581 (ruby-smie--args-separator-p): New function.
1582 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1583 recognize paren-free method calls.
1584
1585 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1586 internals of universal-argument.
1587
15882013-10-11 Eli Zaretskii <eliz@gnu.org>
1589
1590 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1591 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1592 dropped menu on second mouse click on the menu bar.
1593
15942013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1595
1596 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1597 (explicit-shell-file-name): Declare.
1598 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1599 (sh-completion-at-point-function): New function.
1600 (sh-mode): Use it.
1601 (sh-smie--keyword-p): Remove unused argument.
1602 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1603 vars.
1604 (sh-set-shell): Always setup SMIE, even if we use the
1605 old indentation code.
1606
16072013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1608
1609 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1610 cases of ? and =.
1611 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1612 predicate would return nil are almost non-existent.
1613 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1614
1615 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1616 cache also after commands that modify the buffer but don't move
1617 point.
1618
16192013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1620
1621 * env.el (substitute-env-in-file-name): New function.
1622 (substitute-env-vars): Extend the meaning of the optional arg.
1623
16242013-10-10 Eli Zaretskii <eliz@gnu.org>
1625
1626 * term/w32-win.el (dynamic-library-alist): Define separate lists
1627 of GIF DLLs for versions before and after 5.0.0 of giflib.
1628 (Bug#15531)
1629
16302013-10-10 João Távora <joaotavora@gmail.com>
1631
1632 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1633 not locked, use last revision and current source as
1634 defaults. (Bug#15569)
1635
16362013-10-10 Masatake YAMATO <yamato@redhat.com>
1637
1638 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1639 menu-bar is hidden.
1640
16412013-10-10 Martin Rudalics <rudalics@gmx.at>
1642
1643 * window.el (pop-to-buffer-same-window): Fix doc-string.
1644 (Bug#15492)
1645
16462013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1649
16502013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1651
1652 * calendar/icalendar.el (icalendar-import-file):
1653 Fix interactive spec. (Bug#15482)
1654
16552013-10-10 Glenn Morris <rgm@gnu.org>
1656
1657 * desktop.el (desktop-save): Default to saving in .emacs.d,
1658 since PWD is no longer in desktop-path by default. (Bug#15319)
1659
1660 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1661 now that text mode has a menu with the same entry.
1662 (menu-bar-text-mode-auto-fill): Remove now unused func.
1663 * textmodes/text-mode.el (text-mode-map):
1664 Use auto-fill help text from menu-bar.el.
1665
16662013-10-10 John Anthony <john@jo.hnanthony.com>
1667
1668 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1669
16702013-10-09 Juri Linkov <juri@jurta.org>
1671
1672 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1673 instead of this-command-keys. Add universal-argument-more and
1674 universal-argument-minus to the list of prefix commands. (Bug#15568)
1675
16762013-10-09 Glenn Morris <rgm@gnu.org>
1677
1678 * vc/vc-svn.el (vc-svn-create-repo):
1679 Expand paths in file://... url. (Bug#15446)
1680
1681 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1682 Add some entries.
1683 (authors): Remove unused local variables.
1684
16852013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * profiler.el: Create a more coherent calltree from partial backtraces.
1688 (profiler-format): Hide the tail with `invisible' so that C-s can still
1689 find the hidden elements.
1690 (profiler-calltree-depth): Don't recurse so enthusiastically.
1691 (profiler-function-equal): New hash-table-test.
1692 (profiler-calltree-build-unified): New function.
1693 (profiler-calltree-build): Use it.
1694 (profiler-report-make-name-part): Indent the calltree less.
1695 (profiler-report-mode): Add visibility specs for profiler-format.
1696 (profiler-report-expand-entry, profiler-report-toggle-entry):
1697 Expand the whole subtree when provided with a prefix arg.
1698
16992013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1700
1701 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1702 iuwu-mod token.
1703 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1704 hanging iuwu-mod token.
1705 (ruby-smie--forward-token): Do not include a dot after a token in
1706 that token.
1707 (ruby-smie--backward-token): Likewise.
1708
17092013-10-08 Juri Linkov <juri@jurta.org>
1710
1711 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1712 to isearch-other-control-char.
1713 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1714 and isearch-post-command-hook to post-command-hook.
1715 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1716 and isearch-post-command-hook from post-command-hook.
1717 (isearch-unread-key-sequence)
1718 (isearch-reread-key-sequence-naturally)
1719 (isearch-lookup-scroll-key, isearch-other-control-char)
1720 (isearch-other-meta-char): Remove functions.
1721 (isearch-pre-command-hook, isearch-post-command-hook):
1722 New functions based on isearch-other-meta-char rewritten
1723 relying on the new behavior of overriding-terminal-local-map
1724 that does not replace the local keymaps any more. (Bug#15200)
1725
17262013-10-08 Eli Zaretskii <eliz@gnu.org>
1727
1728 Support menus on text-mode terminals.
1729 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1730 functionality.
1731
1732 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1733
1734 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1735 Move here from mouse.el.
1736 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1737 and arrow keys.
1738 (tty-menu-navigation-map): New map for TTY menu navigation.
1739
1740 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1741
1742 * frame.el (display-mouse-p): Report text-mode mouse as available
1743 on w32.
1744 (display-popup-menus-p): Report availability if mouse is
1745 available; don't condition on window-system.
1746
1747 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1748 (tty-menu-selected-face): New faces.
1749
17502013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1751
1752 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1753 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1754 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1755 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1756 New constants.
1757 (lisp-mode-variables): New `elisp' argument.
1758 (emacs-lisp-mode): Use it.
1759 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1760 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1761
1762 * indent.el: Use lexical-binding.
1763 (indent-region): Add progress reporter.
1764 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1765 last step.
1766 (indent--next-tab-stop): New function to implement this behavior.
1767 (tab-to-tab-stop, move-to-tab-stop): Use it.
1768
17692013-10-08 Teemu Likonen <tlikonen@iki.fi>
1770
1771 * indent.el (indent-rigidly--current-indentation): New function.
1772 (indent-rigidly-map): New var.
1773 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1774
17752013-10-08 Bastien Guerry <bzg@gnu.org>
1776
1777 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1778
17792013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * progmodes/perl-mode.el: Use lexical-binding.
1782 Remove redundant :group args.
1783 (perl-nochange): Change default to be closer to other major modes's
1784 standard behavior.
1785 (perl-indent-line): Don't consider text on current line as a
1786 valid beginning of function from which to indent.
1787
1788 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1789 with more than one argument (bug#15538).
1790
1791 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1792
1793 * vc/pcvs.el: Use lexical-binding.
1794 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1795 environment of `eval'.
1796 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1797 than a list of expressions. Adjust callers.
1798 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1799
18002013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1801
1802 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1803 case of the dot in a chained method call being on the following line.
1804
18052013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * electric.el (electric-indent-inhibit): New var.
1808 (electric-indent-post-self-insert-function): Use it.
1809 * progmodes/python.el (python-mode): Set it.
1810
1811 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1812 open braces.
1813
1814 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1815
1816 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1817 (css-mode): Use electric-indent-chars.
1818
1819 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1820 (font-lock-beg, font-lock-end): Move before first use.
1821 (nxml-mode): Use syntax-propertize-function.
1822 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1823 (nxml-extend-after-change-region): Remove.
1824 * nxml/xmltok.el: Use lexical-binding.
1825 (xmltok-save): Use `declare'.
1826 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1827 * nxml/nxml-util.el: Use lexical-binding.
1828 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1829 Use `declare'.
1830 * nxml/nxml-ns.el: Use lexical-binding.
1831 (nxml-ns-save): Use `declare'.
1832 (nxml-ns-prefixes-for): Avoid add-to-list.
1833 * nxml/rng-match.el: Use lexical-binding.
1834 (rng--ipattern): Use cl-defstruct.
1835 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1836 (rng-cons-group-after, rng-subst-group-after)
1837 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1838 Use closures instead of `(lambda...).
1839
18402013-10-07 Michael Albinus <michael.albinus@gmx.de>
1841
1842 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1843 of BEG and END.
1844
1845 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1846 Use `tramp-handle-insert-file-contents'.
1847 (tramp-gvfs-handle-insert-file-contents): Remove function.
1848
1849 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1850 Use `save-restriction' in order to keep markers.
1851
1852 * net/trampver.el: Update release number.
1853
18542013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * progmodes/compile.el (compilation-parse-errors):
1857 Use compilation--put-prop.
1858 (compilation--ensure-parse): Check compilation-multiline.
1859
1860 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1861
1862 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1863 lexical-binding.
1864
1865 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1866
1867 * progmodes/ruby-mode.el: Fix recently added tests.
1868 (ruby-smie-grammar): Add - and +.
1869 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1870 (ruby-smie--backward-id): New functions.
1871 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1872 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1873 any more.
1874
18752013-10-07 Leo Liu <sdl.web@gmail.com>
1876
1877 * register.el (register-preview-delay)
1878 (register-preview-functions): New variables.
1879 (register-read-with-preview, register-preview)
1880 (register-describe-oneline): New functions.
1881 (point-to-register, window-configuration-to-register)
1882 (frame-configuration-to-register, jump-to-register)
1883 (number-to-register, view-register, insert-register)
1884 (copy-to-register, append-to-register, prepend-to-register)
1885 (copy-rectangle-to-register): Use register-read-with-preview to
1886 read register. (Bug#15525)
1887
18882013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1889
1890 * net/network-stream.el (network-stream-open-starttls): Don't add
1891 --insecure if it's already present, because that gnutls-cli
1892 rejects getting that parameter twice.
1893
18942013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1895
1896 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1897 keyword, too.
1898
18992013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1900
1901 * newcomment.el (comment-use-global-state): Change default value
1902 to t, mark obsolete (Bug#15251).
1903 (comment-beginning): In addition to `comment-to-syntax', check the
1904 value of `comment-use-global-state'.
1905
19062013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1909 (ruby-comment-column): Follow the global default, by default.
1910 (ruby-smie-grammar): Add assignment syntax.
1911 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1912 open-paren, a comma, or a \.
1913 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1914 and line continuations.
1915 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1916 followed by implicit semi-colons. Add rule for string concatenation
1917 and for indentation at BOB.
1918 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1919
1920 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1921 calling next-sexp, since next-token may have skipped chars which
1922 next-sexp doesn't know should be skipped!
1923
19242013-10-05 Leo Liu <sdl.web@gmail.com>
1925
1926 * progmodes/octave.el (octave-send-region):
1927 Call compilation-forget-errors.
1928
19292013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1930
1931 * vc/vc-svn.el (vc-svn-find-admin-dir):
1932 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1933 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1934 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1935 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1936
19372013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1940
19412013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1942
1943 * subr.el (read-passwd): Hide chars even when called within a context
1944 where after-change-functions is disabled (bug#15501).
1945 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1946 until we removed ourself from overriding-terminal-local-map.
1947
19482013-10-04 Leo Liu <sdl.web@gmail.com>
1949
1950 * progmodes/octave.el (inferior-octave-mode):
1951 Call compilation-forget-errors.
1952
19532013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1954
1955 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1956
19572013-10-04 Michael Albinus <michael.albinus@gmx.de>
1958
1959 * net/secrets.el (secrets-create-collection): Add optional
1960 argument ALIAS. Use proper Label keyword. Append ALIAS as
1961 dbus-call-method argument. (Bug#15516)
1962
19632013-10-04 Leo Liu <sdl.web@gmail.com>
1964
1965 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1966 (inferior-octave-compilation-font-lock-keywords): New variables.
1967 (compilation-error-regexp-alist)
1968 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1969 (inferior-octave-mode): Use compilation-shell-minor-mode.
1970
19712013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1972
1973 * minibuffer.el (completion--replace): Be careful that `end' might be
1974 a marker.
1975
19762013-10-03 Daiki Ueno <ueno@gnu.org>
1977
1978 Add support for package signature checking.
1979 * emacs-lisp/package.el (url-http-file-exists-p)
1980 (epg-make-context, epg-context-set-home-directory)
1981 (epg-verify-string, epg-context-result-for)
1982 (epg-signature-status, epg-signature-to-string)
1983 (epg-check-configuration, epg-configuration)
1984 (epg-import-keys-from-file): Declare.
1985 (package-check-signature): New user option.
1986 (package-unsigned-archives): New user option.
1987 (package-desc): Add `signed' field.
1988 (package-load-descriptor): Set `signed' field if .signed file exists.
1989 (package--archive-file-exists-p): New function.
1990 (package--check-signature): New function.
1991 (package-install-from-archive): Check package signature.
1992 (package--download-one-archive): Check archive signature.
1993 (package-delete): Remove .signed file.
1994 (package-import-keyring): New command.
1995 (package-refresh-contents): Import default keyring.
1996 (package-desc-status): Add "unsigned" status.
1997 (describe-package-1, package-menu--print-info)
1998 (package-menu-mark-delete, package-menu--find-upgrades)
1999 (package-menu--status-predicate): Support "unsigned" status.
2000
20012013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2004 the new compilation scheme using the new byte-codes.
2005
2006 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2007 (byte-pophandler): New byte codes.
2008 (byte-goto-ops): Adjust accordingly.
2009 (byte-compile--use-old-handlers): New var.
2010 (byte-compile-catch): Use new byte codes depending on
2011 byte-compile--use-old-handlers.
2012 (byte-compile-condition-case--old): Rename from
2013 byte-compile-condition-case.
2014 (byte-compile-condition-case--new): New function.
2015 (byte-compile-condition-case): New function that dispatches depending
2016 on byte-compile--use-old-handlers.
2017 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2018 when we can.
2019
2020 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2021 Optimize under `condition-case' and `catch' if
2022 byte-compile--use-old-handlers is nil.
2023 (disassemble-offset): Handle new bytecodes.
2024
20252013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2027 * subr.el (error): Use `declare'.
2028 (decode-char, encode-char): Use advertised-calling-convention instead
2029 of the docstring to discourage use of the `restriction' arg.
2030
20312013-10-03 Daiki Ueno <ueno@gnu.org>
2032
2033 * epg.el (epg-verify-file): Add a comment saying that it does not
2034 notify verification error as a return value nor a signal.
2035 (epg-verify-string): Ditto.
2036
20372013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2038
2039 * progmodes/compile.el (compilation-start): Try globbing the arg to
2040 `cd' (bug#15417).
2041
20422013-10-02 Michael Albinus <michael.albinus@gmx.de>
2043
2044 Sync with Tramp 2.2.8.
2045
2046 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2047 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2048 * net/trampver.el: Update release number.
2049
20502013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2051
2052 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2053 and default-process-coding-system for darwin only.
2054
20552013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2058
20592013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2060
2061 * vc/vc-git.el (vc-git-grep): Disable pager.
2062
20632013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2064
2065 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2066 Use :url instead of :homepage, as per
2067 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2068
2069 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2070 non-nil, use `syntax-ppss' (Bug#15251).
2071
20722013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2073
2074 * progmodes/octave.el (inferior-octave-startup-file):
2075 Prefer ~/.emacs.d/init_octave.m.
2076
20772013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2078
2079 * emacs-lisp/package.el (package-desc-from-define):
2080 Accept additional arguments as plist, convert them to an alist and store
2081 them in the `extras' slot.
2082 (package-generate-description-file): Convert extras alist back to
2083 plist and append to the `define-package' form arguments.
2084 (package--alist-to-plist): New function.
2085 (package--ac-desc): Add `extras' slot.
2086 (package--add-to-archive-contents): Check if the archive-contents
2087 vector is long enough, and if it is, pass its `extras' slot value
2088 to `package-desc-create'.
2089 (package-buffer-info): Call `lm-homepage', pass the returned value
2090 to `package-desc-from-define'.
2091 (describe-package-1): Render the homepage button (Bug#13291).
2092
2093 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2094 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2095
20962013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2097
2098 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2099 and default-process-coding-system to utf-8-unix (Bug#15402).
2100
21012013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2102
2103 * subr.el (looking-back): Do not recommend using looking-back.
2104
21052013-09-28 Alan Mackenzie <acm@muc.de>
2106
2107 Fix indentation/fontification of Java enum with "implements".
2108
2109 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2110 regexp which matches "implements", etc., in Java.
2111 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2112 specifier clauses coming after "enum".
2113 * progmodes/cc-fonts.el (c-font-lock-declarations)
2114 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2115 after "enum".
2116
21172013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2118
2119 * faces.el (region): Change ns_selection_color to
2120 ns_selection_fg_color, add ns_selection_bg_color.
2121
21222013-09-28 Leo Liu <sdl.web@gmail.com>
2123
2124 * progmodes/octave.el (inferior-octave-completion-table)
2125 (inferior-octave-completion-at-point): Minor tweaks.
2126
2127 * textmodes/ispell.el (ispell-lookup-words): Rename from
2128 lookup-words. (Bug#15460)
2129 (lookup-words): Obsolete.
2130 (ispell-complete-word, ispell-command-loop): All uses changed.
2131
21322013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2133
2134 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2135 (octave-mode-menu): Add octave-send-buffer.
2136 (octave-send-buffer): New function.
2137
21382013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2139
2140 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2141 octave-lookfor.
2142 (octave-mode-menu): Add octave-lookfor.
2143 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2144 octave-lookfor.
2145 (octave-lookfor): New function.
2146
21472013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * emacs-lisp/cl-macs.el:
2150 (cl--loop-destr-temps): Remove.
2151 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2152 its convention.
2153 (cl--loop-set-iterator-function): New function.
2154 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2155 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2156 Bind `it' with `let' instead of substituting it with `cl-subst'.
2157 (cl--unused-var-p): New function.
2158 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2159 Eliminate some unused variable warnings (bug#15326).
2160
21612013-09-27 Tassilo Horn <tsdh@gnu.org>
2162
2163 * doc-view.el (doc-view-scale-reset): Rename from
2164 `doc-view-reset-zoom-level'.
2165 (doc-view-scale-adjust): New command.
2166 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2167 `doc-view-scale-adjust'.
2168
21692013-09-26 Tassilo Horn <tsdh@gnu.org>
2170
2171 * doc-view.el (doc-view-reset-zoom-level): New command.
2172 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2173 zoom commands (bug#15466).
2174
21752013-09-26 Kenichi Handa <handa@gnu.org>
2176
2177 * international/quail.el (quail-help): Make it not a command.
2178
21792013-09-26 Leo Liu <sdl.web@gmail.com>
2180
2181 * minibuffer.el (completion-all-sorted-completions): Make args
2182 optional as they are.
2183
21842013-09-25 Daniel Colascione <dancol@dancol.org>
2185
2186 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2187 specs are and that they're not evaluated.
2188
21892013-09-24 Sam Steingold <sds@gnu.org>
2190
2191 * midnight.el (clean-buffer-list-kill-regexps)
2192 (clean-buffer-list-kill-buffer-names): Update for the new Man
2193 buffer naming which includes the object name.
2194
21952013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2198 (eshell-parse-command, eshell-parse-pipeline): Use it since
2199 eshell-separate-commands requires a dynamic scoped var.
2200 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2201
22022013-09-23 Leo Liu <sdl.web@gmail.com>
2203
2204 * autoinsert.el (auto-insert-alist): Make the value of
2205 lexical-binding match its file setting.
2206
22072013-09-23 Juanma Barranquero <lekktu@gmail.com>
2208
2209 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2210
2211 * autoarg.el (autoarg-kp-digit-argument):
2212 * electric.el (Electric-command-loop):
2213 * kmacro.el (kmacro-step-edit-insert):
2214 Do not set universal-argument-num-events.
2215
22162013-09-22 Leo Liu <sdl.web@gmail.com>
2217
2218 * files.el (interpreter-mode-alist): Add octave.
2219
22202013-09-21 Alan Mackenzie <acm@muc.de>
2221
2222 C++: fontify identifier in declaration following "public:" correctly.
2223 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2224 to match "public", etc.
2225 (c-decl-prefix-re): Add ":" into the C++ value.
2226 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2227 bit. Add a check for a ":" preceded by "public", etc.
2228
22292013-09-21 Eli Zaretskii <eliz@gnu.org>
2230
2231 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2232 recognized by GDB 7.5 and later.
2233
22342013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2235
2236 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2237
22382013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * subr.el (internal--call-interactively): New const.
2241 (called-interactively-p): Use it (bug#3984).
2242
22432013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2244
2245 * vc/pcvs.el (cvs-mode-ignore):
2246 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2247 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2248
22492013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2252 (eshell-ls-orig-insert-directory): Remove.
2253 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2254 (eshell-ls-use-in-dired): Use advice-add/remove.
2255 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2256 Add `orig-fun' arg for use in :around advice.
2257 Make it check (redundantly) eshell-ls-use-in-dired.
2258
22592013-09-19 Glenn Morris <rgm@gnu.org>
2260
2261 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2262
2263 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2264
2265 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2266
22672013-09-19 Michael Albinus <michael.albinus@gmx.de>
2268
2269 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2270 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2271 (tramp-get-remote-python): New defuns.
2272 (tramp-get-remote-uid-with-perl)
2273 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2274 contributed by yary <not.com@gmail.com> (tiny change).
2275 (tramp-get-remote-uid-with-python)
2276 (tramp-get-remote-gid-with-python): New defuns. Python code
2277 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2278 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2279
22802013-09-19 Glenn Morris <rgm@gnu.org>
2281
2282 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2283
2284 * eshell/em-unix.el (eshell-remove-entries):
2285 Rename argument to avoid name-clash with global `top-level'.
2286
2287 * eshell/esh-proc.el (eshell-kill-process-function):
2288 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2289 (eshell-reset-after-proc): Remove unused arg `proc'.
2290
2291 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2292 (directory-files-and-attributes): Mark unused arg.
2293
2294 * eshell/em-unix.el (eshell-remove-entries):
2295 Remove unused arg `path'. Update callers.
2296
2297 * eshell/em-hist.el (eshell-hist-parse-arguments):
2298 Remove unused arg `silent'. Update callers.
2299
2300 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2301 Fix (f)boundp mix-up.
2302
2303 * eshell/em-smart.el (eshell-smart-scroll-window)
2304 (eshell-disable-after-change):
2305 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2306
23072013-09-18 Alan Mackenzie <acm@muc.de>
2308
2309 Fix fontification of type when followed by "const".
2310 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2311 "known" types from fontification.
2312
23132013-09-18 Glenn Morris <rgm@gnu.org>
2314
2315 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2316 (chart-face-list): Drop Emacsen without display-color-p.
2317
2318 * net/eww.el (libxml-parse-html-region): Declare.
2319 (eww-display-html): Explicit error if no libxml2 support.
2320
2321 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2322
2323 * image.el (image-type-from-buffer, image-multi-frame-p):
2324 Remove --without-x warning/error.
2325
2326 * mouse.el (mouse-yank-primary):
2327 * term.el (term-mouse-paste):
2328 Reorder to silence --without-x compilation.
2329
2330 * mpc.el (doc-view-mode): Silence --without-x compilation.
2331
2332 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2333 Silence --without-x compilation.
2334
2335 * progmodes/gud.el (gud-find-file, gud-mode):
2336 Silence --without-x compilation.
2337 (tooltip-mode): Declare.
2338
2339 * wdired.el (dired-backup-overwrite): Remove declaration.
2340 (wdired-mode-map): Add doc string.
2341
2342 * custom.el (x-get-resource): Declare.
2343
2344 * eshell/em-glob.el (ange-cache):
2345 * eshell/em-unix.el (ange-cache): Declare.
2346
2347 * faces.el (x-display-list, x-open-connection, x-get-resource):
2348 Declare.
2349
2350 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2351 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2352 Declare.
2353
2354 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2355
2356 * net/gnutls.el (gnutls-log-level): Declare.
2357
2358 * net/shr.el (image-size, image-animate): Declare.
2359
2360 * simple.el (font-info): Declare.
2361
2362 * subr.el (x-popup-dialog): Declare.
2363
2364 * term/common-win.el (x-select-enable-primary)
2365 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2366 Declare.
2367
2368 * term/ns-win.el (x-handle-args): Declare.
2369
2370 * term/x-win.el (x-select-enable-clipboard): Declare.
2371
2372 * term/w32-win.el (create-default-fontset): Declare.
2373
2374 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2375 Declare.
2376
2377 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2378 (fit-frame-to-buffer): Explicit error if --without-x.
2379 (mouse-autoselect-window-select): Silence compiler.
2380
2381 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2382
2383 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2384 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2385 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2386 * eshell/esh-util.el (eshell-sublist):
2387 Remove unused local variables.
2388
2389 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2390
2391 * textmodes/two-column.el: Make 2C-split work for --without-x.
2392 (scroll-bar-columns): Autoload.
2393 (top-level): Require fringe when compiling.
2394
23952013-09-18 Leo Liu <sdl.web@gmail.com>
2396
2397 * subr.el (add-hook): Robustify to handle closure as well.
2398
23992013-09-17 Glenn Morris <rgm@gnu.org>
2400
2401 * simple.el (messages-buffer-mode-map): Unbind "g".
2402
24032013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * help-mode.el (help-mode-finish): Use derived-mode-p.
2406 Remove obsolete highlighting.
2407
2408 * play/life.el (life-mode): Use define-derived-mode. Derive from
2409 special-mode.
2410 (life): Let-bind inhibit-read-only.
2411 (life-setup): Avoid `setq'. Use `life-mode'.
2412
2413 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2414 which should not be needed any more.
2415 (package-menu-refresh, package-menu-describe-package): Use user-error.
2416
2417 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2418 (eshell-post-rewrite-command-hook): Make obsolete.
2419 (eshell-parse-command): Simplify.
2420 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2421 (eshell--cmd): Declare.
2422 (eshell-parse-pipeline): Remove unused var `final-p'.
2423 Pass a dynvar to eshell-post-rewrite-command-hook.
2424 Implement the new eshell-post-rewrite-command-function.
2425 (eshell-invoke-directly): Remove unused arg `input'.
2426 * eshell/esh-io.el (eshell-io-initialize):
2427 Use eshell-post-rewrite-command-function (bug#15399).
2428 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2429 adjust to new calling convention.
2430 (eshell-create-handles): Rename args to avoid clashing with dynvar
2431 `standard-output'.
2432
24332013-09-17 Glenn Morris <rgm@gnu.org>
2434
2435 * simple.el (messages-buffer-mode): New major mode.
2436 (messages-buffer): New function.
2437 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2438 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2439 (ert-run-test): Use `messages-buffer' function.
2440 (ert--force-message-log-buffer-truncation): Ignore read-only.
2441 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2442 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2443
24442013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2447
2448 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2449
24502013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * icomplete.el (icomplete-in-buffer): New var.
2453 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2454 vars and replace them with functions.
2455 (icomplete-minibuffer-setup): Adjust accordingly.
2456 (icomplete--completion-table, icomplete--completion-predicate)
2457 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2458 New functions.
2459 (icomplete-forward-completions, icomplete-backward-completions)
2460 (icomplete-simple-completing-p, icomplete-exhibit)
2461 (icomplete-completions): Use them.
2462 (icomplete--in-region-buffer): New var.
2463 (icomplete--in-region-setup): New function.
2464 (icomplete-mode): Use it.
2465
2466 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2467 (bug#15379).
2468 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2469 return args and options.
2470 (eshell-eval-using-options): Use the new return value of
2471 eshell--do-opts to set the options's vars in their scope.
2472 (eshell--set-option): Rename from eshell-set-option.
2473 Add arg `opt-vals'.
2474 (eshell--process-option): Rename from eshell-process-option.
2475 Add arg `opt-vals'.
2476 (eshell--process-args): Use an `opt-vals' alist to store the options's
2477 values during their processing and return them additionally to the
2478 remaining args.
2479
24802013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2481
2482 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2483 continuation character an operator, as far as indentation is
2484 concerned (Bug#15369).
2485
24862013-09-15 Martin Rudalics <rudalics@gmx.at>
2487
2488 * window.el (window--state-put-2): Don't process buffer state
2489 when buffer doesn't exist any more (Bug#15382).
2490
24912013-09-15 Glenn Morris <rgm@gnu.org>
2492
2493 * eshell/em-unix.el (eshell/rm):
2494 Make -f ignore missing files. (Bug#15373)
2495
2496 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2497 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2498 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2499
25002013-09-14 Glenn Morris <rgm@gnu.org>
2501
2502 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2503
25042013-09-13 Glenn Morris <rgm@gnu.org>
2505
2506 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2507 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2508
25092013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2510
2511 * frame.el (x-focus-frame): Mark as declared in frame.c.
2512
25132013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * ls-lisp.el: Use advice-add.
2516 (original-insert-directory): Remove.
2517 (ls-lisp--insert-directory): Rename from insert-directory; add
2518 `orig-fun' argument.
2519 (insert-directory): Advise.
2520
25212013-09-13 Eli Zaretskii <eliz@gnu.org>
2522
2523 * term.el (term-emulate-terminal): Decode the command string
2524 before passing it to term-command-hook. (Bug#15337)
2525
25262013-09-13 Glenn Morris <rgm@gnu.org>
2527
2528 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2529
2530 * eshell/esh-ext.el (eshell-search-path): Declare.
2531
2532 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2533 Otherwise an error occurs if eshell-dirs module not loaded.
2534
2535 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2536
25372013-09-13 Michael Albinus <michael.albinus@gmx.de>
2538
2539 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2540 `tramp-check-proper-host'. Check for a valid method name.
2541
2542 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2543 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2544 * net/tramp-sh.el (tramp-maybe-open-connection):
2545 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2546
2547 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2548 also for hash values.
2549
25502013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * term/ns-win.el (parameters): Don't declare as dynamic.
2553 (before-make-frame-hook): Don't add ineffective function.
2554
2555 * eshell/*.el: Use lexical-binding (bug#15231).
2556
25572013-09-12 Kenichi Handa <handa@gnu.org>
2558
2559 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2560
25612013-09-12 Glenn Morris <rgm@gnu.org>
2562
2563 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2564 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2565
2566 * subr.el (do-after-load-evaluation): Also give compiler warnings
2567 when obsolete files are used (except by obsolete files).
2568
2569 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2570 in the status output, assume `filename' is the first. (Bug#15322)
2571
2572 * vc/vc.el (vc-deduce-fileset): Doc fix.
2573
2574 * calc/calc-help.el (Info-goto-node):
2575 * progmodes/cperl-mode.el (Info-find-node):
2576 * vc/ediff.el (Info-goto-node): Update declarations.
2577
2578 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2579
2580 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2581 (vc-bzr-pull): Require vc-dispatcher.
2582 * vc/vc-git.el (vc-compilation-mode): Declare.
2583 (vc-git-pull): Require vc-dispatcher.
2584
2585 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2586
2587 * progmodes/octave.el (help-button-action): Declare.
2588
2589 * shell.el (shell-directory-tracker): Output error as a message
2590 rather than just returning it as a string.
2591 (shell-process-pushd): Remove useless use of message.
2592
2593 * dframe.el (dframe-timer-fn):
2594 * files.el (dir-locals-read-from-file):
2595 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2596 (mpc-format):
2597 * reveal.el (reveal-post-command):
2598 * saveplace.el (load-save-place-alist-from-file):
2599 * shell.el (shell-resync-dirs):
2600 * w32-common-fns.el (x-get-selection-value):
2601 * emacs-lisp/copyright.el (copyright-find-copyright):
2602 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2603 * emulation/tpu-edt.el (tpu-copy-keyfile):
2604 * play/bubbles.el (bubbles--mark-neighbourhood):
2605 * progmodes/executable.el
2606 (executable-make-buffer-file-executable-if-script-p):
2607 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2608
26092013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 Cleanup Eshell to rely less on dynamic scoping.
2612 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2613 last-value, and ext-command here. Bind `args' closer to `body'.
2614 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2615 (eshell--args): Declare new dynamic var.
2616 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2617 last-value, and ext-command. Pass `args' to `body'.
2618 (eshell-process-args): Bind eshell--args.
2619 (eshell-set-option): Use eshell--args.
2620 * eshell/eshell.el (eshell): Use derived-mode-p.
2621 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2622 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2623 (eshell-glob-function): Declare.
2624 * eshell/esh-util.el: Require cl-lib.
2625 (eshell-read-hosts-file): Avoid add-to-list.
2626 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2627 `err'.
2628 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2629 Declare.
2630 (eshell/diff): Remove unused var `err'.
2631 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2632 `killflag'.
2633 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2634 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2635 first use.
2636 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2637 Move declaration before first use.
2638 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2639 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2640 rely on cl-return.
2641
26422013-09-12 Glenn Morris <rgm@gnu.org>
2643
2644 * term/ns-win.el (global-map): Remove binding for ispell-next,
2645 deleted 1999-05-29. (Bug#15357)
2646
26472013-09-11 Glenn Morris <rgm@gnu.org>
2648
2649 * echistory.el (electric-command-history): Remove call to deleted func.
2650
2651 * play/landmark.el (landmark-mode): Fix typos.
2652
2653 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2654 Check cvs-sort-ignore-file is bound.
2655
2656 * savehist.el: No need for cl when compiling on Emacs.
2657
26582013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2659
2660 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2661 (bug#15338).
2662 (eshell-self-insert-command, eshell-send-invisible):
2663 Remove unused argument.
2664 (eshell-handle-control-codes): Remove unused var `orig'.
2665 Avoid delete-backward-char.
2666
2667 * files.el (set-auto-mode): Simplify a bit further.
2668
26692013-09-11 Glenn Morris <rgm@gnu.org>
2670
2671 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2672 (set-auto-mode): Don't regexp-quote elements.
2673 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2674 * progmodes/cc-mode.el (interpreter-mode-alist):
2675 * progmodes/ruby-mode.el (interpreter-mode-alist):
2676 Revert previous change.
2677
26782013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * play/snake.el (snake-mode):
2681 * play/mpuz.el (mpuz-mode):
2682 * play/landmark.el (lm-mode):
2683 * play/blackbox.el (blackbox-mode):
2684 * play/5x5.el (5x5-mode):
2685 * obsolete/options.el (Edit-options-mode):
2686 * net/quickurl.el (quickurl-list-mode):
2687 * net/newst-treeview.el (newsticker-treeview-mode):
2688 * mail/rmailsum.el (rmail-summary-mode):
2689 * mail/mspools.el (mspools-mode):
2690 * locate.el (locate-mode):
2691 * ibuffer.el (ibuffer-mode):
2692 * emulation/ws-mode.el (wordstar-mode):
2693 * emacs-lisp/debug.el (debugger-mode):
2694 * array.el (array-mode):
2695 * net/eudc.el (eudc-mode): Use define-derived-mode.
2696 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2697 Move initialization into declaration.
2698 (mairix-searches-mode): Use define-derived-mode.
2699 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2700 (eudc-edit-hotlist): Use dolist.
2701 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2702 (Man-mode): Use define-derived-mode.
2703 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2704 (Info-edit-mode): Use define-derived-mode.
2705 (Info-cease-edit): Use Info-mode.
2706 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2707 into declaration.
2708 (eshell-mode): Use define-derived-mode.
2709 * chistory.el (command-history-mode-map): Rename from
2710 command-history-map.
2711 (command-history-mode): Use define-derived-mode.
2712 (Command-history-setup): Remove function.
2713 * calc/calc.el (calc-trail-mode-map): New var.
2714 (calc-trail-mode): Use define-derived-mode.
2715 (calc-trail-buffer): Set calc-main-buffer manually.
2716 * bookmark.el (bookmark-insert-annotation): New function.
2717 (bookmark-edit-annotation): Use it.
2718 (bookmark-edit-annotation-mode): Make it a proper major mode.
2719 (bookmark-send-edited-annotation): Use derived-mode-p.
2720 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2721 closer to its ideal place. Use \' to match EOS.
2722
2723 * profiler.el (profiler-calltree-find): Use function-equal.
2724
27252013-09-10 Glenn Morris <rgm@gnu.org>
2726
2727 * files.el (interpreter-mode-alist): Convert to regexps.
2728 (set-auto-mode): Adapt for this. (Bug#15306)
2729 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2730 Comment out unused variable.
2731 * progmodes/cc-mode.el (interpreter-mode-alist):
2732 * progmodes/python.el (interpreter-mode-alist):
2733 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2734 * progmodes/sh-script.el (sh-set-shell):
2735 No longer use interpreter-mode-alist to get list of shells.
2736
2737 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2738
27392013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * simple.el: Use set-temporary-overlay-map for universal-argument.
2742 (universal-argument-map): Don't use default-bindings (bug#15317).
2743 Bind switch-frame explicitly. Replace universal-argument-minus with
2744 a conditional binding.
2745 (universal-argument-num-events, saved-overriding-map): Remove.
2746 (restore-overriding-map): Remove.
2747 (universal-argument--mode): Rename from save&set-overriding-map,
2748 and rewrite.
2749 (universal-argument, universal-argument-more, negative-argument)
2750 (digit-argument): Adjust accordingly.
2751 (universal-argument-minus): Remove.
2752 (universal-argument-other-key): Remove.
2753
2754 * subr.el (with-demoted-errors): Add `format' argument.
2755
27562013-09-10 Michael Albinus <michael.albinus@gmx.de>
2757
2758 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2759 `tramp-cleanup-connection'.
2760
2761 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2762 parameters KEEP-DEBUG and KEEP-PASSWORD.
2763
2764 * net/tramp.el (tramp-file-name-handler):
2765 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2766 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2767 (tramp-maybe-open-connection):
2768 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2769 Use `tramp-cleanup-connection'.
2770
2771 * net/tramp-sh.el (tramp-maybe-open-connection):
2772 Catch 'uname-changed inside the progress reporter.
2773
27742013-09-10 Glenn Morris <rgm@gnu.org>
2775
2776 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2777
2778 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2779 returns "alternate access method" in mode (eg "-rw-r--r--.").
2780
27812013-09-08 Glenn Morris <rgm@gnu.org>
2782
2783 * saveplace.el (load-save-place-alist-from-file):
2784 Demote errors. (Bug#15305)
2785
27862013-09-08 Michael Albinus <michael.albinus@gmx.de>
2787
2788 Improve compatibility with older Emacsen, and XEmacs.
2789
2790 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2791 only if it is bound. It isn't for XEmacs.
2792 (with-tramp-progress-reporter): Do not let-bind `result'.
2793 This yields to scoping errors in XEmacs.
2794 (tramp-handle-make-auto-save-file-name): New function, moved from
2795 tramp-sh.el.
2796
2797 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2798 for `make-auto-save-file-name'.
2799 (tramp-adb--gnu-switches-to-ash):
2800 Use `tramp-compat-replace-regexp-in-string'.
2801
2802 * net/tramp-cache.el (tramp-cache-print): Call
2803 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2804
2805 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2806 bound. It isn't for XEmacs.
2807
2808 * net/tramp-compat.el (tramp-compat-copy-file):
2809 Catch `wrong-number-of-arguments' error.
2810 (tramp-compat-replace-regexp-in-string): New defun.
2811
2812 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2813 for `make-auto-save-file-name'.
2814 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2815 `copy-file'.
2816 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2817 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2818 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2819
2820 * net/tramp-gw.el (tramp-gw-open-network-stream):
2821 Use `tramp-compat-replace-regexp-in-string'.
2822
2823 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2824 Call `tramp-handle-make-auto-save-file-name'.
2825 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2826 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2827 (tramp-sh-file-inotifywait-process-filter):
2828 Use `tramp-compat-replace-regexp-in-string'.
2829 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2830
2831 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2832 for `make-auto-save-file-name'.
2833 (tramp-smb-handle-copy-directory):
2834 Call `tramp-compat-replace-regexp-in-string'.
2835 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2836 (tramp-smb-handle-copy-file): Improve error message.
2837 (tramp-smb-handle-rename-file): Rename directly only in case
2838 `newname' does not exist yet. This is a restriction of smbclient.
2839 (tramp-smb-maybe-open-connection): Rerun the function only when
2840 `auth-sources' is non-nil.
2841
28422013-09-08 Kenichi Handa <handa@gnu.org>
2843
2844 * international/characters.el: Set category "^" (Combining) for
2845 more characters.
2846
28472013-09-07 Alan Mackenzie <acm@muc.de>
2848
2849 Correctly fontify Java class constructors.
2850 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2851 in Java Mode.
2852 (c-recognize-typeless-decls): Set the Java value to t.
2853 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2854 While handling a "(", add a check for, effectively, Java, and handle a
2855 "typeless" declaration there.
2856
28572013-09-07 Roland Winkler <winkler@gnu.org>
2858
2859 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2860 field subtitle for entry type book.
2861
28622013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * minibuffer.el: Make minibuffer-complete call completion-in-region
2865 rather than other way around.
2866 (completion--some, completion-pcm--find-all-completions):
2867 Don't delay signals when debugging.
2868 (minibuffer-completion-contents): Beware fields within the
2869 minibuffer contents.
2870 (completion-all-sorted-completions): Use defvar-local.
2871 (completion--do-completion, completion--cache-all-sorted-completions)
2872 (completion-all-sorted-completions, minibuffer-force-complete):
2873 Add args `beg' and `end'.
2874 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2875 (minibuffer-complete): Use completion-in-region.
2876 (completion-complete-and-exit): New fun, extracted from
2877 minibuffer-complete-and-exit.
2878 (minibuffer-complete-and-exit): Use it.
2879 (completion--complete-and-exit): Rename from
2880 minibuffer--complete-and-exit.
2881 (completion-in-region--single-word): New function, extracted from
2882 minibuffer-complete-word.
2883 (minibuffer-complete-word): Use it.
2884 (display-completion-list): Make `common-substring' argument obsolete.
2885 (completion--in-region): Call completion--in-region-1 instead of
2886 minibuffer-complete.
2887 (completion-help-at-point): Pass boundaries to
2888 minibuffer-completion-help as args rather than via an overlay.
2889 (completion-pcm--string->pattern): Use `any-delim'.
2890 (completion-pcm--optimize-pattern): New function.
2891 (completion-pcm--pattern->regex): Handle `any-delim'.
2892 * icomplete.el (icomplete-forward-completions)
2893 (icomplete-backward-completions, icomplete-completions):
2894 Adjust calls to completion-all-sorted-completions and
2895 completion--cache-all-sorted-completions.
2896 (icomplete-with-completion-tables): Default to t.
2897 * emacs-lisp/crm.el (crm--current-element): Rename from
2898 crm--select-current-element. Don't put an overlay but return the
2899 boundaries instead.
2900 (crm--completion-command): Take two new args to bind to the boundaries.
2901 (crm-completion-help): Adjust accordingly.
2902 (crm-complete): Use completion-in-region.
2903 (crm-complete-word): Use completion-in-region--single-word.
2904 (crm-complete-and-exit): Use completion-complete-and-exit.
2905
29062013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2909 than dynamically.
2910
29112013-09-06 Juri Linkov <juri@jurta.org>
2912
2913 * info.el (Info-display-images-node): When image file doesn't exist
2914 display text version of the image if it's provided in the Info file.
2915 Otherwise, display the location of missing image from SRC attribute.
2916 Add help-echo text property from ALT attribute. (Bug#15279)
2917
29182013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2921 (edit-abbrevs-mode): Use define-derived-mode.
2922
2923 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2924 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2925 that it's defined.
2926 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2927 Use define-derived-mode.
2928
2929 * epg.el (epg-start-encrypt): Minor CSE simplification.
2930
29312013-09-06 William Xu <william.xwl@gmail.com>
2932
2933 * arc-mode.el: Add support for 7za (bug#15264).
2934 (archive-7z-program): New var.
2935 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2936 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2937 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2938
29392013-09-06 Michael Albinus <michael.albinus@gmx.de>
2940
2941 Remove URL syntax.
2942
2943 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2944 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2945 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2946 (tramp-postfix-host-format, tramp-file-name-regexp)
2947 (tramp-completion-file-name-regexp)
2948 (tramp-completion-dissect-file-name)
2949 (tramp-handle-substitute-in-file-name): Remove 'url case.
2950 (tramp-file-name-regexp-url)
2951 (tramp-completion-file-name-regexp-url): Remove constants.
2952
29532013-09-06 Glenn Morris <rgm@gnu.org>
2954
2955 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2956
29572013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2958
2959 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2960 keywords" below "here-doc beginnings" (Bug#15270).
2961
29622013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * subr.el (pop): Use `car-safe'.
2965 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2966 to detect unused `pop' return value.
2967
2968 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2969 var `block-regexp'.
2970 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2971 (python-fill-string): Remove unused var `marker'.
2972 (python-skeleton-add-menu-items): Remove unused var `items'.
2973
2974 * international/mule-cmds.el: Require CL.
2975 (find-coding-systems-for-charsets): Avoid add-to-list.
2976 (sanitize-coding-system-list): New function, extracted from
2977 select-safe-coding-system-interactively.
2978 (select-safe-coding-system-interactively): Use it.
2979 (read-input-method-name): Accept symbols for `default'.
2980
2981 * emacs-lisp/advice.el (defadvice): Add indent rule.
2982
29832013-09-05 Daniel Hackney <dan@haxney.org>
2984
2985 * dired-x.el:
2986 * net/ange-ftp.el:
2987 * net/browse-url.el:
2988 * net/dbus.el:
2989 * net/eudc.el:
2990 * net/eudcb-ldap.el:
2991 * net/eww.el:
2992 * net/imap.el:
2993 * printing.el:
2994 * vc/ediff-diff.el:
2995 * vc/ediff-init.el:
2996 * vc/ediff-merg.el:
2997 * vc/ediff-mult.el:
2998 * vc/ediff-util.el:
2999 * vc/ediff-wind.el:
3000 * vc/ediff.el:
3001 * vc/emerge.el:
3002 * vc/pcvs.el:
3003 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3004 byte compiler. Remove some unused let-bound variables.
3005
30062013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3009 a "ref-cell", since it gets better optimized (bug#14883).
3010
30112013-09-05 Glenn Morris <rgm@gnu.org>
3012
3013 * progmodes/cc-awk.el (c-forward-sws): Declare.
3014
30152013-09-04 Glenn Morris <rgm@gnu.org>
3016
3017 * generic-x.el [rul-generic-mode]: Require cc-mode.
3018 (c++-mode-syntax-table): Declare.
3019 (rul-generic-mode-syntax-table): Init in the defvar.
3020
30212013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3024 (vc-do-command, vc-set-async-update):
3025 * vc/vc-mtn.el (vc-mtn-dir-status):
3026 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3027 (vc-hg-pull, vc-hg-merge-branch):
3028 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3029 (vc-git-merge-branch):
3030 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3031 (vc-cvs-dir-status-files):
3032 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3033 (vc-bzr-dir-status-files):
3034 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3035 * vc/vc-annotate.el: Use lexical-binding.
3036 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3037 (vc-sentinel-movepoint): Declare.
3038 (vc-annotate): Don't use `goto-line'.
3039 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3040 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3041 (vc-sentinel-movepoint): Declare.
3042 * vc/vc-svn.el: Use lexical-binding.
3043 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3044 * vc/vc-sccs.el:
3045 * vc/vc-rcs.el: Use lexical-binding.
3046
3047 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3048 `deleted'. Don't drop errors silently.
3049
3050 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3051
30522013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3053
3054 * vc/vc.el (vc-ignore): Rewrite.
3055 (vc-default-ignore): New function.
3056 (vc-default-ignore-completion-table): Use find-ignore-file.
3057
3058 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3059 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3060 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3061 Remove. Most code moved to vc.el.
3062
30632013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3066 * net/tramp-smb.el (tramp-smb-get-file-entries):
3067 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3068 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3069
3070 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3071 Update call to it.
3072 (eww-change-select): Remove unused var `properties'.
3073 (eww-make-unique-file-name): Remove unused var `base'.
3074
3075 * finder.el (finder-compile-keywords): Don't mess with windows.
3076
3077 * calculator.el (calculator-funcall): Fix typo in last change.
3078
3079 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3080
3081 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3082 <pkg>-autoloads.el file stop us.
3083
3084 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3085 warnings, and factor out common code.
3086
30872013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3088
3089 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3090 two-character operators and whether the character preceding them
3091 changes their meaning (Bug#15208).
3092
30932013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3094
3095 Format code sent to Python shell for robustness.
3096 * progmodes/python.el (python-shell-buffer-substring):
3097 New function.
3098 (python-shell-send-region, python-shell-send-buffer): Use it.
3099
31002013-09-02 Michael Albinus <michael.albinus@gmx.de>
3101
3102 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3103 * net/tramp.el (tramp-user-error): ... here.
3104 (tramp-find-method, tramp-check-proper-host)
3105 (tramp-dissect-file-name, tramp-debug-message)
3106 (tramp-handle-shell-command):
3107 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3109
3110 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3111
31122013-09-02 Martin Rudalics <rudalics@gmx.at>
3113
3114 * avoid.el (mouse-avoidance-point-position)
3115 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3116 returns nil.
3117
31182013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3119
3120 * progmodes/python.el (python-shell-completion-get-completions):
3121 Drop use of deleted `comint-last-prompt-overlay'.
3122 (python-nav-if-name-main): New command.
3123
31242013-09-01 Glenn Morris <rgm@gnu.org>
3125
3126 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3127 Avoid leading space in $wins. Otherwise the sed command used by
3128 eg compile-main ends up containing "/*.el". (Bug#15170)
3129
3130 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3131
31322013-08-30 Glenn Morris <rgm@gnu.org>
3133
3134 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3135 Fix is-this-a-directory logic. (Bug#15220)
3136
31372013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * textmodes/css-mode.el: Use SMIE.
3140 (css-smie-grammar): New var.
3141 (css-smie--forward-token, css-smie--backward-token)
3142 (css-smie-rules): New functions.
3143 (css-mode): Use them.
3144 (css-navigation-syntax-table): Remove var.
3145 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3146 (css-indent-calculate, css-indent-line): Remove functions.
3147
3148 Misc changes to reduce use of `(lambda...); and other cleanups.
3149 * cus-edit.el: Use lexical-binding.
3150 (customize-push-and-save, customize-apropos)
3151 (custom-buffer-create-internal): Use closures.
3152 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3153 * progmodes/ada-xref.el: Use setq.
3154 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3155 * dframe.el: Use lexical-binding.
3156 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3157 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3158 * descr-text.el: Use lexical-binding.
3159 (describe-text-widget, describe-text-sexp, describe-property-list):
3160 Use closures.
3161 * comint.el (comint-history-isearch-push-state): Use a closure.
3162 * calculator.el: Use lexical-binding.
3163 (calculator-number-to-string): Make it work with lexical-binding.
3164 (calculator-funcall): Same and use cl-letf.
3165
3166 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3167 (lisp--company-doc-string, lisp--company-location): New functions.
3168 (lisp-completion-at-point): Use them to improve Company support.
3169
3170 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3171 params of lambda expressions.
3172 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3173 (ruby-smie--opening-pipe-p): New function.
3174 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3175 symbols and matched |...| for formal params.
3176 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3177 from being treated as hanging. Handle "rescue".
3178
31792013-08-29 Glenn Morris <rgm@gnu.org>
3180
3181 * progmodes/cc-engine.el (c-pull-open-brace):
3182 Move definition before use.
3183
31842013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3187 are immutable. Don't use `unsafe' any more.
3188 (cl--defsubst-expand): Don't substitute at the same time as keeping
3189 a residual unused let-binding. Don't use `unsafe' any more.
3190
31912013-08-29 Glenn Morris <rgm@gnu.org>
3192
3193 * calendar/cal-china.el (calendar-chinese-year-cache):
3194 Recenter on 2015.
3195
3196 * nxml/nxml-util.el (nxml-debug-clear-inside):
3197 Use cl-loop rather than loop.
3198
3199 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3200
3201 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3202
32032013-08-28 Glenn Morris <rgm@gnu.org>
3204
3205 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3206
3207 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3208
3209 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3210
32112013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 * simple.el (repeat-complex-command--called-interactively-skip):
3214 New function.
3215 (repeat-complex-command): Use it (bug#14136).
3216
3217 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3218 (c-define-abbrev-table): Add `doc' argument.
3219 (c-mode-abbrev-table, c++-mode-abbrev-table)
3220 (objc-mode-abbrev-table, java-mode-abbrev-table)
3221 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3222 (awk-mode-abbrev-table): Use it.
3223 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3224 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3225 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3226 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3227 Move initialization into the declaration; and remove any
3228 autoload cookie.
3229
3230 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3231 and dynamic let binding.
3232
3233 * vc/smerge-mode.el: Remove redundant :group args.
3234
3235 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3236 to load-path.
3237
32382013-08-28 Juri Linkov <juri@jurta.org>
3239
3240 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3241 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3242 (isearch-other-meta-char): Handle an undefined shifted printing
3243 character by downshifting it. (Bug#15200)
3244
32452013-08-28 Juri Linkov <juri@jurta.org>
3246
3247 * isearch.el (isearch-search): Change regexp error message for
3248 non-regexp searches. (Bug#15166)
3249
32502013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3251
3252 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3253 for portability to hosts where /bin/sh has problems.
3254
32552013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3258
32592013-08-27 Juri Linkov <juri@jurta.org>
3260
3261 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3262 in the keyboard macro. (Bug#15126)
3263
32642013-08-27 Juri Linkov <juri@jurta.org>
3265
3266 * isearch.el (isearch-quote-char): Comment out converting unibyte
3267 to multibyte, thus syncing with its `quoted-insert' counterpart.
3268 (Bug#15166)
3269
32702013-08-27 Martin Rudalics <rudalics@gmx.at>
3271
3272 * window.el (display-buffer-use-some-window): Add missing
3273 argument in call of get-largest-window (Bug#15185).
3274 Reported by Stephen Leake.
3275
32762013-08-27 Glenn Morris <rgm@gnu.org>
3277
3278 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3279
32802013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3283 from a matcher-function unless there's no more matches (bug#15161).
3284
32852013-08-26 Michael Albinus <michael.albinus@gmx.de>
3286
3287 * minibuffer.el: Revert change from 2013-08-20.
3288
3289 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3290 with text property `tramp-default', if appropriate.
3291 (tramp-check-proper-host): New defun.
3292 (tramp-dissect-file-name): Do not check hostname. Revert change
3293 of 2013-03-18.
3294 (tramp-backtrace): Make VEC-OR-PROC optional.
3295
3296 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3297 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3298 * net/tramp-sh.el (tramp-maybe-open-connection):
3299 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3300 Apply `tramp-check-proper-host'.
3301
33022013-08-26 Tassilo Horn <tsdh@gnu.org>
3303
3304 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3305 lambda expression in order to have `describe-variable' display it.
3306
33072013-08-26 Michael Albinus <michael.albinus@gmx.de>
3308
3309 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3310 BUF can be optional. (Bug#15186)
3311
33122013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3313
3314 * progmodes/flymake.el (flymake-get-real-file-name-function):
3315 Fix broken customization. (Bug#15184)
3316
33172013-08-25 Alan Mackenzie <acm@muc.de>
3318
3319 Improve indentation of bracelists defined by macros (without "=").
3320
3321 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3322 expansion begins with "{", regard it as bracelist when it doesn't
3323 contain a ";".
3324
3325 Parse C++ inher-intro when there's a template split over 2 lines.
3326
3327 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3328 rigorously the search for "class" etc. followed by ":".
3329
3330 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3331 random languages a regexp which never matches rather than nil.
3332
3333 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3334
3335 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3336 (c-awk-regexp-one-line-possibly-open-char-list-re)
3337 (c-awk-one-line-possibly-open-regexp-re)
3338 (c-awk-one-line-non-syn-ws*-re): Remove.
3339 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3340 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3341 (c-awk-space*-unclosed-regexp-/-re): New constants.
3342 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3343 aren't regexp delimiters.
3344
3345 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3346 handling for a rare situation in AWK Mode involving unterminated
3347 strings/regexps.
3348
33492013-08-23 Glenn Morris <rgm@gnu.org>
3350
3351 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3352
3353 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3354
3355 * files.el (create-file-buffer): If the result would begin with
3356 spaces, prepend a "|" instead of removing them. (Bug#15162)
3357
33582013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3359
3360 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3361 text-properties (bug#15155).
3362
3363 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3364 exist any more.
3365 (calc-keypad-redraw): Remove unused var `pad'.
3366 (calc-keypad-press): Remove unused var `menu'.
3367
33682013-08-23 Martin Rudalics <rudalics@gmx.at>
3369
3370 * window.el (display-buffer-pop-up-frame):
3371 Call pop-up-frame-function with BUFFER current so `make-frame' will
3372 use it as the new frame's buffer (Bug#15133).
3373
33742013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3375
3376 * calendar/timeclock.el: Minor cleanups.
3377 (timeclock-ask-before-exiting, timeclock-use-display-time):
3378 Use `symbol'.
3379 (timeclock-modeline-display): Define as alias before the
3380 actual definition.
3381 (timeclock-mode-line-display): Use define-minor-mode.
3382 (timeclock-day-list-template): Make it a function, add an argument.
3383 (timeclock-day-list-required, timeclock-day-list-length)
3384 (timeclock-day-list-debt, timeclock-day-list-span)
3385 (timeclock-day-list-break): Adjust calls accordingly.
3386
33872013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3390 Use read--expression so that completion works again.
3391
33922013-08-21 Sam Steingold <sds@gnu.org>
3393
3394 Add rudimentary inferior shell interaction
3395 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3396 (sh-set-shell): Reset it.
3397 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3398 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3399
34002013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 * align.el: Use lexical-binding.
3403 (align-region): Simplify accordingly.
3404
34052013-08-20 Michael Albinus <michael.albinus@gmx.de>
3406
3407 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3408
3409 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3410 `non-essential' up.
3411
34122013-08-17 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/tramp.el:
3415 * net/tramp-adb.el:
3416 * net/tramp-cmds.el:
3417 * net/tramp-ftp.el:
3418 * net/tramp-gvfs.el:
3419 * net/tramp-gw.el:
3420 * net/tramp-sh.el: Don't wrap external variable declarations by
3421 `eval-when-compile'.
3422
34232013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3424
3425 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3426 now that Emacs supports ImageMagick animations.
3427
34282013-08-16 Michael Albinus <michael.albinus@gmx.de>
3429
3430 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3431 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3432
34332013-08-16 Martin Rudalics <rudalics@gmx.at>
3434
3435 * window.el (mouse-autoselect-window-select): Do autoselect when
3436 mouse pointer is on margin.
3437
34382013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3439
3440 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3441
34422013-08-16 Glenn Morris <rgm@gnu.org>
3443
3444 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3445 Handle "Remote Directory" response of some clients. (Bug#15058)
3446
3447 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3448 Tweak warning. (Bug#14926)
3449
3450 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3451 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3452
3453 * image-mode.el (image-mode-map): Add menu items to reverse,
3454 increase, decrease, reset animation speed.
3455 (image--set-speed, image-increase-speed, image-decrease-speed)
3456 (image-reverse-speed, image-reset-speed): New functions.
3457 (image-mode-map): Add bindings for speed commands.
3458
3459 * image.el (image-animate-get-speed, image-animate-set-speed):
3460 New functions.
3461 (image-animate-timeout): Respect image :speed property.
3462
34632013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3466 previous line (bug#15101).
3467 (debugger-eval-expression, debugger-record-expression):
3468 Use read--expression (bug#15102).
3469
34702013-08-15 Michael Albinus <michael.albinus@gmx.de>
3471
3472 Remove byte compiler warnings, visible when compiling with
3473 `byte-compile-force-lexical-warnings' set to t.
3474
3475 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3476 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3477 (tramp-handle-unhandled-file-name-directory)
3478 (tramp-handle-file-notify-add-watch, tramp-action-login)
3479 (tramp-action-succeed, tramp-action-permission-denied)
3480 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3481 arguments with "_".
3482
3483 * net/tramp-adb.el (tramp-adb-parse-device-names)
3484 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3485 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3486 (tramp-adb-handle-file-truename): Remove unused arguments.
3487
3488 * net/tramp-cache.el (tramp-flush-directory-property)
3489 (tramp-flush-connection-property, tramp-list-connections)
3490 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3491
3492 * net/tramp-compat.el (tramp-compat-make-temp-file):
3493 Rename FILENAME to F.
3494
3495 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3496 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3497 (tramp-zeroconf-parse-workstation-device-names)
3498 (tramp-zeroconf-parse-webdav-device-names)
3499 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3500
3501 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3502 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3503
3504 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3505 arguments.
3506 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3507 (tramp-sh-handle-insert-file-contents-literally)
3508 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3509 with "_".
3510 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3511 Remove unused variables.
3512
3513 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3514 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3515 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3516
3517 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3518 Make them a defconst.
3519 (tramp-uuencode-region): Remove unused variable.
3520
35212013-08-14 Juanma Barranquero <lekktu@gmail.com>
3522
3523 * frameset.el (frameset--prop-setter): New function.
3524 (frameset-prop): Add gv-setter declaration.
3525 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3526 parameter was already set in FILTERED. Doc fix.
3527 (frameset--record-minibuffer-relationships): Allow saving a
3528 minibufferless frame without its corresponding minibuffer frame.
3529 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3530 frame, if the frame id matches.
3531 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3532 frames before orphaned ones.
3533 (frameset-restore): Warn about orphaned windows, instead of error out.
3534
35352013-08-14 Martin Rudalics <rudalics@gmx.at>
3536
3537 * window.el (window-make-atom): Don't overwrite parameter
3538 already present.
3539 (display-buffer-in-atom-window): Handle special case where we
3540 split an already atomic window.
3541 (window--major-non-side-window, display-buffer-in-side-window)
3542 (window--side-check): Ignore minibuffer window when walking
3543 window tree.
3544 (window-deletable-p): Return 'frame only if no other frame uses
3545 our minibuffer window.
3546 (record-window-buffer): Run buffer-list-update-hook.
3547 (split-window): Make sure window--check-frame won't destroy an
3548 existing atomic window in case the new window gets nested
3549 inside.
3550 (display-buffer-at-bottom): Ignore minibuffer window when
3551 walking window tree. Don't split a side window.
3552 (pop-to-buffer): Don't set-buffer here, the select-window call
3553 should do that.
3554 (mouse-autoselect-window-select): Autoselect only if we are in the
3555 text portion of the window.
3556
35572013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3558
3559 * net/shr.el (shr-parse-image-data): New function to grab both the
3560 data itself and the Content-Type.
3561 (shr-put-image): Use it.
3562
3563 * net/eww.el (eww-display-image): Ditto.
3564
3565 * image.el (image-content-type-suffixes): New variable.
3566
35672013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3568
3569 * progmodes/python.el (python-imenu--build-tree)
3570 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3571
35722013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3573
3574 * simple.el (backward-word): Mention the optional argument.
3575
35762013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * frameset.el (frameset--make): Rename constructor from make-frameset.
3579 (frameset-p, frameset-valid-p): Don't autoload.
3580 (frameset-valid-p): Use normal accessors.
3581
35822013-08-13 Glenn Morris <rgm@gnu.org>
3583
3584 * progmodes/compile.el (compile-command): Tweak example in doc.
3585 * obsolete/scribe.el (scribe-mode):
3586 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3587
3588 * mail/feedmail.el (feedmail-confirm-outgoing)
3589 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3590
3591 * cus-start.el (truncate-partial-width-windows): Fix type.
3592
3593 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3594
3595 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3596
35972013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3598
3599 * emacs-lisp/timer.el (timer--time-setter): New function.
3600 (timer--time): Use it as gv-setter.
3601
3602 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3603 setter is not a symbol.
3604
36052013-08-12 Grégoire Jadi <daimrod@gmail.com>
3606
3607 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3608 if sending fails. This makes debugging easier.
3609
36102013-08-12 Juanma Barranquero <lekktu@gmail.com>
3611
3612 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3613 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3614 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3615
36162013-08-12 Eli Zaretskii <eliz@gnu.org>
3617
3618 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3619
36202013-08-12 Glenn Morris <rgm@gnu.org>
3621
3622 * format.el (format-annotate-function):
3623 Handle read-only text properties in the source. (Bug#14887)
3624
36252013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3626
3627 * net/eww.el (eww-display-html): Ignore coding system errors.
3628 One web site uses "utf-8lias" as the coding system.
3629
36302013-08-11 Juanma Barranquero <lekktu@gmail.com>
3631
3632 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3633
36342013-08-10 Juanma Barranquero <lekktu@gmail.com>
3635
3636 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3637 (tutorial--detailed-help): Remove unused local variables.
3638 (tutorial--save-tutorial-to): Use ignore-errors.
3639 (help-with-tutorial): Use looking-at-p.
3640
3641 * view.el (view-buffer-other-window, view-buffer-other-frame):
3642 Mark unused arguments.
3643
3644 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3645 (woman-select-symbol-fonts, woman, woman-find-file)
3646 (woman-insert-file-contents, woman-non-underline-faces):
3647 Use string-match-p.
3648 (woman1-unquote): Move declaration.
3649
3650 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3651 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3652 argument. Remove unused local variable.
3653 (xml-parse-elem-type): Use string-match-p.
3654 (xml-substitute-numeric-entities): Use ignore-errors.
3655
3656 * calculator.el (calculator): Mark unused argument.
3657 (calculator-paste, calculator-quit, calculator-integer-p):
3658 Use ignore-errors.
3659 (calculator-string-to-number, calculator-decimal, calculator-exp)
3660 (calculator-op-or-exp): Use string-match-p.
3661
3662 * dired.el (dired-buffer-more-recently-used-p): Declare.
3663 (dired-insert-set-properties, dired-insert-old-subdirs):
3664 Use ignore-errors.
3665
3666 * dired-aux.el (dired-compress): Use ignore-errors.
3667 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3668 (dired-do-async-shell-command, dired-do-shell-command)
3669 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3670 (dired-insert-subdir-validate): Use string-match-p.
3671 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3672 (dired-add-entry): Use string-match-p, looking-at-p.
3673 (dired-insert-subdir-newpos): Remove unused local variable.
3674
3675 * filenotify.el (file-notify-callback): Remove unused local variable.
3676
3677 * filesets.el (filesets-error): Mark unused argument.
3678 (filesets-which-command-p, filesets-filter-dir-names)
3679 (filesets-directory-files, filesets-get-external-viewer)
3680 (filesets-ingroup-get-data): Use string-match-p.
3681
3682 * find-file.el (ff-other-file-name, ff-other-file-name)
3683 (ff-find-the-other-file, ff-cc-hh-converter):
3684 Remove unused local variables.
3685 (ff-get-file-name): Use string-match-p.
3686 (ff-all-dirs-under): Use ignore-errors.
3687
3688 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3689 (follow-select-if-visible): Remove unused local variable.
3690
3691 * forms.el (read-file-filter): Move declaration.
3692 (forms--make-format, forms--make-parser, forms-insert-record):
3693 Quote function with #'.
3694 (forms--update): Use string-match-p. Quote function with #'.
3695
3696 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3697 (help-make-xrefs): Use looking-at-p.
3698 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3699
3700 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3701 (ibuffer-confirm-operation-on): Use string-match-p.
3702
3703 * msb.el (msb-item-handler, msb-dired-item-handler):
3704 Mark unused arguments.
3705
3706 * ses.el (ses-decode-cell-symbol)
3707 (ses-kill-override): Remove unused local variable.
3708 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3709 (ses-load): Use ignore-errors, looking-at-p.
3710 (ses-jump-safe): Use ignore-errors.
3711 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3712
3713 * tabify.el (untabify, tabify): Mark unused arguments.
3714
3715 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3716 Mark unused argument.
3717 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3718 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3719
3720 * emacs-lisp/timer.el (timer--time): Define setter with
3721 gv-define-setter to avoid deprecation warning.
3722
3723 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3724 (*record-cmpl-statistics-p*): Remove (was commented out).
3725 (cmpl-statistics-block): Remove (body was commented out).
3726 All callers changed.
3727 (add-completions-from-buffer, load-completions-from-file):
3728 Remove unused variables.
3729
37302013-08-09 Juanma Barranquero <lekktu@gmail.com>
3731
3732 * filecache.el (file-cache-delete-file-list):
3733 Print message only when told so.
3734 (file-cache-files-matching): Use #' in mapconcat argument.
3735
3736 * ffap.el (ffap-url-at-point): Fix reference to variable
3737 thing-at-point-default-mail-uri-scheme.
3738
37392013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * subr.el (define-error): New function.
3742 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3743 error-file-not-found and define with define-error.
3744 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3745 and define with define-error.
3746 * userlock.el (file-locked, file-supersession):
3747 * simple.el (mark-inactive):
3748 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3749 * progmodes/ada-mode.el (ada-mode-errors):
3750 * play/life.el (life-extinct):
3751 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3752 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3753 * nxml/rng-util.el (rng-error):
3754 * nxml/rng-uri.el (rng-uri-error):
3755 * nxml/rng-match.el (rng-compile-error):
3756 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3757 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3758 * nxml/nxml-rap.el (nxml-scan-error):
3759 * nxml/nxml-outln.el (nxml-outline-error):
3760 * net/soap-client.el (soap-error):
3761 * net/gnutls.el (gnutls-error):
3762 * net/ange-ftp.el (ftp-error):
3763 * mpc.el (mpc-proc-error):
3764 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3765 (json-number-format, json-string-escape, json-string-format)
3766 (json-key-format, json-object-format):
3767 * jka-compr.el (compression-error):
3768 * international/quail.el (quail-error):
3769 * international/kkc.el (kkc-error):
3770 * emacs-lisp/ert.el (ert-test-failed):
3771 * calc/calc.el (calc-error, inexact-result, math-overflow)
3772 (math-underflow):
3773 * bookmark.el (bookmark-error-no-filename):
3774 * epg.el (epg-error): Define with define-error.
3775
3776 * time.el (display-time-event-handler)
3777 (display-time-next-load-average): Don't call sit-for since it seems
3778 unnecessary (bug#15045).
3779
3780 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3781 Use #' instead of ' to quote functions.
3782 (checkdoc-output-mode): Use setq-local.
3783 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3784 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3785 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3786 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3787 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3788 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3789 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3790 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3791
3792 * ido.el (ido-completion-help): Fix up compiler warning.
3793
37942013-08-09 Juanma Barranquero <lekktu@gmail.com>
3795
3796 * frameset.el (frameset-p): Add autoload cookie.
3797 (frameset--jump-to-register): New function, based on code moved from
3798 register.el.
3799 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3800
3801 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3802 (frameset-restore, frameset-save, frameset-session-filter-alist):
3803 Remove declarations.
3804 (register-alist): Doc fix.
3805 (frameset-to-register): Move to frameset.el.
3806 (jump-to-register, describe-register-1): Remove frameset-specific code.
3807
38082013-08-08 Juanma Barranquero <lekktu@gmail.com>
3809
3810 * allout-widgets.el (allout-widgets-pre-command-business)
3811 (allout-widgets-post-command-business)
3812 (allout-widgets-after-change-handler)
3813 (allout-decorate-item-and-context, allout-set-boundary-marker)
3814 (allout-body-modification-handler)
3815 (allout-graphics-modification-handler): Mark ignored arguments.
3816 (allout-widgets-post-command-business)
3817 (allout-widgets-exposure-change-processor)
3818 (allout-widgets-exposure-undo-processor)
3819 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3820 (allout-parse-item-at-point, allout-decorate-item-guides)
3821 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3822 * allout.el (epa-passphrase-callback-function): Declare.
3823 (allout-overlay-insert-in-front-handler)
3824 (allout-overlay-interior-modification-handler)
3825 (allout-isearch-end-handler, allout-chart-siblings)
3826 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3827 (allout-yank-processing, allout-process-exposed)
3828 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3829 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3830 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3831 (lisp-indent-defform): Mark ignored arguments.
3832 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3833 (calculate-lisp-indent): Remove unused variables.
3834 * international/characters.el (indian-2-column, arabic-2-column)
3835 (tibetan): Mark ignored arguments.
3836 (use-cjk-char-width-table): Mark ignored arguments.
3837 Remove unused variables.
3838 * international/fontset.el (build-default-fontset-data)
3839 (x-compose-font-name, create-fontset-from-fontset-spec):
3840 Mark ignored arguments.
3841 (fontset-plain-name): Remove unused variables.
3842 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3843 (keyboard-coding-system): Mark ignored arguments.
3844 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3845 * help.el (resize-temp-buffer-window):
3846 * window.el (display-buffer-in-major-side-window)
3847 (display-buffer-in-side-window, display-buffer-in-previous-window):
3848 Remove unused variables.
3849 * isearch.el (isearch-forward-symbol):
3850 * version.el (emacs-bzr-version-bzr):
3851 * international/mule-cmds.el (current-language-environment):
3852 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3853 (x-handle-display):
3854 * term/pc-win.el (x-list-fonts, x-display-planes)
3855 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3856 (x-server-version, x-display-screens, x-display-mm-height)
3857 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3858 (x-selection-owner-p, x-own-selection-internal)
3859 (x-disown-selection-internal, x-get-selection-internal)
3860 (msdos-initialize-window-system):
3861 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3862 * term/x-win.el (x-handle-no-bitmap-icon):
3863 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3864 (vc-default-find-file-hook, vc-default-extra-menu):
3865 Mark ignored arguments.
3866
38672013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3868
3869 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3870 break-condition in the context of the debugged code (bug#12685).
3871
38722013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3873
3874 * comint.el:
3875 Do not use an overlay to highlight the last prompt. (Bug#14744)
3876 (comint-mode): Make comint-last-prompt buffer local.
3877 (comint-last-prompt): New variable.
3878 (comint-last-prompt-overlay): Remove. Superseded by
3879 comint-last-prompt.
3880 (comint-snapshot-last-prompt, comint-output-filter):
3881 Use comint-last-prompt.
3882
38832013-08-08 Juanma Barranquero <lekktu@gmail.com>
3884
3885 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3886 (frameset-save): Check validity of the resulting frameset.
3887
38882013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3889
3890 * ido.el (ido-record-command): Add doc string.
3891
38922013-08-08 Juanma Barranquero <lekktu@gmail.com>
3893
3894 * frameset.el (frameset): Do not disable creation of the default
3895 frameset-p predicate. Doc fix.
3896 (frameset-valid-p): New function, copied from the old predicate-p.
3897 Add additional checks.
3898 (frameset-restore): Check with frameset-valid-p.
3899 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3900 (frameset-name, frameset-description, frameset-properties)
3901 (frameset-states): Add docstring.
3902 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3903 (frameset-filter-alist): Doc fixes.
3904
39052013-08-08 Juanma Barranquero <lekktu@gmail.com>
3906
3907 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3908
39092013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3912 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3913 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3914 (byte-compile-normal-call): Remove obsolescence check.
3915
39162013-08-08 Juanma Barranquero <lekktu@gmail.com>
3917
3918 * frameset.el (frameset-restore): Doc fix.
3919
3920 * register.el (frameset-frame-id, frameset-frame-with-id)
3921 (frameset-p, frameset-restore, frameset-save): Declare.
3922 (register-alist): Document framesets.
3923 (frameset-session-filter-alist): Declare.
3924 (frameset-to-register): New function.
3925 (jump-to-register): Implement jumping to framesets. Doc fix.
3926 (describe-register-1): Describe framesets.
3927
3928 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3929
39302013-08-07 Juanma Barranquero <lekktu@gmail.com>
3931
3932 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3933 Use lexical-binding.
3934
3935 * frameset.el (frameset): Use type vector, not list (incompatible
3936 change). Do not declare a new constructor, use the default one.
3937 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3938 `name' and `description', respectively, and add read-only slot
3939 `timestamp'. Doc fixes.
3940 (frameset-copy, frameset-persistent-filter-alist)
3941 (frameset-filter-alist, frameset-switch-to-gui-p)
3942 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3943 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3944 (frameset-filter-iconified, frameset-keep-original-display-p):
3945 Doc fixes.
3946 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3947 Rename from frameset-filter-(save|restore)-param. All callers changed.
3948 Doc fix.
3949 (frameset-p): Adapt to change to vector and be more thorough.
3950 Change arg name to OBJECT. Doc fix.
3951 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3952 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3953 All callers changed.
3954 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3955 All callers changed.
3956 (frameset--record-minibuffer-relationships): Rename from
3957 frameset--process-minibuffer-frames. All callers changed.
3958 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3959 Use new default constructor (again). Doc fix.
3960 (frameset--find-frame-if): Rename from `frameset--find-frame.
3961 All callers changed.
3962 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3963 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3964 Doc fix.
3965 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3966 PARAMETERS and WINDOW-STATE, respectively.
3967 (frameset-restore): Add new keyword argument PREDICATE.
3968 Reset frameset--target-display to nil. Doc fix.
3969
39702013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3971
3972 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3973 (bat-mode): Use it.
3974 (bat-mode-syntax-table): Mark \n as end-of-comment.
3975 (bat-font-lock-keywords): Remove comment rule.
3976
3977 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3978 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3979
3980 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3981 (byte-compile-callargs-warn): Use `push'.
3982 (byte-compile-arglist-warn): Ignore higher-order "calls".
3983 (byte-compile-file-form-autoload): Use `pcase'.
3984 (byte-compile-function-form): If quoting a symbol, check that it exists.
3985
39862013-08-07 Eli Zaretskii <eliz@gnu.org>
3987
3988 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3989 and add a few popular commands found in batch files.
3990 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3991 (dos-mode): Doc fixes.
3992
39932013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3996 (dos-mode): Use setq-local. Add space after "rem".
3997 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3998 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3999
40002013-08-07 Arni Magnusson <arnima@hafro.is>
4001
4002 * progmodes/dos.el: New file.
4003 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4004 dos-mode.
4005
40062013-08-06 Glenn Morris <rgm@gnu.org>
4007
4008 * calendar/calendar.el: Add new faces, and day-header-array.
4009 (calendar-weekday-header, calendar-weekend-header)
4010 (calendar-month-header): New faces.
4011 (calendar-day-header-construct): New function.
4012 (calendar-day-header-width): Also :set calendar-day-header-array.
4013 (calendar-american-month-header, calendar-european-month-header)
4014 (calendar-iso-month-header): Use calendar- faces.
4015 (calendar-generate-month):
4016 Use calendar-day-header-array for day headers; apply faces to them.
4017 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4018 (calendar-abbrev-construct): Add optional maxlen argument.
4019 (calendar-day-name-array): Doc fix.
4020 (calendar-day-name-array, calendar-abbrev-length)
4021 (calendar-day-abbrev-array):
4022 Also :set calendar-day-header-array, and maybe redraw.
4023 (calendar-day-header-array): New option. (Bug#15007)
4024 (calendar-font-lock-keywords): Set to nil and make obsolete.
4025 (calendar-day-name): Add option to use header array.
4026
40272013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4028
4029 * net/shr.el (shr-render-td): Remove debugging.
4030 (shr-render-td): Make width computation consistent by defaulting
4031 all zero-width columns to 10 characters. This may not be optimal,
4032 but it's at least consistent.
4033 (shr-make-table-1): Redo last change to fix the real problem in
4034 colspan handling.
4035
40362013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4037
4038 * files.el (cache-long-line-scans):
4039 Make obsolete alias to `cache-long-scans'.
4040
40412013-08-06 Juanma Barranquero <lekktu@gmail.com>
4042
4043 * frameset.el (frameset, frameset-filter-alist)
4044 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4045 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4046 (frameset-compute-pos): Rename from frameset--compute-pos,
4047 and add docstring.
4048 (frameset-move-onscreen): Use frameset-compute-pos.
4049 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4050
4051 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4052 Fix typos in docstrings.
4053
40542013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4055
4056 * frame.el (get-other-frame): Tiny cleanup.
4057
40582013-08-06 Juanma Barranquero <lekktu@gmail.com>
4059
4060 * vc/vc.el (vc-default-ignore-completion-table):
4061 Silence byte-compiler warning.
4062
4063 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4064 slot , which can indeed be nil.
4065 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4066 Move entry for `left' from persistent to live filter alist.
4067 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4068 Doc fixes.
4069 (frameset-filter-params): When restoring a frame, copy items added to
4070 `filtered', to avoid unwittingly modifying the original parameters.
4071 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4072 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4073
4074 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4075 to use looking-at-p instead of looking-at. (Bug#15028)
4076
40772013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 Revert introduction of isearch-filter-predicates (bug#14714).
4080 Rely on add-function instead.
4081 * isearch.el (isearch-filter-predicates): Rename it back to
4082 isearch-filter-predicate.
4083 (isearch-message-prefix): Use advice-function-mapc and advice
4084 properties to get the isearch-message-prefix.
4085 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4086 instead of run-hook-with-args-until-failure.
4087 (isearch-filter-visible): Not obsolete any more.
4088 * loadup.el: Preload nadvice.
4089 * replace.el (perform-replace): Revert to funcall
4090 instead of run-hook-with-args-until-failure.
4091 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4092 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4093 dired-isearch-filenames-toggle; make it into a proper minor mode.
4094 Use add/remove-function.
4095 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4096 Call the minor-mode rather than add/remove-hook.
4097 (dired-isearch-filter-filenames):
4098 Remove isearch-message-prefix property.
4099 * info.el (Info--search-loop): New function, extracted from Info-search.
4100 Funcall isearch-filter-predicate instead of
4101 run-hook-with-args-until-failure isearch-filter-predicates.
4102 (Info-search): Use it.
4103 (Info-mode): Use isearch-filter-predicate instead of
4104 isearch-filter-predicates.
4105
41062013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4107
4108 Do not call to `selected-window' where it is assumed by default.
4109 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4110 `window-hscroll', `window-width', `window-height', `window-buffer',
4111 `window-frame', `window-start', `window-point', `next-window'
4112 and `window-display-table'.
4113 * abbrev.el (abbrev--default-expand):
4114 * bs.el (bs--show-with-configuration):
4115 * buff-menu.el (Buffer-menu-mouse-select):
4116 * calc/calc.el (calc):
4117 * calendar/calendar.el (calendar-generate-window):
4118 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4119 (diary-make-entry):
4120 * comint.el (send-invisible, comint-dynamic-complete-filename)
4121 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4122 * completion.el (complete):
4123 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4124 * disp-table.el (describe-current-display-table):
4125 * doc-view.el (doc-view-insert-image):
4126 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4127 * ehelp.el (with-electric-help):
4128 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4129 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4130 * emacs-lisp/helper.el (Helper-help-scroller):
4131 * emulation/cua-base.el (cua--post-command-handler-1):
4132 * eshell/esh-mode.el (eshell-output-filter):
4133 * ffap.el (ffap-gnus-wrapper):
4134 * help-macro.el (make-help-screen):
4135 * hilit-chg.el (highlight-compare-buffers):
4136 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4137 * hl-line.el (global-hl-line-highlight):
4138 * icomplete.el (icomplete-simple-completing-p):
4139 * isearch.el (isearch-done):
4140 * jit-lock.el (jit-lock-stealth-fontify):
4141 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4142 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4143 * mpc.el (mpc-tagbrowser, mpc):
4144 * net/rcirc.el (rcirc-any-buffer):
4145 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4146 * play/landmark.el (landmark-max-width, landmark-max-height):
4147 * play/zone.el (zone):
4148 * progmodes/compile.el (compilation-goto-locus):
4149 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4150 * progmodes/etags.el (find-tag-other-window):
4151 * progmodes/fortran.el (fortran-column-ruler):
4152 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4153 * progmodes/verilog-mode.el (verilog-point-text):
4154 * reposition.el (reposition-window):
4155 * rot13.el (toggle-rot13-mode):
4156 * server.el (server-switch-buffer):
4157 * shell.el (shell-dynamic-complete-command)
4158 (shell-dynamic-complete-environment-variable):
4159 * simple.el (insert-buffer, set-selective-display)
4160 (delete-completion-window):
4161 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4162 (speedbar-recenter):
4163 * startup.el (fancy-splash-head):
4164 * textmodes/ispell.el (ispell-command-loop):
4165 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4166 * tutorial.el (help-with-tutorial):
4167 * vc/add-log.el (add-change-log-entry):
4168 * vc/compare-w.el (compare-windows):
4169 * vc/ediff-help.el (ediff-indent-help-message):
4170 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4171 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4172 (ediff-setup-control-frame):
4173 * vc/emerge.el (emerge-position-region):
4174 * vc/pcvs-util.el (cvs-bury-buffer):
4175 * window.el (walk-windows, mouse-autoselect-window-select):
4176 * winner.el (winner-set-conf, winner-undo): Related users changed.
4177
41782013-08-05 Juanma Barranquero <lekktu@gmail.com>
4179
4180 * frameset.el (frameset--set-id): Doc fix.
4181 (frameset-frame-id, frameset-frame-id-equal-p)
4182 (frameset-locate-frame-id): New functions.
4183 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4184 (frameset-restore): Use them.
4185
41862013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4187
4188 Do not call to `selected-frame' where it is assumed by default.
4189 Affected functions are `raise-frame', `redraw-frame',
4190 `frame-first-window', `frame-terminal' and `delete-frame'.
4191 * calendar/appt.el (appt-disp-window):
4192 * epg.el (epg-wait-for-completion):
4193 * follow.el (follow-delete-other-windows-and-split)
4194 (follow-avoid-tail-recenter):
4195 * international/mule.el (set-terminal-coding-system):
4196 * mail/rmail.el (rmail-mail-return):
4197 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4198 * progmodes/f90.el (f90-add-imenu-menu):
4199 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4200 * server.el (server-switch-buffer):
4201 * simple.el (delete-completion-window):
4202 * talk.el (talk):
4203 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4204 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4205 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4206 * vc/ediff.el (ediff-documentation): Related users changed.
4207 * frame.el (selected-terminal): Remove the leftover.
4208
42092013-08-05 Glenn Morris <rgm@gnu.org>
4210
4211 * calendar/calendar.el (calendar-generate-month):
4212 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4213 (calendar-generate-month, calendar-font-lock-keywords):
4214 Fix for calendar-day-header-width > length of any day name.
4215
42162013-08-05 Juanma Barranquero <lekktu@gmail.com>
4217
4218 * desktop.el (desktop-clear): Use new name of sort predicate.
4219
4220 * frameset.el (frameset): Add docstring. Move :version property to its
4221 own `version' slot.
4222 (frameset-copy): Rename from copy-frameset.
4223 (frameset-p): Check more thoroughly.
4224 (frameset-prop): Do not check for :version, which is no longer a prop.
4225 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4226 Use new :never value instead of t.
4227 (frameset-filter-alist): Expand and clarify docstring.
4228 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4229 (frameset-filter-minibuffer, frameset-filter-save-param)
4230 (frameset-filter-restore-param, frameset-filter-iconified):
4231 Add pointer to docstring of frameset-filter-alist.
4232 (frameset-filter-params): Rename filter values to be more meaningful:
4233 :never instead of t, and reverse the meanings of :save and :restore.
4234 (frameset--process-minibuffer-frames): Clarify error message.
4235 (frameset-save): Avoid unnecessary and confusing call to framep.
4236 Use new BOA constructor for framesets.
4237 (frameset--reuse-list): Doc fix.
4238 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4239 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4240 (frameset-minibufferless-first-p): Doc fix.
4241 Rename from frameset-sort-frames-for-deletion.
4242 (frameset-restore): Doc fixes. Use new function names.
4243 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4244
42452013-08-04 Juanma Barranquero <lekktu@gmail.com>
4246
4247 * desktop.el (desktop-restore-forces-onscreen)
4248 (desktop-restore-reuses-frames): Document :keyword constant values.
4249 (desktop-filter-parameters-alist): Remove, now identical to
4250 frameset-filter-alist.
4251 (desktop--filter-tty*): Remove, moved to frameset.el.
4252 (desktop-save-frameset, desktop-restore-frameset):
4253 Do not pass :filters argument.
4254
4255 * frameset.el (frameset-live-filter-alist)
4256 (frameset-persistent-filter-alist): New variables.
4257 (frameset-filter-alist): Use them. Add autoload cookie.
4258 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4259 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4260 `frameset--id' (it's supposed to be internal to frameset.el).
4261 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4262 (frameset--initial-params): New function.
4263 (frameset--get-frame): Use it. Doc fix.
4264 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4265 Accept :all, not 'all.
4266 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4267 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4268 with fbound symbols. Fix frame id matching, and remove matching ids if
4269 the frame being restored is deleted. Obey :delete.
4270
42712013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * subr.el (macrop): New function.
4274 (text-clone--maintaining): New var.
4275 (text-clone--maintain): Rename from text-clone-maintain. Use it
4276 instead of inhibit-modification-hooks.
4277
4278 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4279 a proxy, so as handle autoloads and redefinitions of the target.
4280 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4281
4282 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4283 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4284 (pcase--mutually-exclusive-p): New function.
4285 (pcase--split-consp): Use it.
4286 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4287 mutually exclusive with the current predicate.
4288
4289 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4290 (edebug-macrop): Remove. Use `macrop' instead.
4291 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4292 (ad-macro-p):
4293 * eshell/esh-cmd.el (eshell-macrop):
4294 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4295
42962013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4299 (advice-mapc): New function, using it.
4300 (advice-function-member-p): New function.
4301 (advice--normalize): Store the cdr in advice--saved-rewrite since
4302 that's the part that will be changed.
4303 (advice--symbol-function): New function.
4304 (advice-remove): Handle removal before the function is defined.
4305 Adjust to new advice--saved-rewrite.
4306 (advice-member-p): Use advice-function-member-p and
4307 advice--symbol-function.
4308
43092013-08-04 Juanma Barranquero <lekktu@gmail.com>
4310
4311 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4312 (frameset-filter-minibuffer): Doc fix.
4313 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4314 (frameset--set-id, frameset--process-minibuffer-frames)
4315 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4316 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4317
4318 * desktop.el (desktop-clear): Only delete frames when called
4319 interactively and desktop-restore-frames is non-nil. Doc fix.
4320 (desktop-read): Set desktop-saved-frameset to nil.
4321
43222013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4323
4324 * vc/vc.el (vc-ignore): Rewrite.
4325 (vc-default-ignore-completion-table):
4326 (vc--read-lines):
4327 (vc--add-line, vc--remove-regexp): New functions.
4328
4329 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4330 (vc-svn-ignore-completion-table): New function.
4331
4332 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4333 (vc-hg-ignore-completion-table):
4334 (vc-hg-find-ignore-file): New functions.
4335
4336 * vc/vc-git.el (vc-git-ignore): Rewrite.
4337 (vc-git-ignore-completion-table):
4338 (vc-git-find-ignore-file): New functions.
4339
4340 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4341
4342 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4343 (vc-bzr-ignore-completion-table):
4344 (vc-bzr-find-ignore-file): New functions.
4345
43462013-08-03 Juanma Barranquero <lekktu@gmail.com>
4347
4348 * frameset.el (frameset-prop): New function and setter.
4349 (frameset-save): Do not modify frame list passed by the caller.
4350
43512013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4354
43552013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4358 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4359
4360 * custom.el (custom-initialize-default, custom-initialize-set)
4361 (custom-initialize-reset, custom-initialize-changed): Affect the
4362 toplevel-default-value (bug#6275, bug#14586).
4363 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4364 for bug#6275.
4365
43662013-08-02 Juanma Barranquero <lekktu@gmail.com>
4367
4368 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4369 Add cl-def* expressions.
4370
4371 * frameset.el (frameset-filter-params): Fix order of arguments.
4372
43732013-08-02 Juanma Barranquero <lekktu@gmail.com>
4374
4375 Move code related to saving frames to frameset.el.
4376 * desktop.el: Require frameset.
4377 (desktop-restore-frames): Doc fix.
4378 (desktop-restore-reuses-frames): Rename from
4379 desktop-restoring-reuses-frames.
4380 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4381 (desktop-clear): Clear frames too.
4382 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4383 (desktop--filter-tty*, desktop-save, desktop-read):
4384 Use frameset functions.
4385 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4386 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4387 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4388 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4389 (desktop--process-minibuffer-frames, desktop-save-frames)
4390 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4391 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4392 (desktop--sort-states, desktop-restoring-frames-p)
4393 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4394 (desktop-restoring-frameset-p, desktop-restore-frameset)
4395 (desktop--check-dont-save, desktop-save-frameset): New functions.
4396 (desktop--app-id): New constant.
4397 (desktop-first-buffer, desktop-buffer-ok-count)
4398 (desktop-buffer-fail-count): Move before first use.
4399 * frameset.el: New file.
4400
44012013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 * files.el: Use lexical-binding.
4404 (dir-locals-read-from-file): Remove unused `err' variable.
4405 (hack-dir-local-variables--warned-coding): New var.
4406 (hack-dir-local-variables): Use it to avoid repeated warnings.
4407 (make-backup-file-name--default-function): New function.
4408 (make-backup-file-name-function): Use it as default.
4409 (buffer-stale--default-function): New function.
4410 (buffer-stale-function): Use it as default.
4411 (revert-buffer-insert-file-contents--default-function): New function.
4412 (revert-buffer-insert-file-contents-function): Use it as default.
4413 (insert-directory): Avoid add-to-list.
4414
4415 * autorevert.el (auto-revert-handler): Simplify.
4416 Use buffer-stale--default-function.
4417
44182013-08-01 Tassilo Horn <tsdh@gnu.org>
4419
4420 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4421
4422 * whitespace.el (whitespace-ensure-local-variables): New function.
4423 (whitespace-cleanup-region): Call it.
4424 (whitespace-turn-on): Call it.
4425
44262013-08-01 Michael Albinus <michael.albinus@gmx.de>
4427
4428 Complete file name handlers.
4429
4430 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4431 (tramp-handle-verify-visited-file-modtime)
4432 (tramp-handle-file-notify-rm-watch): New functions.
4433 (tramp-call-process): Do not bind `default-directory'.
4434
4435 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4436 Order alphabetically.
4437 [access-file, add-name-to-file, dired-call-process]:
4438 [dired-compress-file, file-acl, file-notify-rm-watch]:
4439 [file-ownership-preserved-p, file-selinux-context]:
4440 [make-directory-internal, make-symbolic-link, set-file-acl]:
4441 [set-file-selinux-context, set-visited-file-modtime]:
4442 [verify-visited-file-modtime]: Add handler.
4443 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4444
4445 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4446 [file-notify-add-watch, file-notify-rm-watch]:
4447 [set-file-times, set-visited-file-modtime]:
4448 [verify-visited-file-modtime]: Add handler.
4449 (with-tramp-gvfs-error-message)
4450 (tramp-gvfs-handle-set-visited-file-modtime)
4451 (tramp-gvfs-fuse-file-name): Remove.
4452 (tramp-gvfs-handle-file-notify-add-watch)
4453 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4454 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4455
4456 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4457 Order alphabetically.
4458 [file-notify-rm-watch ]: Use default Tramp handler.
4459 [executable-find]: Remove private handler.
4460 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4461 `default-directory'.
4462 (tramp-sh-handle-executable-find)
4463 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4464 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4465 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4466 Do not use `format' in `tramp-message'.
4467
4468 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4469 [file-notify-rm-watch, set-visited-file-modtime]:
4470 [verify-visited-file-modtime]: Add handler.
4471 (tramp-smb-call-winexe): Do not bind `default-directory'.
4472
44732013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4474
4475 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4476
44772013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4478
4479 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4480 use it.
4481 (log-view-diff-changeset): Same.
4482 (log-view-diff-common): Call backend command `previous-revision'
4483 to find out the previous revision, in both cases. Swap the
4484 variables `to' and `fr', so that `fr' usually refers to the
4485 earlier revision (Bug#14989).
4486
44872013-07-31 Kan-Ru Chen <kanru@kanru.info>
4488
4489 * ibuf-ext.el (ibuffer-filter-by-filename):
4490 Make it work with dired buffers too.
4491
44922013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4493
4494 * emacs-lisp/re-builder.el (reb-color-display-p):
4495 * files.el (save-buffers-kill-terminal):
4496 * net/browse-url.el (browse-url):
4497 * server.el (server-save-buffers-kill-terminal):
4498 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4499 Prefer nil to selected-frame for the first arg of frame-parameter.
4500
45012013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4502
4503 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4504
45052013-07-30 Stephen Berman <stephen.berman@gmx.net>
4506
4507 * minibuffer.el (completion--twq-all): Try and preserve each
4508 completion's case choice (bug#14907).
4509
45102013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4511
4512 * net/network-stream.el (open-network-stream): Mention the new
4513 :nogreeting parameter.
4514 (network-stream-open-starttls): Use the :nogreeting parameter
4515 (bug#14938).
4516
4517 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4518
4519 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4520 more natural than popping.
4521
4522 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4523 (shr-urlify): Highlight under mouse.
4524
45252013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4526
4527 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4528
4529 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4530
4531 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4532 buffer for output.
4533
4534 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4535 point-min==1. Fix search string. Fix parentheses missing.
4536
4537 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4538 assume point-min==1. Fix search string. Fix parentheses missing.
4539
4540 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4541
4542 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4543 buffer for output.
4544
45452013-07-29 Eli Zaretskii <eliz@gnu.org>
4546
4547 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4548 initial frame is minibuffer-less. (Bug#14841)
4549
45502013-07-29 Michael Albinus <michael.albinus@gmx.de>
4551
4552 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4553 option.
4554
4555 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4556 (tramp-maybe-open-connection): Use it.
4557
45582013-07-28 Juanma Barranquero <lekktu@gmail.com>
4559
4560 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4561 minimal set of parameters passed when creating a frame, because
4562 the minibuffer status of a frame cannot be changed later.
4563
45642013-07-28 Stephen Berman <stephen.berman@gmx.net>
4565
4566 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4567 replace-regexp-in-string and inadvertent omissions in previous change.
4568 (todo-filter-items): Ensure only file names are comma-separated in
4569 name of filtered items buffer.
4570
45712013-07-28 Juanma Barranquero <lekktu@gmail.com>
4572
4573 * desktop.el: Optionally force offscreen frames back onscreen.
4574 (desktop-restoring-reuses-frames): New option.
4575 (desktop--compute-pos, desktop--move-onscreen): New functions.
4576 (desktop--make-frame): Use desktop--move-onscreen.
4577
45782013-07-27 Alan Mackenzie <acm@muc.de>
4579
4580 Fontify a Java generic method as a function.
4581 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4582 value to t.
4583
45842013-07-27 Stephen Berman <stephen.berman@gmx.net>
4585
4586 * calendar/todo-mode.el: Add command to rename todo files.
4587 (todo-rename-file): New command.
4588 (todo-key-bindings-t): Add key binding for it. Change the
4589 bindings of todo-filter-regexp-items(-multifile) to use `x'
4590 instead of `r', since the latter is better suited to the new
4591 renaming command.
4592
45932013-07-27 Alan Mackenzie <acm@muc.de>
4594
4595 Make Java try-with-resources statement parse properly.
4596 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4597 (c-block-stmt-1-2-key): New language constants/variables.
4598 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4599 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4600 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4601 with c-block-stmt-1-2-key.
4602
46032013-07-27 Juanma Barranquero <lekktu@gmail.com>
4604
4605 * desktop.el (desktop--make-frame): Apply most frame parameters after
4606 creating the frame to force (partially or totally) offscreen frames to
4607 be restored as such.
4608
46092013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4610
4611 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4612 (Bug#14948)
4613
46142013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4616 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4617 `base' arg of backtrace-frame.
4618
46192013-07-26 Eli Zaretskii <eliz@gnu.org>
4620
4621 * simple.el (list-processes): Doc fix.
4622
46232013-07-26 Juanma Barranquero <lekktu@gmail.com>
4624
4625 * desktop.el (desktop--select-frame):
4626 Try harder to reuse existing frames.
4627
46282013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4631 (edebug-eval): Use backtrace-eval.
4632 (edebug--display, edebug--recursive-edit): Don't let-bind the
4633 edebug-outer-* vars that keep track of variables we locally let-bind.
4634 (edebug-outside-excursion): Don't restore outside values of locally
4635 let-bound vars.
4636 (edebug--display): Use user-error.
4637 (cl-lexical-debug, cl-debug-env): Remove.
4638
46392013-07-26 Juanma Barranquero <lekktu@gmail.com>
4640
4641 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4642 are restored to be sure that they are visible before deleting any
4643 remaining ones.
4644
46452013-07-26 Matthias Meulien <orontee@gmail.com>
4646
4647 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4648 vc-print-root-log. (Bug#14948)
4649
46502013-07-26 Richard Stallman <rms@gnu.org>
4651
4652 Add aliases for encrypting mail.
4653 * epa.el (epa-mail-aliases): New option.
4654 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4655 Bind inhibit-read-only so read-only text doesn't ruin everything.
4656 (epa-mail-default-recipients): New subroutine broken out.
4657 Handle epa-mail-aliases.
4658
46592013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 Add support for lexical variables to the debugger's `e' command.
4662 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4663 vars, except for debugger-outer-match-data.
4664 (debugger-frame-number): Move check for "on a function call" from
4665 callers into it. Add `skip-base' argument.
4666 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4667 (debugger-env-macro): Only reset the state stored in non-variables,
4668 i.e. current-buffer and match-data.
4669 (debugger-eval-expression): Rewrite using backtrace-eval.
4670 * subr.el (internal--called-interactively-p--get-frame): Remove.
4671 (called-interactively-p):
4672 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4673 `base' arg of backtrace-frame instead.
4674
46752013-07-26 Glenn Morris <rgm@gnu.org>
4676
4677 * align.el (align-regexp): Doc fix. (Bug#14857)
4678 (align-region): Explicit error if subexpression missing/does not match.
4679
4680 * simple.el (global-visual-line-mode):
4681 Do not duplicate the mode lighter. (Bug#14858)
4682
46832013-07-25 Martin Rudalics <rudalics@gmx.at>
4684
4685 * window.el (display-buffer): In display-buffer bind
4686 split-window-keep-point to t, bug#14829.
4687
46882013-07-25 Juanma Barranquero <lekktu@gmail.com>
4689
4690 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4691 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4692 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4693 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4694 Change accordingly.
4695 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4696 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4697
46982013-07-25 Glenn Morris <rgm@gnu.org>
4699
4700 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4701
47022013-07-25 Juanma Barranquero <lekktu@gmail.com>
4703
4704 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4705 parameter to modify-frame-parameters if the value has not changed;
4706 this is a workaround for bug#14949.
4707 (desktop--make-frame): On cl-delete-if call, check parameter name,
4708 not full parameter.
4709
47102013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4711
4712 * vc/vc.el (vc-ignore): New function.
4713
4714 * vc/vc-svn.el (vc-svn-ignore): New function.
4715
4716 * vc/vc-hg.el (vc-hg-ignore): New function.
4717
4718 * vc/vc-git.el (vc-git-ignore): New function.
4719
4720 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4721 (vc-dir-ignore): New function.
4722
4723 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4724 (cvs-append-to-ignore): Move here from pcvs.el.
4725
4726 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4727
4728 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4729
47302013-07-24 Juanma Barranquero <lekktu@gmail.com>
4731
4732 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4733 (desktop-restore-frames): Warn when deleting an existing frame failed.
4734
47352013-07-24 Glenn Morris <rgm@gnu.org>
4736
4737 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4738
47392013-07-24 Michael Albinus <michael.albinus@gmx.de>
4740
4741 * filenotify.el (file-notify-supported-p):
4742 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4743 Remove functions.
4744
4745 * autorevert.el (auto-revert-use-notify):
4746 (auto-revert-notify-add-watch):
4747 * net/tramp.el (tramp-file-name-for-operation):
4748 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4749 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4750 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4751 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4752 Remove `file-notify-supported-p' entry.
4753
47542013-07-24 Glenn Morris <rgm@gnu.org>
4755
4756 * printing.el: Replace all uses of deleted ps-windows-system,
4757 ps-lp-system, ps-flatten-list with lpr- versions.
4758
47592013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4762 checked with memq (bug#14935).
4763
4764 * files.el (revert-buffer-function): Use a non-nil default.
4765 (revert-buffer-preserve-modes): Declare var to
4766 provide access to the `preserve-modes' argument.
4767 (revert-buffer): Let-bind it.
4768 (revert-buffer--default): New function, extracted from revert-buffer.
4769
47702013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * lpr.el: Signal print errors more prominently.
4773 (print-region-function): Don't default to nil.
4774 (lpr-print-region): New function, extracted from print-region-1.
4775 Check lpr's return value and signal an error in case of problem.
4776 (print-region-1): Use it.
4777 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4778 versions instead.
4779 (ps-printer-name): Default to nil.
4780 (ps-printer-name-option): Default to lpr-printer-switch.
4781 (ps-print-region-function): Don't default to nil.
4782 (ps-postscript-code-directory): Simplify default.
4783 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4784 (ps-string-list, ps-eval-switch, ps-flatten-list)
4785 (ps-flatten-list-1): Remove.
4786 (ps-multibyte-buffer): Avoid setq.
4787 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4788 (print-region-function, ps-print-region-function): Don't set them here.
4789
47902013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4791
4792 * ido.el (ido-fractionp):
4793 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4794 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4795 (ido-max-directory-size, ido-max-dir-file-cache)
4796 (ido-decorations): Doc fix.
4797
4798 * ansi-color.el: Fix old URL.
4799
48002013-07-23 Michael R. Mauger <michael@mauger.com>
4801
4802 * progmodes/sql.el: Version 3.3
4803 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4804 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4805 (sql-interactive-remove-continuation-prompt): Rewrite, use
4806 functions above. Fix continuation prompt and complete output line
4807 handling.
4808 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4809 redirected output buffer.
4810 (sql-mode): Restore deleted code (Bug#13591).
4811
48122013-07-23 Juanma Barranquero <lekktu@gmail.com>
4813
4814 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4815
48162013-07-23 Michael Albinus <michael.albinus@gmx.de>
4817
4818 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4819
4820 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4821 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4822 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4823
48242013-07-23 Juanma Barranquero <lekktu@gmail.com>
4825
4826 * desktop.el (desktop-clear): Simplify; remove useless checks
4827 against invalid buffer names.
4828 (desktop-list*): Use cl-list*.
4829 (desktop-buffer-info, desktop-create-buffer): Simplify.
4830
48312013-07-23 Leo Liu <sdl.web@gmail.com>
4832
4833 * bookmark.el (bookmark-make-record): Restore NAME as a default
4834 value. (Bug#14933)
4835
48362013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4839 extracted from autoload--insert-text.
4840 (autoload--insert-text): Remove.
4841 (autoload--print-cookie-text): New function, extracted from
4842 autoload--insert-cookie-text.
4843 (autoload--insert-cookie-text): Remove.
4844 (autoload-generate-file-autoloads): Adjust calls accordingly.
4845
4846 * winner.el (winner-hook-installed-p): Remove.
4847 (winner-mode): Simplify accordingly.
4848
4849 * subr.el (add-to-list): Fix compiler-macro when `append' is
4850 not constant. Don't use `cl-member' for the base case.
4851
4852 * progmodes/subword.el: Fix boundary case (bug#13758).
4853 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4854 own group.
4855 (subword-backward-regexp): Make it a constant.
4856 (subword-forward-internal): Don't treat a trailing capital as the
4857 beginning of a word.
4858
48592013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4860
4861 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4862 global value of tabulated-list-revert-hook (bug#14930).
4863
48642013-07-22 Juanma Barranquero <lekktu@gmail.com>
4865
4866 * desktop.el: Require 'cl-lib.
4867 (desktop-before-saving-frames-functions): New hook.
4868 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4869 for frames being saved. Rename from desktop--save-minibuffer-frames.
4870 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4871 Do not save frames with non-nil `desktop-dont-save' parameter.
4872 Filter out deleted frames.
4873 (desktop--find-frame): Use cl-find-if.
4874 (desktop--select-frame): Use cl-(first|second|third) to access values
4875 of desktop-mini.
4876 (desktop--make-frame): Use cl-delete-if.
4877 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4878 (desktop-restore-frames): Use cl-(first|second|third) to access values
4879 of desktop-mini. Look for visible frame at the end, not while
4880 restoring frames.
4881
4882 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4883 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4884 Use string-match-p, looking-at-p (bug#14927).
4885
48862013-07-21 Juanma Barranquero <lekktu@gmail.com>
4887
4888 * desktop.el (desktop-saved-frame-states):
4889 Rename from desktop--saved-states; all users changed.
4890 (desktop-save-frames): Rename from desktop--save-frames.
4891 Do not save state to desktop file.
4892 (desktop-save): Save desktop-saved-frame-states to desktop file
4893 and reset to nil.
4894 (desktop-restoring-frames-p): New function.
4895 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4896 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4897 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4898
4899 * desktop.el: Correctly restore iconified frames.
4900 (desktop--filter-iconified-position): New function.
4901 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4902
49032013-07-20 Glenn Morris <rgm@gnu.org>
4904
4905 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4906 Let `message' do the formatting.
4907 (def-gdb-preempt-display-buffer): Add explicit format.
4908
4909 * image-dired.el (image-dired-track-original-file):
4910 Use with-current-buffer.
4911 (image-dired-track-thumbnail): Use with-current-buffer.
4912 Avoid changing point of wrong window.
4913
4914 * image-dired.el (image-dired-track-original-file):
4915 Avoid changing point of wrong window. (Bug#14909)
4916
49172013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4918
4919 * progmodes/gdb-mi.el (gdb-done-or-error):
4920 Guard against "%" in gdb output. (Bug#14127)
4921
49222013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4923
4924 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4925 (Bug#14826)
4926
4927 * international/mule.el (coding-system-iso-2022-flags): Fix last
4928 change.
4929
49302013-07-20 Kenichi Handa <handa@gnu.org>
4931
4932 * international/mule.el (coding-system-iso-2022-flags):
4933 Add `8-bit-level-4'. (Bug#8522)
4934
49352013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4936
4937 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4938 (bug#14815).
4939
4940 * net/eww.el (eww-process-text-input): Allow inputting when the
4941 point is at the start of the line, as the properties aren't
4942 front-sticky.
4943
4944 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4945 degenerate widths.
4946
49472013-07-19 Richard Stallman <rms@gnu.org>
4948
4949 * epa.el (epa-popup-info-window): Doc fix.
4950
4951 * subr.el (split-string): New arg TRIM.
4952
49532013-07-18 Juanma Barranquero <lekktu@gmail.com>
4954
4955 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4956 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4957
49582013-07-18 Michael Albinus <michael.albinus@gmx.de>
4959
4960 * filenotify.el (file-notify--library): Rename from
4961 `file-notify-support'. Do not autoload. Adapt all uses.
4962 (file-notify-supported-p): New defun.
4963
4964 * autorevert.el (auto-revert-use-notify):
4965 Use `file-notify-supported-p' instead of `file-notify-support'.
4966 Adapt docstring.
4967 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4968
4969 * net/tramp.el (tramp-file-name-for-operation):
4970 Add `file-notify-supported-p'.
4971
4972 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4973 New defun.
4974 (tramp-sh-file-name-handler-alist): Add it as handler for
4975 `file-notify-supported-p '.
4976
4977 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4978 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4979 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4980 Add `ignore' as handler for `file-notify-*' functions.
4981
49822013-07-17 Eli Zaretskii <eliz@gnu.org>
4983
4984 * simple.el (line-move-partial, line-move): Don't start vscroll or
4985 scroll-up if the current line is not taller than the window.
4986 (Bug#14881)
4987
49882013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4989
4990 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4991 highlight question marks in the method names as strings.
4992 (ruby-block-beg-keywords): Inline.
4993 (ruby-font-lock-keyword-beg-re): Extract from
4994 `ruby-font-lock-keywords'.
4995
49962013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4997
4998 * frame.el (blink-cursor-blinks): New defcustom.
4999 (blink-cursor-blinks-done): New defvar.
5000 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5001 (blink-cursor-timer-function): Check if number of blinks has been
5002 done on X and NS.
5003 (blink-cursor-suspend, blink-cursor-check): New defuns.
5004
50052013-07-15 Glenn Morris <rgm@gnu.org>
5006
5007 * edmacro.el (edmacro-format-keys): Fix previous change.
5008
50092013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5010
5011 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5012 The hack didn't work outside English locales anyway.
5013
50142013-07-15 Juanma Barranquero <lekktu@gmail.com>
5015
5016 * simple.el (define-alternatives): Rename from alternatives-define,
5017 per RMS' suggestion.
5018
50192013-07-14 Juanma Barranquero <lekktu@gmail.com>
5020
5021 * desktop.el (desktop-restore-frames): Change default to t.
5022 (desktop-restore-in-current-display): Now offer more options.
5023 (desktop-restoring-reuses-frames): New customization option.
5024 (desktop--saved-states): Doc fix.
5025 (desktop-filter-parameters-alist): New variable, renamed and expanded
5026 from desktop--excluded-frame-parameters.
5027 (desktop--target-display): New variable.
5028 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5029 (desktop--filter-tty*, desktop--filter-*-color)
5030 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5031 (desktop--filter-save-desktop-parm)
5032 (desktop-restore-in-original-display-p): New functions.
5033 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5034 (desktop--save-minibuffer-frames): New function, inspired by a similar
5035 function from Martin Rudalics.
5036 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5037 (desktop--restore-in-this-display-p): Remove.
5038 (desktop--find-frame): Rename from desktop--find-frame-in-display
5039 and add predicate argument.
5040 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5041 (desktop--reuse-list): New variable.
5042 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5043 New functions.
5044 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5045
50462013-07-14 Michael Albinus <michael.albinus@gmx.de>
5047
5048 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5049
50502013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5051
5052 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5053 Highlight conversion methods on Kernel.
5054
50552013-07-13 Alan Mackenzie <acm@muc.de>
5056
5057 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5058 and comment it out. This out-commenting enables certain C++
5059 declarations to be parsed correctly.
5060
50612013-07-13 Eli Zaretskii <eliz@gnu.org>
5062
5063 * international/mule.el (define-coding-system): Doc fix.
5064
5065 * simple.el (default-font-height): Don't call font-info if the
5066 frame's default font didn't change since the frame was created.
5067 (Bug#14838)
5068
50692013-07-13 Leo Liu <sdl.web@gmail.com>
5070
5071 * ido.el (ido-read-file-name): Guard against non-symbol value.
5072
50732013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5074
5075 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5076 in nested defuns.
5077
50782013-07-13 Leo Liu <sdl.web@gmail.com>
5079
5080 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5081 ido-set-matches call. (Bug#6852)
5082
50832013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5084
5085 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5086 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5087 Ruby 2.0.
5088 (ruby-font-lock-keywords): Distinguish calls to functions with
5089 module-like names from module references. Highlight character
5090 literals.
5091
50922013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5093
5094 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5095 (gdb-send): Handle continued commands. (Bug#14847)
5096
50972013-07-12 Juanma Barranquero <lekktu@gmail.com>
5098
5099 * desktop.el (desktop--v2s): Remove unused local variable.
5100 (desktop-save-buffer): Make defvar-local; adjust docstring.
5101 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5102 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5103
51042013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5105
5106 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5107
51082013-07-12 Eli Zaretskii <eliz@gnu.org>
5109
5110 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5111 (Bug#14842)
5112
51132013-07-12 Glenn Morris <rgm@gnu.org>
5114
5115 * doc-view.el: Require cl-lib at runtime too.
5116 (doc-view-remove-if): Remove.
5117 (doc-view-search-next-match, doc-view-search-previous-match):
5118 Use cl-remove-if.
5119
5120 * edmacro.el: Require cl-lib at runtime too.
5121 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5122 (edmacro-mismatch, edmacro-subseq): Remove.
5123
5124 * shadowfile.el: Require cl-lib.
5125 (shadow-remove-if): Remove.
5126 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5127 Use cl-remove-if.
5128
5129 * wid-edit.el: Require cl-lib.
5130 (widget-choose): Use cl-remove-if.
5131 (widget-remove-if): Remove.
5132
5133 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5134 (ebrowse-delete-if-not): Remove.
5135 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5136 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5137 Use cl-delete-if-not.
5138
51392013-07-12 Juanma Barranquero <lekktu@gmail.com>
5140
5141 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5142 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5143
51442013-07-12 Leo Liu <sdl.web@gmail.com>
5145
5146 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5147
51482013-07-11 Glenn Morris <rgm@gnu.org>
5149
5150 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5151 (edebug-gensym-index, edebug-gensym):
5152 Remove reimplementation of cl-gensym.
5153 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5154
5155 * thumbs.el: Require cl-lib at run-time too.
5156 (thumbs-gensym-counter, thumbs-gensym):
5157 Remove reimplementation of cl-gensym.
5158 (thumbs-temp-file): Use cl-gensym.
5159
5160 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5161 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5162 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5163 (ert--union, ert--gensym-counter, ert--gensym-counter)
5164 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5165 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5166 (ert-make-test-unbound, ert--expand-should-1)
5167 (ert--expand-should, ert--should-error-handle-error)
5168 (should-error, ert--explain-equal-rec)
5169 (ert--plist-difference-explanation, ert-select-tests)
5170 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5171 Use cl-lib functions rather than reimplementations.
5172
51732013-07-11 Michael Albinus <michael.albinus@gmx.de>
5174
5175 * net/tramp.el (tramp-methods): Extend docstring.
5176 (tramp-connection-timeout): New defcustom.
5177 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5178 (with-tramp-progress-reporter): Simplify.
5179 (tramp-process-actions): Improve messages.
5180
5181 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5182 * net/tramp-sh.el (tramp-maybe-open-connection):
5183 Use `tramp-connection-timeout'.
5184 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5185 (Bug#14808)
5186
51872013-07-11 Leo Liu <sdl.web@gmail.com>
5188
5189 * ido.el (ido-read-file-name): Conform to the requirements of
5190 read-file-name. (Bug#11861)
5191 (ido-read-directory-name): Conform to the requirements of
5192 read-directory-name.
5193
51942013-07-11 Juanma Barranquero <lekktu@gmail.com>
5195
5196 * subr.el (delay-warning): New function.
5197
51982013-07-10 Eli Zaretskii <eliz@gnu.org>
5199
5200 * simple.el (default-line-height): New function.
5201 (line-move-partial, line-move): Use it instead of computing the
5202 line height inline.
5203 (line-move-partial): Always compute ROWH. If the last line is
5204 partially-visible, but its text is completely visible, allow
5205 cursor to enter such a partially-visible line.
5206
52072013-07-10 Michael Albinus <michael.albinus@gmx.de>
5208
5209 Improve error messages. (Bug#14808)
5210
5211 * net/tramp.el (tramp-current-connection): New defvar, moved from
5212 tramp-sh.el.
5213 (tramp-message-show-progress-reporter-message): Remove, not
5214 needed anymore.
5215 (tramp-error-with-buffer): Show message in minibuffer.
5216 Discard input before waiting. Reset connection timestamp.
5217 (with-tramp-progress-reporter): Improve messages.
5218 (tramp-process-actions): Use progress reporter. Delete process in
5219 case of error. Improve messages.
5220
5221 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5222 Call `tramp-error-with-buffer' with vector and buffer.
5223 (tramp-current-connection): Remove.
5224 (tramp-maybe-open-connection): The car of
5225 `tramp-current-connection' are the first 3 slots of the vector.
5226
52272013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5228
5229 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5230 inside continued strings.
5231
52322013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5233
5234 Timestamp fixes for undo (Bug#14824).
5235 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5236
52372013-07-10 Leo Liu <sdl.web@gmail.com>
5238
5239 * files.el (require-final-newline): Allow safe local value.
5240 (Bug#14834)
5241
52422013-07-09 Leo Liu <sdl.web@gmail.com>
5243
5244 * ido.el (ido-read-directory-name): Handle fallback.
5245 (ido-read-file-name): Update DIR to ido-current-directory.
5246 (Bug#1516)
5247 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5248
52492013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5250
5251 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5252 "autoload". Remove "warn lower camel case" section, previously
5253 commented out. Highlight negation char. Do not highlight the
5254 target in singleton method definitions.
5255
52562013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * faces.el (tty-setup-hook): Declare the hook.
5259
5260 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5261 and detect when a guard/pred depends on local vars (bug#14773).
5262 (pcase--u1): Adjust caller.
5263
52642013-07-08 Eli Zaretskii <eliz@gnu.org>
5265
5266 * simple.el (line-move-partial, line-move): Account for
5267 line-spacing.
5268 (line-move-partial): Avoid setting vscroll when the last
5269 partially-visible line in window is of default height.
5270
52712013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5272
5273 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5274 been used a while.
5275
52762013-07-07 Juanma Barranquero <lekktu@gmail.com>
5277
5278 * subr.el (read-quoted-char): Remove unused local variable `char'.
5279
52802013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5281
5282 * ediff.el (ediff-version): Version update.
5283 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5284 (ediff-merge-with-ancestor-command, ediff-directories-command)
5285 (ediff-directories3-command, ediff-merge-directories-command)
5286 (ediff-merge-directories-with-ancestor-command): New functions.
5287 All are command-line interfaces to ediff: to facilitate calling
5288 Emacs with the appropriate ediff functions invoked.
5289
5290 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5291 (viper-save-kill-buffer): Check if buffer is modified.
5292
5293 * viper.el (viper-version): Version update.
5294 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5295
52962013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5299 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5300 (viper-intercept-ESC-key): Simplify.
5301 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5302 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5303 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5304 (viper-setup-ESC-to-escape): New functions.
5305 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5306 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5307
53082013-07-07 Eli Zaretskii <eliz@gnu.org>
5309
5310 * simple.el (default-font-height, window-screen-lines):
5311 New functions.
5312 (line-move, line-move-partial): Use them instead of
5313 frame-char-height and window-text-height. This makes scrolling
5314 text smoother when the buffer's default face uses a font that is
5315 different from the frame's default font.
5316
53172013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5318
5319 * files.el (write-file): Do not display confirm dialog for NS,
5320 it does its own dialog, which can't be cancelled (Bug#14578).
5321
53222013-07-06 Eli Zaretskii <eliz@gnu.org>
5323
5324 * simple.el (line-move-partial): Adjust the row returned by
5325 posn-at-point for the current window-vscroll. (Bug#14567)
5326
53272013-07-06 Michael Albinus <michael.albinus@gmx.de>
5328
5329 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5330 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5331 spaces.
5332
53332013-07-06 Martin Rudalics <rudalics@gmx.at>
5334
5335 * window.el (window-state-put-stale-windows): New variable.
5336 (window--state-put-2): Save list of windows without matching buffer.
5337 (window-state-put): Remove "bufferless" windows if possible.
5338
53392013-07-06 Juanma Barranquero <lekktu@gmail.com>
5340
5341 * simple.el (alternatives-define): Remove leftover :group keyword.
5342 Tweak docstring.
5343
53442013-07-06 Leo Liu <sdl.web@gmail.com>
5345
5346 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5347 (ido-enable-virtual-buffers): New variable.
5348 (ido-buffer-internal, ido-toggle-virtual-buffers)
5349 (ido-make-buffer-list): Use it.
5350 (ido-exhibit): Support turning on and off virtual buffers
5351 automatically.
5352
53532013-07-06 Juanma Barranquero <lekktu@gmail.com>
5354
5355 * simple.el (alternatives-define): New macro.
5356
53572013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * subr.el (read-quoted-char): Use read-key.
5360 (sit-for): Let read-event decode tty input (bug#14782).
5361
53622013-07-05 Stephen Berman <stephen.berman@gmx.net>
5363
5364 * calendar/todo-mode.el: Add handling of file deletion, both by
5365 mode command and externally. Fix various related bugs.
5366 Clarify Commentary and improve some documentation strings and code.
5367 (todo-delete-file): New command.
5368 (todo-check-file): New function.
5369 (todo-show): Handle external deletion of the file we're trying to
5370 show (bug#14688). Replace called-interactively-p by an optional
5371 prefix argument to avoid problematic interaction with catch form
5372 when byte compiled (bug#14702).
5373 (todo-quit): Handle external deletion of the archive's todo file.
5374 Make sure the buffer that was visiting the archive file is still
5375 live before trying to bury it.
5376 (todo-category-completions): Handle external deletion of any
5377 category completion files.
5378 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5379 of todo files, in case of external deletion.
5380 (todo-add-file): Replace unnecessary setq by let-binding.
5381 (todo-find-archive): Check whether there are any archives.
5382 Replace unnecessary setq by let-binding.
5383 (todo-archive-done-item): Use find-file-noselect to get the
5384 archive buffer whether or not the archive already exists.
5385 Remove superfluous code. Use file size instead of buffer-file-name to
5386 check if the archive is new; if it is, update list of archives.
5387 (todo-default-todo-file): Allow nil to be a valid value for when
5388 there are no todo files.
5389 (todo-reevaluate-default-file-defcustom): Use corrected definition
5390 of todo-default-todo-file.
5391 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5392 (todo-delete-category, todo-show-categories-table)
5393 (todo-category-number): Clarify comment.
5394 (todo-filter-items): Clarify documentation string.
5395 (todo-show-current-file, todo-display-as-todo-file)
5396 (todo-reset-and-enable-done-separator): Tweak documentation string.
5397 (todo-done-separator): Make separator length window-width, since
5398 bug#2749 is now fixed.
5399
54002013-07-05 Michael Albinus <michael.albinus@gmx.de>
5401
5402 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5403 Support both "gvfs-monitor-dir" and "inotifywait".
5404 (tramp-sh-file-inotifywait-process-filter): Rename from
5405 `tramp-sh-file-notify-process-filter'.
5406 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5407 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5408
54092013-07-05 Leo Liu <sdl.web@gmail.com>
5410
5411 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5412
54132013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5414
5415 * frame.el (display-pixel-height, display-pixel-width)
5416 (display-mm-height, display-mm-width): Mention behavior on
5417 multi-monitor setups in docstrings.
5418 (w32-display-monitor-attributes-list): Declare function.
5419 (display-monitor-attributes-list): Use it.
5420
54212013-07-04 Michael Albinus <michael.albinus@gmx.de>
5422
5423 * filenotify.el: New package.
5424
5425 * autorevert.el (top): Require filenotify.el.
5426 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5427 instead.
5428 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5429 (auto-revert-notify-handler): Use `file-notify-*' functions.
5430
5431 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5432
5433 * net/tramp.el (tramp-file-name-for-operation):
5434 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5435
5436 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5437 for `file-notify-add-watch' and `file-notify-rm-watch'.
5438 (tramp-process-sentinel): Improve trace.
5439 (tramp-sh-handle-file-notify-add-watch)
5440 (tramp-sh-file-notify-process-filter)
5441 (tramp-sh-handle-file-notify-rm-watch)
5442 (tramp-get-remote-inotifywait): New defuns.
5443
54442013-07-03 Juri Linkov <juri@jurta.org>
5445
5446 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5447 call of `occur-read-primary-args' to interactive spec.
5448
5449 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5450 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5451
54522013-07-03 Matthias Meulien <orontee@gmail.com>
5453
5454 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5455 `Buffer-menu-multi-occur'. Add it to the menu.
5456 (Buffer-menu-mode): Document it in docstring.
5457 (Buffer-menu-multi-occur): New command. (Bug#14673)
5458
54592013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5460
5461 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5462 keywords and built-ins.
5463
54642013-07-03 Glenn Morris <rgm@gnu.org>
5465
5466 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5467
5468 Make info-xref checks case-sensitive by default
5469 * info.el (Info-find-node, Info-find-in-tag-table)
5470 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5471 Add option for exact case matching of nodes.
5472 * info-xref.el (info-xref): New custom group.
5473 (info-xref-case-fold): New option.
5474 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5475
54762013-07-03 Leo Liu <sdl.web@gmail.com>
5477
5478 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5479
54802013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5481
5482 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5483 middle of block statement initially, lower the depth. Remove
5484 FIXME comment, not longer valid. Remove middle of block statement
5485 detection, no need to do that anymore since we've been using
5486 `ruby-parse-region' here.
5487
54882013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5489
5490 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5491
54922013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5493
5494 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5495
54962013-07-01 Juanma Barranquero <lekktu@gmail.com>
5497
5498 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5499 (desktop-restore-in-current-display): New customization option.
5500 (desktop--excluded-frame-parameters): Add `font'.
5501 (desktop--save-frames): Rename from desktop--save-windows.
5502 (desktop--restore-in-this-display-p): New function.
5503 (desktop--make-full-frame): Remove unwanted width/height from
5504 full(width|height) frames.
5505 (desktop--restore-frames): Rename from desktop--restore-windows.
5506 Obey desktop-restore-current-display. Do not delete old frames or
5507 select a new frame unless we were able to restore at least one frame.
5508
55092013-06-30 Michal Nazarewicz <mina86@mina86.com>
5510
5511 * files.el (find-file-noselect): Simplify conditional expression.
5512
5513 * remember.el (remember-append-to-file):
5514 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5515
5516 Add `remember-notes' function to store random notes across Emacs
5517 restarts.
5518 * remember.el (remember-data-file): Add :set callback to affect
5519 notes buffer (if any).
5520 (remember-notes): New command.
5521 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5522 New defcustoms for the `remember-notes' function.
5523 (remember-notes-save-and-bury-buffer): New command.
5524 (remember-notes-mode-map): New variable.
5525 (remember-mode): New minor mode.
5526 (remember-notes--kill-buffer-query): New function.
5527 * startup.el (initial-buffer-choice): Add notes to custom type.
5528
55292013-06-30 Eli Zaretskii <eliz@gnu.org>
5530
5531 * bindings.el (right-char, left-char): Don't call sit-for, this is
5532 no longer needed. Use arithmetic comparison only for numerical
5533 arguments.
5534
5535 * international/mule-cmds.el (select-safe-coding-system):
5536 Handle the case of FROM being a string correctly. (Bug#14755)
5537
55382013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5539
5540 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5541 progression on degenerate tables.
5542 (shr-rescale-image): ImageMagick animated images currently don't work.
5543
55442013-06-30 Juanma Barranquero <lekktu@gmail.com>
5545
5546 Some fixes and improvements for desktop frame restoration.
5547 It is still experimental and disabled by default.
5548 * desktop.el (desktop--save-windows): Put the selected frame at
5549 the head of the list.
5550 (desktop--make-full-frame): New function.
5551 (desktop--restore-windows): Try to re-select the frame that was
5552 selected upon saving. Do not abort if some frames fail to restore,
5553 just show an error message and continue. Set up maximized frames
5554 so they have default non-maximized dimensions.
5555
55562013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5557
5558 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5559 Don't start heredoc inside a string or comment.
5560
55612013-06-29 Eli Zaretskii <eliz@gnu.org>
5562
5563 * bindings.el (visual-order-cursor-movement): New defcustom.
5564 (right-char, left-char): Provide visual-order cursor motion by
5565 calling move-point-visually. Update the doc strings.
5566
55672013-06-28 Kenichi Handa <handa@gnu.org>
5568
5569 * international/mule.el (define-coding-system): New coding system
5570 properties :inhibit-null-byte-detection,
5571 :inhibit-iso-escape-detection, and :prefer-utf-8.
5572 (set-buffer-file-coding-system): If :charset-list property of
5573 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5574 appropriate for setting.
5575
5576 * international/mule-cmds.el (select-safe-coding-system):
5577 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5578 multibyte characters, return utf-8 (or one of its siblings).
5579
5580 * international/mule-conf.el (prefer-utf-8): New coding system.
5581 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5582 files.
5583
55842013-06-28 Ivan Kanis <ivan@kanis.fr>
5585
5586 * net/shr.el (shr-render-region): New function.
5587
5588 * net/eww.el: Autoload `eww-browse-url'.
5589
55902013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5591
5592 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5593 Adapt to `package-desc-version' being a list.
5594 Use `package--ac-desc-version' to retrieve version from a package
5595 archive element.
5596
55972013-06-27 Juanma Barranquero <lekktu@gmail.com>
5598
5599 New experimental feature to save&restore window and frame setup.
5600 * desktop.el (desktop-save-windows): New defcustom.
5601 (desktop--saved-states): New var.
5602 (desktop--excluded-frame-parameters): New defconst.
5603 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5604 (desktop--restore-windows, desktop--save-windows): New functions.
5605 (desktop-save): Call `desktop--save-windows'.
5606 (desktop-read): Call `desktop--restore-windows'.
5607
56082013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5609
5610 * net/shr.el (add-face-text-property): Remove compat definition.
5611
56122013-06-27 Stephen Berman <stephen.berman@gmx.net>
5613
5614 * info.el (Info-try-follow-nearest-node): Move search for footnote
5615 above search for node name to prevent missing a footnote (bug#14717).
5616
56172013-06-27 Stephen Berman <stephen.berman@gmx.net>
5618
5619 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5620
56212013-06-27 Leo Liu <sdl.web@gmail.com>
5622
5623 * net/eww.el (eww-read-bookmarks): Check file size.
5624
56252013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5628 advice--pending if newdef is nil or an autoload (bug#13820).
5629 (advice-mapc): New function.
5630
56312013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5632
5633 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5634 probably.
5635 (eww-mode-map): Add a menu bar.
5636 (eww-add-bookmark): New command.
5637 (eww-bookmark-mode): New mode and commands.
5638 (eww-add-bookmark): Remove newlines from the title.
5639 (eww-bookmark-browse): Don't bug out if it's the only window.
5640
56412013-06-26 Glenn Morris <rgm@gnu.org>
5642
5643 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5644 (hfy-size): Handle ttys. (Bug#14668)
5645
5646 * info-xref.el: Update for Texinfo 5 change in *note format.
5647 (info-xref-node-re, info-xref-note-re): New constants.
5648 (info-xref-check-buffer): Use info-xref-note-re.
5649
56502013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5653
5654 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5655 nil terminate the loop (bug#14718).
5656
56572013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5658
5659 * net/eww.el: Rework history traversal. When going forward/back,
5660 put these actions into the history, too, so that they can be
5661 replayed.
5662 (eww-render): Move the history reset to the correct buffer.
5663
56642013-06-25 Juri Linkov <juri@jurta.org>
5665
5666 * files-x.el (modify-dir-local-variable): Change the header comment
5667 in the file with directory local variables. (Bug#14692)
5668
5669 * files-x.el (read-file-local-variable-value): Add `default'.
5670 (Bug#14710)
5671
56722013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5673
5674 * net/eww.el (eww-make-unique-file-name): Create a unique file
5675 name before saving to entering `y' accidentally asynchronously.
5676
56772013-06-25 Ivan Kanis <ivan@kanis.fr>
5678
5679 * net/eww.el (eww-download): New command and keystroke.
5680
56812013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5682
5683 * net/eww.el (eww-copy-page-url): Change name of command.
5684
5685 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5686 be more consistent with Info and dired.
5687
5688 * net/eww.el (eww-mode-map): Ditto.
5689
56902013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5691
5692 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5693 packages from archives.
5694 (package-archive-contents): Change format; include obsolete packages.
5695 (package-desc): Use `dir' to mark builtin packages.
5696 (package--from-builtin): Set the `dir' field to `builtin'.
5697 (generated-autoload-file, version-control): Declare.
5698 (package-compute-transaction): Change first arg and return value to be
5699 lists of package-descs. Adjust to new package-archive-contents format.
5700 (package--add-to-archive-contents): Adjust to new
5701 package-archive-contents format.
5702 (package-download-transaction): Arg is now a list of package-descs.
5703 (package-install): If `pkg' is a package name, pass it as
5704 a requirement, so it is subject to the usual (e.g. disabled) checks.
5705 (describe-package): Accept package-desc as well.
5706 (describe-package-1): Describe a specific package-desc. Add links to
5707 other package-descs for the same package name.
5708 (package-menu-describe-package): Pass the actual package-desc.
5709 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5710 works correctly.
5711 (package-desc-status): New function.
5712 (package-menu--refresh): New function, extracted
5713 from package-menu--generate.
5714 (package-menu--generate): Use it.
5715 (package-delete): Update package-alist.
5716 (package-menu-execute): Don't call package-initialize.
5717
5718 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5719 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5720 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5721 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5722 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5723 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5724
57252013-06-25 Martin Rudalics <rudalics@gmx.at>
5726
5727 * window.el (window--state-get-1): Workaround for bug#14527.
5728 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5729
57302013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5731
5732 * net/eww.el (eww-back-url): Implement the history by stashing all
5733 the data into a list.
5734 (eww-forward-url): Allow going forward in the history, too.
5735
57362013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5739 for values and use read--expression for expressions (bug#14710).
5740 (read-file-local-variable): Avoid setq.
5741 (read-file-local-variable-mode): Use minor-mode-list.
5742
57432013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5744
5745 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5746 for DOI URLs.
5747
57482013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5749
5750 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5751 Update imenu-support when dialect changes.
5752
57532013-06-25 Leo Liu <sdl.web@gmail.com>
5754
5755 * ido.el (ido-read-internal): Allow forward slash on windows.
5756
57572013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5758
5759 * net/eww.el (eww): Start of strings is \\`, not ^.
5760
57612013-06-24 Ivan Kanis <ivan@kanis.fr>
5762
5763 * net/shr.el (shr-browse-url): Fix interactive spec.
5764
5765 * net/eww.el (eww): Add a trailing slash to domain names.
5766
57672013-06-24 Juanma Barranquero <lekktu@gmail.com>
5768
5769 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5770
57712013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5772
5773 * net/shr.el (shr-browse-url): Use an external browser if given a
5774 prefix.
5775
5776 * net/eww.el (eww-external-browser): Move to shr.
5777
57782013-06-24 Ivan Kanis <ivan@kanis.fr>
5779
5780 * net/eww.el (eww): Work more correctly for file: URLs.
5781 (eww-detect-charset): Allow quoted charsets.
5782 (eww-yank-page-url): New command and keystroke.
5783
57842013-06-24 Daiki Ueno <ueno@gnu.org>
5785
5786 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5787 file name of gpg executable.
5788 (epg-context-program): New function.
5789 (epg-context-home-directory): New function.
5790 (epg-context-set-program): New function.
5791 (epg-context-set-home-directory): New function.
5792 (epg--start): Use `epg-context-program' instead of
5793 'epg-gpg-program'.
5794 (epg--list-keys-1): Likewise.
5795
57962013-06-24 Leo Liu <sdl.web@gmail.com>
5797
5798 * ido.el (ido-read-internal): Fix bug#14620.
5799
58002013-06-23 Juanma Barranquero <lekktu@gmail.com>
5801
5802 * faces.el (face-documentation): Simplify.
5803 (read-face-attribute, tty-find-type, x-resolve-font-name):
5804 Use `string-match-p'.
5805 (list-faces-display): Use `string-match-p'. Simplify.
5806 (face-spec-recalc): Check face to avoid face alias loops.
5807 (read-color): Use `string-match-p' and non-capturing parenthesis.
5808
58092013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5810
5811 * net/shr.el (shr-rescale-image): Use the new
5812 :max-width/:max-height functionality.
5813
58142013-06-23 Ivan Kanis <ivan@kanis.fr>
5815
5816 * net/eww.el (eww-search-prefix): New variable.
5817 (eww): Use it.
5818 (eww-external-browser): New variable.
5819 (eww-mode-map): New keystroke.
5820 (eww-browse-with-external-browser): New command.
5821
5822 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5823
58242013-06-23 Juanma Barranquero <lekktu@gmail.com>
5825
5826 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5827 Don't skip aligning the next header field when padding is 0;
5828 otherwise, field width is not respected unless the title is as
5829 wide as the field.
5830
58312013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * emacs-lisp/package.el (package-el-version): Remove.
5834 (package-process-define-package): Fix inf-loop.
5835 (package-install): Allow symbols as arguments again.
5836
58372013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5838
5839 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5840 add some more keyword-like methods.
5841 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5842
58432013-06-22 Juanma Barranquero <lekktu@gmail.com>
5844
5845 * bs.el (bs-buffer-show-mark): Make defvar-local.
5846 (bs-mode): Use setq-local.
5847
5848 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5849 (emacs-lock--try-unlocking): Make defvar-local.
5850
58512013-06-22 Glenn Morris <rgm@gnu.org>
5852
5853 * play/cookie1.el (cookie-apropos): Minor simplification.
5854
5855 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5856
58572013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5858
5859 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5860 `regexp-opt', it breaks the build during dumping.
5861
58622013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5863
5864 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5865 Highlight keyword-like methods on Kernel and Module with
5866 font-lock-builtin-face.
5867 (auto-mode-alist): Consolidate different entries into one regexp
5868 and add more *file-s.
5869
58702013-06-21 Stephen Berman <stephen.berman@gmx.net>
5871
5872 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5873
5874 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5875 (diary-entry): Use it in the action of this button type instead of
5876 diary-goto-entry.
5877
5878 * calendar/todo-mode.el: New version.
5879 (todo-add-category): Append new category to end of file and give
5880 it the highest number, instead of putting it at the beginning and
5881 giving it 0. Incorporate noninteractive functionality.
5882 (todo-forward-category): Adapt to 1-based category numbering.
5883 Allow skipping over archived categories.
5884 (todo-backward-category): Derive from todo-forward-category.
5885 (todo-backward-item, todo-forward-item): Make noninteractive and
5886 delegate interactive part to new commands. Make sensitive to done items.
5887 (todo-categories): Make value an alist of category names and
5888 vectors of item counts.
5889 (todo-category-beg): Make a defconst.
5890 (todo-category-number): Use 1 instead of 0 as initial value.
5891 (todo-category-select): Make sensitive to overlays, optional item
5892 highlighting and done items.
5893 (todo-delete-item): Make sensitive to overlays and marked and done items.
5894 (todo-edit-item): Make sensitive to overlays and editing of
5895 date/time header optional. Add format checks.
5896 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5897 no-op if point is not on an item. Advertise using todo-edit-quit.
5898 (todo-edit-mode): Make sensitive to new format, font-locking, and
5899 multiple todo files.
5900 (todo-insert-item, todo-insert-item-here): Derive from
5901 todo-basic-insert-item and extend functionality.
5902 (todo-item-end, todo-item-start): Make sensitive to done items.
5903 (todo-item-string): Don't return text properties. Restore point.
5904 (todo-jump-to-category): Make sensitive to multiple todo files and
5905 todo archives. Use extended category completion.
5906 (todo-lower-item, todo-raise-item): Rename to *-priority and
5907 derive from todo-set-item-priority.
5908 (todo-mode): Derive from special-mode. Make sensitive to new
5909 format, font-locking and multiple todo files. Make read-only.
5910 (todo-mode-map): Don't suppress digit keys, so they can supply
5911 prefix arguments. Add many new key bindings.
5912 (todo-prefix): Insert as an overlay instead of file text.
5913 Change semantics from diary date expression to purely visual mark.
5914 (todo-print): Rename to todo-print-buffer. Make buffer display
5915 features printable. Remove option to restrict number of items
5916 printed. Add option to print to file.
5917 (todo-print-function): Rename to todo-print-buffer-function.
5918 (todo-quit): Extend to handle exiting new todo modes.
5919 (todo-remove-item): Make sensitive to overlays.
5920 (todo-save): Extend to buffers of filtered items.
5921 (todo-show): Make sensitive to done items, multiple todo files and
5922 new todo modes. Offer to convert legacy todo file before creating
5923 first new todo file.
5924 (todo-show-priorities): Rename to todo-top-priorities.
5925 Change semantics of value 0.
5926 (todo-top-priorities): Rename to todo-filter-top-priorities,
5927 derive from todo-filter-items and extend functionality.
5928 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5929 and extend functionality to other types of filtered items.
5930 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5931 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5932 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5933 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5934 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5935 (todo-edit-mode-hook, todo-entry-prefix-function)
5936 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5937 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5938 (todo-initials, todo-insert-threshold, todo-item-string-start)
5939 (todo-line-string, todo-menu, todo-mode-hook)
5940 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5941 (todo-print-priorities, todo-remove-separator)
5942 (todo-save-top-priorities-too, todo-string-count-lines)
5943 (todo-string-multiline-p, todo-time-string-format)
5944 (todo-tmp-buffer-name): Remove.
5945 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5946 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5947 (todo-edit-category-diary-inclusion)
5948 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5949 (todo-edit-file, todo-edit-item-date-day)
5950 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5951 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5952 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5953 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5954 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5955 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5956 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5957 (todo-filter-top-priorities-multifile, todo-find-archive)
5958 (todo-find-filtered-items-file, todo-go-to-source-item)
5959 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5960 (todo-jump-to-archive-category, todo-lower-category)
5961 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5962 (todo-move-category, todo-move-item, todo-next-button)
5963 (todo-next-item, todo-padded-string, todo-powerset)
5964 (todo-previous-button, todo-previous-item)
5965 (todo-print-buffer-to-file, todo-raise-category)
5966 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5967 (todo-set-category-number, todo-set-item-priority)
5968 (todo-set-top-priorities-in-category)
5969 (todo-set-top-priorities-in-file, todo-show-categories-table)
5970 (todo-sort-categories-alphabetically-or-numerically)
5971 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5972 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5973 (todo-toggle-item-header, todo-toggle-item-highlighting)
5974 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5975 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5976 (todo-unarchive-items, todo-unmark-category): New commands.
5977 (todo-absolute-file-name, todo-add-to-buffer-list)
5978 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5979 (todo-basic-insert-item, todo-category-completions)
5980 (todo-category-number, todo-category-string-matcher-1)
5981 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5982 (todo-check-format, todo-clear-matches)
5983 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5984 (todo-current-category, todo-date-string-matcher)
5985 (todo-define-insertion-command, todo-diary-expired-matcher)
5986 (todo-diary-goto-entry, todo-diary-item-p)
5987 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5988 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5989 (todo-done-item-section-p, todo-done-separator)
5990 (todo-done-string-matcher, todo-files, todo-filter-items)
5991 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5992 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5993 (todo-insert-category-line, todo-insert-item-from-calendar)
5994 (todo-insert-sort-button, todo-insert-with-overlays)
5995 (todo-insertion-command-name, todo-insertion-key-bindings)
5996 (todo-label-to-key, todo-longest-category-name-length)
5997 (todo-make-categories-list, todo-mode-external-set)
5998 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5999 (todo-modes-set-3, todo-multiple-filter-files)
6000 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6001 (todo-read-category, todo-read-date, todo-read-dayname)
6002 (todo-read-file-name, todo-read-time)
6003 (todo-reevaluate-category-completions-files-defcustom)
6004 (todo-reevaluate-default-file-defcustom)
6005 (todo-reevaluate-filelist-defcustoms)
6006 (todo-reevaluate-filter-files-defcustom)
6007 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6008 (todo-reset-done-separator, todo-reset-done-separator-string)
6009 (todo-reset-done-string, todo-reset-global-current-todo-file)
6010 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6011 (todo-reset-prefix, todo-set-categories)
6012 (todo-set-date-from-calendar, todo-set-show-current-file)
6013 (todo-set-top-priorities, todo-short-file-name)
6014 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6015 (todo-total-item-counts, todo-update-buffer-list)
6016 (todo-update-categories-display, todo-update-categories-sexp)
6017 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6018 New functions.
6019 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6020 New major modes.
6021 (todo-categories, todo-display, todo-edit, todo-faces)
6022 (todo-filtered): New defgroups.
6023 (todo-archived-only, todo-button, todo-category-string, todo-date)
6024 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6025 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6026 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6027 (todo-add-item-if-new-category, todo-always-add-time-string)
6028 (todo-categories-align, todo-categories-archived-label)
6029 (todo-categories-category-label, todo-categories-diary-label)
6030 (todo-categories-done-label, todo-categories-number-separator)
6031 (todo-categories-todo-label, todo-categories-totals-label)
6032 (todo-category-completions-files, todo-completion-ignore-case)
6033 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6034 (todo-done-separator-string, todo-done-string)
6035 (todo-files-function, todo-filter-done-items, todo-filter-files)
6036 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6037 (todo-initial-category, todo-initial-file, todo-item-mark)
6038 (todo-legacy-date-time-regexp, todo-mode-line-function)
6039 (todo-nondiary-marker, todo-number-prefix)
6040 (todo-print-buffer-function, todo-show-current-file)
6041 (todo-show-done-only, todo-show-first, todo-show-with-done)
6042 (todo-skip-archived-categories, todo-top-priorities-overrides)
6043 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6044 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6045 New defcustoms.
6046 (todo-category-done, todo-date-pattern, todo-date-string-start)
6047 (todo-diary-items-buffer, todo-done-string-start)
6048 (todo-filtered-items-buffer, todo-item-start)
6049 (todo-month-abbrev-array, todo-month-name-array)
6050 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6051 (todo-top-priorities-buffer): New defconsts.
6052 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6053 (todo-categories-with-marks, todo-category-string-face)
6054 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6055 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6056 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6057 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6058 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6059 (todo-font-lock-keywords, todo-global-current-todo-file)
6060 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6061 (todo-insertion-commands-args)
6062 (todo-insertion-commands-args-genlist)
6063 (todo-insertion-commands-names, todo-insertion-map)
6064 (todo-key-bindings-t, todo-key-bindings-t+a)
6065 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6066 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6067 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6068 (todo-visited): New variables.
6069
60702013-06-21 Glenn Morris <rgm@gnu.org>
6071
6072 * play/cookie1.el (cookie-apropos): Add optional display argument.
6073 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6074 (psychoanalyze-pinhead): Use cookie-doctor.
6075
60762013-06-21 Juanma Barranquero <lekktu@gmail.com>
6077
6078 * emacs-lisp/package.el (tar-get-file-descriptor)
6079 (tar--extract): Declare.
6080
60812013-06-21 Eduard Wiebe <usenet@pusto.de>
6082
6083 Extend flymake's warning predicate to be a function (bug#14217).
6084 * progmodes/flymake.el (flymake-warning-predicate): New.
6085 (flymake-parse-line): Use it.
6086 (flymake-warning-re): Make obsolete alias to
6087 `flymake-warning-predicate'.
6088
60892013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6092 (package-obsolete-list): Remove.
6093 (package-activate): Remove min-version argument. Add `force' argument.
6094 Adjust to new package-alist format.
6095 (package-mark-obsolete): Remove.
6096 (package-unpack): Force reload of the package's autoloads.
6097 (package-installed-p): Check builtins if the installed package is not
6098 recent enough.
6099 (package-initialize): Don't reset package-obsolete-list.
6100 Don't specify which package version to activate.
6101 (package-process-define-package, describe-package-1)
6102 (package-menu--generate): Adjust to new package-alist format.
6103
61042013-06-21 Juanma Barranquero <lekktu@gmail.com>
6105
6106 * allout-widgets.el (allout-widgets-mode-off)
6107 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6108 (allout-widgets-post-command-business)
6109 (allout-widgets-after-copy-or-kill-function)
6110 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6111 (allout-decorate-item-and-context)
6112 (allout-graphics-modification-handler): Fix typos in docstrings.
6113 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6114
6115 * cmuscheme.el (scheme-start-file): Doc fix.
6116 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6117 (scheme-input-filter): Use `string-match-p'.
6118
6119 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6120
6121 * dired-x.el: Use Dired consistently in docstrings.
6122
6123 * dired.el: Use Dired consistently in docstrings.
6124 (dired-readin, dired-mode): Use `setq-local'.
6125 (dired-switches-alist): Make defvar-local.
6126 (dired-buffers-for-dir): Use `zerop'.
6127 (dired-safe-switches-p, dired-switches-escape-p)
6128 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6129 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6130 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6131 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6132 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6133 (dired-toggle-marks, dired-mark-files-containing-regexp)
6134 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6135 (dired-flag-auto-save-files, dired-flag-backup-files):
6136 Use `looking-at-p'.
6137 (dired-mark-files-regexp, dired-build-subdir-alist):
6138 Use `string-match-p', `looking-at-p'.
6139
6140 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6141 (direct-print-region-helper): Use `string-match-p'.
6142
61432013-06-21 Leo Liu <sdl.web@gmail.com>
6144
6145 * comint.el (comint-redirect-results-list-from-process):
6146 Fix infinite loop.
6147
61482013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6149
6150 * net/eww.el (eww-update-header-line-format): Quote % characters.
6151
61522013-06-21 Glenn Morris <rgm@gnu.org>
6153
6154 * play/cookie1.el (cookie): New custom group.
6155 (cookie-file): New option.
6156 (cookie-check-file): New function.
6157 (cookie): Make it interactive. Make start and end messages optional.
6158 Interactively, display the result. Default to cookie-file.
6159 (cookie-insert): Default to cookie-file.
6160 (cookie-snarf): Make start and end messages optional.
6161 Default to cookie-file. Use with-temp-buffer.
6162 (cookie-read): Rename from read-cookie.
6163 Make start and end messages optional. Default to cookie-file.
6164 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6165 Do not autoload it.
6166 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6167 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6168
61692013-06-21 Leo Liu <sdl.web@gmail.com>
6170
6171 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6172
61732013-06-21 Glenn Morris <rgm@gnu.org>
6174
6175 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6176
61772013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6178 Daniel Hackney <dan@haxney.org>
6179
6180 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6181 Consolidate the single-file vs tarball code.
6182 (package-desc-suffix): New function.
6183 (package-desc-full-name): Don't bother inlining it.
6184 (package-load-descriptor): Return the new package-desc.
6185 (package-mark-obsolete): Remove unused arg `package'.
6186 (package-unpack): Make it work for single files as well.
6187 Make it update package-alist.
6188 (package--make-autoloads-and-stuff): Rename from
6189 package--make-autoloads-and-compile. Don't compile any more.
6190 (package--compile): New function.
6191 (package-generate-description-file): New function, extracted from
6192 package-unpack-single.
6193 (package-unpack-single): Remove.
6194 (package--with-work-buffer): Add indentation and debugging info.
6195 (package-download-single): Remove.
6196 (package-install-from-archive): Rename from package-download-tar, make
6197 it take a pkg-desc, and make it work for single files as well.
6198 (package-download-transaction): Simplify.
6199 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6200 external tar program.
6201 (package-install-from-buffer): Remove `pkg-desc' argument.
6202 Use package-tar-file-info for tar-mode buffers.
6203 (package-install-file): Simplify accordingly.
6204 (package-archive-base): Change to take a pkg-desc.
6205 * tar-mode.el (tar--check-descriptor): New function, extracted from
6206 tar-get-descriptor.
6207 (tar-get-descriptor): Use it.
6208 (tar-get-file-descriptor): New function.
6209 (tar--extract): New function, extracted from tar-extract.
6210 (tar--extract): Use it.
6211 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6212 case the summary uses non-ascii. Adjust to new calling convention of
6213 package-tar-file-info.
6214
62152013-06-21 Leo Liu <sdl.web@gmail.com>
6216
6217 * comint.el (comint-redirect-results-list-from-process):
6218 Fix random delay. (Bug#14681)
6219
62202013-06-21 Juanma Barranquero <lekktu@gmail.com>
6221
6222 * profiler.el (profiler-format-number): Use log, not log10.
6223
62242013-06-20 Juanma Barranquero <lekktu@gmail.com>
6225
6226 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6227
62282013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6231 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6232 yet available.
6233 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6234 (AUTOGENEL): ... here.
6235 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6236 (cl--defsubst-expand): Use it.
6237
62382013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6239
6240 * subr.el (log10): Move here from C code, and declare as obsolete.
6241 All uses of (log10 X) replaced with (log X 10).
6242
62432013-06-20 Juanma Barranquero <lekktu@gmail.com>
6244
6245 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6246 Declare with `defvar-local'.
6247 (tabulated-list-use-header-line, tabulated-list-entries)
6248 (tabulated-list-padding, tabulated-list-printer)
6249 (tabulated-list-sort-key): Declare with `defvar-local'.
6250 (tabulated-list-init-header, tabulated-list-print-fake-header):
6251 Use `setq-local'.
6252
62532013-06-20 Michael Albinus <michael.albinus@gmx.de>
6254
6255 * arc-mode.el (archive-mode): Add `archive-write-file' to
6256 `write-contents-functions' also for remote files. (Bug#14652)
6257
62582013-06-20 Juanma Barranquero <lekktu@gmail.com>
6259
6260 * cus-edit.el (custom-commands): Fix typos.
6261 (custom-display): Fix tooltip text.
6262 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6263 Fix typos in docstrings.
6264 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6265 (custom-unlispify-menu-entry, custom-magic-value-create)
6266 (custom-add-see-also, custom-group-value-create): Use ?\s.
6267 (custom-guess-type, customize-apropos, editable-field)
6268 (custom-face-value-create): Use `string-match-p'.
6269 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6270
6271 * custom.el (custom-load-symbol): Use `string-match-p'.
6272
6273 * ansi-color.el: Convert to lexical binding.
6274 (ansi-colors): Fix URL.
6275 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6276 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6277 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6278
62792013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6280
6281 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6282
6283 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6284
62852013-06-19 Tom Tromey <tromey@redhat.com>
6286
6287 * net/eww.el (eww-top-url): Remove.
6288 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6289 (eww-render): Set new variables. Don't set eww-top-url.
6290 (eww-handle-link): Handle "prev", "home", and "contents".
6291 Downcase the rel text.
6292 (eww-top-url): Choose best top URL.
6293
62942013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6295
6296 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6297 relying in widget.el. Using widget.el leads to too many
6298 user interface inconsistencies.
6299 (eww-self-insert): Implement entering commands in text fields.
6300 (eww-process-text-input): New function to make text input field editing
6301 work.
6302 (eww-submit): Rewrite to use the new-style form methods.
6303 (eww-select-display): Display the correct selected item.
6304 (eww-change-select): Implement changing the select value.
6305 (eww-toggle-checkbox): Implement radio/checkboxes.
6306 (eww-update-field): Fix compilation error.
6307 (eww-tag-textarea): Implement <textarea>.
6308
6309 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6310 we don't shadow mode-specific bindings.
6311
6312 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6313 nothing to push.
6314
6315 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6316
63172013-06-19 Glenn Morris <rgm@gnu.org>
6318
6319 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6320
63212013-06-19 Michael Albinus <michael.albinus@gmx.de>
6322
6323 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6324 not needed.
6325
6326 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6327
63282013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6329
6330 * net/browse-url.el (browse-url-browser-function):
6331 `eww-browse-url' has the right calling signature, `eww' does not.
6332
63332013-06-19 Glenn Morris <rgm@gnu.org>
6334
6335 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6336 Only eval autoloaded macros.
6337 (byte-compile-autoload): Only give the macro warning for macros.
6338
6339 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6340 (ps-underlined-faces): Declare.
6341
6342 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6343 (speedbar-add-supported-extension): Declare.
6344
6345 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6346 Don't include a date stamp in the header of the generated file;
6347 it leads to needless differences between output files.
6348
63492013-06-19 Michael Albinus <michael.albinus@gmx.de>
6350
6351 * net/secrets.el (secrets-struct-secret-content-type):
6352 Replace check of introspection data by a test call of "CreateItem".
6353 Some servers do not offer introspection.
6354
63552013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * electric.el (electric-pair-mode): Improve interaction with
6358 electric-layout-mode.
6359 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6360 (electric-pair-syntax): Use text-mode-syntax-table in comments
6361 and strings.
6362 (electric-pair--insert): New function.
6363 (electric-pair-post-self-insert-function): Use it and
6364 electric--after-char-pos.
6365
63662013-06-19 Leo Liu <sdl.web@gmail.com>
6367
6368 * progmodes/octave.el (octave-help): Fix regexp.
6369
63702013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6371
6372 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6373 (shr-table-horizontal-line): Allow nil as a value, and change the
6374 default.
6375 (shr-insert-table-ruler): Respect the nil value.
6376
63772013-06-18 Tom Tromey <tromey@barimba>
6378
6379 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6380 New defvars.
6381 (eww-open-file): New defun.
6382 (eww-render): Initialize new variables.
6383 (eww-display-html): Handle "link" and "a".
6384 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6385 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6386 (eww-back-url): Rename from eww-previous-url.
6387 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6388 New defuns.
6389
63902013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6391
6392 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6393 Distinguish ternary operator tokens from slash symbol and slash
6394 char literal.
6395
63962013-06-18 Juanma Barranquero <lekktu@gmail.com>
6397
6398 Convert symbol prettification into minor mode and global minor mode.
6399
6400 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6401 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6402 (prettify-symbols--keywords): Rename from
6403 `prog-prettify-symbols-alist' and make a local defvar.
6404 (prettify-symbols--compose-symbol): Rename from
6405 `prog--prettify-font-lock-compose-symbol'.
6406 (prettify-symbols--make-keywords): Rename from
6407 `prog-prettify-font-lock-symbols-keywords' and simplify.
6408 (prog-prettify-install): Remove.
6409 (prettify-symbols-mode): New minor mode, based on
6410 `prog-prettify-install'.
6411 (turn-on-prettify-symbols-mode): New function.
6412 (global-prettify-symbols-mode): New globalized minor mode.
6413
6414 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6415 * progmodes/cfengine.el (cfengine3-mode):
6416 * progmodes/perl-mode.el (perl-mode): Don't call
6417 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6418
64192013-06-18 Juri Linkov <juri@jurta.org>
6420
6421 * files-x.el (modify-file-local-variable-message): New function.
6422 (modify-file-local-variable)
6423 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6424 and call `modify-file-local-variable-message' when it's non-nil.
6425 (add-file-local-variable, delete-file-local-variable)
6426 (add-file-local-variable-prop-line)
6427 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6428 and use it. (Bug#9820)
6429
64302013-06-18 Juri Linkov <juri@jurta.org>
6431
6432 * emulation/vi.el (vi-shell-op):
6433 * emulation/vip.el (vip-execute-com, ex-command):
6434 * emulation/viper-cmd.el (viper-exec-bang):
6435 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6436 the call of `shell-command-on-region'. (Bug#14637)
6437
6438 * simple.el (shell-command-on-region): Doc fix.
6439
64402013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6441
6442 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6443 (bug#14633).
6444
64452013-06-18 Glenn Morris <rgm@gnu.org>
6446
6447 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6448
6449 * newcomment.el (comment-search-forward, comment-search-backward):
6450 Doc fix. (Bug#14376)
6451
64522013-06-18 Juanma Barranquero <lekktu@gmail.com>
6453
6454 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6455 (buffer-face-mode-invoke): Doc fix.
6456
64572013-06-18 Matthias Meulien <orontee@gmail.com>
6458
6459 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6460 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6461
64622013-06-18 Glenn Morris <rgm@gnu.org>
6463
6464 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6465 Replace obsolete function generic-make-keywords with its expansion.
6466
6467 * progmodes/python.el (ffap-alist): Declare.
6468
6469 * textmodes/reftex.el (bibtex-mode-map): Declare.
6470
64712013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6474 (package-unpack, package-unpack-single): Return the pkg-dir.
6475 (package-download-transaction): Use it to update package-alist.
6476
64772013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6478
6479 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6480 possible choice.
6481
64822013-06-17 Juri Linkov <juri@jurta.org>
6483
6484 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6485
64862013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6487
6488 * emacs-lisp/package.el (package-load-descriptor):
6489 Remove `with-syntax-table' call, `read' doesn't need it.
6490 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6491
64922013-06-17 Juanma Barranquero <lekktu@gmail.com>
6493
6494 * startup.el (command-line): Expand package name returned by
6495 `package--description-file' (bug#14639).
6496
64972013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6498
6499 * emacs-lisp/package.el (package-load-descriptor): Do not call
6500 `emacs-lisp-mode', just use its syntax table.
6501
65022013-06-17 Juanma Barranquero <lekktu@gmail.com>
6503
6504 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6505 `font-lock-extra-managed-props' if any prettifying keyword is added.
6506 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6507 (prog-mode): Use `setq-local'.
6508
65092013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * international/characters.el (standard-case-table): Set syntax of ?»
6512 and ?« to punctuation.
6513
65142013-06-16 Juanma Barranquero <lekktu@gmail.com>
6515
6516 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6517 Save relevant match data before calling `syntax-ppss' (bug#14595).
6518
65192013-06-15 Juri Linkov <juri@jurta.org>
6520
6521 * files-x.el (modify-file-local-variable-prop-line): Add local
6522 variables to the end of the existing comment on the first line.
6523 Use `file-auto-mode-skip' to skip interpreter magic line,
6524 and also skip XML declaration.
6525
65262013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6527
6528 * startup.el (package--builtin-versions): New var.
6529 (package-subdirectory-regexp): Remove.
6530 (package--description-file): Hard code its value instead.
6531
6532 * emacs-lisp/package.el: Don't activate packages older than builtin.
6533 (package-obsolete-list): Rename from package-obsolete-alist, and make
6534 it into a simple list of package-desc.
6535 (package-strip-version): Remove.
6536 (package-built-in-p): Use package--builtin-versions.
6537 (package-mark-obsolete): Simplify.
6538 (package-process-define-package): Mark it obsolete if older than the
6539 builtin version.
6540 (package-handle-response): Use line-end-position.
6541 (package-read-archive-contents, package--download-one-archive):
6542 Simplify.
6543 (package--add-to-archive-contents): Skip if older than the builtin or
6544 installed version.
6545 (package-menu-describe-package): Fix last change.
6546 (package-list-unversioned): New var.
6547 (package-menu--generate): Use it.
6548
6549 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6550 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6551 (autoload-builtin-package-versions): New variable.
6552 (autoload-generate-file-autoloads): Use them.
6553 Remove the list of autoloaded functions/macros from the
6554 (autoload...) comments.
6555
6556 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6557
65582013-06-15 Eli Zaretskii <eliz@gnu.org>
6559
6560 * simple.el (line-move-partial): Don't jump to the next screen
6561 line as soon as it becomes visible. Instead, continue enlarging
6562 the vscroll until the portion of a tall screen line that's left on
6563 display is about the height of the frame's default font.
6564 (Bug#14567)
6565
65662013-06-15 Glenn Morris <rgm@gnu.org>
6567
6568 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6569 compilation-error-regexp-alist void, or local while let-bound.
6570
6571 * progmodes/make-mode.el (makefile-mode-syntax-table):
6572 Treat "=" as punctuation. (Bug#14614)
6573
65742013-06-15 Juanma Barranquero <lekktu@gmail.com>
6575
6576 * help-fns.el (describe-variable):
6577 Add extra line for permanent-local variables.
6578
65792013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6580
6581 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6582 Add export, import, library. (Bug#9164)
6583 (library): Set indent function.
6584
65852013-06-14 Glenn Morris <rgm@gnu.org>
6586
6587 * term/xterm.el (xterm--query):
6588 Stop after first matching handler. (Bug#14615)
6589
65902013-06-14 Ivan Kanis <ivan@kanis.fr>
6591
6592 Add support for dired in saveplace.
6593 * dired.el (dired-initial-position-hook): New variable.
6594 (dired-initial-position): Call hook to place cursor position.
6595 * saveplace.el (save-place-to-alist): Add dired position.
6596 (save-place-dired-hook): New function.
6597
65982013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6601 through a symbol rather than letrec.
6602
6603 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6604 (package-desc): Add `dir' field.
6605 (package-desc-full-name): New function.
6606 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6607 (package-maybe-load-descriptor): Remove.
6608 (package-load-all-descriptors): Just call package-load-descriptor.
6609 (package--disabled-p): New function.
6610 (package-desc-vers, package-desc-doc): Remove aliases.
6611 (package--dir): Remove function.
6612 (package-activate): Check if a package is disabled.
6613 (package-process-define-package): New function, extracted from
6614 define-package.
6615 (define-package): Turn into a place holder.
6616 (package-unpack-single, package-tar-file-info):
6617 Use package--description-file.
6618 (package-compute-transaction): Use package--disabled-p.
6619 (package-download-transaction): Don't call
6620 package-maybe-load-descriptor since they're all loaded anyway.
6621 (package-install): Change argument to be a pkg-desc.
6622 (package-delete): Use a single pkg-desc argument.
6623 (describe-package-1): Use package-desc-dir instead of package--dir.
6624 Use package-desc property instead of package-symbol.
6625 (package-install-button-action): Adjust accordingly.
6626 (package--push): Rewrite.
6627 (package-menu--print-info): Adjust accordingly. Change the ID format
6628 to be a pkg-desc.
6629 (package-menu-describe-package, package-menu-get-status)
6630 (package-menu--find-upgrades, package-menu-mark-upgrades)
6631 (package-menu-execute, package-menu--name-predicate):
6632 Adjust accordingly.
6633 * startup.el (package--description-file): New function.
6634 (command-line): Use it.
6635 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6636 Use package-desc-version.
6637
6638 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6639 (byte-compile-preprocess): Use it.
6640 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6641 can't quite recognize.
6642 (byte-compile-add-to-list): Remove.
6643 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6644 (cconv-closure-convert): Add assertion.
6645
6646 * emacs-lisp/map-ynp.el: Use lexical-binding.
6647 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6648 Factor out some repeated code.
6649
66502013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * subr.el (with-eval-after-load): New macro.
6653 (eval-after-load): Allow form to be a function.
6654 take advantage of lexical-binding.
6655 (do-after-load-evaluation): Use dolist and adjust to new format.
6656 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6657
66582013-06-13 Juri Linkov <juri@jurta.org>
6659
6660 * replace.el (perform-replace): Display "symbol " and other search
6661 modes from `isearch-message-prefix' in the *Help* buffer.
6662
6663 * isearch.el (isearch-query-replace): Add " symbol" and other
6664 possible search modes from `isearch-message-prefix' to the prompt.
6665 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6666 when reading a regexp to collect.
6667
66682013-06-13 Juri Linkov <juri@jurta.org>
6669
6670 * isearch.el (word-search-regexp): Match whitespace if the search
6671 string begins or ends in whitespace. The LAX arg is applied to
6672 both ends of the search string. Use `regexp-quote' and explicit
6673 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6674 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6675 boundaries are replaced with symbol boundaries, and characters
6676 between symbols match non-word non-symbol syntax. (Bug#14602)
6677
66782013-06-13 Juri Linkov <juri@jurta.org>
6679
6680 * isearch.el (isearch-del-char): Don't exceed the length of
6681 `isearch-string' by the prefix arg. (Bug#14563)
6682
66832013-06-13 Juri Linkov <juri@jurta.org>
6684
6685 * isearch.el (isearch-yank-word, isearch-yank-line)
6686 (isearch-char-by-name, isearch-quote-char)
6687 (isearch-printing-char, isearch-process-search-char):
6688 Add optional count prefix arg. (Bug#14563)
6689
6690 * international/isearch-x.el
6691 (isearch-process-search-multibyte-characters):
6692 Add optional count prefix arg.
6693
66942013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6697 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6698 lexical-binding.
6699
67002013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6701
6702 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6703
67042013-06-13 Glenn Morris <rgm@gnu.org>
6705
6706 * startup.el (tty-handle-args):
6707 Don't just discard "--" and anything after. (Bug#14608)
6708
6709 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6710
67112013-06-13 Michael Albinus <michael.albinus@gmx.de>
6712
6713 Implement changes in Secret Service API. Make it backward compatible.
6714 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6715 (secrets-create-item): Use it. Prefix properties with interface.
6716
67172013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6718
6719 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6720 (term-emulate-terminal): Respect term-suppress-hard-newline.
6721
67222013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6723
6724 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6725 Only remove a `thumb-file' overlay. (Bug#14548)
6726
67272013-06-12 Grégoire Jadi <daimrod@gmail.com>
6728
6729 * mail/reporter.el (reporter-submit-bug-report):
6730 Handle missing package-name. (Bug#14600)
6731
67322013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6733
6734 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6735 (reftex-citation-prompt, reftex-default-bibliography)
6736 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6737 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6738 (reftex-bib-sort-author, reftex-bib-sort-year)
6739 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6740 (reftex-extract-bib-entries-from-thebibliography)
6741 (reftex-get-bibkey-default, reftex-get-bib-names)
6742 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6743 (reftex-format-bib-entry, reftex-parse-bibitem)
6744 (reftex-format-bibitem, reftex-do-citation)
6745 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6746 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6747 (reftex-insert-bib-matches, reftex-format-citation)
6748 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6749 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6750 existing comments into docstrings.
6751
67522013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6753
6754 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6755
67562013-06-12 Andreas Schwab <schwab@suse.de>
6757
6758 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6759 for auto-save files.
6760
67612013-06-12 Glenn Morris <rgm@gnu.org>
6762
6763 * ido.el (ido-delete-ignored-files): Remove.
6764 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6765 Go back to calling ido-ignore-item-p directly.
6766
67672013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6768
6769 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6770
6771 * ido.el (ido-delete-ignored-files): New function,
6772 split from ido-make-file-list-1.
6773 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6774 (ido-make-file-list-1): Use ido-delete-ignored-files.
6775
67762013-06-12 Leo Liu <sdl.web@gmail.com>
6777
6778 * progmodes/octave.el (inferior-octave-startup)
6779 (inferior-octave-completion-table)
6780 (inferior-octave-track-window-width-change)
6781 (octave-eldoc-function-signatures, octave-help)
6782 (octave-find-definition): Use single quoted strings.
6783 (inferior-octave-startup-args): Change default value.
6784 (inferior-octave-startup): Do not hard code "-i" and
6785 "--no-line-editing".
6786 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6787 (inferior-octave-directory-tracker): Use it.
6788 (octave-goto-function-definition): Robustify.
6789 (octave-help): Support highlighting operators in 'See also'.
6790 (octave-find-definition): Find subfunctions only in Octave mode.
6791
67922013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * help-fns.el (help-fns--compiler-macro): If the handler function is
6795 named, then put a link to it.
6796 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6797 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6798 (cl-typep): Use it.
6799 (cl-eval-when): Simplify debug spec.
6800 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6801 compiler-macro function instead of setting `compiler-macro-file'.
6802
68032013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6804
6805 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6806 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6807
68082013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6809 Daniel Hackney <dan@haxney.org>
6810
6811 First part of Daniel Hackney's patch to package.el.
6812 * emacs-lisp/package.el: Use defstruct.
6813 (package-desc): New, main struct.
6814 (package--bi-desc, package--ac-desc): New structs, used to describe the
6815 format in external files.
6816 (package-desc-vers): Replace with package-desc-version accessor.
6817 (package-desc-doc): Replace with package-desc-summary accessor.
6818 (package-activate-1): Remove `package' arg since the pkg-vec now
6819 includes the name.
6820 (define-package): Use package-desc-from-define.
6821 (package-unpack-single): Change file-name arg to be a symbol.
6822 (package--add-to-archive-contents): Use package-desc-create and new
6823 accessor functions to package--ac-desc.
6824 (package-buffer-info, package-tar-file-info): Return a package-desc.
6825 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6826 arg to be a package-desc.
6827 (package-install-file): Adjust accordingly. Use \' to match EOS.
6828 (package--from-builtin): New function.
6829 (describe-package-1, package-menu--generate): Use it.
6830 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6831 (package-generate-autoloads): Idem and return the name of the file.
6832 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6833 Change pkg-info arg to be a package-desc.
6834 Use package-make-ac-desc.
6835 (package-upload-file): Use \' to match EOS.
6836 * finder.el (finder-compile-keywords): Use package-make-builtin.
6837
68382013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * vc/vc.el (vc-deduce-fileset): Change error message.
6841 (vc-read-backend): New function.
6842 (vc-next-action): Use it.
6843
6844 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6845
6846 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6847 (prolog-font-lock-keywords): Use regexp-opt instead.
6848 Don't manually highlight strings.
6849 (prolog-mode-variables): Simplify comment-start-skip.
6850 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6851
6852 * emacs-lisp/generic.el (generic--normalise-comments)
6853 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6854 (generic-mode-set-comments): Use them.
6855 (generic-bracket-support): Use setq-local.
6856 (generic-make-keywords-list): Declare obsolete.
6857
68582013-06-11 Glenn Morris <rgm@gnu.org>
6859
6860 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6861 Prettify after setting font-lock-defaults. (Bug#14574)
6862
68632013-06-11 Juanma Barranquero <lekktu@gmail.com>
6864
6865 * replace.el (query-replace, occur-read-regexp-defaults-function)
6866 (replace-search):
6867 * subr.el (declare-function, number-sequence, local-set-key)
6868 (substitute-key-definition, locate-user-emacs-file)
6869 (with-silent-modifications, split-string, eval-after-load):
6870 Fix typos, remove unneeded backslashes and reflow some docstrings.
6871
68722013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6875 default for Elisp files.
6876
68772013-06-11 Glenn Morris <rgm@gnu.org>
6878
6879 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6880 although define-derived-mode was doing this anyway. (Bug#14583)
6881
68822013-06-10 Juanma Barranquero <lekktu@gmail.com>
6883
6884 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6885 Fix make-variable-buffer-local call to refer to the correct variable.
6886
68872013-06-10 Aidan Gauland <aidalgol@amuri.net>
6888
6889 * eshell/em-term.el (eshell-visual-commands)
6890 (eshell-visual-subcommands, eshell-visual-options):
6891 Add summary line to docstrings. Add cross-references.
6892
68932013-06-10 Glenn Morris <rgm@gnu.org>
6894
6895 * epa.el (epa-read-file-name): New function. (Bug#14510)
6896 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6897
68982013-06-09 Aidan Gauland <aidalgol@amuri.net>
6899
6900 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6901 output redirection to be ignored with visual commands.
6902
69032013-06-09 Aidan Gauland <aidalgol@amuri.net>
6904
6905 * eshell/em-term.el (eshell-visual-command-p): New function.
6906 (eshell-term-initialize): Move long lambda to separate function
6907 eshell-visual-command-p.
6908 * eshell/em-dirs.el (eshell-dirs-initialise):
6909 * eshell/em-script.el (eshell-script-initialize):
6910 Add missing #' to lambda.
6911
69122013-06-08 Leo Liu <sdl.web@gmail.com>
6913
6914 * progmodes/octave.el (octave-add-log-current-defun): New function.
6915 (octave-mode): Set add-log-current-defun-function.
6916 (octave-goto-function-definition): Do not move point if not found.
6917 (octave-find-definition): Enhance to try subfunctions first.
6918
69192013-06-08 Glenn Morris <rgm@gnu.org>
6920
6921 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6922 (byte-compile-backward-char, byte-compile-backward-word):
6923 Improve previous change, to handle non-explicit nil.
6924
69252013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6926
6927 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6928 (smie--opener/closer-at-point): New function.
6929 (smie--matching-block-data): Use it. Don't match from right after an
6930 opener or right before a closer. Obey smie-blink-matching-inners.
6931 Don't signal a mismatch for repeated inners like "switch..case..case".
6932
69332013-06-07 Leo Liu <sdl.web@gmail.com>
6934
6935 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6936 to t. (Bug#14303)
6937 (octave-function-header-regexp): Fix. (Bug#14570)
6938 (octave-help-mode-finish-hook, octave-help-mode-finish):
6939 Remove. Just use temp-buffer-show-hook.
6940
6941 * newcomment.el (comment-search-backward): Revert last change.
6942 (Bug#14434)
6943
6944 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6945
69462013-06-07 Eli Zaretskii <eliz@gnu.org>
6947
6948 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6949 through xargs, to avoid failure due to MS-Windows limitations on
6950 command-line length.
6951
69522013-06-06 Glenn Morris <rgm@gnu.org>
6953
6954 * font-lock.el (lisp-font-lock-keywords-2):
6955 Treat user-error like error.
6956
6957 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6958 (byte-compile-backward-char, byte-compile-backward-word):
6959 Handle explicit nil arguments. (Bug#14565)
6960
69612013-06-05 Alan Mackenzie <acm@muc.de>
6962
6963 * isearch.el (isearch-allow-prefix): New user option.
6964 (isearch-other-meta-char): Don't exit isearch when a prefix
6965 argument is typed whilst `isearch-allow-prefix' is non-nil.
6966 (Bug#9706)
6967
69682013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * autorevert.el (auto-revert-notify-handler): Use memq.
6971 Hide assertion failure.
6972
6973 * skeleton.el: Use cl-lib.
6974 (skeleton-further-elements): Use defvar-local.
6975 (skeleton-insert): Use cl-progv.
6976
69772013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6978
6979 * progmodes/prog-mode.el (prog-prettify-symbols)
6980 (prog-prettify-install): Update docstrings.
6981
69822013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * simple.el: Move all the prog-mode code to prog-mode.el.
6985 * progmodes/prog-mode.el: New file.
6986 * loadup.el: Add prog-mode.el.
6987
69882013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6989
6990 * simple.el (prog-prettify-symbols): Add version.
6991 (prog-prettify-install): Add convenience function to prettify symbols.
6992
6993 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6994 (perl--augmented-font-lock-keywords-1)
6995 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6996 variables and use it.
6997
6998 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6999 (cfengine3-mode): Remove unneeded variable and use it.
7000
7001 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7002 (lisp--augmented-font-lock-keywords-1)
7003 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7004 Remove unneeded variables and use it.
7005
70062013-06-05 João Távora <joaotavora@gmail.com>
7007
7008 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7009 to point when opening the connection. (Bug#14380)
7010
70112013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * subr.el (load-history-regexp, load-history-filename-element)
7014 (eval-after-load, after-load-functions, do-after-load-evaluation)
7015 (eval-next-after-load, display-delayed-warnings)
7016 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7017 definition of save-match-data.
7018 (overriding-local-map): Remove accidental obsolescence declaration.
7019
7020 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7021
70222013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7023
7024 Generalize symbol prettify support to prog-mode and implement it
7025 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7026 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7027 (prog--prettify-font-lock-compose-symbol)
7028 (prog-prettify-font-lock-symbols-keywords): New variables and
7029 functions to support symbol prettification.
7030 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7031 (lisp--augmented-font-lock-keywords-1)
7032 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7033 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7034 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7035 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7036 Implement prettify of -> => :: strings.
7037 * progmodes/perl-mode.el (perl-prettify-symbols)
7038 (perl--font-lock-compose-symbol)
7039 (perl--font-lock-symbols-keywords): Move to prog-mode.
7040 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7041 (perl-font-lock-keywords-1)
7042 (perl-font-lock-keywords-2): Remove explicit prettify support.
7043 (perl--augmented-font-lock-keywords)
7044 (perl--augmented-font-lock-keywords-1)
7045 (perl--augmented-font-lock-keywords-2, perl-mode):
7046 Implement prettify support.
7047
70482013-06-05 Leo Liu <sdl.web@gmail.com>
7049
7050 Re-implement smie matching block highlight using
7051 show-paren-data-function. (Bug#14395)
7052 * emacs-lisp/smie.el (smie-matching-block-highlight)
7053 (smie--highlight-matching-block-overlay)
7054 (smie--highlight-matching-block-lastpos)
7055 (smie-highlight-matching-block)
7056 (smie-highlight-matching-block-mode): Remove.
7057 (smie--matching-block-data-cache): New variable.
7058 (smie--matching-block-data): New function.
7059 (smie-setup): Use smie--matching-block-data for
7060 show-paren-data-function.
7061
7062 * progmodes/octave.el (octave-mode-menu): Fix.
7063 (octave-find-definition): Skip garbage lines.
7064
70652013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 Fix compilation error with simultaneous dynamic+lexical scoping.
7068 Add warning when a defvar appears after the first let-binding.
7069 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7070 (byte-compile-close-variables): Initialize it.
7071 (byte-compile--declare-var): New function.
7072 (byte-compile-file-form-defvar)
7073 (byte-compile-file-form-define-abbrev-table)
7074 (byte-compile-file-form-custom-declare-variable): Use it.
7075 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7076 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7077 (byte-compile-bind): Handle dynamic bindings that shadow
7078 lexical bindings.
7079 (byte-compile-unbind): Make arg non-optional.
7080 (byte-compile-let): Simplify.
7081 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7082 (cconv--analyse-function, cconv-analyse-form): Populate it.
7083 Protect byte-compile-bound-variables to limit the scope of defvars.
7084 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7085 Remove unneeded rule for `declare'.
7086
7087 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7088 so as to avoid depending on cl-adjoin at run-time.
7089 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7090
7091 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7092 (macroexp--warn-and-return): Use it.
7093
70942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7095
7096 * lisp/subr.el: Convert to lexical binding.
7097 (overriding-local-map): Make obsolete.
7098 (add-to-list): Doc fix. Add compiler macro.
7099 (read-key): Swap values of local maps.
7100
71012013-06-05 Leo Liu <sdl.web@gmail.com>
7102
7103 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7104
71052013-06-04 Leo Liu <sdl.web@gmail.com>
7106
7107 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7108 (compilation-auto-jump): Suppress the "Mark set" message to give
7109 way to exit message.
7110
71112013-06-04 Alan Mackenzie <acm@muc.de>
7112
7113 Remove faulty optimisation from indentation calculation.
7114 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7115 search limit based on 2000 characters back from indent-point.
7116
71172013-06-03 Tassilo Horn <tsdh@gnu.org>
7118
7119 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7120
71212013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * emacs-lisp/lisp.el: Use lexical-binding.
7124 (lisp--local-variables-1, lisp--local-variables): New functions.
7125 (lisp--local-variables-completion-table): New var.
7126 (lisp-completion-at-point): Use it complete let-bound vars.
7127
7128 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7129 eagerly (bug#14422).
7130
71312013-06-03 Michael Albinus <michael.albinus@gmx.de>
7132
7133 * autorevert.el (auto-revert-notify-enabled)
7134 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7135 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7136 (auto-revert-notify-handler): Handle also gfilenotify.
7137
7138 * subr.el (file-notify-handle-event): New defun. Replacing ...
7139 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7140 Remove.
7141
71422013-06-03 Juri Linkov <juri@jurta.org>
7143
7144 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7145 `M-s h .'. (Bug#14427)
7146
7147 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7148 command `hi-lock-face-symbol-at-point'.
7149 (hi-lock-face-symbol-at-point): New command.
7150 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7151 (hi-lock-menu): Add `highlight-symbol-at-point'.
7152 (hi-lock-mode): Doc fix.
7153
7154 * isearch.el (isearch-forward-symbol-at-point): New command.
7155 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7156 (isearch-highlight-regexp): Add a regexp which matches
7157 words/symbols for word/symbol mode.
7158
7159 * subr.el (find-tag-default-bounds): New function with the body
7160 mostly moved from `find-tag-default'.
7161 (find-tag-default): Move most code to `find-tag-default-bounds',
7162 call it and apply `buffer-substring-no-properties' afterwards.
7163
71642013-06-03 Tassilo Horn <tsdh@gnu.org>
7165
7166 * eshell/em-term.el (eshell-term-initialize):
7167 Use `cl-intersection' rather than `intersection'.
7168
71692013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7170
7171 * vc/log-view.el: Doc fix.
7172 (log-view-mode-map): Copy keymap from `special-mode-map'.
7173
71742013-06-02 Eric Ludlam <zappo@gnu.org>
7175
7176 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7177 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7178 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7179 (eieio-unbound, eieio-default-superclass)
7180 (eieio--define-field-accessors, method-static, method-before)
7181 (method-primary, method-after, method-num-lists)
7182 (method-generic-before, method-generic-primary)
7183 (method-generic-after, method-num-slots)
7184 (eieio-specialized-key-to-generic-key)
7185 (eieio--check-type, class-v, class-p)
7186 (eieio-class-name, define-obsolete-function-alias)
7187 (eieio-class-parents-fast, eieio-class-children-fast)
7188 (same-class-fast-p, class-constructor, generic-p)
7189 (generic-primary-only-p, generic-primary-only-one-p)
7190 (class-option-assoc, class-option, eieio-object-p)
7191 (class-abstract-p, class-method-invocation-order)
7192 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7193 (eieio-class-un-autoload, eieio-defclass)
7194 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7195 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7196 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7197 (eieio-defgeneric-reset-generic-form)
7198 (eieio-defgeneric-form-primary-only)
7199 (eieio-defgeneric-reset-generic-form-primary-only)
7200 (eieio-defgeneric-form-primary-only-one)
7201 (eieio-defgeneric-reset-generic-form-primary-only-one)
7202 (eieio-unbind-method-implementations)
7203 (eieio--defmethod, eieio--typep)
7204 (eieio-perform-slot-validation, eieio-validate-slot-value)
7205 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7206 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7207 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7208 (eieio-slot-name-index, eieio-class-slot-name-index)
7209 (eieio-set-defaults, eieio-initarg-to-attribute)
7210 (eieio-attribute-to-initarg, eieio-c3-candidate)
7211 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7212 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7213 (eieio-class-precedence-list, eieio-generic-call-methodname)
7214 (eieio-generic-call-arglst, eieio-generic-call-key)
7215 (eieio-generic-call-next-method-list)
7216 (eieio-pre-method-execution-functions, eieio-generic-call)
7217 (eieio-generic-call-primary-only, eieiomt-method-list)
7218 (eieiomt-optimizing-obarray, eieiomt-install)
7219 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7220 (eieio-generic-form, eieio-defmethod, make-obsolete)
7221 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7222 (defclass): Remove `eval-and-compile' from macro.
7223 (call-next-method, shared-initialize): Instead of using
7224 `scoped-class' variable, use new eieio--scoped-class, and
7225 eieio--with-scoped-class.
7226 (initialize-instance): Rename local variable 'scoped-class' to
7227 'this-class' to remove ambiguitity from old global.
7228
7229 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7230 eieio.el.
7231 (eieio--scoped-class-stack): New variable.
7232 (eieio--scoped-class): New fcn.
7233 (eieio--with-scoped-class): New scoping macro.
7234 (eieio-defclass): Use pushnew instead of add-to-list.
7235 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7236 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7237 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7238 `scoped-class' variable, use new eieio--scoped-class, and
7239 eieio--with-scoped-class.
7240
7241 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7242
72432013-06-02 Tassilo Horn <tsdh@gnu.org>
7244
7245 * eshell/esh-ext.el (eshell-external-command): Pass args to
7246 `eshell-find-interpreter'.
7247 (eshell-find-interpreter): Add new second parameter ARGS.
7248
7249 * eshell/em-script.el (eshell-script-initialize): Add second arg
7250 to the function added as MATCH to `eshell-interpreter-alist'.
7251
7252 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7253 the function added as MATCH to `eshell-interpreter-alist'.
7254
7255 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7256 (eshell-visual-options): New defcustom.
7257 (eshell-escape-control-x): Adapt docstring.
7258 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7259 `eshell-visual-options' in addition to `eshell-visual-commands'.
7260 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7261
72622013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7263
7264 * progmodes/python.el (python-indent-block-enders): Add break,
7265 continue and raise keywords.
7266
72672013-06-01 Glenn Morris <rgm@gnu.org>
7268
7269 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7270
7271 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7272 * progmodes/cc-cmds.el (delete-forward-p):
7273 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7274 * progmodes/cc-engine.el (buffer-syntactic-context):
7275 * progmodes/cc-fonts.el (face-property-instance):
7276 * progmodes/cc-mode.el (set-keymap-parents):
7277 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7278 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7279 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7280 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7281 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7282
7283 * progmodes/cc-vars.el (other): Emacs has this widget since
7284 at least 21.1, so don't (re)define it.
7285
7286 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7287 Replace the obsolete alias pcomplete-arg-quote-list.
7288
72892013-06-01 Leo Liu <sdl.web@gmail.com>
7290
7291 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7292 punctuation syntax.
7293 (inferior-octave-minimal-columns)
7294 (inferior-octave-last-column-width): New variables.
7295 (inferior-octave-track-window-width-change): New function.
7296 (inferior-octave-mode): Adjust column width so that Octave output,
7297 for example from 'ls', can fit into the window nicely.
7298
72992013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7300
7301 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7302 Highlight expansions inside regexp literals.
7303
73042013-05-31 Glenn Morris <rgm@gnu.org>
7305
7306 * obsolete/sym-comp.el (symbol-complete):
7307 Replace obsolete completion-annotate-function.
7308
7309 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7310
73112013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7312
7313 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7314 New function, checks if point is inside a literal that allows
7315 expression expansion.
7316 (ruby-syntax-propertize-expansion): Use it.
7317 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7318 around the body.
7319
73202013-05-30 Juri Linkov <juri@jurta.org>
7321
7322 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7323 to "\M-si".
7324 (isearch-invisible): New variable.
7325 (isearch-forward): Doc fix.
7326 (isearch-mode): Set `isearch-invisible'
7327 to the value of `search-invisible'.
7328 (isearch-toggle-case-fold): Doc fix.
7329 (isearch-toggle-invisible): New command.
7330 (isearch-query-replace): Let-bind `search-invisible'
7331 to the value of `isearch-invisible'.
7332 (isearch-search): Use `isearch-invisible' instead of
7333 `search-invisible'. Let-bind `search-invisible'
7334 to the value of `isearch-invisible'. (Bug#11378)
7335
73362013-05-30 Juri Linkov <juri@jurta.org>
7337
7338 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7339 call when `query-flag' is nil and `search-invisible' is non-nil.
7340 (Bug#11746)
7341
73422013-05-30 Glenn Morris <rgm@gnu.org>
7343
7344 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7345
7346 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7347 (cc-require): Suppress spurious "noruntime" warnings.
7348 (cc-require-when-compile): Use fboundp, for sake of compiler.
7349
7350 * progmodes/cc-mode.el: Move load of cc-vars before that of
7351 cc-langs (which in turn loads cc-vars), to quieten compiler.
7352
73532013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * paren.el: Simplify the code.
7356 (show-paren-mode): Always start the timer.
7357 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7358 (show-paren--overlay, show-paren--overlay-1): Rename from
7359 show-paren-overlay and show-paren-overlay-1, and initialize to an
7360 overlay rather than to nil.
7361 (show-paren-function): Misc cleanup and simplifications.
7362
73632013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * paren.el (show-paren-data-function): New hook.
7366 (show-paren--default): New function, extracted from show-paren-function.
7367 (show-paren-function): Use show-paren-data-function.
7368
73692013-05-30 Glenn Morris <rgm@gnu.org>
7370
7371 * ielm.el (ielm-map, ielm-complete-symbol):
7372 Use completion-at-point rather than obsolete functions.
7373 (inferior-emacs-lisp-mode): Doc fix.
7374 Set completion-at-point-functions, rather than
7375 comint-dynamic-complete-functions.
7376
7377 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7378 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7379 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7380
7381 * image.el (image-animated-p): Tweak definition.
7382
7383 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7384 (rlogin-process-connection-type): Tweak default. Add set-after.
7385 (rlogin-host): Doc fix.
7386 (rlogin): Tweak prompt.
7387 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7388
7389 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7390 * progmodes/tcl.el (inferior-tcl-mode-map):
7391 Use completion-at-point rather than obsolete alias.
7392
7393 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7394
7395 * minibuffer.el (read-file-name-completion-ignore-case):
7396 Move before completion--in-region, for eager macro expansion.
7397
73982013-05-29 Juri Linkov <juri@jurta.org>
7399
7400 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7401 for total count of matching lines. Add `global-matches' for total
7402 count of matches. Rename `matches' to `lines' for count of
7403 matching lines. Add `matches' for count of matches.
7404 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7405 to `prev-line' for line number of prev match endpt.
7406 Increment `matches' for every match. Print the number of
7407 matching lines in the header.
7408 (occur-context-lines): Rename `lines' to `curr-line'.
7409 Rename `prev-lines' to `prev-line'. (Bug#14017)
7410
74112013-05-29 Juri Linkov <juri@jurta.org>
7412
7413 * replace.el (perform-replace): Add `skip-read-only-count',
7414 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7415 Increment them for corresponding conditions and report the number
7416 of skipped occurrences in the final message. (Bug#11746)
7417 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7418 (replace-string, replace-regexp): Doc fix.
7419
74202013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7423
7424 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7425 prog-mode-map (bug#14504).
7426
74272013-05-29 Leo Liu <sdl.web@gmail.com>
7428
7429 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7430 (octave-help): Small simplification.
7431
7432 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7433 off the highlight first.
7434
74352013-05-29 Glenn Morris <rgm@gnu.org>
7436
7437 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7438 Handle idlwave-last-system-routine-info-cons-cell being nil.
7439
7440 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7441 (idlwave-write-paths): Simplify via with-temp-buffer.
7442
7443 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7444 * emulation/cua-rect.el: Also load cua-base at run time.
7445
7446 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7447 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7448 (cperl-imenu-on-info): Require imenu.
7449
74502013-05-28 Alan Mackenzie <acm@muc.de>
7451
7452 Handle "capitalised keywords" correctly.
7453 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7454
74552013-05-28 Aidan Gauland <aidalgol@amuri.net>
7456
7457 * eshell/em-unix.el: Add -r option to cp.
7458
74592013-05-28 Glenn Morris <rgm@gnu.org>
7460
7461 * vc/vc-arch.el (vc-exec-after): Declare.
7462 (vc-switches): Autoload.
7463 * vc/vc-bzr.el: No need to require vc when compiling.
7464 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7465 (vc-resynch-buffer, vc-dir-refresh): Declare.
7466 (vc-setup-buffer, vc-switches): Autoload.
7467 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7468 (vc-resynch-buffer): Declare.
7469 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7470 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7471 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7472 (grep-read-regexp, grep-read-files, grep-expand-template)
7473 (vc-dir-refresh): Declare.
7474 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7475 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7476 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7477 * vc/vc-mtn.el (vc-exec-after): Declare.
7478 (vc-switches): Autoload.
7479 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7480 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7481 (vc-file-tree-walk): Declare.
7482 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7483 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7484 (vc-tag-precondition, vc-rename-master): Autoload.
7485 * vc/vc-svn.el (vc-exec-after): Declare.
7486 (vc-switches, vc-setup-buffer): Autoload.
7487 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7488 Autoload.
7489 (vc-resynch-buffer): Declare.
7490
7491 * obsolete/fast-lock.el (byte-compile-warnings):
7492 Don't warn about obsolete features in this obsolete file.
7493
7494 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7495 Move definition before use.
7496
7497 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7498 (dun-unix-verbs): Remove dun-zippy.
7499 (dun-zippy): Remove function.
7500
7501 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7502
75032013-05-27 Juri Linkov <juri@jurta.org>
7504
7505 * replace.el (replace-search): New function with code moved out
7506 from `perform-replace'.
7507 (replace-highlight, replace-dehighlight): Move function definitions
7508 up closer to `replace-search'. (Bug#11746)
7509
75102013-05-27 Juri Linkov <juri@jurta.org>
7511
7512 * replace.el (perform-replace): Ignore invisible matches.
7513 In addition to checking `query-replace-skip-read-only', also
7514 filter out matches by calling `run-hook-with-args-until-failure'
7515 on `isearch-filter-predicates', and also check `search-invisible'
7516 for t or call `isearch-range-invisible'.
7517 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7518
75192013-05-27 Juri Linkov <juri@jurta.org>
7520
7521 * isearch.el (isearch-filter-predicates): Rename from
7522 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7523 (isearch-message-prefix): Display text from the property
7524 `isearch-message-prefix' of the currently active filters.
7525 (isearch-search): Don't compare `isearch-filter-predicate' with
7526 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7527 on `isearch-filter-predicates'. Also check `search-invisible' for t
7528 or call `isearch-range-invisible'.
7529 (isearch-filter-visible): Make obsolete.
7530 (isearch-lazy-highlight-search):
7531 Call `run-hook-with-args-until-failure' on
7532 `isearch-filter-predicates' and use `isearch-range-invisible'.
7533
7534 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7535 `isearch-filter-predicates' instead of `funcall'ing
7536 `isearch-filter-predicate'.
7537 (Info-mode): Set `Info-isearch-filter' to
7538 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7539
7540 * dired-aux.el (dired-isearch-filter-predicate-orig):
7541 Remove variable.
7542 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7543 (dired-isearch-filenames-end): Add and remove
7544 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7545 instead of changing the value of `isearch-filter-predicate'.
7546 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7547 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7548 Put property `isearch-message-prefix' to "filename " on
7549 `dired-isearch-filter-filenames'.
7550
7551 * wdired.el (wdired-change-to-wdired-mode):
7552 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7553 locally instead of changing `isearch-filter-predicate'.
7554 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7555
75562013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7557
7558 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7559 return the commit hash (Bug#14459). Also set the
7560 `vc-git-detached' property.
7561 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7562 (vc-git-mode-line-string): Use the same help-echo format whether
7563 in detached mode or not, because we know the actual revision now.
7564 When in detached mode, shorten the revision to 7 chars.
7565
75662013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * emacs-lisp/easy-mmode.el (define-minor-mode):
7569 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7570 mode hook and provide a docstring.
7571
75722013-05-27 Alan Mackenzie <acm@muc.de>
7573
7574 Remove spurious syntax-table text properties inserted by C-y.
7575 * progmodes/cc-mode.el (c-after-change): Also clear hard
7576 syntax-table property with value nil.
7577
75782013-05-27 Michael Albinus <michael.albinus@gmx.de>
7579
7580 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7581 when reading the events; the buffer layout shall not be changed.
7582
75832013-05-27 Leo Liu <sdl.web@gmail.com>
7584
7585 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7586 New variable.
7587 (inferior-octave-directory-tracker): Automatically re-sync
7588 default-directory.
7589 (octave-help): Improve handling of 'See also'.
7590
75912013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7592
7593 * doc-view.el: Minor naming convention tweaks.
7594 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7595
7596 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7597 even if there's no `display' property yet (bug#14435).
7598
75992013-05-25 Eli Zaretskii <eliz@gnu.org>
7600
7601 * subr.el (unmsys--file-name): Rename from reveal-filename.
7602
7603 * Makefile.in (custom-deps, finder-data, autoloads)
7604 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7605 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7606 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7607
76082013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7609
7610 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7611 error-completion on the first 2 args of condition-case (bug#14446).
7612 Don't burp at EOB.
7613
76142013-05-25 Leo Liu <sdl.web@gmail.com>
7615
7616 * comint.el (comint-previous-matching-input): Do not flood the
7617 *Messages* buffer with trivial messages.
7618
76192013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * progmodes/flymake.el (flymake-nop): Don't return a string.
7622 (flymake-set-at): Fix typo.
7623
7624 * simple.el (read--expression): New function, extracted from
7625 eval-expression. Set completion-at-point-functions (bug#14465).
7626 (eval-expression, eval-minibuffer): Use it.
7627
76282013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7629
7630 * progmodes/flymake.el (flymake-save-buffer-in-file)
7631 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7632 (flymake-selected-frame, flymake-log, flymake-ins-after)
7633 (flymake-set-at, flymake-get-buildfile-from-cache)
7634 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7635 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7636 Refine the doc string.
7637 (flymake-get-file-name-mode-and-masks): Reformat.
7638 (flymake-get-real-file-name-function): Fix a minor bug.
7639
76402013-05-24 Juri Linkov <juri@jurta.org>
7641
7642 * progmodes/grep.el (grep-mode-font-lock-keywords):
7643 Support =linenumber= format used by git-grep for lines with
7644 function names. (Bug#13549)
7645
76462013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7647
7648 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7649 0 after a semi-colon; it works better for smie-auto-fill.
7650 (octave--indent-new-comment-line): New function.
7651 (octave-indent-new-comment-line): Use it (indirectly).
7652 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7653 modify comment-line-break-function.
7654
7655 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7656 (smie-setup): Use add-function to set it.
7657
76582013-05-24 Sam Steingold <sds@gnu.org>
7659
7660 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7661 argument (before the `interactive' argument).
7662
76632013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * image-mode.el (image-mode-winprops): Add winprops to
7666 image-mode-winprops-alist before running
7667 image-mode-new-window-functions.
7668 * doc-view.el (doc-view-new-window-function): Don't delay
7669 doc-view-goto-page via timers (bug#14435).
7670
76712013-05-24 Tassilo Horn <tsdh@gnu.org>
7672
7673 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7674 (doc-view-desktop-save-buffer): New function.
7675 (doc-view-restore-desktop-buffer): New function.
7676 (desktop-buffer-mode-handlers):
7677 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7678 handler.
7679 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7680 `desktop-save-buffer' function.
7681
76822013-05-24 Michael Albinus <michael.albinus@gmx.de>
7683
7684 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7685 (tramp-gvfs-file-name-handler): Raise a user error when
7686 `tramp-gvfs-enabled' is nil.
7687 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7688 Do not raise a user error when loading package. (Bug#14447)
7689
7690 * net/xesam.el: Move to obsolete/.
7691
76922013-05-24 Glenn Morris <rgm@gnu.org>
7693
7694 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7695
7696 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7697
7698 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7699 (Info-find-node, Man-getpage-in-background): Declare.
7700
7701 * mail/unrmail.el (unrmail):
7702 Replace obsolete detect-coding-with-priority.
7703
7704 * net/socks.el (socks-split-string): Use this rather than split-string.
7705 (socks-nslookup-host): Update for above change.
7706 (dynamic-choice, s5-dynamic-choice-match)
7707 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7708 Comment out unused code.
7709
7710 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7711 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7712 (gud-tooltip-echo-area): Make obsolete.
7713 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7714
7715 * progmodes/js.el (js--optimize-arglist): Declare.
7716
7717 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7718
7719 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7720 (ediff-window-C): Declare.
7721
7722 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7723 Tweak requires to silence compiler.
7724
7725 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7726 (he-search-string, he-tried-table, he-expand-list)
7727 (he-init-string, he-string-member, he-substitute-string)
7728 (he-reset-string): Declare.
7729
7730 * obsolete/options.el (list-options): Use custom-variable-p,
7731 rather than obsolete alias.
7732
77332013-05-23 Sam Steingold <sds@gnu.org>
7734
7735 * simple.el (shell-command-on-region): Pass the `replace' argument
7736 down to `call-process-region' to comply with the doc as reported on
7737 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7738
77392013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7740
7741 * emacs-lisp/smie.el (smie-indent-forward-token)
7742 (smie-indent-backward-token): Handle string tokens (bug#14381).
7743
77442013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7745
7746 * ielm.el (ielm-menu): New menu.
7747 (inferior-emacs-lisp-mode): Set comment-start.
7748
77492013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7750
7751 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7752 Fix deactivate action.
7753
7754 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7755 Add cleveref macros.
7756
7757 * lisp/textmodes/reftex-parse.el
7758 (reftex-locate-bibliography-files): Accept options for
7759 bibliography commands.
7760 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7761 Add addbibresource. Basic Biblatex support.
7762
77632013-05-23 Michael Albinus <michael.albinus@gmx.de>
7764
7765 * net/tramp-gvfs.el (top):
7766 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7767 when loading package. (Bug#14447)
7768
77692013-05-23 Glenn Morris <rgm@gnu.org>
7770
7771 * progmodes/js.el: No need to load comint when compiling.
7772 (ring-insert, comint-send-string, comint-send-input)
7773 (comint-last-input-end, ido-chop): Declare.
7774
7775 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7776 * vc/ediff-mult.el: Adjust requires.
7777 (ediff-directories-internal, ediff-directory-revisions-internal)
7778 (ediff-patch-file-internal): Declare.
7779 * vc/ediff-ptch.el: Adjust requires.
7780 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7781 (ediff-find-file): Autoload.
7782 * vc/ediff-util.el: No need to load ediff when compiling.
7783 (ediff-regions-internal): Declare.
7784 * vc/ediff-wind.el: Adjust requires.
7785 (ediff-compute-toolbar-width): Define when compiling.
7786 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7787 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7788 (dired-get-filename, dired-get-marked-files)
7789 (ediff-last-dir-patch, ediff-patch-default-directory)
7790 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7791 (ediff-patch-buffer-internal): Declare.
7792
7793 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7794 (ispell-process, ispell-buffer-local-words, lm-summary)
7795 (lm-section-start, lm-section-end): Declare.
7796 (checkdoc-ispell-init): Simplify.
7797
7798 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7799 (he-string-member, he-reset-string, he-substitute-string): Declare.
7800
7801 * eshell/em-ls.el: Adjust requires.
7802 (eshell-glob-regexp): Declare.
7803 * eshell/em-tramp.el: Adjust requires.
7804 (eshell-parse-command): Autoload.
7805 * eshell/em-xtra.el: Adjust requires.
7806 (eshell-parse-command): Autoload.
7807 * eshell/esh-ext.el: Adjust requires.
7808 (eshell-parse-command, eshell-close-handles): Autoload.
7809 * eshell/esh-io.el: Adjust requires.
7810 (eshell-output-filter): Autoload.
7811 * eshell/esh-util.el: No need to load tramp when compiling.
7812 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7813 Declare.
7814 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7815 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7816 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7817 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7818 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7819 * eshell/esh-opt.el, eshell/esh-proc.el:
7820 * eshell/esh-var.el: Adjust requires.
7821 * eshell/eshell.el: Do not require esh-util twice.
7822 (eshell-add-input-to-history): Declare.
7823 (eshell-command): Check history module is active before using it.
7824
7825 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7826
78272013-05-22 Leo Liu <sdl.web@gmail.com>
7828
7829 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7830
78312013-05-22 Michael Albinus <michael.albinus@gmx.de>
7832
7833 * autorevert.el (auto-revert-notify-add-watch)
7834 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7835 it indicates changes in file modification time.
7836
78372013-05-22 Glenn Morris <rgm@gnu.org>
7838
7839 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7840 Always delete the autoloaded function from the noruntime and
7841 unresolved functions lists.
7842
7843 * allout.el: No need to load epa, epg, overlay when compiling.
7844 (epg-context-set-passphrase-callback, epg-list-keys)
7845 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7846 (epg-key-user-id-list): Declare.
7847
7848 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7849 (viper-set-parsing-style-toggling-macro)
7850 (viper-set-emacs-state-searchstyle-macros):
7851 Use called-interactively-p on Emacs.
7852 (viper-looking-back): Make it an obsolete alias. Update callers.
7853 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7854 Use looking-back rather than viper-looking-back.
7855 (viper-tmp-insert-at-eob, viper-enlarge-region)
7856 (viper-read-string-with-history, viper-register-to-point)
7857 (viper-append-to-register, viper-change-state-to-vi)
7858 (viper-backward-char-carefully, viper-forward-char-carefully)
7859 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7860 (viper-change-state-to-emacs): Declare.
7861 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7862 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7863 * emulation/viper-mous.el: Do not load viper-cmd.
7864 (viper-backward-char-carefully, viper-forward-char-carefully)
7865 (viper-forward-word, viper-adjust-window): Declare.
7866
7867 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7868
7869 * progmodes/idlw-help.el (idlwave-help-fontify):
7870 Use called-interactively-p.
7871
7872 * term/w32console.el (w32-get-console-codepage)
7873 (w32-get-console-output-codepage): Declare.
7874
7875 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7876 Remove unnecessary declarations.
7877 (dframe-message): Doc fix.
7878
7879 * info.el (dframe-select-attached-frame, dframe-current-frame):
7880 Declare.
7881
7882 * speedbar.el (speedbar-message): Make it an obsolete alias.
7883 Update all callers.
7884 (speedbar-with-attached-buffer)
7885 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7886 (speedbar-with-writable): Use backquote.
7887 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7888 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7889 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7890 rather than speedbar- aliases.
7891 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7892 (speedbar-make-specialized-keymap, speedbar-insert-button)
7893 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7894 (speedbar-do-function-pointer): Declare.
7895 (rmail-speedbar-button, rmail-speedbar-find-file)
7896 (rmail-speedbar-move-message):
7897 Use dframe-with-attached-buffer rather than speedbar- alias.
7898 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7899 (dframe-message, speedbar-make-specialized-keymap)
7900 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7901 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7902 (speedbar-insert-button, dframe-select-attached-frame)
7903 (dframe-maybee-jump-to-attached-frame)
7904 (speedbar-change-initial-expansion-list)
7905 (speedbar-previously-used-expansion-list-name): Declare.
7906 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7907 Use dframe-message, dframe-with-attached-buffer rather than
7908 speedbar- aliases.
7909 (gud-sentinel): Silence compiler.
7910 * progmodes/vhdl-mode.el (speedbar-refresh)
7911 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7912 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7913 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7914 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7915 (speedbar-file-lists, speedbar-make-tag-line)
7916 (speedbar-line-directory, speedbar-goto-this-file)
7917 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7918 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7919 (speedbar-make-button, speedbar-reset-scanners)
7920 (speedbar-files-item-info, speedbar-line-text)
7921 (speedbar-find-file-in-frame, speedbar-set-timer)
7922 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7923 (speedbar-with-writable): Do not (re)define it.
7924 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7925 rather than speedbar- alias.
7926
79272013-05-21 Leo Liu <sdl.web@gmail.com>
7928
7929 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7930 menu items.
7931 (octave-mode): Tweak fill-nobreak-predicate.
7932 (inferior-octave-startup): Check process to avoid infinite loop.
7933 (inferior-octave): Pop to buffer first to show abornmal process
7934 exit information.
7935
79362013-05-21 Glenn Morris <rgm@gnu.org>
7937
7938 * printing.el (pr-menu-bar): Define when compiling.
7939
79402013-05-21 Leo Liu <sdl.web@gmail.com>
7941
7942 * progmodes/octave.el (octave-auto-fill): Remove.
7943 (octave-indent-new-comment-line): Improve.
7944 (octave-mode): Use auto fill mode through
7945 comment-line-break-function and fill-nobreak-predicate.
7946 (octave-goto-function-definition): Support DEFUN_DLD.
7947 (octave-beginning-of-defun): Small tweak.
7948 (octave-help): Show parent directory.
7949
79502013-05-21 Glenn Morris <rgm@gnu.org>
7951
7952 * files.el (dired-unmark):
7953 * progmodes/gud.el (gdb-input): Update declarations.
7954
7955 * calculator.el (electric, ehelp): No need to load when compiling.
7956 (Electric-command-loop, electric-describe-mode): Declare.
7957
7958 * doc-view.el (doc-view-current-converter-processes): Move before use.
7959
7960 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7961 Move MODE-set-explicitly definition before use.
7962
7963 * international/mule-diag.el (mule-diag):
7964 Don't use obsolete window-system-version.
7965
7966 * mail/feedmail.el (smtpmail): No need to load when compiling.
7967 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7968
7969 * mail/mail-utils.el (rfc822): No need to load when compiling.
7970 (rfc822-addresses): Autoload it.
7971 (mail-strip-quoted-names): Trivial simplification.
7972
7973 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7974 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7975
7976 * net/snmp-mode.el (tempo): Don't duplicate requires.
7977
7978 * progmodes/prolog.el (info): No need to load when compiling.
7979 (comint): Require before shell requires it.
7980 (Info-goto-node): Autoload it.
7981 (Info-follow-nearest-node): Declare.
7982 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7983
7984 * textmodes/artist.el (picture-mode-exit): Declare.
7985
7986 * textmodes/reftex-parse.el (reftex-parse-from-file):
7987 Trivial rewrite so the compiler can parse it better.
7988
79892013-05-20 Leo Liu <sdl.web@gmail.com>
7990
7991 * progmodes/octave.el (octave-help-mode-map)
7992 (octave-help-mode-finish-hook): New variables.
7993 (octave-help-mode, octave-help-mode-finish): New functions.
7994 (octave-help): Use octave-help-mode.
7995
79962013-05-20 Glenn Morris <rgm@gnu.org>
7997
7998 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7999
80002013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8001
8002 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8003 start at point, so that expansion starting right after opening
8004 slash in a regexp is recognized.
8005 (ruby-syntax-before-regexp-re): New defvar, extracted from
8006 ruby-syntax-propertize-function. Since the value of this regexp
8007 is looked up at runtime now, we should be able to turn
8008 `ruby-syntax-methods-before-regexp' into a defcustom later.
8009 (ruby-syntax-propertize-function): Split regexp matching into two
8010 parts, for opening and closing slashes. That allows us to skip
8011 over string interpolations and support multiline regexps.
8012 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8013 for them, which calls `ruby-syntax-propertize-expansion'.
8014 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8015 call to `ruby-syntax-propertize-function'.
8016 (ruby-syntax-propertize-expansion): Extracted from
8017 `ruby-syntax-propertize-expansions'. Handles one expansion.
8018 (ruby-syntax-propertize-percent-literal): Leave point right after
8019 the percent symbol, so that the expression expansion rule can
8020 propertize the contents.
8021 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8022 heredoc openers.
8023 (ruby-syntax-propertize-expansions): Remove.
8024
80252013-05-18 Juri Linkov <juri@jurta.org>
8026
8027 * man.el (Man-default-man-entry): Remove `-' from the end
8028 of the default value. (Bug#14400)
8029
80302013-05-18 Glenn Morris <rgm@gnu.org>
8031
8032 * comint.el (comint-password-prompt-regexp):
8033 Allow "password for XXX" where XXX contains colons (eg https://...).
8034
80352013-05-18 Leo Liu <sdl.web@gmail.com>
8036
8037 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8038 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8039 (octave-source-directories): Don't check process.
8040 (octave-source-directories, octave-find-definition): Doc fix.
8041
80422013-05-18 Glenn Morris <rgm@gnu.org>
8043
8044 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8045 Remove backspace/delete bindings. (Bug#14392)
8046
8047 * cus-dep.el (custom-make-dependencies): Sort the output.
8048 (custom-versions-load-alist): Convert comment to doc.
8049
80502013-05-17 Leo Liu <sdl.web@gmail.com>
8051
8052 * newcomment.el (comment-search-backward): Stricter in finding
8053 comment start. (Bug#14303)
8054
8055 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8056 (octave-comment-start-skip): Properly anchored.
8057
80582013-05-17 Leo Liu <sdl.web@gmail.com>
8059
8060 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8061 Clean up when turned off. (Bug#14395)
8062 (smie--highlight-matching-block-overlay): No longer buffer-local.
8063 (smie-highlight-matching-block): Adjust.
8064
80652013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8066
8067 Doc string fix for "nanoseconds" (Bug#14406).
8068 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8069 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8070
80712013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8072
8073 * calc/calc-units.el (math-extract-units): Preserve powers
8074 of units.
8075
80762013-05-17 Leo Liu <sdl.web@gmail.com>
8077
8078 * subr.el (delete-consecutive-dups): New function.
8079 * ido.el (ido-set-matches-1): Use it.
8080 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8081 * ido.el (ido-remove-consecutive-dups): Remove.
8082
80832013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8086 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8087 regexp-opt's `words'.
8088
80892013-05-16 Leo Liu <sdl.web@gmail.com>
8090
8091 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8092 (smie--highlight-matching-block-overlay)
8093 (smie--highlight-matching-block-lastpos)
8094 (smie--highlight-matching-block-timer): New variables.
8095 (smie-highlight-matching-block): New function.
8096 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8097 (smie-setup): Conditionally enable smie-blink-matching-open.
8098
80992013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8100
8101 Sync with upstream verilog-mode r840.
8102 * progmodes/verilog-mode.el (verilog-mode-version)
8103 (verilog-mode-release-date): Update.
8104 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8105 (verilog-sig-tieoff): Fix string error on
8106 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8107 (verilog-read-decls): Fix parameters confusing
8108 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8109
81102013-05-16 Eli Zaretskii <eliz@gnu.org>
8111
8112 * subr.el (reveal-filename): New function.
8113
8114 * loadup.el: Compute Emacs executable versions on MS-Windows,
8115 where executables have the .exe extension. Add a hard link
8116 emacs-XX.YY.ZZ.exe on MS-Windows.
8117
8118 * Makefile.in (XARGS_LIMIT): New variable.
8119 (custom-deps, finder-data, autoloads)
8120 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8121 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8122 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8123 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8124
81252013-05-16 Leo Liu <sdl.web@gmail.com>
8126
8127 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8128 (octave-mode-menu, octave-mode-map): Remove its uses.
8129
81302013-05-16 Reto Zimmermann <reto@gnu.org>
8131
8132 Sync with upstream vhdl mode v3.34.2.
8133 * progmodes/vhdl-mode.el: Use `push' throughout.
8134 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8135 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8136 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8137 (vhdl-actual-generic-name): New option to derive actual generic name.
8138 (vhdl-port-paste-signals): Replace formal by actual generics.
8139 (vhdl-beautify): New name for old group vhdl-align. Update users.
8140 (vhdl-beautify-options): New option.
8141 (vhdl-last-input-event): New compat alias. Use throughout.
8142 (vhdl-goto-line): Replace user level function `goto-line'.
8143 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8144 vhdl-fix-statement-buffer.
8145 (vhdl-create-mode-menu): Add some entries.
8146 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8147 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8148 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8149 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8150 to force statements on one line.
8151 (vhdl-remove-trailing-spaces-region):
8152 New, split from vhdl-remove-trailing-spaces.
8153 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8154 Respect vhdl-beautify-options.
8155 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8156 (vhdl-update-sensitivity-list): Not add with index if exists without.
8157 Not include array index with signal. Ignore keywords in comments.
8158 (vhdl-get-visible-signals): Regexp tweaks.
8159 (vhdl-template-component-inst): Handle empty library.
8160 (vhdl-template-type): Add template for 'enum' type.
8161 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8162 Use vhdl-replace-string.
8163 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8164 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8165 (vhdl-speedbar-initialize): Update for above name change.
8166 (vhdl-compose-wire-components): Fix in handling of constants.
8167 (vhdl-error-regexp-emacs-alist): New variable.
8168 (vhdl-error-regexp-add-emacs): New function;
8169 adds support for new compile.el (Emacs 22+)
8170 (vhdl-generate-makefile-1): Change target order for single lib. units.
8171 Allow use of absolute file names.
8172
81732013-05-16 Leo Liu <sdl.web@gmail.com>
8174
8175 * simple.el (prog-indent-sexp): Indent enclosing defun.
8176
81772013-05-15 Glenn Morris <rgm@gnu.org>
8178
8179 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8180 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8181 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8182 (whitespace-highlight): Move to whitespace group.
8183
8184 * comint.el (comint-source):
8185 * pcmpl-linux.el (pcmpl-linux):
8186 * shell.el (shell-faces):
8187 * eshell/esh-opt.el (eshell-opt):
8188 * international/ccl.el (ccl): Remove empty custom groups.
8189
8190 * completion.el (dynamic-completion-mode):
8191 * jit-lock.el (jit-lock-debug-mode):
8192 * minibuffer.el (completion-in-region-mode):
8193 * type-break.el (type-break-mode-line-message-mode)
8194 (type-break-query-mode):
8195 * emulation/tpu-edt.el (tpu-edt-mode):
8196 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8197 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8198 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8199
8200 * term/xterm.el (xterm): Change parent group to terminals.
8201
8202 * master.el (master): Remove empty custom group.
8203 (master-mode): Remove unused :group argument.
8204 * textmodes/refill.el (refill): Remove empty custom group.
8205 (refill-mode): Remove unused :group argument.
8206
8207 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8208
8209 * cus-dep.el: Provide a feature.
8210 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8211 Don't mistakenly ignore files whose basenames match a basename
8212 from preloaded-file-list (eg cedet/ede/simple.el).
8213 Add a fallback method for getting :group.
8214
82152013-05-15 Juri Linkov <juri@jurta.org>
8216
8217 * isearch.el (isearch-char-by-name): Rename from
8218 `isearch-insert-char-by-name'. Doc fix.
8219 (isearch-forward): Mention `isearch-char-by-name' in
8220 the docstring. (Bug#13348)
8221
8222 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8223 `exit-minibuffer' instead of
8224 `isearch-nonincremental-exit-minibuffer'.
8225 (isearch-edit-string): Remove mention of
8226 `isearch-nonincremental-exit-minibuffer' from docstring.
8227 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8228 (isearch-forward-exit-minibuffer)
8229 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8230
82312013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * loadup.el: Just use unversioned DOC.
8234
8235 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8236 literals as extending to EOB.
8237 (nxml-last-fontify-end): Remove unused variable.
8238 (nxml-after-change1): Use with-silent-modifications.
8239 (nxml-extend-after-change-region): Simplify.
8240 (nxml-extend-after-change-region1): Remove function.
8241 (nxml-after-change1): Don't adjust for dependent regions.
8242 (nxml-fontify-matcher): Simplify.
8243 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8244 (xmltok-add-dependent): Remove function.
8245 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8246 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8247 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8248 unclosed <[[, <?, comment, and other literals as extending to EOB.
8249 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8250 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8251 Remove functions.
8252 (rng-do-some-validation-1): Don't mark dependent regions.
8253 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8254 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8255 (nxml-clear-dependent-regions): Remove functions.
8256 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8257 (nxml-ensure-scan-up-to-date):
8258 Don't clear&mark dependent regions.
8259
82602013-05-15 Leo Liu <sdl.web@gmail.com>
8261
8262 * progmodes/octave.el (octave-goto-function-definition):
8263 Improve and fix callers.
8264
82652013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8268 the setter (bug#14387).
8269
8270 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8271 surrounding group (bug#14402).
8272
82732013-05-14 Juri Linkov <juri@jurta.org>
8274
8275 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8276 (Bug#14390)
8277
82782013-05-14 Glenn Morris <rgm@gnu.org>
8279
8280 * progmodes/f90.el (f90-imenu-generic-expression):
8281 Fix typo in 2013-05-08 change. (Bug#14402)
8282
82832013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8284
8285 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8286 Remove signals for which replies are never received.
8287
82882013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8289
8290 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8291 (gdb-handler-alist, gdb-handler-number): Remove variables.
8292 (gdb-handler-list): New variable.
8293 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8294 (gdb-pending-handler-p, gdb-handle-reply)
8295 (gdb-remove-all-pending-triggers): New functions.
8296 (gdb-discard-unordered-replies): New defcustom.
8297 (gdb-handler): New defstruct.
8298 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8299 instead of gdb-pending-triggers. Update docstring.
8300 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8301 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8302 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8303 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8304 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8305 (gdb-frame-handler): Pending triggers are now automatically managed.
8306 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8307 Remove argument.
8308 (gdb-input): Automatically handles pending triggers. Update docstring.
8309 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8310 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8311 Update comments.
8312 (gdb-done-or-error): Now use gdb-handle-reply.
8313
83142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8315
8316 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8317 gdb-debug-log.
8318
83192013-05-14 Glenn Morris <rgm@gnu.org>
8320
8321 * subr.el (user-emacs-directory-warning): New option.
8322 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8323
83242013-05-14 Leo Liu <sdl.web@gmail.com>
8325
8326 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8327 during redisplay.
8328 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8329 (octave-font-lock-texinfo-comment): Fix invalid search bound
8330 error: wrong side of point.
8331
83322013-05-14 Glenn Morris <rgm@gnu.org>
8333
8334 * progmodes/flymake.el (flymake-xml-program): New option.
8335 (flymake-xml-init): Use it.
8336
8337 * term/xterm.el: Provide a feature.
8338
8339 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8340
83412013-05-13 Glenn Morris <rgm@gnu.org>
8342
8343 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8344 Add compat aliases as a hack workaround. (Bug#14384)
8345
83462013-05-13 Leo Liu <sdl.web@gmail.com>
8347
8348 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8349 ###, and %!.
8350 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8351 C-M-q.
8352 (octave-comment-start-skip): Include %!.
8353 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8354
83552013-05-12 Leo Liu <sdl.web@gmail.com>
8356
8357 * progmodes/octave.el (inferior-octave-startup): Store the value
8358 of __octave_srcdir__ for octave-source-directories.
8359 (inferior-octave-check-process): New function refactored out of
8360 inferior-octave-send-list-and-digest.
8361 (octave-source-directories)
8362 (octave-find-definition-filename-function): New variables.
8363 (octave-source-directories)
8364 (octave-find-definition-default-filename): New functions.
8365 (octave-find-definition): Improve to find functions implemented in C++.
8366
83672013-05-12 Glenn Morris <rgm@gnu.org>
8368
8369 * calendar/diary-lib.el (diary-outlook-format-1):
8370 Don't include dayname in the output. (Bug#14349)
8371
83722013-05-11 Glenn Morris <rgm@gnu.org>
8373
8374 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8375
8376 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8377 Treat cc-provide like provide.
8378
83792013-05-11 Kevin Ryde <user42@zip.com.au>
8380
8381 * cus-dep.el (custom-make-dependencies):
8382 Use generated-autoload-load-name for the sake of files such
8383 such cedet/semantic/bovine/c.el, where the base file name
8384 is not in load-path. (Bug#5277)
8385
83862013-05-11 Glenn Morris <rgm@gnu.org>
8387
8388 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8389 Provide features.
8390
83912013-05-11 Leo Liu <sdl.web@gmail.com>
8392
8393 * progmodes/octave.el (octave-indent-comment): Improve.
8394 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8395 (octave-eldoc-function-signatures, octave-eldoc-function):
8396 New functions.
8397 (octave-mode, inferior-octave-mode): Add eldoc support.
8398
83992013-05-11 Richard Stallman <rms@gnu.org>
8400
8401 * epa.el (epa-decrypt-file): Take output file name as argument
8402 and read it using `interactive'.
8403
84042013-05-11 Leo Liu <sdl.web@gmail.com>
8405
8406 * progmodes/octave.el (octave-beginning-of-line)
8407 (octave-end-of-line): Check before using up-list because it jumps
8408 out of more syntactic contructs since moving to smie.
8409 (octave-indent-comment): New function.
8410 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8411 (octave-begin-keywords, octave-end-keywords)
8412 (octave-reserved-words, octave-smie-bnf-table)
8413 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8414
84152013-05-11 Glenn Morris <rgm@gnu.org>
8416
8417 * faces.el (internal-face-x-get-resource):
8418 * frame.el (ns-display-monitor-attributes-list):
8419 * calc/calc-aent.el (math-to-radians-2):
8420 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8421 Fix declarations.
8422
8423 * calc/calc-menu.el: Make it loadable in isolation.
8424
8425 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8426 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8427 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8428 (eudc-bbdb-query-internal): Require 'bbdb.
8429
8430 * lpr.el (lpr-headers-switches):
8431 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8432
8433 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8434
8435 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8436
8437 * term.el (term-set-escape-char): Make it idempotent.
8438
84392013-05-10 Leo Liu <sdl.web@gmail.com>
8440
8441 * progmodes/octave.el (inferior-octave-completion-table):
8442 No longer a function and all uses changed. Use cache to speed up
8443 completion due to bug#11906.
8444 (octave-beginning-of-defun): Re-write to be more general.
8445
84462013-05-10 Glenn Morris <rgm@gnu.org>
8447
8448 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8449
84502013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8451
8452 * comint.el (comint-redirect-send-command-to-process): Use :around
8453 rather than :override for comint-redirect-filter.
8454 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8455 Call it instead of comint-redirect-original-filter-function (which
8456 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8457
84582013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8459
8460 * frame.el (display-monitor-attributes-list): Add NS case.
8461 (ns-display-monitor-attributes-list): Declare.
8462
84632013-05-09 Ulrich Mueller <ulm@gentoo.org>
8464
8465 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8466
84672013-05-09 Glenn Morris <rgm@gnu.org>
8468
8469 * international/fontset.el (vertical-centering-font-regexp):
8470 Set standard-value.
8471
8472 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8473
8474 * bookmark.el (bookmark-search-delay):
8475 * cus-start.el (vertical-centering-font-regexp):
8476 * ps-mule.el (ps-mule-font-info-database-default):
8477 * ps-print.el (ps-default-fg, ps-default-bg):
8478 * type-break.el (type-break-good-break-interval):
8479 * whitespace.el (whitespace-indentation-regexp)
8480 (whitespace-space-after-tab-regexp):
8481 * emacs-lisp/testcover.el (testcover-1value-functions)
8482 (testcover-noreturn-functions, testcover-progn-functions)
8483 (testcover-prog1-functions):
8484 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8485 * eshell/em-glob.el (eshell-glob-translate-alist):
8486 * play/tetris.el (tetris-tty-colors):
8487 * progmodes/cpp.el (cpp-face-default-list):
8488 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8489 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8490 (idlwave-help-browser-generic-args):
8491 * progmodes/make-mode.el (makefile-special-targets-list):
8492 * progmodes/python.el (python-shell-virtualenv-path):
8493 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8494 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8495 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8496 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8497 * textmodes/reftex-vars.el (reftex-format-label-function):
8498 * textmodes/remember.el (remember-diary-file): Fix custom types.
8499
8500 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8501 Add :version.
8502
85032013-05-09 Leo Liu <sdl.web@gmail.com>
8504
8505 * progmodes/octave.el (inferior-octave-completion-at-point):
8506 Restore file completion. (Bug#14300)
8507 (inferior-octave-startup): Fix incorrect highlighting for the
8508 first prompt.
8509
85102013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * progmodes/ruby-mode.el: First cut at SMIE support.
8513 (ruby-use-smie): New var.
8514 (ruby-smie-grammar): New constant.
8515 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8516 (ruby-smie--forward-token, ruby-smie--backward-token)
8517 (ruby-smie-rules): New functions.
8518 (ruby-mode-variables): Setup SMIE if applicable.
8519
85202013-05-08 Eli Zaretskii <eliz@gnu.org>
8521
8522 * simple.el (line-move-visual): Signal beginning/end of buffer
8523 only if vertical-motion moved less than it was requested. Avoids
8524 silly incorrect error messages when there are display strings with
8525 multiple newlines at EOL.
8526
85272013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8530 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8531 (prolog-char-quote-workaround):
8532 * progmodes/cperl-mode.el (cperl-under-as-char):
8533 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8534 Mark as obsolete.
8535 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8536 their declaration.
8537 (vhdl-mode-syntax-table-init): Remove.
8538
8539 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8540 last change.
8541
8542 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8543 syntax for "_".
8544 (ld-script-font-lock-keywords):
8545 Change regexps to use things like \_< and \_>.
8546
8547 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8548 Change all regexps to use things like \_< and \_>.
8549
8550 * progmodes/autoconf.el (autoconf-definition-regexp)
8551 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8552 Handle a _ with symbol syntax.
8553 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8554
8555 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8556 Consolidate declaration.
8557 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8558 the declaration.
8559 (ada-create-syntax-table): Remove.
8560 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8561 already has the right syntax nowadays.
8562 (ada-goto-next-word): Don't change the syntax of "_".
8563
8564 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8565 with-wrapper-hook.
8566
85672013-05-08 Sam Steingold <sds@gnu.org>
8568
8569 * thingatpt.el (thing-at-point): Accept optional second argument
8570 NO-PROPERTIES to strip the text properties from the return value.
8571 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8572 to `thing-at-point' instead of stripping the properties ourselves.
8573 Also, when `thing-at-point' fails to find a url, prepend "http://"
8574 to the filename at point on the assumption that the user is
8575 pointing at something like gnu.org/gnu.
8576
85772013-05-08 Juanma Barranquero <lekktu@gmail.com>
8578
8579 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8580 * faces.el (crm-separator):
8581 Silence byte-compiler.
8582
8583 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8584 (tool-bar-map): Remove unneeded defvars.
8585
85862013-05-08 Leo Liu <sdl.web@gmail.com>
8587
8588 Re-work a fix for bug#10994 based on Le Wang's patch.
8589 * ido.el (ido-remove-consecutive-dups): New helper.
8590 (ido-completing-read): Use it.
8591 (ido-chop): Revert fix for bug#10994.
8592
85932013-05-08 Adam Spiers <emacs@adamspiers.org>
8594
8595 * cus-edit.el (custom-save-variables):
8596 Pretty-print long values. (Bug#14187)
8597
85982013-05-08 Glenn Morris <rgm@gnu.org>
8599
8600 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8601 (m4-mode-syntax-table): Init in the defvar.
8602 (m4-mode-abbrev-table): Let define-derived-mode define it.
8603
86042013-05-08 Tom Tromey <tromey@redhat.com>
8605
8606 * progmodes/m4-mode.el (m4-mode-syntax-table):
8607 Do not treat "_" as word constituent. (Bug#14167)
8608
86092013-05-07 Glenn Morris <rgm@gnu.org>
8610
8611 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8612 Remove explicit eshell-isearch-cancel-map.
8613
8614 * progmodes/f90.el (f90-smart-end-names): New option.
8615 (f90-smart-end): Doc fix.
8616 (f90-end-block-optional-name): New constant.
8617 (f90-block-match): Respect f90-smart-end-names.
8618
86192013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8622 about implicit semi-colons (bug#14218).
8623
86242013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8625
8626 * frame.el (display-monitor-attributes-list)
8627 (frame-monitor-attributes): New functions.
8628
86292013-05-06 Leo Liu <sdl.web@gmail.com>
8630
8631 * progmodes/octave.el (octave-syntax-propertize-function): Change
8632 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8633 (octave-font-lock-keywords): Use octave-operator-regexp.
8634 (octave-completion-at-point): Rename from
8635 octave-completion-at-point-function.
8636 (inferior-octave-directory-tracker): Robustify.
8637 (octave-text-functions): Remove and fix its uses. No such things
8638 any more.
8639
86402013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * emacs-lisp/trace.el (trace--display-buffer): New function.
8643 (trace-make-advice): Use it.
8644
86452013-05-06 Juri Linkov <juri@jurta.org>
8646
8647 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8648 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8649 Doc fix.
8650 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8651 in the help string. (Bug#12985)
8652
86532013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8654
8655 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8656
86572013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8658
8659 * progmodes/perl-mode.el: Add support for here documents.
8660 (perl-syntax-propertize-function): Match here-doc markers.
8661 (perl-syntax-propertize-special-constructs): Find their end.
8662 (perl-imenu-generic-expression): Use [:alnum:].
8663
8664 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8665 (advice--add-function): Refresh the advice if already present
8666 (bug#14317).
8667
86682013-05-06 Ivan Andrus <darthandrus@gmail.com>
8669
8670 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8671
86722013-05-06 Glenn Morris <rgm@gnu.org>
8673
8674 * w32-fns.el (w32-charset-info-alist): Declare.
8675
8676 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8677 of its defcustom properties.
8678 (eshell-cmpl-initialize): No need to load pcomplete.
8679
8680 * generic-x.el: No need to require comint when compiling.
8681
8682 * net/eudc-export.el: Make it loadable without bbdb.
8683 (top-level): Use require rather than load-library.
8684 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8685 (eudc-batch-export-records-to-bbdb)
8686 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8687 Require bbdb.
8688
86892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8690
8691 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8692 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8693 some tweaks, instead.
8694
86952013-05-05 Leo Liu <sdl.web@gmail.com>
8696
8697 * progmodes/octave.el (octave-font-lock-keywords)
8698 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8699 (inferior-octave-send-list-and-digest): Improve error message.
8700 (octave-mode, inferior-octave-mode): Use setq-local.
8701 (octave-help): Set info-lookup-mode.
8702
87032013-05-05 Richard Stallman <rms@gnu.org>
8704
8705 * vc/compare-w.el (compare-windows-whitespace):
8706 Treat no-break space as whitespace.
8707
8708 * mail/rmailsum.el (rmail-summary-rmail-update):
8709 Detect empty summary and don't change selected message.
8710 (rmail-summary-goto-msg): Likewise.
8711
8712 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8713 Doc fixes, rename args.
8714
87152013-05-05 Alan Mackenzie <acm@muc.de>
8716
8717 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8718
87192013-05-05 Juri Linkov <juri@jurta.org>
8720
8721 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8722 to not add the length of the summary segment to the return value.
8723 (Bug#14125)
8724
87252013-05-05 Leo Liu <sdl.web@gmail.com>
8726
8727 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8728 (inferior-octave-output-filter): Remove.
8729 (octave-send-region, inferior-octave-startup): Fix callers.
8730 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8731 (octave-binary-file-extensions): New user variable.
8732 (octave-find-definition): Confirm if opening binary files.
8733 (octave-help-file): Use octave-find-definition to get the binary
8734 confirmation.
8735 (octave-help): Adjust for octave-help-file change.
8736
87372013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8740 Merge the two entries that handle function definitions.
8741 (pascal--syntax-propertize): New const.
8742 (pascal-mode): Use it. Use setq-local.
8743
87442013-05-04 Glenn Morris <rgm@gnu.org>
8745
8746 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8747 (diary-from-outlook): Respect diary-from-outlook-function.
8748
87492013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8752 Move the declaration from C.
8753 (read-minibuffer, eval-minibuffer): Move from C.
8754 (completion-setup-function): Avoid minibuffer-completion-contents.
8755
87562013-05-03 Leo Liu <sdl.web@gmail.com>
8757
8758 * progmodes/octave.el (octave-font-lock-keywords): Do not
8759 dehighlight 'end' in comments or strings.
8760 (octave-completing-read, octave-goto-function-definition):
8761 New helpers.
8762 (octave-help-buffer): New user variable.
8763 (octave-help-file, octave-help-function): New button types.
8764 (octave-help): New command and bind it to C-h ;.
8765 (octave-find-definition): New command and bind it to M-.
8766 (user-error): Alias to error if not defined.
8767
87682013-05-02 Leo Liu <sdl.web@gmail.com>
8769
8770 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8771 for \. (bug#14332)
8772 (octave-font-lock-keywords): Include [ and {.
8773
87742013-05-02 Leo Liu <sdl.web@gmail.com>
8775
8776 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8777 (inferior-octave): Remove calling comint-mode and return the buffer.
8778 (inferior-octave-startup): Cosmetic changes.
8779
87802013-05-02 Leo Liu <sdl.web@gmail.com>
8781
8782 * progmodes/octave.el (octave-syntax-propertize-function):
8783 Include the case when ' is at line beginning. (Bug#14336)
8784
87852013-05-02 Glenn Morris <rgm@gnu.org>
8786
8787 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8788 * desktop.el (vc-dir-mode): Just autoload it here.
8789
87902013-05-02 Alan Mackenzie <acm@muc.de>
8791
8792 Eliminate variable c-standard-font-lock-fontify-region-function.
8793 * progmodes/cc-mode.el
8794 (c-standard-font-lock-fontify-region-function): Remove.
8795 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8796
87972013-05-01 Leo Liu <sdl.web@gmail.com>
8798
8799 * progmodes/octave.el: Compatible with older emacs-24 releases.
8800 (inferior-octave-has-built-in-variables): Remove. Built-in
8801 variables were removed from Octave in 2007.
8802 (inferior-octave-startup): Fix uses.
8803 (comint-line-beginning-position): Remove compatibility code for
8804 emacs 21.
8805
88062013-05-01 Juri Linkov <juri@jurta.org>
8807
8808 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8809
88102013-05-01 Juri Linkov <juri@jurta.org>
8811
8812 * comint.el (comint-previous-matching-input): Don't print message
8813 "History item: %d" when `isearch-mode' is active.
8814 (comint-history-isearch-message): Print message "History item: %d"
8815 when `comint-input-ring-index' is not empty and this function is
8816 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8817
88182013-05-01 Leo Liu <sdl.web@gmail.com>
8819
8820 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8821 definitions. Use completion-at-point to insert keywords.
8822 (octave-abbrev-start): Remove.
8823 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8824
88252013-04-30 Leo Liu <sdl.web@gmail.com>
8826
8827 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8828 change.
8829
88302013-04-30 Alan Mackenzie <acm@muc.de>
8831
8832 Handle arbitrarily long C++ member initialisation lists.
8833 * progmodes/cc-engine.el (c-back-over-member-initializers):
8834 new function.
8835 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8836 (most) member init lists.
8837
88382013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8839
8840 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8841 variable.
8842
88432013-04-30 Leo Liu <sdl.web@gmail.com>
8844
8845 * progmodes/octave.el (octave-variables): Remove. No builtin
8846 variables any more. All converted to functions.
8847 (octave-font-lock-keywords, octave-completion-at-point-function):
8848 Fix uses.
8849 (octave-font-lock-texinfo-comment): New user variable.
8850 (octave-texinfo-font-lock-keywords): New variable for texinfo
8851 comment block.
8852 (octave-function-comment-block): New face.
8853 (octave-font-lock-texinfo-comment): New function.
8854 (octave-mode): Font lock texinfo comment block.
8855
88562013-04-29 Leo Liu <sdl.web@gmail.com>
8857
8858 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8859 indexing expression.
8860 (octave-continuation-string): Do not use \.
8861 (inferior-octave-complete-impossible): Remove.
8862 (inferior-octave-completion-table)
8863 (inferior-octave-completion-at-point): Remove its uses.
8864 (inferior-octave-startup): completion_matches was introduced to
8865 Octave in 1996 so safe to assume it.
8866 (octave-function-file-comment): Improve to follow how Octave does it.
8867 (octave-update-function-file-comment): Tweak.
8868
88692013-04-29 Leo Liu <sdl.web@gmail.com>
8870
8871 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8872 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8873 (octave-function-file-comment): Fix typo.
8874 (octave-sync-function-file-names): Use read-char-choice.
8875
88762013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8877
8878 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8879 to t for the less important warnings.
8880
88812013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8882
8883 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8884
88852013-04-27 Glenn Morris <rgm@gnu.org>
8886
8887 * vc/log-view.el (log-view-current-entry):
8888 Treat "---" separator lines as part of the following rev. (Bug#14169)
8889
88902013-04-27 Juri Linkov <juri@jurta.org>
8891
8892 * subr.el (read-number): Doc fix about using it by interactive
8893 code letter `n'. (Bug#14254)
8894
88952013-04-27 Juri Linkov <juri@jurta.org>
8896
8897 * desktop.el (desktop-auto-save-timeout): New option.
8898 (desktop-file-checksum): New variable.
8899 (desktop-save): Add optional arg `auto-save' and don't auto-save
8900 if nothing changed.
8901 (desktop-auto-save-timer): New variable.
8902 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8903 (after-init-hook): Call `desktop-auto-save-set-timer'.
8904 Suggested by Reuben Thomas <rrt@sc3d.org> in
8905 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8906
89072013-04-27 Leo Liu <sdl.web@gmail.com>
8908
8909 * progmodes/octave.el (octave-function-file-p)
8910 (octave-skip-comment-forward, octave-function-file-comment)
8911 (octave-update-function-file-comment): New functions.
8912 (octave-mode-map): Bind C-c ; to
8913 octave-update-function-file-comment.
8914 (octave-mode-menu): Add octave-update-function-file-comment.
8915 (octave-mode, inferior-octave-mode): Fix doc-string.
8916 (octave-insert-defun): Conform to Octave's coding convention.
8917 (Bug#14285)
8918
8919 * files.el (basic-save-buffer): Don't let errors in
8920 before-save-hook prevent saving buffer.
8921
89222013-04-20 Roland Winkler <winkler@gnu.org>
8923
8924 * faces.el (read-face-name): Use completing-read if arg multiple
8925 is nil.
8926
89272013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8928
8929 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8930 displayed, move point to after the totals line.
8931 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8932 for the details.
8933
89342013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8937 Add current dir to the load-path.
8938 (package-generate-autoloads): Don't rely on
8939 autoload-ensure-default-file.
8940
89412013-04-26 Reuben Thomas <rrt@sc3d.org>
8942
8943 * textmodes/remember.el (remember-store-in-files): Document that
8944 the file name format is passed to `format-time-string'.
8945
89462013-04-26 Leo Liu <sdl.web@gmail.com>
8947
8948 * progmodes/octave.el (octave-sync-function-file-names): New function.
8949 (octave-mode): Use it in before-save-hook.
8950
89512013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8954 (bug#14274).
8955
8956 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8957 \n and comment, even if it's not an implicit ; (bug#14218).
8958
89592013-04-26 Glenn Morris <rgm@gnu.org>
8960
8961 * subr.el (read-number): Once more use `read' rather than
8962 `string-to-number', to trap non-numeric input. (Bug#14254)
8963
89642013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8965
8966 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8967 Use `syntax-multiline' text property consistently instead of
8968 `font-lock-multiline'. (Bug#14237)
8969
89702013-04-26 Glenn Morris <rgm@gnu.org>
8971
8972 * emacs-lisp/shadow.el (list-load-path-shadows):
8973 No longer necessary to check for duplicate simple.el, since
8974 2012-07-07 change to init_lread to not include installation lisp
8975 directories in load-path when running uninstalled. (Bug#14270)
8976
89772013-04-26 Leo Liu <sdl.web@gmail.com>
8978
8979 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8980 (octave-mode, inferior-octave-mode): Use setq-local.
8981 (octave-not-in-string-or-comment-p): Rename to
8982 octave-in-string-or-comment-p.
8983 (octave-in-comment-p, octave-in-string-p)
8984 (octave-in-string-or-comment-p): Replace defsubst with defun.
8985
89862013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8987
8988 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8989
89902013-04-25 Bastien Guerry <bzg@gnu.org>
8991
8992 * textmodes/remember.el (remember-data-directory)
8993 (remember-directory-file-name-format): Fix custom types.
8994
89952013-04-25 Leo Liu <sdl.web@gmail.com>
8996
8997 * progmodes/octave.el (octave-completion-at-point-function):
8998 Make use of inferior octave process.
8999 (octave-initialize-completions): Remove.
9000 (inferior-octave-completion-table): New function.
9001 (inferior-octave-completion-at-point): Use it.
9002 (octave-completion-alist): Remove.
9003
90042013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9007 (opascal-mode-syntax-table): New var.
9008 (opascal-literal-kind, opascal-is-literal-end)
9009 (opascal-literal-token-at): Rewrite.
9010 (opascal--literal-start-re, opascal-font-lock-keywords)
9011 (opascal--syntax-propertize): New constants.
9012 (opascal-font-lock-defaults): Adjust.
9013 (opascal-mode): Use them. Set comment-<foo> variables as well.
9014 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9015 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9016 (delphi-other-face, opascal-other-face): Remove face variables.
9017 (opascal-save-state): Remove macro.
9018 (opascal-fontifying-progress-step): Remove constant.
9019 (opascal--ignore-changes): Remove var.
9020 (opascal-set-token-property, opascal-parse-next-literal)
9021 (opascal-is-stable-literal, opascal-complete-literal)
9022 (opascal-is-literal-start, opascal-face-of)
9023 (opascal-parse-region, opascal-parse-region-until-stable)
9024 (opascal-fontify-region, opascal-after-change)
9025 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9026 (opascal-debug-parse-region, opascal-debug-parse-window)
9027 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9028 (opascal-debug-fontify-buffer): Remove.
9029 (opascal-debug-mode-map): Adjust accordingly.
9030
90312013-04-25 Leo Liu <sdl.web@gmail.com>
9032
9033 Merge octave-mod.el and octave-inf.el into octave.el with some
9034 cleanups.
9035 * progmodes/octave.el: New file renamed from octave-mod.el.
9036 * progmodes/octave-inf.el: Merged into octave.el.
9037 * progmodes/octave-mod.el: Renamed to octave.el.
9038
90392013-04-25 Tassilo Horn <tsdh@gnu.org>
9040
9041 * textmodes/reftex-vars.el
9042 (reftex-label-ignored-macros-and-environments): New defcustom.
9043
9044 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9045
90462013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9049 (smie-indent-keyword): Improve the check to ensure that the next
9050 comment is really on the same line.
9051 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9052
9053 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9054 semi-colons if the line is not otherwise empty (bug#14218).
9055
90562013-04-25 Glenn Morris <rgm@gnu.org>
9057
9058 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9059
90602013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * progmodes/opascal.el (opascal-set-token-property): Rename from
9063 opascal-set-text-properties and only set `token' (bug#14134).
9064 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9065 (opascal-literal-text-properties): Remove.
9066 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9067 Adjust callers.
9068
90692013-04-24 Reuben Thomas <rrt@sc3d.org>
9070
9071 * textmodes/remember.el (remember-handler-functions): Add an
9072 option for a new handler `remember-store-in-files'.
9073 (remember-data-directory, remember-directory-file-name-format):
9074 New options.
9075 (remember-store-in-files): New function to store remember notes
9076 as separate files within a directory.
9077
90782013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9079
9080 * progmodes/compile.el (compilation-next-error-function):
9081 Pass "formats" to compilation-find-file (bug#11777).
9082
90832013-04-24 Glenn Morris <rgm@gnu.org>
9084
9085 * vc/vc-bzr.el (vc-bzr-print-log):
9086 * vc/vc-hg.el (vc-hg-print-log):
9087 * vc/vc-svn.el (vc-svn-print-log):
9088 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9089
9090 * vc/vc-bzr.el (vc-bzr-print-log):
9091 * vc/vc-cvs.el (vc-cvs-print-log):
9092 * vc/vc-git.el (vc-git-print-log):
9093 * vc/vc-hg.el (vc-hg-print-log):
9094 * vc/vc-mtn.el (vc-mtn-print-log):
9095 * vc/vc-rcs.el (vc-rcs-print-log):
9096 * vc/vc-sccs.el (vc-sccs-print-log):
9097 * vc/vc-svn.el (vc-svn-print-log):
9098 * vc/vc.el (vc-print-log-internal): Doc fixes.
9099
91002013-04-23 Glenn Morris <rgm@gnu.org>
9101
9102 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9103 Remove venerable code attempting to avoid substitute-command-keys.
9104
91052013-04-23 Tassilo Horn <tsdh@gnu.org>
9106
9107 * textmodes/reftex-vars.el (reftex-label-regexps):
9108 Call `reftex-compile-variables' after changes to this variable.
9109
91102013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9113 Use lexical-binding.
9114 (jit-lock-force-redisplay): Use markers, check buffer's continued
9115 existence and beware narrowed buffers.
9116 (jit-lock-fontify-now): Adjust call accordingly.
9117
91182013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9119
9120 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9121 to avoid misleading the user.
9122
91232013-04-22 Leo Liu <sdl.web@gmail.com>
9124
9125 * info-look.el: Prefer latex2e.info. (Bug#14240)
9126
91272013-04-22 Michael Albinus <michael.albinus@gmx.de>
9128
9129 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9130
9131 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9132 * net/tramp.el (tramp-call-process): ... here.
9133 (tramp-set-completion-function, tramp-parse-putty):
9134 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9135 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9136 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9137 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9138 (tramp-call-local-coding-command): Use `tramp-call-process'
9139 instead of `tramp-compat-call-process'.
9140
9141 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9142 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9143 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9144 (tramp-find-inline-compress): Improve traces.
9145 (tramp-maybe-send-script): Check for Perl binary.
9146 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9147
91482013-04-22 Daiki Ueno <ueno@gnu.org>
9149
9150 * epg.el (epg-context-pinentry-mode): New function.
9151 (epg-context-set-pinentry-mode): New function.
9152 (epg--start): Pass --pinentry-mode option to gpg command.
9153
91542013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9155
9156 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9157 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9158 `completion-at-point'. (Bug#13774)
9159
9160 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9161 default key binding for `describe-distribution' has been moved to
9162 `C-h C-o'. (Bug#13970)
9163
91642013-04-21 Glenn Morris <rgm@gnu.org>
9165
9166 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9167 Add doc strings.
9168 (vc-print-log): Clarify interactive prompt.
9169
91702013-04-20 Glenn Morris <rgm@gnu.org>
9171
9172 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9173 No longer include timestamp etc information.
9174
91752013-04-20 Roland Winkler <winkler@gnu.org>
9176
9177 * faces.el (read-face-name): Bug fix, return just one face if arg
9178 multiple is nil. (Bug#14209)
9179
91802013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9181
9182 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9183 (remove-function): Autoload.
9184
9185 * comint.el (comint-redirect-original-filter-function): Remove.
9186 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9187 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9188 (vc-cvs-annotate-command):
9189 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9190 * progmodes/prolog.el (prolog-consult-compile):
9191 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9192 Use add/remove-function instead.
9193 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9194 (gud-tooltip-process-output, gud-tooltip-tips):
9195 Use add/remove-function instead.
9196 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9197 (scheme-interaction-mode, exit-scheme-interaction-mode):
9198 Use add/remove-function instead.
9199
9200 * vc/vc-dispatcher.el: Use lexical-binding.
9201 (vc--process-sentinel): Rename from vc-process-sentinel.
9202 Change last arg to be the code to run. Don't use vc-previous-sentinel
9203 and vc-sentinel-commands any more.
9204 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9205 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9206
92072013-04-19 Masatake YAMATO <yamato@redhat.com>
9208
9209 * progmodes/sh-script.el (sh-imenu-generic-expression):
9210 Handle function names with a single character. (Bug#14111)
9211
92122013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9213
9214 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9215 for subroutines defined in an eval (bug#14182).
9216
92172013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9218
9219 * bookmark.el (bookmark-completing-read): Improve handling of empty
9220 string (bug#14176).
9221
92222013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9225
92262013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9227
9228 New faster Imenu implementation (bug#14058).
9229 * progmodes/python.el:
9230 (python-imenu-prev-index-position):
9231 (python-imenu-format-item-label-function)
9232 (python-imenu-format-parent-item-label-function)
9233 (python-imenu-format-parent-item-jump-label-function):
9234 New vars.
9235 (python-imenu-format-item-label)
9236 (python-imenu-format-parent-item-label)
9237 (python-imenu-format-parent-item-jump-label)
9238 (python-imenu--put-parent, python-imenu--build-tree)
9239 (python-imenu-create-index, python-imenu-create-flat-index)
9240 (python-util-popn): New functions.
9241 (python-mode): Set imenu-create-index-function to
9242 python-imenu-create-index.
9243
92442013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9245
9246 * winner.el (winner-active-region): Use region-active-p, activate-mark
9247 and deactivate-mark (bug#14225).
9248
9249 * simple.el (deactivate-mark): Don't inline it.
9250
92512013-04-18 Michael Albinus <michael.albinus@gmx.de>
9252
9253 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9254
92552013-04-18 Tassilo Horn <tsdh@gnu.org>
9256
9257 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9258 file extensions from the archive-mode entry in order to prefer
9259 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9260
92612013-04-18 Leo Liu <sdl.web@gmail.com>
9262
9263 * bindings.el (help-event-list): Add ?\?.
9264
92652013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 * subr.el (with-wrapper-hook): Declare obsolete.
9268 * simple.el (filter-buffer-substring-function): New hook.
9269 (filter-buffer-substring): Use it.
9270 (filter-buffer-substring-functions): Mark obsolete.
9271 * minibuffer.el (completion-in-region-function): New hook.
9272 (completion-in-region): Use it.
9273 (completion-in-region-functions): Mark obsolete.
9274 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9275 * abbrev.el (abbrev-expand-function): New hook.
9276 (expand-abbrev): Use it.
9277 (abbrev-expand-functions): Mark obsolete.
9278 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9279 and :filter-return.
9280
92812013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9282
9283 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9284 and do not care about match data.
9285
92862013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9289 completion tables when completing error conditions and
9290 `declare' arguments.
9291 (lisp-complete-symbol, field-complete): Mark as obsolete.
9292 (check-parens): Unmatched parens are user errors.
9293 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9294
92952013-04-17 Michal Nazarewicz <mina86@mina86.com>
9296
9297 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9298 command changed buffer (ie. `flyspell-pre-buffer' is not current
9299 buffer), which prevents making decisions based on invalid value of
9300 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9301 cause an error when `flyspell-pre-point' was nil after switching
9302 buffers.
9303 (flyspell-post-command-hook): No longer needs to change buffers when
9304 checking pre-word. While at it remove unnecessary progn.
9305
93062013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9307
9308 * textmodes/ispell.el (ispell-add-per-file-word-list):
9309 Fix `flyspell-correct-word-before-point' error when accepting
9310 words and `coment-padding' is an integer by using
9311 `comment-normalize-vars' (Bug #14214).
9312
93132013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9314
9315 New defun movement commands.
9316 * progmodes/python.el (python-nav--syntactically)
9317 (python-nav--forward-defun, python-nav-backward-defun)
9318 (python-nav-forward-defun): New functions.
9319
93202013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9321
9322 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9323 (python-syntax-context): Use named compiler-macro for backwards
9324 compatibility with Emacs 24.x.
9325
93262013-04-17 Leo Liu <sdl.web@gmail.com>
9327
9328 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9329 octave-hide-process-buffer.
9330
93312013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9334 (bug#14216).
9335
93362013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9337
9338 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9339 Fix adjustment of offset when receiving incomplete responses from GDB
9340 (bug#14129).
9341
93422013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9345 python-mode-abbrev-table.
9346 (python-skeleton-define): Adjust accordingly.
9347 (python-mode-abbrev-table): New table that inherits from it so that
9348 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9349
9350 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9351 (abbrev-symbol): Use it.
9352 (abbrev--before-point): Use it since we already handle inheritance.
9353
93542013-04-16 Leo Liu <sdl.web@gmail.com>
9355
9356 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9357 binding to info-lookup-symbol.
9358
93592013-04-16 Juanma Barranquero <lekktu@gmail.com>
9360
9361 * minibuffer.el (completion--twq-all):
9362 * term/ns-win.el (ns-initialize-window-system):
9363 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9364
93652013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9366
9367 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9368 global bindings.
9369
9370 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9371
93722013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9373
9374 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9375 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9376 to nil.
9377 (ruby-end-of-defun): Remove the unused arg, change the docstring
9378 to reflect that this function is only used as the value of
9379 `end-of-defun-function'.
9380 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9381 to reflect an earlier change that beginning/end-of-defun functions
9382 jump between methods in a class definition, as well as top-level
9383 functions.
9384
93852013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * minibuffer.el (minibuffer-complete): Don't just scroll
9388 a *Completions* that's been iconified.
9389 (minibuffer-force-complete): Make sure repetitions do cycle when going
9390 through completion-in-region -> minibuffer-complete.
9391
93922013-04-15 Alan Mackenzie <acm@muc.de>
9393
9394 Correct the placement of c-cpp-delimiters when there're #s not at
9395 col 0.
9396
9397 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9398 place a submatch around the #.
9399 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9400 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9401 on the #, not BOL.
9402
94032013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9406 (advice--member-p): New arg `name'.
9407 (advice--add-function, advice-member-p): Use it (bug#14202).
9408
94092013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9410
9411 Reformulate java imenu-generic-expression.
9412 The old expression contained ill formed regexps.
9413
9414 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9415 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9416 (cc-imenu-java-method-arg-regexp): New defconsts.
9417 (cc-imenu-java-build-type-args-regex): New defun.
9418 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9419 handling of spaces in the regexp.
9420
94212013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9422
9423 * textmodes/ispell.el (ispell-command-loop): Remove
9424 flyspell highlight of a word when ispell accepts it (bug #14178).
9425
94262013-04-15 Michael Albinus <michael.albinus@gmx.de>
9427
9428 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9429 uses code from the previous `ange-ftp-run-real-handler'.
9430 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9431 only in case that function exist. This is needed for proper
9432 unloading of Tramp.
9433
94342013-04-15 Tassilo Horn <tsdh@gnu.org>
9435
9436 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9437
9438 * textmodes/reftex.el (reftex-compile-variables): Use it.
9439
94402013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9441
9442 * files.el (normal-mode): Only use default major-mode if no other mode
9443 was specified.
9444
9445 * emacs-lisp/trace.el (trace-values): New function.
9446
9447 * files.el: Allow : in local variables (bug#14089).
9448 (hack-local-variable-regexp): New var.
9449 (hack-local-variables-prop-line, hack-local-variables): Use it.
9450
94512013-04-13 Roland Winkler <winkler@gnu.org>
9452
9453 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9454 data before it gets modified by bibtex-beginning-of-entry.
9455
94562013-04-13 Roland Winkler <winkler@gnu.org>
9457
9458 * textmodes/bibtex.el (bibtex-url): Doc fix.
9459
94602013-04-13 Roland Winkler <winkler@gnu.org>
9461
9462 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9463 does not visit a BibTeX file, exclude it from the list of buffers
9464 returned by bibtex-initialize.
9465
94662013-04-13 Stephen Berman <stephen.berman@gmx.net>
9467
9468 * window.el (split-window): Remove interactive form, since as a
9469 command this function is a special case of split-window-below.
9470 Correct doc string.
9471
94722013-04-12 Roland Winkler <winkler@gnu.org>
9473
9474 * faces.el (read-face-name): Do not override value of arg default.
9475 Allow single faces and strings as default values. Remove those
9476 elements from return value that are not faces.
9477 (describe-face): Simplify.
9478 (face-at-point): New optional args thing and multiple so that this
9479 function can provide the same functionality previously provided by
9480 read-face-name.
9481 (make-face-bold, make-face-unbold, make-face-italic)
9482 (make-face-unitalic, make-face-bold-italic, invert-face)
9483 (modify-face, read-face-and-attribute): Use face-at-point.
9484
9485 * cus-edit.el (customize-face, customize-face-other-window)
9486 * cus-theme.el (custom-theme-add-face)
9487 * face-remap.el (buffer-face-set)
9488 * facemenu.el (facemenu-set-face): Use face-at-point.
9489
94902013-04-12 Michael Albinus <michael.albinus@gmx.de>
9491
9492 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9493
94942013-04-10 Tassilo Horn <tsdh@gnu.org>
9495
9496 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9497 off leading { and trailing } from field values.
9498
94992013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * emacs-lisp/timer.el (timer--check): New function.
9502 (timer--time, timer-set-function, timer-event-handler): Use it.
9503 (timer-set-idle-time): Simplify.
9504 (timer--activate): CSE.
9505 (timer-event-handler): Give more info in error message.
9506 (internal-timer-start-idle): New function, moved from C.
9507
9508 * mpc.el (mpc-proc): Add `restart' argument.
9509 (mpc-proc-cmd): Use it.
9510 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9511 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9512 less often.
9513
95142013-04-10 Masatake YAMATO <yamato@redhat.com>
9515
9516 * progmodes/sh-script.el: Implement `sh-mode' own
9517 `add-log-current-defun-function' (bug#14112).
9518 (sh-current-defun-name): New function.
9519 (sh-mode): Use the function.
9520
95212013-04-09 Bastien Guerry <bzg@gnu.org>
9522
9523 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9524
95252013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9528
9529 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9530 timer (bug#14156).
9531
95322013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9533
9534 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9535 declaration.
9536
95372013-04-07 Leo Liu <sdl.web@gmail.com>
9538
9539 * pcmpl-x.el: New file.
9540
95412013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9542
9543 Do not set x-display-name until X connection is established.
9544 This is needed to prevent from weird situation described at
9545 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9546 * frame.el (make-frame): Set x-display-name after call to
9547 window system initialization function, not before.
9548 * term/x-win.el (x-initialize-window-system): Add optional
9549 display argument and use it.
9550 * term/w32-win.el (w32-initialize-window-system):
9551 * term/ns-win.el (ns-initialize-window-system):
9552 * term/pc-win.el (msdos-initialize-window-system):
9553 Add compatible optional display argument.
9554
95552013-04-06 Eli Zaretskii <eliz@gnu.org>
9556
9557 * files.el (normal-backup-enable-predicate): On MS-Windows and
9558 MS-DOS compare truenames of temporary-file-directory and of the
9559 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9560 don't fail comparison by compare-strings. Also, compare file
9561 names case-insensitively on MS-Windows and MS-DOS.
9562
95632013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9564
9565 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9566 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9567
95682013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9569
9570 * whitespace.el (whitespace-color-on, whitespace-color-off):
9571 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9572
95732013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9574
9575 * ispell.el (ispell-set-spellchecker-params):
9576 Really set `ispell-args' for all equivs.
9577
95782013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9579
9580 * ido.el (ido-completions): Use extra elements of ido-decorations
9581 (bug#14143).
9582 (ido-decorations): Update docstring.
9583
95842013-04-05 Michael Albinus <michael.albinus@gmx.de>
9585
9586 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9587 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9588 nil during initialization, in order not to miss changes since the
9589 file was opened. (Bug#14140)
9590
95912013-04-05 Leo Liu <sdl.web@gmail.com>
9592
9593 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9594
95952013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9596
9597 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9598
95992013-04-04 Glenn Morris <rgm@gnu.org>
9600
9601 * electric.el (electric-pair-inhibit-predicate): Add :version.
9602
96032013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9604
9605 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9606 when a package is required several times (bug#14082).
9607
96082013-04-04 Roland Winkler <winkler@gnu.org>
9609
9610 * faces.el (read-face-name): Behave as promised by the docstring.
9611 Assume that arg default is a list of faces.
9612 (describe-face): Call read-face-name with list of default faces.
9613
96142013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9615
9616 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9617 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9618 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9619 the header.
9620 (bookmark-exit-hook-internal): Save even if list is empty.
9621
96222013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9623
9624 * emacs-lisp/package.el (package-pinned-packages): New var.
9625 (package--add-to-archive-contents): Obey it (bug#14118).
9626
96272013-04-03 Alan Mackenzie <acm@muc.de>
9628
9629 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9630 Also adapt to the new values of element 7 of a parse state.
9631
9632 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9633 parameter `not-in-delimiter'. Handle being inside comment opener.
9634 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9635 character in case we're typing a '*' after a '/'.
9636 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9637 instead by passing the parameter to c-state-pp-to-literal.
9638
9639 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9640 for elt. 7 of a parse state.
9641
96422013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9643
9644 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9645 * international/latin1-disp.el, international/mule-util.el:
9646 * language/cyril-util.el, language/european.el, language/ind-util.el:
9647 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9648 * language/tibetan.el, language/viet-util.el:
9649 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9650
96512013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9654 (electric-pair-post-self-insert-function): Use it.
9655 (electric-pair-default-inhibit): New function, extracted from
9656 electric-pair-post-self-insert-function.
9657
96582013-03-31 Roland Winkler <winkler@gnu.org>
9659
9660 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9661
96622013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9663
9664 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9665
96662013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9667
9668 Un-indent after "pass" and "return" statements (Bug#13888)
9669 * progmodes/python.el (python-indent-block-enders): New var.
9670 (python-indent-calculate-indentation): Use it.
9671
96722013-03-30 Michael Albinus <michael.albinus@gmx.de>
9673
9674 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9675 defun. Defining it as defalias could introduce too eager
9676 byte-compiler optimization. (Bug#14030)
9677
96782013-03-30 Chong Yidong <cyd@gnu.org>
9679
9680 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9681
96822013-03-30 Leo Liu <sdl.web@gmail.com>
9683
9684 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9685 (kmacro-execute-from-register): Pass the keyboard macro to
9686 kmacro-call-macro or repeating won't work correctly.
9687
96882013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9689
9690 * progmodes/subword.el: Back to using `forward-symbol'.
9691
9692 * subr.el (forward-whitespace, forward-symbol)
9693 (forward-same-syntax): Move from thingatpt.el.
9694
96952013-03-29 Leo Liu <sdl.web@gmail.com>
9696
9697 * kmacro.el (kmacro-to-register): New command.
9698 (kmacro-execute-from-register): New function.
9699 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9700
97012013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * mpc.el: Use defvar-local and setq-local.
9704 (mpc--proc-connect): Connection failures are not bugs.
9705 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9706 (mpc-volume-map): Bind to the up-events.
9707
97082013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9709
9710 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9711 instead of `forward-symbol'.
9712
97132013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9714
9715 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9716 (edebug--recursive-edit): Use it.
9717 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9718 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9719
97202013-03-28 Leo Liu <sdl.web@gmail.com>
9721
9722 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9723
97242013-03-27 Eli Zaretskii <eliz@gnu.org>
9725
9726 * facemenu.el (list-colors-callback): New defvar.
9727 (list-colors-redisplay): New function.
9728 (list-colors-display): Install list-colors-redisplay as the
9729 revert-buffer-function. (Bug#14063)
9730
97312013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9734 and suffixes don't overlap (bug#14061).
9735
9736 * case-table.el: Use lexical-binding.
9737 (case-table-get-table): New function.
9738 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9739
97402013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9741
9742 * progmodes/subword.el: Add `superword-mode' to do word motion
9743 over symbol_words (parallels and leverages `subword-mode' which
9744 does word motion inside MixedCaseWords).
9745
97462013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9747
9748 * eshell/em-unix.el: Move su and sudo to...
9749 * eshell/em-tramp.el: ...Eshell tramp module.
9750
97512013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9754 Change return value to be a sexp. Delay `get-buffer' to after
9755 restoring the desktop (bug#13951).
9756
97572013-03-26 Leo Liu <sdl.web@gmail.com>
9758
9759 * register.el: Move semantic tag handling back to
9760 cedet/semantic/senator.el. (Bug#14052)
9761
97622013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9765 into the prompt either (bug#13963).
9766
97672013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9770 part of "(error-foo)".
9771
97722013-03-24 Juri Linkov <juri@jurta.org>
9773
9774 * replace.el (list-matching-lines-prefix-face): New defcustom.
9775 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9776 `occur-engine' if `face-differs-from-default-p' returns t.
9777 (occur-engine): Add `,' inside backquote construct to evaluate
9778 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9779 Pass `prefix-face' to the functions `occur-context-lines' and
9780 `occur-engine-add-prefix'.
9781 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9782 `prefix-face' and propertize the prefix with `prefix-face'.
9783 (Bug#14017)
9784
97852013-03-24 Leo Liu <sdl.web@gmail.com>
9786
9787 * nxml/rng-valid.el (rng-validate-while-idle)
9788 (rng-validate-quick-while-idle): Guard against deleted buffer.
9789 (Bug#13999)
9790
9791 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9792 is the last entry in kill-buffer-hook.
9793
9794 * files.el (kill-buffer-hook): Doc fix.
9795
97962013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9797
9798 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9799 Make it safe-local.
9800
9801 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9802
98032013-03-23 Leo Liu <sdl.web@gmail.com>
9804
9805 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9806 Remove.
9807
9808 * nxml/rng-valid.el (rng-validate-mode)
9809 (rng-after-change-function, rng-do-some-validation):
9810 * nxml/rng-maint.el (rng-validate-buffer):
9811 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9812 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9813 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9814 (nxml-extend-after-change-region): Use with-silent-modifications.
9815
9816 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9817 timer-idle-list.
9818
9819 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9820 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9821 timer-idle-list. (Bug#13999)
9822
98232013-03-23 Juri Linkov <juri@jurta.org>
9824
9825 * info.el (info-index-match): New face.
9826 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9827 main pattern and add text properties with the new face to matches
9828 in index entries relative to the beginning of the index entry.
9829 (Bug#14015)
9830
98312013-03-21 Eric Ludlam <zappo@gnu.org>
9832
9833 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9834 Inhibit read only while inserting objects.
9835
98362013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9837
9838 * progmodes/cfengine.el: Update docs to mention
9839 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9840 symbol motion. Remove "_" from the word syntax.
9841
98422013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9843
9844 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9845 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9846
98472013-03-20 Juri Linkov <juri@jurta.org>
9848
9849 * info.el (Info-next-reference-or-link)
9850 (Info-prev-reference-or-link): New functions.
9851 (Info-next-reference, Info-prev-reference): Use them.
9852 (Info-try-follow-nearest-node): Handle footnote navigation.
9853 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9854
98552013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9858 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9859
98602013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9861
9862 Suppress unnecessary non-ASCII chatter during build process.
9863 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9864 (batch-skkdic-convert): Suppress most of the chatter.
9865 It's not needed so much now that machines are faster,
9866 and its non-ASCII component was confusing; see Dmitry Gutov in
9867 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9868
98692013-03-20 Leo Liu <sdl.web@gmail.com>
9870
9871 * ido.el (ido-chop): Fix bug#10994.
9872
98732013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9874
9875 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9876 Remove vars.
9877 (whitespace-color-on, whitespace-color-off):
9878 Use `font-lock-fontify-buffer' (Bug#13817).
9879
98802013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9883 remapping in mode-line.
9884 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9885
98862013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9887
9888 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9889 value for `whitespace-line' face (Bug#13875).
9890 (whitespace-font-lock-keywords): Change description.
9891 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9892 the constructed keywords instead.
9893 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9894
98952013-03-19 Leo Liu <sdl.web@gmail.com>
9896
9897 * progmodes/compile.el (compilation-display-error): New command.
9898 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9899 C-o. (Bug#13992)
9900
99012013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9902
9903 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9904
99052013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9906
9907 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9908
99092013-03-18 Michael Albinus <michael.albinus@gmx.de>
9910
9911 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9912
9913 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9914 * net/tramp-gvfs.el (top):
9915 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9916 (tramp-handle-shell-command): Use it.
9917 (tramp-dissect-file-name): Raise an error when hostname is a
9918 method name, and neither method nor user is specified.
9919
9920 * net/trampver.el: Update release number.
9921
99222013-03-18 Leo Liu <sdl.web@gmail.com>
9923
9924 Make sure eldoc can be turned off properly.
9925 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9926 eldoc-mode.
9927 (eldoc-display-message-p): Revert last change.
9928 (eldoc-display-message-no-interference-p)
9929 (eldoc-print-current-symbol-info): Tweak.
9930
99312013-03-18 Tassilo Horn <tsdh@gnu.org>
9932
9933 * doc-view.el (doc-view-new-window-function): Check the new window
9934 overlay's display property instead the char property of the
9935 buffer's first char. Use `with-selected-window' instead of
9936 `save-window-excursion' with `select-window'.
9937 (doc-view-document->bitmap): Check the current doc-view overlay's
9938 display property instead the char property of the buffer's first char.
9939
99402013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9941
9942 Automate the build of ja-dic.el (Bug#13984).
9943 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9944 from the input, rather than assume that it's been done for us by the
9945 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9946 the current date into a ja-dic.el comment, as that complicates
9947 regression testing.
9948
99492013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * whitespace.el: Fix double evaluation.
9952 (whitespace-space, whitespace-hspace, whitespace-tab)
9953 (whitespace-newline, whitespace-trailing, whitespace-line)
9954 (whitespace-space-before-tab, whitespace-indentation)
9955 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9956 obsolete defvars.
9957 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9958 (whitespace-color-on): Use a single font-lock-add-keywords call.
9959 Fix double-evaluation of face variables.
9960
99612013-03-17 Michael Albinus <michael.albinus@gmx.de>
9962
9963 * net/tramp-adb.el (tramp-adb-parse-device-names):
9964 Use `start-process' instead of `call-process'. Otherwise, the
9965 function might be blocked under MS Windows. (Bug#13299)
9966
99672013-03-17 Leo Liu <sdl.web@gmail.com>
9968
9969 Extend eldoc to display info in the mode-line. (Bug#13978)
9970 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9971 (eldoc-mode-line-string): New variable.
9972 (eldoc-minibuffer-message): New function.
9973 (eldoc-message-function): New variable.
9974 (eldoc-message): Use it.
9975 (eldoc-display-message-p)
9976 (eldoc-display-message-no-interference-p):
9977 Support eldoc-post-insert-mode.
9978
9979 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9980 (eval-expression): Run it.
9981
99822013-03-17 Roland Winkler <winkler@gnu.org>
9983
9984 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9985 strings in the list of return values.
9986
99872013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9988
9989 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9990 radix before checking for HMS forms.
9991
99922013-03-16 Leo Liu <sdl.web@gmail.com>
9993
9994 * progmodes/scheme.el: Add indentation and font-locking for λ.
9995 (Bug#13975)
9996
99972013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10000 token before point (bug#13942).
10001
100022013-03-16 Leo Liu <sdl.web@gmail.com>
10003
10004 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10005
100062013-03-16 Eli Zaretskii <eliz@gnu.org>
10007
10008 * startup.el (command-line-normalize-file-name): Fix handling of
10009 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10010 <xfq.free@gmail.com> in
10011 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10012
100132013-03-15 Michael Albinus <michael.albinus@gmx.de>
10014
10015 Sync with Tramp 2.2.7.
10016
10017 * net/trampver.el: Update release number.
10018
100192013-03-14 Tassilo Horn <tsdh@gnu.org>
10020
10021 * doc-view.el: Fix bug#13887.
10022 (doc-view-insert-image): Don't modify overlay associated to
10023 non-live windows, and implement horizontal centering of image in
10024 case it's smaller than the window.
10025 (doc-view-new-window-function): Force redisplay of new windows on
10026 doc-view buffers.
10027
100282013-03-13 Karl Fogel <kfogel@red-bean.com>
10029
10030 * saveplace.el (save-place-alist-to-file): Don't sort
10031 `save-place-alist', just pretty-print it (bug#13882).
10032
100332013-03-13 Michael Albinus <michael.albinus@gmx.de>
10034
10035 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10036 Check whether `default-file-name-coding-system' is bound.
10037 It isn't in XEmacs.
10038
100392013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10042 backquotes for `obsolete' (bug#13929).
10043
10044 * international/mule.el (find-auto-coding): Include file name in
10045 obsolescence warning (bug#13922).
10046
100472013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10048
10049 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10050 for CFEngine 3-specific indentation.
10051 (cfengine3-indent-line): Use it. Fix up category regex.
10052 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10053
100542013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * type-break.el (type-break-file-name):
10057 * textmodes/remember.el (remember-data-file):
10058 * strokes.el (strokes-file):
10059 * shadowfile.el (shadow-initialize):
10060 * saveplace.el (save-place-file):
10061 * ps-bdf.el (bdf-cache-file):
10062 * progmodes/idlwave.el (idlwave-config-directory):
10063 * net/quickurl.el (quickurl-url-file):
10064 * international/kkc.el (kkc-init-file-name):
10065 * ido.el (ido-save-directory-list-file):
10066 * emulation/viper.el (viper-custom-file-name):
10067 * emulation/vip.el (vip-startup-file):
10068 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10069 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10070
100712013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10072
10073 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10074 * language/thai-word.el: Switch to UTF-8.
10075
10076See ChangeLog.16 for earlier changes.
10077
10078;; Local Variables:
10079;; coding: utf-8
10080;; End:
10081
10082 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10083
10084 This file is part of GNU Emacs.
10085
10086 GNU Emacs is free software: you can redistribute it and/or modify
10087 it under the terms of the GNU General Public License as published by
10088 the Free Software Foundation, either version 3 of the License, or
10089 (at your option) any later version.
10090
10091 GNU Emacs is distributed in the hope that it will be useful,
10092 but WITHOUT ANY WARRANTY; without even the implied warranty of
10093 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10094 GNU General Public License for more details.
10095
10096 You should have received a copy of the GNU General Public License
10097 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.