Use relative filenames in TAGS files.
[emacs.git] / lisp / ChangeLog
blob4d794052fd7b2bad9fd456e4da9e7d2b49d8c628
1 2013-11-02  Glenn Morris  <rgm@gnu.org>
3         Use relative filenames in TAGS files.
4         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5         (lisptagsfiles4, TAGS): Use relative file names.
6         (TAGS-LISP): Remove.
7         (maintainer-clean): No more TAGS-LISP file.
9         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
10         (lisptagsfiles4): Use absolute filenames again.
11         (TAGS, TAGS-LISP): Not everything needs to run in one line.
12         Remove all *loaddefs files, not just the first.  Remove esh-groups.
13         (maintainer-clean): Delete TAGS, TAGS-LISP.
15 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
17         * emacs-lisp/package.el (package-version-join): Recognize
18         snapshot versions.
20 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
22         * subr.el (version-regexp-alist): Add support for snapshot versions.
24 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
26         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
27         function, replacement for `smie-rule-parent' for when we want to
28         skip over our direct parent if it's an assignment token..
29         (ruby-smie-rules): Use it.
31 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
33         * progmodes/ruby-mode.el Use `syntax-propertize-function'
34         unconditionally.  Remove now unnecessary forward declarations.
35         Remove XEmacs-specific setup.
36         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
37         (ruby-font-lock-syntactic-keywords)
38         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
39         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
40         (ruby-here-doc-end-syntax): Remove.
41         (ruby-mode): Don't check whether `syntax-propertize-rules' is
42         defined as function.
44 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
46         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
48 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
50         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
51         table and abbrev table, `define-derived-mode' does that for us
52         anyway.
54 2013-11-01  Glenn Morris  <rgm@gnu.org>
56         * Makefile.in: Remove manual mh-e dependencies (writing .elc
57         files is atomic for some time, so no parallel compilation issues).
59 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
61         * faces.el (face-x-resources): Add :distant-foreground.
62         (region): Use :distant-foreground for gtk and ns.
64 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
66         Allow multiple bibliographies when BibLaTeX is used rather than
67         BibTeX.
68         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
69         (reftex-locate-bibliography-files): Us it.
71 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
73         * image.el (image-type-header-regexps): Fix the 'pbm' part to
74         allow comments in pbm files.
76         * term/w32-win.el (dynamic-library-alist): Support newer versions
77         of libjpeg starting with v7: look only for the DLL from the
78         version against which Emacs was built.
79         Support versions of libpng beyond 1.4.x.
80         Support libtiff v4.x.
82 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
84         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
85         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
86         Add property :safe.
87         (ruby-deep-arglist): Add property :type.
89 2013-10-31  Glenn Morris  <rgm@gnu.org>
91         * Makefile.in (custom-deps, finder-data): No need to setq the target
92         variables, we are in the right directory and the defaults work fine.
94 2013-10-30  Glenn Morris  <rgm@gnu.org>
96         * Makefile.in (autoloads): Do not use abs_lisp.
98         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
99         `newline' does not respect `standard-output', so use `princ'.
101 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
103         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
104         * buff-menu.el (Buffer-menu--unmark): New function.
105         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
107 2013-10-30  Glenn Morris  <rgm@gnu.org>
109         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
111         * emacs-lisp/package.el (lm-homepage): Declare.
113         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
114         Fix doc typos.
116         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
118         * Makefile.in (finder-data, autoloads, update-subdirs)
119         (compile-main, compile-clean, compile-always, bootstrap-clean):
120         Check return value of cd.
121         (compile-calc): Remove.
123 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
125         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
127         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
128         (byte-compile-and-folded): New function.
129         (=, <, >, <=, >=): Use it.
131         * dos-w32.el (minibuffer-history-case-insensitive-variables)
132         (path-separator, null-device, buffer-file-coding-system)
133         (lpr-headers-switches): Check system-type before modifying them.
134         (find-buffer-file-type-coding-system): Mark obsolete.
135         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
136         find-file-not-found-set-buffer-file-coding-system.
137         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
138         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
139         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
140         (w32-direct-print-region-helper, w32-direct-print-region-function)
141         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
142         * startup.el (normal-top-level-add-subdirs-to-load-path):
143         * ps-print.el (ps-print-region-function):
144         * lpr.el (print-region-function): Use new name.
146         * subr.el (custom-declare-variable-early): Remove function.
147         (custom-declare-variable-list): Remove var.
148         (error, user-error): Remove `while' loop.
149         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
150         (user-emacs-directory-warning, locate-user-emacs-file):
151         Move to files.el.
152         * simple.el (read-quoted-char-radix, read-quoted-char):
153         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
154         Move from subr.el.
155         * custom.el (custom-declare-variable-list): Don't process
156         custom-declare-variable-list.
158         * progmodes/python.el (python-shell-get-buffer): New function.
159         (python-shell-get-process): Use it.
160         (python-shell-send-string): Always use utf-8 and add a cookie to tell
161         Python which encoding was used.  Don't split-string since we only care
162         about the first line.  Return the temp-file, if applicable.
163         (python-shell-send-region): Tell compile.el how to turn locations in
164         the temp-file into locations in the source buffer.
166 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
168         * subr.el (undefined): Add missing behavior from the C code for
169         unbound keys.
171         * rect.el: Use lexical-binding.  Add new rectangular region support.
172         (rectangle-mark): New command.
173         (rectangle--region): New var.
174         (deactivate-mark-hook): Reset rectangle--region.
175         (rectangle--extract-region, rectangle--insert-for-yank)
176         (rectangle--highlight-for-redisplay)
177         (rectangle--unhighlight-for-redisplay): New functions.
178         (region-extract-function, redisplay-unhighlight-region-function)
179         (redisplay-highlight-region-function): Use them to handle
180         rectangular region.
181         * simple.el (region-extract-function): New var.
182         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
183         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
184         (kill-region): Replace obsolete `yank-handler' arg with `region'.
185         (copy-region-as-kill, kill-ring-save): Add `region' argument.
186         (redisplay-unhighlight-region-function)
187         (redisplay-highlight-region-function): New vars.
188         (redisplay--update-region-highlight): New function.
189         (pre-redisplay-function): Use it.
190         (exchange-point-and-mark): Don't deactivate the mark before
191         reactivate-it anyway.
192         * comint.el (comint-kill-region): Remove yank-handler argument.
193         * delsel.el (delete-backward-char, backward-delete-char-untabify)
194         (delete-char): Remove property, since it's now part of their
195         default behavior.
196         (self-insert-iso): Remove property since this command doesn't exist.
198         * emacs-lisp/package.el (package--download-one-archive)
199         (describe-package-1): Don't query the user about final newline.
201 2013-10-29  Daniel Colascione  <dancol@dancol.org>
203         * net/tramp.el (tramp-methods): Document new functionality.
204         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
205         tramp-hostname-checker if method provides one instead of scanning
206         argument list for "%h" to decide hostname acceptability.
208 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
210         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
211         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
212         Handle COPY-CONTENTS.  (Bug#15737)
214 2013-10-28  Daiki Ueno  <ueno@gnu.org>
216         * epa-file.el
217         (epa-file-cache-passphrase-for-symmetric-encryption):
218         Document that this option has no effect with GnuPG 2.0 (bug#15552).
220 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
222         * image.el (defimage):
223         (image-load-path): Doc fixes.
225 2013-10-27  Alan Mackenzie  <acm@muc.de>
227         Indent statements in macros following "##" correctly.
228         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
229         Modify the "#" arm of a cond form to handle "#" and "##" operators.
231 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
233         * linum.el (linum-update-window): Fix boundary test (bug#13446).
235 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
237         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
238         after `=' is probably a new expression.
240 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
242         * man.el (man-imenu-title): New option.
243         (Man-mode-map): Add menu.  (Bug#15722)
244         (Man-mode): Add imenu to menu.
246 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
248         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
249         specific in what the first arg can be: a non-keyword word,
250         string/regexp/percent literal opener, opening paren, or unary
251         operator followed directly by word.
253 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
255         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
256         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
257         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
258         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
259         Remove vars, they do not apply any more.
260         (prolog-mode-abbrev-table): Remove redundant declaration.
261         (prolog-upper-case-string, prolog-lower-case-string): Remove.
262         (prolog-use-smie): Remove.
263         (prolog-smie-rules): Add indentation rule for the if-then-else layout
264         supported by prolog-electric-if-then-else-flag.
265         (prolog-mode-variables, prolog-menu): Use setq-local.
266         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
267         Remove binding to `Backspace' since this key doesn't exist anyway.
268         Remove bindings for electric self-inserting keys.
269         (prog-mode): Assume it's defined.
270         (prolog-post-self-insert): New function.
271         (prolog-mode): Use it.
272         (prolog-indent-line, prolog-indent-level)
273         (prolog-find-indent-of-matching-paren)
274         (prolog-indentation-level-of-line, prolog-goto-comment-column)
275         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
276         (prolog-goto-next-paren, prolog-in-string-or-comment)
277         (prolog-tokenize, prolog-inside-mline-comment)
278         (prolog-find-start-of-mline-comment): Remove functions.
279         (prolog-find-unmatched-paren, prolog-clause-end)
280         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
281         (prolog-electric--if-then-else): Rename from
282         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
283         (prolog-tokenize-searchkey): Remove const.
284         (prolog-clause-info): Use forward-sexp.
285         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
286         (prolog-electric-if-then-else): Remove commands.
287         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
288         for use in post-self-insert-hook.
289         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
290         for use in post-self-insert-hook.
291         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
292         for use in post-self-insert-hook.
293         (prolog-electric--underscore): Rename from prolog-electric--underscore;
294         adapt it for use in post-self-insert-hook.
296 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
298         * emacs-lisp/ert.el (ert-run-tests-interactively):
299         Use `completing-read'.  (Bug#9756)
301 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
303         * simple.el (line-move): Call line-move-1 instead of
304         line-move-visual when the current window hscroll is zero, but
305         temporary-goal-column indicates we will need to hscroll as result
306         of the movement.  (Bug#15712)
308 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
310         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
311         capitalization.  Use :visible instead of :active.
312         Fix `ruby-indent-exp' reference.  Add menu items for the generic
313         commands that are used with SMIE.
314         (ruby-do-end-to-brace): Insert space after `{'.
316 2013-10-25  John Anthony  <john@jo.hnanthony.com>
318         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
320         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
322 2013-10-25  Glenn Morris  <rgm@gnu.org>
324         * vc/vc.el (vc-print-log): Don't use a working revision unless
325         one was explicitly specified.  (Bug#15322)
327 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
329         * subr.el (add-to-list): Preserve return value in compiler-macro
330         (bug#15692).
332 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
334         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
335         result.  Ask user to retry using '-all' flag.  (Bug#15701)
337 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
339         * emacs-lisp/smie.el: New smie-config system.
340         (smie-config): New defcustom.
341         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
342         (smie-config-guess, smie-config-save): New commands.
343         (smie-config--mode-local, smie-config--buffer-local)
344         (smie-config--trace, smie-config--modefuns): New vars.
345         (smie-config--advice, smie-config--mode-hook)
346         (smie-config--setter, smie-config-local, smie-config--get-trace)
347         (smie-config--guess-value, smie-config--guess): New functions.
348         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
349         text properties.  Treat "string fence" syntax like string syntax.
351         * progmodes/sh-script.el (sh-use-smie): Change default.
352         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
353         (sh-var-value): Simplify by CSE.
354         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
355         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
356         is used.
357         (sh-guess-basic-offset): Use cl-incf.
358         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
360 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
362         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
363         (bug#15699).
365 2013-10-24  Glenn Morris  <rgm@gnu.org>
367         * Makefile.in (abs_top_srcdir): Remove.
368         (update-subdirs): Use relative path to update-subdirs.
370 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
372         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
373         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
374         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
375         Call unmsys--file-name before expand-file-name, not after it.
377 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
379         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
380         (ert-test-skipped): New error.
381         (ert-skip, ert-stats-skipped): New defuns.
382         (ert--skip-unless): New macro.
383         (ert-test-skipped): New struct.
384         (ert--run-test-debugger, ert-test-result-type-p)
385         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
386         (ert--stats-set-test-and-result, ert-char-for-test-result)
387         (ert-string-for-test-result, ert-run-tests-batch)
388         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
389         Handle skipped tests.  (Bug#9803)
391 2013-10-24  Glenn Morris  <rgm@gnu.org>
393         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
395         * Makefile.in (abs_top_srcdir): New, set by configure.
396         (update-subdirs): Correct build-aux location.
398 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
400         * vc/vc.el (vc-print-root-log): Always set `default-directory'
401         value, whether we could auto-deduce `backend', or not.
403         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
404         with parameters" example.  Simplify the "is it block or is it
405         hash" check, but also make it more thorough.
407 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
409         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
411 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
413         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
414         { if it is hanging.
416         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
417         :before ";".
419 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
421         * progmodes/compile.el (compilation-directory-matcher)
422         (compilation-page-delimiter):
423         Support GNU Make-4.0 directory quoting.  (Bug#15678)
425 2013-10-23  Leo Liu  <sdl.web@gmail.com>
427         * ido.el (ido-tidy): Handle read-only text.
429 2013-10-23  Glenn Morris  <rgm@gnu.org>
431         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
432         (emacs, compile, compile-always):
433         Quote entities that might contain whitespace.
434         (custom-deps, finder-data, autoloads): Use abs_lisp.
435         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
436         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
437         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
439 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
441         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
442         Use `following-char'.
444 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
446         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
447         * progmodes/ruby-mode.el (ruby-smie-rules):
448         Remove corresponding workaround.  Fix indentation rule of ";" so it
449         also applies when ";" is the parent.
451 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
453         * frame.el (display-screens, display-pixel-height)
454         (display-pixel-width, display-mm-width, display-backing-store)
455         (display-save-under, display-planes, display-color-cells)
456         (display-visual-class, display-monitor-attributes-list):
457         Mention the optional ‘display’ argument in doc strings.
459 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
461         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
462         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
464 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
466         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
467         TODO.  Add "." after " @ ".
468         (ruby-smie--at-dot-call): New function.  Checks if point at method
469         call with explicit target.
470         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
471         to the method name tokens when it precedes them.
472         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
473         (ruby-smie-rules): Add rule for indentation before and after "."
474         token.
476 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
478         * textmodes/remember.el (remember-diary-extract-entries):
479         Avoid add-to-list.
481         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
482         an instruction.
484 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
486         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
487         (ruby-smie--implicit-semi-p): Add new operator chars.
489         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
490         `smie-down-list'.
491         (ruby-smie--args-separator-p): Check that there's no newline
492         between method call and its arguments.
494 2013-10-20  Alan Mackenzie  <acm@muc.de>
496         Allow comma separated lists after Java "implements".
498         * progmodes/cc-engine.el (c-backward-over-enum-header):
499         Parse commas.
500         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
501         from a "disallowed" list in enum fontification.
503 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
505         * startup.el (default-frame-background-mode): Remove unused defvar.
507         * progmodes/verilog-mode.el (verilog-mode): Don't set
508         comment-indent-function globally.
510 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
512         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
513         Move Info menu item creation to ns-win.el.
515         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
516         in menu bar.
518         * menu-bar.el: Move GNUStep specific menus...
520         * term/ns-win.el (ns-initialize-window-system): ... to here.
522 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
524         * simple.el (newline): Only run post-self-insert-hook when
525         called interactively.
527 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
529         * icomplete.el (icomplete-with-completion-tables): Add :version.
531 2013-10-19  Alan Mackenzie  <acm@muc.de>
533         Fix fontification bugs with constructors and const.
535         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
536         CASE 2) Remove the check for the absence of a suffix construct
537         after a function declaration with only types (no identifiers) in
538         the parentheses.  Also, accept a function declaration with just a
539         type inside the parentheses, if this type can be positively
540         recognised as such, or if a prefix keyword like "explicit" nails
541         down the construct as a declaration.
543 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
545         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
546         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
547         the problem whereby selecting a menu item that leads to a
548         minibuffer prompt moves the cursor out of the minibuffer window,
549         making it hard to type at the prompt.  Suggested by Stefan Monnier
550         <monnier@iro.umontreal.ca>.
552 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
554         * menu-bar.el: Don't make Services menu.
556 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
558         * ffap.el: Handle "/usr/include/c++/<version>" directories.
559         (ffap-alist): Use ffap-c++-mode for c++-mode.
560         (ffap-c++-path): New variable.
561         (ffap-c++-mode): New function.
563 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
565         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
567 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
569         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
570         introduced on 2013-09-08, which results in an infinite loop
571         requesting a password.
573 2013-10-18  Glenn Morris  <rgm@gnu.org>
575         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
577 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
579         Sync with upstream verilog-mode revision 1a6ecec7.
580         * progmodes/verilog-mode.el (verilog-mode-version): Update.
581         (verilog-mode-release-date): Remove.
582         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
583         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
584         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
585         (verilog-auto-tieoff-ignore-regexp)
586         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
587         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
588         (verilog-signals-with, verilog-dir-cache-preserving)
589         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
590         Doc fixes.
591         (verilog-case-fold): New option, to control case folding in
592         regexp searches, bug597.
593         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
594         (verilog-string-match-fold, verilog-in-paren-count)
595         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
596         (verilog-at-close-struct-p): New functions.
597         (verilog-beg-block-re-ordered, verilog-extended-case-re)
598         (verilog-forward-sexp, verilog-set-auto-endcomments):
599         (verilog-leap-to-case-head): Handle "unique0" case.
600         (verilog-in-constraint-re): New constant.
601         (verilog-keywords, verilog-type-font-keywords):
602         Add some SystemVerilog 1800-2012 keywords.
603         (verilog-label-be): Remove unimplemented argument, bug669.
604         (verilog-batch-execute-func): When batch expanding clear
605         create-lockfiles to prevent spurious user locks when a file ends
606         up not changing.
607         (verilog-calculate-indent, verilog-calc-1)
608         (verilog-at-close-constraint-p, verilog-at-constraint-p)
609         (verilog-do-indent): Fix indentation of nested constraints
610         and structures.
611         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
612         (verilog-auto-inst-param): Use verilog-string-match-fold.
613         (verilog-read-inst-module-matcher):
614         Fix AUTOINST on gate primitives with #1.
615         (verilog-read-decls): Fix double-declaring user-defined typed signals.
616         Reads all user-defined typed variables.
617         (verilog-read-defines): Fix reading definitions inside comments, bug647.
618         (verilog-signals-matching-regexp)
619         (verilog-signals-not-matching-regexp, verilog-auto):
620         Respect verilog-case-fold.
621         (verilog-diff-report): Fix line count.
622         (verilog-auto-assign-modport): Remove unused local `modi'.
623         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
624         better handle multidimensional arrays.
625         Fix packed array ports misadding bit index in AUTOINST, bug637.
626         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
627         to not double-declare existing outputs and inputs, respectively.
628         (verilog-template-map): Bind U to verilog-sk-uvm-component.
629         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
630         (verilog-sk-uvm-component): New skeleton.
631         (verilog-submit-bug-report): Add verilog-case-fold,
632         remove verilog-mode-release-date.
634 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
636         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
637         as before.
639 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
641         * textmodes/remember.el (remember): set buffer-offer-save in
642         remember buffers (bug#13566).
644 2013-10-18  Daniel Colascione  <dancol@dancol.org>
646         When evaluating forms in ielm, direct standard output to ielm
647         buffer.  Add new ielm-return-for-effect command.  Remove trailing
648         whitespace throughout.
650         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
651         (ielm-return-for-effect): New command.
652         (ielm-send-input): Accept optional `for-effect' parameter.
653         (ielm-eval-input): Accept optional `for-effect' parameter.
654         Bind `standard-output' to stream we create using
655         `ielm-standard-output-impl'.  Suppress printing result when
656         `for-effect'.
657         (ielm-standard-output-impl): New function.
658         (inferior-emacs-lisp-mode): Explain new features in documentation.
660 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
662         Code cleanup.
664         * net/tramp.el (tramp-debug-message): Do not check for connection
665         buffer.
666         (tramp-message): Use "vector" connection property.
668         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
669         (tramp-equal-remote, tramp-eshell-directory-change)
670         * net/tramp-adb.el (tramp-adb-handle-copy-file)
671         (tramp-adb-handle-rename-file)
672         * net/tramp-cmds.el (tramp-list-remote-buffers)
673         (tramp-cleanup-connection, tramp-cleanup-this-connection)
674         * net/tramp-compat.el (tramp-compat-process-running-p)
675         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
676         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
677         (tramp-gvfs-handle-rename-file)
678         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
679         (tramp-set-file-uid-gid)
680         * net/tramp-smb.el (tramp-smb-handle-copy-file)
681         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
682         of `file-remote-p'.
684         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
685         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
686         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
687         (tramp-gw-open-network-stream): Suppress unrelated traces.
689         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
690         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
691         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
692         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
693         connection property.
695         * net/tramp-cache.el (top): Suppress traces when reading
696         persistency file.
698         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
699         Refactor common code.  Improve debug message.
700         (tramp-maybe-open-connection)
701         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
702         connection buffer too early.
704         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
705         from `tramp-smb-actions-with-acl'.
706         (tramp-smb-actions-set-acl): New defconst.
707         (tramp-smb-handle-copy-directory)
708         (tramp-smb-action-get-acl): New defun, renamed from
709         `tramp-smb-action-with-acl'.
710         (tramp-smb-action-set-acl): New defun.
711         (tramp-smb-handle-set-file-acl): Rewrite.
713 2013-10-17  Glenn Morris  <rgm@gnu.org>
715         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
717 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
719         * skeleton.el (skeleton-newline): Remove.
720         (skeleton-internal-1): Use (insert "\n") instead.
722         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
723         let-bindings.
725         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
726         forward-sexp-function while we redo its job (bug#15613).
728 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
730         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
731         represented by lists.
733 2013-10-16  Glenn Morris  <rgm@gnu.org>
735         * tmm.el (tmm--history): New dynamic variable.
736         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
738 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
740         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
741         (tramp-smb-errors): Add error messages.
742         (tramp-smb-actions-with-acl): New defconst.
743         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
744         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
745         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
746         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
747         (tramp-smb-get-stat-capability): Fix tests.
749 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
751         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
752         (bug#15580).
754 2013-10-16  Glenn Morris  <rgm@gnu.org>
756         * ansi-color.el (ansi-color-drop-regexp):
757         Add 1J, 1K, 2K.  (Bug#15617)
759         * files.el (hack-local-variables--warned-lexical): New.
760         (hack-local-variables):
761         Warn about misplaced lexical-binding.  (Bug#15616)
763         * net/eww.el (eww-render): Always set eww-current-url,
764         and update header line.  (Bug#15622)
765         (eww-display-html): ... Rather than just doing it here.
767 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
769         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
770         menu navigations commands.
772 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
774         * progmodes/subword.el (subword-capitalize): Be careful when
775         the search for [[:alpha:]] fails (bug#15580).
777 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
779         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
780         to commands that scroll the menu.
782 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
784         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
785         Handle methods ending with `?' and `!'.
787 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
789         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
790         `japanese-cp932' to `cp932' to fix the problem where saving a
791         source file written in Shift_JIS twice would end up having
792         `coding: japanese-cp932' which Ruby could not recognize.
793         (ruby-mode-set-encoding): Add support for encodings mapped to nil
794         in `ruby-encoding-map'.
795         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
796         doesn't need to be explicitly declared in magic comment.
797         (ruby-encoding-map): Add type declaration for better customize UI.
799 2013-10-13  Glenn Morris  <rgm@gnu.org>
801         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
802         Occur buffers are read-only.  http://bugs.debian.org/720775
804         * emacs-lisp/authors.el (authors-fixed-entries):
805         Comment out old alpha stuff.
807 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
809         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
810         to `after-save-hook' instead of `before-save-hook'.
811         (ruby-mode-set-encoding): Use the value of coding system used to
812         write the file.  Call `basic-save-buffer-1' after modifying the
813         buffer.
815 2013-10-13  Alan Mackenzie  <acm@muc.de>
817         Fix indentation/fontification of Java enum with
818         "implements"/generic.
820         * progmodes/cc-engine.el (c-backward-over-enum-header):
821         Extracted from the three other places and enhanced to handle generics.
822         (c-inside-bracelist-p): Uses new function above.
823         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
824         function above.
825         (c-font-lock-enum-tail): Uses new function above.
827 2013-10-13  Kenichi Handa  <handa@gnu.org>
829         * international/mule-cmds.el (select-safe-coding-system): Remove a
830         superfluous condition in chekcing whether a coding system is safe
831         or not.
833 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
835         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
837 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
839         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
841 2013-10-13  Glenn Morris  <rgm@gnu.org>
843         * menu-bar.el (menu-bar-update-buffers):
844         Unify Buffers menu prompt string.  (Bug#15576)
846         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
848         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
849         Add some entries.
850         (authors-fixed-entries): Use accented form of name.
852 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
854         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
855         method calls (bug#15594).
856         (ruby-smie--args-separator-p): New function.
857         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
858         recognize paren-free method calls.
860         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
861         internals of universal-argument.
863 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
865         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
866         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
867         dropped menu on second mouse click on the menu bar.
869 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
871         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
872         (explicit-shell-file-name): Declare.
873         (sh--vars-before-point, sh--cmd-completion-table): New functions.
874         (sh-completion-at-point-function): New function.
875         (sh-mode): Use it.
876         (sh-smie--keyword-p): Remove unused argument.
877         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
878         vars.
879         (sh-set-shell): Always setup SMIE, even if we use the
880         old indentation code.
882 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
884         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
885         cases of ? and =.
886         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
887         predicate would return nil are almost non-existent.
888         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
890         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
891         cache also after commands that modify the buffer but don't move
892         point.
894 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
896         * env.el (substitute-env-in-file-name): New function.
897         (substitute-env-vars): Extend the meaning of the optional arg.
899 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
901         * term/w32-win.el (dynamic-library-alist): Define separate lists
902         of GIF DLLs for versions before and after 5.0.0 of giflib.
903         (Bug#15531)
905 2013-10-10  João Távora <joaotavora@gmail.com>
907         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
908         not locked, use last revision and current source as
909         defaults.  (Bug#15569)
911 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
913         * menu-bar.el (menu-bar-open): Don't use popup-menu if
914         menu-bar is hidden.
916 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
918         * window.el (pop-to-buffer-same-window): Fix doc-string.
919         (Bug#15492)
921 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
923         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
925 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
927         * calendar/icalendar.el (icalendar-import-file):
928         Fix interactive spec.  (Bug#15482)
930 2013-10-10  Glenn Morris  <rgm@gnu.org>
932         * desktop.el (desktop-save): Default to saving in .emacs.d,
933         since PWD is no longer in desktop-path by default.  (Bug#15319)
935         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
936         now that text mode has a menu with the same entry.
937         (menu-bar-text-mode-auto-fill): Remove now unused func.
938         * textmodes/text-mode.el (text-mode-map):
939         Use auto-fill help text from menu-bar.el.
941 2013-10-10  John Anthony  <john@jo.hnanthony.com>
943         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
945 2013-10-09  Juri Linkov  <juri@jurta.org>
947         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
948         instead of this-command-keys.  Add universal-argument-more and
949         universal-argument-minus to the list of prefix commands.  (Bug#15568)
951 2013-10-09  Glenn Morris  <rgm@gnu.org>
953         * vc/vc-svn.el (vc-svn-create-repo):
954         Expand paths in file://... url.  (Bug#15446)
956         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
957         Add some entries.
958         (authors): Remove unused local variables.
960 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
962         * profiler.el: Create a more coherent calltree from partial backtraces.
963         (profiler-format): Hide the tail with `invisible' so that C-s can still
964         find the hidden elements.
965         (profiler-calltree-depth): Don't recurse so enthusiastically.
966         (profiler-function-equal): New hash-table-test.
967         (profiler-calltree-build-unified): New function.
968         (profiler-calltree-build): Use it.
969         (profiler-report-make-name-part): Indent the calltree less.
970         (profiler-report-mode): Add visibility specs for profiler-format.
971         (profiler-report-expand-entry, profiler-report-toggle-entry):
972         Expand the whole subtree when provided with a prefix arg.
974 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
976         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
977         iuwu-mod token.
978         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
979         hanging iuwu-mod token.
980         (ruby-smie--forward-token): Do not include a dot after a token in
981         that token.
982         (ruby-smie--backward-token): Likewise.
984 2013-10-08  Juri Linkov  <juri@jurta.org>
986         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
987         to isearch-other-control-char.
988         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
989         and isearch-post-command-hook to post-command-hook.
990         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
991         and isearch-post-command-hook from post-command-hook.
992         (isearch-unread-key-sequence)
993         (isearch-reread-key-sequence-naturally)
994         (isearch-lookup-scroll-key, isearch-other-control-char)
995         (isearch-other-meta-char): Remove functions.
996         (isearch-pre-command-hook, isearch-post-command-hook):
997         New functions based on isearch-other-meta-char rewritten
998         relying on the new behavior of overriding-terminal-local-map
999         that does not replace the local keymaps any more.  (Bug#15200)
1001 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
1003         Support menus on text-mode terminals.
1004         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1005         functionality.
1007         * tooltip.el (tooltip-mode): Don't error out on TTYs.
1009         * menu-bar.el (popup-menu, popup-menu-normalize-position):
1010         Move here from mouse.el.
1011         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1012         and arrow keys.
1013         (tty-menu-navigation-map): New map for TTY menu navigation.
1015         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1017         * frame.el (display-mouse-p): Report text-mode mouse as available
1018         on w32.
1019         (display-popup-menus-p): Report availability if mouse is
1020         available; don't condition on window-system.
1022         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1023         (tty-menu-selected-face): New faces.
1025 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1027         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1028         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1029         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1030         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1031         New constants.
1032         (lisp-mode-variables): New `elisp' argument.
1033         (emacs-lisp-mode): Use it.
1034         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1035         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1037         * indent.el: Use lexical-binding.
1038         (indent-region): Add progress reporter.
1039         (tab-stop-list): Make it implicitly extend to infinity by repeating the
1040         last step.
1041         (indent--next-tab-stop): New function to implement this behavior.
1042         (tab-to-tab-stop, move-to-tab-stop): Use it.
1044 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
1046         * indent.el (indent-rigidly--current-indentation): New function.
1047         (indent-rigidly-map): New var.
1048         (indent-rigidly): Use it to provide interactive mode (bug#8196).
1050 2013-10-08  Bastien Guerry  <bzg@gnu.org>
1052         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1054 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1056         * progmodes/perl-mode.el: Use lexical-binding.
1057         Remove redundant :group args.
1058         (perl-nochange): Change default to be closer to other major modes's
1059         standard behavior.
1060         (perl-indent-line): Don't consider text on current line as a
1061         valid beginning of function from which to indent.
1063         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1064         with more than one argument (bug#15538).
1066         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1068         * vc/pcvs.el: Use lexical-binding.
1069         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1070         environment of `eval'.
1071         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1072         than a list of expressions.  Adjust callers.
1073         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1075 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
1077         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1078         case of the dot in a chained method call being on the following line.
1080 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1082         * electric.el (electric-indent-inhibit): New var.
1083         (electric-indent-post-self-insert-function): Use it.
1084         * progmodes/python.el (python-mode): Set it.
1086         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1087         open braces.
1089         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1091         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1092         (css-mode): Use electric-indent-chars.
1094         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1095         (font-lock-beg, font-lock-end): Move before first use.
1096         (nxml-mode): Use syntax-propertize-function.
1097         (nxml-after-change, nxml-after-change1): Adjust accordingly.
1098         (nxml-extend-after-change-region): Remove.
1099         * nxml/xmltok.el: Use lexical-binding.
1100         (xmltok-save): Use `declare'.
1101         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1102         * nxml/nxml-util.el: Use lexical-binding.
1103         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1104         Use `declare'.
1105         * nxml/nxml-ns.el: Use lexical-binding.
1106         (nxml-ns-save): Use `declare'.
1107         (nxml-ns-prefixes-for): Avoid add-to-list.
1108         * nxml/rng-match.el: Use lexical-binding.
1109         (rng--ipattern): Use cl-defstruct.
1110         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1111         (rng-cons-group-after, rng-subst-group-after)
1112         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1113         Use closures instead of `(lambda...).
1115 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
1117         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1118         of BEG and END.
1120         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1121         Use `tramp-handle-insert-file-contents'.
1122         (tramp-gvfs-handle-insert-file-contents): Remove function.
1124         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1125         Use `save-restriction' in order to keep markers.
1127         * net/trampver.el: Update release number.
1129 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1131         * progmodes/compile.el (compilation-parse-errors):
1132         Use compilation--put-prop.
1133         (compilation--ensure-parse): Check compilation-multiline.
1135         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1137         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1138         lexical-binding.
1140         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1142         * progmodes/ruby-mode.el: Fix recently added tests.
1143         (ruby-smie-grammar): Add - and +.
1144         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1145         (ruby-smie--backward-id): New functions.
1146         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1147         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
1148         any more.
1150 2013-10-07  Leo Liu  <sdl.web@gmail.com>
1152         * register.el (register-preview-delay)
1153         (register-preview-functions): New variables.
1154         (register-read-with-preview, register-preview)
1155         (register-describe-oneline): New functions.
1156         (point-to-register, window-configuration-to-register)
1157         (frame-configuration-to-register, jump-to-register)
1158         (number-to-register, view-register, insert-register)
1159         (copy-to-register, append-to-register, prepend-to-register)
1160         (copy-rectangle-to-register): Use register-read-with-preview to
1161         read register.  (Bug#15525)
1163 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
1165         * net/network-stream.el (network-stream-open-starttls): Don't add
1166         --insecure if it's already present, because that gnutls-cli
1167         rejects getting that parameter twice.
1169 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
1171         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1172         keyword, too.
1174 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
1176         * newcomment.el (comment-use-global-state): Change default value
1177         to t, mark obsolete (Bug#15251).
1178         (comment-beginning): In addition to `comment-to-syntax', check the
1179         value of `comment-use-global-state'.
1181 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1183         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1184         (ruby-comment-column): Follow the global default, by default.
1185         (ruby-smie-grammar): Add assignment syntax.
1186         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1187         open-paren, a comma, or a \.
1188         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1189         and line continuations.
1190         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1191         followed by implicit semi-colons.  Add rule for string concatenation
1192         and for indentation at BOB.
1193         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1195         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1196         calling next-sexp, since next-token may have skipped chars which
1197         next-sexp doesn't know should be skipped!
1199 2013-10-05  Leo Liu  <sdl.web@gmail.com>
1201         * progmodes/octave.el (octave-send-region):
1202         Call compilation-forget-errors.
1204 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
1206         * vc/vc-svn.el (vc-svn-find-admin-dir):
1207         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1208         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1209         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1210         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1212 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1214         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1216 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1218         * subr.el (read-passwd): Hide chars even when called within a context
1219         where after-change-functions is disabled (bug#15501).
1220         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1221         until we removed ourself from overriding-terminal-local-map.
1223 2013-10-04  Leo Liu  <sdl.web@gmail.com>
1225         * progmodes/octave.el (inferior-octave-mode):
1226         Call compilation-forget-errors.
1228 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
1230         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1232 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
1234         * net/secrets.el (secrets-create-collection): Add optional
1235         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
1236         dbus-call-method argument.  (Bug#15516)
1238 2013-10-04  Leo Liu  <sdl.web@gmail.com>
1240         * progmodes/octave.el (inferior-octave-error-regexp-alist)
1241         (inferior-octave-compilation-font-lock-keywords): New variables.
1242         (compilation-error-regexp-alist)
1243         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1244         (inferior-octave-mode): Use compilation-shell-minor-mode.
1246 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
1248         * minibuffer.el (completion--replace): Be careful that `end' might be
1249         a marker.
1251 2013-10-03  Daiki Ueno  <ueno@gnu.org>
1253         Add support for package signature checking.
1254         * emacs-lisp/package.el (url-http-file-exists-p)
1255         (epg-make-context, epg-context-set-home-directory)
1256         (epg-verify-string, epg-context-result-for)
1257         (epg-signature-status, epg-signature-to-string)
1258         (epg-check-configuration, epg-configuration)
1259         (epg-import-keys-from-file): Declare.
1260         (package-check-signature): New user option.
1261         (package-unsigned-archives): New user option.
1262         (package-desc): Add `signed' field.
1263         (package-load-descriptor): Set `signed' field if .signed file exists.
1264         (package--archive-file-exists-p): New function.
1265         (package--check-signature): New function.
1266         (package-install-from-archive): Check package signature.
1267         (package--download-one-archive): Check archive signature.
1268         (package-delete): Remove .signed file.
1269         (package-import-keyring): New command.
1270         (package-refresh-contents): Import default keyring.
1271         (package-desc-status): Add "unsigned" status.
1272         (describe-package-1, package-menu--print-info)
1273         (package-menu-mark-delete, package-menu--find-upgrades)
1274         (package-menu--status-predicate): Support "unsigned" status.
1276 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1278         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1279         the new compilation scheme using the new byte-codes.
1281         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1282         (byte-pophandler): New byte codes.
1283         (byte-goto-ops): Adjust accordingly.
1284         (byte-compile--use-old-handlers): New var.
1285         (byte-compile-catch): Use new byte codes depending on
1286         byte-compile--use-old-handlers.
1287         (byte-compile-condition-case--old): Rename from
1288         byte-compile-condition-case.
1289         (byte-compile-condition-case--new): New function.
1290         (byte-compile-condition-case): New function that dispatches depending
1291         on byte-compile--use-old-handlers.
1292         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1293         when we can.
1295         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1296         Optimize under `condition-case' and `catch' if
1297         byte-compile--use-old-handlers is nil.
1298         (disassemble-offset): Handle new bytecodes.
1300 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1302         * subr.el (error): Use `declare'.
1303         (decode-char, encode-char): Use advertised-calling-convention instead
1304         of the docstring to discourage use of the `restriction' arg.
1306 2013-10-03  Daiki Ueno  <ueno@gnu.org>
1308         * epg.el (epg-verify-file): Add a comment saying that it does not
1309         notify verification error as a return value nor a signal.
1310         (epg-verify-string): Ditto.
1312 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
1314         * progmodes/compile.el (compilation-start): Try globbing the arg to
1315         `cd' (bug#15417).
1317 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
1319         Sync with Tramp 2.2.8.
1321         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1322         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1323         * net/trampver.el: Update release number.
1325 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
1327         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1328         and default-process-coding-system for darwin only.
1330 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1332         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1334 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
1336         * vc/vc-git.el (vc-git-grep): Disable pager.
1338 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
1340         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1341         Use :url instead of :homepage, as per
1342         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1344         * newcomment.el (comment-beginning): When `comment-use-syntax' is
1345         non-nil, use `syntax-ppss' (Bug#15251).
1347 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1349         * progmodes/octave.el (inferior-octave-startup-file):
1350         Prefer ~/.emacs.d/init_octave.m.
1352 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
1354         * emacs-lisp/package.el (package-desc-from-define):
1355         Accept additional arguments as plist, convert them to an alist and store
1356         them in the `extras' slot.
1357         (package-generate-description-file): Convert extras alist back to
1358         plist and append to the `define-package' form arguments.
1359         (package--alist-to-plist): New function.
1360         (package--ac-desc): Add `extras' slot.
1361         (package--add-to-archive-contents): Check if the archive-contents
1362         vector is long enough, and if it is, pass its `extras' slot value
1363         to `package-desc-create'.
1364         (package-buffer-info): Call `lm-homepage', pass the returned value
1365         to `package-desc-from-define'.
1366         (describe-package-1): Render the homepage button (Bug#13291).
1368         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1369         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1371 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
1373         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1374         and default-process-coding-system to utf-8-unix (Bug#15402).
1376 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
1378         * subr.el (looking-back): Do not recommend using looking-back.
1380 2013-09-28  Alan Mackenzie  <acm@muc.de>
1382         Fix indentation/fontification of Java enum with "implements".
1384         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1385         regexp which matches "implements", etc., in Java.
1386         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1387         specifier clauses coming after "enum".
1388         * progmodes/cc-fonts.el (c-font-lock-declarations)
1389         (c-font-lock-enum-tail): Check for extra specifier clauses coming
1390         after "enum".
1392 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
1394         * faces.el (region): Change ns_selection_color to
1395         ns_selection_fg_color, add ns_selection_bg_color.
1397 2013-09-28  Leo Liu  <sdl.web@gmail.com>
1399         * progmodes/octave.el (inferior-octave-completion-table)
1400         (inferior-octave-completion-at-point): Minor tweaks.
1402         * textmodes/ispell.el (ispell-lookup-words): Rename from
1403         lookup-words.  (Bug#15460)
1404         (lookup-words): Obsolete.
1405         (ispell-complete-word, ispell-command-loop): All uses changed.
1407 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1409         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1410         (octave-mode-menu): Add octave-send-buffer.
1411         (octave-send-buffer): New function.
1413 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1415         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1416         octave-lookfor.
1417         (octave-mode-menu): Add octave-lookfor.
1418         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1419         octave-lookfor.
1420         (octave-lookfor): New function.
1422 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1424         * emacs-lisp/cl-macs.el:
1425         (cl--loop-destr-temps): Remove.
1426         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1427         its convention.
1428         (cl--loop-set-iterator-function): New function.
1429         (cl-loop): Adjust accordingly, so as not to use cl-subst.
1430         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1431         Bind `it' with `let' instead of substituting it with `cl-subst'.
1432         (cl--unused-var-p): New function.
1433         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1434         Eliminate some unused variable warnings (bug#15326).
1436 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
1438         * doc-view.el (doc-view-scale-reset): Rename from
1439         `doc-view-reset-zoom-level'.
1440         (doc-view-scale-adjust): New command.
1441         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1442         `doc-view-scale-adjust'.
1444 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
1446         * doc-view.el (doc-view-reset-zoom-level): New command.
1447         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1448         zoom commands (bug#15466).
1450 2013-09-26  Kenichi Handa  <handa@gnu.org>
1452         * international/quail.el (quail-help): Make it not a command.
1454 2013-09-26  Leo Liu  <sdl.web@gmail.com>
1456         * minibuffer.el (completion-all-sorted-completions): Make args
1457         optional as they are.
1459 2013-09-25  Daniel Colascione  <dancol@dancol.org>
1461         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1462         specs are and that they're not evaluated.
1464 2013-09-24  Sam Steingold  <sds@gnu.org>
1466         * midnight.el (clean-buffer-list-kill-regexps)
1467         (clean-buffer-list-kill-buffer-names): Update for the new Man
1468         buffer naming which includes the object name.
1470 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1472         * eshell/esh-cmd.el (eshell--sep-terms): New var.
1473         (eshell-parse-command, eshell-parse-pipeline): Use it since
1474         eshell-separate-commands requires a dynamic scoped var.
1475         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1477 2013-09-23  Leo Liu  <sdl.web@gmail.com>
1479         * autoinsert.el (auto-insert-alist): Make the value of
1480         lexical-binding match its file setting.
1482 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
1484         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1486         * autoarg.el (autoarg-kp-digit-argument):
1487         * electric.el (Electric-command-loop):
1488         * kmacro.el (kmacro-step-edit-insert):
1489         Do not set universal-argument-num-events.
1491 2013-09-22  Leo Liu  <sdl.web@gmail.com>
1493         * files.el (interpreter-mode-alist): Add octave.
1495 2013-09-21  Alan Mackenzie  <acm@muc.de>
1497         C++: fontify identifier in declaration following "public:" correctly.
1498         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1499         to match "public", etc.
1500         (c-decl-prefix-re): Add ":" into the C++ value.
1501         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1502         bit.  Add a check for a ":" preceded by "public", etc.
1504 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
1506         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1507         recognized by GDB 7.5 and later.
1509 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
1511         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1513 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1515         * subr.el (internal--call-interactively): New const.
1516         (called-interactively-p): Use it (bug#3984).
1518 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
1520         * vc/pcvs.el (cvs-mode-ignore):
1521         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1522         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1524 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1526         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
1527         (eshell-ls-orig-insert-directory): Remove.
1528         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
1529         (eshell-ls-use-in-dired): Use advice-add/remove.
1530         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1531         Add `orig-fun' arg for use in :around advice.
1532         Make it check (redundantly) eshell-ls-use-in-dired.
1534 2013-09-19  Glenn Morris  <rgm@gnu.org>
1536         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1538         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1540         * emacs-lisp/eieio.el (class-parent): Undo previous change.
1542 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
1544         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1545         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1546         (tramp-get-remote-python): New defuns.
1547         (tramp-get-remote-uid-with-perl)
1548         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
1549         contributed by yary <not.com@gmail.com> (tiny change).
1550         (tramp-get-remote-uid-with-python)
1551         (tramp-get-remote-gid-with-python): New defuns.  Python code
1552         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1553         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1555 2013-09-19  Glenn Morris  <rgm@gnu.org>
1557         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1559         * eshell/em-unix.el (eshell-remove-entries):
1560         Rename argument to avoid name-clash with global `top-level'.
1562         * eshell/esh-proc.el (eshell-kill-process-function):
1563         Remove eshell-reset-after-proc from eshell-kill-hook if present.
1564         (eshell-reset-after-proc): Remove unused arg `proc'.
1566         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1567         (directory-files-and-attributes): Mark unused arg.
1569         * eshell/em-unix.el (eshell-remove-entries):
1570         Remove unused arg `path'.  Update callers.
1572         * eshell/em-hist.el (eshell-hist-parse-arguments):
1573         Remove unused arg `silent'.  Update callers.
1575         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1576         Fix (f)boundp mix-up.
1578         * eshell/em-smart.el (eshell-smart-scroll-window)
1579         (eshell-disable-after-change):
1580         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1582 2013-09-18  Alan Mackenzie  <acm@muc.de>
1584         Fix fontification of type when followed by "const".
1585         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1586         "known" types from fontification.
1588 2013-09-18  Glenn Morris  <rgm@gnu.org>
1590         * emacs-lisp/chart.el (x-display-color-cells): Declare.
1591         (chart-face-list): Drop Emacsen without display-color-p.
1593         * net/eww.el (libxml-parse-html-region): Declare.
1594         (eww-display-html): Explicit error if no libxml2 support.
1596         * doc-view.el (doc-view-mode): Silence --without-x compilation.
1598         * image.el (image-type-from-buffer, image-multi-frame-p):
1599         Remove --without-x warning/error.
1601         * mouse.el (mouse-yank-primary):
1602         * term.el (term-mouse-paste):
1603         Reorder to silence --without-x compilation.
1605         * mpc.el (doc-view-mode): Silence --without-x compilation.
1607         * mail/rmailmm.el (rmail-mime-set-bulk-data):
1608         Silence --without-x compilation.
1610         * progmodes/gud.el (gud-find-file, gud-mode):
1611         Silence --without-x compilation.
1612         (tooltip-mode): Declare.
1614         * wdired.el (dired-backup-overwrite): Remove declaration.
1615         (wdired-mode-map): Add doc string.
1617         * custom.el (x-get-resource): Declare.
1619         * eshell/em-glob.el (ange-cache):
1620         * eshell/em-unix.el (ange-cache): Declare.
1622         * faces.el (x-display-list, x-open-connection, x-get-resource):
1623         Declare.
1625         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1626         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1627         Declare.
1629         * frame.el (x-display-grayscale-p, x-display-name): Declare.
1631         * net/gnutls.el (gnutls-log-level): Declare.
1633         * net/shr.el (image-size, image-animate): Declare.
1635         * simple.el (font-info): Declare.
1637         * subr.el (x-popup-dialog): Declare.
1639         * term/common-win.el (x-select-enable-primary)
1640         (x-last-selected-text-primary, x-last-selected-text-clipboard):
1641         Declare.
1643         * term/ns-win.el (x-handle-args): Declare.
1645         * term/x-win.el (x-select-enable-clipboard): Declare.
1647         * term/w32-win.el (create-default-fontset): Declare.
1649         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1650         Declare.
1652         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1653         (fit-frame-to-buffer): Explicit error if --without-x.
1654         (mouse-autoselect-window-select): Silence compiler.
1656         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1658         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1659         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1660         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1661         * eshell/esh-util.el (eshell-sublist):
1662         Remove unused local variables.
1664         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1666         * textmodes/two-column.el: Make 2C-split work for --without-x.
1667         (scroll-bar-columns): Autoload.
1668         (top-level): Require fringe when compiling.
1670 2013-09-18  Leo Liu  <sdl.web@gmail.com>
1672         * subr.el (add-hook): Robustify to handle closure as well.
1674 2013-09-17  Glenn Morris  <rgm@gnu.org>
1676         * simple.el (messages-buffer-mode-map): Unbind "g".
1678 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1680         * help-mode.el (help-mode-finish): Use derived-mode-p.
1681         Remove obsolete highlighting.
1683         * play/life.el (life-mode): Use define-derived-mode.  Derive from
1684         special-mode.
1685         (life): Let-bind inhibit-read-only.
1686         (life-setup): Avoid `setq'.  Use `life-mode'.
1688         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1689         which should not be needed any more.
1690         (package-menu-refresh, package-menu-describe-package): Use user-error.
1692         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1693         (eshell-post-rewrite-command-hook): Make obsolete.
1694         (eshell-parse-command): Simplify.
1695         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1696         (eshell--cmd): Declare.
1697         (eshell-parse-pipeline): Remove unused var `final-p'.
1698         Pass a dynvar to eshell-post-rewrite-command-hook.
1699         Implement the new eshell-post-rewrite-command-function.
1700         (eshell-invoke-directly): Remove unused arg `input'.
1701         * eshell/esh-io.el (eshell-io-initialize):
1702         Use eshell-post-rewrite-command-function (bug#15399).
1703         (eshell--apply-redirections): Rename from eshell-apply-redirections;
1704         adjust to new calling convention.
1705         (eshell-create-handles): Rename args to avoid clashing with dynvar
1706         `standard-output'.
1708 2013-09-17  Glenn Morris  <rgm@gnu.org>
1710         * simple.el (messages-buffer-mode): New major mode.
1711         (messages-buffer): New function.
1712         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1713         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1714         (ert-run-test): Use `messages-buffer' function.
1715         (ert--force-message-log-buffer-truncation): Ignore read-only.
1716         * help.el (view-echo-area-messages): Use `messages-buffer' function.
1717         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1719 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1721         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1723         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1725 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1727         * icomplete.el (icomplete-in-buffer): New var.
1728         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1729         vars and replace them with functions.
1730         (icomplete-minibuffer-setup): Adjust accordingly.
1731         (icomplete--completion-table, icomplete--completion-predicate)
1732         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1733         New functions.
1734         (icomplete-forward-completions, icomplete-backward-completions)
1735         (icomplete-simple-completing-p, icomplete-exhibit)
1736         (icomplete-completions): Use them.
1737         (icomplete--in-region-buffer): New var.
1738         (icomplete--in-region-setup): New function.
1739         (icomplete-mode): Use it.
1741         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1742         (bug#15379).
1743         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1744         return args and options.
1745         (eshell-eval-using-options): Use the new return value of
1746         eshell--do-opts to set the options's vars in their scope.
1747         (eshell--set-option): Rename from eshell-set-option.
1748         Add arg `opt-vals'.
1749         (eshell--process-option): Rename from eshell-process-option.
1750         Add arg `opt-vals'.
1751         (eshell--process-args): Use an `opt-vals' alist to store the options's
1752         values during their processing and return them additionally to the
1753         remaining args.
1755 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
1757         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1758         continuation character an operator, as far as indentation is
1759         concerned (Bug#15369).
1761 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
1763         * window.el (window--state-put-2): Don't process buffer state
1764         when buffer doesn't exist any more (Bug#15382).
1766 2013-09-15  Glenn Morris  <rgm@gnu.org>
1768         * eshell/em-unix.el (eshell/rm):
1769         Make -f ignore missing files.  (Bug#15373)
1771         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
1772         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1773         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1775 2013-09-14  Glenn Morris  <rgm@gnu.org>
1777         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1779 2013-09-13  Glenn Morris  <rgm@gnu.org>
1781         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1782         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
1784 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
1786         * frame.el (x-focus-frame): Mark as declared in frame.c.
1788 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1790         * ls-lisp.el: Use advice-add.
1791         (original-insert-directory): Remove.
1792         (ls-lisp--insert-directory): Rename from insert-directory; add
1793         `orig-fun' argument.
1794         (insert-directory): Advise.
1796 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
1798         * term.el (term-emulate-terminal): Decode the command string
1799         before passing it to term-command-hook.  (Bug#15337)
1801 2013-09-13  Glenn Morris  <rgm@gnu.org>
1803         * eshell/esh-util.el (ange-cache): Move declaration earlier.
1805         * eshell/esh-ext.el (eshell-search-path): Declare.
1807         * eshell/em-prompt.el (eshell/pwd): Autoload it.
1808         Otherwise an error occurs if eshell-dirs module not loaded.
1810         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1812 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
1814         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1815         `tramp-check-proper-host'.  Check for a valid method name.
1817         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1818         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1819         * net/tramp-sh.el (tramp-maybe-open-connection):
1820         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1822         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1823         also for hash values.
1825 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1827         * term/ns-win.el (parameters): Don't declare as dynamic.
1828         (before-make-frame-hook): Don't add ineffective function.
1830         * eshell/*.el: Use lexical-binding (bug#15231).
1832 2013-09-12  Kenichi Handa  <handa@gnu.org>
1834         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1836 2013-09-12  Glenn Morris  <rgm@gnu.org>
1838         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1839         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1841         * subr.el (do-after-load-evaluation): Also give compiler warnings
1842         when obsolete files are used (except by obsolete files).
1844         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1845         in the status output, assume `filename' is the first.  (Bug#15322)
1847         * vc/vc.el (vc-deduce-fileset): Doc fix.
1849         * calc/calc-help.el (Info-goto-node):
1850         * progmodes/cperl-mode.el (Info-find-node):
1851         * vc/ediff.el (Info-goto-node): Update declarations.
1853         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1855         * vc/vc-bzr.el (vc-compilation-mode): Declare.
1856         (vc-bzr-pull): Require vc-dispatcher.
1857         * vc/vc-git.el (vc-compilation-mode): Declare.
1858         (vc-git-pull): Require vc-dispatcher.
1860         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1862         * progmodes/octave.el (help-button-action): Declare.
1864         * shell.el (shell-directory-tracker): Output error as a message
1865         rather than just returning it as a string.
1866         (shell-process-pushd): Remove useless use of message.
1868         * dframe.el (dframe-timer-fn):
1869         * files.el (dir-locals-read-from-file):
1870         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1871         (mpc-format):
1872         * reveal.el (reveal-post-command):
1873         * saveplace.el (load-save-place-alist-from-file):
1874         * shell.el (shell-resync-dirs):
1875         * w32-common-fns.el (x-get-selection-value):
1876         * emacs-lisp/copyright.el (copyright-find-copyright):
1877         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1878         * emulation/tpu-edt.el (tpu-copy-keyfile):
1879         * play/bubbles.el (bubbles--mark-neighbourhood):
1880         * progmodes/executable.el
1881         (executable-make-buffer-file-executable-if-script-p):
1882         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1884 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1886         Cleanup Eshell to rely less on dynamic scoping.
1887         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1888         last-value, and ext-command here.  Bind `args' closer to `body'.
1889         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1890         (eshell--args): Declare new dynamic var.
1891         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
1892         last-value, and ext-command.  Pass `args' to `body'.
1893         (eshell-process-args): Bind eshell--args.
1894         (eshell-set-option): Use eshell--args.
1895         * eshell/eshell.el (eshell): Use derived-mode-p.
1896         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1897         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1898         (eshell-glob-function): Declare.
1899         * eshell/esh-util.el: Require cl-lib.
1900         (eshell-read-hosts-file): Avoid add-to-list.
1901         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1902         `err'.
1903         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1904         Declare.
1905         (eshell/diff): Remove unused var `err'.
1906         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1907         `killflag'.
1908         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1909         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1910         first use.
1911         * eshell/em-glob.el (eshell-glob-matches, message-shown):
1912         Move declaration before first use.
1913         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1914         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1915         rely on cl-return.
1917 2013-09-12  Glenn Morris  <rgm@gnu.org>
1919         * term/ns-win.el (global-map): Remove binding for ispell-next,
1920         deleted 1999-05-29.  (Bug#15357)
1922 2013-09-11  Glenn Morris  <rgm@gnu.org>
1924         * echistory.el (electric-command-history): Remove call to deleted func.
1926         * play/landmark.el (landmark-mode): Fix typos.
1928         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1929         Check cvs-sort-ignore-file is bound.
1931         * savehist.el: No need for cl when compiling on Emacs.
1933 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1935         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1936         (bug#15338).
1937         (eshell-self-insert-command, eshell-send-invisible):
1938         Remove unused argument.
1939         (eshell-handle-control-codes): Remove unused var `orig'.
1940         Avoid delete-backward-char.
1942         * files.el (set-auto-mode): Simplify a bit further.
1944 2013-09-11  Glenn Morris  <rgm@gnu.org>
1946         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1947         (set-auto-mode): Don't regexp-quote elements.
1948         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1949         * progmodes/cc-mode.el (interpreter-mode-alist):
1950         * progmodes/ruby-mode.el (interpreter-mode-alist):
1951         Revert previous change.
1953 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1955         * play/snake.el (snake-mode):
1956         * play/mpuz.el (mpuz-mode):
1957         * play/landmark.el (lm-mode):
1958         * play/blackbox.el (blackbox-mode):
1959         * play/5x5.el (5x5-mode):
1960         * obsolete/options.el (Edit-options-mode):
1961         * net/quickurl.el (quickurl-list-mode):
1962         * net/newst-treeview.el (newsticker-treeview-mode):
1963         * mail/rmailsum.el (rmail-summary-mode):
1964         * mail/mspools.el (mspools-mode):
1965         * locate.el (locate-mode):
1966         * ibuffer.el (ibuffer-mode):
1967         * emulation/ws-mode.el (wordstar-mode):
1968         * emacs-lisp/debug.el (debugger-mode):
1969         * array.el (array-mode):
1970         * net/eudc.el (eudc-mode): Use define-derived-mode.
1971         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1972         Move initialization into declaration.
1973         (mairix-searches-mode): Use define-derived-mode.
1974         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1975         (eudc-edit-hotlist): Use dolist.
1976         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1977         (Man-mode): Use define-derived-mode.
1978         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1979         (Info-edit-mode): Use define-derived-mode.
1980         (Info-cease-edit): Use Info-mode.
1981         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1982         into declaration.
1983         (eshell-mode): Use define-derived-mode.
1984         * chistory.el (command-history-mode-map): Rename from
1985         command-history-map.
1986         (command-history-mode): Use define-derived-mode.
1987         (Command-history-setup): Remove function.
1988         * calc/calc.el (calc-trail-mode-map): New var.
1989         (calc-trail-mode): Use define-derived-mode.
1990         (calc-trail-buffer): Set calc-main-buffer manually.
1991         * bookmark.el (bookmark-insert-annotation): New function.
1992         (bookmark-edit-annotation): Use it.
1993         (bookmark-edit-annotation-mode): Make it a proper major mode.
1994         (bookmark-send-edited-annotation): Use derived-mode-p.
1995         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1996         closer to its ideal place.  Use \' to match EOS.
1998         * profiler.el (profiler-calltree-find): Use function-equal.
2000 2013-09-10  Glenn Morris  <rgm@gnu.org>
2002         * files.el (interpreter-mode-alist): Convert to regexps.
2003         (set-auto-mode): Adapt for this.  (Bug#15306)
2004         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2005         Comment out unused variable.
2006         * progmodes/cc-mode.el (interpreter-mode-alist):
2007         * progmodes/python.el (interpreter-mode-alist):
2008         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2009         * progmodes/sh-script.el (sh-set-shell):
2010         No longer use interpreter-mode-alist to get list of shells.
2012         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2014 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2016         * simple.el: Use set-temporary-overlay-map for universal-argument.
2017         (universal-argument-map): Don't use default-bindings (bug#15317).
2018         Bind switch-frame explicitly.  Replace universal-argument-minus with
2019         a conditional binding.
2020         (universal-argument-num-events, saved-overriding-map): Remove.
2021         (restore-overriding-map): Remove.
2022         (universal-argument--mode): Rename from save&set-overriding-map,
2023         and rewrite.
2024         (universal-argument, universal-argument-more, negative-argument)
2025         (digit-argument): Adjust accordingly.
2026         (universal-argument-minus): Remove.
2027         (universal-argument-other-key): Remove.
2029         * subr.el (with-demoted-errors): Add `format' argument.
2031 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
2033         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
2034         `tramp-cleanup-connection'.
2036         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2037         parameters KEEP-DEBUG and KEEP-PASSWORD.
2039         * net/tramp.el (tramp-file-name-handler):
2040         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2041         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2042         (tramp-maybe-open-connection):
2043         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2044         Use `tramp-cleanup-connection'.
2046         * net/tramp-sh.el (tramp-maybe-open-connection):
2047         Catch 'uname-changed inside the progress reporter.
2049 2013-09-10  Glenn Morris  <rgm@gnu.org>
2051         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
2053         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2054         returns "alternate access method" in mode (eg "-rw-r--r--.").
2056 2013-09-08  Glenn Morris  <rgm@gnu.org>
2058         * saveplace.el (load-save-place-alist-from-file):
2059         Demote errors.  (Bug#15305)
2061 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
2063         Improve compatibility with older Emacsen, and XEmacs.
2065         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2066         only if it is bound.  It isn't for XEmacs.
2067         (with-tramp-progress-reporter): Do not let-bind `result'.
2068         This yields to scoping errors in XEmacs.
2069         (tramp-handle-make-auto-save-file-name): New function, moved from
2070         tramp-sh.el.
2072         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2073         for `make-auto-save-file-name'.
2074         (tramp-adb--gnu-switches-to-ash):
2075         Use `tramp-compat-replace-regexp-in-string'.
2077         * net/tramp-cache.el (tramp-cache-print): Call
2078         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
2080         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2081         bound.  It isn't for XEmacs.
2083         * net/tramp-compat.el (tramp-compat-copy-file):
2084         Catch `wrong-number-of-arguments' error.
2085         (tramp-compat-replace-regexp-in-string): New defun.
2087         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2088         for `make-auto-save-file-name'.
2089         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2090         `copy-file'.
2091         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2092         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2093         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2095         * net/tramp-gw.el (tramp-gw-open-network-stream):
2096         Use `tramp-compat-replace-regexp-in-string'.
2098         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2099         Call `tramp-handle-make-auto-save-file-name'.
2100         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2101         (tramp-sh-file-gvfs-monitor-dir-process-filter)
2102         (tramp-sh-file-inotifywait-process-filter):
2103         Use `tramp-compat-replace-regexp-in-string'.
2104         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2106         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2107         for `make-auto-save-file-name'.
2108         (tramp-smb-handle-copy-directory):
2109         Call `tramp-compat-replace-regexp-in-string'.
2110         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2111         (tramp-smb-handle-copy-file): Improve error message.
2112         (tramp-smb-handle-rename-file): Rename directly only in case
2113         `newname' does not exist yet.  This is a restriction of smbclient.
2114         (tramp-smb-maybe-open-connection): Rerun the function only when
2115         `auth-sources' is non-nil.
2117 2013-09-08  Kenichi Handa  <handa@gnu.org>
2119         * international/characters.el: Set category "^" (Combining) for
2120         more characters.
2122 2013-09-07  Alan Mackenzie  <acm@muc.de>
2124         Correctly fontify Java class constructors.
2125         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2126         in Java Mode.
2127         (c-recognize-typeless-decls): Set the Java value to t.
2128         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2129         While handling a "(", add a check for, effectively, Java, and handle a
2130         "typeless" declaration there.
2132 2013-09-07  Roland Winkler  <winkler@gnu.org>
2134         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2135         field subtitle for entry type book.
2137 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2139         * minibuffer.el: Make minibuffer-complete call completion-in-region
2140         rather than other way around.
2141         (completion--some, completion-pcm--find-all-completions):
2142         Don't delay signals when debugging.
2143         (minibuffer-completion-contents): Beware fields within the
2144         minibuffer contents.
2145         (completion-all-sorted-completions): Use defvar-local.
2146         (completion--do-completion, completion--cache-all-sorted-completions)
2147         (completion-all-sorted-completions, minibuffer-force-complete):
2148         Add args `beg' and `end'.
2149         (completion--in-region-1): New fun, extracted from minibuffer-complete.
2150         (minibuffer-complete): Use completion-in-region.
2151         (completion-complete-and-exit): New fun, extracted from
2152         minibuffer-complete-and-exit.
2153         (minibuffer-complete-and-exit): Use it.
2154         (completion--complete-and-exit): Rename from
2155         minibuffer--complete-and-exit.
2156         (completion-in-region--single-word): New function, extracted from
2157         minibuffer-complete-word.
2158         (minibuffer-complete-word): Use it.
2159         (display-completion-list): Make `common-substring' argument obsolete.
2160         (completion--in-region): Call completion--in-region-1 instead of
2161         minibuffer-complete.
2162         (completion-help-at-point): Pass boundaries to
2163         minibuffer-completion-help as args rather than via an overlay.
2164         (completion-pcm--string->pattern): Use `any-delim'.
2165         (completion-pcm--optimize-pattern): New function.
2166         (completion-pcm--pattern->regex): Handle `any-delim'.
2167         * icomplete.el (icomplete-forward-completions)
2168         (icomplete-backward-completions, icomplete-completions):
2169         Adjust calls to completion-all-sorted-completions and
2170         completion--cache-all-sorted-completions.
2171         (icomplete-with-completion-tables): Default to t.
2172         * emacs-lisp/crm.el (crm--current-element): Rename from
2173         crm--select-current-element.  Don't put an overlay but return the
2174         boundaries instead.
2175         (crm--completion-command): Take two new args to bind to the boundaries.
2176         (crm-completion-help): Adjust accordingly.
2177         (crm-complete): Use completion-in-region.
2178         (crm-complete-word): Use completion-in-region--single-word.
2179         (crm-complete-and-exit): Use completion-complete-and-exit.
2181 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2183         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2184         than dynamically.
2186 2013-09-06  Juri Linkov  <juri@jurta.org>
2188         * info.el (Info-display-images-node): When image file doesn't exist
2189         display text version of the image if it's provided in the Info file.
2190         Otherwise, display the location of missing image from SRC attribute.
2191         Add help-echo text property from ALT attribute.  (Bug#15279)
2193 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2195         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2196         (edit-abbrevs-mode): Use define-derived-mode.
2198         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2199         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2200         that it's defined.
2201         (epa-key-list-mode, epa-key-mode, epa-info-mode):
2202         Use define-derived-mode.
2204         * epg.el (epg-start-encrypt): Minor CSE simplification.
2206 2013-09-06  William Xu  <william.xwl@gmail.com>
2208         * arc-mode.el: Add support for 7za (bug#15264).
2209         (archive-7z-program): New var.
2210         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2211         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2212         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2214 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
2216         Remove URL syntax.
2218         * net/tramp.el (tramp-syntax, tramp-prefix-format)
2219         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2220         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2221         (tramp-postfix-host-format, tramp-file-name-regexp)
2222         (tramp-completion-file-name-regexp)
2223         (tramp-completion-dissect-file-name)
2224         (tramp-handle-substitute-in-file-name): Remove 'url case.
2225         (tramp-file-name-regexp-url)
2226         (tramp-completion-file-name-regexp-url): Remove constants.
2228 2013-09-06  Glenn Morris  <rgm@gnu.org>
2230         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
2232 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
2234         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2235         keywords" below "here-doc beginnings" (Bug#15270).
2237 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2239         * subr.el (pop): Use `car-safe'.
2240         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2241         to detect unused `pop' return value.
2243         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2244         var `block-regexp'.
2245         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2246         (python-fill-string): Remove unused var `marker'.
2247         (python-skeleton-add-menu-items): Remove unused var `items'.
2249         * international/mule-cmds.el: Require CL.
2250         (find-coding-systems-for-charsets): Avoid add-to-list.
2251         (sanitize-coding-system-list): New function, extracted from
2252         select-safe-coding-system-interactively.
2253         (select-safe-coding-system-interactively): Use it.
2254         (read-input-method-name): Accept symbols for `default'.
2256         * emacs-lisp/advice.el (defadvice): Add indent rule.
2258 2013-09-05  Daniel Hackney  <dan@haxney.org>
2260         * dired-x.el:
2261         * net/ange-ftp.el:
2262         * net/browse-url.el:
2263         * net/dbus.el:
2264         * net/eudc.el:
2265         * net/eudcb-ldap.el:
2266         * net/eww.el:
2267         * net/imap.el:
2268         * printing.el:
2269         * vc/ediff-diff.el:
2270         * vc/ediff-init.el:
2271         * vc/ediff-merg.el:
2272         * vc/ediff-mult.el:
2273         * vc/ediff-util.el:
2274         * vc/ediff-wind.el:
2275         * vc/ediff.el:
2276         * vc/emerge.el:
2277         * vc/pcvs.el:
2278         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2279         byte compiler.  Remove some unused let-bound variables.
2281 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2283         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2284         a "ref-cell", since it gets better optimized (bug#14883).
2286 2013-09-05  Glenn Morris  <rgm@gnu.org>
2288         * progmodes/cc-awk.el (c-forward-sws): Declare.
2290 2013-09-04  Glenn Morris  <rgm@gnu.org>
2292         * generic-x.el [rul-generic-mode]: Require cc-mode.
2293         (c++-mode-syntax-table): Declare.
2294         (rul-generic-mode-syntax-table): Init in the defvar.
2296 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2298         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2299         (vc-do-command, vc-set-async-update):
2300         * vc/vc-mtn.el (vc-mtn-dir-status):
2301         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2302         (vc-hg-pull, vc-hg-merge-branch):
2303         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2304         (vc-git-merge-branch):
2305         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2306         (vc-cvs-dir-status-files):
2307         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2308         (vc-bzr-dir-status-files):
2309         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2310         * vc/vc-annotate.el: Use lexical-binding.
2311         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2312         (vc-sentinel-movepoint): Declare.
2313         (vc-annotate): Don't use `goto-line'.
2314         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2315         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2316         (vc-sentinel-movepoint): Declare.
2317         * vc/vc-svn.el: Use lexical-binding.
2318         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2319         * vc/vc-sccs.el:
2320         * vc/vc-rcs.el: Use lexical-binding.
2322         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2323         `deleted'.  Don't drop errors silently.
2325         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2327 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
2329         * vc/vc.el (vc-ignore): Rewrite.
2330         (vc-default-ignore): New function.
2331         (vc-default-ignore-completion-table): Use find-ignore-file.
2333         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2334         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2335         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2336         Remove.  Most code moved to vc.el.
2338 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2340         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2341         * net/tramp-smb.el (tramp-smb-get-file-entries):
2342         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2343         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2345         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2346         Update call to it.
2347         (eww-change-select): Remove unused var `properties'.
2348         (eww-make-unique-file-name): Remove unused var `base'.
2350         * finder.el (finder-compile-keywords): Don't mess with windows.
2352         * calculator.el (calculator-funcall): Fix typo in last change.
2354         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2356         * emacs-lisp/package.el (package-activate-1): Don't let a missing
2357         <pkg>-autoloads.el file stop us.
2359         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2360         warnings, and factor out common code.
2362 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
2364         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2365         two-character operators and whether the character preceding them
2366         changes their meaning (Bug#15208).
2368 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2370         Format code sent to Python shell for robustness.
2371         * progmodes/python.el (python-shell-buffer-substring):
2372         New function.
2373         (python-shell-send-region, python-shell-send-buffer): Use it.
2375 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
2377         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2378         * net/tramp.el (tramp-user-error): ... here.
2379         (tramp-find-method, tramp-check-proper-host)
2380         (tramp-dissect-file-name, tramp-debug-message)
2381         (tramp-handle-shell-command):
2382         * net/tramp-adb.el (tramp-adb-handle-shell-command):
2383         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2385         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2387 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
2389         * avoid.el (mouse-avoidance-point-position)
2390         (mouse-avoidance-too-close-p): Handle case where posn-at-point
2391         returns nil.
2393 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2395         * progmodes/python.el (python-shell-completion-get-completions):
2396         Drop use of deleted `comint-last-prompt-overlay'.
2397         (python-nav-if-name-main): New command.
2399 2013-09-01  Glenn Morris  <rgm@gnu.org>
2401         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2402         Avoid leading space in $wins.  Otherwise the sed command used by
2403         eg compile-main ends up containing "/*.el".  (Bug#15170)
2405         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
2407 2013-08-30  Glenn Morris  <rgm@gnu.org>
2409         * emacs-lisp/bytecomp.el (byte-recompile-directory):
2410         Fix is-this-a-directory logic.  (Bug#15220)
2412 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2414         * textmodes/css-mode.el: Use SMIE.
2415         (css-smie-grammar): New var.
2416         (css-smie--forward-token, css-smie--backward-token)
2417         (css-smie-rules): New functions.
2418         (css-mode): Use them.
2419         (css-navigation-syntax-table): Remove var.
2420         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2421         (css-indent-calculate, css-indent-line): Remove functions.
2423         Misc changes to reduce use of `(lambda...); and other cleanups.
2424         * cus-edit.el: Use lexical-binding.
2425         (customize-push-and-save, customize-apropos)
2426         (custom-buffer-create-internal): Use closures.
2427         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2428         * progmodes/ada-xref.el: Use setq.
2429         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2430         * dframe.el: Use lexical-binding.
2431         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
2432         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2433         * descr-text.el: Use lexical-binding.
2434         (describe-text-widget, describe-text-sexp, describe-property-list):
2435         Use closures.
2436         * comint.el (comint-history-isearch-push-state): Use a closure.
2437         * calculator.el: Use lexical-binding.
2438         (calculator-number-to-string): Make it work with lexical-binding.
2439         (calculator-funcall): Same and use cl-letf.
2441         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2442         (lisp--company-doc-string, lisp--company-location): New functions.
2443         (lisp-completion-at-point): Use them to improve Company support.
2445         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2446         params of lambda expressions.
2447         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2448         (ruby-smie--opening-pipe-p): New function.
2449         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2450         symbols and matched |...| for formal params.
2451         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2452         from being treated as hanging.  Handle "rescue".
2454 2013-08-29  Glenn Morris  <rgm@gnu.org>
2456         * progmodes/cc-engine.el (c-pull-open-brace):
2457         Move definition before use.
2459 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2461         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2462         are immutable.  Don't use `unsafe' any more.
2463         (cl--defsubst-expand): Don't substitute at the same time as keeping
2464         a residual unused let-binding.  Don't use `unsafe' any more.
2466 2013-08-29  Glenn Morris  <rgm@gnu.org>
2468         * calendar/cal-china.el (calendar-chinese-year-cache):
2469         Recenter on 2015.
2471         * nxml/nxml-util.el (nxml-debug-clear-inside):
2472         Use cl-loop rather than loop.
2474         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2476         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2478 2013-08-28  Glenn Morris  <rgm@gnu.org>
2480         * progmodes/antlr-mode.el: No need to require cc-mode twice.
2482         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2484         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2486 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2488         * simple.el (repeat-complex-command--called-interactively-skip):
2489         New function.
2490         (repeat-complex-command): Use it (bug#14136).
2492         * progmodes/cc-mode.el: Minor cleanup of var declarations.
2493         (c-define-abbrev-table): Add `doc' argument.
2494         (c-mode-abbrev-table, c++-mode-abbrev-table)
2495         (objc-mode-abbrev-table, java-mode-abbrev-table)
2496         (idl-mode-abbrev-table, pike-mode-abbrev-table)
2497         (awk-mode-abbrev-table): Use it.
2498         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2499         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2500         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2501         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2502         Move initialization into the declaration; and remove any
2503         autoload cookie.
2505         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2506         and dynamic let binding.
2508         * vc/smerge-mode.el: Remove redundant :group args.
2510         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2511         to load-path.
2513 2013-08-28  Juri Linkov  <juri@jurta.org>
2515         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2516         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2517         (isearch-other-meta-char): Handle an undefined shifted printing
2518         character by downshifting it.  (Bug#15200)
2520 2013-08-28  Juri Linkov  <juri@jurta.org>
2522         * isearch.el (isearch-search): Change regexp error message for
2523         non-regexp searches.  (Bug#15166)
2525 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
2527         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2528         for portability to hosts where /bin/sh has problems.
2530 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2532         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2534 2013-08-27  Juri Linkov  <juri@jurta.org>
2536         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2537         in the keyboard macro.  (Bug#15126)
2539 2013-08-27  Juri Linkov  <juri@jurta.org>
2541         * isearch.el (isearch-quote-char): Comment out converting unibyte
2542         to multibyte, thus syncing with its `quoted-insert' counterpart.
2543         (Bug#15166)
2545 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
2547         * window.el (display-buffer-use-some-window): Add missing
2548         argument in call of get-largest-window (Bug#15185).
2549         Reported by Stephen Leake.
2551 2013-08-27  Glenn Morris  <rgm@gnu.org>
2553         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2555 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2557         * progmodes/python.el (python-font-lock-keywords): Don't return nil
2558         from a matcher-function unless there's no more matches (bug#15161).
2560 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
2562         * minibuffer.el: Revert change from 2013-08-20.
2564         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2565         with text property `tramp-default', if appropriate.
2566         (tramp-check-proper-host): New defun.
2567         (tramp-dissect-file-name): Do not check hostname.  Revert change
2568         of 2013-03-18.
2569         (tramp-backtrace): Make VEC-OR-PROC optional.
2571         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2572         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2573         * net/tramp-sh.el (tramp-maybe-open-connection):
2574         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2575         Apply `tramp-check-proper-host'.
2577 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
2579         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2580         lambda expression in order to have `describe-variable' display it.
2582 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
2584         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2585         BUF can be optional.  (Bug#15186)
2587 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
2589         * progmodes/flymake.el (flymake-get-real-file-name-function):
2590         Fix broken customization.  (Bug#15184)
2592 2013-08-25  Alan Mackenzie  <acm@muc.de>
2594         Improve indentation of bracelists defined by macros (without "=").
2596         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2597         expansion begins with "{", regard it as bracelist when it doesn't
2598         contain a ";".
2600         Parse C++ inher-intro when there's a template split over 2 lines.
2602         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2603         rigorously the search for "class" etc. followed by ":".
2605         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2606         random languages a regexp which never matches rather than nil.
2608         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2610         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2611         (c-awk-regexp-one-line-possibly-open-char-list-re)
2612         (c-awk-one-line-possibly-open-regexp-re)
2613         (c-awk-one-line-non-syn-ws*-re): Remove.
2614         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2615         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2616         (c-awk-space*-unclosed-regexp-/-re): New constants.
2617         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2618         aren't regexp delimiters.
2620         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2621         handling for a rare situation in AWK Mode involving unterminated
2622         strings/regexps.
2624 2013-08-23  Glenn Morris  <rgm@gnu.org>
2626         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2628         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2630         * files.el (create-file-buffer): If the result would begin with
2631         spaces, prepend a "|" instead of removing them.  (Bug#15162)
2633 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2635         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2636         text-properties (bug#15155).
2638         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2639         exist any more.
2640         (calc-keypad-redraw): Remove unused var `pad'.
2641         (calc-keypad-press): Remove unused var `menu'.
2643 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
2645         * window.el (display-buffer-pop-up-frame):
2646         Call pop-up-frame-function with BUFFER current so `make-frame' will
2647         use it as the new frame's buffer (Bug#15133).
2649 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2651         * calendar/timeclock.el: Minor cleanups.
2652         (timeclock-ask-before-exiting, timeclock-use-display-time):
2653         Use `symbol'.
2654         (timeclock-modeline-display): Define as alias before the
2655         actual definition.
2656         (timeclock-mode-line-display): Use define-minor-mode.
2657         (timeclock-day-list-template): Make it a function, add an argument.
2658         (timeclock-day-list-required, timeclock-day-list-length)
2659         (timeclock-day-list-debt, timeclock-day-list-span)
2660         (timeclock-day-list-break): Adjust calls accordingly.
2662 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2664         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2665         Use read--expression so that completion works again.
2667 2013-08-21  Sam Steingold  <sds@gnu.org>
2669         Add rudimentary inferior shell interaction
2670         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2671         (sh-set-shell): Reset it.
2672         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2673         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2675 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2677         * align.el: Use lexical-binding.
2678         (align-region): Simplify accordingly.
2680 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
2682         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2684         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2685         `non-essential' up.
2687 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
2689         * net/tramp.el:
2690         * net/tramp-adb.el:
2691         * net/tramp-cmds.el:
2692         * net/tramp-ftp.el:
2693         * net/tramp-gvfs.el:
2694         * net/tramp-gw.el:
2695         * net/tramp-sh.el: Don't wrap external variable declarations by
2696         `eval-when-compile'.
2698 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2700         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2701         now that Emacs supports ImageMagick animations.
2703 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
2705         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2706         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2708 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
2710         * window.el (mouse-autoselect-window-select): Do autoselect when
2711         mouse pointer is on margin.
2713 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
2715         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
2717 2013-08-16  Glenn Morris  <rgm@gnu.org>
2719         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2720         Handle "Remote Directory" response of some clients.  (Bug#15058)
2722         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2723         Tweak warning.  (Bug#14926)
2725         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2726         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
2728         * image-mode.el (image-mode-map): Add menu items to reverse,
2729         increase, decrease, reset animation speed.
2730         (image--set-speed, image-increase-speed, image-decrease-speed)
2731         (image-reverse-speed, image-reset-speed): New functions.
2732         (image-mode-map): Add bindings for speed commands.
2734         * image.el (image-animate-get-speed, image-animate-set-speed):
2735         New functions.
2736         (image-animate-timeout): Respect image :speed property.
2738 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2740         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2741         previous line (bug#15101).
2742         (debugger-eval-expression, debugger-record-expression):
2743         Use read--expression (bug#15102).
2745 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
2747         Remove byte compiler warnings, visible when compiling with
2748         `byte-compile-force-lexical-warnings' set to t.
2750         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2751         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2752         (tramp-handle-unhandled-file-name-directory)
2753         (tramp-handle-file-notify-add-watch, tramp-action-login)
2754         (tramp-action-succeed, tramp-action-permission-denied)
2755         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2756         arguments with "_".
2758         * net/tramp-adb.el (tramp-adb-parse-device-names)
2759         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2760         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2761         (tramp-adb-handle-file-truename): Remove unused arguments.
2763         * net/tramp-cache.el (tramp-flush-directory-property)
2764         (tramp-flush-connection-property, tramp-list-connections)
2765         (tramp-parse-connection-properties): Prefix unused arguments with "_".
2767         * net/tramp-compat.el (tramp-compat-make-temp-file):
2768         Rename FILENAME to F.
2770         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2771         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2772         (tramp-zeroconf-parse-workstation-device-names)
2773         (tramp-zeroconf-parse-webdav-device-names)
2774         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2776         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2777         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2779         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2780         arguments.
2781         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2782         (tramp-sh-handle-insert-file-contents-literally)
2783         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2784         with "_".
2785         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2786         Remove unused variables.
2788         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2789         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2790         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2792         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2793         Make them a defconst.
2794         (tramp-uuencode-region): Remove unused variable.
2796 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
2798         * frameset.el (frameset--prop-setter): New function.
2799         (frameset-prop): Add gv-setter declaration.
2800         (frameset-filter-minibuffer): Deal with the case that the minibuffer
2801         parameter was already set in FILTERED.  Doc fix.
2802         (frameset--record-minibuffer-relationships): Allow saving a
2803         minibufferless frame without its corresponding minibuffer frame.
2804         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2805         frame, if the frame id matches.
2806         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2807         frames before orphaned ones.
2808         (frameset-restore): Warn about orphaned windows, instead of error out.
2810 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
2812         * window.el (window-make-atom): Don't overwrite parameter
2813         already present.
2814         (display-buffer-in-atom-window): Handle special case where we
2815         split an already atomic window.
2816         (window--major-non-side-window, display-buffer-in-side-window)
2817         (window--side-check): Ignore minibuffer window when walking
2818         window tree.
2819         (window-deletable-p): Return 'frame only if no other frame uses
2820         our minibuffer window.
2821         (record-window-buffer): Run buffer-list-update-hook.
2822         (split-window): Make sure window--check-frame won't destroy an
2823         existing atomic window in case the new window gets nested
2824         inside.
2825         (display-buffer-at-bottom): Ignore minibuffer window when
2826         walking window tree.  Don't split a side window.
2827         (pop-to-buffer): Don't set-buffer here, the select-window call
2828         should do that.
2829         (mouse-autoselect-window-select): Autoselect only if we are in the
2830         text portion of the window.
2832 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2834         * net/shr.el (shr-parse-image-data): New function to grab both the
2835         data itself and the Content-Type.
2836         (shr-put-image): Use it.
2838         * net/eww.el (eww-display-image): Ditto.
2840         * image.el (image-content-type-suffixes): New variable.
2842 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2844         * progmodes/python.el (python-imenu--build-tree)
2845         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2847 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
2849         * simple.el (backward-word): Mention the optional argument.
2851 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2853         * frameset.el (frameset--make): Rename constructor from make-frameset.
2854         (frameset-p, frameset-valid-p): Don't autoload.
2855         (frameset-valid-p): Use normal accessors.
2857 2013-08-13  Glenn Morris  <rgm@gnu.org>
2859         * progmodes/compile.el (compile-command): Tweak example in doc.
2860         * obsolete/scribe.el (scribe-mode):
2861         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
2863         * mail/feedmail.el (feedmail-confirm-outgoing)
2864         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2866         * cus-start.el (truncate-partial-width-windows): Fix type.
2868         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2870         * net/shr.el (shr-table-horizontal-line): Fix custom type.
2872 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2874         * emacs-lisp/timer.el (timer--time-setter): New function.
2875         (timer--time): Use it as gv-setter.
2877         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2878         setter is not a symbol.
2880 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
2882         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2883         if sending fails.  This makes debugging easier.
2885 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
2887         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2888         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2889         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2891 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
2893         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2895 2013-08-12  Glenn Morris  <rgm@gnu.org>
2897         * format.el (format-annotate-function):
2898         Handle read-only text properties in the source.  (Bug#14887)
2900 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2902         * net/eww.el (eww-display-html): Ignore coding system errors.
2903         One web site uses "utf-8lias" as the coding system.
2905 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
2907         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2909 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
2911         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2912         (tutorial--detailed-help): Remove unused local variables.
2913         (tutorial--save-tutorial-to): Use ignore-errors.
2914         (help-with-tutorial): Use looking-at-p.
2916         * view.el (view-buffer-other-window, view-buffer-other-frame):
2917         Mark unused arguments.
2919         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2920         (woman-select-symbol-fonts, woman, woman-find-file)
2921         (woman-insert-file-contents, woman-non-underline-faces):
2922         Use string-match-p.
2923         (woman1-unquote): Move declaration.
2925         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2926         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
2927         argument.  Remove unused local variable.
2928         (xml-parse-elem-type): Use string-match-p.
2929         (xml-substitute-numeric-entities): Use ignore-errors.
2931         * calculator.el (calculator): Mark unused argument.
2932         (calculator-paste, calculator-quit, calculator-integer-p):
2933         Use ignore-errors.
2934         (calculator-string-to-number, calculator-decimal, calculator-exp)
2935         (calculator-op-or-exp): Use string-match-p.
2937         * dired.el (dired-buffer-more-recently-used-p): Declare.
2938         (dired-insert-set-properties, dired-insert-old-subdirs):
2939         Use ignore-errors.
2941         * dired-aux.el (dired-compress): Use ignore-errors.
2942         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2943         (dired-do-async-shell-command, dired-do-shell-command)
2944         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2945         (dired-insert-subdir-validate): Use string-match-p.
2946         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2947         (dired-add-entry): Use string-match-p, looking-at-p.
2948         (dired-insert-subdir-newpos): Remove unused local variable.
2950         * filenotify.el (file-notify-callback): Remove unused local variable.
2952         * filesets.el (filesets-error): Mark unused argument.
2953         (filesets-which-command-p, filesets-filter-dir-names)
2954         (filesets-directory-files, filesets-get-external-viewer)
2955         (filesets-ingroup-get-data): Use string-match-p.
2957         * find-file.el (ff-other-file-name, ff-other-file-name)
2958         (ff-find-the-other-file, ff-cc-hh-converter):
2959         Remove unused local variables.
2960         (ff-get-file-name): Use string-match-p.
2961         (ff-all-dirs-under): Use ignore-errors.
2963         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2964         (follow-select-if-visible): Remove unused local variable.
2966         * forms.el (read-file-filter): Move declaration.
2967         (forms--make-format, forms--make-parser, forms-insert-record):
2968         Quote function with #'.
2969         (forms--update): Use string-match-p.  Quote function with #'.
2971         * help-mode.el (help-dir-local-var-def): Mark unused argument.
2972         (help-make-xrefs): Use looking-at-p.
2973         (help-xref-on-pp): Use looking-at-p, ignore-errors.
2975         * ibuffer.el (ibuffer-ext-visible-p): Declare.
2976         (ibuffer-confirm-operation-on): Use string-match-p.
2978         * msb.el (msb-item-handler, msb-dired-item-handler):
2979         Mark unused arguments.
2981         * ses.el (ses-decode-cell-symbol)
2982         (ses-kill-override): Remove unused local variable.
2983         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2984         (ses-load): Use ignore-errors, looking-at-p.
2985         (ses-jump-safe): Use ignore-errors.
2986         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2988         * tabify.el (untabify, tabify): Mark unused arguments.
2990         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2991         Mark unused argument.
2992         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2993         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2995         * emacs-lisp/timer.el (timer--time): Define setter with
2996         gv-define-setter to avoid deprecation warning.
2998         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2999         (*record-cmpl-statistics-p*): Remove (was commented out).
3000         (cmpl-statistics-block): Remove (body was commented out).
3001         All callers changed.
3002         (add-completions-from-buffer, load-completions-from-file):
3003         Remove unused variables.
3005 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
3007         * filecache.el (file-cache-delete-file-list):
3008         Print message only when told so.
3009         (file-cache-files-matching): Use #' in mapconcat argument.
3011         * ffap.el (ffap-url-at-point): Fix reference to variable
3012         thing-at-point-default-mail-uri-scheme.
3014 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3016         * subr.el (define-error): New function.
3017         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3018         error-file-not-found and define with define-error.
3019         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3020         and define with define-error.
3021         * userlock.el (file-locked, file-supersession):
3022         * simple.el (mark-inactive):
3023         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3024         * progmodes/ada-mode.el (ada-mode-errors):
3025         * play/life.el (life-extinct):
3026         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3027         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3028         * nxml/rng-util.el (rng-error):
3029         * nxml/rng-uri.el (rng-uri-error):
3030         * nxml/rng-match.el (rng-compile-error):
3031         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3032         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3033         * nxml/nxml-rap.el (nxml-scan-error):
3034         * nxml/nxml-outln.el (nxml-outline-error):
3035         * net/soap-client.el (soap-error):
3036         * net/gnutls.el (gnutls-error):
3037         * net/ange-ftp.el (ftp-error):
3038         * mpc.el (mpc-proc-error):
3039         * json.el (json-error, json-readtable-error, json-unknown-keyword)
3040         (json-number-format, json-string-escape, json-string-format)
3041         (json-key-format, json-object-format):
3042         * jka-compr.el (compression-error):
3043         * international/quail.el (quail-error):
3044         * international/kkc.el (kkc-error):
3045         * emacs-lisp/ert.el (ert-test-failed):
3046         * calc/calc.el (calc-error, inexact-result, math-overflow)
3047         (math-underflow):
3048         * bookmark.el (bookmark-error-no-filename):
3049         * epg.el (epg-error): Define with define-error.
3051         * time.el (display-time-event-handler)
3052         (display-time-next-load-average): Don't call sit-for since it seems
3053         unnecessary (bug#15045).
3055         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3056         Use #' instead of ' to quote functions.
3057         (checkdoc-output-mode): Use setq-local.
3058         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3059         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3060         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3061         (checkdoc-ispell, checkdoc-ispell-current-buffer)
3062         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3063         (checkdoc-ispell-message-text, checkdoc-ispell-start)
3064         (checkdoc-ispell-continue, checkdoc-ispell-comments)
3065         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3067         * ido.el (ido-completion-help): Fix up compiler warning.
3069 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
3071         * frameset.el (frameset-p): Add autoload cookie.
3072         (frameset--jump-to-register): New function, based on code moved from
3073         register.el.
3074         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
3076         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3077         (frameset-restore, frameset-save, frameset-session-filter-alist):
3078         Remove declarations.
3079         (register-alist): Doc fix.
3080         (frameset-to-register): Move to frameset.el.
3081         (jump-to-register, describe-register-1): Remove frameset-specific code.
3083 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3085         * allout-widgets.el (allout-widgets-pre-command-business)
3086         (allout-widgets-post-command-business)
3087         (allout-widgets-after-change-handler)
3088         (allout-decorate-item-and-context, allout-set-boundary-marker)
3089         (allout-body-modification-handler)
3090         (allout-graphics-modification-handler): Mark ignored arguments.
3091         (allout-widgets-post-command-business)
3092         (allout-widgets-exposure-change-processor)
3093         (allout-widgets-exposure-undo-processor)
3094         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3095         (allout-parse-item-at-point, allout-decorate-item-guides)
3096         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3097         * allout.el (epa-passphrase-callback-function): Declare.
3098         (allout-overlay-insert-in-front-handler)
3099         (allout-overlay-interior-modification-handler)
3100         (allout-isearch-end-handler, allout-chart-siblings)
3101         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3102         (allout-yank-processing, allout-process-exposed)
3103         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3104         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3105         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3106         (lisp-indent-defform): Mark ignored arguments.
3107         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
3108         (calculate-lisp-indent): Remove unused variables.
3109         * international/characters.el (indian-2-column, arabic-2-column)
3110         (tibetan): Mark ignored arguments.
3111         (use-cjk-char-width-table): Mark ignored arguments.
3112         Remove unused variables.
3113         * international/fontset.el (build-default-fontset-data)
3114         (x-compose-font-name, create-fontset-from-fontset-spec):
3115         Mark ignored arguments.
3116         (fontset-plain-name): Remove unused variables.
3117         * international/mule.el (charset-id, charset-bytes, generic-char-p)
3118         (keyboard-coding-system): Mark ignored arguments.
3119         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
3120         * help.el (resize-temp-buffer-window):
3121         * window.el (display-buffer-in-major-side-window)
3122         (display-buffer-in-side-window, display-buffer-in-previous-window):
3123         Remove unused variables.
3124         * isearch.el (isearch-forward-symbol):
3125         * version.el (emacs-bzr-version-bzr):
3126         * international/mule-cmds.el (current-language-environment):
3127         * term/common-win.el (x-handle-iconic, x-handle-geometry)
3128         (x-handle-display):
3129         * term/pc-win.el (x-list-fonts, x-display-planes)
3130         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3131         (x-server-version, x-display-screens, x-display-mm-height)
3132         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3133         (x-selection-owner-p, x-own-selection-internal)
3134         (x-disown-selection-internal, x-get-selection-internal)
3135         (msdos-initialize-window-system):
3136         * term/tty-colors.el (tty-color-alist, tty-color-clear):
3137         * term/x-win.el (x-handle-no-bitmap-icon):
3138         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3139         (vc-default-find-file-hook, vc-default-extra-menu):
3140         Mark ignored arguments.
3142 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3144         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3145         break-condition in the context of the debugged code (bug#12685).
3147 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
3149         * comint.el:
3150         Do not use an overlay to highlight the last prompt.  (Bug#14744)
3151         (comint-mode): Make comint-last-prompt buffer local.
3152         (comint-last-prompt): New variable.
3153         (comint-last-prompt-overlay): Remove.  Superseded by
3154         comint-last-prompt.
3155         (comint-snapshot-last-prompt, comint-output-filter):
3156         Use comint-last-prompt.
3158 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3160         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
3161         (frameset-save): Check validity of the resulting frameset.
3163 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
3165         * ido.el (ido-record-command): Add doc string.
3167 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3169         * frameset.el (frameset): Do not disable creation of the default
3170         frameset-p predicate.  Doc fix.
3171         (frameset-valid-p): New function, copied from the old predicate-p.
3172         Add additional checks.
3173         (frameset-restore): Check with frameset-valid-p.
3174         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3175         (frameset-name, frameset-description, frameset-properties)
3176         (frameset-states): Add docstring.
3177         (frameset-session-filter-alist, frameset-persistent-filter-alist)
3178         (frameset-filter-alist): Doc fixes.
3180 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3182         * frameset.el (frameset-p, frameset-prop): Doc fixes.
3184 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3186         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3187         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3188         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3189         (byte-compile-normal-call): Remove obsolescence check.
3191 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3193         * frameset.el (frameset-restore): Doc fix.
3195         * register.el (frameset-frame-id, frameset-frame-with-id)
3196         (frameset-p, frameset-restore, frameset-save): Declare.
3197         (register-alist): Document framesets.
3198         (frameset-session-filter-alist): Declare.
3199         (frameset-to-register): New function.
3200         (jump-to-register): Implement jumping to framesets.  Doc fix.
3201         (describe-register-1): Describe framesets.
3203         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3205 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
3207         * desktop.el (desktop-save-frameset): Use new frameset-save args.
3208         Use lexical-binding.
3210         * frameset.el (frameset): Use type vector, not list (incompatible
3211         change).  Do not declare a new constructor, use the default one.
3212         Upgrade suggested properties `app', `name' and `desc' to slots `app',
3213         `name' and `description', respectively, and add read-only slot
3214         `timestamp'.  Doc fixes.
3215         (frameset-copy, frameset-persistent-filter-alist)
3216         (frameset-filter-alist, frameset-switch-to-gui-p)
3217         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3218         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3219         (frameset-filter-iconified, frameset-keep-original-display-p):
3220         Doc fixes.
3221         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3222         Rename from frameset-filter-(save|restore)-param.  All callers changed.
3223         Doc fix.
3224         (frameset-p): Adapt to change to vector and be more thorough.
3225         Change arg name to OBJECT.  Doc fix.
3226         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
3227         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3228         All callers changed.
3229         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3230         All callers changed.
3231         (frameset--record-minibuffer-relationships): Rename from
3232         frameset--process-minibuffer-frames.  All callers changed.
3233         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3234         Use new default constructor (again).  Doc fix.
3235         (frameset--find-frame-if): Rename from `frameset--find-frame.
3236         All callers changed.
3237         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3238         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3239         Doc fix.
3240         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3241         PARAMETERS and WINDOW-STATE, respectively.
3242         (frameset-restore): Add new keyword argument PREDICATE.
3243         Reset frameset--target-display to nil.  Doc fix.
3245 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3247         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3248         (bat-mode): Use it.
3249         (bat-mode-syntax-table): Mark \n as end-of-comment.
3250         (bat-font-lock-keywords): Remove comment rule.
3252         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
3253         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
3255         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3256         (byte-compile-callargs-warn): Use `push'.
3257         (byte-compile-arglist-warn): Ignore higher-order "calls".
3258         (byte-compile-file-form-autoload): Use `pcase'.
3259         (byte-compile-function-form): If quoting a symbol, check that it exists.
3261 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
3263         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3264         and add a few popular commands found in batch files.
3265         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3266         (dos-mode): Doc fixes.
3268 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3270         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3271         (dos-mode): Use setq-local.  Add space after "rem".
3272         (dos-mode-syntax-table): Don't use "w" for symbol chars.
3273         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3275 2013-08-07  Arni Magnusson  <arnima@hafro.is>
3277         * progmodes/dos.el: New file.
3278         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3279         dos-mode.
3281 2013-08-06  Glenn Morris  <rgm@gnu.org>
3283         * calendar/calendar.el: Add new faces, and day-header-array.
3284         (calendar-weekday-header, calendar-weekend-header)
3285         (calendar-month-header): New faces.
3286         (calendar-day-header-construct): New function.
3287         (calendar-day-header-width): Also :set calendar-day-header-array.
3288         (calendar-american-month-header, calendar-european-month-header)
3289         (calendar-iso-month-header): Use calendar- faces.
3290         (calendar-generate-month):
3291         Use calendar-day-header-array for day headers; apply faces to them.
3292         (calendar-mode): Check calendar-font-lock-keywords non-nil.
3293         (calendar-abbrev-construct): Add optional maxlen argument.
3294         (calendar-day-name-array): Doc fix.
3295         (calendar-day-name-array, calendar-abbrev-length)
3296         (calendar-day-abbrev-array):
3297         Also :set calendar-day-header-array, and maybe redraw.
3298         (calendar-day-header-array): New option.  (Bug#15007)
3299         (calendar-font-lock-keywords): Set to nil and make obsolete.
3300         (calendar-day-name): Add option to use header array.
3302 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3304         * net/shr.el (shr-render-td): Remove debugging.
3305         (shr-render-td): Make width computation consistent by defaulting
3306         all zero-width columns to 10 characters.  This may not be optimal,
3307         but it's at least consistent.
3308         (shr-make-table-1): Redo last change to fix the real problem in
3309         colspan handling.
3311 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
3313         * files.el (cache-long-line-scans):
3314         Make obsolete alias to `cache-long-scans'.
3316 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
3318         * frameset.el (frameset, frameset-filter-alist)
3319         (frameset-filter-params, frameset-save, frameset--reuse-frame)
3320         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3321         (frameset-compute-pos): Rename from frameset--compute-pos,
3322         and add docstring.
3323         (frameset-move-onscreen): Use frameset-compute-pos.
3324         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3326         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3327         Fix typos in docstrings.
3329 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
3331         * frame.el (get-other-frame): Tiny cleanup.
3333 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
3335         * vc/vc.el (vc-default-ignore-completion-table):
3336         Silence byte-compiler warning.
3338         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3339         slot , which can indeed be nil.
3340         (frameset-live-filter-alist, frameset-persistent-filter-alist):
3341         Move entry for `left' from persistent to live filter alist.
3342         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3343         Doc fixes.
3344         (frameset-filter-params): When restoring a frame, copy items added to
3345         `filtered', to avoid unwittingly modifying the original parameters.
3346         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
3347         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3349         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3350         to use looking-at-p instead of looking-at.  (Bug#15028)
3352 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3354         Revert introduction of isearch-filter-predicates (bug#14714).
3355         Rely on add-function instead.
3356         * isearch.el (isearch-filter-predicates): Rename it back to
3357         isearch-filter-predicate.
3358         (isearch-message-prefix): Use advice-function-mapc and advice
3359         properties to get the isearch-message-prefix.
3360         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3361         instead of run-hook-with-args-until-failure.
3362         (isearch-filter-visible): Not obsolete any more.
3363         * loadup.el: Preload nadvice.
3364         * replace.el (perform-replace): Revert to funcall
3365         instead of run-hook-with-args-until-failure.
3366         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3367         * dired-aux.el (dired-isearch-filenames-mode): Rename from
3368         dired-isearch-filenames-toggle; make it into a proper minor mode.
3369         Use add/remove-function.
3370         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3371         Call the minor-mode rather than add/remove-hook.
3372         (dired-isearch-filter-filenames):
3373         Remove isearch-message-prefix property.
3374         * info.el (Info--search-loop): New function, extracted from Info-search.
3375         Funcall isearch-filter-predicate instead of
3376         run-hook-with-args-until-failure isearch-filter-predicates.
3377         (Info-search): Use it.
3378         (Info-mode): Use isearch-filter-predicate instead of
3379         isearch-filter-predicates.
3381 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
3383         Do not call to `selected-window' where it is assumed by default.
3384         Affected functions are `window-minibuffer-p', `window-dedicated-p',
3385         `window-hscroll', `window-width', `window-height', `window-buffer',
3386         `window-frame', `window-start', `window-point', `next-window'
3387         and `window-display-table'.
3388         * abbrev.el (abbrev--default-expand):
3389         * bs.el (bs--show-with-configuration):
3390         * buff-menu.el (Buffer-menu-mouse-select):
3391         * calc/calc.el (calc):
3392         * calendar/calendar.el (calendar-generate-window):
3393         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3394         (diary-make-entry):
3395         * comint.el (send-invisible, comint-dynamic-complete-filename)
3396         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3397         * completion.el (complete):
3398         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3399         * disp-table.el (describe-current-display-table):
3400         * doc-view.el (doc-view-insert-image):
3401         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3402         * ehelp.el (with-electric-help):
3403         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3404         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3405         * emacs-lisp/helper.el (Helper-help-scroller):
3406         * emulation/cua-base.el (cua--post-command-handler-1):
3407         * eshell/esh-mode.el (eshell-output-filter):
3408         * ffap.el (ffap-gnus-wrapper):
3409         * help-macro.el (make-help-screen):
3410         * hilit-chg.el (highlight-compare-buffers):
3411         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3412         * hl-line.el (global-hl-line-highlight):
3413         * icomplete.el (icomplete-simple-completing-p):
3414         * isearch.el (isearch-done):
3415         * jit-lock.el (jit-lock-stealth-fontify):
3416         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3417         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3418         * mpc.el (mpc-tagbrowser, mpc):
3419         * net/rcirc.el (rcirc-any-buffer):
3420         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3421         * play/landmark.el (landmark-max-width, landmark-max-height):
3422         * play/zone.el (zone):
3423         * progmodes/compile.el (compilation-goto-locus):
3424         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3425         * progmodes/etags.el (find-tag-other-window):
3426         * progmodes/fortran.el (fortran-column-ruler):
3427         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3428         * progmodes/verilog-mode.el (verilog-point-text):
3429         * reposition.el (reposition-window):
3430         * rot13.el (toggle-rot13-mode):
3431         * server.el (server-switch-buffer):
3432         * shell.el (shell-dynamic-complete-command)
3433         (shell-dynamic-complete-environment-variable):
3434         * simple.el (insert-buffer, set-selective-display)
3435         (delete-completion-window):
3436         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3437         (speedbar-recenter):
3438         * startup.el (fancy-splash-head):
3439         * textmodes/ispell.el (ispell-command-loop):
3440         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3441         * tutorial.el (help-with-tutorial):
3442         * vc/add-log.el (add-change-log-entry):
3443         * vc/compare-w.el (compare-windows):
3444         * vc/ediff-help.el (ediff-indent-help-message):
3445         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3446         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3447         (ediff-setup-control-frame):
3448         * vc/emerge.el (emerge-position-region):
3449         * vc/pcvs-util.el (cvs-bury-buffer):
3450         * window.el (walk-windows, mouse-autoselect-window-select):
3451         * winner.el (winner-set-conf, winner-undo): Related users changed.
3453 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
3455         * frameset.el (frameset--set-id): Doc fix.
3456         (frameset-frame-id, frameset-frame-id-equal-p)
3457         (frameset-locate-frame-id): New functions.
3458         (frameset--process-minibuffer-frames, frameset--reuse-frame)
3459         (frameset-restore): Use them.
3461 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
3463         Do not call to `selected-frame' where it is assumed by default.
3464         Affected functions are `raise-frame', `redraw-frame',
3465         `frame-first-window', `frame-terminal' and `delete-frame'.
3466         * calendar/appt.el (appt-disp-window):
3467         * epg.el (epg-wait-for-completion):
3468         * follow.el (follow-delete-other-windows-and-split)
3469         (follow-avoid-tail-recenter):
3470         * international/mule.el (set-terminal-coding-system):
3471         * mail/rmail.el (rmail-mail-return):
3472         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3473         * progmodes/f90.el (f90-add-imenu-menu):
3474         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3475         * server.el (server-switch-buffer):
3476         * simple.el (delete-completion-window):
3477         * talk.el (talk):
3478         * term/xterm.el (terminal-init-xterm-modify-other-keys)
3479         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3480         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3481         * vc/ediff.el (ediff-documentation): Related users changed.
3482         * frame.el (selected-terminal): Remove the leftover.
3484 2013-08-05  Glenn Morris  <rgm@gnu.org>
3486         * calendar/calendar.el (calendar-generate-month):
3487         Fix for calendar-column-width != 1 + calendar-day-digit-width.
3488         (calendar-generate-month, calendar-font-lock-keywords):
3489         Fix for calendar-day-header-width > length of any day name.
3491 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
3493         * desktop.el (desktop-clear): Use new name of sort predicate.
3495         * frameset.el (frameset): Add docstring.  Move :version property to its
3496         own `version' slot.
3497         (frameset-copy): Rename from copy-frameset.
3498         (frameset-p): Check more thoroughly.
3499         (frameset-prop): Do not check for :version, which is no longer a prop.
3500         (frameset-live-filter-alist, frameset-persistent-filter-alist):
3501         Use new :never value instead of t.
3502         (frameset-filter-alist): Expand and clarify docstring.
3503         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3504         (frameset-filter-minibuffer, frameset-filter-save-param)
3505         (frameset-filter-restore-param, frameset-filter-iconified):
3506         Add pointer to docstring of frameset-filter-alist.
3507         (frameset-filter-params): Rename filter values to be more meaningful:
3508         :never instead of t, and reverse the meanings of :save and :restore.
3509         (frameset--process-minibuffer-frames): Clarify error message.
3510         (frameset-save): Avoid unnecessary and confusing call to framep.
3511         Use new BOA constructor for framesets.
3512         (frameset--reuse-list): Doc fix.
3513         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
3514         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3515         (frameset-minibufferless-first-p): Doc fix.
3516         Rename from frameset-sort-frames-for-deletion.
3517         (frameset-restore): Doc fixes.  Use new function names.
3518         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3520 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
3522         * desktop.el (desktop-restore-forces-onscreen)
3523         (desktop-restore-reuses-frames): Document :keyword constant values.
3524         (desktop-filter-parameters-alist): Remove, now identical to
3525         frameset-filter-alist.
3526         (desktop--filter-tty*): Remove, moved to frameset.el.
3527         (desktop-save-frameset, desktop-restore-frameset):
3528         Do not pass :filters argument.
3530         * frameset.el (frameset-live-filter-alist)
3531         (frameset-persistent-filter-alist): New variables.
3532         (frameset-filter-alist): Use them.  Add autoload cookie.
3533         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3534         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3535         `frameset--id' (it's supposed to be internal to frameset.el).
3536         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
3537         (frameset--initial-params): New function.
3538         (frameset--get-frame): Use it.  Doc fix.
3539         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3540         Accept :all, not 'all.
3541         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3542         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
3543         with fbound symbols.  Fix frame id matching, and remove matching ids if
3544         the frame being restored is deleted.  Obey :delete.
3546 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3548         * subr.el (macrop): New function.
3549         (text-clone--maintaining): New var.
3550         (text-clone--maintain): Rename from text-clone-maintain.  Use it
3551         instead of inhibit-modification-hooks.
3553         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3554         a proxy, so as handle autoloads and redefinitions of the target.
3555         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3557         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3558         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
3559         (pcase--mutually-exclusive-p): New function.
3560         (pcase--split-consp): Use it.
3561         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
3562         mutually exclusive with the current predicate.
3564         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3565         (edebug-macrop): Remove.  Use `macrop' instead.
3566         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
3567         (ad-macro-p):
3568         * eshell/esh-cmd.el (eshell-macrop):
3569         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
3571 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3573         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3574         (advice-mapc): New function, using it.
3575         (advice-function-member-p): New function.
3576         (advice--normalize): Store the cdr in advice--saved-rewrite since
3577         that's the part that will be changed.
3578         (advice--symbol-function): New function.
3579         (advice-remove): Handle removal before the function is defined.
3580         Adjust to new advice--saved-rewrite.
3581         (advice-member-p): Use advice-function-member-p and
3582         advice--symbol-function.
3584 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
3586         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3587         (frameset-filter-minibuffer): Doc fix.
3588         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
3589         (frameset--set-id, frameset--process-minibuffer-frames)
3590         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3591         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3593         * desktop.el (desktop-clear): Only delete frames when called
3594         interactively and desktop-restore-frames is non-nil.  Doc fix.
3595         (desktop-read): Set desktop-saved-frameset to nil.
3597 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
3599         * vc/vc.el (vc-ignore): Rewrite.
3600         (vc-default-ignore-completion-table):
3601         (vc--read-lines):
3602         (vc--add-line, vc--remove-regexp): New functions.
3604         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3605         (vc-svn-ignore-completion-table): New function.
3607         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3608         (vc-hg-ignore-completion-table):
3609         (vc-hg-find-ignore-file): New functions.
3611         * vc/vc-git.el (vc-git-ignore): Rewrite.
3612         (vc-git-ignore-completion-table):
3613         (vc-git-find-ignore-file): New functions.
3615         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3617         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3618         (vc-bzr-ignore-completion-table):
3619         (vc-bzr-find-ignore-file): New functions.
3621 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
3623         * frameset.el (frameset-prop): New function and setter.
3624         (frameset-save): Do not modify frame list passed by the caller.
3626 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3628         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3630 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3632         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3633         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3635         * custom.el (custom-initialize-default, custom-initialize-set)
3636         (custom-initialize-reset, custom-initialize-changed): Affect the
3637         toplevel-default-value (bug#6275, bug#14586).
3638         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3639         for bug#6275.
3641 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
3643         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3644         Add cl-def* expressions.
3646         * frameset.el (frameset-filter-params): Fix order of arguments.
3648 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
3650         Move code related to saving frames to frameset.el.
3651         * desktop.el: Require frameset.
3652         (desktop-restore-frames): Doc fix.
3653         (desktop-restore-reuses-frames): Rename from
3654         desktop-restoring-reuses-frames.
3655         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3656         (desktop-clear): Clear frames too.
3657         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3658         (desktop--filter-tty*, desktop-save, desktop-read):
3659         Use frameset functions.
3660         (desktop-before-saving-frames-functions, desktop--filter-*-color)
3661         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3662         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3663         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3664         (desktop--process-minibuffer-frames, desktop-save-frames)
3665         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3666         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3667         (desktop--sort-states, desktop-restoring-frames-p)
3668         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
3669         (desktop-restoring-frameset-p, desktop-restore-frameset)
3670         (desktop--check-dont-save, desktop-save-frameset): New functions.
3671         (desktop--app-id): New constant.
3672         (desktop-first-buffer, desktop-buffer-ok-count)
3673         (desktop-buffer-fail-count): Move before first use.
3674         * frameset.el: New file.
3676 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3678         * files.el: Use lexical-binding.
3679         (dir-locals-read-from-file): Remove unused `err' variable.
3680         (hack-dir-local-variables--warned-coding): New var.
3681         (hack-dir-local-variables): Use it to avoid repeated warnings.
3682         (make-backup-file-name--default-function): New function.
3683         (make-backup-file-name-function): Use it as default.
3684         (buffer-stale--default-function): New function.
3685         (buffer-stale-function): Use it as default.
3686         (revert-buffer-insert-file-contents--default-function): New function.
3687         (revert-buffer-insert-file-contents-function): Use it as default.
3688         (insert-directory): Avoid add-to-list.
3690         * autorevert.el (auto-revert-handler): Simplify.
3691         Use buffer-stale--default-function.
3693 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
3695         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3697         * whitespace.el (whitespace-ensure-local-variables): New function.
3698         (whitespace-cleanup-region): Call it.
3699         (whitespace-turn-on): Call it.
3701 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
3703         Complete file name handlers.
3705         * net/tramp.el (tramp-handle-set-visited-file-modtime)
3706         (tramp-handle-verify-visited-file-modtime)
3707         (tramp-handle-file-notify-rm-watch): New functions.
3708         (tramp-call-process): Do not bind `default-directory'.
3710         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3711         Order alphabetically.
3712         [access-file, add-name-to-file, dired-call-process]:
3713         [dired-compress-file, file-acl, file-notify-rm-watch]:
3714         [file-ownership-preserved-p, file-selinux-context]:
3715         [make-directory-internal, make-symbolic-link, set-file-acl]:
3716         [set-file-selinux-context, set-visited-file-modtime]:
3717         [verify-visited-file-modtime]: Add handler.
3718         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3720         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3721         [file-notify-add-watch, file-notify-rm-watch]:
3722         [set-file-times, set-visited-file-modtime]:
3723         [verify-visited-file-modtime]: Add handler.
3724         (with-tramp-gvfs-error-message)
3725         (tramp-gvfs-handle-set-visited-file-modtime)
3726         (tramp-gvfs-fuse-file-name): Remove.
3727         (tramp-gvfs-handle-file-notify-add-watch)
3728         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3729         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3731         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3732         Order alphabetically.
3733         [file-notify-rm-watch ]: Use default Tramp handler.
3734         [executable-find]: Remove private handler.
3735         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3736         `default-directory'.
3737         (tramp-sh-handle-executable-find)
3738         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3739         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3740         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3741         Do not use `format' in `tramp-message'.
3743         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3744         [file-notify-rm-watch, set-visited-file-modtime]:
3745         [verify-visited-file-modtime]: Add handler.
3746         (tramp-smb-call-winexe): Do not bind `default-directory'.
3748 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
3750         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3752 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
3754         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3755         use it.
3756         (log-view-diff-changeset): Same.
3757         (log-view-diff-common): Call backend command `previous-revision'
3758         to find out the previous revision, in both cases.  Swap the
3759         variables `to' and `fr', so that `fr' usually refers to the
3760         earlier revision (Bug#14989).
3762 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
3764         * ibuf-ext.el (ibuffer-filter-by-filename):
3765         Make it work with dired buffers too.
3767 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
3769         * emacs-lisp/re-builder.el (reb-color-display-p):
3770         * files.el (save-buffers-kill-terminal):
3771         * net/browse-url.el (browse-url):
3772         * server.el (server-save-buffers-kill-terminal):
3773         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3774         Prefer nil to selected-frame for the first arg of frame-parameter.
3776 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
3778         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3780 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
3782         * minibuffer.el (completion--twq-all): Try and preserve each
3783         completion's case choice (bug#14907).
3785 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3787         * net/network-stream.el (open-network-stream): Mention the new
3788         :nogreeting parameter.
3789         (network-stream-open-starttls): Use the :nogreeting parameter
3790         (bug#14938).
3792         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3794         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3795         more natural than popping.
3797         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3798         (shr-urlify): Highlight under mouse.
3800 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
3802         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3804         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3806         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
3807         buffer for output.
3809         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
3810         point-min==1.  Fix search string.  Fix parentheses missing.
3812         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
3813         assume point-min==1.  Fix search string.  Fix parentheses missing.
3815         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3817         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
3818         buffer for output.
3820 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
3822         * frame.el (frame-notice-user-settings): Avoid inflooping when the
3823         initial frame is minibuffer-less.  (Bug#14841)
3825 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
3827         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3828         option.
3830         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3831         (tramp-maybe-open-connection): Use it.
3833 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
3835         * desktop.el (desktop--make-frame): Include `minibuffer' in the
3836         minimal set of parameters passed when creating a frame, because
3837         the minibuffer status of a frame cannot be changed later.
3839 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
3841         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3842         replace-regexp-in-string and inadvertent omissions in previous change.
3843         (todo-filter-items): Ensure only file names are comma-separated in
3844         name of filtered items buffer.
3846 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
3848         * desktop.el: Optionally force offscreen frames back onscreen.
3849         (desktop-restoring-reuses-frames): New option.
3850         (desktop--compute-pos, desktop--move-onscreen): New functions.
3851         (desktop--make-frame): Use desktop--move-onscreen.
3853 2013-07-27  Alan Mackenzie  <acm@muc.de>
3855         Fontify a Java generic method as a function.
3856         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3857         value to t.
3859 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
3861         * calendar/todo-mode.el: Add command to rename todo files.
3862         (todo-rename-file): New command.
3863         (todo-key-bindings-t): Add key binding for it.  Change the
3864         bindings of todo-filter-regexp-items(-multifile) to use `x'
3865         instead of `r', since the latter is better suited to the new
3866         renaming command.
3868 2013-07-27  Alan Mackenzie  <acm@muc.de>
3870         Make Java try-with-resources statement parse properly.
3871         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3872         (c-block-stmt-1-2-key): New language constants/variables.
3873         * progmodes/cc-engine.el (c-beginning-of-statement-1)
3874         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3875         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3876         with c-block-stmt-1-2-key.
3878 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
3880         * desktop.el (desktop--make-frame): Apply most frame parameters after
3881         creating the frame to force (partially or totally) offscreen frames to
3882         be restored as such.
3884 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
3886         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3887         (Bug#14948)
3889 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3891         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3892         `base' arg of backtrace-frame.
3894 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
3896         * simple.el (list-processes): Doc fix.
3898 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
3900         * desktop.el (desktop--select-frame):
3901         Try harder to reuse existing frames.
3903 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3905         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3906         (edebug-eval): Use backtrace-eval.
3907         (edebug--display, edebug--recursive-edit): Don't let-bind the
3908         edebug-outer-* vars that keep track of variables we locally let-bind.
3909         (edebug-outside-excursion): Don't restore outside values of locally
3910         let-bound vars.
3911         (edebug--display): Use user-error.
3912         (cl-lexical-debug, cl-debug-env): Remove.
3914 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
3916         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3917         are restored to be sure that they are visible before deleting any
3918         remaining ones.
3920 2013-07-26  Matthias Meulien  <orontee@gmail.com>
3922         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3923         vc-print-root-log.  (Bug#14948)
3925 2013-07-26  Richard Stallman  <rms@gnu.org>
3927         Add aliases for encrypting mail.
3928         * epa.el (epa-mail-aliases): New option.
3929         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3930         Bind inhibit-read-only so read-only text doesn't ruin everything.
3931         (epa-mail-default-recipients): New subroutine broken out.
3932         Handle epa-mail-aliases.
3934 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3936         Add support for lexical variables to the debugger's `e' command.
3937         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3938         vars, except for debugger-outer-match-data.
3939         (debugger-frame-number): Move check for "on a function call" from
3940         callers into it.  Add `skip-base' argument.
3941         (debugger-frame, debugger-frame-clear): Simplify accordingly.
3942         (debugger-env-macro): Only reset the state stored in non-variables,
3943         i.e. current-buffer and match-data.
3944         (debugger-eval-expression): Rewrite using backtrace-eval.
3945         * subr.el (internal--called-interactively-p--get-frame): Remove.
3946         (called-interactively-p):
3947         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3948         `base' arg of backtrace-frame instead.
3950 2013-07-26  Glenn Morris  <rgm@gnu.org>
3952         * align.el (align-regexp): Doc fix.  (Bug#14857)
3953         (align-region): Explicit error if subexpression missing/does not match.
3955         * simple.el (global-visual-line-mode):
3956         Do not duplicate the mode lighter.  (Bug#14858)
3958 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
3960         * window.el (display-buffer): In display-buffer bind
3961         split-window-keep-point to t, bug#14829.
3963 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
3965         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3966         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3967         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3968         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3969         Change accordingly.
3970         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3971         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3973 2013-07-25  Glenn Morris  <rgm@gnu.org>
3975         * dired-x.el (dired-mark-extension): Convert comment to doc string.
3977 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
3979         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3980         parameter to modify-frame-parameters if the value has not changed;
3981         this is a workaround for bug#14949.
3982         (desktop--make-frame): On cl-delete-if call, check parameter name,
3983         not full parameter.
3985 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
3987         * vc/vc.el (vc-ignore): New function.
3989         * vc/vc-svn.el (vc-svn-ignore): New function.
3991         * vc/vc-hg.el (vc-hg-ignore): New function.
3993         * vc/vc-git.el (vc-git-ignore): New function.
3995         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3996         (vc-dir-ignore): New function.
3998         * vc/vc-cvs.el (vc-cvs-ignore): New function.
3999         (cvs-append-to-ignore): Move here from pcvs.el.
4001         * vc/vc-bzr.el (vc-bzr-ignore): New function.
4003         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4005 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
4007         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4008         (desktop-restore-frames): Warn when deleting an existing frame failed.
4010 2013-07-24  Glenn Morris  <rgm@gnu.org>
4012         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
4014 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
4016         * filenotify.el (file-notify-supported-p):
4017         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4018         Remove functions.
4020         * autorevert.el (auto-revert-use-notify):
4021         (auto-revert-notify-add-watch):
4022         * net/tramp.el (tramp-file-name-for-operation):
4023         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4024         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4025         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4026         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4027         Remove `file-notify-supported-p' entry.
4029 2013-07-24  Glenn Morris  <rgm@gnu.org>
4031         * printing.el: Replace all uses of deleted ps-windows-system,
4032         ps-lp-system, ps-flatten-list with lpr- versions.
4034 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4036         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4037         checked with memq (bug#14935).
4039         * files.el (revert-buffer-function): Use a non-nil default.
4040         (revert-buffer-preserve-modes): Declare var to
4041         provide access to the `preserve-modes' argument.
4042         (revert-buffer): Let-bind it.
4043         (revert-buffer--default): New function, extracted from revert-buffer.
4045 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4047         * lpr.el: Signal print errors more prominently.
4048         (print-region-function): Don't default to nil.
4049         (lpr-print-region): New function, extracted from print-region-1.
4050         Check lpr's return value and signal an error in case of problem.
4051         (print-region-1): Use it.
4052         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
4053         versions instead.
4054         (ps-printer-name): Default to nil.
4055         (ps-printer-name-option): Default to lpr-printer-switch.
4056         (ps-print-region-function): Don't default to nil.
4057         (ps-postscript-code-directory): Simplify default.
4058         (ps-do-despool): Use lpr-print-region to properly check the outcome.
4059         (ps-string-list, ps-eval-switch, ps-flatten-list)
4060         (ps-flatten-list-1): Remove.
4061         (ps-multibyte-buffer): Avoid setq.
4062         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4063         (print-region-function, ps-print-region-function): Don't set them here.
4065 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
4067         * ido.el (ido-fractionp):
4068         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4069         (ido-max-file-prompt-width, ido-unc-hosts-cache)
4070         (ido-max-directory-size, ido-max-dir-file-cache)
4071         (ido-decorations): Doc fix.
4073         * ansi-color.el: Fix old URL.
4075 2013-07-23  Michael R. Mauger  <michael@mauger.com>
4077         * progmodes/sql.el: Version 3.3
4078         (sql-product-alist): Improve oracle :prompt-cont-regexp.
4079         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4080         (sql-interactive-remove-continuation-prompt): Rewrite, use
4081         functions above.  Fix continuation prompt and complete output line
4082         handling.
4083         (sql-redirect-one, sql-execute): Use `read-only-mode' on
4084         redirected output buffer.
4085         (sql-mode): Restore deleted code (Bug#13591).
4087 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
4089         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4091 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
4093         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4095         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4096         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4097         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4099 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
4101         * desktop.el (desktop-clear): Simplify; remove useless checks
4102         against invalid buffer names.
4103         (desktop-list*): Use cl-list*.
4104         (desktop-buffer-info, desktop-create-buffer): Simplify.
4106 2013-07-23  Leo Liu  <sdl.web@gmail.com>
4108         * bookmark.el (bookmark-make-record): Restore NAME as a default
4109         value.  (Bug#14933)
4111 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4113         * emacs-lisp/autoload.el (autoload--setup-output): New function,
4114         extracted from autoload--insert-text.
4115         (autoload--insert-text): Remove.
4116         (autoload--print-cookie-text): New function, extracted from
4117         autoload--insert-cookie-text.
4118         (autoload--insert-cookie-text): Remove.
4119         (autoload-generate-file-autoloads): Adjust calls accordingly.
4121         * winner.el (winner-hook-installed-p): Remove.
4122         (winner-mode): Simplify accordingly.
4124         * subr.el (add-to-list): Fix compiler-macro when `append' is
4125         not constant.  Don't use `cl-member' for the base case.
4127         * progmodes/subword.el: Fix boundary case (bug#13758).
4128         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
4129         own group.
4130         (subword-backward-regexp): Make it a constant.
4131         (subword-forward-internal): Don't treat a trailing capital as the
4132         beginning of a word.
4134 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
4136         * emacs-lisp/package.el (package-menu-mode): Don't modify the
4137         global value of tabulated-list-revert-hook (bug#14930).
4139 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
4141         * desktop.el: Require 'cl-lib.
4142         (desktop-before-saving-frames-functions): New hook.
4143         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4144         for frames being saved.  Rename from desktop--save-minibuffer-frames.
4145         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4146         Do not save frames with non-nil `desktop-dont-save' parameter.
4147         Filter out deleted frames.
4148         (desktop--find-frame): Use cl-find-if.
4149         (desktop--select-frame): Use cl-(first|second|third) to access values
4150         of desktop-mini.
4151         (desktop--make-frame): Use cl-delete-if.
4152         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4153         (desktop-restore-frames): Use cl-(first|second|third) to access values
4154         of desktop-mini.  Look for visible frame at the end, not while
4155         restoring frames.
4157         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4158         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4159         Use string-match-p, looking-at-p (bug#14927).
4161 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
4163         * desktop.el (desktop-saved-frame-states):
4164         Rename from desktop--saved-states; all users changed.
4165         (desktop-save-frames): Rename from desktop--save-frames.
4166         Do not save state to desktop file.
4167         (desktop-save): Save desktop-saved-frame-states to desktop file
4168         and reset to nil.
4169         (desktop-restoring-frames-p): New function.
4170         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
4171         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
4172         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
4174         * desktop.el: Correctly restore iconified frames.
4175         (desktop--filter-iconified-position): New function.
4176         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4178 2013-07-20  Glenn Morris  <rgm@gnu.org>
4180         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4181         Let `message' do the formatting.
4182         (def-gdb-preempt-display-buffer): Add explicit format.
4184         * image-dired.el (image-dired-track-original-file):
4185         Use with-current-buffer.
4186         (image-dired-track-thumbnail): Use with-current-buffer.
4187         Avoid changing point of wrong window.
4189         * image-dired.el (image-dired-track-original-file):
4190         Avoid changing point of wrong window.  (Bug#14909)
4192 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
4194         * progmodes/gdb-mi.el (gdb-done-or-error):
4195         Guard against "%" in gdb output.  (Bug#14127)
4197 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
4199         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4200         (Bug#14826)
4202         * international/mule.el (coding-system-iso-2022-flags): Fix last
4203         change.
4205 2013-07-20  Kenichi Handa  <handa@gnu.org>
4207         * international/mule.el (coding-system-iso-2022-flags):
4208         Add `8-bit-level-4'.  (Bug#8522)
4210 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4212         * net/shr.el (shr-mouse-browse-url): New command and keystroke
4213         (bug#14815).
4215         * net/eww.el (eww-process-text-input): Allow inputting when the
4216         point is at the start of the line, as the properties aren't
4217         front-sticky.
4219         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4220         degenerate widths.
4222 2013-07-19  Richard Stallman  <rms@gnu.org>
4224         * epa.el (epa-popup-info-window): Doc fix.
4226         * subr.el (split-string): New arg TRIM.
4228 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
4230         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4231         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4233 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
4235         * filenotify.el (file-notify--library): Rename from
4236         `file-notify-support'.  Do not autoload.  Adapt all uses.
4237         (file-notify-supported-p): New defun.
4239         * autorevert.el (auto-revert-use-notify):
4240         Use `file-notify-supported-p' instead of `file-notify-support'.
4241         Adapt docstring.
4242         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4244         * net/tramp.el (tramp-file-name-for-operation):
4245         Add `file-notify-supported-p'.
4247         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4248         New defun.
4249         (tramp-sh-file-name-handler-alist): Add it as handler for
4250         `file-notify-supported-p '.
4252         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4253         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4254         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4255         Add `ignore' as handler for `file-notify-*' functions.
4257 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
4259         * simple.el (line-move-partial, line-move): Don't start vscroll or
4260         scroll-up if the current line is not taller than the window.
4261         (Bug#14881)
4263 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
4265         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4266         highlight question marks in the method names as strings.
4267         (ruby-block-beg-keywords): Inline.
4268         (ruby-font-lock-keyword-beg-re): Extract from
4269         `ruby-font-lock-keywords'.
4271 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
4273         * frame.el (blink-cursor-blinks): New defcustom.
4274         (blink-cursor-blinks-done): New defvar.
4275         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4276         (blink-cursor-timer-function): Check if number of blinks has been
4277         done on X and NS.
4278         (blink-cursor-suspend, blink-cursor-check): New defuns.
4280 2013-07-15  Glenn Morris  <rgm@gnu.org>
4282         * edmacro.el (edmacro-format-keys): Fix previous change.
4284 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
4286         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4287         The hack didn't work outside English locales anyway.
4289 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
4291         * simple.el (define-alternatives): Rename from alternatives-define,
4292         per RMS' suggestion.
4294 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
4296         * desktop.el (desktop-restore-frames): Change default to t.
4297         (desktop-restore-in-current-display): Now offer more options.
4298         (desktop-restoring-reuses-frames): New customization option.
4299         (desktop--saved-states): Doc fix.
4300         (desktop-filter-parameters-alist): New variable, renamed and expanded
4301         from desktop--excluded-frame-parameters.
4302         (desktop--target-display): New variable.
4303         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4304         (desktop--filter-tty*, desktop--filter-*-color)
4305         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4306         (desktop--filter-save-desktop-parm)
4307         (desktop-restore-in-original-display-p): New functions.
4308         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4309         (desktop--save-minibuffer-frames): New function, inspired by a similar
4310         function from Martin Rudalics.
4311         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4312         (desktop--restore-in-this-display-p): Remove.
4313         (desktop--find-frame): Rename from desktop--find-frame-in-display
4314         and add predicate argument.
4315         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4316         (desktop--reuse-list): New variable.
4317         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4318         New functions.
4319         (desktop--restore-frames): Add support for "minibuffer-special" frames.
4321 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
4323         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4325 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
4327         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4328         Highlight conversion methods on Kernel.
4330 2013-07-13  Alan Mackenzie  <acm@muc.de>
4332         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4333         and comment it out.  This out-commenting enables certain C++
4334         declarations to be parsed correctly.
4336 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
4338         * international/mule.el (define-coding-system): Doc fix.
4340         * simple.el (default-font-height): Don't call font-info if the
4341         frame's default font didn't change since the frame was created.
4342         (Bug#14838)
4344 2013-07-13  Leo Liu  <sdl.web@gmail.com>
4346         * ido.el (ido-read-file-name): Guard against non-symbol value.
4348 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4350         * progmodes/python.el (python-imenu--build-tree): Fix corner case
4351         in nested defuns.
4353 2013-07-13  Leo Liu  <sdl.web@gmail.com>
4355         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4356         ido-set-matches call.  (Bug#6852)
4358 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
4360         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4361         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4362         Ruby 2.0.
4363         (ruby-font-lock-keywords): Distinguish calls to functions with
4364         module-like names from module references.  Highlight character
4365         literals.
4367 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
4369         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4370         (gdb-send): Handle continued commands.  (Bug#14847)
4372 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
4374         * desktop.el (desktop--v2s): Remove unused local variable.
4375         (desktop-save-buffer): Make defvar-local; adjust docstring.
4376         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4377         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4379 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
4381         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4383 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
4385         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4386         (Bug#14842)
4388 2013-07-12  Glenn Morris  <rgm@gnu.org>
4390         * doc-view.el: Require cl-lib at runtime too.
4391         (doc-view-remove-if): Remove.
4392         (doc-view-search-next-match, doc-view-search-previous-match):
4393         Use cl-remove-if.
4395         * edmacro.el: Require cl-lib at runtime too.
4396         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4397         (edmacro-mismatch, edmacro-subseq): Remove.
4399         * shadowfile.el: Require cl-lib.
4400         (shadow-remove-if): Remove.
4401         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4402         Use cl-remove-if.
4404         * wid-edit.el: Require cl-lib.
4405         (widget-choose): Use cl-remove-if.
4406         (widget-remove-if): Remove.
4408         * progmodes/ebrowse.el: Require cl-lib at runtime too.
4409         (ebrowse-delete-if-not): Remove.
4410         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4411         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4412         Use cl-delete-if-not.
4414 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
4416         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4417         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4419 2013-07-12  Leo Liu  <sdl.web@gmail.com>
4421         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
4423 2013-07-11  Glenn Morris  <rgm@gnu.org>
4425         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4426         (edebug-gensym-index, edebug-gensym):
4427         Remove reimplementation of cl-gensym.
4428         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4430         * thumbs.el: Require cl-lib at run-time too.
4431         (thumbs-gensym-counter, thumbs-gensym):
4432         Remove reimplementation of cl-gensym.
4433         (thumbs-temp-file): Use cl-gensym.
4435         * emacs-lisp/ert.el: Require cl-lib at runtime too.
4436         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4437         (ert--intersection, ert--set-difference, ert--set-difference-eq)
4438         (ert--union, ert--gensym-counter, ert--gensym-counter)
4439         (ert--coerce-to-vector, ert--remove*, ert--string-position)
4440         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4441         (ert-make-test-unbound, ert--expand-should-1)
4442         (ert--expand-should, ert--should-error-handle-error)
4443         (should-error, ert--explain-equal-rec)
4444         (ert--plist-difference-explanation, ert-select-tests)
4445         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4446         Use cl-lib functions rather than reimplementations.
4448 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
4450         * net/tramp.el (tramp-methods): Extend docstring.
4451         (tramp-connection-timeout): New defcustom.
4452         (tramp-error-with-buffer): Reset timestamp only when appropriate.
4453         (with-tramp-progress-reporter): Simplify.
4454         (tramp-process-actions): Improve messages.
4456         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4457         * net/tramp-sh.el (tramp-maybe-open-connection):
4458         Use `tramp-connection-timeout'.
4459         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4460         (Bug#14808)
4462 2013-07-11  Leo Liu  <sdl.web@gmail.com>
4464         * ido.el (ido-read-file-name): Conform to the requirements of
4465         read-file-name.  (Bug#11861)
4466         (ido-read-directory-name): Conform to the requirements of
4467         read-directory-name.
4469 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
4471         * subr.el (delay-warning): New function.
4473 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
4475         * simple.el (default-line-height): New function.
4476         (line-move-partial, line-move): Use it instead of computing the
4477         line height inline.
4478         (line-move-partial): Always compute ROWH.  If the last line is
4479         partially-visible, but its text is completely visible, allow
4480         cursor to enter such a partially-visible line.
4482 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
4484         Improve error messages.  (Bug#14808)
4486         * net/tramp.el (tramp-current-connection): New defvar, moved from
4487         tramp-sh.el.
4488         (tramp-message-show-progress-reporter-message): Remove, not
4489         needed anymore.
4490         (tramp-error-with-buffer): Show message in minibuffer.
4491         Discard input before waiting.  Reset connection timestamp.
4492         (with-tramp-progress-reporter): Improve messages.
4493         (tramp-process-actions): Use progress reporter.  Delete process in
4494         case of error.  Improve messages.
4496         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4497         Call `tramp-error-with-buffer' with vector and buffer.
4498         (tramp-current-connection): Remove.
4499         (tramp-maybe-open-connection): The car of
4500         `tramp-current-connection' are the first 3 slots of the vector.
4502 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
4504         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4505         inside continued strings.
4507 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
4509         Timestamp fixes for undo (Bug#14824).
4510         * files.el (clear-visited-file-modtime): Move here from fileio.c.
4512 2013-07-10  Leo Liu  <sdl.web@gmail.com>
4514         * files.el (require-final-newline): Allow safe local value.
4515         (Bug#14834)
4517 2013-07-09  Leo Liu  <sdl.web@gmail.com>
4519         * ido.el (ido-read-directory-name): Handle fallback.
4520         (ido-read-file-name): Update DIR to ido-current-directory.
4521         (Bug#1516)
4522         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
4524 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
4526         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4527         "autoload".  Remove "warn lower camel case" section, previously
4528         commented out.  Highlight negation char.  Do not highlight the
4529         target in singleton method definitions.
4531 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4533         * faces.el (tty-setup-hook): Declare the hook.
4535         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4536         and detect when a guard/pred depends on local vars (bug#14773).
4537         (pcase--u1): Adjust caller.
4539 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
4541         * simple.el (line-move-partial, line-move): Account for
4542         line-spacing.
4543         (line-move-partial): Avoid setting vscroll when the last
4544         partially-visible line in window is of default height.
4546 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4548         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4549         been used a while.
4551 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
4553         * subr.el (read-quoted-char): Remove unused local variable `char'.
4555 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
4557         * ediff.el (ediff-version): Version update.
4558         (ediff-files-command, ediff3-files-command, ediff-merge-command)
4559         (ediff-merge-with-ancestor-command, ediff-directories-command)
4560         (ediff-directories3-command, ediff-merge-directories-command)
4561         (ediff-merge-directories-with-ancestor-command): New functions.
4562         All are command-line interfaces to ediff: to facilitate calling
4563         Emacs with the appropriate ediff functions invoked.
4565         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4566         (viper-save-kill-buffer): Check if buffer is modified.
4568         * viper.el (viper-version): Version update.
4569         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4571 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4573         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4574         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4575         (viper-intercept-ESC-key): Simplify.
4576         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4577         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4578         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4579         (viper-setup-ESC-to-escape): New functions.
4580         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4581         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
4583 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
4585         * simple.el (default-font-height, window-screen-lines):
4586         New functions.
4587         (line-move, line-move-partial): Use them instead of
4588         frame-char-height and window-text-height.  This makes scrolling
4589         text smoother when the buffer's default face uses a font that is
4590         different from the frame's default font.
4592 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
4594         * files.el (write-file): Do not display confirm dialog for NS,
4595         it does its own dialog, which can't be cancelled (Bug#14578).
4597 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
4599         * simple.el (line-move-partial): Adjust the row returned by
4600         posn-at-point for the current window-vscroll.  (Bug#14567)
4602 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
4604         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4605         (tramp-sh-file-inotifywait-process-filter): Handle file names with
4606         spaces.
4608 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
4610         * window.el (window-state-put-stale-windows): New variable.
4611         (window--state-put-2): Save list of windows without matching buffer.
4612         (window-state-put): Remove "bufferless" windows if possible.
4614 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
4616         * simple.el (alternatives-define): Remove leftover :group keyword.
4617         Tweak docstring.
4619 2013-07-06  Leo Liu  <sdl.web@gmail.com>
4621         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4622         (ido-enable-virtual-buffers): New variable.
4623         (ido-buffer-internal, ido-toggle-virtual-buffers)
4624         (ido-make-buffer-list): Use it.
4625         (ido-exhibit): Support turning on and off virtual buffers
4626         automatically.
4628 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
4630         * simple.el (alternatives-define): New macro.
4632 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4634         * subr.el (read-quoted-char): Use read-key.
4635         (sit-for): Let read-event decode tty input (bug#14782).
4637 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
4639         * calendar/todo-mode.el: Add handling of file deletion, both by
4640         mode command and externally.  Fix various related bugs.
4641         Clarify Commentary and improve some documentation strings and code.
4642         (todo-delete-file): New command.
4643         (todo-check-file): New function.
4644         (todo-show): Handle external deletion of the file we're trying to
4645         show (bug#14688).  Replace called-interactively-p by an optional
4646         prefix argument to avoid problematic interaction with catch form
4647         when byte compiled (bug#14702).
4648         (todo-quit): Handle external deletion of the archive's todo file.
4649         Make sure the buffer that was visiting the archive file is still
4650         live before trying to bury it.
4651         (todo-category-completions): Handle external deletion of any
4652         category completion files.
4653         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4654         of todo files, in case of external deletion.
4655         (todo-add-file): Replace unnecessary setq by let-binding.
4656         (todo-find-archive): Check whether there are any archives.
4657         Replace unnecessary setq by let-binding.
4658         (todo-archive-done-item): Use find-file-noselect to get the
4659         archive buffer whether or not the archive already exists.
4660         Remove superfluous code.  Use file size instead of buffer-file-name to
4661         check if the archive is new; if it is, update list of archives.
4662         (todo-default-todo-file): Allow nil to be a valid value for when
4663         there are no todo files.
4664         (todo-reevaluate-default-file-defcustom): Use corrected definition
4665         of todo-default-todo-file.
4666         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4667         (todo-delete-category, todo-show-categories-table)
4668         (todo-category-number): Clarify comment.
4669         (todo-filter-items): Clarify documentation string.
4670         (todo-show-current-file, todo-display-as-todo-file)
4671         (todo-reset-and-enable-done-separator): Tweak documentation string.
4672         (todo-done-separator): Make separator length window-width, since
4673         bug#2749 is now fixed.
4675 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
4677         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4678         Support both "gvfs-monitor-dir" and "inotifywait".
4679         (tramp-sh-file-inotifywait-process-filter): Rename from
4680         `tramp-sh-file-notify-process-filter'.
4681         (tramp-sh-file-gvfs-monitor-dir-process-filter)
4682         (tramp-get-remote-gvfs-monitor-dir): New defuns.
4684 2013-07-05  Leo Liu  <sdl.web@gmail.com>
4686         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4688 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4690         * frame.el (display-pixel-height, display-pixel-width)
4691         (display-mm-height, display-mm-width): Mention behavior on
4692         multi-monitor setups in docstrings.
4693         (w32-display-monitor-attributes-list): Declare function.
4694         (display-monitor-attributes-list): Use it.
4696 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
4698         * filenotify.el: New package.
4700         * autorevert.el (top): Require filenotify.el.
4701         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
4702         instead.
4703         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4704         (auto-revert-notify-handler): Use `file-notify-*' functions.
4706         * subr.el (file-notify-handle-event): Move function to filenotify.el.
4708         * net/tramp.el (tramp-file-name-for-operation):
4709         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4711         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4712         for `file-notify-add-watch' and `file-notify-rm-watch'.
4713         (tramp-process-sentinel): Improve trace.
4714         (tramp-sh-handle-file-notify-add-watch)
4715         (tramp-sh-file-notify-process-filter)
4716         (tramp-sh-handle-file-notify-rm-watch)
4717         (tramp-get-remote-inotifywait): New defuns.
4719 2013-07-03  Juri Linkov  <juri@jurta.org>
4721         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4722         call of `occur-read-primary-args' to interactive spec.
4724         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4725         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
4727 2013-07-03  Matthias Meulien  <orontee@gmail.com>
4729         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4730         `Buffer-menu-multi-occur'.  Add it to the menu.
4731         (Buffer-menu-mode): Document it in docstring.
4732         (Buffer-menu-multi-occur): New command.  (Bug#14673)
4734 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
4736         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4737         keywords and built-ins.
4739 2013-07-03  Glenn Morris  <rgm@gnu.org>
4741         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
4743         Make info-xref checks case-sensitive by default
4744         * info.el (Info-find-node, Info-find-in-tag-table)
4745         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4746         Add option for exact case matching of nodes.
4747         * info-xref.el (info-xref): New custom group.
4748         (info-xref-case-fold): New option.
4749         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4751 2013-07-03  Leo Liu  <sdl.web@gmail.com>
4753         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4755 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
4757         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4758         middle of block statement initially, lower the depth.  Remove
4759         FIXME comment, not longer valid.  Remove middle of block statement
4760         detection, no need to do that anymore since we've been using
4761         `ruby-parse-region' here.
4763 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
4765         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4767 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
4769         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4771 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
4773         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4774         (desktop-restore-in-current-display): New customization option.
4775         (desktop--excluded-frame-parameters): Add `font'.
4776         (desktop--save-frames): Rename from desktop--save-windows.
4777         (desktop--restore-in-this-display-p): New function.
4778         (desktop--make-full-frame): Remove unwanted width/height from
4779         full(width|height) frames.
4780         (desktop--restore-frames): Rename from desktop--restore-windows.
4781         Obey desktop-restore-current-display.  Do not delete old frames or
4782         select a new frame unless we were able to restore at least one frame.
4784 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
4786         * files.el (find-file-noselect): Simplify conditional expression.
4788         * remember.el (remember-append-to-file):
4789         Don't mix `find-buffer-visiting' and `get-file-buffer'.
4791         Add `remember-notes' function to store random notes across Emacs
4792         restarts.
4793         * remember.el (remember-data-file): Add :set callback to affect
4794         notes buffer (if any).
4795         (remember-notes): New command.
4796         (remember-notes-buffer-name, bury-remember-notes-on-kill):
4797         New defcustoms for the `remember-notes' function.
4798         (remember-notes-save-and-bury-buffer): New command.
4799         (remember-notes-mode-map): New variable.
4800         (remember-mode): New minor mode.
4801         (remember-notes--kill-buffer-query): New function.
4802         * startup.el (initial-buffer-choice): Add notes to custom type.
4804 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
4806         * bindings.el (right-char, left-char): Don't call sit-for, this is
4807         no longer needed.  Use arithmetic comparison only for numerical
4808         arguments.
4810         * international/mule-cmds.el (select-safe-coding-system):
4811         Handle the case of FROM being a string correctly.  (Bug#14755)
4813 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4815         * net/shr.el (shr-make-table-1): Add a sanity check that allows
4816         progression on degenerate tables.
4817         (shr-rescale-image): ImageMagick animated images currently don't work.
4819 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
4821         Some fixes and improvements for desktop frame restoration.
4822         It is still experimental and disabled by default.
4823         * desktop.el (desktop--save-windows): Put the selected frame at
4824         the head of the list.
4825         (desktop--make-full-frame): New function.
4826         (desktop--restore-windows): Try to re-select the frame that was
4827         selected upon saving.  Do not abort if some frames fail to restore,
4828         just show an error message and continue.  Set up maximized frames
4829         so they have default non-maximized dimensions.
4831 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
4833         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4834         Don't start heredoc inside a string or comment.
4836 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
4838         * bindings.el (visual-order-cursor-movement): New defcustom.
4839         (right-char, left-char): Provide visual-order cursor motion by
4840         calling move-point-visually.  Update the doc strings.
4842 2013-06-28  Kenichi Handa  <handa@gnu.org>
4844         * international/mule.el (define-coding-system): New coding system
4845         properties :inhibit-null-byte-detection,
4846         :inhibit-iso-escape-detection, and :prefer-utf-8.
4847         (set-buffer-file-coding-system): If :charset-list property of
4848         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4849         appropriate for setting.
4851         * international/mule-cmds.el (select-safe-coding-system):
4852         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4853         multibyte characters, return utf-8 (or one of its siblings).
4855         * international/mule-conf.el (prefer-utf-8): New coding system.
4856         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4857         files.
4859 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
4861         * net/shr.el (shr-render-region): New function.
4863         * net/eww.el: Autoload `eww-browse-url'.
4865 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
4867         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4868         Adapt to `package-desc-version' being a list.
4869         Use `package--ac-desc-version' to retrieve version from a package
4870         archive element.
4872 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
4874         New experimental feature to save&restore window and frame setup.
4875         * desktop.el (desktop-save-windows): New defcustom.
4876         (desktop--saved-states): New var.
4877         (desktop--excluded-frame-parameters): New defconst.
4878         (desktop--filter-frame-parms, desktop--find-frame-in-display)
4879         (desktop--restore-windows, desktop--save-windows): New functions.
4880         (desktop-save): Call `desktop--save-windows'.
4881         (desktop-read): Call `desktop--restore-windows'.
4883 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4885         * net/shr.el (add-face-text-property): Remove compat definition.
4887 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
4889         * info.el (Info-try-follow-nearest-node): Move search for footnote
4890         above search for node name to prevent missing a footnote (bug#14717).
4892 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
4894         * obsolete/otodo-mode.el: Add obsolescence info to file header.
4896 2013-06-27  Leo Liu  <sdl.web@gmail.com>
4898         * net/eww.el (eww-read-bookmarks): Check file size.
4900 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4902         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4903         advice--pending if newdef is nil or an autoload (bug#13820).
4904         (advice-mapc): New function.
4906 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4908         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4909         probably.
4910         (eww-mode-map): Add a menu bar.
4911         (eww-add-bookmark): New command.
4912         (eww-bookmark-mode): New mode and commands.
4913         (eww-add-bookmark): Remove newlines from the title.
4914         (eww-bookmark-browse): Don't bug out if it's the only window.
4916 2013-06-26  Glenn Morris  <rgm@gnu.org>
4918         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4919         (hfy-size): Handle ttys.  (Bug#14668)
4921         * info-xref.el: Update for Texinfo 5 change in *note format.
4922         (info-xref-node-re, info-xref-note-re): New constants.
4923         (info-xref-check-buffer): Use info-xref-note-re.
4925 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4927         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4929         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4930         nil terminate the loop (bug#14718).
4932 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4934         * net/eww.el: Rework history traversal.  When going forward/back,
4935         put these actions into the history, too, so that they can be
4936         replayed.
4937         (eww-render): Move the history reset to the correct buffer.
4939 2013-06-25  Juri Linkov  <juri@jurta.org>
4941         * files-x.el (modify-dir-local-variable): Change the header comment
4942         in the file with directory local variables.  (Bug#14692)
4944         * files-x.el (read-file-local-variable-value): Add `default'.
4945         (Bug#14710)
4947 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4949         * net/eww.el (eww-make-unique-file-name): Create a unique file
4950         name before saving to entering `y' accidentally asynchronously.
4952 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
4954         * net/eww.el (eww-download): New command and keystroke.
4956 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4958         * net/eww.el (eww-copy-page-url): Change name of command.
4960         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4961         be more consistent with Info and dired.
4963         * net/eww.el (eww-mode-map): Ditto.
4965 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4967         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
4968         packages from archives.
4969         (package-archive-contents): Change format; include obsolete packages.
4970         (package-desc): Use `dir' to mark builtin packages.
4971         (package--from-builtin): Set the `dir' field to `builtin'.
4972         (generated-autoload-file, version-control): Declare.
4973         (package-compute-transaction): Change first arg and return value to be
4974         lists of package-descs.  Adjust to new package-archive-contents format.
4975         (package--add-to-archive-contents): Adjust to new
4976         package-archive-contents format.
4977         (package-download-transaction): Arg is now a list of package-descs.
4978         (package-install): If `pkg' is a package name, pass it as
4979         a requirement, so it is subject to the usual (e.g. disabled) checks.
4980         (describe-package): Accept package-desc as well.
4981         (describe-package-1): Describe a specific package-desc.  Add links to
4982         other package-descs for the same package name.
4983         (package-menu-describe-package): Pass the actual package-desc.
4984         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4985         works correctly.
4986         (package-desc-status): New function.
4987         (package-menu--refresh): New function, extracted
4988         from package-menu--generate.
4989         (package-menu--generate): Use it.
4990         (package-delete): Update package-alist.
4991         (package-menu-execute): Don't call package-initialize.
4993         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4994         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4995         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4996         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4997         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4998         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5000 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
5002         * window.el (window--state-get-1): Workaround for bug#14527.
5003         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5005 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5007         * net/eww.el (eww-back-url): Implement the history by stashing all
5008         the data into a list.
5009         (eww-forward-url): Allow going forward in the history, too.
5011 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5013         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5014         for values and use read--expression for expressions (bug#14710).
5015         (read-file-local-variable): Avoid setq.
5016         (read-file-local-variable-mode): Use minor-mode-list.
5018 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5020         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5021         for DOI URLs.
5023 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5025         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5026         Update imenu-support when dialect changes.
5028 2013-06-25  Leo Liu  <sdl.web@gmail.com>
5030         * ido.el (ido-read-internal): Allow forward slash on windows.
5032 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5034         * net/eww.el (eww): Start of strings is \\`, not ^.
5036 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
5038         * net/shr.el (shr-browse-url): Fix interactive spec.
5040         * net/eww.el (eww): Add a trailing slash to domain names.
5042 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
5044         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5046 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5048         * net/shr.el (shr-browse-url): Use an external browser if given a
5049         prefix.
5051         * net/eww.el (eww-external-browser): Move to shr.
5053 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
5055         * net/eww.el (eww): Work more correctly for file: URLs.
5056         (eww-detect-charset): Allow quoted charsets.
5057         (eww-yank-page-url): New command and keystroke.
5059 2013-06-24  Daiki Ueno  <ueno@gnu.org>
5061         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5062         file name of gpg executable.
5063         (epg-context-program): New function.
5064         (epg-context-home-directory): New function.
5065         (epg-context-set-program): New function.
5066         (epg-context-set-home-directory): New function.
5067         (epg--start): Use `epg-context-program' instead of
5068         'epg-gpg-program'.
5069         (epg--list-keys-1): Likewise.
5071 2013-06-24  Leo Liu  <sdl.web@gmail.com>
5073         * ido.el (ido-read-internal): Fix bug#14620.
5075 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
5077         * faces.el (face-documentation): Simplify.
5078         (read-face-attribute, tty-find-type, x-resolve-font-name):
5079         Use `string-match-p'.
5080         (list-faces-display): Use `string-match-p'.  Simplify.
5081         (face-spec-recalc): Check face to avoid face alias loops.
5082         (read-color): Use `string-match-p' and non-capturing parenthesis.
5084 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5086         * net/shr.el (shr-rescale-image): Use the new
5087         :max-width/:max-height functionality.
5089 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
5091         * net/eww.el (eww-search-prefix): New variable.
5092         (eww): Use it.
5093         (eww-external-browser): New variable.
5094         (eww-mode-map): New keystroke.
5095         (eww-browse-with-external-browser): New command.
5097         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5099 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
5101         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5102         Don't skip aligning the next header field when padding is 0;
5103         otherwise, field width is not respected unless the title is as
5104         wide as the field.
5106 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5108         * emacs-lisp/package.el (package-el-version): Remove.
5109         (package-process-define-package): Fix inf-loop.
5110         (package-install): Allow symbols as arguments again.
5112 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
5114         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5115         add some more keyword-like methods.
5116         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5118 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
5120         * bs.el (bs-buffer-show-mark): Make defvar-local.
5121         (bs-mode): Use setq-local.
5123         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5124         (emacs-lock--try-unlocking): Make defvar-local.
5126 2013-06-22  Glenn Morris  <rgm@gnu.org>
5128         * play/cookie1.el (cookie-apropos): Minor simplification.
5130         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5132 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
5134         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5135         `regexp-opt', it breaks the build during dumping.
5137 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
5139         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5140         Highlight keyword-like methods on Kernel and Module with
5141         font-lock-builtin-face.
5142         (auto-mode-alist): Consolidate different entries into one regexp
5143         and add more *file-s.
5145 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
5147         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5149         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5150         (diary-entry): Use it in the action of this button type instead of
5151         diary-goto-entry.
5153         * calendar/todo-mode.el: New version.
5154         (todo-add-category): Append new category to end of file and give
5155         it the highest number, instead of putting it at the beginning and
5156         giving it 0.  Incorporate noninteractive functionality.
5157         (todo-forward-category): Adapt to 1-based category numbering.
5158         Allow skipping over archived categories.
5159         (todo-backward-category): Derive from todo-forward-category.
5160         (todo-backward-item, todo-forward-item): Make noninteractive and
5161         delegate interactive part to new commands.  Make sensitive to done items.
5162         (todo-categories): Make value an alist of category names and
5163         vectors of item counts.
5164         (todo-category-beg): Make a defconst.
5165         (todo-category-number): Use 1 instead of 0 as initial value.
5166         (todo-category-select): Make sensitive to overlays, optional item
5167         highlighting and done items.
5168         (todo-delete-item): Make sensitive to overlays and marked and done items.
5169         (todo-edit-item): Make sensitive to overlays and editing of
5170         date/time header optional.  Add format checks.
5171         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
5172         no-op if point is not on an item.  Advertise using todo-edit-quit.
5173         (todo-edit-mode): Make sensitive to new format, font-locking, and
5174         multiple todo files.
5175         (todo-insert-item, todo-insert-item-here): Derive from
5176         todo-basic-insert-item and extend functionality.
5177         (todo-item-end, todo-item-start): Make sensitive to done items.
5178         (todo-item-string): Don't return text properties.  Restore point.
5179         (todo-jump-to-category): Make sensitive to multiple todo files and
5180         todo archives.  Use extended category completion.
5181         (todo-lower-item, todo-raise-item): Rename to *-priority and
5182         derive from todo-set-item-priority.
5183         (todo-mode): Derive from special-mode.  Make sensitive to new
5184         format, font-locking and multiple todo files.  Make read-only.
5185         (todo-mode-map): Don't suppress digit keys, so they can supply
5186         prefix arguments.  Add many new key bindings.
5187         (todo-prefix): Insert as an overlay instead of file text.
5188         Change semantics from diary date expression to purely visual mark.
5189         (todo-print): Rename to todo-print-buffer.  Make buffer display
5190         features printable.  Remove option to restrict number of items
5191         printed.  Add option to print to file.
5192         (todo-print-function): Rename to todo-print-buffer-function.
5193         (todo-quit): Extend to handle exiting new todo modes.
5194         (todo-remove-item): Make sensitive to overlays.
5195         (todo-save): Extend to buffers of filtered items.
5196         (todo-show): Make sensitive to done items, multiple todo files and
5197         new todo modes.  Offer to convert legacy todo file before creating
5198         first new todo file.
5199         (todo-show-priorities): Rename to todo-top-priorities.
5200         Change semantics of value 0.
5201         (todo-top-priorities): Rename to todo-filter-top-priorities,
5202         derive from todo-filter-items and extend functionality.
5203         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5204         and extend functionality to other types of filtered items.
5205         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5206         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5207         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5208         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5209         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5210         (todo-edit-mode-hook, todo-entry-prefix-function)
5211         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5212         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5213         (todo-initials, todo-insert-threshold, todo-item-string-start)
5214         (todo-line-string, todo-menu, todo-mode-hook)
5215         (todo-more-important-p, todo-previous-answer, todo-previous-line)
5216         (todo-print-priorities, todo-remove-separator)
5217         (todo-save-top-priorities-too, todo-string-count-lines)
5218         (todo-string-multiline-p, todo-time-string-format)
5219         (todo-tmp-buffer-name): Remove.
5220         (todo-add-file, todo-archive-done-item, todo-choose-archive)
5221         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5222         (todo-edit-category-diary-inclusion)
5223         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5224         (todo-edit-file, todo-edit-item-date-day)
5225         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5226         (todo-edit-item-date-month, todo-edit-item-date-to-today)
5227         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5228         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5229         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5230         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5231         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5232         (todo-filter-top-priorities-multifile, todo-find-archive)
5233         (todo-find-filtered-items-file, todo-go-to-source-item)
5234         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5235         (todo-jump-to-archive-category, todo-lower-category)
5236         (todo-mark-category, todo-marked-item-p, todo-merge-category)
5237         (todo-move-category, todo-move-item, todo-next-button)
5238         (todo-next-item, todo-padded-string, todo-powerset)
5239         (todo-previous-button, todo-previous-item)
5240         (todo-print-buffer-to-file, todo-raise-category)
5241         (todo-rename-category, todo-repair-categories-sexp, todo-search)
5242         (todo-set-category-number, todo-set-item-priority)
5243         (todo-set-top-priorities-in-category)
5244         (todo-set-top-priorities-in-file, todo-show-categories-table)
5245         (todo-sort-categories-alphabetically-or-numerically)
5246         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5247         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5248         (todo-toggle-item-header, todo-toggle-item-highlighting)
5249         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5250         (todo-toggle-view-done-items, todo-toggle-view-done-only)
5251         (todo-unarchive-items, todo-unmark-category): New commands.
5252         (todo-absolute-file-name, todo-add-to-buffer-list)
5253         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5254         (todo-basic-insert-item, todo-category-completions)
5255         (todo-category-number, todo-category-string-matcher-1)
5256         (todo-category-string-matcher-2, todo-check-filtered-items-file)
5257         (todo-check-format, todo-clear-matches)
5258         (todo-comment-string-matcher, todo-convert-legacy-date-time)
5259         (todo-current-category, todo-date-string-matcher)
5260         (todo-define-insertion-command, todo-diary-expired-matcher)
5261         (todo-diary-goto-entry, todo-diary-item-p)
5262         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5263         (todo-display-categories, todo-display-sorted, todo-done-item-p)
5264         (todo-done-item-section-p, todo-done-separator)
5265         (todo-done-string-matcher, todo-files, todo-filter-items)
5266         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5267         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5268         (todo-insert-category-line, todo-insert-item-from-calendar)
5269         (todo-insert-sort-button, todo-insert-with-overlays)
5270         (todo-insertion-command-name, todo-insertion-key-bindings)
5271         (todo-label-to-key, todo-longest-category-name-length)
5272         (todo-make-categories-list, todo-mode-external-set)
5273         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5274         (todo-modes-set-3, todo-multiple-filter-files)
5275         (todo-nondiary-marker-matcher, todo-prefix-overlays)
5276         (todo-read-category, todo-read-date, todo-read-dayname)
5277         (todo-read-file-name, todo-read-time)
5278         (todo-reevaluate-category-completions-files-defcustom)
5279         (todo-reevaluate-default-file-defcustom)
5280         (todo-reevaluate-filelist-defcustoms)
5281         (todo-reevaluate-filter-files-defcustom)
5282         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5283         (todo-reset-done-separator, todo-reset-done-separator-string)
5284         (todo-reset-done-string, todo-reset-global-current-todo-file)
5285         (todo-reset-highlight-item, todo-reset-nondiary-marker)
5286         (todo-reset-prefix, todo-set-categories)
5287         (todo-set-date-from-calendar, todo-set-show-current-file)
5288         (todo-set-top-priorities, todo-short-file-name)
5289         (todo-show-current-file, todo-sort, todo-time-string-matcher)
5290         (todo-total-item-counts, todo-update-buffer-list)
5291         (todo-update-categories-display, todo-update-categories-sexp)
5292         (todo-update-count, todo-validate-name, todo-y-or-n-p):
5293         New functions.
5294         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5295         New major modes.
5296         (todo-categories, todo-display, todo-edit, todo-faces)
5297         (todo-filtered): New defgroups.
5298         (todo-archived-only, todo-button, todo-category-string, todo-date)
5299         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5300         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5301         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5302         (todo-add-item-if-new-category, todo-always-add-time-string)
5303         (todo-categories-align, todo-categories-archived-label)
5304         (todo-categories-category-label, todo-categories-diary-label)
5305         (todo-categories-done-label, todo-categories-number-separator)
5306         (todo-categories-todo-label, todo-categories-totals-label)
5307         (todo-category-completions-files, todo-completion-ignore-case)
5308         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5309         (todo-done-separator-string, todo-done-string)
5310         (todo-files-function, todo-filter-done-items, todo-filter-files)
5311         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5312         (todo-initial-category, todo-initial-file, todo-item-mark)
5313         (todo-legacy-date-time-regexp, todo-mode-line-function)
5314         (todo-nondiary-marker, todo-number-prefix)
5315         (todo-print-buffer-function, todo-show-current-file)
5316         (todo-show-done-only, todo-show-first, todo-show-with-done)
5317         (todo-skip-archived-categories, todo-top-priorities-overrides)
5318         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5319         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5320         New defcustoms.
5321         (todo-category-done, todo-date-pattern, todo-date-string-start)
5322         (todo-diary-items-buffer, todo-done-string-start)
5323         (todo-filtered-items-buffer, todo-item-start)
5324         (todo-month-abbrev-array, todo-month-name-array)
5325         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5326         (todo-top-priorities-buffer): New defconsts.
5327         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5328         (todo-categories-with-marks, todo-category-string-face)
5329         (todo-comment-face, todo-comment-string, todo-current-todo-file)
5330         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5331         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5332         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5333         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5334         (todo-font-lock-keywords, todo-global-current-todo-file)
5335         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5336         (todo-insertion-commands-args)
5337         (todo-insertion-commands-args-genlist)
5338         (todo-insertion-commands-names, todo-insertion-map)
5339         (todo-key-bindings-t, todo-key-bindings-t+a)
5340         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5341         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5342         (todo-nondiary-face, todo-print-buffer, todo-time-face)
5343         (todo-visited): New variables.
5345 2013-06-21  Glenn Morris  <rgm@gnu.org>
5347         * play/cookie1.el (cookie-apropos): Add optional display argument.
5348         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5349         (psychoanalyze-pinhead): Use cookie-doctor.
5351 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
5353         * emacs-lisp/package.el (tar-get-file-descriptor)
5354         (tar--extract): Declare.
5356 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
5358         Extend flymake's warning predicate to be a function (bug#14217).
5359         * progmodes/flymake.el (flymake-warning-predicate): New.
5360         (flymake-parse-line): Use it.
5361         (flymake-warning-re): Make obsolete alias to
5362         `flymake-warning-predicate'.
5364 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5366         * emacs-lisp/package.el (package-alist): Include obsolete packages.
5367         (package-obsolete-list): Remove.
5368         (package-activate): Remove min-version argument.  Add `force' argument.
5369         Adjust to new package-alist format.
5370         (package-mark-obsolete): Remove.
5371         (package-unpack): Force reload of the package's autoloads.
5372         (package-installed-p): Check builtins if the installed package is not
5373         recent enough.
5374         (package-initialize): Don't reset package-obsolete-list.
5375         Don't specify which package version to activate.
5376         (package-process-define-package, describe-package-1)
5377         (package-menu--generate): Adjust to new package-alist format.
5379 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
5381         * allout-widgets.el (allout-widgets-mode-off)
5382         (allout-widgets-mode-on, allout-widgets-pre-command-business)
5383         (allout-widgets-post-command-business)
5384         (allout-widgets-after-copy-or-kill-function)
5385         (allout-widgets-after-undo-function, allout-test-range-overlaps)
5386         (allout-decorate-item-and-context)
5387         (allout-graphics-modification-handler): Fix typos in docstrings.
5388         (allout-get-or-create-parent-widget): Use `looking-at-p'.
5390         * cmuscheme.el (scheme-start-file): Doc fix.
5391         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5392         (scheme-input-filter): Use `string-match-p'.
5394         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5396         * dired-x.el: Use Dired consistently in docstrings.
5398         * dired.el: Use Dired consistently in docstrings.
5399         (dired-readin, dired-mode): Use `setq-local'.
5400         (dired-switches-alist): Make defvar-local.
5401         (dired-buffers-for-dir): Use `zerop'.
5402         (dired-safe-switches-p, dired-switches-escape-p)
5403         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5404         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5405         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5406         (dired-goto-next-nontrivial-file): Use `string-match-p'.
5407         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5408         (dired-toggle-marks, dired-mark-files-containing-regexp)
5409         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5410         (dired-flag-auto-save-files, dired-flag-backup-files):
5411         Use `looking-at-p'.
5412         (dired-mark-files-regexp, dired-build-subdir-alist):
5413         Use `string-match-p', `looking-at-p'.
5415         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5416         (direct-print-region-helper): Use `string-match-p'.
5418 2013-06-21  Leo Liu  <sdl.web@gmail.com>
5420         * comint.el (comint-redirect-results-list-from-process):
5421         Fix infinite loop.
5423 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5425         * net/eww.el (eww-update-header-line-format): Quote % characters.
5427 2013-06-21  Glenn Morris  <rgm@gnu.org>
5429         * play/cookie1.el (cookie): New custom group.
5430         (cookie-file): New option.
5431         (cookie-check-file): New function.
5432         (cookie): Make it interactive.  Make start and end messages optional.
5433         Interactively, display the result.  Default to cookie-file.
5434         (cookie-insert): Default to cookie-file.
5435         (cookie-snarf): Make start and end messages optional.
5436         Default to cookie-file.  Use with-temp-buffer.
5437         (cookie-read): Rename from read-cookie.
5438         Make start and end messages optional.  Default to cookie-file.
5439         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
5440         Do not autoload it.
5441         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5442         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5444 2013-06-21  Leo Liu  <sdl.web@gmail.com>
5446         * progmodes/octave.el (octave-mode): Backward compatibility fix.
5448 2013-06-21  Glenn Morris  <rgm@gnu.org>
5450         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5452 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5453             Daniel Hackney  <dan@haxney.org>
5455         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5456         Consolidate the single-file vs tarball code.
5457         (package-desc-suffix): New function.
5458         (package-desc-full-name): Don't bother inlining it.
5459         (package-load-descriptor): Return the new package-desc.
5460         (package-mark-obsolete): Remove unused arg `package'.
5461         (package-unpack): Make it work for single files as well.
5462         Make it update package-alist.
5463         (package--make-autoloads-and-stuff): Rename from
5464         package--make-autoloads-and-compile.  Don't compile any more.
5465         (package--compile): New function.
5466         (package-generate-description-file): New function, extracted from
5467         package-unpack-single.
5468         (package-unpack-single): Remove.
5469         (package--with-work-buffer): Add indentation and debugging info.
5470         (package-download-single): Remove.
5471         (package-install-from-archive): Rename from package-download-tar, make
5472         it take a pkg-desc, and make it work for single files as well.
5473         (package-download-transaction): Simplify.
5474         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
5475         external tar program.
5476         (package-install-from-buffer): Remove `pkg-desc' argument.
5477         Use package-tar-file-info for tar-mode buffers.
5478         (package-install-file): Simplify accordingly.
5479         (package-archive-base): Change to take a pkg-desc.
5480         * tar-mode.el (tar--check-descriptor): New function, extracted from
5481         tar-get-descriptor.
5482         (tar-get-descriptor): Use it.
5483         (tar-get-file-descriptor): New function.
5484         (tar--extract): New function, extracted from tar-extract.
5485         (tar--extract): Use it.
5486         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5487         case the summary uses non-ascii.  Adjust to new calling convention of
5488         package-tar-file-info.
5490 2013-06-21  Leo Liu  <sdl.web@gmail.com>
5492         * comint.el (comint-redirect-results-list-from-process):
5493         Fix random delay.  (Bug#14681)
5495 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
5497         * profiler.el (profiler-format-number): Use log, not log10.
5499 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
5501         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5503 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5505         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5506         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5507         yet available.
5508         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5509         (AUTOGENEL): ... here.
5510         * emacs-lisp/cl-macs.el (cl--sublis): New function.
5511         (cl--defsubst-expand): Use it.
5513 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
5515         * subr.el (log10): Move here from C code, and declare as obsolete.
5516         All uses of (log10 X) replaced with (log X 10).
5518 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
5520         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5521         Declare with `defvar-local'.
5522         (tabulated-list-use-header-line, tabulated-list-entries)
5523         (tabulated-list-padding, tabulated-list-printer)
5524         (tabulated-list-sort-key): Declare with `defvar-local'.
5525         (tabulated-list-init-header, tabulated-list-print-fake-header):
5526         Use `setq-local'.
5528 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
5530         * arc-mode.el (archive-mode): Add `archive-write-file' to
5531         `write-contents-functions' also for remote files.  (Bug#14652)
5533 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
5535         * cus-edit.el (custom-commands): Fix typos.
5536         (custom-display): Fix tooltip text.
5537         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5538         Fix typos in docstrings.
5539         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5540         (custom-unlispify-menu-entry, custom-magic-value-create)
5541         (custom-add-see-also, custom-group-value-create): Use ?\s.
5542         (custom-guess-type, customize-apropos, editable-field)
5543         (custom-face-value-create): Use `string-match-p'.
5544         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5546         * custom.el (custom-load-symbol): Use `string-match-p'.
5548         * ansi-color.el: Convert to lexical binding.
5549         (ansi-colors): Fix URL.
5550         (ansi-color-context, ansi-color-context-region): Use defvar-local.
5551         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5552         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5554 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5556         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5558         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5560 2013-06-19  Tom Tromey  <tromey@redhat.com>
5562         * net/eww.el (eww-top-url): Remove.
5563         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5564         (eww-render): Set new variables.  Don't set eww-top-url.
5565         (eww-handle-link): Handle "prev", "home", and "contents".
5566         Downcase the rel text.
5567         (eww-top-url): Choose best top URL.
5569 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5571         * net/eww.el: Rewrite to implement form elements "by hand" instead of
5572         relying in widget.el.  Using widget.el leads to too many
5573         user interface inconsistencies.
5574         (eww-self-insert): Implement entering commands in text fields.
5575         (eww-process-text-input): New function to make text input field editing
5576         work.
5577         (eww-submit): Rewrite to use the new-style form methods.
5578         (eww-select-display): Display the correct selected item.
5579         (eww-change-select): Implement changing the select value.
5580         (eww-toggle-checkbox): Implement radio/checkboxes.
5581         (eww-update-field): Fix compilation error.
5582         (eww-tag-textarea): Implement <textarea>.
5584         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5585         we don't shadow mode-specific bindings.
5587         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5588         nothing to push.
5590         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5592 2013-06-19  Glenn Morris  <rgm@gnu.org>
5594         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5596 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
5598         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5599         not needed.
5601         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5603 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5605         * net/browse-url.el (browse-url-browser-function):
5606         `eww-browse-url' has the right calling signature, `eww' does not.
5608 2013-06-19  Glenn Morris  <rgm@gnu.org>
5610         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5611         Only eval autoloaded macros.
5612         (byte-compile-autoload): Only give the macro warning for macros.
5614         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5615         (ps-underlined-faces): Declare.
5617         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5618         (speedbar-add-supported-extension): Declare.
5620         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5621         Don't include a date stamp in the header of the generated file;
5622         it leads to needless differences between output files.
5624 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
5626         * net/secrets.el (secrets-struct-secret-content-type):
5627         Replace check of introspection data by a test call of "CreateItem".
5628         Some servers do not offer introspection.
5630 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5632         * electric.el (electric-pair-mode): Improve interaction with
5633         electric-layout-mode.
5634         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5635         (electric-pair-syntax): Use text-mode-syntax-table in comments
5636         and strings.
5637         (electric-pair--insert): New function.
5638         (electric-pair-post-self-insert-function): Use it and
5639         electric--after-char-pos.
5641 2013-06-19  Leo Liu  <sdl.web@gmail.com>
5643         * progmodes/octave.el (octave-help): Fix regexp.
5645 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5647         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5648         (shr-table-horizontal-line): Allow nil as a value, and change the
5649         default.
5650         (shr-insert-table-ruler): Respect the nil value.
5652 2013-06-18  Tom Tromey  <tromey@barimba>
5654         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5655         New defvars.
5656         (eww-open-file): New defun.
5657         (eww-render): Initialize new variables.
5658         (eww-display-html): Handle "link" and "a".
5659         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5660         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
5661         (eww-back-url): Rename from eww-previous-url.
5662         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5663         New defuns.
5665 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
5667         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5668         Distinguish ternary operator tokens from slash symbol and slash
5669         char literal.
5671 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
5673         Convert symbol prettification into minor mode and global minor mode.
5675         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5676         `prog-prettify-symbols', and make a local defvar instead of defcustom.
5677         (prettify-symbols--keywords): Rename from
5678         `prog-prettify-symbols-alist' and make a local defvar.
5679         (prettify-symbols--compose-symbol): Rename from
5680         `prog--prettify-font-lock-compose-symbol'.
5681         (prettify-symbols--make-keywords): Rename from
5682         `prog-prettify-font-lock-symbols-keywords' and simplify.
5683         (prog-prettify-install): Remove.
5684         (prettify-symbols-mode): New minor mode, based on
5685         `prog-prettify-install'.
5686         (turn-on-prettify-symbols-mode): New function.
5687         (global-prettify-symbols-mode): New globalized minor mode.
5689         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5690         * progmodes/cfengine.el (cfengine3-mode):
5691         * progmodes/perl-mode.el (perl-mode): Don't call
5692         `prog-prettify-install'; set `prettify-symbols-alist' instead.
5694 2013-06-18  Juri Linkov  <juri@jurta.org>
5696         * files-x.el (modify-file-local-variable-message): New function.
5697         (modify-file-local-variable)
5698         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5699         and call `modify-file-local-variable-message' when it's non-nil.
5700         (add-file-local-variable, delete-file-local-variable)
5701         (add-file-local-variable-prop-line)
5702         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5703         and use it.  (Bug#9820)
5705 2013-06-18  Juri Linkov  <juri@jurta.org>
5707         * emulation/vi.el (vi-shell-op):
5708         * emulation/vip.el (vip-execute-com, ex-command):
5709         * emulation/viper-cmd.el (viper-exec-bang):
5710         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5711         the call of `shell-command-on-region'.  (Bug#14637)
5713         * simple.el (shell-command-on-region): Doc fix.
5715 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5717         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5718         (bug#14633).
5720 2013-06-18  Glenn Morris  <rgm@gnu.org>
5722         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5724         * newcomment.el (comment-search-forward, comment-search-backward):
5725         Doc fix.  (Bug#14376)
5727 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
5729         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5730         (buffer-face-mode-invoke): Doc fix.
5732 2013-06-18  Matthias Meulien  <orontee@gmail.com>
5734         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5735         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5737 2013-06-18  Glenn Morris  <rgm@gnu.org>
5739         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5740         Replace obsolete function generic-make-keywords with its expansion.
5742         * progmodes/python.el (ffap-alist): Declare.
5744         * textmodes/reftex.el (bibtex-mode-map): Declare.
5746 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5748         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5749         (package-unpack, package-unpack-single): Return the pkg-dir.
5750         (package-download-transaction): Use it to update package-alist.
5752 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5754         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5755         possible choice.
5757 2013-06-17  Juri Linkov  <juri@jurta.org>
5759         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5761 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
5763         * emacs-lisp/package.el (package-load-descriptor):
5764         Remove `with-syntax-table' call, `read' doesn't need it.
5765         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5767 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
5769         * startup.el (command-line): Expand package name returned by
5770         `package--description-file' (bug#14639).
5772 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
5774         * emacs-lisp/package.el (package-load-descriptor): Do not call
5775         `emacs-lisp-mode', just use its syntax table.
5777 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
5779         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5780         `font-lock-extra-managed-props' if any prettifying keyword is added.
5781         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5782         (prog-mode): Use `setq-local'.
5784 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5786         * international/characters.el (standard-case-table): Set syntax of ?»
5787         and ?« to punctuation.
5789 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
5791         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5792         Save relevant match data before calling `syntax-ppss' (bug#14595).
5794 2013-06-15  Juri Linkov  <juri@jurta.org>
5796         * files-x.el (modify-file-local-variable-prop-line): Add local
5797         variables to the end of the existing comment on the first line.
5798         Use `file-auto-mode-skip' to skip interpreter magic line,
5799         and also skip XML declaration.
5801 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5803         * startup.el (package--builtin-versions): New var.
5804         (package-subdirectory-regexp): Remove.
5805         (package--description-file): Hard code its value instead.
5807         * emacs-lisp/package.el: Don't activate packages older than builtin.
5808         (package-obsolete-list): Rename from package-obsolete-alist, and make
5809         it into a simple list of package-desc.
5810         (package-strip-version): Remove.
5811         (package-built-in-p): Use package--builtin-versions.
5812         (package-mark-obsolete): Simplify.
5813         (package-process-define-package): Mark it obsolete if older than the
5814         builtin version.
5815         (package-handle-response): Use line-end-position.
5816         (package-read-archive-contents, package--download-one-archive):
5817         Simplify.
5818         (package--add-to-archive-contents): Skip if older than the builtin or
5819         installed version.
5820         (package-menu-describe-package): Fix last change.
5821         (package-list-unversioned): New var.
5822         (package-menu--generate): Use it.
5824         * emacs-lisp/autoload.el: Manage package--builtin-versions.
5825         (autoload--insert-text, autoload--insert-cookie-text): New functions.
5826         (autoload-builtin-package-versions): New variable.
5827         (autoload-generate-file-autoloads): Use them.
5828         Remove the list of autoloaded functions/macros from the
5829         (autoload...) comments.
5831         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5833 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
5835         * simple.el (line-move-partial): Don't jump to the next screen
5836         line as soon as it becomes visible.  Instead, continue enlarging
5837         the vscroll until the portion of a tall screen line that's left on
5838         display is about the height of the frame's default font.
5839         (Bug#14567)
5841 2013-06-15  Glenn Morris  <rgm@gnu.org>
5843         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5844         compilation-error-regexp-alist void, or local while let-bound.
5846         * progmodes/make-mode.el (makefile-mode-syntax-table):
5847         Treat "=" as punctuation.  (Bug#14614)
5849 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
5851         * help-fns.el (describe-variable):
5852         Add extra line for permanent-local variables.
5854 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
5856         * progmodes/scheme.el (scheme-font-lock-keywords-2):
5857         Add export, import, library.  (Bug#9164)
5858         (library): Set indent function.
5860 2013-06-14  Glenn Morris  <rgm@gnu.org>
5862         * term/xterm.el (xterm--query):
5863         Stop after first matching handler.  (Bug#14615)
5865 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
5867         Add support for dired in saveplace.
5868         * dired.el (dired-initial-position-hook): New variable.
5869         (dired-initial-position): Call hook to place cursor position.
5870         * saveplace.el (save-place-to-alist): Add dired position.
5871         (save-place-dired-hook): New function.
5873 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5875         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5876         through a symbol rather than letrec.
5878         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
5879         (package-desc): Add `dir' field.
5880         (package-desc-full-name): New function.
5881         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
5882         (package-maybe-load-descriptor): Remove.
5883         (package-load-all-descriptors): Just call package-load-descriptor.
5884         (package--disabled-p): New function.
5885         (package-desc-vers, package-desc-doc): Remove aliases.
5886         (package--dir): Remove function.
5887         (package-activate): Check if a package is disabled.
5888         (package-process-define-package): New function, extracted from
5889         define-package.
5890         (define-package): Turn into a place holder.
5891         (package-unpack-single, package-tar-file-info):
5892         Use package--description-file.
5893         (package-compute-transaction): Use package--disabled-p.
5894         (package-download-transaction): Don't call
5895         package-maybe-load-descriptor since they're all loaded anyway.
5896         (package-install): Change argument to be a pkg-desc.
5897         (package-delete): Use a single pkg-desc argument.
5898         (describe-package-1): Use package-desc-dir instead of package--dir.
5899         Use package-desc property instead of package-symbol.
5900         (package-install-button-action): Adjust accordingly.
5901         (package--push): Rewrite.
5902         (package-menu--print-info): Adjust accordingly.  Change the ID format
5903         to be a pkg-desc.
5904         (package-menu-describe-package, package-menu-get-status)
5905         (package-menu--find-upgrades, package-menu-mark-upgrades)
5906         (package-menu-execute, package-menu--name-predicate):
5907         Adjust accordingly.
5908         * startup.el (package--description-file): New function.
5909         (command-line): Use it.
5910         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5911         Use package-desc-version.
5913         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5914         (byte-compile-preprocess): Use it.
5915         (byte-compile-file-form-defalias): Try a bit harder to use macros we
5916         can't quite recognize.
5917         (byte-compile-add-to-list): Remove.
5918         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5919         (cconv-closure-convert): Add assertion.
5921         * emacs-lisp/map-ynp.el: Use lexical-binding.
5922         (map-y-or-n-p): Remove unused vars `tail' and `object'.
5923         Factor out some repeated code.
5925 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5927         * subr.el (with-eval-after-load): New macro.
5928         (eval-after-load): Allow form to be a function.
5929         take advantage of lexical-binding.
5930         (do-after-load-evaluation): Use dolist and adjust to new format.
5931         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5933 2013-06-13  Juri Linkov  <juri@jurta.org>
5935         * replace.el (perform-replace): Display "symbol " and other search
5936         modes from `isearch-message-prefix' in the *Help* buffer.
5938         * isearch.el (isearch-query-replace): Add " symbol" and other
5939         possible search modes from `isearch-message-prefix' to the prompt.
5940         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5941         when reading a regexp to collect.
5943 2013-06-13  Juri Linkov  <juri@jurta.org>
5945         * isearch.el (word-search-regexp): Match whitespace if the search
5946         string begins or ends in whitespace.  The LAX arg is applied to
5947         both ends of the search string.  Use `regexp-quote' and explicit
5948         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
5949         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5950         boundaries are replaced with symbol boundaries, and characters
5951         between symbols match non-word non-symbol syntax.  (Bug#14602)
5953 2013-06-13  Juri Linkov  <juri@jurta.org>
5955         * isearch.el (isearch-del-char): Don't exceed the length of
5956         `isearch-string' by the prefix arg.  (Bug#14563)
5958 2013-06-13  Juri Linkov  <juri@jurta.org>
5960         * isearch.el (isearch-yank-word, isearch-yank-line)
5961         (isearch-char-by-name, isearch-quote-char)
5962         (isearch-printing-char, isearch-process-search-char):
5963         Add optional count prefix arg.  (Bug#14563)
5965         * international/isearch-x.el
5966         (isearch-process-search-multibyte-characters):
5967         Add optional count prefix arg.
5969 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5971         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5972         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5973         lexical-binding.
5975 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
5977         * subr.el (set-temporary-overlay-map): Add on-exit argument.
5979 2013-06-13  Glenn Morris  <rgm@gnu.org>
5981         * startup.el (tty-handle-args):
5982         Don't just discard "--" and anything after.  (Bug#14608)
5984         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5986 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
5988         Implement changes in Secret Service API.  Make it backward compatible.
5989         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5990         (secrets-create-item): Use it.  Prefix properties with interface.
5992 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
5994         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
5995         (term-emulate-terminal): Respect term-suppress-hard-newline.
5997 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
5999         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6000         Only remove a `thumb-file' overlay.  (Bug#14548)
6002 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
6004         * mail/reporter.el (reporter-submit-bug-report):
6005         Handle missing package-name.  (Bug#14600)
6007 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6009         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6010         (reftex-citation-prompt, reftex-default-bibliography)
6011         (reftex-bib-or-thebib, reftex-get-bibfile-list)
6012         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6013         (reftex-bib-sort-author, reftex-bib-sort-year)
6014         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6015         (reftex-extract-bib-entries-from-thebibliography)
6016         (reftex-get-bibkey-default, reftex-get-bib-names)
6017         (reftex-parse-bibtex-entry, reftex-get-bib-field)
6018         (reftex-format-bib-entry, reftex-parse-bibitem)
6019         (reftex-format-bibitem, reftex-do-citation)
6020         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6021         (reftex-restrict-bib-matches, reftex-extract-bib-file)
6022         (reftex-insert-bib-matches, reftex-format-citation)
6023         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6024         (reftex-create-bibtex-file): Add docstrings, mostly by converting
6025         existing comments into docstrings.
6027 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
6029         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6031 2013-06-12  Andreas Schwab  <schwab@suse.de>
6033         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6034         for auto-save files.
6036 2013-06-12  Glenn Morris  <rgm@gnu.org>
6038         * ido.el (ido-delete-ignored-files): Remove.
6039         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6040         Go back to calling ido-ignore-item-p directly.
6042 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
6044         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6046         * ido.el (ido-delete-ignored-files): New function,
6047         split from ido-make-file-list-1.
6048         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
6049         (ido-make-file-list-1): Use ido-delete-ignored-files.
6051 2013-06-12  Leo Liu  <sdl.web@gmail.com>
6053         * progmodes/octave.el (inferior-octave-startup)
6054         (inferior-octave-completion-table)
6055         (inferior-octave-track-window-width-change)
6056         (octave-eldoc-function-signatures, octave-help)
6057         (octave-find-definition): Use single quoted strings.
6058         (inferior-octave-startup-args): Change default value.
6059         (inferior-octave-startup): Do not hard code "-i" and
6060         "--no-line-editing".
6061         (inferior-octave-resync-dirs): Add optional arg NOERROR.
6062         (inferior-octave-directory-tracker): Use it.
6063         (octave-goto-function-definition): Robustify.
6064         (octave-help): Support highlighting operators in 'See also'.
6065         (octave-find-definition): Find subfunctions only in Octave mode.
6067 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6069         * help-fns.el (help-fns--compiler-macro): If the handler function is
6070         named, then put a link to it.
6071         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6072         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6073         (cl-typep): Use it.
6074         (cl-eval-when): Simplify debug spec.
6075         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
6076         compiler-macro function instead of setting `compiler-macro-file'.
6078 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
6080         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6081         * vc/vc-hooks.el (vc-stay-local): Doc fix.
6083 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6084             Daniel Hackney  <dan@haxney.org>
6086         First part of Daniel Hackney's patch to package.el.
6087         * emacs-lisp/package.el: Use defstruct.
6088         (package-desc): New, main struct.
6089         (package--bi-desc, package--ac-desc): New structs, used to describe the
6090         format in external files.
6091         (package-desc-vers): Replace with package-desc-version accessor.
6092         (package-desc-doc): Replace with package-desc-summary accessor.
6093         (package-activate-1): Remove `package' arg since the pkg-vec now
6094         includes the name.
6095         (define-package): Use package-desc-from-define.
6096         (package-unpack-single): Change file-name arg to be a symbol.
6097         (package--add-to-archive-contents): Use package-desc-create and new
6098         accessor functions to package--ac-desc.
6099         (package-buffer-info, package-tar-file-info): Return a package-desc.
6100         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
6101         arg to be a package-desc.
6102         (package-install-file): Adjust accordingly.  Use \' to match EOS.
6103         (package--from-builtin): New function.
6104         (describe-package-1, package-menu--generate): Use it.
6105         (package--make-autoloads-and-compile): Change name arg to be a symbol.
6106         (package-generate-autoloads): Idem and return the name of the file.
6107         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6108         Change pkg-info arg to be a package-desc.
6109         Use package-make-ac-desc.
6110         (package-upload-file): Use \' to match EOS.
6111         * finder.el (finder-compile-keywords): Use package-make-builtin.
6113 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6115         * vc/vc.el (vc-deduce-fileset): Change error message.
6116         (vc-read-backend): New function.
6117         (vc-next-action): Use it.
6119         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6121         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6122         (prolog-font-lock-keywords): Use regexp-opt instead.
6123         Don't manually highlight strings.
6124         (prolog-mode-variables): Simplify comment-start-skip.
6125         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
6127         * emacs-lisp/generic.el (generic--normalise-comments)
6128         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6129         (generic-mode-set-comments): Use them.
6130         (generic-bracket-support): Use setq-local.
6131         (generic-make-keywords-list): Declare obsolete.
6133 2013-06-11  Glenn Morris  <rgm@gnu.org>
6135         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6136         Prettify after setting font-lock-defaults.  (Bug#14574)
6138 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
6140         * replace.el (query-replace, occur-read-regexp-defaults-function)
6141         (replace-search):
6142         * subr.el (declare-function, number-sequence, local-set-key)
6143         (substitute-key-definition, locate-user-emacs-file)
6144         (with-silent-modifications, split-string, eval-after-load):
6145         Fix typos, remove unneeded backslashes and reflow some docstrings.
6147 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6149         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6150         default for Elisp files.
6152 2013-06-11  Glenn Morris  <rgm@gnu.org>
6154         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6155         although define-derived-mode was doing this anyway.  (Bug#14583)
6157 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
6159         * allout.el (allout-encryption-plaintext-sanitization-regexps):
6160         Fix make-variable-buffer-local call to refer to the correct variable.
6162 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
6164         * eshell/em-term.el (eshell-visual-commands)
6165         (eshell-visual-subcommands, eshell-visual-options):
6166         Add summary line to docstrings.  Add cross-references.
6168 2013-06-10  Glenn Morris  <rgm@gnu.org>
6170         * epa.el (epa-read-file-name): New function.  (Bug#14510)
6171         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
6173 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
6175         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6176         output redirection to be ignored with visual commands.
6178 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
6180         * eshell/em-term.el (eshell-visual-command-p): New function.
6181         (eshell-term-initialize): Move long lambda to separate function
6182         eshell-visual-command-p.
6183         * eshell/em-dirs.el (eshell-dirs-initialise):
6184         * eshell/em-script.el (eshell-script-initialize):
6185         Add missing #' to lambda.
6187 2013-06-08  Leo Liu  <sdl.web@gmail.com>
6189         * progmodes/octave.el (octave-add-log-current-defun): New function.
6190         (octave-mode): Set add-log-current-defun-function.
6191         (octave-goto-function-definition): Do not move point if not found.
6192         (octave-find-definition): Enhance to try subfunctions first.
6194 2013-06-08  Glenn Morris  <rgm@gnu.org>
6196         * emacs-lisp/bytecomp.el (byte-compile-char-before)
6197         (byte-compile-backward-char, byte-compile-backward-word):
6198         Improve previous change, to handle non-explicit nil.
6200 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6202         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6203         (smie--opener/closer-at-point): New function.
6204         (smie--matching-block-data): Use it.  Don't match from right after an
6205         opener or right before a closer.  Obey smie-blink-matching-inners.
6206         Don't signal a mismatch for repeated inners like "switch..case..case".
6208 2013-06-07  Leo Liu  <sdl.web@gmail.com>
6210         * progmodes/octave.el (octave-mode): Set comment-use-global-state
6211         to t.  (Bug#14303)
6212         (octave-function-header-regexp): Fix.  (Bug#14570)
6213         (octave-help-mode-finish-hook, octave-help-mode-finish):
6214         Remove.  Just use temp-buffer-show-hook.
6216         * newcomment.el (comment-search-backward): Revert last change.
6217         (Bug#14434)
6219         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6221 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
6223         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6224         through xargs, to avoid failure due to MS-Windows limitations on
6225         command-line length.
6227 2013-06-06  Glenn Morris  <rgm@gnu.org>
6229         * font-lock.el (lisp-font-lock-keywords-2):
6230         Treat user-error like error.
6232         * emacs-lisp/bytecomp.el (byte-compile-char-before)
6233         (byte-compile-backward-char, byte-compile-backward-word):
6234         Handle explicit nil arguments.  (Bug#14565)
6236 2013-06-05  Alan Mackenzie  <acm@muc.de>
6238         * isearch.el (isearch-allow-prefix): New user option.
6239         (isearch-other-meta-char): Don't exit isearch when a prefix
6240         argument is typed whilst `isearch-allow-prefix' is non-nil.
6241         (Bug#9706)
6243 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6245         * autorevert.el (auto-revert-notify-handler): Use memq.
6246         Hide assertion failure.
6248         * skeleton.el: Use cl-lib.
6249         (skeleton-further-elements): Use defvar-local.
6250         (skeleton-insert): Use cl-progv.
6252 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
6254         * progmodes/prog-mode.el (prog-prettify-symbols)
6255         (prog-prettify-install): Update docstrings.
6257 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6259         * simple.el: Move all the prog-mode code to prog-mode.el.
6260         * progmodes/prog-mode.el: New file.
6261         * loadup.el: Add prog-mode.el.
6263 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
6265         * simple.el (prog-prettify-symbols): Add version.
6266         (prog-prettify-install): Add convenience function to prettify symbols.
6268         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6269         (perl--augmented-font-lock-keywords-1)
6270         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6271         variables and use it.
6273         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6274         (cfengine3-mode): Remove unneeded variable and use it.
6276         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6277         (lisp--augmented-font-lock-keywords-1)
6278         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6279         Remove unneeded variables and use it.
6281 2013-06-05  João Távora  <joaotavora@gmail.com>
6283         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6284         to point when opening the connection.  (Bug#14380)
6286 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6288         * subr.el (load-history-regexp, load-history-filename-element)
6289         (eval-after-load, after-load-functions, do-after-load-evaluation)
6290         (eval-next-after-load, display-delayed-warnings)
6291         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6292         definition of save-match-data.
6293         (overriding-local-map): Remove accidental obsolescence declaration.
6295         * emacs-lisp/edebug.el (edebug-result): Move before first use.
6297 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
6299         Generalize symbol prettify support to prog-mode and implement it
6300         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6301         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6302         (prog--prettify-font-lock-compose-symbol)
6303         (prog-prettify-font-lock-symbols-keywords): New variables and
6304         functions to support symbol prettification.
6305         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6306         (lisp--augmented-font-lock-keywords-1)
6307         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6308         (lisp--prettify-symbols-alist): Implement prettify of lambda.
6309         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6310         (cfengine3--prettify-symbols-alist, cfengine3-mode):
6311         Implement prettify of -> => :: strings.
6312         * progmodes/perl-mode.el (perl-prettify-symbols)
6313         (perl--font-lock-compose-symbol)
6314         (perl--font-lock-symbols-keywords): Move to prog-mode.
6315         (perl--prettify-symbols-alist): Prettify -> => :: strings.
6316         (perl-font-lock-keywords-1)
6317         (perl-font-lock-keywords-2): Remove explicit prettify support.
6318         (perl--augmented-font-lock-keywords)
6319         (perl--augmented-font-lock-keywords-1)
6320         (perl--augmented-font-lock-keywords-2, perl-mode):
6321         Implement prettify support.
6323 2013-06-05  Leo Liu  <sdl.web@gmail.com>
6325         Re-implement smie matching block highlight using
6326         show-paren-data-function.  (Bug#14395)
6327         * emacs-lisp/smie.el (smie-matching-block-highlight)
6328         (smie--highlight-matching-block-overlay)
6329         (smie--highlight-matching-block-lastpos)
6330         (smie-highlight-matching-block)
6331         (smie-highlight-matching-block-mode): Remove.
6332         (smie--matching-block-data-cache): New variable.
6333         (smie--matching-block-data): New function.
6334         (smie-setup): Use smie--matching-block-data for
6335         show-paren-data-function.
6337         * progmodes/octave.el (octave-mode-menu): Fix.
6338         (octave-find-definition): Skip garbage lines.
6340 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6342         Fix compilation error with simultaneous dynamic+lexical scoping.
6343         Add warning when a defvar appears after the first let-binding.
6344         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6345         (byte-compile-close-variables): Initialize it.
6346         (byte-compile--declare-var): New function.
6347         (byte-compile-file-form-defvar)
6348         (byte-compile-file-form-define-abbrev-table)
6349         (byte-compile-file-form-custom-declare-variable): Use it.
6350         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
6351         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6352         (byte-compile-bind): Handle dynamic bindings that shadow
6353         lexical bindings.
6354         (byte-compile-unbind): Make arg non-optional.
6355         (byte-compile-let): Simplify.
6356         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6357         (cconv--analyse-function, cconv-analyse-form): Populate it.
6358         Protect byte-compile-bound-variables to limit the scope of defvars.
6359         (cconv-analyse-form): Add missing rule for (defvar <foo>).
6360         Remove unneeded rule for `declare'.
6362         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6363         so as to avoid depending on cl-adjoin at run-time.
6364         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6366         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6367         (macroexp--warn-and-return): Use it.
6369 2013-06-05  Leo Liu  <sdl.web@gmail.com>
6371         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6373 2013-06-04  Leo Liu  <sdl.web@gmail.com>
6375         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6376         (compilation-auto-jump): Suppress the "Mark set" message to give
6377         way to exit message.
6379 2013-06-04  Alan Mackenzie  <acm@muc.de>
6381         Remove faulty optimisation from indentation calculation.
6382         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6383         search limit based on 2000 characters back from indent-point.
6385 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
6387         * eshell/em-term.el (cl-lib): Require `cl-lib'.
6389 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6391         * emacs-lisp/lisp.el: Use lexical-binding.
6392         (lisp--local-variables-1, lisp--local-variables): New functions.
6393         (lisp--local-variables-completion-table): New var.
6394         (lisp-completion-at-point): Use it complete let-bound vars.
6396         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6397         eagerly (bug#14422).
6399 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
6401         * autorevert.el (auto-revert-notify-enabled)
6402         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6403         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6404         (auto-revert-notify-handler): Handle also gfilenotify.
6406         * subr.el (file-notify-handle-event): New defun.  Replacing ...
6407         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6408         Remove.
6410 2013-06-03  Juri Linkov  <juri@jurta.org>
6412         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6413         `M-s h .'.  (Bug#14427)
6415         * hi-lock.el (highlight-symbol-at-point): New alias for the new
6416         command `hi-lock-face-symbol-at-point'.
6417         (hi-lock-face-symbol-at-point): New command.
6418         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6419         (hi-lock-menu): Add `highlight-symbol-at-point'.
6420         (hi-lock-mode): Doc fix.
6422         * isearch.el (isearch-forward-symbol-at-point): New command.
6423         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6424         (isearch-highlight-regexp): Add a regexp which matches
6425         words/symbols for word/symbol mode.
6427         * subr.el (find-tag-default-bounds): New function with the body
6428         mostly moved from `find-tag-default'.
6429         (find-tag-default): Move most code to `find-tag-default-bounds',
6430         call it and apply `buffer-substring-no-properties' afterwards.
6432 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
6434         * eshell/em-term.el (eshell-term-initialize):
6435         Use `cl-intersection' rather than `intersection'.
6437 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
6439         * vc/log-view.el: Doc fix.
6440         (log-view-mode-map): Copy keymap from `special-mode-map'.
6442 2013-06-02  Eric Ludlam  <zappo@gnu.org>
6444         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6445         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6446         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6447         (eieio-unbound, eieio-default-superclass)
6448         (eieio--define-field-accessors, method-static, method-before)
6449         (method-primary, method-after, method-num-lists)
6450         (method-generic-before, method-generic-primary)
6451         (method-generic-after, method-num-slots)
6452         (eieio-specialized-key-to-generic-key)
6453         (eieio--check-type, class-v, class-p)
6454         (eieio-class-name, define-obsolete-function-alias)
6455         (eieio-class-parents-fast, eieio-class-children-fast)
6456         (same-class-fast-p, class-constructor, generic-p)
6457         (generic-primary-only-p, generic-primary-only-one-p)
6458         (class-option-assoc, class-option, eieio-object-p)
6459         (class-abstract-p, class-method-invocation-order)
6460         (eieio-defclass-autoload-map, eieio-defclass-autoload)
6461         (eieio-class-un-autoload, eieio-defclass)
6462         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6463         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6464         (eieio--defgeneric-init-form, eieio-defgeneric-form)
6465         (eieio-defgeneric-reset-generic-form)
6466         (eieio-defgeneric-form-primary-only)
6467         (eieio-defgeneric-reset-generic-form-primary-only)
6468         (eieio-defgeneric-form-primary-only-one)
6469         (eieio-defgeneric-reset-generic-form-primary-only-one)
6470         (eieio-unbind-method-implementations)
6471         (eieio--defmethod, eieio--typep)
6472         (eieio-perform-slot-validation, eieio-validate-slot-value)
6473         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6474         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6475         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6476         (eieio-slot-name-index, eieio-class-slot-name-index)
6477         (eieio-set-defaults, eieio-initarg-to-attribute)
6478         (eieio-attribute-to-initarg, eieio-c3-candidate)
6479         (eieio-c3-merge-lists, eieio-class-precedence-c3)
6480         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6481         (eieio-class-precedence-list, eieio-generic-call-methodname)
6482         (eieio-generic-call-arglst, eieio-generic-call-key)
6483         (eieio-generic-call-next-method-list)
6484         (eieio-pre-method-execution-functions, eieio-generic-call)
6485         (eieio-generic-call-primary-only, eieiomt-method-list)
6486         (eieiomt-optimizing-obarray, eieiomt-install)
6487         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6488         (eieio-generic-form, eieio-defmethod, make-obsolete)
6489         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6490         (defclass): Remove `eval-and-compile' from macro.
6491         (call-next-method, shared-initialize): Instead of using
6492         `scoped-class' variable, use new eieio--scoped-class, and
6493         eieio--with-scoped-class.
6494         (initialize-instance): Rename local variable 'scoped-class' to
6495         'this-class' to remove ambiguitity from old global.
6497         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
6498         eieio.el.
6499         (eieio--scoped-class-stack): New variable.
6500         (eieio--scoped-class): New fcn.
6501         (eieio--with-scoped-class): New scoping macro.
6502         (eieio-defclass): Use pushnew instead of add-to-list.
6503         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6504         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6505         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6506         `scoped-class' variable, use new eieio--scoped-class, and
6507         eieio--with-scoped-class.
6509         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6511 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
6513         * eshell/esh-ext.el (eshell-external-command): Pass args to
6514         `eshell-find-interpreter'.
6515         (eshell-find-interpreter): Add new second parameter ARGS.
6517         * eshell/em-script.el (eshell-script-initialize): Add second arg
6518         to the function added as MATCH to `eshell-interpreter-alist'.
6520         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6521         the function added as MATCH to `eshell-interpreter-alist'.
6523         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6524         (eshell-visual-options): New defcustom.
6525         (eshell-escape-control-x): Adapt docstring.
6526         (eshell-term-initialize): Test `eshell-visual-subcommands' and
6527         `eshell-visual-options' in addition to `eshell-visual-commands'.
6528         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6530 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6532         * progmodes/python.el (python-indent-block-enders): Add break,
6533         continue and raise keywords.
6535 2013-06-01  Glenn Morris  <rgm@gnu.org>
6537         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6539         Plain (f)boundp silences compilation warnings since Emacs 22.1.
6540         * progmodes/cc-cmds.el (delete-forward-p):
6541         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6542         * progmodes/cc-engine.el (buffer-syntactic-context):
6543         * progmodes/cc-fonts.el (face-property-instance):
6544         * progmodes/cc-mode.el (set-keymap-parents):
6545         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6546         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6547         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6548         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6549         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6551         * progmodes/cc-vars.el (other): Emacs has this widget since
6552         at least 21.1, so don't (re)define it.
6554         * eshell/em-cmpl.el (eshell-cmpl-initialize):
6555         Replace the obsolete alias pcomplete-arg-quote-list.
6557 2013-06-01  Leo Liu  <sdl.web@gmail.com>
6559         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6560         punctuation syntax.
6561         (inferior-octave-minimal-columns)
6562         (inferior-octave-last-column-width): New variables.
6563         (inferior-octave-track-window-width-change): New function.
6564         (inferior-octave-mode): Adjust column width so that Octave output,
6565         for example from 'ls', can fit into the window nicely.
6567 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
6569         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6570         Highlight expansions inside regexp literals.
6572 2013-05-31  Glenn Morris  <rgm@gnu.org>
6574         * obsolete/sym-comp.el (symbol-complete):
6575         Replace obsolete completion-annotate-function.
6577         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6579 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
6581         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6582         New function, checks if point is inside a literal that allows
6583         expression expansion.
6584         (ruby-syntax-propertize-expansion): Use it.
6585         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6586         around the body.
6588 2013-05-30  Juri Linkov  <juri@jurta.org>
6590         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6591         to "\M-si".
6592         (isearch-invisible): New variable.
6593         (isearch-forward): Doc fix.
6594         (isearch-mode): Set `isearch-invisible'
6595         to the value of `search-invisible'.
6596         (isearch-toggle-case-fold): Doc fix.
6597         (isearch-toggle-invisible): New command.
6598         (isearch-query-replace): Let-bind `search-invisible'
6599         to the value of `isearch-invisible'.
6600         (isearch-search): Use `isearch-invisible' instead of
6601         `search-invisible'.  Let-bind `search-invisible'
6602         to the value of `isearch-invisible'.  (Bug#11378)
6604 2013-05-30  Juri Linkov  <juri@jurta.org>
6606         * replace.el (perform-replace): Avoid `isearch-range-invisible'
6607         call when `query-flag' is nil and `search-invisible' is non-nil.
6608         (Bug#11746)
6610 2013-05-30  Glenn Morris  <rgm@gnu.org>
6612         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6614         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6615         (cc-require): Suppress spurious "noruntime" warnings.
6616         (cc-require-when-compile): Use fboundp, for sake of compiler.
6618         * progmodes/cc-mode.el: Move load of cc-vars before that of
6619         cc-langs (which in turn loads cc-vars), to quieten compiler.
6621 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6623         * paren.el: Simplify the code.
6624         (show-paren-mode): Always start the timer.
6625         (show-paren--idle-timer): Rename from show-paren-idle-timer.
6626         (show-paren--overlay, show-paren--overlay-1): Rename from
6627         show-paren-overlay and show-paren-overlay-1, and initialize to an
6628         overlay rather than to nil.
6629         (show-paren-function): Misc cleanup and simplifications.
6631 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6633         * paren.el (show-paren-data-function): New hook.
6634         (show-paren--default): New function, extracted from show-paren-function.
6635         (show-paren-function): Use show-paren-data-function.
6637 2013-05-30  Glenn Morris  <rgm@gnu.org>
6639         * ielm.el (ielm-map, ielm-complete-symbol):
6640         Use completion-at-point rather than obsolete functions.
6641         (inferior-emacs-lisp-mode): Doc fix.
6642         Set completion-at-point-functions, rather than
6643         comint-dynamic-complete-functions.
6645         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6646         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6647         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6649         * image.el (image-animated-p): Tweak definition.
6651         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6652         (rlogin-process-connection-type): Tweak default.  Add set-after.
6653         (rlogin-host): Doc fix.
6654         (rlogin): Tweak prompt.
6655         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6657         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6658         * progmodes/tcl.el (inferior-tcl-mode-map):
6659         Use completion-at-point rather than obsolete alias.
6661         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6663         * minibuffer.el (read-file-name-completion-ignore-case):
6664         Move before completion--in-region, for eager macro expansion.
6666 2013-05-29  Juri Linkov  <juri@jurta.org>
6668         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6669         for total count of matching lines.  Add `global-matches' for total
6670         count of matches.  Rename `matches' to `lines' for count of
6671         matching lines.  Add `matches' for count of matches.
6672         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
6673         to `prev-line' for line number of prev match endpt.
6674         Increment `matches' for every match.  Print the number of
6675         matching lines in the header.
6676         (occur-context-lines): Rename `lines' to `curr-line'.
6677         Rename `prev-lines' to `prev-line'.  (Bug#14017)
6679 2013-05-29  Juri Linkov  <juri@jurta.org>
6681         * replace.el (perform-replace): Add `skip-read-only-count',
6682         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6683         Increment them for corresponding conditions and report the number
6684         of skipped occurrences in the final message.  (Bug#11746)
6685         (query-replace, query-replace-regexp, query-replace-regexp-eval)
6686         (replace-string, replace-regexp): Doc fix.
6688 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6690         * emacs-lisp/trace.el (trace--read-args): Provide a default.
6692         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6693         prog-mode-map (bug#14504).
6695 2013-05-29  Leo Liu  <sdl.web@gmail.com>
6697         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6698         (octave-help): Small simplification.
6700         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6701         off the highlight first.
6703 2013-05-29  Glenn Morris  <rgm@gnu.org>
6705         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6706         Handle idlwave-last-system-routine-info-cons-cell being nil.
6708         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6709         (idlwave-write-paths): Simplify via with-temp-buffer.
6711         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6712         * emulation/cua-rect.el: Also load cua-base at run time.
6714         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6715         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6716         (cperl-imenu-on-info): Require imenu.
6718 2013-05-28  Alan Mackenzie  <acm@muc.de>
6720         Handle "capitalised keywords" correctly.
6721         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6723 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
6725         * eshell/em-unix.el: Add -r option to cp.
6727 2013-05-28  Glenn Morris  <rgm@gnu.org>
6729         * vc/vc-arch.el (vc-exec-after): Declare.
6730         (vc-switches): Autoload.
6731         * vc/vc-bzr.el: No need to require vc when compiling.
6732         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6733         (vc-resynch-buffer, vc-dir-refresh): Declare.
6734         (vc-setup-buffer, vc-switches): Autoload.
6735         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6736         (vc-resynch-buffer): Declare.
6737         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6738         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6739         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6740         (grep-read-regexp, grep-read-files, grep-expand-template)
6741         (vc-dir-refresh): Declare.
6742         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6743         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6744         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6745         * vc/vc-mtn.el (vc-exec-after): Declare.
6746         (vc-switches): Autoload.
6747         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6748         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6749         (vc-file-tree-walk): Declare.
6750         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6751         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6752         (vc-tag-precondition, vc-rename-master): Autoload.
6753         * vc/vc-svn.el (vc-exec-after): Declare.
6754         (vc-switches, vc-setup-buffer): Autoload.
6755         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6756         Autoload.
6757         (vc-resynch-buffer): Declare.
6759         * obsolete/fast-lock.el (byte-compile-warnings):
6760         Don't warn about obsolete features in this obsolete file.
6762         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6763         Move definition before use.
6765         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6766         (dun-unix-verbs): Remove dun-zippy.
6767         (dun-zippy): Remove function.
6769         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6771 2013-05-27  Juri Linkov  <juri@jurta.org>
6773         * replace.el (replace-search): New function with code moved out
6774         from `perform-replace'.
6775         (replace-highlight, replace-dehighlight): Move function definitions
6776         up closer to `replace-search'.  (Bug#11746)
6778 2013-05-27  Juri Linkov  <juri@jurta.org>
6780         * replace.el (perform-replace): Ignore invisible matches.
6781         In addition to checking `query-replace-skip-read-only', also
6782         filter out matches by calling `run-hook-with-args-until-failure'
6783         on `isearch-filter-predicates', and also check `search-invisible'
6784         for t or call `isearch-range-invisible'.
6785         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
6787 2013-05-27  Juri Linkov  <juri@jurta.org>
6789         * isearch.el (isearch-filter-predicates): Rename from
6790         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
6791         (isearch-message-prefix): Display text from the property
6792         `isearch-message-prefix' of the currently active filters.
6793         (isearch-search): Don't compare `isearch-filter-predicate' with
6794         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
6795         on `isearch-filter-predicates'.  Also check `search-invisible' for t
6796         or call `isearch-range-invisible'.
6797         (isearch-filter-visible): Make obsolete.
6798         (isearch-lazy-highlight-search):
6799         Call `run-hook-with-args-until-failure' on
6800         `isearch-filter-predicates' and use `isearch-range-invisible'.
6802         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6803         `isearch-filter-predicates' instead of `funcall'ing
6804         `isearch-filter-predicate'.
6805         (Info-mode): Set `Info-isearch-filter' to
6806         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6808         * dired-aux.el (dired-isearch-filter-predicate-orig):
6809         Remove variable.
6810         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6811         (dired-isearch-filenames-end): Add and remove
6812         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6813         instead of changing the value of `isearch-filter-predicate'.
6814         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6815         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6816         Put property `isearch-message-prefix' to "filename " on
6817         `dired-isearch-filter-filenames'.
6819         * wdired.el (wdired-change-to-wdired-mode):
6820         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6821         locally instead of changing `isearch-filter-predicate'.
6822         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6824 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
6826         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6827         return the commit hash (Bug#14459).  Also set the
6828         `vc-git-detached' property.
6829         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6830         (vc-git-mode-line-string): Use the same help-echo format whether
6831         in detached mode or not, because we know the actual revision now.
6832         When in detached mode, shorten the revision to 7 chars.
6834 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6836         * emacs-lisp/easy-mmode.el (define-minor-mode):
6837         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6838         mode hook and provide a docstring.
6840 2013-05-27  Alan Mackenzie  <acm@muc.de>
6842         Remove spurious syntax-table text properties inserted by C-y.
6843         * progmodes/cc-mode.el (c-after-change): Also clear hard
6844         syntax-table property with value nil.
6846 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
6848         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6849         when reading the events; the buffer layout shall not be changed.
6851 2013-05-27  Leo Liu  <sdl.web@gmail.com>
6853         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6854         New variable.
6855         (inferior-octave-directory-tracker): Automatically re-sync
6856         default-directory.
6857         (octave-help): Improve handling of 'See also'.
6859 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6861         * doc-view.el: Minor naming convention tweaks.
6862         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6864         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6865         even if there's no `display' property yet (bug#14435).
6867 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
6869         * subr.el (unmsys--file-name): Rename from reveal-filename.
6871         * Makefile.in (custom-deps, finder-data, autoloads)
6872         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6873         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6874         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6876 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6878         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6879         error-completion on the first 2 args of condition-case (bug#14446).
6880         Don't burp at EOB.
6882 2013-05-25  Leo Liu  <sdl.web@gmail.com>
6884         * comint.el (comint-previous-matching-input): Do not flood the
6885         *Messages* buffer with trivial messages.
6887 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6889         * progmodes/flymake.el (flymake-nop): Don't return a string.
6890         (flymake-set-at): Fix typo.
6892         * simple.el (read--expression): New function, extracted from
6893         eval-expression.  Set completion-at-point-functions (bug#14465).
6894         (eval-expression, eval-minibuffer): Use it.
6896 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
6898         * progmodes/flymake.el (flymake-save-buffer-in-file)
6899         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6900         (flymake-selected-frame, flymake-log, flymake-ins-after)
6901         (flymake-set-at, flymake-get-buildfile-from-cache)
6902         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6903         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6904         Refine the doc string.
6905         (flymake-get-file-name-mode-and-masks): Reformat.
6906         (flymake-get-real-file-name-function): Fix a minor bug.
6908 2013-05-24  Juri Linkov  <juri@jurta.org>
6910         * progmodes/grep.el (grep-mode-font-lock-keywords):
6911         Support =linenumber= format used by git-grep for lines with
6912         function names.  (Bug#13549)
6914 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6916         * progmodes/octave.el (octave-smie-rules): Return nil rather than
6917         0 after a semi-colon; it works better for smie-auto-fill.
6918         (octave--indent-new-comment-line): New function.
6919         (octave-indent-new-comment-line): Use it (indirectly).
6920         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
6921         modify comment-line-break-function.
6923         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6924         (smie-setup): Use add-function to set it.
6926 2013-05-24  Sam Steingold  <sds@gnu.org>
6928         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6929         argument (before the `interactive' argument).
6931 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6933         * image-mode.el (image-mode-winprops): Add winprops to
6934         image-mode-winprops-alist before running
6935         image-mode-new-window-functions.
6936         * doc-view.el (doc-view-new-window-function): Don't delay
6937         doc-view-goto-page via timers (bug#14435).
6939 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
6941         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
6942         (doc-view-desktop-save-buffer): New function.
6943         (doc-view-restore-desktop-buffer): New function.
6944         (desktop-buffer-mode-handlers):
6945         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6946         handler.
6947         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6948         `desktop-save-buffer' function.
6950 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
6952         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6953         (tramp-gvfs-file-name-handler): Raise a user error when
6954         `tramp-gvfs-enabled' is nil.
6955         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6956         Do not raise a user error when loading package.  (Bug#14447)
6958         * net/xesam.el: Move to obsolete/.
6960 2013-05-24  Glenn Morris  <rgm@gnu.org>
6962         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6964         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6966         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6967         (Info-find-node, Man-getpage-in-background): Declare.
6969         * mail/unrmail.el (unrmail):
6970         Replace obsolete detect-coding-with-priority.
6972         * net/socks.el (socks-split-string): Use this rather than split-string.
6973         (socks-nslookup-host): Update for above change.
6974         (dynamic-choice, s5-dynamic-choice-match)
6975         (s5-dynamic-choice-match-inline, s5-widget-value-create):
6976         Comment out unused code.
6978         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6979         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6980         (gud-tooltip-echo-area): Make obsolete.
6981         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6983         * progmodes/js.el (js--optimize-arglist): Declare.
6985         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6987         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6988         (ediff-window-C): Declare.
6990         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6991         Tweak requires to silence compiler.
6993         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6994         (he-search-string, he-tried-table, he-expand-list)
6995         (he-init-string, he-string-member, he-substitute-string)
6996         (he-reset-string): Declare.
6998         * obsolete/options.el (list-options): Use custom-variable-p,
6999         rather than obsolete alias.
7001 2013-05-23  Sam Steingold  <sds@gnu.org>
7003         * simple.el (shell-command-on-region): Pass the `replace' argument
7004         down to `call-process-region' to comply with the doc as reported on
7005         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7007 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7009         * emacs-lisp/smie.el (smie-indent-forward-token)
7010         (smie-indent-backward-token): Handle string tokens (bug#14381).
7012 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7014         * ielm.el (ielm-menu): New menu.
7015         (inferior-emacs-lisp-mode): Set comment-start.
7017 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7019         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7020         Fix deactivate action.
7022         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7023         Add cleveref macros.
7025         * lisp/textmodes/reftex-parse.el
7026         (reftex-locate-bibliography-files): Accept options for
7027         bibliography commands.
7028         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7029         Add addbibresource.  Basic Biblatex support.
7031 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
7033         * net/tramp-gvfs.el (top):
7034         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7035         when loading package.  (Bug#14447)
7037 2013-05-23  Glenn Morris  <rgm@gnu.org>
7039         * progmodes/js.el: No need to load comint when compiling.
7040         (ring-insert, comint-send-string, comint-send-input)
7041         (comint-last-input-end, ido-chop): Declare.
7043         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7044         * vc/ediff-mult.el: Adjust requires.
7045         (ediff-directories-internal, ediff-directory-revisions-internal)
7046         (ediff-patch-file-internal): Declare.
7047         * vc/ediff-ptch.el: Adjust requires.
7048         (ediff-use-last-dir, ediff-buffers-internal): Declare.
7049         (ediff-find-file): Autoload.
7050         * vc/ediff-util.el: No need to load ediff when compiling.
7051         (ediff-regions-internal): Declare.
7052         * vc/ediff-wind.el: Adjust requires.
7053         (ediff-compute-toolbar-width): Define when compiling.
7054         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7055         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7056         (dired-get-filename, dired-get-marked-files)
7057         (ediff-last-dir-patch, ediff-patch-default-directory)
7058         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7059         (ediff-patch-buffer-internal): Declare.
7061         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7062         (ispell-process, ispell-buffer-local-words, lm-summary)
7063         (lm-section-start, lm-section-end): Declare.
7064         (checkdoc-ispell-init): Simplify.
7066         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7067         (he-string-member, he-reset-string, he-substitute-string): Declare.
7069         * eshell/em-ls.el: Adjust requires.
7070         (eshell-glob-regexp): Declare.
7071         * eshell/em-tramp.el: Adjust requires.
7072         (eshell-parse-command): Autoload.
7073         * eshell/em-xtra.el: Adjust requires.
7074         (eshell-parse-command): Autoload.
7075         * eshell/esh-ext.el: Adjust requires.
7076         (eshell-parse-command, eshell-close-handles): Autoload.
7077         * eshell/esh-io.el: Adjust requires.
7078         (eshell-output-filter): Autoload.
7079         * eshell/esh-util.el: No need to load tramp when compiling.
7080         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7081         Declare.
7082         (eshell-parse-ange-ls): Require ange-ftp and tramp.
7083         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7084         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7085         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7086         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7087         * eshell/esh-opt.el, eshell/esh-proc.el:
7088         * eshell/esh-var.el: Adjust requires.
7089         * eshell/eshell.el: Do not require esh-util twice.
7090         (eshell-add-input-to-history): Declare.
7091         (eshell-command): Check history module is active before using it.
7093         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7095 2013-05-22  Leo Liu  <sdl.web@gmail.com>
7097         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7099 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
7101         * autorevert.el (auto-revert-notify-add-watch)
7102         (auto-revert-notify-handler): Add `attrib' for the inotify case,
7103         it indicates changes in file modification time.
7105 2013-05-22  Glenn Morris  <rgm@gnu.org>
7107         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7108         Always delete the autoloaded function from the noruntime and
7109         unresolved functions lists.
7111         * allout.el: No need to load epa, epg, overlay when compiling.
7112         (epg-context-set-passphrase-callback, epg-list-keys)
7113         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7114         (epg-key-user-id-list): Declare.
7116         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7117         (viper-set-parsing-style-toggling-macro)
7118         (viper-set-emacs-state-searchstyle-macros):
7119         Use called-interactively-p on Emacs.
7120         (viper-looking-back): Make it an obsolete alias.  Update callers.
7121         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7122         Use looking-back rather than viper-looking-back.
7123         (viper-tmp-insert-at-eob, viper-enlarge-region)
7124         (viper-read-string-with-history, viper-register-to-point)
7125         (viper-append-to-register, viper-change-state-to-vi)
7126         (viper-backward-char-carefully, viper-forward-char-carefully)
7127         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7128         (viper-change-state-to-emacs): Declare.
7129         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7130         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7131         * emulation/viper-mous.el: Do not load viper-cmd.
7132         (viper-backward-char-carefully, viper-forward-char-carefully)
7133         (viper-forward-word, viper-adjust-window): Declare.
7135         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7137         * progmodes/idlw-help.el (idlwave-help-fontify):
7138         Use called-interactively-p.
7140         * term/w32console.el (w32-get-console-codepage)
7141         (w32-get-console-output-codepage): Declare.
7143         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7144         Remove unnecessary declarations.
7145         (dframe-message): Doc fix.
7147         * info.el (dframe-select-attached-frame, dframe-current-frame):
7148         Declare.
7150         * speedbar.el (speedbar-message): Make it an obsolete alias.
7151         Update all callers.
7152         (speedbar-with-attached-buffer)
7153         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7154         (speedbar-with-writable): Use backquote.
7155         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7156         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7157         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7158         rather than speedbar- aliases.
7159         * mail/rmail.el: Load dframe rather than speedbar when compiling.
7160         (speedbar-make-specialized-keymap, speedbar-insert-button)
7161         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7162         (speedbar-do-function-pointer): Declare.
7163         (rmail-speedbar-button, rmail-speedbar-find-file)
7164         (rmail-speedbar-move-message):
7165         Use dframe-with-attached-buffer rather than speedbar- alias.
7166         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7167         (dframe-message, speedbar-make-specialized-keymap)
7168         (speedbar-add-expansion-list, speedbar-mode-functions-list)
7169         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7170         (speedbar-insert-button, dframe-select-attached-frame)
7171         (dframe-maybee-jump-to-attached-frame)
7172         (speedbar-change-initial-expansion-list)
7173         (speedbar-previously-used-expansion-list-name): Declare.
7174         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7175         Use dframe-message, dframe-with-attached-buffer rather than
7176         speedbar- aliases.
7177         (gud-sentinel): Silence compiler.
7178         * progmodes/vhdl-mode.el (speedbar-refresh)
7179         (speedbar-do-function-pointer, speedbar-add-supported-extension)
7180         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7181         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7182         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7183         (speedbar-file-lists, speedbar-make-tag-line)
7184         (speedbar-line-directory, speedbar-goto-this-file)
7185         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7186         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7187         (speedbar-make-button, speedbar-reset-scanners)
7188         (speedbar-files-item-info, speedbar-line-text)
7189         (speedbar-find-file-in-frame, speedbar-set-timer)
7190         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7191         (speedbar-with-writable): Do not (re)define it.
7192         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7193         rather than speedbar- alias.
7195 2013-05-21  Leo Liu  <sdl.web@gmail.com>
7197         * progmodes/octave.el (octave-mode-menu): Update and re-organize
7198         menu items.
7199         (octave-mode): Tweak fill-nobreak-predicate.
7200         (inferior-octave-startup): Check process to avoid infinite loop.
7201         (inferior-octave): Pop to buffer first to show abornmal process
7202         exit information.
7204 2013-05-21  Glenn Morris  <rgm@gnu.org>
7206         * printing.el (pr-menu-bar): Define when compiling.
7208 2013-05-21  Leo Liu  <sdl.web@gmail.com>
7210         * progmodes/octave.el (octave-auto-fill): Remove.
7211         (octave-indent-new-comment-line): Improve.
7212         (octave-mode): Use auto fill mode through
7213         comment-line-break-function and fill-nobreak-predicate.
7214         (octave-goto-function-definition): Support DEFUN_DLD.
7215         (octave-beginning-of-defun): Small tweak.
7216         (octave-help): Show parent directory.
7218 2013-05-21  Glenn Morris  <rgm@gnu.org>
7220         * files.el (dired-unmark):
7221         * progmodes/gud.el (gdb-input): Update declarations.
7223         * calculator.el (electric, ehelp): No need to load when compiling.
7224         (Electric-command-loop, electric-describe-mode): Declare.
7226         * doc-view.el (doc-view-current-converter-processes): Move before use.
7228         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7229         Move MODE-set-explicitly definition before use.
7231         * international/mule-diag.el (mule-diag):
7232         Don't use obsolete window-system-version.
7234         * mail/feedmail.el (smtpmail): No need to load when compiling.
7235         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7237         * mail/mail-utils.el (rfc822): No need to load when compiling.
7238         (rfc822-addresses): Autoload it.
7239         (mail-strip-quoted-names): Trivial simplification.
7241         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7242         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7244         * net/snmp-mode.el (tempo): Don't duplicate requires.
7246         * progmodes/prolog.el (info): No need to load when compiling.
7247         (comint): Require before shell requires it.
7248         (Info-goto-node): Autoload it.
7249         (Info-follow-nearest-node): Declare.
7250         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7252         * textmodes/artist.el (picture-mode-exit): Declare.
7254         * textmodes/reftex-parse.el (reftex-parse-from-file):
7255         Trivial rewrite so the compiler can parse it better.
7257 2013-05-20  Leo Liu  <sdl.web@gmail.com>
7259         * progmodes/octave.el (octave-help-mode-map)
7260         (octave-help-mode-finish-hook): New variables.
7261         (octave-help-mode, octave-help-mode-finish): New functions.
7262         (octave-help): Use octave-help-mode.
7264 2013-05-20  Glenn Morris  <rgm@gnu.org>
7266         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
7268 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
7270         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7271         start at point, so that expansion starting right after opening
7272         slash in a regexp is recognized.
7273         (ruby-syntax-before-regexp-re): New defvar, extracted from
7274         ruby-syntax-propertize-function.  Since the value of this regexp
7275         is looked up at runtime now, we should be able to turn
7276         `ruby-syntax-methods-before-regexp' into a defcustom later.
7277         (ruby-syntax-propertize-function): Split regexp matching into two
7278         parts, for opening and closing slashes.  That allows us to skip
7279         over string interpolations and support multiline regexps.
7280         Don't call `ruby-syntax-propertize-expansions', instead use another rule
7281         for them, which calls `ruby-syntax-propertize-expansion'.
7282         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7283         call to `ruby-syntax-propertize-function'.
7284         (ruby-syntax-propertize-expansion): Extracted from
7285         `ruby-syntax-propertize-expansions'.  Handles one expansion.
7286         (ruby-syntax-propertize-percent-literal): Leave point right after
7287         the percent symbol, so that the expression expansion rule can
7288         propertize the contents.
7289         (ruby-syntax-propertize-heredoc): Leave point at bol following the
7290         heredoc openers.
7291         (ruby-syntax-propertize-expansions): Remove.
7293 2013-05-18  Juri Linkov  <juri@jurta.org>
7295         * man.el (Man-default-man-entry): Remove `-' from the end
7296         of the default value.  (Bug#14400)
7298 2013-05-18  Glenn Morris  <rgm@gnu.org>
7300         * comint.el (comint-password-prompt-regexp):
7301         Allow "password for XXX" where XXX contains colons (eg https://...).
7303 2013-05-18  Leo Liu  <sdl.web@gmail.com>
7305         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7306         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
7307         (octave-source-directories): Don't check process.
7308         (octave-source-directories, octave-find-definition): Doc fix.
7310 2013-05-18  Glenn Morris  <rgm@gnu.org>
7312         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7313         Remove backspace/delete bindings.  (Bug#14392)
7315         * cus-dep.el (custom-make-dependencies): Sort the output.
7316         (custom-versions-load-alist): Convert comment to doc.
7318 2013-05-17  Leo Liu  <sdl.web@gmail.com>
7320         * newcomment.el (comment-search-backward): Stricter in finding
7321         comment start.  (Bug#14303)
7323         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7324         (octave-comment-start-skip): Properly anchored.
7326 2013-05-17  Leo Liu  <sdl.web@gmail.com>
7328         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7329         Clean up when turned off.  (Bug#14395)
7330         (smie--highlight-matching-block-overlay): No longer buffer-local.
7331         (smie-highlight-matching-block): Adjust.
7333 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
7335         Doc string fix for "nanoseconds" (Bug#14406).
7336         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7337         Fix doc string typo that had "nanoseconds" instead of "microseconds".
7339 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
7341         * calc/calc-units.el (math-extract-units): Preserve powers
7342         of units.
7344 2013-05-17  Leo Liu  <sdl.web@gmail.com>
7346         * subr.el (delete-consecutive-dups): New function.
7347         * ido.el (ido-set-matches-1): Use it.
7348         * progmodes/octave.el (inferior-octave-completion-table): Use it.
7349         * ido.el (ido-remove-consecutive-dups): Remove.
7351 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7353         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7354         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7355         regexp-opt's `words'.
7357 2013-05-16  Leo Liu  <sdl.web@gmail.com>
7359         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7360         (smie--highlight-matching-block-overlay)
7361         (smie--highlight-matching-block-lastpos)
7362         (smie--highlight-matching-block-timer): New variables.
7363         (smie-highlight-matching-block): New function.
7364         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
7365         (smie-setup): Conditionally enable smie-blink-matching-open.
7367 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
7369         Sync with upstream verilog-mode r840.
7370         * progmodes/verilog-mode.el (verilog-mode-version)
7371         (verilog-mode-release-date): Update.
7372         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7373         (verilog-sig-tieoff): Fix string error on
7374         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
7375         (verilog-read-decls): Fix parameters confusing
7376         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
7378 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
7380         * subr.el (reveal-filename): New function.
7382         * loadup.el: Compute Emacs executable versions on MS-Windows,
7383         where executables have the .exe extension.  Add a hard link
7384         emacs-XX.YY.ZZ.exe on MS-Windows.
7386         * Makefile.in (XARGS_LIMIT): New variable.
7387         (custom-deps, finder-data, autoloads)
7388         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7389         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7390         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7391         (compile-main): Limit xargs according to $(XARGS_LIMIT).
7393 2013-05-16  Leo Liu  <sdl.web@gmail.com>
7395         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7396         (octave-mode-menu, octave-mode-map): Remove its uses.
7398 2013-05-16  Reto Zimmermann  <reto@gnu.org>
7400         Sync with upstream vhdl mode v3.34.2.
7401         * progmodes/vhdl-mode.el: Use `push' throughout.
7402         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7403         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7404         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
7405         (vhdl-actual-generic-name): New option to derive actual generic name.
7406         (vhdl-port-paste-signals): Replace formal by actual generics.
7407         (vhdl-beautify): New name for old group vhdl-align.  Update users.
7408         (vhdl-beautify-options): New option.
7409         (vhdl-last-input-event): New compat alias.  Use throughout.
7410         (vhdl-goto-line): Replace user level function `goto-line'.
7411         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7412         vhdl-fix-statement-buffer.
7413         (vhdl-create-mode-menu): Add some entries.
7414         (vhdl-align-region-groups): Respect vhdl-beautify-options.
7415         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7416         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7417         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7418         to force statements on one line.
7419         (vhdl-remove-trailing-spaces-region):
7420         New, split from vhdl-remove-trailing-spaces.
7421         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7422         Respect vhdl-beautify-options.
7423         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7424         (vhdl-update-sensitivity-list): Not add with index if exists without.
7425         Not include array index with signal.  Ignore keywords in comments.
7426         (vhdl-get-visible-signals): Regexp tweaks.
7427         (vhdl-template-component-inst): Handle empty library.
7428         (vhdl-template-type): Add template for 'enum' type.
7429         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7430         Use vhdl-replace-string.
7431         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7432         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7433         (vhdl-speedbar-initialize): Update for above name change.
7434         (vhdl-compose-wire-components): Fix in handling of constants.
7435         (vhdl-error-regexp-emacs-alist): New variable.
7436         (vhdl-error-regexp-add-emacs): New function;
7437         adds support for new compile.el (Emacs 22+)
7438         (vhdl-generate-makefile-1): Change target order for single lib. units.
7439         Allow use of absolute file names.
7441 2013-05-16  Leo Liu  <sdl.web@gmail.com>
7443         * simple.el (prog-indent-sexp): Indent enclosing defun.
7445 2013-05-15  Glenn Morris  <rgm@gnu.org>
7447         * cus-start.el (show-trailing-whitespace): Move to editing basics.
7448         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7449         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7450         (whitespace-highlight): Move to whitespace group.
7452         * comint.el (comint-source):
7453         * pcmpl-linux.el (pcmpl-linux):
7454         * shell.el (shell-faces):
7455         * eshell/esh-opt.el (eshell-opt):
7456         * international/ccl.el (ccl): Remove empty custom groups.
7458         * completion.el (dynamic-completion-mode):
7459         * jit-lock.el (jit-lock-debug-mode):
7460         * minibuffer.el (completion-in-region-mode):
7461         * type-break.el (type-break-mode-line-message-mode)
7462         (type-break-query-mode):
7463         * emulation/tpu-edt.el (tpu-edt-mode):
7464         * progmodes/subword.el (global-subword-mode, global-superword-mode):
7465         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7466         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7468         * term/xterm.el (xterm): Change parent group to terminals.
7470         * master.el (master): Remove empty custom group.
7471         (master-mode): Remove unused :group argument.
7472         * textmodes/refill.el (refill): Remove empty custom group.
7473         (refill-mode): Remove unused :group argument.
7475         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7477         * cus-dep.el: Provide a feature.
7478         (custom-make-dependencies): Ignore dotfiles (dir-locals).
7479         Don't mistakenly ignore files whose basenames match a basename
7480         from preloaded-file-list (eg cedet/ede/simple.el).
7481         Add a fallback method for getting :group.
7483 2013-05-15  Juri Linkov  <juri@jurta.org>
7485         * isearch.el (isearch-char-by-name): Rename from
7486         `isearch-insert-char-by-name'.  Doc fix.
7487         (isearch-forward): Mention `isearch-char-by-name' in
7488         the docstring.  (Bug#13348)
7490         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7491         `exit-minibuffer' instead of
7492         `isearch-nonincremental-exit-minibuffer'.
7493         (isearch-edit-string): Remove mention of
7494         `isearch-nonincremental-exit-minibuffer' from docstring.
7495         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7496         (isearch-forward-exit-minibuffer)
7497         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
7499 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7501         * loadup.el: Just use unversioned DOC.
7503         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7504         literals as extending to EOB.
7505         (nxml-last-fontify-end): Remove unused variable.
7506         (nxml-after-change1): Use with-silent-modifications.
7507         (nxml-extend-after-change-region): Simplify.
7508         (nxml-extend-after-change-region1): Remove function.
7509         (nxml-after-change1): Don't adjust for dependent regions.
7510         (nxml-fontify-matcher): Simplify.
7511         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7512         (xmltok-add-dependent): Remove function.
7513         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7514         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7515         (xmltok-scan-prolog-after-processing-instruction-open): Treat
7516         unclosed <[[, <?, comment, and other literals as extending to EOB.
7517         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7518         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7519         Remove functions.
7520         (rng-do-some-validation-1): Don't mark dependent regions.
7521         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7522         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7523         (nxml-clear-dependent-regions): Remove functions.
7524         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7525         (nxml-ensure-scan-up-to-date):
7526         Don't clear&mark dependent regions.
7528 2013-05-15  Leo Liu  <sdl.web@gmail.com>
7530         * progmodes/octave.el (octave-goto-function-definition):
7531         Improve and fix callers.
7533 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7535         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7536         the setter (bug#14387).
7538         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7539         surrounding group (bug#14402).
7541 2013-05-14  Juri Linkov  <juri@jurta.org>
7543         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7544         (Bug#14390)
7546 2013-05-14  Glenn Morris  <rgm@gnu.org>
7548         * progmodes/f90.el (f90-imenu-generic-expression):
7549         Fix typo in 2013-05-08 change.  (Bug#14402)
7551 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
7553         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7554         Remove signals for which replies are never received.
7556 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
7558         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7559         (gdb-handler-alist, gdb-handler-number): Remove variables.
7560         (gdb-handler-list): New variable.
7561         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7562         (gdb-pending-handler-p, gdb-handle-reply)
7563         (gdb-remove-all-pending-triggers): New functions.
7564         (gdb-discard-unordered-replies): New defcustom.
7565         (gdb-handler): New defstruct.
7566         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
7567         instead of gdb-pending-triggers.  Update docstring.
7568         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
7569         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7570         (gdb-var-update-handler, def-gdb-auto-update-trigger)
7571         (def-gdb-auto-update-handler, gdb-get-changed-registers)
7572         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7573         (gdb-frame-handler): Pending triggers are now automatically managed.
7574         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7575         Remove argument.
7576         (gdb-input): Automatically handles pending triggers.  Update docstring.
7577         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7578         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7579         Update comments.
7580         (gdb-done-or-error): Now use gdb-handle-reply.
7582 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
7584         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7585         gdb-debug-log.
7587 2013-05-14  Glenn Morris  <rgm@gnu.org>
7589         * subr.el (user-emacs-directory-warning): New option.
7590         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
7592 2013-05-14  Leo Liu  <sdl.web@gmail.com>
7594         * progmodes/octave.el (octave-font-lock-keywords): Fix error
7595         during redisplay.
7596         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7597         (octave-font-lock-texinfo-comment): Fix invalid search bound
7598         error: wrong side of point.
7600 2013-05-14  Glenn Morris  <rgm@gnu.org>
7602         * progmodes/flymake.el (flymake-xml-program): New option.
7603         (flymake-xml-init): Use it.
7605         * term/xterm.el: Provide a feature.
7607         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
7609 2013-05-13  Glenn Morris  <rgm@gnu.org>
7611         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7612         Add compat aliases as a hack workaround.  (Bug#14384)
7614 2013-05-13  Leo Liu  <sdl.web@gmail.com>
7616         * progmodes/octave.el (octave-indent-comment): Fix indentation for
7617         ###, and %!.
7618         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7619         C-M-q.
7620         (octave-comment-start-skip): Include %!.
7621         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7623 2013-05-12  Leo Liu  <sdl.web@gmail.com>
7625         * progmodes/octave.el (inferior-octave-startup): Store the value
7626         of __octave_srcdir__ for octave-source-directories.
7627         (inferior-octave-check-process): New function refactored out of
7628         inferior-octave-send-list-and-digest.
7629         (octave-source-directories)
7630         (octave-find-definition-filename-function): New variables.
7631         (octave-source-directories)
7632         (octave-find-definition-default-filename): New functions.
7633         (octave-find-definition): Improve to find functions implemented in C++.
7635 2013-05-12  Glenn Morris  <rgm@gnu.org>
7637         * calendar/diary-lib.el (diary-outlook-format-1):
7638         Don't include dayname in the output.  (Bug#14349)
7640 2013-05-11  Glenn Morris  <rgm@gnu.org>
7642         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7644         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7645         Treat cc-provide like provide.
7647 2013-05-11  Kevin Ryde  <user42@zip.com.au>
7649         * cus-dep.el (custom-make-dependencies):
7650         Use generated-autoload-load-name for the sake of files such
7651         such cedet/semantic/bovine/c.el, where the base file name
7652         is not in load-path.  (Bug#5277)
7654 2013-05-11  Glenn Morris  <rgm@gnu.org>
7656         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7657         Provide features.
7659 2013-05-11  Leo Liu  <sdl.web@gmail.com>
7661         * progmodes/octave.el (octave-indent-comment): Improve.
7662         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7663         (octave-eldoc-function-signatures, octave-eldoc-function):
7664         New functions.
7665         (octave-mode, inferior-octave-mode): Add eldoc support.
7667 2013-05-11  Richard Stallman  <rms@gnu.org>
7669         * epa.el (epa-decrypt-file): Take output file name as argument
7670         and read it using `interactive'.
7672 2013-05-11  Leo Liu  <sdl.web@gmail.com>
7674         * progmodes/octave.el (octave-beginning-of-line)
7675         (octave-end-of-line): Check before using up-list because it jumps
7676         out of more syntactic contructs since moving to smie.
7677         (octave-indent-comment): New function.
7678         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
7679         (octave-begin-keywords, octave-end-keywords)
7680         (octave-reserved-words, octave-smie-bnf-table)
7681         (octave-smie-rules): Add new keywords from Octave 3.6.4.
7683 2013-05-11  Glenn Morris  <rgm@gnu.org>
7685         * faces.el (internal-face-x-get-resource):
7686         * frame.el (ns-display-monitor-attributes-list):
7687         * calc/calc-aent.el (math-to-radians-2):
7688         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7689         Fix declarations.
7691         * calc/calc-menu.el: Make it loadable in isolation.
7693         * net/eudcb-bbdb.el: Make it loadable without bbdb.
7694         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7695         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7696         (eudc-bbdb-query-internal): Require 'bbdb.
7698         * lpr.el (lpr-headers-switches):
7699         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7701         * progmodes/sql.el (sql-login-params): Fix and improve :type.
7703         * emulation/edt-mapper.el: In batch mode, error rather than hang.
7705         * term.el (term-set-escape-char): Make it idempotent.
7707 2013-05-10  Leo Liu  <sdl.web@gmail.com>
7709         * progmodes/octave.el (inferior-octave-completion-table):
7710         No longer a function and all uses changed.  Use cache to speed up
7711         completion due to bug#11906.
7712         (octave-beginning-of-defun): Re-write to be more general.
7714 2013-05-10  Glenn Morris  <rgm@gnu.org>
7716         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7718 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7720         * comint.el (comint-redirect-send-command-to-process): Use :around
7721         rather than :override for comint-redirect-filter.
7722         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7723         Call it instead of comint-redirect-original-filter-function (which
7724         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
7726 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
7728         * frame.el (display-monitor-attributes-list): Add NS case.
7729         (ns-display-monitor-attributes-list): Declare.
7731 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
7733         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
7735 2013-05-09  Glenn Morris  <rgm@gnu.org>
7737         * international/fontset.el (vertical-centering-font-regexp):
7738         Set standard-value.
7740         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7742         * bookmark.el (bookmark-search-delay):
7743         * cus-start.el (vertical-centering-font-regexp):
7744         * ps-mule.el (ps-mule-font-info-database-default):
7745         * ps-print.el (ps-default-fg, ps-default-bg):
7746         * type-break.el (type-break-good-break-interval):
7747         * whitespace.el (whitespace-indentation-regexp)
7748         (whitespace-space-after-tab-regexp):
7749         * emacs-lisp/testcover.el (testcover-1value-functions)
7750         (testcover-noreturn-functions, testcover-progn-functions)
7751         (testcover-prog1-functions):
7752         * emulation/viper-init.el (viper-emacs-state-cursor-color):
7753         * eshell/em-glob.el (eshell-glob-translate-alist):
7754         * play/tetris.el (tetris-tty-colors):
7755         * progmodes/cpp.el (cpp-face-default-list):
7756         * progmodes/flymake.el (flymake-allowed-file-name-masks):
7757         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7758         (idlwave-help-browser-generic-args):
7759         * progmodes/make-mode.el (makefile-special-targets-list):
7760         * progmodes/python.el (python-shell-virtualenv-path):
7761         * progmodes/verilog-mode.el (verilog-active-low-regexp)
7762         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7763         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7764         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7765         * textmodes/reftex-vars.el (reftex-format-label-function):
7766         * textmodes/remember.el (remember-diary-file): Fix custom types.
7768         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7769         Add :version.
7771 2013-05-09  Leo Liu  <sdl.web@gmail.com>
7773         * progmodes/octave.el (inferior-octave-completion-at-point):
7774         Restore file completion.  (Bug#14300)
7775         (inferior-octave-startup): Fix incorrect highlighting for the
7776         first prompt.
7778 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7780         * progmodes/ruby-mode.el: First cut at SMIE support.
7781         (ruby-use-smie): New var.
7782         (ruby-smie-grammar): New constant.
7783         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7784         (ruby-smie--forward-token, ruby-smie--backward-token)
7785         (ruby-smie-rules): New functions.
7786         (ruby-mode-variables): Setup SMIE if applicable.
7788 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
7790         * simple.el (line-move-visual): Signal beginning/end of buffer
7791         only if vertical-motion moved less than it was requested.  Avoids
7792         silly incorrect error messages when there are display strings with
7793         multiple newlines at EOL.
7795 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7797         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7798         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7799         (prolog-char-quote-workaround):
7800         * progmodes/cperl-mode.el (cperl-under-as-char):
7801         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7802         Mark as obsolete.
7803         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7804         their declaration.
7805         (vhdl-mode-syntax-table-init): Remove.
7807         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7808         last change.
7810         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7811         syntax for "_".
7812         (ld-script-font-lock-keywords):
7813         Change regexps to use things like \_< and \_>.
7815         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7816         Change all regexps to use things like \_< and \_>.
7818         * progmodes/autoconf.el (autoconf-definition-regexp)
7819         (autoconf-font-lock-keywords, autoconf-current-defun-function):
7820         Handle a _ with symbol syntax.
7821         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7823         * progmodes/ada-mode.el (ada-mode-abbrev-table):
7824         Consolidate declaration.
7825         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7826         the declaration.
7827         (ada-create-syntax-table): Remove.
7828         (ada-capitalize-word): Don't mess with the syntax of "_" since it
7829         already has the right syntax nowadays.
7830         (ada-goto-next-word): Don't change the syntax of "_".
7832         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7833         with-wrapper-hook.
7835 2013-05-08  Sam Steingold  <sds@gnu.org>
7837         * thingatpt.el (thing-at-point): Accept optional second argument
7838         NO-PROPERTIES to strip the text properties from the return value.
7839         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7840         to `thing-at-point' instead of stripping the properties ourselves.
7841         Also, when `thing-at-point' fails to find a url, prepend "http://"
7842         to the filename at point on the assumption that the user is
7843         pointing at something like gnu.org/gnu.
7845 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
7847         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7848         * faces.el (crm-separator):
7849         Silence byte-compiler.
7851         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7852         (tool-bar-map): Remove unneeded defvars.
7854 2013-05-08  Leo Liu  <sdl.web@gmail.com>
7856         Re-work a fix for bug#10994 based on Le Wang's patch.
7857         * ido.el (ido-remove-consecutive-dups): New helper.
7858         (ido-completing-read): Use it.
7859         (ido-chop): Revert fix for bug#10994.
7861 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
7863         * cus-edit.el (custom-save-variables):
7864         Pretty-print long values.  (Bug#14187)
7866 2013-05-08  Glenn Morris  <rgm@gnu.org>
7868         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7869         (m4-mode-syntax-table): Init in the defvar.
7870         (m4-mode-abbrev-table): Let define-derived-mode define it.
7872 2013-05-08  Tom Tromey  <tromey@redhat.com>
7874         * progmodes/m4-mode.el (m4-mode-syntax-table):
7875         Do not treat "_" as word constituent.  (Bug#14167)
7877 2013-05-07  Glenn Morris  <rgm@gnu.org>
7879         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7880         Remove explicit eshell-isearch-cancel-map.
7882         * progmodes/f90.el (f90-smart-end-names): New option.
7883         (f90-smart-end): Doc fix.
7884         (f90-end-block-optional-name): New constant.
7885         (f90-block-match): Respect f90-smart-end-names.
7887 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7889         * progmodes/octave.el (octave-smie-forward-token): Be more careful
7890         about implicit semi-colons (bug#14218).
7892 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7894         * frame.el (display-monitor-attributes-list)
7895         (frame-monitor-attributes): New functions.
7897 2013-05-06  Leo Liu  <sdl.web@gmail.com>
7899         * progmodes/octave.el (octave-syntax-propertize-function): Change
7900         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
7901         (octave-font-lock-keywords): Use octave-operator-regexp.
7902         (octave-completion-at-point): Rename from
7903         octave-completion-at-point-function.
7904         (inferior-octave-directory-tracker): Robustify.
7905         (octave-text-functions): Remove and fix its uses.  No such things
7906         any more.
7908 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7910         * emacs-lisp/trace.el (trace--display-buffer): New function.
7911         (trace-make-advice): Use it.
7913 2013-05-06  Juri Linkov  <juri@jurta.org>
7915         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
7916         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7917         Doc fix.
7918         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7919         in the help string.  (Bug#12985)
7921 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
7923         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
7925 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7927         * progmodes/perl-mode.el: Add support for here documents.
7928         (perl-syntax-propertize-function): Match here-doc markers.
7929         (perl-syntax-propertize-special-constructs): Find their end.
7930         (perl-imenu-generic-expression): Use [:alnum:].
7932         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7933         (advice--add-function): Refresh the advice if already present
7934         (bug#14317).
7936 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
7938         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
7940 2013-05-06  Glenn Morris  <rgm@gnu.org>
7942         * w32-fns.el (w32-charset-info-alist): Declare.
7944         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7945         of its defcustom properties.
7946         (eshell-cmpl-initialize): No need to load pcomplete.
7948         * generic-x.el: No need to require comint when compiling.
7950         * net/eudc-export.el: Make it loadable without bbdb.
7951         (top-level): Use require rather than load-library.
7952         (eudc-create-bbdb-record, eudc-bbdbify-phone)
7953         (eudc-batch-export-records-to-bbdb)
7954         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7955         Require bbdb.
7957 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7959         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7960         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7961         some tweaks, instead.
7963 2013-05-05  Leo Liu  <sdl.web@gmail.com>
7965         * progmodes/octave.el (octave-font-lock-keywords)
7966         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7967         (inferior-octave-send-list-and-digest): Improve error message.
7968         (octave-mode, inferior-octave-mode): Use setq-local.
7969         (octave-help): Set info-lookup-mode.
7971 2013-05-05  Richard Stallman  <rms@gnu.org>
7973         * vc/compare-w.el (compare-windows-whitespace):
7974         Treat no-break space as whitespace.
7976         * mail/rmailsum.el (rmail-summary-rmail-update):
7977         Detect empty summary and don't change selected message.
7978         (rmail-summary-goto-msg): Likewise.
7980         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7981         Doc fixes, rename args.
7983 2013-05-05  Alan Mackenzie  <acm@muc.de>
7985         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7987 2013-05-05  Juri Linkov  <juri@jurta.org>
7989         * info.el (Info-read-subfile): Use (point-min) instead of (point)
7990         to not add the length of the summary segment to the return value.
7991         (Bug#14125)
7993 2013-05-05  Leo Liu  <sdl.web@gmail.com>
7995         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7996         (inferior-octave-output-filter): Remove.
7997         (octave-send-region, inferior-octave-startup): Fix callers.
7998         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7999         (octave-binary-file-extensions): New user variable.
8000         (octave-find-definition): Confirm if opening binary files.
8001         (octave-help-file): Use octave-find-definition to get the binary
8002         confirmation.
8003         (octave-help): Adjust for octave-help-file change.
8005 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8007         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8008         Merge the two entries that handle function definitions.
8009         (pascal--syntax-propertize): New const.
8010         (pascal-mode): Use it.  Use setq-local.
8012 2013-05-04  Glenn Morris  <rgm@gnu.org>
8014         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8015         (diary-from-outlook): Respect diary-from-outlook-function.
8017 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8019         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8020         Move the declaration from C.
8021         (read-minibuffer, eval-minibuffer): Move from C.
8022         (completion-setup-function): Avoid minibuffer-completion-contents.
8024 2013-05-03  Leo Liu  <sdl.web@gmail.com>
8026         * progmodes/octave.el (octave-font-lock-keywords): Do not
8027         dehighlight 'end' in comments or strings.
8028         (octave-completing-read, octave-goto-function-definition):
8029         New helpers.
8030         (octave-help-buffer): New user variable.
8031         (octave-help-file, octave-help-function): New button types.
8032         (octave-help): New command and bind it to C-h ;.
8033         (octave-find-definition): New command and bind it to M-.
8034         (user-error): Alias to error if not defined.
8036 2013-05-02  Leo Liu  <sdl.web@gmail.com>
8038         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8039         for \.  (bug#14332)
8040         (octave-font-lock-keywords): Include [ and {.
8042 2013-05-02  Leo Liu  <sdl.web@gmail.com>
8044         * progmodes/octave.el (inferior-octave-startup-file): Change default.
8045         (inferior-octave): Remove calling comint-mode and return the buffer.
8046         (inferior-octave-startup): Cosmetic changes.
8048 2013-05-02  Leo Liu  <sdl.web@gmail.com>
8050         * progmodes/octave.el (octave-syntax-propertize-function):
8051         Include the case when ' is at line beginning.  (Bug#14336)
8053 2013-05-02  Glenn Morris  <rgm@gnu.org>
8055         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8056         * desktop.el (vc-dir-mode): Just autoload it here.
8058 2013-05-02  Alan Mackenzie  <acm@muc.de>
8060         Eliminate variable c-standard-font-lock-fontify-region-function.
8061         * progmodes/cc-mode.el
8062         (c-standard-font-lock-fontify-region-function): Remove.
8063         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8065 2013-05-01  Leo Liu  <sdl.web@gmail.com>
8067         * progmodes/octave.el: Compatible with older emacs-24 releases.
8068         (inferior-octave-has-built-in-variables): Remove.  Built-in
8069         variables were removed from Octave in 2007.
8070         (inferior-octave-startup): Fix uses.
8071         (comint-line-beginning-position): Remove compatibility code for
8072         emacs 21.
8074 2013-05-01  Juri Linkov  <juri@jurta.org>
8076         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
8078 2013-05-01  Juri Linkov  <juri@jurta.org>
8080         * comint.el (comint-previous-matching-input): Don't print message
8081         "History item: %d" when `isearch-mode' is active.
8082         (comint-history-isearch-message): Print message "History item: %d"
8083         when `comint-input-ring-index' is not empty and this function is
8084         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
8086 2013-05-01  Leo Liu  <sdl.web@gmail.com>
8088         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8089         definitions.  Use completion-at-point to insert keywords.
8090         (octave-abbrev-start): Remove.
8091         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8093 2013-04-30  Leo Liu  <sdl.web@gmail.com>
8095         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8096         change.
8098 2013-04-30  Alan Mackenzie  <acm@muc.de>
8100         Handle arbitrarily long C++ member initialisation lists.
8101         * progmodes/cc-engine.el (c-back-over-member-initializers):
8102         new function.
8103         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8104         (most) member init lists.
8106 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8108         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8109         variable.
8111 2013-04-30  Leo Liu  <sdl.web@gmail.com>
8113         * progmodes/octave.el (octave-variables): Remove.  No builtin
8114         variables any more.  All converted to functions.
8115         (octave-font-lock-keywords, octave-completion-at-point-function):
8116         Fix uses.
8117         (octave-font-lock-texinfo-comment): New user variable.
8118         (octave-texinfo-font-lock-keywords): New variable for texinfo
8119         comment block.
8120         (octave-function-comment-block): New face.
8121         (octave-font-lock-texinfo-comment): New function.
8122         (octave-mode): Font lock texinfo comment block.
8124 2013-04-29  Leo Liu  <sdl.web@gmail.com>
8126         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8127         indexing expression.
8128         (octave-continuation-string): Do not use \.
8129         (inferior-octave-complete-impossible): Remove.
8130         (inferior-octave-completion-table)
8131         (inferior-octave-completion-at-point): Remove its uses.
8132         (inferior-octave-startup): completion_matches was introduced to
8133         Octave in 1996 so safe to assume it.
8134         (octave-function-file-comment): Improve to follow how Octave does it.
8135         (octave-update-function-file-comment): Tweak.
8137 2013-04-29  Leo Liu  <sdl.web@gmail.com>
8139         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8140         (inferior-octave-startup): Remove inferior-octave-startup-hook.
8141         (octave-function-file-comment): Fix typo.
8142         (octave-sync-function-file-names): Use read-char-choice.
8144 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
8146         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8147         to t for the less important warnings.
8149 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
8151         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
8153 2013-04-27  Glenn Morris  <rgm@gnu.org>
8155         * vc/log-view.el (log-view-current-entry):
8156         Treat "---" separator lines as part of the following rev.  (Bug#14169)
8158 2013-04-27  Juri Linkov  <juri@jurta.org>
8160         * subr.el (read-number): Doc fix about using it by interactive
8161         code letter `n'.  (Bug#14254)
8163 2013-04-27  Juri Linkov  <juri@jurta.org>
8165         * desktop.el (desktop-auto-save-timeout): New option.
8166         (desktop-file-checksum): New variable.
8167         (desktop-save): Add optional arg `auto-save' and don't auto-save
8168         if nothing changed.
8169         (desktop-auto-save-timer): New variable.
8170         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8171         (after-init-hook): Call `desktop-auto-save-set-timer'.
8172         Suggested by Reuben Thomas <rrt@sc3d.org> in
8173         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8175 2013-04-27  Leo Liu  <sdl.web@gmail.com>
8177         * progmodes/octave.el (octave-function-file-p)
8178         (octave-skip-comment-forward, octave-function-file-comment)
8179         (octave-update-function-file-comment): New functions.
8180         (octave-mode-map): Bind C-c ; to
8181         octave-update-function-file-comment.
8182         (octave-mode-menu): Add octave-update-function-file-comment.
8183         (octave-mode, inferior-octave-mode): Fix doc-string.
8184         (octave-insert-defun): Conform to Octave's coding convention.
8185         (Bug#14285)
8187         * files.el (basic-save-buffer): Don't let errors in
8188         before-save-hook prevent saving buffer.
8190 2013-04-20  Roland Winkler  <winkler@gnu.org>
8192         * faces.el (read-face-name): Use completing-read if arg multiple
8193         is nil.
8195 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
8197         * ls-lisp.el (ls-lisp-insert-directory): If no files are
8198         displayed, move point to after the totals line.
8199         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8200         for the details.
8202 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8204         * emacs-lisp/package.el (package-autoload-ensure-default-file):
8205         Add current dir to the load-path.
8206         (package-generate-autoloads): Don't rely on
8207         autoload-ensure-default-file.
8209 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
8211         * textmodes/remember.el (remember-store-in-files): Document that
8212         the file name format is passed to `format-time-string'.
8214 2013-04-26  Leo Liu  <sdl.web@gmail.com>
8216         * progmodes/octave.el (octave-sync-function-file-names): New function.
8217         (octave-mode): Use it in before-save-hook.
8219 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8221         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8222         (bug#14274).
8224         * progmodes/octave.el (octave-smie-forward-token): Properly skip
8225         \n and comment, even if it's not an implicit ; (bug#14218).
8227 2013-04-26  Glenn Morris  <rgm@gnu.org>
8229         * subr.el (read-number): Once more use `read' rather than
8230         `string-to-number', to trap non-numeric input.  (Bug#14254)
8232 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
8234         * emacs-lisp/syntax.el (syntax-propertize-multiline):
8235         Use `syntax-multiline' text property consistently instead of
8236         `font-lock-multiline'.  (Bug#14237)
8238 2013-04-26  Glenn Morris  <rgm@gnu.org>
8240         * emacs-lisp/shadow.el (list-load-path-shadows):
8241         No longer necessary to check for duplicate simple.el, since
8242         2012-07-07 change to init_lread to not include installation lisp
8243         directories in load-path when running uninstalled.  (Bug#14270)
8245 2013-04-26  Leo Liu  <sdl.web@gmail.com>
8247         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8248         (octave-mode, inferior-octave-mode): Use setq-local.
8249         (octave-not-in-string-or-comment-p): Rename to
8250         octave-in-string-or-comment-p.
8251         (octave-in-comment-p, octave-in-string-p)
8252         (octave-in-string-or-comment-p): Replace defsubst with defun.
8254 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
8256         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8258 2013-04-25  Bastien Guerry  <bzg@gnu.org>
8260         * textmodes/remember.el (remember-data-directory)
8261         (remember-directory-file-name-format): Fix custom types.
8263 2013-04-25  Leo Liu  <sdl.web@gmail.com>
8265         * progmodes/octave.el (octave-completion-at-point-function):
8266         Make use of inferior octave process.
8267         (octave-initialize-completions): Remove.
8268         (inferior-octave-completion-table): New function.
8269         (inferior-octave-completion-at-point): Use it.
8270         (octave-completion-alist): Remove.
8272 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8274         * progmodes/opascal.el: Use font-lock and syntax-propertize.
8275         (opascal-mode-syntax-table): New var.
8276         (opascal-literal-kind, opascal-is-literal-end)
8277         (opascal-literal-token-at): Rewrite.
8278         (opascal--literal-start-re, opascal-font-lock-keywords)
8279         (opascal--syntax-propertize): New constants.
8280         (opascal-font-lock-defaults): Adjust.
8281         (opascal-mode): Use them.  Set comment-<foo> variables as well.
8282         (delphi-comment-face, opascal-comment-face, delphi-string-face)
8283         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8284         (delphi-other-face, opascal-other-face): Remove face variables.
8285         (opascal-save-state): Remove macro.
8286         (opascal-fontifying-progress-step): Remove constant.
8287         (opascal--ignore-changes): Remove var.
8288         (opascal-set-token-property, opascal-parse-next-literal)
8289         (opascal-is-stable-literal, opascal-complete-literal)
8290         (opascal-is-literal-start, opascal-face-of)
8291         (opascal-parse-region, opascal-parse-region-until-stable)
8292         (opascal-fontify-region, opascal-after-change)
8293         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8294         (opascal-debug-parse-region, opascal-debug-parse-window)
8295         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8296         (opascal-debug-fontify-buffer): Remove.
8297         (opascal-debug-mode-map): Adjust accordingly.
8299 2013-04-25  Leo Liu  <sdl.web@gmail.com>
8301         Merge octave-mod.el and octave-inf.el into octave.el with some
8302         cleanups.
8303         * progmodes/octave.el: New file renamed from octave-mod.el.
8304         * progmodes/octave-inf.el: Merged into octave.el.
8305         * progmodes/octave-mod.el: Renamed to octave.el.
8307 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
8309         * textmodes/reftex-vars.el
8310         (reftex-label-ignored-macros-and-environments): New defcustom.
8312         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8314 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8316         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8317         (smie-indent-keyword): Improve the check to ensure that the next
8318         comment is really on the same line.
8319         (smie-indent-comment): Don't align with a subsequent closer (or eob).
8321         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8322         semi-colons if the line is not otherwise empty (bug#14218).
8324 2013-04-25  Glenn Morris  <rgm@gnu.org>
8326         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8328 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8330         * progmodes/opascal.el (opascal-set-token-property): Rename from
8331         opascal-set-text-properties and only set `token' (bug#14134).
8332         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8333         (opascal-literal-text-properties): Remove.
8334         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8335         Adjust callers.
8337 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
8339         * textmodes/remember.el (remember-handler-functions): Add an
8340         option for a new handler `remember-store-in-files'.
8341         (remember-data-directory, remember-directory-file-name-format):
8342         New options.
8343         (remember-store-in-files): New function to store remember notes
8344         as separate files within a directory.
8346 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
8348         * progmodes/compile.el (compilation-next-error-function):
8349         Pass "formats" to compilation-find-file (bug#11777).
8351 2013-04-24  Glenn Morris  <rgm@gnu.org>
8353         * vc/vc-bzr.el (vc-bzr-print-log):
8354         * vc/vc-hg.el (vc-hg-print-log):
8355         * vc/vc-svn.el (vc-svn-print-log):
8356         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
8358         * vc/vc-bzr.el (vc-bzr-print-log):
8359         * vc/vc-cvs.el (vc-cvs-print-log):
8360         * vc/vc-git.el (vc-git-print-log):
8361         * vc/vc-hg.el (vc-hg-print-log):
8362         * vc/vc-mtn.el (vc-mtn-print-log):
8363         * vc/vc-rcs.el (vc-rcs-print-log):
8364         * vc/vc-sccs.el (vc-sccs-print-log):
8365         * vc/vc-svn.el (vc-svn-print-log):
8366         * vc/vc.el (vc-print-log-internal): Doc fixes.
8368 2013-04-23  Glenn Morris  <rgm@gnu.org>
8370         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8371         Remove venerable code attempting to avoid substitute-command-keys.
8373 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
8375         * textmodes/reftex-vars.el (reftex-label-regexps):
8376         Call `reftex-compile-variables' after changes to this variable.
8378 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8380         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8381         Use lexical-binding.
8382         (jit-lock-force-redisplay): Use markers, check buffer's continued
8383         existence and beware narrowed buffers.
8384         (jit-lock-fontify-now): Adjust call accordingly.
8386 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8388         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8389         to avoid misleading the user.
8391 2013-04-22  Leo Liu  <sdl.web@gmail.com>
8393         * info-look.el: Prefer latex2e.info.  (Bug#14240)
8395 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
8397         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
8399         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8400         * net/tramp.el (tramp-call-process): ... here.
8401         (tramp-set-completion-function, tramp-parse-putty):
8402         * net/tramp-adb.el (tramp-adb-execute-adb-command):
8403         * net/tramp-gvfs.el (tramp-gvfs-send-command):
8404         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8405         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8406         (tramp-call-local-coding-command): Use `tramp-call-process'
8407         instead of `tramp-compat-call-process'.
8409         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8410         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8411         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8412         (tramp-find-inline-compress): Improve traces.
8413         (tramp-maybe-send-script): Check for Perl binary.
8414         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8416 2013-04-22  Daiki Ueno  <ueno@gnu.org>
8418         * epg.el (epg-context-pinentry-mode): New function.
8419         (epg-context-set-pinentry-mode): New function.
8420         (epg--start): Pass --pinentry-mode option to gpg command.
8422 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
8424         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8425         `comint-dynamic-complete' is obsolete since 24.1, replaced by
8426         `completion-at-point'.  (Bug#13774)
8428         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8429         default key binding for `describe-distribution' has been moved to
8430         `C-h C-o'.  (Bug#13970)
8432 2013-04-21  Glenn Morris  <rgm@gnu.org>
8434         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8435         Add doc strings.
8436         (vc-print-log): Clarify interactive prompt.
8438 2013-04-20  Glenn Morris  <rgm@gnu.org>
8440         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8441         No longer include timestamp etc information.
8443 2013-04-20  Roland Winkler  <winkler@gnu.org>
8445         * faces.el (read-face-name): Bug fix, return just one face if arg
8446         multiple is nil.  (Bug#14209)
8448 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8450         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8451         (remove-function): Autoload.
8453         * comint.el (comint-redirect-original-filter-function): Remove.
8454         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8455         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8456         (vc-cvs-annotate-command):
8457         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8458         * progmodes/prolog.el (prolog-consult-compile):
8459         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8460         Use add/remove-function instead.
8461         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8462         (gud-tooltip-process-output, gud-tooltip-tips):
8463         Use add/remove-function instead.
8464         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8465         (scheme-interaction-mode, exit-scheme-interaction-mode):
8466         Use add/remove-function instead.
8468         * vc/vc-dispatcher.el: Use lexical-binding.
8469         (vc--process-sentinel): Rename from vc-process-sentinel.
8470         Change last arg to be the code to run.  Don't use vc-previous-sentinel
8471         and vc-sentinel-commands any more.
8472         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
8473         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8475 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
8477         * progmodes/sh-script.el (sh-imenu-generic-expression):
8478         Handle function names with a single character.   (Bug#14111)
8480 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
8482         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8483         for subroutines defined in an eval (bug#14182).
8485 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8487         * bookmark.el (bookmark-completing-read): Improve handling of empty
8488         string (bug#14176).
8490 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8492         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8494 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8496         New faster Imenu implementation (bug#14058).
8497         * progmodes/python.el:
8498         (python-imenu-prev-index-position):
8499         (python-imenu-format-item-label-function)
8500         (python-imenu-format-parent-item-label-function)
8501         (python-imenu-format-parent-item-jump-label-function):
8502         New vars.
8503         (python-imenu-format-item-label)
8504         (python-imenu-format-parent-item-label)
8505         (python-imenu-format-parent-item-jump-label)
8506         (python-imenu--put-parent, python-imenu--build-tree)
8507         (python-imenu-create-index, python-imenu-create-flat-index)
8508         (python-util-popn): New functions.
8509         (python-mode): Set imenu-create-index-function to
8510         python-imenu-create-index.
8512 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8514         * winner.el (winner-active-region): Use region-active-p, activate-mark
8515         and deactivate-mark (bug#14225).
8517         * simple.el (deactivate-mark): Don't inline it.
8519 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
8521         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8523 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
8525         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8526         file extensions from the archive-mode entry in order to prefer
8527         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8529 2013-04-18  Leo Liu  <sdl.web@gmail.com>
8531         * bindings.el (help-event-list): Add ?\?.
8533 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8535         * subr.el (with-wrapper-hook): Declare obsolete.
8536         * simple.el (filter-buffer-substring-function): New hook.
8537         (filter-buffer-substring): Use it.
8538         (filter-buffer-substring-functions): Mark obsolete.
8539         * minibuffer.el (completion-in-region-function): New hook.
8540         (completion-in-region): Use it.
8541         (completion-in-region-functions): Mark obsolete.
8542         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8543         * abbrev.el (abbrev-expand-function): New hook.
8544         (expand-abbrev): Use it.
8545         (abbrev-expand-functions): Mark obsolete.
8546         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8547         and :filter-return.
8549 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8551         * progmodes/python.el (python-nav--syntactically): Fix cornercases
8552         and do not care about match data.
8554 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8556         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8557         completion tables when completing error conditions and
8558         `declare' arguments.
8559         (lisp-complete-symbol, field-complete): Mark as obsolete.
8560         (check-parens): Unmatched parens are user errors.
8561         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8563 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
8565         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8566         command changed buffer (ie. `flyspell-pre-buffer' is not current
8567         buffer), which prevents making decisions based on invalid value of
8568         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
8569         cause an error when `flyspell-pre-point' was nil after switching
8570         buffers.
8571         (flyspell-post-command-hook): No longer needs to change buffers when
8572         checking pre-word.  While at it remove unnecessary progn.
8574 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
8576         * textmodes/ispell.el (ispell-add-per-file-word-list):
8577         Fix `flyspell-correct-word-before-point' error when accepting
8578         words and `coment-padding' is an integer by using
8579         `comment-normalize-vars' (Bug #14214).
8581 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8583         New defun movement commands.
8584         * progmodes/python.el (python-nav--syntactically)
8585         (python-nav--forward-defun, python-nav-backward-defun)
8586         (python-nav-forward-defun): New functions.
8588 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8590         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8591         (python-syntax-context): Use named compiler-macro for backwards
8592         compatibility with Emacs 24.x.
8594 2013-04-17  Leo Liu  <sdl.web@gmail.com>
8596         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8597         octave-hide-process-buffer.
8599 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8601         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8602         (bug#14216).
8604 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
8606         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8607         Fix adjustment of offset when receiving incomplete responses from GDB
8608         (bug#14129).
8610 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8612         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8613         python-mode-abbrev-table.
8614         (python-skeleton-define): Adjust accordingly.
8615         (python-mode-abbrev-table): New table that inherits from it so that
8616         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8618         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8619         (abbrev-symbol): Use it.
8620         (abbrev--before-point): Use it since we already handle inheritance.
8622 2013-04-16  Leo Liu  <sdl.web@gmail.com>
8624         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8625         binding to info-lookup-symbol.
8627 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
8629         * minibuffer.el (completion--twq-all):
8630         * term/ns-win.el (ns-initialize-window-system):
8631         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8633 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8635         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8636         global bindings.
8638         * doc-view.el (doc-view-start-process): Handle url-handler directories.
8640 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
8642         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8643         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8644         to nil.
8645         (ruby-end-of-defun): Remove the unused arg, change the docstring
8646         to reflect that this function is only used as the value of
8647         `end-of-defun-function'.
8648         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8649         to reflect an earlier change that beginning/end-of-defun functions
8650         jump between methods in a class definition, as well as top-level
8651         functions.
8653 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8655         * minibuffer.el (minibuffer-complete): Don't just scroll
8656         a *Completions* that's been iconified.
8657         (minibuffer-force-complete): Make sure repetitions do cycle when going
8658         through completion-in-region -> minibuffer-complete.
8660 2013-04-15  Alan Mackenzie  <acm@muc.de>
8662         Correct the placement of c-cpp-delimiters when there're #s not at
8663         col 0.
8665         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8666         place a submatch around the #.
8667         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8668         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
8669         on the #, not BOL.
8671 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8673         * emacs-lisp/nadvice.el: Properly test names when adding advice.
8674         (advice--member-p): New arg `name'.
8675         (advice--add-function, advice-member-p): Use it (bug#14202).
8677 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
8679         Reformulate java imenu-generic-expression.
8680         The old expression contained ill formed regexps.
8682         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8683         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8684         (cc-imenu-java-method-arg-regexp): New defconsts.
8685         (cc-imenu-java-build-type-args-regex): New defun.
8686         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8687         handling of spaces in the regexp.
8689 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8691         * textmodes/ispell.el (ispell-command-loop): Remove
8692         flyspell highlight of a word when ispell accepts it (bug #14178).
8694 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
8696         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8697         uses code from the previous `ange-ftp-run-real-handler'.
8698         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8699         only in case that function exist.  This is needed for proper
8700         unloading of Tramp.
8702 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
8704         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8706         * textmodes/reftex.el (reftex-compile-variables): Use it.
8708 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8710         * files.el (normal-mode): Only use default major-mode if no other mode
8711         was specified.
8713         * emacs-lisp/trace.el (trace-values): New function.
8715         * files.el: Allow : in local variables (bug#14089).
8716         (hack-local-variable-regexp): New var.
8717         (hack-local-variables-prop-line, hack-local-variables): Use it.
8719 2013-04-13  Roland Winkler  <winkler@gnu.org>
8721         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
8722         data before it gets modified by bibtex-beginning-of-entry.
8724 2013-04-13  Roland Winkler  <winkler@gnu.org>
8726         * textmodes/bibtex.el (bibtex-url): Doc fix.
8728 2013-04-13  Roland Winkler  <winkler@gnu.org>
8730         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8731         does not visit a BibTeX file, exclude it from the list of buffers
8732         returned by bibtex-initialize.
8734 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
8736         * window.el (split-window): Remove interactive form, since as a
8737         command this function is a special case of split-window-below.
8738         Correct doc string.
8740 2013-04-12  Roland Winkler  <winkler@gnu.org>
8742         * faces.el (read-face-name): Do not override value of arg default.
8743         Allow single faces and strings as default values.  Remove those
8744         elements from return value that are not faces.
8745         (describe-face): Simplify.
8746         (face-at-point): New optional args thing and multiple so that this
8747         function can provide the same functionality previously provided by
8748         read-face-name.
8749         (make-face-bold, make-face-unbold, make-face-italic)
8750         (make-face-unitalic, make-face-bold-italic, invert-face)
8751         (modify-face, read-face-and-attribute): Use face-at-point.
8753         * cus-edit.el (customize-face, customize-face-other-window)
8754         * cus-theme.el (custom-theme-add-face)
8755         * face-remap.el (buffer-face-set)
8756         * facemenu.el (facemenu-set-face): Use face-at-point.
8758 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
8760         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8762 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
8764         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8765         off leading { and trailing } from field values.
8767 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8769         * emacs-lisp/timer.el (timer--check): New function.
8770         (timer--time, timer-set-function, timer-event-handler): Use it.
8771         (timer-set-idle-time): Simplify.
8772         (timer--activate): CSE.
8773         (timer-event-handler): Give more info in error message.
8774         (internal-timer-start-idle): New function, moved from C.
8776         * mpc.el (mpc-proc): Add `restart' argument.
8777         (mpc-proc-cmd): Use it.
8778         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8779         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8780         less often.
8782 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
8784         * progmodes/sh-script.el: Implement `sh-mode' own
8785         `add-log-current-defun-function' (bug#14112).
8786         (sh-current-defun-name): New function.
8787         (sh-mode): Use the function.
8789 2013-04-09  Bastien Guerry  <bzg@gnu.org>
8791         * simple.el (choose-completion-string): Fix docstring (bug#14163).
8793 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8795         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8797         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8798         timer (bug#14156).
8800 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
8802         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8803         declaration.
8805 2013-04-07  Leo Liu  <sdl.web@gmail.com>
8807         * pcmpl-x.el: New file.
8809 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
8811         Do not set x-display-name until X connection is established.
8812         This is needed to prevent from weird situation described at
8813         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8814         * frame.el (make-frame): Set x-display-name after call to
8815         window system initialization function, not before.
8816         * term/x-win.el (x-initialize-window-system): Add optional
8817         display argument and use it.
8818         * term/w32-win.el (w32-initialize-window-system):
8819         * term/ns-win.el (ns-initialize-window-system):
8820         * term/pc-win.el (msdos-initialize-window-system):
8821         Add compatible optional display argument.
8823 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
8825         * files.el (normal-backup-enable-predicate): On MS-Windows and
8826         MS-DOS compare truenames of temporary-file-directory and of the
8827         file, so that 8+3 aliases (usually found in $TEMP on Windows)
8828         don't fail comparison by compare-strings.  Also, compare file
8829         names case-insensitively on MS-Windows and MS-DOS.
8831 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8833         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8834         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8836 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
8838         * whitespace.el (whitespace-color-on, whitespace-color-off):
8839         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8841 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
8843         * ispell.el (ispell-set-spellchecker-params):
8844         Really set `ispell-args' for all equivs.
8846 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8848         * ido.el (ido-completions): Use extra elements of ido-decorations
8849         (bug#14143).
8850         (ido-decorations): Update docstring.
8852 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
8854         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8855         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8856         nil during initialization, in order not to miss changes since the
8857         file was opened.  (Bug#14140)
8859 2013-04-05  Leo Liu  <sdl.web@gmail.com>
8861         * kmacro.el (kmacro-call-macro): Fix bug#14135.
8863 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
8865         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8867 2013-04-04  Glenn Morris  <rgm@gnu.org>
8869         * electric.el (electric-pair-inhibit-predicate): Add :version.
8871 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8873         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8874         when a package is required several times (bug#14082).
8876 2013-04-04  Roland Winkler  <winkler@gnu.org>
8878         * faces.el (read-face-name): Behave as promised by the docstring.
8879         Assume that arg default is a list of faces.
8880         (describe-face): Call read-face-name with list of default faces.
8882 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8884         * bookmark.el: Fix deletion of bookmarks (bug#13972).
8885         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8886         (bookmark-bmenu-execute-deletions): Only skip first line if it's
8887         the header.
8888         (bookmark-exit-hook-internal): Save even if list is empty.
8890 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
8892         * emacs-lisp/package.el (package-pinned-packages): New var.
8893         (package--add-to-archive-contents): Obey it (bug#14118).
8895 2013-04-03  Alan Mackenzie  <acm@muc.de>
8897         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8898         Also adapt to the new values of element 7 of a parse state.
8900         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8901         parameter `not-in-delimiter'.  Handle being inside comment opener.
8902         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8903         character in case we're typing a '*' after a '/'.
8904         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8905         instead by passing the parameter to c-state-pp-to-literal.
8907         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8908         for elt. 7 of a parse state.
8910 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
8912         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8913         * international/latin1-disp.el, international/mule-util.el:
8914         * language/cyril-util.el, language/european.el, language/ind-util.el:
8915         * language/lao-util.el, language/thai.el, language/tibet-util.el:
8916         * language/tibetan.el, language/viet-util.el:
8917         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8919 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8921         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8922         (electric-pair-post-self-insert-function): Use it.
8923         (electric-pair-default-inhibit): New function, extracted from
8924         electric-pair-post-self-insert-function.
8926 2013-03-31  Roland Winkler  <winkler@gnu.org>
8928         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8930 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8932         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8934 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
8936         Un-indent after "pass" and "return" statements (Bug#13888)
8937         * progmodes/python.el (python-indent-block-enders): New var.
8938         (python-indent-calculate-indentation): Use it.
8940 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
8942         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8943         defun.  Defining it as defalias could introduce too eager
8944         byte-compiler optimization.  (Bug#14030)
8946 2013-03-30  Chong Yidong  <cyd@gnu.org>
8948         * iswitchb.el (iswitchb-read-buffer): Fix typo.
8950 2013-03-30  Leo Liu  <sdl.web@gmail.com>
8952         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8953         (kmacro-execute-from-register): Pass the keyboard macro to
8954         kmacro-call-macro or repeating won't work correctly.
8956 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
8958         * progmodes/subword.el: Back to using `forward-symbol'.
8960         * subr.el (forward-whitespace, forward-symbol)
8961         (forward-same-syntax): Move from thingatpt.el.
8963 2013-03-29  Leo Liu  <sdl.web@gmail.com>
8965         * kmacro.el (kmacro-to-register): New command.
8966         (kmacro-execute-from-register): New function.
8967         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
8969 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8971         * mpc.el: Use defvar-local and setq-local.
8972         (mpc--proc-connect): Connection failures are not bugs.
8973         (mpc-mode-map): `follow-link' only applies to the buffer's content.
8974         (mpc-volume-map): Bind to the up-events.
8976 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
8978         * progmodes/subword.el (superword-mode): Use `forward-sexp'
8979         instead of `forward-symbol'.
8981 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8983         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8984         (edebug--recursive-edit): Use it.
8985         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8986         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8988 2013-03-28  Leo Liu  <sdl.web@gmail.com>
8990         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
8992 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
8994         * facemenu.el (list-colors-callback): New defvar.
8995         (list-colors-redisplay): New function.
8996         (list-colors-display): Install list-colors-redisplay as the
8997         revert-buffer-function.  (Bug#14063)
8999 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9001         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9002         and suffixes don't overlap (bug#14061).
9004         * case-table.el: Use lexical-binding.
9005         (case-table-get-table): New function.
9006         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
9008 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
9010         * progmodes/subword.el: Add `superword-mode' to do word motion
9011         over symbol_words (parallels and leverages `subword-mode' which
9012         does word motion inside MixedCaseWords).
9014 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
9016         * eshell/em-unix.el: Move su and sudo to...
9017         * eshell/em-tramp.el: ...Eshell tramp module.
9019 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9021         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9022         Change return value to be a sexp.  Delay `get-buffer' to after
9023         restoring the desktop (bug#13951).
9025 2013-03-26  Leo Liu  <sdl.web@gmail.com>
9027         * register.el: Move semantic tag handling back to
9028         cedet/semantic/senator.el.  (Bug#14052)
9030 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9032         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9033         into the prompt either (bug#13963).
9035 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9037         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9038         part of "(error-foo)".
9040 2013-03-24  Juri Linkov  <juri@jurta.org>
9042         * replace.el (list-matching-lines-prefix-face): New defcustom.
9043         (occur-1): Pass `list-matching-lines-prefix-face' to the function
9044         `occur-engine' if `face-differs-from-default-p' returns t.
9045         (occur-engine): Add `,' inside backquote construct to evaluate
9046         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
9047         Pass `prefix-face' to the functions `occur-context-lines' and
9048         `occur-engine-add-prefix'.
9049         (occur-engine-add-prefix, occur-context-lines): Add optional arg
9050         `prefix-face' and propertize the prefix with `prefix-face'.
9051         (Bug#14017)
9053 2013-03-24  Leo Liu  <sdl.web@gmail.com>
9055         * nxml/rng-valid.el (rng-validate-while-idle)
9056         (rng-validate-quick-while-idle): Guard against deleted buffer.
9057         (Bug#13999)
9059         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9060         is the last entry in kill-buffer-hook.
9062         * files.el (kill-buffer-hook): Doc fix.
9064 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
9066         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9067         Make it safe-local.
9069         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9071 2013-03-23  Leo Liu  <sdl.web@gmail.com>
9073         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9074         Remove.
9076         * nxml/rng-valid.el (rng-validate-mode)
9077         (rng-after-change-function, rng-do-some-validation):
9078         * nxml/rng-maint.el (rng-validate-buffer):
9079         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9080         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9081         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9082         (nxml-extend-after-change-region): Use with-silent-modifications.
9084         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9085         timer-idle-list.
9087         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9088         (rng-next-error-1, rng-previous-error-1): Do not let-bind
9089         timer-idle-list.  (Bug#13999)
9091 2013-03-23  Juri Linkov  <juri@jurta.org>
9093         * info.el (info-index-match): New face.
9094         (Info-index, Info-apropos-matches): Add a nested subgroup to the
9095         main pattern and add text properties with the new face to matches
9096         in index entries relative to the beginning of the index entry.
9097         (Bug#14015)
9099 2013-03-21  Eric Ludlam  <zappo@gnu.org>
9101         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9102         Inhibit read only while inserting objects.
9104 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
9106         * progmodes/cfengine.el: Update docs to mention
9107         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
9108         symbol motion.  Remove "_" from the word syntax.
9110 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
9112         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9113         syntax for both `cfengine2-mode' and `cfengine3-mode'.
9115 2013-03-20  Juri Linkov  <juri@jurta.org>
9117         * info.el (Info-next-reference-or-link)
9118         (Info-prev-reference-or-link): New functions.
9119         (Info-next-reference, Info-prev-reference): Use them.
9120         (Info-try-follow-nearest-node): Handle footnote navigation.
9121         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
9123 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9125         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9126         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9128 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
9130         Suppress unnecessary non-ASCII chatter during build process.
9131         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9132         (batch-skkdic-convert): Suppress most of the chatter.
9133         It's not needed so much now that machines are faster,
9134         and its non-ASCII component was confusing; see Dmitry Gutov in
9135         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9137 2013-03-20  Leo Liu  <sdl.web@gmail.com>
9139         * ido.el (ido-chop): Fix bug#10994.
9141 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
9143         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9144         Remove vars.
9145         (whitespace-color-on, whitespace-color-off):
9146         Use `font-lock-fontify-buffer' (Bug#13817).
9148 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9150         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9151         remapping in mode-line.
9152         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9154 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
9156         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9157         value for `whitespace-line' face (Bug#13875).
9158         (whitespace-font-lock-keywords): Change description.
9159         (whitespace-color-on): Don't save `font-lock-keywords' value, save
9160         the constructed keywords instead.
9161         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9163 2013-03-19  Leo Liu  <sdl.web@gmail.com>
9165         * progmodes/compile.el (compilation-display-error): New command.
9166         (compilation-mode-map, compilation-minor-mode-map): Bind it to
9167         C-o.  (Bug#13992)
9169 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
9171         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9173 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
9175         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9177 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
9179         * net/tramp-compat.el (tramp-compat-user-error): New defun.
9181         * net/tramp-adb.el (tramp-adb-handle-shell-command):
9182         * net/tramp-gvfs.el (top):
9183         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9184         (tramp-handle-shell-command): Use it.
9185         (tramp-dissect-file-name): Raise an error when hostname is a
9186         method name, and neither method nor user is specified.
9188         * net/trampver.el: Update release number.
9190 2013-03-18  Leo Liu  <sdl.web@gmail.com>
9192         Make sure eldoc can be turned off properly.
9193         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9194         eldoc-mode.
9195         (eldoc-display-message-p): Revert last change.
9196         (eldoc-display-message-no-interference-p)
9197         (eldoc-print-current-symbol-info): Tweak.
9199 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
9201         * doc-view.el (doc-view-new-window-function): Check the new window
9202         overlay's display property instead the char property of the
9203         buffer's first char.  Use `with-selected-window' instead of
9204         `save-window-excursion' with `select-window'.
9205         (doc-view-document->bitmap): Check the current doc-view overlay's
9206         display property instead the char property of the buffer's first char.
9208 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
9210         Automate the build of ja-dic.el (Bug#13984).
9211         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9212         from the input, rather than assume that it's been done for us by the
9213         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
9214         the current date into a ja-dic.el comment, as that complicates
9215         regression testing.
9217 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9219         * whitespace.el: Fix double evaluation.
9220         (whitespace-space, whitespace-hspace, whitespace-tab)
9221         (whitespace-newline, whitespace-trailing, whitespace-line)
9222         (whitespace-space-before-tab, whitespace-indentation)
9223         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9224         obsolete defvars.
9225         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9226         (whitespace-color-on): Use a single font-lock-add-keywords call.
9227         Fix double-evaluation of face variables.
9229 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
9231         * net/tramp-adb.el (tramp-adb-parse-device-names):
9232         Use `start-process' instead of `call-process'.  Otherwise, the
9233         function might be blocked under MS Windows.  (Bug#13299)
9235 2013-03-17  Leo Liu  <sdl.web@gmail.com>
9237         Extend eldoc to display info in the mode-line.  (Bug#13978)
9238         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9239         (eldoc-mode-line-string): New variable.
9240         (eldoc-minibuffer-message): New function.
9241         (eldoc-message-function): New variable.
9242         (eldoc-message): Use it.
9243         (eldoc-display-message-p)
9244         (eldoc-display-message-no-interference-p):
9245         Support eldoc-post-insert-mode.
9247         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9248         (eval-expression): Run it.
9250 2013-03-17  Roland Winkler  <winkler@gnu.org>
9252         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9253         strings in the list of return values.
9255 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
9257         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9258         radix before checking for HMS forms.
9260 2013-03-16  Leo Liu  <sdl.web@gmail.com>
9262         * progmodes/scheme.el: Add indentation and font-locking for λ.
9263         (Bug#13975)
9265 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9267         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9268         token before point (bug#13942).
9270 2013-03-16  Leo Liu  <sdl.web@gmail.com>
9272         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
9274 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
9276         * startup.el (command-line-normalize-file-name): Fix handling of
9277         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
9278         <xfq.free@gmail.com> in
9279         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9281 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
9283         Sync with Tramp 2.2.7.
9285         * net/trampver.el: Update release number.
9287 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
9289         * doc-view.el: Fix bug#13887.
9290         (doc-view-insert-image): Don't modify overlay associated to
9291         non-live windows, and implement horizontal centering of image in
9292         case it's smaller than the window.
9293         (doc-view-new-window-function): Force redisplay of new windows on
9294         doc-view buffers.
9296 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
9298         * saveplace.el (save-place-alist-to-file): Don't sort
9299         `save-place-alist', just pretty-print it (bug#13882).
9301 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
9303         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9304         Check whether `default-file-name-coding-system' is bound.
9305         It isn't in XEmacs.
9307 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9309         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9310         backquotes for `obsolete' (bug#13929).
9312         * international/mule.el (find-auto-coding): Include file name in
9313         obsolescence warning (bug#13922).
9315 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
9317         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9318         for CFEngine 3-specific indentation.
9319         (cfengine3-indent-line): Use it.  Fix up category regex.
9320         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9322 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9324         * type-break.el (type-break-file-name):
9325         * textmodes/remember.el (remember-data-file):
9326         * strokes.el (strokes-file):
9327         * shadowfile.el (shadow-initialize):
9328         * saveplace.el (save-place-file):
9329         * ps-bdf.el (bdf-cache-file):
9330         * progmodes/idlwave.el (idlwave-config-directory):
9331         * net/quickurl.el (quickurl-url-file):
9332         * international/kkc.el (kkc-init-file-name):
9333         * ido.el (ido-save-directory-list-file):
9334         * emulation/viper.el (viper-custom-file-name):
9335         * emulation/vip.el (vip-startup-file):
9336         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9337         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9339 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
9341         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9342         * language/thai-word.el: Switch to UTF-8.
9344 See ChangeLog.16 for earlier changes.
9346 ;; Local Variables:
9347 ;; coding: utf-8
9348 ;; End:
9350   Copyright (C) 2011-2013 Free Software Foundation, Inc.
9352   This file is part of GNU Emacs.
9354   GNU Emacs is free software: you can redistribute it and/or modify
9355   it under the terms of the GNU General Public License as published by
9356   the Free Software Foundation, either version 3 of the License, or
9357   (at your option) any later version.
9359   GNU Emacs is distributed in the hope that it will be useful,
9360   but WITHOUT ANY WARRANTY; without even the implied warranty of
9361   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9362   GNU General Public License for more details.
9364   You should have received a copy of the GNU General Public License
9365   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.