Merge from gnulib, incorporating:
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12013-11-27 Glenn Morris <rgm@gnu.org>
2
3 * international/charprop.el, international/uni-bidi.el:
4 * international/uni-category.el, international/uni-combining.el:
5 * international/uni-comment.el, international/uni-decimal.el:
6 * international/uni-decomposition.el, international/uni-digit.el:
7 * international/uni-lowercase.el, international/uni-mirrored.el:
8 * international/uni-name.el, international/uni-numeric.el:
9 * international/uni-old-name.el, international/uni-titlecase.el:
10 * international/uni-uppercase.el:
11 Remove generated files from VCS repository.
12
132013-11-27 Eli Zaretskii <eliz@gnu.org>
14
15 * filenotify.el (file-notify-add-watch): Don't special-case
16 w32notify when computing the directory to watch.
17
182013-11-27 Glenn Morris <rgm@gnu.org>
19
20 Make bootstrap without generated uni-*.el files possible again.
21 * loadup.el: Update command-line-args checking for unidata-gen.
22 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
23 * composite.el, international/characters.el:
24 Handle unicode tables being undefined.
25
26 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
27 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
28 (compile-main): Depend on leim rule.
29 (leim): New rule.
30 * loadup.el: Move leim-list.el to leim/ subdirectory.
31 * startup.el (normal-top-level): No more leim directory.
32 * international/ja-dic-cnv.el (skkdic-convert):
33 Disable version-control and autoloads in output files.
34 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
35 Disable version-control and autoloads in output files.
36 * leim/quail: Move here from ../leim.
37 * leim/quail/hangul.el (hangul-input-method-activate):
38 Add autoload cookie.
39 (generated-autoload-load-name): Set file-local value.
40 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
41 (generated-autoload-load-name): Set file-local value.
42
432013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
44
45 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
46 (eww-add-bookmark): ask confirmation when add to bookmarks
47 (eww-quit): ask confirmation before quitting eww
48
492013-11-26 Eli Zaretskii <eliz@gnu.org>
50
51 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
52 reading output from Diff on MS-Windows and MS-DOS.
53
542013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
55
56 * emacs-lisp/helpers.el (string-reverse): New function.
57
582013-11-26 Michael Albinus <michael.albinus@gmx.de>
59
60 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
61 names on MS Windows, like "/[::1]:".
62
63 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
64 SWITCHES.
65
662013-11-26 Glenn Morris <rgm@gnu.org>
67
68 * progmodes/python.el (python-indent-guess-indent-offset):
69 Avoid corner-case error. (Bug#15975)
70
71 Preload leim-list.el. (Bug#4789)
72 * loadup.el: Load leim-list.el when found.
73 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
74
752013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
76
77 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
78
79 * emacs-lisp/helpers.el (string-join): New function.
80
812013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
82
83 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
84 Mark as obsolete and replace it with a symbol property.
85 (byte-compile-form): Use new 'interactive-only property.
86 * comint.el, files.el, replace.el, simple.el:
87 Apply new 'interactive-only properly.
88
892013-11-25 Martin Rudalics <rudalics@gmx.at>
90
91 * window.el (display-buffer-at-bottom): Make sure that
92 split-window-sensibly creates the new window on bottom
93 (Bug#15961).
94
952013-11-23 David Kastrup <dak@gnu.org>
96
97 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
98 on the conflict markers when available.
99 (smerge--get-marker): New function.
100 (smerge-end-re, smerge-base-re): Add subgroup.
101
1022013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
103
104 * frame.el (handle-focus-in, handle-focus-out): Add missing
105 interactive spec.
106
1072013-11-25 Michael Albinus <michael.albinus@gmx.de>
108
109 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
110 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
111
1122013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
115 (gomoku--last-pos): New var.
116 (gomoku--intangible-chars): New const.
117 (gomoku--intangible): New function.
118 (gomoku-mode): Use it. Derive from special-mode.
119 (gomoku-move-up): Adjust line count.
120 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
121 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
122 Simplify accordingly.
123
124 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
125 Remove blink-cursor code.
126 (blink-cursor-timer-function, blink-cursor-suspend):
127 Don't special-case GUIs.
128 (blink-cursor-mode): Use focus-in/out-hook.
129
1302013-11-25 Dmitry Gutov <dgutov@yandex.ru>
131
132 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
133 work when annotation is invisible (Bug#13886).
134
1352013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
136
137 * json.el (json-alist-p): Only return non-nil if the alist has
138 simple keys (Bug#13518).
139
1402013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
141
142 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
143 when control-statement is the first statement in a buffer (Bug#15956).
144
1452013-11-24 Dmitry Gutov <dgutov@yandex.ru>
146
147 * imenu.el (imenu-generic-skip-comments-and-strings):
148 New option (Bug#15560).
149 (imenu--generic-function): Use it.
150
1512013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
152
153 * minibuffer.el (completion--in-region-1): Scroll the correct
154 window. (Bug#13898)
155
1562013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
157
158 * emacs-lisp/helpers.el: Add some string helpers.
159 (string-trim-left): Removes leading whitespace.
160 (string-trim-right): Removes trailing whitespace.
161 (string-trim): Removes leading and trailing whitespace.
162
163 * subr.el (string-suffix-p): New function.
164
1652013-11-23 Glenn Morris <rgm@gnu.org>
166
167 * progmodes/python.el (python-shell-send-file):
168 Add option to delete file when done. (Bug#15647)
169 (python-shell-send-string, python-shell-send-region): Use it.
170
1712013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
172
173 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
174 to set buffer-read-only to t, never to nil. (Bug#15938)
175
176 * textmodes/tex-mode.el (latex-noindent-environments):
177 Add safe-local-variable property. (Bug#15936)
178
1792013-11-23 Glenn Morris <rgm@gnu.org>
180
181 * textmodes/enriched.el (enriched-mode): Doc fix.
182 * emacs-lisp/authors.el (authors-renamed-files-alist):
183 Add enriched.doc -> enriched.txt.
184
185 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
186
1872013-11-22 Leo Liu <sdl.web@gmail.com>
188
189 * progmodes/octave.el (inferior-octave-startup): Spit out error
190 message.
191
1922013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
193
194 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
195 Improve docstring.
196 Add :version.
197 (ruby-encoding-magic-comment-style): Add :version.
198
1992013-11-22 Leo Liu <sdl.web@gmail.com>
200
201 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
202 (Bug#15076)
203 (octave-help-mode): Adapt to change to help-mode-finish to use
204 derived-mode-p on 2013-09-17.
205 (inferior-octave-prompt): Also match octave-gui.
206 (octave-kill-process): Don't ask twice. (Bug#10564)
207
2082013-11-22 Leo Liu <sdl.web@gmail.com>
209
210 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
211 (inferior-octave-startup, inferior-octave-check-process)
212 (inferior-octave-track-window-width-change)
213 (octave-completion-at-point, octave-eldoc-function): Use it.
214 (octave-kill-process): Provide confirmation. (Bug#10564)
215
2162013-11-21 Leo Liu <sdl.web@gmail.com>
217
218 * progmodes/octave.el (octave-mode, inferior-octave-mode):
219 Fix obsolete variable comment-use-global-state.
220
2212013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
222
223 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
224 Add `octave-source-file'.
225 (octave-source-file): New function. (Bug#15935)
226
2272013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
228
229 * net/eww.el (eww-local-regex): New variable.
230 (eww): Use it to detect localhost and similar.
231
2322013-11-21 Leo Liu <sdl.web@gmail.com>
233
234 Add completion for command `ag'.
235 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
236 (pcomplete/ag): New function.
237 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
238
2392013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
242 (bug#14646).
243 (make-obsolete): Remove interactive spec.
244
2452013-11-21 Glenn Morris <rgm@gnu.org>
246
247 * startup.el (command-line-1): Use path-separator with -L.
248
2492013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
250
251 * emacs-lisp/package.el (describe-package-1): Add package archive
252 to shown fields.
253
2542013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
255
256 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
257 Change default to "# encoding: %s" to differentiate it from the
258 default Ruby encoding comment template.
259
2602013-11-20 era eriksson <era+emacsbugs@iki.fi>
261
262 * ses.el (ses-mode): Doc fix. (Bug#14748)
263
2642013-11-20 Leo Liu <sdl.web@gmail.com>
265
266 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
267
2682013-11-19 Dan Nicolaescu <dann@gnu.org>
269
270 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
271 when rebase or bisect are in progress.
272
2732013-11-19 Xue Fuqiao <xfq.free@gmail.com>
274
275 * filenotify.el (file-notify-add-watch): Doc fix.
276
2772013-11-19 Leo Liu <sdl.web@gmail.com>
278
279 * obsolete/rcompile.el: Mark obsolete.
280
281 * progmodes/compile.el (compilation-start)
282 (compilation-goto-locus, compilation-find-file):
283 Pass no-display-ok and handle nil value from display-buffer.
284 (Bug#13594)
285
286 * window.el (display-buffer-alist, display-buffer): Document the
287 new parameter no-display-ok.
288
2892013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * electric.el (electric-indent-mode-map): Remove.
292 (electric-indent-mode): Change the global-map instead (bug#15915).
293
294 * textmodes/text-mode.el (paragraph-indent-minor-mode):
295 Use add-function.
296
2972013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * emacs-lisp/nadvice.el (remove-function): Align with
300 add-function's behavior.
301
302 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
303 (gdb--string-regexp): New constant.
304 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
305 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
306 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
307 submatch 1.
308 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
309 Adjust use accordingly.
310 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
311
3122013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
313
314 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
315 interpolation curlies (Bug#15914).
316
3172013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
318
319 * calc/calc.el (calc-context-sensitive-enter): New variable.
320 (calc-enter): Use `calc-context-sensitive-enter'.
321
3222013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
323
324 * progmodes/cfengine.el: Version bump.
325 (cfengine-cf-promises): New defcustom to locate cf-promises.
326 (cfengine3-vartypes): Add new "data" type.
327 (cfengine3--current-word): New function to get current name-like
328 word or its bounds.
329 (cfengine3--current-function): New function to look up a CFEngine
330 function's definition.
331 (cfengine3-format-function-docstring): New function.
332 (cfengine3-make-syntax-cache): New function.
333 (cfengine3-documentation-function): New function: ElDoc glue.
334 (cfengine3-completion-function): New function: completion glue.
335 (cfengine3-mode): Set `compile-command',
336 `eldoc-documentation-function', and add to
337 `completion-at-point-functions'.
338
3392013-11-16 Michael Albinus <michael.albinus@gmx.de>
340
341 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
342 `tramp-current-connection'.
343
3442013-11-15 Dmitry Gutov <dgutov@yandex.ru>
345
346 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
347 nil/self/true/false with "end of symbol".
348
3492013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
350
351 * subr.el (version-regexp-alist): Fix a typo.
352
3532013-11-15 Michael Albinus <michael.albinus@gmx.de>
354
355 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
356 "en_US.utf8" and "LC_CTYPE" to "".
357 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
358 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
359
3602013-11-15 Leo Liu <sdl.web@gmail.com>
361
362 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
363
3642013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
365
366 * progmodes/gud.el (ctl-x-map):
367 Remove C-x SPC binding. (Bug#12342)
368 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
369
3702013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
371
372 * subr.el (version-regexp-alist):
373 Recognize hg, svn and darcs versions as snapshot versions.
374
375 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
376 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
377 (ruby--encoding-comment-required-p): Extract from
378 `ruby-mode-set-encoding'.
379 (ruby-mode-set-encoding): Add the ability to always insert an
380 utf-8 encoding comment. Fix and simplify coding comment update
381 logic.
382
3832013-11-14 Michael Albinus <michael.albinus@gmx.de>
384
385 * net/tramp-gvfs.el (top): Run init code only when
386 `tramp-gvfs-enabled' is not nil.
387 (tramp-gvfs-enabled): Check also :system bus.
388
3892013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 Sync with upstream verilog-mode revision 78e66ba.
392 * progmodes/verilog-mode.el (verilog-end-of-defun)
393 (verilog-type-completion, verilog-get-list): Remove unused funcs.
394 (verilog-get-end-of-defun): Remove unused argument.
395 (verilog-comment-depth): Remove unused local `e'.
396 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
397 Don't pass arg to verilog-get-end-of-defun.
398
3992013-11-14 Glenn Morris <rgm@gnu.org>
400
401 * obsolete/assoc.el (aget): Prefix dynamic variable.
402
403 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
404
4052013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
406
407 * widget.el, hfy-cmap.el: Remove bogus package version number.
408
4092013-11-13 Glenn Morris <rgm@gnu.org>
410
411 * replace.el (replace-eval-replacement):
412 Try to give more helpful error message. (Bug#15836)
413
414 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
415 (archive-7z-update): Avoid custom type mismatches.
416
417 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
418
4192013-11-13 Michael Albinus <michael.albinus@gmx.de>
420
421 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
422 address can be empty.
423
424 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
425 Accept nil SWITCHES.
426 (tramp-gvfs-handle-write-region): Implement APPEND.
427
4282013-11-12 Dmitry Gutov <dgutov@yandex.ru>
429
430 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
431 binary "|" operator and closing block args delimiter.
432 Remove FIXME comment referring to Ruby 1.8-only syntax.
433 (ruby-smie--implicit-semi-p): Not after "|" operator.
434 (ruby-smie--closing-pipe-p): New function.
435 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
436 (ruby-smie-rules): Indent after "|".
437
4382013-11-12 Glenn Morris <rgm@gnu.org>
439
440 * ps-print.el (ps-face-attribute-list):
441 Handle anonymous faces. (Bug#15827)
442
4432013-11-12 Martin Rudalics <rudalics@gmx.at>
444
445 * window.el (display-buffer-other-frame): Fix doc-string.
446 (Bug#15868)
447
4482013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
449
450 * subr.el (force-mode-line-update): Delete, move to buffer.c.
451
4522013-11-11 Michael Albinus <michael.albinus@gmx.de>
453
454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
455 (tramp-sh-handle-file-local-copy): Don't write a message when
456 saving temporary files.
457
458 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
459 both directories are remote.
460 (tramp-smb-handle-directory-files): Do not return double entries.
461 Do not expand full file names.
462 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
463 (tramp-smb-handle-write-region): Implement APPEND.
464 (tramp-smb-get-stat-capability): Fix a stupid bug.
465
4662013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
469
4702013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
471
472 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
473 throwing error over malformed let/let* (bug#15814).
474
4752013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 * iswitchb.el (iswitchb-mode): Mark obsolete.
478
4792013-11-11 Glenn Morris <rgm@gnu.org>
480
481 * international/uni-bidi.el, international/uni-category.el:
482 * international/uni-name.el, international/uni-numeric.el:
483 Regenerate for Unicode 6.3.0.
484
4852013-11-10 Michael Albinus <michael.albinus@gmx.de>
486
487 * net/tramp.el (tramp-methods):
488 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
489 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
490
4912013-11-09 Andreas Schwab <schwab@linux-m68k.org>
492
493 * progmodes/sh-script.el (sh-font-lock-keywords-var):
494 Force highlighting text after Summary keyword in doc face for rpm.
495
4962013-11-09 Dmitry Gutov <dgutov@yandex.ru>
497
498 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
499 available and the word has no wildcards, append one to the grep pattern.
500 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
501 (ispell-complete-word): Call `ispell-lookup-words' with the value
502 independent of `ispell-look-p'.
503
5042013-11-08 Dmitry Gutov <dgutov@yandex.ru>
505
506 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
507 Not after "||".
508 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
509 their parent.
510
5112013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
514 (ruby-font-lock-keywords): Use backquote.
515
5162013-11-08 Dmitry Gutov <dgutov@yandex.ru>
517
518 * progmodes/ruby-mode.el (ruby-smie--forward-token)
519 (ruby-smie--backward-token): Only consider full-string matches.
520
5212013-11-08 Jan Djärv <jan.h.d@swipnet.se>
522
523 * faces.el (describe-face): Add distant-foreground.
524
5252013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
526
527 * progmodes/ruby-mode.el: Improve encoding comment handling.
528 (ruby-encoding-magic-comment-style): New option.
529 (ruby-custom-encoding-magic-comment-template): New option.
530 (ruby--insert-coding-comment, ruby--detect-encoding): New
531 functions extracted from `ruby-mode-set-encoding'.
532 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
533 to control the style of the auto-inserted encoding comment.
534
5352013-11-08 Dmitry Gutov <dgutov@yandex.ru>
536
537 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
538 Use `smie-backward-sexp' with token argument.
539
5402013-11-08 Michael Albinus <michael.albinus@gmx.de>
541
542 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
543 Remove instrumentation code.
544
5452013-11-08 Glenn Morris <rgm@gnu.org>
546
547 * progmodes/autoconf.el (autoconf-mode):
548 Tweak comment-start-skip. (Bug#15822)
549
5502013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
553 at bobp (bug#15826).
554 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
555
5562013-11-08 Darren Hoo <darren.hoo@gmail.com>
557
558 * man.el (Man-start-calling): New macro, extracted from
559 Man-getpage-in-background.
560 (Man-getpage-in-background): Use it.
561 (Man-update-manpage): New command.
562 (Man-mode-map): Bind it.
563
5642013-11-08 Dmitry Gutov <dgutov@yandex.ru>
565
566 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
567 of "and", "or", "&&" and "||".
568 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
569 argument. Prohibit opening curly brace because it could only be a
570 block opener in that position.
571 (ruby-smie--forward-token, ruby-smie--backward-token):
572 Separate "|" from "&" or "*" going after it. That can happen in block
573 arguments.
574 (ruby-smie--indent-to-stmt): New function, seeks the end of
575 previous statement or beginning of buffer.
576 (ruby-smie-rules): Use it.
577 (ruby-smie-rules): Check if there's a ":" before a curly block
578 opener candidate; if there is, it's a hash.
579
5802013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
583 (cl--block-wrapper): Fix last accidental change.
584
5852013-11-07 Michael Albinus <michael.albinus@gmx.de>
586
587 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
588 Instrument, in order to hunt failure on hydra.
589
5902013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
591
592 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
593 malformed bindings form (bug#15814).
594
5952013-11-07 Dmitry Gutov <dgutov@yandex.ru>
596
597 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
598 "." compared to " @ ". This incidentally fixes some indentation
599 examples with "do".
600 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
601 (ruby-smie-grammar): New tokens: "and" and "or".
602 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
603 Exclude "and" and "or". Remove "do" in order to work around token
604 priorities.
605 (ruby-smie-rules): Add all infix tokens. Handle the case of
606 beginning-of-buffer.
607
6082013-11-06 Glenn Morris <rgm@gnu.org>
609
610 * Makefile.in (setwins_almost, setwins_for_subdirs):
611 Avoid accidental matches.
612
6132013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * menu-bar.el (popup-menu): Use key-binding.
616
6172013-11-06 Eli Zaretskii <eliz@gnu.org>
618
619 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
620 menus, support also the menus produced by minor modes.
621 (Bug#15817)
622
6232013-11-06 Leo Liu <sdl.web@gmail.com>
624
625 * thingatpt.el (thing-at-point-looking-at): Add optional arg
626 DISTANCE to bound the search. All uses changed. (Bug#15808)
627
6282013-11-06 Glenn Morris <rgm@gnu.org>
629
630 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
631 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
632 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
633
6342013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * electric.el (electric-indent-just-newline): New command.
637 (electric-indent-mode-map): New keymap.
638 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
639 Re-add :group which weren't redundant.
640
641 * electric.el (electric-indent-local-mode): New minor mode.
642 (electric-indent-functions-without-reindent): New var.
643 (electric-indent-post-self-insert-function): Use it.
644 * emacs-lisp/gv.el (buffer-local-value): Add setter.
645
6462013-11-05 Eli Zaretskii <eliz@gnu.org>
647
648 * international/quail.el (quail-help): Be more explicit about the
649 meaning of the labels shown on the keys. (Bug#15800)
650
651 * startup.el (normal-top-level): Load the subdirs.el files before
652 setting the locale environment. (Bug#15805)
653
6542013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
657 via arguments so as to get the right ones (bug#15418).
658
659 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
660
6612013-11-05 Michael Albinus <michael.albinus@gmx.de>
662
663 Fix problems found while writing a test suite.
664
665 * net/tramp-compat.el (tramp-compat-load): New defun.
666 * net/tramp.el (tramp-handle-load): Use it.
667
668 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
669 "(numberp ok-if-already-exists)" correctly.
670
6712013-11-05 Xue Fuqiao <xfq.free@gmail.com>
672
673 * international/characters.el (glyphless-char-display-control):
674 Add usage note.
675
6762013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
677
678 * progmodes/python.el (python-mode):
679 * progmodes/scheme.el (scheme-mode):
680 * progmodes/prolog.el (prolog-mode):
681 * progmodes/ruby-mode.el (ruby-mode):
682 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
683 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
684
6852013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * rect.el (rectangle--highlight-for-redisplay):
688 * emacs-lisp/smie.el (smie--next-indent-change):
689 Use buffer-chars-modified-tick.
690
691 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
692
693 * electric.el (electric-indent-post-self-insert-function):
694 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
695
6962013-11-04 Helmut Eller <eller.helmut@gmail.com>
697
698 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
699
7002013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
701
702 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
703 (bug#15786).
704
7052013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
708
709 * progmodes/python.el: Fix up last change.
710 (python-shell--save-temp-file): New function.
711 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
712 `string' comes from the current buffer.
713 (python-shell-send-string-no-output): Remove `msg' arg.
714 (python--use-fake-loc): New var.
715 (python-shell-buffer-substring): Obey it. Try to compensate for the
716 extra coding line added by python-shell--save-temp-file.
717 (python-shell-send-region): Use python-shell--save-temp-file and
718 python-shell-send-file directly. Add `nomain' argument.
719 (python-shell-send-buffer): Use python-shell-send-region.
720 (python-electric-pair-string-delimiter): New function.
721 (python-mode): Use it.
722
7232013-11-04 Eli Zaretskii <eliz@gnu.org>
724
725 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
726 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
727 environment and decoding all of the default-directory's to here
728 from command-line.
729 (command-line): Decode also argv[0].
730
731 * loadup.el: Error out if default-directory is a multibyte string
732 when we are dumping.
733
734 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
735
7362013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
737
738 * emacs-lisp/package.el (package-menu-mode)
739 (package-menu--print-info, package-menu--archive-predicate):
740 Add Archive column to package list.
741
7422013-11-04 Michael Albinus <michael.albinus@gmx.de>
743
744 Fix problems found while writing a test suite.
745
746 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
747 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
748 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
749 to nil when running original file name handler. Otherwise,
750 there are problems with constructs like "$$FOO".
751
752 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
753 for `localname'.
754
7552013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
756
757 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
758
759 * subr.el (version<, version<=, version=):
760 Update docstrings with information for snapshot versions.
761
762 * helpers.el: New library for misc helper functions.
763 (hash-table-keys): New function returning a list of hash keys.
764 (hash-table-values): New function returning a list of hash values.
765
7662013-11-04 Dmitry Gutov <dgutov@yandex.ru>
767
768 * progmodes/ruby-mode.el (ruby-smie--forward-token)
769 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
770
7712013-11-04 Michal Nazarewicz <mina86@mina86.com>
772
773 * textmodes/fill.el (fill-single-char-nobreak-p): New function
774 checking whether point is after a 1-letter word.
775
7762013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
777
778 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
779 Don't infloop when expanding region over `multiline' syntax-type that
780 begins a line (bug#15778).
781
7822013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
783
784 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
785 Make it into a proper minor mode.
786 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
787 (rectangle-mark-mode-map): New keymap.
788 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
789
7902013-11-04 Glenn Morris <rgm@gnu.org>
791
792 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
793
7942013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
797 (ruby-smie-rules): Use smie-rule-parent instead.
798
799 * emacs-lisp/smie.el (smie-rule-parent): Always call
800 smie-indent-virtual rather than only for hanging tokens.
801 (smie--next-indent-change): New helper command.
802
8032013-11-03 Glenn Morris <rgm@gnu.org>
804
805 * Makefile.in (abs_srcdir): Remove.
806 (emacs): Unset EMACSLOADPATH.
807
8082013-11-02 Glenn Morris <rgm@gnu.org>
809
810 * Makefile.in (EMACS): Use a relative filename.
811 (abs_top_builddir): Remove.
812 (custom-deps, finder-data, autoloads): Use --chdir.
813
814 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
815
816 Use relative filenames in TAGS files.
817 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
818 (lisptagsfiles4, TAGS): Use relative file names.
819 (TAGS-LISP): Remove.
820 (maintainer-clean): No more TAGS-LISP file.
821
822 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
823 (lisptagsfiles4): Use absolute filenames again.
824 (TAGS, TAGS-LISP): Not everything needs to run in one line.
825 Remove all *loaddefs files, not just the first. Remove esh-groups.
826 (maintainer-clean): Delete TAGS, TAGS-LISP.
827
8282013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
829
830 * emacs-lisp/package.el (package-version-join):
831 Recognize snapshot versions.
832
8332013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
834
835 * subr.el (version-regexp-alist): Add support for snapshot versions.
836
8372013-11-02 Dmitry Gutov <dgutov@yandex.ru>
838
839 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
840 New function, replacement for `smie-rule-parent' for when we want to
841 skip over our direct parent if it's an assignment token..
842 (ruby-smie-rules): Use it.
843
8442013-11-02 Dmitry Gutov <dgutov@yandex.ru>
845
846 * progmodes/ruby-mode.el Use `syntax-propertize-function'
847 unconditionally. Remove now unnecessary forward declarations.
848 Remove XEmacs-specific setup.
849 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
850 (ruby-font-lock-syntactic-keywords)
851 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
852 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
853 (ruby-here-doc-end-syntax): Remove.
854 (ruby-mode): Don't check whether `syntax-propertize-rules' is
855 defined as function.
856
8572013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
858
859 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
860
8612013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
862
863 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
864 table and abbrev table, `define-derived-mode' does that for us
865 anyway.
866
8672013-11-01 Glenn Morris <rgm@gnu.org>
868
869 * Makefile.in: Remove manual mh-e dependencies (writing .elc
870 files is atomic for some time, so no parallel compilation issues).
871
8722013-11-01 Jan Djärv <jan.h.d@swipnet.se>
873
874 * faces.el (face-x-resources): Add :distant-foreground.
875 (region): Use :distant-foreground for gtk and ns.
876
8772013-11-01 Tassilo Horn <tsdh@gnu.org>
878
879 Allow multiple bibliographies when BibLaTeX is used rather than
880 BibTeX.
881 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
882 (reftex-locate-bibliography-files): Us it.
883
8842013-11-01 Claudio Bley <claudio.bley@googlemail.com>
885
886 * image.el (image-type-header-regexps): Fix the 'pbm' part to
887 allow comments in pbm files.
888
889 * term/w32-win.el (dynamic-library-alist): Support newer versions
890 of libjpeg starting with v7: look only for the DLL from the
891 version against which Emacs was built.
892 Support versions of libpng beyond 1.4.x.
893 Support libtiff v4.x.
894
8952013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
896
897 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
898 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
899 Add property :safe.
900 (ruby-deep-arglist): Add property :type.
901
9022013-10-31 Glenn Morris <rgm@gnu.org>
903
904 * Makefile.in (custom-deps, finder-data): No need to setq the target
905 variables, we are in the right directory and the defaults work fine.
906
9072013-10-30 Glenn Morris <rgm@gnu.org>
908
909 * Makefile.in (autoloads): Do not use abs_lisp.
910
911 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
912 `newline' does not respect `standard-output', so use `princ'.
913
9142013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
915
916 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
917 * buff-menu.el (Buffer-menu--unmark): New function.
918 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
919
9202013-10-30 Glenn Morris <rgm@gnu.org>
921
922 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
923
924 * emacs-lisp/package.el (lm-homepage): Declare.
925
926 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
927 Fix doc typos.
928
929 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
930
931 * Makefile.in (finder-data, autoloads, update-subdirs)
932 (compile-main, compile-clean, compile-always, bootstrap-clean):
933 Check return value of cd.
934 (compile-calc): Remove.
935
9362013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
937
938 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
939
940 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
941 (byte-compile-and-folded): New function.
942 (=, <, >, <=, >=): Use it.
943
944 * dos-w32.el (minibuffer-history-case-insensitive-variables)
945 (path-separator, null-device, buffer-file-coding-system)
946 (lpr-headers-switches): Check system-type before modifying them.
947 (find-buffer-file-type-coding-system): Mark obsolete.
948 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
949 find-file-not-found-set-buffer-file-coding-system.
950 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
951 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
952 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
953 (w32-direct-print-region-helper, w32-direct-print-region-function)
954 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
955 * startup.el (normal-top-level-add-subdirs-to-load-path):
956 * ps-print.el (ps-print-region-function):
957 * lpr.el (print-region-function): Use new name.
958
959 * subr.el (custom-declare-variable-early): Remove function.
960 (custom-declare-variable-list): Remove var.
961 (error, user-error): Remove `while' loop.
962 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
963 (user-emacs-directory-warning, locate-user-emacs-file):
964 Move to files.el.
965 * simple.el (read-quoted-char-radix, read-quoted-char):
966 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
967 Move from subr.el.
968 * custom.el (custom-declare-variable-list): Don't process
969 custom-declare-variable-list.
970
971 * progmodes/python.el (python-shell-get-buffer): New function.
972 (python-shell-get-process): Use it.
973 (python-shell-send-string): Always use utf-8 and add a cookie to tell
974 Python which encoding was used. Don't split-string since we only care
975 about the first line. Return the temp-file, if applicable.
976 (python-shell-send-region): Tell compile.el how to turn locations in
977 the temp-file into locations in the source buffer.
978
9792013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * subr.el (undefined): Add missing behavior from the C code for
982 unbound keys.
983
984 * rect.el: Use lexical-binding. Add new rectangular region support.
985 (rectangle-mark): New command.
986 (rectangle--region): New var.
987 (deactivate-mark-hook): Reset rectangle--region.
988 (rectangle--extract-region, rectangle--insert-for-yank)
989 (rectangle--highlight-for-redisplay)
990 (rectangle--unhighlight-for-redisplay): New functions.
991 (region-extract-function, redisplay-unhighlight-region-function)
992 (redisplay-highlight-region-function): Use them to handle
993 rectangular region.
994 * simple.el (region-extract-function): New var.
995 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
996 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
997 (kill-region): Replace obsolete `yank-handler' arg with `region'.
998 (copy-region-as-kill, kill-ring-save): Add `region' argument.
999 (redisplay-unhighlight-region-function)
1000 (redisplay-highlight-region-function): New vars.
1001 (redisplay--update-region-highlight): New function.
1002 (pre-redisplay-function): Use it.
1003 (exchange-point-and-mark): Don't deactivate the mark before
1004 reactivate-it anyway.
1005 * comint.el (comint-kill-region): Remove yank-handler argument.
1006 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1007 (delete-char): Remove property, since it's now part of their
1008 default behavior.
1009 (self-insert-iso): Remove property since this command doesn't exist.
1010
1011 * emacs-lisp/package.el (package--download-one-archive)
1012 (describe-package-1): Don't query the user about final newline.
1013
10142013-10-29 Daniel Colascione <dancol@dancol.org>
1015
1016 * net/tramp.el (tramp-methods): Document new functionality.
1017 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1018 tramp-hostname-checker if method provides one instead of scanning
1019 argument list for "%h" to decide hostname acceptability.
1020
10212013-10-28 Michael Albinus <michael.albinus@gmx.de>
1022
1023 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1024 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1025 Handle COPY-CONTENTS. (Bug#15737)
1026
10272013-10-28 Daiki Ueno <ueno@gnu.org>
1028
1029 * epa-file.el
1030 (epa-file-cache-passphrase-for-symmetric-encryption):
1031 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1032
10332013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1034
1035 * image.el (defimage):
1036 (image-load-path): Doc fixes.
1037
10382013-10-27 Alan Mackenzie <acm@muc.de>
1039
1040 Indent statements in macros following "##" correctly.
1041 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1042 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1043
10442013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1045
1046 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1047
10482013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1049
1050 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1051 after `=' is probably a new expression.
1052
10532013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1054
1055 * man.el (man-imenu-title): New option.
1056 (Man-mode-map): Add menu. (Bug#15722)
1057 (Man-mode): Add imenu to menu.
1058
10592013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1060
1061 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1062 specific in what the first arg can be: a non-keyword word,
1063 string/regexp/percent literal opener, opening paren, or unary
1064 operator followed directly by word.
1065
10662013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1069 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1070 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1071 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1072 Remove vars, they do not apply any more.
1073 (prolog-mode-abbrev-table): Remove redundant declaration.
1074 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1075 (prolog-use-smie): Remove.
1076 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1077 supported by prolog-electric-if-then-else-flag.
1078 (prolog-mode-variables, prolog-menu): Use setq-local.
1079 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1080 Remove binding to `Backspace' since this key doesn't exist anyway.
1081 Remove bindings for electric self-inserting keys.
1082 (prog-mode): Assume it's defined.
1083 (prolog-post-self-insert): New function.
1084 (prolog-mode): Use it.
1085 (prolog-indent-line, prolog-indent-level)
1086 (prolog-find-indent-of-matching-paren)
1087 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1088 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1089 (prolog-goto-next-paren, prolog-in-string-or-comment)
1090 (prolog-tokenize, prolog-inside-mline-comment)
1091 (prolog-find-start-of-mline-comment): Remove functions.
1092 (prolog-find-unmatched-paren, prolog-clause-end)
1093 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1094 (prolog-electric--if-then-else): Rename from
1095 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1096 (prolog-tokenize-searchkey): Remove const.
1097 (prolog-clause-info): Use forward-sexp.
1098 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1099 (prolog-electric-if-then-else): Remove commands.
1100 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1101 for use in post-self-insert-hook.
1102 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1103 for use in post-self-insert-hook.
1104 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1105 for use in post-self-insert-hook.
1106 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1107 adapt it for use in post-self-insert-hook.
1108
11092013-10-25 Michael Albinus <michael.albinus@gmx.de>
1110
1111 * emacs-lisp/ert.el (ert-run-tests-interactively):
1112 Use `completing-read'. (Bug#9756)
1113
11142013-10-25 Eli Zaretskii <eliz@gnu.org>
1115
1116 * simple.el (line-move): Call line-move-1 instead of
1117 line-move-visual when the current window hscroll is zero, but
1118 temporary-goal-column indicates we will need to hscroll as result
1119 of the movement. (Bug#15712)
1120
11212013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1122
1123 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1124 capitalization. Use :visible instead of :active.
1125 Fix `ruby-indent-exp' reference. Add menu items for the generic
1126 commands that are used with SMIE.
1127 (ruby-do-end-to-brace): Insert space after `{'.
1128
11292013-10-25 John Anthony <john@jo.hnanthony.com>
1130
1131 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1132
1133 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1134
11352013-10-25 Glenn Morris <rgm@gnu.org>
1136
1137 * vc/vc.el (vc-print-log): Don't use a working revision unless
1138 one was explicitly specified. (Bug#15322)
1139
11402013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * subr.el (add-to-list): Preserve return value in compiler-macro
1143 (bug#15692).
1144
11452013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1146
1147 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1148 result. Ask user to retry using '-all' flag. (Bug#15701)
1149
11502013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 * emacs-lisp/smie.el: New smie-config system.
1153 (smie-config): New defcustom.
1154 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1155 (smie-config-guess, smie-config-save): New commands.
1156 (smie-config--mode-local, smie-config--buffer-local)
1157 (smie-config--trace, smie-config--modefuns): New vars.
1158 (smie-config--advice, smie-config--mode-hook)
1159 (smie-config--setter, smie-config-local, smie-config--get-trace)
1160 (smie-config--guess-value, smie-config--guess): New functions.
1161 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1162 text properties. Treat "string fence" syntax like string syntax.
1163
1164 * progmodes/sh-script.el (sh-use-smie): Change default.
1165 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1166 (sh-var-value): Simplify by CSE.
1167 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1168 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1169 is used.
1170 (sh-guess-basic-offset): Use cl-incf.
1171 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1172
11732013-10-24 Helmut Eller <eller.helmut@gmail.com>
1174
1175 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1176 (bug#15699).
1177
11782013-10-24 Glenn Morris <rgm@gnu.org>
1179
1180 * Makefile.in (abs_top_srcdir): Remove.
1181 (update-subdirs): Use relative path to update-subdirs.
1182
11832013-10-24 Eli Zaretskii <eliz@gnu.org>
1184
1185 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1186 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1187 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1188 Call unmsys--file-name before expand-file-name, not after it.
1189
11902013-10-24 Michael Albinus <michael.albinus@gmx.de>
1191
1192 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1193 (ert-test-skipped): New error.
1194 (ert-skip, ert-stats-skipped): New defuns.
1195 (ert--skip-unless): New macro.
1196 (ert-test-skipped): New struct.
1197 (ert--run-test-debugger, ert-test-result-type-p)
1198 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1199 (ert--stats-set-test-and-result, ert-char-for-test-result)
1200 (ert-string-for-test-result, ert-run-tests-batch)
1201 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1202 Handle skipped tests. (Bug#9803)
1203
12042013-10-24 Glenn Morris <rgm@gnu.org>
1205
1206 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1207
1208 * Makefile.in (abs_top_srcdir): New, set by configure.
1209 (update-subdirs): Correct build-aux location.
1210
12112013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1212
1213 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1214 value, whether we could auto-deduce `backend', or not.
1215
1216 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1217 with parameters" example. Simplify the "is it block or is it
1218 hash" check, but also make it more thorough.
1219
12202013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1221
1222 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1223
12242013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1227 { if it is hanging.
1228
1229 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1230 :before ";".
1231
12322013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1233
1234 * progmodes/compile.el (compilation-directory-matcher)
1235 (compilation-page-delimiter):
1236 Support GNU Make-4.0 directory quoting. (Bug#15678)
1237
12382013-10-23 Leo Liu <sdl.web@gmail.com>
1239
1240 * ido.el (ido-tidy): Handle read-only text.
1241
12422013-10-23 Glenn Morris <rgm@gnu.org>
1243
1244 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1245 (emacs, compile, compile-always):
1246 Quote entities that might contain whitespace.
1247 (custom-deps, finder-data, autoloads): Use abs_lisp.
1248 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1249 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1250 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1251
12522013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1253
1254 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1255 Use `following-char'.
1256
12572013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1260 * progmodes/ruby-mode.el (ruby-smie-rules):
1261 Remove corresponding workaround. Fix indentation rule of ";" so it
1262 also applies when ";" is the parent.
1263
12642013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1265
1266 * frame.el (display-screens, display-pixel-height)
1267 (display-pixel-width, display-mm-width, display-backing-store)
1268 (display-save-under, display-planes, display-color-cells)
1269 (display-visual-class, display-monitor-attributes-list):
1270 Mention the optional ‘display’ argument in doc strings.
1271
12722013-10-22 Michael Gauland <mikelygee@amuri.net>
1273
1274 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1275 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1276
12772013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1278
1279 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1280 TODO. Add "." after " @ ".
1281 (ruby-smie--at-dot-call): New function. Checks if point at method
1282 call with explicit target.
1283 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1284 to the method name tokens when it precedes them.
1285 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1286 (ruby-smie-rules): Add rule for indentation before and after "."
1287 token.
1288
12892013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * textmodes/remember.el (remember-diary-extract-entries):
1292 Avoid add-to-list.
1293
1294 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1295 an instruction.
1296
12972013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1298
1299 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1300 (ruby-smie--implicit-semi-p): Add new operator chars.
1301
1302 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1303 `smie-down-list'.
1304 (ruby-smie--args-separator-p): Check that there's no newline
1305 between method call and its arguments.
1306
13072013-10-20 Alan Mackenzie <acm@muc.de>
1308
1309 Allow comma separated lists after Java "implements".
1310
1311 * progmodes/cc-engine.el (c-backward-over-enum-header):
1312 Parse commas.
1313 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1314 from a "disallowed" list in enum fontification.
1315
13162013-10-20 Johan Bockgård <bojohan@gnu.org>
1317
1318 * startup.el (default-frame-background-mode): Remove unused defvar.
1319
1320 * progmodes/verilog-mode.el (verilog-mode): Don't set
1321 comment-indent-function globally.
1322
13232013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1324
1325 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1326 Move Info menu item creation to ns-win.el.
1327
1328 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1329 in menu bar.
1330
1331 * menu-bar.el: Move GNUStep specific menus...
1332
1333 * term/ns-win.el (ns-initialize-window-system): ... to here.
1334
13352013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1336
1337 * simple.el (newline): Only run post-self-insert-hook when
1338 called interactively.
1339
13402013-10-19 Johan Bockgård <bojohan@gnu.org>
1341
1342 * icomplete.el (icomplete-with-completion-tables): Add :version.
1343
13442013-10-19 Alan Mackenzie <acm@muc.de>
1345
1346 Fix fontification bugs with constructors and const.
1347
1348 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1349 CASE 2) Remove the check for the absence of a suffix construct
1350 after a function declaration with only types (no identifiers) in
1351 the parentheses. Also, accept a function declaration with just a
1352 type inside the parentheses, if this type can be positively
1353 recognised as such, or if a prefix keyword like "explicit" nails
1354 down the construct as a declaration.
1355
13562013-10-19 Eli Zaretskii <eliz@gnu.org>
1357
1358 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1359 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1360 the problem whereby selecting a menu item that leads to a
1361 minibuffer prompt moves the cursor out of the minibuffer window,
1362 making it hard to type at the prompt. Suggested by Stefan Monnier
1363 <monnier@iro.umontreal.ca>.
1364
13652013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1366
1367 * menu-bar.el: Don't make Services menu.
1368
13692013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1370
1371 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1372 (ffap-alist): Use ffap-c++-mode for c++-mode.
1373 (ffap-c++-path): New variable.
1374 (ffap-c++-mode): New function.
1375
13762013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1377
1378 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1379
13802013-10-18 Michael Albinus <michael.albinus@gmx.de>
1381
1382 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1383 introduced on 2013-09-08, which results in an infinite loop
1384 requesting a password.
1385
13862013-10-18 Glenn Morris <rgm@gnu.org>
1387
1388 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1389
13902013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1391
1392 Sync with upstream verilog-mode revision 1a6ecec7.
1393 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1394 (verilog-mode-release-date): Remove.
1395 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1396 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1397 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1398 (verilog-auto-tieoff-ignore-regexp)
1399 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1400 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1401 (verilog-signals-with, verilog-dir-cache-preserving)
1402 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1403 Doc fixes.
1404 (verilog-case-fold): New option, to control case folding in
1405 regexp searches, bug597.
1406 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1407 (verilog-string-match-fold, verilog-in-paren-count)
1408 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1409 (verilog-at-close-struct-p): New functions.
1410 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1411 (verilog-forward-sexp, verilog-set-auto-endcomments):
1412 (verilog-leap-to-case-head): Handle "unique0" case.
1413 (verilog-in-constraint-re): New constant.
1414 (verilog-keywords, verilog-type-font-keywords):
1415 Add some SystemVerilog 1800-2012 keywords.
1416 (verilog-label-be): Remove unimplemented argument, bug669.
1417 (verilog-batch-execute-func): When batch expanding clear
1418 create-lockfiles to prevent spurious user locks when a file ends
1419 up not changing.
1420 (verilog-calculate-indent, verilog-calc-1)
1421 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1422 (verilog-do-indent): Fix indentation of nested constraints
1423 and structures.
1424 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1425 (verilog-auto-inst-param): Use verilog-string-match-fold.
1426 (verilog-read-inst-module-matcher):
1427 Fix AUTOINST on gate primitives with #1.
1428 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1429 Reads all user-defined typed variables.
1430 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1431 (verilog-signals-matching-regexp)
1432 (verilog-signals-not-matching-regexp, verilog-auto):
1433 Respect verilog-case-fold.
1434 (verilog-diff-report): Fix line count.
1435 (verilog-auto-assign-modport): Remove unused local `modi'.
1436 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1437 better handle multidimensional arrays.
1438 Fix packed array ports misadding bit index in AUTOINST, bug637.
1439 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1440 to not double-declare existing outputs and inputs, respectively.
1441 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1442 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1443 (verilog-sk-uvm-component): New skeleton.
1444 (verilog-submit-bug-report): Add verilog-case-fold,
1445 remove verilog-mode-release-date.
1446
14472013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1448
1449 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1450 as before.
1451
14522013-10-18 Reuben Thomas <rrt@sc3d.org>
1453
1454 * textmodes/remember.el (remember): set buffer-offer-save in
1455 remember buffers (bug#13566).
1456
14572013-10-18 Daniel Colascione <dancol@dancol.org>
1458
1459 When evaluating forms in ielm, direct standard output to ielm
1460 buffer. Add new ielm-return-for-effect command. Remove trailing
1461 whitespace throughout.
1462
1463 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1464 (ielm-return-for-effect): New command.
1465 (ielm-send-input): Accept optional `for-effect' parameter.
1466 (ielm-eval-input): Accept optional `for-effect' parameter.
1467 Bind `standard-output' to stream we create using
1468 `ielm-standard-output-impl'. Suppress printing result when
1469 `for-effect'.
1470 (ielm-standard-output-impl): New function.
1471 (inferior-emacs-lisp-mode): Explain new features in documentation.
1472
14732013-10-17 Michael Albinus <michael.albinus@gmx.de>
1474
1475 Code cleanup.
1476
1477 * net/tramp.el (tramp-debug-message): Do not check for connection
1478 buffer.
1479 (tramp-message): Use "vector" connection property.
1480
1481 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1482 (tramp-equal-remote, tramp-eshell-directory-change)
1483 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1484 (tramp-adb-handle-rename-file)
1485 * net/tramp-cmds.el (tramp-list-remote-buffers)
1486 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1487 * net/tramp-compat.el (tramp-compat-process-running-p)
1488 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1489 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1490 (tramp-gvfs-handle-rename-file)
1491 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1492 (tramp-set-file-uid-gid)
1493 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1494 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1495 of `file-remote-p'.
1496
1497 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1498 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1499 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1500 (tramp-gw-open-network-stream): Suppress unrelated traces.
1501
1502 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1503 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1504 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1505 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1506 connection property.
1507
1508 * net/tramp-cache.el (top): Suppress traces when reading
1509 persistency file.
1510
1511 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1512 Refactor common code. Improve debug message.
1513 (tramp-maybe-open-connection)
1514 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1515 connection buffer too early.
1516
1517 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1518 from `tramp-smb-actions-with-acl'.
1519 (tramp-smb-actions-set-acl): New defconst.
1520 (tramp-smb-handle-copy-directory)
1521 (tramp-smb-action-get-acl): New defun, renamed from
1522 `tramp-smb-action-with-acl'.
1523 (tramp-smb-action-set-acl): New defun.
1524 (tramp-smb-handle-set-file-acl): Rewrite.
1525
15262013-10-17 Glenn Morris <rgm@gnu.org>
1527
1528 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1529
15302013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * skeleton.el (skeleton-newline): Remove.
1533 (skeleton-internal-1): Use (insert "\n") instead.
1534
1535 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1536 let-bindings.
1537
1538 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1539 forward-sexp-function while we redo its job (bug#15613).
1540
15412013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1542
1543 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1544 represented by lists.
1545
15462013-10-16 Glenn Morris <rgm@gnu.org>
1547
1548 * tmm.el (tmm--history): New dynamic variable.
1549 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1550
15512013-10-16 Michael Albinus <michael.albinus@gmx.de>
1552
1553 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1554 (tramp-smb-errors): Add error messages.
1555 (tramp-smb-actions-with-acl): New defconst.
1556 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1557 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1558 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1559 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1560 (tramp-smb-get-stat-capability): Fix tests.
1561
15622013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1563
1564 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1565 (bug#15580).
1566
15672013-10-16 Glenn Morris <rgm@gnu.org>
1568
1569 * ansi-color.el (ansi-color-drop-regexp):
1570 Add 1J, 1K, 2K. (Bug#15617)
1571
1572 * files.el (hack-local-variables--warned-lexical): New.
1573 (hack-local-variables):
1574 Warn about misplaced lexical-binding. (Bug#15616)
1575
1576 * net/eww.el (eww-render): Always set eww-current-url,
1577 and update header line. (Bug#15622)
1578 (eww-display-html): ... Rather than just doing it here.
1579
15802013-10-15 Eli Zaretskii <eliz@gnu.org>
1581
1582 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1583 menu navigations commands.
1584
15852013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1586
1587 * progmodes/subword.el (subword-capitalize): Be careful when
1588 the search for [[:alpha:]] fails (bug#15580).
1589
15902013-10-14 Eli Zaretskii <eliz@gnu.org>
1591
1592 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1593 to commands that scroll the menu.
1594
15952013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1596
1597 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1598 Handle methods ending with `?' and `!'.
1599
16002013-10-14 Akinori MUSHA <knu@iDaemons.org>
1601
1602 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1603 `japanese-cp932' to `cp932' to fix the problem where saving a
1604 source file written in Shift_JIS twice would end up having
1605 `coding: japanese-cp932' which Ruby could not recognize.
1606 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1607 in `ruby-encoding-map'.
1608 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1609 doesn't need to be explicitly declared in magic comment.
1610 (ruby-encoding-map): Add type declaration for better customize UI.
1611
16122013-10-13 Glenn Morris <rgm@gnu.org>
1613
1614 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1615 Occur buffers are read-only. http://bugs.debian.org/720775
1616
1617 * emacs-lisp/authors.el (authors-fixed-entries):
1618 Comment out old alpha stuff.
1619
16202013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1621
1622 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1623 to `after-save-hook' instead of `before-save-hook'.
1624 (ruby-mode-set-encoding): Use the value of coding system used to
1625 write the file. Call `basic-save-buffer-1' after modifying the
1626 buffer.
1627
16282013-10-13 Alan Mackenzie <acm@muc.de>
1629
1630 Fix indentation/fontification of Java enum with
1631 "implements"/generic.
1632
1633 * progmodes/cc-engine.el (c-backward-over-enum-header):
1634 Extracted from the three other places and enhanced to handle generics.
1635 (c-inside-bracelist-p): Uses new function above.
1636 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1637 function above.
1638 (c-font-lock-enum-tail): Uses new function above.
1639
16402013-10-13 Kenichi Handa <handa@gnu.org>
1641
1642 * international/mule-cmds.el (select-safe-coding-system): Remove a
1643 superfluous condition in chekcing whether a coding system is safe
1644 or not.
1645
16462013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1647
1648 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1649
16502013-10-13 Andreas Politz <politza@hochschule-trier.de>
1651
1652 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1653
16542013-10-13 Glenn Morris <rgm@gnu.org>
1655
1656 * menu-bar.el (menu-bar-update-buffers):
1657 Unify Buffers menu prompt string. (Bug#15576)
1658
1659 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1660
1661 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1662 Add some entries.
1663 (authors-fixed-entries): Use accented form of name.
1664
16652013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1668 method calls (bug#15594).
1669 (ruby-smie--args-separator-p): New function.
1670 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1671 recognize paren-free method calls.
1672
1673 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1674 internals of universal-argument.
1675
16762013-10-11 Eli Zaretskii <eliz@gnu.org>
1677
1678 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1679 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1680 dropped menu on second mouse click on the menu bar.
1681
16822013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1685 (explicit-shell-file-name): Declare.
1686 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1687 (sh-completion-at-point-function): New function.
1688 (sh-mode): Use it.
1689 (sh-smie--keyword-p): Remove unused argument.
1690 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1691 vars.
1692 (sh-set-shell): Always setup SMIE, even if we use the
1693 old indentation code.
1694
16952013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1696
1697 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1698 cases of ? and =.
1699 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1700 predicate would return nil are almost non-existent.
1701 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1702
1703 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1704 cache also after commands that modify the buffer but don't move
1705 point.
1706
17072013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * env.el (substitute-env-in-file-name): New function.
1710 (substitute-env-vars): Extend the meaning of the optional arg.
1711
17122013-10-10 Eli Zaretskii <eliz@gnu.org>
1713
1714 * term/w32-win.el (dynamic-library-alist): Define separate lists
1715 of GIF DLLs for versions before and after 5.0.0 of giflib.
1716 (Bug#15531)
1717
17182013-10-10 João Távora <joaotavora@gmail.com>
1719
1720 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1721 not locked, use last revision and current source as
1722 defaults. (Bug#15569)
1723
17242013-10-10 Masatake YAMATO <yamato@redhat.com>
1725
1726 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1727 menu-bar is hidden.
1728
17292013-10-10 Martin Rudalics <rudalics@gmx.at>
1730
1731 * window.el (pop-to-buffer-same-window): Fix doc-string.
1732 (Bug#15492)
1733
17342013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1737
17382013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1739
1740 * calendar/icalendar.el (icalendar-import-file):
1741 Fix interactive spec. (Bug#15482)
1742
17432013-10-10 Glenn Morris <rgm@gnu.org>
1744
1745 * desktop.el (desktop-save): Default to saving in .emacs.d,
1746 since PWD is no longer in desktop-path by default. (Bug#15319)
1747
1748 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1749 now that text mode has a menu with the same entry.
1750 (menu-bar-text-mode-auto-fill): Remove now unused func.
1751 * textmodes/text-mode.el (text-mode-map):
1752 Use auto-fill help text from menu-bar.el.
1753
17542013-10-10 John Anthony <john@jo.hnanthony.com>
1755
1756 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1757
17582013-10-09 Juri Linkov <juri@jurta.org>
1759
1760 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1761 instead of this-command-keys. Add universal-argument-more and
1762 universal-argument-minus to the list of prefix commands. (Bug#15568)
1763
17642013-10-09 Glenn Morris <rgm@gnu.org>
1765
1766 * vc/vc-svn.el (vc-svn-create-repo):
1767 Expand paths in file://... url. (Bug#15446)
1768
1769 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1770 Add some entries.
1771 (authors): Remove unused local variables.
1772
17732013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * profiler.el: Create a more coherent calltree from partial backtraces.
1776 (profiler-format): Hide the tail with `invisible' so that C-s can still
1777 find the hidden elements.
1778 (profiler-calltree-depth): Don't recurse so enthusiastically.
1779 (profiler-function-equal): New hash-table-test.
1780 (profiler-calltree-build-unified): New function.
1781 (profiler-calltree-build): Use it.
1782 (profiler-report-make-name-part): Indent the calltree less.
1783 (profiler-report-mode): Add visibility specs for profiler-format.
1784 (profiler-report-expand-entry, profiler-report-toggle-entry):
1785 Expand the whole subtree when provided with a prefix arg.
1786
17872013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1788
1789 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1790 iuwu-mod token.
1791 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1792 hanging iuwu-mod token.
1793 (ruby-smie--forward-token): Do not include a dot after a token in
1794 that token.
1795 (ruby-smie--backward-token): Likewise.
1796
17972013-10-08 Juri Linkov <juri@jurta.org>
1798
1799 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1800 to isearch-other-control-char.
1801 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1802 and isearch-post-command-hook to post-command-hook.
1803 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1804 and isearch-post-command-hook from post-command-hook.
1805 (isearch-unread-key-sequence)
1806 (isearch-reread-key-sequence-naturally)
1807 (isearch-lookup-scroll-key, isearch-other-control-char)
1808 (isearch-other-meta-char): Remove functions.
1809 (isearch-pre-command-hook, isearch-post-command-hook):
1810 New functions based on isearch-other-meta-char rewritten
1811 relying on the new behavior of overriding-terminal-local-map
1812 that does not replace the local keymaps any more. (Bug#15200)
1813
18142013-10-08 Eli Zaretskii <eliz@gnu.org>
1815
1816 Support menus on text-mode terminals.
1817 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1818 functionality.
1819
1820 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1821
1822 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1823 Move here from mouse.el.
1824 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1825 and arrow keys.
1826 (tty-menu-navigation-map): New map for TTY menu navigation.
1827
1828 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1829
1830 * frame.el (display-mouse-p): Report text-mode mouse as available
1831 on w32.
1832 (display-popup-menus-p): Report availability if mouse is
1833 available; don't condition on window-system.
1834
1835 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1836 (tty-menu-selected-face): New faces.
1837
18382013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1841 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1842 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1843 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1844 New constants.
1845 (lisp-mode-variables): New `elisp' argument.
1846 (emacs-lisp-mode): Use it.
1847 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1848 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1849
1850 * indent.el: Use lexical-binding.
1851 (indent-region): Add progress reporter.
1852 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1853 last step.
1854 (indent--next-tab-stop): New function to implement this behavior.
1855 (tab-to-tab-stop, move-to-tab-stop): Use it.
1856
18572013-10-08 Teemu Likonen <tlikonen@iki.fi>
1858
1859 * indent.el (indent-rigidly--current-indentation): New function.
1860 (indent-rigidly-map): New var.
1861 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1862
18632013-10-08 Bastien Guerry <bzg@gnu.org>
1864
1865 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1866
18672013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * progmodes/perl-mode.el: Use lexical-binding.
1870 Remove redundant :group args.
1871 (perl-nochange): Change default to be closer to other major modes's
1872 standard behavior.
1873 (perl-indent-line): Don't consider text on current line as a
1874 valid beginning of function from which to indent.
1875
1876 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1877 with more than one argument (bug#15538).
1878
1879 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1880
1881 * vc/pcvs.el: Use lexical-binding.
1882 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1883 environment of `eval'.
1884 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1885 than a list of expressions. Adjust callers.
1886 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1887
18882013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1891 case of the dot in a chained method call being on the following line.
1892
18932013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1894
1895 * electric.el (electric-indent-inhibit): New var.
1896 (electric-indent-post-self-insert-function): Use it.
1897 * progmodes/python.el (python-mode): Set it.
1898
1899 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1900 open braces.
1901
1902 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1903
1904 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1905 (css-mode): Use electric-indent-chars.
1906
1907 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1908 (font-lock-beg, font-lock-end): Move before first use.
1909 (nxml-mode): Use syntax-propertize-function.
1910 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1911 (nxml-extend-after-change-region): Remove.
1912 * nxml/xmltok.el: Use lexical-binding.
1913 (xmltok-save): Use `declare'.
1914 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1915 * nxml/nxml-util.el: Use lexical-binding.
1916 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1917 Use `declare'.
1918 * nxml/nxml-ns.el: Use lexical-binding.
1919 (nxml-ns-save): Use `declare'.
1920 (nxml-ns-prefixes-for): Avoid add-to-list.
1921 * nxml/rng-match.el: Use lexical-binding.
1922 (rng--ipattern): Use cl-defstruct.
1923 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1924 (rng-cons-group-after, rng-subst-group-after)
1925 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1926 Use closures instead of `(lambda...).
1927
19282013-10-07 Michael Albinus <michael.albinus@gmx.de>
1929
1930 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1931 of BEG and END.
1932
1933 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1934 Use `tramp-handle-insert-file-contents'.
1935 (tramp-gvfs-handle-insert-file-contents): Remove function.
1936
1937 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1938 Use `save-restriction' in order to keep markers.
1939
1940 * net/trampver.el: Update release number.
1941
19422013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * progmodes/compile.el (compilation-parse-errors):
1945 Use compilation--put-prop.
1946 (compilation--ensure-parse): Check compilation-multiline.
1947
1948 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1949
1950 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1951 lexical-binding.
1952
1953 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1954
1955 * progmodes/ruby-mode.el: Fix recently added tests.
1956 (ruby-smie-grammar): Add - and +.
1957 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1958 (ruby-smie--backward-id): New functions.
1959 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1960 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1961 any more.
1962
19632013-10-07 Leo Liu <sdl.web@gmail.com>
1964
1965 * register.el (register-preview-delay)
1966 (register-preview-functions): New variables.
1967 (register-read-with-preview, register-preview)
1968 (register-describe-oneline): New functions.
1969 (point-to-register, window-configuration-to-register)
1970 (frame-configuration-to-register, jump-to-register)
1971 (number-to-register, view-register, insert-register)
1972 (copy-to-register, append-to-register, prepend-to-register)
1973 (copy-rectangle-to-register): Use register-read-with-preview to
1974 read register. (Bug#15525)
1975
19762013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1977
1978 * net/network-stream.el (network-stream-open-starttls): Don't add
1979 --insecure if it's already present, because that gnutls-cli
1980 rejects getting that parameter twice.
1981
19822013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1983
1984 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1985 keyword, too.
1986
19872013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1988
1989 * newcomment.el (comment-use-global-state): Change default value
1990 to t, mark obsolete (Bug#15251).
1991 (comment-beginning): In addition to `comment-to-syntax', check the
1992 value of `comment-use-global-state'.
1993
19942013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1997 (ruby-comment-column): Follow the global default, by default.
1998 (ruby-smie-grammar): Add assignment syntax.
1999 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2000 open-paren, a comma, or a \.
2001 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2002 and line continuations.
2003 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2004 followed by implicit semi-colons. Add rule for string concatenation
2005 and for indentation at BOB.
2006 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2007
2008 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2009 calling next-sexp, since next-token may have skipped chars which
2010 next-sexp doesn't know should be skipped!
2011
20122013-10-05 Leo Liu <sdl.web@gmail.com>
2013
2014 * progmodes/octave.el (octave-send-region):
2015 Call compilation-forget-errors.
2016
20172013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2018
2019 * vc/vc-svn.el (vc-svn-find-admin-dir):
2020 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2021 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2022 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2023 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2024
20252013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2027 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2028
20292013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * subr.el (read-passwd): Hide chars even when called within a context
2032 where after-change-functions is disabled (bug#15501).
2033 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2034 until we removed ourself from overriding-terminal-local-map.
2035
20362013-10-04 Leo Liu <sdl.web@gmail.com>
2037
2038 * progmodes/octave.el (inferior-octave-mode):
2039 Call compilation-forget-errors.
2040
20412013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2042
2043 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2044
20452013-10-04 Michael Albinus <michael.albinus@gmx.de>
2046
2047 * net/secrets.el (secrets-create-collection): Add optional
2048 argument ALIAS. Use proper Label keyword. Append ALIAS as
2049 dbus-call-method argument. (Bug#15516)
2050
20512013-10-04 Leo Liu <sdl.web@gmail.com>
2052
2053 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2054 (inferior-octave-compilation-font-lock-keywords): New variables.
2055 (compilation-error-regexp-alist)
2056 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2057 (inferior-octave-mode): Use compilation-shell-minor-mode.
2058
20592013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2060
2061 * minibuffer.el (completion--replace): Be careful that `end' might be
2062 a marker.
2063
20642013-10-03 Daiki Ueno <ueno@gnu.org>
2065
2066 Add support for package signature checking.
2067 * emacs-lisp/package.el (url-http-file-exists-p)
2068 (epg-make-context, epg-context-set-home-directory)
2069 (epg-verify-string, epg-context-result-for)
2070 (epg-signature-status, epg-signature-to-string)
2071 (epg-check-configuration, epg-configuration)
2072 (epg-import-keys-from-file): Declare.
2073 (package-check-signature): New user option.
2074 (package-unsigned-archives): New user option.
2075 (package-desc): Add `signed' field.
2076 (package-load-descriptor): Set `signed' field if .signed file exists.
2077 (package--archive-file-exists-p): New function.
2078 (package--check-signature): New function.
2079 (package-install-from-archive): Check package signature.
2080 (package--download-one-archive): Check archive signature.
2081 (package-delete): Remove .signed file.
2082 (package-import-keyring): New command.
2083 (package-refresh-contents): Import default keyring.
2084 (package-desc-status): Add "unsigned" status.
2085 (describe-package-1, package-menu--print-info)
2086 (package-menu-mark-delete, package-menu--find-upgrades)
2087 (package-menu--status-predicate): Support "unsigned" status.
2088
20892013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2092 the new compilation scheme using the new byte-codes.
2093
2094 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2095 (byte-pophandler): New byte codes.
2096 (byte-goto-ops): Adjust accordingly.
2097 (byte-compile--use-old-handlers): New var.
2098 (byte-compile-catch): Use new byte codes depending on
2099 byte-compile--use-old-handlers.
2100 (byte-compile-condition-case--old): Rename from
2101 byte-compile-condition-case.
2102 (byte-compile-condition-case--new): New function.
2103 (byte-compile-condition-case): New function that dispatches depending
2104 on byte-compile--use-old-handlers.
2105 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2106 when we can.
2107
2108 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2109 Optimize under `condition-case' and `catch' if
2110 byte-compile--use-old-handlers is nil.
2111 (disassemble-offset): Handle new bytecodes.
2112
21132013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * subr.el (error): Use `declare'.
2116 (decode-char, encode-char): Use advertised-calling-convention instead
2117 of the docstring to discourage use of the `restriction' arg.
2118
21192013-10-03 Daiki Ueno <ueno@gnu.org>
2120
2121 * epg.el (epg-verify-file): Add a comment saying that it does not
2122 notify verification error as a return value nor a signal.
2123 (epg-verify-string): Ditto.
2124
21252013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2126
2127 * progmodes/compile.el (compilation-start): Try globbing the arg to
2128 `cd' (bug#15417).
2129
21302013-10-02 Michael Albinus <michael.albinus@gmx.de>
2131
2132 Sync with Tramp 2.2.8.
2133
2134 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2135 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2136 * net/trampver.el: Update release number.
2137
21382013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2139
2140 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2141 and default-process-coding-system for darwin only.
2142
21432013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2146
21472013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2148
2149 * vc/vc-git.el (vc-git-grep): Disable pager.
2150
21512013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2152
2153 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2154 Use :url instead of :homepage, as per
2155 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2156
2157 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2158 non-nil, use `syntax-ppss' (Bug#15251).
2159
21602013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2161
2162 * progmodes/octave.el (inferior-octave-startup-file):
2163 Prefer ~/.emacs.d/init_octave.m.
2164
21652013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2166
2167 * emacs-lisp/package.el (package-desc-from-define):
2168 Accept additional arguments as plist, convert them to an alist and store
2169 them in the `extras' slot.
2170 (package-generate-description-file): Convert extras alist back to
2171 plist and append to the `define-package' form arguments.
2172 (package--alist-to-plist): New function.
2173 (package--ac-desc): Add `extras' slot.
2174 (package--add-to-archive-contents): Check if the archive-contents
2175 vector is long enough, and if it is, pass its `extras' slot value
2176 to `package-desc-create'.
2177 (package-buffer-info): Call `lm-homepage', pass the returned value
2178 to `package-desc-from-define'.
2179 (describe-package-1): Render the homepage button (Bug#13291).
2180
2181 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2182 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2183
21842013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2185
2186 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2187 and default-process-coding-system to utf-8-unix (Bug#15402).
2188
21892013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2190
2191 * subr.el (looking-back): Do not recommend using looking-back.
2192
21932013-09-28 Alan Mackenzie <acm@muc.de>
2194
2195 Fix indentation/fontification of Java enum with "implements".
2196
2197 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2198 regexp which matches "implements", etc., in Java.
2199 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2200 specifier clauses coming after "enum".
2201 * progmodes/cc-fonts.el (c-font-lock-declarations)
2202 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2203 after "enum".
2204
22052013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2206
2207 * faces.el (region): Change ns_selection_color to
2208 ns_selection_fg_color, add ns_selection_bg_color.
2209
22102013-09-28 Leo Liu <sdl.web@gmail.com>
2211
2212 * progmodes/octave.el (inferior-octave-completion-table)
2213 (inferior-octave-completion-at-point): Minor tweaks.
2214
2215 * textmodes/ispell.el (ispell-lookup-words): Rename from
2216 lookup-words. (Bug#15460)
2217 (lookup-words): Obsolete.
2218 (ispell-complete-word, ispell-command-loop): All uses changed.
2219
22202013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2221
2222 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2223 (octave-mode-menu): Add octave-send-buffer.
2224 (octave-send-buffer): New function.
2225
22262013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2227
2228 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2229 octave-lookfor.
2230 (octave-mode-menu): Add octave-lookfor.
2231 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2232 octave-lookfor.
2233 (octave-lookfor): New function.
2234
22352013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * emacs-lisp/cl-macs.el:
2238 (cl--loop-destr-temps): Remove.
2239 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2240 its convention.
2241 (cl--loop-set-iterator-function): New function.
2242 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2243 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2244 Bind `it' with `let' instead of substituting it with `cl-subst'.
2245 (cl--unused-var-p): New function.
2246 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2247 Eliminate some unused variable warnings (bug#15326).
2248
22492013-09-27 Tassilo Horn <tsdh@gnu.org>
2250
2251 * doc-view.el (doc-view-scale-reset): Rename from
2252 `doc-view-reset-zoom-level'.
2253 (doc-view-scale-adjust): New command.
2254 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2255 `doc-view-scale-adjust'.
2256
22572013-09-26 Tassilo Horn <tsdh@gnu.org>
2258
2259 * doc-view.el (doc-view-reset-zoom-level): New command.
2260 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2261 zoom commands (bug#15466).
2262
22632013-09-26 Kenichi Handa <handa@gnu.org>
2264
2265 * international/quail.el (quail-help): Make it not a command.
2266
22672013-09-26 Leo Liu <sdl.web@gmail.com>
2268
2269 * minibuffer.el (completion-all-sorted-completions): Make args
2270 optional as they are.
2271
22722013-09-25 Daniel Colascione <dancol@dancol.org>
2273
2274 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2275 specs are and that they're not evaluated.
2276
22772013-09-24 Sam Steingold <sds@gnu.org>
2278
2279 * midnight.el (clean-buffer-list-kill-regexps)
2280 (clean-buffer-list-kill-buffer-names): Update for the new Man
2281 buffer naming which includes the object name.
2282
22832013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2286 (eshell-parse-command, eshell-parse-pipeline): Use it since
2287 eshell-separate-commands requires a dynamic scoped var.
2288 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2289
22902013-09-23 Leo Liu <sdl.web@gmail.com>
2291
2292 * autoinsert.el (auto-insert-alist): Make the value of
2293 lexical-binding match its file setting.
2294
22952013-09-23 Juanma Barranquero <lekktu@gmail.com>
2296
2297 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2298
2299 * autoarg.el (autoarg-kp-digit-argument):
2300 * electric.el (Electric-command-loop):
2301 * kmacro.el (kmacro-step-edit-insert):
2302 Do not set universal-argument-num-events.
2303
23042013-09-22 Leo Liu <sdl.web@gmail.com>
2305
2306 * files.el (interpreter-mode-alist): Add octave.
2307
23082013-09-21 Alan Mackenzie <acm@muc.de>
2309
2310 C++: fontify identifier in declaration following "public:" correctly.
2311 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2312 to match "public", etc.
2313 (c-decl-prefix-re): Add ":" into the C++ value.
2314 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2315 bit. Add a check for a ":" preceded by "public", etc.
2316
23172013-09-21 Eli Zaretskii <eliz@gnu.org>
2318
2319 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2320 recognized by GDB 7.5 and later.
2321
23222013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2323
2324 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2325
23262013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * subr.el (internal--call-interactively): New const.
2329 (called-interactively-p): Use it (bug#3984).
2330
23312013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2332
2333 * vc/pcvs.el (cvs-mode-ignore):
2334 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2335 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2336
23372013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2340 (eshell-ls-orig-insert-directory): Remove.
2341 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2342 (eshell-ls-use-in-dired): Use advice-add/remove.
2343 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2344 Add `orig-fun' arg for use in :around advice.
2345 Make it check (redundantly) eshell-ls-use-in-dired.
2346
23472013-09-19 Glenn Morris <rgm@gnu.org>
2348
2349 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2350
2351 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2352
2353 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2354
23552013-09-19 Michael Albinus <michael.albinus@gmx.de>
2356
2357 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2358 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2359 (tramp-get-remote-python): New defuns.
2360 (tramp-get-remote-uid-with-perl)
2361 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2362 contributed by yary <not.com@gmail.com> (tiny change).
2363 (tramp-get-remote-uid-with-python)
2364 (tramp-get-remote-gid-with-python): New defuns. Python code
2365 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2366 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2367
23682013-09-19 Glenn Morris <rgm@gnu.org>
2369
2370 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2371
2372 * eshell/em-unix.el (eshell-remove-entries):
2373 Rename argument to avoid name-clash with global `top-level'.
2374
2375 * eshell/esh-proc.el (eshell-kill-process-function):
2376 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2377 (eshell-reset-after-proc): Remove unused arg `proc'.
2378
2379 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2380 (directory-files-and-attributes): Mark unused arg.
2381
2382 * eshell/em-unix.el (eshell-remove-entries):
2383 Remove unused arg `path'. Update callers.
2384
2385 * eshell/em-hist.el (eshell-hist-parse-arguments):
2386 Remove unused arg `silent'. Update callers.
2387
2388 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2389 Fix (f)boundp mix-up.
2390
2391 * eshell/em-smart.el (eshell-smart-scroll-window)
2392 (eshell-disable-after-change):
2393 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2394
23952013-09-18 Alan Mackenzie <acm@muc.de>
2396
2397 Fix fontification of type when followed by "const".
2398 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2399 "known" types from fontification.
2400
24012013-09-18 Glenn Morris <rgm@gnu.org>
2402
2403 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2404 (chart-face-list): Drop Emacsen without display-color-p.
2405
2406 * net/eww.el (libxml-parse-html-region): Declare.
2407 (eww-display-html): Explicit error if no libxml2 support.
2408
2409 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2410
2411 * image.el (image-type-from-buffer, image-multi-frame-p):
2412 Remove --without-x warning/error.
2413
2414 * mouse.el (mouse-yank-primary):
2415 * term.el (term-mouse-paste):
2416 Reorder to silence --without-x compilation.
2417
2418 * mpc.el (doc-view-mode): Silence --without-x compilation.
2419
2420 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2421 Silence --without-x compilation.
2422
2423 * progmodes/gud.el (gud-find-file, gud-mode):
2424 Silence --without-x compilation.
2425 (tooltip-mode): Declare.
2426
2427 * wdired.el (dired-backup-overwrite): Remove declaration.
2428 (wdired-mode-map): Add doc string.
2429
2430 * custom.el (x-get-resource): Declare.
2431
2432 * eshell/em-glob.el (ange-cache):
2433 * eshell/em-unix.el (ange-cache): Declare.
2434
2435 * faces.el (x-display-list, x-open-connection, x-get-resource):
2436 Declare.
2437
2438 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2439 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2440 Declare.
2441
2442 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2443
2444 * net/gnutls.el (gnutls-log-level): Declare.
2445
2446 * net/shr.el (image-size, image-animate): Declare.
2447
2448 * simple.el (font-info): Declare.
2449
2450 * subr.el (x-popup-dialog): Declare.
2451
2452 * term/common-win.el (x-select-enable-primary)
2453 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2454 Declare.
2455
2456 * term/ns-win.el (x-handle-args): Declare.
2457
2458 * term/x-win.el (x-select-enable-clipboard): Declare.
2459
2460 * term/w32-win.el (create-default-fontset): Declare.
2461
2462 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2463 Declare.
2464
2465 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2466 (fit-frame-to-buffer): Explicit error if --without-x.
2467 (mouse-autoselect-window-select): Silence compiler.
2468
2469 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2470
2471 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2472 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2473 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2474 * eshell/esh-util.el (eshell-sublist):
2475 Remove unused local variables.
2476
2477 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2478
2479 * textmodes/two-column.el: Make 2C-split work for --without-x.
2480 (scroll-bar-columns): Autoload.
2481 (top-level): Require fringe when compiling.
2482
24832013-09-18 Leo Liu <sdl.web@gmail.com>
2484
2485 * subr.el (add-hook): Robustify to handle closure as well.
2486
24872013-09-17 Glenn Morris <rgm@gnu.org>
2488
2489 * simple.el (messages-buffer-mode-map): Unbind "g".
2490
24912013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * help-mode.el (help-mode-finish): Use derived-mode-p.
2494 Remove obsolete highlighting.
2495
2496 * play/life.el (life-mode): Use define-derived-mode. Derive from
2497 special-mode.
2498 (life): Let-bind inhibit-read-only.
2499 (life-setup): Avoid `setq'. Use `life-mode'.
2500
2501 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2502 which should not be needed any more.
2503 (package-menu-refresh, package-menu-describe-package): Use user-error.
2504
2505 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2506 (eshell-post-rewrite-command-hook): Make obsolete.
2507 (eshell-parse-command): Simplify.
2508 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2509 (eshell--cmd): Declare.
2510 (eshell-parse-pipeline): Remove unused var `final-p'.
2511 Pass a dynvar to eshell-post-rewrite-command-hook.
2512 Implement the new eshell-post-rewrite-command-function.
2513 (eshell-invoke-directly): Remove unused arg `input'.
2514 * eshell/esh-io.el (eshell-io-initialize):
2515 Use eshell-post-rewrite-command-function (bug#15399).
2516 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2517 adjust to new calling convention.
2518 (eshell-create-handles): Rename args to avoid clashing with dynvar
2519 `standard-output'.
2520
25212013-09-17 Glenn Morris <rgm@gnu.org>
2522
2523 * simple.el (messages-buffer-mode): New major mode.
2524 (messages-buffer): New function.
2525 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2526 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2527 (ert-run-test): Use `messages-buffer' function.
2528 (ert--force-message-log-buffer-truncation): Ignore read-only.
2529 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2530 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2531
25322013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2533
2534 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2535
2536 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2537
25382013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 * icomplete.el (icomplete-in-buffer): New var.
2541 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2542 vars and replace them with functions.
2543 (icomplete-minibuffer-setup): Adjust accordingly.
2544 (icomplete--completion-table, icomplete--completion-predicate)
2545 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2546 New functions.
2547 (icomplete-forward-completions, icomplete-backward-completions)
2548 (icomplete-simple-completing-p, icomplete-exhibit)
2549 (icomplete-completions): Use them.
2550 (icomplete--in-region-buffer): New var.
2551 (icomplete--in-region-setup): New function.
2552 (icomplete-mode): Use it.
2553
2554 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2555 (bug#15379).
2556 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2557 return args and options.
2558 (eshell-eval-using-options): Use the new return value of
2559 eshell--do-opts to set the options's vars in their scope.
2560 (eshell--set-option): Rename from eshell-set-option.
2561 Add arg `opt-vals'.
2562 (eshell--process-option): Rename from eshell-process-option.
2563 Add arg `opt-vals'.
2564 (eshell--process-args): Use an `opt-vals' alist to store the options's
2565 values during their processing and return them additionally to the
2566 remaining args.
2567
25682013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2569
2570 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2571 continuation character an operator, as far as indentation is
2572 concerned (Bug#15369).
2573
25742013-09-15 Martin Rudalics <rudalics@gmx.at>
2575
2576 * window.el (window--state-put-2): Don't process buffer state
2577 when buffer doesn't exist any more (Bug#15382).
2578
25792013-09-15 Glenn Morris <rgm@gnu.org>
2580
2581 * eshell/em-unix.el (eshell/rm):
2582 Make -f ignore missing files. (Bug#15373)
2583
2584 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2585 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2586 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2587
25882013-09-14 Glenn Morris <rgm@gnu.org>
2589
2590 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2591
25922013-09-13 Glenn Morris <rgm@gnu.org>
2593
2594 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2595 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2596
25972013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2598
2599 * frame.el (x-focus-frame): Mark as declared in frame.c.
2600
26012013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * ls-lisp.el: Use advice-add.
2604 (original-insert-directory): Remove.
2605 (ls-lisp--insert-directory): Rename from insert-directory; add
2606 `orig-fun' argument.
2607 (insert-directory): Advise.
2608
26092013-09-13 Eli Zaretskii <eliz@gnu.org>
2610
2611 * term.el (term-emulate-terminal): Decode the command string
2612 before passing it to term-command-hook. (Bug#15337)
2613
26142013-09-13 Glenn Morris <rgm@gnu.org>
2615
2616 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2617
2618 * eshell/esh-ext.el (eshell-search-path): Declare.
2619
2620 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2621 Otherwise an error occurs if eshell-dirs module not loaded.
2622
2623 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2624
26252013-09-13 Michael Albinus <michael.albinus@gmx.de>
2626
2627 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2628 `tramp-check-proper-host'. Check for a valid method name.
2629
2630 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2631 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2632 * net/tramp-sh.el (tramp-maybe-open-connection):
2633 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2634
2635 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2636 also for hash values.
2637
26382013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * term/ns-win.el (parameters): Don't declare as dynamic.
2641 (before-make-frame-hook): Don't add ineffective function.
2642
2643 * eshell/*.el: Use lexical-binding (bug#15231).
2644
26452013-09-12 Kenichi Handa <handa@gnu.org>
2646
2647 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2648
26492013-09-12 Glenn Morris <rgm@gnu.org>
2650
2651 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2652 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2653
2654 * subr.el (do-after-load-evaluation): Also give compiler warnings
2655 when obsolete files are used (except by obsolete files).
2656
2657 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2658 in the status output, assume `filename' is the first. (Bug#15322)
2659
2660 * vc/vc.el (vc-deduce-fileset): Doc fix.
2661
2662 * calc/calc-help.el (Info-goto-node):
2663 * progmodes/cperl-mode.el (Info-find-node):
2664 * vc/ediff.el (Info-goto-node): Update declarations.
2665
2666 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2667
2668 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2669 (vc-bzr-pull): Require vc-dispatcher.
2670 * vc/vc-git.el (vc-compilation-mode): Declare.
2671 (vc-git-pull): Require vc-dispatcher.
2672
2673 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2674
2675 * progmodes/octave.el (help-button-action): Declare.
2676
2677 * shell.el (shell-directory-tracker): Output error as a message
2678 rather than just returning it as a string.
2679 (shell-process-pushd): Remove useless use of message.
2680
2681 * dframe.el (dframe-timer-fn):
2682 * files.el (dir-locals-read-from-file):
2683 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2684 (mpc-format):
2685 * reveal.el (reveal-post-command):
2686 * saveplace.el (load-save-place-alist-from-file):
2687 * shell.el (shell-resync-dirs):
2688 * w32-common-fns.el (x-get-selection-value):
2689 * emacs-lisp/copyright.el (copyright-find-copyright):
2690 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2691 * emulation/tpu-edt.el (tpu-copy-keyfile):
2692 * play/bubbles.el (bubbles--mark-neighbourhood):
2693 * progmodes/executable.el
2694 (executable-make-buffer-file-executable-if-script-p):
2695 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2696
26972013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2698
2699 Cleanup Eshell to rely less on dynamic scoping.
2700 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2701 last-value, and ext-command here. Bind `args' closer to `body'.
2702 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2703 (eshell--args): Declare new dynamic var.
2704 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2705 last-value, and ext-command. Pass `args' to `body'.
2706 (eshell-process-args): Bind eshell--args.
2707 (eshell-set-option): Use eshell--args.
2708 * eshell/eshell.el (eshell): Use derived-mode-p.
2709 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2710 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2711 (eshell-glob-function): Declare.
2712 * eshell/esh-util.el: Require cl-lib.
2713 (eshell-read-hosts-file): Avoid add-to-list.
2714 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2715 `err'.
2716 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2717 Declare.
2718 (eshell/diff): Remove unused var `err'.
2719 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2720 `killflag'.
2721 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2722 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2723 first use.
2724 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2725 Move declaration before first use.
2726 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2727 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2728 rely on cl-return.
2729
27302013-09-12 Glenn Morris <rgm@gnu.org>
2731
2732 * term/ns-win.el (global-map): Remove binding for ispell-next,
2733 deleted 1999-05-29. (Bug#15357)
2734
27352013-09-11 Glenn Morris <rgm@gnu.org>
2736
2737 * echistory.el (electric-command-history): Remove call to deleted func.
2738
2739 * play/landmark.el (landmark-mode): Fix typos.
2740
2741 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2742 Check cvs-sort-ignore-file is bound.
2743
2744 * savehist.el: No need for cl when compiling on Emacs.
2745
27462013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2749 (bug#15338).
2750 (eshell-self-insert-command, eshell-send-invisible):
2751 Remove unused argument.
2752 (eshell-handle-control-codes): Remove unused var `orig'.
2753 Avoid delete-backward-char.
2754
2755 * files.el (set-auto-mode): Simplify a bit further.
2756
27572013-09-11 Glenn Morris <rgm@gnu.org>
2758
2759 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2760 (set-auto-mode): Don't regexp-quote elements.
2761 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2762 * progmodes/cc-mode.el (interpreter-mode-alist):
2763 * progmodes/ruby-mode.el (interpreter-mode-alist):
2764 Revert previous change.
2765
27662013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * play/snake.el (snake-mode):
2769 * play/mpuz.el (mpuz-mode):
2770 * play/landmark.el (lm-mode):
2771 * play/blackbox.el (blackbox-mode):
2772 * play/5x5.el (5x5-mode):
2773 * obsolete/options.el (Edit-options-mode):
2774 * net/quickurl.el (quickurl-list-mode):
2775 * net/newst-treeview.el (newsticker-treeview-mode):
2776 * mail/rmailsum.el (rmail-summary-mode):
2777 * mail/mspools.el (mspools-mode):
2778 * locate.el (locate-mode):
2779 * ibuffer.el (ibuffer-mode):
2780 * emulation/ws-mode.el (wordstar-mode):
2781 * emacs-lisp/debug.el (debugger-mode):
2782 * array.el (array-mode):
2783 * net/eudc.el (eudc-mode): Use define-derived-mode.
2784 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2785 Move initialization into declaration.
2786 (mairix-searches-mode): Use define-derived-mode.
2787 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2788 (eudc-edit-hotlist): Use dolist.
2789 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2790 (Man-mode): Use define-derived-mode.
2791 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2792 (Info-edit-mode): Use define-derived-mode.
2793 (Info-cease-edit): Use Info-mode.
2794 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2795 into declaration.
2796 (eshell-mode): Use define-derived-mode.
2797 * chistory.el (command-history-mode-map): Rename from
2798 command-history-map.
2799 (command-history-mode): Use define-derived-mode.
2800 (Command-history-setup): Remove function.
2801 * calc/calc.el (calc-trail-mode-map): New var.
2802 (calc-trail-mode): Use define-derived-mode.
2803 (calc-trail-buffer): Set calc-main-buffer manually.
2804 * bookmark.el (bookmark-insert-annotation): New function.
2805 (bookmark-edit-annotation): Use it.
2806 (bookmark-edit-annotation-mode): Make it a proper major mode.
2807 (bookmark-send-edited-annotation): Use derived-mode-p.
2808 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2809 closer to its ideal place. Use \' to match EOS.
2810
2811 * profiler.el (profiler-calltree-find): Use function-equal.
2812
28132013-09-10 Glenn Morris <rgm@gnu.org>
2814
2815 * files.el (interpreter-mode-alist): Convert to regexps.
2816 (set-auto-mode): Adapt for this. (Bug#15306)
2817 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2818 Comment out unused variable.
2819 * progmodes/cc-mode.el (interpreter-mode-alist):
2820 * progmodes/python.el (interpreter-mode-alist):
2821 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2822 * progmodes/sh-script.el (sh-set-shell):
2823 No longer use interpreter-mode-alist to get list of shells.
2824
2825 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2826
28272013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * simple.el: Use set-temporary-overlay-map for universal-argument.
2830 (universal-argument-map): Don't use default-bindings (bug#15317).
2831 Bind switch-frame explicitly. Replace universal-argument-minus with
2832 a conditional binding.
2833 (universal-argument-num-events, saved-overriding-map): Remove.
2834 (restore-overriding-map): Remove.
2835 (universal-argument--mode): Rename from save&set-overriding-map,
2836 and rewrite.
2837 (universal-argument, universal-argument-more, negative-argument)
2838 (digit-argument): Adjust accordingly.
2839 (universal-argument-minus): Remove.
2840 (universal-argument-other-key): Remove.
2841
2842 * subr.el (with-demoted-errors): Add `format' argument.
2843
28442013-09-10 Michael Albinus <michael.albinus@gmx.de>
2845
2846 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2847 `tramp-cleanup-connection'.
2848
2849 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2850 parameters KEEP-DEBUG and KEEP-PASSWORD.
2851
2852 * net/tramp.el (tramp-file-name-handler):
2853 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2854 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2855 (tramp-maybe-open-connection):
2856 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2857 Use `tramp-cleanup-connection'.
2858
2859 * net/tramp-sh.el (tramp-maybe-open-connection):
2860 Catch 'uname-changed inside the progress reporter.
2861
28622013-09-10 Glenn Morris <rgm@gnu.org>
2863
2864 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2865
2866 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2867 returns "alternate access method" in mode (eg "-rw-r--r--.").
2868
28692013-09-08 Glenn Morris <rgm@gnu.org>
2870
2871 * saveplace.el (load-save-place-alist-from-file):
2872 Demote errors. (Bug#15305)
2873
28742013-09-08 Michael Albinus <michael.albinus@gmx.de>
2875
2876 Improve compatibility with older Emacsen, and XEmacs.
2877
2878 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2879 only if it is bound. It isn't for XEmacs.
2880 (with-tramp-progress-reporter): Do not let-bind `result'.
2881 This yields to scoping errors in XEmacs.
2882 (tramp-handle-make-auto-save-file-name): New function, moved from
2883 tramp-sh.el.
2884
2885 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2886 for `make-auto-save-file-name'.
2887 (tramp-adb--gnu-switches-to-ash):
2888 Use `tramp-compat-replace-regexp-in-string'.
2889
2890 * net/tramp-cache.el (tramp-cache-print): Call
2891 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2892
2893 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2894 bound. It isn't for XEmacs.
2895
2896 * net/tramp-compat.el (tramp-compat-copy-file):
2897 Catch `wrong-number-of-arguments' error.
2898 (tramp-compat-replace-regexp-in-string): New defun.
2899
2900 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2901 for `make-auto-save-file-name'.
2902 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2903 `copy-file'.
2904 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2905 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2906 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2907
2908 * net/tramp-gw.el (tramp-gw-open-network-stream):
2909 Use `tramp-compat-replace-regexp-in-string'.
2910
2911 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2912 Call `tramp-handle-make-auto-save-file-name'.
2913 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2914 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2915 (tramp-sh-file-inotifywait-process-filter):
2916 Use `tramp-compat-replace-regexp-in-string'.
2917 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2918
2919 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2920 for `make-auto-save-file-name'.
2921 (tramp-smb-handle-copy-directory):
2922 Call `tramp-compat-replace-regexp-in-string'.
2923 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2924 (tramp-smb-handle-copy-file): Improve error message.
2925 (tramp-smb-handle-rename-file): Rename directly only in case
2926 `newname' does not exist yet. This is a restriction of smbclient.
2927 (tramp-smb-maybe-open-connection): Rerun the function only when
2928 `auth-sources' is non-nil.
2929
29302013-09-08 Kenichi Handa <handa@gnu.org>
2931
2932 * international/characters.el: Set category "^" (Combining) for
2933 more characters.
2934
29352013-09-07 Alan Mackenzie <acm@muc.de>
2936
2937 Correctly fontify Java class constructors.
2938 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2939 in Java Mode.
2940 (c-recognize-typeless-decls): Set the Java value to t.
2941 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2942 While handling a "(", add a check for, effectively, Java, and handle a
2943 "typeless" declaration there.
2944
29452013-09-07 Roland Winkler <winkler@gnu.org>
2946
2947 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2948 field subtitle for entry type book.
2949
29502013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * minibuffer.el: Make minibuffer-complete call completion-in-region
2953 rather than other way around.
2954 (completion--some, completion-pcm--find-all-completions):
2955 Don't delay signals when debugging.
2956 (minibuffer-completion-contents): Beware fields within the
2957 minibuffer contents.
2958 (completion-all-sorted-completions): Use defvar-local.
2959 (completion--do-completion, completion--cache-all-sorted-completions)
2960 (completion-all-sorted-completions, minibuffer-force-complete):
2961 Add args `beg' and `end'.
2962 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2963 (minibuffer-complete): Use completion-in-region.
2964 (completion-complete-and-exit): New fun, extracted from
2965 minibuffer-complete-and-exit.
2966 (minibuffer-complete-and-exit): Use it.
2967 (completion--complete-and-exit): Rename from
2968 minibuffer--complete-and-exit.
2969 (completion-in-region--single-word): New function, extracted from
2970 minibuffer-complete-word.
2971 (minibuffer-complete-word): Use it.
2972 (display-completion-list): Make `common-substring' argument obsolete.
2973 (completion--in-region): Call completion--in-region-1 instead of
2974 minibuffer-complete.
2975 (completion-help-at-point): Pass boundaries to
2976 minibuffer-completion-help as args rather than via an overlay.
2977 (completion-pcm--string->pattern): Use `any-delim'.
2978 (completion-pcm--optimize-pattern): New function.
2979 (completion-pcm--pattern->regex): Handle `any-delim'.
2980 * icomplete.el (icomplete-forward-completions)
2981 (icomplete-backward-completions, icomplete-completions):
2982 Adjust calls to completion-all-sorted-completions and
2983 completion--cache-all-sorted-completions.
2984 (icomplete-with-completion-tables): Default to t.
2985 * emacs-lisp/crm.el (crm--current-element): Rename from
2986 crm--select-current-element. Don't put an overlay but return the
2987 boundaries instead.
2988 (crm--completion-command): Take two new args to bind to the boundaries.
2989 (crm-completion-help): Adjust accordingly.
2990 (crm-complete): Use completion-in-region.
2991 (crm-complete-word): Use completion-in-region--single-word.
2992 (crm-complete-and-exit): Use completion-complete-and-exit.
2993
29942013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2997 than dynamically.
2998
29992013-09-06 Juri Linkov <juri@jurta.org>
3000
3001 * info.el (Info-display-images-node): When image file doesn't exist
3002 display text version of the image if it's provided in the Info file.
3003 Otherwise, display the location of missing image from SRC attribute.
3004 Add help-echo text property from ALT attribute. (Bug#15279)
3005
30062013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3009 (edit-abbrevs-mode): Use define-derived-mode.
3010
3011 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3012 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3013 that it's defined.
3014 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3015 Use define-derived-mode.
3016
3017 * epg.el (epg-start-encrypt): Minor CSE simplification.
3018
30192013-09-06 William Xu <william.xwl@gmail.com>
3020
3021 * arc-mode.el: Add support for 7za (bug#15264).
3022 (archive-7z-program): New var.
3023 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3024 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3025 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3026
30272013-09-06 Michael Albinus <michael.albinus@gmx.de>
3028
3029 Remove URL syntax.
3030
3031 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3032 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3033 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3034 (tramp-postfix-host-format, tramp-file-name-regexp)
3035 (tramp-completion-file-name-regexp)
3036 (tramp-completion-dissect-file-name)
3037 (tramp-handle-substitute-in-file-name): Remove 'url case.
3038 (tramp-file-name-regexp-url)
3039 (tramp-completion-file-name-regexp-url): Remove constants.
3040
30412013-09-06 Glenn Morris <rgm@gnu.org>
3042
3043 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3044
30452013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3046
3047 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3048 keywords" below "here-doc beginnings" (Bug#15270).
3049
30502013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * subr.el (pop): Use `car-safe'.
3053 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3054 to detect unused `pop' return value.
3055
3056 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3057 var `block-regexp'.
3058 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3059 (python-fill-string): Remove unused var `marker'.
3060 (python-skeleton-add-menu-items): Remove unused var `items'.
3061
3062 * international/mule-cmds.el: Require CL.
3063 (find-coding-systems-for-charsets): Avoid add-to-list.
3064 (sanitize-coding-system-list): New function, extracted from
3065 select-safe-coding-system-interactively.
3066 (select-safe-coding-system-interactively): Use it.
3067 (read-input-method-name): Accept symbols for `default'.
3068
3069 * emacs-lisp/advice.el (defadvice): Add indent rule.
3070
30712013-09-05 Daniel Hackney <dan@haxney.org>
3072
3073 * dired-x.el:
3074 * net/ange-ftp.el:
3075 * net/browse-url.el:
3076 * net/dbus.el:
3077 * net/eudc.el:
3078 * net/eudcb-ldap.el:
3079 * net/eww.el:
3080 * net/imap.el:
3081 * printing.el:
3082 * vc/ediff-diff.el:
3083 * vc/ediff-init.el:
3084 * vc/ediff-merg.el:
3085 * vc/ediff-mult.el:
3086 * vc/ediff-util.el:
3087 * vc/ediff-wind.el:
3088 * vc/ediff.el:
3089 * vc/emerge.el:
3090 * vc/pcvs.el:
3091 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3092 byte compiler. Remove some unused let-bound variables.
3093
30942013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3097 a "ref-cell", since it gets better optimized (bug#14883).
3098
30992013-09-05 Glenn Morris <rgm@gnu.org>
3100
3101 * progmodes/cc-awk.el (c-forward-sws): Declare.
3102
31032013-09-04 Glenn Morris <rgm@gnu.org>
3104
3105 * generic-x.el [rul-generic-mode]: Require cc-mode.
3106 (c++-mode-syntax-table): Declare.
3107 (rul-generic-mode-syntax-table): Init in the defvar.
3108
31092013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3112 (vc-do-command, vc-set-async-update):
3113 * vc/vc-mtn.el (vc-mtn-dir-status):
3114 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3115 (vc-hg-pull, vc-hg-merge-branch):
3116 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3117 (vc-git-merge-branch):
3118 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3119 (vc-cvs-dir-status-files):
3120 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3121 (vc-bzr-dir-status-files):
3122 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3123 * vc/vc-annotate.el: Use lexical-binding.
3124 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3125 (vc-sentinel-movepoint): Declare.
3126 (vc-annotate): Don't use `goto-line'.
3127 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3128 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3129 (vc-sentinel-movepoint): Declare.
3130 * vc/vc-svn.el: Use lexical-binding.
3131 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3132 * vc/vc-sccs.el:
3133 * vc/vc-rcs.el: Use lexical-binding.
3134
3135 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3136 `deleted'. Don't drop errors silently.
3137
3138 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3139
31402013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3141
3142 * vc/vc.el (vc-ignore): Rewrite.
3143 (vc-default-ignore): New function.
3144 (vc-default-ignore-completion-table): Use find-ignore-file.
3145
3146 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3147 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3148 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3149 Remove. Most code moved to vc.el.
3150
31512013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3152
3153 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3154 * net/tramp-smb.el (tramp-smb-get-file-entries):
3155 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3156 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3157
3158 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3159 Update call to it.
3160 (eww-change-select): Remove unused var `properties'.
3161 (eww-make-unique-file-name): Remove unused var `base'.
3162
3163 * finder.el (finder-compile-keywords): Don't mess with windows.
3164
3165 * calculator.el (calculator-funcall): Fix typo in last change.
3166
3167 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3168
3169 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3170 <pkg>-autoloads.el file stop us.
3171
3172 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3173 warnings, and factor out common code.
3174
31752013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3176
3177 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3178 two-character operators and whether the character preceding them
3179 changes their meaning (Bug#15208).
3180
31812013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3182
3183 Format code sent to Python shell for robustness.
3184 * progmodes/python.el (python-shell-buffer-substring):
3185 New function.
3186 (python-shell-send-region, python-shell-send-buffer): Use it.
3187
31882013-09-02 Michael Albinus <michael.albinus@gmx.de>
3189
3190 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3191 * net/tramp.el (tramp-user-error): ... here.
3192 (tramp-find-method, tramp-check-proper-host)
3193 (tramp-dissect-file-name, tramp-debug-message)
3194 (tramp-handle-shell-command):
3195 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3196 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3197
3198 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3199
32002013-09-02 Martin Rudalics <rudalics@gmx.at>
3201
3202 * avoid.el (mouse-avoidance-point-position)
3203 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3204 returns nil.
3205
32062013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3207
3208 * progmodes/python.el (python-shell-completion-get-completions):
3209 Drop use of deleted `comint-last-prompt-overlay'.
3210 (python-nav-if-name-main): New command.
3211
32122013-09-01 Glenn Morris <rgm@gnu.org>
3213
3214 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3215 Avoid leading space in $wins. Otherwise the sed command used by
3216 eg compile-main ends up containing "/*.el". (Bug#15170)
3217
3218 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3219
32202013-08-30 Glenn Morris <rgm@gnu.org>
3221
3222 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3223 Fix is-this-a-directory logic. (Bug#15220)
3224
32252013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * textmodes/css-mode.el: Use SMIE.
3228 (css-smie-grammar): New var.
3229 (css-smie--forward-token, css-smie--backward-token)
3230 (css-smie-rules): New functions.
3231 (css-mode): Use them.
3232 (css-navigation-syntax-table): Remove var.
3233 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3234 (css-indent-calculate, css-indent-line): Remove functions.
3235
3236 Misc changes to reduce use of `(lambda...); and other cleanups.
3237 * cus-edit.el: Use lexical-binding.
3238 (customize-push-and-save, customize-apropos)
3239 (custom-buffer-create-internal): Use closures.
3240 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3241 * progmodes/ada-xref.el: Use setq.
3242 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3243 * dframe.el: Use lexical-binding.
3244 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3245 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3246 * descr-text.el: Use lexical-binding.
3247 (describe-text-widget, describe-text-sexp, describe-property-list):
3248 Use closures.
3249 * comint.el (comint-history-isearch-push-state): Use a closure.
3250 * calculator.el: Use lexical-binding.
3251 (calculator-number-to-string): Make it work with lexical-binding.
3252 (calculator-funcall): Same and use cl-letf.
3253
3254 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3255 (lisp--company-doc-string, lisp--company-location): New functions.
3256 (lisp-completion-at-point): Use them to improve Company support.
3257
3258 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3259 params of lambda expressions.
3260 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3261 (ruby-smie--opening-pipe-p): New function.
3262 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3263 symbols and matched |...| for formal params.
3264 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3265 from being treated as hanging. Handle "rescue".
3266
32672013-08-29 Glenn Morris <rgm@gnu.org>
3268
3269 * progmodes/cc-engine.el (c-pull-open-brace):
3270 Move definition before use.
3271
32722013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3275 are immutable. Don't use `unsafe' any more.
3276 (cl--defsubst-expand): Don't substitute at the same time as keeping
3277 a residual unused let-binding. Don't use `unsafe' any more.
3278
32792013-08-29 Glenn Morris <rgm@gnu.org>
3280
3281 * calendar/cal-china.el (calendar-chinese-year-cache):
3282 Recenter on 2015.
3283
3284 * nxml/nxml-util.el (nxml-debug-clear-inside):
3285 Use cl-loop rather than loop.
3286
3287 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3288
3289 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3290
32912013-08-28 Glenn Morris <rgm@gnu.org>
3292
3293 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3294
3295 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3296
3297 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3298
32992013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * simple.el (repeat-complex-command--called-interactively-skip):
3302 New function.
3303 (repeat-complex-command): Use it (bug#14136).
3304
3305 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3306 (c-define-abbrev-table): Add `doc' argument.
3307 (c-mode-abbrev-table, c++-mode-abbrev-table)
3308 (objc-mode-abbrev-table, java-mode-abbrev-table)
3309 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3310 (awk-mode-abbrev-table): Use it.
3311 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3312 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3313 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3314 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3315 Move initialization into the declaration; and remove any
3316 autoload cookie.
3317
3318 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3319 and dynamic let binding.
3320
3321 * vc/smerge-mode.el: Remove redundant :group args.
3322
3323 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3324 to load-path.
3325
33262013-08-28 Juri Linkov <juri@jurta.org>
3327
3328 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3329 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3330 (isearch-other-meta-char): Handle an undefined shifted printing
3331 character by downshifting it. (Bug#15200)
3332
33332013-08-28 Juri Linkov <juri@jurta.org>
3334
3335 * isearch.el (isearch-search): Change regexp error message for
3336 non-regexp searches. (Bug#15166)
3337
33382013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3339
3340 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3341 for portability to hosts where /bin/sh has problems.
3342
33432013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3346
33472013-08-27 Juri Linkov <juri@jurta.org>
3348
3349 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3350 in the keyboard macro. (Bug#15126)
3351
33522013-08-27 Juri Linkov <juri@jurta.org>
3353
3354 * isearch.el (isearch-quote-char): Comment out converting unibyte
3355 to multibyte, thus syncing with its `quoted-insert' counterpart.
3356 (Bug#15166)
3357
33582013-08-27 Martin Rudalics <rudalics@gmx.at>
3359
3360 * window.el (display-buffer-use-some-window): Add missing
3361 argument in call of get-largest-window (Bug#15185).
3362 Reported by Stephen Leake.
3363
33642013-08-27 Glenn Morris <rgm@gnu.org>
3365
3366 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3367
33682013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3371 from a matcher-function unless there's no more matches (bug#15161).
3372
33732013-08-26 Michael Albinus <michael.albinus@gmx.de>
3374
3375 * minibuffer.el: Revert change from 2013-08-20.
3376
3377 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3378 with text property `tramp-default', if appropriate.
3379 (tramp-check-proper-host): New defun.
3380 (tramp-dissect-file-name): Do not check hostname. Revert change
3381 of 2013-03-18.
3382 (tramp-backtrace): Make VEC-OR-PROC optional.
3383
3384 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3385 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3386 * net/tramp-sh.el (tramp-maybe-open-connection):
3387 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3388 Apply `tramp-check-proper-host'.
3389
33902013-08-26 Tassilo Horn <tsdh@gnu.org>
3391
3392 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3393 lambda expression in order to have `describe-variable' display it.
3394
33952013-08-26 Michael Albinus <michael.albinus@gmx.de>
3396
3397 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3398 BUF can be optional. (Bug#15186)
3399
34002013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3401
3402 * progmodes/flymake.el (flymake-get-real-file-name-function):
3403 Fix broken customization. (Bug#15184)
3404
34052013-08-25 Alan Mackenzie <acm@muc.de>
3406
3407 Improve indentation of bracelists defined by macros (without "=").
3408
3409 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3410 expansion begins with "{", regard it as bracelist when it doesn't
3411 contain a ";".
3412
3413 Parse C++ inher-intro when there's a template split over 2 lines.
3414
3415 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3416 rigorously the search for "class" etc. followed by ":".
3417
3418 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3419 random languages a regexp which never matches rather than nil.
3420
3421 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3422
3423 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3424 (c-awk-regexp-one-line-possibly-open-char-list-re)
3425 (c-awk-one-line-possibly-open-regexp-re)
3426 (c-awk-one-line-non-syn-ws*-re): Remove.
3427 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3428 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3429 (c-awk-space*-unclosed-regexp-/-re): New constants.
3430 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3431 aren't regexp delimiters.
3432
3433 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3434 handling for a rare situation in AWK Mode involving unterminated
3435 strings/regexps.
3436
34372013-08-23 Glenn Morris <rgm@gnu.org>
3438
3439 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3440
3441 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3442
3443 * files.el (create-file-buffer): If the result would begin with
3444 spaces, prepend a "|" instead of removing them. (Bug#15162)
3445
34462013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3449 text-properties (bug#15155).
3450
3451 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3452 exist any more.
3453 (calc-keypad-redraw): Remove unused var `pad'.
3454 (calc-keypad-press): Remove unused var `menu'.
3455
34562013-08-23 Martin Rudalics <rudalics@gmx.at>
3457
3458 * window.el (display-buffer-pop-up-frame):
3459 Call pop-up-frame-function with BUFFER current so `make-frame' will
3460 use it as the new frame's buffer (Bug#15133).
3461
34622013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * calendar/timeclock.el: Minor cleanups.
3465 (timeclock-ask-before-exiting, timeclock-use-display-time):
3466 Use `symbol'.
3467 (timeclock-modeline-display): Define as alias before the
3468 actual definition.
3469 (timeclock-mode-line-display): Use define-minor-mode.
3470 (timeclock-day-list-template): Make it a function, add an argument.
3471 (timeclock-day-list-required, timeclock-day-list-length)
3472 (timeclock-day-list-debt, timeclock-day-list-span)
3473 (timeclock-day-list-break): Adjust calls accordingly.
3474
34752013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3478 Use read--expression so that completion works again.
3479
34802013-08-21 Sam Steingold <sds@gnu.org>
3481
3482 Add rudimentary inferior shell interaction
3483 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3484 (sh-set-shell): Reset it.
3485 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3486 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3487
34882013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * align.el: Use lexical-binding.
3491 (align-region): Simplify accordingly.
3492
34932013-08-20 Michael Albinus <michael.albinus@gmx.de>
3494
3495 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3496
3497 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3498 `non-essential' up.
3499
35002013-08-17 Michael Albinus <michael.albinus@gmx.de>
3501
3502 * net/tramp.el:
3503 * net/tramp-adb.el:
3504 * net/tramp-cmds.el:
3505 * net/tramp-ftp.el:
3506 * net/tramp-gvfs.el:
3507 * net/tramp-gw.el:
3508 * net/tramp-sh.el: Don't wrap external variable declarations by
3509 `eval-when-compile'.
3510
35112013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3512
3513 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3514 now that Emacs supports ImageMagick animations.
3515
35162013-08-16 Michael Albinus <michael.albinus@gmx.de>
3517
3518 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3519 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3520
35212013-08-16 Martin Rudalics <rudalics@gmx.at>
3522
3523 * window.el (mouse-autoselect-window-select): Do autoselect when
3524 mouse pointer is on margin.
3525
35262013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3527
3528 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3529
35302013-08-16 Glenn Morris <rgm@gnu.org>
3531
3532 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3533 Handle "Remote Directory" response of some clients. (Bug#15058)
3534
3535 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3536 Tweak warning. (Bug#14926)
3537
3538 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3539 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3540
3541 * image-mode.el (image-mode-map): Add menu items to reverse,
3542 increase, decrease, reset animation speed.
3543 (image--set-speed, image-increase-speed, image-decrease-speed)
3544 (image-reverse-speed, image-reset-speed): New functions.
3545 (image-mode-map): Add bindings for speed commands.
3546
3547 * image.el (image-animate-get-speed, image-animate-set-speed):
3548 New functions.
3549 (image-animate-timeout): Respect image :speed property.
3550
35512013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3554 previous line (bug#15101).
3555 (debugger-eval-expression, debugger-record-expression):
3556 Use read--expression (bug#15102).
3557
35582013-08-15 Michael Albinus <michael.albinus@gmx.de>
3559
3560 Remove byte compiler warnings, visible when compiling with
3561 `byte-compile-force-lexical-warnings' set to t.
3562
3563 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3564 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3565 (tramp-handle-unhandled-file-name-directory)
3566 (tramp-handle-file-notify-add-watch, tramp-action-login)
3567 (tramp-action-succeed, tramp-action-permission-denied)
3568 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3569 arguments with "_".
3570
3571 * net/tramp-adb.el (tramp-adb-parse-device-names)
3572 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3573 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3574 (tramp-adb-handle-file-truename): Remove unused arguments.
3575
3576 * net/tramp-cache.el (tramp-flush-directory-property)
3577 (tramp-flush-connection-property, tramp-list-connections)
3578 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3579
3580 * net/tramp-compat.el (tramp-compat-make-temp-file):
3581 Rename FILENAME to F.
3582
3583 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3584 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3585 (tramp-zeroconf-parse-workstation-device-names)
3586 (tramp-zeroconf-parse-webdav-device-names)
3587 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3588
3589 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3590 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3591
3592 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3593 arguments.
3594 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3595 (tramp-sh-handle-insert-file-contents-literally)
3596 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3597 with "_".
3598 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3599 Remove unused variables.
3600
3601 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3602 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3603 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3604
3605 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3606 Make them a defconst.
3607 (tramp-uuencode-region): Remove unused variable.
3608
36092013-08-14 Juanma Barranquero <lekktu@gmail.com>
3610
3611 * frameset.el (frameset--prop-setter): New function.
3612 (frameset-prop): Add gv-setter declaration.
3613 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3614 parameter was already set in FILTERED. Doc fix.
3615 (frameset--record-minibuffer-relationships): Allow saving a
3616 minibufferless frame without its corresponding minibuffer frame.
3617 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3618 frame, if the frame id matches.
3619 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3620 frames before orphaned ones.
3621 (frameset-restore): Warn about orphaned windows, instead of error out.
3622
36232013-08-14 Martin Rudalics <rudalics@gmx.at>
3624
3625 * window.el (window-make-atom): Don't overwrite parameter
3626 already present.
3627 (display-buffer-in-atom-window): Handle special case where we
3628 split an already atomic window.
3629 (window--major-non-side-window, display-buffer-in-side-window)
3630 (window--side-check): Ignore minibuffer window when walking
3631 window tree.
3632 (window-deletable-p): Return 'frame only if no other frame uses
3633 our minibuffer window.
3634 (record-window-buffer): Run buffer-list-update-hook.
3635 (split-window): Make sure window--check-frame won't destroy an
3636 existing atomic window in case the new window gets nested
3637 inside.
3638 (display-buffer-at-bottom): Ignore minibuffer window when
3639 walking window tree. Don't split a side window.
3640 (pop-to-buffer): Don't set-buffer here, the select-window call
3641 should do that.
3642 (mouse-autoselect-window-select): Autoselect only if we are in the
3643 text portion of the window.
3644
36452013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3646
3647 * net/shr.el (shr-parse-image-data): New function to grab both the
3648 data itself and the Content-Type.
3649 (shr-put-image): Use it.
3650
3651 * net/eww.el (eww-display-image): Ditto.
3652
3653 * image.el (image-content-type-suffixes): New variable.
3654
36552013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3656
3657 * progmodes/python.el (python-imenu--build-tree)
3658 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3659
36602013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3661
3662 * simple.el (backward-word): Mention the optional argument.
3663
36642013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * frameset.el (frameset--make): Rename constructor from make-frameset.
3667 (frameset-p, frameset-valid-p): Don't autoload.
3668 (frameset-valid-p): Use normal accessors.
3669
36702013-08-13 Glenn Morris <rgm@gnu.org>
3671
3672 * progmodes/compile.el (compile-command): Tweak example in doc.
3673 * obsolete/scribe.el (scribe-mode):
3674 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3675
3676 * mail/feedmail.el (feedmail-confirm-outgoing)
3677 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3678
3679 * cus-start.el (truncate-partial-width-windows): Fix type.
3680
3681 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3682
3683 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3684
36852013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * emacs-lisp/timer.el (timer--time-setter): New function.
3688 (timer--time): Use it as gv-setter.
3689
3690 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3691 setter is not a symbol.
3692
36932013-08-12 Grégoire Jadi <daimrod@gmail.com>
3694
3695 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3696 if sending fails. This makes debugging easier.
3697
36982013-08-12 Juanma Barranquero <lekktu@gmail.com>
3699
3700 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3701 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3702 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3703
37042013-08-12 Eli Zaretskii <eliz@gnu.org>
3705
3706 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3707
37082013-08-12 Glenn Morris <rgm@gnu.org>
3709
3710 * format.el (format-annotate-function):
3711 Handle read-only text properties in the source. (Bug#14887)
3712
37132013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3714
3715 * net/eww.el (eww-display-html): Ignore coding system errors.
3716 One web site uses "utf-8lias" as the coding system.
3717
37182013-08-11 Juanma Barranquero <lekktu@gmail.com>
3719
3720 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3721
37222013-08-10 Juanma Barranquero <lekktu@gmail.com>
3723
3724 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3725 (tutorial--detailed-help): Remove unused local variables.
3726 (tutorial--save-tutorial-to): Use ignore-errors.
3727 (help-with-tutorial): Use looking-at-p.
3728
3729 * view.el (view-buffer-other-window, view-buffer-other-frame):
3730 Mark unused arguments.
3731
3732 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3733 (woman-select-symbol-fonts, woman, woman-find-file)
3734 (woman-insert-file-contents, woman-non-underline-faces):
3735 Use string-match-p.
3736 (woman1-unquote): Move declaration.
3737
3738 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3739 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3740 argument. Remove unused local variable.
3741 (xml-parse-elem-type): Use string-match-p.
3742 (xml-substitute-numeric-entities): Use ignore-errors.
3743
3744 * calculator.el (calculator): Mark unused argument.
3745 (calculator-paste, calculator-quit, calculator-integer-p):
3746 Use ignore-errors.
3747 (calculator-string-to-number, calculator-decimal, calculator-exp)
3748 (calculator-op-or-exp): Use string-match-p.
3749
3750 * dired.el (dired-buffer-more-recently-used-p): Declare.
3751 (dired-insert-set-properties, dired-insert-old-subdirs):
3752 Use ignore-errors.
3753
3754 * dired-aux.el (dired-compress): Use ignore-errors.
3755 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3756 (dired-do-async-shell-command, dired-do-shell-command)
3757 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3758 (dired-insert-subdir-validate): Use string-match-p.
3759 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3760 (dired-add-entry): Use string-match-p, looking-at-p.
3761 (dired-insert-subdir-newpos): Remove unused local variable.
3762
3763 * filenotify.el (file-notify-callback): Remove unused local variable.
3764
3765 * filesets.el (filesets-error): Mark unused argument.
3766 (filesets-which-command-p, filesets-filter-dir-names)
3767 (filesets-directory-files, filesets-get-external-viewer)
3768 (filesets-ingroup-get-data): Use string-match-p.
3769
3770 * find-file.el (ff-other-file-name, ff-other-file-name)
3771 (ff-find-the-other-file, ff-cc-hh-converter):
3772 Remove unused local variables.
3773 (ff-get-file-name): Use string-match-p.
3774 (ff-all-dirs-under): Use ignore-errors.
3775
3776 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3777 (follow-select-if-visible): Remove unused local variable.
3778
3779 * forms.el (read-file-filter): Move declaration.
3780 (forms--make-format, forms--make-parser, forms-insert-record):
3781 Quote function with #'.
3782 (forms--update): Use string-match-p. Quote function with #'.
3783
3784 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3785 (help-make-xrefs): Use looking-at-p.
3786 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3787
3788 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3789 (ibuffer-confirm-operation-on): Use string-match-p.
3790
3791 * msb.el (msb-item-handler, msb-dired-item-handler):
3792 Mark unused arguments.
3793
3794 * ses.el (ses-decode-cell-symbol)
3795 (ses-kill-override): Remove unused local variable.
3796 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3797 (ses-load): Use ignore-errors, looking-at-p.
3798 (ses-jump-safe): Use ignore-errors.
3799 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3800
3801 * tabify.el (untabify, tabify): Mark unused arguments.
3802
3803 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3804 Mark unused argument.
3805 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3806 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3807
3808 * emacs-lisp/timer.el (timer--time): Define setter with
3809 gv-define-setter to avoid deprecation warning.
3810
3811 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3812 (*record-cmpl-statistics-p*): Remove (was commented out).
3813 (cmpl-statistics-block): Remove (body was commented out).
3814 All callers changed.
3815 (add-completions-from-buffer, load-completions-from-file):
3816 Remove unused variables.
3817
38182013-08-09 Juanma Barranquero <lekktu@gmail.com>
3819
3820 * filecache.el (file-cache-delete-file-list):
3821 Print message only when told so.
3822 (file-cache-files-matching): Use #' in mapconcat argument.
3823
3824 * ffap.el (ffap-url-at-point): Fix reference to variable
3825 thing-at-point-default-mail-uri-scheme.
3826
38272013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * subr.el (define-error): New function.
3830 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3831 error-file-not-found and define with define-error.
3832 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3833 and define with define-error.
3834 * userlock.el (file-locked, file-supersession):
3835 * simple.el (mark-inactive):
3836 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3837 * progmodes/ada-mode.el (ada-mode-errors):
3838 * play/life.el (life-extinct):
3839 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3840 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3841 * nxml/rng-util.el (rng-error):
3842 * nxml/rng-uri.el (rng-uri-error):
3843 * nxml/rng-match.el (rng-compile-error):
3844 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3845 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3846 * nxml/nxml-rap.el (nxml-scan-error):
3847 * nxml/nxml-outln.el (nxml-outline-error):
3848 * net/soap-client.el (soap-error):
3849 * net/gnutls.el (gnutls-error):
3850 * net/ange-ftp.el (ftp-error):
3851 * mpc.el (mpc-proc-error):
3852 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3853 (json-number-format, json-string-escape, json-string-format)
3854 (json-key-format, json-object-format):
3855 * jka-compr.el (compression-error):
3856 * international/quail.el (quail-error):
3857 * international/kkc.el (kkc-error):
3858 * emacs-lisp/ert.el (ert-test-failed):
3859 * calc/calc.el (calc-error, inexact-result, math-overflow)
3860 (math-underflow):
3861 * bookmark.el (bookmark-error-no-filename):
3862 * epg.el (epg-error): Define with define-error.
3863
3864 * time.el (display-time-event-handler)
3865 (display-time-next-load-average): Don't call sit-for since it seems
3866 unnecessary (bug#15045).
3867
3868 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3869 Use #' instead of ' to quote functions.
3870 (checkdoc-output-mode): Use setq-local.
3871 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3872 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3873 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3874 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3875 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3876 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3877 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3878 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3879
3880 * ido.el (ido-completion-help): Fix up compiler warning.
3881
38822013-08-09 Juanma Barranquero <lekktu@gmail.com>
3883
3884 * frameset.el (frameset-p): Add autoload cookie.
3885 (frameset--jump-to-register): New function, based on code moved from
3886 register.el.
3887 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3888
3889 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3890 (frameset-restore, frameset-save, frameset-session-filter-alist):
3891 Remove declarations.
3892 (register-alist): Doc fix.
3893 (frameset-to-register): Move to frameset.el.
3894 (jump-to-register, describe-register-1): Remove frameset-specific code.
3895
38962013-08-08 Juanma Barranquero <lekktu@gmail.com>
3897
3898 * allout-widgets.el (allout-widgets-pre-command-business)
3899 (allout-widgets-post-command-business)
3900 (allout-widgets-after-change-handler)
3901 (allout-decorate-item-and-context, allout-set-boundary-marker)
3902 (allout-body-modification-handler)
3903 (allout-graphics-modification-handler): Mark ignored arguments.
3904 (allout-widgets-post-command-business)
3905 (allout-widgets-exposure-change-processor)
3906 (allout-widgets-exposure-undo-processor)
3907 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3908 (allout-parse-item-at-point, allout-decorate-item-guides)
3909 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3910 * allout.el (epa-passphrase-callback-function): Declare.
3911 (allout-overlay-insert-in-front-handler)
3912 (allout-overlay-interior-modification-handler)
3913 (allout-isearch-end-handler, allout-chart-siblings)
3914 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3915 (allout-yank-processing, allout-process-exposed)
3916 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3917 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3918 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3919 (lisp-indent-defform): Mark ignored arguments.
3920 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3921 (calculate-lisp-indent): Remove unused variables.
3922 * international/characters.el (indian-2-column, arabic-2-column)
3923 (tibetan): Mark ignored arguments.
3924 (use-cjk-char-width-table): Mark ignored arguments.
3925 Remove unused variables.
3926 * international/fontset.el (build-default-fontset-data)
3927 (x-compose-font-name, create-fontset-from-fontset-spec):
3928 Mark ignored arguments.
3929 (fontset-plain-name): Remove unused variables.
3930 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3931 (keyboard-coding-system): Mark ignored arguments.
3932 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3933 * help.el (resize-temp-buffer-window):
3934 * window.el (display-buffer-in-major-side-window)
3935 (display-buffer-in-side-window, display-buffer-in-previous-window):
3936 Remove unused variables.
3937 * isearch.el (isearch-forward-symbol):
3938 * version.el (emacs-bzr-version-bzr):
3939 * international/mule-cmds.el (current-language-environment):
3940 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3941 (x-handle-display):
3942 * term/pc-win.el (x-list-fonts, x-display-planes)
3943 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3944 (x-server-version, x-display-screens, x-display-mm-height)
3945 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3946 (x-selection-owner-p, x-own-selection-internal)
3947 (x-disown-selection-internal, x-get-selection-internal)
3948 (msdos-initialize-window-system):
3949 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3950 * term/x-win.el (x-handle-no-bitmap-icon):
3951 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3952 (vc-default-find-file-hook, vc-default-extra-menu):
3953 Mark ignored arguments.
3954
39552013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3958 break-condition in the context of the debugged code (bug#12685).
3959
39602013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3961
3962 * comint.el:
3963 Do not use an overlay to highlight the last prompt. (Bug#14744)
3964 (comint-mode): Make comint-last-prompt buffer local.
3965 (comint-last-prompt): New variable.
3966 (comint-last-prompt-overlay): Remove. Superseded by
3967 comint-last-prompt.
3968 (comint-snapshot-last-prompt, comint-output-filter):
3969 Use comint-last-prompt.
3970
39712013-08-08 Juanma Barranquero <lekktu@gmail.com>
3972
3973 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3974 (frameset-save): Check validity of the resulting frameset.
3975
39762013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3977
3978 * ido.el (ido-record-command): Add doc string.
3979
39802013-08-08 Juanma Barranquero <lekktu@gmail.com>
3981
3982 * frameset.el (frameset): Do not disable creation of the default
3983 frameset-p predicate. Doc fix.
3984 (frameset-valid-p): New function, copied from the old predicate-p.
3985 Add additional checks.
3986 (frameset-restore): Check with frameset-valid-p.
3987 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3988 (frameset-name, frameset-description, frameset-properties)
3989 (frameset-states): Add docstring.
3990 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3991 (frameset-filter-alist): Doc fixes.
3992
39932013-08-08 Juanma Barranquero <lekktu@gmail.com>
3994
3995 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3996
39972013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4000 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4001 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4002 (byte-compile-normal-call): Remove obsolescence check.
4003
40042013-08-08 Juanma Barranquero <lekktu@gmail.com>
4005
4006 * frameset.el (frameset-restore): Doc fix.
4007
4008 * register.el (frameset-frame-id, frameset-frame-with-id)
4009 (frameset-p, frameset-restore, frameset-save): Declare.
4010 (register-alist): Document framesets.
4011 (frameset-session-filter-alist): Declare.
4012 (frameset-to-register): New function.
4013 (jump-to-register): Implement jumping to framesets. Doc fix.
4014 (describe-register-1): Describe framesets.
4015
4016 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4017
40182013-08-07 Juanma Barranquero <lekktu@gmail.com>
4019
4020 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4021 Use lexical-binding.
4022
4023 * frameset.el (frameset): Use type vector, not list (incompatible
4024 change). Do not declare a new constructor, use the default one.
4025 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4026 `name' and `description', respectively, and add read-only slot
4027 `timestamp'. Doc fixes.
4028 (frameset-copy, frameset-persistent-filter-alist)
4029 (frameset-filter-alist, frameset-switch-to-gui-p)
4030 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4031 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4032 (frameset-filter-iconified, frameset-keep-original-display-p):
4033 Doc fixes.
4034 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4035 Rename from frameset-filter-(save|restore)-param. All callers changed.
4036 Doc fix.
4037 (frameset-p): Adapt to change to vector and be more thorough.
4038 Change arg name to OBJECT. Doc fix.
4039 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4040 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4041 All callers changed.
4042 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4043 All callers changed.
4044 (frameset--record-minibuffer-relationships): Rename from
4045 frameset--process-minibuffer-frames. All callers changed.
4046 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4047 Use new default constructor (again). Doc fix.
4048 (frameset--find-frame-if): Rename from `frameset--find-frame.
4049 All callers changed.
4050 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4051 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4052 Doc fix.
4053 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4054 PARAMETERS and WINDOW-STATE, respectively.
4055 (frameset-restore): Add new keyword argument PREDICATE.
4056 Reset frameset--target-display to nil. Doc fix.
4057
40582013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4061 (bat-mode): Use it.
4062 (bat-mode-syntax-table): Mark \n as end-of-comment.
4063 (bat-font-lock-keywords): Remove comment rule.
4064
4065 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4066 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4067
4068 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4069 (byte-compile-callargs-warn): Use `push'.
4070 (byte-compile-arglist-warn): Ignore higher-order "calls".
4071 (byte-compile-file-form-autoload): Use `pcase'.
4072 (byte-compile-function-form): If quoting a symbol, check that it exists.
4073
40742013-08-07 Eli Zaretskii <eliz@gnu.org>
4075
4076 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4077 and add a few popular commands found in batch files.
4078 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4079 (dos-mode): Doc fixes.
4080
40812013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4084 (dos-mode): Use setq-local. Add space after "rem".
4085 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4086 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4087
40882013-08-07 Arni Magnusson <arnima@hafro.is>
4089
4090 * progmodes/dos.el: New file.
4091 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4092 dos-mode.
4093
40942013-08-06 Glenn Morris <rgm@gnu.org>
4095
4096 * calendar/calendar.el: Add new faces, and day-header-array.
4097 (calendar-weekday-header, calendar-weekend-header)
4098 (calendar-month-header): New faces.
4099 (calendar-day-header-construct): New function.
4100 (calendar-day-header-width): Also :set calendar-day-header-array.
4101 (calendar-american-month-header, calendar-european-month-header)
4102 (calendar-iso-month-header): Use calendar- faces.
4103 (calendar-generate-month):
4104 Use calendar-day-header-array for day headers; apply faces to them.
4105 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4106 (calendar-abbrev-construct): Add optional maxlen argument.
4107 (calendar-day-name-array): Doc fix.
4108 (calendar-day-name-array, calendar-abbrev-length)
4109 (calendar-day-abbrev-array):
4110 Also :set calendar-day-header-array, and maybe redraw.
4111 (calendar-day-header-array): New option. (Bug#15007)
4112 (calendar-font-lock-keywords): Set to nil and make obsolete.
4113 (calendar-day-name): Add option to use header array.
4114
41152013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4116
4117 * net/shr.el (shr-render-td): Remove debugging.
4118 (shr-render-td): Make width computation consistent by defaulting
4119 all zero-width columns to 10 characters. This may not be optimal,
4120 but it's at least consistent.
4121 (shr-make-table-1): Redo last change to fix the real problem in
4122 colspan handling.
4123
41242013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4125
4126 * files.el (cache-long-line-scans):
4127 Make obsolete alias to `cache-long-scans'.
4128
41292013-08-06 Juanma Barranquero <lekktu@gmail.com>
4130
4131 * frameset.el (frameset, frameset-filter-alist)
4132 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4133 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4134 (frameset-compute-pos): Rename from frameset--compute-pos,
4135 and add docstring.
4136 (frameset-move-onscreen): Use frameset-compute-pos.
4137 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4138
4139 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4140 Fix typos in docstrings.
4141
41422013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4143
4144 * frame.el (get-other-frame): Tiny cleanup.
4145
41462013-08-06 Juanma Barranquero <lekktu@gmail.com>
4147
4148 * vc/vc.el (vc-default-ignore-completion-table):
4149 Silence byte-compiler warning.
4150
4151 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4152 slot , which can indeed be nil.
4153 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4154 Move entry for `left' from persistent to live filter alist.
4155 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4156 Doc fixes.
4157 (frameset-filter-params): When restoring a frame, copy items added to
4158 `filtered', to avoid unwittingly modifying the original parameters.
4159 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4160 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4161
4162 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4163 to use looking-at-p instead of looking-at. (Bug#15028)
4164
41652013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 Revert introduction of isearch-filter-predicates (bug#14714).
4168 Rely on add-function instead.
4169 * isearch.el (isearch-filter-predicates): Rename it back to
4170 isearch-filter-predicate.
4171 (isearch-message-prefix): Use advice-function-mapc and advice
4172 properties to get the isearch-message-prefix.
4173 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4174 instead of run-hook-with-args-until-failure.
4175 (isearch-filter-visible): Not obsolete any more.
4176 * loadup.el: Preload nadvice.
4177 * replace.el (perform-replace): Revert to funcall
4178 instead of run-hook-with-args-until-failure.
4179 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4180 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4181 dired-isearch-filenames-toggle; make it into a proper minor mode.
4182 Use add/remove-function.
4183 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4184 Call the minor-mode rather than add/remove-hook.
4185 (dired-isearch-filter-filenames):
4186 Remove isearch-message-prefix property.
4187 * info.el (Info--search-loop): New function, extracted from Info-search.
4188 Funcall isearch-filter-predicate instead of
4189 run-hook-with-args-until-failure isearch-filter-predicates.
4190 (Info-search): Use it.
4191 (Info-mode): Use isearch-filter-predicate instead of
4192 isearch-filter-predicates.
4193
41942013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4195
4196 Do not call to `selected-window' where it is assumed by default.
4197 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4198 `window-hscroll', `window-width', `window-height', `window-buffer',
4199 `window-frame', `window-start', `window-point', `next-window'
4200 and `window-display-table'.
4201 * abbrev.el (abbrev--default-expand):
4202 * bs.el (bs--show-with-configuration):
4203 * buff-menu.el (Buffer-menu-mouse-select):
4204 * calc/calc.el (calc):
4205 * calendar/calendar.el (calendar-generate-window):
4206 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4207 (diary-make-entry):
4208 * comint.el (send-invisible, comint-dynamic-complete-filename)
4209 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4210 * completion.el (complete):
4211 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4212 * disp-table.el (describe-current-display-table):
4213 * doc-view.el (doc-view-insert-image):
4214 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4215 * ehelp.el (with-electric-help):
4216 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4217 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4218 * emacs-lisp/helper.el (Helper-help-scroller):
4219 * emulation/cua-base.el (cua--post-command-handler-1):
4220 * eshell/esh-mode.el (eshell-output-filter):
4221 * ffap.el (ffap-gnus-wrapper):
4222 * help-macro.el (make-help-screen):
4223 * hilit-chg.el (highlight-compare-buffers):
4224 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4225 * hl-line.el (global-hl-line-highlight):
4226 * icomplete.el (icomplete-simple-completing-p):
4227 * isearch.el (isearch-done):
4228 * jit-lock.el (jit-lock-stealth-fontify):
4229 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4230 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4231 * mpc.el (mpc-tagbrowser, mpc):
4232 * net/rcirc.el (rcirc-any-buffer):
4233 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4234 * play/landmark.el (landmark-max-width, landmark-max-height):
4235 * play/zone.el (zone):
4236 * progmodes/compile.el (compilation-goto-locus):
4237 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4238 * progmodes/etags.el (find-tag-other-window):
4239 * progmodes/fortran.el (fortran-column-ruler):
4240 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4241 * progmodes/verilog-mode.el (verilog-point-text):
4242 * reposition.el (reposition-window):
4243 * rot13.el (toggle-rot13-mode):
4244 * server.el (server-switch-buffer):
4245 * shell.el (shell-dynamic-complete-command)
4246 (shell-dynamic-complete-environment-variable):
4247 * simple.el (insert-buffer, set-selective-display)
4248 (delete-completion-window):
4249 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4250 (speedbar-recenter):
4251 * startup.el (fancy-splash-head):
4252 * textmodes/ispell.el (ispell-command-loop):
4253 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4254 * tutorial.el (help-with-tutorial):
4255 * vc/add-log.el (add-change-log-entry):
4256 * vc/compare-w.el (compare-windows):
4257 * vc/ediff-help.el (ediff-indent-help-message):
4258 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4259 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4260 (ediff-setup-control-frame):
4261 * vc/emerge.el (emerge-position-region):
4262 * vc/pcvs-util.el (cvs-bury-buffer):
4263 * window.el (walk-windows, mouse-autoselect-window-select):
4264 * winner.el (winner-set-conf, winner-undo): Related users changed.
4265
42662013-08-05 Juanma Barranquero <lekktu@gmail.com>
4267
4268 * frameset.el (frameset--set-id): Doc fix.
4269 (frameset-frame-id, frameset-frame-id-equal-p)
4270 (frameset-locate-frame-id): New functions.
4271 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4272 (frameset-restore): Use them.
4273
42742013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4275
4276 Do not call to `selected-frame' where it is assumed by default.
4277 Affected functions are `raise-frame', `redraw-frame',
4278 `frame-first-window', `frame-terminal' and `delete-frame'.
4279 * calendar/appt.el (appt-disp-window):
4280 * epg.el (epg-wait-for-completion):
4281 * follow.el (follow-delete-other-windows-and-split)
4282 (follow-avoid-tail-recenter):
4283 * international/mule.el (set-terminal-coding-system):
4284 * mail/rmail.el (rmail-mail-return):
4285 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4286 * progmodes/f90.el (f90-add-imenu-menu):
4287 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4288 * server.el (server-switch-buffer):
4289 * simple.el (delete-completion-window):
4290 * talk.el (talk):
4291 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4292 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4293 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4294 * vc/ediff.el (ediff-documentation): Related users changed.
4295 * frame.el (selected-terminal): Remove the leftover.
4296
42972013-08-05 Glenn Morris <rgm@gnu.org>
4298
4299 * calendar/calendar.el (calendar-generate-month):
4300 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4301 (calendar-generate-month, calendar-font-lock-keywords):
4302 Fix for calendar-day-header-width > length of any day name.
4303
43042013-08-05 Juanma Barranquero <lekktu@gmail.com>
4305
4306 * desktop.el (desktop-clear): Use new name of sort predicate.
4307
4308 * frameset.el (frameset): Add docstring. Move :version property to its
4309 own `version' slot.
4310 (frameset-copy): Rename from copy-frameset.
4311 (frameset-p): Check more thoroughly.
4312 (frameset-prop): Do not check for :version, which is no longer a prop.
4313 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4314 Use new :never value instead of t.
4315 (frameset-filter-alist): Expand and clarify docstring.
4316 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4317 (frameset-filter-minibuffer, frameset-filter-save-param)
4318 (frameset-filter-restore-param, frameset-filter-iconified):
4319 Add pointer to docstring of frameset-filter-alist.
4320 (frameset-filter-params): Rename filter values to be more meaningful:
4321 :never instead of t, and reverse the meanings of :save and :restore.
4322 (frameset--process-minibuffer-frames): Clarify error message.
4323 (frameset-save): Avoid unnecessary and confusing call to framep.
4324 Use new BOA constructor for framesets.
4325 (frameset--reuse-list): Doc fix.
4326 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4327 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4328 (frameset-minibufferless-first-p): Doc fix.
4329 Rename from frameset-sort-frames-for-deletion.
4330 (frameset-restore): Doc fixes. Use new function names.
4331 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4332
43332013-08-04 Juanma Barranquero <lekktu@gmail.com>
4334
4335 * desktop.el (desktop-restore-forces-onscreen)
4336 (desktop-restore-reuses-frames): Document :keyword constant values.
4337 (desktop-filter-parameters-alist): Remove, now identical to
4338 frameset-filter-alist.
4339 (desktop--filter-tty*): Remove, moved to frameset.el.
4340 (desktop-save-frameset, desktop-restore-frameset):
4341 Do not pass :filters argument.
4342
4343 * frameset.el (frameset-live-filter-alist)
4344 (frameset-persistent-filter-alist): New variables.
4345 (frameset-filter-alist): Use them. Add autoload cookie.
4346 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4347 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4348 `frameset--id' (it's supposed to be internal to frameset.el).
4349 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4350 (frameset--initial-params): New function.
4351 (frameset--get-frame): Use it. Doc fix.
4352 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4353 Accept :all, not 'all.
4354 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4355 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4356 with fbound symbols. Fix frame id matching, and remove matching ids if
4357 the frame being restored is deleted. Obey :delete.
4358
43592013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * subr.el (macrop): New function.
4362 (text-clone--maintaining): New var.
4363 (text-clone--maintain): Rename from text-clone-maintain. Use it
4364 instead of inhibit-modification-hooks.
4365
4366 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4367 a proxy, so as handle autoloads and redefinitions of the target.
4368 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4369
4370 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4371 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4372 (pcase--mutually-exclusive-p): New function.
4373 (pcase--split-consp): Use it.
4374 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4375 mutually exclusive with the current predicate.
4376
4377 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4378 (edebug-macrop): Remove. Use `macrop' instead.
4379 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4380 (ad-macro-p):
4381 * eshell/esh-cmd.el (eshell-macrop):
4382 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4383
43842013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4387 (advice-mapc): New function, using it.
4388 (advice-function-member-p): New function.
4389 (advice--normalize): Store the cdr in advice--saved-rewrite since
4390 that's the part that will be changed.
4391 (advice--symbol-function): New function.
4392 (advice-remove): Handle removal before the function is defined.
4393 Adjust to new advice--saved-rewrite.
4394 (advice-member-p): Use advice-function-member-p and
4395 advice--symbol-function.
4396
43972013-08-04 Juanma Barranquero <lekktu@gmail.com>
4398
4399 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4400 (frameset-filter-minibuffer): Doc fix.
4401 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4402 (frameset--set-id, frameset--process-minibuffer-frames)
4403 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4404 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4405
4406 * desktop.el (desktop-clear): Only delete frames when called
4407 interactively and desktop-restore-frames is non-nil. Doc fix.
4408 (desktop-read): Set desktop-saved-frameset to nil.
4409
44102013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4411
4412 * vc/vc.el (vc-ignore): Rewrite.
4413 (vc-default-ignore-completion-table):
4414 (vc--read-lines):
4415 (vc--add-line, vc--remove-regexp): New functions.
4416
4417 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4418 (vc-svn-ignore-completion-table): New function.
4419
4420 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4421 (vc-hg-ignore-completion-table):
4422 (vc-hg-find-ignore-file): New functions.
4423
4424 * vc/vc-git.el (vc-git-ignore): Rewrite.
4425 (vc-git-ignore-completion-table):
4426 (vc-git-find-ignore-file): New functions.
4427
4428 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4429
4430 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4431 (vc-bzr-ignore-completion-table):
4432 (vc-bzr-find-ignore-file): New functions.
4433
44342013-08-03 Juanma Barranquero <lekktu@gmail.com>
4435
4436 * frameset.el (frameset-prop): New function and setter.
4437 (frameset-save): Do not modify frame list passed by the caller.
4438
44392013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4440
4441 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4442
44432013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4444
4445 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4446 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4447
4448 * custom.el (custom-initialize-default, custom-initialize-set)
4449 (custom-initialize-reset, custom-initialize-changed): Affect the
4450 toplevel-default-value (bug#6275, bug#14586).
4451 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4452 for bug#6275.
4453
44542013-08-02 Juanma Barranquero <lekktu@gmail.com>
4455
4456 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4457 Add cl-def* expressions.
4458
4459 * frameset.el (frameset-filter-params): Fix order of arguments.
4460
44612013-08-02 Juanma Barranquero <lekktu@gmail.com>
4462
4463 Move code related to saving frames to frameset.el.
4464 * desktop.el: Require frameset.
4465 (desktop-restore-frames): Doc fix.
4466 (desktop-restore-reuses-frames): Rename from
4467 desktop-restoring-reuses-frames.
4468 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4469 (desktop-clear): Clear frames too.
4470 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4471 (desktop--filter-tty*, desktop-save, desktop-read):
4472 Use frameset functions.
4473 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4474 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4475 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4476 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4477 (desktop--process-minibuffer-frames, desktop-save-frames)
4478 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4479 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4480 (desktop--sort-states, desktop-restoring-frames-p)
4481 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4482 (desktop-restoring-frameset-p, desktop-restore-frameset)
4483 (desktop--check-dont-save, desktop-save-frameset): New functions.
4484 (desktop--app-id): New constant.
4485 (desktop-first-buffer, desktop-buffer-ok-count)
4486 (desktop-buffer-fail-count): Move before first use.
4487 * frameset.el: New file.
4488
44892013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * files.el: Use lexical-binding.
4492 (dir-locals-read-from-file): Remove unused `err' variable.
4493 (hack-dir-local-variables--warned-coding): New var.
4494 (hack-dir-local-variables): Use it to avoid repeated warnings.
4495 (make-backup-file-name--default-function): New function.
4496 (make-backup-file-name-function): Use it as default.
4497 (buffer-stale--default-function): New function.
4498 (buffer-stale-function): Use it as default.
4499 (revert-buffer-insert-file-contents--default-function): New function.
4500 (revert-buffer-insert-file-contents-function): Use it as default.
4501 (insert-directory): Avoid add-to-list.
4502
4503 * autorevert.el (auto-revert-handler): Simplify.
4504 Use buffer-stale--default-function.
4505
45062013-08-01 Tassilo Horn <tsdh@gnu.org>
4507
4508 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4509
4510 * whitespace.el (whitespace-ensure-local-variables): New function.
4511 (whitespace-cleanup-region): Call it.
4512 (whitespace-turn-on): Call it.
4513
45142013-08-01 Michael Albinus <michael.albinus@gmx.de>
4515
4516 Complete file name handlers.
4517
4518 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4519 (tramp-handle-verify-visited-file-modtime)
4520 (tramp-handle-file-notify-rm-watch): New functions.
4521 (tramp-call-process): Do not bind `default-directory'.
4522
4523 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4524 Order alphabetically.
4525 [access-file, add-name-to-file, dired-call-process]:
4526 [dired-compress-file, file-acl, file-notify-rm-watch]:
4527 [file-ownership-preserved-p, file-selinux-context]:
4528 [make-directory-internal, make-symbolic-link, set-file-acl]:
4529 [set-file-selinux-context, set-visited-file-modtime]:
4530 [verify-visited-file-modtime]: Add handler.
4531 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4532
4533 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4534 [file-notify-add-watch, file-notify-rm-watch]:
4535 [set-file-times, set-visited-file-modtime]:
4536 [verify-visited-file-modtime]: Add handler.
4537 (with-tramp-gvfs-error-message)
4538 (tramp-gvfs-handle-set-visited-file-modtime)
4539 (tramp-gvfs-fuse-file-name): Remove.
4540 (tramp-gvfs-handle-file-notify-add-watch)
4541 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4542 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4543
4544 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4545 Order alphabetically.
4546 [file-notify-rm-watch ]: Use default Tramp handler.
4547 [executable-find]: Remove private handler.
4548 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4549 `default-directory'.
4550 (tramp-sh-handle-executable-find)
4551 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4552 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4553 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4554 Do not use `format' in `tramp-message'.
4555
4556 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4557 [file-notify-rm-watch, set-visited-file-modtime]:
4558 [verify-visited-file-modtime]: Add handler.
4559 (tramp-smb-call-winexe): Do not bind `default-directory'.
4560
45612013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4562
4563 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4564
45652013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4566
4567 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4568 use it.
4569 (log-view-diff-changeset): Same.
4570 (log-view-diff-common): Call backend command `previous-revision'
4571 to find out the previous revision, in both cases. Swap the
4572 variables `to' and `fr', so that `fr' usually refers to the
4573 earlier revision (Bug#14989).
4574
45752013-07-31 Kan-Ru Chen <kanru@kanru.info>
4576
4577 * ibuf-ext.el (ibuffer-filter-by-filename):
4578 Make it work with dired buffers too.
4579
45802013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4581
4582 * emacs-lisp/re-builder.el (reb-color-display-p):
4583 * files.el (save-buffers-kill-terminal):
4584 * net/browse-url.el (browse-url):
4585 * server.el (server-save-buffers-kill-terminal):
4586 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4587 Prefer nil to selected-frame for the first arg of frame-parameter.
4588
45892013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4590
4591 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4592
45932013-07-30 Stephen Berman <stephen.berman@gmx.net>
4594
4595 * minibuffer.el (completion--twq-all): Try and preserve each
4596 completion's case choice (bug#14907).
4597
45982013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4599
4600 * net/network-stream.el (open-network-stream): Mention the new
4601 :nogreeting parameter.
4602 (network-stream-open-starttls): Use the :nogreeting parameter
4603 (bug#14938).
4604
4605 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4606
4607 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4608 more natural than popping.
4609
4610 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4611 (shr-urlify): Highlight under mouse.
4612
46132013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4614
4615 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4616
4617 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4618
4619 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4620 buffer for output.
4621
4622 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4623 point-min==1. Fix search string. Fix parentheses missing.
4624
4625 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4626 assume point-min==1. Fix search string. Fix parentheses missing.
4627
4628 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4629
4630 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4631 buffer for output.
4632
46332013-07-29 Eli Zaretskii <eliz@gnu.org>
4634
4635 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4636 initial frame is minibuffer-less. (Bug#14841)
4637
46382013-07-29 Michael Albinus <michael.albinus@gmx.de>
4639
4640 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4641 option.
4642
4643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4644 (tramp-maybe-open-connection): Use it.
4645
46462013-07-28 Juanma Barranquero <lekktu@gmail.com>
4647
4648 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4649 minimal set of parameters passed when creating a frame, because
4650 the minibuffer status of a frame cannot be changed later.
4651
46522013-07-28 Stephen Berman <stephen.berman@gmx.net>
4653
4654 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4655 replace-regexp-in-string and inadvertent omissions in previous change.
4656 (todo-filter-items): Ensure only file names are comma-separated in
4657 name of filtered items buffer.
4658
46592013-07-28 Juanma Barranquero <lekktu@gmail.com>
4660
4661 * desktop.el: Optionally force offscreen frames back onscreen.
4662 (desktop-restoring-reuses-frames): New option.
4663 (desktop--compute-pos, desktop--move-onscreen): New functions.
4664 (desktop--make-frame): Use desktop--move-onscreen.
4665
46662013-07-27 Alan Mackenzie <acm@muc.de>
4667
4668 Fontify a Java generic method as a function.
4669 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4670 value to t.
4671
46722013-07-27 Stephen Berman <stephen.berman@gmx.net>
4673
4674 * calendar/todo-mode.el: Add command to rename todo files.
4675 (todo-rename-file): New command.
4676 (todo-key-bindings-t): Add key binding for it. Change the
4677 bindings of todo-filter-regexp-items(-multifile) to use `x'
4678 instead of `r', since the latter is better suited to the new
4679 renaming command.
4680
46812013-07-27 Alan Mackenzie <acm@muc.de>
4682
4683 Make Java try-with-resources statement parse properly.
4684 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4685 (c-block-stmt-1-2-key): New language constants/variables.
4686 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4687 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4688 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4689 with c-block-stmt-1-2-key.
4690
46912013-07-27 Juanma Barranquero <lekktu@gmail.com>
4692
4693 * desktop.el (desktop--make-frame): Apply most frame parameters after
4694 creating the frame to force (partially or totally) offscreen frames to
4695 be restored as such.
4696
46972013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4698
4699 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4700 (Bug#14948)
4701
47022013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4705 `base' arg of backtrace-frame.
4706
47072013-07-26 Eli Zaretskii <eliz@gnu.org>
4708
4709 * simple.el (list-processes): Doc fix.
4710
47112013-07-26 Juanma Barranquero <lekktu@gmail.com>
4712
4713 * desktop.el (desktop--select-frame):
4714 Try harder to reuse existing frames.
4715
47162013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4719 (edebug-eval): Use backtrace-eval.
4720 (edebug--display, edebug--recursive-edit): Don't let-bind the
4721 edebug-outer-* vars that keep track of variables we locally let-bind.
4722 (edebug-outside-excursion): Don't restore outside values of locally
4723 let-bound vars.
4724 (edebug--display): Use user-error.
4725 (cl-lexical-debug, cl-debug-env): Remove.
4726
47272013-07-26 Juanma Barranquero <lekktu@gmail.com>
4728
4729 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4730 are restored to be sure that they are visible before deleting any
4731 remaining ones.
4732
47332013-07-26 Matthias Meulien <orontee@gmail.com>
4734
4735 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4736 vc-print-root-log. (Bug#14948)
4737
47382013-07-26 Richard Stallman <rms@gnu.org>
4739
4740 Add aliases for encrypting mail.
4741 * epa.el (epa-mail-aliases): New option.
4742 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4743 Bind inhibit-read-only so read-only text doesn't ruin everything.
4744 (epa-mail-default-recipients): New subroutine broken out.
4745 Handle epa-mail-aliases.
4746
47472013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4748
4749 Add support for lexical variables to the debugger's `e' command.
4750 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4751 vars, except for debugger-outer-match-data.
4752 (debugger-frame-number): Move check for "on a function call" from
4753 callers into it. Add `skip-base' argument.
4754 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4755 (debugger-env-macro): Only reset the state stored in non-variables,
4756 i.e. current-buffer and match-data.
4757 (debugger-eval-expression): Rewrite using backtrace-eval.
4758 * subr.el (internal--called-interactively-p--get-frame): Remove.
4759 (called-interactively-p):
4760 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4761 `base' arg of backtrace-frame instead.
4762
47632013-07-26 Glenn Morris <rgm@gnu.org>
4764
4765 * align.el (align-regexp): Doc fix. (Bug#14857)
4766 (align-region): Explicit error if subexpression missing/does not match.
4767
4768 * simple.el (global-visual-line-mode):
4769 Do not duplicate the mode lighter. (Bug#14858)
4770
47712013-07-25 Martin Rudalics <rudalics@gmx.at>
4772
4773 * window.el (display-buffer): In display-buffer bind
4774 split-window-keep-point to t, bug#14829.
4775
47762013-07-25 Juanma Barranquero <lekktu@gmail.com>
4777
4778 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4779 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4780 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4781 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4782 Change accordingly.
4783 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4784 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4785
47862013-07-25 Glenn Morris <rgm@gnu.org>
4787
4788 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4789
47902013-07-25 Juanma Barranquero <lekktu@gmail.com>
4791
4792 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4793 parameter to modify-frame-parameters if the value has not changed;
4794 this is a workaround for bug#14949.
4795 (desktop--make-frame): On cl-delete-if call, check parameter name,
4796 not full parameter.
4797
47982013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4799
4800 * vc/vc.el (vc-ignore): New function.
4801
4802 * vc/vc-svn.el (vc-svn-ignore): New function.
4803
4804 * vc/vc-hg.el (vc-hg-ignore): New function.
4805
4806 * vc/vc-git.el (vc-git-ignore): New function.
4807
4808 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4809 (vc-dir-ignore): New function.
4810
4811 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4812 (cvs-append-to-ignore): Move here from pcvs.el.
4813
4814 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4815
4816 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4817
48182013-07-24 Juanma Barranquero <lekktu@gmail.com>
4819
4820 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4821 (desktop-restore-frames): Warn when deleting an existing frame failed.
4822
48232013-07-24 Glenn Morris <rgm@gnu.org>
4824
4825 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4826
48272013-07-24 Michael Albinus <michael.albinus@gmx.de>
4828
4829 * filenotify.el (file-notify-supported-p):
4830 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4831 Remove functions.
4832
4833 * autorevert.el (auto-revert-use-notify):
4834 (auto-revert-notify-add-watch):
4835 * net/tramp.el (tramp-file-name-for-operation):
4836 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4837 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4838 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4839 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4840 Remove `file-notify-supported-p' entry.
4841
48422013-07-24 Glenn Morris <rgm@gnu.org>
4843
4844 * printing.el: Replace all uses of deleted ps-windows-system,
4845 ps-lp-system, ps-flatten-list with lpr- versions.
4846
48472013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4850 checked with memq (bug#14935).
4851
4852 * files.el (revert-buffer-function): Use a non-nil default.
4853 (revert-buffer-preserve-modes): Declare var to
4854 provide access to the `preserve-modes' argument.
4855 (revert-buffer): Let-bind it.
4856 (revert-buffer--default): New function, extracted from revert-buffer.
4857
48582013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * lpr.el: Signal print errors more prominently.
4861 (print-region-function): Don't default to nil.
4862 (lpr-print-region): New function, extracted from print-region-1.
4863 Check lpr's return value and signal an error in case of problem.
4864 (print-region-1): Use it.
4865 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4866 versions instead.
4867 (ps-printer-name): Default to nil.
4868 (ps-printer-name-option): Default to lpr-printer-switch.
4869 (ps-print-region-function): Don't default to nil.
4870 (ps-postscript-code-directory): Simplify default.
4871 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4872 (ps-string-list, ps-eval-switch, ps-flatten-list)
4873 (ps-flatten-list-1): Remove.
4874 (ps-multibyte-buffer): Avoid setq.
4875 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4876 (print-region-function, ps-print-region-function): Don't set them here.
4877
48782013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4879
4880 * ido.el (ido-fractionp):
4881 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4882 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4883 (ido-max-directory-size, ido-max-dir-file-cache)
4884 (ido-decorations): Doc fix.
4885
4886 * ansi-color.el: Fix old URL.
4887
48882013-07-23 Michael R. Mauger <michael@mauger.com>
4889
4890 * progmodes/sql.el: Version 3.3
4891 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4892 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4893 (sql-interactive-remove-continuation-prompt): Rewrite, use
4894 functions above. Fix continuation prompt and complete output line
4895 handling.
4896 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4897 redirected output buffer.
4898 (sql-mode): Restore deleted code (Bug#13591).
4899
49002013-07-23 Juanma Barranquero <lekktu@gmail.com>
4901
4902 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4903
49042013-07-23 Michael Albinus <michael.albinus@gmx.de>
4905
4906 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4907
4908 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4909 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4910 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4911
49122013-07-23 Juanma Barranquero <lekktu@gmail.com>
4913
4914 * desktop.el (desktop-clear): Simplify; remove useless checks
4915 against invalid buffer names.
4916 (desktop-list*): Use cl-list*.
4917 (desktop-buffer-info, desktop-create-buffer): Simplify.
4918
49192013-07-23 Leo Liu <sdl.web@gmail.com>
4920
4921 * bookmark.el (bookmark-make-record): Restore NAME as a default
4922 value. (Bug#14933)
4923
49242013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4927 extracted from autoload--insert-text.
4928 (autoload--insert-text): Remove.
4929 (autoload--print-cookie-text): New function, extracted from
4930 autoload--insert-cookie-text.
4931 (autoload--insert-cookie-text): Remove.
4932 (autoload-generate-file-autoloads): Adjust calls accordingly.
4933
4934 * winner.el (winner-hook-installed-p): Remove.
4935 (winner-mode): Simplify accordingly.
4936
4937 * subr.el (add-to-list): Fix compiler-macro when `append' is
4938 not constant. Don't use `cl-member' for the base case.
4939
4940 * progmodes/subword.el: Fix boundary case (bug#13758).
4941 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4942 own group.
4943 (subword-backward-regexp): Make it a constant.
4944 (subword-forward-internal): Don't treat a trailing capital as the
4945 beginning of a word.
4946
49472013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4948
4949 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4950 global value of tabulated-list-revert-hook (bug#14930).
4951
49522013-07-22 Juanma Barranquero <lekktu@gmail.com>
4953
4954 * desktop.el: Require 'cl-lib.
4955 (desktop-before-saving-frames-functions): New hook.
4956 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4957 for frames being saved. Rename from desktop--save-minibuffer-frames.
4958 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4959 Do not save frames with non-nil `desktop-dont-save' parameter.
4960 Filter out deleted frames.
4961 (desktop--find-frame): Use cl-find-if.
4962 (desktop--select-frame): Use cl-(first|second|third) to access values
4963 of desktop-mini.
4964 (desktop--make-frame): Use cl-delete-if.
4965 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4966 (desktop-restore-frames): Use cl-(first|second|third) to access values
4967 of desktop-mini. Look for visible frame at the end, not while
4968 restoring frames.
4969
4970 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4971 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4972 Use string-match-p, looking-at-p (bug#14927).
4973
49742013-07-21 Juanma Barranquero <lekktu@gmail.com>
4975
4976 * desktop.el (desktop-saved-frame-states):
4977 Rename from desktop--saved-states; all users changed.
4978 (desktop-save-frames): Rename from desktop--save-frames.
4979 Do not save state to desktop file.
4980 (desktop-save): Save desktop-saved-frame-states to desktop file
4981 and reset to nil.
4982 (desktop-restoring-frames-p): New function.
4983 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4984 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4985 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4986
4987 * desktop.el: Correctly restore iconified frames.
4988 (desktop--filter-iconified-position): New function.
4989 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4990
49912013-07-20 Glenn Morris <rgm@gnu.org>
4992
4993 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4994 Let `message' do the formatting.
4995 (def-gdb-preempt-display-buffer): Add explicit format.
4996
4997 * image-dired.el (image-dired-track-original-file):
4998 Use with-current-buffer.
4999 (image-dired-track-thumbnail): Use with-current-buffer.
5000 Avoid changing point of wrong window.
5001
5002 * image-dired.el (image-dired-track-original-file):
5003 Avoid changing point of wrong window. (Bug#14909)
5004
50052013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5006
5007 * progmodes/gdb-mi.el (gdb-done-or-error):
5008 Guard against "%" in gdb output. (Bug#14127)
5009
50102013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5011
5012 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5013 (Bug#14826)
5014
5015 * international/mule.el (coding-system-iso-2022-flags): Fix last
5016 change.
5017
50182013-07-20 Kenichi Handa <handa@gnu.org>
5019
5020 * international/mule.el (coding-system-iso-2022-flags):
5021 Add `8-bit-level-4'. (Bug#8522)
5022
50232013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5024
5025 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5026 (bug#14815).
5027
5028 * net/eww.el (eww-process-text-input): Allow inputting when the
5029 point is at the start of the line, as the properties aren't
5030 front-sticky.
5031
5032 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5033 degenerate widths.
5034
50352013-07-19 Richard Stallman <rms@gnu.org>
5036
5037 * epa.el (epa-popup-info-window): Doc fix.
5038
5039 * subr.el (split-string): New arg TRIM.
5040
50412013-07-18 Juanma Barranquero <lekktu@gmail.com>
5042
5043 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5044 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5045
50462013-07-18 Michael Albinus <michael.albinus@gmx.de>
5047
5048 * filenotify.el (file-notify--library): Rename from
5049 `file-notify-support'. Do not autoload. Adapt all uses.
5050 (file-notify-supported-p): New defun.
5051
5052 * autorevert.el (auto-revert-use-notify):
5053 Use `file-notify-supported-p' instead of `file-notify-support'.
5054 Adapt docstring.
5055 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5056
5057 * net/tramp.el (tramp-file-name-for-operation):
5058 Add `file-notify-supported-p'.
5059
5060 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5061 New defun.
5062 (tramp-sh-file-name-handler-alist): Add it as handler for
5063 `file-notify-supported-p '.
5064
5065 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5066 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5067 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5068 Add `ignore' as handler for `file-notify-*' functions.
5069
50702013-07-17 Eli Zaretskii <eliz@gnu.org>
5071
5072 * simple.el (line-move-partial, line-move): Don't start vscroll or
5073 scroll-up if the current line is not taller than the window.
5074 (Bug#14881)
5075
50762013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5077
5078 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5079 highlight question marks in the method names as strings.
5080 (ruby-block-beg-keywords): Inline.
5081 (ruby-font-lock-keyword-beg-re): Extract from
5082 `ruby-font-lock-keywords'.
5083
50842013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5085
5086 * frame.el (blink-cursor-blinks): New defcustom.
5087 (blink-cursor-blinks-done): New defvar.
5088 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5089 (blink-cursor-timer-function): Check if number of blinks has been
5090 done on X and NS.
5091 (blink-cursor-suspend, blink-cursor-check): New defuns.
5092
50932013-07-15 Glenn Morris <rgm@gnu.org>
5094
5095 * edmacro.el (edmacro-format-keys): Fix previous change.
5096
50972013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5098
5099 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5100 The hack didn't work outside English locales anyway.
5101
51022013-07-15 Juanma Barranquero <lekktu@gmail.com>
5103
5104 * simple.el (define-alternatives): Rename from alternatives-define,
5105 per RMS' suggestion.
5106
51072013-07-14 Juanma Barranquero <lekktu@gmail.com>
5108
5109 * desktop.el (desktop-restore-frames): Change default to t.
5110 (desktop-restore-in-current-display): Now offer more options.
5111 (desktop-restoring-reuses-frames): New customization option.
5112 (desktop--saved-states): Doc fix.
5113 (desktop-filter-parameters-alist): New variable, renamed and expanded
5114 from desktop--excluded-frame-parameters.
5115 (desktop--target-display): New variable.
5116 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5117 (desktop--filter-tty*, desktop--filter-*-color)
5118 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5119 (desktop--filter-save-desktop-parm)
5120 (desktop-restore-in-original-display-p): New functions.
5121 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5122 (desktop--save-minibuffer-frames): New function, inspired by a similar
5123 function from Martin Rudalics.
5124 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5125 (desktop--restore-in-this-display-p): Remove.
5126 (desktop--find-frame): Rename from desktop--find-frame-in-display
5127 and add predicate argument.
5128 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5129 (desktop--reuse-list): New variable.
5130 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5131 New functions.
5132 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5133
51342013-07-14 Michael Albinus <michael.albinus@gmx.de>
5135
5136 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5137
51382013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5139
5140 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5141 Highlight conversion methods on Kernel.
5142
51432013-07-13 Alan Mackenzie <acm@muc.de>
5144
5145 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5146 and comment it out. This out-commenting enables certain C++
5147 declarations to be parsed correctly.
5148
51492013-07-13 Eli Zaretskii <eliz@gnu.org>
5150
5151 * international/mule.el (define-coding-system): Doc fix.
5152
5153 * simple.el (default-font-height): Don't call font-info if the
5154 frame's default font didn't change since the frame was created.
5155 (Bug#14838)
5156
51572013-07-13 Leo Liu <sdl.web@gmail.com>
5158
5159 * ido.el (ido-read-file-name): Guard against non-symbol value.
5160
51612013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5162
5163 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5164 in nested defuns.
5165
51662013-07-13 Leo Liu <sdl.web@gmail.com>
5167
5168 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5169 ido-set-matches call. (Bug#6852)
5170
51712013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5172
5173 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5174 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5175 Ruby 2.0.
5176 (ruby-font-lock-keywords): Distinguish calls to functions with
5177 module-like names from module references. Highlight character
5178 literals.
5179
51802013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5181
5182 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5183 (gdb-send): Handle continued commands. (Bug#14847)
5184
51852013-07-12 Juanma Barranquero <lekktu@gmail.com>
5186
5187 * desktop.el (desktop--v2s): Remove unused local variable.
5188 (desktop-save-buffer): Make defvar-local; adjust docstring.
5189 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5190 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5191
51922013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5193
5194 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5195
51962013-07-12 Eli Zaretskii <eliz@gnu.org>
5197
5198 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5199 (Bug#14842)
5200
52012013-07-12 Glenn Morris <rgm@gnu.org>
5202
5203 * doc-view.el: Require cl-lib at runtime too.
5204 (doc-view-remove-if): Remove.
5205 (doc-view-search-next-match, doc-view-search-previous-match):
5206 Use cl-remove-if.
5207
5208 * edmacro.el: Require cl-lib at runtime too.
5209 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5210 (edmacro-mismatch, edmacro-subseq): Remove.
5211
5212 * shadowfile.el: Require cl-lib.
5213 (shadow-remove-if): Remove.
5214 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5215 Use cl-remove-if.
5216
5217 * wid-edit.el: Require cl-lib.
5218 (widget-choose): Use cl-remove-if.
5219 (widget-remove-if): Remove.
5220
5221 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5222 (ebrowse-delete-if-not): Remove.
5223 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5224 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5225 Use cl-delete-if-not.
5226
52272013-07-12 Juanma Barranquero <lekktu@gmail.com>
5228
5229 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5230 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5231
52322013-07-12 Leo Liu <sdl.web@gmail.com>
5233
5234 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5235
52362013-07-11 Glenn Morris <rgm@gnu.org>
5237
5238 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5239 (edebug-gensym-index, edebug-gensym):
5240 Remove reimplementation of cl-gensym.
5241 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5242
5243 * thumbs.el: Require cl-lib at run-time too.
5244 (thumbs-gensym-counter, thumbs-gensym):
5245 Remove reimplementation of cl-gensym.
5246 (thumbs-temp-file): Use cl-gensym.
5247
5248 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5249 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5250 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5251 (ert--union, ert--gensym-counter, ert--gensym-counter)
5252 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5253 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5254 (ert-make-test-unbound, ert--expand-should-1)
5255 (ert--expand-should, ert--should-error-handle-error)
5256 (should-error, ert--explain-equal-rec)
5257 (ert--plist-difference-explanation, ert-select-tests)
5258 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5259 Use cl-lib functions rather than reimplementations.
5260
52612013-07-11 Michael Albinus <michael.albinus@gmx.de>
5262
5263 * net/tramp.el (tramp-methods): Extend docstring.
5264 (tramp-connection-timeout): New defcustom.
5265 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5266 (with-tramp-progress-reporter): Simplify.
5267 (tramp-process-actions): Improve messages.
5268
5269 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5270 * net/tramp-sh.el (tramp-maybe-open-connection):
5271 Use `tramp-connection-timeout'.
5272 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5273 (Bug#14808)
5274
52752013-07-11 Leo Liu <sdl.web@gmail.com>
5276
5277 * ido.el (ido-read-file-name): Conform to the requirements of
5278 read-file-name. (Bug#11861)
5279 (ido-read-directory-name): Conform to the requirements of
5280 read-directory-name.
5281
52822013-07-11 Juanma Barranquero <lekktu@gmail.com>
5283
5284 * subr.el (delay-warning): New function.
5285
52862013-07-10 Eli Zaretskii <eliz@gnu.org>
5287
5288 * simple.el (default-line-height): New function.
5289 (line-move-partial, line-move): Use it instead of computing the
5290 line height inline.
5291 (line-move-partial): Always compute ROWH. If the last line is
5292 partially-visible, but its text is completely visible, allow
5293 cursor to enter such a partially-visible line.
5294
52952013-07-10 Michael Albinus <michael.albinus@gmx.de>
5296
5297 Improve error messages. (Bug#14808)
5298
5299 * net/tramp.el (tramp-current-connection): New defvar, moved from
5300 tramp-sh.el.
5301 (tramp-message-show-progress-reporter-message): Remove, not
5302 needed anymore.
5303 (tramp-error-with-buffer): Show message in minibuffer.
5304 Discard input before waiting. Reset connection timestamp.
5305 (with-tramp-progress-reporter): Improve messages.
5306 (tramp-process-actions): Use progress reporter. Delete process in
5307 case of error. Improve messages.
5308
5309 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5310 Call `tramp-error-with-buffer' with vector and buffer.
5311 (tramp-current-connection): Remove.
5312 (tramp-maybe-open-connection): The car of
5313 `tramp-current-connection' are the first 3 slots of the vector.
5314
53152013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5316
5317 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5318 inside continued strings.
5319
53202013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5321
5322 Timestamp fixes for undo (Bug#14824).
5323 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5324
53252013-07-10 Leo Liu <sdl.web@gmail.com>
5326
5327 * files.el (require-final-newline): Allow safe local value.
5328 (Bug#14834)
5329
53302013-07-09 Leo Liu <sdl.web@gmail.com>
5331
5332 * ido.el (ido-read-directory-name): Handle fallback.
5333 (ido-read-file-name): Update DIR to ido-current-directory.
5334 (Bug#1516)
5335 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5336
53372013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5338
5339 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5340 "autoload". Remove "warn lower camel case" section, previously
5341 commented out. Highlight negation char. Do not highlight the
5342 target in singleton method definitions.
5343
53442013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5345
5346 * faces.el (tty-setup-hook): Declare the hook.
5347
5348 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5349 and detect when a guard/pred depends on local vars (bug#14773).
5350 (pcase--u1): Adjust caller.
5351
53522013-07-08 Eli Zaretskii <eliz@gnu.org>
5353
5354 * simple.el (line-move-partial, line-move): Account for
5355 line-spacing.
5356 (line-move-partial): Avoid setting vscroll when the last
5357 partially-visible line in window is of default height.
5358
53592013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5360
5361 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5362 been used a while.
5363
53642013-07-07 Juanma Barranquero <lekktu@gmail.com>
5365
5366 * subr.el (read-quoted-char): Remove unused local variable `char'.
5367
53682013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5369
5370 * ediff.el (ediff-version): Version update.
5371 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5372 (ediff-merge-with-ancestor-command, ediff-directories-command)
5373 (ediff-directories3-command, ediff-merge-directories-command)
5374 (ediff-merge-directories-with-ancestor-command): New functions.
5375 All are command-line interfaces to ediff: to facilitate calling
5376 Emacs with the appropriate ediff functions invoked.
5377
5378 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5379 (viper-save-kill-buffer): Check if buffer is modified.
5380
5381 * viper.el (viper-version): Version update.
5382 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5383
53842013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5387 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5388 (viper-intercept-ESC-key): Simplify.
5389 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5390 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5391 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5392 (viper-setup-ESC-to-escape): New functions.
5393 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5394 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5395
53962013-07-07 Eli Zaretskii <eliz@gnu.org>
5397
5398 * simple.el (default-font-height, window-screen-lines):
5399 New functions.
5400 (line-move, line-move-partial): Use them instead of
5401 frame-char-height and window-text-height. This makes scrolling
5402 text smoother when the buffer's default face uses a font that is
5403 different from the frame's default font.
5404
54052013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5406
5407 * files.el (write-file): Do not display confirm dialog for NS,
5408 it does its own dialog, which can't be cancelled (Bug#14578).
5409
54102013-07-06 Eli Zaretskii <eliz@gnu.org>
5411
5412 * simple.el (line-move-partial): Adjust the row returned by
5413 posn-at-point for the current window-vscroll. (Bug#14567)
5414
54152013-07-06 Michael Albinus <michael.albinus@gmx.de>
5416
5417 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5418 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5419 spaces.
5420
54212013-07-06 Martin Rudalics <rudalics@gmx.at>
5422
5423 * window.el (window-state-put-stale-windows): New variable.
5424 (window--state-put-2): Save list of windows without matching buffer.
5425 (window-state-put): Remove "bufferless" windows if possible.
5426
54272013-07-06 Juanma Barranquero <lekktu@gmail.com>
5428
5429 * simple.el (alternatives-define): Remove leftover :group keyword.
5430 Tweak docstring.
5431
54322013-07-06 Leo Liu <sdl.web@gmail.com>
5433
5434 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5435 (ido-enable-virtual-buffers): New variable.
5436 (ido-buffer-internal, ido-toggle-virtual-buffers)
5437 (ido-make-buffer-list): Use it.
5438 (ido-exhibit): Support turning on and off virtual buffers
5439 automatically.
5440
54412013-07-06 Juanma Barranquero <lekktu@gmail.com>
5442
5443 * simple.el (alternatives-define): New macro.
5444
54452013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * subr.el (read-quoted-char): Use read-key.
5448 (sit-for): Let read-event decode tty input (bug#14782).
5449
54502013-07-05 Stephen Berman <stephen.berman@gmx.net>
5451
5452 * calendar/todo-mode.el: Add handling of file deletion, both by
5453 mode command and externally. Fix various related bugs.
5454 Clarify Commentary and improve some documentation strings and code.
5455 (todo-delete-file): New command.
5456 (todo-check-file): New function.
5457 (todo-show): Handle external deletion of the file we're trying to
5458 show (bug#14688). Replace called-interactively-p by an optional
5459 prefix argument to avoid problematic interaction with catch form
5460 when byte compiled (bug#14702).
5461 (todo-quit): Handle external deletion of the archive's todo file.
5462 Make sure the buffer that was visiting the archive file is still
5463 live before trying to bury it.
5464 (todo-category-completions): Handle external deletion of any
5465 category completion files.
5466 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5467 of todo files, in case of external deletion.
5468 (todo-add-file): Replace unnecessary setq by let-binding.
5469 (todo-find-archive): Check whether there are any archives.
5470 Replace unnecessary setq by let-binding.
5471 (todo-archive-done-item): Use find-file-noselect to get the
5472 archive buffer whether or not the archive already exists.
5473 Remove superfluous code. Use file size instead of buffer-file-name to
5474 check if the archive is new; if it is, update list of archives.
5475 (todo-default-todo-file): Allow nil to be a valid value for when
5476 there are no todo files.
5477 (todo-reevaluate-default-file-defcustom): Use corrected definition
5478 of todo-default-todo-file.
5479 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5480 (todo-delete-category, todo-show-categories-table)
5481 (todo-category-number): Clarify comment.
5482 (todo-filter-items): Clarify documentation string.
5483 (todo-show-current-file, todo-display-as-todo-file)
5484 (todo-reset-and-enable-done-separator): Tweak documentation string.
5485 (todo-done-separator): Make separator length window-width, since
5486 bug#2749 is now fixed.
5487
54882013-07-05 Michael Albinus <michael.albinus@gmx.de>
5489
5490 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5491 Support both "gvfs-monitor-dir" and "inotifywait".
5492 (tramp-sh-file-inotifywait-process-filter): Rename from
5493 `tramp-sh-file-notify-process-filter'.
5494 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5495 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5496
54972013-07-05 Leo Liu <sdl.web@gmail.com>
5498
5499 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5500
55012013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5502
5503 * frame.el (display-pixel-height, display-pixel-width)
5504 (display-mm-height, display-mm-width): Mention behavior on
5505 multi-monitor setups in docstrings.
5506 (w32-display-monitor-attributes-list): Declare function.
5507 (display-monitor-attributes-list): Use it.
5508
55092013-07-04 Michael Albinus <michael.albinus@gmx.de>
5510
5511 * filenotify.el: New package.
5512
5513 * autorevert.el (top): Require filenotify.el.
5514 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5515 instead.
5516 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5517 (auto-revert-notify-handler): Use `file-notify-*' functions.
5518
5519 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5520
5521 * net/tramp.el (tramp-file-name-for-operation):
5522 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5523
5524 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5525 for `file-notify-add-watch' and `file-notify-rm-watch'.
5526 (tramp-process-sentinel): Improve trace.
5527 (tramp-sh-handle-file-notify-add-watch)
5528 (tramp-sh-file-notify-process-filter)
5529 (tramp-sh-handle-file-notify-rm-watch)
5530 (tramp-get-remote-inotifywait): New defuns.
5531
55322013-07-03 Juri Linkov <juri@jurta.org>
5533
5534 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5535 call of `occur-read-primary-args' to interactive spec.
5536
5537 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5538 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5539
55402013-07-03 Matthias Meulien <orontee@gmail.com>
5541
5542 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5543 `Buffer-menu-multi-occur'. Add it to the menu.
5544 (Buffer-menu-mode): Document it in docstring.
5545 (Buffer-menu-multi-occur): New command. (Bug#14673)
5546
55472013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5548
5549 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5550 keywords and built-ins.
5551
55522013-07-03 Glenn Morris <rgm@gnu.org>
5553
5554 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5555
5556 Make info-xref checks case-sensitive by default
5557 * info.el (Info-find-node, Info-find-in-tag-table)
5558 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5559 Add option for exact case matching of nodes.
5560 * info-xref.el (info-xref): New custom group.
5561 (info-xref-case-fold): New option.
5562 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5563
55642013-07-03 Leo Liu <sdl.web@gmail.com>
5565
5566 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5567
55682013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5569
5570 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5571 middle of block statement initially, lower the depth. Remove
5572 FIXME comment, not longer valid. Remove middle of block statement
5573 detection, no need to do that anymore since we've been using
5574 `ruby-parse-region' here.
5575
55762013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5577
5578 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5579
55802013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5581
5582 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5583
55842013-07-01 Juanma Barranquero <lekktu@gmail.com>
5585
5586 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5587 (desktop-restore-in-current-display): New customization option.
5588 (desktop--excluded-frame-parameters): Add `font'.
5589 (desktop--save-frames): Rename from desktop--save-windows.
5590 (desktop--restore-in-this-display-p): New function.
5591 (desktop--make-full-frame): Remove unwanted width/height from
5592 full(width|height) frames.
5593 (desktop--restore-frames): Rename from desktop--restore-windows.
5594 Obey desktop-restore-current-display. Do not delete old frames or
5595 select a new frame unless we were able to restore at least one frame.
5596
55972013-06-30 Michal Nazarewicz <mina86@mina86.com>
5598
5599 * files.el (find-file-noselect): Simplify conditional expression.
5600
5601 * remember.el (remember-append-to-file):
5602 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5603
5604 Add `remember-notes' function to store random notes across Emacs
5605 restarts.
5606 * remember.el (remember-data-file): Add :set callback to affect
5607 notes buffer (if any).
5608 (remember-notes): New command.
5609 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5610 New defcustoms for the `remember-notes' function.
5611 (remember-notes-save-and-bury-buffer): New command.
5612 (remember-notes-mode-map): New variable.
5613 (remember-mode): New minor mode.
5614 (remember-notes--kill-buffer-query): New function.
5615 * startup.el (initial-buffer-choice): Add notes to custom type.
5616
56172013-06-30 Eli Zaretskii <eliz@gnu.org>
5618
5619 * bindings.el (right-char, left-char): Don't call sit-for, this is
5620 no longer needed. Use arithmetic comparison only for numerical
5621 arguments.
5622
5623 * international/mule-cmds.el (select-safe-coding-system):
5624 Handle the case of FROM being a string correctly. (Bug#14755)
5625
56262013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5627
5628 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5629 progression on degenerate tables.
5630 (shr-rescale-image): ImageMagick animated images currently don't work.
5631
56322013-06-30 Juanma Barranquero <lekktu@gmail.com>
5633
5634 Some fixes and improvements for desktop frame restoration.
5635 It is still experimental and disabled by default.
5636 * desktop.el (desktop--save-windows): Put the selected frame at
5637 the head of the list.
5638 (desktop--make-full-frame): New function.
5639 (desktop--restore-windows): Try to re-select the frame that was
5640 selected upon saving. Do not abort if some frames fail to restore,
5641 just show an error message and continue. Set up maximized frames
5642 so they have default non-maximized dimensions.
5643
56442013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5645
5646 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5647 Don't start heredoc inside a string or comment.
5648
56492013-06-29 Eli Zaretskii <eliz@gnu.org>
5650
5651 * bindings.el (visual-order-cursor-movement): New defcustom.
5652 (right-char, left-char): Provide visual-order cursor motion by
5653 calling move-point-visually. Update the doc strings.
5654
56552013-06-28 Kenichi Handa <handa@gnu.org>
5656
5657 * international/mule.el (define-coding-system): New coding system
5658 properties :inhibit-null-byte-detection,
5659 :inhibit-iso-escape-detection, and :prefer-utf-8.
5660 (set-buffer-file-coding-system): If :charset-list property of
5661 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5662 appropriate for setting.
5663
5664 * international/mule-cmds.el (select-safe-coding-system):
5665 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5666 multibyte characters, return utf-8 (or one of its siblings).
5667
5668 * international/mule-conf.el (prefer-utf-8): New coding system.
5669 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5670 files.
5671
56722013-06-28 Ivan Kanis <ivan@kanis.fr>
5673
5674 * net/shr.el (shr-render-region): New function.
5675
5676 * net/eww.el: Autoload `eww-browse-url'.
5677
56782013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5679
5680 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5681 Adapt to `package-desc-version' being a list.
5682 Use `package--ac-desc-version' to retrieve version from a package
5683 archive element.
5684
56852013-06-27 Juanma Barranquero <lekktu@gmail.com>
5686
5687 New experimental feature to save&restore window and frame setup.
5688 * desktop.el (desktop-save-windows): New defcustom.
5689 (desktop--saved-states): New var.
5690 (desktop--excluded-frame-parameters): New defconst.
5691 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5692 (desktop--restore-windows, desktop--save-windows): New functions.
5693 (desktop-save): Call `desktop--save-windows'.
5694 (desktop-read): Call `desktop--restore-windows'.
5695
56962013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5697
5698 * net/shr.el (add-face-text-property): Remove compat definition.
5699
57002013-06-27 Stephen Berman <stephen.berman@gmx.net>
5701
5702 * info.el (Info-try-follow-nearest-node): Move search for footnote
5703 above search for node name to prevent missing a footnote (bug#14717).
5704
57052013-06-27 Stephen Berman <stephen.berman@gmx.net>
5706
5707 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5708
57092013-06-27 Leo Liu <sdl.web@gmail.com>
5710
5711 * net/eww.el (eww-read-bookmarks): Check file size.
5712
57132013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5716 advice--pending if newdef is nil or an autoload (bug#13820).
5717 (advice-mapc): New function.
5718
57192013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5720
5721 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5722 probably.
5723 (eww-mode-map): Add a menu bar.
5724 (eww-add-bookmark): New command.
5725 (eww-bookmark-mode): New mode and commands.
5726 (eww-add-bookmark): Remove newlines from the title.
5727 (eww-bookmark-browse): Don't bug out if it's the only window.
5728
57292013-06-26 Glenn Morris <rgm@gnu.org>
5730
5731 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5732 (hfy-size): Handle ttys. (Bug#14668)
5733
5734 * info-xref.el: Update for Texinfo 5 change in *note format.
5735 (info-xref-node-re, info-xref-note-re): New constants.
5736 (info-xref-check-buffer): Use info-xref-note-re.
5737
57382013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5741
5742 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5743 nil terminate the loop (bug#14718).
5744
57452013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5746
5747 * net/eww.el: Rework history traversal. When going forward/back,
5748 put these actions into the history, too, so that they can be
5749 replayed.
5750 (eww-render): Move the history reset to the correct buffer.
5751
57522013-06-25 Juri Linkov <juri@jurta.org>
5753
5754 * files-x.el (modify-dir-local-variable): Change the header comment
5755 in the file with directory local variables. (Bug#14692)
5756
5757 * files-x.el (read-file-local-variable-value): Add `default'.
5758 (Bug#14710)
5759
57602013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5761
5762 * net/eww.el (eww-make-unique-file-name): Create a unique file
5763 name before saving to entering `y' accidentally asynchronously.
5764
57652013-06-25 Ivan Kanis <ivan@kanis.fr>
5766
5767 * net/eww.el (eww-download): New command and keystroke.
5768
57692013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5770
5771 * net/eww.el (eww-copy-page-url): Change name of command.
5772
5773 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5774 be more consistent with Info and dired.
5775
5776 * net/eww.el (eww-mode-map): Ditto.
5777
57782013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5781 packages from archives.
5782 (package-archive-contents): Change format; include obsolete packages.
5783 (package-desc): Use `dir' to mark builtin packages.
5784 (package--from-builtin): Set the `dir' field to `builtin'.
5785 (generated-autoload-file, version-control): Declare.
5786 (package-compute-transaction): Change first arg and return value to be
5787 lists of package-descs. Adjust to new package-archive-contents format.
5788 (package--add-to-archive-contents): Adjust to new
5789 package-archive-contents format.
5790 (package-download-transaction): Arg is now a list of package-descs.
5791 (package-install): If `pkg' is a package name, pass it as
5792 a requirement, so it is subject to the usual (e.g. disabled) checks.
5793 (describe-package): Accept package-desc as well.
5794 (describe-package-1): Describe a specific package-desc. Add links to
5795 other package-descs for the same package name.
5796 (package-menu-describe-package): Pass the actual package-desc.
5797 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5798 works correctly.
5799 (package-desc-status): New function.
5800 (package-menu--refresh): New function, extracted
5801 from package-menu--generate.
5802 (package-menu--generate): Use it.
5803 (package-delete): Update package-alist.
5804 (package-menu-execute): Don't call package-initialize.
5805
5806 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5807 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5808 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5809 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5810 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5811 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5812
58132013-06-25 Martin Rudalics <rudalics@gmx.at>
5814
5815 * window.el (window--state-get-1): Workaround for bug#14527.
5816 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5817
58182013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5819
5820 * net/eww.el (eww-back-url): Implement the history by stashing all
5821 the data into a list.
5822 (eww-forward-url): Allow going forward in the history, too.
5823
58242013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5825
5826 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5827 for values and use read--expression for expressions (bug#14710).
5828 (read-file-local-variable): Avoid setq.
5829 (read-file-local-variable-mode): Use minor-mode-list.
5830
58312013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5832
5833 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5834 for DOI URLs.
5835
58362013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5837
5838 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5839 Update imenu-support when dialect changes.
5840
58412013-06-25 Leo Liu <sdl.web@gmail.com>
5842
5843 * ido.el (ido-read-internal): Allow forward slash on windows.
5844
58452013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5846
5847 * net/eww.el (eww): Start of strings is \\`, not ^.
5848
58492013-06-24 Ivan Kanis <ivan@kanis.fr>
5850
5851 * net/shr.el (shr-browse-url): Fix interactive spec.
5852
5853 * net/eww.el (eww): Add a trailing slash to domain names.
5854
58552013-06-24 Juanma Barranquero <lekktu@gmail.com>
5856
5857 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5858
58592013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5860
5861 * net/shr.el (shr-browse-url): Use an external browser if given a
5862 prefix.
5863
5864 * net/eww.el (eww-external-browser): Move to shr.
5865
58662013-06-24 Ivan Kanis <ivan@kanis.fr>
5867
5868 * net/eww.el (eww): Work more correctly for file: URLs.
5869 (eww-detect-charset): Allow quoted charsets.
5870 (eww-yank-page-url): New command and keystroke.
5871
58722013-06-24 Daiki Ueno <ueno@gnu.org>
5873
5874 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5875 file name of gpg executable.
5876 (epg-context-program): New function.
5877 (epg-context-home-directory): New function.
5878 (epg-context-set-program): New function.
5879 (epg-context-set-home-directory): New function.
5880 (epg--start): Use `epg-context-program' instead of
5881 'epg-gpg-program'.
5882 (epg--list-keys-1): Likewise.
5883
58842013-06-24 Leo Liu <sdl.web@gmail.com>
5885
5886 * ido.el (ido-read-internal): Fix bug#14620.
5887
58882013-06-23 Juanma Barranquero <lekktu@gmail.com>
5889
5890 * faces.el (face-documentation): Simplify.
5891 (read-face-attribute, tty-find-type, x-resolve-font-name):
5892 Use `string-match-p'.
5893 (list-faces-display): Use `string-match-p'. Simplify.
5894 (face-spec-recalc): Check face to avoid face alias loops.
5895 (read-color): Use `string-match-p' and non-capturing parenthesis.
5896
58972013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5898
5899 * net/shr.el (shr-rescale-image): Use the new
5900 :max-width/:max-height functionality.
5901
59022013-06-23 Ivan Kanis <ivan@kanis.fr>
5903
5904 * net/eww.el (eww-search-prefix): New variable.
5905 (eww): Use it.
5906 (eww-external-browser): New variable.
5907 (eww-mode-map): New keystroke.
5908 (eww-browse-with-external-browser): New command.
5909
5910 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5911
59122013-06-23 Juanma Barranquero <lekktu@gmail.com>
5913
5914 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5915 Don't skip aligning the next header field when padding is 0;
5916 otherwise, field width is not respected unless the title is as
5917 wide as the field.
5918
59192013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5920
5921 * emacs-lisp/package.el (package-el-version): Remove.
5922 (package-process-define-package): Fix inf-loop.
5923 (package-install): Allow symbols as arguments again.
5924
59252013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5926
5927 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5928 add some more keyword-like methods.
5929 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5930
59312013-06-22 Juanma Barranquero <lekktu@gmail.com>
5932
5933 * bs.el (bs-buffer-show-mark): Make defvar-local.
5934 (bs-mode): Use setq-local.
5935
5936 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5937 (emacs-lock--try-unlocking): Make defvar-local.
5938
59392013-06-22 Glenn Morris <rgm@gnu.org>
5940
5941 * play/cookie1.el (cookie-apropos): Minor simplification.
5942
5943 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5944
59452013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5946
5947 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5948 `regexp-opt', it breaks the build during dumping.
5949
59502013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5951
5952 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5953 Highlight keyword-like methods on Kernel and Module with
5954 font-lock-builtin-face.
5955 (auto-mode-alist): Consolidate different entries into one regexp
5956 and add more *file-s.
5957
59582013-06-21 Stephen Berman <stephen.berman@gmx.net>
5959
5960 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5961
5962 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5963 (diary-entry): Use it in the action of this button type instead of
5964 diary-goto-entry.
5965
5966 * calendar/todo-mode.el: New version.
5967 (todo-add-category): Append new category to end of file and give
5968 it the highest number, instead of putting it at the beginning and
5969 giving it 0. Incorporate noninteractive functionality.
5970 (todo-forward-category): Adapt to 1-based category numbering.
5971 Allow skipping over archived categories.
5972 (todo-backward-category): Derive from todo-forward-category.
5973 (todo-backward-item, todo-forward-item): Make noninteractive and
5974 delegate interactive part to new commands. Make sensitive to done items.
5975 (todo-categories): Make value an alist of category names and
5976 vectors of item counts.
5977 (todo-category-beg): Make a defconst.
5978 (todo-category-number): Use 1 instead of 0 as initial value.
5979 (todo-category-select): Make sensitive to overlays, optional item
5980 highlighting and done items.
5981 (todo-delete-item): Make sensitive to overlays and marked and done items.
5982 (todo-edit-item): Make sensitive to overlays and editing of
5983 date/time header optional. Add format checks.
5984 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5985 no-op if point is not on an item. Advertise using todo-edit-quit.
5986 (todo-edit-mode): Make sensitive to new format, font-locking, and
5987 multiple todo files.
5988 (todo-insert-item, todo-insert-item-here): Derive from
5989 todo-basic-insert-item and extend functionality.
5990 (todo-item-end, todo-item-start): Make sensitive to done items.
5991 (todo-item-string): Don't return text properties. Restore point.
5992 (todo-jump-to-category): Make sensitive to multiple todo files and
5993 todo archives. Use extended category completion.
5994 (todo-lower-item, todo-raise-item): Rename to *-priority and
5995 derive from todo-set-item-priority.
5996 (todo-mode): Derive from special-mode. Make sensitive to new
5997 format, font-locking and multiple todo files. Make read-only.
5998 (todo-mode-map): Don't suppress digit keys, so they can supply
5999 prefix arguments. Add many new key bindings.
6000 (todo-prefix): Insert as an overlay instead of file text.
6001 Change semantics from diary date expression to purely visual mark.
6002 (todo-print): Rename to todo-print-buffer. Make buffer display
6003 features printable. Remove option to restrict number of items
6004 printed. Add option to print to file.
6005 (todo-print-function): Rename to todo-print-buffer-function.
6006 (todo-quit): Extend to handle exiting new todo modes.
6007 (todo-remove-item): Make sensitive to overlays.
6008 (todo-save): Extend to buffers of filtered items.
6009 (todo-show): Make sensitive to done items, multiple todo files and
6010 new todo modes. Offer to convert legacy todo file before creating
6011 first new todo file.
6012 (todo-show-priorities): Rename to todo-top-priorities.
6013 Change semantics of value 0.
6014 (todo-top-priorities): Rename to todo-filter-top-priorities,
6015 derive from todo-filter-items and extend functionality.
6016 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6017 and extend functionality to other types of filtered items.
6018 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6019 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6020 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6021 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6022 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6023 (todo-edit-mode-hook, todo-entry-prefix-function)
6024 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6025 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6026 (todo-initials, todo-insert-threshold, todo-item-string-start)
6027 (todo-line-string, todo-menu, todo-mode-hook)
6028 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6029 (todo-print-priorities, todo-remove-separator)
6030 (todo-save-top-priorities-too, todo-string-count-lines)
6031 (todo-string-multiline-p, todo-time-string-format)
6032 (todo-tmp-buffer-name): Remove.
6033 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6034 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6035 (todo-edit-category-diary-inclusion)
6036 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6037 (todo-edit-file, todo-edit-item-date-day)
6038 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6039 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6040 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6041 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6042 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6043 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6044 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6045 (todo-filter-top-priorities-multifile, todo-find-archive)
6046 (todo-find-filtered-items-file, todo-go-to-source-item)
6047 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6048 (todo-jump-to-archive-category, todo-lower-category)
6049 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6050 (todo-move-category, todo-move-item, todo-next-button)
6051 (todo-next-item, todo-padded-string, todo-powerset)
6052 (todo-previous-button, todo-previous-item)
6053 (todo-print-buffer-to-file, todo-raise-category)
6054 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6055 (todo-set-category-number, todo-set-item-priority)
6056 (todo-set-top-priorities-in-category)
6057 (todo-set-top-priorities-in-file, todo-show-categories-table)
6058 (todo-sort-categories-alphabetically-or-numerically)
6059 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6060 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6061 (todo-toggle-item-header, todo-toggle-item-highlighting)
6062 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6063 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6064 (todo-unarchive-items, todo-unmark-category): New commands.
6065 (todo-absolute-file-name, todo-add-to-buffer-list)
6066 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6067 (todo-basic-insert-item, todo-category-completions)
6068 (todo-category-number, todo-category-string-matcher-1)
6069 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6070 (todo-check-format, todo-clear-matches)
6071 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6072 (todo-current-category, todo-date-string-matcher)
6073 (todo-define-insertion-command, todo-diary-expired-matcher)
6074 (todo-diary-goto-entry, todo-diary-item-p)
6075 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6076 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6077 (todo-done-item-section-p, todo-done-separator)
6078 (todo-done-string-matcher, todo-files, todo-filter-items)
6079 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6080 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6081 (todo-insert-category-line, todo-insert-item-from-calendar)
6082 (todo-insert-sort-button, todo-insert-with-overlays)
6083 (todo-insertion-command-name, todo-insertion-key-bindings)
6084 (todo-label-to-key, todo-longest-category-name-length)
6085 (todo-make-categories-list, todo-mode-external-set)
6086 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6087 (todo-modes-set-3, todo-multiple-filter-files)
6088 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6089 (todo-read-category, todo-read-date, todo-read-dayname)
6090 (todo-read-file-name, todo-read-time)
6091 (todo-reevaluate-category-completions-files-defcustom)
6092 (todo-reevaluate-default-file-defcustom)
6093 (todo-reevaluate-filelist-defcustoms)
6094 (todo-reevaluate-filter-files-defcustom)
6095 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6096 (todo-reset-done-separator, todo-reset-done-separator-string)
6097 (todo-reset-done-string, todo-reset-global-current-todo-file)
6098 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6099 (todo-reset-prefix, todo-set-categories)
6100 (todo-set-date-from-calendar, todo-set-show-current-file)
6101 (todo-set-top-priorities, todo-short-file-name)
6102 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6103 (todo-total-item-counts, todo-update-buffer-list)
6104 (todo-update-categories-display, todo-update-categories-sexp)
6105 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6106 New functions.
6107 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6108 New major modes.
6109 (todo-categories, todo-display, todo-edit, todo-faces)
6110 (todo-filtered): New defgroups.
6111 (todo-archived-only, todo-button, todo-category-string, todo-date)
6112 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6113 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6114 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6115 (todo-add-item-if-new-category, todo-always-add-time-string)
6116 (todo-categories-align, todo-categories-archived-label)
6117 (todo-categories-category-label, todo-categories-diary-label)
6118 (todo-categories-done-label, todo-categories-number-separator)
6119 (todo-categories-todo-label, todo-categories-totals-label)
6120 (todo-category-completions-files, todo-completion-ignore-case)
6121 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6122 (todo-done-separator-string, todo-done-string)
6123 (todo-files-function, todo-filter-done-items, todo-filter-files)
6124 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6125 (todo-initial-category, todo-initial-file, todo-item-mark)
6126 (todo-legacy-date-time-regexp, todo-mode-line-function)
6127 (todo-nondiary-marker, todo-number-prefix)
6128 (todo-print-buffer-function, todo-show-current-file)
6129 (todo-show-done-only, todo-show-first, todo-show-with-done)
6130 (todo-skip-archived-categories, todo-top-priorities-overrides)
6131 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6132 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6133 New defcustoms.
6134 (todo-category-done, todo-date-pattern, todo-date-string-start)
6135 (todo-diary-items-buffer, todo-done-string-start)
6136 (todo-filtered-items-buffer, todo-item-start)
6137 (todo-month-abbrev-array, todo-month-name-array)
6138 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6139 (todo-top-priorities-buffer): New defconsts.
6140 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6141 (todo-categories-with-marks, todo-category-string-face)
6142 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6143 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6144 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6145 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6146 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6147 (todo-font-lock-keywords, todo-global-current-todo-file)
6148 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6149 (todo-insertion-commands-args)
6150 (todo-insertion-commands-args-genlist)
6151 (todo-insertion-commands-names, todo-insertion-map)
6152 (todo-key-bindings-t, todo-key-bindings-t+a)
6153 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6154 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6155 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6156 (todo-visited): New variables.
6157
61582013-06-21 Glenn Morris <rgm@gnu.org>
6159
6160 * play/cookie1.el (cookie-apropos): Add optional display argument.
6161 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6162 (psychoanalyze-pinhead): Use cookie-doctor.
6163
61642013-06-21 Juanma Barranquero <lekktu@gmail.com>
6165
6166 * emacs-lisp/package.el (tar-get-file-descriptor)
6167 (tar--extract): Declare.
6168
61692013-06-21 Eduard Wiebe <usenet@pusto.de>
6170
6171 Extend flymake's warning predicate to be a function (bug#14217).
6172 * progmodes/flymake.el (flymake-warning-predicate): New.
6173 (flymake-parse-line): Use it.
6174 (flymake-warning-re): Make obsolete alias to
6175 `flymake-warning-predicate'.
6176
61772013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6180 (package-obsolete-list): Remove.
6181 (package-activate): Remove min-version argument. Add `force' argument.
6182 Adjust to new package-alist format.
6183 (package-mark-obsolete): Remove.
6184 (package-unpack): Force reload of the package's autoloads.
6185 (package-installed-p): Check builtins if the installed package is not
6186 recent enough.
6187 (package-initialize): Don't reset package-obsolete-list.
6188 Don't specify which package version to activate.
6189 (package-process-define-package, describe-package-1)
6190 (package-menu--generate): Adjust to new package-alist format.
6191
61922013-06-21 Juanma Barranquero <lekktu@gmail.com>
6193
6194 * allout-widgets.el (allout-widgets-mode-off)
6195 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6196 (allout-widgets-post-command-business)
6197 (allout-widgets-after-copy-or-kill-function)
6198 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6199 (allout-decorate-item-and-context)
6200 (allout-graphics-modification-handler): Fix typos in docstrings.
6201 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6202
6203 * cmuscheme.el (scheme-start-file): Doc fix.
6204 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6205 (scheme-input-filter): Use `string-match-p'.
6206
6207 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6208
6209 * dired-x.el: Use Dired consistently in docstrings.
6210
6211 * dired.el: Use Dired consistently in docstrings.
6212 (dired-readin, dired-mode): Use `setq-local'.
6213 (dired-switches-alist): Make defvar-local.
6214 (dired-buffers-for-dir): Use `zerop'.
6215 (dired-safe-switches-p, dired-switches-escape-p)
6216 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6217 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6218 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6219 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6220 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6221 (dired-toggle-marks, dired-mark-files-containing-regexp)
6222 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6223 (dired-flag-auto-save-files, dired-flag-backup-files):
6224 Use `looking-at-p'.
6225 (dired-mark-files-regexp, dired-build-subdir-alist):
6226 Use `string-match-p', `looking-at-p'.
6227
6228 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6229 (direct-print-region-helper): Use `string-match-p'.
6230
62312013-06-21 Leo Liu <sdl.web@gmail.com>
6232
6233 * comint.el (comint-redirect-results-list-from-process):
6234 Fix infinite loop.
6235
62362013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6237
6238 * net/eww.el (eww-update-header-line-format): Quote % characters.
6239
62402013-06-21 Glenn Morris <rgm@gnu.org>
6241
6242 * play/cookie1.el (cookie): New custom group.
6243 (cookie-file): New option.
6244 (cookie-check-file): New function.
6245 (cookie): Make it interactive. Make start and end messages optional.
6246 Interactively, display the result. Default to cookie-file.
6247 (cookie-insert): Default to cookie-file.
6248 (cookie-snarf): Make start and end messages optional.
6249 Default to cookie-file. Use with-temp-buffer.
6250 (cookie-read): Rename from read-cookie.
6251 Make start and end messages optional. Default to cookie-file.
6252 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6253 Do not autoload it.
6254 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6255 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6256
62572013-06-21 Leo Liu <sdl.web@gmail.com>
6258
6259 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6260
62612013-06-21 Glenn Morris <rgm@gnu.org>
6262
6263 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6264
62652013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6266 Daniel Hackney <dan@haxney.org>
6267
6268 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6269 Consolidate the single-file vs tarball code.
6270 (package-desc-suffix): New function.
6271 (package-desc-full-name): Don't bother inlining it.
6272 (package-load-descriptor): Return the new package-desc.
6273 (package-mark-obsolete): Remove unused arg `package'.
6274 (package-unpack): Make it work for single files as well.
6275 Make it update package-alist.
6276 (package--make-autoloads-and-stuff): Rename from
6277 package--make-autoloads-and-compile. Don't compile any more.
6278 (package--compile): New function.
6279 (package-generate-description-file): New function, extracted from
6280 package-unpack-single.
6281 (package-unpack-single): Remove.
6282 (package--with-work-buffer): Add indentation and debugging info.
6283 (package-download-single): Remove.
6284 (package-install-from-archive): Rename from package-download-tar, make
6285 it take a pkg-desc, and make it work for single files as well.
6286 (package-download-transaction): Simplify.
6287 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6288 external tar program.
6289 (package-install-from-buffer): Remove `pkg-desc' argument.
6290 Use package-tar-file-info for tar-mode buffers.
6291 (package-install-file): Simplify accordingly.
6292 (package-archive-base): Change to take a pkg-desc.
6293 * tar-mode.el (tar--check-descriptor): New function, extracted from
6294 tar-get-descriptor.
6295 (tar-get-descriptor): Use it.
6296 (tar-get-file-descriptor): New function.
6297 (tar--extract): New function, extracted from tar-extract.
6298 (tar--extract): Use it.
6299 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6300 case the summary uses non-ascii. Adjust to new calling convention of
6301 package-tar-file-info.
6302
63032013-06-21 Leo Liu <sdl.web@gmail.com>
6304
6305 * comint.el (comint-redirect-results-list-from-process):
6306 Fix random delay. (Bug#14681)
6307
63082013-06-21 Juanma Barranquero <lekktu@gmail.com>
6309
6310 * profiler.el (profiler-format-number): Use log, not log10.
6311
63122013-06-20 Juanma Barranquero <lekktu@gmail.com>
6313
6314 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6315
63162013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6319 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6320 yet available.
6321 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6322 (AUTOGENEL): ... here.
6323 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6324 (cl--defsubst-expand): Use it.
6325
63262013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6327
6328 * subr.el (log10): Move here from C code, and declare as obsolete.
6329 All uses of (log10 X) replaced with (log X 10).
6330
63312013-06-20 Juanma Barranquero <lekktu@gmail.com>
6332
6333 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6334 Declare with `defvar-local'.
6335 (tabulated-list-use-header-line, tabulated-list-entries)
6336 (tabulated-list-padding, tabulated-list-printer)
6337 (tabulated-list-sort-key): Declare with `defvar-local'.
6338 (tabulated-list-init-header, tabulated-list-print-fake-header):
6339 Use `setq-local'.
6340
63412013-06-20 Michael Albinus <michael.albinus@gmx.de>
6342
6343 * arc-mode.el (archive-mode): Add `archive-write-file' to
6344 `write-contents-functions' also for remote files. (Bug#14652)
6345
63462013-06-20 Juanma Barranquero <lekktu@gmail.com>
6347
6348 * cus-edit.el (custom-commands): Fix typos.
6349 (custom-display): Fix tooltip text.
6350 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6351 Fix typos in docstrings.
6352 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6353 (custom-unlispify-menu-entry, custom-magic-value-create)
6354 (custom-add-see-also, custom-group-value-create): Use ?\s.
6355 (custom-guess-type, customize-apropos, editable-field)
6356 (custom-face-value-create): Use `string-match-p'.
6357 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6358
6359 * custom.el (custom-load-symbol): Use `string-match-p'.
6360
6361 * ansi-color.el: Convert to lexical binding.
6362 (ansi-colors): Fix URL.
6363 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6364 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6365 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6366
63672013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6368
6369 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6370
6371 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6372
63732013-06-19 Tom Tromey <tromey@redhat.com>
6374
6375 * net/eww.el (eww-top-url): Remove.
6376 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6377 (eww-render): Set new variables. Don't set eww-top-url.
6378 (eww-handle-link): Handle "prev", "home", and "contents".
6379 Downcase the rel text.
6380 (eww-top-url): Choose best top URL.
6381
63822013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6383
6384 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6385 relying in widget.el. Using widget.el leads to too many
6386 user interface inconsistencies.
6387 (eww-self-insert): Implement entering commands in text fields.
6388 (eww-process-text-input): New function to make text input field editing
6389 work.
6390 (eww-submit): Rewrite to use the new-style form methods.
6391 (eww-select-display): Display the correct selected item.
6392 (eww-change-select): Implement changing the select value.
6393 (eww-toggle-checkbox): Implement radio/checkboxes.
6394 (eww-update-field): Fix compilation error.
6395 (eww-tag-textarea): Implement <textarea>.
6396
6397 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6398 we don't shadow mode-specific bindings.
6399
6400 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6401 nothing to push.
6402
6403 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6404
64052013-06-19 Glenn Morris <rgm@gnu.org>
6406
6407 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6408
64092013-06-19 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6412 not needed.
6413
6414 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6415
64162013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6417
6418 * net/browse-url.el (browse-url-browser-function):
6419 `eww-browse-url' has the right calling signature, `eww' does not.
6420
64212013-06-19 Glenn Morris <rgm@gnu.org>
6422
6423 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6424 Only eval autoloaded macros.
6425 (byte-compile-autoload): Only give the macro warning for macros.
6426
6427 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6428 (ps-underlined-faces): Declare.
6429
6430 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6431 (speedbar-add-supported-extension): Declare.
6432
6433 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6434 Don't include a date stamp in the header of the generated file;
6435 it leads to needless differences between output files.
6436
64372013-06-19 Michael Albinus <michael.albinus@gmx.de>
6438
6439 * net/secrets.el (secrets-struct-secret-content-type):
6440 Replace check of introspection data by a test call of "CreateItem".
6441 Some servers do not offer introspection.
6442
64432013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * electric.el (electric-pair-mode): Improve interaction with
6446 electric-layout-mode.
6447 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6448 (electric-pair-syntax): Use text-mode-syntax-table in comments
6449 and strings.
6450 (electric-pair--insert): New function.
6451 (electric-pair-post-self-insert-function): Use it and
6452 electric--after-char-pos.
6453
64542013-06-19 Leo Liu <sdl.web@gmail.com>
6455
6456 * progmodes/octave.el (octave-help): Fix regexp.
6457
64582013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6459
6460 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6461 (shr-table-horizontal-line): Allow nil as a value, and change the
6462 default.
6463 (shr-insert-table-ruler): Respect the nil value.
6464
64652013-06-18 Tom Tromey <tromey@barimba>
6466
6467 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6468 New defvars.
6469 (eww-open-file): New defun.
6470 (eww-render): Initialize new variables.
6471 (eww-display-html): Handle "link" and "a".
6472 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6473 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6474 (eww-back-url): Rename from eww-previous-url.
6475 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6476 New defuns.
6477
64782013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6479
6480 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6481 Distinguish ternary operator tokens from slash symbol and slash
6482 char literal.
6483
64842013-06-18 Juanma Barranquero <lekktu@gmail.com>
6485
6486 Convert symbol prettification into minor mode and global minor mode.
6487
6488 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6489 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6490 (prettify-symbols--keywords): Rename from
6491 `prog-prettify-symbols-alist' and make a local defvar.
6492 (prettify-symbols--compose-symbol): Rename from
6493 `prog--prettify-font-lock-compose-symbol'.
6494 (prettify-symbols--make-keywords): Rename from
6495 `prog-prettify-font-lock-symbols-keywords' and simplify.
6496 (prog-prettify-install): Remove.
6497 (prettify-symbols-mode): New minor mode, based on
6498 `prog-prettify-install'.
6499 (turn-on-prettify-symbols-mode): New function.
6500 (global-prettify-symbols-mode): New globalized minor mode.
6501
6502 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6503 * progmodes/cfengine.el (cfengine3-mode):
6504 * progmodes/perl-mode.el (perl-mode): Don't call
6505 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6506
65072013-06-18 Juri Linkov <juri@jurta.org>
6508
6509 * files-x.el (modify-file-local-variable-message): New function.
6510 (modify-file-local-variable)
6511 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6512 and call `modify-file-local-variable-message' when it's non-nil.
6513 (add-file-local-variable, delete-file-local-variable)
6514 (add-file-local-variable-prop-line)
6515 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6516 and use it. (Bug#9820)
6517
65182013-06-18 Juri Linkov <juri@jurta.org>
6519
6520 * emulation/vi.el (vi-shell-op):
6521 * emulation/vip.el (vip-execute-com, ex-command):
6522 * emulation/viper-cmd.el (viper-exec-bang):
6523 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6524 the call of `shell-command-on-region'. (Bug#14637)
6525
6526 * simple.el (shell-command-on-region): Doc fix.
6527
65282013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6531 (bug#14633).
6532
65332013-06-18 Glenn Morris <rgm@gnu.org>
6534
6535 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6536
6537 * newcomment.el (comment-search-forward, comment-search-backward):
6538 Doc fix. (Bug#14376)
6539
65402013-06-18 Juanma Barranquero <lekktu@gmail.com>
6541
6542 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6543 (buffer-face-mode-invoke): Doc fix.
6544
65452013-06-18 Matthias Meulien <orontee@gmail.com>
6546
6547 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6548 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6549
65502013-06-18 Glenn Morris <rgm@gnu.org>
6551
6552 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6553 Replace obsolete function generic-make-keywords with its expansion.
6554
6555 * progmodes/python.el (ffap-alist): Declare.
6556
6557 * textmodes/reftex.el (bibtex-mode-map): Declare.
6558
65592013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6562 (package-unpack, package-unpack-single): Return the pkg-dir.
6563 (package-download-transaction): Use it to update package-alist.
6564
65652013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6566
6567 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6568 possible choice.
6569
65702013-06-17 Juri Linkov <juri@jurta.org>
6571
6572 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6573
65742013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6575
6576 * emacs-lisp/package.el (package-load-descriptor):
6577 Remove `with-syntax-table' call, `read' doesn't need it.
6578 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6579
65802013-06-17 Juanma Barranquero <lekktu@gmail.com>
6581
6582 * startup.el (command-line): Expand package name returned by
6583 `package--description-file' (bug#14639).
6584
65852013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6586
6587 * emacs-lisp/package.el (package-load-descriptor): Do not call
6588 `emacs-lisp-mode', just use its syntax table.
6589
65902013-06-17 Juanma Barranquero <lekktu@gmail.com>
6591
6592 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6593 `font-lock-extra-managed-props' if any prettifying keyword is added.
6594 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6595 (prog-mode): Use `setq-local'.
6596
65972013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * international/characters.el (standard-case-table): Set syntax of ?»
6600 and ?« to punctuation.
6601
66022013-06-16 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6605 Save relevant match data before calling `syntax-ppss' (bug#14595).
6606
66072013-06-15 Juri Linkov <juri@jurta.org>
6608
6609 * files-x.el (modify-file-local-variable-prop-line): Add local
6610 variables to the end of the existing comment on the first line.
6611 Use `file-auto-mode-skip' to skip interpreter magic line,
6612 and also skip XML declaration.
6613
66142013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * startup.el (package--builtin-versions): New var.
6617 (package-subdirectory-regexp): Remove.
6618 (package--description-file): Hard code its value instead.
6619
6620 * emacs-lisp/package.el: Don't activate packages older than builtin.
6621 (package-obsolete-list): Rename from package-obsolete-alist, and make
6622 it into a simple list of package-desc.
6623 (package-strip-version): Remove.
6624 (package-built-in-p): Use package--builtin-versions.
6625 (package-mark-obsolete): Simplify.
6626 (package-process-define-package): Mark it obsolete if older than the
6627 builtin version.
6628 (package-handle-response): Use line-end-position.
6629 (package-read-archive-contents, package--download-one-archive):
6630 Simplify.
6631 (package--add-to-archive-contents): Skip if older than the builtin or
6632 installed version.
6633 (package-menu-describe-package): Fix last change.
6634 (package-list-unversioned): New var.
6635 (package-menu--generate): Use it.
6636
6637 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6638 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6639 (autoload-builtin-package-versions): New variable.
6640 (autoload-generate-file-autoloads): Use them.
6641 Remove the list of autoloaded functions/macros from the
6642 (autoload...) comments.
6643
6644 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6645
66462013-06-15 Eli Zaretskii <eliz@gnu.org>
6647
6648 * simple.el (line-move-partial): Don't jump to the next screen
6649 line as soon as it becomes visible. Instead, continue enlarging
6650 the vscroll until the portion of a tall screen line that's left on
6651 display is about the height of the frame's default font.
6652 (Bug#14567)
6653
66542013-06-15 Glenn Morris <rgm@gnu.org>
6655
6656 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6657 compilation-error-regexp-alist void, or local while let-bound.
6658
6659 * progmodes/make-mode.el (makefile-mode-syntax-table):
6660 Treat "=" as punctuation. (Bug#14614)
6661
66622013-06-15 Juanma Barranquero <lekktu@gmail.com>
6663
6664 * help-fns.el (describe-variable):
6665 Add extra line for permanent-local variables.
6666
66672013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6668
6669 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6670 Add export, import, library. (Bug#9164)
6671 (library): Set indent function.
6672
66732013-06-14 Glenn Morris <rgm@gnu.org>
6674
6675 * term/xterm.el (xterm--query):
6676 Stop after first matching handler. (Bug#14615)
6677
66782013-06-14 Ivan Kanis <ivan@kanis.fr>
6679
6680 Add support for dired in saveplace.
6681 * dired.el (dired-initial-position-hook): New variable.
6682 (dired-initial-position): Call hook to place cursor position.
6683 * saveplace.el (save-place-to-alist): Add dired position.
6684 (save-place-dired-hook): New function.
6685
66862013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6689 through a symbol rather than letrec.
6690
6691 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6692 (package-desc): Add `dir' field.
6693 (package-desc-full-name): New function.
6694 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6695 (package-maybe-load-descriptor): Remove.
6696 (package-load-all-descriptors): Just call package-load-descriptor.
6697 (package--disabled-p): New function.
6698 (package-desc-vers, package-desc-doc): Remove aliases.
6699 (package--dir): Remove function.
6700 (package-activate): Check if a package is disabled.
6701 (package-process-define-package): New function, extracted from
6702 define-package.
6703 (define-package): Turn into a place holder.
6704 (package-unpack-single, package-tar-file-info):
6705 Use package--description-file.
6706 (package-compute-transaction): Use package--disabled-p.
6707 (package-download-transaction): Don't call
6708 package-maybe-load-descriptor since they're all loaded anyway.
6709 (package-install): Change argument to be a pkg-desc.
6710 (package-delete): Use a single pkg-desc argument.
6711 (describe-package-1): Use package-desc-dir instead of package--dir.
6712 Use package-desc property instead of package-symbol.
6713 (package-install-button-action): Adjust accordingly.
6714 (package--push): Rewrite.
6715 (package-menu--print-info): Adjust accordingly. Change the ID format
6716 to be a pkg-desc.
6717 (package-menu-describe-package, package-menu-get-status)
6718 (package-menu--find-upgrades, package-menu-mark-upgrades)
6719 (package-menu-execute, package-menu--name-predicate):
6720 Adjust accordingly.
6721 * startup.el (package--description-file): New function.
6722 (command-line): Use it.
6723 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6724 Use package-desc-version.
6725
6726 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6727 (byte-compile-preprocess): Use it.
6728 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6729 can't quite recognize.
6730 (byte-compile-add-to-list): Remove.
6731 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6732 (cconv-closure-convert): Add assertion.
6733
6734 * emacs-lisp/map-ynp.el: Use lexical-binding.
6735 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6736 Factor out some repeated code.
6737
67382013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * subr.el (with-eval-after-load): New macro.
6741 (eval-after-load): Allow form to be a function.
6742 take advantage of lexical-binding.
6743 (do-after-load-evaluation): Use dolist and adjust to new format.
6744 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6745
67462013-06-13 Juri Linkov <juri@jurta.org>
6747
6748 * replace.el (perform-replace): Display "symbol " and other search
6749 modes from `isearch-message-prefix' in the *Help* buffer.
6750
6751 * isearch.el (isearch-query-replace): Add " symbol" and other
6752 possible search modes from `isearch-message-prefix' to the prompt.
6753 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6754 when reading a regexp to collect.
6755
67562013-06-13 Juri Linkov <juri@jurta.org>
6757
6758 * isearch.el (word-search-regexp): Match whitespace if the search
6759 string begins or ends in whitespace. The LAX arg is applied to
6760 both ends of the search string. Use `regexp-quote' and explicit
6761 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6762 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6763 boundaries are replaced with symbol boundaries, and characters
6764 between symbols match non-word non-symbol syntax. (Bug#14602)
6765
67662013-06-13 Juri Linkov <juri@jurta.org>
6767
6768 * isearch.el (isearch-del-char): Don't exceed the length of
6769 `isearch-string' by the prefix arg. (Bug#14563)
6770
67712013-06-13 Juri Linkov <juri@jurta.org>
6772
6773 * isearch.el (isearch-yank-word, isearch-yank-line)
6774 (isearch-char-by-name, isearch-quote-char)
6775 (isearch-printing-char, isearch-process-search-char):
6776 Add optional count prefix arg. (Bug#14563)
6777
6778 * international/isearch-x.el
6779 (isearch-process-search-multibyte-characters):
6780 Add optional count prefix arg.
6781
67822013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6785 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6786 lexical-binding.
6787
67882013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6789
6790 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6791
67922013-06-13 Glenn Morris <rgm@gnu.org>
6793
6794 * startup.el (tty-handle-args):
6795 Don't just discard "--" and anything after. (Bug#14608)
6796
6797 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6798
67992013-06-13 Michael Albinus <michael.albinus@gmx.de>
6800
6801 Implement changes in Secret Service API. Make it backward compatible.
6802 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6803 (secrets-create-item): Use it. Prefix properties with interface.
6804
68052013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6806
6807 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6808 (term-emulate-terminal): Respect term-suppress-hard-newline.
6809
68102013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6811
6812 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6813 Only remove a `thumb-file' overlay. (Bug#14548)
6814
68152013-06-12 Grégoire Jadi <daimrod@gmail.com>
6816
6817 * mail/reporter.el (reporter-submit-bug-report):
6818 Handle missing package-name. (Bug#14600)
6819
68202013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6821
6822 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6823 (reftex-citation-prompt, reftex-default-bibliography)
6824 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6825 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6826 (reftex-bib-sort-author, reftex-bib-sort-year)
6827 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6828 (reftex-extract-bib-entries-from-thebibliography)
6829 (reftex-get-bibkey-default, reftex-get-bib-names)
6830 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6831 (reftex-format-bib-entry, reftex-parse-bibitem)
6832 (reftex-format-bibitem, reftex-do-citation)
6833 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6834 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6835 (reftex-insert-bib-matches, reftex-format-citation)
6836 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6837 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6838 existing comments into docstrings.
6839
68402013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6841
6842 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6843
68442013-06-12 Andreas Schwab <schwab@suse.de>
6845
6846 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6847 for auto-save files.
6848
68492013-06-12 Glenn Morris <rgm@gnu.org>
6850
6851 * ido.el (ido-delete-ignored-files): Remove.
6852 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6853 Go back to calling ido-ignore-item-p directly.
6854
68552013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6856
6857 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6858
6859 * ido.el (ido-delete-ignored-files): New function,
6860 split from ido-make-file-list-1.
6861 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6862 (ido-make-file-list-1): Use ido-delete-ignored-files.
6863
68642013-06-12 Leo Liu <sdl.web@gmail.com>
6865
6866 * progmodes/octave.el (inferior-octave-startup)
6867 (inferior-octave-completion-table)
6868 (inferior-octave-track-window-width-change)
6869 (octave-eldoc-function-signatures, octave-help)
6870 (octave-find-definition): Use single quoted strings.
6871 (inferior-octave-startup-args): Change default value.
6872 (inferior-octave-startup): Do not hard code "-i" and
6873 "--no-line-editing".
6874 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6875 (inferior-octave-directory-tracker): Use it.
6876 (octave-goto-function-definition): Robustify.
6877 (octave-help): Support highlighting operators in 'See also'.
6878 (octave-find-definition): Find subfunctions only in Octave mode.
6879
68802013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * help-fns.el (help-fns--compiler-macro): If the handler function is
6883 named, then put a link to it.
6884 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6885 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6886 (cl-typep): Use it.
6887 (cl-eval-when): Simplify debug spec.
6888 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6889 compiler-macro function instead of setting `compiler-macro-file'.
6890
68912013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6892
6893 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6894 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6895
68962013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6897 Daniel Hackney <dan@haxney.org>
6898
6899 First part of Daniel Hackney's patch to package.el.
6900 * emacs-lisp/package.el: Use defstruct.
6901 (package-desc): New, main struct.
6902 (package--bi-desc, package--ac-desc): New structs, used to describe the
6903 format in external files.
6904 (package-desc-vers): Replace with package-desc-version accessor.
6905 (package-desc-doc): Replace with package-desc-summary accessor.
6906 (package-activate-1): Remove `package' arg since the pkg-vec now
6907 includes the name.
6908 (define-package): Use package-desc-from-define.
6909 (package-unpack-single): Change file-name arg to be a symbol.
6910 (package--add-to-archive-contents): Use package-desc-create and new
6911 accessor functions to package--ac-desc.
6912 (package-buffer-info, package-tar-file-info): Return a package-desc.
6913 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6914 arg to be a package-desc.
6915 (package-install-file): Adjust accordingly. Use \' to match EOS.
6916 (package--from-builtin): New function.
6917 (describe-package-1, package-menu--generate): Use it.
6918 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6919 (package-generate-autoloads): Idem and return the name of the file.
6920 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6921 Change pkg-info arg to be a package-desc.
6922 Use package-make-ac-desc.
6923 (package-upload-file): Use \' to match EOS.
6924 * finder.el (finder-compile-keywords): Use package-make-builtin.
6925
69262013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * vc/vc.el (vc-deduce-fileset): Change error message.
6929 (vc-read-backend): New function.
6930 (vc-next-action): Use it.
6931
6932 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6933
6934 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6935 (prolog-font-lock-keywords): Use regexp-opt instead.
6936 Don't manually highlight strings.
6937 (prolog-mode-variables): Simplify comment-start-skip.
6938 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6939
6940 * emacs-lisp/generic.el (generic--normalise-comments)
6941 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6942 (generic-mode-set-comments): Use them.
6943 (generic-bracket-support): Use setq-local.
6944 (generic-make-keywords-list): Declare obsolete.
6945
69462013-06-11 Glenn Morris <rgm@gnu.org>
6947
6948 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6949 Prettify after setting font-lock-defaults. (Bug#14574)
6950
69512013-06-11 Juanma Barranquero <lekktu@gmail.com>
6952
6953 * replace.el (query-replace, occur-read-regexp-defaults-function)
6954 (replace-search):
6955 * subr.el (declare-function, number-sequence, local-set-key)
6956 (substitute-key-definition, locate-user-emacs-file)
6957 (with-silent-modifications, split-string, eval-after-load):
6958 Fix typos, remove unneeded backslashes and reflow some docstrings.
6959
69602013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6963 default for Elisp files.
6964
69652013-06-11 Glenn Morris <rgm@gnu.org>
6966
6967 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6968 although define-derived-mode was doing this anyway. (Bug#14583)
6969
69702013-06-10 Juanma Barranquero <lekktu@gmail.com>
6971
6972 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6973 Fix make-variable-buffer-local call to refer to the correct variable.
6974
69752013-06-10 Aidan Gauland <aidalgol@amuri.net>
6976
6977 * eshell/em-term.el (eshell-visual-commands)
6978 (eshell-visual-subcommands, eshell-visual-options):
6979 Add summary line to docstrings. Add cross-references.
6980
69812013-06-10 Glenn Morris <rgm@gnu.org>
6982
6983 * epa.el (epa-read-file-name): New function. (Bug#14510)
6984 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6985
69862013-06-09 Aidan Gauland <aidalgol@amuri.net>
6987
6988 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6989 output redirection to be ignored with visual commands.
6990
69912013-06-09 Aidan Gauland <aidalgol@amuri.net>
6992
6993 * eshell/em-term.el (eshell-visual-command-p): New function.
6994 (eshell-term-initialize): Move long lambda to separate function
6995 eshell-visual-command-p.
6996 * eshell/em-dirs.el (eshell-dirs-initialise):
6997 * eshell/em-script.el (eshell-script-initialize):
6998 Add missing #' to lambda.
6999
70002013-06-08 Leo Liu <sdl.web@gmail.com>
7001
7002 * progmodes/octave.el (octave-add-log-current-defun): New function.
7003 (octave-mode): Set add-log-current-defun-function.
7004 (octave-goto-function-definition): Do not move point if not found.
7005 (octave-find-definition): Enhance to try subfunctions first.
7006
70072013-06-08 Glenn Morris <rgm@gnu.org>
7008
7009 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7010 (byte-compile-backward-char, byte-compile-backward-word):
7011 Improve previous change, to handle non-explicit nil.
7012
70132013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7016 (smie--opener/closer-at-point): New function.
7017 (smie--matching-block-data): Use it. Don't match from right after an
7018 opener or right before a closer. Obey smie-blink-matching-inners.
7019 Don't signal a mismatch for repeated inners like "switch..case..case".
7020
70212013-06-07 Leo Liu <sdl.web@gmail.com>
7022
7023 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7024 to t. (Bug#14303)
7025 (octave-function-header-regexp): Fix. (Bug#14570)
7026 (octave-help-mode-finish-hook, octave-help-mode-finish):
7027 Remove. Just use temp-buffer-show-hook.
7028
7029 * newcomment.el (comment-search-backward): Revert last change.
7030 (Bug#14434)
7031
7032 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7033
70342013-06-07 Eli Zaretskii <eliz@gnu.org>
7035
7036 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7037 through xargs, to avoid failure due to MS-Windows limitations on
7038 command-line length.
7039
70402013-06-06 Glenn Morris <rgm@gnu.org>
7041
7042 * font-lock.el (lisp-font-lock-keywords-2):
7043 Treat user-error like error.
7044
7045 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7046 (byte-compile-backward-char, byte-compile-backward-word):
7047 Handle explicit nil arguments. (Bug#14565)
7048
70492013-06-05 Alan Mackenzie <acm@muc.de>
7050
7051 * isearch.el (isearch-allow-prefix): New user option.
7052 (isearch-other-meta-char): Don't exit isearch when a prefix
7053 argument is typed whilst `isearch-allow-prefix' is non-nil.
7054 (Bug#9706)
7055
70562013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7057
7058 * autorevert.el (auto-revert-notify-handler): Use memq.
7059 Hide assertion failure.
7060
7061 * skeleton.el: Use cl-lib.
7062 (skeleton-further-elements): Use defvar-local.
7063 (skeleton-insert): Use cl-progv.
7064
70652013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7066
7067 * progmodes/prog-mode.el (prog-prettify-symbols)
7068 (prog-prettify-install): Update docstrings.
7069
70702013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * simple.el: Move all the prog-mode code to prog-mode.el.
7073 * progmodes/prog-mode.el: New file.
7074 * loadup.el: Add prog-mode.el.
7075
70762013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7077
7078 * simple.el (prog-prettify-symbols): Add version.
7079 (prog-prettify-install): Add convenience function to prettify symbols.
7080
7081 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7082 (perl--augmented-font-lock-keywords-1)
7083 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7084 variables and use it.
7085
7086 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7087 (cfengine3-mode): Remove unneeded variable and use it.
7088
7089 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7090 (lisp--augmented-font-lock-keywords-1)
7091 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7092 Remove unneeded variables and use it.
7093
70942013-06-05 João Távora <joaotavora@gmail.com>
7095
7096 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7097 to point when opening the connection. (Bug#14380)
7098
70992013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 * subr.el (load-history-regexp, load-history-filename-element)
7102 (eval-after-load, after-load-functions, do-after-load-evaluation)
7103 (eval-next-after-load, display-delayed-warnings)
7104 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7105 definition of save-match-data.
7106 (overriding-local-map): Remove accidental obsolescence declaration.
7107
7108 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7109
71102013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7111
7112 Generalize symbol prettify support to prog-mode and implement it
7113 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7114 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7115 (prog--prettify-font-lock-compose-symbol)
7116 (prog-prettify-font-lock-symbols-keywords): New variables and
7117 functions to support symbol prettification.
7118 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7119 (lisp--augmented-font-lock-keywords-1)
7120 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7121 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7122 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7123 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7124 Implement prettify of -> => :: strings.
7125 * progmodes/perl-mode.el (perl-prettify-symbols)
7126 (perl--font-lock-compose-symbol)
7127 (perl--font-lock-symbols-keywords): Move to prog-mode.
7128 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7129 (perl-font-lock-keywords-1)
7130 (perl-font-lock-keywords-2): Remove explicit prettify support.
7131 (perl--augmented-font-lock-keywords)
7132 (perl--augmented-font-lock-keywords-1)
7133 (perl--augmented-font-lock-keywords-2, perl-mode):
7134 Implement prettify support.
7135
71362013-06-05 Leo Liu <sdl.web@gmail.com>
7137
7138 Re-implement smie matching block highlight using
7139 show-paren-data-function. (Bug#14395)
7140 * emacs-lisp/smie.el (smie-matching-block-highlight)
7141 (smie--highlight-matching-block-overlay)
7142 (smie--highlight-matching-block-lastpos)
7143 (smie-highlight-matching-block)
7144 (smie-highlight-matching-block-mode): Remove.
7145 (smie--matching-block-data-cache): New variable.
7146 (smie--matching-block-data): New function.
7147 (smie-setup): Use smie--matching-block-data for
7148 show-paren-data-function.
7149
7150 * progmodes/octave.el (octave-mode-menu): Fix.
7151 (octave-find-definition): Skip garbage lines.
7152
71532013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 Fix compilation error with simultaneous dynamic+lexical scoping.
7156 Add warning when a defvar appears after the first let-binding.
7157 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7158 (byte-compile-close-variables): Initialize it.
7159 (byte-compile--declare-var): New function.
7160 (byte-compile-file-form-defvar)
7161 (byte-compile-file-form-define-abbrev-table)
7162 (byte-compile-file-form-custom-declare-variable): Use it.
7163 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7164 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7165 (byte-compile-bind): Handle dynamic bindings that shadow
7166 lexical bindings.
7167 (byte-compile-unbind): Make arg non-optional.
7168 (byte-compile-let): Simplify.
7169 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7170 (cconv--analyse-function, cconv-analyse-form): Populate it.
7171 Protect byte-compile-bound-variables to limit the scope of defvars.
7172 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7173 Remove unneeded rule for `declare'.
7174
7175 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7176 so as to avoid depending on cl-adjoin at run-time.
7177 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7178
7179 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7180 (macroexp--warn-and-return): Use it.
7181
71822013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * lisp/subr.el: Convert to lexical binding.
7185 (overriding-local-map): Make obsolete.
7186 (add-to-list): Doc fix. Add compiler macro.
7187 (read-key): Swap values of local maps.
7188
71892013-06-05 Leo Liu <sdl.web@gmail.com>
7190
7191 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7192
71932013-06-04 Leo Liu <sdl.web@gmail.com>
7194
7195 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7196 (compilation-auto-jump): Suppress the "Mark set" message to give
7197 way to exit message.
7198
71992013-06-04 Alan Mackenzie <acm@muc.de>
7200
7201 Remove faulty optimisation from indentation calculation.
7202 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7203 search limit based on 2000 characters back from indent-point.
7204
72052013-06-03 Tassilo Horn <tsdh@gnu.org>
7206
7207 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7208
72092013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * emacs-lisp/lisp.el: Use lexical-binding.
7212 (lisp--local-variables-1, lisp--local-variables): New functions.
7213 (lisp--local-variables-completion-table): New var.
7214 (lisp-completion-at-point): Use it complete let-bound vars.
7215
7216 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7217 eagerly (bug#14422).
7218
72192013-06-03 Michael Albinus <michael.albinus@gmx.de>
7220
7221 * autorevert.el (auto-revert-notify-enabled)
7222 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7223 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7224 (auto-revert-notify-handler): Handle also gfilenotify.
7225
7226 * subr.el (file-notify-handle-event): New defun. Replacing ...
7227 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7228 Remove.
7229
72302013-06-03 Juri Linkov <juri@jurta.org>
7231
7232 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7233 `M-s h .'. (Bug#14427)
7234
7235 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7236 command `hi-lock-face-symbol-at-point'.
7237 (hi-lock-face-symbol-at-point): New command.
7238 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7239 (hi-lock-menu): Add `highlight-symbol-at-point'.
7240 (hi-lock-mode): Doc fix.
7241
7242 * isearch.el (isearch-forward-symbol-at-point): New command.
7243 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7244 (isearch-highlight-regexp): Add a regexp which matches
7245 words/symbols for word/symbol mode.
7246
7247 * subr.el (find-tag-default-bounds): New function with the body
7248 mostly moved from `find-tag-default'.
7249 (find-tag-default): Move most code to `find-tag-default-bounds',
7250 call it and apply `buffer-substring-no-properties' afterwards.
7251
72522013-06-03 Tassilo Horn <tsdh@gnu.org>
7253
7254 * eshell/em-term.el (eshell-term-initialize):
7255 Use `cl-intersection' rather than `intersection'.
7256
72572013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7258
7259 * vc/log-view.el: Doc fix.
7260 (log-view-mode-map): Copy keymap from `special-mode-map'.
7261
72622013-06-02 Eric Ludlam <zappo@gnu.org>
7263
7264 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7265 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7266 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7267 (eieio-unbound, eieio-default-superclass)
7268 (eieio--define-field-accessors, method-static, method-before)
7269 (method-primary, method-after, method-num-lists)
7270 (method-generic-before, method-generic-primary)
7271 (method-generic-after, method-num-slots)
7272 (eieio-specialized-key-to-generic-key)
7273 (eieio--check-type, class-v, class-p)
7274 (eieio-class-name, define-obsolete-function-alias)
7275 (eieio-class-parents-fast, eieio-class-children-fast)
7276 (same-class-fast-p, class-constructor, generic-p)
7277 (generic-primary-only-p, generic-primary-only-one-p)
7278 (class-option-assoc, class-option, eieio-object-p)
7279 (class-abstract-p, class-method-invocation-order)
7280 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7281 (eieio-class-un-autoload, eieio-defclass)
7282 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7283 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7284 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7285 (eieio-defgeneric-reset-generic-form)
7286 (eieio-defgeneric-form-primary-only)
7287 (eieio-defgeneric-reset-generic-form-primary-only)
7288 (eieio-defgeneric-form-primary-only-one)
7289 (eieio-defgeneric-reset-generic-form-primary-only-one)
7290 (eieio-unbind-method-implementations)
7291 (eieio--defmethod, eieio--typep)
7292 (eieio-perform-slot-validation, eieio-validate-slot-value)
7293 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7294 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7295 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7296 (eieio-slot-name-index, eieio-class-slot-name-index)
7297 (eieio-set-defaults, eieio-initarg-to-attribute)
7298 (eieio-attribute-to-initarg, eieio-c3-candidate)
7299 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7300 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7301 (eieio-class-precedence-list, eieio-generic-call-methodname)
7302 (eieio-generic-call-arglst, eieio-generic-call-key)
7303 (eieio-generic-call-next-method-list)
7304 (eieio-pre-method-execution-functions, eieio-generic-call)
7305 (eieio-generic-call-primary-only, eieiomt-method-list)
7306 (eieiomt-optimizing-obarray, eieiomt-install)
7307 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7308 (eieio-generic-form, eieio-defmethod, make-obsolete)
7309 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7310 (defclass): Remove `eval-and-compile' from macro.
7311 (call-next-method, shared-initialize): Instead of using
7312 `scoped-class' variable, use new eieio--scoped-class, and
7313 eieio--with-scoped-class.
7314 (initialize-instance): Rename local variable 'scoped-class' to
7315 'this-class' to remove ambiguitity from old global.
7316
7317 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7318 eieio.el.
7319 (eieio--scoped-class-stack): New variable.
7320 (eieio--scoped-class): New fcn.
7321 (eieio--with-scoped-class): New scoping macro.
7322 (eieio-defclass): Use pushnew instead of add-to-list.
7323 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7324 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7325 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7326 `scoped-class' variable, use new eieio--scoped-class, and
7327 eieio--with-scoped-class.
7328
7329 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7330
73312013-06-02 Tassilo Horn <tsdh@gnu.org>
7332
7333 * eshell/esh-ext.el (eshell-external-command): Pass args to
7334 `eshell-find-interpreter'.
7335 (eshell-find-interpreter): Add new second parameter ARGS.
7336
7337 * eshell/em-script.el (eshell-script-initialize): Add second arg
7338 to the function added as MATCH to `eshell-interpreter-alist'.
7339
7340 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7341 the function added as MATCH to `eshell-interpreter-alist'.
7342
7343 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7344 (eshell-visual-options): New defcustom.
7345 (eshell-escape-control-x): Adapt docstring.
7346 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7347 `eshell-visual-options' in addition to `eshell-visual-commands'.
7348 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7349
73502013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7351
7352 * progmodes/python.el (python-indent-block-enders): Add break,
7353 continue and raise keywords.
7354
73552013-06-01 Glenn Morris <rgm@gnu.org>
7356
7357 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7358
7359 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7360 * progmodes/cc-cmds.el (delete-forward-p):
7361 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7362 * progmodes/cc-engine.el (buffer-syntactic-context):
7363 * progmodes/cc-fonts.el (face-property-instance):
7364 * progmodes/cc-mode.el (set-keymap-parents):
7365 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7366 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7367 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7368 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7369 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7370
7371 * progmodes/cc-vars.el (other): Emacs has this widget since
7372 at least 21.1, so don't (re)define it.
7373
7374 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7375 Replace the obsolete alias pcomplete-arg-quote-list.
7376
73772013-06-01 Leo Liu <sdl.web@gmail.com>
7378
7379 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7380 punctuation syntax.
7381 (inferior-octave-minimal-columns)
7382 (inferior-octave-last-column-width): New variables.
7383 (inferior-octave-track-window-width-change): New function.
7384 (inferior-octave-mode): Adjust column width so that Octave output,
7385 for example from 'ls', can fit into the window nicely.
7386
73872013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7388
7389 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7390 Highlight expansions inside regexp literals.
7391
73922013-05-31 Glenn Morris <rgm@gnu.org>
7393
7394 * obsolete/sym-comp.el (symbol-complete):
7395 Replace obsolete completion-annotate-function.
7396
7397 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7398
73992013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7400
7401 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7402 New function, checks if point is inside a literal that allows
7403 expression expansion.
7404 (ruby-syntax-propertize-expansion): Use it.
7405 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7406 around the body.
7407
74082013-05-30 Juri Linkov <juri@jurta.org>
7409
7410 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7411 to "\M-si".
7412 (isearch-invisible): New variable.
7413 (isearch-forward): Doc fix.
7414 (isearch-mode): Set `isearch-invisible'
7415 to the value of `search-invisible'.
7416 (isearch-toggle-case-fold): Doc fix.
7417 (isearch-toggle-invisible): New command.
7418 (isearch-query-replace): Let-bind `search-invisible'
7419 to the value of `isearch-invisible'.
7420 (isearch-search): Use `isearch-invisible' instead of
7421 `search-invisible'. Let-bind `search-invisible'
7422 to the value of `isearch-invisible'. (Bug#11378)
7423
74242013-05-30 Juri Linkov <juri@jurta.org>
7425
7426 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7427 call when `query-flag' is nil and `search-invisible' is non-nil.
7428 (Bug#11746)
7429
74302013-05-30 Glenn Morris <rgm@gnu.org>
7431
7432 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7433
7434 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7435 (cc-require): Suppress spurious "noruntime" warnings.
7436 (cc-require-when-compile): Use fboundp, for sake of compiler.
7437
7438 * progmodes/cc-mode.el: Move load of cc-vars before that of
7439 cc-langs (which in turn loads cc-vars), to quieten compiler.
7440
74412013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * paren.el: Simplify the code.
7444 (show-paren-mode): Always start the timer.
7445 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7446 (show-paren--overlay, show-paren--overlay-1): Rename from
7447 show-paren-overlay and show-paren-overlay-1, and initialize to an
7448 overlay rather than to nil.
7449 (show-paren-function): Misc cleanup and simplifications.
7450
74512013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * paren.el (show-paren-data-function): New hook.
7454 (show-paren--default): New function, extracted from show-paren-function.
7455 (show-paren-function): Use show-paren-data-function.
7456
74572013-05-30 Glenn Morris <rgm@gnu.org>
7458
7459 * ielm.el (ielm-map, ielm-complete-symbol):
7460 Use completion-at-point rather than obsolete functions.
7461 (inferior-emacs-lisp-mode): Doc fix.
7462 Set completion-at-point-functions, rather than
7463 comint-dynamic-complete-functions.
7464
7465 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7466 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7467 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7468
7469 * image.el (image-animated-p): Tweak definition.
7470
7471 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7472 (rlogin-process-connection-type): Tweak default. Add set-after.
7473 (rlogin-host): Doc fix.
7474 (rlogin): Tweak prompt.
7475 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7476
7477 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7478 * progmodes/tcl.el (inferior-tcl-mode-map):
7479 Use completion-at-point rather than obsolete alias.
7480
7481 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7482
7483 * minibuffer.el (read-file-name-completion-ignore-case):
7484 Move before completion--in-region, for eager macro expansion.
7485
74862013-05-29 Juri Linkov <juri@jurta.org>
7487
7488 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7489 for total count of matching lines. Add `global-matches' for total
7490 count of matches. Rename `matches' to `lines' for count of
7491 matching lines. Add `matches' for count of matches.
7492 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7493 to `prev-line' for line number of prev match endpt.
7494 Increment `matches' for every match. Print the number of
7495 matching lines in the header.
7496 (occur-context-lines): Rename `lines' to `curr-line'.
7497 Rename `prev-lines' to `prev-line'. (Bug#14017)
7498
74992013-05-29 Juri Linkov <juri@jurta.org>
7500
7501 * replace.el (perform-replace): Add `skip-read-only-count',
7502 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7503 Increment them for corresponding conditions and report the number
7504 of skipped occurrences in the final message. (Bug#11746)
7505 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7506 (replace-string, replace-regexp): Doc fix.
7507
75082013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7511
7512 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7513 prog-mode-map (bug#14504).
7514
75152013-05-29 Leo Liu <sdl.web@gmail.com>
7516
7517 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7518 (octave-help): Small simplification.
7519
7520 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7521 off the highlight first.
7522
75232013-05-29 Glenn Morris <rgm@gnu.org>
7524
7525 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7526 Handle idlwave-last-system-routine-info-cons-cell being nil.
7527
7528 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7529 (idlwave-write-paths): Simplify via with-temp-buffer.
7530
7531 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7532 * emulation/cua-rect.el: Also load cua-base at run time.
7533
7534 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7535 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7536 (cperl-imenu-on-info): Require imenu.
7537
75382013-05-28 Alan Mackenzie <acm@muc.de>
7539
7540 Handle "capitalised keywords" correctly.
7541 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7542
75432013-05-28 Aidan Gauland <aidalgol@amuri.net>
7544
7545 * eshell/em-unix.el: Add -r option to cp.
7546
75472013-05-28 Glenn Morris <rgm@gnu.org>
7548
7549 * vc/vc-arch.el (vc-exec-after): Declare.
7550 (vc-switches): Autoload.
7551 * vc/vc-bzr.el: No need to require vc when compiling.
7552 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7553 (vc-resynch-buffer, vc-dir-refresh): Declare.
7554 (vc-setup-buffer, vc-switches): Autoload.
7555 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7556 (vc-resynch-buffer): Declare.
7557 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7558 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7559 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7560 (grep-read-regexp, grep-read-files, grep-expand-template)
7561 (vc-dir-refresh): Declare.
7562 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7563 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7564 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7565 * vc/vc-mtn.el (vc-exec-after): Declare.
7566 (vc-switches): Autoload.
7567 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7568 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7569 (vc-file-tree-walk): Declare.
7570 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7571 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7572 (vc-tag-precondition, vc-rename-master): Autoload.
7573 * vc/vc-svn.el (vc-exec-after): Declare.
7574 (vc-switches, vc-setup-buffer): Autoload.
7575 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7576 Autoload.
7577 (vc-resynch-buffer): Declare.
7578
7579 * obsolete/fast-lock.el (byte-compile-warnings):
7580 Don't warn about obsolete features in this obsolete file.
7581
7582 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7583 Move definition before use.
7584
7585 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7586 (dun-unix-verbs): Remove dun-zippy.
7587 (dun-zippy): Remove function.
7588
7589 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7590
75912013-05-27 Juri Linkov <juri@jurta.org>
7592
7593 * replace.el (replace-search): New function with code moved out
7594 from `perform-replace'.
7595 (replace-highlight, replace-dehighlight): Move function definitions
7596 up closer to `replace-search'. (Bug#11746)
7597
75982013-05-27 Juri Linkov <juri@jurta.org>
7599
7600 * replace.el (perform-replace): Ignore invisible matches.
7601 In addition to checking `query-replace-skip-read-only', also
7602 filter out matches by calling `run-hook-with-args-until-failure'
7603 on `isearch-filter-predicates', and also check `search-invisible'
7604 for t or call `isearch-range-invisible'.
7605 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7606
76072013-05-27 Juri Linkov <juri@jurta.org>
7608
7609 * isearch.el (isearch-filter-predicates): Rename from
7610 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7611 (isearch-message-prefix): Display text from the property
7612 `isearch-message-prefix' of the currently active filters.
7613 (isearch-search): Don't compare `isearch-filter-predicate' with
7614 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7615 on `isearch-filter-predicates'. Also check `search-invisible' for t
7616 or call `isearch-range-invisible'.
7617 (isearch-filter-visible): Make obsolete.
7618 (isearch-lazy-highlight-search):
7619 Call `run-hook-with-args-until-failure' on
7620 `isearch-filter-predicates' and use `isearch-range-invisible'.
7621
7622 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7623 `isearch-filter-predicates' instead of `funcall'ing
7624 `isearch-filter-predicate'.
7625 (Info-mode): Set `Info-isearch-filter' to
7626 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7627
7628 * dired-aux.el (dired-isearch-filter-predicate-orig):
7629 Remove variable.
7630 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7631 (dired-isearch-filenames-end): Add and remove
7632 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7633 instead of changing the value of `isearch-filter-predicate'.
7634 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7635 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7636 Put property `isearch-message-prefix' to "filename " on
7637 `dired-isearch-filter-filenames'.
7638
7639 * wdired.el (wdired-change-to-wdired-mode):
7640 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7641 locally instead of changing `isearch-filter-predicate'.
7642 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7643
76442013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7645
7646 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7647 return the commit hash (Bug#14459). Also set the
7648 `vc-git-detached' property.
7649 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7650 (vc-git-mode-line-string): Use the same help-echo format whether
7651 in detached mode or not, because we know the actual revision now.
7652 When in detached mode, shorten the revision to 7 chars.
7653
76542013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * emacs-lisp/easy-mmode.el (define-minor-mode):
7657 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7658 mode hook and provide a docstring.
7659
76602013-05-27 Alan Mackenzie <acm@muc.de>
7661
7662 Remove spurious syntax-table text properties inserted by C-y.
7663 * progmodes/cc-mode.el (c-after-change): Also clear hard
7664 syntax-table property with value nil.
7665
76662013-05-27 Michael Albinus <michael.albinus@gmx.de>
7667
7668 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7669 when reading the events; the buffer layout shall not be changed.
7670
76712013-05-27 Leo Liu <sdl.web@gmail.com>
7672
7673 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7674 New variable.
7675 (inferior-octave-directory-tracker): Automatically re-sync
7676 default-directory.
7677 (octave-help): Improve handling of 'See also'.
7678
76792013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * doc-view.el: Minor naming convention tweaks.
7682 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7683
7684 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7685 even if there's no `display' property yet (bug#14435).
7686
76872013-05-25 Eli Zaretskii <eliz@gnu.org>
7688
7689 * subr.el (unmsys--file-name): Rename from reveal-filename.
7690
7691 * Makefile.in (custom-deps, finder-data, autoloads)
7692 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7693 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7694 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7695
76962013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7699 error-completion on the first 2 args of condition-case (bug#14446).
7700 Don't burp at EOB.
7701
77022013-05-25 Leo Liu <sdl.web@gmail.com>
7703
7704 * comint.el (comint-previous-matching-input): Do not flood the
7705 *Messages* buffer with trivial messages.
7706
77072013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * progmodes/flymake.el (flymake-nop): Don't return a string.
7710 (flymake-set-at): Fix typo.
7711
7712 * simple.el (read--expression): New function, extracted from
7713 eval-expression. Set completion-at-point-functions (bug#14465).
7714 (eval-expression, eval-minibuffer): Use it.
7715
77162013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7717
7718 * progmodes/flymake.el (flymake-save-buffer-in-file)
7719 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7720 (flymake-selected-frame, flymake-log, flymake-ins-after)
7721 (flymake-set-at, flymake-get-buildfile-from-cache)
7722 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7723 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7724 Refine the doc string.
7725 (flymake-get-file-name-mode-and-masks): Reformat.
7726 (flymake-get-real-file-name-function): Fix a minor bug.
7727
77282013-05-24 Juri Linkov <juri@jurta.org>
7729
7730 * progmodes/grep.el (grep-mode-font-lock-keywords):
7731 Support =linenumber= format used by git-grep for lines with
7732 function names. (Bug#13549)
7733
77342013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7735
7736 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7737 0 after a semi-colon; it works better for smie-auto-fill.
7738 (octave--indent-new-comment-line): New function.
7739 (octave-indent-new-comment-line): Use it (indirectly).
7740 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7741 modify comment-line-break-function.
7742
7743 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7744 (smie-setup): Use add-function to set it.
7745
77462013-05-24 Sam Steingold <sds@gnu.org>
7747
7748 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7749 argument (before the `interactive' argument).
7750
77512013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * image-mode.el (image-mode-winprops): Add winprops to
7754 image-mode-winprops-alist before running
7755 image-mode-new-window-functions.
7756 * doc-view.el (doc-view-new-window-function): Don't delay
7757 doc-view-goto-page via timers (bug#14435).
7758
77592013-05-24 Tassilo Horn <tsdh@gnu.org>
7760
7761 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7762 (doc-view-desktop-save-buffer): New function.
7763 (doc-view-restore-desktop-buffer): New function.
7764 (desktop-buffer-mode-handlers):
7765 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7766 handler.
7767 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7768 `desktop-save-buffer' function.
7769
77702013-05-24 Michael Albinus <michael.albinus@gmx.de>
7771
7772 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7773 (tramp-gvfs-file-name-handler): Raise a user error when
7774 `tramp-gvfs-enabled' is nil.
7775 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7776 Do not raise a user error when loading package. (Bug#14447)
7777
7778 * net/xesam.el: Move to obsolete/.
7779
77802013-05-24 Glenn Morris <rgm@gnu.org>
7781
7782 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7783
7784 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7785
7786 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7787 (Info-find-node, Man-getpage-in-background): Declare.
7788
7789 * mail/unrmail.el (unrmail):
7790 Replace obsolete detect-coding-with-priority.
7791
7792 * net/socks.el (socks-split-string): Use this rather than split-string.
7793 (socks-nslookup-host): Update for above change.
7794 (dynamic-choice, s5-dynamic-choice-match)
7795 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7796 Comment out unused code.
7797
7798 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7799 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7800 (gud-tooltip-echo-area): Make obsolete.
7801 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7802
7803 * progmodes/js.el (js--optimize-arglist): Declare.
7804
7805 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7806
7807 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7808 (ediff-window-C): Declare.
7809
7810 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7811 Tweak requires to silence compiler.
7812
7813 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7814 (he-search-string, he-tried-table, he-expand-list)
7815 (he-init-string, he-string-member, he-substitute-string)
7816 (he-reset-string): Declare.
7817
7818 * obsolete/options.el (list-options): Use custom-variable-p,
7819 rather than obsolete alias.
7820
78212013-05-23 Sam Steingold <sds@gnu.org>
7822
7823 * simple.el (shell-command-on-region): Pass the `replace' argument
7824 down to `call-process-region' to comply with the doc as reported on
7825 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7826
78272013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7828
7829 * emacs-lisp/smie.el (smie-indent-forward-token)
7830 (smie-indent-backward-token): Handle string tokens (bug#14381).
7831
78322013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7833
7834 * ielm.el (ielm-menu): New menu.
7835 (inferior-emacs-lisp-mode): Set comment-start.
7836
78372013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7838
7839 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7840 Fix deactivate action.
7841
7842 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7843 Add cleveref macros.
7844
7845 * lisp/textmodes/reftex-parse.el
7846 (reftex-locate-bibliography-files): Accept options for
7847 bibliography commands.
7848 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7849 Add addbibresource. Basic Biblatex support.
7850
78512013-05-23 Michael Albinus <michael.albinus@gmx.de>
7852
7853 * net/tramp-gvfs.el (top):
7854 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7855 when loading package. (Bug#14447)
7856
78572013-05-23 Glenn Morris <rgm@gnu.org>
7858
7859 * progmodes/js.el: No need to load comint when compiling.
7860 (ring-insert, comint-send-string, comint-send-input)
7861 (comint-last-input-end, ido-chop): Declare.
7862
7863 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7864 * vc/ediff-mult.el: Adjust requires.
7865 (ediff-directories-internal, ediff-directory-revisions-internal)
7866 (ediff-patch-file-internal): Declare.
7867 * vc/ediff-ptch.el: Adjust requires.
7868 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7869 (ediff-find-file): Autoload.
7870 * vc/ediff-util.el: No need to load ediff when compiling.
7871 (ediff-regions-internal): Declare.
7872 * vc/ediff-wind.el: Adjust requires.
7873 (ediff-compute-toolbar-width): Define when compiling.
7874 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7875 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7876 (dired-get-filename, dired-get-marked-files)
7877 (ediff-last-dir-patch, ediff-patch-default-directory)
7878 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7879 (ediff-patch-buffer-internal): Declare.
7880
7881 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7882 (ispell-process, ispell-buffer-local-words, lm-summary)
7883 (lm-section-start, lm-section-end): Declare.
7884 (checkdoc-ispell-init): Simplify.
7885
7886 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7887 (he-string-member, he-reset-string, he-substitute-string): Declare.
7888
7889 * eshell/em-ls.el: Adjust requires.
7890 (eshell-glob-regexp): Declare.
7891 * eshell/em-tramp.el: Adjust requires.
7892 (eshell-parse-command): Autoload.
7893 * eshell/em-xtra.el: Adjust requires.
7894 (eshell-parse-command): Autoload.
7895 * eshell/esh-ext.el: Adjust requires.
7896 (eshell-parse-command, eshell-close-handles): Autoload.
7897 * eshell/esh-io.el: Adjust requires.
7898 (eshell-output-filter): Autoload.
7899 * eshell/esh-util.el: No need to load tramp when compiling.
7900 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7901 Declare.
7902 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7903 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7904 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7905 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7906 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7907 * eshell/esh-opt.el, eshell/esh-proc.el:
7908 * eshell/esh-var.el: Adjust requires.
7909 * eshell/eshell.el: Do not require esh-util twice.
7910 (eshell-add-input-to-history): Declare.
7911 (eshell-command): Check history module is active before using it.
7912
7913 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7914
79152013-05-22 Leo Liu <sdl.web@gmail.com>
7916
7917 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7918
79192013-05-22 Michael Albinus <michael.albinus@gmx.de>
7920
7921 * autorevert.el (auto-revert-notify-add-watch)
7922 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7923 it indicates changes in file modification time.
7924
79252013-05-22 Glenn Morris <rgm@gnu.org>
7926
7927 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7928 Always delete the autoloaded function from the noruntime and
7929 unresolved functions lists.
7930
7931 * allout.el: No need to load epa, epg, overlay when compiling.
7932 (epg-context-set-passphrase-callback, epg-list-keys)
7933 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7934 (epg-key-user-id-list): Declare.
7935
7936 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7937 (viper-set-parsing-style-toggling-macro)
7938 (viper-set-emacs-state-searchstyle-macros):
7939 Use called-interactively-p on Emacs.
7940 (viper-looking-back): Make it an obsolete alias. Update callers.
7941 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7942 Use looking-back rather than viper-looking-back.
7943 (viper-tmp-insert-at-eob, viper-enlarge-region)
7944 (viper-read-string-with-history, viper-register-to-point)
7945 (viper-append-to-register, viper-change-state-to-vi)
7946 (viper-backward-char-carefully, viper-forward-char-carefully)
7947 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7948 (viper-change-state-to-emacs): Declare.
7949 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7950 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7951 * emulation/viper-mous.el: Do not load viper-cmd.
7952 (viper-backward-char-carefully, viper-forward-char-carefully)
7953 (viper-forward-word, viper-adjust-window): Declare.
7954
7955 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7956
7957 * progmodes/idlw-help.el (idlwave-help-fontify):
7958 Use called-interactively-p.
7959
7960 * term/w32console.el (w32-get-console-codepage)
7961 (w32-get-console-output-codepage): Declare.
7962
7963 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7964 Remove unnecessary declarations.
7965 (dframe-message): Doc fix.
7966
7967 * info.el (dframe-select-attached-frame, dframe-current-frame):
7968 Declare.
7969
7970 * speedbar.el (speedbar-message): Make it an obsolete alias.
7971 Update all callers.
7972 (speedbar-with-attached-buffer)
7973 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7974 (speedbar-with-writable): Use backquote.
7975 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7976 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7977 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7978 rather than speedbar- aliases.
7979 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7980 (speedbar-make-specialized-keymap, speedbar-insert-button)
7981 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7982 (speedbar-do-function-pointer): Declare.
7983 (rmail-speedbar-button, rmail-speedbar-find-file)
7984 (rmail-speedbar-move-message):
7985 Use dframe-with-attached-buffer rather than speedbar- alias.
7986 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7987 (dframe-message, speedbar-make-specialized-keymap)
7988 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7989 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7990 (speedbar-insert-button, dframe-select-attached-frame)
7991 (dframe-maybee-jump-to-attached-frame)
7992 (speedbar-change-initial-expansion-list)
7993 (speedbar-previously-used-expansion-list-name): Declare.
7994 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7995 Use dframe-message, dframe-with-attached-buffer rather than
7996 speedbar- aliases.
7997 (gud-sentinel): Silence compiler.
7998 * progmodes/vhdl-mode.el (speedbar-refresh)
7999 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8000 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8001 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8002 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8003 (speedbar-file-lists, speedbar-make-tag-line)
8004 (speedbar-line-directory, speedbar-goto-this-file)
8005 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8006 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8007 (speedbar-make-button, speedbar-reset-scanners)
8008 (speedbar-files-item-info, speedbar-line-text)
8009 (speedbar-find-file-in-frame, speedbar-set-timer)
8010 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8011 (speedbar-with-writable): Do not (re)define it.
8012 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8013 rather than speedbar- alias.
8014
80152013-05-21 Leo Liu <sdl.web@gmail.com>
8016
8017 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8018 menu items.
8019 (octave-mode): Tweak fill-nobreak-predicate.
8020 (inferior-octave-startup): Check process to avoid infinite loop.
8021 (inferior-octave): Pop to buffer first to show abornmal process
8022 exit information.
8023
80242013-05-21 Glenn Morris <rgm@gnu.org>
8025
8026 * printing.el (pr-menu-bar): Define when compiling.
8027
80282013-05-21 Leo Liu <sdl.web@gmail.com>
8029
8030 * progmodes/octave.el (octave-auto-fill): Remove.
8031 (octave-indent-new-comment-line): Improve.
8032 (octave-mode): Use auto fill mode through
8033 comment-line-break-function and fill-nobreak-predicate.
8034 (octave-goto-function-definition): Support DEFUN_DLD.
8035 (octave-beginning-of-defun): Small tweak.
8036 (octave-help): Show parent directory.
8037
80382013-05-21 Glenn Morris <rgm@gnu.org>
8039
8040 * files.el (dired-unmark):
8041 * progmodes/gud.el (gdb-input): Update declarations.
8042
8043 * calculator.el (electric, ehelp): No need to load when compiling.
8044 (Electric-command-loop, electric-describe-mode): Declare.
8045
8046 * doc-view.el (doc-view-current-converter-processes): Move before use.
8047
8048 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8049 Move MODE-set-explicitly definition before use.
8050
8051 * international/mule-diag.el (mule-diag):
8052 Don't use obsolete window-system-version.
8053
8054 * mail/feedmail.el (smtpmail): No need to load when compiling.
8055 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8056
8057 * mail/mail-utils.el (rfc822): No need to load when compiling.
8058 (rfc822-addresses): Autoload it.
8059 (mail-strip-quoted-names): Trivial simplification.
8060
8061 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8062 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8063
8064 * net/snmp-mode.el (tempo): Don't duplicate requires.
8065
8066 * progmodes/prolog.el (info): No need to load when compiling.
8067 (comint): Require before shell requires it.
8068 (Info-goto-node): Autoload it.
8069 (Info-follow-nearest-node): Declare.
8070 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8071
8072 * textmodes/artist.el (picture-mode-exit): Declare.
8073
8074 * textmodes/reftex-parse.el (reftex-parse-from-file):
8075 Trivial rewrite so the compiler can parse it better.
8076
80772013-05-20 Leo Liu <sdl.web@gmail.com>
8078
8079 * progmodes/octave.el (octave-help-mode-map)
8080 (octave-help-mode-finish-hook): New variables.
8081 (octave-help-mode, octave-help-mode-finish): New functions.
8082 (octave-help): Use octave-help-mode.
8083
80842013-05-20 Glenn Morris <rgm@gnu.org>
8085
8086 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8087
80882013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8089
8090 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8091 start at point, so that expansion starting right after opening
8092 slash in a regexp is recognized.
8093 (ruby-syntax-before-regexp-re): New defvar, extracted from
8094 ruby-syntax-propertize-function. Since the value of this regexp
8095 is looked up at runtime now, we should be able to turn
8096 `ruby-syntax-methods-before-regexp' into a defcustom later.
8097 (ruby-syntax-propertize-function): Split regexp matching into two
8098 parts, for opening and closing slashes. That allows us to skip
8099 over string interpolations and support multiline regexps.
8100 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8101 for them, which calls `ruby-syntax-propertize-expansion'.
8102 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8103 call to `ruby-syntax-propertize-function'.
8104 (ruby-syntax-propertize-expansion): Extracted from
8105 `ruby-syntax-propertize-expansions'. Handles one expansion.
8106 (ruby-syntax-propertize-percent-literal): Leave point right after
8107 the percent symbol, so that the expression expansion rule can
8108 propertize the contents.
8109 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8110 heredoc openers.
8111 (ruby-syntax-propertize-expansions): Remove.
8112
81132013-05-18 Juri Linkov <juri@jurta.org>
8114
8115 * man.el (Man-default-man-entry): Remove `-' from the end
8116 of the default value. (Bug#14400)
8117
81182013-05-18 Glenn Morris <rgm@gnu.org>
8119
8120 * comint.el (comint-password-prompt-regexp):
8121 Allow "password for XXX" where XXX contains colons (eg https://...).
8122
81232013-05-18 Leo Liu <sdl.web@gmail.com>
8124
8125 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8126 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8127 (octave-source-directories): Don't check process.
8128 (octave-source-directories, octave-find-definition): Doc fix.
8129
81302013-05-18 Glenn Morris <rgm@gnu.org>
8131
8132 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8133 Remove backspace/delete bindings. (Bug#14392)
8134
8135 * cus-dep.el (custom-make-dependencies): Sort the output.
8136 (custom-versions-load-alist): Convert comment to doc.
8137
81382013-05-17 Leo Liu <sdl.web@gmail.com>
8139
8140 * newcomment.el (comment-search-backward): Stricter in finding
8141 comment start. (Bug#14303)
8142
8143 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8144 (octave-comment-start-skip): Properly anchored.
8145
81462013-05-17 Leo Liu <sdl.web@gmail.com>
8147
8148 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8149 Clean up when turned off. (Bug#14395)
8150 (smie--highlight-matching-block-overlay): No longer buffer-local.
8151 (smie-highlight-matching-block): Adjust.
8152
81532013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8154
8155 Doc string fix for "nanoseconds" (Bug#14406).
8156 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8157 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8158
81592013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8160
8161 * calc/calc-units.el (math-extract-units): Preserve powers
8162 of units.
8163
81642013-05-17 Leo Liu <sdl.web@gmail.com>
8165
8166 * subr.el (delete-consecutive-dups): New function.
8167 * ido.el (ido-set-matches-1): Use it.
8168 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8169 * ido.el (ido-remove-consecutive-dups): Remove.
8170
81712013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8172
8173 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8174 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8175 regexp-opt's `words'.
8176
81772013-05-16 Leo Liu <sdl.web@gmail.com>
8178
8179 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8180 (smie--highlight-matching-block-overlay)
8181 (smie--highlight-matching-block-lastpos)
8182 (smie--highlight-matching-block-timer): New variables.
8183 (smie-highlight-matching-block): New function.
8184 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8185 (smie-setup): Conditionally enable smie-blink-matching-open.
8186
81872013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8188
8189 Sync with upstream verilog-mode r840.
8190 * progmodes/verilog-mode.el (verilog-mode-version)
8191 (verilog-mode-release-date): Update.
8192 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8193 (verilog-sig-tieoff): Fix string error on
8194 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8195 (verilog-read-decls): Fix parameters confusing
8196 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8197
81982013-05-16 Eli Zaretskii <eliz@gnu.org>
8199
8200 * subr.el (reveal-filename): New function.
8201
8202 * loadup.el: Compute Emacs executable versions on MS-Windows,
8203 where executables have the .exe extension. Add a hard link
8204 emacs-XX.YY.ZZ.exe on MS-Windows.
8205
8206 * Makefile.in (XARGS_LIMIT): New variable.
8207 (custom-deps, finder-data, autoloads)
8208 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8209 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8210 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8211 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8212
82132013-05-16 Leo Liu <sdl.web@gmail.com>
8214
8215 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8216 (octave-mode-menu, octave-mode-map): Remove its uses.
8217
82182013-05-16 Reto Zimmermann <reto@gnu.org>
8219
8220 Sync with upstream vhdl mode v3.34.2.
8221 * progmodes/vhdl-mode.el: Use `push' throughout.
8222 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8223 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8224 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8225 (vhdl-actual-generic-name): New option to derive actual generic name.
8226 (vhdl-port-paste-signals): Replace formal by actual generics.
8227 (vhdl-beautify): New name for old group vhdl-align. Update users.
8228 (vhdl-beautify-options): New option.
8229 (vhdl-last-input-event): New compat alias. Use throughout.
8230 (vhdl-goto-line): Replace user level function `goto-line'.
8231 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8232 vhdl-fix-statement-buffer.
8233 (vhdl-create-mode-menu): Add some entries.
8234 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8235 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8236 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8237 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8238 to force statements on one line.
8239 (vhdl-remove-trailing-spaces-region):
8240 New, split from vhdl-remove-trailing-spaces.
8241 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8242 Respect vhdl-beautify-options.
8243 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8244 (vhdl-update-sensitivity-list): Not add with index if exists without.
8245 Not include array index with signal. Ignore keywords in comments.
8246 (vhdl-get-visible-signals): Regexp tweaks.
8247 (vhdl-template-component-inst): Handle empty library.
8248 (vhdl-template-type): Add template for 'enum' type.
8249 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8250 Use vhdl-replace-string.
8251 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8252 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8253 (vhdl-speedbar-initialize): Update for above name change.
8254 (vhdl-compose-wire-components): Fix in handling of constants.
8255 (vhdl-error-regexp-emacs-alist): New variable.
8256 (vhdl-error-regexp-add-emacs): New function;
8257 adds support for new compile.el (Emacs 22+)
8258 (vhdl-generate-makefile-1): Change target order for single lib. units.
8259 Allow use of absolute file names.
8260
82612013-05-16 Leo Liu <sdl.web@gmail.com>
8262
8263 * simple.el (prog-indent-sexp): Indent enclosing defun.
8264
82652013-05-15 Glenn Morris <rgm@gnu.org>
8266
8267 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8268 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8269 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8270 (whitespace-highlight): Move to whitespace group.
8271
8272 * comint.el (comint-source):
8273 * pcmpl-linux.el (pcmpl-linux):
8274 * shell.el (shell-faces):
8275 * eshell/esh-opt.el (eshell-opt):
8276 * international/ccl.el (ccl): Remove empty custom groups.
8277
8278 * completion.el (dynamic-completion-mode):
8279 * jit-lock.el (jit-lock-debug-mode):
8280 * minibuffer.el (completion-in-region-mode):
8281 * type-break.el (type-break-mode-line-message-mode)
8282 (type-break-query-mode):
8283 * emulation/tpu-edt.el (tpu-edt-mode):
8284 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8285 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8286 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8287
8288 * term/xterm.el (xterm): Change parent group to terminals.
8289
8290 * master.el (master): Remove empty custom group.
8291 (master-mode): Remove unused :group argument.
8292 * textmodes/refill.el (refill): Remove empty custom group.
8293 (refill-mode): Remove unused :group argument.
8294
8295 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8296
8297 * cus-dep.el: Provide a feature.
8298 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8299 Don't mistakenly ignore files whose basenames match a basename
8300 from preloaded-file-list (eg cedet/ede/simple.el).
8301 Add a fallback method for getting :group.
8302
83032013-05-15 Juri Linkov <juri@jurta.org>
8304
8305 * isearch.el (isearch-char-by-name): Rename from
8306 `isearch-insert-char-by-name'. Doc fix.
8307 (isearch-forward): Mention `isearch-char-by-name' in
8308 the docstring. (Bug#13348)
8309
8310 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8311 `exit-minibuffer' instead of
8312 `isearch-nonincremental-exit-minibuffer'.
8313 (isearch-edit-string): Remove mention of
8314 `isearch-nonincremental-exit-minibuffer' from docstring.
8315 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8316 (isearch-forward-exit-minibuffer)
8317 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8318
83192013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 * loadup.el: Just use unversioned DOC.
8322
8323 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8324 literals as extending to EOB.
8325 (nxml-last-fontify-end): Remove unused variable.
8326 (nxml-after-change1): Use with-silent-modifications.
8327 (nxml-extend-after-change-region): Simplify.
8328 (nxml-extend-after-change-region1): Remove function.
8329 (nxml-after-change1): Don't adjust for dependent regions.
8330 (nxml-fontify-matcher): Simplify.
8331 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8332 (xmltok-add-dependent): Remove function.
8333 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8334 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8335 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8336 unclosed <[[, <?, comment, and other literals as extending to EOB.
8337 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8338 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8339 Remove functions.
8340 (rng-do-some-validation-1): Don't mark dependent regions.
8341 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8342 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8343 (nxml-clear-dependent-regions): Remove functions.
8344 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8345 (nxml-ensure-scan-up-to-date):
8346 Don't clear&mark dependent regions.
8347
83482013-05-15 Leo Liu <sdl.web@gmail.com>
8349
8350 * progmodes/octave.el (octave-goto-function-definition):
8351 Improve and fix callers.
8352
83532013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8356 the setter (bug#14387).
8357
8358 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8359 surrounding group (bug#14402).
8360
83612013-05-14 Juri Linkov <juri@jurta.org>
8362
8363 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8364 (Bug#14390)
8365
83662013-05-14 Glenn Morris <rgm@gnu.org>
8367
8368 * progmodes/f90.el (f90-imenu-generic-expression):
8369 Fix typo in 2013-05-08 change. (Bug#14402)
8370
83712013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8372
8373 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8374 Remove signals for which replies are never received.
8375
83762013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8377
8378 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8379 (gdb-handler-alist, gdb-handler-number): Remove variables.
8380 (gdb-handler-list): New variable.
8381 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8382 (gdb-pending-handler-p, gdb-handle-reply)
8383 (gdb-remove-all-pending-triggers): New functions.
8384 (gdb-discard-unordered-replies): New defcustom.
8385 (gdb-handler): New defstruct.
8386 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8387 instead of gdb-pending-triggers. Update docstring.
8388 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8389 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8390 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8391 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8392 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8393 (gdb-frame-handler): Pending triggers are now automatically managed.
8394 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8395 Remove argument.
8396 (gdb-input): Automatically handles pending triggers. Update docstring.
8397 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8398 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8399 Update comments.
8400 (gdb-done-or-error): Now use gdb-handle-reply.
8401
84022013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8403
8404 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8405 gdb-debug-log.
8406
84072013-05-14 Glenn Morris <rgm@gnu.org>
8408
8409 * subr.el (user-emacs-directory-warning): New option.
8410 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8411
84122013-05-14 Leo Liu <sdl.web@gmail.com>
8413
8414 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8415 during redisplay.
8416 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8417 (octave-font-lock-texinfo-comment): Fix invalid search bound
8418 error: wrong side of point.
8419
84202013-05-14 Glenn Morris <rgm@gnu.org>
8421
8422 * progmodes/flymake.el (flymake-xml-program): New option.
8423 (flymake-xml-init): Use it.
8424
8425 * term/xterm.el: Provide a feature.
8426
8427 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8428
84292013-05-13 Glenn Morris <rgm@gnu.org>
8430
8431 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8432 Add compat aliases as a hack workaround. (Bug#14384)
8433
84342013-05-13 Leo Liu <sdl.web@gmail.com>
8435
8436 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8437 ###, and %!.
8438 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8439 C-M-q.
8440 (octave-comment-start-skip): Include %!.
8441 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8442
84432013-05-12 Leo Liu <sdl.web@gmail.com>
8444
8445 * progmodes/octave.el (inferior-octave-startup): Store the value
8446 of __octave_srcdir__ for octave-source-directories.
8447 (inferior-octave-check-process): New function refactored out of
8448 inferior-octave-send-list-and-digest.
8449 (octave-source-directories)
8450 (octave-find-definition-filename-function): New variables.
8451 (octave-source-directories)
8452 (octave-find-definition-default-filename): New functions.
8453 (octave-find-definition): Improve to find functions implemented in C++.
8454
84552013-05-12 Glenn Morris <rgm@gnu.org>
8456
8457 * calendar/diary-lib.el (diary-outlook-format-1):
8458 Don't include dayname in the output. (Bug#14349)
8459
84602013-05-11 Glenn Morris <rgm@gnu.org>
8461
8462 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8463
8464 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8465 Treat cc-provide like provide.
8466
84672013-05-11 Kevin Ryde <user42@zip.com.au>
8468
8469 * cus-dep.el (custom-make-dependencies):
8470 Use generated-autoload-load-name for the sake of files such
8471 such cedet/semantic/bovine/c.el, where the base file name
8472 is not in load-path. (Bug#5277)
8473
84742013-05-11 Glenn Morris <rgm@gnu.org>
8475
8476 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8477 Provide features.
8478
84792013-05-11 Leo Liu <sdl.web@gmail.com>
8480
8481 * progmodes/octave.el (octave-indent-comment): Improve.
8482 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8483 (octave-eldoc-function-signatures, octave-eldoc-function):
8484 New functions.
8485 (octave-mode, inferior-octave-mode): Add eldoc support.
8486
84872013-05-11 Richard Stallman <rms@gnu.org>
8488
8489 * epa.el (epa-decrypt-file): Take output file name as argument
8490 and read it using `interactive'.
8491
84922013-05-11 Leo Liu <sdl.web@gmail.com>
8493
8494 * progmodes/octave.el (octave-beginning-of-line)
8495 (octave-end-of-line): Check before using up-list because it jumps
8496 out of more syntactic contructs since moving to smie.
8497 (octave-indent-comment): New function.
8498 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8499 (octave-begin-keywords, octave-end-keywords)
8500 (octave-reserved-words, octave-smie-bnf-table)
8501 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8502
85032013-05-11 Glenn Morris <rgm@gnu.org>
8504
8505 * faces.el (internal-face-x-get-resource):
8506 * frame.el (ns-display-monitor-attributes-list):
8507 * calc/calc-aent.el (math-to-radians-2):
8508 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8509 Fix declarations.
8510
8511 * calc/calc-menu.el: Make it loadable in isolation.
8512
8513 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8514 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8515 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8516 (eudc-bbdb-query-internal): Require 'bbdb.
8517
8518 * lpr.el (lpr-headers-switches):
8519 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8520
8521 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8522
8523 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8524
8525 * term.el (term-set-escape-char): Make it idempotent.
8526
85272013-05-10 Leo Liu <sdl.web@gmail.com>
8528
8529 * progmodes/octave.el (inferior-octave-completion-table):
8530 No longer a function and all uses changed. Use cache to speed up
8531 completion due to bug#11906.
8532 (octave-beginning-of-defun): Re-write to be more general.
8533
85342013-05-10 Glenn Morris <rgm@gnu.org>
8535
8536 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8537
85382013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8539
8540 * comint.el (comint-redirect-send-command-to-process): Use :around
8541 rather than :override for comint-redirect-filter.
8542 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8543 Call it instead of comint-redirect-original-filter-function (which
8544 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8545
85462013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8547
8548 * frame.el (display-monitor-attributes-list): Add NS case.
8549 (ns-display-monitor-attributes-list): Declare.
8550
85512013-05-09 Ulrich Mueller <ulm@gentoo.org>
8552
8553 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8554
85552013-05-09 Glenn Morris <rgm@gnu.org>
8556
8557 * international/fontset.el (vertical-centering-font-regexp):
8558 Set standard-value.
8559
8560 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8561
8562 * bookmark.el (bookmark-search-delay):
8563 * cus-start.el (vertical-centering-font-regexp):
8564 * ps-mule.el (ps-mule-font-info-database-default):
8565 * ps-print.el (ps-default-fg, ps-default-bg):
8566 * type-break.el (type-break-good-break-interval):
8567 * whitespace.el (whitespace-indentation-regexp)
8568 (whitespace-space-after-tab-regexp):
8569 * emacs-lisp/testcover.el (testcover-1value-functions)
8570 (testcover-noreturn-functions, testcover-progn-functions)
8571 (testcover-prog1-functions):
8572 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8573 * eshell/em-glob.el (eshell-glob-translate-alist):
8574 * play/tetris.el (tetris-tty-colors):
8575 * progmodes/cpp.el (cpp-face-default-list):
8576 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8577 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8578 (idlwave-help-browser-generic-args):
8579 * progmodes/make-mode.el (makefile-special-targets-list):
8580 * progmodes/python.el (python-shell-virtualenv-path):
8581 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8582 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8583 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8584 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8585 * textmodes/reftex-vars.el (reftex-format-label-function):
8586 * textmodes/remember.el (remember-diary-file): Fix custom types.
8587
8588 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8589 Add :version.
8590
85912013-05-09 Leo Liu <sdl.web@gmail.com>
8592
8593 * progmodes/octave.el (inferior-octave-completion-at-point):
8594 Restore file completion. (Bug#14300)
8595 (inferior-octave-startup): Fix incorrect highlighting for the
8596 first prompt.
8597
85982013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * progmodes/ruby-mode.el: First cut at SMIE support.
8601 (ruby-use-smie): New var.
8602 (ruby-smie-grammar): New constant.
8603 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8604 (ruby-smie--forward-token, ruby-smie--backward-token)
8605 (ruby-smie-rules): New functions.
8606 (ruby-mode-variables): Setup SMIE if applicable.
8607
86082013-05-08 Eli Zaretskii <eliz@gnu.org>
8609
8610 * simple.el (line-move-visual): Signal beginning/end of buffer
8611 only if vertical-motion moved less than it was requested. Avoids
8612 silly incorrect error messages when there are display strings with
8613 multiple newlines at EOL.
8614
86152013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8618 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8619 (prolog-char-quote-workaround):
8620 * progmodes/cperl-mode.el (cperl-under-as-char):
8621 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8622 Mark as obsolete.
8623 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8624 their declaration.
8625 (vhdl-mode-syntax-table-init): Remove.
8626
8627 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8628 last change.
8629
8630 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8631 syntax for "_".
8632 (ld-script-font-lock-keywords):
8633 Change regexps to use things like \_< and \_>.
8634
8635 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8636 Change all regexps to use things like \_< and \_>.
8637
8638 * progmodes/autoconf.el (autoconf-definition-regexp)
8639 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8640 Handle a _ with symbol syntax.
8641 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8642
8643 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8644 Consolidate declaration.
8645 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8646 the declaration.
8647 (ada-create-syntax-table): Remove.
8648 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8649 already has the right syntax nowadays.
8650 (ada-goto-next-word): Don't change the syntax of "_".
8651
8652 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8653 with-wrapper-hook.
8654
86552013-05-08 Sam Steingold <sds@gnu.org>
8656
8657 * thingatpt.el (thing-at-point): Accept optional second argument
8658 NO-PROPERTIES to strip the text properties from the return value.
8659 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8660 to `thing-at-point' instead of stripping the properties ourselves.
8661 Also, when `thing-at-point' fails to find a url, prepend "http://"
8662 to the filename at point on the assumption that the user is
8663 pointing at something like gnu.org/gnu.
8664
86652013-05-08 Juanma Barranquero <lekktu@gmail.com>
8666
8667 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8668 * faces.el (crm-separator):
8669 Silence byte-compiler.
8670
8671 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8672 (tool-bar-map): Remove unneeded defvars.
8673
86742013-05-08 Leo Liu <sdl.web@gmail.com>
8675
8676 Re-work a fix for bug#10994 based on Le Wang's patch.
8677 * ido.el (ido-remove-consecutive-dups): New helper.
8678 (ido-completing-read): Use it.
8679 (ido-chop): Revert fix for bug#10994.
8680
86812013-05-08 Adam Spiers <emacs@adamspiers.org>
8682
8683 * cus-edit.el (custom-save-variables):
8684 Pretty-print long values. (Bug#14187)
8685
86862013-05-08 Glenn Morris <rgm@gnu.org>
8687
8688 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8689 (m4-mode-syntax-table): Init in the defvar.
8690 (m4-mode-abbrev-table): Let define-derived-mode define it.
8691
86922013-05-08 Tom Tromey <tromey@redhat.com>
8693
8694 * progmodes/m4-mode.el (m4-mode-syntax-table):
8695 Do not treat "_" as word constituent. (Bug#14167)
8696
86972013-05-07 Glenn Morris <rgm@gnu.org>
8698
8699 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8700 Remove explicit eshell-isearch-cancel-map.
8701
8702 * progmodes/f90.el (f90-smart-end-names): New option.
8703 (f90-smart-end): Doc fix.
8704 (f90-end-block-optional-name): New constant.
8705 (f90-block-match): Respect f90-smart-end-names.
8706
87072013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8710 about implicit semi-colons (bug#14218).
8711
87122013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8713
8714 * frame.el (display-monitor-attributes-list)
8715 (frame-monitor-attributes): New functions.
8716
87172013-05-06 Leo Liu <sdl.web@gmail.com>
8718
8719 * progmodes/octave.el (octave-syntax-propertize-function): Change
8720 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8721 (octave-font-lock-keywords): Use octave-operator-regexp.
8722 (octave-completion-at-point): Rename from
8723 octave-completion-at-point-function.
8724 (inferior-octave-directory-tracker): Robustify.
8725 (octave-text-functions): Remove and fix its uses. No such things
8726 any more.
8727
87282013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8729
8730 * emacs-lisp/trace.el (trace--display-buffer): New function.
8731 (trace-make-advice): Use it.
8732
87332013-05-06 Juri Linkov <juri@jurta.org>
8734
8735 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8736 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8737 Doc fix.
8738 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8739 in the help string. (Bug#12985)
8740
87412013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8742
8743 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8744
87452013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8746
8747 * progmodes/perl-mode.el: Add support for here documents.
8748 (perl-syntax-propertize-function): Match here-doc markers.
8749 (perl-syntax-propertize-special-constructs): Find their end.
8750 (perl-imenu-generic-expression): Use [:alnum:].
8751
8752 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8753 (advice--add-function): Refresh the advice if already present
8754 (bug#14317).
8755
87562013-05-06 Ivan Andrus <darthandrus@gmail.com>
8757
8758 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8759
87602013-05-06 Glenn Morris <rgm@gnu.org>
8761
8762 * w32-fns.el (w32-charset-info-alist): Declare.
8763
8764 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8765 of its defcustom properties.
8766 (eshell-cmpl-initialize): No need to load pcomplete.
8767
8768 * generic-x.el: No need to require comint when compiling.
8769
8770 * net/eudc-export.el: Make it loadable without bbdb.
8771 (top-level): Use require rather than load-library.
8772 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8773 (eudc-batch-export-records-to-bbdb)
8774 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8775 Require bbdb.
8776
87772013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8780 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8781 some tweaks, instead.
8782
87832013-05-05 Leo Liu <sdl.web@gmail.com>
8784
8785 * progmodes/octave.el (octave-font-lock-keywords)
8786 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8787 (inferior-octave-send-list-and-digest): Improve error message.
8788 (octave-mode, inferior-octave-mode): Use setq-local.
8789 (octave-help): Set info-lookup-mode.
8790
87912013-05-05 Richard Stallman <rms@gnu.org>
8792
8793 * vc/compare-w.el (compare-windows-whitespace):
8794 Treat no-break space as whitespace.
8795
8796 * mail/rmailsum.el (rmail-summary-rmail-update):
8797 Detect empty summary and don't change selected message.
8798 (rmail-summary-goto-msg): Likewise.
8799
8800 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8801 Doc fixes, rename args.
8802
88032013-05-05 Alan Mackenzie <acm@muc.de>
8804
8805 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8806
88072013-05-05 Juri Linkov <juri@jurta.org>
8808
8809 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8810 to not add the length of the summary segment to the return value.
8811 (Bug#14125)
8812
88132013-05-05 Leo Liu <sdl.web@gmail.com>
8814
8815 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8816 (inferior-octave-output-filter): Remove.
8817 (octave-send-region, inferior-octave-startup): Fix callers.
8818 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8819 (octave-binary-file-extensions): New user variable.
8820 (octave-find-definition): Confirm if opening binary files.
8821 (octave-help-file): Use octave-find-definition to get the binary
8822 confirmation.
8823 (octave-help): Adjust for octave-help-file change.
8824
88252013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8828 Merge the two entries that handle function definitions.
8829 (pascal--syntax-propertize): New const.
8830 (pascal-mode): Use it. Use setq-local.
8831
88322013-05-04 Glenn Morris <rgm@gnu.org>
8833
8834 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8835 (diary-from-outlook): Respect diary-from-outlook-function.
8836
88372013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8840 Move the declaration from C.
8841 (read-minibuffer, eval-minibuffer): Move from C.
8842 (completion-setup-function): Avoid minibuffer-completion-contents.
8843
88442013-05-03 Leo Liu <sdl.web@gmail.com>
8845
8846 * progmodes/octave.el (octave-font-lock-keywords): Do not
8847 dehighlight 'end' in comments or strings.
8848 (octave-completing-read, octave-goto-function-definition):
8849 New helpers.
8850 (octave-help-buffer): New user variable.
8851 (octave-help-file, octave-help-function): New button types.
8852 (octave-help): New command and bind it to C-h ;.
8853 (octave-find-definition): New command and bind it to M-.
8854 (user-error): Alias to error if not defined.
8855
88562013-05-02 Leo Liu <sdl.web@gmail.com>
8857
8858 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8859 for \. (bug#14332)
8860 (octave-font-lock-keywords): Include [ and {.
8861
88622013-05-02 Leo Liu <sdl.web@gmail.com>
8863
8864 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8865 (inferior-octave): Remove calling comint-mode and return the buffer.
8866 (inferior-octave-startup): Cosmetic changes.
8867
88682013-05-02 Leo Liu <sdl.web@gmail.com>
8869
8870 * progmodes/octave.el (octave-syntax-propertize-function):
8871 Include the case when ' is at line beginning. (Bug#14336)
8872
88732013-05-02 Glenn Morris <rgm@gnu.org>
8874
8875 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8876 * desktop.el (vc-dir-mode): Just autoload it here.
8877
88782013-05-02 Alan Mackenzie <acm@muc.de>
8879
8880 Eliminate variable c-standard-font-lock-fontify-region-function.
8881 * progmodes/cc-mode.el
8882 (c-standard-font-lock-fontify-region-function): Remove.
8883 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8884
88852013-05-01 Leo Liu <sdl.web@gmail.com>
8886
8887 * progmodes/octave.el: Compatible with older emacs-24 releases.
8888 (inferior-octave-has-built-in-variables): Remove. Built-in
8889 variables were removed from Octave in 2007.
8890 (inferior-octave-startup): Fix uses.
8891 (comint-line-beginning-position): Remove compatibility code for
8892 emacs 21.
8893
88942013-05-01 Juri Linkov <juri@jurta.org>
8895
8896 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8897
88982013-05-01 Juri Linkov <juri@jurta.org>
8899
8900 * comint.el (comint-previous-matching-input): Don't print message
8901 "History item: %d" when `isearch-mode' is active.
8902 (comint-history-isearch-message): Print message "History item: %d"
8903 when `comint-input-ring-index' is not empty and this function is
8904 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8905
89062013-05-01 Leo Liu <sdl.web@gmail.com>
8907
8908 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8909 definitions. Use completion-at-point to insert keywords.
8910 (octave-abbrev-start): Remove.
8911 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8912
89132013-04-30 Leo Liu <sdl.web@gmail.com>
8914
8915 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8916 change.
8917
89182013-04-30 Alan Mackenzie <acm@muc.de>
8919
8920 Handle arbitrarily long C++ member initialisation lists.
8921 * progmodes/cc-engine.el (c-back-over-member-initializers):
8922 new function.
8923 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8924 (most) member init lists.
8925
89262013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8927
8928 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8929 variable.
8930
89312013-04-30 Leo Liu <sdl.web@gmail.com>
8932
8933 * progmodes/octave.el (octave-variables): Remove. No builtin
8934 variables any more. All converted to functions.
8935 (octave-font-lock-keywords, octave-completion-at-point-function):
8936 Fix uses.
8937 (octave-font-lock-texinfo-comment): New user variable.
8938 (octave-texinfo-font-lock-keywords): New variable for texinfo
8939 comment block.
8940 (octave-function-comment-block): New face.
8941 (octave-font-lock-texinfo-comment): New function.
8942 (octave-mode): Font lock texinfo comment block.
8943
89442013-04-29 Leo Liu <sdl.web@gmail.com>
8945
8946 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8947 indexing expression.
8948 (octave-continuation-string): Do not use \.
8949 (inferior-octave-complete-impossible): Remove.
8950 (inferior-octave-completion-table)
8951 (inferior-octave-completion-at-point): Remove its uses.
8952 (inferior-octave-startup): completion_matches was introduced to
8953 Octave in 1996 so safe to assume it.
8954 (octave-function-file-comment): Improve to follow how Octave does it.
8955 (octave-update-function-file-comment): Tweak.
8956
89572013-04-29 Leo Liu <sdl.web@gmail.com>
8958
8959 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8960 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8961 (octave-function-file-comment): Fix typo.
8962 (octave-sync-function-file-names): Use read-char-choice.
8963
89642013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8965
8966 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8967 to t for the less important warnings.
8968
89692013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8970
8971 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8972
89732013-04-27 Glenn Morris <rgm@gnu.org>
8974
8975 * vc/log-view.el (log-view-current-entry):
8976 Treat "---" separator lines as part of the following rev. (Bug#14169)
8977
89782013-04-27 Juri Linkov <juri@jurta.org>
8979
8980 * subr.el (read-number): Doc fix about using it by interactive
8981 code letter `n'. (Bug#14254)
8982
89832013-04-27 Juri Linkov <juri@jurta.org>
8984
8985 * desktop.el (desktop-auto-save-timeout): New option.
8986 (desktop-file-checksum): New variable.
8987 (desktop-save): Add optional arg `auto-save' and don't auto-save
8988 if nothing changed.
8989 (desktop-auto-save-timer): New variable.
8990 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8991 (after-init-hook): Call `desktop-auto-save-set-timer'.
8992 Suggested by Reuben Thomas <rrt@sc3d.org> in
8993 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8994
89952013-04-27 Leo Liu <sdl.web@gmail.com>
8996
8997 * progmodes/octave.el (octave-function-file-p)
8998 (octave-skip-comment-forward, octave-function-file-comment)
8999 (octave-update-function-file-comment): New functions.
9000 (octave-mode-map): Bind C-c ; to
9001 octave-update-function-file-comment.
9002 (octave-mode-menu): Add octave-update-function-file-comment.
9003 (octave-mode, inferior-octave-mode): Fix doc-string.
9004 (octave-insert-defun): Conform to Octave's coding convention.
9005 (Bug#14285)
9006
9007 * files.el (basic-save-buffer): Don't let errors in
9008 before-save-hook prevent saving buffer.
9009
90102013-04-20 Roland Winkler <winkler@gnu.org>
9011
9012 * faces.el (read-face-name): Use completing-read if arg multiple
9013 is nil.
9014
90152013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9016
9017 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9018 displayed, move point to after the totals line.
9019 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9020 for the details.
9021
90222013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9025 Add current dir to the load-path.
9026 (package-generate-autoloads): Don't rely on
9027 autoload-ensure-default-file.
9028
90292013-04-26 Reuben Thomas <rrt@sc3d.org>
9030
9031 * textmodes/remember.el (remember-store-in-files): Document that
9032 the file name format is passed to `format-time-string'.
9033
90342013-04-26 Leo Liu <sdl.web@gmail.com>
9035
9036 * progmodes/octave.el (octave-sync-function-file-names): New function.
9037 (octave-mode): Use it in before-save-hook.
9038
90392013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9042 (bug#14274).
9043
9044 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9045 \n and comment, even if it's not an implicit ; (bug#14218).
9046
90472013-04-26 Glenn Morris <rgm@gnu.org>
9048
9049 * subr.el (read-number): Once more use `read' rather than
9050 `string-to-number', to trap non-numeric input. (Bug#14254)
9051
90522013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9053
9054 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9055 Use `syntax-multiline' text property consistently instead of
9056 `font-lock-multiline'. (Bug#14237)
9057
90582013-04-26 Glenn Morris <rgm@gnu.org>
9059
9060 * emacs-lisp/shadow.el (list-load-path-shadows):
9061 No longer necessary to check for duplicate simple.el, since
9062 2012-07-07 change to init_lread to not include installation lisp
9063 directories in load-path when running uninstalled. (Bug#14270)
9064
90652013-04-26 Leo Liu <sdl.web@gmail.com>
9066
9067 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9068 (octave-mode, inferior-octave-mode): Use setq-local.
9069 (octave-not-in-string-or-comment-p): Rename to
9070 octave-in-string-or-comment-p.
9071 (octave-in-comment-p, octave-in-string-p)
9072 (octave-in-string-or-comment-p): Replace defsubst with defun.
9073
90742013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9075
9076 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9077
90782013-04-25 Bastien Guerry <bzg@gnu.org>
9079
9080 * textmodes/remember.el (remember-data-directory)
9081 (remember-directory-file-name-format): Fix custom types.
9082
90832013-04-25 Leo Liu <sdl.web@gmail.com>
9084
9085 * progmodes/octave.el (octave-completion-at-point-function):
9086 Make use of inferior octave process.
9087 (octave-initialize-completions): Remove.
9088 (inferior-octave-completion-table): New function.
9089 (inferior-octave-completion-at-point): Use it.
9090 (octave-completion-alist): Remove.
9091
90922013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9095 (opascal-mode-syntax-table): New var.
9096 (opascal-literal-kind, opascal-is-literal-end)
9097 (opascal-literal-token-at): Rewrite.
9098 (opascal--literal-start-re, opascal-font-lock-keywords)
9099 (opascal--syntax-propertize): New constants.
9100 (opascal-font-lock-defaults): Adjust.
9101 (opascal-mode): Use them. Set comment-<foo> variables as well.
9102 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9103 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9104 (delphi-other-face, opascal-other-face): Remove face variables.
9105 (opascal-save-state): Remove macro.
9106 (opascal-fontifying-progress-step): Remove constant.
9107 (opascal--ignore-changes): Remove var.
9108 (opascal-set-token-property, opascal-parse-next-literal)
9109 (opascal-is-stable-literal, opascal-complete-literal)
9110 (opascal-is-literal-start, opascal-face-of)
9111 (opascal-parse-region, opascal-parse-region-until-stable)
9112 (opascal-fontify-region, opascal-after-change)
9113 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9114 (opascal-debug-parse-region, opascal-debug-parse-window)
9115 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9116 (opascal-debug-fontify-buffer): Remove.
9117 (opascal-debug-mode-map): Adjust accordingly.
9118
91192013-04-25 Leo Liu <sdl.web@gmail.com>
9120
9121 Merge octave-mod.el and octave-inf.el into octave.el with some
9122 cleanups.
9123 * progmodes/octave.el: New file renamed from octave-mod.el.
9124 * progmodes/octave-inf.el: Merged into octave.el.
9125 * progmodes/octave-mod.el: Renamed to octave.el.
9126
91272013-04-25 Tassilo Horn <tsdh@gnu.org>
9128
9129 * textmodes/reftex-vars.el
9130 (reftex-label-ignored-macros-and-environments): New defcustom.
9131
9132 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9133
91342013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9137 (smie-indent-keyword): Improve the check to ensure that the next
9138 comment is really on the same line.
9139 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9140
9141 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9142 semi-colons if the line is not otherwise empty (bug#14218).
9143
91442013-04-25 Glenn Morris <rgm@gnu.org>
9145
9146 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9147
91482013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * progmodes/opascal.el (opascal-set-token-property): Rename from
9151 opascal-set-text-properties and only set `token' (bug#14134).
9152 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9153 (opascal-literal-text-properties): Remove.
9154 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9155 Adjust callers.
9156
91572013-04-24 Reuben Thomas <rrt@sc3d.org>
9158
9159 * textmodes/remember.el (remember-handler-functions): Add an
9160 option for a new handler `remember-store-in-files'.
9161 (remember-data-directory, remember-directory-file-name-format):
9162 New options.
9163 (remember-store-in-files): New function to store remember notes
9164 as separate files within a directory.
9165
91662013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9167
9168 * progmodes/compile.el (compilation-next-error-function):
9169 Pass "formats" to compilation-find-file (bug#11777).
9170
91712013-04-24 Glenn Morris <rgm@gnu.org>
9172
9173 * vc/vc-bzr.el (vc-bzr-print-log):
9174 * vc/vc-hg.el (vc-hg-print-log):
9175 * vc/vc-svn.el (vc-svn-print-log):
9176 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9177
9178 * vc/vc-bzr.el (vc-bzr-print-log):
9179 * vc/vc-cvs.el (vc-cvs-print-log):
9180 * vc/vc-git.el (vc-git-print-log):
9181 * vc/vc-hg.el (vc-hg-print-log):
9182 * vc/vc-mtn.el (vc-mtn-print-log):
9183 * vc/vc-rcs.el (vc-rcs-print-log):
9184 * vc/vc-sccs.el (vc-sccs-print-log):
9185 * vc/vc-svn.el (vc-svn-print-log):
9186 * vc/vc.el (vc-print-log-internal): Doc fixes.
9187
91882013-04-23 Glenn Morris <rgm@gnu.org>
9189
9190 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9191 Remove venerable code attempting to avoid substitute-command-keys.
9192
91932013-04-23 Tassilo Horn <tsdh@gnu.org>
9194
9195 * textmodes/reftex-vars.el (reftex-label-regexps):
9196 Call `reftex-compile-variables' after changes to this variable.
9197
91982013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9201 Use lexical-binding.
9202 (jit-lock-force-redisplay): Use markers, check buffer's continued
9203 existence and beware narrowed buffers.
9204 (jit-lock-fontify-now): Adjust call accordingly.
9205
92062013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9209 to avoid misleading the user.
9210
92112013-04-22 Leo Liu <sdl.web@gmail.com>
9212
9213 * info-look.el: Prefer latex2e.info. (Bug#14240)
9214
92152013-04-22 Michael Albinus <michael.albinus@gmx.de>
9216
9217 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9218
9219 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9220 * net/tramp.el (tramp-call-process): ... here.
9221 (tramp-set-completion-function, tramp-parse-putty):
9222 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9223 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9224 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9225 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9226 (tramp-call-local-coding-command): Use `tramp-call-process'
9227 instead of `tramp-compat-call-process'.
9228
9229 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9230 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9231 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9232 (tramp-find-inline-compress): Improve traces.
9233 (tramp-maybe-send-script): Check for Perl binary.
9234 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9235
92362013-04-22 Daiki Ueno <ueno@gnu.org>
9237
9238 * epg.el (epg-context-pinentry-mode): New function.
9239 (epg-context-set-pinentry-mode): New function.
9240 (epg--start): Pass --pinentry-mode option to gpg command.
9241
92422013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9243
9244 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9245 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9246 `completion-at-point'. (Bug#13774)
9247
9248 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9249 default key binding for `describe-distribution' has been moved to
9250 `C-h C-o'. (Bug#13970)
9251
92522013-04-21 Glenn Morris <rgm@gnu.org>
9253
9254 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9255 Add doc strings.
9256 (vc-print-log): Clarify interactive prompt.
9257
92582013-04-20 Glenn Morris <rgm@gnu.org>
9259
9260 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9261 No longer include timestamp etc information.
9262
92632013-04-20 Roland Winkler <winkler@gnu.org>
9264
9265 * faces.el (read-face-name): Bug fix, return just one face if arg
9266 multiple is nil. (Bug#14209)
9267
92682013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9271 (remove-function): Autoload.
9272
9273 * comint.el (comint-redirect-original-filter-function): Remove.
9274 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9275 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9276 (vc-cvs-annotate-command):
9277 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9278 * progmodes/prolog.el (prolog-consult-compile):
9279 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9280 Use add/remove-function instead.
9281 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9282 (gud-tooltip-process-output, gud-tooltip-tips):
9283 Use add/remove-function instead.
9284 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9285 (scheme-interaction-mode, exit-scheme-interaction-mode):
9286 Use add/remove-function instead.
9287
9288 * vc/vc-dispatcher.el: Use lexical-binding.
9289 (vc--process-sentinel): Rename from vc-process-sentinel.
9290 Change last arg to be the code to run. Don't use vc-previous-sentinel
9291 and vc-sentinel-commands any more.
9292 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9293 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9294
92952013-04-19 Masatake YAMATO <yamato@redhat.com>
9296
9297 * progmodes/sh-script.el (sh-imenu-generic-expression):
9298 Handle function names with a single character. (Bug#14111)
9299
93002013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9301
9302 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9303 for subroutines defined in an eval (bug#14182).
9304
93052013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9306
9307 * bookmark.el (bookmark-completing-read): Improve handling of empty
9308 string (bug#14176).
9309
93102013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9313
93142013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9315
9316 New faster Imenu implementation (bug#14058).
9317 * progmodes/python.el:
9318 (python-imenu-prev-index-position):
9319 (python-imenu-format-item-label-function)
9320 (python-imenu-format-parent-item-label-function)
9321 (python-imenu-format-parent-item-jump-label-function):
9322 New vars.
9323 (python-imenu-format-item-label)
9324 (python-imenu-format-parent-item-label)
9325 (python-imenu-format-parent-item-jump-label)
9326 (python-imenu--put-parent, python-imenu--build-tree)
9327 (python-imenu-create-index, python-imenu-create-flat-index)
9328 (python-util-popn): New functions.
9329 (python-mode): Set imenu-create-index-function to
9330 python-imenu-create-index.
9331
93322013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * winner.el (winner-active-region): Use region-active-p, activate-mark
9335 and deactivate-mark (bug#14225).
9336
9337 * simple.el (deactivate-mark): Don't inline it.
9338
93392013-04-18 Michael Albinus <michael.albinus@gmx.de>
9340
9341 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9342
93432013-04-18 Tassilo Horn <tsdh@gnu.org>
9344
9345 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9346 file extensions from the archive-mode entry in order to prefer
9347 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9348
93492013-04-18 Leo Liu <sdl.web@gmail.com>
9350
9351 * bindings.el (help-event-list): Add ?\?.
9352
93532013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9354
9355 * subr.el (with-wrapper-hook): Declare obsolete.
9356 * simple.el (filter-buffer-substring-function): New hook.
9357 (filter-buffer-substring): Use it.
9358 (filter-buffer-substring-functions): Mark obsolete.
9359 * minibuffer.el (completion-in-region-function): New hook.
9360 (completion-in-region): Use it.
9361 (completion-in-region-functions): Mark obsolete.
9362 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9363 * abbrev.el (abbrev-expand-function): New hook.
9364 (expand-abbrev): Use it.
9365 (abbrev-expand-functions): Mark obsolete.
9366 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9367 and :filter-return.
9368
93692013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9370
9371 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9372 and do not care about match data.
9373
93742013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9375
9376 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9377 completion tables when completing error conditions and
9378 `declare' arguments.
9379 (lisp-complete-symbol, field-complete): Mark as obsolete.
9380 (check-parens): Unmatched parens are user errors.
9381 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9382
93832013-04-17 Michal Nazarewicz <mina86@mina86.com>
9384
9385 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9386 command changed buffer (ie. `flyspell-pre-buffer' is not current
9387 buffer), which prevents making decisions based on invalid value of
9388 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9389 cause an error when `flyspell-pre-point' was nil after switching
9390 buffers.
9391 (flyspell-post-command-hook): No longer needs to change buffers when
9392 checking pre-word. While at it remove unnecessary progn.
9393
93942013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9395
9396 * textmodes/ispell.el (ispell-add-per-file-word-list):
9397 Fix `flyspell-correct-word-before-point' error when accepting
9398 words and `coment-padding' is an integer by using
9399 `comment-normalize-vars' (Bug #14214).
9400
94012013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9402
9403 New defun movement commands.
9404 * progmodes/python.el (python-nav--syntactically)
9405 (python-nav--forward-defun, python-nav-backward-defun)
9406 (python-nav-forward-defun): New functions.
9407
94082013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9409
9410 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9411 (python-syntax-context): Use named compiler-macro for backwards
9412 compatibility with Emacs 24.x.
9413
94142013-04-17 Leo Liu <sdl.web@gmail.com>
9415
9416 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9417 octave-hide-process-buffer.
9418
94192013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9420
9421 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9422 (bug#14216).
9423
94242013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9425
9426 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9427 Fix adjustment of offset when receiving incomplete responses from GDB
9428 (bug#14129).
9429
94302013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9431
9432 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9433 python-mode-abbrev-table.
9434 (python-skeleton-define): Adjust accordingly.
9435 (python-mode-abbrev-table): New table that inherits from it so that
9436 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9437
9438 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9439 (abbrev-symbol): Use it.
9440 (abbrev--before-point): Use it since we already handle inheritance.
9441
94422013-04-16 Leo Liu <sdl.web@gmail.com>
9443
9444 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9445 binding to info-lookup-symbol.
9446
94472013-04-16 Juanma Barranquero <lekktu@gmail.com>
9448
9449 * minibuffer.el (completion--twq-all):
9450 * term/ns-win.el (ns-initialize-window-system):
9451 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9452
94532013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9456 global bindings.
9457
9458 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9459
94602013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9461
9462 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9463 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9464 to nil.
9465 (ruby-end-of-defun): Remove the unused arg, change the docstring
9466 to reflect that this function is only used as the value of
9467 `end-of-defun-function'.
9468 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9469 to reflect an earlier change that beginning/end-of-defun functions
9470 jump between methods in a class definition, as well as top-level
9471 functions.
9472
94732013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9474
9475 * minibuffer.el (minibuffer-complete): Don't just scroll
9476 a *Completions* that's been iconified.
9477 (minibuffer-force-complete): Make sure repetitions do cycle when going
9478 through completion-in-region -> minibuffer-complete.
9479
94802013-04-15 Alan Mackenzie <acm@muc.de>
9481
9482 Correct the placement of c-cpp-delimiters when there're #s not at
9483 col 0.
9484
9485 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9486 place a submatch around the #.
9487 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9488 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9489 on the #, not BOL.
9490
94912013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9494 (advice--member-p): New arg `name'.
9495 (advice--add-function, advice-member-p): Use it (bug#14202).
9496
94972013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9498
9499 Reformulate java imenu-generic-expression.
9500 The old expression contained ill formed regexps.
9501
9502 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9503 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9504 (cc-imenu-java-method-arg-regexp): New defconsts.
9505 (cc-imenu-java-build-type-args-regex): New defun.
9506 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9507 handling of spaces in the regexp.
9508
95092013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9510
9511 * textmodes/ispell.el (ispell-command-loop): Remove
9512 flyspell highlight of a word when ispell accepts it (bug #14178).
9513
95142013-04-15 Michael Albinus <michael.albinus@gmx.de>
9515
9516 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9517 uses code from the previous `ange-ftp-run-real-handler'.
9518 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9519 only in case that function exist. This is needed for proper
9520 unloading of Tramp.
9521
95222013-04-15 Tassilo Horn <tsdh@gnu.org>
9523
9524 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9525
9526 * textmodes/reftex.el (reftex-compile-variables): Use it.
9527
95282013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * files.el (normal-mode): Only use default major-mode if no other mode
9531 was specified.
9532
9533 * emacs-lisp/trace.el (trace-values): New function.
9534
9535 * files.el: Allow : in local variables (bug#14089).
9536 (hack-local-variable-regexp): New var.
9537 (hack-local-variables-prop-line, hack-local-variables): Use it.
9538
95392013-04-13 Roland Winkler <winkler@gnu.org>
9540
9541 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9542 data before it gets modified by bibtex-beginning-of-entry.
9543
95442013-04-13 Roland Winkler <winkler@gnu.org>
9545
9546 * textmodes/bibtex.el (bibtex-url): Doc fix.
9547
95482013-04-13 Roland Winkler <winkler@gnu.org>
9549
9550 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9551 does not visit a BibTeX file, exclude it from the list of buffers
9552 returned by bibtex-initialize.
9553
95542013-04-13 Stephen Berman <stephen.berman@gmx.net>
9555
9556 * window.el (split-window): Remove interactive form, since as a
9557 command this function is a special case of split-window-below.
9558 Correct doc string.
9559
95602013-04-12 Roland Winkler <winkler@gnu.org>
9561
9562 * faces.el (read-face-name): Do not override value of arg default.
9563 Allow single faces and strings as default values. Remove those
9564 elements from return value that are not faces.
9565 (describe-face): Simplify.
9566 (face-at-point): New optional args thing and multiple so that this
9567 function can provide the same functionality previously provided by
9568 read-face-name.
9569 (make-face-bold, make-face-unbold, make-face-italic)
9570 (make-face-unitalic, make-face-bold-italic, invert-face)
9571 (modify-face, read-face-and-attribute): Use face-at-point.
9572
9573 * cus-edit.el (customize-face, customize-face-other-window)
9574 * cus-theme.el (custom-theme-add-face)
9575 * face-remap.el (buffer-face-set)
9576 * facemenu.el (facemenu-set-face): Use face-at-point.
9577
95782013-04-12 Michael Albinus <michael.albinus@gmx.de>
9579
9580 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9581
95822013-04-10 Tassilo Horn <tsdh@gnu.org>
9583
9584 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9585 off leading { and trailing } from field values.
9586
95872013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9588
9589 * emacs-lisp/timer.el (timer--check): New function.
9590 (timer--time, timer-set-function, timer-event-handler): Use it.
9591 (timer-set-idle-time): Simplify.
9592 (timer--activate): CSE.
9593 (timer-event-handler): Give more info in error message.
9594 (internal-timer-start-idle): New function, moved from C.
9595
9596 * mpc.el (mpc-proc): Add `restart' argument.
9597 (mpc-proc-cmd): Use it.
9598 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9599 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9600 less often.
9601
96022013-04-10 Masatake YAMATO <yamato@redhat.com>
9603
9604 * progmodes/sh-script.el: Implement `sh-mode' own
9605 `add-log-current-defun-function' (bug#14112).
9606 (sh-current-defun-name): New function.
9607 (sh-mode): Use the function.
9608
96092013-04-09 Bastien Guerry <bzg@gnu.org>
9610
9611 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9612
96132013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9614
9615 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9616
9617 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9618 timer (bug#14156).
9619
96202013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9621
9622 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9623 declaration.
9624
96252013-04-07 Leo Liu <sdl.web@gmail.com>
9626
9627 * pcmpl-x.el: New file.
9628
96292013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9630
9631 Do not set x-display-name until X connection is established.
9632 This is needed to prevent from weird situation described at
9633 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9634 * frame.el (make-frame): Set x-display-name after call to
9635 window system initialization function, not before.
9636 * term/x-win.el (x-initialize-window-system): Add optional
9637 display argument and use it.
9638 * term/w32-win.el (w32-initialize-window-system):
9639 * term/ns-win.el (ns-initialize-window-system):
9640 * term/pc-win.el (msdos-initialize-window-system):
9641 Add compatible optional display argument.
9642
96432013-04-06 Eli Zaretskii <eliz@gnu.org>
9644
9645 * files.el (normal-backup-enable-predicate): On MS-Windows and
9646 MS-DOS compare truenames of temporary-file-directory and of the
9647 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9648 don't fail comparison by compare-strings. Also, compare file
9649 names case-insensitively on MS-Windows and MS-DOS.
9650
96512013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9654 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9655
96562013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9657
9658 * whitespace.el (whitespace-color-on, whitespace-color-off):
9659 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9660
96612013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9662
9663 * ispell.el (ispell-set-spellchecker-params):
9664 Really set `ispell-args' for all equivs.
9665
96662013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9667
9668 * ido.el (ido-completions): Use extra elements of ido-decorations
9669 (bug#14143).
9670 (ido-decorations): Update docstring.
9671
96722013-04-05 Michael Albinus <michael.albinus@gmx.de>
9673
9674 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9675 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9676 nil during initialization, in order not to miss changes since the
9677 file was opened. (Bug#14140)
9678
96792013-04-05 Leo Liu <sdl.web@gmail.com>
9680
9681 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9682
96832013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9684
9685 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9686
96872013-04-04 Glenn Morris <rgm@gnu.org>
9688
9689 * electric.el (electric-pair-inhibit-predicate): Add :version.
9690
96912013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9692
9693 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9694 when a package is required several times (bug#14082).
9695
96962013-04-04 Roland Winkler <winkler@gnu.org>
9697
9698 * faces.el (read-face-name): Behave as promised by the docstring.
9699 Assume that arg default is a list of faces.
9700 (describe-face): Call read-face-name with list of default faces.
9701
97022013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9703
9704 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9705 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9706 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9707 the header.
9708 (bookmark-exit-hook-internal): Save even if list is empty.
9709
97102013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9711
9712 * emacs-lisp/package.el (package-pinned-packages): New var.
9713 (package--add-to-archive-contents): Obey it (bug#14118).
9714
97152013-04-03 Alan Mackenzie <acm@muc.de>
9716
9717 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9718 Also adapt to the new values of element 7 of a parse state.
9719
9720 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9721 parameter `not-in-delimiter'. Handle being inside comment opener.
9722 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9723 character in case we're typing a '*' after a '/'.
9724 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9725 instead by passing the parameter to c-state-pp-to-literal.
9726
9727 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9728 for elt. 7 of a parse state.
9729
97302013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9731
9732 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9733 * international/latin1-disp.el, international/mule-util.el:
9734 * language/cyril-util.el, language/european.el, language/ind-util.el:
9735 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9736 * language/tibetan.el, language/viet-util.el:
9737 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9738
97392013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9740
9741 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9742 (electric-pair-post-self-insert-function): Use it.
9743 (electric-pair-default-inhibit): New function, extracted from
9744 electric-pair-post-self-insert-function.
9745
97462013-03-31 Roland Winkler <winkler@gnu.org>
9747
9748 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9749
97502013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9753
97542013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9755
9756 Un-indent after "pass" and "return" statements (Bug#13888)
9757 * progmodes/python.el (python-indent-block-enders): New var.
9758 (python-indent-calculate-indentation): Use it.
9759
97602013-03-30 Michael Albinus <michael.albinus@gmx.de>
9761
9762 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9763 defun. Defining it as defalias could introduce too eager
9764 byte-compiler optimization. (Bug#14030)
9765
97662013-03-30 Chong Yidong <cyd@gnu.org>
9767
9768 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9769
97702013-03-30 Leo Liu <sdl.web@gmail.com>
9771
9772 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9773 (kmacro-execute-from-register): Pass the keyboard macro to
9774 kmacro-call-macro or repeating won't work correctly.
9775
97762013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9777
9778 * progmodes/subword.el: Back to using `forward-symbol'.
9779
9780 * subr.el (forward-whitespace, forward-symbol)
9781 (forward-same-syntax): Move from thingatpt.el.
9782
97832013-03-29 Leo Liu <sdl.web@gmail.com>
9784
9785 * kmacro.el (kmacro-to-register): New command.
9786 (kmacro-execute-from-register): New function.
9787 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9788
97892013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * mpc.el: Use defvar-local and setq-local.
9792 (mpc--proc-connect): Connection failures are not bugs.
9793 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9794 (mpc-volume-map): Bind to the up-events.
9795
97962013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9797
9798 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9799 instead of `forward-symbol'.
9800
98012013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9802
9803 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9804 (edebug--recursive-edit): Use it.
9805 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9806 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9807
98082013-03-28 Leo Liu <sdl.web@gmail.com>
9809
9810 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9811
98122013-03-27 Eli Zaretskii <eliz@gnu.org>
9813
9814 * facemenu.el (list-colors-callback): New defvar.
9815 (list-colors-redisplay): New function.
9816 (list-colors-display): Install list-colors-redisplay as the
9817 revert-buffer-function. (Bug#14063)
9818
98192013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9820
9821 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9822 and suffixes don't overlap (bug#14061).
9823
9824 * case-table.el: Use lexical-binding.
9825 (case-table-get-table): New function.
9826 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9827
98282013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9829
9830 * progmodes/subword.el: Add `superword-mode' to do word motion
9831 over symbol_words (parallels and leverages `subword-mode' which
9832 does word motion inside MixedCaseWords).
9833
98342013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9835
9836 * eshell/em-unix.el: Move su and sudo to...
9837 * eshell/em-tramp.el: ...Eshell tramp module.
9838
98392013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9842 Change return value to be a sexp. Delay `get-buffer' to after
9843 restoring the desktop (bug#13951).
9844
98452013-03-26 Leo Liu <sdl.web@gmail.com>
9846
9847 * register.el: Move semantic tag handling back to
9848 cedet/semantic/senator.el. (Bug#14052)
9849
98502013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9853 into the prompt either (bug#13963).
9854
98552013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9858 part of "(error-foo)".
9859
98602013-03-24 Juri Linkov <juri@jurta.org>
9861
9862 * replace.el (list-matching-lines-prefix-face): New defcustom.
9863 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9864 `occur-engine' if `face-differs-from-default-p' returns t.
9865 (occur-engine): Add `,' inside backquote construct to evaluate
9866 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9867 Pass `prefix-face' to the functions `occur-context-lines' and
9868 `occur-engine-add-prefix'.
9869 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9870 `prefix-face' and propertize the prefix with `prefix-face'.
9871 (Bug#14017)
9872
98732013-03-24 Leo Liu <sdl.web@gmail.com>
9874
9875 * nxml/rng-valid.el (rng-validate-while-idle)
9876 (rng-validate-quick-while-idle): Guard against deleted buffer.
9877 (Bug#13999)
9878
9879 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9880 is the last entry in kill-buffer-hook.
9881
9882 * files.el (kill-buffer-hook): Doc fix.
9883
98842013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9885
9886 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9887 Make it safe-local.
9888
9889 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9890
98912013-03-23 Leo Liu <sdl.web@gmail.com>
9892
9893 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9894 Remove.
9895
9896 * nxml/rng-valid.el (rng-validate-mode)
9897 (rng-after-change-function, rng-do-some-validation):
9898 * nxml/rng-maint.el (rng-validate-buffer):
9899 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9900 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9901 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9902 (nxml-extend-after-change-region): Use with-silent-modifications.
9903
9904 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9905 timer-idle-list.
9906
9907 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9908 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9909 timer-idle-list. (Bug#13999)
9910
99112013-03-23 Juri Linkov <juri@jurta.org>
9912
9913 * info.el (info-index-match): New face.
9914 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9915 main pattern and add text properties with the new face to matches
9916 in index entries relative to the beginning of the index entry.
9917 (Bug#14015)
9918
99192013-03-21 Eric Ludlam <zappo@gnu.org>
9920
9921 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9922 Inhibit read only while inserting objects.
9923
99242013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9925
9926 * progmodes/cfengine.el: Update docs to mention
9927 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9928 symbol motion. Remove "_" from the word syntax.
9929
99302013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9931
9932 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9933 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9934
99352013-03-20 Juri Linkov <juri@jurta.org>
9936
9937 * info.el (Info-next-reference-or-link)
9938 (Info-prev-reference-or-link): New functions.
9939 (Info-next-reference, Info-prev-reference): Use them.
9940 (Info-try-follow-nearest-node): Handle footnote navigation.
9941 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9942
99432013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9946 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9947
99482013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9949
9950 Suppress unnecessary non-ASCII chatter during build process.
9951 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9952 (batch-skkdic-convert): Suppress most of the chatter.
9953 It's not needed so much now that machines are faster,
9954 and its non-ASCII component was confusing; see Dmitry Gutov in
9955 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9956
99572013-03-20 Leo Liu <sdl.web@gmail.com>
9958
9959 * ido.el (ido-chop): Fix bug#10994.
9960
99612013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9962
9963 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9964 Remove vars.
9965 (whitespace-color-on, whitespace-color-off):
9966 Use `font-lock-fontify-buffer' (Bug#13817).
9967
99682013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9971 remapping in mode-line.
9972 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9973
99742013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9975
9976 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9977 value for `whitespace-line' face (Bug#13875).
9978 (whitespace-font-lock-keywords): Change description.
9979 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9980 the constructed keywords instead.
9981 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9982
99832013-03-19 Leo Liu <sdl.web@gmail.com>
9984
9985 * progmodes/compile.el (compilation-display-error): New command.
9986 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9987 C-o. (Bug#13992)
9988
99892013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9990
9991 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9992
99932013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9994
9995 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9996
99972013-03-18 Michael Albinus <michael.albinus@gmx.de>
9998
9999 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10000
10001 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10002 * net/tramp-gvfs.el (top):
10003 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10004 (tramp-handle-shell-command): Use it.
10005 (tramp-dissect-file-name): Raise an error when hostname is a
10006 method name, and neither method nor user is specified.
10007
10008 * net/trampver.el: Update release number.
10009
100102013-03-18 Leo Liu <sdl.web@gmail.com>
10011
10012 Make sure eldoc can be turned off properly.
10013 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10014 eldoc-mode.
10015 (eldoc-display-message-p): Revert last change.
10016 (eldoc-display-message-no-interference-p)
10017 (eldoc-print-current-symbol-info): Tweak.
10018
100192013-03-18 Tassilo Horn <tsdh@gnu.org>
10020
10021 * doc-view.el (doc-view-new-window-function): Check the new window
10022 overlay's display property instead the char property of the
10023 buffer's first char. Use `with-selected-window' instead of
10024 `save-window-excursion' with `select-window'.
10025 (doc-view-document->bitmap): Check the current doc-view overlay's
10026 display property instead the char property of the buffer's first char.
10027
100282013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10029
10030 Automate the build of ja-dic.el (Bug#13984).
10031 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10032 from the input, rather than assume that it's been done for us by the
10033 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10034 the current date into a ja-dic.el comment, as that complicates
10035 regression testing.
10036
100372013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * whitespace.el: Fix double evaluation.
10040 (whitespace-space, whitespace-hspace, whitespace-tab)
10041 (whitespace-newline, whitespace-trailing, whitespace-line)
10042 (whitespace-space-before-tab, whitespace-indentation)
10043 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10044 obsolete defvars.
10045 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10046 (whitespace-color-on): Use a single font-lock-add-keywords call.
10047 Fix double-evaluation of face variables.
10048
100492013-03-17 Michael Albinus <michael.albinus@gmx.de>
10050
10051 * net/tramp-adb.el (tramp-adb-parse-device-names):
10052 Use `start-process' instead of `call-process'. Otherwise, the
10053 function might be blocked under MS Windows. (Bug#13299)
10054
100552013-03-17 Leo Liu <sdl.web@gmail.com>
10056
10057 Extend eldoc to display info in the mode-line. (Bug#13978)
10058 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10059 (eldoc-mode-line-string): New variable.
10060 (eldoc-minibuffer-message): New function.
10061 (eldoc-message-function): New variable.
10062 (eldoc-message): Use it.
10063 (eldoc-display-message-p)
10064 (eldoc-display-message-no-interference-p):
10065 Support eldoc-post-insert-mode.
10066
10067 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10068 (eval-expression): Run it.
10069
100702013-03-17 Roland Winkler <winkler@gnu.org>
10071
10072 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10073 strings in the list of return values.
10074
100752013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10076
10077 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10078 radix before checking for HMS forms.
10079
100802013-03-16 Leo Liu <sdl.web@gmail.com>
10081
10082 * progmodes/scheme.el: Add indentation and font-locking for λ.
10083 (Bug#13975)
10084
100852013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10088 token before point (bug#13942).
10089
100902013-03-16 Leo Liu <sdl.web@gmail.com>
10091
10092 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10093
100942013-03-16 Eli Zaretskii <eliz@gnu.org>
10095
10096 * startup.el (command-line-normalize-file-name): Fix handling of
10097 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10098 <xfq.free@gmail.com> in
10099 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10100
101012013-03-15 Michael Albinus <michael.albinus@gmx.de>
10102
10103 Sync with Tramp 2.2.7.
10104
10105 * net/trampver.el: Update release number.
10106
101072013-03-14 Tassilo Horn <tsdh@gnu.org>
10108
10109 * doc-view.el: Fix bug#13887.
10110 (doc-view-insert-image): Don't modify overlay associated to
10111 non-live windows, and implement horizontal centering of image in
10112 case it's smaller than the window.
10113 (doc-view-new-window-function): Force redisplay of new windows on
10114 doc-view buffers.
10115
101162013-03-13 Karl Fogel <kfogel@red-bean.com>
10117
10118 * saveplace.el (save-place-alist-to-file): Don't sort
10119 `save-place-alist', just pretty-print it (bug#13882).
10120
101212013-03-13 Michael Albinus <michael.albinus@gmx.de>
10122
10123 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10124 Check whether `default-file-name-coding-system' is bound.
10125 It isn't in XEmacs.
10126
101272013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10128
10129 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10130 backquotes for `obsolete' (bug#13929).
10131
10132 * international/mule.el (find-auto-coding): Include file name in
10133 obsolescence warning (bug#13922).
10134
101352013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10136
10137 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10138 for CFEngine 3-specific indentation.
10139 (cfengine3-indent-line): Use it. Fix up category regex.
10140 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10141
101422013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * type-break.el (type-break-file-name):
10145 * textmodes/remember.el (remember-data-file):
10146 * strokes.el (strokes-file):
10147 * shadowfile.el (shadow-initialize):
10148 * saveplace.el (save-place-file):
10149 * ps-bdf.el (bdf-cache-file):
10150 * progmodes/idlwave.el (idlwave-config-directory):
10151 * net/quickurl.el (quickurl-url-file):
10152 * international/kkc.el (kkc-init-file-name):
10153 * ido.el (ido-save-directory-list-file):
10154 * emulation/viper.el (viper-custom-file-name):
10155 * emulation/vip.el (vip-startup-file):
10156 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10157 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10158
101592013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10160
10161 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10162 * language/thai-word.el: Switch to UTF-8.
10163
10164See ChangeLog.16 for earlier changes.
10165
10166;; Local Variables:
10167;; coding: utf-8
10168;; End:
10169
10170 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10171
10172 This file is part of GNU Emacs.
10173
10174 GNU Emacs is free software: you can redistribute it and/or modify
10175 it under the terms of the GNU General Public License as published by
10176 the Free Software Foundation, either version 3 of the License, or
10177 (at your option) any later version.
10178
10179 GNU Emacs is distributed in the hope that it will be useful,
10180 but WITHOUT ANY WARRANTY; without even the implied warranty of
10181 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10182 GNU General Public License for more details.
10183
10184 You should have received a copy of the GNU General Public License
10185 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.