doc/emacs/misc.texi (Network Security): Improve wording and indexing.
[emacs.git] / lisp / ChangeLog
blob35141b6557e25b5d8d3c0207691f6e9f011ee9fa
1 2014-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * vc/vc-hooks.el (vc-state-base-face): Don't override
4         mode-line-inactive.
6 2014-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8         * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
9         (eww-process-text-input): Inhibit read only so that input fields
10         don't get shortened (bug#19085).
12 2014-11-24  Leo Liu  <sdl.web@gmail.com>
14         * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
16         * window.el (with-temp-buffer-window)
17         (with-current-buffer-window, with-displayed-buffer-window):
18         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
19         * emacs-lisp/cl-lib.el (substring):
20         * emacs-lisp/cl-extra.el (cl-getf): Use it.
22 2014-11-24  Eli Zaretskii  <eliz@gnu.org>
24         * isearch.el (isearch-update): Don't assume
25         pos-visible-in-window-p will return nil when point is hscrolled
26         out of view.  (Bug#19157)
28 2014-11-20  Andrey Kotlarski  <m00naticus@gmail.com>
30         * net/eww.el (eww-browse-url): Optionally create new eww buffer.
31         (eww-follow-link): Follow in new buffer in case of prefix
32         argument, open externally with double prefix (bug#19130).
34 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
36         * net/eww.el (eww-display-html): Decode the document-defined charset.
37         (eww): Pop to the *eww* buffer immediately after executing the
38         `M-x eww' command to avoid having buffers pop up later.
39         (eww-display-html): Don't pop the *eww* buffer.
40         (eww-display-raw): Ditto.
41         (eww-display-image): Ditto.
42         (eww-follow-link): Make going to #targets in the page work again.
44 2014-11-23  Ivan Shmakov  <ivan@siamics.net>
46         * net/eww.el (eww-suggest-uris): New variable.
47         (eww-suggested-uris): New function.
48         (eww): Default to URL under point.
49         (eww-links-at-point): New function.
51 2014-11-20  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
53         * net/eww.el (eww-add-bookmark): Fix bookmark titles.
55 2014-11-17  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
57         * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
59 2014-11-23  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
61         * net/eww.el (eww-set-character-encoding): New command and keystroke.
62         (eww-display-raw): Use it (bug#16225).
64 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
66         * net/nsm.el (network-security-level): Rename from
67         `nsm-security-level' and documented.
69         * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
70         we're sending a password.
72         * net/nsm.el: New file that implements a Network Security Manager.
74         * net/network-stream.el (open-network-stream): Add a new
75         :warn-unless-encrypted parameter.
76         (network-stream-open-plain): Allow warning unless encrypted.
77         (network-stream-open-starttls): Call the Network Security Manager.
78         (network-stream-open-tls): Ditto.
80 2014-11-23  Leo Liu  <sdl.web@gmail.com>
82         * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
83         (calendar-chinese-to-absolute-for-diary)
84         (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
85         Handle leap months in Chinese calendar.  (Bug#18953)
87 2014-11-22  Alan Mackenzie  <acm@muc.de>
89         Fix error with `mark-defun' and "protected:" in C++ Mode.
90         Fixes: debbugs:19134.
92         * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
93         return code of (label) from c-beginning-of-decl-1.
95 2014-11-22  Ulf Jasper  <ulf.jasper@web.de>
97         * net/newst-backend.el (newsticker--sentinel-work): Tell
98         `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
100 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
102         * net/tramp-sh.el (tramp-sh-handle-start-file-process)
103         (tramp-sh-handle-process-file): Propagate `process-environment'.
105         * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
106         Tramp propagates environment variables now.
108 2014-11-22  Eric S. Raymond  <esr@snark>
110         * vc/vc-filewise.el: New file to isolate code used only by the
111         file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
112         live in vc.el and certainly not in vc-hooks.el.
114         * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name  -> vc-master-name.
115         This is preaparatory to isolating all the 'master' functions
116         used only by the file-oriented back ends.  With this done first,
117         the substantive diffs will be easier to read.
119 2014-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
121         * play/morse.el (nato-alphabet): Mark URL in docstring in a way
122         that is recognized by `help-mode'.
124 2014-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
126         * desktop.el (desktop-create-buffer): Use activate-mark to set
127         `mark-active' (bug#19058).
129 2014-11-21  Eric S. Raymond  <esr@snark>
131         * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
132         nil state.
134 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
136         * vc/vc.el (vc-deduce-fileset): Support invocation from
137         *vc-change-log* buffer.  (Bug#19084)
139 2014-11-13  Matthew Leach  <matthew@mattleach.net>
141         * arc-mode.el (archive-visit-single-files): New.
142         (archive-mode): Visit file if archive contains a single file.
143         (Bug#1702)
145 2014-11-21  Ulrich Müller  <ulm@gentoo.org>
147         * vc/vc.el: Fix a typo in the commentary.
149 2014-11-20  Eric S. Raymond  <esr@snark.thyrsus.com>
151         * vc/vc-src.el, vc/vc.el: Added support for SRC.  Needs more
152         testing and a real log-view mode.
154         * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el,
155         vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el,
156         vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
157         checkout methods; where it matters (which is only in SCCS and RCS)
158         files are always checked out editable.  This may actually have
159         been dynamically true already - it looks like the vc-next-action
160         code evolved past visiting the other case.  Tested with RCS.
162         * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el,
163         vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el,
164         vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
165         argument from the backend checkin methods.  Only the RCS, SCCS,
166         and CVS back ends tried to do anything with it, and that code was
167         never exercised.  Chiseling away the cruft of decades...
169 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
171         * net/eww.el (eww-render): Remove a no-op :title setting.
173 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
175         * net/eww.el (eww-history-limit): New variable.
176         (eww-save-history): Use it (bug#19105).
177         (eww-reload): Reload the page in the right buffer.
179 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
181         * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
183 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
185         * net/eww.el (eww-desktop-remove-duplicates)
186         (eww-restore-desktop, eww-restore-reload-prompt): New variables.
187         (eww-mode): Set up desktop mode (bug#18010).
188         (eww-desktop-data-save, eww-desktop-data-1)
189         (eww-desktop-history-duplicate, eww-desktop-misc-data)
190         (eww-restore-desktop): New functions.
192 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
194         * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
195         correct buffer.  (Bug#19101)
197 2014-11-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
199         Fix bug#19099.
200         * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
201         `diff-switches' if `vc-git-diff-switches' is nil.
203 2014-11-18  Juri Linkov  <juri@linkov.net>
205         * simple.el (next-line-or-history-element): Wrap next-line
206         in with-no-warnings.
207         (previous-line-or-history-element): Wrap previous-line
208         in with-no-warnings.
210 2014-11-18  Juri Linkov  <juri@linkov.net>
212         * progmodes/grep.el (grep-compute-defaults):
213         Compute grep-highlight-matches before its use.
215 2014-11-18  Juri Linkov  <juri@linkov.net>
217         * replace.el (query-replace-from-to-separator): Turn defvar into
218         defcustom.  Wrap char-displayable-p in ignore-errors because an
219         attempt to autoload char-displayable-p fails during pre-loading.
220         Move (propertize "\0" ... 'separator t) out of customizable part
221         to query-replace-read-from.
222         (query-replace-read-from): Call custom-reevaluate-setting on
223         query-replace-from-to-separator to reevaluate the separator
224         depending on the return value of char-displayable-p.
225         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
227 2014-11-18  Juri Linkov  <juri@linkov.net>
229         * bindings.el (minibuffer-local-map): Rebind [down] from
230         next-history-element to next-line-or-history-element, and [up]
231         from previous-history-element to previous-line-or-history-element.
233         * simple.el (next-line-or-history-element)
234         (previous-line-or-history-element): New commands.
235         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
237 2014-11-18  Leo Liu  <sdl.web@gmail.com>
239         * emacs-lisp/nadvice.el (define-advice): New macro.
240         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
241         Add define-advice.
242         (lisp-font-lock-keywords-1): Add define-advice.
244 2014-11-18  Daiki Ueno  <ueno@gnu.org>
246         * epg.el (epg-context): New slot EDIT-CALLBACK.
247         (epg--process-filter): Call EDIT-CALLBACK when editing a key.
248         (epg-reset): Reset EDIT-CALLBACK of the context.
249         (epg-start-edit-key): New function.
250         (epg-edit-key): New function.
252 2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
254         Port new time stamp handling to Emacs 23.2.
255         This fix is for Gnus.  Problem reported by Katsumi Yamaoka.
256         * calendar/time-date.el (time-add, time-subtract, time-less-p):
257         Use eval-and-compile, not eval-when-compile.
259 2014-11-18  Daiki Ueno  <ueno@gnu.org>
261         * epg.el (epg-context-set-passphrase-callback)
262         (epg-context-set-progress-callback): Check if the CALLBACK
263         argument is a function, instead of a cons.
265 2014-11-18  Daiki Ueno  <ueno@gnu.org>
267         * epa-file.el (epa-file-insert-file-contents)
268         (epa-file-write-region): Remove redundant check of
269         epa-pinentry-mode.
270         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
271         (epa-sign-region, epa-encrypt-region): Remove redundant check of
272         epa-pinentry-mode.
274 2014-11-18  Daiki Ueno  <ueno@gnu.org>
276         * epa-file.el (epa-file-insert-file-contents): Don't show
277         "*Error*" buffer if input file does not exist.
278         Reported by Herbert J. Skuhra.
280 2014-11-18  Paul Pogonyshev  <pogonyshev@gmail.com>
281             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
283         Fix bug#13871 (an alternative version of the patch).
284         * progmodes/cc-langs.el: Support some of the new keywords in
285         C++11.
286         (c-operators): Add "alignof".
287         (c-primitive-type-kwds): Add "char16_t", "char32_t".
288         (c-type-modifier-kwds): Add "constexpr", "noexcept".
289         (c-modifier-kwds): Add "thread_local".
290         (c-constant-kwds): Add "nullptr".
292 2014-11-17  Michal Nazarewicz  <mina86@mina86.com>
294         * textmodes/tildify.el (tildify-pattern, tildify-space-string):
295         New variables for specifying tildify pattern and representation of
296         a hard space -- a no-break space by default -- respectively.
297         Being buffer-local they are much easier to handle than
298         `tildify-string-alist' and `tildify-pattern-alist' respectively
299         that have been used so far.  They also works better with derived
300         modes.
301         (tildify-foreach-region-function): New variable specifying
302         a function determining portions of buffer that should be
303         tildified.  It allows major modes to create a filtering function
304         more elaborate than a set of regular expressions.  Initialised to
305         `tildify--deprecated-ignore-evironments' by default to handle now
306         deprecated `tildify-ignored-environments-alist' variable.
307         (tildify--foreach-region): A new function that takes
308         `tildify-foreach-region-function' into account and calls callback
309         for regions of the buffer that should be tildified.
310         (tildify-foreach-ignore-environments): A new function which can be
311         partially applied and used as `tildify-foreach-region-function'.
312         (tildify-ignored-environments-alist, tildify-pattern)
313         (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
314         (tildify--find-env): Rename from `tildify-find-env' and mark as
315         obsolete.
316         (tildify--deprecated-ignore-evironments): New function,
317         immediately marked as obsolete, used to handle deprecated
318         `tildify-ignored-environments-alist'.
320         * textmodes/tex-mode.el (tex-common-initialization):
321         Set `tildify-space-string' and `tildify-foreach-region-function'
322         variables in all variants of TeX mode since `tildify-string-alist'
323         and `tildify-ignored-environments-alist' are now empty by default.
325         * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
326         If encoding supports it use no-break space instead of character
327         entity; this changes previous default which used a numeric
328         reference.
330         * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
331         If encoding does not support no-break space, use numeric reference;
332         this changes previous default which used named entity (“&nbsp;”)
333         in HTML mode.
335 2014-11-17  Ulf Jasper  <ulf.jasper@web.de>
337         Fix bug#5433.
338         * calendar/icalendar.el (icalendar-export-alarms):
339         New customizable variable.
340         (icalendar-export-region): Export alarms as specified in
341         `icalendar-export-alarms'.
342         (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
343         New functions for exporting alarms.
345 2014-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
347         * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
349 2014-11-17  Paul Eggert  <eggert@cs.ucla.edu>
351         Port new time stamp handling to old Emacs and to XEmacs.
352         This is needed for Gnus, which copies time-date.el and which
353         runs on older Emacs implementations.
354         * calendar/time-date.el (with-decoded-time-value):
355         Handle 'nil' and floating-point arg more compatibly with new Emacs.
356         (encode-time-value, with-decoded-time-value):
357         Obsolete only if new Emacs.
358         (time-add, time-subtract, time-less-p): Define if not new Emacs.
360         Improve time stamp handling, and be more consistent about it.
361         This implements a suggestion made in:
362         http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
363         Among other things, this means timer.el no longer needs to
364         autoload the time-date module.
365         * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
366         * arc-mode.el (archive-ar-summarize):
367         * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
368         * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
369         (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
370         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
371         * proced.el (proced-time-lessp):
372         * timezone.el (timezone-time-from-absolute):
373         * type-break.el (type-break-schedule, type-break-time-sum):
374         Simplify by using new functionality.
375         * calendar/cal-dst.el (calendar-next-time-zone-transition):
376         Do not return time values in obsolete and undocumented (HI . LO)
377         format; use (HI LO) instead.
378         * calendar/time-date.el (with-decoded-time-value):
379         Treat 'nil' as current time.  This is mostly for XEmacs.
380         (encode-time-value, with-decoded-time-value): Obsolete.
381         (time-add, time-subtract, time-less-p): Use no-op autoloads, for
382         XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
383         * ldefs-boot.el: Update to match new time-date.el
384         * proced.el: Do not require time-date.
386 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
388         * net/eww.el (eww-mode): Make the buffer read-only.
389         (eww-form-text): Inhibit read-only-ness in text input fields
390         (bug#16476).
392 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
394         * simple.el (execute-extended-command--shorter): Cut search here.
395         (execute-extended-command): Instead of here.
397 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
399         * progmodes/python.el (python-mode): Avoid use of set-local to
400         keep Emacs 24.x compatibility.
402 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
404         * net/shr.el (shr): Move to the new defgroup `web'.
406         * net/eww.el (eww): Ditto.
408         * simple.el (execute-extended-command): Don't show the help
409         message if the binding isn't significantly shorter than the
410         M-x command the user typed (bug#19013).
412 2014-11-16  Ulf Jasper  <ulf.jasper@web.de>
414         * calendar/icalendar.el (icalendar--convert-tz-offset):
415         Return complete cons when offsets of standard time and daylight saving
416         time are equal.
417         (icalendar-export-region): Fix unbound variable warning.
419 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
421         * progmodes/python.el (run-python): Allow CMD to be optional and
422         default it to a safe command, even for Windows.  (bug#18596)
424 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
426         * progmodes/python.el (python-shell-calculate-command):
427         Rename from python-shell-parse-command.  Cleanup.
428         (run-python, run-python-internal): Use it.
429         (python-shell-calculate-pythonpath): Rename from
430         python-new-pythonpath.
431         (python-shell-calculate-process-environment): Use it.
432         (python-shell-calculate-exec-path): Add comment.
434 2014-11-16  Thierry Banel <tbanelwebmin@free.fr>  (tiny change)
436         * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
437         for date handling.
439 2014-11-16  Andreas Schwab  <schwab@linux-m68k.org>
441         * version.el (emacs-repository-get-version): Use git rev-parse
442         instead of git log.
444 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
446         * progmodes/python.el (python-indent-calculate-levels):
447         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
449 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
451         * progmodes/python.el (python-indent-region):
452         Use python-indent-line and skip special cases.  (Bug#18843)
454 2014-11-16  Peder O. Klingenberg  <peder@klingenberg.no>
456         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
457           envelope-from when reporting through sendmail (bug#19054).
459 2014-11-16  Oscar Fuentes <ofv@wanadoo.es>
461         Add faces for the VC modeline state indicator.
462         * lisp/vc/vc-hooks.el:
463         (vc-state-faces, vc-state-base-face)
464         (vc-up-to-date-state, vc-needs-update-state)
465         (vc-locked-state, vc-locally-added-state)
466         (vc-conflict-state, vc-removed-state)
467         (vc-missing-state, vc-edited-state):
468         New faces.
469         (vc-default-mode-line-string): Use them
471 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
473         * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
475 2014-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
477         * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
479 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
481         * progmodes/python.el (python-eldoc-setup-code): Enhance string
482         type checks, simplify printing.  (Bug#18962)
484 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
486         * progmodes/python.el (python-shell-font-lock-kill-buffer):
487         (python-shell-font-lock-with-font-lock-buffer)
488         (python-shell-get-buffer, python-ffap-module-path):
489         Use `derived-mode-p' instead of equality test on `major-mode'.
491 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
493         * progmodes/python.el (python-shell-virtualenv-root): Rename from
494         python-shell-virtualenv-path.
495         (python-shell-internal-get-process-name)
496         (python-shell-calculate-process-environment)
497         (python-shell-calculate-exec-path): Use it.
499 2014-11-14  Eli Zaretskii  <eliz@gnu.org>
501         * bindings.el (search-map): Fix last change: don't use 'kbd' in
502         bindings.el, since it is not yet loaded when bindings.el is
503         preloaded.
505 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
507         * progmodes/python.el (python-shell-completion-get-completions):
508         Fix previous merge.
510 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
512         * net/eww.el (eww-render): Don't set the title to the URL.
514 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
516         * version.el (emacs-repository-get-version): Call `git log'
517         command with proper format argument (bug#19049).
519 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
521         * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
523 2014-11-14  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
525         * net/eww.el (eww-search-words): New command (bug#16258).
527 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
529         * net/shr.el (shr-inhibit-images): Add a doc string.
531         * net/eww.el (eww-after-render-hook): New variable.
532         (eww-render): Use it.
534         * net/shr.el (shr-descend): Don't descend further than
535         `max-specpdl-size' allows (bug#16587).
536         (shr-depth): New variable.
537         (shr-warning): New variable.
539 2014-11-13  Ivan Shmakov  <ivan@siamics.net>
541         * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
542         (shr-expand-url): Expand absolute URLs correctly (bug#17958).
544 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
546         * net/eww.el (eww): Add comment to clarify.
548         * net/shr.el (shr-parse-image-data): Remove blocked bits from
549         external SVG images.
550         (shr-tag-object): Display images in <object> forms (bug#16244).
551         (shr-tag-table): Also insert <objects> after the tables.
553 2014-11-13  Michael Albinus  <michael.albinus@gmx.de>
555         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
557 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
559         * net/eww.el (eww-form-file): Fix version number.
561 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
563         * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
565 2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
567         * net/eww.el(eww-form-file(defface)): New defface of file upload form.
568         (eww-submit-file): New key map of file upload.
569         (eww-form-file): New file upload button and file name context.
570         (eww-select-file): Select file and display selected file name.
571         (eww-tag-input): Handle input tag of file type.
572         (eww-update-field): Add point offset.
573         (eww-submit): Add submit with multipart/form-data.
575 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
577         * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
578         Allow taking a buffer to render data in.  This allows using several
579         eww buffers (bug#16211).
581 2014-11-10  Charles Rendleman  <carendle@gmail.com>  (tiny change)
583         * net/eww.el (eww-download-callback): Save only the file contents,
584         not the headers.
586 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
588         * net/eww.el (eww-data): New plist to store all the data relevant
589         to a single page, used throughout the file instead of the
590         variables `eww-current-url', `eww-current-dom',
591         `eww-current-source', and `eww-current-title'.
592         (eww-readable): Copy over pertinent data from the parent page.
593         (eww-save-history): Don't let the history grow infinitely.
595         * net/eww.el: Remove `eww-next-url', `eww-previous-url',
596         `eww-up-url', `eww-home-url', `eww-start-url' and
597         `eww-contents-url' and put the data into the `eww-data' plist.
598         This allow restoring these values after going back in the history.
600 2014-11-10  Sylvain Chouleur  <sylvain.chouleur@gmail.com>  (tiny change)
602         Allow VTIMEZONE where daylight and standard time zones are equal.
603         See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
604         * calendar/icalendar.el (icalendar--convert-tz-offset):
605         Support timezone without daylight saving time.
607 2014-11-10  Glenn Morris  <rgm@gnu.org>
609         * startup.el (command-line): Handle nil elements in load-path.
611 2014-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
613         * help.el (view-lossage): Include the actual commands run.
615 2014-11-10  Dmitry Gutov  <dgutov@yandex.ru>
617         * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
618         no state is specified.  (Bug#18964)
620 2014-11-09  Eric Ludlam  <zappo@gnu.org>
622         * emacs-lisp/eieio-custom.el (eieio-customize-object):
623         Set eieio-cog (current group) to g, which is an improved form of input
624         group.
626 2014-11-09  Juri Linkov  <juri@jurta.org>
628         * isearch.el (isearch-message-prefix): Show "Multi-file" and
629         "Multi-buffer" instead of "Multi".  (Bug#13592)
631         * misearch.el (multi-isearch-file-list):
632         Autoload multi-isearch-buffer-list and multi-isearch-file-list.
633         (multi-isearch-end): Reset multi-isearch-buffer-list and
634         multi-isearch-file-list to nil.
636 2014-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
638         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
639         Don't call byte-compile-preprocess since the result will go through
640         cconv.
641         (byte-compile-output-docform): Handle uninterned `name' correctly.
642         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
643         to circumvent byte-compiler bug.
645         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
646         (macroexp--compiler-macro): Remove left-over debug code.
648         * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
650 2014-11-08  Juri Linkov  <juri@jurta.org>
652         * simple.el (shell-command): Use buffer-name when output-buffer is
653         a buffer.  (Bug#18096)
655 2014-11-08  Juri Linkov  <juri@jurta.org>
657         * minibuffer.el (minibuffer-completion-help): Compare this-command
658         with completion-at-point.  (Bug#17809)
660 2014-11-08  Glenn Morris  <rgm@gnu.org>
662         * emacs-lisp/bytecomp.el (byte-compile-report-error):
663         Allow the argument to be a string.  Due to the vague doc,
664         it was already being used this way.
666 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
668         * net/tramp.el (tramp-check-cached-permissions): Include hop in
669         the constructed Tramp file name.  (Bug#18943)
671 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
673         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
674         (bug#18952).
675         (cua-set-mark, cua--post-command-handler-1):
676         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
678 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
680         * files.el (file-name-non-special): Wrap the call of
681         `insert-file-contents' by `unwind-protect', in order to set the
682         buffer's file name anyway.  (Bug#18891)
684 2014-11-08  Alan Mackenzie  <acm@muc.de>
686         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
687         * progmodes/cc-fonts.el (c-font-lock-declarations):
688         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
689         the buffer is sometimes narrowed to less than "limit" (e.g., in
690         the presence of macros).
692 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
694         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
695         only when message appeared in minibuffer.  (Bug#18891)
697         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
698         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
699         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
700         case of errors.
702 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
704         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
705         Don't compile before eval in `eval-and-compile'.
706         (byte-compile-arglist-warn): Add check for defining macros after their
707         first use.  Check call use even if the function is fboundp.
709 2014-11-08  Richard Stallman  <rms@gnu.org>
711         * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
712         Check more carefully for mime-part specified character set.
713         Check for mime-part Content Transfer Encoding.
714         Notify if no armor found.
716 2014-11-08  Martin Rudalics  <rudalics@gmx.at>
718         * faces.el (face-set-after-frame-default): Enable running
719         `window-configuration-change-hook'.
721 2014-11-07  Juri Linkov  <juri@jurta.org>
723         * replace.el: History for query replace pairs.
724         (query-replace-defaults): Promote to a list of cons cell.  Doc fix.
725         (query-replace-from-to-separator): New variable.
726         (query-replace-read-from): Let-bind query-replace-from-to-history
727         to a list of FROM-TO strings created from query-replace-defaults
728         and separated by query-replace-from-to-separator.  Use it as
729         the history while reading from the minibuffer.  Split the returned
730         string by the separator to get FROM and TO parts, and add them
731         to the history variables.
732         (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
733         (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
734         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
736         * isearch.el (isearch-text-char-description): Keep characters
737         intact and put formatted strings with the `display' property.
739 2014-11-07  Martin Rudalics  <rudalics@gmx.at>
741         * cus-start.el (frame-resize-pixelwise): Fix group.
742         (frame-inhibit-implied-resize): Add entry.
744 2014-11-07  Daiki Ueno  <ueno@gnu.org>
746         * epa.el (epa-pinentry-mode): New user option.
747         (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
748         (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
749         * epa-file.el (epa-file-insert-file-contents)
750         (epa-file-write-region): Respect epa-pinentry-mode.
752 2014-11-07  Daiki Ueno  <ueno@gnu.org>
754         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
755         (bug#18979).  Reported by Hideki Saito.
757 2014-11-06  Daiki Ueno  <ueno@gnu.org>
759         * emacs-lisp/package.el (package--display-verify-error): New function.
760         (package--check-signature): Use it to display output sent to stderr.
762 2014-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
764         * subr.el (pop): Don't call the getter twice (bug#18968).
766         * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
767         uses of `funcall'.
769 2014-11-06  Daiki Ueno  <ueno@gnu.org>
771         * epa.el (epa-error-buffer): New variable.
772         (epa-display-error): New function.
773         (epa-decrypt-file, epa-verify-file, epa-verify-region)
774         (epa-delete-keys, epa-import-keys): Display output sent to stderr.
775         (epa-sign-file, epa-sign-region, epa-encrypt-region)
776         (epa-export-keys, epa-insert-keys): Display output sent to stderr.
777         Use setf instead of epg-context-set-*.
778         * epa-file.el (epa-file-insert-file-contents):
779         Use epa-display-error instead of epa-display-info.  Mimic the behavior
780         of jka-compr when decryption program is not found.
781         (epa-file-write-region): Use epa-display-error instead of
782         epa-display-info.
784 2014-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
786         * vc/vc.el (vc-region-history): New command.
787         (vc-print-log-internal): Use cl-some.
789         * vc/vc-git.el (vc-git-region-history): New function.
790         (vc-git-region-history-mode-map)
791         (vc-git--log-view-long-font-lock-keywords)
792         (vc-git-region-history-font-lock-keywords): New vars.
793         (vc-git-region-history-font-lock): New function.
794         (vc-git-region-history-mode): New major mode.
796 2014-11-05  Tassilo Horn  <tsdh@gnu.org>
798         * net/eww.el (subr-x): Require subr-x at compile-time because eww
799         uses string-trim.
801 2014-11-05  Daiki Ueno  <ueno@gnu.org>
803         * epg.el (epg-context): Add new slot ERROR-OUTPUT.
804         (epg-error-output): New buffer-local variable.
805         (epg--start): Initialize epg-error-output.
806         (epg--process-filter): Record output lines sent to stderr, in
807         epg-error-output.
808         (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
809         slot of context.
810         * epa-file.el (epa-file-insert-file-contents): On error, display
811         output sent to stderr.
812         (epa-file-write-region): Likewise.
814 2014-11-05  Eli Zaretskii  <eliz@gnu.org>
816         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
817         returned by load-average.
819 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
821         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
822         a local copy; setting `inhibit-file-name-handlers' proper might be
823         more performant.  (Bug#18751)
825 2014-11-05  Glenn Morris  <rgm@gnu.org>
827         * mail/emacsbug.el (report-emacs-bug): No longer include
828         recent-keys in the report.  (Bug#18900)
830 2014-11-04  Paul Eggert  <eggert@cs.ucla.edu>
832         * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
834 2014-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
836         * net/eww.el (eww): Trim URL with `string-trim'.
837         Suggested by Vibhav Pant <vibhavp@gmail.com>.
839 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
841         * net/eww.el (eww-score-readability): Don't count comments positively.
843         * net/shr.el (shr-retransform-dom): Typo fix.
845         * net/eww.el (eww-score-readability): Parse SVC images correctly.
846         (eww-display-html): Don't leave point inside forms.
848         * net/shr.el: Ditto.
850 2014-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
852         * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
853         edebug-prin1-to-string already handles circularity.
855         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
856         autoloading when specified as a lambda.
858         * simple.el (execute-extended-command--last-typed): New var.
859         (read-extended-command): Set it.
860         Don't complete obsolete commands.
861         (execute-extended-command--shorter-1)
862         (execute-extended-command--shorter): New functions.
863         (execute-extended-command): Use them to suggest shorter names.
864         (indicate-copied-region, deactivate-mark): Use region-active-p.
866 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
868         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
869         local copy of FILENAME, when it is remote.  (Bug#18751)
871         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
872         an error when the command fails; the return code must indicate.
873         (tramp-adb-send-command-and-check): Fix docstring.
875 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
877         * net/shr.el (shr-retransform-dom): Don't ignore elements that
878         have no children like <br />.
880         * net/eww.el (eww-display-html): Clear `url-queue'.
881         (eww-display-pdf): New function.
882         (eww-render): Display PDFs with `doc-view'.
883         (url-queue): Require `url-queue' to avoid compilation warning.
884         (eww-colorize-region): Remove duplicate function.
885         (eww-tag-body): Use `shr-colorize-region'.
887 2014-11-03  Yoni Rabkin <yrk@gnu.org>
889         * net/eww.el (eww-list-bookmarks): Autoload.
891 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
893         * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
895         * net/eww.el (eww-display-html): The charset is called `utf-8',
896         not `utf8'.
897         (eww-readable): Decode the saved text correctly.
898         (eww-readable): Save the history before displaying so that we can
899         go back to the non-readable version.
900         (eww-display-html): Don't try to decode the text if we've been
901         passed in a pre-parsed DOM.
902         (eww-tag-title): Remove newlines and extra whitespace from the
903         displayed title.
905 2014-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
907         * net/eww.el (eww-readable): New command and keystroke.
909         * net/shr.el (shr-retransform-dom): New function.
911         * net/eww.el (eww-display-html): Set `eww-current-source' in the
912         correct buffer.
913         (eww-view-source): Use it.
915 2014-11-02  Ivan Shmakov <ivan@siamics.net>
917         * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
918         (Bug#18603).
920 2014-11-02  Brian McKenna <brian@brianmckenna.org>  (tiny change)
922         * net/eww.el (eww-submit): Encode empty form values as "".  (Bug#17785).
924 2014-11-02  Ivan Shmakov <ivan@siamics.net>
926         * net/eww.el (eww): Allow "file:/file/name" URLs.  (Bug#18825).
928 2014-11-02  Ivan Shmakov <ivan@siamics.net>
930         * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
931         (Bug#18834).
933 2014-11-02  Eric Abrahamsen  <eric@ericabrahamsen.net>
935         * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
936         use as advice.
937         (edebug-setup-hook): Advise `edebug-prin1-to-string'.  (Bug#18897)
939 2014-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
941         * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
942         (bug#18821).
943         * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
945 2014-11-01  Michael R. Mauger  <michael@mauger.com>
947         * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
948         syntax, add new keywords, and parse longer keywords first.
949         (sql-redirect-one): Protect against empty command.
950         (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
951         to SQL.  (Bug#14759)
953 2014-11-01  Michael R. Mauger  <michael@mauger.com>
955         * sql.el (sql-interactive-mode, sql-stop): Correct fix for
956         Bug#16814 with let-bind of comint-input-ring variables around read
957         and save functions.
959 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
961         * net/tramp-cache.el (tramp-get-file-property)
962         (tramp-set-file-property): Check that `tramp-cache-get-count-*'
963         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
964         be compiler warnings.
966         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
967         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
969 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
971         * progmodes/compile.el (compilation-mode): Turn off deferred
972         fontifications locally.  (Bug#18856)
974 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
976         * net/tramp-sh.el (tramp-send-command): Fix the case where the
977         remote-echo connection property is non-nil (bug#18858).
979 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
981         * simple.el (newline): Add assertions to try and help catch bug#18913.
983         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
984         (bug#18886).
985         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
987 2014-11-01  Kim F. Storm  <storm@cua.dk>
989         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
990         * delsel.el (delete-selection-save-to-register)
991         (delsel--replace-text-or-position): New vars.
992         (delete-active-region): Use them.
993         (delete-selection-repeat-replace-region): New command, moved from
994         cua-base.el.
995         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
996         (cua-repeat-replace-region): Move command to delsel.el.
997         (cua--init-keymaps): Update binding accordingly.
998         (cua-mode): Set delete-selection-save-to-register.
1000 2014-11-01  Alan Mackenzie  <acm@muc.de>
1002         Make blink-parens work with a closing template delimiter.
1003         * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
1004         before calling blink-paren-function, so as to apply syntax-table
1005         properties to the ">".
1007 2014-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1009         * select.el (gui-get-selection): Comment: data-type ignored on NS.
1011 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1013         * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
1014         (macroexp--expand-all): Unrelated tweaks.
1016         * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
1018 2014-10-30  Glenn Morris  <rgm@gnu.org>
1020         * startup.el (command-line): Remove pointless attempt to avoid
1021         statting the file-system (which expand-file-name doesn't do).
1023 2014-10-30  Daniel Colascione  <dancol@dancol.org>
1025         Add "enum class" support to C++ mode.
1026         * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
1027         (c-after-brace-list-key): New language consts/variables.
1028         * progmodes/cc-engine.el (c-looking-at-decl-block):
1029         Exclude spurious match of "enum struct" from decl-block recognition.
1030         (c-backward-colon-prefixed-type): New function.
1031         (c-backward-over-enum-header): Call above function to extend
1032         recognition of enum structure.
1034 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1036         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
1037         (c-lang-defconst):
1038         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
1040 2014-10-30  Eli Zaretskii  <eliz@gnu.org>
1042         * progmodes/compile.el (compilation-start):
1043         If compilation-scroll-output is non-nil, don't force window-start of
1044         the compilation buffer to be at beginning of buffer.  (Bug#18874)
1046         * startup.el (fancy-about-text): Read the entire tutorial, not
1047         just its first 256 bytes.  (Bug#18760)
1049 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1051         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
1052         * emacs-lisp/cl-extra.el: Add missing provide.
1054         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
1055         all args are copyable (bug#18767).
1056         (=, <, >, <=, >=): Re-enable the optimization.
1058 2014-10-29  Glenn Morris  <rgm@gnu.org>
1060         * net/rcirc.el (rcirc-fill-column): Unbump :version.  Mark :risky.
1062         * version.el (emacs-bzr-version, emacs-bzr-get-version):
1063         Revert 2014-10-26 change.
1065 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
1067         Simplify use of current-time and friends.
1068         * allout-widgets.el (allout-widgets-hook-error-handler):
1069         * calendar/appt.el (appt-display-message):
1070         * calendar/icalendar.el (icalendar--convert-float-to-ical):
1071         * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
1072         (timeclock-last-period, timeclock-day-base):
1073         * eshell/em-ls.el (eshell-ls-file):
1074         * eshell/esh-util.el (eshell-parse-ange-ls):
1075         * generic-x.el (named-database-print-serial):
1076         * net/newst-backend.el (newsticker--get-news-by-url-callback)
1077         (newsticker-get-news, newsticker--sentinel-work)
1078         (newsticker--image-get, newsticker--image-sentinel):
1079         * net/tramp-sh.el (tramp-get-remote-touch):
1080         * progmodes/opascal.el (opascal-debug-log):
1081         * textmodes/remember.el (remember-mail-date)
1082         (remember-store-in-files):
1083         * vc/vc-annotate.el (vc-annotate-display-autoscale)
1084         (vc-default-annotate-current-time):
1085         * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
1086         * vc/vc-cvs.el (vc-cvs-annotate-current-time):
1087         * vc/vc-rcs.el (vc-rcs-annotate-current-time):
1088         Omit unnecessary call to current-time.
1089         * calendar/time-date.el (time-to-seconds) [!float-time]:
1090         * vc/vc-annotate.el (vc-annotate-convert-time):
1091         Use current time if arg is nil, to be compatible with float-time.
1092         (time-date--day-in-year): New function, with most of the guts of
1093         the old time-to-day-in-year.
1094         (time-to-day-in-year): Use it.
1095         (time-to-days): Use it, to avoid decoding the same time stamp twice.
1096         * calendar/timeclock.el (timeclock-time-to-date):
1097         Arg is now optional, like current-time-string.
1098         (timeclock-update-mode-line):
1099         Don't call current-time twice to get the current time stamp,
1100         as this can lead to inconsistent results.
1101         * completion.el (cmpl-hours-since-origin):
1102         * ido.el (ido-time-stamp):
1103         * vc/vc-annotate.el (vc-annotate-convert-time):
1104         Simplify by using float-time.
1105         * completion.el (save-completions-to-file):
1106         Rename local var to avoid confusion.
1107         * net/rcirc.el (rcirc-float-time): Simplify to an alias because
1108         time-to-seconds now behaves like float-time with respect to nil arg.
1109         * subr.el (progress-reporter-do-update):
1110         Don't call float-time unless needed.
1112 2014-10-29  Leo Liu  <sdl.web@gmail.com>
1114         * net/rcirc.el (rcirc-fill-column): Use function.
1115         (rcirc-markup-fill): Remove adjustment.
1117 2014-10-28  Christopher Schmidt  <ch@ristopher.com>
1119         * calc/calc.el (quick-calc):
1120         * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
1122 2014-10-28  Sam Steingold  <sds@gnu.org>
1124         * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
1125         the sake of `window-body-width' (in addition to `frame-width').
1127 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
1129         * version.el: Fix some fallback values to conform to the actual
1130         release number.
1132 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
1134         * Makefile.in: Change some production names so they're neutral
1135         about the repository type.
1137 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
1139         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
1140         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
1141         during initialization.  (Bug#18774)
1143 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1145         * ses.el (macroexp): Add require for this package, so that
1146         function `ses--cell' gets macroexp-quote --- this change was
1147         supposed to be in my previous commit, but left out by mistake.
1148         (ses--cell): Do not make formula a macroexp-quote of value when
1149         value, not formula, is *skip*.
1151 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1153         * ses.el (macroexp): Add require for this package, so that function
1154         `ses--cell gets macroexp-quote.
1155         (ses--cell): Makes formula a macroexp-quote of value when formula
1156         is nil. The rationale of this changr is to allow in the future
1157         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
1158         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
1159         reference list REFLIST would be re-computed after load --- thus
1160         trading off load time against file size.
1162         * emacs-lisp/package.el (package--alist-to-plist-args):
1163         Use macroexp-quote instead of a lambda expression which has the same
1164         content as macroexp-quote.
1165         (macroexp): Add require for this package, so that function
1166         `package--alist-to-plist-args' gets macroexp-quote.
1168         * emacs-lisp/macroexp.el (macroexp-quote): New defun.
1170 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1172         * term/ns-win.el (ns-store-cut-buffer-internal)
1173         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
1175 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
1177         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
1178         Calculate increment from last position instead of window edge.
1179         Add right- and bottom-divider bindings to transient map.
1181 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1183         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
1184         even if :predicate was nil, for the benefit of typep.
1185         Record the name of the predicate for typep's use.
1186         (cl--make-type-test): Use pcase.  Obey new
1187         cl-deftype-satisfies property.
1189         * epg.el: Use cl-defstruct.
1190         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
1191         (epg-data-string): Define via cl-defstruct.
1192         (epg--gv-nreverse): New macro.
1193         (epg-context--make): New constructor (provided vi cl-defstruct).
1194         (epg-make-context): Rewrite using it.
1195         (epg-context-protocol, epg-context-program)
1196         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
1197         (epg-context-include-certs, epg-context-cipher-algorithm)
1198         (epg-context-digest-algorithm, epg-context-compress-algorithm)
1199         (epg-context-passphrase-callback, epg-context-progress-callback)
1200         (epg-context-signers, epg-context-sig-notations, epg-context-process)
1201         (epg-context-output-file, epg-context-result, epg-context-operation)
1202         (epg-context-pinentry-mode): Define using cl-defstruct.
1203         (epg-context-set-protocol, epg-context-set-program)
1204         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
1205         (epg-context-set-digest-algorithm)
1206         (epg-context-set-sig-notations, epg-context-set-process)
1207         (epg-context-set-output-file, epg-context-set-result)
1208         (epg-context-set-operation, epg-context-set-pinentry-mode)
1209         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
1210         (epg-context-set-armor, epg-context-set-textmode)
1211         (epg-context-set-signers): Redefine using setf
1212         and declare as obsolete.
1213         (epg-context-set-passphrase-callback)
1214         (epg-context-set-progress-callback): Use setf.
1215         (epg-signature-notations): Rename from epg-sig-notations.
1216         (epg-make-signature, epg-signature-status, epg-signature-key-id)
1217         (epg-signature-validity, epg-signature-fingerprint)
1218         (epg-signature-creation-time, epg-signature-expiration-time)
1219         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
1220         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
1221         (epg-signature-set-status, epg-signature-set-key-id)
1222         (epg-signature-set-validity, epg-signature-set-fingerprint)
1223         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
1224         (epg-signature-set-pubkey-algorithm)
1225         (epg-signature-set-digest-algorithm, epg-signature-set-class)
1226         (epg-signature-set-version, epg-signature-set-notations): Remove.
1227         Use setf instead.
1228         (epg-make-new-signature, epg-new-signature-type)
1229         (epg-new-signature-pubkey-algorithm)
1230         (epg-new-signature-digest-algorithm, epg-new-signature-class)
1231         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
1232         Define using cl-defstruct.
1233         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
1234         (epg-key-user-id-list): Define using cl-defstruct.
1235         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
1236         Use setf instead.
1237         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
1238         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
1239         (epg-sub-key-id, epg-sub-key-creation-time)
1240         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
1241         cl-defstruct.
1242         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
1243         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
1244         (epg-user-id-signature-list): Define using cl-defstruct.
1245         (epg-user-id-set-signature-list): Remove.  Use setf instead.
1246         (epg-make-key-signature, epg-key-signature-validity)
1247         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
1248         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
1249         (epg-key-signature-user-id, epg-key-signature-class)
1250         (epg-key-signature-exportable-p): Define using cl-defstruct.
1251         (epg-make-sig-notation, epg-sig-notation-name)
1252         (epg-sig-notation-value, epg-sig-notation-human-readable)
1253         (epg-sig-notation-critical): Define using cl-defstruct.
1254         (epg-sig-notation-set-value): Remove.  Use setf instead.
1255         (epg-make-import-status, epg-import-status-fingerprint)
1256         (epg-import-status-reason, epg-import-status-new)
1257         (epg-import-status-user-id, epg-import-status-signature)
1258         (epg-import-status-sub-key, epg-import-status-secret): Define using
1259         cl-defstruct.
1260         (epg-make-import-result, epg-import-result-considered)
1261         (epg-import-result-no-user-id, epg-import-result-imported)
1262         (epg-import-result-imported-rsa, epg-import-result-unchanged)
1263         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
1264         (epg-import-result-new-signatures, epg-import-result-new-revocations)
1265         (epg-import-result-secret-read, epg-import-result-secret-imported)
1266         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
1267         (epg-import-result-imports): Define using cl-defstruct.
1269         * emacs-lisp/package.el: Require EPG during macroexpansion.
1270         (package--check-signature, package-import-keyring): Use setf instead of
1271         epg-context-set-home-directory.
1273 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1275         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
1277 2014-10-23  Leo Liu  <sdl.web@gmail.com>
1279         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
1280         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
1281         (cfengine3-current-defun): New function.
1282         (cfengine3-mode): Set add-log-current-defun-function.
1284 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1286         * select.el: Use lexical-binding.
1287         (gui-set-selection): Provide an implementation for non-GUI frames
1288         (bug#18791).
1289         * term/x-win.el: Use lexical-binding.
1290         (x-clipboard-yank): Fix up missed renamings.
1291         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
1292         (w32--set-selection): Fix up var names.
1293         * term/pc-win.el: Use lexical-binding.
1294         (w16-selection-exists-p): Silence compiler warning.
1295         (w16-selection-owner-p): Fix up missed renamings.
1297         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
1299         * frame.el (frame-notice-user-settings): Fix excessive quoting.
1301 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
1303         * doc-view.el (doc-view-open-text): View the document's plain text
1304         in the current buffer instead of a new one.
1305         (doc-view-toggle-display): Handle the case where the current
1306         buffer contains the plain text contents of the document.
1307         (doc-view-initiate-display): Don't switch to fallback mode if the
1308         user wants to view the doc's plain text.
1309         (doc-view-set-doc-type): Use assoc-string instead of
1310         assoc-ignore-case.
1312 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1314         * subr.el (read-key): Fix clicks on the mode-line.
1315         (set-transient-map): Return exit function.
1317         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
1318         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
1319         (mouse-yank-secondary): Use gui-get-selection.
1320         (mouse--down-1-maybe-follows-link): Use read-key.
1322         * xt-mouse.el: Add `event-kind' property on the fly from
1323         xterm-mouse-translate-1 rather than statically at the outset.
1325 2014-10-21  Daniel Colascione  <dancol@dancol.org>
1327         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
1328         change window configuration when we turn it off.
1330 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1332         Get rid of backend-dependent selection-handling functions for kill/yank
1333         and make it generic instead by relying on the lower-level selection
1334         management functions.
1336         * select.el (select-enable-clipboard): Rename from
1337         gui-select-enable-clipboard.
1338         (select-enable-primary): Move from x-win.el and rename from
1339         x-select-enable-primary.
1340         (gui-last-selected-text): Remove.
1341         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
1342         New vars.
1343         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
1344         (gui-select-text-alist, gui-selection-value-alist): Remove.
1345         (x-select-request-type): Move from x-win.el.
1346         (gui--selection-value-internal): New function, taken from x-win's
1347         x-selection-value-internal.
1348         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
1349         (gui-set-selection-alist): Rename from gui-own-selection-alist and
1350         extend it to handle a nil value as a "disown" request.
1351         (gui-disown-selection-alist): Remove.
1352         (xselect-convert-to-delete): Adjust accordingly.
1353         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
1355         * term/x-win.el (x-last-selected-text-primary)
1356         (x-select-enable-primary): Remove (moved to select.el).
1357         (x-select-request-type): Move to select.el.
1358         (x-selection-value-internal, x--selection-value): Remove functions.
1359         (gui-selection-value, gui-select-text): Remove moethods.
1360         (gui-set-selection): Merge own and disown methods.
1362         * term/w32-win.el (w32--select-text, w32--get-selection-value):
1363         Delete function (move functionality into w32--set-selection and
1364         w32--get-selection).
1365         (gui-select-text, gui-selection-value): Don't define methods.
1366         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
1367         New functions.
1368         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
1369         Use them.
1370         (gui-selection-exists-p): Adjust to new name of C primitive.
1372         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
1373         test of gui-select-enable-clipboard, to make it usable as
1374         a gui-get-selection method.
1375         (gui-selection-exists-p): Adjust to new name of C primitive.
1376         (gui-set-selection): Merge own and disown methods.
1377         (gui-select-text, gui-selection-value): Delete methods.
1378         (w16--select-text): Delete function.
1380         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
1381         (ns-selection-value): Remove functions.
1382         (gui-select-text, gui-selection-value): Don't define method any more.
1383         (gui-set-selection): Merge the old own and disown methods.
1384         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
1385         underlying C primitive.
1387         * startup.el (command-line): Adjust now that `gui-method' expects nil
1388         for ttys.
1390         * frame.el (gui-method): Use window-system rather than framep.
1391         (gui-method-declare): The tty case is now nil rather than t.
1392         (make-frame): Adjust accordingly.
1394 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1396         * net/newst-reader.el (newsticker--image-read): Simplify.
1397         (newsticker--icon-read): Use dolist and fix free var error.
1399         * imenu.el (imenu--menubar-keymap): New var.
1400         (imenu-add-to-menubar): Set it to remember the keymap we used.
1401         (imenu-update-menubar): Use it instead of asking lookup-key.
1403         * obsolete/cc-compat.el: Make obsolete (bug#18561).
1405         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1407         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1408         case (bug#18767).
1410 2014-10-21  Glenn Morris  <rgm@gnu.org>
1412         * Merge in all changes up to version 24.4 release.
1414 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1416         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1417         case (bug#18767).
1419 2014-10-20  Glenn Morris  <rgm@gnu.org>
1421         * Merge in all changes up to 24.4 release.
1423 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
1425         * net/newst-backend.el
1426         (newsticker--image-download-by-url-callback): Make this function
1427         actually work: Check status properly, then save image.
1429 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1431         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
1432         `this-event'.
1433         (mouse-drag-line): Unless there's no actual mouse, use the event's
1434         position info.
1436 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1438         * textmodes/css-mode.el (scss-mode): New major-mode.
1439         (css-mode-syntax-table): Use d style comment, to ease the scss case.
1440         (css-ident-re): Allow things like @-moz-keyframes.
1441         (scss--hash-re): New const.
1442         (css--font-lock-keywords): New function, extracted from
1443         css-font-lock-keywords.
1445 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
1447         * net/newst-backend.el: Require url-parse.
1448         (newsticker--get-news-by-wget): Store feed name as process property.
1449         (newsticker--sentinel): Read feed name from process property.
1450         (newsticker--sentinel-work): Rename argument name to feed-name.
1451         Rename variable imageurl to image-url.  Pick icon url from Atom
1452         1.0 data.  Launch download of feed icon.
1453         (newsticker--get-icon-url-atom-1.0): New.
1454         (newsticker--unxml)
1455         (newsticker--unxml-node)
1456         (newsticker--unxml-attribute): Documentation.
1457         (newsticker--icons-dir): New.
1458         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
1459         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
1460         (newsticker--image-download-by-wget): New.  Use process properties
1461         for storing informations.
1462         (newsticker--image-sentinel): Read informations from process properties.
1463         (newsticker--image-save)
1464         (newsticker--image-remove)
1465         (newsticker--image-download-by-url)
1466         (newsticker--image-download-by-url-callback): New.
1467         (newsticker-opml-export): Handle url list entries containing a
1468         function instead of an url string.
1470         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
1471         (newsticker--print-extra-elements)
1472         (newsticker--do-print-extra-element):
1473         Documentation (newsticker--image-read): Optionally limit image height.
1474         Use imagemagick if possible.
1475         (newsticker--icon-read): New.
1477         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
1478         (newsticker--treeview-tree-expand): Use feed icons in treeview.
1479         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
1480         (newsticker--tree-widget-leaf-icon): Use feed icon.
1482 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1484         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
1485         Use help-function-arglist instead.
1487         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
1488         (eieio--with-scoped-class): Use `declare'.
1489         (eieio-defclass): Remove compatibility code.
1490         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
1491         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
1493 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
1495         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
1497         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
1498         replacements to stock names before stock names in a list.
1499         Cdr may be a list, each name is tried in turn until one is found.
1501 2014-10-18  Alan Mackenzie  <acm@muc.de>
1503         Check that a "macro" found near point-min isn't a ## operator.
1504         Fixes bug #18749.
1505         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
1506         (c-beginning-of-macro): Use the above new function.
1508 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
1510         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
1511         correct data to `gnutls-boot' (Bug#18664).
1512         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
1514 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
1516         * whitespace.el (whitespace-style, whitespace-big-indent)
1517         (whitespace-big-indent-regexp, whitespace-style-value-list)
1518         (whitespace-toggle-option-alist, whitespace-interactive-char)
1519         (whitespace-toggle-options)
1520         (global-whitespace-toggle-options, whitespace-help-text)
1521         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
1522         style to `whitespace-mode' to indicate that the line indentation
1523         is too deep.  By default, 32 SPACEs or four TABs are considered
1524         too many but `whitespace-big-indent-regexp' can be configured.
1526 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
1528         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
1529         tildify-mode-alist.
1531 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1533         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
1534         (defclass, defgeneric, defmethod): Add doc-string position.
1535         (with-slots): Require cl-lib.
1537         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
1538         (list-of): New type.
1539         (eieio--typep): Remove.
1540         (eieio-perform-slot-validation): Use cl-typep instead.
1542         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
1544         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
1546 2014-10-16  Alan Mackenzie  <acm@muc.de>
1548         Trigger showing when point is in the "periphery" of a line or just
1549         inside a paren.
1550         * paren.el (show-paren-style, show-paren-delay)
1551         (show-paren-priority, show-paren-ring-bell-on-mismatch):
1552         Remove superfluous :group specifications.
1553         (show-paren-when-point-inside-paren)
1554         (show-paren-when-point-in-periphery): New customizable variables.
1555         (show-paren-highlight-openparen): Make into a defcustom.
1556         (show-paren--unescaped-p, show-paren--categorize-paren)
1557         (show-paren--locate-near-paren): New defuns.
1558         (show-paren--default): Refaactor and trigger on more paren
1559         positions.
1560         (show-paren-function): Small consequential changes.
1562 2014-10-16  Tom Tromey  <tom@tromey.com>
1564         * files.el (auto-mode-alist): Use javascript-mode for .jsm
1565         (bug #18719).
1567 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
1569         * international/characters.el (bracket-type): Force pre-loading of
1570         uni-brackets.el.
1572 2014-10-16  Alan Mackenzie  <acm@muc.de>
1574         * cus-edit.el (custom-command-apply): Specify the return value in
1575         the doc string.
1576         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1577         custom-command-apply has returned non-nil.
1579 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1581         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
1582         Remove incorrect handling of eldoc-print-after-edit.
1583         (eldoc-message-commands, eldoc-last-data): Use defvar.
1584         * loadup.el (emacs-lisp/eldoc): Load it.
1586         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
1587         (m4-mode): Use it.
1588         (m4--quoted-p): New function.
1589         (m4-font-lock-keywords): Don't handle #..\n comments any more.
1590         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
1591         for most special characters.
1593         * progmodes/compile.el (compilation--previous-directory): Simplify.
1594         (compilation-next-error): Ensure the parse before we look at
1595         compilation-message property.
1597 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
1599         * simple.el (what-cursor-position):
1600         * descr-text.el (describe-char): Update to support the new bidi
1601         characters.
1603         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1604         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
1605         buffer-menu display when the first buffer happens to start with
1606         R2L letter.
1608 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1610         * progmodes/elisp-mode.el (elisp--local-variables-1):
1611         Handle quoted expressions (bug#18688).
1613 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
1614             Michael Albinus  <michael.albinus@gmx.de>
1616         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1617         Reduce the amount of set environment variable commands.
1619 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1621         Fix import completion.  (Bug#18582)
1622         * progmodes/python.el (python-shell-completion-get-completions):
1623         Fix import case regexp.
1625 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1627         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1628         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
1629         * progmodes/prolog.el (prolog-electric--underscore): Same.
1631 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
1633         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
1635 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
1637         * cus-start.el (all): Add missing ns and boolean to
1638         ns-use-fullscreen-animation.
1640 2014-10-11  Leo Liu  <sdl.web@gmail.com>
1642         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
1643         Use strings.
1644         (cfengine3-create-imenu-index): New function.
1645         (cfengine3-mode): Use it for `imenu-create-index-function'.
1646         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
1647         buffer is empty.
1649 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
1651         * cus-start.el (all): Add ns-use-fullscreen-animation.
1653 2014-10-11  Glenn Morris  <rgm@gnu.org>
1655         * calendar/diary-lib.el (diary-display-function):
1656         Drop support for deprecated nil and list forms.
1657         (diary-list-entries): Update for the above.
1658         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
1660 2014-10-10  Leo Liu  <sdl.web@gmail.com>
1662         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
1663         (Bug#18656)
1665 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1667         * select.el (gui-selection-exists-p-alist): New method.
1668         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
1669         * simple.el (deactivate-mark): Use it.
1670         * term/x-win.el (gui-selection-exists-p):
1671         * term/w32-win.el (gui-selection-exists-p):
1672         * term/pc-win.el (gui-selection-exists-p):
1673         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
1675 2014-10-10  Glenn Morris  <rgm@gnu.org>
1677         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
1678         Fix :type.  Allow t to mean no limit.
1679         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
1681 2014-10-09  Glenn Morris  <rgm@gnu.org>
1683         * frame.el (display-monitor-attributes-list): Doc tweaks.
1685 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
1687         * faces.el (display-grayscale-p): Mention in the doc string that
1688         the argument can be either a display name or a frame.
1690         * frame.el (display-pixel-height, display-pixel-width)
1691         (display-mm-height, display-mm-width, display-backing-store)
1692         (display-save-under, display-planes, display-color-cells)
1693         (display-visual-class, display-monitor-attributes-list)
1694         (display-screens): Mention in the doc string that the argument can
1695         be either a display name or a frame.  Improve the docs of the
1696         monitor attributes.  (Bug#18636)
1698 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
1700         * term.el (term-window-width): Subtract 1 from the width when
1701         any fringe has zero width, not just the right fringe.  (Bug#18601)
1703 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1705         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
1707 2014-10-08  Leo Liu  <sdl.web@gmail.com>
1709         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
1711 2014-10-08  Glenn Morris  <rgm@gnu.org>
1713         * calendar/cal-x.el (calendar-dedicate-diary):
1714         Drop support for recently deleted aliases.
1716 2014-10-08  Leo Liu  <sdl.web@gmail.com>
1718         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
1719         Always return a syntax.  Replace call-process-shell-command with
1720         process-file.  Ensure cfengine-mode-syntax-functions-regex is
1721         always set.  Ensure cache when cfengine-cf-promises fails.
1722         (Bug#18620)
1724 2014-10-07  Glenn Morris  <rgm@gnu.org>
1726         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
1728 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
1730         Sync with upstream verilog-mode revision c075a492.
1731         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1732         (verilog-menu): Add AUTOINSERTLAST.
1733         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
1734         is nil, fix indenting initial/final to match always statements, bug825.
1735         Reported by Tim Clapp.
1736         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
1737         bug557.  Reported by ZeDong Mao and Jason Forkey.
1738         (verilog-read-decls): Fix parsing typed interfaces.
1739         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
1740         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
1741         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
1742         Reported by Pierre-David Pfister.
1743         (verilog-auto-insert-lisp): Doc fix.
1744         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
1745         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
1746         (verilog-sk-ovm-class, verilog-sk-uvm-object)
1747         (verilog-sk-uvm-component): Fix missing string keyword in class
1748         skeletons, bug824.  Reported by eldad faruhi.
1750 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1752         * term/w32-win.el: Move all code from 32-common-fns.el here.
1753         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
1754         console as well (bug#18629).
1755         * w32-common-fns.el: Remove.
1756         * loadup.el: Don't load w32-common-fns.el.
1757         * w32-fns.elc: Don't require w32-common-fns.
1759         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
1760         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
1761         Remove redundant obsolescence thingy.
1762         * loadup.el: Don't load obsolete/loaddefs.el.
1763         * Makefile.in (obsolete-autoloads): Remove.
1764         (AUTOGENEL): Remove obsolete/loaddefs.el.
1766 2014-10-06  Glenn Morris  <rgm@gnu.org>
1768         * Makefile.in (obsolete-autoloads): Write to a separate file,
1769         to workaround autoloads bug.  (Bug#17407)
1770         (AUTOGENEL): Add obsolete/loaddefs.el.
1771         * loadup.el: Load obsolete/loaddefs.el if present.
1772         * subr.el (do-after-load-evaluation):
1773         Don't warn about obsolete/loaddefs.el.
1775         * menu-bar.el (menu-bar-games-menu): Remove landmark.
1776         It has zero relationship to a game.
1778 2014-10-06  Leo Liu  <sdl.web@gmail.com>
1780         * imenu.el (imenu): Re-write for clarity.
1782 2014-10-06  Glenn Morris  <rgm@gnu.org>
1784         Remove calendar code obsolete since at least version 23.1.
1785         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
1786         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
1787         (calendar-goto-bahai-date, list-bahai-diary-entries)
1788         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
1789         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
1790         (insert-yearly-bahai-diary-entry):
1791         * calendar/cal-china.el (chinese-calendar-time-zone)
1792         (chinese-calendar-location-name)
1793         (chinese-calendar-daylight-time-offset)
1794         (chinese-calendar-standard-time-zone-name)
1795         (chinese-calendar-daylight-time-zone-name)
1796         (chinese-calendar-daylight-savings-starts)
1797         (chinese-calendar-daylight-savings-ends)
1798         (chinese-calendar-daylight-savings-starts-time)
1799         (chinese-calendar-daylight-savings-ends-time)
1800         (chinese-calendar-celestial-stem)
1801         (chinese-calendar-terrestrial-branch)
1802         (calendar-absolute-from-chinese, calendar-print-chinese-date)
1803         (calendar-goto-chinese-date):
1804         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
1805         (calendar-print-coptic-date, coptic-prompt-for-date)
1806         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
1807         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
1808         * calendar/cal-french.el (calendar-absolute-from-french)
1809         (calendar-print-french-date, calendar-goto-french-date):
1810         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
1811         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
1812         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
1813         (holiday-rosh-hashanah-etc, holiday-hanukkah)
1814         (holiday-passover-etc, holiday-tisha-b-av-etc)
1815         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
1816         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
1817         (insert-monthly-hebrew-diary-entry)
1818         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
1819         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
1820         (diary-sabbath-candles):
1821         * calendar/cal-islam.el (calendar-absolute-from-islamic)
1822         (calendar-print-islamic-date, calendar-goto-islamic-date)
1823         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
1824         (mark-islamic-diary-entries, insert-islamic-diary-entry)
1825         (insert-monthly-islamic-diary-entry)
1826         (insert-yearly-islamic-diary-entry):
1827         * calendar/cal-iso.el (calendar-absolute-from-iso)
1828         (calendar-print-iso-date, calendar-iso-read-args)
1829         (calendar-goto-iso-date, calendar-goto-iso-week):
1830         * calendar/cal-julian.el (calendar-absolute-from-julian)
1831         (calendar-print-julian-date, calendar-goto-julian-date)
1832         (calendar-absolute-from-astro, calendar-print-astro-day-number)
1833         (calendar-goto-astro-day-number):
1834         * calendar/cal-mayan.el (calendar-print-mayan-date)
1835         (calendar-next-haab-date, calendar-previous-haab-date)
1836         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
1837         (calendar-next-calendar-round-date)
1838         (calendar-previous-calendar-round-date)
1839         (calendar-absolute-from-mayan-long-count)
1840         (calendar-goto-mayan-long-count-date):
1841         * calendar/cal-move.el (scroll-calendar-left)
1842         (scroll-calendar-right, scroll-calendar-left-three-months)
1843         (scroll-calendar-right-three-months):
1844         * calendar/cal-persia.el (calendar-absolute-from-persian)
1845         (calendar-print-persian-date, persian-prompt-for-date)
1846         (calendar-goto-persian-date):
1847         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
1848         * calendar/calendar.el (view-diary-entries-initially)
1849         (mark-diary-entries-in-calendar, calendar-today-face)
1850         (diary-face, holiday-face, view-calendar-holidays-initially)
1851         (mark-holidays-in-calendar, initial-calendar-window-hook)
1852         (today-visible-calendar-hook, today-invisible-calendar-hook)
1853         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
1854         (bahai-diary-entry-symbol, american-date-diary-pattern)
1855         (european-date-diary-pattern, european-calendar-display-form)
1856         (american-calendar-display-form, holidays-in-diary-buffer)
1857         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
1858         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
1859         (fancy-diary-buffer, increment-calendar-month)
1860         (extract-calendar-month, extract-calendar-day)
1861         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
1862         (mark-visible-calendar-date, calendar-version):
1863         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
1864         (diary-display-hook, list-diary-entries-hook)
1865         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
1866         (nongregorian-diary-marking-hook, print-diary-entries-hook)
1867         (abbreviated-calendar-year, number-of-diary-entries)
1868         (view-other-diary-entries, add-to-diary-list)
1869         (include-other-diary-files, simple-diary-display)
1870         (fancy-diary-display, print-diary-entries, mark-diary-entries)
1871         (mark-sexp-diary-entries, mark-included-diary-files)
1872         (mark-calendar-days-named, mark-calendar-month)
1873         (mark-calendar-date-pattern, sort-diary-entries)
1874         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
1875         (insert-weekly-diary-entry, insert-monthly-diary-entry)
1876         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
1877         (insert-block-diary-entry, insert-cyclic-diary-entry)
1878         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
1879         * calendar/holidays.el (general-holidays, oriental-holidays)
1880         (local-holidays, other-holidays, hebrew-holidays)
1881         (christian-holidays, islamic-holidays, bahai-holidays)
1882         (solar-holidays, list-calendar-holidays)
1883         (check-calendar-holidays, mark-calendar-holidays)
1884         (filter-visible-calendar-holidays):
1885         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
1886         (diary-phases-of-moon): Remove obsolete aliases.
1887         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
1888         * calendar/cal-x.el (calendar-one-frame-setup)
1889         (calendar-only-one-frame-setup, calendar-two-frame-setup):
1890         Remove obsolete functions.
1891         (cal-x-load-hook): Remove obsolete hook.
1892         * calendar/calendar.el (european-calendar-style):
1893         Remove obsolete variable.
1894         (calendar-date-style): No longer consult european-calendar-style.
1895         * calendar/calendar.el (european-calendar, american-calendar):
1896         Remove obsolete commands.
1897         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
1898         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
1899         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
1900         Use the face `diary' instead of the variable `diary-face'.
1901         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
1902         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
1903         * calendar/icalendar.el (icalendar--date-style): Remove function.
1904         Replace all uses with calendar-date-style.
1905         * textmodes/remember.el (calendar-date-style): Declare.
1906         (remember-diary-convert-entry):
1907         No longer consult european-calendar-style.
1909 2014-10-05  Leo Liu  <sdl.web@gmail.com>
1911         * imenu.el (imenu-default-goto-function): Fix typo.
1913 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1915         * net/ntlm.el (ntlm-build-auth-request):
1916         Add NTLM2 Session support.  (Bug#15603)
1918 2014-10-04  Glenn Morris  <rgm@gnu.org>
1920         * apropos.el (apropos-symbols-internal):
1921         Avoid error with non-symbol properties.  (Bug#18337#16)
1923         * startup.el (command-line):
1924         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
1926 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
1928         * window.el (window-full-height-p): Make it behave correctly for
1929         minibuffer window.
1930         (window-current-scroll-bars): Fix code.
1931         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
1932         window-scroll-bars.
1933         * frame.el (frame-current-scroll-bars): Fix doc-string.
1934         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
1936 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
1938         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
1940 2014-10-04  Glenn Morris  <rgm@gnu.org>
1942         * frame.el (frame-monitor-attributes)
1943         (display-monitor-attributes-list): Doc fixes.
1945 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1947         Merge trivially safe differences from standalone CC-mode.
1948         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
1949         just to then pass it to `symbol-value'.
1950         (prog-mode): Provide fallback definition, if needed.
1951         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
1952         Remove "cl-" prefix accordingly.
1953         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
1954         characterp depending on the type of characters.
1955         (c-font-lock-enum-tail): Remove unused var `start'.
1956         * progmodes/cc-engine.el: Load CL at compile-time.
1957         (c-declare-lang-variables): Use mapcan.
1958         (c-append-to-state-cache): Remove unused var `ce+1'.
1959         (c-parse-state-state): Make buffer-local.
1960         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
1961         (c-just-after-func-arglist-p): Remove unused var `end'.
1962         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
1963         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
1964         (c-make-keywords-re): Use delete-dups.
1965         (c-get-current-file): Avoid file-name-base.
1966         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
1967         `close-paren-inserted'.
1968         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
1970         * progmodes/python.el: Avoid building unneeded markers.
1971         (python-font-lock-keywords, python-indent-dedent-line)
1972         (python-fill-paren, python-shell-completion-complete-or-indent):
1973         Prefer point over point-marker.
1974         (inferior-python-mode): Remove redundant completion settings.
1976 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
1978         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1979         (vc-svn-ignore): Use it.  (Bug#18619)
1981 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
1983         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1984         In doc-string mention need to set `frame-resize-pixelwise'.
1986 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1988         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1989         similarly to Rogers's 2010-06-16 change for the remote case
1990         (bug#18605).
1992 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1994         New gui-selection-value consolidating x-selection-value.
1995         * select.el (gui-selection-value-alist): New method.
1996         (gui-selection-value): New function.
1997         (x-selection-value): Make it an obsolete alias.
1998         * simple.el (interprogram-paste-function): Default to
1999         gui-selection-value.
2000         * w32-common-fns.el (w32-get-selection-value): Simplify.
2001         (x-selection-value): Remove alias.
2002         (interprogram-paste-function): Don't set.
2003         (gui-selection-value): Define for w32.
2004         * term/x-win.el (gui-selection-value): Define for x.
2005         (x--selection-value): Rename from x--selection-value.
2006         (interprogram-paste-function): Don't set.
2007         * term/pc-win.el (w16-get-selection-value): Simplify.
2008         (msdos-initialize-window-system): Don't set
2009         interprogram-paste-function.
2010         (gui-selection-value): Define for pc.
2011         * term/ns-win.el (x-selection-value): Remove.
2012         (gui-selection-value): Define for ns, instead.
2013         * term/common-win.el (x-setup-function-keys): Don't set
2014         interprogram-paste-function.
2015         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2016         Use gui-selection-value.
2018 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
2020         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
2022 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2024         * obsolete/lucid.el (read-number): Remove, redundant.
2025         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
2026         Remove, broken.
2028 2014-10-02  Glenn Morris  <rgm@gnu.org>
2030         * emacs-lisp/package.el (package-import-keyring):
2031         Create gnupg directory private.  (Bug#17625#155)
2033 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2035         * progmodes/python.el (python-shell-completion-get-completions):
2036         Use python-shell--prompt-calculated-input-regexp from the
2037         process buffer (bug#18582).
2038         Don't assume that `line' comes from the process buffer.
2040 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2042         * frame.el: Use lexical-binding (bug#18598).
2043         (make-frame): Use t rather than nil for tty's window-system.
2044         * startup.el (command-line): Use gui-method.
2046         Consolidate management/ownership of selections.
2047         * select.el (gui-get-selection-alist): New method.
2048         (gui-get-selection): Use it.  Rename from x-get-selection.
2049         (x-get-selection): Define as obsolete alias.
2050         (x-get-clipboard): Mark obsolete.
2051         (gui-get-primary-selection): New function.
2052         (x-get-selection-value): Mark obsolete.
2053         (gui-own-selection-alist, gui-disown-selection-alist)
2054         (gui-selection-owner-p-alist): New methods.
2055         (gui-set-selection): Use them.  Rename from x-set-selection.
2056         (x-set-selection): Define as obsolete alias.
2057         (gui--valid-simple-selection-p): Rename from
2058         x-valid-simple-selection-p.
2059         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
2060         (gui-selection-owner-p, gui-get-selection): Define for w32.
2061         (w32-get-selection-value): Rename from x-get-selection-value.
2062         Use the new gui-last-selected-text.
2063         * term/x-win.el (x-get-selection-value): Remove.
2064         (x-clipboard-yank): Declare obsolete.
2065         (gui-own-selection, gui-disown-selection, gui-get-selection)
2066         (gui-selection-owner-p): Define for x.
2067         * term/w32-win.el (w32-win-suspend-error): Rename from
2068         x-win-suspend-error.
2069         * term/pc-win.el (w16-get-selection-value): Rename from
2070         x-get-selection-value.
2071         (w16-selection-owner-p): Rename from x-selection-owner-p.
2072         (gui-own-selection, gui-disown-selection, gui-get-selection)
2073         (gui-selection-owner-p): Define for pc.
2074         (w16--select-text): New function.
2075         * term/ns-win.el (gui-own-selection, gui-disown-selection)
2076         (gui-get-selection, gui-selection-owner-p): Define for ns.
2077         * term.el (term-mouse-paste):
2078         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
2080 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
2082         * calc/calc-help.el (calc-describe-thing): Quote strings
2083         which could look like regexps.
2085 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2087         Consolidate x-select-text.
2088         * frame.el (gui-method, gui-method-define, gui-method-declare)
2089         (gui-call): New macros.
2090         (gui-method--name): New function.
2091         (frame-creation-function-alist): Use gui-method-declare.
2092         (make-frame): Use gui-method.
2093         * select.el (gui-select-enable-clipboard): Rename from
2094         x-select-enable-clipboard and move here.
2095         (x-select-enable-clipboard): Define as obsolete alias.
2096         (gui-last-selected-text): New var, to replace x-last-selected-text.
2097         (gui-select-text): New GUI method.
2098         (gui-select-text): New function.
2099         (x-select-text): Define as obsolete alias.
2100         * term/common-win.el (x-select-enable-clipboard, x-select-text):
2101         Move to select.el.
2102         * simple.el (interprogram-cut-function): Change default to
2103         x-select-text.
2104         (interprogram-paste-function): Change default to `ignore'.
2105         * w32-common-fns.el (interprogram-cut-function): Don't modify.
2106         * term/x-win.el (interprogram-cut-function): Don't modify.
2107         (gui-select-text): Add method for x.
2108         * term/w32-win.el (gui-select-text): Add method for w32.
2109         * term/pc-win.el (x-last-selected-text): Remove, use
2110         gui-last-selected-text instead.
2111         (msdos-initialize-window-system): Don't set interprogram-cut-function.
2112         (gui-select-text): Add method for pc.
2113         * term/ns-win.el (ns-last-selected-text): Remove, use
2114         gui-last-selected-text instead.
2115         (gui-select-text): Add method for ns.
2116         (x-setup-function-keys): Don't change interprogram-cut-function.
2117         * loadup.el ("startup"): Load after "frame".
2118         * subr.el (package--builtin-versions, package--description-file):
2119         Move from startup.el.
2120         * startup.el (package--builtin-versions, package--description-file):
2121         Move to subr.el.
2122         (handle-args-function-alist, window-system-initialization-alist):
2123         Use gui-method-declare.
2124         (command-line): Use gui-method.
2126 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2128         * subr.el (alist-get): New accessor.
2129         * emacs-lisp/gv.el (alist-get): Provide expander.
2130         * winner.el (winner-remember):
2131         * tempo.el (tempo-use-tag-list):
2132         * progmodes/gud.el (minor-mode-map-alist):
2133         * international/mule-cmds.el (define-char-code-property):
2134         * frameset.el (frameset-filter-params):
2135         * files.el (dir-locals-set-class-variables):
2136         * register.el (get-register, set-register):
2137         * calc/calc-yank.el (calc-set-register): Use it.
2138         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
2139         * tooltip.el (tooltip-set-param): Mark as obsolete.
2140         (tooltip-show): Use alist-get instead.
2141         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
2143 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
2145         * net/newst-backend.el: Remove Time-stamp.  Rename variable
2146         `newsticker--download-logos' to `newsticker-download-logos' and
2147         make it customizable.
2148         (newsticker--sentinel-work): Move xml-workarounds to function
2149         `newsticker--do-xml-workarounds', call unless libxml-parser is
2150         used.  Allow single quote in regexp for encoding.
2151         Use libxml-parser if available, else fall back to `xml-parse-region'.
2152         Take care of possibly missing namespace prefixes (like "RDF"
2153         instead of "rdf:RDF") when checking xml nodes and attributes (as
2154         libxml correctly removes the prefixes).  Always use Atom 1.0 as
2155         fallback feed type.  Rename `newsticker--download-logos' to
2156         `newsticker-download-logos'
2157         (newsticker--unxml, newsticker--unxml-node)
2158         (newsticker--unxml-attribute): New.
2159         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
2160         HTML code has become part of the xml parse tree.
2161         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
2162         of possibly missing namespace prefixes.
2163         (newsticker--parse-generic-items): Code formatting. Typo.
2164         (newsticker--images-dir): Add trailing slash.
2165         (newsticker--image-get): Fix error message.
2167         * net/newst-plainview.el: Remove Time-stamp.
2169         * net/newst-reader.el: Remove Time-stamp.
2170         (newsticker-download-logos): Rename variable
2171         `newsticker--download-logos' to `newsticker-download-logos' and
2172         make it customizable.
2173         (newsticker--print-extra-elements): Add optional parameter
2174         'htmlish for using html markup.  Amend list of ignored elements.
2175         (newsticker--do-print-extra-element): Add parameter 'htmlish for
2176         using html markup.
2178         * net/newst-ticker.el: Remove Time-stamp.
2180         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
2181         for formatting extra elements.
2183         * net/newsticker.el:  Remove Time-stamp, Version.
2184         (newsticker-version): Make obsolete.
2186 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
2188         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
2189         (bug#18462).
2191 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * emacs-lisp/package.el (package-check-signature): Default to nil if
2194         GPG is not available.
2195         (package-refresh-contents): Don't mess with the keyring if we won't
2196         check the signatures anyway.
2198 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2200         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
2201         (ses-center, ses-center-span): Use them.
2202         (ses-print-cell): Bind them while calling the printer.
2203         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
2204         (ses-dorange): Revert last change.
2205         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
2206         the formula.
2207         (ses-set-cell): Avoid `eval'.
2208         (ses--time-check): Rename it from ses-time-check and turn it into
2209         a macro.
2211         * ses.el (ses-setup): Don't assume modifying the iteration var of
2212         dotimes affects the iteration (bug#18191).
2214 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2216         * ses.el (ses-calculate-cell): Bind row and col dynamically to
2217         their values with 'cl-progv'.
2218         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
2219         their values with 'cl-progv', also use non-interned symbols for
2220         row, minrow, maxrow, mincol and maxcol.
2221         (maxrow maxcol): New defvar, to make the compiler happy.
2223 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2225         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
2226         completion functions.
2228 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2230         * ses.el (ses--letref): Quote value before it gets re-evaluated.
2232 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
2234         Font-lock `cl-flet*', too.
2235         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
2236         Add "flet*" to intermediate var `cl-lib-kw'.
2238 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2240         * epg-config.el (epg-gpg-program): Use the plain program names rather
2241         than their absolute file name.
2243         * subr.el (track-mouse): New macro.
2244         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2245         Remove track-mouse case.
2246         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
2248 2014-09-27  Leo Liu  <sdl.web@gmail.com>
2250         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
2252         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
2254 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2256         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
2257         Handle the case where `match' is :pcase--succeed or :pcase--fail
2258         (bug#18554).
2260         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
2261         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
2262         (eldoc-schedule-timer): Obey it.
2263         (eldoc-documentation-function): Default to nil.
2264         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
2265         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
2266         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
2267         (eldoc-last-data-store, eldoc-docstring-first-line)
2268         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
2269         (eldoc-beginning-of-sexp, eldoc-current-symbol)
2270         (eldoc-function-argstring): Move to elisp-mode.el.
2271         (eldoc-symbol-function): Remove, unused.
2272         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
2273         (elisp-completion-at-point): Rename from lisp-completion-at-point.
2274         (elisp--preceding-sexp): Rename from preceding-sexp.
2275         * loadup.el: Load new file progmodes/elisp-mode.
2276         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
2277         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
2278         (lisp--local-variables-completion-table, lisp--expect-function-p)
2279         (lisp--form-quoted-p, lisp--company-doc-buffer)
2280         (lisp--company-doc-string, lisp--company-location)
2281         (lisp-completion-at-point): Move to elisp-mode.el.
2282         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
2283         extracted from emacs-lisp-mode-syntax-table.
2284         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
2285         elisp-mode.el.
2286         (lisp-imenu-generic-expression): Add comments to document what comes
2287         from which Lisp dialect.
2288         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
2289         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
2290         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
2291         (emacs-lisp-byte-code-comment)
2292         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
2293         (lisp-interaction-mode-map, lisp-interaction-mode)
2294         (eval-print-last-sexp, last-sexp-setup-props)
2295         (last-sexp-toggle-display, prin1-char, preceding-sexp)
2296         (eval-last-sexp-1, eval-last-sexp-print-value)
2297         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
2298         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
2300 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
2302         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
2303         Do not match file names that end in '/', as they cannot be 'grep'
2304         hits nowadays.  This prevents confusion when 'grep -r' reports a
2305         match in a file whose basename is ':12345:'.  Conversely, do not
2306         require exactly the same sequence of spaces and tabs after both
2307         colons, and allow spaces or tabs before the second colon, as per
2308         the POSIX spec for 'grep' output.
2310 2014-09-26  Leo Liu  <sdl.web@gmail.com>
2312         Add cl-parse-integer based on parse-integer (Bug#18557)
2313         * calendar/parse-time.el (parse-time-digits): Remove.
2314         (digit-char-p, parse-integer) Moved to cl-lib.el.
2315         (parse-time-tokenize, parse-time-rules, parse-time-string):
2316         Use cl-parse-integer.
2318         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
2320         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
2321         (cl-digit-char-p): New function.
2323 2014-09-25  Juri Linkov  <juri@jurta.org>
2325         * vc/add-log.el (change-log-next-buffer): Don't create an empty
2326         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
2327         Return the current buffer if no files match the default pattern
2328         ChangeLog.[0-9].  Signal "end of multi" when file is nil. (Bug#18547)
2330 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2332         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
2333         the global vc-handled-backends (bug#18535).
2335 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2337         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
2338         Suggested by <lompik@voila.fr>.
2340 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
2342         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
2343         Rename from `newsticker--treeview-do-get-node'.
2344         (newsticker--treeview-get-node-by-id):
2345         Rename from `newsticker--treeview-get-node'.
2346         (newsticker--treeview-buffer-init)
2347         (newsticker--treeview-buffer-init): Disable buffer undo.
2348         (newsticker--treeview-unfold-node): Adapt to modified
2349         `newsticker--group-find-parent-group'.
2350         (newsticker--group-do-find-group):
2351         Rename from `newsticker--group-do-find-group-for-feed'.
2352         Now works for both, groups and feeds.
2353         (newsticker--group-find-parent-group):
2354         Rename from `newsticker--group-find-group-for-feed'.
2355         Now works for both, groups and feeds.
2356         (newsticker--group-do-get-parent-group)
2357         (newsticker--group-get-parent-group): Remove.
2358         (newsticker-group-add-group): Change interactive prompts.
2359         (newsticker-group-add-group): Finally jump to added group.
2360         (newsticker-group-delete-group): Finally jump to current feed.
2361         (newsticker--group-do-rename-group, newsticker-group-rename-group)
2362         (newsticker--get-group-names, newsticker--group-names): New.
2363         (newsticker-group-move-feed): Finally jump to moved feed.
2364         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
2365         (newsticker-group-shift-group-down)
2366         (newsticker-group-shift-group-up, newsticker--group-shift): New.
2367         (newsticker-treeview-mode-map): New keybindings for new shift commands.
2369         * net/newst-backend.el (newsticker--item-list)
2370         (newsticker--item-position, newsticker--prev-message)
2371         (newsticker--scrollable-text): Move to newst-ticker.el.
2373         * net/newst-ticker.el (newsticker--item-list)
2374         (newsticker--item-position, newsticker--prev-message)
2375         (newsticker--scrollable-text): Move from newst-backend.el.
2377 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
2379         * window.el (fit-window-to-buffer): When counting buffer width,
2380         count the whole visible buffer.  Correctly convert the body-height
2381         to pixel size for window-text-pixel-size (Bug#18498).
2383 2014-09-22  Sam Steingold  <sds@gnu.org>
2385         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
2386         (sql-execute): Use `special-mode'.
2388 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2390         Add pcase-defmacro, as well as `quote' and `app' patterns.
2391         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
2392         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
2393         (pcase--funcall, pcase--eval): New functions.
2394         (pcase--u1): Use them for guard, pred, let, and app.
2395         (\`): Use the new feature to generate better code for vector patterns.
2396         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
2397         (pcase--upat): Remove.
2398         (pcase--macroexpand): Don't hardcode handling of `.
2399         (pcase--split-consp, pcase--split-vector): Remove.
2400         (pcase--split-equal): Disregard ` since it's expanded away.
2401         (pcase--split-member): Optimize for quote rather than for `.
2402         (pcase--split-pred): Optimize for quote rather than for `.
2403         (pcase--u1): Remove handling of ` (and of `or' and `and').
2404         Quote non-selfquoting values when passing them to `eq'.
2405         Drop `app's let-binding if the variable is not used.
2406         (pcase--q1): Remove.
2407         (`): Define as a pattern macro.
2408         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
2409         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
2410         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
2411         quote patterns.
2412         (pcase--split-match): Don't hoist or/and here any more.
2413         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
2414         (pcase--flip): New helper macro.
2415         (pcase--u1): Optimize the memq case directly.
2416         Don't handle neither self-quoting nor and/or patterns any more.
2417         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
2418         (pcase--macroexpand): New function.
2419         (pcase--expand): Use it.
2420         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
2421         New optimization functions.
2422         (pcase--u1): Add support for `quote' and `app'.
2423         (pcase): Document them in the docstring.
2425 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2427         Use lexical-bindin in Ibuffer.
2428         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
2429         (ibuffer-compile-format): Simplify.
2430         (ibuffer-clear-summary-columns): Simplify.
2431         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
2432         elem of dotimes when we don't refer to the iteration var from it.
2433         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
2434         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
2435         Silence byte-compiler.
2437 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2439         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
2440         expression for a list.
2442         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
2443         for functions with no arguments.
2445         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
2446         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
2448 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2450         * simple.el (clone-indirect-buffer): Mention the return value
2451         (bug#18478).
2453         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
2454         Text mode in docstring (bug#18464).
2456 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2458         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2459         Accept underscores in identifiers after "sub" (bug#18502).
2461 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
2463         * textmodes/reftex-sel.el (reftex-select-label-mode)
2464         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
2465         from special-mode (instead of fundamental-mode) and propertize
2466         with font-lock-face instead of just face. (Bug#18496)
2468         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
2470 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
2472         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
2473         `table-etc' when `end' is non-nil.
2474         (lisp-completion-at-point): Move `end' back if it's after quote.
2475         If in comment or string, only complete when after backquote.
2476         (Bug#18265)
2477         (lisp-completion-at-point): Don't use
2478         `lisp--local-variables-completion-table' in the
2479         `lisp--form-quoted-p' case.
2481 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
2483         * emacs-lisp/lisp.el (lisp--expect-function-p)
2484         (lisp--form-quoted-p): New functions.
2485         (lisp-completion-at-point): Use them to see if we're completing a
2486         variable reference, a function name, or just any symbol.
2487         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
2489 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
2491         * net/shr.el, net/eww.el: Don't override `shr-width', but
2492         introduce a new variable `shr-internal-width'.  This allows users
2493         to specify a width themselves.
2495 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2497         * image-mode.el (image-toggle-display-image): If we have a
2498         `fit-width' or a `fit-height', don't limit the size of the image
2499         to the window size, because that doesn't preserve the aspect ratio.
2500         * image-mode.el: Move defvars earlier to avoid a byte-compilation
2501         warning.
2503 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
2505         * progmodes/js.el: Add interpreter-mode-alist support for various
2506         JavaScript interpreters.
2508 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
2510         Don't assume 'grep' supports GREP_OPTIONS.
2511         The GREP_OPTIONS environment variable is planned to be marked
2512         obsolescent in GNU grep, due to problems in its use, so stop
2513         relying on it.
2514         * progmodes/grep.el (grep-highlight-matches): Document this.
2515         (grep-process-setup): Do not set GREP_OPTIONS.
2516         (grep-compute-defaults): Use an explicit --color option if supported.
2518 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2520         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
2521         Don't add outdated key-shortcut cache (bug#18482).
2523 2014-09-15  Glenn Morris  <rgm@gnu.org>
2525         * image.el (image-multi-frame-p): Fix thinko - do not force
2526         a delay if none was specified.  (Bug#18334)
2528 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
2530         * window.el (fit-window-to-buffer): Doc fix.
2532 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
2534         * desktop.el (desktop-create-buffer): Check that buffers are still live
2535         before burying them (bug#18373).
2537 2014-09-15  Glenn Morris  <rgm@gnu.org>
2539         * calendar/diary-lib.el (diary-list-entries):
2540         Restore 24.3 display behavior.  (Bug#18381)
2542 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
2544         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
2545         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
2546         discrepancy between window-pixel-edges and mouse events, and
2547         avoids moving mode line up when the mouse click is on the modeline
2548         and no drag is attempted.
2550 2014-09-14  Daniel Colascione  <dancol@dancol.org>
2552         * register.el (insert-register): Change default interactive
2553         insertion mode.
2555 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
2557         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
2558         Suppress debug messages.
2560         * net/tramp.el (tramp-file-name-handler):
2561         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
2562         appropriate.
2564 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
2566         * calendar/calendar.el (calendar-update-mode-line):
2567         Do not overwrite mode-line-format if calendar-mode-line-format is
2568         nil.  (Bug#18467)
2570 2014-09-13  Leo Liu  <sdl.web@gmail.com>
2572         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
2573         (pcase--expand): Use it.
2574         (pcase-exhaustive): New macro.  (Bug#16567)
2576         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2577         Add pcase-exhaustive.
2579 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
2581         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
2582         using the specified transfer-encoding, if any, or 'undecided'.
2583         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
2584         broken at the window margin.
2586 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
2588         Support rendering of HTML parts in Rmail (bug#4258).
2589         * mail/rmailmm.el (rmail-mime-process): Handle text/html
2590         separately from other text/ types.  Suppress tagline for
2591         multipart body.
2592         (rmail-mime-parse): Don't change visibility of tagline here.
2593         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
2594         Handle text/html specially.
2595         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
2596         (rmail-mime-insert-html, rmail-mime-render-html-shr)
2597         (rmail-mime-render-html-lynx): New functions.
2598         (rmail-mime-fix-inserted-faces): New function.
2599         (rmail-mime-process-multipart): Find the best part to show
2600         following rmail-mime-prefer-html if set.
2601         (rmail-mime-searching): New variable.
2602         (rmail-search-mime-message): Bind rmail-mime-searching to
2603         suppress rendering while searching.
2605 2014-09-12  Sam Steingold  <sds@gnu.org>
2607         * progmodes/sql.el (sql-product-alist): Add vertica.
2608         (sql-vertica-program, sql-vertica-options)
2609         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
2610         New functions and variables to support Vertica.
2611         Inspired by code by Roman Scherer <roman@burningswell.com>.
2613 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
2615         * ses.el (ses-file-format-extend-parameter-list): Rename from
2616         ses-file-format-extend-paramter-list, to correct a misspelling.
2617         All uses changed.
2619 2014-09-10  Alan Mackenzie  <acm@muc.de>
2621         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
2622         gets loaded at run-time).
2623         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
2624         c-lang-const to c-make-no-parens-syntax-table and correct the
2625         logic.
2626         (c-no-parens-syntax-table): Correct the logic of the
2627         c-lang-defvar.
2629 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2631         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
2632         plus misc cleanup.
2633         * progmodes/cc-mode.el (c-basic-common-init):
2634         Set open-paren-in-column-0-is-defun-start.
2635         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
2636         Remove declarations, unused.
2637         (run-mode-hooks): Remove declaration.
2638         (font-lock-defaults): Use plain `defvar' to declare.
2639         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
2640         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
2641         (c-make-mode-syntax-table): Don't micro-optimize.
2642         (c-keywords, c-keyword-member-alist): Simplify.
2643         (c-kwds-lang-consts): Don't eval at compile-time.
2644         (c-primary-expr-regexp): Comment out unused vars.
2645         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
2646         (c-font-byte-compile): New var.
2647         (c--compile): New function.  Use it instead of `byte-compile'.
2648         (c-cpp-matchers): Quote the value returned by
2649         `c-make-syntactic-matcher' in case it's not self-evaluating.
2650         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
2651         parentheses instead (in case MATCHER happens to be a list).
2652         (c-font-lock-enum-tail): Remove unused var `start'.
2653         (c-font-lock-objc-methods): Silence byte-compiler warnings.
2654         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
2655         test into an argument.
2656         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
2657         (c-get-char-property): Don't use `eval' just to unquote a constant.
2658         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
2659         more efficiently.
2660         (c-put-char-property-fun): Don't call `byte-compile' by hand.
2661         (c-clear-char-property, c-clear-char-properties): Check that `property'
2662         is a quoted constant.
2663         (c-emacs-features): Remove `infodock', `syntax-properties', and
2664         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
2665         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
2666         changing buffer, so we don't have to setq them again afterwards.
2667         (c-lang-const): Remove redundant symbolp assertions.
2668         (c-find-assignment-for-mode): Use `or'.
2669         * Makefile.in (compile-one-process): Remove cc-mode dependency.
2671 2014-09-09  Sam Steingold  <sds@gnu.org>
2673         * progmodes/sql.el (sql-default-directory): Fix type annotation.
2675 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2677         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
2678         Change doc comments into docstrings.
2679         * Makefile.in: Remove cc-awk dependency.
2681 2014-09-08  Sam Steingold  <sds@gnu.org>
2683         * progmodes/sql.el (sql-send-line-and-next): New command,
2684         bound to C-c C-n.
2685         (sql-show-sqli-buffer): Display the buffer instead of its name and
2686         bind the command to C-c C-z.
2687         (sql-default-directory): New user option.
2688         (sql-product-interactive): Bind `default-directory' to it to
2689         enable remote connections using Tramp.
2690         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
2691         suitable buffer is available.
2693 2014-09-08  Glenn Morris  <rgm@gnu.org>
2695         * calendar/calendar.el (calendar-basic-setup):
2696         Fix calendar-view-holidays-initially-flag and fancy display.
2697         * calendar/diary-lib.el (diary-live-p): Doc fix.
2699         * calendar/calendar.el (calendar-basic-setup):
2700         Avoid clobbering calendar with diary.  (Bug#18381)
2702 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2704         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
2706 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
2708         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
2709         as well (bug#18400).
2711 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
2713         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
2715 2014-09-06  Leo Liu  <sdl.web@gmail.com>
2717         * emacs-lisp/pcase.el (pcase): Doc fix.
2718         (pcase--split-vector): New function.
2719         (pcase--q1): Support vector qpattern.  (Bug#18327)
2721 2014-09-05  Sam Steingold  <sds@gnu.org>
2723         * textmodes/tex-mode.el (tex-print-file-extension): New user
2724         option.
2725         (tex-print): Use it instead of the hard-coded string.
2727 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
2729         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2730         Expand `default-directory'.
2732 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
2734         * scroll-bar.el (horizontal-scroll-bars-available-p):
2735         New function.
2736         (horizontal-scroll-bar-mode): Rewrite using
2737         horizontal-scroll-bars-available-p.
2738         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
2739         horizontal-scroll-bars-available-p.
2741 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2743         * subr.el (call-process-shell-command, process-file-shell-command):
2744         Make the `args' obsolete (bug#18409).
2745         (start-process-shell-command, start-file-process-shell-command):
2746         Use `declare'.
2748 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
2750         * calc/calc-forms.el (math-normalize-hms): Do a better check for
2751         "negative" hms forms.
2753 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
2755         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
2756         returns nil (bug#18391).
2758 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2760         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
2761         terminating paren (bug#18352).
2762         (eldoc-last-data-store): Return cached data.
2763         (eldoc-get-var-docstring): Avoid setq.
2764         (eldoc-get-fnsym-args-string): Clarify data flow.
2766 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2768         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
2769         case where we're currently providing part of the &rest arg after some
2770         &key args, as in define-ibuffer-op (bug#18048).
2772 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2774         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
2775         buffer-local setting of which-func-mode.
2776         (which-func-mode): Use defvar-local.
2777         (which-function-mode): Don't reset which-func-mode in each buffer since
2778         it might have been set by someone else.
2779         (which-func-update-ediff-windows): Check which-function-mode.
2781 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
2783         * frame.el (frame-initialize): Remove horizontal-scroll-bars
2784         from frame-initial-frame-alist.
2785         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
2786         (horizontal-scroll-bar-mode-explicit)
2787         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
2788         (toggle-horizontal-scroll-bar): Remove.
2789         (horizontal-scroll-bar-mode): Remove defcustom.
2790         (horizontal-scroll-bar-mode): Fix doc-string.
2791         (scroll-bar-toolkit-scroll)
2792         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
2794 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2796         * emacs-lisp/package.el (package-generate-description-file):
2797         Properly quote the arguments (bug#18332).  Change second arg.
2798         (package--alist-to-plist-args): Rename from package--alist-to-plist and
2799         quote the elements.
2800         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
2801         the *-pkg.el file.  Adjust to new calling convention of
2802         package-generate-description-file.
2804         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
2805         (gud-gdb-completions): Remove obsolete workaround.
2807 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
2809         * subr.el (posn-col-row): Revert the change from commit
2810         2010-11-13T21:07:58Z!eliz@gnu.org, which
2811         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
2812         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
2813         introduced an off-by-one error in the reported row when there is a
2814         header line.  (Bug#18384)
2816 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2818         * progmodes/python.el (python-indent-post-self-insert-function):
2819         Avoid electric colon at beginning-of-defun.  (Bug#18228)
2821 2014-09-03  Glenn Morris  <rgm@gnu.org>
2823         * tutorial.el (tutorial--display-changes):
2824         Fix 2014-08-01 change.  (Bug#18382)
2826 2014-09-03  Ken Brown  <kbrown@cornell.edu>
2828         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
2829         the Cygwin-w32 build.  (Bug#18347)
2831 2014-09-03  Glenn Morris  <rgm@gnu.org>
2833         * tar-mode.el (tar--extract, tar-extract):
2834         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
2836 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2838         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
2839         handle multiline elements (bug#18380).
2841 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
2843         * ls-lisp.el (ls-lisp-use-string-collate)
2844         (ls-lisp-UCA-like-collation): New defcustoms.
2845         (ls-lisp-string-lessp): Use them to control sorting by file
2846         names.  (Bug#18051)
2847         (ls-lisp-version-lessp): New function.
2848         (ls-lisp-handle-switches): Use it to implement the -v switch of
2849         GNU ls.
2850         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
2852 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
2854         * ibuffer.el: Replace mode-specific quit function with
2855         `quit-window' via `special-mode'.
2856         (ibuffer-mode-map): Use keybindings from special-mode-map instead
2857         of local overrides.
2858         (ibuffer): Don't store previous windows configuration.
2859         Let `quit-window' handle restoring.
2860         (ibuffer-quit): Remove function. Use `quit-window' instead.
2861         (ibuffer-restore-window-config-on-quit): Remove variable.
2862         (ibuffer-prev-window-config): Remove variable.
2864 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
2866         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
2867         name instead of variable name in hook docstring.  (Bug#18349)
2869 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
2871         * window.el (display-buffer-at-bottom): Prefer bottom-left
2872         window to other bottom windows.  Reuse a bottom window if it
2873         shows the buffer already.  Suggested by Juri Linkov
2874         <juri@jurta.org> in discussion of (Bug#18181).
2876 2014-08-29  Leo Liu  <sdl.web@gmail.com>
2878         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
2879         append to minibuffer-setup-hook.  (Bug#18341)
2881 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2883         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
2884         byte-compiler.
2885         (lookup-syntax-properties): Silence byte-compiler.
2886         (c-lang-defconst): Quote the code with `lambda' rather than with
2887         `quote'.
2888         (c-lang-const): Avoid unneeded setq.
2889         (c-lang-constants-under-evaluation): Add docstring.
2890         (c-lang--novalue): New constant.
2891         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
2892         (c-get-lang-constant): Same here.
2893         Get the mode's value using `funcall' now that the code is quoted
2894         with `lambda'.
2896 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
2898         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
2899         (Bug#18326)
2901 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
2903         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
2904         interpretation of `portion-whole'.
2906 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
2908         * net/tramp-adb.el: Spell author name correctly.
2910 2014-08-28  João Távora  <joaotavora@gmail.com>
2912         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
2913         use url-expand-file-name.  (Bug#18310)
2915 2014-08-28  Glenn Morris  <rgm@gnu.org>
2917         * emulation/cua-rect.el (cua--highlight-rectangle):
2918         Avoid error at point-min.  (Bug#18309)
2920 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2922         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
2923         executable-find (bug#18244).
2925         * simple.el (self-insert-uses-region-functions): Defvar.
2927 2014-08-28  Glenn Morris  <rgm@gnu.org>
2929         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
2931 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
2933         * startup.el (normal-top-level): Now use internal--top-level-message.
2935 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
2937         * startup.el (normal-top-level): Use top-level-message.
2939 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2941         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
2942         URLs containing spaces and the like.
2944 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
2946         * subr.el (remq): Fix docstring (Bug#18253).
2948 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
2950         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
2952 2014-08-24  Alan Mackenzie  <acm@muc.de>
2954         Handle C++11's "auto" and "decltype" constructions.
2955         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
2956         and return 'decltype.
2957         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
2958         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
2959         keyword.
2960         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
2961         "decltype" keyword.
2962         (c-font-lock-c++-new): Handle "decltype" constructions.
2963         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
2964         New c-lang-defconsts/defvars.
2965         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
2966         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
2967         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
2968         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
2970         Make ">>" act as double template ender in C++ Mode.
2971         Fix bug#11386.
2972         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
2973         off from c->-op-cont-re.
2974         (c->-op-cont-tokens): Change to use the above.
2975         (c->-op-without->-cont-regexp): New lang-const.
2976         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
2977         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
2980 2014-08-23  Alan Mackenzie  <acm@muc.de>
2982         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
2983         loop, bug #18306.  The bug was introduced on 2014-08-02.
2985 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
2987         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
2988         Don't recognize a Top node if there are other sectioning commands
2989         earlier in the Texinfo file.  This fixes a bug in
2990         texinfo-make-menu and avoids inflooping in
2991         texinfo-all-menus-update when they are invoked on texinfo.texi.
2993 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
2995         * window.el (window--side-window-p): New function.
2996         (split-window, window-splittable-p): Use window--side-window-p to
2997         determine whether WINDOW can be split (Bug#18304).
2998         * calendar/calendar.el (calendar-basic-setup): Fix one call of
2999         `window-splittable-p' and add another (Bug#18304).
3001 2014-08-20  Sam Steingold  <sds@gnu.org>
3003         * progmodes/python.el (python-new-pythonpath): Extract from
3004         `python-shell-calculate-process-environment'.
3006 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3008         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
3009         for &key args (bug#18048).
3011 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3013         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
3014         (eldoc-function-argstring-format): Remove.
3015         (eldoc-function-argstring): Always return upcase args.
3016         Use help-make-usage.  Don't add parens.
3017         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
3018         it's too late to do it right (bug#18048).
3020 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
3022         * scroll-bar.el (scroll-bar-horizontal-drag-1)
3023         (scroll-bar-toolkit-horizontal-scroll): When determining the
3024         paragraph direction, use the buffer of the window designated in
3025         the event.
3027 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
3029         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
3030         context of unified diff.
3032 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
3034         Add dependencies to fix loaddefs race during parallel builds.
3035         Without this, for example, 'make -j bootstrap' can fail and report
3036         "Opening input file: no such file or directory,
3037         .../lisp/calendar/diary-loaddefs.el ... recipe for target
3038         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
3039         got confused because diary-loaddefs.el was being built in parallel.
3040         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
3041         Depend on $(CAL_DIR)/cal-loaddefs.el.
3042         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
3044 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
3046         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
3047         portion-whole for scrolling right-to-left text.
3049 2014-08-15  Leo Liu  <sdl.web@gmail.com>
3051         * speedbar.el (speedbar-generic-list-tag-p): Allow special
3052         elements from imenu.
3054 2014-08-15  Glenn Morris  <rgm@gnu.org>
3056         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
3058 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
3060         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3061         Add Guile regexpses.
3063 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
3065         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
3066         add Guile debugger support for GUD.
3068 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3070         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
3071         (mouse-sel--ignore): New function.
3072         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
3073         (mouse-sel-original-interprogram-cut-function)
3074         (mouse-sel-original-interprogram-paste-function): Remove.
3076 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
3078         * vc/vc-git.el (vc-git-resolve-when-done): New function.
3079         Call "git add" when there are no longer conflict markers.
3081 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3083         * vc/vc-git.el (vc-git-find-file-hook): New function.
3084         Adds support for calling smerge (and resolve) on a conflicted file.
3085         (vc-git-conflicted-files): New function.
3086         Useful in itself and a step towards better smerge support.
3088 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3090         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
3091         to the first part if they're the same as the selection.
3093 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3095         * image-mode.el (image-transform-reset): New command and menu item.
3096         (image-mode-map): Rearrange the menu items to put presumably more
3097         obscure items at the end.
3099 2014-08-12  Juri Linkov  <juri@jurta.org>
3101         * vc/vc-annotate.el (vc-annotate-background-mode):
3102         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
3104 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3106         * files.el (out-of-memory-warning-percentage): Turn it off by default.
3108 2014-08-11  Sam Steingold  <sds@gnu.org>
3110         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
3111         the presence of known validators (tidy, (o)nsgmls).
3113 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
3115         Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
3117         * net/newst-treeview.el (newsticker-treeview-date-format): New.
3118         (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
3120 2014-08-11  Glenn Morris  <rgm@gnu.org>
3122         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
3123         chose coding system for writing before backing up, since it causes
3124         a more serious problem than the one it solves.  (Closes Bug#18141,
3125         reopens Bug#13522.)
3127 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
3129         * window.el (window-total-size): Make doc-string more self-contained.
3131         * window.el (display-buffer-below-selected): Restore original
3132         behavior if buffer is already displayed in the window below the
3133         selected one (Bug#18181).
3135 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3137         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
3138         event (bug#18212).
3140 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
3142         * info.el (info): Doc fix.
3144 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3146         * info.el (Info-mode-map): Override a global down-mouse-2 binding
3147         (bug#18212).
3149 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
3151         * simple.el (default-line-height): A floating-point value of
3152         line-spacing means a fraction of the default frame font's height,
3153         not of the font currently used by the 'default' face.
3154         Truncate the pixel value, like the display engine does.
3155         (window-screen-lines): Use window-inside-pixel-edges for
3156         determining the window height in pixels.  (Bug#18195)
3158 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
3160         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
3162 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
3164         Enumerate evaluated sexp diary entries (Bug#7911).
3165         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
3166         (icalendar-export-sexp-enumeration-days): New.
3167         (icalendar-export-region): Now `icalendar--convert-to-ical'
3168         returns a cons cell or a list of cons cells.
3169         (icalendar--convert-to-ical): Take care of
3170         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
3171         (icalendar--convert-ordinary-to-ical)
3172         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3173         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
3174         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
3175         (icalendar--convert-anniversary-to-ical): Return cons cell.
3176         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
3177         entries.  Return (list of) cons cells.
3179 2014-08-09  Juri Linkov  <juri@jurta.org>
3181         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
3182         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
3184 2014-08-09  Alan Mackenzie  <acm@muc.de>
3186         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
3187         for top-level that can cause unacceptable slow-down in scrolling.
3188         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
3189         Antipov from 2013-10-14 in emacs-devel.
3191 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3193         * ibuffer.el (ibuffer-mode-map): Use toggle button for
3194         `ibuffer-auto-mode' menu entry.
3195         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
3197 2014-08-08  Matthias Meulien  <orontee@gmail.com>
3199         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
3200         (Bug#16394)
3202 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
3204         * window.el (window--min-size-1): Explicitly set WINDOW arg in
3205         calls of window-min-pixel-height and window-min-pixel-width.
3207 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
3209         * progmodes/ada-mode.el:
3210         * net/tramp.el (tramp-handle-file-symlink-p):
3211         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
3212         about VMS, which we no longer support.
3213         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
3214         and fix a FIXME, using convert-standard-filename in place of
3215         removed ada-convert-file-name.
3217 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
3219         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
3221 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
3223         Refer to MS-DOS using the same name everywhere.
3224         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
3225         ``msdog'' become ``MS-DOS''.
3227 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
3229         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3230         Use cached "remote-copy-args" value, if available.  (Bug#18199)
3232 2014-08-07  Leo Liu  <sdl.web@gmail.com>
3234         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
3235         Revert change on 2014-03-22.
3237 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
3239         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
3240         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
3241         (Bug#13750).
3244 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3246         * image-mode.el (image-toggle-display-image): Always rescale images
3247         to not be bigger than the current window.
3249 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
3251         * net/eww.el (eww-bookmarks-directory): New variable.
3252         (eww-write-bookmarks): Use it.
3253         (eww-read-bookmarks): Ditto.
3255 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3257         * net/shr.el (shr-copy-url): Also copy the image URL.
3259 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
3261         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
3262         also for Tramp working buffers.
3264 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3266         * progmodes/python.el: Fix completions inside (i)pdb.
3267         (python-shell-completion-pdb-string-code): Make obsolete.
3268         (python-shell-completion-get-completions):
3269         Use python-shell-completion-string-code resending setup code
3270         continuously for (i)pdb.
3272 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
3274         * rect.el (rectangle--default-line-number-format): Rename
3275         from misspelled rectange--default-line-number-format (Bug#18045).
3276         All uses changed.
3278 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
3280         Don't mishandle year-9999 dates (Bug#18176).
3281         * calendar/parse-time.el (parse-time-rules):
3282         Allow years up to most-positive-fixnum.
3283         * calendar/time-date.el (date-to-time):
3284         Pass "Specified time is not representable" errors through.
3286 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3288         * progmodes/python.el: Completion code cleanups.
3289         (python-shell-completion-get-completions): Detect and send import
3290         statements directly to completion function.
3291         (python-shell-completion-at-point): Simplify prompt calculation
3292         and import vs input completion logic.
3294 2014-08-02  Alan Mackenzie  <acm@muc.de>
3296         Fix confusion in C++ file caused by comma in "= {1,2},".
3297         Bug #17756.
3298         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
3299         for a statement boundary marked by "}", check there's no "="
3300         before the "{".
3301         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
3302         non-nil `comma-delim' argument.
3303         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
3304         initializer expression more accurately.
3306         Correct loop termination condition in c-syntactic-skip-backward.
3307         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
3308         the situation where, after moving back out of a literal,
3309         skip-chars-backward doesn't move further, yet checks have still to
3310         be done.
3312 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
3314         * tutorial.el (tutorial--display-changes): Accept punctuation
3315         characters before the key binding.  (Bug#18146)
3317 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3319         * progmodes/python.el: Shell output capture enhancements.
3320         (python-shell-accept-process-output): New function.
3321         (inferior-python-mode)
3322         (python-shell-send-setup-code): Use it.
3324 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
3326         * calendar/icalendar.el (icalendar--decode-isodatetime):
3327         Use actual current-time-zone when converting to local time. (Bug#15408)
3329 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
3331         * window.el (window--state-put-2): Handle horizontal scroll
3332         bars, if present.
3334 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3336         * menu-bar.el (menu-bar-update-buffers): Update item list format
3337         in `buffers-menu' to confirm with changes to `get_keyelt'
3338         (r117463).  (Bug#18016)
3340 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3342         * progmodes/python.el (inferior-python-mode): Make input prompts
3343         read-only.
3345 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
3347         * net/tramp-sh.el (tramp-get-remote-python): Also search for
3348         executables named "python2" or "python3".
3349         (tramp-get-remote-uid-with-python): Use parentheses around
3350         arguments to `print' to make it compatible with Python 3.
3351         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
3353 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
3355         * window.el (window--pixel-to-total): Use FRAME's root window, not
3356         that of the selected frame.  (Bug#18112, Bug#16674)
3358 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
3360         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
3361         (Bug#18117)
3363 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3365         * progmodes/python.el (inferior-python-mode): Doc fix.
3367 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
3369         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
3370         not a character, ignore it instead of raising an error.
3372         * calendar/todo-mode.el: Fix handling of marked items and make
3373         minor code improvements.
3374         (todo-edit-item): If there are marked items, ensure user can only
3375         invoke editing commands that work with marked items.
3376         (todo-edit-item--text): When there are marked items, make it a
3377         noop if invoked with point not on an item; otherwise, ensure it
3378         applies only to item at point.
3379         (todo-item-undone): If there are marked not-done items, return
3380         point to its original position before signaling user error.
3381         (todo--user-error-if-marked-done-item): New function.
3382         (todo-edit-item--header, todo-edit-item--diary-inclusion)
3383         (todo-item-done): Use it.
3385 2014-07-28  Glenn Morris  <rgm@gnu.org>
3387         * files.el (toggle-read-only): Re-add basic doc-string.
3388         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
3390         * progmodes/prolog.el (prolog-mode-keybindings-edit):
3391         Replace missing `switch-to-prolog' with `run-prolog'.
3392         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
3394 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
3396         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
3397         of file-wide setting when changing category-wide setting.
3399 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
3401         * doc-view.el (doc-view-open-text): Don't require that the
3402         document is saved in a file (e.g., email attachment).
3404 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3406         Parse completion input in a iPython friendly way.  (Bug#18084)
3407         * progmodes/python.el
3408         (python-shell-completion-at-point): Rename from
3409         python-shell-completion-complete-at-point.
3410         (inferior-python-mode): Use it.
3411         (python-completion-at-point): Rename from
3412         python-completion-complete-at-point.  Parse input up to first
3413         backward occurrence of whitespace, open-paren, close-paren or
3414         string delimiter.
3415         (python-mode): Use it.
3417 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3419         Prevent Python process shell buffer to pop twice.
3420         * progmodes/python.el (python-shell-switch-to-shell): Do not call
3421         pop-to-buffer.
3423 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3425         * progmodes/python.el
3426         (python-shell-with-shell-buffer): New macro.
3427         (python-shell-font-lock-get-or-create-buffer)
3428         (python-shell-font-lock-kill-buffer)
3429         (python-shell-font-lock-with-font-lock-buffer)
3430         (python-shell-font-lock-cleanup-buffer)
3431         (python-shell-font-lock-toggle): Use it.
3432         (python-shell-font-lock-turn-on)
3433         (python-shell-font-lock-turn-off): Use it.  Make command.
3435 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3437         Grab all Python process output before inferior-python-mode hooks.
3438         * progmodes/python.el (inferior-python-mode):
3439         Call accept-process-output and sit-for to ensure all output for process
3440         has been received before running hooks.
3441         (python-shell-internal-get-or-create-process):
3442         Cleanup accept-process-output and sit-for calls.
3444 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3446         More robust shell startup and code setup.
3447         * progmodes/python.el (python-shell-make-comint):
3448         Remove accept-process-output call.
3449         (python-shell-get-buffer): Return current buffer if major-mode is
3450         inferior-python-mode.
3451         (python-shell-get-or-create-process): Use it.
3452         (python-shell-send-setup-code): Send all setup code in one string,
3453         output success message and accept-process-output.
3455 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
3457         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
3458         Add rudimentary support for bidirectional text.
3460 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
3462         * frame.el (frame-notice-user-settings): Rewrite using
3463         frame-initial-frame-tool-bar-height.
3464         * menu-bar.el (menu-bar-horizontal-scroll-bar)
3465         (menu-bar-no-horizontal-scroll-bar): New functions.
3466         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
3467         scroll bars.
3468         * scroll-bar.el (scroll-bar-lines)
3469         (set-horizontal-scroll-bar-mode)
3470         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
3471         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
3472         (scroll-bar-toolkit-horizontal-scroll): New functions.
3473         (horizontal-scroll-bar-mode)
3474         (previous-horizontal-scroll-bar-mode)
3475         (horizontal-scroll-bar-mode-explicit): New variables.
3476         (horizontal-scroll-bar-mode): New option.
3477         (toggle-horizontal-scroll-bar): Do something.
3478         (top-level): Bind horizontal-scroll-bar mouse-1.
3479         * startup.el (tool-bar-originally-present): Remove variable.
3480         (command-line): Don't set tool-bar-originally-present.
3481         * window.el (window-min-height): Update doc-string.
3482         (window--dump-frame): Dump horizontal scroll bar values.
3483         (window--min-size-1): Handle minibuffer window separately.
3484         Count in margins and horizontal scroll bar.  Return safe value
3485         iff IGNORE equals 'safe.
3486         (frame-windows-min-size): New function (used by frame resizing
3487         routines).
3488         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
3489         scroll bars.
3490         (window--sanitize-window-sizes): New function.
3491         (window-split-min-size): Remove.
3492         (split-window): Count divider-width.  Don't use
3493         `window-split-min-size' any more.  Reword error messages.
3494         Sanitize windows sizes after splitting.
3496 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
3498         Use `defvar-local' more.
3499         * progmodes/hideshow.el
3500         (hs-c-start-regexp, hs-block-start-regexp)
3501         (hs-block-start-mdata-select, hs-block-end-regexp)
3502         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
3503         remove corresponding `make-variable-buffer-local' top-level calls.
3505 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3507         Cleanup error signals.  (Bug#18067)
3508         * progmodes/python.el
3509         (python-indent-shift-left): Use user-error instead.
3510         (python-shell-prompt-detect): Use lwarn with python group.
3511         (python-completion-complete-at-point)
3512         (python-eldoc--get-doc-at-point): Don't signal error.
3514 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3516         Support for packages in Python shell.  (Bug#13570)
3517         * progmodes/python.el (python-shell--package-depth): New var.
3518         (python-shell-package-enable): New command.
3519         (python-util-list-directories, python-util-list-files)
3520         (python-util-list-packages): New functions.
3522 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3524         Faster comint output.  (Bug#16875)
3525         * progmodes/python.el:
3526         (python-comint-output-filter-function): Make obsolete.
3527         (python-comint-postoutput-scroll-to-bottom): New function.
3528         (inferior-python-mode): Set comint-output-filter-functions to a
3529         minimum.
3531 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3533         * progmodes/python.el (python-shell-font-lock-post-command-hook):
3534         Safeguard current point and undo history.
3536 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3538         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
3539         * progmodes/python.el:
3540         (python-shell-prompt-input-regexps): Add iPython block prompt.
3541         (python-shell-output-syntax-table): Delete var.
3542         (python-shell-font-lock-with-font-lock-buffer): New macro.
3543         (python-shell-font-lock-get-or-create-buffer)
3544         (python-shell-font-lock-kill-buffer)
3545         (python-shell-font-lock-cleanup-buffer)
3546         (python-shell-font-lock-post-command-hook)
3547         (python-shell-font-lock-turn-off): New functions.
3548         (python-shell-font-lock-turn-on): New function.
3549         (inferior-python-mode): Use it.
3550         (python-shell-font-lock-toggle): New command.
3551         (python-shell-font-lock-enable): Rename from
3552         python-shell-enable-font-lock.
3553         (run-python-internal): Use it.
3554         (python-shell-font-lock-comint-output-filter-function): New function.
3555         (python-shell-comint-end-of-output-p): New function.
3556         (python-shell-output-filter): Use it.
3557         (python-util-comint-last-prompt): New function.
3558         (python-util-text-properties-replace-name): New function.
3560 2014-07-25  Glenn Morris  <rgm@gnu.org>
3562         * vc/ediff-init.el (ediff-toggle-read-only-function):
3563         * vc/ediff-util.el (ediff-toggle-read-only):
3564         Replace obsolete toggle-read-only with read-only-mode.
3566 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
3568         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
3569         with `save-match-data'.  (Bug#18095)
3571 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3573         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
3574         order to ensure that row and col are lexically bound inside the
3575         evaluated sexp.
3577 2014-07-21  Glenn Morris  <rgm@gnu.org>
3579         * progmodes/hideif.el (hide-ifdef-mode-submap):
3580         Also substitute read-only-mode.
3581         * bindings.el (mode-line-toggle-read-only):
3582         * bs.el (bs-toggle-readonly):
3583         * buff-menu.el (Buffer-menu-toggle-read-only):
3584         * dired.el (dired-toggle-read-only):
3585         * files.el (view-read-only, find-file-read-only)
3586         (find-file-read-only-other-window)
3587         (find-file-read-only-other-frame):
3588         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
3589         Doc fixes re toggle-read-only.
3591 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3593         * progmodes/python.el: Add comment about pipe buffering and
3594         solutions for missing/delayed output in inferior Python shells.
3595         (Bug#17304)
3597         * progmodes/python.el (python-mode): Don't set
3598         mode-require-final-newline.  (Bug#17990)
3600         Make python.el work with IPython automatically.  (Bug#15510)
3601         * progmodes/python.el:
3602         (python-shell-completion-setup-code): New value supporting iPython.
3603         (python-shell-completion-string-code): New value supporting iPython.
3604         (python-shell-completion-get-completions): Use them.
3605         (python-shell-completion-module-string-code): Make obsolete.
3606         (python-shell-prompt-input-regexps)
3607         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
3608         (python-shell-output-filter): Fix comment typo.
3610         Fix Python shell prompts detection for remote hosts.
3611         * progmodes/python.el (python-shell-prompt-detect):
3612         Replace call-process with process-file and make it more robust.
3614         Autodetect Python shell prompts.  (Bug#17370)
3615         * progmodes/python.el:
3616         (python-shell-interpreter-interactive-arg)
3617         (python-shell-prompt-detect-enabled)
3618         (python-shell-prompt-detect-failure-warning)
3619         (python-shell-prompt-input-regexps)
3620         (python-shell-prompt-output-regexps): New vars.
3621         (python-shell-prompt-calculated-input-regexp)
3622         (python-shell-prompt-calculated-output-regexp): New vars.
3623         (python-shell-get-process-name)
3624         (python-shell-internal-get-process-name)
3625         (python-shell-output-filter)
3626         (python-shell-completion-get-completions): Use them.
3627         (python-shell-prompt-detect)
3628         (python-shell-prompt-validate-regexps): New functions.
3629         (python-shell-prompt-set-calculated-regexps): New function.
3630         (inferior-python-mode): Use it.  Also honor overriden
3631         python-shell-interpreter and python-shell-interpreter-args.
3632         (python-shell-make-comint): Honor overriden
3633         python-shell-interpreter and python-shell-interpreter-args.
3634         (python-shell-get-or-create-process): Make it testable by allowing
3635         to call run-python non-interactively.
3636         (python-util-valid-regexp-p): New function.
3637         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
3638         (python-shell-prompt-output-regexp)
3639         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
3641 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3643         * emacs-lisp/smie.el (smie-config--guess-1): Split from
3644         smie-config--guess.
3645         (smie-config--guess): Use it.
3647         * emacs-lisp/edebug.el: Use nadvice.
3648         (edebug-original-read): Remove.
3649         (edebug--read): Rename from edebug-read and add `orig' arg.
3650         (edebug-uninstall-read-eval-functions)
3651         (edebug-install-read-eval-functions): Use nadvice.
3652         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
3653         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
3654         (edebug-read-string, edebug-read-function): Use just `read'.
3655         (edebug-original-debug-on-entry): Remove.
3656         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
3657         `orig' arg.
3658         (debug-on-entry): Override with nadvice.
3660         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
3661         it also makes sense to bind it to a non-mouse event.
3663         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
3665 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3667         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
3668         (bug#18015).
3670         * rect.el (rectangle--string-preview): Don't assume there
3671         a non-nil default (bug#17984).
3673 2014-07-16  Glenn Morris  <rgm@gnu.org>
3675         * desktop.el (after-init-hook): Disable startup frame restoration
3676         in non-graphical situations.  (Bug#17693)
3678         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
3679         if it was "empty", or used for a different set of files.  (Bug#17884)
3681 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
3683         * bindings.el (mode-line-remote): If default-directory is not a
3684         string, don't call file-remote-p on it; instead state in the
3685         help-echo that it is nil.  (Bug#17986)
3687 2014-07-14  Daniel Colascione  <dancol@dancol.org>
3689         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
3690         to `macroexpand-all'
3692         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
3693         Use `macroexpand-all' instead of `cl-macroexpand-all'.
3695 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
3697         Fix bug: C-x v v discarded existing log message (Bug#17884).
3698         * vc/vc-dispatcher.el (vc-log-edit):
3699         Don't clobber an already-existing log message.
3701 2014-07-12  Glenn Morris  <rgm@gnu.org>
3703         * vc/log-edit.el (log-edit-changelog-entries):
3704         Check for a visited-but-never-saved ChangeLog.
3706 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3708         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
3709         a non-existing file (bug#17970).
3711         * faces.el (face-name): Undo last change.
3712         (x-resolve-font-name): Don't call face-name (bug#17956).
3714 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3716         Fix dedenters and electric colon handling. (Bug#15163)
3717         * progmodes/python.el
3718         (python-rx-constituents): Add dedenter and block-ender.
3719         (python-indent-dedenters, python-indent-block-enders): Delete.
3720         (python-indent-context): Return new case for dedenter-statement.
3721         (python-indent-calculate-indentation): Handle new case.
3722         (python-indent-calculate-levels): Fix levels calculation for
3723         dedenter statements.
3724         (python-indent-post-self-insert-function): Fix colon handling.
3725         (python-info-dedenter-opening-block-message): New function.
3726         (python-indent-line): Use it.
3727         (python-info-closing-block)
3728         (python-info-closing-block-message): Remove.
3729         (python-info-dedenter-opening-block-position)
3730         (python-info-dedenter-opening-block-positions)
3731         (python-info-dedenter-statement-p): New functions.
3733 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
3735         * files.el (out-of-memory-warning-percentage): New defcustom.
3736         (warn-maybe-out-of-memory): Use it.
3738 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
3740         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
3741         when calling `read-string'.  (Bug#17839)
3743 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
3745         * files.el (warn-maybe-out-of-memory): Fix the wording of the
3746         warning.
3748 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
3750         * files.el (warn-maybe-out-of-memory): New function.
3751         (find-file-noselect): Use it.
3753 2014-07-09  Sam Steingold  <sds@gnu.org>
3755         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
3756         `constant' like `bless', `return' &c
3758 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3760         * rect.el (apply-on-rectangle): Check forward-line really moved to the
3761         next line.
3763 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3765         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
3766         the middle of a line (bug#17896).
3768 2014-07-09  Juri Linkov  <juri@jurta.org>
3770         * startup.el (command-line): Append displaying the warning about
3771         the errors in the init file to the end of `after-init-hook'.
3772         (Bug#17927)
3774         * faces.el (face-name): Return input arg `face' as-is
3775         when it's not a symbol.
3776         (x-resolve-font-name): Don't check if the face is a symbol.
3777         (Bug#17956)
3779         * facemenu.el (list-colors-print): In help-echo format use %.2f
3780         instead of %d because now HSV values are floating-point components
3781         between 0.0 and 1.0.
3783 2014-07-09  Glenn Morris  <rgm@gnu.org>
3785         * emulation/cua-rect.el (cua--activate-rectangle):
3786         Avoid setting cua--rectangle to nil.  (Bug#17877)
3788 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
3790         * calendar/todo-mode.el: Fix wrong-type-argument error when
3791         marking multiple consecutive items.
3792         (todo-toggle-mark-item): Don't try to mark the empty lines at the
3793         end of the todo and done items sections.  Note in doc string that
3794         items marked by passing a numeric prefix argument can include the
3795         last todo and first done items.
3796         (todo-mark-category): Don't try to mark the empty line between the
3797         todo and done items sections.
3799 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3801         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
3802         proper Lisp quoting (bug#17934).
3804         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
3805         require-final-newline since prog-mode already took care of it (bug#17947).
3807 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
3809         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
3810         refer to the Todo mode Info manual.  Update the comment on
3811         requiring cl-lib.
3812         (todo-find-filtered-items-file): Add todo-prefix overlays.
3813         (todo-filter-items): Reorder a let-bound variable to avoid a
3814         wrong-type-argument error on canceling the file choice dialog.
3816 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3818         * progmodes/octave.el (inferior-octave-mode):
3819         Set comint-input-ring-size to a number (bug#17912).
3821 2014-07-09  Juri Linkov  <juri@jurta.org>
3823         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
3824         and `isearch-mode' associated with nil.  (Bug#17849)
3826 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3828         * linum.el (linum--face-height): New function (bug#17813).
3829         (linum-update-window): Use it to adjust margin to linum's width.
3831         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
3832         * eshell/em-smart.el (eshell-smart-scroll-window):
3833         Use with-selected-window.
3835         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
3836         Remove also pointless window&mark manipulation.
3838         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
3839         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
3840         (perl-continuation-line-p): Don't skip over anything else than labels.
3841         Return the previous char.
3842         (perl-calculate-indent): Use syntax-ppss instead of parse-start
3843         and update callers accordingly.  For continuation lines, check the
3844         the case of array hashes.
3845         (perl-backward-to-noncomment): Make it non-interactive.
3846         (perl-backward-to-start-of-continued-exp): Rewrite.
3848 2014-07-08  Sam Steingold  <sds@gnu.org>
3850         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
3851         New user commands.
3853 2014-07-08  Juri Linkov  <juri@jurta.org>
3855         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
3856         (vc-annotate-color-map): Use less saturated colors (20%) for
3857         background-mode.
3858         (vc-annotate-very-old-color): Add default value for background-mode.
3859         (vc-annotate-background): Set default value to nil since now text on
3860         the default backgrounds should be legible in light and dark modes.
3861         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
3862         (Bug#17808)
3864 2014-07-08  Juri Linkov  <juri@jurta.org>
3866         * simple.el (transpose-chars): Don't move point into read-only area.
3867         (Bug#17829)
3869 2014-07-08  Juri Linkov  <juri@jurta.org>
3871         * window.el (with-displayed-buffer-window): New macro.
3872         (with-temp-buffer-window, with-current-buffer-window):
3873         Use `macroexp-let2' to evaluate and bind variables
3874         in the same order as macro arguments.
3875         (display-buffer--action-function-custom-type):
3876         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
3878         * minibuffer.el (minibuffer-completion-help): Replace
3879         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
3880         with actions that display *Completions* at-bottom when called
3881         from the minibuffer, or below-selected in a normal buffer.
3882         Associate `window-height' with `fit-window-to-buffer'.
3883         Let-bind `pop-up-windows' to nil.
3885         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
3886         instead of `with-current-buffer-window'.  (Bug#17809)
3888 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
3890         * progmodes/hideif.el (hide-ifdef-env): Change to global.
3891         (hide-ifdef-env-backup): New variable.
3892         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
3893         New customizable variables.
3894         (hif-clear-all-ifdef-defined): New defun.
3895         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
3896         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
3897         (hif-tokenize): Fix for MS-DOS/Win EOL style.
3898         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
3899         Fix bug to hide the correct #elif region(s).
3900         (hif-range-elif): New defun.
3901         (hif-recurse-level): New var.
3902         (hif-evaluate-region, hif-evaluate-macro): New defun.
3903         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
3904         fully hidden.
3905         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
3906         Better interaction.
3908 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
3910         * net/dbus.el (dbus-peer-handler): New defun.
3911         (dbus-register-service): Register it.  (Bug#17858)
3912         (dbus-managed-objects-handler): Fix docstring.
3914 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
3916         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
3917         (narrow-to-defun): New arg include-comments, defaulting to it
3918         (bug#16328).
3920 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3922         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
3923         different calling convention to rectangle--unhighlight-for-redisplay.
3925 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
3927         * net/tramp.el (tramp-call-process): Handle error strings.
3929         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
3931         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
3932         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
3934         * net/trampver.el: Update release number.
3936 2014-07-03  Juri Linkov  <juri@jurta.org>
3938         * desktop.el (desktop-save): Rename arg `auto-save' to
3939         `only-if-changed'.  Doc fix.  (Bug#17873)
3941 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3943         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3944         Use insert-for-yank (bug#17271).
3946 2014-07-03  Leo Liu  <sdl.web@gmail.com>
3948         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
3949         Support lexical-binding.
3951 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3953         * vc/log-edit.el (log-edit-goto-eoh): New function.
3954         (log-edit--match-first-line): Use it (bug#17861).
3956 2014-07-03  Glenn Morris  <rgm@gnu.org>
3958         * vc/log-edit.el (log-edit-hook): Add missing :version.
3960 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3962         * progmodes/python.el (python-indent-post-self-insert-function):
3963         Enhancements to electric indentation behavior inside
3964         parens. (Bug#17658)
3966 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3968         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
3969         buffer-invisibility-spec (bug#17867).
3971 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
3973         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
3974         pass "-a".
3976 2014-07-03  Glenn Morris  <rgm@gnu.org>
3978         * cus-edit.el (help):
3979         * finder.el (finder-known-keywords):
3980         * help.el (help-for-help-internal):
3981         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
3982         (ediff-redraw-registry-buffer):
3983         * vc/ediff-ptch.el (ediff-patch-file-internal):
3984         Doc fixes re "online" help.  (Bug#17803)
3986         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
3987         (idlwave-mode): Doc URL update.
3989 2014-07-01  Juri Linkov  <juri@jurta.org>
3991         * man.el: Display man pages immediately and use process-filter
3992         to format them asynchronously.
3993         (Man-width): Doc fix.
3994         (man): Doc fix.
3995         (Man-start-calling): Use `with-selected-window' to get
3996         `frame-width' and `window-width'.
3997         (Man-getpage-in-background): Call `Man-notify-when-ready'
3998         immediately after creating a new buffer.  Call `Man-mode' and set
3999         `mode-line-process' in the created buffer.  Set process-filter to
4000         `Man-bgproc-filter' in start-process branch.  In call-process branch
4001         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
4002         Use `Man-start-calling' inside `with-current-buffer'.
4003         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
4004         (Man-cleanup-manpage): Don't print messages.
4005         (Man-bgproc-filter): New function.
4006         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
4007         user moved it during asynchronous formatting.  Move calls of
4008         `Man-fontify-manpage' and `Man-cleanup-manpage' to
4009         `Man-bgproc-filter'.  Move the call of `Man-mode' to
4010         `Man-getpage-in-background'.  Use `quit-restore-window'
4011         instead of `kill-buffer'.  Use `message' instead of `error'
4012         because errors are caught by process sentinel.
4013         (Man-mode): Move calls of `Man-build-page-list',
4014         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
4015         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
4017         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
4018         for the message about the man page cleaned up.
4020 2014-07-01  Mario Lang  <mlang@delysid.org>
4022         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
4023         cosutomization option `gnutls-verify-error'.
4025 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4027         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
4028         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
4030         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
4031         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
4032         is suspended (bug#17857).
4034 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
4036         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4037         Prefer utf-8 coding.  (Bug#17859)
4039 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4041         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
4042         for `reverse'.
4044 2014-06-30  Glenn Morris  <rgm@gnu.org>
4046         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
4047         (autoload-ensure-default-file): Maybe make existing output writable.
4048         * Makefile.in (AUTOGEN_VCS): Remove.
4049         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
4051 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4053         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
4055 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4057         New if-let, when-let, thread-first and thread-last macros.
4059         * emacs-lisp/subr-x.el
4060         (internal--listify, internal--check-binding)
4061         (internal--build-binding-value-form, internal--build-binding)
4062         (internal--build-bindings): New functions.
4063         (internal--thread-argument, thread-first, thread-last)
4064         (if-let, when-let): New macros.
4066 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
4068         * net/rcirc.el (rcirc-buffer-process): Restore previous
4069         behaviour.  (Bug#17772)
4071 2014-06-29  Alan Mackenzie  <acm@muc.de>
4073         Don't call c-parse-state when c++-template-syntax-table is active.
4074         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
4075         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
4076         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
4078 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
4080         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
4081         account for file-wide setting of todo-top-priorities-overrides.
4082         Make code a bit cleaner.
4084 2014-06-28  Glenn Morris  <rgm@gnu.org>
4086         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
4088 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
4090         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
4091         category-wide setting of todo-top-priorities-overrides, check for
4092         a file-wide setting and fontify accordingly.
4094 2014-06-28  Glenn Morris  <rgm@gnu.org>
4096         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
4098 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4100         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
4102 2014-06-28  K. Handa  <handa@gnu.org>
4104         Fix Bug#17739.
4106         * composite.el: Setup composition-function-table for dotted circle.
4107         (compose-gstring-for-dotted-circle): New function.
4109         * international/characters.el: Add category "^" to all
4110         non-spacing characters.
4112 2014-06-28  Glenn Morris  <rgm@gnu.org>
4114         * Makefile.in (doit): Remove force rule.
4115         (custom-deps, finder-data, autoloads, update-subdirs)
4116         (compile-one-process): PHONY targets do not need force rules.
4118         * Makefile.in (compile-main, compile, compile-always):
4119         No need to explicitly pass variables to ourself in recursive calls.
4121 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4123         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
4125 2014-06-26  Glenn Morris  <rgm@gnu.org>
4127         * Makefile.in (update-authors): Update for moved authors.el.
4129 2014-06-26  Leo Liu  <sdl.web@gmail.com>
4131         * skeleton.el (skeleton-end-hook): Default to nil and move the
4132         work to skeleton-insert.  (Bug#17850)
4134 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
4136         * calc/calc-alg.el (math-beforep):
4137         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
4138         Simplify because string-lessp can accept symbols as args.
4140 2014-06-26  Daiki Ueno  <ueno@gnu.org>
4142         * emacs-lisp/package.el (package--check-signature):
4143         If package-check-signature is allow-unsigned, don't signal error when
4144         we can't verify signature because of missing public key
4145         (bug#17625).
4147 2014-06-26  Glenn Morris  <rgm@gnu.org>
4149         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
4150         Remove outdated declaration.
4152         * emacs-lisp/authors.el (authors-valid-file-names)
4153         (authors-renamed-files-alist): Additions.
4155 2014-06-26  Leo Liu  <sdl.web@gmail.com>
4157         * textmodes/picture.el (picture-set-tab-stops):
4158         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
4159         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
4161         * progmodes/asm-mode.el (asm-calculate-indentation):
4162         Use indent-next-tab-stop.
4164         * indent.el (indent-accumulate-tab-stops): New function.
4166 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4168         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
4169         (package-desc-status): Obey it.
4171 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
4173         * calendar/todo-mode.el: Fix two bugs.
4174         (todo-insert-item--basic): If user cancels item insertion to
4175         another category before setting priority, show original category
4176         whether it is in the same or a different file.
4177         (todo-set-item-priority): After selecting category, instead of
4178         moving point to top, which extends an active region, restore it.
4180 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4182         * help-fns.el (describe-function-1): Check file-name is a string before
4183         calling help-fns--autoloaded-p (bug#17564).
4185 2014-06-26  Juri Linkov  <juri@jurta.org>
4187         * desktop.el (desktop-auto-save-enable)
4188         (desktop-auto-save-disable): New functions.
4189         (desktop-save-mode, desktop-auto-save-timeout): Use them.
4190         (desktop-read): Disable the autosave before loading the desktop,
4191         and enable afterwards.  (Bug#17351)
4193 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4195         Fix some indentation problem with \; and pipes (bug#17842).
4196         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
4197         (sh-smie--default-forward-token, sh-smie--default-backward-token):
4198         New functions.
4199         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
4200         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
4201         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
4203 2014-06-26  Glenn Morris  <rgm@gnu.org>
4205         * emacs-lisp/find-func.el (find-function-C-source-directory):
4206         Use file-accessible-directory-p.
4208         * ps-samp.el: Make it slightly less awful.
4209         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
4210         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
4211         Only set local values.
4212         (ps-article-subject, ps-article-author): Use standard functions
4213         like mail-fetch-field.
4214         (ps-info-file, ps-info-node): Use match-string.
4215         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
4216         (ps-samp-ps-setup): ... new function.
4218         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
4219         Optimize away code unneeded on any modern Emacs.
4221         * emacs-lisp/authors.el: Move to ../admin.
4223         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
4225 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
4227         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
4228         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
4229         performance enhancements.
4230         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
4231         expansion.
4232         (hif-factor, hif-string-concatenation, intern-safe): Support string
4233         concatenation and argumented macro expansion.
4234         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
4235         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
4236         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
4237         (hif-canonicalize-tokens, hif-place-macro-invocation)
4238         (hif-parse-macro-arglist): Mostly new functions for supporting
4239         argumented macro expansion.
4240         (hif-string-concatenation, hif-stringify, hif-token-concat)
4241         (hif-token-stringification, hif-token-concatenation):
4242         Stringification and concatenation.
4243         (hif-find-next-relevant): Fix comments.
4244         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
4245         some cases involving #elif.
4246         (hif-find-define, hif-add-new-defines): New functions for automatically
4247         scanning of defined symbols.
4248         (hide-ifdef-guts): Fix for defined symbol auto scanning.
4249         (hide-ifdef-undef): Fix behavior to match CPP.
4251 2014-06-25  Glenn Morris  <rgm@gnu.org>
4253         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
4254         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
4255         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
4256         files.  They are not relevant to the original issue (bug#1004),
4257         and cause unnecessary recompilation (bug#2151).
4259 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4261         * play/landmark.el: Use lexical-binding and avoid `intangible'.
4262         (landmark--last-pos): New var.
4263         (landmark--intangible-chars): New const.
4264         (landmark--intangible): New function.
4265         (landmark-mode, landmark-move): Use it.
4266         (landmark-mode): Remove properties.
4267         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
4268         (landmark-cross-qtuple):
4269         Don't worry about `intangible' any more.
4270         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
4271         (landmark-init-display): Don't set `intangible' and `point-entered'.
4272         (square): Remove.  Inline it instead.
4273         (landmark--distance): Rename from `distance'.
4274         (landmark-calc-distance-of-robot-from): Rename from
4275         calc-distance-of-robot-from.
4276         (landmark-calc-smell-internal): Rename from calc-smell-internal.
4278 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
4280         * files.el (dir-locals-find-file, file-relative-name):
4281         * info.el (Info-complete-menu-item):
4282         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
4283         to compare-strings to avoid out-of-range errors.
4284         * subr.el (string-prefix-p): Adjust to match strict range
4285         checking in compare-strings.
4287 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
4289         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
4290         for comment lines non-greedy and stopping at newlines to fix stack
4291         overflows with large files.
4293 2014-06-24  Eli Barzilay  <eli@barzilay.org>
4295         * calculator.el (calculator-last-input): Drop 'ascii-character property
4296         lookup.
4298 2014-06-24  Leo Liu  <sdl.web@gmail.com>
4300         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
4301         tab-stop-list to nil.  (Bug#16381)
4303         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
4304         (indent-rigidly-left-to-tab-stop)
4305         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
4306         (move-to-tab-stop): Change callers.
4308 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
4310         * skeleton.el (skeleton-insert): Yet another fix of the doc string
4311         wrt behavior of \n as the first/last element of a skeleton.
4313 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
4315         * net/tramp-adb.el (tramp-adb-handle-process-file):
4316         * net/tramp-sh.el (tramp-sh-handle-process-file):
4317         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
4318         the output buffer when DISPLAY is non-nil.  (Bug#17815)
4320 2014-06-24  Glenn Morris  <rgm@gnu.org>
4322         * play/landmark.el (landmark-move-down, landmark-move-up):
4323         Fix 2007-10-20 change - preserve horizontal position.
4325 2014-06-23  Sam Steingold  <sds@gnu.org>
4327         * simple.el (kill-append): Remove undo boundary depending on ...
4328         (kill-append-merge-undo): New user option.
4330 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4332         * simple.el (handle-shift-selection, exchange-point-and-mark)
4333         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
4334         (transient-mark-mode): Use&set the global value.
4335         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
4336         * emulation/edt.el (edt-emulation-off): Save&restore the global
4337         transient-mark-mode setting.
4338         * obsolete/pc-select.el (pc-selection-mode): Use the
4339         transient-mark-mode function.
4341 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
4343         * international/fontset.el (script-representative-chars):
4344         Add representative characters for scripts added in Unicode 7.0.
4345         (otf-script-alist): Synchronize with the latest registry of OTF
4346         script tags.
4348         * international/characters.el (char-script-table): Update for
4349         scripts added and codepoint ranges changed in Unicode 7.0.
4351 2014-06-23  Eli Barzilay  <eli@barzilay.org>
4353         * calculator.el (calculator-standard-displayer): Fix bug in use of
4354         `calculator-groupize-number'.
4355         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
4356         `eval' code, so it works in v24.3.1 too.
4357         (calculator-last-input): Comment to clarify purpose.
4359 2014-06-22  Mario Lang  <mlang@delysid.org>
4361         * textmodes/rst.el (rst-comment-region): From from -> from.
4363         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
4365 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
4367         * electric.el (electric-layout-post-self-insert-function):
4368         * emacs-lisp/ert.el (ert--insert-infos):
4369         * obsolete/vi.el (vi-set-mark):
4370         * term.el (term-handle-scroll):
4371         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
4372         * wid-edit.el (widget-editable-list-value-create):
4373         Prefer point-marker to copy-marker of point.
4375 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4377         Fix completion retrieval parsing (bug#17209).
4378         * progmodes/python.el (python-mode):
4379         (python-util-strip-string): New function.
4380         (python-shell-completion-get-completions): Use it.
4382 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
4384         * skeleton.el (skeleton-insert): Fix last change.
4386 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4388         Enhancements for outline integration (bug#17796).
4389         * progmodes/python.el (python-mode): Properly set
4390         outline-heading-end-regexp so that comments after colons for
4391         defuns are supported.
4393 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
4395         * skeleton.el (skeleton-insert): Doc fix.
4397 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4399         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
4400         (smie-config-guess): Use smie-config-local so the rules are obeyed
4401         (bug#17818).
4403         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
4404         since it's already done inside the loop (bug#17819).
4406 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
4408         * mouse.el (mouse-drag-line): Re-remove code initially removed
4409         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
4410         (Bug#17819).
4412 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4414         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
4415         align with the surrounding parent (bug#17721).
4417 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
4419         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
4420         locally to nil.
4421         (texinfo-insert-block, texinfo-insert-@end)
4422         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
4423         local setting of skeleton-end-newline by adding an explicit \n to
4424         the skeletons where appropriate.  (Bug#17801)
4426 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4428         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
4429         (smie-indent--hanging-p): Use it.
4430         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
4432 2014-06-21  Leo Liu  <sdl.web@gmail.com>
4434         * simple.el (read-quoted-char): Don't let help chars pop up help
4435         buffer.  (Bug#16617)
4437 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4439         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
4440         for | (bug#17621).
4442         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
4443         Drop unknown events instead of burping.
4445 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
4447         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
4448         and later.  (Bug#17790)
4450 2014-06-21  Juri Linkov  <juri@jurta.org>
4452         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
4453         to `soft'.  (Bug#17554)
4455 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4457         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
4458         (bug#17737).
4460 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
4462         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
4463         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
4465 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
4467         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
4468         `unread-command-events'.
4470 2014-06-19  William Xu  <william.xwl@gmail.com>
4472         * progmodes/hideif.el (hif-string-to-number): Don't return float for
4473         hex integer constants (bug#17807).
4475 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4477         * international/mule-util.el (truncate-string-ellipsis): New var.
4478         (truncate-string-to-width): Use it.
4480 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
4482         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
4483         (lisp-string-in-doc-position-p): New function, extracted from
4484         lisp-font-lock-syntactic-face-function.
4485         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
4487 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
4489         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
4491 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4493         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
4494         (bubbles--game-over): Don't add `intangible' properties since they
4495         didn't work anyway.
4497 2014-06-18  Juri Linkov  <juri@jurta.org>
4499         * vc/ediff-init.el (ediff-current-diff-Ancestor)
4500         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
4501         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
4502         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
4503         Add `min-colors 88' version with removed black/white foregrounds.
4504         (Bug#10181)
4506 2014-06-18  Juri Linkov  <juri@jurta.org>
4508         * vc/diff-mode.el (diff-changed): Empty face definition to use
4509         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
4510         (diff-context): Use darker color on light background and
4511         lighter color on dark background.
4513 2014-06-18  Juri Linkov  <juri@jurta.org>
4515         * vc/diff-mode.el (diff-refine-changed): Rename from
4516         `diff-refine-change' for consistency with `diff-changed'.
4517         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
4519         * vc/smerge-mode.el (smerge-refined-changed): Rename from
4520         `smerge-refined-change'.
4521         (smerge-refined-change): Add obsolete face alias.
4523 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4525         * rect.el (rectangle-preview): New custom.
4526         (rectangle): New group.
4527         (rectangle--pos-cols): Add `window' argument.
4528         (rectangle--string-preview-state, rectangle--string-preview-window):
4529         New vars.
4530         (rectangle--string-flush-preview, rectangle--string-erase-preview)
4531         (rectangle--space-to, rectangle--string-preview): New functions.
4532         (string-rectangle): Use them.
4533         (rectangle--inhibit-region-highlight): New var.
4534         (rectangle--highlight-for-redisplay): Obey it.  Make sure
4535         `apply-on-region' uses the point-crutches of the right window.
4536         Use :align-to rather than multiple spaces.
4538 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
4540         * ruler-mode.el (ruler-mode-window-col)
4541         (ruler-mode-mouse-set-left-margin)
4542         (ruler-mode-mouse-set-right-margin): Fix calculation of column
4543         from mouse position (Bug#17768).
4545 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
4547         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
4548         without varname or rhs causes crash.
4549         (dun-ftp): Fix bug where blank ftp password is allowed, making it
4550         impossible to win endgame.
4551         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
4552         rlogin is anymore.
4553         (dun-help): Bump version number; update contact info.
4555 2014-06-15  Eli Barzilay  <eli@barzilay.org>
4557         * calculator.el (calculator-prompt, calculator-remove-zeros)
4558         (calculator-mode-hook, calculator-operators, calculator-stack)
4559         (calculator-mode): Tweak docstring.
4560         (calculator-user-operators): Tweak docstring, fix a bug in the last
4561         example.
4562         (calculator-displayer): `std' case has an optional boolean.
4563         (calculator-displayers): Use the new boolean to group in decimal mode.
4564         (calculator-mode-map, calculator, calculator-message)
4565         (calculator-op-arity, calculator-add-operators)
4566         (calculator-string-to-number, calculator-displayer-prev)
4567         (calculator-displayer-next, calculator-remove-zeros)
4568         (calculator-eng-display, calculator-number-to-string)
4569         (calculator-update-display, calculator-last-input)
4570         (calculator-clear-fragile, calculator-digit, calculator-decimal)
4571         (calculator-exp, calculator-saved-move, calculator-clear)
4572         (calculator-copy, calculator-put-value, calculator-help)
4573         (calculator-expt, calculator-truncate): Minor code improvements.
4574         (calculator-need-3-lines): New function pulling out code from
4575         `calculator'.
4576         (calculator-get-display): Rename from `calculator-get-prompt', and
4577         improved.
4578         (calculator-push-curnum): Rename from `calculator-curnum-value', and
4579         extended for all uses of it.  All callers changed.
4580         (calculator-groupize-number): New utility for splitting a number into
4581         groups.
4582         (calculator-standard-displayer): Improve code, new optional argument to
4583         use comma-split groups, make second argument optional too to use with
4584         'left/'right inputs.  All callers changed.
4585         (calculator-reduce-stack-once): New utility, doing the meat of what
4586         `calculator-reduce-stack' used to do, much improved (mostly using
4587         `pcase' for conciseness and clarity).
4588         (calculator-reduce-stack): Now doing just the reduction loop using
4589         `calculator-reduce-stack-once'.
4590         (calculator-funcall): Improve code, make it work in v24.3.1 too.
4591         (calculator-last-input): Improve code, remove some old cruft.
4592         (calculator-quit): Kill `calculator-buffer' in electric mode too.
4593         (calculator-integer-p): Remove.
4594         (calculator-fact): Improve code, make it work on non-integer values
4595         too (using truncated numbers).
4597 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
4599         Sync with Tramp 2.2.10.
4601         * net/tramp.el (tramp-methods): Tweak docstring.
4602         (tramp-handle-file-accessible-directory-p): Check for
4603         `file-readable-p' instead of `file-executable-p'.
4604         (tramp-check-cached-permissions):
4605         Use `tramp-compat-file-attributes'.
4606         (tramp-call-process): Add new argument VEC.  Adapt callees in all
4607         tramp*.el files.
4609         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
4610         (tramp-adb-maybe-open-connection): Don't set
4611         `tramp-current-*' variables.
4613         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
4614         file properties of temporary buffers.
4616         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
4618         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
4619         (tramp-gvfs-handle-delete-file): Flush file
4620         properties, not directory properties.
4621         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
4622         reading "unix::mode".
4623         (tramp-gvfs-handle-file-name-all-completions):
4624         Use "-h" option for "gvfs-ls".
4625         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
4626         (tramp-gvfs-send-command): Simplify traces.
4628         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
4629         (vc-git-program, vc-hg-program): Declare.
4630         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
4631         (tramp-methods) <nc>: Add new method.
4632         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
4633         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
4634         `tramp-login-args'.
4635         (tramp-default-user-alist): Add "nc".
4636         (top): Remove completion function for "sftp".  Add completion
4637         functions for "nc" and "psftp".
4638         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
4639         Implement support for "nc" method.
4640         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
4641         (tramp-remote-coding-commands, tramp-call-local-coding-command):
4642         Tweak docstring.
4643         (tramp-sh-handle-write-region): Tweak error message.
4644         (tramp-sh-handle-vc-registered): Remove backends when the remote
4645         binary does not exist.
4646         (tramp-find-inline-encoding): Do not raise an error.
4647         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
4648         the "nc" case.  Quote result also locally.
4650         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4651         (tramp-smb-handle-set-file-acl): Use `start-process'.
4652         (tramp-smb-handle-insert-directory): Use progress reporter.
4653         (tramp-smb-handle-rename-file): Flush also file properties of
4654         FILENAME.
4656         * net/trampver.el: Update release number.
4658 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4660         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
4661         add-to-list.
4662         (ses-localvars): Remove ses--local-printer-list, unused.
4663         (ses--metaprogramming): New macro.  Use it to defvar variables.
4664         (ses-set-localvars): Simplify.
4665         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
4666         property-list into an alist.
4667         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4668         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
4669         Remove; use defstruct accessors/setters instead.
4670         (ses-cell-formula-aset, ses-cell-printer-aset)
4671         (ses-cell-references-aset): Remove, use setf instead.
4672         (ses--alist-get): New function.
4673         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
4674         Use an alist instead of a plist and don't do move-to-front since the
4675         list is always short.
4676         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
4677         (ses-cell-property-set-fun, ses-cell-property-set)
4678         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
4679         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
4680         (ses--letref): New macro.
4681         (ses-cell-property-pop): Rewrite.
4682         (ses--cell): Rename from ses-cell and make it into a function.
4683         Make `formula' fallback on `value' if nil.
4684         (ses--local-printer): Rename from ses-local-printer and make it into
4685         a function.
4686         (ses-set-cell): Turn it into a macro so finding the accessor from the
4687         field name is done at compile time.
4688         (ses-repair-cell-reference-all): Test presence of `sym' rather than
4689         `ref' before adding `sym' to :ses-repair-reference.
4690         (ses-calculate-cell): Use ses--letref rather than
4691         ses-cell-property-get-handle.
4692         (ses-write-cells): Use a single prin1-to-string.
4693         (ses-setter-with-undo): New function.
4694         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
4695         (ses-unset-with-undo): Remove.
4696         (ses-load): Prefer apply' over `eval'.
4697         (ses-read-printer, ses-set-column-width): Use standard "(default
4698         foo)" format.
4700 2014-06-15  Glenn Morris  <rgm@gnu.org>
4702         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
4704         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
4705         Replace delete-duplicates and mapcan by cl- versions throughout.
4706         And cl-macroexpand-all by macroexpand-all.
4707         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
4709 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
4711         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
4713 2014-06-15  Juri Linkov  <juri@jurta.org>
4715         * bindings.el: Put `ascii-character' property on keypad keys
4716         mapped to characters.  (Bug#17759)
4718 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4720         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
4721         bumping forward into a closing paren (bug#17761).
4723         * term/xterm.el (xterm--version-handler): Work around for OSX
4724         Terminal.app (bug#17607).
4726 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
4728         * play/dunnet.el (dun-describe-room, dun-mode):
4729         If a lamp is in the room, you won't be eaten by a grue.
4731 2014-06-13  Glenn Morris  <rgm@gnu.org>
4733         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
4734         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
4735         (compile-always): GNU make automatically passes
4736         command-line arguments to sub-makes.
4738         * calendar/calendar.el (calendar-generate-window):
4739         Remove pointless call to font-lock-fontify-buffer.
4741 2014-06-13  Matthias Meulien  <orontee@gmail.com>
4743         * simple.el (completion-list-mode-map): Navigate with tab and backtab
4744         (bug#17767).
4746 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4748         * simple.el (set-mark-command): Simplify a bit.
4750 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4752         * help.el (help--key-binding-keymap): New function.
4753         (help--binding-locus): New function.
4754         (describe-key): Mention the keymap in which the binding was
4755         found. (bug#13948)
4757 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4759         * hippie-exp.el (he--all-buffers): New function.
4760         (try-expand-line-all-buffers, try-expand-list-all-buffers)
4761         (try-expand-dabbrev-all-buffers): Use it.
4763 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
4765         * hippie-exp.el (try-expand-line-all-buffers)
4766         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
4767         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
4768         original buffer, in case they're buffer-local.
4770 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4772         * ses.el (ses-initial-global-parameters-re): New defconst, a
4773         specific regexp is needed now that ses.el can handle both
4774         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
4775         local printers.
4776         (ses-localvars): Add local variables needed for local printer handling.
4777         (ses-set-localvars): Handle hashmap initialisation.
4778         (ses-paramlines-plist): Add param-line for number of local printers.
4779         (ses-paramfmt-plist): New defconst, needed for code factorization
4780         between functions `ses-set-parameter' and
4781         `ses-file-format-extend-paramter-list'
4782         (ses-make-local-printer-info): New defsubst.
4783         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4784         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
4785         (ses-cell-printer-aset): New defmacro.
4786         (ses-local-printer-compile): New defun.
4787         (ses-local-printer): New defmacro.
4788         (ses-printer-validate, ses-call-printer): Add support for local
4789         printer functions.
4790         (ses-file-format-extend-paramter-list): New defun.
4791         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
4792         factorization.
4793         (ses-load): Add support for local printer functions.
4794         (ses-read-printer): Update docstring and add support for local printer
4795         functions.
4796         (ses-refresh-local-printer, ses-define-local-printer): New defun.
4797         (ses-safe-printer): Add support for local printer functions.
4799 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
4801         * ffap.el (ffap-lax-url): New var (bug#17723).
4802         (ffap-url-at-point): Use it.
4803         (ffap-file-at-point): Avoid returning just "/".
4805 2014-06-12  Matthias Meulien  <orontee@gmail.com>
4807         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
4808         (python-mode-map): Bind it.
4810         * progmodes/python.el (class skeleton): Don't erase last char of class
4811         name (bug#17683).
4813 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
4815         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
4817 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
4819         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
4820         (bug#17745).
4822 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4824         * international/mule-cmds.el: Use lexical-binding.
4825         (ucs-names): Simplify.
4827 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
4829         * progmodes/python.el (run-python): Use read-shell-command.
4831 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4833         * rect.el: Make it possible to move bounds past EOL or into TABs.
4834         (operate-on-rectangle): Use apply-on-rectangle.
4835         (rectangle--mark-crutches): New var.
4836         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
4837         (rectangle--crutches, rectangle--reset-crutches): New functions.
4838         (apply-on-rectangle): Obey crutches.  Avoid setq.
4839         Fix missing final iteration if end is at EOB&BOL.
4840         (rectangle-mark-mode-map): Add remap bindings for
4841         exchange-point-and-mark and char/line movements.
4842         (rectangle--*-char): New function.
4843         (rectangle-exchange-point-and-mark, rectangle-right-char)
4844         (rectangle-left-char, rectangle-forward-char)
4845         (rectangle-backward-char, rectangle-next-line)
4846         (rectangle-previous-line): New commands.
4847         (rectangle--place-cursor): New function.
4848         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
4850 2014-06-08  Glenn Morris  <rgm@gnu.org>
4852         * startup.el (initial-buffer-choice): Doc fix.
4853         Reset :version (adding an option does not merit a :version bump).
4855         * bookmark.el (bookmark-load):
4856         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
4858 2014-06-08  Juri Linkov  <juri@jurta.org>
4860         * desktop.el: Activate auto-saving on window configuration changes.
4861         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
4862         `desktop-auto-save-set-timer' to/from
4863         `window-configuration-change-hook'.
4864         (desktop-auto-save-set-timer): Change REPEAT arg of
4865         `run-with-idle-timer' from t to nil.
4866         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
4868 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
4870         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
4871         vc-hg-command (bug#17570).
4873 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4875         * international/mule-cmds.el (ucs-names): Add special entry for BEL
4876         (bug#17702).
4878 2014-06-08  Glenn Morris  <rgm@gnu.org>
4880         * startup.el (window-setup-hook): Doc fix.
4882         * emacs-lisp/package.el (package-check-signature)
4883         (package-unsigned-archives): Doc fixes.
4885 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
4887         * window.el (display-buffer-use-some-window): Don't make window
4888         used smaller than it was before (Bug#17671).
4890 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
4892         * menu-bar.el (menu-bar-open): Fix last change: use the PC
4893         'redisplay' instead of '(sit-for 0)'.
4895 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
4897         * net/tramp.el (tramp-ssh-controlmaster-options):
4898         Improve search regexp.  (Bug#17653)
4900 2014-06-08  Glenn Morris  <rgm@gnu.org>
4902         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
4904 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
4906         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
4908 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
4910         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
4911         (bug#17586).
4913         * vc/vc-hg.el (vc-hg-log-graph): New var.
4914         (vc-hg-print-log): Use it.
4915         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
4916         graph output (bug#17515).
4918 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4920         * mouse.el (mouse-posn-property): Ignore buffer position info when the
4921         even happened elsewhere.
4923 2014-06-06  Mario Lang  <mlang@delysid.org>
4925         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
4926         `recenter' if `current-buffer' is equal to `window-buffer'.
4928 2014-06-05  Leo Liu  <sdl.web@gmail.com>
4930         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
4932 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
4934         * textmodes/tildify.el (tildify-foreach-region-outside-env):
4935         New function which calls a callback on portions of the buffer that are
4936         outside of ignored environments.
4937         (tildify-build-regexp): Remove function since it is now
4938         incorporated in `tildify-foreach-region-outside-env' where it is
4939         optimized and simplified by the use of `mapconcat'.
4940         (tildify-tildify): Return number of substitutions made so that…
4941         (tildify-count): …can be removed.
4942         (tildify-find-env): Accept a new PAIRS argument which was
4943         previously looked up in `tildify-ignored-environments-alist' each
4944         time the function was called.  With this change, the lookup is
4945         performed only once in `tildify-foreach-region-outside-env'.
4946         (tildify-region): Greatly simplify the function since now most of
4947         the work is done by `tildify-foreach-region-outside-env'.
4948         (tildify-mode-alist): Simplify slightly by avoiding if and setq
4949         and instead using or.
4951         * textmodes/tildify.el (tildify-ignored-environments-alist):
4952         Optimize environments regexes
4954         Each time beginning of an environment to ignore is found,
4955         `tildify-find-env' needs to identify regexp for the ending
4956         of the environment.  This is done by trying all the opening
4957         regexes on matched text in a loop, so to speed that up, this
4958         loop should have fewer things to match, which can be done by
4959         using alternatives in the opening regexes.
4961         Coincidentally, this should make matching of the opening
4962         regexp faster as well thanks to the use of `regexp-opt' and
4963         having common prefix pulled from many regexes.
4965         * textmodes/tildify.el (tildify-string-alist)
4966         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
4967         of supported modes since `xml-mode' is no longer a thing but just
4968         an alias to the former.  Also include comments and insides of tags
4969         in `tildify-ignored-environments-alist' for XML modes.  Finally,
4970         since XML does not define “&nbsp;”[1], use a numeric reference for
4971         a no-break space (namely “&#160;”)
4973         [1] XML specification defines only a handful of predefined entities.
4974             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
4975             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
4976             >, &, ' and " respectively).  This is in contrast to HTML and even
4977             XHTML which defined a whole bunch of entities including “&nbsp;”.
4979         * textmodes/tildify.el (tildify-pattern-alist)
4980         (tildify-string-alist, tildify-ignored-environments-alist):
4981         Improve defcustom's types by adding more tags explaining what each
4982         value means and replace “sexp” used in
4983         `tildify-ignored-environments-alist' with a full type declaration.
4985         * textmodes/tildify.el (tildify-find-env): Fix matched group
4986         indexes in end-regex building
4988         When looking for a start of an ignore-environment, the regex is built
4989         by concatenating regexes of all the environments configured in
4990         `tildify-ignored-environments-alist'.  So for example, the following
4991         list could be used to match TeX's \verb and \verb* commands:
4993             (("\\\\verb\\(.\\)" . (1))
4994              ("\\\\verb\\*\\(.\\)" . (1)))
4996         This would result in the following regex being used to find the start
4997         of any of the variants of the \verb command:
4999             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
5001         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
5002         won't match anything, and thus (match-string 1) will be nil, which
5003         will cause building of the end-matching regex to fail.
5005         Fix this by using capture groups from the time when the opening
5006         regexes are matched individually.
5008         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
5009         in `tildify-find-env'
5011         The `tildify-ignored-environments-alist' allows the end-regex to
5012         be provided not as a static string but mix of strings and indexes
5013         of groups matched the begin-regex.  For example, the “\verb!…!”
5014         TeX-command (where “!” is an arbitrary character) is handled
5015         using:
5017             ("\\\\verb\\*?\\(.\\)" . (1))
5019         In the same way, the following should be supported as well:
5021             ("open-\\(.\\)" . ("end-" 1))
5023         However the tildify-find-env function fails at
5025             (concat result
5026                     (if (stringp (setq aux (car expression)))
5027                          expression  ; BUG: expression is a list
5028                        (regexp-quote (match-string aux))))
5030         where the string part is handled incorrectly.
5032         The most trivial fix would be to replace `expression' in the
5033         true-part of the if-statement with `aux', but instead, this commit
5034         optimizes `tildify-find-env' by changing it to use `mapconcat'
5035         rather than open-coded while-loop.
5037 2014-06-05  Mario Lang  <mlang@delysid.org>
5039         * woman.el (woman-mapcan): Remove.
5040         (woman-parse-colon-path): Use cl-mapcan instead.
5042 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5044         * register.el: Add link to Emacs manual in Commentary.
5046 2014-06-02  Sam Steingold  <sds@gnu.org>
5048         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
5049         (popup-menu): ...here.
5050         (menu-bar-open): Use it to avoid an error when `lookup-key'
5051         returns a number.
5053 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
5055         * net/tramp.el (tramp-call-process): Add traces.
5056         (tramp-handle-unhandled-file-name-directory): Return "/".
5058 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
5060         Sync with upstream verilog-mode revision 3cd8144.
5061         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5062         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
5063         (verilog-type-font-keywords): Add nor.
5064         (verilog-batch-execute-func): Force reading of Local Variables.
5065         Fix printing "no changes to be saved" with verilog-batch.
5066         (verilog-auto-arg-ports): Doc fix.
5067         Add verilog-auto-arg-format to support newlines in AUTOARG.
5068         (verilog-auto-arg): Doc fix.
5070 2014-06-02  Glenn Morris  <rgm@gnu.org>
5072         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
5073         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5074         * emulation/ws-mode.el: Move to obsolete/.
5075         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
5077 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
5079         * simple.el (keyboard-quit): Force update of mode lines, to remove
5080         the "Def" indicator, if we were defining a macro.  (Bug#17615)
5082 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5084         * minibuffer.el (minibuffer-force-complete-and-exit):
5085         Obey minibuffer-default (bug#17545).
5087         * progmodes/js.el (js-indent-line): Don't mix columns and chars
5088         (bug#17619).
5090         * subr.el (set-transient-map): Don't wait for some "nested"
5091         transient-map to finish if we're only supposed to be active for
5092         the next command (bug#17642).
5094 2014-06-02  Leo Liu  <sdl.web@gmail.com>
5096         * emacs-lisp/gv.el (window-buffer, window-display-table)
5097         (window-dedicated-p, window-hscroll, window-point, window-start):
5098         Fix gv-expander.  (Bug#17630)
5100 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5102         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
5103         clicks (bug#17633).
5105         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
5106         for the single comma, since ", " is *very* common in normal French text
5107         (bug#17643).
5109 2014-06-02  Glenn Morris  <rgm@gnu.org>
5111         * emacs-lisp/package.el (package-check-signature)
5112         (package-unsigned-archives): Fix :version.
5114 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5116         * subr.el (sit-for): Don't run input-methods (bug#15614).
5118 2014-06-02  Glenn Morris  <rgm@gnu.org>
5120         * cus-start.el: Fix some :version numbers.
5122 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5124         * simple.el (deactivate-mark): Set mark-active to nil even if
5125         deactivation is done via setting transient-mark-mode to nil,
5126         since one is buffer-local and the other is global.
5128         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
5129         there can't be more than 2 arguments (bug#17584).
5131 2014-06-02  Glenn Morris  <rgm@gnu.org>
5133         * simple.el (filter-buffer-substring-functions)
5134         (filter-buffer-substring-function, buffer-substring-filters)
5135         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
5137         * minibuffer.el (completion-in-region-functions, completion-in-region)
5138         (completion--in-region): Doc fixes.
5140         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
5141         (expand-abbrev, abbrev--default-expand): Doc fixes.
5143 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5145         Include sources used to create macuvs.h.
5146         * international/README: Refer to the Unicode Terms of Use rather
5147         than copying it bodily here, as that simplifies maintenance.
5149 2014-06-01  Glenn Morris  <rgm@gnu.org>
5151         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
5153 2014-05-31  Glenn Morris  <rgm@gnu.org>
5155         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
5157 2014-05-30  Glenn Morris  <rgm@gnu.org>
5159         * loadup.el: Treat `command-line-args' more flexibly.
5161 2014-05-30  Alan Mackenzie  <acm@muc.de>
5163         Guard (looking-at "\\s!") from XEmacs.
5164         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
5166 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
5168         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
5169         The argument COUNT is now optional, to be more backward-compatible.
5170         Doc fix.  (Bug#17560)
5172 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
5174         * whitespace.el (whitespace-report-region):
5175         Simplify documentation.
5176         (whitespace-report-region): Allow report-if-bogus to take the
5177         value `never', for non-interactive use.
5178         (whitespace-report): Refer to whitespace-report-region's
5179         documentation.
5181 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5183         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
5184         Side benefit: it works without jit-lock.
5185         (whitespace-point--used): New buffer-local var.
5186         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
5187         (whitespace-color-off): Use font-lock-flush.
5188         (whitespace-point--used, whitespace-point--flush-used): New functions.
5189         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5190         (whitespace-empty-at-eob-regexp): Use them.
5191         (whitespace-post-command-hook): Rewrite.
5193         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
5194         (font-lock-fontify-buffer): Mark interactive-only.
5195         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5196         Make buffer-local.
5197         (font-lock-specified-p): Remove redundant boundp check.
5198         (font-lock-flush-function, font-lock-ensure-function): New vars.
5199         (font-lock-turn-on-thing-lock): Set them.
5200         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
5201         (font-lock-after-change-function): Make `old-len' optional.
5202         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
5203         Call font-lock-flush, just in case.
5204         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
5205         recent Emacsen.
5206         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
5207         (vera-mode-map, vera-mode-menu): Remove bindings to it.
5208         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
5209         and with-syntax-table.
5210         * textmodes/conf-mode.el (conf-quote-normal):
5211         * progmodes/sh-script.el (sh-set-shell):
5212         * progmodes/prog-mode.el (prettify-symbols-mode):
5213         * progmodes/f90.el (f90-font-lock-n):
5214         * progmodes/cwarn.el (cwarn-mode):
5215         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
5216         * progmodes/compile.el (compilation-setup, compilation--unsetup):
5217         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
5218         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
5219         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
5220         font-lock-fontify-buffer-function and
5221         font-lock-unfontify-buffer-function.
5222         (rmail-unfontify-buffer-function, rmail-fontify-message):
5223         Use with-silent-modifications.
5224         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
5225         and font-lock-ensure.
5226         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
5228 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
5230         * emacs-lisp/package.el (package-generate-autoloads):
5231         Inhibit backup files.
5233 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5235         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
5236         (bug#17608).
5238 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
5240         * textmodes/tildify.el (tildify-buffer, tildify-region):
5241         Add dont-ask option.
5243 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5245         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
5246         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
5248         * subr.el (internal--funcall-interactively): New.
5249         (internal--call-interactively): Remove.
5250         (called-interactively-p): Detect funcall-interactively instead of
5251         call-interactively.
5252         * simple.el (repeat-complex-command): Use funcall-interactively.
5253         (repeat-complex-command--called-interactively-skip): Remove.
5255 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5257         * register.el (register-read-with-preview): Don't burp on
5258         frame switches (e.g. due to the frame we just popped).
5260         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
5261         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
5263 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
5265         * cus-face.el (custom-face-attributes): Add :distant-foreground.
5267 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
5269         * window.el (window--dump-frame): Remove interactive specification.
5271 2014-05-26  Glenn Morris  <rgm@gnu.org>
5273         * hippie-exp.el (he-line-search-regexp):
5274         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
5276 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
5278         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
5279         to avoid errors when trying to create or visit a file foo.todo
5280         located outside to todo-directory, and to allow having such files
5281         without them being tied to Todo mode (bug#17482).
5282         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
5283         (todo-archive-done-item, todo-find-filtered-items-file)
5284         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
5285         (todo-category-completions, todo-read-category): When visiting a
5286         Todo file, make sure we're in the right mode and the buffer local
5287         variables are set.
5288         (todo-make-categories-list, todo-reset-nondiary-marker)
5289         (todo-reset-done-string, todo-reset-comment-string):
5290         After processing all Todo files, kill the buffers of those files that
5291         weren't being visited before the processing.
5292         (todo-display-as-todo-file, todo-add-to-buffer-list)
5293         (todo-visit-files-commands): Comment out.
5294         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
5295         (auto-mode-alist): Remove add-to-list calls making Todo file
5296         extensions unrestrictedly tied to Todo modes.
5298 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5300         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
5301         (advice-function-member-p): Tell it to check both names and functions
5302         (bug#17531).
5303         (advice--add-function): Adjust call accordingly.
5305 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
5307         * calendar/todo-mode.el: Miscellaneous bug fixes.
5308         (todo-delete-file): When deleting an archive but not its todo
5309         file, make sure to update the todo file's category sexp.
5310         (todo-move-category): Keep the moved category's name unless the
5311         file moved to already has a category with that name.  If the
5312         numerically last category of the source file was moved, make the
5313         first category current to avoid selecting a nonexisting category.
5314         (todo-merge-category): Fix implementation to make merging to a
5315         category in another file work as documented.  Eliminate now
5316         insufficient and unnecessary renaming of archive category, correct
5317         document string accordingly, and clarify it.  If the numerically
5318         last category of the source file was merged, make the first
5319         category current to avoid selecting a nonexisting category.
5320         (todo-archive-done-item): When there are marked items and point
5321         happens to be on an unmarked item, ignore the latter.  Don't leave
5322         point below last item after archiving marked items.
5323         (todo-unarchive-items): Fix logic to ensure unarchiving an item
5324         from an archive with only one category deletes the archive only
5325         when the category is empty after unarchiving.  Make sure the todo
5326         file's category sexp is updated.
5327         (todo-read-file-name): Allow an existing file name even when it is
5328         not required (todo-move-category needs this to work as documented).
5329         (todo-add-file): Call todo-validate-name to reject the name of an
5330         existing todo file (needed due to fix in todo-read-file-name).
5331         (todo-reset-nondiary-marker): Also reset in filtered items files.
5332         (todo-reset-done-string, todo-reset-comment-string): Also reset in
5333         regexp filtered items files.
5334         (todo-reset-highlight-item): Also reset in filtered items files.
5335         Fix incorrect variable reference in document string.
5337 2014-05-26  Glenn Morris  <rgm@gnu.org>
5339         * window.el (window--dump-frame): Avoid error in --without-x builds.
5341 2014-05-26  Glenn Morris  <rgm@gnu.org>
5343         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
5345 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
5347         * frame.el (set-frame-font): Doc fix.
5349         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
5351 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
5353         * emacs-lisp/package.el (package--download-one-archive):
5354         Use `write-region' instead of `save-buffer' to avoid running various
5355         hooks.  (Bug#17155)
5356         (describe-package-1): Same.  Insert newline at the end of the
5357         buffer if appropriate.
5359 2014-05-26  Juri Linkov  <juri@jurta.org>
5361         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
5362         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
5363         Add more modifiers: meta, control, shift, hyper, super, alt.
5364         (Bug#17439)
5366         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
5367         to allow changing its value with `set-variable'.
5369 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5371         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
5372         #; comments.
5373         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
5374         New functions.
5375         (scheme-mode-variables): Set syntax-propertize-function instead of
5376         font-lock-syntactic-face-function.
5377         (scheme-font-lock-syntactic-face-function): Delete.
5379         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
5381         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
5382         (bug#17392).
5384 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
5386         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
5387         for a temporary file name.
5389 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
5391         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
5393 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
5395         * net/dbus.el (dbus-init-bus, dbus-call-method)
5396         (dbus-call-method-asynchronously, dbus-send-signal)
5397         (dbus-method-return-internal, dbus-method-error-internal):
5398         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
5400 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5402         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
5403         methods which do not have a doc string.  (Bug#17490)
5405 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
5407         * textmodes/reftex-ref.el (reftex-format-special): Make it work
5408         also for AMS Math's \eqref macro.
5410 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
5412         Arrange to never byte-compile the generated -pkg.el file.
5414         * emacs-lisp/package.el (package-generate-description-file):
5415         Output first-line comment to set buffer-local var `no-byte-compile'.
5416         Suggested by Dmitry Gutov:
5417         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
5419 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
5421         Fix bug: Properly quote args to generated -pkg.el `define-package'.
5423         * emacs-lisp/package.el (package-generate-description-file):
5424         Inline `package--alist-to-plist'; rewrite to selectively
5425         quote alist values that are not self-quoting.
5426         (package--alist-to-plist): Delete func.
5428 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
5430         * term/xterm.el (xterm-function-map): Add mapping for shifted
5431         keypad keys.
5433 2014-05-24  Daniel Colascione  <dancol@dancol.org>
5435         * progmodes/subword.el (subword-find-word-boundary): Move point to
5436         correct spot before search. (Bug#17580)
5438         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
5439         breaking the build.
5441 2014-05-24  Leo Liu  <sdl.web@gmail.com>
5443         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
5445 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5447         * minibuffer.el (completion--sreverse): Remove.
5448         (completion--common-suffix): Use `reverse' instead.
5449         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
5451 2014-05-22  Glenn Morris  <rgm@gnu.org>
5453         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
5455 2014-05-21  Daniel Colascione  <dancol@dancol.org>
5457         * files.el (interpreter-mode-alist): Add mksh.
5459         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
5460         derivative.
5461         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
5462         mksh. Improve custom spec; allow regular expressions.
5463         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
5464         (sh-after-hack-local-variables): New function.
5465         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
5466         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
5467         the normalization.
5468         (sh-canonicalize-shell): Rewrite to support regexes.
5470 2014-05-21  Leo Liu  <sdl.web@gmail.com>
5472         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
5474 2014-05-19  Leo Liu  <sdl.web@gmail.com>
5476         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
5478 2014-05-18  Glenn Morris  <rgm@gnu.org>
5480         * loadup.el:
5481         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
5483 2014-05-14  Sam Steingold  <sds@gnu.org>
5485         * progmodes/python.el (python-shell-get-or-create-process):
5486         Do not bind `current-prefix-arg' so that C-c C-z does not talk
5487         back unless requested.
5489 2014-05-14  Glenn Morris  <rgm@gnu.org>
5491         * subr.el (with-file-modes): New macro.
5492         * printing.el (pr-save-file-modes): Make obsolete.
5493         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
5494         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5495         Add with-file-modes.
5496         * doc-view.el (doc-view-make-safe-dir):
5497         * epg.el (epg--start):
5498         * files.el (locate-user-emacs-file, make-temp-file)
5499         (backup-buffer-copy, move-file-to-trash):
5500         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
5501         * eshell/esh-util.el (eshell-with-private-file-modes)
5502         (eshell-make-private-directory):
5503         * net/browse-url.el (browse-url-mosaic):
5504         * obsolete/mailpost.el (post-mail-send-it):
5505         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
5506         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
5507         Use with-file-modes.
5509         * vc/emerge.el (emerge-make-temp-file): Simplify.
5511 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
5512             Stefan Monnier  <monnier@iro.umontreal.ca>
5514         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
5515         suffix (bug#15419).
5517 2014-05-14  Glenn Morris  <rgm@gnu.org>
5519         * vc/emerge.el (emerge-temp-file-prefix):
5520         Make pointless option obsolete.
5521         (emerge-temp-file-mode): Make non-functional option obsolete.
5523 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
5525         * net/browse-url.el (browse-url):
5526         Use `unhandled-file-name-directory' when setting `default-directory',
5527         in order to circumvent stalled remote connections.  (Bug#17425)
5529 2014-05-14  Glenn Morris  <rgm@gnu.org>
5531         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
5532         Optimize on Emacs, which has the relevant functions for ages.
5534 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5536         * simple.el (undo-make-selective-list): Obey undo-no-redo.
5538 2014-05-12  Sam Steingold  <sds@gnu.org>
5540         * calendar/time-date.el (seconds-to-string): New function to
5541         pretty print time delay in seconds.
5543 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5545         * mpc.el (mpc-format): Trim Date to the year.
5546         (mpc-songs-hashcons): Shorten the Date field.
5548         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
5549         into autoloading just because of a silly indirection.
5551 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
5553         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
5555 2014-05-12  Glenn Morris  <rgm@gnu.org>
5557         * emacs-lisp/find-gc.el: Move to ../admin.
5559         * printing.el (pr-version):
5560         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
5562         * net/browse-url.el (browse-url-mosaic):
5563         Create /tmp/Mosaic.PID as a private file.
5565 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5567         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
5568         (advice--member-p): If name is given, only compare the name.
5569         (advice--remove-function): Don't stop at the first match.
5570         (advice--normalize-place): New function.
5571         (add-function, remove-function): Use it.
5572         (advice--add-function): Pass the name, if any, to
5573         advice--remove-function.
5575 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
5577         * electric.el (electric-indent-post-self-insert-function): Don't use
5578         `pos' after modifying the buffer (bug#17449).
5580 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
5582         * calendar/todo-mode.el (todo-insert-item-from-calendar):
5583         Correct argument list to conform to todo-insert-item--basic.
5585 2014-05-12  Glenn Morris  <rgm@gnu.org>
5587         * files.el (cd-absolute): Test if directory is accessible
5588         rather than executable.  (Bug#17330)
5590         * progmodes/compile.el (recompile):
5591         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
5593         * net/browse-url.el (browse-url-mosaic):
5594         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
5595         This is CVE-2014-3423.
5597 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5599         * mouse.el: Use the normal toplevel loop while dragging.
5600         (mouse-set-point): Handle multi-clicks.
5601         (mouse-set-region): Handle multi-clicks for drags.
5602         (mouse-drag-region): Update call accordingly.
5603         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
5604         Use the normal event loop instead of a local while/read-event loop.
5605         (global-map): Remove redundant bindings for double/triple-mouse-1.
5606         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
5607         Generate synthetic down events when the protocol only sends up events.
5608         (xterm-mouse-last): Remove.
5609         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
5610         terminal parameter instead.
5611         (xterm-mouse--set-click-count): New function.
5612         (xterm-mouse-event): Detect/generate double/triple clicks.
5613         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
5615         * info.el (Info-quoted): New face.
5616         (Info-mode-font-lock-keywords): New var.
5617         (Info-mode): Use it.
5619         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
5620         are a hindrance for C-x C-e.
5622 2014-05-11  Leo Liu  <sdl.web@gmail.com>
5624         * net/rcirc.el (rcirc-sentinel): Fix last change.
5626 2014-05-08  Sam Steingold  <sds@gnu.org>
5628         * net/rcirc.el (rcirc-reconnect-delay): New user option.
5629         (rcirc-sentinel): Auto-reconnect to the server if
5630         `rcirc-reconnect-delay' is non-0 (but not more often than its
5631         value in case the host is off-line).
5633 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
5635         * progmodes/grep.el (lgrep): Fix a typo in last commit.
5637 2014-05-09  Glenn Morris  <rgm@gnu.org>
5639         * files.el (file-expand-wildcards):
5640         * man.el (Man-support-local-filenames):
5641         * printing.el (pr-i-directory, pr-interface-directory):
5642         * progmodes/grep.el (lgrep, rgrep):
5643         * textmodes/ispell.el (ispell-call-process)
5644         (ispell-call-process-region, ispell-start-process)
5645         (ispell-init-process): Use file-accessible-directory-p.
5647 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5649         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
5650         (xterm-mouse--read-event-sequence-1000): Return nil if something
5651         looks fishy.
5652         (xterm-mouse-event): Propagate it.
5653         (xterm-mouse-translate-1): Handle it.
5655 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
5657         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
5658         four slots of the parameter list are filled, make sure to pass it
5659         to the argument list of todo-insert-item--basic.
5661 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5663         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
5664         Add optional `seen' argument to detect and break infinite loops.
5666 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
5668         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
5669         (trace-unsafe, trace-use-tree): Make parentheses style be
5670         according to Emacs style.
5672 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
5674         * net/tramp-sh.el (tramp-remote-process-environment):
5675         Remove HISTFILE and HISTSIZE; it's too late to set them here.
5676         Add :version entry.
5677         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
5678         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
5679         extra "PSx=..." commands.
5680         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
5681         (Bug#17295)
5683         (tramp-uudecode): Replace the hard-coded temporary file name by a
5684         format specifier.
5685         (tramp-remote-coding-commands): Enhance docstring.
5686         (tramp-find-inline-encoding): Replace "%t" by a temporary file
5687         name.  (Bug#17415)
5688         This is CVE-2014-3424.
5690 2014-05-08  Glenn Morris  <rgm@gnu.org>
5692         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
5693         (find-gc-source-files): Update some names.
5694         (trace-call-tree): Simplify and update.
5695         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
5696         This is CVE-2014-3422.
5698 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5700         * minibuffer.el (completion--try-word-completion): Revert fix for
5701         Bug#15980 (bug#17375).
5703         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
5704         Always store button numbers in the same way in xterm-mouse-last;
5705         Don't burp is xterm-mouse-last is not set as expected.
5706         Never return negative indices.
5708 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
5710         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5711         Backtrack one char if the global/char-literal var matcher hits
5712         inside a string.  The next char could be the beginning of an
5713         expression expansion.
5715 2014-05-08  Glenn Morris  <rgm@gnu.org>
5717         * help-fns.el (describe-function-1): Test for an autoload before a
5718         macro, since `macrop' works on autoloads.  (Bug#17410)
5720 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5722         * electric.el (electric-indent-functions-without-reindent): Add yaml.
5724         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
5725         Make sure the new point we return is within the new string (bug#17239).
5727 2014-05-05  Daniel Colascione  <dancol@dancol.org>
5729         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5730         Port `gnu' pattern to rx.
5732 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
5734         Remove unneeded prompt when closing a buffer with active
5735         emacsclient ("Buffer ... still has clients"), #16548.
5736         * server.el (server-start): Remove the only call to:
5737         (server-kill-buffer-query-function): Remove.
5739 2014-05-04  Leo Liu  <sdl.web@gmail.com>
5741         * calendar/diary-lib.el (calendar-chinese-month-name-array):
5742         Defvar to pacify compiler.
5744 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
5746         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
5748 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5750         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
5751         Use nil rather than `default' for the "default" appearance (bug#17388).
5752         * vc/ediff-util.el (ediff-inferior-compare-regions)
5753         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
5754         a misleading `default' value when it's really a boolean.
5755         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
5756         overlay is not visible.
5758 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
5760         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
5761         (todo-menu): Uncomment and update.
5763 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
5765         * calendar/todo-mode.el: Reimplement item editing to have the same
5766         basic user interface as item insertion, and make small UI and
5767         larger internal improvements to the latter.
5768         (todo-insert-item): Add reference to the Todo mode user manual to
5769         the documentation string.
5770         (todo-insert-item--basic): Rename from todo-basic-insert-item and
5771         adjust all callers.  Change signature to combine diary and
5772         nonmarking arguments.  Incorporate functionality of deleted item
5773         copying command and add error checking.  Remove detailed
5774         descriptions of the arguments from the documentation string, since
5775         this is treated in the Todo mode user manual.
5776         (todo-copy-item, todo-edit-multiline-item)
5777         (todo-edit-done-item-comment, todo-edit-item-header)
5778         (todo-edit-item-time, todo-edit-item-date-from-calendar)
5779         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
5780         (todo-edit-item-date-year, todo-edit-item-date-month)
5781         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
5782         Remove.
5783         (todo-edit-item): Reimplement as wrapper command for
5784         todo-edit-item--next-key and make it distinguish done and not done
5785         todo items.
5786         (todo-edit-item--text): New function, replacing old command
5787         todo-edit-item and incorporating deleted commands
5788         todo-edit-multiline-item and todo-edit-done-item-comment.
5789         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
5790         Use only numeric value of prefix argument.  Remove detailed
5791         descriptions of the arguments from the documentation string, since
5792         this is treated in the Todo mode user manual.
5793         (todo-edit-item--diary-inclusion): New function, replacing old
5794         command todo-edit-item-diary-inclusion and incorporating and fixing
5795         functionality of deleted command todo-edit-item-diary-nonmarking,
5796         making sure to remove todo-nondiary-marker when adding
5797         diary-nonmarking-symbol.
5798         (todo-edit-category-diary-inclusion): Make sure to delete
5799         diary-nonmarking-symbol when adding todo-nondiary-marker.
5800         (todo-edit-category-diary-nonmarking): Fix indentation.
5801         (todo-insert-item--parameters): Group diary and nonmarking
5802         parameters together.
5803         (todo-insert-item--apply-args): Adjust to signature of
5804         todo-insert-item--basic and incorporate copy parameter.
5805         Make small code improvements.
5806         (todo-insert-item--next-param): Improve prompt and adjust it to
5807         new parameter grouping.  Remove obsolete code.
5808         (todo-edit-item--param-key-alist)
5809         (todo-edit-item--date-param-key-alist)
5810         (todo-edit-done-item--param-key-alist): New defconsts.
5811         (todo-edit-item--prompt): New variable.
5812         (todo-edit-item--next-key): New function.
5813         (todo-key-bindings-t): Bind "e" to todo-edit-item.
5814         Remove bindings of deleted commands.
5816 2014-05-04  Leo Liu  <sdl.web@gmail.com>
5818         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
5820 2014-05-04  Glenn Morris  <rgm@gnu.org>
5822         * allout-widgets.el (allout-widgets-tally)
5823         (allout-decorate-item-guides):
5824         * menu-bar.el (menu-bar-positive-p):
5825         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5826         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
5827         * progmodes/js.el (js--inside-param-list-p)
5828         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
5829         * progmodes/prolog.el (region-exists-p):
5830         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
5831         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
5832         Doc fixes (replace `iff').
5834 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5836         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
5838 2014-05-04  Leo Liu  <sdl.web@gmail.com>
5840         Support Chinese diary entries in calendar and diary.  (Bug#17393)
5841         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
5842         (calendar-chinese-from-absolute-for-diary)
5843         (calendar-chinese-to-absolute-for-diary)
5844         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
5845         (diary-chinese-list-entries): New functions to list and mark
5846         Chinese diary entries in the calendar window.
5847         (diary-chinese-anniversary)
5848         (diary-chinese-insert-anniversary-entry)
5849         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
5850         (diary-chinese-insert-yearly-entry): New commands to insert
5851         Chinese diary entries.
5853         * calendar/diary-lib.el (diary-font-lock-keywords):
5854         Support font-locking Chinese dates.
5856         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
5857         inserting Chinese diary entries.
5859         * calendar/calendar.el (diary-chinese-entry-symbol):
5860         New customizable variable.
5861         (calendar-mode-map): Add bindings for inserting Chinese diary
5862         entries.
5864 2014-05-03  Juri Linkov  <juri@jurta.org>
5866         * dired.el (dired-check-switches, dired-switches-recursive-p):
5867         New functions.  (Bug#17218)
5868         (dired-switches-escape-p, dired-move-to-end-of-filename):
5869         Use `dired-check-switches'.
5870         (dired-insert-old-subdirs, dired-build-subdir-alist)
5871         (dired-sort-R-check): Use `dired-switches-recursive-p'.
5873 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
5875         * simple.el (undo-make-selective-list): New algorithm fixes
5876         incorrectness of position adjustments when undoing in region.
5877         (Bug#17235)
5878         (undo-elt-crosses-region): Make obsolete.
5879         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
5880         New functions to adjust positions using undo-deltas.
5882 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5884         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
5885         the last consecutive closing paren (bug#17345).
5887 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
5889         * dired.el (dired-mode): make terminology for eXpunge command
5890         consistent.  (Bug#17276)
5892 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
5894         * dired.el (dired-initial-position-hook, dired-initial-position):
5895         Doc string fixes.
5897 2014-04-30  Glenn Morris  <rgm@gnu.org>
5899         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
5901 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
5903         * faces.el (face-spec-recalc): Apply X resources only after the
5904         defface spec has been applied. Thus, X resources are no longer
5905         overriden by the defface spec which also fixes issues on win32 where
5906         the toolbar coloring was wrong because it is set through X resources
5907         and was (wrongfully) overriden.  (Bug#16694)
5909 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5911         * textmodes/rst.el (electric-pair-pairs): Declare.
5912         (rst-mode): Set it (bug#17131).
5914 2014-04-30  Juri Linkov  <juri@jurta.org>
5916         * desktop.el (desktop-value-to-string): Let-bind `print-length'
5917         and `print-level' to nil.  (Bug#17351)
5919 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5921         * battery.el (battery-update): Handle the case where battery
5922         status is "N/A" (bug#17319).
5924 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5926         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
5927         to syntax-propertize.
5928         (ps-mode-auto-indent): Mark as obsolete.
5929         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
5930         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
5931         word regexp operators.
5932         (ps-mode-map): Move initialization into declaration.  Remove binding
5933         for TAB, RET, >, ], and }.
5934         (ps-mode-syntax-table): Move initialization into declaration.
5935         Don't give word syntax to non-word chars.
5936         (ps-run-mode-map): Move initialization into declaration.
5937         (ps-mode-menu-main): Remove auto-indent entry.
5938         (ps-mode-smie-rules): New function.
5939         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
5940         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
5941         (ps-mode--string-syntax-table): New const.
5942         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
5943         New functions.
5944         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
5945         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
5947 2014-04-27  Daniel Colascione  <dancol@dancol.org>
5949         * term/xterm.el (xterm-paste): Use large finite timeout when
5950         reading event to avoid putting keys in this-command-keys.
5952 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5954         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
5955         (perl-syntax-propertize-function): Use it.  Extend handling of
5956         here-docs to the unquoted case.
5958 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
5960         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
5961         Use equal-including-properties to compare help-echo strings (bug#17331).
5963 2014-04-25  Leo Liu  <sdl.web@gmail.com>
5965         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5966         Fix syntax for @.  (Bug#17325)
5968 2014-04-25  Daniel Colascione  <dancol@dancol.org>
5970         * emacs-lisp/cl.el (gv): Require gv early to break eager
5971         macro-expansion cycles.
5973 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5975         * simple.el (region-active-p): Check there's a mark (bug#17324).
5977         * simple.el (completion-list-mode-map): Use choose-completion for the
5978         mouse binding as well (bug#17302).
5979         (completion-list-mode, completion-setup-function): Adjust docstring and
5980         echo area message accordingly.
5981         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
5982         calling convention of choose-completion.
5983         * comint.el (comint-dynamic-list-completions):
5984         * term.el (term-dynamic-list-completions): Accept choose-completion.
5986         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
5987         &, |, +, - and * can't be a division (bug#17317).
5989         * term/xterm.el (xterm--version-handler): Don't use modern xterm
5990         features on gnome-terminal (bug#16988).
5992 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
5994         Improve Scheme font-locking for (define ((foo ...) ...) ...).
5996         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
5997         the declared object, ignore zero or more parens, not zero or one.
5999 2014-04-24  Leo Liu  <sdl.web@gmail.com>
6001         * progmodes/xscheme.el (xscheme-expressions-ring)
6002         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
6003         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
6004         (xscheme-allow-output-p, xscheme-prompt)
6005         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
6007         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
6008         Comment out unused functions.
6010 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6012         * info.el: Use lexical-binding and cl-lib.
6013         Use defvar-local and setq-local instead of make-local-variable.
6014         (Info-apropos-matches): Avoid add-to-list.
6015         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
6017 2014-04-24  Daniel Colascione  <dancol@dancol.org>
6019         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
6021 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6023         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
6025 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
6027         * dired.el (dired-insert-set-properties): Do not consider
6028         subdirectory headings and empty lines to be information that
6029         `dired-hide-details-mode' should hide.  (Bug#17228)
6031 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
6033         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6034         Remove test messages.
6035         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
6036         and `target' twice.
6038 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6040         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
6041         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
6043         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
6045 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
6047         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6048         Set "IFS=" when using read builtin, in order to preserve spaces in
6049         the file name.  Add test messages for hunting a bug on hydra.
6050         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
6052 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6054         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
6055         Don't prettify a word within a symbol.
6057 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
6059         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
6060         possible.
6062 2014-04-22  Daniel Colascione  <dancol@dancol.org>
6064         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
6065         use defun to define `function-put'.
6067 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6069         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
6070         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
6071         (lisp-mode-variables): Set font-lock-extra-managed-props.
6073         * emacs-lisp/byte-run.el (function-put): New function.
6074         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
6075         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
6076         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
6077         Use them.
6079 2014-04-22  Daniel Colascione  <dancol@dancol.org>
6081         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
6082         Add `full-p' parameter; when nil, call `macroexpand' instead of
6083         `macroexpand-all'.
6085         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
6086         Improve docstrings.
6088         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6089         Use lambda function values, not quoted lambdas.
6090         (byte-compile-recurse-toplevel): Remove extraneous &optional.
6092         * emacs-lisp/cl-macs.el
6093         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
6094         (cl-struct-slot-value): Conditionally use aref or nth so that the
6095         compiler produces optimal code.
6097 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6099         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
6100         (inline): Don't inline cl--set-elt.
6101         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
6102         Define as inlinable instead.
6103         (cl-struct-set-slot-value): Remove.
6105         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
6106         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
6107         Use setf instead.
6109 2014-04-21  Daniel Colascione  <dancol@dancol.org>
6111         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
6112         last two parameters after all.
6113         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
6114         (cl--compiler-macro-assoc,cl-struct-slot-value)
6115         (cl-struct-set-slot-value): Stop using them.
6117 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6119         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
6120         entry in image-mode-winprops-alist.
6122 2014-04-21  Daniel Colascione  <dancol@dancol.org>
6124         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
6125         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
6126         (byte-compile-toplevel-file-form): Use it.
6128         * emacs-lisp/cl-macs.el:
6129         (cl--loop-let): Properly destructure `while' clauses.
6131 2014-04-20  Daniel Colascione  <dancol@dancol.org>
6133         * vc/vc.el (vc-root-dir): New public autoloaded function for
6134         generically finding the current VC root.
6135         * vc/vc-hooks.el (vc-not-supported): New error.
6136         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
6138 2014-04-20  Daniel Colascione  <dancol@dancol.org>
6140         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
6141         argument.
6142         (cl--const-expr-val): cl--const-expr-val should macroexpand its
6143         argument in case we're inside a symbol-macrolet.
6144         (cl--do-arglist, cl--compiler-macro-typep)
6145         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
6146         environment to `cl--const-expr-val'.
6147         (cl-struct-sequence-type,cl-struct-slot-info)
6148         (cl-struct-slot-offset, cl-struct-slot-value)
6149         (cl-struct-set-slot-value): New functions.
6151 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6153         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
6154         assignments such as "case=hello" (bug#17297).
6156 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
6158         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
6159         Do not autoload.
6160         (tramp-file-name-handler, tramp-completion-file-name-handler):
6161         Revert patch from 2014-04-10, it isn't necessary anymore.
6162         (tramp-autoload-file-name-handler)
6163         (tramp-register-autoload-file-name-handlers): New defuns.
6164         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
6165         (tramp-register-file-name-handlers): Remove also
6166         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
6167         Do not autoload its invocation, but eval it after loading of 'tramp.
6169         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
6171         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
6173 2014-04-17  Daniel Colascione  <dancol@dancol.org>
6175         Add support for bracketed paste mode; add infrastructure for
6176         managing terminal mode enabling and disabling automatically.
6178         * xt-mouse.el:
6179         (xterm-mouse-mode): Simplify.
6180         (xterm-mouse-tracking-enable-sequence)
6181         (xterm-mouse-tracking-disable-sequence): New constants.
6182         (turn-on-xterm-mouse-tracking-on-terminal)
6183         (turn-off-xterm-mouse-tracking-on-terminal):
6184         Use tty-mode-set-strings and tty-mode-reset-strings terminal
6185         parameters instead of random hooks.
6186         (turn-on-xterm-mouse-tracking)
6187         (turn-off-xterm-mouse-tracking): Delete.
6189         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
6190         (xterm-paste-ending-sequence): New constant.
6191         (xterm-paste): New command used for bracketed paste support.
6193         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
6194         (terminal-init-xterm-bracketed-paste-mode): New function.
6195         (terminal-init-xterm): Call it.
6196         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
6197         and tty-mode-reset-strings instead of random hooks.
6198         (xterm-turn-on-modify-other-keys)
6199         (xterm-turn-off-modify-other-keys)
6200         (xterm-remove-modify-other-keys): Delete obsolete functions.
6202         * term/screen.el: Rewrite to just use the xterm code.
6203         Add copyright notice.  Mention tmux.
6205 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
6207         * image-mode.el (image-mode-window-put): Also update the property of
6208         the "default window".
6209         * doc-view.el (doc-view-new-window-function): If no window
6210         exists, move to the last known page.
6212 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6214         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
6215         here-documents (bug#17262).
6217 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
6219         * term/pc-win.el (x-list-fonts, x-get-selection-value):
6220         Provide doc strings, as required by snarf-documentation.
6222 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6224         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
6225         arg of overlays-at.  Use `invisible-p'.
6227         * obsolete/lucid.el (extent-at):
6228         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
6229         overlays-at.
6230         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
6232 2014-04-16  João Távora  <joaotavora@gmail.com>
6234         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
6235         links.  (Bug#17217).
6237 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6239         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6240         Use mapc to loop over a vector.  (Bug#17257).
6242 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
6244         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
6245         patch, there are new problems with file names containing spaces.
6246         Get rid of backticks.  (Bug#17238)
6248 2014-04-16  João Távora  <joaotavora@gmail.com>
6250         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
6251         possible bug.
6253 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
6255         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
6256         (blink-cursor-mode): Mention customization variables and the
6257         effect of 'blink-cursor-blinks'.
6259 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
6261         * simple.el (undo): Prevent insertion of identity mapping into
6262         undo-equiv-table so as undo-only does not inf loop in the presence
6263         of consecutive nils in undo list.
6265 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
6267         * faces.el (make-face): Deprecate optional argument as it is no
6268         longer needed/used since the conditional X resources handling
6269         has been pushed down to make-face-x-resource-internal itself.
6270         (make-empty-face): Don't pass optional argument to make-face.
6272 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
6274         * savehist.el (savehist-save): Remove workaround for a read-passwd
6275         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
6276         noticing that the shim was still present.
6278 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6280         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
6282 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
6284         * faces.el (face-set-after-frame-default): Remove unused local variable.
6286 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6288         * progmodes/grep.el: Use lexical-binding.
6289         (grep-expand-template): Pass explicit lexical env to `eval'.
6290         (zrgrep): Let-bind grep-find-template explicitly.
6292         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
6293         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
6295 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
6297         * international/characters.el <standard-case-table>: Add entries
6298         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
6299         Set category of Coptic characters be 'g' (Greek).
6301 2014-04-12  Leo Liu  <sdl.web@gmail.com>
6303         * progmodes/octave.el (completion-table-with-cache):
6304         Define if not available.
6305         (octave-goto-function-definition, octave-sync-function-file-names)
6306         (octave-find-definition-default-filename):
6307         Backquote upattern for compatibility.
6309 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
6311         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
6312         name twice due to backticks.  (Bug#17238)
6314 2014-04-12  Glenn Morris  <rgm@gnu.org>
6316         * term/w32-win.el (x-win-suspend-error):
6317         * term/x-win.el (x-win-suspend-error): Sync docs.
6319 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
6321         * faces.el (make-face): Remove deprecated optional argument.
6322         The conditional application of X resources is handled directly by
6323         make-face-x-resource-internal since Emacs 24.4.
6324         (make-empty-face): Don't pass optional argument to make-face.
6326 2014-04-11  Glenn Morris  <rgm@gnu.org>
6328         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
6330 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6332         Ediff's overlay priorities cause more trouble than they solve.
6333         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
6334         (ediff-highest-priority): Remove function (bug#17234).
6335         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
6336         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
6337         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
6338         overlay priorities.
6340 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
6342         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
6343         entry; use symbol boundaries to avoid mis-matches.
6345 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
6347         * net/tramp.el (tramp-file-name-handler)
6348         (tramp-completion-file-name-handler): Avoid recursive loading.
6350         * net/tramp-sh.el (tramp-make-copy-program-file-name):
6351         Quote result also locally.
6353 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6355         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
6356         Remove left-over code.
6358         * newcomment.el (comment-indent-new-line): Sink code where it's used.
6359         Reuse the previous comment's indentation unconditionally if it's on its
6360         own line.
6362 2014-04-09  Daniel Colascione  <dancol@dancol.org>
6364         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
6365         `no-syntax-crossing' arguments.  Forward to `up-list'.
6366         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
6367         Implement logic for escaping from strings.  Use narrowing to deal
6368         with corner cases.
6370 2014-04-09  Leo Liu  <sdl.web@gmail.com>
6372         * net/rcirc.el (rcirc-connection-info): New variable.
6373         (rcirc-connect): Use it to store connection info.
6374         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
6375         for killed process.
6376         (rcirc-cmd-reconnect): New command.  (Bug#17045)
6377         (rcirc-mode, set-rcirc-encode-coding-system)
6378         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
6380 2014-04-09  Daniel Colascione  <dancol@dancol.org>
6382         * emacs-lisp/cl-indent.el: Add comment claiming
6383         facility is also good for elisp.
6384         (lisp-indent-find-method): New function.
6385         (common-lisp-indent-function): Recognize cl-loop.
6386         (common-lisp-indent-function-1): Recognize cl constructs; use
6387         `lisp-indent-find-method' instead of `get' directly.
6388         (if): Use else-body style for elisp.
6390 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
6392         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6393         Module methods.  (Bug#17216)
6395 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6397         * help.el (describe-bindings): Fix buffer handling (bug#17210).
6398         (describe-bindings-internal): Mark obsolete.
6400 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6402         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
6403         buffer-file-name, and buffer-file-truename any more.
6405 2014-04-08  Leo Liu  <sdl.web@gmail.com>
6407         Use lexical-binding and require cl-lib.
6408         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
6409         (rcirc-handler-generic, rcirc-fill-paragraph)
6410         (rcirc-format-response-string, rcirc-target-buffer)
6411         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
6412         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
6413         (rcirc-ctcp-sender-PING, rcirc-browse-url)
6414         (rcirc-markup-timestamp, rcirc-markup-attributes)
6415         (rcirc-markup-my-nick, rcirc-markup-urls)
6416         (rcirc-markup-bright-nicks, rcirc-markup-fill)
6417         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
6418         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
6419         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
6420         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
6421         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
6422         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
6423         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
6424         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
6425         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
6426         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
6427         use cl-lib.
6429 2014-04-07  João Távora  <joaotavora@gmail.com>
6431         * elec-pair.el (electric-pair--syntax-ppss):
6432         When inside comments parse from comment beginning.
6433         (electric-pair--balance-info): Fix typo in comment.
6434         (electric-pair--in-unterminated-string-p): Delete.
6435         (electric-pair--unbalanced-strings-p): New function.
6436         (electric-pair-string-bound-function): New var.
6437         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6438         according to `electric-pair--in-unterminated-string-p'
6440         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6441         Inhibit quote pairing if point-max is inside an unterminated string.
6442         (electric-pair--looking-at-unterminated-string-p): Delete.
6443         (electric-pair--in-unterminated-string-p): New function.
6445 2014-04-07  Glenn Morris  <rgm@gnu.org>
6447         * shell.el (shell-directory-tracker):
6448         Go back to just ignoring failures.  (Bug#17159)
6450 2014-04-07  João Távora  <joaotavora@gmail.com>
6452         Fix `electric-pair-delete-adjacent-pairs' in modes binding
6453         backspace. (bug#16981)
6454         * elec-pair.el (electric-pair-backward-delete-char): Delete.
6455         (electric-pair-backward-delete-char-untabify): Delete.
6456         (electric-pair-mode-map): Bind backspace to a menu item filtering
6457         a new `electric-pair-delete-pair' command.
6458         (electric-pair-delete-pair): New command.
6460         * progmodes/python.el (python-electric-pair-string-delimiter):
6461         Fix triple-quoting electricity.  (Bug#17192)
6463         * elec-pair.el (electric-pair-post-self-insert-function):
6464         Don't skip whitespace when `electric-pair-text-pairs' and
6465         `electric-pair-pairs' were used. syntax to
6466         electric-pair--skip-whitespace.  (Bug#17183)
6468 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
6470         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
6471         "<F>".  (Bug#17199)
6473 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6475         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
6476         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
6478 2014-04-07  Glenn Morris  <rgm@gnu.org>
6480         * help.el (view-lossage): Doc tweak.
6482 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
6484         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
6485         only when inhibit-x-resources is nil, and do that earlier in the
6486         function.  Doc fix.  (Bug#16694)
6487         (face-spec-choose): Accept additional optional argument, whose
6488         value is returned if no matching attributes are found.
6489         (face-spec-recalc): Use the new optional argument when calling
6490         face-spec-choose.  (Bug#16378)
6491         (make-face-x-resource-internal): Do nothing when
6492         inhibit-x-resources is non-nil.  Don't touch the default face if
6493         reversed video is given--as was done in previous versions of Emacs.
6494         (face-set-after-frame-default): Don't call
6495         make-face-x-resource-internal here.  (Bug#16434)
6497 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
6499         * doc-view.el (doc-view-bookmark-jump):
6500         Use `bookmark-after-jump-hook' to jump to the right page after the
6501         buffer is shown in a window.  (bug#16090)
6503 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
6505         * international/characters.el (mirroring): Fix last change:
6506         instead of loading uni-mirrored.el explicitly, do that implicitly
6507         by creating the 'mirroring' uniprop table.  This avoids announcing
6508         the loading of uni-mirrored.el.
6510 2014-04-07  Glenn Morris  <rgm@gnu.org>
6512         * files.el (buffer-stale--default-function)
6513         (buffer-stale-function, revert-buffer--default):
6514         * autorevert.el (auto-revert-buffers): Doc tweaks.
6516 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
6518         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
6520 2014-04-07  Glenn Morris  <rgm@gnu.org>
6522         * files.el (make-backup-file-name-function)
6523         (make-backup-file-name, make-backup-file-name--default-function)
6524         (make-backup-file-name-1, find-backup-file-name)
6525         (revert-buffer-function, revert-buffer-insert-file-contents-function)
6526         (buffer-stale--default-function, buffer-stale-function)
6527         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
6528         (revert-buffer, revert-buffer--default)
6529         (revert-buffer-insert-file-contents--default-function):
6530         Doc fixes related to defaults no longer being nil.
6531         (make-backup-file-name-function): Bump :version.
6532         Restore nil as a valid but deprecated custom type.
6534 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6536         * progmodes/perl-mode.el (perl-syntax-propertize-function):
6537         Handle $' used as a variable (bug#17174).
6539         * progmodes/perl-mode.el (perl-indent-new-calculate):
6540         Handle forward-sexp failure (bug#16985).
6541         (perl-syntax-propertize-function): Add "foreach" and "for" statement
6542         modifiers introducing expressions (bug#17116).
6544 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6546         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
6548 2014-04-05  Leo Liu  <sdl.web@gmail.com>
6550         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6551         Add define-compilation-mode.
6553 2014-04-04  João Távora  <joaotavora@gmail.com>
6555         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
6556         parse from comment beginning.
6557         (electric-pair--balance-info): Fix typo in comment.
6558         (electric-pair--in-unterminated-string-p): Delete.
6559         (electric-pair--unbalanced-strings-p): New function.
6560         (electric-pair-string-bound-function): New var.
6561         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6562         according to `electric-pair--in-unterminated-string-p'.
6564 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6566         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
6567         Move declaration before first use.
6568         (reftex-move-to-next-arg): Silence compiler warning.
6570 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
6572         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
6573         Use `window-total-width' instead of `window-width'.
6575 2014-04-03  Daniel Colascione  <dancol@dancol.org>
6577         * subr.el (set-transient-map): Remove rms's workaround entirely;
6578         use new `suspicious-object' subr to mark our lambda for closer
6579         scrutiny during gc.
6581 2014-04-02  Richard Stallman  <rms@gnu.org>
6583         * subr.el (set-transient-map): Comment out previous change.
6585 2014-04-02  Glenn Morris  <rgm@gnu.org>
6587         * menu-bar.el (menu-bar-file-menu):
6588         * vc/ediff.el (ediff-current-file):
6589         Update for revert-buffer-function no longer being nil by default.
6591         * simple.el (command-execute): Respect nil disabled-command-function.
6593 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6595         * simple.el (command-execute): Do not execute the command when it
6596         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
6598 2014-04-02  Juri Linkov  <juri@jurta.org>
6600         * dired-aux.el (dired-compress-file): Don't use string-match-p
6601         because its match data is used afterwards.
6603 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6605         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
6606         0 like nil.
6608 2014-04-02  João Távora  <joaotavora@gmail.com>
6610         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6611         Inhibit quote pairing if point-max is inside an unterminated string.
6612         (electric-pair--looking-at-unterminated-string-p):
6613         Delete.
6614         (electric-pair--in-unterminated-string-p): New function.
6616 2014-04-01  Daniel Colascione  <dancol@dancol.org>
6618         * minibuffer.el (minibuffer-complete): Prevent assertion failure
6619         when trying to complete the prompt.
6621 2014-03-31  Leo Liu  <sdl.web@gmail.com>
6623         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6624         Refactor out eldoc-documentation-function-default.
6625         (eldoc-documentation-function-default): New function.
6626         (eldoc-documentation-function): Change value.
6628 2014-03-31  Glenn Morris  <rgm@gnu.org>
6630         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
6632         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
6633         (vhdl-compose-components-package, vhdl-compose-configuration):
6634         Abbreviate default-directory (missing from some previous upstream sync).
6636 2014-03-31  Reto Zimmermann  <reto@gnu.org>
6638         Sync with upstream vhdl mode v3.35.2.
6639         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6640         (top-level): No longer require assoc.
6641         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
6642         New functions.  Use throughout to replace aget etc.
6643         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
6644         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
6645         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
6646         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
6647         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
6648         except `vhdl-compiler'.
6649         (vhdl-error-regexp-add-emacs): Remove all other compilers,
6650         when appropriate.
6652 2014-03-31  Glenn Morris  <rgm@gnu.org>
6654         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
6655         Revert 2014-03-26 merge goof; go back to using defalias.
6657 2014-03-30  Daniel Colascione  <dancol@dancol.org>
6659         * comint.el (comint-send-input):
6660         Deactivate completion-in-region-mode before we send comint input.
6661         (Bug#17139).
6663         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
6664         on keyboard-quit.
6666 2014-03-29  Glenn Morris  <rgm@gnu.org>
6668         * textmodes/reftex.el: Manage most autoloads automatically.
6669         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
6670         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
6671         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
6672         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
6673         * textmodes/reftex-toc.el: Set generated-autoload-file,
6674         and add autoload cookies for reftex.el.
6675         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
6677 2014-03-28  Glenn Morris  <rgm@gnu.org>
6679         * cus-start.el (report-emacs-bug-address): Set custom properties.
6680         * mail/emacsbug.el (report-emacs-bug-address):
6681         Variable is now defined in emacs.c.
6683         * mail/emacsbug.el (report-emacs-bug):
6684         Include system-configuration-features.
6686 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
6688         * simple.el (cycle-spacing): Never delete spaces on first run by
6689         default, but do so in a new 'fast mode and if there are already
6690         N spaces (the previous behavior).
6691         Compare N with its value in previous invocation so that changing
6692         prefix argument restarts `cycle-spacing' sequence.
6693         The idea is that with this change, binding M-SPC to
6694         `cycle-spacing' should not introduce any changes in behavior of
6695         the binding so long as users do not type M-SPC twice in a raw with
6696         the same prefix argument or lack thereof.
6698 2014-03-28  Glenn Morris  <rgm@gnu.org>
6700         * faces.el (term-file-aliases): New variable.
6701         (tty-run-terminal-initialization): Respect term-file-aliases.
6702         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
6703         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
6704         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
6706 2014-03-27  Glenn Morris  <rgm@gnu.org>
6708         * startup.el (inhibit-startup-hooks): Doc tweak.
6709         (normal-top-level): Simplify running of hooks.
6710         For window-setup-hook, respect inhibit-startup-hooks.
6711         (command-line-1): Don't set window-setup-hook to nil.
6713         Allow selective autoloading from obsolete/ directory.
6714         * Makefile.in (obsolete-autoloads): New rule.
6715         (autoloads): Run obsolete-autoloads.
6716         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
6717         * simple.el (iswitchb-mode): Remove hand-written autoloads.
6719 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
6721         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6722         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
6724         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6725         Don't propertize `?' or `!' as symbol constituent when after
6726         colon.  (Bug#17097)
6728 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
6730         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
6731         which is no longer needed and causes trouble in GTK builds (bug#17046).
6733         * emacs-lisp/package-x.el (package--archive-contents-from-url):
6734         Use url-insert-file-contents; package-handle-response no longer exists.
6736 2014-03-26  Daniel Colascione  <dancol@dancol.org>
6738         * simple.el (process-menu-mode-map): New variable.
6739         (process-menu-delete-process): New command.
6741 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
6743         * emacs-lisp/package.el: Fix bug#16733 (again).
6744         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
6745         (url-http-target-url): Remove unused declarations.
6746         (package-handle-response): Remove.
6747         (package--with-work-buffer): Use url-insert-file-contents and simplify.
6748         (package--download-one-archive): Use current-buffer instead of
6749         dynamic binding of `buffer'.
6750         (describe-package-1): Do not decode readme-string.
6752 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
6754         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
6756         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
6757         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
6758         `remote-file-name-inhibit-cache' to nil in the second pass.
6759         (tramp-find-executable): Do not call "which" on SunOS.
6760         (tramp-send-command-and-check): Fix docstring.
6761         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
6762         check whether source directory has set the sticky bit.
6764 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
6766         * simple.el (primitive-undo): Only process marker adjustments
6767         validated against their corresponding (TEXT . POS).  Issue warning
6768         for lone marker adjustments in undo history.  (Bug#16818)
6769         (undo-make-selective-list): Add marker adjustments to selective
6770         undo list based on whether their corresponding (TEXT . POS) is in
6771         the region.  Remove variable adjusted-markers, which was unused
6772         and only non nil during undo-make-selective-list.
6773         (undo-elt-in-region): Return nil when passed a marker adjustment
6774         and explain in function doc.
6776 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6778         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
6780 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
6782         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
6783         Match special global variables without curlies, too.
6784         (ruby-font-lock-keywords): Simplify the matcher for special global
6785         variables.  Don't require a non-word character after the variable.
6786         (Bug#17057)
6788 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6790         * simple.el (redisplay-highlight-region-function): Increase priority of
6791         overlay to make sure boundaries are visible (bug#15899).
6793 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
6795         * frameset.el (frameset--initial-params): Fix typo in parameter name.
6796         (frameset-restore): Compare display strings with equal.
6798         * frame.el (make-frame): Don't quote display name in error message,
6799         it is already a string.
6801 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6803         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
6804         the password.
6806 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
6808         * emacs-lisp/package.el (package--add-to-archive-contents):
6809         Include already installed and built-in packages in
6810         `package-archive-contents'.
6811         (package-install): Don't include already installed packages in the
6812         options during interactive invocation.  (Bug#16762)
6813         (package-show-package-list): If the buffer is already displayed in
6814         another window, switch to that window.
6816 2014-03-26  Reto Zimmermann  <reto@gnu.org>
6818         Sync with upstream vhdl mode v3.35.1.
6819         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6820         (vhdl-compiler-alist): Doc fix.
6821         (vhdl-goto-line): Remove.
6822         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
6823         (vhdl-mode) <paragraph-start>: Fix value.
6824         (vhdl-fix-statement-region): Not `for' in wait-statement.
6825         (vhdl-beautify-region): Also (un)tabify.
6826         (vhdl-get-visible-signals):
6827         Scan declarative part of generate statements.
6828         (vhdl-template-record): Fix indentation for record type declaration.
6829         (vhdl-expand-abbrev, vhdl-expand-paren):
6830         Revert to using fset again rather than defalias.
6831         (vhdl-scan-directory-contents): Tweak.
6832         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
6833         (vhdl-compose-components-package):
6834         Replace vhdl-goto-line with forward-line.
6835         (top-level): Tweak speedbar frame selection.
6836         (vhdl-generate-makefile-1): Support for compilers with no
6837         unit-to-file name mapping (create directory with dummy files).
6839 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
6841         Sync with upstream verilog-mode revision 702457d.
6842         * progmodes/verilog-mode.el (verilog-mode-version): Update.
6843         (create-lockfiles): Declare.
6844         (verilog-read-decls): Fix module header imports, bug709.
6845         Reported by Victor Lau.
6846         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
6847         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
6848         interface-only modules, bug721.  Reported by Dean Hoyt.
6850 2014-03-26  Glenn Morris  <rgm@gnu.org>
6852         * obsolete/gulp.el: Move here from emacs-lisp/.
6854         * files.el (lock-buffer, unlock-buffer, file-locked-p):
6855         Remove fallback aliases, since they are always defined now.
6857 2014-03-24  Daniel Colascione  <dancol@dancol.org>
6859         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
6860         instead of cl-loop search function.
6862 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
6864         * calendar/parse-time.el (parse-time-iso8601-regexp)
6865         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
6866         it more generally.
6868 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
6870         * net/dns.el (network-interface-list): Define for XEmacs.
6872 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
6874         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
6875         the network interfaces changed.
6876         (dns-query): Use it to flush the data.
6878 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
6880         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
6882 2014-03-23  Daniel Colascione  <dancol@dancol.org>
6884         Change subword-mode to use `find-word-boundary-function-table' and
6885         replace `capitalized-words-mode'.  Also, convert to lexical binding.
6886         * progmodes/cap-words.el: Delete now-obsolete file.
6887         * progmodes/subword.el: Reimplement using
6888         `find-word-boundary-function-table'.
6889         (subword-mode-map): Hollow out.
6890         (capitalized-words-mode): Define as obsolete alias for
6891         `subword-mode'.
6892         (subword-mode, superword-mode): Tweak documentation to reflect new
6893         implementation; call `subword-setup-buffer'.
6894         (subword-forward, subword-capitalize): Add underscore to indicate
6895         unused variable.
6896         (subword-find-word-boundary-function-table): New constant.
6897         (subword-empty-char-table): New constant.
6898         (subword-setup-buffer): New function.
6899         (subword-find-word-boundary): New function.
6901 2014-03-23  Daniel Colascione  <dancol@dancol.org>
6903         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
6904         list to look for keyword arguments instead of `memq', fixing
6905         (Bug#3647) --- unfortunately, only for freshly-compiled code.
6906         Please make bootstrap.
6908 2014-03-22  Glenn Morris  <rgm@gnu.org>
6910         * dired.el (dired-read-regexp): Make obsolete.
6911         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
6912         (dired-flag-files-regexp):
6913         * dired-aux.el (dired-mark-read-regexp):
6914         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
6916         * startup.el (fancy-startup-text):
6917         * help.el (describe-gnu-project): Visit online info about GNU project.
6919         * help-fns.el (help-fns--interactive-only): New function.
6920         (help-fns-describe-function-functions): Add the above function.
6921         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
6922         (next-line, previous-line): Remove hand-written interactive-only
6923         information from doc strings, it is auto-generated now.
6924         * bookmark.el (bookmark-write):
6925         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
6926         (epa-mail-import-keys): Mark interactive-only,
6927         and remove hand-written interactive-only information from doc strings.
6928         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
6929         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
6930         * files.el (not-modified):
6931         * simple.el (mark-whole-buffer): Mark interactive-only.
6933         * emacs-lisp/byte-run.el (defun-declarations-alist):
6934         Add interactive-only.  Doc tweak.
6935         (macro-declarations-alist): Doc tweak.
6936         * subr.el (declare): Doc tweak (add xref to manual).
6937         * comint.el (comint-run):
6938         * files.el (insert-file-literally, insert-file):
6939         * replace.el (replace-string, replace-regexp):
6940         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6941         (delete-forward-char, goto-line, insert-buffer, next-line)
6942         (previous-line): Set interactive-only via declare.
6944 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
6946         * emacs-lisp/package.el (package-desc): Use the contents of the
6947         quoted form, not its cdr.  (Bug#16873)
6949 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
6951         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
6952         benefit of doc.c; change parameter profile to match the X function.
6954 2014-03-22  Leo Liu  <sdl.web@gmail.com>
6956         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
6957         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
6959 2014-03-21  Richard Stallman  <rms@gnu.org>
6961         * battery.el (battery-linux-sysfs): Search for each field
6962         from the beginning of the buffer.
6964         * subr.el (set-transient-map): Clear out function and value
6965         of the temporary symbol when we're done with it.
6967         * mail/rmailsum.el (rmail-summary-delete-forward):
6968         Optimize case of reaching end and handling count.
6969         (rmail-summary-mark-deleted): Optimize when N is current msg.
6970         Don't create new summary line.
6971         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
6972         (rmail-summary-undelete-many): Rewrite for speed.
6973         (rmail-summary-msg-number): New function.
6975         * mail/rmail.el (rmail-delete-message): Update summary.
6976         (rmail-undelete-previous-message): Handle repeat count arg.
6977         (rmail-delete-backward, rmail-delete-forward): Likewise.
6979 2014-03-21  Daniel Colascione  <dancol@dancol.org>
6981         * mail/emacsbug.el (report-emacs-bug): Include memory usage
6982         information in bug reports.
6984 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
6986         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
6987         and `tramp-copy-env'.
6989         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
6990         (tramp-maybe-open-connection): Handle `tramp-login-env'.
6992 2014-03-21  Glenn Morris  <rgm@gnu.org>
6994         * electric.el (electric-indent-post-self-insert-function): Add doc.
6996 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
6998         * emacs-lisp/package.el (package-compute-transaction):
6999         Use `version-list-<=' to compare the requirement version against
7000         the version of package already to be installed.  Update the error
7001         message.  (Bug#16826)
7003         * progmodes/ruby-mode.el (ruby-smie-rules):
7004         Add indentation rule for ` @ '.  (Bug#17050)
7006 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
7008         * align.el (align-regexp): Remove superfluous backslash.
7010         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
7011         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
7012         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
7013         Fix docstring typos.
7014         (ffap-next): Use C-u in docstring.
7015         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
7016         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
7017         Remove superfluous backslashes.
7018         (ffap-string-at-point): Reflow docstring.
7020         * server.el (server-host): Reflow docstring.
7021         (server-unload-function): Fix docstring typo.
7022         (server-eval-at): Remove superfluous backslash.
7024         * skeleton.el (skeleton-insert): Remove superfluous backslash.
7025         (skeleton-insert): Doc fix.
7026         (skeleton-insert): Reflow docstring.
7028         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
7029         (tty-color-approximate, tty-color-by-index, tty-color-values)
7030         (tty-color-desc): Remove superfluous backslashes.
7032 2014-03-21  Glenn Morris  <rgm@gnu.org>
7034         * cus-start.el (history-length): Bump :version.
7036         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7037         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7038         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7039         Don't set `make-backup-files'.
7041         * info.el (info--prettify-description): New function,
7042         to give info-finder descriptions consistent case, punctuation.
7043         (Info-finder-find-node): Use it.  Sort packages.
7044         Refer to "description" rather than "commentary".
7046 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
7048         * frameset.el (frameset--print-register): New function.
7049         (frameset-to-register): Use it.
7051 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
7053         * progmodes/hideif.el (hif-string-to-number): New function.
7054         (hif-tokenize): Use it to understand non-decimal floats.
7056         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
7058         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
7060 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7062         * electric.el (electric-newline-and-maybe-indent): New command.
7063         Bind it globally to C-j.
7064         (electric-indent-mode): Don't mess with the global map any more.
7065         Don't drop the post-self-insert-hook is some buffer is still using it
7066         (bug#16770).
7068         * bindings.el (global-map): Remove C-j binding.
7070         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
7071         the docstring of functions advised before dumping (bug#16993).
7073 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
7075         * ps-print.el (ps-generate-postscript-with-faces):
7076         Explicitly deactivate the mark (bug#16866).
7077         * simple.el (deactivate-mark): Update region highlight.
7079 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
7081         * emacs-lisp/package.el (describe-package-1):
7082         Decode commentary (bug#16733).
7084 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
7086         * custom.el (defcustom): Doc fix: recommend avoiding destructive
7087         modification of the value argument of :set (bug#16755).
7089 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7091         * simple.el (newline-and-indent): Do autofill (bug#17031).
7093 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
7095         * newcomment.el (comment-normalize-vars): Only add escaping check
7096         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
7097         (comment-beginning): Use `narrow-to-region' instead of moving back
7098         one character.
7099         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
7100         (comment-start-skip): Update the docstring.
7102 2014-03-18  Richard Stallman  <rms@gnu.org>
7104         * dired.el (dired-display-file): Force use of other window.
7106 2014-03-18  Daniel Colascione  <dancol@dancol.org>
7108         * startup.el (tty-handle-args): Remove debug message from 2007.
7110 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7112         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
7113         (advice--make-interactive-form): Use it to avoid (auto)loading function.
7114         (advice--make-1, advice-add, advice-remove):
7115         Remove braindead :advice-pending hack.
7117 2014-03-17  Glenn Morris  <rgm@gnu.org>
7119         * calendar/calendar.el (calendar-generate-month): Apply weekend
7120         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
7122 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
7124         * net/tramp.el (tramp-action-out-of-band): Read pending output.
7125         (tramp-call-process): Trace also DESTINATION.
7127         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7128         Quote file names when they are local.  Remove superfluous trace.
7130 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
7132         * newcomment.el (comment-beginning): If `comment-start-skip'
7133         doesn't match, move back one char and try again.  (Bug#16971)
7135         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7136         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
7137         Set `comment-start-skip' to a simpler value that doesn't try to
7138         check if the semicolon is escaped (this is handled by
7139         `syntax-ppss' now).  (Bug#16971)
7141         * progmodes/scheme.el (scheme-mode-variables): Same.
7143 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
7145         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
7146         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
7147         current (Bug#16816, Bug#17007).
7148         (with-current-buffer-window): New macro doing the same as
7149         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
7150         * help.el (help-print-return-message): Warn in doc-string to not
7151         use this in `with-help-window'.
7152         (describe-bindings-internal): Call `describe-buffer-bindings'
7153         from within help buffer.  See Juanma's scenario in (Bug#16816).
7154         (with-help-window): Update doc-string.
7155         * dired.el (dired-mark-pop-up):
7156         * files.el (save-buffers-kill-emacs):
7157         * register.el (register-preview): Use `with-current-buffer-window'
7158         instead of `with-temp-buffer-window'.
7160 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
7162         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
7163         Implement inserting into current buffer, documented in their docstrings.
7164         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
7165         (rst-section-tree-point, rst-forward-section, rst-indent)
7166         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
7167         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
7168         (rst-font-lock-handle-adornment-pre-match-form)
7169         (rst-repeat-last-character): Reflow docstrings.
7170         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
7171         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
7172         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
7173         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
7174         Fix docstring typos.
7175         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
7176         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
7177         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
7179 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
7181         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
7182         for compatibility with other ports.
7183         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
7184         from the -xrm command line argument, but in the Nextstep port its value
7185         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
7187         * progmodes/python.el (defconst, python-syntax-count-quotes)
7188         (python-indent-region, python-indent-shift-right)
7189         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
7190         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
7191         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
7192         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
7193         (inferior-python-mode, python-shell-make-comint, run-python-internal)
7194         (python-shell-buffer-substring, python-shell-send-buffer)
7195         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
7196         (python-completion-complete-at-point, python-fill-docstring-style)
7197         (python-eldoc-function, python-imenu-format-item-label)
7198         (python-imenu-format-parent-item-label)
7199         (python-imenu-format-parent-item-jump-label)
7200         (python-imenu--build-tree, python-imenu-create-index)
7201         (python-imenu-create-flat-index): Fix docstring typos.
7202         (python-indent-context, python-shell-prompt-regexp, run-python):
7203         Remove superfluous backslashes.
7204         (python-indent-line, python-nav-beginning-of-defun)
7205         (python-shell-get-buffer, python-shell-get-process)
7206         (python-info-current-defun, python-info-current-line-comment-p)
7207         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
7208         (python-indent-post-self-insert-function, python-shell-send-file)
7209         (python-shell-completion-get-completions)
7210         (python-shell-completion-complete-or-indent)
7211         (python-eldoc--get-doc-at-point): Reflow docstrings.
7213 2014-03-14  Glenn Morris  <rgm@gnu.org>
7215         * emacs-lisp/package.el (package-menu-mode-map):
7216         Replace use of obsolete function alias.  Tweak menu item text.
7218         * info.el (Info-finder-find-node):
7219         Ignore the `emacs' metapackage.  (Bug#10813)
7221         * finder.el (finder-list-matches): Include unversioned packages
7222         in the result of a keyword search.
7224         * finder.el (finder--builtins-descriptions): New constant.
7225         (finder-compile-keywords): Use finder--builtins-descriptions.
7227 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
7229         * simple.el (blink-matching-paren): Describe the new value,
7230         `jump', enabling the old behavior.
7231         (blink-matching-open): Use that value.  (Bug#17008)
7233 2014-03-14  Glenn Morris  <rgm@gnu.org>
7235         * finder.el (finder-no-scan-regexp): Add leim-list.
7236         (finder-compile-keywords):
7237         Don't skip files with same basename.  (Bug#14010)
7238         * Makefile.in (setwins_finder): New, excluding leim.
7239         (finder-data): Use setwins_finder.
7241         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
7242         (help-function-arglist, help-make-usage): Move from here...
7243         * help.el (help-split-fundoc, help-add-fundoc-usage)
7244         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
7245         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
7247 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
7249         * net/socks.el (socks, socks-override-functions)
7250         (socks-find-services-entry):
7251         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
7252         (hif-find-ifdef-block):
7253         * progmodes/modula2.el (m2-indent): Fix docstring typos.
7255         * net/tls.el (tls-program): Reflow docstring.
7257         * progmodes/pascal.el (pascal-mode-abbrev-table)
7258         (pascal-imenu-generic-expression, pascal-auto-endcomments)
7259         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
7260         (pascal-outline-mode): Fix docstring typos.
7261         (pascal-mode): Let define-derived-mode document mode hook.
7262         (pascal-uncomment-area): Reflow.
7263         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
7265         * progmodes/opascal.el (opascal-compound-block-indent)
7266         (opascal-case-label-indent): Fix docstring typos.
7267         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
7269 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
7271         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7272         Fontify multiple adjacent negation chars.  (Bug#17004)
7274 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7276         * emacs-lisp/package.el (package--prepare-dependencies):
7277         Accept requirements without explicit version (bug#14941).
7279 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
7281         * register.el (register-separator, copy-to-register): Doc fixes.
7282         (register-preview-default): Remove unnecessary call to concat.
7284         * frameset.el (frameset-restore): When checking for a visible frame,
7285         use the action map instead of calling visible-frame-list.
7287 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
7289         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
7291 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
7293         * window.el (fit-frame-to-buffer): Get maximum width from
7294         display's width instead of height.
7296 2014-03-12  Glenn Morris  <rgm@gnu.org>
7298         * desktop.el (desktop-restore-frames)
7299         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
7300         (desktop-restore-reuses-frames): Doc tweaks.
7302         * electric.el (electric-indent-mode): Doc fix.
7304 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
7306         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
7307         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
7308         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
7309         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
7310         (cvs-dired-use-hook): Fix docstring typos.
7311         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
7312         Doc fixes.
7314         * vc/pcvs-defs.el (cvs-auto-remove-handled)
7315         (cvs-auto-remove-directories, cvs-default-ignore-marks)
7316         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
7317         (cvs-execute-single-dir): Fix docstring typos.
7319         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
7320         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
7322         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
7324         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
7325         Fix docstring typos.
7327 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
7329         * frameset.el (frameset--jump-to-register): Add autoload; it could be
7330         called from jump-to-register after unloading the frameset package.
7332 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7334         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
7335         (bug#16975).  Deactivate the mark before setting it to nil.
7336         (activate-mark): Do nothing if region is already active.
7338 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
7340         * frameset.el (frameset--target-display): Remove definition; declare.
7341         (frameset-save, frameset-restore): Let-bind frameset--target-display.
7343 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7345         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
7346         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
7347         when the advice is pending.
7348         (advice-remove): Remove this marker when not needed any more.
7350 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
7352         * frameset.el: Separate options for reusing frames and cleaning up.
7353         (frameset--reuse-list): Remove definition; declare.
7354         (frameset--action-map): Declare.
7355         (frameset--find-frame-if): Doc fix.
7356         (frameset--restore-frame): Cache frame action.
7357         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
7358         how to clean up the frame list after restoring.  Remove cleaning
7359         options from REUSE-FRAMES.  Change all keyword values to symbols.
7360         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
7362         * desktop.el (desktop-restore-forces-onscreen)
7363         (desktop-restore-reuses-frames): Use non-keyword values.
7364         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
7366 2014-03-10  Glenn Morris  <rgm@gnu.org>
7368         * files.el (find-file): Doc fix: update info node name.
7370         * emacs-lisp/advice.el (ad-add-advice, defadvice):
7371         Doc fix: remove references to deleted info nodes.
7373 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
7375         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7376         Do not add nil to the environment, when there's no remote `locale'.
7377         (tramp-find-inline-encoding): Check, that the remote host has
7378         installed perl, before sending scripts.
7380 2014-03-10  Leo Liu  <sdl.web@gmail.com>
7382         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7383         Clear eldoc-last-message.  (Bug#16920)
7385 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7387         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
7388         (bug#14430).
7390 2014-03-09  Juri Linkov  <juri@jurta.org>
7392         * ansi-color.el (ansi-color-names-vector): Copy default colors
7393         from `xterm-standard-colors' that look well on the default white
7394         background (and also on the black background) to avoid illegible
7395         color combinations like yellow-on-white and white-on-white.
7396         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
7398 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
7400         * frameset.el (frameset-restore): When no frame is visible, do not
7401         generate a list of frames, just make visible the selected one.
7403 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
7405         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
7406         it only contains the repository root.  (Bug#16897)
7408 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
7410         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
7411         only when `remote-file-name-inhibit-cache' is nil.
7412         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
7414 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
7416         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
7417         Fix doc-strings.
7418         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
7419         fit-frame-to-buffer variable.  Fix doc-string.
7420         (fit-window-to-buffer): Set ONLY argument in call of
7421         fit-frame-to-buffer.  Fix doc-string.
7423 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
7425         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
7426         (tramp-action-password): Clear password cache if needed.
7427         (tramp-read-passwd): Do not clear password cache.
7429         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
7430         cache unless it is the first password request.
7432 2014-03-06  Glenn Morris  <rgm@gnu.org>
7434         * simple.el (newline): Doc tweak.
7436         * emacs-lisp/shadow.el (load-path-shadows-find):
7437         Ignore dir-locals.  (Bug#12357)
7439 2014-03-05  Glenn Morris  <rgm@gnu.org>
7441         * files.el (interpreter-mode-alist):
7442         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
7444 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
7446         * frameset.el (frameset--initial-params): Filter out null entries.
7448 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
7450         * window.el (window-min-height, window-min-width):
7451         Rewrite doc-strings.
7452         (window-body-size): Add PIXELWISE argument to make it consistent
7453         with its callees.
7455 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
7457         * finder.el (finder-mode-map, finder-mode-syntax-table):
7458         Revert part of 2014-02-28 change.
7460 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
7462         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
7463         (eww-setup-buffer): Clear next/prev/etc more reliably.
7464         (eww-textarea-map): [tab] doesn't work on tty.
7465         Reported by Mario Lang.
7467         * net/shr.el (shr-map): Ditto.
7469 2014-03-04  Glenn Morris  <rgm@gnu.org>
7471         * minibuffer.el (completion-hilit-commonality):
7472         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
7474 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
7476         * hilit-chg.el (hilit-chg-unload-function): New function.
7477         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
7478         (hilit-chg-map-changes): Prefer cardinal number to digit.
7479         (hilit-chg-display-changes): Reflow docstring.
7480         (highlight-changes-rotate-faces): Remove superfluous backslash.
7482 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
7484         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
7485         `tramp-send-command-and-check'.
7487 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
7489         * hexl.el (hexl-address-region, hexl-ascii-region)
7490         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
7491         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
7492         (hexl-forward-word, hexl-previous-line, hexl-next-line):
7493         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
7494         (hexl-mode): Doc fix.
7495         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
7496         (hexl-mode-ruler): Fix typos in docstrings.
7498         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
7499         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
7500         Remove superfluous backslashes.
7501         (strokes-last-stroke, strokes-global-map, strokes-mode):
7502         Reflow docstrings.
7503         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
7504         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
7505         (strokes-distance-squared, strokes-global-set-stroke)
7506         (strokes-global-set-stroke-string): Doc fixes.
7507         (strokes-help): Fix typos; reflow docstring.
7509 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
7511         * window.el (window-in-direction): Fix doc-string.
7513 2014-03-04  Glenn Morris  <rgm@gnu.org>
7515         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
7516         Explicit error if no grammar.
7517         (smie-config-save): Doc fix.  Fix quote typo.
7519 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7521         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
7522         electric-indent-mode-hook if we obey electric-indent-mode.
7523         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
7524         decide whether we obey electric-indent-mode.
7525         (c-change-set-fl-decl-start, c-extend-after-change-region):
7526         Silence warnings.
7527         (c-electric-indent-mode-hook): Assume we do want to obey
7528         electric-indent-mode.
7530         * electric.el (electric-indent-mode-has-been-called): Remove.
7531         (electric-indent-mode): Fix accordingly.
7533         * files.el (hack-local-variables): Mention file name in warning.
7535         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
7537 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
7539         * bindings.el: Add comment describing why C-d binds to `delete-char'.
7540         * simple.el (delete-forward-char): Mark as interactive-only.
7542 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
7544         * icomplete.el (icomplete-completions):
7545         Follow-up to 2014-03-01 change.
7547         * icomplete.el: Miscellaneous doc fixes.
7548         Use Icomplete everywhere instead of icomplete for consistency.
7549         (icomplete-max-delay-chars): Fix typo.
7550         (icomplete-mode): Use \[].
7551         (icomplete-tidy, icomplete-exhibit): Reflow.
7552         (icomplete-minibuffer-setup-hook, icomplete-completions):
7553         Remove superfluous backlashes.
7555         * ido.el: Miscellaneous doc fixes.
7556         Use Ido everywhere instead of ido or `ido' for consistency.
7557         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
7558         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
7559         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
7560         (ido-separator): Extract obsolescence info from docstring and declare
7561         with make-obsolete-variable.
7562         (ido-minibuffer-setup-hook): Simplify example.
7563         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
7564         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
7565         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
7566         (ido-everywhere): Reflow docstring.
7567         (ido-toggle-vc): Doc fix.
7568         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
7569         of long list of keybindings.
7571 2014-03-03  Glenn Morris  <rgm@gnu.org>
7573         * frame.el (display-pixel-height, display-pixel-width)
7574         (display-mm-dimensions-alist, display-mm-height)
7575         (display-mm-width): Doc tweaks.
7577 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
7579         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
7580         case of undo in region.
7582 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
7584         * window.el (fit-window-to-buffer): Fix argument in window-size
7585         call when window is horizontally combined.
7587 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
7589         * icomplete.el (icomplete-completions): Use string-width.
7590         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7592 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
7594         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7595         Highlight regexp options.  (Bug#16914)
7597 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
7599         * window.el (window--max-delta-1): Round down when calculating
7600         how many lines/columns we can get from a window.
7602 2014-03-01  Glenn Morris  <rgm@gnu.org>
7604         * isearch.el (search-invisible): Doc fix.
7606         * minibuffer.el (completion-hilit-commonality):
7607         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
7608         * comint.el (comint-dynamic-list-completions): Doc fix.
7609         * comint.el (comint-dynamic-list-completions):
7610         * filecache.el (file-cache-minibuffer-complete):
7611         * tempo.el (tempo-display-completions):
7612         * eshell/em-hist.el (eshell-list-history):
7613         Replace use of obsolete argument of display-completion-list.
7615 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
7617         * icomplete.el (icomplete-completions):
7618         Revert back to using "..." when ?… cannot be displayed.
7620 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
7622         * finder.el (finder-unload-function): New function.
7624 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
7626         * dframe.el (dframe-detach):
7627         * find-dired.el (find-dired, find-name-dired):
7628         * finder.el (finder-mode-map, finder-mode-syntax-table)
7629         (finder-headmark, finder-select, finder-mouse-select):
7630         Fix docstring typos.
7632 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
7634         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
7635         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
7636         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7637         Fix doc-string based on a suggestion by Nicolas Richard
7638         <theonewiththeevillook@yahoo.fr>.
7639         * help.el (with-help-window): Fix doc-string.
7641 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
7643         * net/shr.el (shr-image-animate): New option.
7644         (shr-put-image): Respect shr-image-animate.
7646 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
7648         * net/tramp-adb.el (tramp-adb-parse-device-names):
7649         Use `accept-process-output'.
7650         (tramp-adb-handle-file-truename): Cache the localname only.
7651         (tramp-adb-handle-make-directory)
7652         (tramp-adb-handle-delete-directory): Flush file properties correctly.
7653         (tramp-adb-handle-set-file-modes): Do not raise an error when file
7654         modes cannot be changed.
7656         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
7657         file properties of symlinks.
7659 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
7661         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
7662         required/optional fields to match development biblatex.  (Bug#16781)
7664 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
7666         * saveplace.el (toggle-save-place):
7667         Fix argument handling.  (Bug#16673)
7669 2014-02-28  Glenn Morris  <rgm@gnu.org>
7671         * minibuffer.el (completions-first-difference)
7672         (completions-common-part, completion-hilit-commonality): Doc fixes.
7674 2014-02-28  Karl Berry  <karl@gnu.org>
7676         * info.el (Info-mode-map): Add H for describe-mode,
7677         to synchronize with standalone Info.
7679 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
7681         * progmodes/sql.el (sql-interactive-mode):
7682         Avoid setting global comint-input-ring-separator.  (Bug#16814)
7684 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
7686         * net/dbus.el (dbus--init-bus): Declare function.
7687         (dbus-path-local, dbus-interface-local): New defconst.
7688         (dbus-init-bus): Use them.
7689         (dbus-return-values-table): Extend doc.
7690         (dbus-handle-bus-disconnect): Extend error message.
7692 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
7694         * subr.el (y-or-n-p): Fix double space issue in message.
7696 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
7698         * net/tramp.el (tramp-call-process): Improve trace message.
7699         (tramp-handle-insert-file-contents): Trace error case.
7701         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7702         <insert-directory>: Use `tramp-handle-insert-directory'.
7703         (tramp-adb-handle-insert-directory): Remove function.
7704         (tramp-adb-send-command-and-check): New defun, replacing
7705         `tramp-adb-command-exit-status'.  Change all callees.
7706         (tramp-adb-handle-file-attributes)
7707         (tramp-adb-handle-directory-files-and-attributes): Use it.
7708         (tramp-adb-ls-output-name-less-p):
7709         Use `directory-listing-before-filename-regexp'.
7710         (tramp-adb-handle-delete-directory): Flush also file properties of
7711         the truename of directory.
7712         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
7713         (tramp-adb-handle-file-local-copy): Make the local copy readable.
7714         (tramp-adb-handle-write-region): Implement APPEND.
7715         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
7716         properties correctly.
7717         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
7718         variables.  Check for connected devices only when needed.
7720 2014-02-27  Glenn Morris  <rgm@gnu.org>
7722         * minibuffer.el (completion-table-dynamic)
7723         (completion-table-with-cache): Doc fixes.
7725         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
7726         (completing-read-multiple): Doc fixes.
7728 2014-02-27  Daniel Colascione  <dancol@dancol.org>
7730         * minibuffer.el (completion--nth-completion): Fix indentation.
7732         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
7733         explicit tramp path is empty.
7735 2014-02-27  Glenn Morris  <rgm@gnu.org>
7737         * emacs-lisp/crm.el (completing-read-multiple):
7738         Empower help-enable-auto-load.
7740 2014-02-26  Glenn Morris  <rgm@gnu.org>
7742         * startup.el (command-line): Don't init the tty in daemon mode.
7744         Avoid calling tty-setup-hook twice, eg if a term file
7745         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
7746         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
7747         (tty-create-frame-with-faces): Use it.
7748         * startup.el (command-line): Pass run-hook argument
7749         to tty-run-terminal-initialization.
7751         * dired.el (dired-restore-desktop-buffer): Demote errors;
7752         eg in case a glob match fails.  (Bug#16884)
7754 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
7756         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
7757         error from `read-from-string'.  (Bug#16850)
7759         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
7760         result of `completing-read' in the interactive form.  (Bug#16854)
7762 2014-02-25  Glenn Morris  <rgm@gnu.org>
7764         * image.el (image-animate, image-animate-timeout):
7765         Stop animating images in dead buffers.  (Bug#16878)
7767         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
7769         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
7770         Doc fixes.
7771         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
7772         * term/sun.el (sun-raw-prefix-hooks):
7773         Use tty-setup-hook instead of term-setup-hook.
7774         (terminal-init-sun): Construct message from bytecomp plist.
7775         * term/wyse50.el (enable-arrow-keys): Doc fix.
7777 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
7779         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
7780         Fix docstring typos.
7782 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
7784         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
7786 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
7788         * minibuffer.el (completion--try-word-completion):
7789         Fix error when completing M-x commands (bug#16808).
7791 2014-02-24  Leo Liu  <sdl.web@gmail.com>
7793         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
7795 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
7797         * apropos.el (apropos-print): Avoid formatting error when
7798         apropos-do-all and apropos-compact-layout are both t.
7800 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
7802         * apropos.el (apropos-property, apropos-all-words-regexp)
7803         (apropos-true-hit, apropos-variable, apropos-print):
7804         Fix docstring typos, and remove obsolete comment.
7806 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
7808         * net/tramp-sh.el (tramp-sh-handle-file-truename):
7809         Preserve trailing "/".  (Bug#16851)
7811 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
7813         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
7814         after `=>' (bug#16811).
7815         (ruby-smie-rules): Handle the inconsistent second element of the
7816         list returned by `smie-indent--parent'.
7817         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
7818         method call.
7820 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
7822         * elec-pair.el (electric-pair-text-syntax-table)
7823         (electric-pair-syntax-info, electric-pair--syntax-ppss)
7824         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
7825         (electric-pair--looking-at-unterminated-string-p): Doc fix.
7826         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
7828 2014-02-22  Glenn Morris  <rgm@gnu.org>
7830         * imenu.el (imenu--generic-function): Doc fix.
7832         * register.el (frame-configuration-to-register): Make obsolete.
7834 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
7836         * desktop.el (desktop-save-buffer-p): Do not fail when
7837         desktop-files-not-to-save is nil.  Return t for true result
7838         as the doc says.
7840 2014-02-22  Daniel Colascione  <dancol@dancol.org>
7842         * net/secrets.el (secrets-create-item, secrets-search-items):
7843         Check that attribute values are strings, avoiding the construction
7844         of invalid dbus messages.
7846 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
7848         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
7849         defun-declarations-alist.
7851 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7853         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
7854         (bug#16829).
7856 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
7858         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
7859         (whitespace-newline, whitespace-trailing, whitespace-line)
7860         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
7861         (whitespace-space-after-tab): Fix typo in docstrings.
7863 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
7865         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
7867         * electric.el (electric-indent-functions-without-reindent):
7868         Add `yaml-indent-line'.
7870 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
7872         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
7873         It has done nothing for years; should be removed after the release.
7875         * simple.el (choose-completion): Fix docstring typo.
7876         (read-quoted-char-radix): Remove unneeded * in docstring.
7877         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
7878         Don't escape parentheses unnecessarily in docstrings.
7880 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
7882         Fix handling of window-min-height/-width (Bug#16738).
7883         * window.el (window--dump-window, window--dump-frame):
7884         New functions.
7885         (window--min-size-1): Account for window dividers.
7886         When window-resize-pixelwise is nil, delay rounding till after the
7887         sum of the window components has been calculated.
7888         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
7889         nil make sure at least one text line and two text columns remain
7890         fully visible.
7891         (window-resize): Signal an error when window-resize-apply fails.
7892         (window--resize-child-windows): Fix calculation of by how many
7893         pixels a window can still be shrunk via window-new-normal.
7894         (adjust-window-trailing-edge): Call window--resizable with
7895         correct TRAIL argument.
7897         (with-temp-buffer-window): Don't evaluate BODY within
7898         with-current-buffer (Bug#16816).
7900 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
7902         * net/tramp.el (tramp-check-cached-permissions):
7903         Call `file-attributes' with `suffix' being a symbol but a string.
7905 2014-02-21  Daniel Colascione  <dancol@dancol.org>
7907         * net/dbus.el (dbus-init-bus-1): Declare new subr.
7908         (dbus-init-bus): New function: call into dbus-init-bus-1
7909         and installs a handler for the disconnect signal.
7910         (dbus-call-method): Rewrite to look for result in cons.
7911         (dbus-call-method-handler): Store result in cons.
7912         (dbus-check-event): Recognize events with nil sender as valid.
7913         (dbus-handle-bus-disconnect): New function.  React to bus
7914         disconnection signal by synthesizing dbus error for each
7915         pending synchronous or asynchronous call.
7916         (dbus-notice-synchronous-call-errors): New function.
7917         (dbus-handle-event): Raise errors directly only when `dbus-debug'
7918         is true, not all the time.
7920 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
7922         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7923         Remove obsolescence declarations, these variables do not exist anymore.
7925         * savehist.el (savehist-save-minibuffer-history)
7926         (savehist-additional-variables, savehist-file, savehist-mode-hook)
7927         (savehist-save-hook, savehist-coding-system, savehist-loaded)
7928         (savehist-load, savehist-install, savehist-autosave): Fix typos;
7929         mostly, refer to "Savehist mode" when talking about the mode,
7930         and not the function.
7932         * saveplace.el (save-place): Remove redundant info in docstring.
7933         (save-place-forget-unreadable-files, toggle-save-place)
7934         (save-place-forget-unreadable-files, save-place-dired-hook):
7935         Fix typos and remove unneeded backslashes.
7937 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
7939         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
7940         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
7942         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7943         <insert-directory>: Use `tramp-handle-insert-directory'.
7944         (tramp-gvfs-handle-insert-directory): Remove function.
7946         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7947         Call `tramp-handle-insert-directory'.
7949 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
7951         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
7952         before the start of buffer/region (bug#16799).
7954 2014-02-20  Glenn Morris  <rgm@gnu.org>
7956         * isearch.el (search-invisible): Doc fix.
7958 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
7960         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
7961         (bug#16657).
7963 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
7965         * frameset.el (frameset-restore): Delay removing an old frame's
7966         duplicate id until the new frame has been correctly created.
7968 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
7970         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
7971         (tramp-check-cached-permissions): Call `file-attributes' if the
7972         cache is empty.
7974         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7975         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
7977         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7978         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
7979         (tramp-gvfs-maybe-open-connection): Set always connection
7980         properties, even if target is mounted already.
7982         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
7983         Set tramp-autoload cookie.
7984         (tramp-get-remote-touch): New defun.
7985         (tramp-sh-handle-set-file-times): Use it.
7986         (tramp-sh-handle-directory-files-and-attributes):
7987         Use `tramp-handle-directory-files-and-attributes' if neither stat
7988         nor perl are available on the remote host.
7990         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
7991         "/".  Write long listing only when "l" belongs to the switches.
7993         * net/trampver.el: Update release number.
7995 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
7997         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
7999 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
8001         * window.el (window-state-put): Allow WINDOW to refer to an
8002         internal window (Bug#16793).
8004 2014-02-19  Glenn Morris  <rgm@gnu.org>
8006         * textmodes/remember.el: Move provide statement to end.
8007         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
8008         (remember-notes): Doc fixes.
8010 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8012         * delsel.el (delete-char): Restore incorrectly erased property
8013         (bug#16795).
8015 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
8017         * frameset.el (frameset--restore-frame): When a frame is being reused
8018         and its root window is not alive, delete all the frame's windows before
8019         restoring the window state.  This works around the issue in bug#16793.
8021 2014-02-18  Glenn Morris  <rgm@gnu.org>
8023         * textmodes/remember.el (remember-data-directory)
8024         (remember-directory-file-name-format, remember-store-in-files)
8025         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
8026         (remember-notes-save-and-bury-buffer)
8027         (remember-notes--kill-buffer-query): Doc fixes.
8029         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
8031 2014-02-17  Alan Mackenzie  <acm@muc.de>
8033         Connect electric-indent-mode up with CC Mode.  Bug #15478.
8034         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
8035         to electric-indent-{,local-}-mode.
8036         (c-basic-common-init): Set electric-indent-inhibit.
8037         Initialise c-electric-flag from electric-indent-mode.
8038         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
8039         New hook functions which propagate electric-indent-mode to CC mode.
8041         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
8042         hit, toggle electric-indent-local-mode.
8044         * electric.el (electric-indent-mode-has-been-called):
8045         New variable.
8047 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
8049         * frameset.el (frameset-cfg-id): New function.
8050         (frameset--reuse-frame, frameset-restore): Use it.
8051         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
8053 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8055         * ido.el (ido-file-internal): Remove unused var `d'.
8056         Use \` for to match BoS.  Fit within 80n columns.
8058 2014-02-17  Daniel Colascione  <dancol@dancol.org>
8060         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
8061         dbus-call-method check for completion using a busy-wait loop with
8062         gradual backoff.
8064 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
8066         Sync with Tramp 2.2.9.
8068         * net/trampver.el: Update release number.
8070 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
8072         * ido.el (ido-file-internal): Don't add the name of an existing
8073         directory twice.  (Bug#16747)
8075 2014-02-16  Glenn Morris  <rgm@gnu.org>
8077         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
8078         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
8080 2014-02-15  Michael R. Mauger  <michael@mauger.com>
8082         * progmodes/sql.el: Version 3.4
8083         (sql-oracle-options): New default value ("-L").
8084         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
8085         (sql-placeholders-filter): Correct placeholder pattern.
8086         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
8087         (sql-login-delay): New variable.
8088         (sql-product-interactive): Use it.
8090 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
8092         * frameset.el (frameset--jump-to-register): Check that buffer is live
8093         (bug#16749).
8095 2014-02-15  Glenn Morris  <rgm@gnu.org>
8097         * info.el (info-initialize): Revert 2014-01-10 change.
8099 2014-02-14  Glenn Morris  <rgm@gnu.org>
8101         * replace.el (map-query-replace-regexp)
8102         (read-regexp-defaults-function, read-regexp): Doc fixes.
8104         * dired.el (dired-read-regexp):
8105         * faces.el (list-faces-display):
8106         * misearch.el (multi-isearch-read-matching-buffers)
8107         (multi-isearch-read-matching-files):
8108         * play/cookie1.el (cookie-apropos):
8109         * progmodes/grep.el (grep-read-regexp): Doc fixes.
8111         * textmodes/remember.el (remember): Use frameset-to-register
8112         rather than frame-configuration-to-register.
8114 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
8116         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
8117         incorrect keybinding.
8119 2014-02-13  Daniel Colascione  <dancol@dancol.org>
8121         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
8122         when adding overlays so that line numbers from compiler match line
8123         numbers we use.
8125 2014-02-13  Glenn Morris  <rgm@gnu.org>
8127         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
8129         * jit-lock.el (jit-lock-mode): Doc fix.
8131 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
8133         * apropos.el (apropos-read-pattern): When the user passes an empty
8134         string, give a more helpful error message than "Wrong type
8135         argument: stringp, nil".
8137 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8139         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
8141 2014-02-13  Glenn Morris  <rgm@gnu.org>
8143         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
8145 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8147         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
8148         shift-select commands.
8150 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
8152         * progmodes/js.el (js-indent-line): Don't widen.
8153         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
8155 2014-02-12  Glenn Morris  <rgm@gnu.org>
8157         * icomplete.el (icomplete): Add info-link to defgroup.
8158         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
8159         (icomplete-minibuffer-map, icomplete-mode)
8160         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
8162         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
8163         (package-menu-filter): Rename from package-menu-filter-interactive.
8164         Doc fix.
8166 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
8168         * frameset.el (frameset--jump-to-register): Select the required
8169         window and buffer before restoring position (bug#16696).
8171 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
8173         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
8175 2014-02-10  Glenn Morris  <rgm@gnu.org>
8177         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
8179 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
8181         * w32-common-fns.el (x-get-selection): Doc fix.
8182         * select.el (x-get-selection): Doc fix.  (Bug#15109)
8184         * face-remap.el (face-remap-add-relative)
8185         (face-remap-remove-relative, face-remap-reset-base)
8186         (face-remap-set-base): Call force-mode-line-update to redisplay
8187         the current buffer due to potential change in faces.  (Bug#16709)
8189 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
8191         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
8192         script more robustly.
8194 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
8196         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
8198         * simple.el (choose-completion): Doc fix (bug#14160).
8200         * subr.el (event-start): Say what a nil EVENT value means.
8202         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
8203         (bug#14197).
8205         * progmodes/grep.el (find-program): Doc fix (bug#14289).
8207         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
8209         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
8211         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8212         predicate function (bug#15455).
8214 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
8216         * ielm.el (inferior-emacs-lisp-mode): Instead of
8217         `comment-use-global-state', set `comment-use-syntax'.
8219 2014-02-10  Glenn Morris  <rgm@gnu.org>
8221         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
8223 2014-02-09  Alan Mackenzie  <acm@muc.de>
8225         Fix c-invalidate-state-cache on narrowed buffers.
8226         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
8227         Widen when setting and clearing the CPP delimiter properties.
8229 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
8231         * help.el (describe-bindings): Doc fix (bug#9888).
8233         * files.el (save-buffer): Use ARG as the parameter name for
8234         consistency (bug#10346).
8235         (save-buffer): Clarify the 0 argument (bug#10346).
8237         * cus-edit.el (customize-apropos): Fix error string.
8238         (custom-buffer-create): Doc fix (bug#11122).
8239         (custom-sort-items): Doc fix (bug#11121).
8241         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
8243         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
8244         (icomplete-simple-completing-p): Mention the previous variable.
8246         * font-lock.el (font-lock-value-in-major-mode): Clarify the
8247         meaning of the parameter (bug#12282).
8249         * files.el (find-file-noselect): Clarify prompt when changing
8250         readedness (bug#13261).
8251         (locate-file): Suffixes aren't returned, so don't say that they
8252         are (bug#12674).
8253         (backup-inhibited): Doc clarification (bug#12525).
8255         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
8256         before we actually start to delete things (bug#16331).
8258         * subr.el (event-start): Doc fix (bug#14228).
8259         (event-end): Ditto.
8261 2014-02-09  Glenn Morris  <rgm@gnu.org>
8263         * emacs-lisp/warnings.el (lwarn):
8264         Empower help-enable-auto-load.  (Bug#15940)
8266 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
8268         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
8269         (Bug#16690)
8271 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
8273         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8274         Insert output at end of buffer.  (Bug#16120)
8276 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
8278         * simple.el (choose-completion-string-functions): Document new
8279         calling convention (bug#14153).
8280         (execute-extended-command): Clarify doc string (bug#13373).
8282         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
8284         * find-dired.el (find-name-dired): Doc fix (bug#14290).
8285         (find-grep-dired): Doc fix (bug#14288).
8287 2014-02-08  Juri Linkov  <juri@jurta.org>
8289         * isearch.el (isearch-quote-char): Check character validity
8290         like in `quoted-insert' (bug#16677).
8292 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
8294         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
8296         * isearch.el (isearch-hide-immediately): Doc clarification
8297         (bug#14723).
8299         * simple.el (line-move): Document utility function used many
8300         places in the Emacs sources (bug#14843).
8302         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8303         (dired-prev-marked-file): Doc fix (bug#14855).
8304         (dired-up-directory): Doc fix (bug#14848).
8306         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
8308         * files.el (file-relative-name): Doc fix (bug#15159).
8310         * fringe.el (fringe-styles): Doc fix (bug#15239).
8312         * isearch.el (isearch-filter-predicate): Documentation typo fix
8313         (bug#15474).
8315         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
8317         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
8319         * replace.el (replace-match-maybe-edit): Doc clarification
8320         (bug#15632).
8322         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
8324         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
8326 2014-02-08  Glenn Morris  <rgm@gnu.org>
8328         * help-fns.el (describe-variable):
8329         Check {file,dir}-local-variables-alist, and buffer-file-name,
8330         in the correct buffer.
8332 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
8334         * help-fns.el (describe-variable): Fix the case where
8335         a value is directory-local with no dir-locals file.  (Bug#16635)
8337 2014-02-08  Glenn Morris  <rgm@gnu.org>
8339         * abbrev.el (edit-abbrevs-mode):
8340         Derive from fundamental-mode.  (Bug#16682)
8342 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
8344         * simple.el (quoted-insert): Check character validity (bug#16677).
8346 2014-02-07  Juri Linkov  <juri@jurta.org>
8348         * desktop.el (desktop-read): Claim the lock when the owner is not
8349         the current process.  (Bug#16157)
8351 2014-02-07  Juri Linkov  <juri@jurta.org>
8353         * desktop.el (desktop-buffers-not-to-save): Change default from nil
8354         to "\\` ".  (Bug#16651)
8356 2014-02-07  Juri Linkov  <juri@jurta.org>
8358         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
8359         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
8360         (desktop-auto-save-cancel-timer): New function with some code from
8361         `desktop-auto-save-set-timer'.
8362         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
8363         Instead of setting `desktop-save-mode' to nil, call
8364         `desktop-save-mode' with arg 0.  (Bug#16630)
8366 2014-02-07  Glenn Morris  <rgm@gnu.org>
8368         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
8369         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
8370         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
8372         * obsolete/iswitchb.el: Move to obsolete/.
8373         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
8374         since obsolete/ is not scanned for autoloads.
8375         * emacs-lisp/authors.el (authors-valid-file-names):
8376         Add iswitchb.el.
8378         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
8379         Disable now non-functional find-file-hook.
8381 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
8383         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
8384         instead of ";" in order to avoid additional prompts.  Let heredoc
8385         scripts read from tty.  (Bug#16582)
8386         (tramp-send-command): No special handling of heredocs, it isn't
8387         necessary anymore.
8389 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8391         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
8392         with a space (bug#16664).  Limit the symbols considered to the ones
8393         that are bound or fbound (bug#16646).
8395 2014-02-06  Glenn Morris  <rgm@gnu.org>
8397         * epa.el (epa-mail-aliases): Doc fix.
8399 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
8401         * emacs-lisp/lisp.el (lisp-completion-at-point):
8402         Use `completion-table-merge' instead of `completion-table-in-turn'
8403         (bug#16604).
8405         * minibuffer.el (completion-table-merge): New function.
8407 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
8409         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
8410         (tramp-sh-handle-set-file-acl)
8411         (tramp-sh-handle-start-file-process)
8412         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
8413         (tramp-find-executable, tramp-send-command): Use it.
8415 2014-02-05  Glenn Morris  <rgm@gnu.org>
8417         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
8419 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8421         * progmodes/python.el (python-shell-send-string)
8422         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
8424 2014-02-04  Anders Lindgren  <andlind@gmail.com>
8426         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
8427         the names (bug#16620).
8429 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
8431         * faces.el (window-divider): New default value.  Rewrite doc-string.
8432         (window-divider-first-pixel, window-divider-last-pixel): New faces.
8434 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
8436         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
8437         `protected' and `public' can also be called without arguments.
8439 2014-02-03  Glenn Morris  <rgm@gnu.org>
8441         * register.el (window-configuration-to-register)
8442         (frame-configuration-to-register): Unadvertise unused argument.
8443         * frameset.el (frameset-to-register): Remove unused argument.
8445         * frameset.el (frameset-to-register):
8446         * kmacro.el (kmacro-to-register):
8447         * register.el (increment-register):
8448         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
8449         (calc-append-to-register, calc-prepend-to-register):
8450         * play/gametree.el (gametree-layout-to-register)
8451         (gametree-apply-register-layout):
8452         * textmodes/picture.el (picture-clear-rectangle-to-register)
8453         (picture-yank-rectangle-from-register):
8454         * vc/emerge.el (emerge-combine-versions-register):
8455         Use register-read-with-preview to read registers.
8457 2014-02-03  João Távora  <joaotavora@gmail.com>
8459         * elec-pair.el (electric-pair-backward-delete-char): Don't error
8460         when at beginning of (possibly narrowed) buffer.
8462 2014-02-02  Daniel Colascione  <dancol@dancol.org>
8464         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
8465         Also try to display local help from just before point.
8467 2014-02-02  Alan Mackenzie  <acm@muc.de>
8469         c-parse-state.  Don't "append-lower-brace-pair" in certain
8470         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
8471         recognised as a comment.
8473         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
8474         as well as normal comment starter.
8475         (c-parse-state-get-strategy): Extra return possibility
8476         'back-and-forward.
8477         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
8478         return value list to indicate replacement of a brace-pair cons
8479         with its car.
8480         (c-parse-state-1): With 'back-and-forward, only call
8481         c-append-lower-brace-pair-to state-cache when cons-separated.
8483 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
8485         * term/ns-win.el (ns-suspend-error): New function.
8486         (ns-initialize-window-system): Add ns-suspend-error to
8487         suspend-hook (Bug#16612).
8489 2014-02-02  Daniel Colascione  <dancol@dancol.org>
8491         * progmodes/cc-defs.el (c-find-assignment-for-mode):
8492         Make loading cc-mode silent.
8494 2014-02-02  Daniel Colascione  <dancol@dancol.org>
8496         * comint.el (comint-prompt-read-only): Change doc to suggest
8497         remap keybinding.
8499 2014-02-02  Glenn Morris  <rgm@gnu.org>
8501         * register.el (register-read-with-preview, point-to-register)
8502         (window-configuration-to-register, frame-configuration-to-register)
8503         (jump-to-register, number-to-register, view-register, insert-register)
8504         (copy-to-register, append-to-register, prepend-to-register)
8505         (copy-rectangle-to-register): Doc fixes.
8507 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8509         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
8510         * emacs-lisp/find-func.el (find-function-C-source): Idem.
8511         * emacs-lisp/nadvice.el (advice--cd*r): New function.
8512         * help-fns.el (describe-function-1): Use it.
8514 2014-02-02  Glenn Morris  <rgm@gnu.org>
8516         * register.el (register-preview-default): New function,
8517         split from register-preview.
8518         (register-preview-function): Rename from register-preview-functions,
8519         make it not a hook.
8520         (register-preview): Use register-preview-function.
8521         (register-read-with-preview): Error on non-character event.  (Bug#16595)
8523 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
8525         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
8526         `:' before binary operators (bug#16609).  Don't check for `:'
8527         before `[' and `(', or their syntax status.  A percent literal
8528         can't end with either.
8529         (ruby-font-lock-keywords): For built-ins that require arguments,
8530         check that they're followed by something that looks like argument
8531         (bug#16610).
8533 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8535         * subr.el (butlast): Document what an omitted N means (bug#13437).
8536         (nbutlast): Ditto.
8538 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
8540         * net/shr.el (shr-generic): Make into a defsubst to make the stack
8541         depth shallower (bug#16587).
8542         (shr-tag-svg): Respect `shr-inhibit-images'.
8543         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
8545 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
8547         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
8548         (ruby-smie-grammar): Make "." right-associative.  Make its priority
8549         lower than the ternary and all binary operators.
8550         (ruby-smie-rules): Indent "(" relative to the first non-"."
8551         parent, or the first "." parent at indentation.
8552         Use `ruby-align-chained-calls' for indentation of "." tokens.
8553         (Bug#16593)
8555 2014-01-31  Juri Linkov  <juri@jurta.org>
8557         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
8558         from `make-hash-table'.
8560         * textmodes/ispell.el (ispell-init-process): Change message format
8561         to be consistent with other messages.
8563 2014-01-31  Glenn Morris  <rgm@gnu.org>
8565         * delsel.el (delete-selection-mode): Doc fix.
8567         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
8568         (trace-function-background): Doc fixes.
8570         * ido.el (ido-use-virtual-buffers): Doc fix.
8571         Reset :version, since the default value has not changed.
8573         * register.el (register-preview-delay, register-read-with-preview):
8574         Doc fixes.
8576         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
8577         do not mess with mail-buffer position (fixes 2009-11-03 change).
8578         * progmodes/cc-mode.el (c-submit-bug-report):
8579         Check auto-fill-mode is bound.  (Bug#16592)
8581 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
8583         * startup.el (fancy-splash-image-file): New function,
8584         split from fancy-splash-head.
8585         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
8586         so that we are both using the same image.  (Bug#16574)
8588 2014-01-30  Glenn Morris  <rgm@gnu.org>
8590         * simple.el (eval-expression): Doc fix.
8592         * hexl.el (hexl-mode-hook):
8593         * ielm.el (ielm-mode-hook):
8594         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
8595         (lisp-interaction-mode-hook):
8596         * progmodes/cfengine.el (cfengine3-documentation-function):
8597         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
8599 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8601         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
8602         is a symbol (bug#16584).
8604 2014-01-30  Glenn Morris  <rgm@gnu.org>
8606         * help.el (help-for-help-internal): Add "P" to text.
8608 2014-01-29  Glenn Morris  <rgm@gnu.org>
8610         * simple.el (just-one-space, cycle-spacing): Doc fixes.
8612 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
8614         * window.el (fit-frame-to-buffer): Fix calculations for margins and
8615         height constraints.
8617 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
8619         * progmodes/hideif.el: Extend to full CPP expression syntax.
8620         (hif-token-alist): Add missing tokens.
8621         (hif-token-regexp): Add support for float/octal/hex immediates.
8622         (hif-string-literal-regexp): New const.
8623         (hif-tokenize): Recognize strings and float/octal/hex immediates.
8624         (hif-exprlist): New function.
8625         (hif-parse-if-exp): Use it.
8626         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
8627         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
8628         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
8629         (hif-logxor, hif-comma): New functions.
8631 2014-01-28  Glenn Morris  <rgm@gnu.org>
8633         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
8635         * indent.el (tab-stop-list): Doc fix.  Add :version.
8637         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
8638         (cvs-append-to-ignore): Add compatibility alias.
8640 2014-01-27  Glenn Morris  <rgm@gnu.org>
8642         * dired.el (dired-hide-details-mode): Don't autoload it,
8643         since it cannot be used outside Dired buffers anyway.
8645         * emulation/cua-base.el (cua-mode): Doc fix.
8647         * dired.el (dired-hide-details-hide-symlink-targets)
8648         (dired-hide-details-hide-information-lines)
8649         (dired-hide-details-mode): Doc fixes.
8651         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
8652         * strokes.el (strokes-file): Doc fix.  Bump :version.
8653         (strokes-help): Doc fix.
8654         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
8655         * emulation/viper.el (viper): Doc fix for custom group.
8656         (top-level): Remove oh-so-no-longer-relevant text about vip.
8657         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
8659         * ido.el (ido-save-directory-list-file):
8660         * saveplace.el (save-place-file):
8661         * calendar/timeclock.el (timeclock-file):
8662         * net/quickurl.el (quickurl-url-file):
8663         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8664         * progmodes/idlwave.el (idlwave-config-directory):
8665         * textmodes/remember.el (remember-data-file):
8666         Bump :version.
8668 2014-01-26  Glenn Morris  <rgm@gnu.org>
8670         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
8671         Doc fix.  Make obsolete.
8672         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
8674         * sort.el (delete-duplicate-lines): Doc fix.
8676 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8678         * progmodes/ada-mode.el (ada):
8679         * woman.el (woman): Link to info manual and Commentary section.
8681         * progmodes/flymake.el (flymake):
8682         * nxml/nxml-mode.el (nxml):
8683         * net/eww.el (eww):
8684         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
8685         * htmlfontify.el (htmlfontify):
8686         * ses.el (ses):
8687         * epa.el (epa):
8688         * ido.el (ido): Link to info manual.
8690 2014-01-25  Leo Liu  <sdl.web@gmail.com>
8692         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
8694 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
8696         * net/shr.el (shr-tag-img): Prefer the title over the alt text
8697         (bug#16537).
8699 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
8701         * net/eww.el (eww-download-callback):
8702         Fix reference to eww-download-directory.
8704         * emacs-lisp/bytecomp.el (byte-compile-file):
8705         Remove unused local variable `file-name'.
8707 2014-01-24  Glenn Morris  <rgm@gnu.org>
8709         * woman.el (woman-default-faces, woman-monochrome-faces):
8710         Fix obsolescence specification.
8712         * subr.el (with-demoted-errors): Doc fix.
8714 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8716         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
8717         (cl--macroexp-fboundp): New function.
8718         (cl--make-type-test): Use it.
8720 2014-01-23  Glenn Morris  <rgm@gnu.org>
8722         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
8723         * simple.el (eval-expression): Doc fixes.
8725 2014-01-22  Glenn Morris  <rgm@gnu.org>
8727         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
8729 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8731         * emacs-lisp/package.el: Write files silently.
8732         (package-autoload-ensure-default-file, package--write-file-no-coding)
8733         (package-generate-description-file, package--download-one-archive)
8734         (package-install-from-archive): Tell `write-region' to stay quiet.
8735         (package-menu-mode, package-menu--print-info): Omit the Archive column
8736         if there's only one archive.
8737         (package-all-keywords, package--has-keyword-p): Remove dead code.
8739 2014-01-22  Glenn Morris  <rgm@gnu.org>
8741         * version.el (emacs-bzr-version-bzr): Fix typo.
8743         * version.el (emacs-repository-get-version):
8744         Check either .bzr or .git, but not both.
8745         Make the git case actually use the DIR argument, and return nil
8746         rather than the empty string.
8747         Avoid error if .git exists but the git executable is not found.
8749 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
8751         Fixes in window size functions around Bug#16430 and Bug#16470.
8752         * window.el (window-total-size, window-size): New argument ROUND.
8753         (window--min-delta-1, window-min-delta, window--max-delta-1):
8754         Be more conservative when calculating the numbers of lines or
8755         columns a window can shrink (Bug#16430).
8756         (fit-window-to-buffer): Simplify code.
8757         * term.el (term-window-width): Call window-body-width again.
8759 2014-01-22  Glenn Morris  <rgm@gnu.org>
8761         * image.el (image-format-suffixes): Doc fix.
8763         * international/quail.el (quail-define-package): Doc fix.
8765         * emacs-lisp/authors.el (authors-valid-file-names)
8766         (authors-renamed-files-alist): Additions.
8768         * vc/vc-git.el (vc-git-print-log): Remove --follow;
8769         reverts 2014-01-09 change.  (Bug#16422)
8771         * calc/calc-embed.el (thing-at-point-looking-at):
8772         * emacs-lisp/map-ynp.el (x-popup-dialog):
8773         * obsolete/lmenu.el (x-popup-dialog):
8774         * emacs-lisp/package.el (url-recreate-url):
8775         * mail/mailclient.el (clipboard-kill-ring-save):
8776         * subr.el (x-popup-dialog): Update declaration.
8777         * mail/rmail.el (rmail-mime-message-p):
8778         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
8780 2014-01-21  Daniel Colascione  <dancol@dancol.org>
8782         * progmodes/sh-script.el (sh--inside-noncommand-expression):
8783         Correctly detect when we're inside an arithmetic expansion form
8784         containing nested parenthesis.
8785         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
8786         to detect cases where we shouldn't expand "<<" to a heredoc
8787         skeleton.
8789 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8791         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
8792         (eldoc--message-command-p): New function.
8793         (eldoc-display-message-p): Use it.
8794         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
8795         message is not automatically erased for us.
8796         (eldoc-print-current-symbol-info): Erase previous message, if any.
8798 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
8800         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
8801         specify it's an interactive function.
8803         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
8804         Fix regex used for scanning for citation keys which failed for
8805         citations with optional arguments.
8807 2014-01-21  Leo Liu  <sdl.web@gmail.com>
8809         * simple.el (read--expression): Don't enable eldoc-mode.
8811 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8813         * simple.el (move-beginning-of-line): Make sure we don't move forward
8814         (bug#16497).
8816 2014-01-20  Juri Linkov  <juri@jurta.org>
8818         * saveplace.el (toggle-save-place, save-place-to-alist)
8819         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
8820         'dired-mode) before checking for dired-directory.  (Bug#16477)
8822 2014-01-20  Juri Linkov  <juri@jurta.org>
8824         * indent.el (indent-line-to): Use backward-to-indentation
8825         instead of back-to-indentation.  (Bug#16461)
8827 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
8829         Revert some of the CANNOT_DUMP fix (Bug#16494).
8830         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
8831         but fixing this can wait until after the next release.
8832         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
8834 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
8836         * eshell/esh-mode.el (eshell-password-prompt-regexp):
8837         Use `password-word-equivalents'.
8838         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
8839         to t.  (Bug#5664, Bug#13124)
8841 2014-01-19  Alan Mackenzie  <acm@muc.de>
8843         Bind open-paren-in-column-0-is-defun-start to nil at some entry
8844         points.
8845         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
8846         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
8847         * progmodes/cc-mode.el (c-before-change, c-after-change)
8848         (c-font-lock-fontify-region): Bind it here.
8850 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
8852         * term.el (term-window-width): Call window-text-width instead of
8853         window-width (Bug#16470).
8855 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
8857         * simple.el (password-word-equivalents): Remove duplicates.
8858         Sort, to make this easier next time.
8859         Downcase.  Omit ": " after "jelszó".
8861 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
8863         * term/common-win.el (saved-region-selection): Defvar it.
8864         (x-select-text): Set saved-region-selection (Bug#16382).
8866 2014-01-18  Glenn Morris  <rgm@gnu.org>
8868         * emacs-lisp/authors.el (authors-aliases)
8869         (authors-renamed-files-alist): Add some entries.
8871 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
8873         * net/tramp.el (tramp-password-prompt-regexp):
8874         Use `password-word-equivalents' if available.
8875         (tramp-action-password, tramp-process-one-action)
8876         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
8878 2014-01-17  Chong Yidong  <cyd@gnu.org>
8880         * simple.el (password-word-equivalents): New defcustom.
8881         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
8882         to 24.4.
8883         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
8884         to t.  (Bug#13124)
8886 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
8888         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
8889         (ruby-align-to-stmt-keywords): Change the default value.
8890         Use `ruby-alignable-keywords' to generate the possible customization
8891         choices.
8892         (ruby-smie-rules): Instead of using a hardcoded list of alignable
8893         keywords, check against the value of `ruby-alignable-keywords'
8894         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
8896 2014-01-17  Glenn Morris  <rgm@gnu.org>
8898         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
8900         Make M-x authors return zero *Authors Errors* from current logs.
8901         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
8902         (authors-ignored-files): Add some entries, remove others.
8903         (authors-ambiguous-files, authors-valid-file-names):
8904         Add some entries.
8905         (authors-renamed-files-alist): Add, remove, and adjust entries.
8906         (authors-renamed-files-regexps): Add some entries.
8907         Remove some very broad ones.  Make some entries `lax'.
8908         (authors-lax-changelogs): New constant.
8909         (authors-disambiguate-file-name): Treat top-level specially.
8910         (authors-lax-changelog-p): New function.
8911         (authors-canonical-file-name): Check file as written against
8912         authors-valid-file-names.  Do not special-case etc/.
8913         Handle `lax' logs and authors-renamed-files-regexps elements.
8915 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
8917         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
8918         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
8919         callers.
8921 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8923         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
8924         Assume we're already in the proper buffer.
8925         Inspired by Anders Lindgren <andlind@gmail.com>.
8926         (follow-post-command-hook): Call it from the right buffer.
8927         (follow-comint-scroll-to-bottom): Adjust call.
8928         (follow-all-followers): Use get-buffer-window-list.
8930 2014-01-15  Daniel Colascione  <dancol@dancol.org>
8932         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
8933         `buffer-file-name' in interactive-form so that we don't leave
8934         pathless file names in `file-name-history'.
8936 2014-01-15  Juri Linkov  <juri@jurta.org>
8938         * indent.el (indent-rigidly): Set deactivate-mark to nil
8939         in transient indentation mode.  (Bug#16438)
8941 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
8943         * emacs-lisp/package.el (package-desc-keywords): New function
8944         (Bug#16222).
8945         (describe-package-1, package-all-keywords)
8946         (package--has-keyword-p): Use it.
8948 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
8950         * simple.el (define-alternatives): When creating the
8951         COMMAND-alternatives variable, assign COMMAND as its definition
8952         name so that `describe-variable' can relocate it.
8954 2014-01-14  Matthew Leach  <matthew@mattleach.net>
8956         * font-lock.el (font-lock-keywords): Fix typo in docstring
8957         (bug#16307).
8959 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8961         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
8962         line instead of wrongly reset `add-coment' (bug#13577).
8964 2014-01-14  Daiki Ueno  <ueno@gnu.org>
8966         * epa-file.el (epa-file-write-region): Encode the region according
8967         to `buffer-file-format'.  Problem reported at:
8968         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
8970 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8972         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
8973         so it applies in the right buffer (bug#16410).
8975 2014-01-13  Daniel Colascione  <dancol@dancol.org>
8977         * textmodes/rst.el (rst-define-key): Provide deprecated
8978         keybindings through named functions instead of anonymous ones so
8979         that "??" doesn't appear in describe-mode output.
8981 2014-01-13  Bastien Guerry  <bzg@gnu.org>
8983         * simple.el (define-alternatives): Call the selected command
8984         interactively.  When setting `COMMAND--implementation' for the
8985         first time, tell the user how to chose another implementation.
8986         Enhance the docstring.
8988 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8990         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
8991         (log-edit--match-first-line): New function.
8992         (log-edit-font-lock-keywords): Use it.
8993         (log-edit-mode): Make jit-lock-defer-multiline work.
8995 2014-01-13  Bastien Guerry  <bzg@gnu.org>
8997         * rect.el (rectangle-mark-mode): When the region is not active,
8998         display a message saying that the mark as been set and that
8999         rectangle mode is in use.
9000         (rectangle--highlight-for-redisplay): Only put an overlay with a
9001         visible vertical bar when (display-graphic-p) is non-nil.
9002         This partially fixes Bug#16403.
9004 2014-01-13  Juri Linkov  <juri@jurta.org>
9006         * info.el (Info-find-file): Go to DIR before displaying the error
9007         about a nonexistent file if no previous Info file is visited.
9008         Use `user-error' instead of `error' for "Info file %s does not exist".
9009         (Info-find-node-2): In case of a nonexistent node in unwind forms
9010         go to the Top node if there is no previous node to revert to.
9011         (Bug#16405)
9013 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
9015         fit-frame/window-to-buffer code fixes including one for Bug#14096.
9016         * window.el (fit-frame-to-buffer): Fix doc-string.
9017         Respect window-min-height/-width.  Fit pixelwise when
9018         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
9019         when avoiding that frame goes partially off-screen.
9020         (fit-window-to-buffer): Respect window-min-height/-width
9021         (Bug#14096).
9023 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9025         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
9026         after an empty line.
9028 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9030         * net/shr.el (shr-render-region): Autoload.
9032 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
9034         * net/eww.el (eww-download-directory): Rename from
9035         `eww-download-path' (Bug#16419).
9037 2014-01-12  Leo Liu  <sdl.web@gmail.com>
9039         * dired-x.el (dired-mode-map): Fix last change.
9041         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
9043 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
9045         Spelling fixes.
9046         * emacs-lisp/generic.el (generic--normalize-comments):
9047         Rename from generic--normalise-comments.  All uses changed.
9048         * play/bubbles.el (bubbles--neighborhood-score)
9049         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
9050         (bubbles--neighborhood-available)
9051         (bubbles--update-neighborhood-score):
9052         Rename from names with 'neighbourhood'.  All uses changed.
9054 2014-01-12  Leo Liu  <sdl.web@gmail.com>
9056         Re-implement the feature of showing eldoc info after editing.
9057         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
9058         (eldoc-edit-message-commands): New function.
9059         (eldoc-print-after-edit): New variable.
9060         (eldoc-pre-command-refresh-echo-area): Emit message only by
9061         eldoc-message-commands.
9062         (eldoc-mode): Restrict eldoc-message-commands to editing commands
9063         if eldoc-print-after-edit is set.  (Bug#16346)
9064         * simple.el (read--expression): Enable eldoc-mode.
9065         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9067 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
9068             Eric S. Raymond  <esr@thyrsus.com>
9070         * version.el (emacs-repository-get-version): Enhance so the
9071         function works correctly in either a Bazaar or Git repo.
9073 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
9075         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
9076         Goes with removal of the joke manpages from /etc.
9078 2014-01-10  Kenichi Handa  <handa@gnu.org>
9080         * mail/rmail.el (rmail-get-coding-system):
9081         Check rmail-get-coding-function before "funcall"ing it.
9083 2014-01-10  Glenn Morris  <rgm@gnu.org>
9085         * emacs-lisp/authors.el (authors-fixed-entries):
9086         Update for files that no longer exist.
9088 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
9090         * version.el (emacs-bzr-get-version): Restore compatibilty with
9091         24.3 (Tested).
9093 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
9095         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
9096         and Podfile.
9098 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
9100         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
9102 2014-01-10  Chong Yidong  <cyd@gnu.org>
9104         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
9106 2014-01-10  Anders Lindgren  <andlind@gmail.com>
9108         * follow.el (follow-cache-command-list): Include right-char and
9109         left-char.
9111 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9113         Spelling fixes.
9114         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
9115         * woman.el (woman-mark-horizontal-position):
9116         Rename from woman-mark-horizonal-position.  Use changed.
9118 2014-01-10  Glenn Morris  <rgm@gnu.org>
9120         * info.el (info-initialize): If running uninstalled, ensure our
9121         own info files are always found first, even if INFOPATH is set.
9123         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
9125 2014-01-09  David Engster  <deng@randomsample.de>
9127         * emacs-lisp/eieio-custom.el:
9128         * emacs-lisp/eieio-opt.el: Set generated autoload file to
9129         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
9130         * emacs-lisp/eieio.el: Regenerate autoloads.
9132 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
9134         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
9135         following renames.  (Bug#8756)
9137 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9139         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
9140         (bug#16382).
9141         (activate-mark): Add `no-tmm' argument.
9142         (set-mark, push-mark-command): Use it instead of running
9143         activate-mark-hook by hand.
9145 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
9147         In preparation for the move to git, sanitize out some
9148         Bazaar-specific names.
9150         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
9152         * version.el (emacs-bzr-version): Name changed to
9153         emacs-repository-version.  Obsolete-variable alias made.
9154         * loadup.el: Follow through on this name change.
9155         * mail/emacsbug.el (report-emacs-bug): Factor out any
9156         assumption about the version control system in use.
9158 2014-01-08  David Engster  <deng@randomsample.de>
9160         * help-fns.el (help-fns-describe-function-functions):
9161         New variable to call functions for augmenting help buffers.
9162         (describe-function-1): Remove explicit calls to
9163         `help-fns--compiler-macro', `help-fns--parent-mode' and
9164         `help-fns--obsolete'.  Put them in above new variable instead, and
9165         call them through `run-hook-with-args'.
9166         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
9167         `eieio-describe-class'.  Not meant for interactive use anymore,
9168         but to augment existing help buffers.  Remove optional second
9169         argument.  Create proper button for file location.
9170         Rewrite function to use `insert' instead of `princ' and `prin1' where
9171         possible.
9172         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
9173         (eieio-method-def, eieio-class-def): Move further up.
9174         (describe-method, describe-generic, eieio-describe-method):
9175         Remove aliases.
9176         (eieio-help-constructor, eieio-help-generic): Rename from
9177         `eieio-describe-constructor' and `eieio-describe-generic', resp.
9178         Rewrite to use `insert' in the current buffer and use proper help
9179         buttons.
9180         (eieio-help-find-method-definition)
9181         (eieio-help-find-class-definition): Also accept symbols as
9182         arguments.
9183         (eieio-help-mode-augmentation-maybee): Remove.
9184         (eieio-describe-class-sb): Use `describe-function'.
9185         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
9186         Add `eieio-help-generic' and `eieio-help-constructor'.
9188 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
9190         Spelling fixes.
9191         * language/china-util.el (hz-ascii-designation):
9192         Rename from hz-ascii-designnation.
9193         (hz-ascii-designation): Rename from hz-ascii-designnation.
9194         All uses changed.
9196 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9198         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
9199         package-alist.
9201 2014-01-08  Bastien Guerry  <bzg@gnu.org>
9203         * emacs-lisp/package.el (package-delete):
9204         Correctly delete the package from package-alist.
9206 2014-01-08  Daiki Ueno  <ueno@gnu.org>
9208         * emacs-lisp/package.el (url-recreate-url): Declare.
9209         (url-http-target-url): Declare.
9210         (package-handle-response): Include requested URL in the error message.
9211         (package--check-signature): Don't re-signal errors from
9212         package--with-work-buffer.  Suggested by Stefan Monnier.
9214 2014-01-07  Bastien Guerry  <bzg@gnu.org>
9216         * minibuffer.el (completion--try-word-completion): When both a
9217         hyphen and a space are possible candidates for the character
9218         following a word, display both candidates.  (Bug#15980)
9220 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
9222         * window.el (balance-windows-2): While rounding don't give a
9223         window more than the remainder.  Bug#16351, bug#16383.
9225 2014-01-07  Glenn Morris  <rgm@gnu.org>
9227         * menu-bar.el (menu-bar-help-extra-packages): Remove.
9228         (menu-bar-help-menu): Use view-external-packages instead.
9230 2014-01-07  Bastien Guerry  <bzg@gnu.org>
9232         * emacs-lisp/package.el (package-delete): Also delete the package
9233         name from `package-alist', not its description only.
9235 2014-01-07  Glenn Morris  <rgm@gnu.org>
9237         * help.el (view-external-packages):
9238         * menu-bar.el (menu-bar-help-extra-packages):
9239         Visit efaq.info rather than etc/MORE.STUFF.
9241 2014-01-07  Juri Linkov  <juri@jurta.org>
9243         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
9244         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
9246         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
9247         that shadows RET.  (Bug#16342)
9249 2014-01-07  Chong Yidong  <cyd@gnu.org>
9251         * isearch.el (isearch-yank-char, isearch-yank-word)
9252         (isearch-yank-line): Doc fix.
9254 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9256         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
9257         * emacs-lisp/elint.el (elint-find-builtins):
9258         * emacs-lisp/eldoc.el (eldoc-symbol-function):
9259         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
9260         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
9261         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9262         * apropos.el (apropos-safe-documentation):
9263         * subr.el (symbol-file): Remove redundant fboundp.
9264         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
9266 2014-01-06  Bastien Guerry  <bzg@gnu.org>
9268         * hl-line.el (global-hl-line-overlay): Make a local variable.
9269         (global-hl-line-overlays): New variable to store all overlays.
9270         (global-hl-line-mode): Don't delete overlays from the current
9271         buffer when `global-hl-line-sticky-flag' is non-nil.
9272         (global-hl-line-highlight): Add new overlays to
9273         `global-hl-line-overlays'.
9274         (global-hl-line-unhighlight-all): New function to delete all
9275         overlays when turning off `global-hl-line-mode'.
9276         This fixes Bug#16183.
9278 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9280         * subr.el (set-transient-map): Fix nested case and docstring.
9282 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
9284         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
9285         `Texinfo' entry.
9287 2014-01-06  Daniel Colascione  <dancol@dancol.org>
9289         Fix defun navigation in vc log view.
9291         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
9292         like `beginning-of-defun'.
9293         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
9294         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
9295         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
9296         (log-view-extract-comment): Call `log-view-current-entry' directly
9297         instead of relying on broken `log-view-beginning-of-defun' behavior.
9299 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
9301         Spelling fixes.
9302         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
9303         * emacs-lisp/debug.el (cancel-debug-on-entry):
9304         * epg.el (epg-error-to-string):
9305         * files.el (recover-file):
9306         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
9307         * mail/emacsbug.el (report-emacs-bug-hook):
9308         * mail/sendmail.el (mail-recover):
9309         * ses.el (ses-yank-resize):
9310         * term/ns-win.el (ns-print-buffer):
9311         Spelling fixes in diagnostics, mostly for "canceled" with one L.
9312         * epg.el (epg-key-capability-alist): Rename from misspelled version.
9313         All uses changed.
9314         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
9316 2014-01-06  Leo Liu  <sdl.web@gmail.com>
9318         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
9319         to avoid shadowing global key.  (Bug#16354)
9321 2014-01-06  Daniel Colascione  <dancol@dancol.org>
9323         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
9324         rst-mode.
9326 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
9328         * window.el (balance-windows): Add mising t to fix Bug#16351.
9330 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9332         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
9333         (bug#16285).
9334         (shr-insert): If we have a word that's longer than `shr-width',
9335         break after it anyway.  Otherwise we'll do no breaking once we get
9336         such a long word.
9338 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9340         * net/eww.el (eww): Support single/double quote for search.
9341         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
9342         (eww-history-quit): Delete and use quit-window.
9343         (eww-history-kill): Delete, because it doesn't work well and
9344         not necessary.
9345         (eww-history-mode-map): Delete some keys and add easy-menu.
9347 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
9349         Fix misspelling of 'chinese' in rx (Bug#16237).
9350         * emacs-lisp/rx.el (rx-categories): Correct spelling of
9351         chinese-two-byte.
9353         Change subword regexps back to vars (Bug#16296).
9354         * progmodes/subword.el (subword-forward-regexp)
9355         (subword-backward-regexp): Change these back to variables.
9357 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9359         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
9360         syntax-begin-function (bug#16247).
9362 2014-01-03  Chong Yidong  <cyd@gnu.org>
9364         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
9365         (advice--docstring): Delete variable.
9366         (advice--make-1): Leave the docstring empty.
9367         (advice-add): Use function-documentation for advised docstring.
9369         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
9370         Ignore function-documentation property when getting documentation.
9371         (ad-activate-advised-definition): Use function-documentation
9372         generate the docstring.
9373         (ad-make-advised-definition): Don't call
9374         ad-make-advised-definition-docstring.
9375         (ad-make-advised-definition-docstring, ad-advised-definition-p):
9376         Delete functions.
9378         * progmodes/sql.el (sql-help): Use function-documentation instead
9379         of dynamic-docstring-function property.  No need to autoload now.
9380         (sql--help-docstring): New variable.
9381         (sql--make-help-docstring): Use it.
9383 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9385         * ielm.el (ielm-tab): Retarget.
9386         (ielm-map): Use ielm-tab for tab.
9387         (ielm-complete-filename): Use comint-filename-completion.
9388         (ielm-complete-symbol): Remove.
9389         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
9390         remove ielm-tab from completion-at-point-functions (bug#16224).
9392         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
9393         Beware signals raised by predicates (bug#16201).
9395 2014-01-02  Richard Stallman  <rms@gnu.org>
9397         * dired-aux.el (dired-do-print): Handle printer-name.
9399         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
9400         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
9401         (rmail-epa-decrypt): Turn off mime processing.
9403         * mail/rmail.el (rmail-make-in-reply-to-field):
9404         Add parens in message-id.
9406         * mail/rmail.el (rmail-get-coding-function): Variable.
9407         (rmail-get-coding-system): Use it.
9409 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
9411         * international/mule-conf.el: Unify the charset indian-is13194.
9412         (indian-is13194): Specify unify-map.
9414 2013-12-31  Leo Liu  <sdl.web@gmail.com>
9416         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
9418 2013-12-30  Daniel Colascione  <dancol@dancol.org>
9420         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
9421         of printing a useless when we resume from sleep.
9423         * progmodes/sh-script.el
9424         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
9425         in indentation code.  (Bug#16233)
9427 2013-12-28  João Távora  <joaotavora@gmail.com>
9429         * elec-pair.el (electric-pair-post-self-insert-function):
9430         Don't open extra newlines at beginning of buffer.  (Bug#16272)
9432 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
9434         * frame.el (window-system-for-display): Don't allow to create a
9435         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
9437 2013-12-28  Glenn Morris  <rgm@gnu.org>
9439         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
9440         Update callers.
9442         * apropos.el (apropos-match-face):
9443         * calculator.el (calculator-displayer):
9444         * dabbrev.el (dabbrev-search-these-buffers-only):
9445         * face-remap.el (buffer-face-mode-face):
9446         * simple.el (yank-handled-properties):
9447         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
9448         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
9449         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
9450         (hashcash-double-spend-database):
9451         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
9452         (ruby-deep-indent-paren-style):
9453         * textmodes/flyspell.el (flyspell-auto-correct-binding):
9454         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
9455         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
9456         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
9457         Specify custom types.
9459         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
9460         * bookmark.el (bookmark-bmenu-use-header-line):
9461         * doc-view.el (doc-view-scale-internally):
9462         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
9463         * register.el (register-preview-delay):
9464         * net/shr.el (shr-bullet):
9465         * progmodes/cfengine.el (cfengine-cf-promises)
9466         (cfengine-parameters-indent):
9467         * progmodes/octave.el (inferior-octave-error-regexp-alist):
9468         * textmodes/reftex-vars.el (reftex-label-regexps):
9469         * vc/log-edit.el (log-edit-setup-add-author): Add version.
9471         * net/tls.el (tls-certtool-program): Fix default value.
9473         * desktop.el (desktop-restore-in-current-display):
9474         * newcomment.el (comment-empty-lines):
9475         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
9476         (idlwave-pad-keyword):
9477         * progmodes/tcl.el (tcl-tab-always-indent):
9478         * textmodes/reftex-vars.el (reftex-index-default-tag):
9479         * elec-pair.el (electric-pair-skip-whitespace):
9480         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
9482         * emacs-lisp/authors.el (authors-ignored-files)
9483         (authors-valid-file-names, authors-renamed-files-alist): Additions.
9485 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
9487         * shell.el (shell-dynamic-complete-command): Doc fix.
9488         (shell--command-completion-data): Shell completion now matches
9489         executable filenames from the current buffer's directory, on
9490         systems in which this behavior is the default (windows-nt, ms-dos).
9492 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
9494         * net/shr.el (shr-insert): Don't infloop if the width is zero.
9496 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9498         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
9499         (bug#16251).
9501         * electric.el: Move all electric-pair-* to elec-pair.el.
9502         * elec-pair.el: New file, split from electric.el.
9504 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
9506         * net/shr.el (shr-find-fill-point): Don't try to fill if the
9507         indentation level is larger than the width, because that will
9508         infloop.
9509         (shr-insert): Fill repeatedly long texts, so that Japanese is
9510         formatted correctly (bug#16263).
9511         (shr-find-fill-point): Off by one error in comparison with the
9512         indentation.
9514 2013-12-26  João Távora  <joaotavora@gmail.com>
9516         * electric.el (electric-pair-mode): More flexible engine for skip-
9517         and inhibit predicates, new options for pairing-related functionality.
9518         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
9519         if that keeps or improves their balance in buffers.
9520         (electric-pair-delete-adjacent-pairs): Delete the pair when
9521         backspacing over adjacent matched delimiters.
9522         (electric-pair-open-extra-newline): Open extra newline when
9523         inserting newlines between adjacent matched delimiters.
9524         (electric--sort-post-self-insertion-hook):
9525         Sort post-self-insert-hook according to priority values when
9526         minor-modes are activated.
9527         * simple.el (newline-and-indent): Call newline with interactive
9528         set to t.
9529         (blink-paren-post-self-insert-function): Set priority to 100.
9530         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9531         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
9532         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
9533         electric-pair-open-newline-between-pairs to nil.
9535 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9537         * progmodes/python.el: Use lexical-binding.
9538         (python-nav-beginning-of-defun): Stop searching ASAP.
9540 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
9542         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
9543         Fix interactive spec.  Doc fix.  (Bug#15754)
9545 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
9547         * emacs-lisp/byte-run.el (eval-when-compile):
9548         * progmodes/cc-defs.el (cc-eval-when-compile):
9549         Fix edebug spec (bug#16184).
9551 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
9553         * net/shr.el (shr-visit-file): Remove debugging function.
9554         (shr-insert): Don't infloop if we can't find a good place to break
9555         the line (bug#16256).
9557 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9559         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
9560         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
9561         python-nav-lisp-forward-sexp-safe.
9562         (python-nav--forward-sexp): New argument SAFE allows switching
9563         forward sexp movement behavior for parens.
9564         (python-nav-forward-sexp): Throw errors on unterminated parens
9565         (Bug#16191).
9566         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
9567         (python-nav-backward-sexp-safe): New functions.
9568         (python-shell-buffer-substring):
9569         Use `python-nav-forward-sexp-safe'.
9571 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
9573         * net/shr.el (shr-find-fill-point): Don't break lines before a
9574         quotation mark.
9575         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
9576         (shr-find-fill-point): Remove the special checks for the quotation
9577         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
9579 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9581         * net/eww.el (eww-form-textarea): Use a different face for
9582         textareas than text input since they have different keymaps
9583         (bug#16142).
9585 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9587         * progmodes/python.el (python-nav-beginning-of-statement):
9588         Speed up (Bug#15295).
9590 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
9592         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
9593         the window configuration.
9595 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
9597         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
9598         we run on MS-Windows or MS-DOS.
9600 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
9602         * window.el (balance-windows-area): Call window-size instead of
9603         window-height and window-width.  Bug#16241.
9605 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
9607         * net/eww.el (eww-bookmark-quit): Remove.
9608         (eww-bookmark-browse): Restore the window configuration when you
9609         choose a bookmark (bug#16144).
9611 2013-12-24  Daniel Colascione  <dancol@dancol.org>
9613         * icomplete.el: Remove redundant :group arguments to `defcustom'
9614         throughout.
9615         (icomplete-show-matches-on-no-input): New customizable variable.
9616         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
9617         we have something to show.
9618         (icomplete-exhibit): Compute completions even if we have no user input.
9620 2013-12-23  Daniel Colascione  <dancol@dancol.org>
9622         * icomplete.el: Move `provide' to end of file.
9624 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
9626         * net/gnutls.el (gnutls-verify-error): Add version tag.
9628 2013-12-23  Chong Yidong  <cyd@gnu.org>
9630         * subr.el (set-transient-map): Rename from
9631         set-temporary-overlay-map.  Doc fix.
9633         * face-remap.el (text-scale-adjust):
9634         * indent.el (indent-rigidly):
9635         * kmacro.el (kmacro-call-macro):
9636         * minibuffer.el (minibuffer-force-complete):
9637         * repeat.el (repeat):
9638         * simple.el (universal-argument--mode):
9639         * calendar/todo-mode.el (todo-insert-item--next-param):
9640         * progmodes/f90.el (f90-abbrev-start): Callers changed.
9642         * indent.el (indent-rigidly): Use substitute-command-keys.
9644 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9646         * net/eww.el (eww-tag-select): Add text-property to jump to next
9647         select field.
9648         (eww): Add non-supported ftp error.
9650 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
9652         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
9653         comments.  Handle electric indent after typing `?' and `!'.
9655 2013-12-22  Chong Yidong  <cyd@gnu.org>
9657         * faces.el (face-spec-recalc): If the theme specs are not
9658         applicable to a frame, fall back on the defface spec.
9659         This prevents themes from obliterating faces on low-color terminals.
9661 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
9663         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
9664         after `{'.  We need it after block openers, and it doesn't seem
9665         to hurt after hash openers.
9667 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
9669         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
9670         extracted from `ruby-smie-rules'.
9671         (ruby--electric-indent-chars): New variable.
9672         (ruby--electric-indent-p): New function.
9673         (ruby-mode): Use `electric-indent-functions' instead of
9674         `electric-indent-chars'.
9676 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
9678         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
9679         docstring.
9680         (ruby-smie-rules): Indent plus one level after `=>'.
9682 2013-12-21  Richard Stallman  <rms@gnu.org>
9684         * simple.el (newline): Doc fix.
9686 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9688         * net/eww.el (eww-list-histories, eww-list-histories)
9689         (eww-history-browse, eww-history-quit, eww-history-kill)
9690         (eww-history-mode-map, eww-history-mode): New command and
9691         functions to list browser histories.
9692         (eww-form-text): Support text form with disabled
9693         and readonly attributes.
9694         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
9696 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9698         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
9699         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
9700         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
9701         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
9702         Use `user-error'.
9703         (eww-bookmark-mode-map): Add menu.
9704         (eww-render, eww-mode): Use `setq-local'.
9705         (eww-tool-bar-map): New variable.
9706         (eww-mode): Set `tool-bar-map'.
9707         (eww-view-source): Check for `html-mode' with `fboundp'.
9709 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9711         * net/shr.el (shr--extract-best-source): Don't bug out on audio
9712         elements with text inside.  Also remove debugging.
9714 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
9716         * cus-start.el (all): Add ns-use-srgb-colorspace.
9718 2013-12-21  Chong Yidong  <cyd@gnu.org>
9720         * custom.el (custom-theme-recalc-face): Do nothing if the face is
9721         undefined.  Thus, theme settings for undefined faces do not take
9722         effect until the faces are defined with defface, the same as with
9723         theme variables.
9725         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
9726         (face-spec-reset-face): Don't assign extra properties in temacs.
9727         (face-spec-recalc): Apply X resources too.
9729 2013-12-21  Chong Yidong  <cyd@gnu.org>
9731         * faces.el (face-spec-set):
9732         * cus-face.el (custom-theme-set-faces, custom-set-faces):
9733         * custom.el (defface): Doc fixes (Bug#16203).
9735         * indent.el (indent-rigidly-map): Add docstring, and move commands
9736         into named functions.
9737         (indent-rigidly-left, indent-rigidly-right)
9738         (indent-rigidly-left-to-tab-stop)
9739         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
9740         indentation direction based on bidi direction, and accumulate
9741         sequential commands in a single undo boundary.
9742         (indent-rigidly--pop-undo): New utility function.
9744 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
9746         * faces.el (read-face-name): Require crm.el when using crm-separator.
9748 2013-12-20  Daniel Colascione  <dancol@dancol.org>
9750         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
9751         so that we don't reflow comments into the shebang line.
9753 2013-12-20  Juri Linkov  <juri@jurta.org>
9755         * saveplace.el (save-place-to-alist): Add `dired-filename' as
9756         a position when `dired-directory' is non-nil.  Check integer
9757         positions with `integerp'.
9758         (toggle-save-place, save-places-to-alist): Add check for
9759         `dired-directory'.
9760         (save-place-find-file-hook): Check integer positions with
9761         `integerp'.
9762         (save-place-dired-hook): Use `dired-goto-file' when
9763         `dired-filename' is found in the assoc list.  Check integer
9764         positions with `integerp'.
9765         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
9767         * dired.el (dired-initial-position-hook): Rename back from
9768         `dired-initial-point-hook'.
9769         (dired-initial-position): Rename `dired-initial-point-hook' to
9770         `dired-initial-position-hook'.
9771         (dired-file-name-at-point): Doc fix.  (Bug#15329)
9773 2013-12-20  Juri Linkov  <juri@jurta.org>
9775         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
9776         (read-regexp-suggestions): New function.
9777         (read-regexp): Use `read-regexp-defaults-function' to get default values.
9778         Use `read-regexp-suggestions'.  Add non-empty default to history
9779         for empty input.
9780         (occur-read-regexp-defaults-function): Remove function.
9781         (occur-read-primary-args): Use `regexp-history-last' instead of
9782         `occur-read-regexp-defaults-function'.
9784         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
9785         (hi-lock-line-face-buffer, hi-lock-face-buffer)
9786         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
9787         `hi-lock-read-regexp-defaults-function'.  Doc fix.
9788         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
9789         with `find-tag-default-as-symbol-regexp'.  Doc fix.
9790         (hi-lock-read-regexp-defaults): Remove function.
9791         (hi-lock-regexp-okay): Add check for null.
9793         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
9794         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
9796         * subr.el (find-tag-default-as-symbol-regexp): New function.
9797         (find-tag-default-as-regexp): Move symbol regexp formatting to
9798         `find-tag-default-as-symbol-regexp'.
9800 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
9802         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
9803         (Bug#14179)
9805 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
9807         * calendar/todo-mode.el: New implementation of item insertion
9808         commands and key bindings.
9809         (todo-key-prompt): New face.
9810         (todo-insert-item): New command.
9811         (todo-insert-item--parameters): New defconst, replacing defvar
9812         todo-insertion-commands-args-genlist.
9813         (todo-insert-item--param-key-alist): New defconst, replacing
9814         defvar todo-insertion-commands-arg-key-list.
9815         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
9816         (todo-insert-item--argsleft, todo-insert-item--apply-args)
9817         (todo-insert-item--next-param): New functions.
9818         (todo-insert-item--args, todo-insert-item--argleft)
9819         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
9820         New variables.
9821         (todo-key-bindings-t): Change binding of "i" from
9822         todo-insertion-map to todo-insert-item.
9823         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
9824         (todo-insertion-command-name, todo-insertion-commands-names)
9825         (todo-define-insertion-command, todo-insertion-commands)
9826         (todo-insertion-key-bindings, todo-insertion-map): Remove.
9828 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
9830         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
9831         (todo-toggle-item-highlighting): Use eval-and-compile instead of
9832         eval-when-compile.
9833         (todo-move-category): Allow choosing a non-existing todo file to
9834         move the category to, and create that file.
9835         (todo-default-priority): New user option.
9836         (todo-set-item-priority): Use it.
9837         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
9838         (desktop-restore-file-buffer): Declare.
9839         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
9840         (todo-modes-set-2): Locally set desktop-save-buffer to
9841         todo-desktop-save-buffer.
9842         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
9843         (auto-mode-alist): Add autoload cookie.
9845 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
9847         * emacs-lisp/subr-x.el: Renamed from helpers.el.
9848         helpers.el was a poor choice of name.
9849         (string-remove-prefix): New function.
9850         (string-remove-suffix): New function.
9852 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
9854         Fix assignment for new window total sizes.
9855         * window.el (window--pixel-to-size): Remove function.
9856         (window--pixel-to-total-1, window--pixel-to-total):
9857         Fix calculation of new total sizes.
9859 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
9861         * comint.el (comint-output-filter): Fix rear-nonsticky property
9862         placement (Bug#16010).
9864 2013-12-20  Chong Yidong  <cyd@gnu.org>
9866         * faces.el (read-color): Minor fix for completion function.
9868 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
9870         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
9871         New option.  (Bug#16182)
9872         (ruby-smie--indent-to-stmt-p): Use it.
9873         (ruby-smie-rules): Revert the logic in the handling of `when'.
9874         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
9875         (ruby-deep-arglist, ruby-deep-indent-paren)
9876         (ruby-deep-indent-paren-style): Update docstrings to note that the
9877         vars don't have any effect with SMIE.
9879 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
9881         * calc/calc.el (calc-enter, calc-pop): Use the variable
9882         `calc-context-sensitive-enter'.
9884 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9886         * net/shr.el (shr-insert): Protect against infloops in degenerate
9887         tables.
9889 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9891         * progmodes/octave.el (octave): Add link to manual and octave
9892         homepage.
9893         (octave-mode-menu): Link to octave-mode manual.
9895 2013-12-20  Leo Liu  <sdl.web@gmail.com>
9897         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
9898         insertion using skeleton-end-newline.  (Bug#16138)
9900 2013-12-20  Juri Linkov  <juri@jurta.org>
9902         * replace.el (occur-engine): Use `add-face-text-property'
9903         to add the face property to matches and titles.  (Bug#14645)
9905         * hi-lock.el (hi-green): Use lighter color "light green" closer to
9906         the palette of other hi-lock colors.
9907         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
9909 2013-12-19  Juri Linkov  <juri@jurta.org>
9911         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
9912         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
9913         (minibuffer-history-symbol): Move variable declaration closer to
9914         its usage.
9916         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
9917         (Bug#14785)
9919 2013-12-19  Juri Linkov  <juri@jurta.org>
9921         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
9922         New function.
9923         (log-edit-hook): Add it to :options.  (Bug#16170)
9925 2013-12-19  Juri Linkov  <juri@jurta.org>
9927         * simple.el (eval-expression-print-format): Don't check for
9928         command names and the last command.  Always display additional
9929         formats of the integer result in the echo area, and insert them
9930         to the current buffer only with a zero prefix arg.
9931         Display character when char-displayable-p is non-nil.
9932         (eval-expression): With a zero prefix arg, set `print-length' and
9933         `print-level' to nil, and insert the integer values from
9934         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
9936         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
9937         `eval-last-sexp-arg-internal'.  Doc fix.
9938         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
9939         `eval-last-sexp-print-value'.  Doc fix.
9940         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
9941         Set `print-length' and `print-level' to nil when arg is zero.
9942         (eval-last-sexp): Doc fix.
9943         (eval-defun-2): Print the integer values from
9944         `eval-expression-print-format' at the end.
9946         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
9947         values from `eval-expression-print-format' at the end.
9949         * ielm.el (ielm-eval-input): Print the integer
9950         values from `eval-expression-print-format' at the end.
9952 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
9954         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
9955         2013-12-11T19:01:44Z!tzz@lifelogs.com.
9957 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9959         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
9960         (hl-line-highlight, global-hl-line-highlight): Use it.
9961         (hl-line-overlay): Use defvar-local.
9963 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
9965         * term/ns-win.el: Require dnd.
9966         (global-map): Remove drag items.
9967         (ns-insert-text, ns-set-foreground-at-mouse)
9968         (ns-set-background-at-mouse):
9969         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
9970         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
9971         New functions.
9973 2013-12-19  Glenn Morris  <rgm@gnu.org>
9975         * emacs-lisp/ert.el (ert-select-tests):
9976         Fix string/symbol mixup.  (Bug#16121)
9978 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
9980         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
9981         keywords to their parent.
9983 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
9985         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
9986         first arg to be a string (fixed dead code), or an operator symbol.
9987         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
9988         operator symbols.
9989         (ruby-smie-rules): Remove parent token check in the `.' clause, it
9990         did nothing.  Don't respond to `(:after ".")', it will be called
9991         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
9992         change anything.  Only return indentation for binary operators
9993         when they are hanging.  De-dent opening paren when its parent is
9994         `.', otherwise it looks bad when the dot is not at bol or eol
9995         (bug#16182).
9997 2013-12-19  Juri Linkov  <juri@jurta.org>
9999         * replace.el (query-replace-read-args): Split a non-negative arg
10000         and a negative arg into separate elements.
10001         (query-replace, query-replace-regexp, replace-string)
10002         (replace-regexp): Add arg `backward'.  Doc fix.
10003         (replace-match-maybe-edit): When new arg `backward' is non-nil,
10004         move point to the beginning of the match.
10005         (replace-search, replace-highlight): Use new arg `backward'
10006         to set the value of `isearch-forward'.
10007         (perform-replace): Add arg `backward' and use it to perform
10008         replacement backward.  (Bug#14979)
10010         * isearch.el (isearch-query-replace): Use a negative prefix arg
10011         to call `perform-replace' with a non-nil arg `backward'.
10013 2013-12-18  Juri Linkov  <juri@jurta.org>
10015         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
10016         to the default list.  Move `log-edit-show-files' to the end.
10017         Add more available functions to options.
10018         (log-edit): Move default specific settings to
10019         `log-edit-insert-message-template'.  Don't move point.
10020         (log-edit-insert-message-template): New function.
10021         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
10022         (Bug#16170)
10024 2013-12-18  Juri Linkov  <juri@jurta.org>
10026         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
10027         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
10029 2013-12-18  Leo Liu  <sdl.web@gmail.com>
10031         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
10032         (Bug#16186)
10034 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
10036         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
10037         formats for displaying file sizes when the -s switch is given.
10038         Instead, compute a separate format for displaying the size in
10039         blocks, which is displayed in addition to the "regular" size.
10040         When -h is given in addition to -s, produce size in blocks in
10041         human-readable form as well.  (Bug#16179)
10043 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
10045         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10046         Reference tables with ~\ref{...} instead of only \ref{...}.
10048 2013-12-18  Chong Yidong  <cyd@gnu.org>
10050         * cus-edit.el (custom-magic-alist): Fix "themed" description
10051         (Bug#14348).
10053         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
10054         is non-nil, do not create a new entry in the symbol's theme-value
10055         or theme-face property; update theme-settings only (Bug#14664).
10056         (custom-available-themes): Doc fix.
10058         * cus-theme.el (custom-new-theme-mode-map): Add bindings
10059         (Bug#15674).
10061         * replace.el (occur-engine): Avoid infloop (Bug#7593).
10063 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
10065         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
10066         (Bug#13914).
10068 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
10070         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
10072 2013-12-18  Glenn Morris  <rgm@gnu.org>
10074         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
10075         * cus-start.el (load-prefer-newer): New option.
10077 2013-12-18  Le Wang  <l26wang@gmail.com>
10079         * comint.el (comint-previous-matching-input-from-input):
10080         Retain point (Bug#13404).
10082 2013-12-18  Chong Yidong  <cyd@gnu.org>
10084         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
10086 2013-12-18  Glenn Morris  <rgm@gnu.org>
10088         * mail/emacsbug.el (report-emacs-bug):
10089         Only mention enable-multibyte-characters if non-standard.
10091 2013-12-17  Juri Linkov  <juri@jurta.org>
10093         * arc-mode.el (archive-extract-by-file): Check if directory exists
10094         before deletion to not show irrelevant errors if it doesn't exist.
10096 2013-12-17  Juri Linkov  <juri@jurta.org>
10098         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
10099         (Bug#14751)
10101         * net/eww.el (browse-web): Add alias to `eww'.
10102         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
10103         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
10105         * net/browse-url.el (browse-url-browser-function): Move `eww'
10106         closer to similar functions.
10108         * startup.el (fancy-startup-screen, fancy-about-screen):
10109         Set browse-url-browser-function to eww-browse-url locally.
10110         (Bug#14751)
10112 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10114         * window.el (window--pixel-to-total): Remove unused `mini' var.
10115         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
10116         (split-window): Remove unused `new' var.
10117         (window--display-buffer): Remove unused `frame' and `delta' vars.
10118         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
10119         and display-width'.
10121 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
10123         * dired.el (dired-mark-pop-up):
10124         * register.el (register-preview): Don't bind
10125         split-height-threshold here since it's now done in
10126         display-buffer-below-selected.
10128 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
10130         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
10131         xterm-rgb-convert-to-16bit.
10132         (rxvt-register-default-colors): Standardize with
10133         xterm-register-default-colors (Bug#14078).
10135 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
10137         * simple.el (kill-region): Pass mark first, then point, so that
10138         kill-append works right (Bug#12819).
10139         (copy-region-as-kill, kill-ring-save): Likewise.
10141 2013-12-17  Leo Liu  <sdl.web@gmail.com>
10143         * net/rcirc.el (rcirc-add-face):
10144         * eshell/em-prompt.el (eshell-emit-prompt):
10145         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
10146         (Bug#16167)
10148 2013-12-17  Chong Yidong  <cyd@gnu.org>
10150         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
10151         Suggested by Xue Fuqiao.
10153 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
10155         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
10157 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10159         * net/shr.el (shr-insert-document): Remove unused var
10160         `shr-preliminary-table-render'.
10161         (shr-rescale-image): Remove unused arg `force'.
10162         (shr-put-image): Update calls accordingly.
10163         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
10165 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
10167         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
10168         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
10169         :close-all, to see which indentation method to use (Bug#16116).
10170         (smie-rules-function): Document the method :close-all.
10172 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10174         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
10176         * net/eww.el (eww-display-html): If we can't find the anchor we're
10177         looking for, then go to point-min.
10179 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
10181         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
10182         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
10183         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
10184         Expand dir too, in case it's relative.
10186 2013-12-16  Juri Linkov  <juri@jurta.org>
10188         * desktop.el (desktop-auto-save-timeout): Change default to
10189         `auto-save-timeout'.  Doc fix.
10190         (desktop-save): Skip the timestamp in desktop-saved-frameset
10191         when checking for auto-save changes.
10192         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
10193         `desktop-auto-save' is called repeatedly by the idle timer.
10194         (desktop-auto-save-set-timer): Replace `run-with-timer' with
10195         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
10196         (Bug#15331)
10198 2013-12-16  Juri Linkov  <juri@jurta.org>
10200         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
10201         (Bug#16035)
10202         (isearch-pre-command-hook): Check `this-command' for symbolp.
10204 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10206         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
10208 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
10210         * progmodes/cfengine.el (cfengine3--current-word): Remove.
10211         (cfengine3--current-function): Bring in the current-function
10212         functionality from `cfengine3--current-word'.
10213         (cfengine3-completion-function): Bring in the
10214         bounds-of-current-word functionality from
10215         `cfengine3--current-word'.
10217 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
10219         * window.el (display-buffer-below-selected):
10220         Bind split-height-threshold to 0 as suggested by Juri Linkov.
10222 2013-12-16  Leo Liu  <sdl.web@gmail.com>
10224         * progmodes/compile.el (compile-goto-error): Do not push-mark.
10225         Remove NOMSG arg and all uses changed.
10227 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10229         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
10230         (cua--deactivate-rectangle): Don't deactivate the mark.
10231         (cua-set-rectangle-mark): Don't set mark-active since
10232         cua--activate-rectangle already does it for us.
10233         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
10234         non-rectangular region.
10236         * emulation/cua-base.el (cua-repeat-replace-region):
10237         Use with-current-buffer.
10239         * net/gnutls.el: Use cl-lib.
10240         (gnutls-negotiate): `mapcan' -> cl-mapcan.
10242 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
10244         * emacs-lisp/package.el (package-built-in-p): Support both
10245         built-in and the package.el converted package descriptions.
10246         (package-show-package-list): Allow keywords.
10247         (package-keyword-button-action): Use it instead of
10248         `finder-list-matches'.
10249         (package-menu-filter-interactive): Interactive filtering (by
10250         keyword) function.
10251         (package-menu--generate): Support keywords and change keymappings
10252         and headers when they are given.
10253         (package--has-keyword-p): Helper function.
10254         (package-menu--refresh): Use it.
10255         (package--mapc): Helper function.
10256         (package-all-keywords): Use it.
10257         (package-menu-mode-map): Set up menu items and keybindings to
10258         provide a filtering UI.
10260 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
10262         * net/gnutls.el (gnutls-verify-error): New defcustom to control
10263         the behavior when a certificate fails validation.  Defaults to
10264         old behavior: never abort, just warn.
10265         (gnutls-negotiate): Use it.
10267 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
10269         * window.el (display-buffer-below-selected): Never split window
10270         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
10272 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
10274         * emacs-lisp/package.el (package--prepare-dependencies): New function.
10275         (package-buffer-info): Use it (bug#15108).
10277 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10279         * icomplete.el (icomplete-completions): Make sure the prefix is already
10280         displayed elsewhere before hiding it (bug#16219).
10282 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
10284         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
10285         open-paren tokens when preceded by a open-paren, too.
10286         (ruby-smie-rules): Handle virtual indentation after open-paren
10287         tokens specially.  If there is code between it and eol, return the
10288         column where is starts (Bug#16118).
10290 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
10292         * progmodes/cfengine.el: Fix `add-hook' doc.
10293         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
10294         (cfengine3--current-word): Fix parameters.
10295         (cfengine3-make-syntax-cache): Simplify further.
10296         (cfengine3-completion-function, cfengine3--current-function):
10297         Use `assq' for symbols.
10298         (cfengine3--current-function): Fix `cfengine3--current-word' call.
10300 2013-12-13  Glenn Morris  <rgm@gnu.org>
10302         * loadup.el (load-path): Warn if site-load or site-init changes it.
10303         No more need to reset it when bootstrapping.
10305 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
10307         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
10308         locations for cf-promises.
10309         (cfengine-mode-syntax-functions-regex): New caching variable.
10310         (cfengine3-fallback-syntax): Fallback syntax for cases where
10311         cf-promises doesn't run.
10312         (cfengine3--current-word): Reimplement using
10313         `cfengine-mode-syntax-functions-regex'.
10314         (cfengine3-completion-function, cfengine3--current-function):
10315         Use `cfengine3-make-syntax-cache' directly.
10316         (cfengine3-clear-syntax-cache): New function.
10317         (cfengine3-make-syntax-cache): Simplify and create
10318         `cfengine-mode-syntax-functions-regex' on demand.
10319         (cfengine3-format-function-docstring): Don't call
10320         `cfengine3-make-syntax-cache' explicitly.
10322 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
10324         Fix windmove-find-other-window broken after pixelwise resizing
10325         (Bug#16017).
10326         * windmove.el (windmove-other-window-loc): Revert change from
10327         2013-12-04.
10328         (windmove-find-other-window): Call window-in-direction.
10329         * window.el (window-in-direction): New arguments SIGN, WRAP and
10330         MINI to emulate original windmove-find-other-window behavior.
10332 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
10334         * simple.el (blink-matching--overlay): New variable.
10335         (blink-matching-open): Instead of moving point, highlight the
10336         matching paren with an overlay
10337         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
10339         * faces.el (paren-showing-faces, show-paren-match)
10340         (show-paren-mismatch): Move from paren.el.
10342 2013-12-13  Leo Liu  <sdl.web@gmail.com>
10344         * indent.el (indent-region): Disable progress reporter in
10345         minibuffer.  (Bug#16108)
10347         * bindings.el (visual-order-cursor-movement): Fix version.
10349 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10351         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
10352         Also match after beginning of line.
10353         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
10354         files.  Thanks to Russell Sim.  (Bug#15378)
10356 2013-12-13  Juri Linkov  <juri@jurta.org>
10358         * simple.el <Keypad support>: Remove key bindings duplicated
10359         with bindings.el.  (Bug#14397)
10361 2013-12-13  Juri Linkov  <juri@jurta.org>
10363         * comint.el (comint-mode-map): Replace `delete-char' with
10364         `delete-forward-char'.  (Bug#16109)
10366 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10368         * progmodes/python.el (python-indent-calculate-indentation):
10369         Fix de-denters cornercase.  (Bug#15731)
10371 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10373         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
10374         (advice--make): Pay attention to `depth'.
10375         (advice--make-1): Don't autoload commands eagerly.
10376         * emacs-lisp/elp.el (elp-instrument-function):
10377         * emacs-lisp/trace.el (trace-function-internal):
10378         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
10380         * iswitchb.el (iswitchb-mode): Don't belittle ido.
10382 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
10384         * term/w32-win.el (w32-handle-dropped-file):
10385         * startup.el (normal-top-level):
10386         * net/browse-url.el (browse-url-file-url):
10387         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
10388         decode file names using 'utf-8' rather than
10389         file-name-coding-system.
10391 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10393         * progmodes/python.el (python-indent-context)
10394         (python-indent-calculate-indentation): Fix auto-identation
10395         behavior for comment blocks.  (Bug#15916)
10397 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10399         * progmodes/python.el (python-indent-calculate-indentation):
10400         When determining indentation, don't treat "return", "pass", etc., as
10401         operators when they are just string constituents.  (Bug#15812)
10403 2013-12-12  Juri Linkov  <juri@jurta.org>
10405         * uniquify.el (uniquify-buffer-name-style): Change default to
10406         `post-forward-angle-brackets'.
10408         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
10409         `uniquify'.  Change default to `post-forward-angle-brackets'.
10411 2013-12-11  Glenn Morris  <rgm@gnu.org>
10413         * emacs-lisp/package.el (finder-list-matches):
10414         Autoload rather than falsely declaring.
10416 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
10418         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
10419         (eww-mode-map): Use them.
10421 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
10423         * window.el (display-buffer-in-side-window): Fix doc-string
10424         (Bug#16115).
10426 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
10428         * vc/vc-git.el: Silence byte-compiler warnings.
10429         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
10430         (log-edit-set-header): Declare.
10432 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
10434         * Makefile.in (custom-deps, finder-data): Run output file names
10435         through unmsys--file-name.  (Bug#16099)
10437 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10439         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
10440         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
10442         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
10443         instead of deleting the selection "by hand" (bug#16098).
10444         Rely on insert-for-yank to yank rectangles.
10445         (cua-highlight-region-shift-only): Mark obsolete.
10446         (cua-mode): Don't enable/disable transient-mark-mode,
10447         shift-select-mode (cua-mode works both with and without them), and
10448         pc-selection-mode (obsolete).
10449         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
10450         (cua--deactivate-rectangle): Deactivate it.
10452         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
10453         (delete-selection-helper): Make sure yank starts at the top of the
10454         deleted region.
10455         (minibuffer-keyboard-quit): Use region-active-p.
10457         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
10459         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
10460         to `delete' (bug#16109).
10462 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10464         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
10465         info manual and show keybindings and set `:group' keyword.
10467 2013-12-11  Juri Linkov  <juri@jurta.org>
10469         * delsel.el (delete-active-region): Let-bind `this-command'
10470         to prevent `kill-region' from changing its original value.
10471         (delete-selection-helper): Handle `overwrite-mode' for the type
10472         `kill' exactly the same way as for the type `t'.
10473         (insert-char, quoted-insert, reindent-then-newline-and-indent):
10474         Support more commands.  (Bug#13312)
10476 2013-12-11  Juri Linkov  <juri@jurta.org>
10478         * bindings.el: Map kp keys to non-kp keys systematically
10479         with basic modifiers control, meta and shift.  (Bug#14397)
10481 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
10483         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
10484         "Close browser" menu items.  Fix wrong function of "List
10485         bookmarks".
10487 2013-12-11  Juri Linkov  <juri@jurta.org>
10489         * misearch.el (multi-isearch-buffers): Set the value of
10490         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
10491         arg of isearch-forward to t.
10492         (multi-isearch-buffers-regexp): Set the value of
10493         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
10494         arg of isearch-forward-regexp to t.
10495         (multi-isearch-files): Set the value of
10496         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
10497         arg of isearch-forward to t.
10498         (multi-isearch-files-regexp): Set the value of
10499         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
10500         arg of isearch-forward-regexp to t.  (Bug#16035)
10502         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
10503         arg of isearch-forward to t.
10504         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
10505         arg of isearch-forward-regexp to t.
10506         (dired-isearch-filter-filenames): Remove unnecessary check for
10507         `dired-isearch-filenames'.
10509         * comint.el (comint-history-isearch-backward):
10510         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
10511         (comint-history-isearch-backward-regexp):
10512         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
10514 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
10516         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
10517         unmsys--file-name.  (Bug#16099)
10519 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
10521         * emacs-lisp/package.el (package-keyword-button-action):
10522         Remove finder.el require dependency.
10524 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
10526         * emacs-lisp/package.el: Require finder.el.
10527         (describe-package-1): Add keyword buttons.
10528         (package-make-button): New convenience function.
10529         (package-keyword-button-action): Keyword button action using
10530         `finder-list-matches'.
10532 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
10534         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
10535         last commit.
10537 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
10539         * autorevert.el (auto-revert-notify-add-watch): Do not handle
10540         symlinked files.
10542 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
10544         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
10545         after the end of a percent literal.
10547 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
10549         * progmodes/ruby-mode.el (ruby-forward-string): Document.
10550         Handle caret-delimited strings (Bug#16079).
10552 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
10554         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
10555         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
10556         `ruby-parse-partial' (Bug#16078).
10558 2013-12-09  Leo Liu  <sdl.web@gmail.com>
10560         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
10562 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
10564         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
10565         (js-switch-indent-offset): New option.
10566         (js--proper-indentation): Use it.  And handle the case when
10567         "default" is actually a key in an object literal.
10568         (js--same-line): New function.
10569         (js--multi-line-declaration-indentation): Use it.
10570         (js--indent-in-array-comp, js--array-comp-indentation):
10571         New functions.
10572         (js--proper-indentation): Use them, to handle array comprehension
10573         continuations.
10575 2013-12-08  Leo Liu  <sdl.web@gmail.com>
10577         * progmodes/flymake.el (flymake-highlight-line): Re-write.
10578         (flymake-make-overlay): Remove arg MOUSE-FACE.
10579         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
10581 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10583         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
10584         New function.
10585         (redisplay-highlight-region-function): Use it.
10587         * emulation/cua-base.el (cua--explicit-region-start)
10588         (cua--last-region-shifted): Remove.
10589         (cua--deactivate): Use deactivate-mark.
10590         (cua--pre-command-handler-1): Don't handle shift-selection.
10591         (cua--post-command-handler-1): Don't change transient-mark-mode.
10592         (cua--select-keymaps): Use region-active-p rather than
10593         cua--explicit-region-start or cua--last-region-shifted.
10594         (cua-mode): Enable shift-select-mode.
10596 2013-12-08  Leo Liu  <sdl.web@gmail.com>
10598         * progmodes/flymake.el (flymake-popup-current-error-menu):
10599         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
10600         (flymake-posn-at-point-as-event, flymake-popup-menu)
10601         (flymake-make-emacs-menu): Remove.  (Bug#16077)
10603 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10605         * rect.el (rectangle-mark-mode): Activate mark even if
10606         transient-mark-mode is off (bug#16066).
10607         (rectangle--highlight-for-redisplay): Fix boundary condition when point
10608         is > mark and at bolp.
10610         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
10611         (region-extract-function): Use it.
10612         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
10613         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
10614         Delete functions.
10615         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
10616         kill-ring-save, kill-region, delete-char, delete-forward-char.
10617         Ignore self-insert-iso.
10619         * emulation/cua-gmrk.el (cua--init-global-mark):
10620         Ignore `self-insert-iso'.
10622         * emulation/cua-base.el (cua--prefix-copy-handler)
10623         (cua--prefix-cut-handler): Rely on region-extract-function rather than
10624         checking cua--rectangle.
10625         (cua-delete-region): Use region-extract-function.
10626         (cua-replace-region): Delete function.
10627         (cua-copy-region, cua-cut-region): Obey region-extract-function.
10628         (cua--pre-command-handler-1): Don't do the delete-selection thing.
10629         (cua--self-insert-char-p): Ignore `self-insert-iso'.
10630         (cua--init-keymaps): Don't remap delete-selection commands.
10631         (cua-mode): Use delete-selection-mode instead of rolling our own
10632         (bug#16085).
10634         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
10635         Obey region-extract-function.
10637         Make registers and delete-selection-mode work on rectangles.
10638         * register.el (describe-register-1): Don't modify the register's value.
10639         (copy-to-register): Obey region-extract-function.
10640         * delsel.el (delete-active-region): Obey region-extract-function.
10642 2013-12-08  Leo Liu  <sdl.web@gmail.com>
10644         * progmodes/flymake.el (flymake, flymake-error-bitmap)
10645         (flymake-warning-bitmap, flymake-fringe-indicator-position)
10646         (flymake-compilation-prevents-syntax-check)
10647         (flymake-start-syntax-check-on-newline)
10648         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
10649         (flymake-start-syntax-check-on-find-file, flymake-log-level)
10650         (flymake-xml-program, flymake-master-file-dirs)
10651         (flymake-master-file-count-limit)
10652         (flymake-allowed-file-name-masks): Relocate.
10653         (flymake-makehash, flymake-float-time)
10654         (flymake-replace-regexp-in-string, flymake-split-string)
10655         (flymake-get-temp-dir): Remove.
10656         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
10657         (flymake-current-row, flymake-selected-frame)
10658         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
10659         related functions.  (Bug#16077)
10661 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
10663         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
10665 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
10667         * help-fns.el (describe-function-1): Use new advice-* functions
10668         rather than old ad-* functions.  Fix function type description and
10669         source links for advised functions and subrs.
10671 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10673         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
10675 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
10677         * progmodes/compile.el (compilation-start):
10678         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
10680         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10681         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
10683 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
10685         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10686         Touch up the last change.
10688 2013-12-06  Leo Liu  <sdl.web@gmail.com>
10690         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
10691         (inferior-octave-startup): Always use "octave> " for prompt.
10692         (octave-goto-function-definition)
10693         (octave-sync-function-file-names)
10694         (octave-find-definition-default-filename): Remove redundant backquotes.
10696 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
10698         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
10699         syntax for `?'.
10700         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
10701         where appropriate already.
10702         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
10703         end of method names (Bug#15874).
10705 2013-12-06  Juri Linkov  <juri@jurta.org>
10707         * isearch.el (isearch--saved-overriding-local-map):
10708         New internal variable.
10709         (isearch-mode): Set it to the initial value of
10710         `overriding-terminal-local-map'.
10711         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
10712         with `isearch--saved-overriding-local-map'.  (Bug#16035)
10714 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
10716         * progmodes/octave.el (inferior-octave-completion-table):
10717         Turn back into function, use `completion-table-with-cache'
10718         (Bug#11906).  Update all references.
10720         * minibuffer.el (completion-table-with-cache): New function.
10722 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
10724         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
10726 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
10728         * net/eww.el (eww-current-source): New variable to store page
10729         source.
10730         (eww-display-html, eww-mode, eww-save-history)
10731         (eww-restore-history): Use it.
10732         (eww-view-source): New command to view page source.
10733         Opportunistically uses `html-mode' to highlight the buffer.
10734         (eww-mode-map): Install it.
10736 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
10738         * net/dbus.el (dbus-unregister-service)
10739         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
10740         Fix docstring.
10741         (dbus-unregister-service): Skip :serial entries in
10742         `dbus-registered-objects-table'.
10743         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
10745 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
10747         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
10748         around keywords with extra `split-string' argument.
10750 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
10752         * windmove.el (windmove-other-window-loc): Handle navigation
10753         between windows (excluding the minibuffer window - Bug#16017).
10755 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
10757         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
10758         in D-Bus type syntax.
10759         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
10760         preserve unibyte strings.  (Bug#16048)
10762 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10764         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10765         Call force-mode-line-update is the proper buffer (bug#16042).
10767 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
10769         * vc/log-edit.el (log-edit-add-new-comment): Rename to
10770         `log-edit-remember-comment', make argument optional.  Adjust all
10771         callers.
10772         (log-edit-mode): Add `log-edit-remember-comment' to
10773         `kill-buffer-hook' locally.
10774         (log-edit-kill-buffer): Don't remember comment explicitly since
10775         the buffer is killed anyway.
10777 2013-12-04  Juri Linkov  <juri@jurta.org>
10779         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
10780         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
10782 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
10784         * notifications.el (notifications-close-notification): Call the
10785         D-Bus method with ID being a `:uint32'.  (Bug#16030)
10787 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
10789         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
10791 2013-12-03  Juri Linkov  <juri@jurta.org>
10793         * progmodes/compile.el (compilation-start): Rename window alist
10794         entry `no-display-ok' to `allow-no-window'.
10796         * simple.el (shell-command): Add window alist entry
10797         `allow-no-window' to `display-buffer'.
10798         (async-shell-command): Doc fix.
10800         * window.el (display-buffer-no-window): New action function.
10801         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
10803 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
10805         * vc/log-edit.el (log-edit-set-header): Extract from
10806         `log-edit-toggle-header'.
10807         (log-edit-extract-headers): Separate the summary, when extracted
10808         from header, from the rest of the message with an empty line.
10810         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
10811         line, if present, to the Summary header.
10813 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10815         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
10816         in current-buffer (bug#16029).
10818 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
10820         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
10821         (debugger-mode-map): Bind it.
10822         (debugger--backtrace-base): New function.
10823         (debugger-eval-expression): Use it.
10824         (debugger-frame-number): Skip local vars when present.
10825         (debugger--locals-visible-p, debugger--insert-locals)
10826         (debugger--show-locals, debugger--hide-locals): New functions.
10828 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
10830         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
10831         "LC_ALL".
10832         (tramp-get-remote-locale): New defun.
10833         (tramp-open-connection-setup-interactive-shell): Use it.
10835 2013-12-02  Leo Liu  <sdl.web@gmail.com>
10837         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
10839         * progmodes/sh-script.el (sh-shell-process):
10840         * progmodes/octave.el (inferior-octave-process-live-p):
10841         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
10842         (gdb-inferior-io-sentinel):
10843         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
10845 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
10847         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
10848         `save-selected-window' to `log-edit-hide-buf'.  This makes
10849         `log-edit-show-files' idempotent.
10850         (log-edit-show-files): Mark the new window as dedicated.
10852 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
10854         * vc/log-edit.el (log-edit-mode-map): Add binding for
10855         `log-edit-kill-biffer'.
10856         (log-edit-hide-buf): Add a FIXME comment.
10857         (log-edit-add-new-comment): New function, extracted from
10858         `log-edit-done'.
10859         (log-edit-done, log-edit-add-to-changelog): Use it.
10860         (log-edit-kill-buffer): New command.
10862 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10864         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
10865         instead of killing the buffer.
10867 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10869         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
10871 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10873         * net/eww.el (eww-form-checkbox-selected-symbol)
10874         (eww-form-checkbox-symbol): New customizable variable.
10875         (eww-form-checkbox, eww-toggle-checkbox):
10876         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
10878         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
10879         (shr--get-media-pref, shr--extract-best-source): New function.
10880         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
10881         no :src tag was specified.
10883         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
10884         (eww-render): Handle `eww-use-external-browser-for-content-type'.
10885         Use \\` to match beginning of string instead of ^.
10886         (eww-browse-with-external-browser): Provide optional URL parameter.
10887         (eww-render): Set `eww-current-title' back to "".
10889         * net/shr.el (shr-tag-video): Display content for video if no
10890         poster is available.
10891         (shr-tag-audio): Add support for <audio> tag.
10893         * net/eww.el (eww-text-input-types): New const.
10894         (eww-process-text-input): Treat input types in
10895         `eww-text-input-types' as text.
10897         * net/shr.el (shr-tag-table): Fix comment typo.
10899 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10901         * net/eww.el (eww-follow-link): New command to avoid reloading
10902         pages when we follow #target links (bug#15243).
10903         (eww-quit): Special mode buffers shouldn't query before exiting.
10905 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
10907         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
10908         forms.
10910 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10912         * net/eww.el (eww-restore-history): Update the window title after
10913         moving in the history.
10914         (eww-current-dom): New variable used to save the current DOM.
10916 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
10918         * vc/log-edit.el (log-edit-mode-map): Add binding for
10919         `log-edit-beginning-of-line'.
10920         (log-edit-setup-add-author): New user option.
10921         (log-edit-beginning-of-line): New command.
10922         (log-edit): Move major mode call above the contents setup so that
10923         the local variable values are already applied.
10924         (log-edit): Only insert "Author: " when
10925         `log-edit-setup-add-author' is non-nil.
10926         (log-edit): When SETUP is non-nil, position point after ": "
10927         instead of point-min.
10929 2013-12-01  Glenn Morris  <rgm@gnu.org>
10931         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
10933 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
10935         * startup.el (fancy-splash-frame): On MS-Windows, trigger
10936         redisplay to make sure the initial frame gets a chance to become
10937         visible.  (Bug#16014)
10939 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
10941         Support resizing frames and windows pixelwise.
10942         * cus-start.el (frame-resize-pixelwise)
10943         (window-resize-pixelwise): New entries.
10944         * emacs-lisp/debug.el (debug): Use window-total-height instead
10945         of window-total-size.
10946         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
10947         * help.el (describe-bindings-internal): Use help-buffer as
10948         argument for with-help-window.
10949         (temp-buffer-max-width): New option.
10950         (resize-temp-buffer-window, help-window-setup)
10951         (with-help-window): Rewrite.
10952         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
10953         dragging dividers.
10954         * window.el (frame-char-size, window-min-pixel-height)
10955         (window-safe-min-pixel-height, window-safe-min-pixel-width)
10956         (window-min-pixel-width, window-safe-min-pixel-size)
10957         (window-combination-p, window-safe-min-size)
10958         (window-resizable-p, window--size-to-pixel)
10959         (window--pixel-to-size, window--resize-apply-p): New functions.
10960         (window-safe-min-height): Fix doc-string.
10961         (window-size, window-min-size, window--min-size-1)
10962         (window-sizable, window-sizable-p, window--min-delta-1)
10963         (window-min-delta, window--max-delta-1, window-max-delta)
10964         (window--resizable, window--resizable-p, window-resizable)
10965         (window-full-height-p, window-full-width-p, window-at-side-p)
10966         (window--in-direction-2, window-in-direction)
10967         (window--resize-reset-1, window--resize-mini-window)
10968         (window-resize, window-resize-no-error)
10969         (window--resize-child-windows-normal)
10970         (window--resize-child-windows, window--resize-siblings)
10971         (window--resize-this-window, window--resize-root-window)
10972         (window--resize-root-window-vertically)
10973         (adjust-window-trailing-edge, enlarge-window, shrink-window)
10974         (maximize-window, minimize-window, delete-window)
10975         (quit-restore-window, window-split-min-size, split-window)
10976         (balance-windows-2, balance-windows)
10977         (balance-windows-area-adjust, balance-windows-area)
10978         (window--state-get-1, window-state-get, window--state-put-1)
10979         (window--state-put-2, window-state-put)
10980         (display-buffer-record-window, window--display-buffer):
10981         Make functions handle pixelwise sizing of windows.
10982         (display-buffer--action-function-custom-type)
10983         (display-buffer-fallback-action):
10984         Add display-buffer-in-previous-window.
10985         (display-buffer-use-some-window): Resize window to height it had
10986         before.
10987         (fit-window-to-buffer-horizontally): New option.
10988         (fit-frame-to-buffer): Describe new values.
10989         (fit-frame-to-buffer-bottom-margin): Replace with
10990         fit-frame-to-buffer-margins.
10991         (window--sanitize-margin): New function.
10992         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
10993         using window-text-pixel-size.
10995 2013-11-30  Glenn Morris  <rgm@gnu.org>
10997         * emacs-lisp/bytecomp.el (byte-compile-form):
10998         Make the `interactive-only' warning like the `obsolete' one.
10999         * comint.el (comint-run):
11000         * files.el (insert-file-literally, insert-file):
11001         * replace.el (replace-string, replace-regexp):
11002         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11003         (goto-line, insert-buffer, next-line, previous-line):
11004         Tweak `interactive-only' spec.
11006         Stop keeping (most) generated cedet grammar files in the repository.
11007         * Makefile.in (semantic): New.
11008         (compile-main): Depend on semantic.
11010 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11012         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
11013         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
11015         * uniquify.el (uniquify-buffer-name-style): Change default.
11017         * loadup.el: Preload "uniquify".
11019         * time.el (display-time-update): Update all mode lines (bug#15999).
11021         * electric.el (electric-indent-mode): Enable by default.
11022         * loadup.el: Preload "electric".
11024 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
11026         * emacs-lisp/helpers.el (string-empty-p): New function.
11027         (string-blank-p): New function.
11029 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
11031         * imenu.el (imenu--index-alist): Add missing dot to the docstring
11032         (Bug#14029).
11034 2013-11-29  Andreas Politz  <politza@fh-trier.de>
11035         * imenu.el (imenu--subalist-p): Don't error on non-conses and
11036         allow non-lambda lists as functions.
11037         (imenu--in-alist): Don't recurse into non-subalists.
11038         (imenu): Don't pass function itself as an argument (Bug#14029).
11040 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11042         * progmodes/python.el (python-mode-map): Remove binding for ":".
11043         (python-indent-electric-colon): Remove command.
11044         (python-indent-post-self-insert-function): Integrate the previous code
11045         of python-indent-electric-colon.  Make it conditional on
11046         electric-indent-mode.
11047         (python-mode): Add ?: to electric-indent-chars.
11048         Move python-indent-post-self-insert-function to the end of
11049         post-self-insert-hook.
11051 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11053         * doc-view.el (doc-view-goto-page): Update mode-line.
11055         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
11057 2013-11-27  Glenn Morris  <rgm@gnu.org>
11059         * international/charprop.el, international/uni-bidi.el:
11060         * international/uni-category.el, international/uni-combining.el:
11061         * international/uni-comment.el, international/uni-decimal.el:
11062         * international/uni-decomposition.el, international/uni-digit.el:
11063         * international/uni-lowercase.el, international/uni-mirrored.el:
11064         * international/uni-name.el, international/uni-numeric.el:
11065         * international/uni-old-name.el, international/uni-titlecase.el:
11066         * international/uni-uppercase.el:
11067         Remove generated files from VCS repository.
11069 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
11071         * filenotify.el (file-notify-add-watch): Don't special-case
11072         w32notify when computing the directory to watch.
11074 2013-11-27  Glenn Morris  <rgm@gnu.org>
11076         Make bootstrap without generated uni-*.el files possible again.
11077         * loadup.el: Update command-line-args checking for unidata-gen.
11078         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
11079         * composite.el, international/characters.el:
11080         Handle unicode tables being undefined.
11082         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
11083         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
11084         (compile-main): Depend on leim rule.
11085         (leim): New rule.
11086         * loadup.el: Move leim-list.el to leim/ subdirectory.
11087         * startup.el (normal-top-level): No more leim directory.
11088         * international/ja-dic-cnv.el (skkdic-convert):
11089         Disable version-control and autoloads in output files.
11090         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
11091         Disable version-control and autoloads in output files.
11092         * leim/quail: Move here from ../leim.
11093         * leim/quail/hangul.el (hangul-input-method-activate):
11094         Add autoload cookie.
11095         (generated-autoload-load-name): Set file-local value.
11096         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
11097         (generated-autoload-load-name): Set file-local value.
11099 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
11101         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
11102         (eww-add-bookmark): Ask confirmation when add to bookmarks.
11103         (eww-quit): Ask confirmation before quitting eww.
11105 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
11107         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
11108         reading output from Diff on MS-Windows and MS-DOS.
11110 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
11112         * emacs-lisp/helpers.el (string-reverse): New function.
11114 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
11116         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
11117         names on MS Windows, like "/[::1]:".
11119         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
11120         SWITCHES.
11122 2013-11-26  Glenn Morris  <rgm@gnu.org>
11124         * progmodes/python.el (python-indent-guess-indent-offset):
11125         Avoid corner-case error.  (Bug#15975)
11127         Preload leim-list.el.  (Bug#4789)
11128         * loadup.el: Load leim-list.el when found.
11129         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
11131 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
11133         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
11135         * emacs-lisp/helpers.el (string-join): New function.
11137 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
11139         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11140         Mark as obsolete and replace it with a symbol property.
11141         (byte-compile-form): Use new 'interactive-only property.
11142         * comint.el, files.el, replace.el, simple.el:
11143         Apply new 'interactive-only properly.
11145 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
11147         * window.el (display-buffer-at-bottom): Make sure that
11148         split-window-sensibly creates the new window on bottom
11149         (Bug#15961).
11151 2013-11-23  David Kastrup  <dak@gnu.org>
11153         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
11154         on the conflict markers when available.
11155         (smerge--get-marker): New function.
11156         (smerge-end-re, smerge-base-re): Add subgroup.
11158 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11160         * frame.el (handle-focus-in, handle-focus-out): Add missing
11161         interactive spec.
11163 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
11165         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11166         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
11168 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11170         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
11171         (gomoku--last-pos): New var.
11172         (gomoku--intangible-chars): New const.
11173         (gomoku--intangible): New function.
11174         (gomoku-mode): Use it.  Derive from special-mode.
11175         (gomoku-move-up): Adjust line count.
11176         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
11177         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
11178         Simplify accordingly.
11180         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
11181         Remove blink-cursor code.
11182         (blink-cursor-timer-function, blink-cursor-suspend):
11183         Don't special-case GUIs.
11184         (blink-cursor-mode): Use focus-in/out-hook.
11186 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
11188         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
11189         work when annotation is invisible (Bug#13886).
11191 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
11193         * json.el (json-alist-p): Only return non-nil if the alist has
11194         simple keys (Bug#13518).
11196 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
11198         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
11199         when control-statement is the first statement in a buffer (Bug#15956).
11201 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
11203         * imenu.el (imenu-generic-skip-comments-and-strings):
11204         New option (Bug#15560).
11205         (imenu--generic-function): Use it.
11207 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
11209         * minibuffer.el (completion--in-region-1): Scroll the correct window.
11210         (Bug#13898)
11212 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
11214         * emacs-lisp/helpers.el: Add some string helpers.
11215         (string-trim-left): Removes leading whitespace.
11216         (string-trim-right): Removes trailing whitespace.
11217         (string-trim): Removes leading and trailing whitespace.
11219         * subr.el (string-suffix-p): New function.
11221 2013-11-23  Glenn Morris  <rgm@gnu.org>
11223         * progmodes/python.el (python-shell-send-file):
11224         Add option to delete file when done.  (Bug#15647)
11225         (python-shell-send-string, python-shell-send-region): Use it.
11227 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
11229         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
11230         to set buffer-read-only to t, never to nil.  (Bug#15938)
11232         * textmodes/tex-mode.el (latex-noindent-environments):
11233         Add safe-local-variable property.  (Bug#15936)
11235 2013-11-23  Glenn Morris  <rgm@gnu.org>
11237         * textmodes/enriched.el (enriched-mode): Doc fix.
11238         * emacs-lisp/authors.el (authors-renamed-files-alist):
11239         Add enriched.doc -> enriched.txt.
11241         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
11243 2013-11-22  Leo Liu  <sdl.web@gmail.com>
11245         * progmodes/octave.el (inferior-octave-startup): Spit out error
11246         message.
11248 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
11250         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11251         Improve docstring.
11252         Add :version.
11253         (ruby-encoding-magic-comment-style): Add :version.
11255 2013-11-22  Leo Liu  <sdl.web@gmail.com>
11257         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
11258         (Bug#15076)
11259         (octave-help-mode): Adapt to change to help-mode-finish to use
11260         derived-mode-p on 2013-09-17.
11261         (inferior-octave-prompt): Also match octave-gui.
11262         (octave-kill-process): Don't ask twice.  (Bug#10564)
11264 2013-11-22  Leo Liu  <sdl.web@gmail.com>
11266         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
11267         (inferior-octave-startup, inferior-octave-check-process)
11268         (inferior-octave-track-window-width-change)
11269         (octave-completion-at-point, octave-eldoc-function): Use it.
11270         (octave-kill-process): Provide confirmation.  (Bug#10564)
11272 2013-11-21  Leo Liu  <sdl.web@gmail.com>
11274         * progmodes/octave.el (octave-mode, inferior-octave-mode):
11275         Fix obsolete variable comment-use-global-state.
11277 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11279         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
11280         Add `octave-source-file'.
11281         (octave-source-file): New function.  (Bug#15935)
11283 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
11285         * net/eww.el (eww-local-regex): New variable.
11286         (eww): Use it to detect localhost and similar.
11288 2013-11-21  Leo Liu  <sdl.web@gmail.com>
11290         Add completion for command `ag'.
11291         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
11292         (pcomplete/ag): New function.
11293         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
11295 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11297         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
11298         (bug#14646).
11299         (make-obsolete): Remove interactive spec.
11301 2013-11-21  Glenn Morris  <rgm@gnu.org>
11303         * startup.el (command-line-1): Use path-separator with -L.
11305 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
11307         * emacs-lisp/package.el (describe-package-1): Add package archive
11308         to shown fields.
11310 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
11312         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11313         Change default to "# encoding: %s" to differentiate it from the
11314         default Ruby encoding comment template.
11316 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
11318         * ses.el (ses-mode): Doc fix.  (Bug#14748)
11320 2013-11-20  Leo Liu  <sdl.web@gmail.com>
11322         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
11324 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
11326         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
11327         when rebase or bisect are in progress.
11329 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
11331         * filenotify.el (file-notify-add-watch): Doc fix.
11333 2013-11-19  Leo Liu  <sdl.web@gmail.com>
11335         * obsolete/rcompile.el: Mark obsolete.
11337         * progmodes/compile.el (compilation-start)
11338         (compilation-goto-locus, compilation-find-file):
11339         Pass no-display-ok and handle nil value from display-buffer.
11340         (Bug#13594)
11342         * window.el (display-buffer-alist, display-buffer): Document the
11343         new parameter no-display-ok.  Return either a window or nil
11344         but never a non-window value.
11346 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11348         * electric.el (electric-indent-mode-map): Remove.
11349         (electric-indent-mode): Change the global-map instead (bug#15915).
11351         * textmodes/text-mode.el (paragraph-indent-minor-mode):
11352         Use add-function.
11354 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11356         * emacs-lisp/nadvice.el (remove-function): Align with
11357         add-function's behavior.
11359         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
11360         (gdb--string-regexp): New constant.
11361         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
11362         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
11363         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
11364         submatch 1.
11365         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
11366         Adjust use accordingly.
11367         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
11369 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
11371         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
11372         interpolation curlies (Bug#15914).
11374 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
11376         * calc/calc.el (calc-context-sensitive-enter): New variable.
11377         (calc-enter): Use `calc-context-sensitive-enter'.
11379 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
11381         * progmodes/cfengine.el: Version bump.
11382         (cfengine-cf-promises): New defcustom to locate cf-promises.
11383         (cfengine3-vartypes): Add new "data" type.
11384         (cfengine3--current-word): New function to get current name-like
11385         word or its bounds.
11386         (cfengine3--current-function): New function to look up a CFEngine
11387         function's definition.
11388         (cfengine3-format-function-docstring): New function.
11389         (cfengine3-make-syntax-cache): New function.
11390         (cfengine3-documentation-function): New function: ElDoc glue.
11391         (cfengine3-completion-function): New function: completion glue.
11392         (cfengine3-mode): Set `compile-command',
11393         `eldoc-documentation-function', and add to
11394         `completion-at-point-functions'.
11396 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
11398         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11399         `tramp-current-connection'.
11401 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
11403         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
11404         nil/self/true/false with "end of symbol".
11406 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
11408         * subr.el (version-regexp-alist): Fix a typo.
11410 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
11412         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
11413         "en_US.utf8" and "LC_CTYPE" to "".
11414         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
11415         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
11417 2013-11-15  Leo Liu  <sdl.web@gmail.com>
11419         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
11421 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11423         * progmodes/gud.el (ctl-x-map):
11424         Remove C-x SPC binding.  (Bug#12342)
11425         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
11427 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
11429         * subr.el (version-regexp-alist):
11430         Recognize hg, svn and darcs versions as snapshot versions.
11432         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
11433         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
11434         (ruby--encoding-comment-required-p): Extract from
11435         `ruby-mode-set-encoding'.
11436         (ruby-mode-set-encoding): Add the ability to always insert an
11437         utf-8 encoding comment.  Fix and simplify coding comment update
11438         logic.
11440 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
11442         * net/tramp-gvfs.el (top): Run init code only when
11443         `tramp-gvfs-enabled' is not nil.
11444         (tramp-gvfs-enabled): Check also :system bus.
11446 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11448         Sync with upstream verilog-mode revision 78e66ba.
11449         * progmodes/verilog-mode.el (verilog-end-of-defun)
11450         (verilog-type-completion, verilog-get-list): Remove unused funcs.
11451         (verilog-get-end-of-defun): Remove unused argument.
11452         (verilog-comment-depth): Remove unused local `e'.
11453         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
11454         Don't pass arg to verilog-get-end-of-defun.
11456 2013-11-14  Glenn Morris  <rgm@gnu.org>
11458         * obsolete/assoc.el (aget): Prefix dynamic variable.
11460         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
11462 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11464         * widget.el, hfy-cmap.el: Remove bogus package version number.
11466 2013-11-13  Glenn Morris  <rgm@gnu.org>
11468         * replace.el (replace-eval-replacement):
11469         Try to give more helpful error message.  (Bug#15836)
11471         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11472         (archive-7z-update): Avoid custom type mismatches.
11474         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
11476 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
11478         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11479         address can be empty.
11481         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
11482         Accept nil SWITCHES.
11483         (tramp-gvfs-handle-write-region): Implement APPEND.
11485 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
11487         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
11488         binary "|" operator and closing block args delimiter.
11489         Remove FIXME comment referring to Ruby 1.8-only syntax.
11490         (ruby-smie--implicit-semi-p): Not after "|" operator.
11491         (ruby-smie--closing-pipe-p): New function.
11492         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
11493         (ruby-smie-rules): Indent after "|".
11495 2013-11-12  Glenn Morris  <rgm@gnu.org>
11497         * ps-print.el (ps-face-attribute-list):
11498         Handle anonymous faces.  (Bug#15827)
11500 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
11502         * window.el (display-buffer-other-frame): Fix doc-string.
11503         (Bug#15868)
11505 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11507         * subr.el (force-mode-line-update): Delete, move to buffer.c.
11509 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
11511         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
11512         (tramp-sh-handle-file-local-copy): Don't write a message when
11513         saving temporary files.
11515         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
11516         both directories are remote.
11517         (tramp-smb-handle-directory-files): Do not return double entries.
11518         Do not expand full file names.
11519         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
11520         (tramp-smb-handle-write-region): Implement APPEND.
11521         (tramp-smb-get-stat-capability): Fix a stupid bug.
11523 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11525         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
11527 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
11529         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
11530         throwing error over malformed let/let* (bug#15814).
11532 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11534         * iswitchb.el (iswitchb-mode): Mark obsolete.
11536 2013-11-11  Glenn Morris  <rgm@gnu.org>
11538         * international/uni-bidi.el, international/uni-category.el:
11539         * international/uni-name.el, international/uni-numeric.el:
11540         Regenerate for Unicode 6.3.0.
11542 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
11544         * net/tramp.el (tramp-methods):
11545         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
11546         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
11548 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
11550         * progmodes/sh-script.el (sh-font-lock-keywords-var):
11551         Force highlighting text after Summary keyword in doc face for rpm.
11553 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
11555         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
11556         available and the word has no wildcards, append one to the grep pattern.
11557         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
11558         (ispell-complete-word): Call `ispell-lookup-words' with the value
11559         independent of `ispell-look-p'.
11561 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
11563         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
11564         Not after "||".
11565         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
11566         their parent.
11568 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11570         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
11571         (ruby-font-lock-keywords): Use backquote.
11573 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
11575         * progmodes/ruby-mode.el (ruby-smie--forward-token)
11576         (ruby-smie--backward-token): Only consider full-string matches.
11578 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
11580         * faces.el (describe-face): Add distant-foreground.
11582 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
11584         * progmodes/ruby-mode.el: Improve encoding comment handling.
11585         (ruby-encoding-magic-comment-style): New option.
11586         (ruby-custom-encoding-magic-comment-template): New option.
11587         (ruby--insert-coding-comment, ruby--detect-encoding):
11588         New functions extracted from `ruby-mode-set-encoding'.
11589         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
11590         to control the style of the auto-inserted encoding comment.
11592 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
11594         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
11595         Use `smie-backward-sexp' with token argument.
11597 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
11599         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11600         Remove instrumentation code.
11602 2013-11-08  Glenn Morris  <rgm@gnu.org>
11604         * progmodes/autoconf.el (autoconf-mode):
11605         Tweak comment-start-skip.  (Bug#15822)
11607 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11609         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
11610         at bobp (bug#15826).
11611         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
11613 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
11615         * man.el (Man-start-calling): New macro, extracted from
11616         Man-getpage-in-background.
11617         (Man-getpage-in-background): Use it.
11618         (Man-update-manpage): New command.
11619         (Man-mode-map): Bind it.
11621 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
11623         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
11624         of "and", "or", "&&" and "||".
11625         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
11626         argument.  Prohibit opening curly brace because it could only be a
11627         block opener in that position.
11628         (ruby-smie--forward-token, ruby-smie--backward-token):
11629         Separate "|" from "&" or "*" going after it.  That can happen in block
11630         arguments.
11631         (ruby-smie--indent-to-stmt): New function, seeks the end of
11632         previous statement or beginning of buffer.
11633         (ruby-smie-rules): Use it.
11634         (ruby-smie-rules): Check if there's a ":" before a curly block
11635         opener candidate; if there is, it's a hash.
11637 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11639         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
11640         (cl--block-wrapper): Fix last accidental change.
11642 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
11644         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11645         Instrument, in order to hunt failure on hydra.
11647 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
11649         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
11650         malformed bindings form (bug#15814).
11652 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
11654         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
11655         "." compared to " @ ".  This incidentally fixes some indentation
11656         examples with "do".
11657         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
11658         (ruby-smie-grammar): New tokens: "and" and "or".
11659         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
11660         Exclude "and" and "or".  Remove "do" in order to work around token
11661         priorities.
11662         (ruby-smie-rules): Add all infix tokens.  Handle the case of
11663         beginning-of-buffer.
11665 2013-11-06  Glenn Morris  <rgm@gnu.org>
11667         * Makefile.in (setwins_almost, setwins_for_subdirs):
11668         Avoid accidental matches.
11670 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11672         * menu-bar.el (popup-menu): Use key-binding.
11674 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
11676         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
11677         menus, support also the menus produced by minor modes.
11678         (Bug#15817)
11680 2013-11-06  Leo Liu  <sdl.web@gmail.com>
11682         * thingatpt.el (thing-at-point-looking-at): Add optional arg
11683         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
11685 2013-11-06  Glenn Morris  <rgm@gnu.org>
11687         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
11688         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
11689         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
11691 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11693         * electric.el (electric-indent-just-newline): New command.
11694         (electric-indent-mode-map): New keymap.
11695         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
11696         Re-add :group which weren't redundant.
11698         * electric.el (electric-indent-local-mode): New minor mode.
11699         (electric-indent-functions-without-reindent): New var.
11700         (electric-indent-post-self-insert-function): Use it.
11701         * emacs-lisp/gv.el (buffer-local-value): Add setter.
11703 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
11705         * international/quail.el (quail-help): Be more explicit about the
11706         meaning of the labels shown on the keys.  (Bug#15800)
11708         * startup.el (normal-top-level): Load the subdirs.el files before
11709         setting the locale environment.  (Bug#15805)
11711 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11713         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
11714         via arguments so as to get the right ones (bug#15418).
11716         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
11718 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
11720         Fix problems found while writing a test suite.
11722         * net/tramp-compat.el (tramp-compat-load): New defun.
11723         * net/tramp.el (tramp-handle-load): Use it.
11725         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
11726         "(numberp ok-if-already-exists)" correctly.
11728 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
11730         * international/characters.el (glyphless-char-display-control):
11731         Add usage note.
11733 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
11735         * progmodes/python.el (python-mode):
11736         * progmodes/scheme.el (scheme-mode):
11737         * progmodes/prolog.el (prolog-mode):
11738         * progmodes/ruby-mode.el (ruby-mode):
11739         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
11740         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
11742 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11744         * rect.el (rectangle--highlight-for-redisplay):
11745         * emacs-lisp/smie.el (smie--next-indent-change):
11746         Use buffer-chars-modified-tick.
11748         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
11750         * electric.el (electric-indent-post-self-insert-function):
11751         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
11753 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
11755         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
11757 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
11759         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
11760         (bug#15786).
11762 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11764         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
11766         * progmodes/python.el: Fix up last change.
11767         (python-shell--save-temp-file): New function.
11768         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
11769         `string' comes from the current buffer.
11770         (python-shell-send-string-no-output): Remove `msg' arg.
11771         (python--use-fake-loc): New var.
11772         (python-shell-buffer-substring): Obey it.  Try to compensate for the
11773         extra coding line added by python-shell--save-temp-file.
11774         (python-shell-send-region): Use python-shell--save-temp-file and
11775         python-shell-send-file directly.  Add `nomain' argument.
11776         (python-shell-send-buffer): Use python-shell-send-region.
11777         (python-electric-pair-string-delimiter): New function.
11778         (python-mode): Use it.
11780 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
11782         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
11783         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
11784         environment and decoding all of the default-directory's to here
11785         from command-line.
11786         (command-line): Decode also argv[0].
11788         * loadup.el: Error out if default-directory is a multibyte string
11789         when we are dumping.
11791         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
11793 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
11795         * emacs-lisp/package.el (package-menu-mode)
11796         (package-menu--print-info, package-menu--archive-predicate):
11797         Add Archive column to package list.
11799 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
11801         Fix problems found while writing a test suite.
11803         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
11804         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
11805         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
11806         to nil when running original file name handler.  Otherwise,
11807         there are problems with constructs like "$$FOO".
11809         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
11810         for `localname'.
11812 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
11814         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
11816         * subr.el (version<, version<=, version=):
11817         Update docstrings with information for snapshot versions.
11819         * helpers.el: New library for misc helper functions.
11820         (hash-table-keys): New function returning a list of hash keys.
11821         (hash-table-values): New function returning a list of hash values.
11823 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
11825         * progmodes/ruby-mode.el (ruby-smie--forward-token)
11826         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
11828 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
11830         * textmodes/fill.el (fill-single-char-nobreak-p): New function
11831         checking whether point is after a 1-letter word.
11833 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
11835         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
11836         Don't infloop when expanding region over `multiline' syntax-type that
11837         begins a line (bug#15778).
11839 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11841         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
11842         Make it into a proper minor mode.
11843         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
11844         (rectangle-mark-mode-map): New keymap.
11845         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
11847 2013-11-04  Glenn Morris  <rgm@gnu.org>
11849         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
11851 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11853         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
11854         (ruby-smie-rules): Use smie-rule-parent instead.
11856         * emacs-lisp/smie.el (smie-rule-parent): Always call
11857         smie-indent-virtual rather than only for hanging tokens.
11858         (smie--next-indent-change): New helper command.
11860 2013-11-03  Glenn Morris  <rgm@gnu.org>
11862         * Makefile.in (abs_srcdir): Remove.
11863         (emacs): Unset EMACSLOADPATH.
11865 2013-11-02  Glenn Morris  <rgm@gnu.org>
11867         * Makefile.in (EMACS): Use a relative filename.
11868         (abs_top_builddir): Remove.
11869         (custom-deps, finder-data, autoloads): Use --chdir.
11871         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
11873         Use relative filenames in TAGS files.
11874         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11875         (lisptagsfiles4, TAGS): Use relative file names.
11876         (TAGS-LISP): Remove.
11877         (maintainer-clean): No more TAGS-LISP file.
11879         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11880         (lisptagsfiles4): Use absolute filenames again.
11881         (TAGS, TAGS-LISP): Not everything needs to run in one line.
11882         Remove all *loaddefs files, not just the first.  Remove esh-groups.
11883         (maintainer-clean): Delete TAGS, TAGS-LISP.
11885 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
11887         * emacs-lisp/package.el (package-version-join):
11888         Recognize snapshot versions.
11890 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
11892         * subr.el (version-regexp-alist): Add support for snapshot versions.
11894 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
11896         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
11897         New function, replacement for `smie-rule-parent' for when we want to
11898         skip over our direct parent if it's an assignment token..
11899         (ruby-smie-rules): Use it.
11901 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
11903         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
11904         unconditionally.  Remove now unnecessary forward declarations.
11905         Remove XEmacs-specific setup.
11906         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
11907         (ruby-font-lock-syntactic-keywords)
11908         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
11909         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
11910         (ruby-here-doc-end-syntax): Remove.
11911         (ruby-mode): Don't check whether `syntax-propertize-rules' is
11912         defined as function.
11914 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
11916         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
11918 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
11920         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
11921         table and abbrev table, `define-derived-mode' does that for us
11922         anyway.
11924 2013-11-01  Glenn Morris  <rgm@gnu.org>
11926         * Makefile.in: Remove manual mh-e dependencies (writing .elc
11927         files is atomic for some time, so no parallel compilation issues).
11929 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
11931         * faces.el (face-x-resources): Add :distant-foreground.
11932         (region): Use :distant-foreground for gtk and ns.
11934 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
11936         Allow multiple bibliographies when BibLaTeX is used rather than
11937         BibTeX.
11938         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
11939         (reftex-locate-bibliography-files): Us it.
11941 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
11943         * image.el (image-type-header-regexps): Fix the 'pbm' part to
11944         allow comments in pbm files.
11946         * term/w32-win.el (dynamic-library-alist): Support newer versions
11947         of libjpeg starting with v7: look only for the DLL from the
11948         version against which Emacs was built.
11949         Support versions of libpng beyond 1.4.x.
11950         Support libtiff v4.x.
11952 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
11954         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
11955         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
11956         Add property :safe.
11957         (ruby-deep-arglist): Add property :type.
11959 2013-10-31  Glenn Morris  <rgm@gnu.org>
11961         * Makefile.in (custom-deps, finder-data): No need to setq the target
11962         variables, we are in the right directory and the defaults work fine.
11964 2013-10-30  Glenn Morris  <rgm@gnu.org>
11966         * Makefile.in (autoloads): Do not use abs_lisp.
11968         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11969         `newline' does not respect `standard-output', so use `princ'.
11971 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
11973         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
11974         * buff-menu.el (Buffer-menu--unmark): New function.
11975         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
11977 2013-10-30  Glenn Morris  <rgm@gnu.org>
11979         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
11981         * emacs-lisp/package.el (lm-homepage): Declare.
11983         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
11984         Fix doc typos.
11986         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
11988         * Makefile.in (finder-data, autoloads, update-subdirs)
11989         (compile-main, compile-clean, compile-always, bootstrap-clean):
11990         Check return value of cd.
11991         (compile-calc): Remove.
11993 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11995         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
11997         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
11998         (byte-compile-and-folded): New function.
11999         (=, <, >, <=, >=): Use it.
12001         * dos-w32.el (minibuffer-history-case-insensitive-variables)
12002         (path-separator, null-device, buffer-file-coding-system)
12003         (lpr-headers-switches): Check system-type before modifying them.
12004         (find-buffer-file-type-coding-system): Mark obsolete.
12005         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
12006         find-file-not-found-set-buffer-file-coding-system.
12007         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
12008         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
12009         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
12010         (w32-direct-print-region-helper, w32-direct-print-region-function)
12011         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
12012         * startup.el (normal-top-level-add-subdirs-to-load-path):
12013         * ps-print.el (ps-print-region-function):
12014         * lpr.el (print-region-function): Use new name.
12016         * subr.el (custom-declare-variable-early): Remove function.
12017         (custom-declare-variable-list): Remove var.
12018         (error, user-error): Remove `while' loop.
12019         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
12020         (user-emacs-directory-warning, locate-user-emacs-file):
12021         Move to files.el.
12022         * simple.el (read-quoted-char-radix, read-quoted-char):
12023         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
12024         Move from subr.el.
12025         * custom.el (custom-declare-variable-list): Don't process
12026         custom-declare-variable-list.
12028         * progmodes/python.el (python-shell-get-buffer): New function.
12029         (python-shell-get-process): Use it.
12030         (python-shell-send-string): Always use utf-8 and add a cookie to tell
12031         Python which encoding was used.  Don't split-string since we only care
12032         about the first line.  Return the temp-file, if applicable.
12033         (python-shell-send-region): Tell compile.el how to turn locations in
12034         the temp-file into locations in the source buffer.
12036 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12038         * subr.el (undefined): Add missing behavior from the C code for
12039         unbound keys.
12041         * rect.el: Use lexical-binding.  Add new rectangular region support.
12042         (rectangle-mark): New command.
12043         (rectangle--region): New var.
12044         (deactivate-mark-hook): Reset rectangle--region.
12045         (rectangle--extract-region, rectangle--insert-for-yank)
12046         (rectangle--highlight-for-redisplay)
12047         (rectangle--unhighlight-for-redisplay): New functions.
12048         (region-extract-function, redisplay-unhighlight-region-function)
12049         (redisplay-highlight-region-function): Use them to handle
12050         rectangular region.
12051         * simple.el (region-extract-function): New var.
12052         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
12053         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
12054         (kill-region): Replace obsolete `yank-handler' arg with `region'.
12055         (copy-region-as-kill, kill-ring-save): Add `region' argument.
12056         (redisplay-unhighlight-region-function)
12057         (redisplay-highlight-region-function): New vars.
12058         (redisplay--update-region-highlight): New function.
12059         (pre-redisplay-function): Use it.
12060         (exchange-point-and-mark): Don't deactivate the mark before
12061         reactivate-it anyway.
12062         * comint.el (comint-kill-region): Remove yank-handler argument.
12063         * delsel.el (delete-backward-char, backward-delete-char-untabify)
12064         (delete-char): Remove property, since it's now part of their
12065         default behavior.
12066         (self-insert-iso): Remove property since this command doesn't exist.
12068         * emacs-lisp/package.el (package--download-one-archive)
12069         (describe-package-1): Don't query the user about final newline.
12071 2013-10-29  Daniel Colascione  <dancol@dancol.org>
12073         * net/tramp.el (tramp-methods): Document new functionality.
12074         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
12075         tramp-hostname-checker if method provides one instead of scanning
12076         argument list for "%h" to decide hostname acceptability.
12078 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
12080         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12081         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12082         Handle COPY-CONTENTS.  (Bug#15737)
12084 2013-10-28  Daiki Ueno  <ueno@gnu.org>
12086         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12087         Document that this option has no effect with GnuPG 2.0 (bug#15552).
12089 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
12091         * image.el (defimage, image-load-path): Doc fixes.
12093 2013-10-27  Alan Mackenzie  <acm@muc.de>
12095         Indent statements in macros following "##" correctly.
12096         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12097         Modify the "#" arm of a cond form to handle "#" and "##" operators.
12099 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12101         * linum.el (linum-update-window): Fix boundary test (bug#13446).
12103 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
12105         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
12106         after `=' is probably a new expression.
12108 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12110         * man.el (man-imenu-title): New option.
12111         (Man-mode-map): Add menu.  (Bug#15722)
12112         (Man-mode): Add imenu to menu.
12114 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
12116         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
12117         specific in what the first arg can be: a non-keyword word,
12118         string/regexp/percent literal opener, opening paren, or unary
12119         operator followed directly by word.
12121 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12123         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
12124         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
12125         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
12126         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
12127         Remove vars, they do not apply any more.
12128         (prolog-mode-abbrev-table): Remove redundant declaration.
12129         (prolog-upper-case-string, prolog-lower-case-string): Remove.
12130         (prolog-use-smie): Remove.
12131         (prolog-smie-rules): Add indentation rule for the if-then-else layout
12132         supported by prolog-electric-if-then-else-flag.
12133         (prolog-mode-variables, prolog-menu): Use setq-local.
12134         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
12135         Remove binding to `Backspace' since this key doesn't exist anyway.
12136         Remove bindings for electric self-inserting keys.
12137         (prog-mode): Assume it's defined.
12138         (prolog-post-self-insert): New function.
12139         (prolog-mode): Use it.
12140         (prolog-indent-line, prolog-indent-level)
12141         (prolog-find-indent-of-matching-paren)
12142         (prolog-indentation-level-of-line, prolog-goto-comment-column)
12143         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
12144         (prolog-goto-next-paren, prolog-in-string-or-comment)
12145         (prolog-tokenize, prolog-inside-mline-comment)
12146         (prolog-find-start-of-mline-comment): Remove functions.
12147         (prolog-find-unmatched-paren, prolog-clause-end)
12148         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
12149         (prolog-electric--if-then-else): Rename from
12150         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
12151         (prolog-tokenize-searchkey): Remove const.
12152         (prolog-clause-info): Use forward-sexp.
12153         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
12154         (prolog-electric-if-then-else): Remove commands.
12155         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
12156         for use in post-self-insert-hook.
12157         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
12158         for use in post-self-insert-hook.
12159         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
12160         for use in post-self-insert-hook.
12161         (prolog-electric--underscore): Rename from prolog-electric--underscore;
12162         adapt it for use in post-self-insert-hook.
12164 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
12166         * emacs-lisp/ert.el (ert-run-tests-interactively):
12167         Use `completing-read'.  (Bug#9756)
12169 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
12171         * simple.el (line-move): Call line-move-1 instead of
12172         line-move-visual when the current window hscroll is zero, but
12173         temporary-goal-column indicates we will need to hscroll as result
12174         of the movement.  (Bug#15712)
12176 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
12178         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
12179         capitalization.  Use :visible instead of :active.
12180         Fix `ruby-indent-exp' reference.  Add menu items for the generic
12181         commands that are used with SMIE.
12182         (ruby-do-end-to-brace): Insert space after `{'.
12184 2013-10-25  John Anthony  <john@jo.hnanthony.com>
12186         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
12188         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
12190 2013-10-25  Glenn Morris  <rgm@gnu.org>
12192         * vc/vc.el (vc-print-log): Don't use a working revision unless
12193         one was explicitly specified.  (Bug#15322)
12195 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12197         * subr.el (add-to-list): Preserve return value in compiler-macro
12198         (bug#15692).
12200 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12202         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
12203         result.  Ask user to retry using '-all' flag.  (Bug#15701)
12205 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12207         * emacs-lisp/smie.el: New smie-config system.
12208         (smie-config): New defcustom.
12209         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
12210         (smie-config-guess, smie-config-save): New commands.
12211         (smie-config--mode-local, smie-config--buffer-local)
12212         (smie-config--trace, smie-config--modefuns): New vars.
12213         (smie-config--advice, smie-config--mode-hook)
12214         (smie-config--setter, smie-config-local, smie-config--get-trace)
12215         (smie-config--guess-value, smie-config--guess): New functions.
12216         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
12217         text properties.  Treat "string fence" syntax like string syntax.
12219         * progmodes/sh-script.el (sh-use-smie): Change default.
12220         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
12221         (sh-var-value): Simplify by CSE.
12222         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
12223         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
12224         is used.
12225         (sh-guess-basic-offset): Use cl-incf.
12226         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
12228 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
12230         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
12231         (bug#15699).
12233 2013-10-24  Glenn Morris  <rgm@gnu.org>
12235         * Makefile.in (abs_top_srcdir): Remove.
12236         (update-subdirs): Use relative path to update-subdirs.
12238 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
12240         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
12241         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
12242         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
12243         Call unmsys--file-name before expand-file-name, not after it.
12245 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
12247         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
12248         (ert-test-skipped): New error.
12249         (ert-skip, ert-stats-skipped): New defuns.
12250         (ert--skip-unless): New macro.
12251         (ert-test-skipped): New struct.
12252         (ert--run-test-debugger, ert-test-result-type-p)
12253         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
12254         (ert--stats-set-test-and-result, ert-char-for-test-result)
12255         (ert-string-for-test-result, ert-run-tests-batch)
12256         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
12257         Handle skipped tests.  (Bug#9803)
12259 2013-10-24  Glenn Morris  <rgm@gnu.org>
12261         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
12263         * Makefile.in (abs_top_srcdir): New, set by configure.
12264         (update-subdirs): Correct build-aux location.
12266 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
12268         * vc/vc.el (vc-print-root-log): Always set `default-directory'
12269         value, whether we could auto-deduce `backend', or not.
12271         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
12272         with parameters" example.  Simplify the "is it block or is it
12273         hash" check, but also make it more thorough.
12275 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
12277         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
12279 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12281         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
12282         { if it is hanging.
12284         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
12285         :before ";".
12287 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
12289         * progmodes/compile.el (compilation-directory-matcher)
12290         (compilation-page-delimiter):
12291         Support GNU Make-4.0 directory quoting.  (Bug#15678)
12293 2013-10-23  Leo Liu  <sdl.web@gmail.com>
12295         * ido.el (ido-tidy): Handle read-only text.
12297 2013-10-23  Glenn Morris  <rgm@gnu.org>
12299         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
12300         (emacs, compile, compile-always):
12301         Quote entities that might contain whitespace.
12302         (custom-deps, finder-data, autoloads): Use abs_lisp.
12303         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12304         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12305         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
12307 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
12309         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
12310         Use `following-char'.
12312 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12314         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
12315         * progmodes/ruby-mode.el (ruby-smie-rules):
12316         Remove corresponding workaround.  Fix indentation rule of ";" so it
12317         also applies when ";" is the parent.
12319 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
12321         * frame.el (display-screens, display-pixel-height)
12322         (display-pixel-width, display-mm-width, display-backing-store)
12323         (display-save-under, display-planes, display-color-cells)
12324         (display-visual-class, display-monitor-attributes-list):
12325         Mention the optional ‘display’ argument in doc strings.
12327 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
12329         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
12330         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
12332 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
12334         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
12335         TODO.  Add "." after " @ ".
12336         (ruby-smie--at-dot-call): New function.  Checks if point at method
12337         call with explicit target.
12338         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
12339         to the method name tokens when it precedes them.
12340         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
12341         (ruby-smie-rules): Add rule for indentation before and after "."
12342         token.
12344 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12346         * textmodes/remember.el (remember-diary-extract-entries):
12347         Avoid add-to-list.
12349         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
12350         an instruction.
12352 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
12354         * progmodes/ruby-mode.el (ruby-smie-grammar):
12355         Add (almost) all infix operators.
12356         (ruby-smie--implicit-semi-p): Add new operator chars.
12358         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
12359         `smie-down-list'.
12360         (ruby-smie--args-separator-p): Check that there's no newline
12361         between method call and its arguments.
12363 2013-10-20  Alan Mackenzie  <acm@muc.de>
12365         Allow comma separated lists after Java "implements".
12367         * progmodes/cc-engine.el (c-backward-over-enum-header):
12368         Parse commas.
12369         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
12370         from a "disallowed" list in enum fontification.
12372 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
12374         * startup.el (default-frame-background-mode): Remove unused defvar.
12376         * progmodes/verilog-mode.el (verilog-mode): Don't set
12377         comment-indent-function globally.
12379 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
12381         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
12382         Move Info menu item creation to ns-win.el.
12384         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
12385         in menu bar.
12387         * menu-bar.el: Move GNUstep specific menus...
12389         * term/ns-win.el (ns-initialize-window-system): ... to here.
12391 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12393         * simple.el (newline): Only run post-self-insert-hook when
12394         called interactively.
12396 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
12398         * icomplete.el (icomplete-with-completion-tables): Add :version.
12400 2013-10-19  Alan Mackenzie  <acm@muc.de>
12402         Fix fontification bugs with constructors and const.
12404         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
12405         CASE 2) Remove the check for the absence of a suffix construct
12406         after a function declaration with only types (no identifiers) in
12407         the parentheses.  Also, accept a function declaration with just a
12408         type inside the parentheses, if this type can be positively
12409         recognised as such, or if a prefix keyword like "explicit" nails
12410         down the construct as a declaration.
12412 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
12414         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
12415         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
12416         the problem whereby selecting a menu item that leads to a
12417         minibuffer prompt moves the cursor out of the minibuffer window,
12418         making it hard to type at the prompt.  Suggested by Stefan Monnier
12419         <monnier@iro.umontreal.ca>.
12421 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
12423         * menu-bar.el: Don't make Services menu.
12425 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12427         * ffap.el: Handle "/usr/include/c++/<version>" directories.
12428         (ffap-alist): Use ffap-c++-mode for c++-mode.
12429         (ffap-c++-path): New variable.
12430         (ffap-c++-mode): New function.
12432 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
12434         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
12436 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
12438         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
12439         introduced on 2013-09-08, which results in an infinite loop
12440         requesting a password.
12442 2013-10-18  Glenn Morris  <rgm@gnu.org>
12444         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
12446 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
12448         Sync with upstream verilog-mode revision 1a6ecec7.
12449         * progmodes/verilog-mode.el (verilog-mode-version): Update.
12450         (verilog-mode-release-date): Remove.
12451         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
12452         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
12453         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
12454         (verilog-auto-tieoff-ignore-regexp)
12455         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
12456         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
12457         (verilog-signals-with, verilog-dir-cache-preserving)
12458         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
12459         Doc fixes.
12460         (verilog-case-fold): New option, to control case folding in
12461         regexp searches, bug597.
12462         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
12463         (verilog-string-match-fold, verilog-in-paren-count)
12464         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
12465         (verilog-at-close-struct-p): New functions.
12466         (verilog-beg-block-re-ordered, verilog-extended-case-re)
12467         (verilog-forward-sexp, verilog-set-auto-endcomments)
12468         (verilog-leap-to-case-head): Handle "unique0" case.
12469         (verilog-in-constraint-re): New constant.
12470         (verilog-keywords, verilog-type-font-keywords):
12471         Add some SystemVerilog 1800-2012 keywords.
12472         (verilog-label-be): Remove unimplemented argument, bug669.
12473         (verilog-batch-execute-func): When batch expanding clear
12474         create-lockfiles to prevent spurious user locks when a file ends
12475         up not changing.
12476         (verilog-calculate-indent, verilog-calc-1)
12477         (verilog-at-close-constraint-p, verilog-at-constraint-p)
12478         (verilog-do-indent): Fix indentation of nested constraints
12479         and structures.
12480         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
12481         (verilog-auto-inst-param): Use verilog-string-match-fold.
12482         (verilog-read-inst-module-matcher):
12483         Fix AUTOINST on gate primitives with #1.
12484         (verilog-read-decls): Fix double-declaring user-defined typed signals.
12485         Reads all user-defined typed variables.
12486         (verilog-read-defines): Fix reading definitions inside comments, bug647.
12487         (verilog-signals-matching-regexp)
12488         (verilog-signals-not-matching-regexp, verilog-auto):
12489         Respect verilog-case-fold.
12490         (verilog-diff-report): Fix line count.
12491         (verilog-auto-assign-modport): Remove unused local `modi'.
12492         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
12493         better handle multidimensional arrays.
12494         Fix packed array ports misadding bit index in AUTOINST, bug637.
12495         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
12496         to not double-declare existing outputs and inputs, respectively.
12497         (verilog-template-map): Bind U to verilog-sk-uvm-component.
12498         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
12499         (verilog-sk-uvm-component): New skeleton.
12500         (verilog-submit-bug-report): Add verilog-case-fold,
12501         remove verilog-mode-release-date.
12503 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
12505         * subr.el (sit-for): Call (input-pending-p t) so as to behave
12506         as before.
12508 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
12510         * textmodes/remember.el (remember): Set buffer-offer-save in
12511         remember buffers (bug#13566).
12513 2013-10-18  Daniel Colascione  <dancol@dancol.org>
12515         When evaluating forms in ielm, direct standard output to ielm
12516         buffer.  Add new ielm-return-for-effect command.  Remove trailing
12517         whitespace throughout.
12519         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
12520         (ielm-return-for-effect): New command.
12521         (ielm-send-input): Accept optional `for-effect' parameter.
12522         (ielm-eval-input): Accept optional `for-effect' parameter.
12523         Bind `standard-output' to stream we create using
12524         `ielm-standard-output-impl'.  Suppress printing result when
12525         `for-effect'.
12526         (ielm-standard-output-impl): New function.
12527         (inferior-emacs-lisp-mode): Explain new features in documentation.
12529 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
12531         Code cleanup.
12533         * net/tramp.el (tramp-debug-message): Do not check for connection
12534         buffer.
12535         (tramp-message): Use "vector" connection property.
12537         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
12538         (tramp-equal-remote, tramp-eshell-directory-change)
12539         * net/tramp-adb.el (tramp-adb-handle-copy-file)
12540         (tramp-adb-handle-rename-file)
12541         * net/tramp-cmds.el (tramp-list-remote-buffers)
12542         (tramp-cleanup-connection, tramp-cleanup-this-connection)
12543         * net/tramp-compat.el (tramp-compat-process-running-p)
12544         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
12545         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
12546         (tramp-gvfs-handle-rename-file)
12547         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12548         (tramp-set-file-uid-gid)
12549         * net/tramp-smb.el (tramp-smb-handle-copy-file)
12550         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
12551         of `file-remote-p'.
12553         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
12554         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12555         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
12556         (tramp-gw-open-network-stream): Suppress unrelated traces.
12558         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
12559         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12560         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12561         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
12562         connection property.
12564         * net/tramp-cache.el (top): Suppress traces when reading
12565         persistency file.
12567         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12568         Refactor common code.  Improve debug message.
12569         (tramp-maybe-open-connection)
12570         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
12571         connection buffer too early.
12573         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
12574         from `tramp-smb-actions-with-acl'.
12575         (tramp-smb-actions-set-acl): New defconst.
12576         (tramp-smb-handle-copy-directory)
12577         (tramp-smb-action-get-acl): New defun, renamed from
12578         `tramp-smb-action-with-acl'.
12579         (tramp-smb-action-set-acl): New defun.
12580         (tramp-smb-handle-set-file-acl): Rewrite.
12582 2013-10-17  Glenn Morris  <rgm@gnu.org>
12584         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
12586 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12588         * skeleton.el (skeleton-newline): Remove.
12589         (skeleton-internal-1): Use (insert "\n") instead.
12591         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
12592         let-bindings.
12594         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
12595         forward-sexp-function while we redo its job (bug#15613).
12597 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
12599         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
12600         represented by lists.
12602 2013-10-16  Glenn Morris  <rgm@gnu.org>
12604         * tmm.el (tmm--history): New dynamic variable.
12605         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
12607 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
12609         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
12610         (tramp-smb-errors): Add error messages.
12611         (tramp-smb-actions-with-acl): New defconst.
12612         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
12613         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
12614         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
12615         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
12616         (tramp-smb-get-stat-capability): Fix tests.
12618 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
12620         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
12621         (bug#15580).
12623 2013-10-16  Glenn Morris  <rgm@gnu.org>
12625         * ansi-color.el (ansi-color-drop-regexp):
12626         Add 1J, 1K, 2K.  (Bug#15617)
12628         * files.el (hack-local-variables--warned-lexical): New.
12629         (hack-local-variables):
12630         Warn about misplaced lexical-binding.  (Bug#15616)
12632         * net/eww.el (eww-render): Always set eww-current-url,
12633         and update header line.  (Bug#15622)
12634         (eww-display-html): ... Rather than just doing it here.
12636 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
12638         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
12639         menu navigations commands.
12641 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
12643         * progmodes/subword.el (subword-capitalize): Be careful when
12644         the search for [[:alpha:]] fails (bug#15580).
12646 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
12648         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
12649         to commands that scroll the menu.
12651 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
12653         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
12654         Handle methods ending with `?' and `!'.
12656 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
12658         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
12659         `japanese-cp932' to `cp932' to fix the problem where saving a
12660         source file written in Shift_JIS twice would end up having
12661         `coding: japanese-cp932' which Ruby could not recognize.
12662         (ruby-mode-set-encoding): Add support for encodings mapped to nil
12663         in `ruby-encoding-map'.
12664         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
12665         doesn't need to be explicitly declared in magic comment.
12666         (ruby-encoding-map): Add type declaration for better customize UI.
12668 2013-10-13  Glenn Morris  <rgm@gnu.org>
12670         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
12671         Occur buffers are read-only.  http://bugs.debian.org/720775
12673         * emacs-lisp/authors.el (authors-fixed-entries):
12674         Comment out old alpha stuff.
12676 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
12678         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
12679         to `after-save-hook' instead of `before-save-hook'.
12680         (ruby-mode-set-encoding): Use the value of coding system used to
12681         write the file.  Call `basic-save-buffer-1' after modifying the
12682         buffer.
12684 2013-10-13  Alan Mackenzie  <acm@muc.de>
12686         Fix indentation/fontification of Java enum with
12687         "implements"/generic.
12689         * progmodes/cc-engine.el (c-backward-over-enum-header):
12690         Extracted from the three other places and enhanced to handle generics.
12691         (c-inside-bracelist-p): Uses new function above.
12692         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
12693         function above.
12694         (c-font-lock-enum-tail): Uses new function above.
12696 2013-10-13  Kenichi Handa  <handa@gnu.org>
12698         * international/mule-cmds.el (select-safe-coding-system): Remove a
12699         superfluous condition in chekcing whether a coding system is safe
12700         or not.
12702 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
12704         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
12706 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
12708         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
12710 2013-10-13  Glenn Morris  <rgm@gnu.org>
12712         * menu-bar.el (menu-bar-update-buffers):
12713         Unify Buffers menu prompt string.  (Bug#15576)
12715         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
12717         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
12718         Add some entries.
12719         (authors-fixed-entries): Use accented form of name.
12721 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12723         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
12724         method calls (bug#15594).
12725         (ruby-smie--args-separator-p): New function.
12726         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
12727         recognize paren-free method calls.
12729         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
12730         internals of universal-argument.
12732 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
12734         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
12735         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
12736         dropped menu on second mouse click on the menu bar.
12738 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12740         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
12741         (explicit-shell-file-name): Declare.
12742         (sh--vars-before-point, sh--cmd-completion-table): New functions.
12743         (sh-completion-at-point-function): New function.
12744         (sh-mode): Use it.
12745         (sh-smie--keyword-p): Remove unused argument.
12746         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
12747         vars.
12748         (sh-set-shell): Always setup SMIE, even if we use the
12749         old indentation code.
12751 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
12753         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
12754         cases of ? and =.
12755         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
12756         predicate would return nil are almost non-existent.
12757         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
12759         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
12760         cache also after commands that modify the buffer but don't move
12761         point.
12763 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12765         * env.el (substitute-env-in-file-name): New function.
12766         (substitute-env-vars): Extend the meaning of the optional arg.
12768 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
12770         * term/w32-win.el (dynamic-library-alist): Define separate lists
12771         of GIF DLLs for versions before and after 5.0.0 of giflib.
12772         (Bug#15531)
12774 2013-10-10  João Távora  <joaotavora@gmail.com>
12776         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
12777         not locked, use last revision and current source as
12778         defaults.  (Bug#15569)
12780 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
12782         * menu-bar.el (menu-bar-open): Don't use popup-menu if
12783         menu-bar is hidden.
12785 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
12787         * window.el (pop-to-buffer-same-window): Fix doc-string.
12788         (Bug#15492)
12790 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12792         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
12794 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
12796         * calendar/icalendar.el (icalendar-import-file):
12797         Fix interactive spec.  (Bug#15482)
12799 2013-10-10  Glenn Morris  <rgm@gnu.org>
12801         * desktop.el (desktop-save): Default to saving in .emacs.d,
12802         since PWD is no longer in desktop-path by default.  (Bug#15319)
12804         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
12805         now that text mode has a menu with the same entry.
12806         (menu-bar-text-mode-auto-fill): Remove now unused func.
12807         * textmodes/text-mode.el (text-mode-map):
12808         Use auto-fill help text from menu-bar.el.
12810 2013-10-10  John Anthony  <john@jo.hnanthony.com>
12812         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
12814 2013-10-09  Juri Linkov  <juri@jurta.org>
12816         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
12817         instead of this-command-keys.  Add universal-argument-more and
12818         universal-argument-minus to the list of prefix commands.  (Bug#15568)
12820 2013-10-09  Glenn Morris  <rgm@gnu.org>
12822         * vc/vc-svn.el (vc-svn-create-repo):
12823         Expand paths in file://... url.  (Bug#15446)
12825         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
12826         Add some entries.
12827         (authors): Remove unused local variables.
12829 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12831         * profiler.el: Create a more coherent calltree from partial backtraces.
12832         (profiler-format): Hide the tail with `invisible' so that C-s can still
12833         find the hidden elements.
12834         (profiler-calltree-depth): Don't recurse so enthusiastically.
12835         (profiler-function-equal): New hash-table-test.
12836         (profiler-calltree-build-unified): New function.
12837         (profiler-calltree-build): Use it.
12838         (profiler-report-make-name-part): Indent the calltree less.
12839         (profiler-report-mode): Add visibility specs for profiler-format.
12840         (profiler-report-expand-entry, profiler-report-toggle-entry):
12841         Expand the whole subtree when provided with a prefix arg.
12843 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
12845         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
12846         iuwu-mod token.
12847         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
12848         hanging iuwu-mod token.
12849         (ruby-smie--forward-token): Do not include a dot after a token in
12850         that token.
12851         (ruby-smie--backward-token): Likewise.
12853 2013-10-08  Juri Linkov  <juri@jurta.org>
12855         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
12856         to isearch-other-control-char.
12857         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
12858         and isearch-post-command-hook to post-command-hook.
12859         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
12860         and isearch-post-command-hook from post-command-hook.
12861         (isearch-unread-key-sequence)
12862         (isearch-reread-key-sequence-naturally)
12863         (isearch-lookup-scroll-key, isearch-other-control-char)
12864         (isearch-other-meta-char): Remove functions.
12865         (isearch-pre-command-hook, isearch-post-command-hook):
12866         New functions based on isearch-other-meta-char rewritten
12867         relying on the new behavior of overriding-terminal-local-map
12868         that does not replace the local keymaps any more.  (Bug#15200)
12870 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
12872         Support menus on text-mode terminals.
12873         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
12874         functionality.
12876         * tooltip.el (tooltip-mode): Don't error out on TTYs.
12878         * menu-bar.el (popup-menu, popup-menu-normalize-position):
12879         Move here from mouse.el.
12880         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
12881         and arrow keys.
12882         (tty-menu-navigation-map): New map for TTY menu navigation.
12884         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
12886         * frame.el (display-mouse-p): Report text-mode mouse as available
12887         on w32.
12888         (display-popup-menus-p): Report availability if mouse is
12889         available; don't condition on window-system.
12891         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
12892         (tty-menu-selected-face): New faces.
12894 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12896         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
12897         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
12898         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
12899         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
12900         New constants.
12901         (lisp-mode-variables): New `elisp' argument.
12902         (emacs-lisp-mode): Use it.
12903         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
12904         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
12906         * indent.el: Use lexical-binding.
12907         (indent-region): Add progress reporter.
12908         (tab-stop-list): Make it implicitly extend to infinity by repeating the
12909         last step.
12910         (indent--next-tab-stop): New function to implement this behavior.
12911         (tab-to-tab-stop, move-to-tab-stop): Use it.
12913 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
12915         * indent.el (indent-rigidly--current-indentation): New function.
12916         (indent-rigidly-map): New var.
12917         (indent-rigidly): Use it to provide interactive mode (bug#8196).
12919 2013-10-08  Bastien Guerry  <bzg@gnu.org>
12921         * register.el (insert-register): Fix 2013-10-07 change.
12923 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12925         * progmodes/perl-mode.el: Use lexical-binding.
12926         Remove redundant :group args.
12927         (perl-nochange): Change default to be closer to other major modes's
12928         standard behavior.
12929         (perl-indent-line): Don't consider text on current line as a
12930         valid beginning of function from which to indent.
12932         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
12933         with more than one argument (bug#15538).
12935         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
12937         * vc/pcvs.el: Use lexical-binding.
12938         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
12939         environment of `eval'.
12940         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
12941         than a list of expressions.  Adjust callers.
12942         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
12944 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
12946         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
12947         case of the dot in a chained method call being on the following line.
12949 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12951         * electric.el (electric-indent-inhibit): New var.
12952         (electric-indent-post-self-insert-function): Use it.
12953         * progmodes/python.el (python-mode): Set it.
12955         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
12956         open braces.
12958         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
12960         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
12961         (css-mode): Use electric-indent-chars.
12963         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
12964         (font-lock-beg, font-lock-end): Move before first use.
12965         (nxml-mode): Use syntax-propertize-function.
12966         (nxml-after-change, nxml-after-change1): Adjust accordingly.
12967         (nxml-extend-after-change-region): Remove.
12968         * nxml/xmltok.el: Use lexical-binding.
12969         (xmltok-save): Use `declare'.
12970         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
12971         * nxml/nxml-util.el: Use lexical-binding.
12972         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
12973         Use `declare'.
12974         * nxml/nxml-ns.el: Use lexical-binding.
12975         (nxml-ns-save): Use `declare'.
12976         (nxml-ns-prefixes-for): Avoid add-to-list.
12977         * nxml/rng-match.el: Use lexical-binding.
12978         (rng--ipattern): Use cl-defstruct.
12979         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
12980         (rng-cons-group-after, rng-subst-group-after)
12981         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
12982         Use closures instead of `(lambda...).
12984 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
12986         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
12987         of BEG and END.
12989         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12990         Use `tramp-handle-insert-file-contents'.
12991         (tramp-gvfs-handle-insert-file-contents): Remove function.
12993         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12994         Use `save-restriction' in order to keep markers.
12996         * net/trampver.el: Update release number.
12998 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13000         * progmodes/compile.el (compilation-parse-errors):
13001         Use compilation--put-prop.
13002         (compilation--ensure-parse): Check compilation-multiline.
13004         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
13006         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
13007         lexical-binding.
13009         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
13011         * progmodes/ruby-mode.el: Fix recently added tests.
13012         (ruby-smie-grammar): Add - and +.
13013         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
13014         (ruby-smie--backward-id): New functions.
13015         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
13016         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
13017         any more.
13019 2013-10-07  Leo Liu  <sdl.web@gmail.com>
13021         * register.el (register-preview-delay)
13022         (register-preview-functions): New variables.
13023         (register-read-with-preview, register-preview)
13024         (register-describe-oneline): New functions.
13025         (point-to-register, window-configuration-to-register)
13026         (frame-configuration-to-register, jump-to-register)
13027         (number-to-register, view-register, insert-register)
13028         (copy-to-register, append-to-register, prepend-to-register)
13029         (copy-rectangle-to-register): Use register-read-with-preview to
13030         read register.  (Bug#15525)
13032 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
13034         * net/network-stream.el (network-stream-open-starttls): Don't add
13035         --insecure if it's already present, because that gnutls-cli
13036         rejects getting that parameter twice.
13038 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
13040         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
13041         keyword, too.
13043 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
13045         * newcomment.el (comment-use-global-state): Change default value
13046         to t, mark obsolete (Bug#15251).
13047         (comment-beginning): In addition to `comment-to-syntax', check the
13048         value of `comment-use-global-state'.
13050 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13052         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
13053         (ruby-comment-column): Follow the global default, by default.
13054         (ruby-smie-grammar): Add assignment syntax.
13055         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
13056         open-paren, a comma, or a \.
13057         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
13058         and line continuations.
13059         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
13060         followed by implicit semi-colons.  Add rule for string concatenation
13061         and for indentation at BOB.
13062         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
13064         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
13065         calling next-sexp, since next-token may have skipped chars which
13066         next-sexp doesn't know should be skipped!
13068 2013-10-05  Leo Liu  <sdl.web@gmail.com>
13070         * progmodes/octave.el (octave-send-region):
13071         Call compilation-forget-errors.
13073 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
13075         * vc/vc-svn.el (vc-svn-find-admin-dir):
13076         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
13077         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
13078         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
13079         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
13081 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13083         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
13085 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13087         * subr.el (read-passwd): Hide chars even when called within a context
13088         where after-change-functions is disabled (bug#15501).
13089         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
13090         until we removed ourself from overriding-terminal-local-map.
13092 2013-10-04  Leo Liu  <sdl.web@gmail.com>
13094         * progmodes/octave.el (inferior-octave-mode):
13095         Call compilation-forget-errors.
13097 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
13099         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
13101 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
13103         * net/secrets.el (secrets-create-collection): Add optional
13104         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
13105         dbus-call-method argument.  (Bug#15516)
13107 2013-10-04  Leo Liu  <sdl.web@gmail.com>
13109         * progmodes/octave.el (inferior-octave-error-regexp-alist)
13110         (inferior-octave-compilation-font-lock-keywords): New variables.
13111         (compilation-error-regexp-alist)
13112         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
13113         (inferior-octave-mode): Use compilation-shell-minor-mode.
13115 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
13117         * minibuffer.el (completion--replace): Be careful that `end' might be
13118         a marker.
13120 2013-10-03  Daiki Ueno  <ueno@gnu.org>
13122         Add support for package signature checking.
13123         * emacs-lisp/package.el (url-http-file-exists-p)
13124         (epg-make-context, epg-context-set-home-directory)
13125         (epg-verify-string, epg-context-result-for)
13126         (epg-signature-status, epg-signature-to-string)
13127         (epg-check-configuration, epg-configuration)
13128         (epg-import-keys-from-file): Declare.
13129         (package-check-signature): New user option.
13130         (package-unsigned-archives): New user option.
13131         (package-desc): Add `signed' field.
13132         (package-load-descriptor): Set `signed' field if .signed file exists.
13133         (package--archive-file-exists-p): New function.
13134         (package--check-signature): New function.
13135         (package-install-from-archive): Check package signature.
13136         (package--download-one-archive): Check archive signature.
13137         (package-delete): Remove .signed file.
13138         (package-import-keyring): New command.
13139         (package-refresh-contents): Import default keyring.
13140         (package-desc-status): Add "unsigned" status.
13141         (describe-package-1, package-menu--print-info)
13142         (package-menu-mark-delete, package-menu--find-upgrades)
13143         (package-menu--status-predicate): Support "unsigned" status.
13145 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13147         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
13148         the new compilation scheme using the new byte-codes.
13150         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
13151         (byte-pophandler): New byte codes.
13152         (byte-goto-ops): Adjust accordingly.
13153         (byte-compile--use-old-handlers): New var.
13154         (byte-compile-catch): Use new byte codes depending on
13155         byte-compile--use-old-handlers.
13156         (byte-compile-condition-case--old): Rename from
13157         byte-compile-condition-case.
13158         (byte-compile-condition-case--new): New function.
13159         (byte-compile-condition-case): New function that dispatches depending
13160         on byte-compile--use-old-handlers.
13161         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
13162         when we can.
13164         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
13165         Optimize under `condition-case' and `catch' if
13166         byte-compile--use-old-handlers is nil.
13167         (disassemble-offset): Handle new bytecodes.
13169 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13171         * subr.el (error): Use `declare'.
13172         (decode-char, encode-char): Use advertised-calling-convention instead
13173         of the docstring to discourage use of the `restriction' arg.
13175 2013-10-03  Daiki Ueno  <ueno@gnu.org>
13177         * epg.el (epg-verify-file): Add a comment saying that it does not
13178         notify verification error as a return value nor a signal.
13179         (epg-verify-string): Ditto.
13181 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
13183         * progmodes/compile.el (compilation-start): Try globbing the arg to
13184         `cd' (bug#15417).
13186 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
13188         Sync with Tramp 2.2.8.
13190         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
13191         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
13192         * net/trampver.el: Update release number.
13194 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
13196         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13197         and default-process-coding-system for darwin only.
13199 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13201         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
13203 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
13205         * vc/vc-git.el (vc-git-grep): Disable pager.
13207 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
13209         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
13210         Use :url instead of :homepage, as per
13211         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
13213         * newcomment.el (comment-beginning): When `comment-use-syntax' is
13214         non-nil, use `syntax-ppss' (Bug#15251).
13216 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13218         * progmodes/octave.el (inferior-octave-startup-file):
13219         Prefer ~/.emacs.d/init_octave.m.
13221 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
13223         * emacs-lisp/package.el (package-desc-from-define):
13224         Accept additional arguments as plist, convert them to an alist and store
13225         them in the `extras' slot.
13226         (package-generate-description-file): Convert extras alist back to
13227         plist and append to the `define-package' form arguments.
13228         (package--alist-to-plist): New function.
13229         (package--ac-desc): Add `extras' slot.
13230         (package--add-to-archive-contents): Check if the archive-contents
13231         vector is long enough, and if it is, pass its `extras' slot value
13232         to `package-desc-create'.
13233         (package-buffer-info): Call `lm-homepage', pass the returned value
13234         to `package-desc-from-define'.
13235         (describe-package-1): Render the homepage button (Bug#13291).
13237         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13238         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
13240 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
13242         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13243         and default-process-coding-system to utf-8-unix (Bug#15402).
13245 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
13247         * subr.el (looking-back): Do not recommend using looking-back.
13249 2013-09-28  Alan Mackenzie  <acm@muc.de>
13251         Fix indentation/fontification of Java enum with "implements".
13253         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
13254         regexp which matches "implements", etc., in Java.
13255         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
13256         specifier clauses coming after "enum".
13257         * progmodes/cc-fonts.el (c-font-lock-declarations)
13258         (c-font-lock-enum-tail): Check for extra specifier clauses coming
13259         after "enum".
13261 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
13263         * faces.el (region): Change ns_selection_color to
13264         ns_selection_fg_color, add ns_selection_bg_color.
13266 2013-09-28  Leo Liu  <sdl.web@gmail.com>
13268         * progmodes/octave.el (inferior-octave-completion-table)
13269         (inferior-octave-completion-at-point): Minor tweaks.
13271         * textmodes/ispell.el (ispell-lookup-words): Rename from
13272         lookup-words.  (Bug#15460)
13273         (lookup-words): Obsolete.
13274         (ispell-complete-word, ispell-command-loop): All uses changed.
13276 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13278         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
13279         (octave-mode-menu): Add octave-send-buffer.
13280         (octave-send-buffer): New function.
13282 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13284         * progmodes/octave.el (octave-mode-map): Add key binding for
13285         octave-lookfor.
13286         (octave-mode-menu): Add octave-lookfor.
13287         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
13288         octave-lookfor.
13289         (octave-lookfor): New function.
13291 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13293         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
13294         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
13295         its convention.
13296         (cl--loop-set-iterator-function): New function.
13297         (cl-loop): Adjust accordingly, so as not to use cl-subst.
13298         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
13299         Bind `it' with `let' instead of substituting it with `cl-subst'.
13300         (cl--unused-var-p): New function.
13301         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
13302         Eliminate some unused variable warnings (bug#15326).
13304 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
13306         * doc-view.el (doc-view-scale-reset): Rename from
13307         `doc-view-reset-zoom-level'.
13308         (doc-view-scale-adjust): New command.
13309         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
13310         `doc-view-scale-adjust'.
13312 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
13314         * doc-view.el (doc-view-reset-zoom-level): New command.
13315         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
13316         zoom commands (bug#15466).
13318 2013-09-26  Kenichi Handa  <handa@gnu.org>
13320         * international/quail.el (quail-help): Make it not a command.
13322 2013-09-26  Leo Liu  <sdl.web@gmail.com>
13324         * minibuffer.el (completion-all-sorted-completions): Make args
13325         optional as they are.
13327 2013-09-25  Daniel Colascione  <dancol@dancol.org>
13329         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
13330         specs are and that they're not evaluated.
13332 2013-09-24  Sam Steingold  <sds@gnu.org>
13334         * midnight.el (clean-buffer-list-kill-regexps)
13335         (clean-buffer-list-kill-buffer-names): Update for the new Man
13336         buffer naming which includes the object name.
13338 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13340         * eshell/esh-cmd.el (eshell--sep-terms): New var.
13341         (eshell-parse-command, eshell-parse-pipeline): Use it since
13342         eshell-separate-commands requires a dynamic scoped var.
13343         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
13345 2013-09-23  Leo Liu  <sdl.web@gmail.com>
13347         * autoinsert.el (auto-insert-alist): Make the value of
13348         lexical-binding match its file setting.
13350 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
13352         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
13354         * autoarg.el (autoarg-kp-digit-argument):
13355         * electric.el (Electric-command-loop):
13356         * kmacro.el (kmacro-step-edit-insert):
13357         Do not set universal-argument-num-events.
13359 2013-09-22  Leo Liu  <sdl.web@gmail.com>
13361         * files.el (interpreter-mode-alist): Add octave.
13363 2013-09-21  Alan Mackenzie  <acm@muc.de>
13365         C++: fontify identifier in declaration following "public:" correctly.
13366         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
13367         to match "public", etc.
13368         (c-decl-prefix-re): Add ":" into the C++ value.
13369         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
13370         bit.  Add a check for a ":" preceded by "public", etc.
13372 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
13374         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
13375         recognized by GDB 7.5 and later.
13377 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
13379         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
13381 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13383         * subr.el (internal--call-interactively): New const.
13384         (called-interactively-p): Use it (bug#3984).
13386 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
13388         * vc/pcvs.el (cvs-mode-ignore):
13389         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
13390         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
13392 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13394         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
13395         (eshell-ls-orig-insert-directory): Remove.
13396         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
13397         (eshell-ls-use-in-dired): Use advice-add/remove.
13398         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
13399         Add `orig-fun' arg for use in :around advice.
13400         Make it check (redundantly) eshell-ls-use-in-dired.
13402 2013-09-19  Glenn Morris  <rgm@gnu.org>
13404         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
13406         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
13408         * emacs-lisp/eieio.el (class-parent): Undo previous change.
13410 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
13412         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
13413         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
13414         (tramp-get-remote-python): New defuns.
13415         (tramp-get-remote-uid-with-perl)
13416         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
13417         contributed by yary <not.com@gmail.com> (tiny change).
13418         (tramp-get-remote-uid-with-python)
13419         (tramp-get-remote-gid-with-python): New defuns.  Python code
13420         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
13421         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
13423 2013-09-19  Glenn Morris  <rgm@gnu.org>
13425         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
13427         * eshell/em-unix.el (eshell-remove-entries):
13428         Rename argument to avoid name-clash with global `top-level'.
13430         * eshell/esh-proc.el (eshell-kill-process-function):
13431         Remove eshell-reset-after-proc from eshell-kill-hook if present.
13432         (eshell-reset-after-proc): Remove unused arg `proc'.
13434         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
13435         (directory-files-and-attributes): Mark unused arg.
13437         * eshell/em-unix.el (eshell-remove-entries):
13438         Remove unused arg `path'.  Update callers.
13440         * eshell/em-hist.el (eshell-hist-parse-arguments):
13441         Remove unused arg `silent'.  Update callers.
13443         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
13444         Fix (f)boundp mix-up.
13446         * eshell/em-smart.el (eshell-smart-scroll-window)
13447         (eshell-disable-after-change):
13448         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
13450 2013-09-18  Alan Mackenzie  <acm@muc.de>
13452         Fix fontification of type when followed by "const".
13453         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
13454         "known" types from fontification.
13456 2013-09-18  Glenn Morris  <rgm@gnu.org>
13458         * emacs-lisp/chart.el (x-display-color-cells): Declare.
13459         (chart-face-list): Drop Emacsen without display-color-p.
13461         * net/eww.el (libxml-parse-html-region): Declare.
13462         (eww-display-html): Explicit error if no libxml2 support.
13464         * doc-view.el (doc-view-mode): Silence --without-x compilation.
13466         * image.el (image-type-from-buffer, image-multi-frame-p):
13467         Remove --without-x warning/error.
13469         * mouse.el (mouse-yank-primary):
13470         * term.el (term-mouse-paste):
13471         Reorder to silence --without-x compilation.
13473         * mpc.el (doc-view-mode): Silence --without-x compilation.
13475         * mail/rmailmm.el (rmail-mime-set-bulk-data):
13476         Silence --without-x compilation.
13478         * progmodes/gud.el (gud-find-file, gud-mode):
13479         Silence --without-x compilation.
13480         (tooltip-mode): Declare.
13482         * wdired.el (dired-backup-overwrite): Remove declaration.
13483         (wdired-mode-map): Add doc string.
13485         * custom.el (x-get-resource): Declare.
13487         * eshell/em-glob.el (ange-cache):
13488         * eshell/em-unix.el (ange-cache): Declare.
13490         * faces.el (x-display-list, x-open-connection, x-get-resource):
13491         Declare.
13493         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
13494         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
13495         Declare.
13497         * frame.el (x-display-grayscale-p, x-display-name): Declare.
13499         * net/gnutls.el (gnutls-log-level): Declare.
13501         * net/shr.el (image-size, image-animate): Declare.
13503         * simple.el (font-info): Declare.
13505         * subr.el (x-popup-dialog): Declare.
13507         * term/common-win.el (x-select-enable-primary)
13508         (x-last-selected-text-primary, x-last-selected-text-clipboard):
13509         Declare.
13511         * term/ns-win.el (x-handle-args): Declare.
13513         * term/x-win.el (x-select-enable-clipboard): Declare.
13515         * term/w32-win.el (create-default-fontset): Declare.
13517         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
13518         Declare.
13520         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
13521         (fit-frame-to-buffer): Explicit error if --without-x.
13522         (mouse-autoselect-window-select): Silence compiler.
13524         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13526         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
13527         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
13528         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
13529         * eshell/esh-util.el (eshell-sublist):
13530         Remove unused local variables.
13532         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
13534         * textmodes/two-column.el: Make 2C-split work for --without-x.
13535         (scroll-bar-columns): Autoload.
13536         (top-level): Require fringe when compiling.
13538 2013-09-18  Leo Liu  <sdl.web@gmail.com>
13540         * subr.el (add-hook): Robustify to handle closure as well.
13542 2013-09-17  Glenn Morris  <rgm@gnu.org>
13544         * simple.el (messages-buffer-mode-map): Unbind "g".
13546 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13548         * help-mode.el (help-mode-finish): Use derived-mode-p.
13549         Remove obsolete highlighting.
13551         * play/life.el (life-mode): Use define-derived-mode.  Derive from
13552         special-mode.
13553         (life): Let-bind inhibit-read-only.
13554         (life-setup): Avoid `setq'.  Use `life-mode'.
13556         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
13557         which should not be needed any more.
13558         (package-menu-refresh, package-menu-describe-package): Use user-error.
13560         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
13561         (eshell-post-rewrite-command-hook): Make obsolete.
13562         (eshell-parse-command): Simplify.
13563         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
13564         (eshell--cmd): Declare.
13565         (eshell-parse-pipeline): Remove unused var `final-p'.
13566         Pass a dynvar to eshell-post-rewrite-command-hook.
13567         Implement the new eshell-post-rewrite-command-function.
13568         (eshell-invoke-directly): Remove unused arg `input'.
13569         * eshell/esh-io.el (eshell-io-initialize):
13570         Use eshell-post-rewrite-command-function (bug#15399).
13571         (eshell--apply-redirections): Rename from eshell-apply-redirections;
13572         adjust to new calling convention.
13573         (eshell-create-handles): Rename args to avoid clashing with dynvar
13574         `standard-output'.
13576 2013-09-17  Glenn Morris  <rgm@gnu.org>
13578         * simple.el (messages-buffer-mode): New major mode.
13579         (messages-buffer): New function.
13580         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
13581         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
13582         (ert-run-test): Use `messages-buffer' function.
13583         (ert--force-message-log-buffer-truncation): Ignore read-only.
13584         * help.el (view-echo-area-messages): Use `messages-buffer' function.
13585         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
13587 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13589         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
13591         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
13593 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13595         * icomplete.el (icomplete-in-buffer): New var.
13596         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
13597         vars and replace them with functions.
13598         (icomplete-minibuffer-setup): Adjust accordingly.
13599         (icomplete--completion-table, icomplete--completion-predicate)
13600         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
13601         New functions.
13602         (icomplete-forward-completions, icomplete-backward-completions)
13603         (icomplete-simple-completing-p, icomplete-exhibit)
13604         (icomplete-completions): Use them.
13605         (icomplete--in-region-buffer): New var.
13606         (icomplete--in-region-setup): New function.
13607         (icomplete-mode): Use it.
13609         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
13610         (bug#15379).
13611         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
13612         return args and options.
13613         (eshell-eval-using-options): Use the new return value of
13614         eshell--do-opts to set the options's vars in their scope.
13615         (eshell--set-option): Rename from eshell-set-option.
13616         Add arg `opt-vals'.
13617         (eshell--process-option): Rename from eshell-process-option.
13618         Add arg `opt-vals'.
13619         (eshell--process-args): Use an `opt-vals' alist to store the options's
13620         values during their processing and return them additionally to the
13621         remaining args.
13623 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
13625         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
13626         continuation character an operator, as far as indentation is
13627         concerned (Bug#15369).
13629 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
13631         * window.el (window--state-put-2): Don't process buffer state
13632         when buffer doesn't exist any more (Bug#15382).
13634 2013-09-15  Glenn Morris  <rgm@gnu.org>
13636         * eshell/em-unix.el (eshell/rm):
13637         Make -f ignore missing files.  (Bug#15373)
13639         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
13640         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
13641         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
13643 2013-09-14  Glenn Morris  <rgm@gnu.org>
13645         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
13647 2013-09-13  Glenn Morris  <rgm@gnu.org>
13649         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
13650         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
13652 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
13654         * frame.el (x-focus-frame): Mark as declared in frame.c.
13656 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13658         * ls-lisp.el: Use advice-add.
13659         (original-insert-directory): Remove.
13660         (ls-lisp--insert-directory): Rename from insert-directory; add
13661         `orig-fun' argument.
13662         (insert-directory): Advise.
13664 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
13666         * term.el (term-emulate-terminal): Decode the command string
13667         before passing it to term-command-hook.  (Bug#15337)
13669 2013-09-13  Glenn Morris  <rgm@gnu.org>
13671         * eshell/esh-util.el (ange-cache): Move declaration earlier.
13673         * eshell/esh-ext.el (eshell-search-path): Declare.
13675         * eshell/em-prompt.el (eshell/pwd): Autoload it.
13676         Otherwise an error occurs if eshell-dirs module not loaded.
13678         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
13680 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
13682         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
13683         `tramp-check-proper-host'.  Check for a valid method name.
13685         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13686         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13687         * net/tramp-sh.el (tramp-maybe-open-connection):
13688         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
13690         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
13691         also for hash values.
13693 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13695         * term/ns-win.el (parameters): Don't declare as dynamic.
13696         (before-make-frame-hook): Don't add ineffective function.
13698         * eshell/*.el: Use lexical-binding (bug#15231).
13700 2013-09-12  Kenichi Handa  <handa@gnu.org>
13702         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
13704 2013-09-12  Glenn Morris  <rgm@gnu.org>
13706         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
13707         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
13709         * subr.el (do-after-load-evaluation): Also give compiler warnings
13710         when obsolete files are used (except by obsolete files).
13712         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
13713         in the status output, assume `filename' is the first.  (Bug#15322)
13715         * vc/vc.el (vc-deduce-fileset): Doc fix.
13717         * calc/calc-help.el (Info-goto-node):
13718         * progmodes/cperl-mode.el (Info-find-node):
13719         * vc/ediff.el (Info-goto-node): Update declarations.
13721         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
13723         * vc/vc-bzr.el (vc-compilation-mode): Declare.
13724         (vc-bzr-pull): Require vc-dispatcher.
13725         * vc/vc-git.el (vc-compilation-mode): Declare.
13726         (vc-git-pull): Require vc-dispatcher.
13728         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
13730         * progmodes/octave.el (help-button-action): Declare.
13732         * shell.el (shell-directory-tracker): Output error as a message
13733         rather than just returning it as a string.
13734         (shell-process-pushd): Remove useless use of message.
13736         * dframe.el (dframe-timer-fn):
13737         * files.el (dir-locals-read-from-file):
13738         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
13739         (mpc-format):
13740         * reveal.el (reveal-post-command):
13741         * saveplace.el (load-save-place-alist-from-file):
13742         * shell.el (shell-resync-dirs):
13743         * w32-common-fns.el (x-get-selection-value):
13744         * emacs-lisp/copyright.el (copyright-find-copyright):
13745         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
13746         * emulation/tpu-edt.el (tpu-copy-keyfile):
13747         * play/bubbles.el (bubbles--mark-neighbourhood):
13748         * progmodes/executable.el
13749         (executable-make-buffer-file-executable-if-script-p):
13750         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
13752 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13754         Cleanup Eshell to rely less on dynamic scoping.
13755         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
13756         last-value, and ext-command here.  Bind `args' closer to `body'.
13757         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
13758         (eshell--args): Declare new dynamic var.
13759         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
13760         last-value, and ext-command.  Pass `args' to `body'.
13761         (eshell-process-args): Bind eshell--args.
13762         (eshell-set-option): Use eshell--args.
13763         * eshell/eshell.el (eshell): Use derived-mode-p.
13764         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
13765         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
13766         (eshell-glob-function): Declare.
13767         * eshell/esh-util.el: Require cl-lib.
13768         (eshell-read-hosts-file): Avoid add-to-list.
13769         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
13770         `err'.
13771         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
13772         Declare.
13773         (eshell/diff): Remove unused var `err'.
13774         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
13775         `killflag'.
13776         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
13777         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
13778         first use.
13779         * eshell/em-glob.el (eshell-glob-matches, message-shown):
13780         Move declaration before first use.
13781         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
13782         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
13783         rely on cl-return.
13785 2013-09-12  Glenn Morris  <rgm@gnu.org>
13787         * term/ns-win.el (global-map): Remove binding for ispell-next,
13788         deleted 1999-05-29.  (Bug#15357)
13790 2013-09-11  Glenn Morris  <rgm@gnu.org>
13792         * echistory.el (electric-command-history): Remove call to deleted func.
13794         * play/landmark.el (landmark-mode): Fix typos.
13796         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
13797         Check cvs-sort-ignore-file is bound.
13799         * savehist.el: No need for cl when compiling on Emacs.
13801 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13803         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
13804         (bug#15338).
13805         (eshell-self-insert-command, eshell-send-invisible):
13806         Remove unused argument.
13807         (eshell-handle-control-codes): Remove unused var `orig'.
13808         Avoid delete-backward-char.
13810         * files.el (set-auto-mode): Simplify a bit further.
13812 2013-09-11  Glenn Morris  <rgm@gnu.org>
13814         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
13815         (set-auto-mode): Don't regexp-quote elements.
13816         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
13817         * progmodes/cc-mode.el (interpreter-mode-alist):
13818         * progmodes/ruby-mode.el (interpreter-mode-alist):
13819         Revert previous change.
13821 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13823         * play/snake.el (snake-mode):
13824         * play/mpuz.el (mpuz-mode):
13825         * play/landmark.el (lm-mode):
13826         * play/blackbox.el (blackbox-mode):
13827         * play/5x5.el (5x5-mode):
13828         * obsolete/options.el (Edit-options-mode):
13829         * net/quickurl.el (quickurl-list-mode):
13830         * net/newst-treeview.el (newsticker-treeview-mode):
13831         * mail/rmailsum.el (rmail-summary-mode):
13832         * mail/mspools.el (mspools-mode):
13833         * locate.el (locate-mode):
13834         * ibuffer.el (ibuffer-mode):
13835         * emulation/ws-mode.el (wordstar-mode):
13836         * emacs-lisp/debug.el (debugger-mode):
13837         * array.el (array-mode):
13838         * net/eudc.el (eudc-mode): Use define-derived-mode.
13839         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
13840         Move initialization into declaration.
13841         (mairix-searches-mode): Use define-derived-mode.
13842         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
13843         (eudc-edit-hotlist): Use dolist.
13844         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
13845         (Man-mode): Use define-derived-mode.
13846         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
13847         (Info-edit-mode): Use define-derived-mode.
13848         (Info-cease-edit): Use Info-mode.
13849         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
13850         into declaration.
13851         (eshell-mode): Use define-derived-mode.
13852         * chistory.el (command-history-mode-map): Rename from
13853         command-history-map.
13854         (command-history-mode): Use define-derived-mode.
13855         (Command-history-setup): Remove function.
13856         * calc/calc.el (calc-trail-mode-map): New var.
13857         (calc-trail-mode): Use define-derived-mode.
13858         (calc-trail-buffer): Set calc-main-buffer manually.
13859         * bookmark.el (bookmark-insert-annotation): New function.
13860         (bookmark-edit-annotation): Use it.
13861         (bookmark-edit-annotation-mode): Make it a proper major mode.
13862         (bookmark-send-edited-annotation): Use derived-mode-p.
13863         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
13864         closer to its ideal place.  Use \' to match EOS.
13866         * profiler.el (profiler-calltree-find): Use function-equal.
13868 2013-09-10  Glenn Morris  <rgm@gnu.org>
13870         * files.el (interpreter-mode-alist): Convert to regexps.
13871         (set-auto-mode): Adapt for this.  (Bug#15306)
13872         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
13873         Comment out unused variable.
13874         * progmodes/cc-mode.el (interpreter-mode-alist):
13875         * progmodes/python.el (interpreter-mode-alist):
13876         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
13877         * progmodes/sh-script.el (sh-set-shell):
13878         No longer use interpreter-mode-alist to get list of shells.
13880         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
13882 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13884         * simple.el: Use set-temporary-overlay-map for universal-argument.
13885         (universal-argument-map): Don't use default-bindings (bug#15317).
13886         Bind switch-frame explicitly.  Replace universal-argument-minus with
13887         a conditional binding.
13888         (universal-argument-num-events, saved-overriding-map): Remove.
13889         (restore-overriding-map): Remove.
13890         (universal-argument--mode): Rename from save&set-overriding-map,
13891         and rewrite.
13892         (universal-argument, universal-argument-more, negative-argument)
13893         (digit-argument): Adjust accordingly.
13894         (universal-argument-minus): Remove.
13895         (universal-argument-other-key): Remove.
13897         * subr.el (with-demoted-errors): Add `format' argument.
13899 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
13901         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
13902         `tramp-cleanup-connection'.
13904         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
13905         parameters KEEP-DEBUG and KEEP-PASSWORD.
13907         * net/tramp.el (tramp-file-name-handler):
13908         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13909         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13910         (tramp-maybe-open-connection):
13911         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
13912         Use `tramp-cleanup-connection'.
13914         * net/tramp-sh.el (tramp-maybe-open-connection):
13915         Catch 'uname-changed inside the progress reporter.
13917 2013-09-10  Glenn Morris  <rgm@gnu.org>
13919         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
13921         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
13922         returns "alternate access method" in mode (eg "-rw-r--r--.").
13924 2013-09-08  Glenn Morris  <rgm@gnu.org>
13926         * saveplace.el (load-save-place-alist-from-file):
13927         Demote errors.  (Bug#15305)
13929 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
13931         Improve compatibility with older Emacsen, and XEmacs.
13933         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
13934         only if it is bound.  It isn't for XEmacs.
13935         (with-tramp-progress-reporter): Do not let-bind `result'.
13936         This yields to scoping errors in XEmacs.
13937         (tramp-handle-make-auto-save-file-name): New function, moved from
13938         tramp-sh.el.
13940         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
13941         for `make-auto-save-file-name'.
13942         (tramp-adb--gnu-switches-to-ash):
13943         Use `tramp-compat-replace-regexp-in-string'.
13945         * net/tramp-cache.el (tramp-cache-print): Call
13946         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
13948         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
13949         bound.  It isn't for XEmacs.
13951         * net/tramp-compat.el (tramp-compat-copy-file):
13952         Catch `wrong-number-of-arguments' error.
13953         (tramp-compat-replace-regexp-in-string): New defun.
13955         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
13956         for `make-auto-save-file-name'.
13957         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
13958         `copy-file'.
13959         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
13960         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
13961         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
13963         * net/tramp-gw.el (tramp-gw-open-network-stream):
13964         Use `tramp-compat-replace-regexp-in-string'.
13966         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13967         Call `tramp-handle-make-auto-save-file-name'.
13968         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
13969         (tramp-sh-file-gvfs-monitor-dir-process-filter)
13970         (tramp-sh-file-inotifywait-process-filter):
13971         Use `tramp-compat-replace-regexp-in-string'.
13972         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
13974         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
13975         for `make-auto-save-file-name'.
13976         (tramp-smb-handle-copy-directory):
13977         Call `tramp-compat-replace-regexp-in-string'.
13978         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
13979         (tramp-smb-handle-copy-file): Improve error message.
13980         (tramp-smb-handle-rename-file): Rename directly only in case
13981         `newname' does not exist yet.  This is a restriction of smbclient.
13982         (tramp-smb-maybe-open-connection): Rerun the function only when
13983         `auth-sources' is non-nil.
13985 2013-09-08  Kenichi Handa  <handa@gnu.org>
13987         * international/characters.el: Set category "^" (Combining) for
13988         more characters.
13990 2013-09-07  Alan Mackenzie  <acm@muc.de>
13992         Correctly fontify Java class constructors.
13993         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
13994         in Java Mode.
13995         (c-recognize-typeless-decls): Set the Java value to t.
13996         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13997         While handling a "(", add a check for, effectively, Java, and handle a
13998         "typeless" declaration there.
14000 2013-09-07  Roland Winkler  <winkler@gnu.org>
14002         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
14003         field subtitle for entry type book.
14005 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14007         * minibuffer.el: Make minibuffer-complete call completion-in-region
14008         rather than other way around.
14009         (completion--some, completion-pcm--find-all-completions):
14010         Don't delay signals when debugging.
14011         (minibuffer-completion-contents): Beware fields within the
14012         minibuffer contents.
14013         (completion-all-sorted-completions): Use defvar-local.
14014         (completion--do-completion, completion--cache-all-sorted-completions)
14015         (completion-all-sorted-completions, minibuffer-force-complete):
14016         Add args `beg' and `end'.
14017         (completion--in-region-1): New fun, extracted from minibuffer-complete.
14018         (minibuffer-complete): Use completion-in-region.
14019         (completion-complete-and-exit): New fun, extracted from
14020         minibuffer-complete-and-exit.
14021         (minibuffer-complete-and-exit): Use it.
14022         (completion--complete-and-exit): Rename from
14023         minibuffer--complete-and-exit.
14024         (completion-in-region--single-word): New function, extracted from
14025         minibuffer-complete-word.
14026         (minibuffer-complete-word): Use it.
14027         (display-completion-list): Make `common-substring' argument obsolete.
14028         (completion--in-region): Call completion--in-region-1 instead of
14029         minibuffer-complete.
14030         (completion-help-at-point): Pass boundaries to
14031         minibuffer-completion-help as args rather than via an overlay.
14032         (completion-pcm--string->pattern): Use `any-delim'.
14033         (completion-pcm--optimize-pattern): New function.
14034         (completion-pcm--pattern->regex): Handle `any-delim'.
14035         * icomplete.el (icomplete-forward-completions)
14036         (icomplete-backward-completions, icomplete-completions):
14037         Adjust calls to completion-all-sorted-completions and
14038         completion--cache-all-sorted-completions.
14039         (icomplete-with-completion-tables): Default to t.
14040         * emacs-lisp/crm.el (crm--current-element): Rename from
14041         crm--select-current-element.  Don't put an overlay but return the
14042         boundaries instead.
14043         (crm--completion-command): Take two new args to bind to the boundaries.
14044         (crm-completion-help): Adjust accordingly.
14045         (crm-complete): Use completion-in-region.
14046         (crm-complete-word): Use completion-in-region--single-word.
14047         (crm-complete-and-exit): Use completion-complete-and-exit.
14049 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14051         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
14052         than dynamically.
14054 2013-09-06  Juri Linkov  <juri@jurta.org>
14056         * info.el (Info-display-images-node): When image file doesn't exist
14057         display text version of the image if it's provided in the Info file.
14058         Otherwise, display the location of missing image from SRC attribute.
14059         Add help-echo text property from ALT attribute.  (Bug#15279)
14061 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14063         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
14064         (edit-abbrevs-mode): Use define-derived-mode.
14066         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
14067         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
14068         that it's defined.
14069         (epa-key-list-mode, epa-key-mode, epa-info-mode):
14070         Use define-derived-mode.
14072         * epg.el (epg-start-encrypt): Minor CSE simplification.
14074 2013-09-06  William Xu  <william.xwl@gmail.com>
14076         * arc-mode.el: Add support for 7za (bug#15264).
14077         (archive-7z-program): New var.
14078         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
14079         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
14080         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
14082 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
14084         Remove URL syntax.
14086         * net/tramp.el (tramp-syntax, tramp-prefix-format)
14087         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
14088         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
14089         (tramp-postfix-host-format, tramp-file-name-regexp)
14090         (tramp-completion-file-name-regexp)
14091         (tramp-completion-dissect-file-name)
14092         (tramp-handle-substitute-in-file-name): Remove 'url case.
14093         (tramp-file-name-regexp-url)
14094         (tramp-completion-file-name-regexp-url): Remove constants.
14096 2013-09-06  Glenn Morris  <rgm@gnu.org>
14098         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
14100 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
14102         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
14103         keywords" below "here-doc beginnings" (Bug#15270).
14105 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14107         * subr.el (pop): Use `car-safe'.
14108         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
14109         to detect unused `pop' return value.
14111         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
14112         var `block-regexp'.
14113         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
14114         (python-fill-string): Remove unused var `marker'.
14115         (python-skeleton-add-menu-items): Remove unused var `items'.
14117         * international/mule-cmds.el: Require CL.
14118         (find-coding-systems-for-charsets): Avoid add-to-list.
14119         (sanitize-coding-system-list): New function, extracted from
14120         select-safe-coding-system-interactively.
14121         (select-safe-coding-system-interactively): Use it.
14122         (read-input-method-name): Accept symbols for `default'.
14124         * emacs-lisp/advice.el (defadvice): Add indent rule.
14126 2013-09-05  Daniel Hackney  <dan@haxney.org>
14128         * dired-x.el:
14129         * net/ange-ftp.el:
14130         * net/browse-url.el:
14131         * net/dbus.el:
14132         * net/eudc.el:
14133         * net/eudcb-ldap.el:
14134         * net/eww.el:
14135         * net/imap.el:
14136         * printing.el:
14137         * vc/ediff-diff.el:
14138         * vc/ediff-init.el:
14139         * vc/ediff-merg.el:
14140         * vc/ediff-mult.el:
14141         * vc/ediff-util.el:
14142         * vc/ediff-wind.el:
14143         * vc/ediff.el:
14144         * vc/emerge.el:
14145         * vc/pcvs.el:
14146         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
14147         byte compiler.  Remove some unused let-bound variables.
14149 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14151         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
14152         a "ref-cell", since it gets better optimized (bug#14883).
14154 2013-09-05  Glenn Morris  <rgm@gnu.org>
14156         * progmodes/cc-awk.el (c-forward-sws): Declare.
14158 2013-09-04  Glenn Morris  <rgm@gnu.org>
14160         * generic-x.el [rul-generic-mode]: Require cc-mode.
14161         (c++-mode-syntax-table): Declare.
14162         (rul-generic-mode-syntax-table): Init in the defvar.
14164 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14166         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
14167         (vc-do-command, vc-set-async-update):
14168         * vc/vc-mtn.el (vc-mtn-dir-status):
14169         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
14170         (vc-hg-pull, vc-hg-merge-branch):
14171         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
14172         (vc-git-merge-branch):
14173         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
14174         (vc-cvs-dir-status-files):
14175         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
14176         (vc-bzr-dir-status-files):
14177         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
14178         * vc/vc-annotate.el: Use lexical-binding.
14179         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
14180         (vc-sentinel-movepoint): Declare.
14181         (vc-annotate): Don't use `goto-line'.
14182         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
14183         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
14184         (vc-sentinel-movepoint): Declare.
14185         * vc/vc-svn.el: Use lexical-binding.
14186         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
14187         * vc/vc-sccs.el:
14188         * vc/vc-rcs.el: Use lexical-binding.
14190         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
14191         `deleted'.  Don't drop errors silently.
14193         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
14195 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
14197         * vc/vc.el (vc-ignore): Rewrite.
14198         (vc-default-ignore): New function.
14199         (vc-default-ignore-completion-table): Use find-ignore-file.
14201         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
14202         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
14203         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
14204         Remove.  Most code moved to vc.el.
14206 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14208         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
14209         * net/tramp-smb.el (tramp-smb-get-file-entries):
14210         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
14211         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
14213         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
14214         Update call to it.
14215         (eww-change-select): Remove unused var `properties'.
14216         (eww-make-unique-file-name): Remove unused var `base'.
14218         * finder.el (finder-compile-keywords): Don't mess with windows.
14220         * calculator.el (calculator-funcall): Fix typo in last change.
14222         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
14224         * emacs-lisp/package.el (package-activate-1): Don't let a missing
14225         <pkg>-autoloads.el file stop us.
14227         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14228         warnings, and factor out common code.
14230 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
14232         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
14233         two-character operators and whether the character preceding them
14234         changes their meaning (Bug#15208).
14236 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14238         Format code sent to Python shell for robustness.
14239         * progmodes/python.el (python-shell-buffer-substring):
14240         New function.
14241         (python-shell-send-region, python-shell-send-buffer): Use it.
14243 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
14245         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
14246         * net/tramp.el (tramp-user-error): ... here.
14247         (tramp-find-method, tramp-check-proper-host)
14248         (tramp-dissect-file-name, tramp-debug-message)
14249         (tramp-handle-shell-command):
14250         * net/tramp-adb.el (tramp-adb-handle-shell-command):
14251         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
14253         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
14255 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
14257         * avoid.el (mouse-avoidance-point-position)
14258         (mouse-avoidance-too-close-p): Handle case where posn-at-point
14259         returns nil.
14261 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14263         * progmodes/python.el (python-shell-completion-get-completions):
14264         Drop use of deleted `comint-last-prompt-overlay'.
14265         (python-nav-if-name-main): New command.
14267 2013-09-01  Glenn Morris  <rgm@gnu.org>
14269         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14270         Avoid leading space in $wins.  Otherwise the sed command used by
14271         eg compile-main ends up containing "/*.el".  (Bug#15170)
14273         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
14275 2013-08-30  Glenn Morris  <rgm@gnu.org>
14277         * emacs-lisp/bytecomp.el (byte-recompile-directory):
14278         Fix is-this-a-directory logic.  (Bug#15220)
14280 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14282         * textmodes/css-mode.el: Use SMIE.
14283         (css-smie-grammar): New var.
14284         (css-smie--forward-token, css-smie--backward-token)
14285         (css-smie-rules): New functions.
14286         (css-mode): Use them.
14287         (css-navigation-syntax-table): Remove var.
14288         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
14289         (css-indent-calculate, css-indent-line): Remove functions.
14291         Misc changes to reduce use of `(lambda...); and other cleanups.
14292         * cus-edit.el: Use lexical-binding.
14293         (customize-push-and-save, customize-apropos)
14294         (custom-buffer-create-internal): Use closures.
14295         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
14296         * progmodes/ada-xref.el: Use setq.
14297         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
14298         * dframe.el: Use lexical-binding.
14299         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
14300         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
14301         * descr-text.el: Use lexical-binding.
14302         (describe-text-widget, describe-text-sexp, describe-property-list):
14303         Use closures.
14304         * comint.el (comint-history-isearch-push-state): Use a closure.
14305         * calculator.el: Use lexical-binding.
14306         (calculator-number-to-string): Make it work with lexical-binding.
14307         (calculator-funcall): Same and use cl-letf.
14309         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
14310         (lisp--company-doc-string, lisp--company-location): New functions.
14311         (lisp-completion-at-point): Use them to improve Company support.
14313         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
14314         params of lambda expressions.
14315         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
14316         (ruby-smie--opening-pipe-p): New function.
14317         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
14318         symbols and matched |...| for formal params.
14319         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
14320         from being treated as hanging.  Handle "rescue".
14322 2013-08-29  Glenn Morris  <rgm@gnu.org>
14324         * progmodes/cc-engine.el (c-pull-open-brace):
14325         Move definition before use.
14327 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14329         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
14330         are immutable.  Don't use `unsafe' any more.
14331         (cl--defsubst-expand): Don't substitute at the same time as keeping
14332         a residual unused let-binding.  Don't use `unsafe' any more.
14334 2013-08-29  Glenn Morris  <rgm@gnu.org>
14336         * calendar/cal-china.el (calendar-chinese-year-cache):
14337         Recenter on 2015.
14339         * nxml/nxml-util.el (nxml-debug-clear-inside):
14340         Use cl-loop rather than loop.
14342         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
14344         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
14346 2013-08-28  Glenn Morris  <rgm@gnu.org>
14348         * progmodes/antlr-mode.el: No need to require cc-mode twice.
14350         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
14352         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
14354 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14356         * simple.el (repeat-complex-command--called-interactively-skip):
14357         New function.
14358         (repeat-complex-command): Use it (bug#14136).
14360         * progmodes/cc-mode.el: Minor cleanup of var declarations.
14361         (c-define-abbrev-table): Add `doc' argument.
14362         (c-mode-abbrev-table, c++-mode-abbrev-table)
14363         (objc-mode-abbrev-table, java-mode-abbrev-table)
14364         (idl-mode-abbrev-table, pike-mode-abbrev-table)
14365         (awk-mode-abbrev-table): Use it.
14366         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
14367         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
14368         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
14369         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
14370         Move initialization into the declaration; and remove any
14371         autoload cookie.
14373         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
14374         and dynamic let binding.
14376         * vc/smerge-mode.el: Remove redundant :group args.
14378         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
14379         to load-path.
14381 2013-08-28  Juri Linkov  <juri@jurta.org>
14383         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
14384         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
14385         (isearch-other-meta-char): Handle an undefined shifted printing
14386         character by downshifting it.  (Bug#15200)
14388 2013-08-28  Juri Linkov  <juri@jurta.org>
14390         * isearch.el (isearch-search): Change regexp error message for
14391         non-regexp searches.  (Bug#15166)
14393 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
14395         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
14396         for portability to hosts where /bin/sh has problems.
14398 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14400         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
14402 2013-08-27  Juri Linkov  <juri@jurta.org>
14404         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
14405         in the keyboard macro.  (Bug#15126)
14407 2013-08-27  Juri Linkov  <juri@jurta.org>
14409         * isearch.el (isearch-quote-char): Comment out converting unibyte
14410         to multibyte, thus syncing with its `quoted-insert' counterpart.
14411         (Bug#15166)
14413 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
14415         * window.el (display-buffer-use-some-window): Add missing
14416         argument in call of get-largest-window (Bug#15185).
14417         Reported by Stephen Leake.
14419 2013-08-27  Glenn Morris  <rgm@gnu.org>
14421         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
14423 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14425         * progmodes/python.el (python-font-lock-keywords): Don't return nil
14426         from a matcher-function unless there's no more matches (bug#15161).
14428 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
14430         * minibuffer.el: Revert change from 2013-08-20.
14432         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
14433         with text property `tramp-default', if appropriate.
14434         (tramp-check-proper-host): New defun.
14435         (tramp-dissect-file-name): Do not check hostname.  Revert change
14436         of 2013-03-18.
14437         (tramp-backtrace): Make VEC-OR-PROC optional.
14439         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14440         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14441         * net/tramp-sh.el (tramp-maybe-open-connection):
14442         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14443         Apply `tramp-check-proper-host'.
14445 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
14447         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
14448         lambda expression in order to have `describe-variable' display it.
14450 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
14452         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
14453         BUF can be optional.  (Bug#15186)
14455 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
14457         * progmodes/flymake.el (flymake-get-real-file-name-function):
14458         Fix broken customization.  (Bug#15184)
14460 2013-08-25  Alan Mackenzie  <acm@muc.de>
14462         Improve indentation of bracelists defined by macros (without "=").
14464         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
14465         expansion begins with "{", regard it as bracelist when it doesn't
14466         contain a ";".
14468         Parse C++ inher-intro when there's a template split over 2 lines.
14470         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
14471         rigorously the search for "class" etc. followed by ":".
14473         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
14474         random languages a regexp which never matches rather than nil.
14476         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
14478         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
14479         (c-awk-regexp-one-line-possibly-open-char-list-re)
14480         (c-awk-one-line-possibly-open-regexp-re)
14481         (c-awk-one-line-non-syn-ws*-re): Remove.
14482         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
14483         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
14484         (c-awk-space*-unclosed-regexp-/-re): New constants.
14485         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
14486         aren't regexp delimiters.
14488         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
14489         handling for a rare situation in AWK Mode involving unterminated
14490         strings/regexps.
14492 2013-08-23  Glenn Morris  <rgm@gnu.org>
14494         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
14496         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
14498         * files.el (create-file-buffer): If the result would begin with
14499         spaces, prepend a "|" instead of removing them.  (Bug#15162)
14501 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14503         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
14504         text-properties (bug#15155).
14506         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
14507         exist any more.
14508         (calc-keypad-redraw): Remove unused var `pad'.
14509         (calc-keypad-press): Remove unused var `menu'.
14511 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
14513         * window.el (display-buffer-pop-up-frame):
14514         Call pop-up-frame-function with BUFFER current so `make-frame' will
14515         use it as the new frame's buffer (Bug#15133).
14517 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14519         * calendar/timeclock.el: Minor cleanups.
14520         (timeclock-ask-before-exiting, timeclock-use-display-time):
14521         Use `symbol'.
14522         (timeclock-modeline-display): Define as alias before the
14523         actual definition.
14524         (timeclock-mode-line-display): Use define-minor-mode.
14525         (timeclock-day-list-template): Make it a function, add an argument.
14526         (timeclock-day-list-required, timeclock-day-list-length)
14527         (timeclock-day-list-debt, timeclock-day-list-span)
14528         (timeclock-day-list-break): Adjust calls accordingly.
14530 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14532         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
14533         Use read--expression so that completion works again.
14535 2013-08-21  Sam Steingold  <sds@gnu.org>
14537         Add rudimentary inferior shell interaction
14538         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
14539         (sh-set-shell): Reset it.
14540         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
14541         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
14543 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14545         * align.el: Use lexical-binding.
14546         (align-region): Simplify accordingly.
14548 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
14550         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
14552         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
14553         `non-essential' up.
14555 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
14557         * net/tramp.el:
14558         * net/tramp-adb.el:
14559         * net/tramp-cmds.el:
14560         * net/tramp-ftp.el:
14561         * net/tramp-gvfs.el:
14562         * net/tramp-gw.el:
14563         * net/tramp-sh.el: Don't wrap external variable declarations by
14564         `eval-when-compile'.
14566 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14568         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
14569         now that Emacs supports ImageMagick animations.
14571 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
14573         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
14574         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
14576 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
14578         * window.el (mouse-autoselect-window-select): Do autoselect when
14579         mouse pointer is on margin.
14581 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
14583         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
14585 2013-08-16  Glenn Morris  <rgm@gnu.org>
14587         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
14588         Handle "Remote Directory" response of some clients.  (Bug#15058)
14590         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
14591         Tweak warning.  (Bug#14926)
14593         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
14594         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
14596         * image-mode.el (image-mode-map): Add menu items to reverse,
14597         increase, decrease, reset animation speed.
14598         (image--set-speed, image-increase-speed, image-decrease-speed)
14599         (image-reverse-speed, image-reset-speed): New functions.
14600         (image-mode-map): Add bindings for speed commands.
14602         * image.el (image-animate-get-speed, image-animate-set-speed):
14603         New functions.
14604         (image-animate-timeout): Respect image :speed property.
14606 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14608         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
14609         previous line (bug#15101).
14610         (debugger-eval-expression, debugger-record-expression):
14611         Use read--expression (bug#15102).
14613 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
14615         Remove byte compiler warnings, visible when compiling with
14616         `byte-compile-force-lexical-warnings' set to t.
14618         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
14619         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
14620         (tramp-handle-unhandled-file-name-directory)
14621         (tramp-handle-file-notify-add-watch, tramp-action-login)
14622         (tramp-action-succeed, tramp-action-permission-denied)
14623         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
14624         arguments with "_".
14626         * net/tramp-adb.el (tramp-adb-parse-device-names)
14627         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
14628         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
14629         (tramp-adb-handle-file-truename): Remove unused arguments.
14631         * net/tramp-cache.el (tramp-flush-directory-property)
14632         (tramp-flush-connection-property, tramp-list-connections)
14633         (tramp-parse-connection-properties): Prefix unused arguments with "_".
14635         * net/tramp-compat.el (tramp-compat-make-temp-file):
14636         Rename FILENAME to F.
14638         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14639         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
14640         (tramp-zeroconf-parse-workstation-device-names)
14641         (tramp-zeroconf-parse-webdav-device-names)
14642         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
14644         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14645         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
14647         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
14648         arguments.
14649         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
14650         (tramp-sh-handle-insert-file-contents-literally)
14651         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
14652         with "_".
14653         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
14654         Remove unused variables.
14656         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14657         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
14658         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
14660         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
14661         Make them a defconst.
14662         (tramp-uuencode-region): Remove unused variable.
14664 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
14666         * frameset.el (frameset--prop-setter): New function.
14667         (frameset-prop): Add gv-setter declaration.
14668         (frameset-filter-minibuffer): Deal with the case that the minibuffer
14669         parameter was already set in FILTERED.  Doc fix.
14670         (frameset--record-minibuffer-relationships): Allow saving a
14671         minibufferless frame without its corresponding minibuffer frame.
14672         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
14673         frame, if the frame id matches.
14674         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
14675         frames before orphaned ones.
14676         (frameset-restore): Warn about orphaned windows, instead of error out.
14678 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
14680         * window.el (window-make-atom): Don't overwrite parameter
14681         already present.
14682         (display-buffer-in-atom-window): Handle special case where we
14683         split an already atomic window.
14684         (window--major-non-side-window, display-buffer-in-side-window)
14685         (window--side-check): Ignore minibuffer window when walking
14686         window tree.
14687         (window-deletable-p): Return 'frame only if no other frame uses
14688         our minibuffer window.
14689         (record-window-buffer): Run buffer-list-update-hook.
14690         (split-window): Make sure window--check-frame won't destroy an
14691         existing atomic window in case the new window gets nested
14692         inside.
14693         (display-buffer-at-bottom): Ignore minibuffer window when
14694         walking window tree.  Don't split a side window.
14695         (pop-to-buffer): Don't set-buffer here, the select-window call
14696         should do that.
14697         (mouse-autoselect-window-select): Autoselect only if we are in the
14698         text portion of the window.
14700 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14702         * net/shr.el (shr-parse-image-data): New function to grab both the
14703         data itself and the Content-Type.
14704         (shr-put-image): Use it.
14706         * net/eww.el (eww-display-image): Ditto.
14708         * image.el (image-content-type-suffixes): New variable.
14710 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14712         * progmodes/python.el (python-imenu--build-tree)
14713         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
14715 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
14717         * simple.el (backward-word): Mention the optional argument.
14719 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14721         * frameset.el (frameset--make): Rename constructor from make-frameset.
14722         (frameset-p, frameset-valid-p): Don't autoload.
14723         (frameset-valid-p): Use normal accessors.
14725 2013-08-13  Glenn Morris  <rgm@gnu.org>
14727         * progmodes/compile.el (compile-command): Tweak example in doc.
14728         * obsolete/scribe.el (scribe-mode):
14729         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
14731         * mail/feedmail.el (feedmail-confirm-outgoing)
14732         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
14734         * cus-start.el (truncate-partial-width-windows): Fix type.
14736         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
14738         * net/shr.el (shr-table-horizontal-line): Fix custom type.
14740 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14742         * emacs-lisp/timer.el (timer--time-setter): New function.
14743         (timer--time): Use it as gv-setter.
14745         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
14746         setter is not a symbol.
14748 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
14750         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
14751         if sending fails.  This makes debugging easier.
14753 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
14755         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
14756         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
14757         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
14759 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
14761         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
14763 2013-08-12  Glenn Morris  <rgm@gnu.org>
14765         * format.el (format-annotate-function):
14766         Handle read-only text properties in the source.  (Bug#14887)
14768 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14770         * net/eww.el (eww-display-html): Ignore coding system errors.
14771         One web site uses "utf-8lias" as the coding system.
14773 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
14775         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
14777 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
14779         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
14780         (tutorial--detailed-help): Remove unused local variables.
14781         (tutorial--save-tutorial-to): Use ignore-errors.
14782         (help-with-tutorial): Use looking-at-p.
14784         * view.el (view-buffer-other-window, view-buffer-other-frame):
14785         Mark unused arguments.
14787         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
14788         (woman-select-symbol-fonts, woman, woman-find-file)
14789         (woman-insert-file-contents, woman-non-underline-faces):
14790         Use string-match-p.
14791         (woman1-unquote): Move declaration.
14793         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
14794         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
14795         argument.  Remove unused local variable.
14796         (xml-parse-elem-type): Use string-match-p.
14797         (xml-substitute-numeric-entities): Use ignore-errors.
14799         * calculator.el (calculator): Mark unused argument.
14800         (calculator-paste, calculator-quit, calculator-integer-p):
14801         Use ignore-errors.
14802         (calculator-string-to-number, calculator-decimal, calculator-exp)
14803         (calculator-op-or-exp): Use string-match-p.
14805         * dired.el (dired-buffer-more-recently-used-p): Declare.
14806         (dired-insert-set-properties, dired-insert-old-subdirs):
14807         Use ignore-errors.
14809         * dired-aux.el (dired-compress): Use ignore-errors.
14810         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
14811         (dired-do-async-shell-command, dired-do-shell-command)
14812         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
14813         (dired-insert-subdir-validate): Use string-match-p.
14814         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
14815         (dired-add-entry): Use string-match-p, looking-at-p.
14816         (dired-insert-subdir-newpos): Remove unused local variable.
14818         * filenotify.el (file-notify-callback): Remove unused local variable.
14820         * filesets.el (filesets-error): Mark unused argument.
14821         (filesets-which-command-p, filesets-filter-dir-names)
14822         (filesets-directory-files, filesets-get-external-viewer)
14823         (filesets-ingroup-get-data): Use string-match-p.
14825         * find-file.el (ff-other-file-name, ff-other-file-name)
14826         (ff-find-the-other-file, ff-cc-hh-converter):
14827         Remove unused local variables.
14828         (ff-get-file-name): Use string-match-p.
14829         (ff-all-dirs-under): Use ignore-errors.
14831         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
14832         (follow-select-if-visible): Remove unused local variable.
14834         * forms.el (read-file-filter): Move declaration.
14835         (forms--make-format, forms--make-parser, forms-insert-record):
14836         Quote function with #'.
14837         (forms--update): Use string-match-p.  Quote function with #'.
14839         * help-mode.el (help-dir-local-var-def): Mark unused argument.
14840         (help-make-xrefs): Use looking-at-p.
14841         (help-xref-on-pp): Use looking-at-p, ignore-errors.
14843         * ibuffer.el (ibuffer-ext-visible-p): Declare.
14844         (ibuffer-confirm-operation-on): Use string-match-p.
14846         * msb.el (msb-item-handler, msb-dired-item-handler):
14847         Mark unused arguments.
14849         * ses.el (ses-decode-cell-symbol)
14850         (ses-kill-override): Remove unused local variable.
14851         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
14852         (ses-load): Use ignore-errors, looking-at-p.
14853         (ses-jump-safe): Use ignore-errors.
14854         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
14856         * tabify.el (untabify, tabify): Mark unused arguments.
14858         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
14859         Mark unused argument.
14860         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
14861         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
14863         * emacs-lisp/timer.el (timer--time): Define setter with
14864         gv-define-setter to avoid deprecation warning.
14866         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
14867         (*record-cmpl-statistics-p*): Remove (was commented out).
14868         (cmpl-statistics-block): Remove (body was commented out).
14869         All callers changed.
14870         (add-completions-from-buffer, load-completions-from-file):
14871         Remove unused variables.
14873 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
14875         * filecache.el (file-cache-delete-file-list):
14876         Print message only when told so.
14877         (file-cache-files-matching): Use #' in mapconcat argument.
14879         * ffap.el (ffap-url-at-point): Fix reference to variable
14880         thing-at-point-default-mail-uri-scheme.
14882 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14884         * subr.el (define-error): New function.
14885         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
14886         error-file-not-found and define with define-error.
14887         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
14888         and define with define-error.
14889         * userlock.el (file-locked, file-supersession):
14890         * simple.el (mark-inactive):
14891         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
14892         * progmodes/ada-mode.el (ada-mode-errors):
14893         * play/life.el (life-extinct):
14894         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
14895         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
14896         * nxml/rng-util.el (rng-error):
14897         * nxml/rng-uri.el (rng-uri-error):
14898         * nxml/rng-match.el (rng-compile-error):
14899         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
14900         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
14901         * nxml/nxml-rap.el (nxml-scan-error):
14902         * nxml/nxml-outln.el (nxml-outline-error):
14903         * net/soap-client.el (soap-error):
14904         * net/gnutls.el (gnutls-error):
14905         * net/ange-ftp.el (ftp-error):
14906         * mpc.el (mpc-proc-error):
14907         * json.el (json-error, json-readtable-error, json-unknown-keyword)
14908         (json-number-format, json-string-escape, json-string-format)
14909         (json-key-format, json-object-format):
14910         * jka-compr.el (compression-error):
14911         * international/quail.el (quail-error):
14912         * international/kkc.el (kkc-error):
14913         * emacs-lisp/ert.el (ert-test-failed):
14914         * calc/calc.el (calc-error, inexact-result, math-overflow)
14915         (math-underflow):
14916         * bookmark.el (bookmark-error-no-filename):
14917         * epg.el (epg-error): Define with define-error.
14919         * time.el (display-time-event-handler)
14920         (display-time-next-load-average): Don't call sit-for since it seems
14921         unnecessary (bug#15045).
14923         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
14924         Use #' instead of ' to quote functions.
14925         (checkdoc-output-mode): Use setq-local.
14926         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
14927         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
14928         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
14929         (checkdoc-ispell, checkdoc-ispell-current-buffer)
14930         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
14931         (checkdoc-ispell-message-text, checkdoc-ispell-start)
14932         (checkdoc-ispell-continue, checkdoc-ispell-comments)
14933         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
14935         * ido.el (ido-completion-help): Fix up compiler warning.
14937 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
14939         * frameset.el (frameset-p): Add autoload cookie.
14940         (frameset--jump-to-register): New function, based on code moved from
14941         register.el.
14942         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
14944         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
14945         (frameset-restore, frameset-save, frameset-session-filter-alist):
14946         Remove declarations.
14947         (register-alist): Doc fix.
14948         (frameset-to-register): Move to frameset.el.
14949         (jump-to-register, describe-register-1): Remove frameset-specific code.
14951 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
14953         * allout-widgets.el (allout-widgets-pre-command-business)
14954         (allout-widgets-post-command-business)
14955         (allout-widgets-after-change-handler)
14956         (allout-decorate-item-and-context, allout-set-boundary-marker)
14957         (allout-body-modification-handler)
14958         (allout-graphics-modification-handler): Mark ignored arguments.
14959         (allout-widgets-post-command-business)
14960         (allout-widgets-exposure-change-processor)
14961         (allout-widgets-exposure-undo-processor)
14962         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
14963         (allout-parse-item-at-point, allout-decorate-item-guides)
14964         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
14965         * allout.el (epa-passphrase-callback-function): Declare.
14966         (allout-overlay-insert-in-front-handler)
14967         (allout-overlay-interior-modification-handler)
14968         (allout-isearch-end-handler, allout-chart-siblings)
14969         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
14970         (allout-yank-processing, allout-process-exposed)
14971         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
14972         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
14973         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
14974         (lisp-indent-defform): Mark ignored arguments.
14975         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
14976         (calculate-lisp-indent): Remove unused variables.
14977         * international/characters.el (indian-2-column, arabic-2-column)
14978         (tibetan): Mark ignored arguments.
14979         (use-cjk-char-width-table): Mark ignored arguments.
14980         Remove unused variables.
14981         * international/fontset.el (build-default-fontset-data)
14982         (x-compose-font-name, create-fontset-from-fontset-spec):
14983         Mark ignored arguments.
14984         (fontset-plain-name): Remove unused variables.
14985         * international/mule.el (charset-id, charset-bytes, generic-char-p)
14986         (keyboard-coding-system): Mark ignored arguments.
14987         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
14988         * help.el (resize-temp-buffer-window):
14989         * window.el (display-buffer-in-major-side-window)
14990         (display-buffer-in-side-window, display-buffer-in-previous-window):
14991         Remove unused variables.
14992         * isearch.el (isearch-forward-symbol):
14993         * version.el (emacs-bzr-version-bzr):
14994         * international/mule-cmds.el (current-language-environment):
14995         * term/common-win.el (x-handle-iconic, x-handle-geometry)
14996         (x-handle-display):
14997         * term/pc-win.el (x-list-fonts, x-display-planes)
14998         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
14999         (x-server-version, x-display-screens, x-display-mm-height)
15000         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
15001         (x-selection-owner-p, x-own-selection-internal)
15002         (x-disown-selection-internal, x-get-selection-internal)
15003         (msdos-initialize-window-system):
15004         * term/tty-colors.el (tty-color-alist, tty-color-clear):
15005         * term/x-win.el (x-handle-no-bitmap-icon):
15006         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
15007         (vc-default-find-file-hook, vc-default-extra-menu):
15008         Mark ignored arguments.
15010 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15012         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
15013         break-condition in the context of the debugged code (bug#12685).
15015 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
15017         * comint.el:
15018         Do not use an overlay to highlight the last prompt.  (Bug#14744)
15019         (comint-mode): Make comint-last-prompt buffer local.
15020         (comint-last-prompt): New variable.
15021         (comint-last-prompt-overlay): Remove.  Superseded by
15022         comint-last-prompt.
15023         (comint-snapshot-last-prompt, comint-output-filter):
15024         Use comint-last-prompt.
15026 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15028         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
15029         (frameset-save): Check validity of the resulting frameset.
15031 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
15033         * ido.el (ido-record-command): Add doc string.
15035 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15037         * frameset.el (frameset): Do not disable creation of the default
15038         frameset-p predicate.  Doc fix.
15039         (frameset-valid-p): New function, copied from the old predicate-p.
15040         Add additional checks.
15041         (frameset-restore): Check with frameset-valid-p.
15042         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
15043         (frameset-name, frameset-description, frameset-properties)
15044         (frameset-states): Add docstring.
15045         (frameset-session-filter-alist, frameset-persistent-filter-alist)
15046         (frameset-filter-alist): Doc fixes.
15048 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15050         * frameset.el (frameset-p, frameset-prop): Doc fixes.
15052 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15054         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
15055         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
15056         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
15057         (byte-compile-normal-call): Remove obsolescence check.
15059 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15061         * frameset.el (frameset-restore): Doc fix.
15063         * register.el (frameset-frame-id, frameset-frame-with-id)
15064         (frameset-p, frameset-restore, frameset-save): Declare.
15065         (register-alist): Document framesets.
15066         (frameset-session-filter-alist): Declare.
15067         (frameset-to-register): New function.
15068         (jump-to-register): Implement jumping to framesets.  Doc fix.
15069         (describe-register-1): Describe framesets.
15071         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
15073 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
15075         * desktop.el (desktop-save-frameset): Use new frameset-save args.
15076         Use lexical-binding.
15078         * frameset.el (frameset): Use type vector, not list (incompatible
15079         change).  Do not declare a new constructor, use the default one.
15080         Upgrade suggested properties `app', `name' and `desc' to slots `app',
15081         `name' and `description', respectively, and add read-only slot
15082         `timestamp'.  Doc fixes.
15083         (frameset-copy, frameset-persistent-filter-alist)
15084         (frameset-filter-alist, frameset-switch-to-gui-p)
15085         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
15086         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
15087         (frameset-filter-iconified, frameset-keep-original-display-p):
15088         Doc fixes.
15089         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
15090         Rename from frameset-filter-(save|restore)-param.  All callers changed.
15091         Doc fix.
15092         (frameset-p): Adapt to change to vector and be more thorough.
15093         Change arg name to OBJECT.  Doc fix.
15094         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
15095         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
15096         All callers changed.
15097         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
15098         All callers changed.
15099         (frameset--record-minibuffer-relationships): Rename from
15100         frameset--process-minibuffer-frames.  All callers changed.
15101         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
15102         Use new default constructor (again).  Doc fix.
15103         (frameset--find-frame-if): Rename from `frameset--find-frame'.
15104         All callers changed.
15105         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
15106         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
15107         Doc fix.
15108         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
15109         PARAMETERS and WINDOW-STATE, respectively.
15110         (frameset-restore): Add new keyword argument PREDICATE.
15111         Reset frameset--target-display to nil.  Doc fix.
15113 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15115         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
15116         (bat-mode): Use it.
15117         (bat-mode-syntax-table): Mark \n as end-of-comment.
15118         (bat-font-lock-keywords): Remove comment rule.
15120         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
15121         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
15123         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
15124         (byte-compile-callargs-warn): Use `push'.
15125         (byte-compile-arglist-warn): Ignore higher-order "calls".
15126         (byte-compile-file-form-autoload): Use `pcase'.
15127         (byte-compile-function-form): If quoting a symbol, check that it exists.
15129 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
15131         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
15132         and add a few popular commands found in batch files.
15133         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
15134         (dos-mode): Doc fixes.
15136 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15138         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
15139         (dos-mode): Use setq-local.  Add space after "rem".
15140         (dos-mode-syntax-table): Don't use "w" for symbol chars.
15141         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
15143 2013-08-07  Arni Magnusson  <arnima@hafro.is>
15145         * progmodes/dos.el: New file.
15146         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
15147         dos-mode.
15149 2013-08-06  Glenn Morris  <rgm@gnu.org>
15151         * calendar/calendar.el: Add new faces, and day-header-array.
15152         (calendar-weekday-header, calendar-weekend-header)
15153         (calendar-month-header): New faces.
15154         (calendar-day-header-construct): New function.
15155         (calendar-day-header-width): Also :set calendar-day-header-array.
15156         (calendar-american-month-header, calendar-european-month-header)
15157         (calendar-iso-month-header): Use calendar- faces.
15158         (calendar-generate-month):
15159         Use calendar-day-header-array for day headers; apply faces to them.
15160         (calendar-mode): Check calendar-font-lock-keywords non-nil.
15161         (calendar-abbrev-construct): Add optional maxlen argument.
15162         (calendar-day-name-array): Doc fix.
15163         (calendar-day-name-array, calendar-abbrev-length)
15164         (calendar-day-abbrev-array):
15165         Also :set calendar-day-header-array, and maybe redraw.
15166         (calendar-day-header-array): New option.  (Bug#15007)
15167         (calendar-font-lock-keywords): Set to nil and make obsolete.
15168         (calendar-day-name): Add option to use header array.
15170 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15172         * net/shr.el (shr-render-td): Remove debugging.
15173         (shr-render-td): Make width computation consistent by defaulting
15174         all zero-width columns to 10 characters.  This may not be optimal,
15175         but it's at least consistent.
15176         (shr-make-table-1): Redo last change to fix the real problem in
15177         colspan handling.
15179 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
15181         * files.el (cache-long-line-scans):
15182         Make obsolete alias to `cache-long-scans'.
15184 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
15186         * frameset.el (frameset, frameset-filter-alist)
15187         (frameset-filter-params, frameset-save, frameset--reuse-frame)
15188         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
15189         (frameset-compute-pos): Rename from frameset--compute-pos,
15190         and add docstring.
15191         (frameset-move-onscreen): Use frameset-compute-pos.
15192         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15194         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
15195         Fix typos in docstrings.
15197 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
15199         * frame.el (get-other-frame): Tiny cleanup.
15201 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
15203         * vc/vc.el (vc-default-ignore-completion-table):
15204         Silence byte-compiler warning.
15206         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
15207         slot, which can indeed be nil.
15208         (frameset-live-filter-alist, frameset-persistent-filter-alist):
15209         Move entry for `left' from persistent to live filter alist.
15210         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
15211         Doc fixes.
15212         (frameset-filter-params): When restoring a frame, copy items added to
15213         `filtered', to avoid unwittingly modifying the original parameters.
15214         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
15215         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
15217         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
15218         to use looking-at-p instead of looking-at.  (Bug#15028)
15220 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15222         Revert introduction of isearch-filter-predicates (bug#14714).
15223         Rely on add-function instead.
15224         * isearch.el (isearch-filter-predicates): Rename it back to
15225         isearch-filter-predicate.
15226         (isearch-message-prefix): Use advice-function-mapc and advice
15227         properties to get the isearch-message-prefix.
15228         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
15229         instead of run-hook-with-args-until-failure.
15230         (isearch-filter-visible): Not obsolete any more.
15231         * loadup.el: Preload nadvice.
15232         * replace.el (perform-replace): Revert to funcall
15233         instead of run-hook-with-args-until-failure.
15234         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
15235         * dired-aux.el (dired-isearch-filenames-mode): Rename from
15236         dired-isearch-filenames-toggle; make it into a proper minor mode.
15237         Use add/remove-function.
15238         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
15239         Call the minor-mode rather than add/remove-hook.
15240         (dired-isearch-filter-filenames):
15241         Remove isearch-message-prefix property.
15242         * info.el (Info--search-loop): New function, extracted from Info-search.
15243         Funcall isearch-filter-predicate instead of
15244         run-hook-with-args-until-failure isearch-filter-predicates.
15245         (Info-search): Use it.
15246         (Info-mode): Use isearch-filter-predicate instead of
15247         isearch-filter-predicates.
15249 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
15251         Do not call to `selected-window' where it is assumed by default.
15252         Affected functions are `window-minibuffer-p', `window-dedicated-p',
15253         `window-hscroll', `window-width', `window-height', `window-buffer',
15254         `window-frame', `window-start', `window-point', `next-window'
15255         and `window-display-table'.
15256         * abbrev.el (abbrev--default-expand):
15257         * bs.el (bs--show-with-configuration):
15258         * buff-menu.el (Buffer-menu-mouse-select):
15259         * calc/calc.el (calc):
15260         * calendar/calendar.el (calendar-generate-window):
15261         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
15262         (diary-make-entry):
15263         * comint.el (send-invisible, comint-dynamic-complete-filename)
15264         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
15265         * completion.el (complete):
15266         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
15267         * disp-table.el (describe-current-display-table):
15268         * doc-view.el (doc-view-insert-image):
15269         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
15270         * ehelp.el (with-electric-help):
15271         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15272         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
15273         * emacs-lisp/helper.el (Helper-help-scroller):
15274         * emulation/cua-base.el (cua--post-command-handler-1):
15275         * eshell/esh-mode.el (eshell-output-filter):
15276         * ffap.el (ffap-gnus-wrapper):
15277         * help-macro.el (make-help-screen):
15278         * hilit-chg.el (highlight-compare-buffers):
15279         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
15280         * hl-line.el (global-hl-line-highlight):
15281         * icomplete.el (icomplete-simple-completing-p):
15282         * isearch.el (isearch-done):
15283         * jit-lock.el (jit-lock-stealth-fontify):
15284         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
15285         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
15286         * mpc.el (mpc-tagbrowser, mpc):
15287         * net/rcirc.el (rcirc-any-buffer):
15288         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
15289         * play/landmark.el (landmark-max-width, landmark-max-height):
15290         * play/zone.el (zone):
15291         * progmodes/compile.el (compilation-goto-locus):
15292         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
15293         * progmodes/etags.el (find-tag-other-window):
15294         * progmodes/fortran.el (fortran-column-ruler):
15295         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15296         * progmodes/verilog-mode.el (verilog-point-text):
15297         * reposition.el (reposition-window):
15298         * rot13.el (toggle-rot13-mode):
15299         * server.el (server-switch-buffer):
15300         * shell.el (shell-dynamic-complete-command)
15301         (shell-dynamic-complete-environment-variable):
15302         * simple.el (insert-buffer, set-selective-display)
15303         (delete-completion-window):
15304         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
15305         (speedbar-recenter):
15306         * startup.el (fancy-splash-head):
15307         * textmodes/ispell.el (ispell-command-loop):
15308         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
15309         * tutorial.el (help-with-tutorial):
15310         * vc/add-log.el (add-change-log-entry):
15311         * vc/compare-w.el (compare-windows):
15312         * vc/ediff-help.el (ediff-indent-help-message):
15313         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
15314         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
15315         (ediff-setup-control-frame):
15316         * vc/emerge.el (emerge-position-region):
15317         * vc/pcvs-util.el (cvs-bury-buffer):
15318         * window.el (walk-windows, mouse-autoselect-window-select):
15319         * winner.el (winner-set-conf, winner-undo): Related users changed.
15321 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
15323         * frameset.el (frameset--set-id): Doc fix.
15324         (frameset-frame-id, frameset-frame-id-equal-p)
15325         (frameset-locate-frame-id): New functions.
15326         (frameset--process-minibuffer-frames, frameset--reuse-frame)
15327         (frameset-restore): Use them.
15329 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
15331         Do not call to `selected-frame' where it is assumed by default.
15332         Affected functions are `raise-frame', `redraw-frame',
15333         `frame-first-window', `frame-terminal' and `delete-frame'.
15334         * calendar/appt.el (appt-disp-window):
15335         * epg.el (epg-wait-for-completion):
15336         * follow.el (follow-delete-other-windows-and-split)
15337         (follow-avoid-tail-recenter):
15338         * international/mule.el (set-terminal-coding-system):
15339         * mail/rmail.el (rmail-mail-return):
15340         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15341         * progmodes/f90.el (f90-add-imenu-menu):
15342         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
15343         * server.el (server-switch-buffer):
15344         * simple.el (delete-completion-window):
15345         * talk.el (talk):
15346         * term/xterm.el (terminal-init-xterm-modify-other-keys)
15347         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
15348         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
15349         * vc/ediff.el (ediff-documentation): Related users changed.
15350         * frame.el (selected-terminal): Remove the leftover.
15352 2013-08-05  Glenn Morris  <rgm@gnu.org>
15354         * calendar/calendar.el (calendar-generate-month):
15355         Fix for calendar-column-width != 1 + calendar-day-digit-width.
15356         (calendar-generate-month, calendar-font-lock-keywords):
15357         Fix for calendar-day-header-width > length of any day name.
15359 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
15361         * desktop.el (desktop-clear): Use new name of sort predicate.
15363         * frameset.el (frameset): Add docstring.  Move :version property to its
15364         own `version' slot.
15365         (frameset-copy): Rename from copy-frameset.
15366         (frameset-p): Check more thoroughly.
15367         (frameset-prop): Do not check for :version, which is no longer a prop.
15368         (frameset-live-filter-alist, frameset-persistent-filter-alist):
15369         Use new :never value instead of t.
15370         (frameset-filter-alist): Expand and clarify docstring.
15371         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
15372         (frameset-filter-minibuffer, frameset-filter-save-param)
15373         (frameset-filter-restore-param, frameset-filter-iconified):
15374         Add pointer to docstring of frameset-filter-alist.
15375         (frameset-filter-params): Rename filter values to be more meaningful:
15376         :never instead of t, and reverse the meanings of :save and :restore.
15377         (frameset--process-minibuffer-frames): Clarify error message.
15378         (frameset-save): Avoid unnecessary and confusing call to framep.
15379         Use new BOA constructor for framesets.
15380         (frameset--reuse-list): Doc fix.
15381         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
15382         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
15383         (frameset-minibufferless-first-p): Doc fix.
15384         Rename from frameset-sort-frames-for-deletion.
15385         (frameset-restore): Doc fixes.  Use new function names.
15386         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15388 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
15390         * desktop.el (desktop-restore-forces-onscreen)
15391         (desktop-restore-reuses-frames): Document :keyword constant values.
15392         (desktop-filter-parameters-alist): Remove, now identical to
15393         frameset-filter-alist.
15394         (desktop--filter-tty*): Remove, moved to frameset.el.
15395         (desktop-save-frameset, desktop-restore-frameset):
15396         Do not pass :filters argument.
15398         * frameset.el (frameset-live-filter-alist)
15399         (frameset-persistent-filter-alist): New variables.
15400         (frameset-filter-alist): Use them.  Add autoload cookie.
15401         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
15402         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
15403         `frameset--id' (it's supposed to be internal to frameset.el).
15404         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
15405         (frameset--initial-params): New function.
15406         (frameset--get-frame): Use it.  Doc fix.
15407         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
15408         Accept :all, not 'all.
15409         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
15410         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
15411         with fbound symbols.  Fix frame id matching, and remove matching ids if
15412         the frame being restored is deleted.  Obey :delete.
15414 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15416         * subr.el (macrop): New function.
15417         (text-clone--maintaining): New var.
15418         (text-clone--maintain): Rename from text-clone-maintain.  Use it
15419         instead of inhibit-modification-hooks.
15421         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
15422         a proxy, so as handle autoloads and redefinitions of the target.
15423         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
15425         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
15426         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
15427         (pcase--mutually-exclusive-p): New function.
15428         (pcase--split-consp): Use it.
15429         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
15430         mutually exclusive with the current predicate.
15432         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
15433         (edebug-macrop): Remove.  Use `macrop' instead.
15434         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
15435         (ad-macro-p):
15436         * eshell/esh-cmd.el (eshell-macrop):
15437         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
15439 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15441         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
15442         (advice-mapc): New function, using it.
15443         (advice-function-member-p): New function.
15444         (advice--normalize): Store the cdr in advice--saved-rewrite since
15445         that's the part that will be changed.
15446         (advice--symbol-function): New function.
15447         (advice-remove): Handle removal before the function is defined.
15448         Adjust to new advice--saved-rewrite.
15449         (advice-member-p): Use advice-function-member-p and
15450         advice--symbol-function.
15452 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
15454         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
15455         (frameset-filter-minibuffer): Doc fix.
15456         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
15457         (frameset--set-id, frameset--process-minibuffer-frames)
15458         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
15459         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
15461         * desktop.el (desktop-clear): Only delete frames when called
15462         interactively and desktop-restore-frames is non-nil.  Doc fix.
15463         (desktop-read): Set desktop-saved-frameset to nil.
15465 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
15467         * vc/vc.el (vc-ignore): Rewrite.
15468         (vc-default-ignore-completion-table, vc--read-lines)
15469         (vc--add-line, vc--remove-regexp): New functions.
15471         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
15472         (vc-svn-ignore-completion-table): New function.
15474         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
15475         (vc-hg-ignore-completion-table)
15476         (vc-hg-find-ignore-file): New functions.
15478         * vc/vc-git.el (vc-git-ignore): Rewrite.
15479         (vc-git-ignore-completion-table)
15480         (vc-git-find-ignore-file): New functions.
15482         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
15484         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
15485         (vc-bzr-ignore-completion-table)
15486         (vc-bzr-find-ignore-file): New functions.
15488 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
15490         * frameset.el (frameset-prop): New function and setter.
15491         (frameset-save): Do not modify frame list passed by the caller.
15493 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15495         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
15497 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15499         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
15500         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
15502         * custom.el (custom-initialize-default, custom-initialize-set)
15503         (custom-initialize-reset, custom-initialize-changed): Affect the
15504         toplevel-default-value (bug#6275, bug#14586).
15505         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
15506         for bug#6275.
15508 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
15510         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
15511         Add cl-def* expressions.
15513         * frameset.el (frameset-filter-params): Fix order of arguments.
15515 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
15517         Move code related to saving frames to frameset.el.
15518         * desktop.el: Require frameset.
15519         (desktop-restore-frames): Doc fix.
15520         (desktop-restore-reuses-frames): Rename from
15521         desktop-restoring-reuses-frames.
15522         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
15523         (desktop-clear): Clear frames too.
15524         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
15525         (desktop--filter-tty*, desktop-save, desktop-read):
15526         Use frameset functions.
15527         (desktop-before-saving-frames-functions, desktop--filter-*-color)
15528         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15529         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
15530         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
15531         (desktop--process-minibuffer-frames, desktop-save-frames)
15532         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
15533         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
15534         (desktop--sort-states, desktop-restoring-frames-p)
15535         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
15536         (desktop-restoring-frameset-p, desktop-restore-frameset)
15537         (desktop--check-dont-save, desktop-save-frameset): New functions.
15538         (desktop--app-id): New constant.
15539         (desktop-first-buffer, desktop-buffer-ok-count)
15540         (desktop-buffer-fail-count): Move before first use.
15541         * frameset.el: New file.
15543 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15545         * files.el: Use lexical-binding.
15546         (dir-locals-read-from-file): Remove unused `err' variable.
15547         (hack-dir-local-variables--warned-coding): New var.
15548         (hack-dir-local-variables): Use it to avoid repeated warnings.
15549         (make-backup-file-name--default-function): New function.
15550         (make-backup-file-name-function): Use it as default.
15551         (buffer-stale--default-function): New function.
15552         (buffer-stale-function): Use it as default.
15553         (revert-buffer-insert-file-contents--default-function): New function.
15554         (revert-buffer-insert-file-contents-function): Use it as default.
15555         (insert-directory): Avoid add-to-list.
15557         * autorevert.el (auto-revert-handler): Simplify.
15558         Use buffer-stale--default-function.
15560 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
15562         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
15564         * whitespace.el (whitespace-ensure-local-variables): New function.
15565         (whitespace-cleanup-region): Call it.
15566         (whitespace-turn-on): Call it.
15568 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
15570         Complete file name handlers.
15572         * net/tramp.el (tramp-handle-set-visited-file-modtime)
15573         (tramp-handle-verify-visited-file-modtime)
15574         (tramp-handle-file-notify-rm-watch): New functions.
15575         (tramp-call-process): Do not bind `default-directory'.
15577         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15578         Order alphabetically.
15579         <access-file, add-name-to-file, dired-call-process>:
15580         <dired-compress-file, file-acl, file-notify-rm-watch>:
15581         <file-ownership-preserved-p, file-selinux-context>:
15582         <make-directory-internal, make-symbolic-link, set-file-acl>:
15583         <set-file-selinux-context, set-visited-file-modtime>:
15584         <verify-visited-file-modtime>: Add handler.
15585         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
15587         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
15588         <file-notify-add-watch, file-notify-rm-watch>:
15589         <set-file-times, set-visited-file-modtime>:
15590         <verify-visited-file-modtime>: Add handler.
15591         (with-tramp-gvfs-error-message)
15592         (tramp-gvfs-handle-set-visited-file-modtime)
15593         (tramp-gvfs-fuse-file-name): Remove.
15594         (tramp-gvfs-handle-file-notify-add-watch)
15595         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
15596         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
15598         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15599         Order alphabetically.
15600         <file-notify-rm-watch>: Use default Tramp handler.
15601         <executable-find>: Remove private handler.
15602         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
15603         `default-directory'.
15604         (tramp-sh-handle-executable-find)
15605         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
15606         (tramp-sh-file-gvfs-monitor-dir-process-filter)
15607         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
15608         Do not use `format' in `tramp-message'.
15610         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
15611         <file-notify-rm-watch, set-visited-file-modtime>:
15612         <verify-visited-file-modtime>: Add handler.
15613         (tramp-smb-call-winexe): Do not bind `default-directory'.
15615 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
15617         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
15619 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
15621         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
15622         use it.
15623         (log-view-diff-changeset): Same.
15624         (log-view-diff-common): Call backend command `previous-revision'
15625         to find out the previous revision, in both cases.  Swap the
15626         variables `to' and `fr', so that `fr' usually refers to the
15627         earlier revision (Bug#14989).
15629 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
15631         * ibuf-ext.el (ibuffer-filter-by-filename):
15632         Make it work with dired buffers too.
15634 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
15636         * emacs-lisp/re-builder.el (reb-color-display-p):
15637         * files.el (save-buffers-kill-terminal):
15638         * net/browse-url.el (browse-url):
15639         * server.el (server-save-buffers-kill-terminal):
15640         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
15641         Prefer nil to selected-frame for the first arg of frame-parameter.
15643 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
15645         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
15647 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
15649         * minibuffer.el (completion--twq-all): Try and preserve each
15650         completion's case choice (bug#14907).
15652 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15654         * net/network-stream.el (open-network-stream): Mention the new
15655         :nogreeting parameter.
15656         (network-stream-open-starttls): Use the :nogreeting parameter
15657         (bug#14938).
15659         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
15661         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
15662         more natural than popping.
15664         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
15665         (shr-urlify): Highlight under mouse.
15667 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
15669         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
15671         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
15673         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
15674         buffer for output.
15676         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
15677         point-min==1.  Fix search string.  Fix parentheses missing.
15679         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
15680         assume point-min==1.  Fix search string.  Fix parentheses missing.
15682         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
15684         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
15685         buffer for output.
15687 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
15689         * frame.el (frame-notice-user-settings): Avoid inflooping when the
15690         initial frame is minibuffer-less.  (Bug#14841)
15692 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
15694         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
15695         option.
15697         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15698         (tramp-maybe-open-connection): Use it.
15700 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
15702         * desktop.el (desktop--make-frame): Include `minibuffer' in the
15703         minimal set of parameters passed when creating a frame, because
15704         the minibuffer status of a frame cannot be changed later.
15706 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
15708         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
15709         replace-regexp-in-string and inadvertent omissions in previous change.
15710         (todo-filter-items): Ensure only file names are comma-separated in
15711         name of filtered items buffer.
15713 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
15715         * desktop.el: Optionally force offscreen frames back onscreen.
15716         (desktop-restoring-reuses-frames): New option.
15717         (desktop--compute-pos, desktop--move-onscreen): New functions.
15718         (desktop--make-frame): Use desktop--move-onscreen.
15720 2013-07-27  Alan Mackenzie  <acm@muc.de>
15722         Fontify a Java generic method as a function.
15723         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
15724         value to t.
15726 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
15728         * calendar/todo-mode.el: Add command to rename todo files.
15729         (todo-rename-file): New command.
15730         (todo-key-bindings-t): Add key binding for it.  Change the
15731         bindings of todo-filter-regexp-items(-multifile) to use `x'
15732         instead of `r', since the latter is better suited to the new
15733         renaming command.
15735 2013-07-27  Alan Mackenzie  <acm@muc.de>
15737         Make Java try-with-resources statement parse properly.
15738         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
15739         (c-block-stmt-1-2-key): New language constants/variables.
15740         * progmodes/cc-engine.el (c-beginning-of-statement-1)
15741         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
15742         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
15743         with c-block-stmt-1-2-key.
15745 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
15747         * desktop.el (desktop--make-frame): Apply most frame parameters after
15748         creating the frame to force (partially or totally) offscreen frames to
15749         be restored as such.
15751 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
15753         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
15754         (Bug#14948)
15756 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15758         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
15759         `base' arg of backtrace-frame.
15761 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
15763         * simple.el (list-processes): Doc fix.
15765 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
15767         * desktop.el (desktop--select-frame):
15768         Try harder to reuse existing frames.
15770 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15772         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
15773         (edebug-eval): Use backtrace-eval.
15774         (edebug--display, edebug--recursive-edit): Don't let-bind the
15775         edebug-outer-* vars that keep track of variables we locally let-bind.
15776         (edebug-outside-excursion): Don't restore outside values of locally
15777         let-bound vars.
15778         (edebug--display): Use user-error.
15779         (cl-lexical-debug, cl-debug-env): Remove.
15781 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
15783         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
15784         are restored to be sure that they are visible before deleting any
15785         remaining ones.
15787 2013-07-26  Matthias Meulien  <orontee@gmail.com>
15789         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
15790         vc-print-root-log.  (Bug#14948)
15792 2013-07-26  Richard Stallman  <rms@gnu.org>
15794         Add aliases for encrypting mail.
15795         * epa.el (epa-mail-aliases): New option.
15796         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
15797         Bind inhibit-read-only so read-only text doesn't ruin everything.
15798         (epa-mail-default-recipients): New subroutine broken out.
15799         Handle epa-mail-aliases.
15801 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15803         Add support for lexical variables to the debugger's `e' command.
15804         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
15805         vars, except for debugger-outer-match-data.
15806         (debugger-frame-number): Move check for "on a function call" from
15807         callers into it.  Add `skip-base' argument.
15808         (debugger-frame, debugger-frame-clear): Simplify accordingly.
15809         (debugger-env-macro): Only reset the state stored in non-variables,
15810         i.e. current-buffer and match-data.
15811         (debugger-eval-expression): Rewrite using backtrace-eval.
15812         * subr.el (internal--called-interactively-p--get-frame): Remove.
15813         (called-interactively-p):
15814         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
15815         `base' arg of backtrace-frame instead.
15817 2013-07-26  Glenn Morris  <rgm@gnu.org>
15819         * align.el (align-regexp): Doc fix.  (Bug#14857)
15820         (align-region): Explicit error if subexpression missing/does not match.
15822         * simple.el (global-visual-line-mode):
15823         Do not duplicate the mode lighter.  (Bug#14858)
15825 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
15827         * window.el (display-buffer): In display-buffer bind
15828         split-window-keep-point to t, bug#14829.
15830 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
15832         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
15833         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
15834         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
15835         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15836         Change accordingly.
15837         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15838         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
15840 2013-07-25  Glenn Morris  <rgm@gnu.org>
15842         * dired-x.el (dired-mark-extension): Convert comment to doc string.
15844 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
15846         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
15847         parameter to modify-frame-parameters if the value has not changed;
15848         this is a workaround for bug#14949.
15849         (desktop--make-frame): On cl-delete-if call, check parameter name,
15850         not full parameter.
15852 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
15854         * vc/vc.el (vc-ignore): New function.
15856         * vc/vc-svn.el (vc-svn-ignore): New function.
15858         * vc/vc-hg.el (vc-hg-ignore): New function.
15860         * vc/vc-git.el (vc-git-ignore): New function.
15862         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
15863         (vc-dir-ignore): New function.
15865         * vc/vc-cvs.el (vc-cvs-ignore): New function.
15866         (cvs-append-to-ignore): Move here from pcvs.el.
15868         * vc/vc-bzr.el (vc-bzr-ignore): New function.
15870         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
15872 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
15874         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
15875         (desktop-restore-frames): Warn when deleting an existing frame failed.
15877 2013-07-24  Glenn Morris  <rgm@gnu.org>
15879         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
15881 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
15883         * filenotify.el (file-notify-supported-p):
15884         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
15885         Remove functions.
15887         * autorevert.el (auto-revert-use-notify)
15888         (auto-revert-notify-add-watch):
15889         * net/tramp.el (tramp-file-name-for-operation):
15890         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15891         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15892         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15893         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
15894         Remove `file-notify-supported-p' entry.
15896 2013-07-24  Glenn Morris  <rgm@gnu.org>
15898         * printing.el: Replace all uses of deleted ps-windows-system,
15899         ps-lp-system, ps-flatten-list with lpr- versions.
15901 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15903         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
15904         checked with memq (bug#14935).
15906         * files.el (revert-buffer-function): Use a non-nil default.
15907         (revert-buffer-preserve-modes): Declare var to
15908         provide access to the `preserve-modes' argument.
15909         (revert-buffer): Let-bind it.
15910         (revert-buffer--default): New function, extracted from revert-buffer.
15912 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15914         * lpr.el: Signal print errors more prominently.
15915         (print-region-function): Don't default to nil.
15916         (lpr-print-region): New function, extracted from print-region-1.
15917         Check lpr's return value and signal an error in case of problem.
15918         (print-region-1): Use it.
15919         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
15920         versions instead.
15921         (ps-printer-name): Default to nil.
15922         (ps-printer-name-option): Default to lpr-printer-switch.
15923         (ps-print-region-function): Don't default to nil.
15924         (ps-postscript-code-directory): Simplify default.
15925         (ps-do-despool): Use lpr-print-region to properly check the outcome.
15926         (ps-string-list, ps-eval-switch, ps-flatten-list)
15927         (ps-flatten-list-1): Remove.
15928         (ps-multibyte-buffer): Avoid setq.
15929         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
15930         (print-region-function, ps-print-region-function): Don't set them here.
15932 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
15934         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
15935         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
15936         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
15937         (ido-decorations): Doc fix.
15939         * ansi-color.el: Fix old URL.
15941 2013-07-23  Michael R. Mauger  <michael@mauger.com>
15943         * progmodes/sql.el: Version 3.3
15944         (sql-product-alist): Improve oracle :prompt-cont-regexp.
15945         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
15946         (sql-interactive-remove-continuation-prompt): Rewrite, use
15947         functions above.  Fix continuation prompt and complete output line
15948         handling.
15949         (sql-redirect-one, sql-execute): Use `read-only-mode' on
15950         redirected output buffer.
15951         (sql-mode): Restore deleted code (Bug#13591).
15953 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
15955         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
15957 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
15959         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
15961         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15962         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15963         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
15965 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
15967         * desktop.el (desktop-clear): Simplify; remove useless checks
15968         against invalid buffer names.
15969         (desktop-list*): Use cl-list*.
15970         (desktop-buffer-info, desktop-create-buffer): Simplify.
15972 2013-07-23  Leo Liu  <sdl.web@gmail.com>
15974         * bookmark.el (bookmark-make-record): Restore NAME as a default
15975         value.  (Bug#14933)
15977 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15979         * emacs-lisp/autoload.el (autoload--setup-output): New function,
15980         extracted from autoload--insert-text.
15981         (autoload--insert-text): Remove.
15982         (autoload--print-cookie-text): New function, extracted from
15983         autoload--insert-cookie-text.
15984         (autoload--insert-cookie-text): Remove.
15985         (autoload-generate-file-autoloads): Adjust calls accordingly.
15987         * winner.el (winner-hook-installed-p): Remove.
15988         (winner-mode): Simplify accordingly.
15990         * subr.el (add-to-list): Fix compiler-macro when `append' is
15991         not constant.  Don't use `cl-member' for the base case.
15993         * progmodes/subword.el: Fix boundary case (bug#13758).
15994         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
15995         own group.
15996         (subword-backward-regexp): Make it a constant.
15997         (subword-forward-internal): Don't treat a trailing capital as the
15998         beginning of a word.
16000 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
16002         * emacs-lisp/package.el (package-menu-mode): Don't modify the
16003         global value of tabulated-list-revert-hook (bug#14930).
16005 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
16007         * desktop.el: Require 'cl-lib.
16008         (desktop-before-saving-frames-functions): New hook.
16009         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
16010         for frames being saved.  Rename from desktop--save-minibuffer-frames.
16011         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
16012         Do not save frames with non-nil `desktop-dont-save' parameter.
16013         Filter out deleted frames.
16014         (desktop--find-frame): Use cl-find-if.
16015         (desktop--select-frame): Use cl-(first|second|third) to access values
16016         of desktop-mini.
16017         (desktop--make-frame): Use cl-delete-if.
16018         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
16019         (desktop-restore-frames): Use cl-(first|second|third) to access values
16020         of desktop-mini.  Look for visible frame at the end, not while
16021         restoring frames.
16023         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
16024         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
16025         Use string-match-p, looking-at-p (bug#14927).
16027 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
16029         * desktop.el (desktop-saved-frame-states):
16030         Rename from desktop--saved-states; all users changed.
16031         (desktop-save-frames): Rename from desktop--save-frames.
16032         Do not save state to desktop file.
16033         (desktop-save): Save desktop-saved-frame-states to desktop file
16034         and reset to nil.
16035         (desktop-restoring-frames-p): New function.
16036         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
16037         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
16038         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
16040         * desktop.el: Correctly restore iconified frames.
16041         (desktop--filter-iconified-position): New function.
16042         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
16044 2013-07-20  Glenn Morris  <rgm@gnu.org>
16046         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
16047         Let `message' do the formatting.
16048         (def-gdb-preempt-display-buffer): Add explicit format.
16050         * image-dired.el (image-dired-track-original-file):
16051         Use with-current-buffer.
16052         (image-dired-track-thumbnail): Use with-current-buffer.
16053         Avoid changing point of wrong window.
16055         * image-dired.el (image-dired-track-original-file):
16056         Avoid changing point of wrong window.  (Bug#14909)
16058 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
16060         * progmodes/gdb-mi.el (gdb-done-or-error):
16061         Guard against "%" in gdb output.  (Bug#14127)
16063 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
16065         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
16066         (Bug#14826)
16068         * international/mule.el (coding-system-iso-2022-flags): Fix last
16069         change.
16071 2013-07-20  Kenichi Handa  <handa@gnu.org>
16073         * international/mule.el (coding-system-iso-2022-flags):
16074         Add `8-bit-level-4'.  (Bug#8522)
16076 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16078         * net/shr.el (shr-mouse-browse-url): New command and keystroke
16079         (bug#14815).
16081         * net/eww.el (eww-process-text-input): Allow inputting when the
16082         point is at the start of the line, as the properties aren't
16083         front-sticky.
16085         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
16086         degenerate widths.
16088 2013-07-19  Richard Stallman  <rms@gnu.org>
16090         * epa.el (epa-popup-info-window): Doc fix.
16092         * subr.el (split-string): New arg TRIM.
16094 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
16096         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
16097         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
16099 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
16101         * filenotify.el (file-notify--library): Rename from
16102         `file-notify-support'.  Do not autoload.  Adapt all uses.
16103         (file-notify-supported-p): New defun.
16105         * autorevert.el (auto-revert-use-notify):
16106         Use `file-notify-supported-p' instead of `file-notify-support'.
16107         Adapt docstring.
16108         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
16110         * net/tramp.el (tramp-file-name-for-operation):
16111         Add `file-notify-supported-p'.
16113         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16114         New defun.
16115         (tramp-sh-file-name-handler-alist): Add it as handler for
16116         `file-notify-supported-p '.
16118         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16119         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16120         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16121         Add `ignore' as handler for `file-notify-*' functions.
16123 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
16125         * simple.el (line-move-partial, line-move): Don't start vscroll or
16126         scroll-up if the current line is not taller than the window.
16127         (Bug#14881)
16129 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
16131         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
16132         highlight question marks in the method names as strings.
16133         (ruby-block-beg-keywords): Inline.
16134         (ruby-font-lock-keyword-beg-re): Extract from
16135         `ruby-font-lock-keywords'.
16137 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
16139         * frame.el (blink-cursor-blinks): New defcustom.
16140         (blink-cursor-blinks-done): New defvar.
16141         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
16142         (blink-cursor-timer-function): Check if number of blinks has been
16143         done on X and NS.
16144         (blink-cursor-suspend, blink-cursor-check): New defuns.
16146 2013-07-15  Glenn Morris  <rgm@gnu.org>
16148         * edmacro.el (edmacro-format-keys): Fix previous change.
16150 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
16152         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
16153         The hack didn't work outside English locales anyway.
16155 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
16157         * simple.el (define-alternatives): Rename from alternatives-define,
16158         per RMS' suggestion.
16160 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
16162         * desktop.el (desktop-restore-frames): Change default to t.
16163         (desktop-restore-in-current-display): Now offer more options.
16164         (desktop-restoring-reuses-frames): New customization option.
16165         (desktop--saved-states): Doc fix.
16166         (desktop-filter-parameters-alist): New variable, renamed and expanded
16167         from desktop--excluded-frame-parameters.
16168         (desktop--target-display): New variable.
16169         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
16170         (desktop--filter-tty*, desktop--filter-*-color)
16171         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16172         (desktop--filter-save-desktop-parm)
16173         (desktop-restore-in-original-display-p): New functions.
16174         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
16175         (desktop--save-minibuffer-frames): New function, inspired by a similar
16176         function from Martin Rudalics.
16177         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
16178         (desktop--restore-in-this-display-p): Remove.
16179         (desktop--find-frame): Rename from desktop--find-frame-in-display
16180         and add predicate argument.
16181         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
16182         (desktop--reuse-list): New variable.
16183         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
16184         New functions.
16185         (desktop--restore-frames): Add support for "minibuffer-special" frames.
16187 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
16189         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
16191 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
16193         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16194         Highlight conversion methods on Kernel.
16196 2013-07-13  Alan Mackenzie  <acm@muc.de>
16198         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
16199         and comment it out.  This out-commenting enables certain C++
16200         declarations to be parsed correctly.
16202 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
16204         * international/mule.el (define-coding-system): Doc fix.
16206         * simple.el (default-font-height): Don't call font-info if the
16207         frame's default font didn't change since the frame was created.
16208         (Bug#14838)
16210 2013-07-13  Leo Liu  <sdl.web@gmail.com>
16212         * ido.el (ido-read-file-name): Guard against non-symbol value.
16214 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16216         * progmodes/python.el (python-imenu--build-tree): Fix corner case
16217         in nested defuns.
16219 2013-07-13  Leo Liu  <sdl.web@gmail.com>
16221         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
16222         ido-set-matches call.  (Bug#6852)
16224 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
16226         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
16227         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
16228         Ruby 2.0.
16229         (ruby-font-lock-keywords): Distinguish calls to functions with
16230         module-like names from module references.  Highlight character
16231         literals.
16233 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
16235         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
16236         (gdb-send): Handle continued commands.  (Bug#14847)
16238 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
16240         * desktop.el (desktop--v2s): Remove unused local variable.
16241         (desktop-save-buffer): Make defvar-local; adjust docstring.
16242         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
16243         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
16245 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
16247         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
16249 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
16251         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
16252         (Bug#14842)
16254 2013-07-12  Glenn Morris  <rgm@gnu.org>
16256         * doc-view.el: Require cl-lib at runtime too.
16257         (doc-view-remove-if): Remove.
16258         (doc-view-search-next-match, doc-view-search-previous-match):
16259         Use cl-remove-if.
16261         * edmacro.el: Require cl-lib at runtime too.
16262         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
16263         (edmacro-mismatch, edmacro-subseq): Remove.
16265         * shadowfile.el: Require cl-lib.
16266         (shadow-remove-if): Remove.
16267         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
16268         Use cl-remove-if.
16270         * wid-edit.el: Require cl-lib.
16271         (widget-choose): Use cl-remove-if.
16272         (widget-remove-if): Remove.
16274         * progmodes/ebrowse.el: Require cl-lib at runtime too.
16275         (ebrowse-delete-if-not): Remove.
16276         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
16277         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
16278         Use cl-delete-if-not.
16280 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
16282         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
16283         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
16285 2013-07-12  Leo Liu  <sdl.web@gmail.com>
16287         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
16289 2013-07-11  Glenn Morris  <rgm@gnu.org>
16291         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
16292         (edebug-gensym-index, edebug-gensym):
16293         Remove reimplementation of cl-gensym.
16294         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
16296         * thumbs.el: Require cl-lib at run-time too.
16297         (thumbs-gensym-counter, thumbs-gensym):
16298         Remove reimplementation of cl-gensym.
16299         (thumbs-temp-file): Use cl-gensym.
16301         * emacs-lisp/ert.el: Require cl-lib at runtime too.
16302         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
16303         (ert--intersection, ert--set-difference, ert--set-difference-eq)
16304         (ert--union, ert--gensym-counter, ert--gensym-counter)
16305         (ert--coerce-to-vector, ert--remove*, ert--string-position)
16306         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
16307         (ert-make-test-unbound, ert--expand-should-1)
16308         (ert--expand-should, ert--should-error-handle-error)
16309         (should-error, ert--explain-equal-rec)
16310         (ert--plist-difference-explanation, ert-select-tests)
16311         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
16312         Use cl-lib functions rather than reimplementations.
16314 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
16316         * net/tramp.el (tramp-methods): Extend docstring.
16317         (tramp-connection-timeout): New defcustom.
16318         (tramp-error-with-buffer): Reset timestamp only when appropriate.
16319         (with-tramp-progress-reporter): Simplify.
16320         (tramp-process-actions): Improve messages.
16322         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16323         * net/tramp-sh.el (tramp-maybe-open-connection):
16324         Use `tramp-connection-timeout'.
16325         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
16326         (Bug#14808)
16328 2013-07-11  Leo Liu  <sdl.web@gmail.com>
16330         * ido.el (ido-read-file-name): Conform to the requirements of
16331         read-file-name.  (Bug#11861)
16332         (ido-read-directory-name): Conform to the requirements of
16333         read-directory-name.
16335 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
16337         * subr.el (delay-warning): New function.
16339 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
16341         * simple.el (default-line-height): New function.
16342         (line-move-partial, line-move): Use it instead of computing the
16343         line height inline.
16344         (line-move-partial): Always compute ROWH.  If the last line is
16345         partially-visible, but its text is completely visible, allow
16346         cursor to enter such a partially-visible line.
16348 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
16350         Improve error messages.  (Bug#14808)
16352         * net/tramp.el (tramp-current-connection): New defvar, moved from
16353         tramp-sh.el.
16354         (tramp-message-show-progress-reporter-message): Remove, not
16355         needed anymore.
16356         (tramp-error-with-buffer): Show message in minibuffer.
16357         Discard input before waiting.  Reset connection timestamp.
16358         (with-tramp-progress-reporter): Improve messages.
16359         (tramp-process-actions): Use progress reporter.  Delete process in
16360         case of error.  Improve messages.
16362         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
16363         Call `tramp-error-with-buffer' with vector and buffer.
16364         (tramp-current-connection): Remove.
16365         (tramp-maybe-open-connection): The car of
16366         `tramp-current-connection' are the first 3 slots of the vector.
16368 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
16370         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
16371         inside continued strings.
16373 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
16375         Timestamp fixes for undo (Bug#14824).
16376         * files.el (clear-visited-file-modtime): Move here from fileio.c.
16378 2013-07-10  Leo Liu  <sdl.web@gmail.com>
16380         * files.el (require-final-newline): Allow safe local value.
16381         (Bug#14834)
16383 2013-07-09  Leo Liu  <sdl.web@gmail.com>
16385         * ido.el (ido-read-directory-name): Handle fallback.
16386         (ido-read-file-name): Update DIR to ido-current-directory.
16387         (Bug#1516)
16388         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
16390 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
16392         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
16393         "autoload".  Remove "warn lower camel case" section, previously
16394         commented out.  Highlight negation char.  Do not highlight the
16395         target in singleton method definitions.
16397 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16399         * faces.el (tty-setup-hook): Declare the hook.
16401         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
16402         and detect when a guard/pred depends on local vars (bug#14773).
16403         (pcase--u1): Adjust caller.
16405 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
16407         * simple.el (line-move-partial, line-move): Account for
16408         line-spacing.
16409         (line-move-partial): Avoid setting vscroll when the last
16410         partially-visible line in window is of default height.
16412 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16414         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
16415         been used a while.
16417 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
16419         * subr.el (read-quoted-char): Remove unused local variable `char'.
16421 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
16423         * vc/ediff.el (ediff-version): Version update.
16424         (ediff-files-command, ediff3-files-command, ediff-merge-command)
16425         (ediff-merge-with-ancestor-command, ediff-directories-command)
16426         (ediff-directories3-command, ediff-merge-directories-command)
16427         (ediff-merge-directories-with-ancestor-command): New functions.
16428         All are command-line interfaces to ediff: to facilitate calling
16429         Emacs with the appropriate ediff functions invoked.
16431         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
16432         New function.
16433         (viper-save-kill-buffer): Check if buffer is modified.
16435         * emulation/viper.el (viper-version): Version update.
16436         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
16438 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16440         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
16441         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
16442         (viper-intercept-ESC-key): Simplify.
16443         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
16444         don't use kbd.
16445         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
16446         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
16447         (viper-setup-ESC-to-escape): New functions.
16448         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
16449         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
16451 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
16453         * simple.el (default-font-height, window-screen-lines):
16454         New functions.
16455         (line-move, line-move-partial): Use them instead of
16456         frame-char-height and window-text-height.  This makes scrolling
16457         text smoother when the buffer's default face uses a font that is
16458         different from the frame's default font.
16460 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
16462         * files.el (write-file): Do not display confirm dialog for NS,
16463         it does its own dialog, which can't be canceled (Bug#14578).
16465 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
16467         * simple.el (line-move-partial): Adjust the row returned by
16468         posn-at-point for the current window-vscroll.  (Bug#14567)
16470 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
16472         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
16473         (tramp-sh-file-inotifywait-process-filter): Handle file names with
16474         spaces.
16476 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
16478         * window.el (window-state-put-stale-windows): New variable.
16479         (window--state-put-2): Save list of windows without matching buffer.
16480         (window-state-put): Remove "bufferless" windows if possible.
16482 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
16484         * simple.el (alternatives-define): Remove leftover :group keyword.
16485         Tweak docstring.
16487 2013-07-06  Leo Liu  <sdl.web@gmail.com>
16489         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
16490         (ido-enable-virtual-buffers): New variable.
16491         (ido-buffer-internal, ido-toggle-virtual-buffers)
16492         (ido-make-buffer-list): Use it.
16493         (ido-exhibit): Support turning on and off virtual buffers
16494         automatically.
16496 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
16498         * simple.el (alternatives-define): New macro.
16500 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16502         * subr.el (read-quoted-char): Use read-key.
16503         (sit-for): Let read-event decode tty input (bug#14782).
16505 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
16507         * calendar/todo-mode.el: Add handling of file deletion, both by
16508         mode command and externally.  Fix various related bugs.
16509         Clarify Commentary and improve some documentation strings and code.
16510         (todo-delete-file): New command.
16511         (todo-check-file): New function.
16512         (todo-show): Handle external deletion of the file we're trying to
16513         show (bug#14688).  Replace called-interactively-p by an optional
16514         prefix argument to avoid problematic interaction with catch form
16515         when byte compiled (bug#14702).
16516         (todo-quit): Handle external deletion of the archive's todo file.
16517         Make sure the buffer that was visiting the archive file is still
16518         live before trying to bury it.
16519         (todo-category-completions): Handle external deletion of any
16520         category completion files.
16521         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
16522         of todo files, in case of external deletion.
16523         (todo-add-file): Replace unnecessary setq by let-binding.
16524         (todo-find-archive): Check whether there are any archives.
16525         Replace unnecessary setq by let-binding.
16526         (todo-archive-done-item): Use find-file-noselect to get the
16527         archive buffer whether or not the archive already exists.
16528         Remove superfluous code.  Use file size instead of buffer-file-name to
16529         check if the archive is new; if it is, update list of archives.
16530         (todo-default-todo-file): Allow nil to be a valid value for when
16531         there are no todo files.
16532         (todo-reevaluate-default-file-defcustom): Use corrected definition
16533         of todo-default-todo-file.
16534         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
16535         (todo-delete-category, todo-show-categories-table)
16536         (todo-category-number): Clarify comment.
16537         (todo-filter-items): Clarify documentation string.
16538         (todo-show-current-file, todo-display-as-todo-file)
16539         (todo-reset-and-enable-done-separator): Tweak documentation string.
16540         (todo-done-separator): Make separator length window-width, since
16541         bug#2749 is now fixed.
16543 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
16545         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16546         Support both "gvfs-monitor-dir" and "inotifywait".
16547         (tramp-sh-file-inotifywait-process-filter): Rename from
16548         `tramp-sh-file-notify-process-filter'.
16549         (tramp-sh-file-gvfs-monitor-dir-process-filter)
16550         (tramp-get-remote-gvfs-monitor-dir): New defuns.
16552 2013-07-05  Leo Liu  <sdl.web@gmail.com>
16554         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
16556 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16558         * frame.el (display-pixel-height, display-pixel-width)
16559         (display-mm-height, display-mm-width): Mention behavior on
16560         multi-monitor setups in docstrings.
16561         (w32-display-monitor-attributes-list): Declare function.
16562         (display-monitor-attributes-list): Use it.
16564 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
16566         * filenotify.el: New package.
16568         * autorevert.el (top): Require filenotify.el.
16569         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
16570         instead.
16571         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16572         (auto-revert-notify-handler): Use `file-notify-*' functions.
16574         * subr.el (file-notify-handle-event): Move function to filenotify.el.
16576         * net/tramp.el (tramp-file-name-for-operation):
16577         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
16579         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
16580         for `file-notify-add-watch' and `file-notify-rm-watch'.
16581         (tramp-process-sentinel): Improve trace.
16582         (tramp-sh-handle-file-notify-add-watch)
16583         (tramp-sh-file-notify-process-filter)
16584         (tramp-sh-handle-file-notify-rm-watch)
16585         (tramp-get-remote-inotifywait): New defuns.
16587 2013-07-03  Juri Linkov  <juri@jurta.org>
16589         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
16590         call of `occur-read-primary-args' to interactive spec.
16592         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
16593         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
16595 2013-07-03  Matthias Meulien  <orontee@gmail.com>
16597         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
16598         `Buffer-menu-multi-occur'.  Add it to the menu.
16599         (Buffer-menu-mode): Document it in docstring.
16600         (Buffer-menu-multi-occur): New command.  (Bug#14673)
16602 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
16604         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
16605         keywords and built-ins.
16607 2013-07-03  Glenn Morris  <rgm@gnu.org>
16609         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
16611         Make info-xref checks case-sensitive by default
16612         * info.el (Info-find-node, Info-find-in-tag-table)
16613         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
16614         Add option for exact case matching of nodes.
16615         * info-xref.el (info-xref): New custom group.
16616         (info-xref-case-fold): New option.
16617         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
16619 2013-07-03  Leo Liu  <sdl.web@gmail.com>
16621         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
16623 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
16625         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
16626         middle of block statement initially, lower the depth.  Remove
16627         FIXME comment, not longer valid.  Remove middle of block statement
16628         detection, no need to do that anymore since we've been using
16629         `ruby-parse-region' here.
16631 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
16633         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
16635 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
16637         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
16639 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
16641         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
16642         (desktop-restore-in-current-display): New customization option.
16643         (desktop--excluded-frame-parameters): Add `font'.
16644         (desktop--save-frames): Rename from desktop--save-windows.
16645         (desktop--restore-in-this-display-p): New function.
16646         (desktop--make-full-frame): Remove unwanted width/height from
16647         full(width|height) frames.
16648         (desktop--restore-frames): Rename from desktop--restore-windows.
16649         Obey desktop-restore-current-display.  Do not delete old frames or
16650         select a new frame unless we were able to restore at least one frame.
16652 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
16654         * files.el (find-file-noselect): Simplify conditional expression.
16656         * textmodes/remember.el (remember-append-to-file):
16657         Don't mix `find-buffer-visiting' and `get-file-buffer'.
16659         Add `remember-notes' function to store random notes across Emacs
16660         restarts.
16661         * textmodes/remember.el (remember-data-file): Add :set callback to
16662         affect notes buffer (if any).
16663         (remember-notes): New command.
16664         (remember-notes-buffer-name, bury-remember-notes-on-kill):
16665         New defcustoms for the `remember-notes' function.
16666         (remember-notes-save-and-bury-buffer): New command.
16667         (remember-notes-mode-map): New variable.
16668         (remember-mode): New minor mode.
16669         (remember-notes--kill-buffer-query): New function.
16670         * startup.el (initial-buffer-choice): Add notes to custom type.
16672 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
16674         * bindings.el (right-char, left-char): Don't call sit-for, this is
16675         no longer needed.  Use arithmetic comparison only for numerical
16676         arguments.
16678         * international/mule-cmds.el (select-safe-coding-system):
16679         Handle the case of FROM being a string correctly.  (Bug#14755)
16681 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16683         * net/shr.el (shr-make-table-1): Add a sanity check that allows
16684         progression on degenerate tables.
16685         (shr-rescale-image): ImageMagick animated images currently don't work.
16687 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
16689         Some fixes and improvements for desktop frame restoration.
16690         It is still experimental and disabled by default.
16691         * desktop.el (desktop--save-windows): Put the selected frame at
16692         the head of the list.
16693         (desktop--make-full-frame): New function.
16694         (desktop--restore-windows): Try to re-select the frame that was
16695         selected upon saving.  Do not abort if some frames fail to restore,
16696         just show an error message and continue.  Set up maximized frames
16697         so they have default non-maximized dimensions.
16699 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
16701         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
16702         Don't start heredoc inside a string or comment.
16704 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
16706         * bindings.el (visual-order-cursor-movement): New defcustom.
16707         (right-char, left-char): Provide visual-order cursor motion by
16708         calling move-point-visually.  Update the doc strings.
16710 2013-06-28  Kenichi Handa  <handa@gnu.org>
16712         * international/mule.el (define-coding-system): New coding system
16713         properties :inhibit-null-byte-detection,
16714         :inhibit-iso-escape-detection, and :prefer-utf-8.
16715         (set-buffer-file-coding-system): If :charset-list property of
16716         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
16717         appropriate for setting.
16719         * international/mule-cmds.el (select-safe-coding-system):
16720         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
16721         multibyte characters, return utf-8 (or one of its siblings).
16723         * international/mule-conf.el (prefer-utf-8): New coding system.
16724         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
16725         files.
16727 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
16729         * net/shr.el (shr-render-region): New function.
16731         * net/eww.el: Autoload `eww-browse-url'.
16733 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
16735         * emacs-lisp/package-x.el (package-upload-buffer-internal):
16736         Adapt to `package-desc-version' being a list.
16737         Use `package--ac-desc-version' to retrieve version from a package
16738         archive element.
16740 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
16742         New experimental feature to save&restore window and frame setup.
16743         * desktop.el (desktop-save-windows): New defcustom.
16744         (desktop--saved-states): New var.
16745         (desktop--excluded-frame-parameters): New defconst.
16746         (desktop--filter-frame-parms, desktop--find-frame-in-display)
16747         (desktop--restore-windows, desktop--save-windows): New functions.
16748         (desktop-save): Call `desktop--save-windows'.
16749         (desktop-read): Call `desktop--restore-windows'.
16751 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16753         * net/shr.el (add-face-text-property): Remove compat definition.
16755 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
16757         * info.el (Info-try-follow-nearest-node): Move search for footnote
16758         above search for node name to prevent missing a footnote (bug#14717).
16760 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
16762         * obsolete/otodo-mode.el: Add obsolescence info to file header.
16764 2013-06-27  Leo Liu  <sdl.web@gmail.com>
16766         * net/eww.el (eww-read-bookmarks): Check file size.
16768 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16770         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
16771         advice--pending if newdef is nil or an autoload (bug#13820).
16772         (advice-mapc): New function.
16774 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16776         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
16777         probably.
16778         (eww-mode-map): Add a menu bar.
16779         (eww-add-bookmark): New command.
16780         (eww-bookmark-mode): New mode and commands.
16781         (eww-add-bookmark): Remove newlines from the title.
16782         (eww-bookmark-browse): Don't bug out if it's the only window.
16784 2013-06-26  Glenn Morris  <rgm@gnu.org>
16786         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
16787         (hfy-size): Handle ttys.  (Bug#14668)
16789         * info-xref.el: Update for Texinfo 5 change in *note format.
16790         (info-xref-node-re, info-xref-note-re): New constants.
16791         (info-xref-check-buffer): Use info-xref-note-re.
16793 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16795         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
16797         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
16798         nil terminate the loop (bug#14718).
16800 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16802         * net/eww.el: Rework history traversal.  When going forward/back,
16803         put these actions into the history, too, so that they can be
16804         replayed.
16805         (eww-render): Move the history reset to the correct buffer.
16807 2013-06-25  Juri Linkov  <juri@jurta.org>
16809         * files-x.el (modify-dir-local-variable): Change the header comment
16810         in the file with directory local variables.  (Bug#14692)
16812         * files-x.el (read-file-local-variable-value): Add `default'.
16813         (Bug#14710)
16815 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16817         * net/eww.el (eww-make-unique-file-name): Create a unique file
16818         name before saving to entering `y' accidentally asynchronously.
16820 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
16822         * net/eww.el (eww-download): New command and keystroke.
16824 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16826         * net/eww.el (eww-copy-page-url): Change name of command.
16828         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
16829         be more consistent with Info and dired.
16831         * net/eww.el (eww-mode-map): Ditto.
16833 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16835         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
16836         packages from archives.
16837         (package-archive-contents): Change format; include obsolete packages.
16838         (package-desc): Use `dir' to mark builtin packages.
16839         (package--from-builtin): Set the `dir' field to `builtin'.
16840         (generated-autoload-file, version-control): Declare.
16841         (package-compute-transaction): Change first arg and return value to be
16842         lists of package-descs.  Adjust to new package-archive-contents format.
16843         (package--add-to-archive-contents): Adjust to new
16844         package-archive-contents format.
16845         (package-download-transaction): Arg is now a list of package-descs.
16846         (package-install): If `pkg' is a package name, pass it as
16847         a requirement, so it is subject to the usual (e.g. disabled) checks.
16848         (describe-package): Accept package-desc as well.
16849         (describe-package-1): Describe a specific package-desc.  Add links to
16850         other package-descs for the same package name.
16851         (package-menu-describe-package): Pass the actual package-desc.
16852         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
16853         works correctly.
16854         (package-desc-status): New function.
16855         (package-menu--refresh): New function, extracted
16856         from package-menu--generate.
16857         (package-menu--generate): Use it.
16858         (package-delete): Update package-alist.
16859         (package-menu-execute): Don't call package-initialize.
16861         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
16862         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
16863         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
16864         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
16865         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
16866         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
16868 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
16870         * window.el (window--state-get-1): Workaround for bug#14527.
16871         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
16873 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16875         * net/eww.el (eww-back-url): Implement the history by stashing all
16876         the data into a list.
16877         (eww-forward-url): Allow going forward in the history, too.
16879 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16881         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
16882         for values and use read--expression for expressions (bug#14710).
16883         (read-file-local-variable): Avoid setq.
16884         (read-file-local-variable-mode): Use minor-mode-list.
16886 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16888         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
16889         for DOI URLs.
16891 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16893         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
16894         Update imenu-support when dialect changes.
16896 2013-06-25  Leo Liu  <sdl.web@gmail.com>
16898         * ido.el (ido-read-internal): Allow forward slash on windows.
16900 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16902         * net/eww.el (eww): Start of strings is \\`, not ^.
16904 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
16906         * net/shr.el (shr-browse-url): Fix interactive spec.
16908         * net/eww.el (eww): Add a trailing slash to domain names.
16910 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
16912         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
16914 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16916         * net/shr.el (shr-browse-url): Use an external browser if given a
16917         prefix.
16919         * net/eww.el (eww-external-browser): Move to shr.
16921 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
16923         * net/eww.el (eww): Work more correctly for file: URLs.
16924         (eww-detect-charset): Allow quoted charsets.
16925         (eww-yank-page-url): New command and keystroke.
16927 2013-06-24  Daiki Ueno  <ueno@gnu.org>
16929         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
16930         file name of gpg executable.
16931         (epg-context-program): New function.
16932         (epg-context-home-directory): New function.
16933         (epg-context-set-program): New function.
16934         (epg-context-set-home-directory): New function.
16935         (epg--start): Use `epg-context-program' instead of
16936         'epg-gpg-program'.
16937         (epg--list-keys-1): Likewise.
16939 2013-06-24  Leo Liu  <sdl.web@gmail.com>
16941         * ido.el (ido-read-internal): Fix bug#14620.
16943 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
16945         * faces.el (face-documentation): Simplify.
16946         (read-face-attribute, tty-find-type, x-resolve-font-name):
16947         Use `string-match-p'.
16948         (list-faces-display): Use `string-match-p'.  Simplify.
16949         (face-spec-recalc): Check face to avoid face alias loops.
16950         (read-color): Use `string-match-p' and non-capturing parenthesis.
16952 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16954         * net/shr.el (shr-rescale-image): Use the new
16955         :max-width/:max-height functionality.
16957 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
16959         * net/eww.el (eww-search-prefix): New variable.
16960         (eww): Use it.
16961         (eww-external-browser): New variable.
16962         (eww-mode-map): New keystroke.
16963         (eww-browse-with-external-browser): New command.
16965         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
16967 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
16969         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
16970         Don't skip aligning the next header field when padding is 0;
16971         otherwise, field width is not respected unless the title is as
16972         wide as the field.
16974 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16976         * emacs-lisp/package.el (package-el-version): Remove.
16977         (package-process-define-package): Fix inf-loop.
16978         (package-install): Allow symbols as arguments again.
16980 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
16982         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
16983         add some more keyword-like methods.
16984         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
16986 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
16988         * bs.el (bs-buffer-show-mark): Make defvar-local.
16989         (bs-mode): Use setq-local.
16991         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
16992         (emacs-lock--try-unlocking): Make defvar-local.
16994 2013-06-22  Glenn Morris  <rgm@gnu.org>
16996         * play/cookie1.el (cookie-apropos): Minor simplification.
16998         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
17000 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
17002         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
17003         `regexp-opt', it breaks the build during dumping.
17005 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
17007         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17008         Highlight keyword-like methods on Kernel and Module with
17009         font-lock-builtin-face.
17010         (auto-mode-alist): Consolidate different entries into one regexp
17011         and add more *file-s.
17013 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
17015         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
17017         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
17018         (diary-entry): Use it in the action of this button type instead of
17019         diary-goto-entry.
17021         * calendar/todo-mode.el: New version.
17022         (todo-add-category): Append new category to end of file and give
17023         it the highest number, instead of putting it at the beginning and
17024         giving it 0.  Incorporate noninteractive functionality.
17025         (todo-forward-category): Adapt to 1-based category numbering.
17026         Allow skipping over archived categories.
17027         (todo-backward-category): Derive from todo-forward-category.
17028         (todo-backward-item, todo-forward-item): Make noninteractive and
17029         delegate interactive part to new commands.  Make sensitive to done items.
17030         (todo-categories): Make value an alist of category names and
17031         vectors of item counts.
17032         (todo-category-beg): Make a defconst.
17033         (todo-category-number): Use 1 instead of 0 as initial value.
17034         (todo-category-select): Make sensitive to overlays, optional item
17035         highlighting and done items.
17036         (todo-delete-item): Make sensitive to overlays and marked and done items.
17037         (todo-edit-item): Make sensitive to overlays and editing of
17038         date/time header optional.  Add format checks.
17039         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
17040         no-op if point is not on an item.  Advertise using todo-edit-quit.
17041         (todo-edit-mode): Make sensitive to new format, font-locking, and
17042         multiple todo files.
17043         (todo-insert-item, todo-insert-item-here): Derive from
17044         todo-basic-insert-item and extend functionality.
17045         (todo-item-end, todo-item-start): Make sensitive to done items.
17046         (todo-item-string): Don't return text properties.  Restore point.
17047         (todo-jump-to-category): Make sensitive to multiple todo files and
17048         todo archives.  Use extended category completion.
17049         (todo-lower-item, todo-raise-item): Rename to *-priority and
17050         derive from todo-set-item-priority.
17051         (todo-mode): Derive from special-mode.  Make sensitive to new
17052         format, font-locking and multiple todo files.  Make read-only.
17053         (todo-mode-map): Don't suppress digit keys, so they can supply
17054         prefix arguments.  Add many new key bindings.
17055         (todo-prefix): Insert as an overlay instead of file text.
17056         Change semantics from diary date expression to purely visual mark.
17057         (todo-print): Rename to todo-print-buffer.  Make buffer display
17058         features printable.  Remove option to restrict number of items
17059         printed.  Add option to print to file.
17060         (todo-print-function): Rename to todo-print-buffer-function.
17061         (todo-quit): Extend to handle exiting new todo modes.
17062         (todo-remove-item): Make sensitive to overlays.
17063         (todo-save): Extend to buffers of filtered items.
17064         (todo-show): Make sensitive to done items, multiple todo files and
17065         new todo modes.  Offer to convert legacy todo file before creating
17066         first new todo file.
17067         (todo-show-priorities): Rename to todo-top-priorities.
17068         Change semantics of value 0.
17069         (todo-top-priorities): Rename to todo-filter-top-priorities,
17070         derive from todo-filter-items and extend functionality.
17071         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
17072         and extend functionality to other types of filtered items.
17073         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
17074         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
17075         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
17076         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
17077         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
17078         (todo-edit-mode-hook, todo-entry-prefix-function)
17079         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
17080         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
17081         (todo-initials, todo-insert-threshold, todo-item-string-start)
17082         (todo-line-string, todo-menu, todo-mode-hook)
17083         (todo-more-important-p, todo-previous-answer, todo-previous-line)
17084         (todo-print-priorities, todo-remove-separator)
17085         (todo-save-top-priorities-too, todo-string-count-lines)
17086         (todo-string-multiline-p, todo-time-string-format)
17087         (todo-tmp-buffer-name): Remove.
17088         (todo-add-file, todo-archive-done-item, todo-choose-archive)
17089         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
17090         (todo-edit-category-diary-inclusion)
17091         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
17092         (todo-edit-file, todo-edit-item-date-day)
17093         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
17094         (todo-edit-item-date-month, todo-edit-item-date-to-today)
17095         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
17096         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
17097         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
17098         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
17099         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
17100         (todo-filter-top-priorities-multifile, todo-find-archive)
17101         (todo-find-filtered-items-file, todo-go-to-source-item)
17102         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
17103         (todo-jump-to-archive-category, todo-lower-category)
17104         (todo-mark-category, todo-marked-item-p, todo-merge-category)
17105         (todo-move-category, todo-move-item, todo-next-button)
17106         (todo-next-item, todo-padded-string, todo-powerset)
17107         (todo-previous-button, todo-previous-item)
17108         (todo-print-buffer-to-file, todo-raise-category)
17109         (todo-rename-category, todo-repair-categories-sexp, todo-search)
17110         (todo-set-category-number, todo-set-item-priority)
17111         (todo-set-top-priorities-in-category)
17112         (todo-set-top-priorities-in-file, todo-show-categories-table)
17113         (todo-sort-categories-alphabetically-or-numerically)
17114         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
17115         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
17116         (todo-toggle-item-header, todo-toggle-item-highlighting)
17117         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
17118         (todo-toggle-view-done-items, todo-toggle-view-done-only)
17119         (todo-unarchive-items, todo-unmark-category): New commands.
17120         (todo-absolute-file-name, todo-add-to-buffer-list)
17121         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
17122         (todo-basic-insert-item, todo-category-completions)
17123         (todo-category-number, todo-category-string-matcher-1)
17124         (todo-category-string-matcher-2, todo-check-filtered-items-file)
17125         (todo-check-format, todo-clear-matches)
17126         (todo-comment-string-matcher, todo-convert-legacy-date-time)
17127         (todo-current-category, todo-date-string-matcher)
17128         (todo-define-insertion-command, todo-diary-expired-matcher)
17129         (todo-diary-goto-entry, todo-diary-item-p)
17130         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
17131         (todo-display-categories, todo-display-sorted, todo-done-item-p)
17132         (todo-done-item-section-p, todo-done-separator)
17133         (todo-done-string-matcher, todo-files, todo-filter-items)
17134         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
17135         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
17136         (todo-insert-category-line, todo-insert-item-from-calendar)
17137         (todo-insert-sort-button, todo-insert-with-overlays)
17138         (todo-insertion-command-name, todo-insertion-key-bindings)
17139         (todo-label-to-key, todo-longest-category-name-length)
17140         (todo-make-categories-list, todo-mode-external-set)
17141         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
17142         (todo-modes-set-3, todo-multiple-filter-files)
17143         (todo-nondiary-marker-matcher, todo-prefix-overlays)
17144         (todo-read-category, todo-read-date, todo-read-dayname)
17145         (todo-read-file-name, todo-read-time)
17146         (todo-reevaluate-category-completions-files-defcustom)
17147         (todo-reevaluate-default-file-defcustom)
17148         (todo-reevaluate-filelist-defcustoms)
17149         (todo-reevaluate-filter-files-defcustom)
17150         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
17151         (todo-reset-done-separator, todo-reset-done-separator-string)
17152         (todo-reset-done-string, todo-reset-global-current-todo-file)
17153         (todo-reset-highlight-item, todo-reset-nondiary-marker)
17154         (todo-reset-prefix, todo-set-categories)
17155         (todo-set-date-from-calendar, todo-set-show-current-file)
17156         (todo-set-top-priorities, todo-short-file-name)
17157         (todo-show-current-file, todo-sort, todo-time-string-matcher)
17158         (todo-total-item-counts, todo-update-buffer-list)
17159         (todo-update-categories-display, todo-update-categories-sexp)
17160         (todo-update-count, todo-validate-name, todo-y-or-n-p):
17161         New functions.
17162         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
17163         New major modes.
17164         (todo-categories, todo-display, todo-edit, todo-faces)
17165         (todo-filtered): New defgroups.
17166         (todo-archived-only, todo-button, todo-category-string, todo-date)
17167         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
17168         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
17169         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
17170         (todo-add-item-if-new-category, todo-always-add-time-string)
17171         (todo-categories-align, todo-categories-archived-label)
17172         (todo-categories-category-label, todo-categories-diary-label)
17173         (todo-categories-done-label, todo-categories-number-separator)
17174         (todo-categories-todo-label, todo-categories-totals-label)
17175         (todo-category-completions-files, todo-completion-ignore-case)
17176         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
17177         (todo-done-separator-string, todo-done-string)
17178         (todo-files-function, todo-filter-done-items, todo-filter-files)
17179         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
17180         (todo-initial-category, todo-initial-file, todo-item-mark)
17181         (todo-legacy-date-time-regexp, todo-mode-line-function)
17182         (todo-nondiary-marker, todo-number-prefix)
17183         (todo-print-buffer-function, todo-show-current-file)
17184         (todo-show-done-only, todo-show-first, todo-show-with-done)
17185         (todo-skip-archived-categories, todo-top-priorities-overrides)
17186         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
17187         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
17188         New defcustoms.
17189         (todo-category-done, todo-date-pattern, todo-date-string-start)
17190         (todo-diary-items-buffer, todo-done-string-start)
17191         (todo-filtered-items-buffer, todo-item-start)
17192         (todo-month-abbrev-array, todo-month-name-array)
17193         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
17194         (todo-top-priorities-buffer): New defconsts.
17195         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
17196         (todo-categories-with-marks, todo-category-string-face)
17197         (todo-comment-face, todo-comment-string, todo-current-todo-file)
17198         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
17199         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
17200         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
17201         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
17202         (todo-font-lock-keywords, todo-global-current-todo-file)
17203         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
17204         (todo-insertion-commands-args)
17205         (todo-insertion-commands-args-genlist)
17206         (todo-insertion-commands-names, todo-insertion-map)
17207         (todo-key-bindings-t, todo-key-bindings-t+a)
17208         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
17209         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
17210         (todo-nondiary-face, todo-print-buffer, todo-time-face)
17211         (todo-visited): New variables.
17213 2013-06-21  Glenn Morris  <rgm@gnu.org>
17215         * play/cookie1.el (cookie-apropos): Add optional display argument.
17216         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
17217         (psychoanalyze-pinhead): Use cookie-doctor.
17219 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
17221         * emacs-lisp/package.el (tar-get-file-descriptor)
17222         (tar--extract): Declare.
17224 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
17226         Extend flymake's warning predicate to be a function (bug#14217).
17227         * progmodes/flymake.el (flymake-warning-predicate): New.
17228         (flymake-parse-line): Use it.
17229         (flymake-warning-re): Make obsolete alias to
17230         `flymake-warning-predicate'.
17232 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17234         * emacs-lisp/package.el (package-alist): Include obsolete packages.
17235         (package-obsolete-list): Remove.
17236         (package-activate): Remove min-version argument.  Add `force' argument.
17237         Adjust to new package-alist format.
17238         (package-mark-obsolete): Remove.
17239         (package-unpack): Force reload of the package's autoloads.
17240         (package-installed-p): Check builtins if the installed package is not
17241         recent enough.
17242         (package-initialize): Don't reset package-obsolete-list.
17243         Don't specify which package version to activate.
17244         (package-process-define-package, describe-package-1)
17245         (package-menu--generate): Adjust to new package-alist format.
17247 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
17249         * allout-widgets.el (allout-widgets-mode-off)
17250         (allout-widgets-mode-on, allout-widgets-pre-command-business)
17251         (allout-widgets-post-command-business)
17252         (allout-widgets-after-copy-or-kill-function)
17253         (allout-widgets-after-undo-function, allout-test-range-overlaps)
17254         (allout-decorate-item-and-context)
17255         (allout-graphics-modification-handler): Fix typos in docstrings.
17256         (allout-get-or-create-parent-widget): Use `looking-at-p'.
17258         * cmuscheme.el (scheme-start-file): Doc fix.
17259         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
17260         (scheme-input-filter): Use `string-match-p'.
17262         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
17264         * dired-x.el: Use Dired consistently in docstrings.
17266         * dired.el: Use Dired consistently in docstrings.
17267         (dired-readin, dired-mode): Use `setq-local'.
17268         (dired-switches-alist): Make defvar-local.
17269         (dired-buffers-for-dir): Use `zerop'.
17270         (dired-safe-switches-p, dired-switches-escape-p)
17271         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
17272         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
17273         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
17274         (dired-goto-next-nontrivial-file): Use `string-match-p'.
17275         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
17276         (dired-toggle-marks, dired-mark-files-containing-regexp)
17277         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
17278         (dired-flag-auto-save-files, dired-flag-backup-files):
17279         Use `looking-at-p'.
17280         (dired-mark-files-regexp, dired-build-subdir-alist):
17281         Use `string-match-p', `looking-at-p'.
17283         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
17284         (direct-print-region-helper): Use `string-match-p'.
17286 2013-06-21  Leo Liu  <sdl.web@gmail.com>
17288         * comint.el (comint-redirect-results-list-from-process):
17289         Fix infinite loop.
17291 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17293         * net/eww.el (eww-update-header-line-format): Quote % characters.
17295 2013-06-21  Glenn Morris  <rgm@gnu.org>
17297         * play/cookie1.el (cookie): New custom group.
17298         (cookie-file): New option.
17299         (cookie-check-file): New function.
17300         (cookie): Make it interactive.  Make start and end messages optional.
17301         Interactively, display the result.  Default to cookie-file.
17302         (cookie-insert): Default to cookie-file.
17303         (cookie-snarf): Make start and end messages optional.
17304         Default to cookie-file.  Use with-temp-buffer.
17305         (cookie-read): Rename from read-cookie.
17306         Make start and end messages optional.  Default to cookie-file.
17307         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
17308         Do not autoload it.
17309         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
17310         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
17312 2013-06-21  Leo Liu  <sdl.web@gmail.com>
17314         * progmodes/octave.el (octave-mode): Backward compatibility fix.
17316 2013-06-21  Glenn Morris  <rgm@gnu.org>
17318         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
17320 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17321             Daniel Hackney  <dan@haxney.org>
17323         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
17324         Consolidate the single-file vs tarball code.
17325         (package-desc-suffix): New function.
17326         (package-desc-full-name): Don't bother inlining it.
17327         (package-load-descriptor): Return the new package-desc.
17328         (package-mark-obsolete): Remove unused arg `package'.
17329         (package-unpack): Make it work for single files as well.
17330         Make it update package-alist.
17331         (package--make-autoloads-and-stuff): Rename from
17332         package--make-autoloads-and-compile.  Don't compile any more.
17333         (package--compile): New function.
17334         (package-generate-description-file): New function, extracted from
17335         package-unpack-single.
17336         (package-unpack-single): Remove.
17337         (package--with-work-buffer): Add indentation and debugging info.
17338         (package-download-single): Remove.
17339         (package-install-from-archive): Rename from package-download-tar, make
17340         it take a pkg-desc, and make it work for single files as well.
17341         (package-download-transaction): Simplify.
17342         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
17343         external tar program.
17344         (package-install-from-buffer): Remove `pkg-desc' argument.
17345         Use package-tar-file-info for tar-mode buffers.
17346         (package-install-file): Simplify accordingly.
17347         (package-archive-base): Change to take a pkg-desc.
17348         * tar-mode.el (tar--check-descriptor): New function, extracted from
17349         tar-get-descriptor.
17350         (tar-get-descriptor): Use it.
17351         (tar-get-file-descriptor): New function.
17352         (tar--extract): New function, extracted from tar-extract.
17353         (tar--extract): Use it.
17354         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
17355         case the summary uses non-ascii.  Adjust to new calling convention of
17356         package-tar-file-info.
17358 2013-06-21  Leo Liu  <sdl.web@gmail.com>
17360         * comint.el (comint-redirect-results-list-from-process):
17361         Fix random delay.  (Bug#14681)
17363 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
17365         * profiler.el (profiler-format-number): Use log, not log10.
17367 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
17369         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
17371 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17373         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
17374         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
17375         yet available.
17376         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
17377         (AUTOGENEL): ... here.
17378         * emacs-lisp/cl-macs.el (cl--sublis): New function.
17379         (cl--defsubst-expand): Use it.
17381 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
17383         * subr.el (log10): Move here from C code, and declare as obsolete.
17384         All uses of (log10 X) replaced with (log X 10).
17386 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
17388         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
17389         Declare with `defvar-local'.
17390         (tabulated-list-use-header-line, tabulated-list-entries)
17391         (tabulated-list-padding, tabulated-list-printer)
17392         (tabulated-list-sort-key): Declare with `defvar-local'.
17393         (tabulated-list-init-header, tabulated-list-print-fake-header):
17394         Use `setq-local'.
17396 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
17398         * arc-mode.el (archive-mode): Add `archive-write-file' to
17399         `write-contents-functions' also for remote files.  (Bug#14652)
17401 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
17403         * cus-edit.el (custom-commands): Fix typos.
17404         (custom-display): Fix tooltip text.
17405         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
17406         Fix typos in docstrings.
17407         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
17408         (custom-unlispify-menu-entry, custom-magic-value-create)
17409         (custom-add-see-also, custom-group-value-create): Use ?\s.
17410         (custom-guess-type, customize-apropos, editable-field)
17411         (custom-face-value-create): Use `string-match-p'.
17412         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
17414         * custom.el (custom-load-symbol): Use `string-match-p'.
17416         * ansi-color.el: Convert to lexical binding.
17417         (ansi-colors): Fix URL.
17418         (ansi-color-context, ansi-color-context-region): Use defvar-local.
17419         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
17420         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
17422 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17424         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
17426         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
17428 2013-06-19  Tom Tromey  <tromey@redhat.com>
17430         * net/eww.el (eww-top-url): Remove.
17431         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
17432         (eww-render): Set new variables.  Don't set eww-top-url.
17433         (eww-handle-link): Handle "prev", "home", and "contents".
17434         Downcase the rel text.
17435         (eww-top-url): Choose best top URL.
17437 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17439         * net/eww.el: Rewrite to implement form elements "by hand" instead of
17440         relying in widget.el.  Using widget.el leads to too many
17441         user interface inconsistencies.
17442         (eww-self-insert): Implement entering commands in text fields.
17443         (eww-process-text-input): New function to make text input field editing
17444         work.
17445         (eww-submit): Rewrite to use the new-style form methods.
17446         (eww-select-display): Display the correct selected item.
17447         (eww-change-select): Implement changing the select value.
17448         (eww-toggle-checkbox): Implement radio/checkboxes.
17449         (eww-update-field): Fix compilation error.
17450         (eww-tag-textarea): Implement <textarea>.
17452         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
17453         we don't shadow mode-specific bindings.
17455         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
17456         nothing to push.
17458         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
17460 2013-06-19  Glenn Morris  <rgm@gnu.org>
17462         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
17464 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
17466         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
17467         not needed.
17469         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
17471 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17473         * net/browse-url.el (browse-url-browser-function):
17474         `eww-browse-url' has the right calling signature, `eww' does not.
17476 2013-06-19  Glenn Morris  <rgm@gnu.org>
17478         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17479         Only eval autoloaded macros.
17480         (byte-compile-autoload): Only give the macro warning for macros.
17482         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
17483         (ps-underlined-faces): Declare.
17485         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
17486         (speedbar-add-supported-extension): Declare.
17488         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
17489         Don't include a date stamp in the header of the generated file;
17490         it leads to needless differences between output files.
17492 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
17494         * net/secrets.el (secrets-struct-secret-content-type):
17495         Replace check of introspection data by a test call of "CreateItem".
17496         Some servers do not offer introspection.
17498 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17500         * electric.el (electric-pair-mode): Improve interaction with
17501         electric-layout-mode.
17502         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
17503         (electric-pair-syntax): Use text-mode-syntax-table in comments
17504         and strings.
17505         (electric-pair--insert): New function.
17506         (electric-pair-post-self-insert-function): Use it and
17507         electric--after-char-pos.
17509 2013-06-19  Leo Liu  <sdl.web@gmail.com>
17511         * progmodes/octave.el (octave-help): Fix regexp.
17513 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17515         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
17516         (shr-table-horizontal-line): Allow nil as a value, and change the
17517         default.
17518         (shr-insert-table-ruler): Respect the nil value.
17520 2013-06-18  Tom Tromey  <tromey@barimba>
17522         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17523         New defvars.
17524         (eww-open-file): New defun.
17525         (eww-render): Initialize new variables.
17526         (eww-display-html): Handle "link" and "a".
17527         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
17528         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
17529         (eww-back-url): Rename from eww-previous-url.
17530         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17531         New defuns.
17533 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
17535         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
17536         Distinguish ternary operator tokens from slash symbol and slash
17537         char literal.
17539 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
17541         Convert symbol prettification into minor mode and global minor mode.
17543         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
17544         `prog-prettify-symbols', and make a local defvar instead of defcustom.
17545         (prettify-symbols--keywords): Rename from
17546         `prog-prettify-symbols-alist' and make a local defvar.
17547         (prettify-symbols--compose-symbol): Rename from
17548         `prog--prettify-font-lock-compose-symbol'.
17549         (prettify-symbols--make-keywords): Rename from
17550         `prog-prettify-font-lock-symbols-keywords' and simplify.
17551         (prog-prettify-install): Remove.
17552         (prettify-symbols-mode): New minor mode, based on
17553         `prog-prettify-install'.
17554         (turn-on-prettify-symbols-mode): New function.
17555         (global-prettify-symbols-mode): New globalized minor mode.
17557         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
17558         * progmodes/cfengine.el (cfengine3-mode):
17559         * progmodes/perl-mode.el (perl-mode): Don't call
17560         `prog-prettify-install'; set `prettify-symbols-alist' instead.
17562 2013-06-18  Juri Linkov  <juri@jurta.org>
17564         * files-x.el (modify-file-local-variable-message): New function.
17565         (modify-file-local-variable)
17566         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
17567         and call `modify-file-local-variable-message' when it's non-nil.
17568         (add-file-local-variable, delete-file-local-variable)
17569         (add-file-local-variable-prop-line)
17570         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
17571         and use it.  (Bug#9820)
17573 2013-06-18  Juri Linkov  <juri@jurta.org>
17575         * emulation/vi.el (vi-shell-op):
17576         * emulation/vip.el (vip-execute-com, ex-command):
17577         * emulation/viper-cmd.el (viper-exec-bang):
17578         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
17579         the call of `shell-command-on-region'.  (Bug#14637)
17581         * simple.el (shell-command-on-region): Doc fix.
17583 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17585         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
17586         (bug#14633).
17588 2013-06-18  Glenn Morris  <rgm@gnu.org>
17590         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
17592         * newcomment.el (comment-search-forward, comment-search-backward):
17593         Doc fix.  (Bug#14376)
17595 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
17597         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
17598         (buffer-face-mode-invoke): Doc fix.
17600 2013-06-18  Matthias Meulien  <orontee@gmail.com>
17602         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
17603         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
17605 2013-06-18  Glenn Morris  <rgm@gnu.org>
17607         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
17608         Replace obsolete function generic-make-keywords with its expansion.
17610         * progmodes/python.el (ffap-alist): Declare.
17612         * textmodes/reftex.el (bibtex-mode-map): Declare.
17614 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17616         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
17617         (package-unpack, package-unpack-single): Return the pkg-dir.
17618         (package-download-transaction): Use it to update package-alist.
17620 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17622         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
17623         possible choice.
17625 2013-06-17  Juri Linkov  <juri@jurta.org>
17627         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
17629 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
17631         * emacs-lisp/package.el (package-load-descriptor):
17632         Remove `with-syntax-table' call, `read' doesn't need it.
17633         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
17635 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
17637         * startup.el (command-line): Expand package name returned by
17638         `package--description-file' (bug#14639).
17640 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
17642         * emacs-lisp/package.el (package-load-descriptor): Do not call
17643         `emacs-lisp-mode', just use its syntax table.
17645 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
17647         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
17648         `font-lock-extra-managed-props' if any prettifying keyword is added.
17649         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
17650         (prog-mode): Use `setq-local'.
17652 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17654         * international/characters.el (standard-case-table): Set syntax of ?»
17655         and ?« to punctuation.
17657 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
17659         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
17660         Save relevant match data before calling `syntax-ppss' (bug#14595).
17662 2013-06-15  Juri Linkov  <juri@jurta.org>
17664         * files-x.el (modify-file-local-variable-prop-line): Add local
17665         variables to the end of the existing comment on the first line.
17666         Use `file-auto-mode-skip' to skip interpreter magic line,
17667         and also skip XML declaration.
17669 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17671         * startup.el (package--builtin-versions): New var.
17672         (package-subdirectory-regexp): Remove.
17673         (package--description-file): Hard code its value instead.
17675         * emacs-lisp/package.el: Don't activate packages older than builtin.
17676         (package-obsolete-list): Rename from package-obsolete-alist, and make
17677         it into a simple list of package-desc.
17678         (package-strip-version): Remove.
17679         (package-built-in-p): Use package--builtin-versions.
17680         (package-mark-obsolete): Simplify.
17681         (package-process-define-package): Mark it obsolete if older than the
17682         builtin version.
17683         (package-handle-response): Use line-end-position.
17684         (package-read-archive-contents, package--download-one-archive):
17685         Simplify.
17686         (package--add-to-archive-contents): Skip if older than the builtin or
17687         installed version.
17688         (package-menu-describe-package): Fix last change.
17689         (package-list-unversioned): New var.
17690         (package-menu--generate): Use it.
17692         * emacs-lisp/autoload.el: Manage package--builtin-versions.
17693         (autoload--insert-text, autoload--insert-cookie-text): New functions.
17694         (autoload-builtin-package-versions): New variable.
17695         (autoload-generate-file-autoloads): Use them.
17696         Remove the list of autoloaded functions/macros from the
17697         (autoload...) comments.
17699         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
17701 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
17703         * simple.el (line-move-partial): Don't jump to the next screen
17704         line as soon as it becomes visible.  Instead, continue enlarging
17705         the vscroll until the portion of a tall screen line that's left on
17706         display is about the height of the frame's default font.
17707         (Bug#14567)
17709 2013-06-15  Glenn Morris  <rgm@gnu.org>
17711         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
17712         compilation-error-regexp-alist void, or local while let-bound.
17714         * progmodes/make-mode.el (makefile-mode-syntax-table):
17715         Treat "=" as punctuation.  (Bug#14614)
17717 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
17719         * help-fns.el (describe-variable):
17720         Add extra line for permanent-local variables.
17722 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
17724         * progmodes/scheme.el (scheme-font-lock-keywords-2):
17725         Add export, import, library.  (Bug#9164)
17726         (library): Set indent function.
17728 2013-06-14  Glenn Morris  <rgm@gnu.org>
17730         * term/xterm.el (xterm--query):
17731         Stop after first matching handler.  (Bug#14615)
17733 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
17735         Add support for dired in saveplace.
17736         * dired.el (dired-initial-position-hook): New variable.
17737         (dired-initial-position): Call hook to place cursor position.
17738         * saveplace.el (save-place-to-alist): Add dired position.
17739         (save-place-dired-hook): New function.
17741 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17743         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
17744         through a symbol rather than letrec.
17746         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
17747         (package-desc): Add `dir' field.
17748         (package-desc-full-name): New function.
17749         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
17750         (package-maybe-load-descriptor): Remove.
17751         (package-load-all-descriptors): Just call package-load-descriptor.
17752         (package--disabled-p): New function.
17753         (package-desc-vers, package-desc-doc): Remove aliases.
17754         (package--dir): Remove function.
17755         (package-activate): Check if a package is disabled.
17756         (package-process-define-package): New function, extracted from
17757         define-package.
17758         (define-package): Turn into a place holder.
17759         (package-unpack-single, package-tar-file-info):
17760         Use package--description-file.
17761         (package-compute-transaction): Use package--disabled-p.
17762         (package-download-transaction): Don't call
17763         package-maybe-load-descriptor since they're all loaded anyway.
17764         (package-install): Change argument to be a pkg-desc.
17765         (package-delete): Use a single pkg-desc argument.
17766         (describe-package-1): Use package-desc-dir instead of package--dir.
17767         Use package-desc property instead of package-symbol.
17768         (package-install-button-action): Adjust accordingly.
17769         (package--push): Rewrite.
17770         (package-menu--print-info): Adjust accordingly.  Change the ID format
17771         to be a pkg-desc.
17772         (package-menu-describe-package, package-menu-get-status)
17773         (package-menu--find-upgrades, package-menu-mark-upgrades)
17774         (package-menu-execute, package-menu--name-predicate):
17775         Adjust accordingly.
17776         * startup.el (package--description-file): New function.
17777         (command-line): Use it.
17778         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17779         Use package-desc-version.
17781         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
17782         (byte-compile-preprocess): Use it.
17783         (byte-compile-file-form-defalias): Try a bit harder to use macros we
17784         can't quite recognize.
17785         (byte-compile-add-to-list): Remove.
17786         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
17787         (cconv-closure-convert): Add assertion.
17789         * emacs-lisp/map-ynp.el: Use lexical-binding.
17790         (map-y-or-n-p): Remove unused vars `tail' and `object'.
17791         Factor out some repeated code.
17793 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17795         * subr.el (with-eval-after-load): New macro.
17796         (eval-after-load): Allow form to be a function.
17797         take advantage of lexical-binding.
17798         (do-after-load-evaluation): Use dolist and adjust to new format.
17799         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
17801 2013-06-13  Juri Linkov  <juri@jurta.org>
17803         * replace.el (perform-replace): Display "symbol " and other search
17804         modes from `isearch-message-prefix' in the *Help* buffer.
17806         * isearch.el (isearch-query-replace): Add " symbol" and other
17807         possible search modes from `isearch-message-prefix' to the prompt.
17808         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
17809         when reading a regexp to collect.
17811 2013-06-13  Juri Linkov  <juri@jurta.org>
17813         * isearch.el (word-search-regexp): Match whitespace if the search
17814         string begins or ends in whitespace.  The LAX arg is applied to
17815         both ends of the search string.  Use `regexp-quote' and explicit
17816         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
17817         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
17818         boundaries are replaced with symbol boundaries, and characters
17819         between symbols match non-word non-symbol syntax.  (Bug#14602)
17821 2013-06-13  Juri Linkov  <juri@jurta.org>
17823         * isearch.el (isearch-del-char): Don't exceed the length of
17824         `isearch-string' by the prefix arg.  (Bug#14563)
17826 2013-06-13  Juri Linkov  <juri@jurta.org>
17828         * isearch.el (isearch-yank-word, isearch-yank-line)
17829         (isearch-char-by-name, isearch-quote-char)
17830         (isearch-printing-char, isearch-process-search-char):
17831         Add optional count prefix arg.  (Bug#14563)
17833         * international/isearch-x.el
17834         (isearch-process-search-multibyte-characters):
17835         Add optional count prefix arg.
17837 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17839         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
17840         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
17841         lexical-binding.
17843 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
17845         * subr.el (set-temporary-overlay-map): Add on-exit argument.
17847 2013-06-13  Glenn Morris  <rgm@gnu.org>
17849         * startup.el (tty-handle-args):
17850         Don't just discard "--" and anything after.  (Bug#14608)
17852         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
17854 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
17856         Implement changes in Secret Service API.  Make it backward compatible.
17857         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
17858         (secrets-create-item): Use it.  Prefix properties with interface.
17860 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
17862         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
17863         (term-emulate-terminal): Respect term-suppress-hard-newline.
17865 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
17867         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
17868         Only remove a `thumb-file' overlay.  (Bug#14548)
17870 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
17872         * mail/reporter.el (reporter-submit-bug-report):
17873         Handle missing package-name.  (Bug#14600)
17875 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17877         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
17878         (reftex-citation-prompt, reftex-default-bibliography)
17879         (reftex-bib-or-thebib, reftex-get-bibfile-list)
17880         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
17881         (reftex-bib-sort-author, reftex-bib-sort-year)
17882         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
17883         (reftex-extract-bib-entries-from-thebibliography)
17884         (reftex-get-bibkey-default, reftex-get-bib-names)
17885         (reftex-parse-bibtex-entry, reftex-get-bib-field)
17886         (reftex-format-bib-entry, reftex-parse-bibitem)
17887         (reftex-format-bibitem, reftex-do-citation)
17888         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
17889         (reftex-restrict-bib-matches, reftex-extract-bib-file)
17890         (reftex-insert-bib-matches, reftex-format-citation)
17891         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
17892         (reftex-create-bibtex-file): Add docstrings, mostly by converting
17893         existing comments into docstrings.
17895 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
17897         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
17899 2013-06-12  Andreas Schwab  <schwab@suse.de>
17901         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
17902         for auto-save files.
17904 2013-06-12  Glenn Morris  <rgm@gnu.org>
17906         * ido.el (ido-delete-ignored-files): Remove.
17907         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
17908         Go back to calling ido-ignore-item-p directly.
17910 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
17912         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
17914         * ido.el (ido-delete-ignored-files): New function,
17915         split from ido-make-file-list-1.
17916         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
17917         (ido-make-file-list-1): Use ido-delete-ignored-files.
17919 2013-06-12  Leo Liu  <sdl.web@gmail.com>
17921         * progmodes/octave.el (inferior-octave-startup)
17922         (inferior-octave-completion-table)
17923         (inferior-octave-track-window-width-change)
17924         (octave-eldoc-function-signatures, octave-help)
17925         (octave-find-definition): Use single quoted strings.
17926         (inferior-octave-startup-args): Change default value.
17927         (inferior-octave-startup): Do not hard code "-i" and
17928         "--no-line-editing".
17929         (inferior-octave-resync-dirs): Add optional arg NOERROR.
17930         (inferior-octave-directory-tracker): Use it.
17931         (octave-goto-function-definition): Robustify.
17932         (octave-help): Support highlighting operators in 'See also'.
17933         (octave-find-definition): Find subfunctions only in Octave mode.
17935 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17937         * help-fns.el (help-fns--compiler-macro): If the handler function is
17938         named, then put a link to it.
17939         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
17940         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
17941         (cl-typep): Use it.
17942         (cl-eval-when): Simplify debug spec.
17943         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
17944         compiler-macro function instead of setting `compiler-macro-file'.
17946 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
17948         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
17949         * vc/vc-hooks.el (vc-stay-local): Doc fix.
17951 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17952             Daniel Hackney  <dan@haxney.org>
17954         First part of Daniel Hackney's patch to package.el.
17955         * emacs-lisp/package.el: Use defstruct.
17956         (package-desc): New, main struct.
17957         (package--bi-desc, package--ac-desc): New structs, used to describe the
17958         format in external files.
17959         (package-desc-vers): Replace with package-desc-version accessor.
17960         (package-desc-doc): Replace with package-desc-summary accessor.
17961         (package-activate-1): Remove `package' arg since the pkg-vec now
17962         includes the name.
17963         (define-package): Use package-desc-from-define.
17964         (package-unpack-single): Change file-name arg to be a symbol.
17965         (package--add-to-archive-contents): Use package-desc-create and new
17966         accessor functions to package--ac-desc.
17967         (package-buffer-info, package-tar-file-info): Return a package-desc.
17968         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
17969         arg to be a package-desc.
17970         (package-install-file): Adjust accordingly.  Use \' to match EOS.
17971         (package--from-builtin): New function.
17972         (describe-package-1, package-menu--generate): Use it.
17973         (package--make-autoloads-and-compile): Change name arg to be a symbol.
17974         (package-generate-autoloads): Idem and return the name of the file.
17975         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17976         Change pkg-info arg to be a package-desc.
17977         Use package-make-ac-desc.
17978         (package-upload-file): Use \' to match EOS.
17979         * finder.el (finder-compile-keywords): Use package-make-builtin.
17981 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17983         * vc/vc.el (vc-deduce-fileset): Change error message.
17984         (vc-read-backend): New function.
17985         (vc-next-action): Use it.
17987         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
17989         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
17990         (prolog-font-lock-keywords): Use regexp-opt instead.
17991         Don't manually highlight strings.
17992         (prolog-mode-variables): Simplify comment-start-skip.
17993         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
17995         * emacs-lisp/generic.el (generic--normalise-comments)
17996         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
17997         (generic-mode-set-comments): Use them.
17998         (generic-bracket-support): Use setq-local.
17999         (generic-make-keywords-list): Declare obsolete.
18001 2013-06-11  Glenn Morris  <rgm@gnu.org>
18003         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
18004         Prettify after setting font-lock-defaults.  (Bug#14574)
18006 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
18008         * replace.el (query-replace, occur-read-regexp-defaults-function)
18009         (replace-search):
18010         * subr.el (declare-function, number-sequence, local-set-key)
18011         (substitute-key-definition, locate-user-emacs-file)
18012         (with-silent-modifications, split-string, eval-after-load):
18013         Fix typos, remove unneeded backslashes and reflow some docstrings.
18015 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18017         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
18018         default for Elisp files.
18020 2013-06-11  Glenn Morris  <rgm@gnu.org>
18022         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
18023         although define-derived-mode was doing this anyway.  (Bug#14583)
18025 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
18027         * allout.el (allout-encryption-plaintext-sanitization-regexps):
18028         Fix make-variable-buffer-local call to refer to the correct variable.
18030 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
18032         * eshell/em-term.el (eshell-visual-commands)
18033         (eshell-visual-subcommands, eshell-visual-options):
18034         Add summary line to docstrings.  Add cross-references.
18036 2013-06-10  Glenn Morris  <rgm@gnu.org>
18038         * epa.el (epa-read-file-name): New function.  (Bug#14510)
18039         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
18041 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
18043         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
18044         output redirection to be ignored with visual commands.
18046 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
18048         * eshell/em-term.el (eshell-visual-command-p): New function.
18049         (eshell-term-initialize): Move long lambda to separate function
18050         eshell-visual-command-p.
18051         * eshell/em-dirs.el (eshell-dirs-initialize):
18052         * eshell/em-script.el (eshell-script-initialize):
18053         Add missing #' to lambda.
18055 2013-06-08  Leo Liu  <sdl.web@gmail.com>
18057         * progmodes/octave.el (octave-add-log-current-defun): New function.
18058         (octave-mode): Set add-log-current-defun-function.
18059         (octave-goto-function-definition): Do not move point if not found.
18060         (octave-find-definition): Enhance to try subfunctions first.
18062 2013-06-08  Glenn Morris  <rgm@gnu.org>
18064         * emacs-lisp/bytecomp.el (byte-compile-char-before)
18065         (byte-compile-backward-char, byte-compile-backward-word):
18066         Improve previous change, to handle non-explicit nil.
18068 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18070         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
18071         (smie--opener/closer-at-point): New function.
18072         (smie--matching-block-data): Use it.  Don't match from right after an
18073         opener or right before a closer.  Obey smie-blink-matching-inners.
18074         Don't signal a mismatch for repeated inners like "switch..case..case".
18076 2013-06-07  Leo Liu  <sdl.web@gmail.com>
18078         * progmodes/octave.el (octave-mode): Set comment-use-global-state
18079         to t.  (Bug#14303)
18080         (octave-function-header-regexp): Fix.  (Bug#14570)
18081         (octave-help-mode-finish-hook, octave-help-mode-finish):
18082         Remove.  Just use temp-buffer-show-hook.
18084         * newcomment.el (comment-search-backward): Revert last change.
18085         (Bug#14434)
18087         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
18089 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
18091         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
18092         through xargs, to avoid failure due to MS-Windows limitations on
18093         command-line length.
18095 2013-06-06  Glenn Morris  <rgm@gnu.org>
18097         * font-lock.el (lisp-font-lock-keywords-2):
18098         Treat user-error like error.
18100         * emacs-lisp/bytecomp.el (byte-compile-char-before)
18101         (byte-compile-backward-char, byte-compile-backward-word):
18102         Handle explicit nil arguments.  (Bug#14565)
18104 2013-06-05  Alan Mackenzie  <acm@muc.de>
18106         * isearch.el (isearch-allow-prefix): New user option.
18107         (isearch-other-meta-char): Don't exit isearch when a prefix
18108         argument is typed whilst `isearch-allow-prefix' is non-nil.
18109         (Bug#9706)
18111 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18113         * autorevert.el (auto-revert-notify-handler): Use memq.
18114         Hide assertion failure.
18116         * skeleton.el: Use cl-lib.
18117         (skeleton-further-elements): Use defvar-local.
18118         (skeleton-insert): Use cl-progv.
18120 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
18122         * progmodes/prog-mode.el (prog-prettify-symbols)
18123         (prog-prettify-install): Update docstrings.
18125 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18127         * simple.el: Move all the prog-mode code to prog-mode.el.
18128         * progmodes/prog-mode.el: New file.
18129         * loadup.el: Add prog-mode.el.
18131 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
18133         * simple.el (prog-prettify-symbols): Add version.
18134         (prog-prettify-install): Add convenience function to prettify symbols.
18136         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
18137         (perl--augmented-font-lock-keywords-1)
18138         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
18139         variables and use it.
18141         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18142         (cfengine3-mode): Remove unneeded variable and use it.
18144         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18145         (lisp--augmented-font-lock-keywords-1)
18146         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
18147         Remove unneeded variables and use it.
18149 2013-06-05  João Távora  <joaotavora@gmail.com>
18151         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
18152         to point when opening the connection.  (Bug#14380)
18154 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18156         * subr.el (load-history-regexp, load-history-filename-element)
18157         (eval-after-load, after-load-functions, do-after-load-evaluation)
18158         (eval-next-after-load, display-delayed-warnings)
18159         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
18160         definition of save-match-data.
18161         (overriding-local-map): Remove accidental obsolescence declaration.
18163         * emacs-lisp/edebug.el (edebug-result): Move before first use.
18165 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
18167         Generalize symbol prettify support to prog-mode and implement it
18168         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
18169         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
18170         (prog--prettify-font-lock-compose-symbol)
18171         (prog-prettify-font-lock-symbols-keywords): New variables and
18172         functions to support symbol prettification.
18173         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18174         (lisp--augmented-font-lock-keywords-1)
18175         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
18176         (lisp--prettify-symbols-alist): Implement prettify of lambda.
18177         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18178         (cfengine3--prettify-symbols-alist, cfengine3-mode):
18179         Implement prettify of -> => :: strings.
18180         * progmodes/perl-mode.el (perl-prettify-symbols)
18181         (perl--font-lock-compose-symbol)
18182         (perl--font-lock-symbols-keywords): Move to prog-mode.
18183         (perl--prettify-symbols-alist): Prettify -> => :: strings.
18184         (perl-font-lock-keywords-1)
18185         (perl-font-lock-keywords-2): Remove explicit prettify support.
18186         (perl--augmented-font-lock-keywords)
18187         (perl--augmented-font-lock-keywords-1)
18188         (perl--augmented-font-lock-keywords-2, perl-mode):
18189         Implement prettify support.
18191 2013-06-05  Leo Liu  <sdl.web@gmail.com>
18193         Re-implement SMIE matching block highlight using
18194         show-paren-data-function.  (Bug#14395)
18195         * emacs-lisp/smie.el (smie-matching-block-highlight)
18196         (smie--highlight-matching-block-overlay)
18197         (smie--highlight-matching-block-lastpos)
18198         (smie-highlight-matching-block)
18199         (smie-highlight-matching-block-mode): Remove.
18200         (smie--matching-block-data-cache): New variable.
18201         (smie--matching-block-data): New function.
18202         (smie-setup): Use smie--matching-block-data for
18203         show-paren-data-function.
18205         * progmodes/octave.el (octave-mode-menu): Fix.
18206         (octave-find-definition): Skip garbage lines.
18208 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18210         Fix compilation error with simultaneous dynamic+lexical scoping.
18211         Add warning when a defvar appears after the first let-binding.
18212         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
18213         (byte-compile-close-variables): Initialize it.
18214         (byte-compile--declare-var): New function.
18215         (byte-compile-file-form-defvar)
18216         (byte-compile-file-form-define-abbrev-table)
18217         (byte-compile-file-form-custom-declare-variable): Use it.
18218         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
18219         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
18220         (byte-compile-bind): Handle dynamic bindings that shadow
18221         lexical bindings.
18222         (byte-compile-unbind): Make arg non-optional.
18223         (byte-compile-let): Simplify.
18224         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
18225         (cconv--analyse-function, cconv-analyse-form): Populate it.
18226         Protect byte-compile-bound-variables to limit the scope of defvars.
18227         (cconv-analyse-form): Add missing rule for (defvar <foo>).
18228         Remove unneeded rule for `declare'.
18230         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
18231         so as to avoid depending on cl-adjoin at run-time.
18232         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
18234         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
18235         (macroexp--warn-and-return): Use it.
18237 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18239         * subr.el: Convert to lexical binding.
18240         (overriding-local-map): Make obsolete.
18241         (add-to-list): Doc fix.  Add compiler macro.
18242         (read-key): Swap values of local maps.
18244 2013-06-05  Leo Liu  <sdl.web@gmail.com>
18246         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
18248 2013-06-04  Leo Liu  <sdl.web@gmail.com>
18250         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
18251         (compilation-auto-jump): Suppress the "Mark set" message to give
18252         way to exit message.
18254 2013-06-04  Alan Mackenzie  <acm@muc.de>
18256         Remove faulty optimization from indentation calculation.
18257         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
18258         search limit based on 2000 characters back from indent-point.
18260 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
18262         * eshell/em-term.el (cl-lib): Require `cl-lib'.
18264 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18266         * emacs-lisp/lisp.el: Use lexical-binding.
18267         (lisp--local-variables-1, lisp--local-variables): New functions.
18268         (lisp--local-variables-completion-table): New var.
18269         (lisp-completion-at-point): Use it complete let-bound vars.
18271         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
18272         eagerly (bug#14422).
18274 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
18276         * autorevert.el (auto-revert-notify-enabled)
18277         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18278         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
18279         (auto-revert-notify-handler): Handle also gfilenotify.
18281         * subr.el (file-notify-handle-event): New defun.  Replacing ...
18282         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
18283         Remove.
18285 2013-06-03  Juri Linkov  <juri@jurta.org>
18287         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
18288         `M-s h .'.  (Bug#14427)
18290         * hi-lock.el (highlight-symbol-at-point): New alias for the new
18291         command `hi-lock-face-symbol-at-point'.
18292         (hi-lock-face-symbol-at-point): New command.
18293         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
18294         (hi-lock-menu): Add `highlight-symbol-at-point'.
18295         (hi-lock-mode): Doc fix.
18297         * isearch.el (isearch-forward-symbol-at-point): New command.
18298         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
18299         (isearch-highlight-regexp): Add a regexp which matches
18300         words/symbols for word/symbol mode.
18302         * subr.el (find-tag-default-bounds): New function with the body
18303         mostly moved from `find-tag-default'.
18304         (find-tag-default): Move most code to `find-tag-default-bounds',
18305         call it and apply `buffer-substring-no-properties' afterwards.
18307 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
18309         * eshell/em-term.el (eshell-term-initialize):
18310         Use `cl-intersection' rather than `intersection'.
18312 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
18314         * vc/log-view.el: Doc fix.
18315         (log-view-mode-map): Copy keymap from `special-mode-map'.
18317 2013-06-02  Eric Ludlam  <zappo@gnu.org>
18319         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
18320         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
18321         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
18322         (eieio-unbound, eieio-default-superclass)
18323         (eieio--define-field-accessors, method-static, method-before)
18324         (method-primary, method-after, method-num-lists)
18325         (method-generic-before, method-generic-primary)
18326         (method-generic-after, method-num-slots)
18327         (eieio-specialized-key-to-generic-key)
18328         (eieio--check-type, class-v, class-p)
18329         (eieio-class-name, define-obsolete-function-alias)
18330         (eieio-class-parents-fast, eieio-class-children-fast)
18331         (same-class-fast-p, class-constructor, generic-p)
18332         (generic-primary-only-p, generic-primary-only-one-p)
18333         (class-option-assoc, class-option, eieio-object-p)
18334         (class-abstract-p, class-method-invocation-order)
18335         (eieio-defclass-autoload-map, eieio-defclass-autoload)
18336         (eieio-class-un-autoload, eieio-defclass)
18337         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
18338         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
18339         (eieio--defgeneric-init-form, eieio-defgeneric-form)
18340         (eieio-defgeneric-reset-generic-form)
18341         (eieio-defgeneric-form-primary-only)
18342         (eieio-defgeneric-reset-generic-form-primary-only)
18343         (eieio-defgeneric-form-primary-only-one)
18344         (eieio-defgeneric-reset-generic-form-primary-only-one)
18345         (eieio-unbind-method-implementations)
18346         (eieio--defmethod, eieio--typep)
18347         (eieio-perform-slot-validation, eieio-validate-slot-value)
18348         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
18349         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
18350         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
18351         (eieio-slot-name-index, eieio-class-slot-name-index)
18352         (eieio-set-defaults, eieio-initarg-to-attribute)
18353         (eieio-attribute-to-initarg, eieio-c3-candidate)
18354         (eieio-c3-merge-lists, eieio-class-precedence-c3)
18355         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
18356         (eieio-class-precedence-list, eieio-generic-call-methodname)
18357         (eieio-generic-call-arglst, eieio-generic-call-key)
18358         (eieio-generic-call-next-method-list)
18359         (eieio-pre-method-execution-functions, eieio-generic-call)
18360         (eieio-generic-call-primary-only, eieiomt-method-list)
18361         (eieiomt-optimizing-obarray, eieiomt-install)
18362         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
18363         (eieio-generic-form, eieio-defmethod, make-obsolete)
18364         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
18365         (defclass): Remove `eval-and-compile' from macro.
18366         (call-next-method, shared-initialize): Instead of using
18367         `scoped-class' variable, use new eieio--scoped-class, and
18368         eieio--with-scoped-class.
18369         (initialize-instance): Rename local variable 'scoped-class' to
18370         'this-class' to remove ambiguitity from old global.
18372         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
18373         eieio.el.
18374         (eieio--scoped-class-stack): New variable.
18375         (eieio--scoped-class): New fcn.
18376         (eieio--with-scoped-class): New scoping macro.
18377         (eieio-defclass): Use pushnew instead of add-to-list.
18378         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
18379         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
18380         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
18381         `scoped-class' variable, use new eieio--scoped-class, and
18382         eieio--with-scoped-class.
18384         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
18386 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
18388         * eshell/esh-ext.el (eshell-external-command): Pass args to
18389         `eshell-find-interpreter'.
18390         (eshell-find-interpreter): Add new second parameter ARGS.
18392         * eshell/em-script.el (eshell-script-initialize): Add second arg
18393         to the function added as MATCH to `eshell-interpreter-alist'.
18395         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
18396         the function added as MATCH to `eshell-interpreter-alist'.
18398         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
18399         (eshell-visual-options): New defcustom.
18400         (eshell-escape-control-x): Adapt docstring.
18401         (eshell-term-initialize): Test `eshell-visual-subcommands' and
18402         `eshell-visual-options' in addition to `eshell-visual-commands'.
18403         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
18405 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
18407         * progmodes/python.el (python-indent-block-enders): Add break,
18408         continue and raise keywords.
18410 2013-06-01  Glenn Morris  <rgm@gnu.org>
18412         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
18414         Plain (f)boundp silences compilation warnings since Emacs 22.1.
18415         * progmodes/cc-cmds.el (delete-forward-p):
18416         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
18417         * progmodes/cc-engine.el (buffer-syntactic-context):
18418         * progmodes/cc-fonts.el (face-property-instance):
18419         * progmodes/cc-mode.el (set-keymap-parents):
18420         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
18421         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
18422         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
18423         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
18424         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
18426         * progmodes/cc-vars.el (other): Emacs has this widget since
18427         at least 21.1, so don't (re)define it.
18429         * eshell/em-cmpl.el (eshell-cmpl-initialize):
18430         Replace the obsolete alias pcomplete-arg-quote-list.
18432 2013-06-01  Leo Liu  <sdl.web@gmail.com>
18434         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
18435         punctuation syntax.
18436         (inferior-octave-minimal-columns)
18437         (inferior-octave-last-column-width): New variables.
18438         (inferior-octave-track-window-width-change): New function.
18439         (inferior-octave-mode): Adjust column width so that Octave output,
18440         for example from 'ls', can fit into the window nicely.
18442 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
18444         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18445         Highlight expansions inside regexp literals.
18447 2013-05-31  Glenn Morris  <rgm@gnu.org>
18449         * obsolete/sym-comp.el (symbol-complete):
18450         Replace obsolete completion-annotate-function.
18452         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
18454 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
18456         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18457         New function, checks if point is inside a literal that allows
18458         expression expansion.
18459         (ruby-syntax-propertize-expansion): Use it.
18460         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
18461         around the body.
18463 2013-05-30  Juri Linkov  <juri@jurta.org>
18465         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
18466         to "\M-si".
18467         (isearch-invisible): New variable.
18468         (isearch-forward): Doc fix.
18469         (isearch-mode): Set `isearch-invisible'
18470         to the value of `search-invisible'.
18471         (isearch-toggle-case-fold): Doc fix.
18472         (isearch-toggle-invisible): New command.
18473         (isearch-query-replace): Let-bind `search-invisible'
18474         to the value of `isearch-invisible'.
18475         (isearch-search): Use `isearch-invisible' instead of
18476         `search-invisible'.  Let-bind `search-invisible'
18477         to the value of `isearch-invisible'.  (Bug#11378)
18479 2013-05-30  Juri Linkov  <juri@jurta.org>
18481         * replace.el (perform-replace): Avoid `isearch-range-invisible'
18482         call when `query-flag' is nil and `search-invisible' is non-nil.
18483         (Bug#11746)
18485 2013-05-30  Glenn Morris  <rgm@gnu.org>
18487         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
18489         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
18490         (cc-require): Suppress spurious "noruntime" warnings.
18491         (cc-require-when-compile): Use fboundp, for sake of compiler.
18493         * progmodes/cc-mode.el: Move load of cc-vars before that of
18494         cc-langs (which in turn loads cc-vars), to quieten compiler.
18496 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18498         * paren.el: Simplify the code.
18499         (show-paren-mode): Always start the timer.
18500         (show-paren--idle-timer): Rename from show-paren-idle-timer.
18501         (show-paren--overlay, show-paren--overlay-1): Rename from
18502         show-paren-overlay and show-paren-overlay-1, and initialize to an
18503         overlay rather than to nil.
18504         (show-paren-function): Misc cleanup and simplifications.
18506 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18508         * paren.el (show-paren-data-function): New hook.
18509         (show-paren--default): New function, extracted from show-paren-function.
18510         (show-paren-function): Use show-paren-data-function.
18512 2013-05-30  Glenn Morris  <rgm@gnu.org>
18514         * ielm.el (ielm-map, ielm-complete-symbol):
18515         Use completion-at-point rather than obsolete functions.
18516         (inferior-emacs-lisp-mode): Doc fix.
18517         Set completion-at-point-functions, rather than
18518         comint-dynamic-complete-functions.
18520         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
18521         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
18522         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
18524         * image.el (image-animated-p): Tweak definition.
18526         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
18527         (rlogin-process-connection-type): Tweak default.  Add set-after.
18528         (rlogin-host): Doc fix.
18529         (rlogin): Tweak prompt.
18530         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
18532         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
18533         * progmodes/tcl.el (inferior-tcl-mode-map):
18534         Use completion-at-point rather than obsolete alias.
18536         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
18538         * minibuffer.el (read-file-name-completion-ignore-case):
18539         Move before completion--in-region, for eager macro expansion.
18541 2013-05-29  Juri Linkov  <juri@jurta.org>
18543         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
18544         for total count of matching lines.  Add `global-matches' for total
18545         count of matches.  Rename `matches' to `lines' for count of
18546         matching lines.  Add `matches' for count of matches.
18547         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
18548         to `prev-line' for line number of prev match endpt.
18549         Increment `matches' for every match.  Print the number of
18550         matching lines in the header.
18551         (occur-context-lines): Rename `lines' to `curr-line'.
18552         Rename `prev-lines' to `prev-line'.  (Bug#14017)
18554 2013-05-29  Juri Linkov  <juri@jurta.org>
18556         * replace.el (perform-replace): Add `skip-read-only-count',
18557         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
18558         Increment them for corresponding conditions and report the number
18559         of skipped occurrences in the final message.  (Bug#11746)
18560         (query-replace, query-replace-regexp, query-replace-regexp-eval)
18561         (replace-string, replace-regexp): Doc fix.
18563 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18565         * emacs-lisp/trace.el (trace--read-args): Provide a default.
18567         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
18568         prog-mode-map (bug#14504).
18570 2013-05-29  Leo Liu  <sdl.web@gmail.com>
18572         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
18573         (octave-help): Small simplification.
18575         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
18576         off the highlight first.
18578 2013-05-29  Glenn Morris  <rgm@gnu.org>
18580         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
18581         Handle idlwave-last-system-routine-info-cons-cell being nil.
18583         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
18584         (idlwave-write-paths): Simplify via with-temp-buffer.
18586         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
18587         * emulation/cua-rect.el: Also load cua-base at run time.
18589         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
18590         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
18591         (cperl-imenu-on-info): Require imenu.
18593 2013-05-28  Alan Mackenzie  <acm@muc.de>
18595         Handle "capitalised keywords" correctly.
18596         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
18598 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
18600         * eshell/em-unix.el: Add -r option to cp.
18602 2013-05-28  Glenn Morris  <rgm@gnu.org>
18604         * vc/vc-arch.el (vc-exec-after): Declare.
18605         (vc-switches): Autoload.
18606         * vc/vc-bzr.el: No need to require vc when compiling.
18607         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
18608         (vc-resynch-buffer, vc-dir-refresh): Declare.
18609         (vc-setup-buffer, vc-switches): Autoload.
18610         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
18611         (vc-resynch-buffer): Declare.
18612         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
18613         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
18614         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
18615         (grep-read-regexp, grep-read-files, grep-expand-template)
18616         (vc-dir-refresh): Declare.
18617         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
18618         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
18619         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
18620         * vc/vc-mtn.el (vc-exec-after): Declare.
18621         (vc-switches): Autoload.
18622         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
18623         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
18624         (vc-file-tree-walk): Declare.
18625         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
18626         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
18627         (vc-tag-precondition, vc-rename-master): Autoload.
18628         * vc/vc-svn.el (vc-exec-after): Declare.
18629         (vc-switches, vc-setup-buffer): Autoload.
18630         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
18631         Autoload.
18632         (vc-resynch-buffer): Declare.
18634         * obsolete/fast-lock.el (byte-compile-warnings):
18635         Don't warn about obsolete features in this obsolete file.
18637         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
18638         Move definition before use.
18640         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
18641         (dun-unix-verbs): Remove dun-zippy.
18642         (dun-zippy): Remove function.
18644         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
18646 2013-05-27  Juri Linkov  <juri@jurta.org>
18648         * replace.el (replace-search): New function with code moved out
18649         from `perform-replace'.
18650         (replace-highlight, replace-dehighlight): Move function definitions
18651         up closer to `replace-search'.  (Bug#11746)
18653 2013-05-27  Juri Linkov  <juri@jurta.org>
18655         * replace.el (perform-replace): Ignore invisible matches.
18656         In addition to checking `query-replace-skip-read-only', also
18657         filter out matches by calling `run-hook-with-args-until-failure'
18658         on `isearch-filter-predicates', and also check `search-invisible'
18659         for t or call `isearch-range-invisible'.
18660         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
18662 2013-05-27  Juri Linkov  <juri@jurta.org>
18664         * isearch.el (isearch-filter-predicates): Rename from
18665         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
18666         (isearch-message-prefix): Display text from the property
18667         `isearch-message-prefix' of the currently active filters.
18668         (isearch-search): Don't compare `isearch-filter-predicate' with
18669         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
18670         on `isearch-filter-predicates'.  Also check `search-invisible' for t
18671         or call `isearch-range-invisible'.
18672         (isearch-filter-visible): Make obsolete.
18673         (isearch-lazy-highlight-search):
18674         Call `run-hook-with-args-until-failure' on
18675         `isearch-filter-predicates' and use `isearch-range-invisible'.
18677         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
18678         `isearch-filter-predicates' instead of `funcall'ing
18679         `isearch-filter-predicate'.
18680         (Info-mode): Set `Info-isearch-filter' to
18681         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
18683         * dired-aux.el (dired-isearch-filter-predicate-orig):
18684         Remove variable.
18685         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
18686         (dired-isearch-filenames-end): Add and remove
18687         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
18688         instead of changing the value of `isearch-filter-predicate'.
18689         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
18690         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
18691         Put property `isearch-message-prefix' to "filename " on
18692         `dired-isearch-filter-filenames'.
18694         * wdired.el (wdired-change-to-wdired-mode):
18695         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
18696         locally instead of changing `isearch-filter-predicate'.
18697         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
18699 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
18701         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
18702         return the commit hash (Bug#14459).  Also set the
18703         `vc-git-detached' property.
18704         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
18705         (vc-git-mode-line-string): Use the same help-echo format whether
18706         in detached mode or not, because we know the actual revision now.
18707         When in detached mode, shorten the revision to 7 chars.
18709 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18711         * emacs-lisp/easy-mmode.el (define-minor-mode):
18712         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
18713         mode hook and provide a docstring.
18715 2013-05-27  Alan Mackenzie  <acm@muc.de>
18717         Remove spurious syntax-table text properties inserted by C-y.
18718         * progmodes/cc-mode.el (c-after-change): Also clear hard
18719         syntax-table property with value nil.
18721 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
18723         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
18724         when reading the events; the buffer layout shall not be changed.
18726 2013-05-27  Leo Liu  <sdl.web@gmail.com>
18728         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
18729         New variable.
18730         (inferior-octave-directory-tracker): Automatically re-sync
18731         default-directory.
18732         (octave-help): Improve handling of 'See also'.
18734 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18736         * doc-view.el: Minor naming convention tweaks.
18737         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
18739         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
18740         even if there's no `display' property yet (bug#14435).
18742 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
18744         * subr.el (unmsys--file-name): Rename from reveal-filename.
18746         * Makefile.in (custom-deps, finder-data, autoloads)
18747         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
18748         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
18749         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
18751 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18753         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
18754         error-completion on the first 2 args of condition-case (bug#14446).
18755         Don't burp at EOB.
18757 2013-05-25  Leo Liu  <sdl.web@gmail.com>
18759         * comint.el (comint-previous-matching-input): Do not flood the
18760         *Messages* buffer with trivial messages.
18762 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18764         * progmodes/flymake.el (flymake-nop): Don't return a string.
18765         (flymake-set-at): Fix typo.
18767         * simple.el (read--expression): New function, extracted from
18768         eval-expression.  Set completion-at-point-functions (bug#14465).
18769         (eval-expression, eval-minibuffer): Use it.
18771 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
18773         * progmodes/flymake.el (flymake-save-buffer-in-file)
18774         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
18775         (flymake-selected-frame, flymake-log, flymake-ins-after)
18776         (flymake-set-at, flymake-get-buildfile-from-cache)
18777         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
18778         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
18779         Refine the doc string.
18780         (flymake-get-file-name-mode-and-masks): Reformat.
18781         (flymake-get-real-file-name-function): Fix a minor bug.
18783 2013-05-24  Juri Linkov  <juri@jurta.org>
18785         * progmodes/grep.el (grep-mode-font-lock-keywords):
18786         Support =linenumber= format used by git-grep for lines with
18787         function names.  (Bug#13549)
18789 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18791         * progmodes/octave.el (octave-smie-rules): Return nil rather than
18792         0 after a semi-colon; it works better for smie-auto-fill.
18793         (octave--indent-new-comment-line): New function.
18794         (octave-indent-new-comment-line): Use it (indirectly).
18795         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
18796         modify comment-line-break-function.
18798         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
18799         (smie-setup): Use add-function to set it.
18801 2013-05-24  Sam Steingold  <sds@gnu.org>
18803         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
18804         argument (before the `interactive' argument).
18806 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18808         * image-mode.el (image-mode-winprops): Add winprops to
18809         image-mode-winprops-alist before running
18810         image-mode-new-window-functions.
18811         * doc-view.el (doc-view-new-window-function): Don't delay
18812         doc-view-goto-page via timers (bug#14435).
18814 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
18816         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
18817         (doc-view-desktop-save-buffer): New function.
18818         (doc-view-restore-desktop-buffer): New function.
18819         (desktop-buffer-mode-handlers):
18820         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
18821         handler.
18822         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
18823         `desktop-save-buffer' function.
18825 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
18827         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
18828         (tramp-gvfs-file-name-handler): Raise a user error when
18829         `tramp-gvfs-enabled' is nil.
18830         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
18831         Do not raise a user error when loading package.  (Bug#14447)
18833         * net/xesam.el: Move to obsolete/.
18835 2013-05-24  Glenn Morris  <rgm@gnu.org>
18837         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
18839         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
18841         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
18842         (Info-find-node, Man-getpage-in-background): Declare.
18844         * mail/unrmail.el (unrmail):
18845         Replace obsolete detect-coding-with-priority.
18847         * net/socks.el (socks-split-string): Use this rather than split-string.
18848         (socks-nslookup-host): Update for above change.
18849         (dynamic-choice, s5-dynamic-choice-match)
18850         (s5-dynamic-choice-match-inline, s5-widget-value-create):
18851         Comment out unused code.
18853         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
18854         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
18855         (gud-tooltip-echo-area): Make obsolete.
18856         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
18858         * progmodes/js.el (js--optimize-arglist): Declare.
18860         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
18862         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
18863         (ediff-window-C): Declare.
18865         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
18866         Tweak requires to silence compiler.
18868         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
18869         (he-search-string, he-tried-table, he-expand-list)
18870         (he-init-string, he-string-member, he-substitute-string)
18871         (he-reset-string): Declare.
18873         * obsolete/options.el (list-options): Use custom-variable-p,
18874         rather than obsolete alias.
18876 2013-05-23  Sam Steingold  <sds@gnu.org>
18878         * simple.el (shell-command-on-region): Pass the `replace' argument
18879         down to `call-process-region' to comply with the doc as reported on
18880         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
18882 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18884         * emacs-lisp/smie.el (smie-indent-forward-token)
18885         (smie-indent-backward-token): Handle string tokens (bug#14381).
18887 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18889         * ielm.el (ielm-menu): New menu.
18890         (inferior-emacs-lisp-mode): Set comment-start.
18892 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18894         * textmodes/reftex.el (reftex-ref-style-toggle):
18895         Fix deactivate action.
18897         * textmodes/reftex-vars.el (reftex-ref-style-alist):
18898         Add cleveref macros.
18900         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
18901         Accept options for bibliography commands.
18902         * textmodes/reftex-vars.el (reftex-bibliography-commands):
18903         Add addbibresource.  Basic Biblatex support.
18905 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
18907         * net/tramp-gvfs.el (top):
18908         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
18909         when loading package.  (Bug#14447)
18911 2013-05-23  Glenn Morris  <rgm@gnu.org>
18913         * progmodes/js.el: No need to load comint when compiling.
18914         (ring-insert, comint-send-string, comint-send-input)
18915         (comint-last-input-end, ido-chop): Declare.
18917         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
18918         * vc/ediff-mult.el: Adjust requires.
18919         (ediff-directories-internal, ediff-directory-revisions-internal)
18920         (ediff-patch-file-internal): Declare.
18921         * vc/ediff-ptch.el: Adjust requires.
18922         (ediff-use-last-dir, ediff-buffers-internal): Declare.
18923         (ediff-find-file): Autoload.
18924         * vc/ediff-util.el: No need to load ediff when compiling.
18925         (ediff-regions-internal): Declare.
18926         * vc/ediff-wind.el: Adjust requires.
18927         (ediff-compute-toolbar-width): Define when compiling.
18928         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
18929         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
18930         (dired-get-filename, dired-get-marked-files)
18931         (ediff-last-dir-patch, ediff-patch-default-directory)
18932         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
18933         (ediff-patch-buffer-internal): Declare.
18935         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
18936         (ispell-process, ispell-buffer-local-words, lm-summary)
18937         (lm-section-start, lm-section-end): Declare.
18938         (checkdoc-ispell-init): Simplify.
18940         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
18941         (he-string-member, he-reset-string, he-substitute-string): Declare.
18943         * eshell/em-ls.el: Adjust requires.
18944         (eshell-glob-regexp): Declare.
18945         * eshell/em-tramp.el: Adjust requires.
18946         (eshell-parse-command): Autoload.
18947         * eshell/em-xtra.el: Adjust requires.
18948         (eshell-parse-command): Autoload.
18949         * eshell/esh-ext.el: Adjust requires.
18950         (eshell-parse-command, eshell-close-handles): Autoload.
18951         * eshell/esh-io.el: Adjust requires.
18952         (eshell-output-filter): Autoload.
18953         * eshell/esh-util.el: No need to load tramp when compiling.
18954         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
18955         Declare.
18956         (eshell-parse-ange-ls): Require ange-ftp and tramp.
18957         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
18958         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
18959         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
18960         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
18961         * eshell/esh-opt.el, eshell/esh-proc.el:
18962         * eshell/esh-var.el: Adjust requires.
18963         * eshell/eshell.el: Do not require esh-util twice.
18964         (eshell-add-input-to-history): Declare.
18965         (eshell-command): Check history module is active before using it.
18967         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
18969 2013-05-22  Leo Liu  <sdl.web@gmail.com>
18971         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
18973 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
18975         * autorevert.el (auto-revert-notify-add-watch)
18976         (auto-revert-notify-handler): Add `attrib' for the inotify case,
18977         it indicates changes in file modification time.
18979 2013-05-22  Glenn Morris  <rgm@gnu.org>
18981         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
18982         Always delete the autoloaded function from the noruntime and
18983         unresolved functions lists.
18985         * allout.el: No need to load epa, epg, overlay when compiling.
18986         (epg-context-set-passphrase-callback, epg-list-keys)
18987         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
18988         (epg-key-user-id-list): Declare.
18990         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18991         (viper-set-parsing-style-toggling-macro)
18992         (viper-set-emacs-state-searchstyle-macros):
18993         Use called-interactively-p on Emacs.
18994         (viper-looking-back): Make it an obsolete alias.  Update callers.
18995         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
18996         Use looking-back rather than viper-looking-back.
18997         (viper-tmp-insert-at-eob, viper-enlarge-region)
18998         (viper-read-string-with-history, viper-register-to-point)
18999         (viper-append-to-register, viper-change-state-to-vi)
19000         (viper-backward-char-carefully, viper-forward-char-carefully)
19001         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
19002         (viper-change-state-to-emacs): Declare.
19003         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
19004         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
19005         * emulation/viper-mous.el: Do not load viper-cmd.
19006         (viper-backward-char-carefully, viper-forward-char-carefully)
19007         (viper-forward-word, viper-adjust-window): Declare.
19009         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
19011         * progmodes/idlw-help.el (idlwave-help-fontify):
19012         Use called-interactively-p.
19014         * term/w32console.el (w32-get-console-codepage)
19015         (w32-get-console-output-codepage): Declare.
19017         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
19018         Remove unnecessary declarations.
19019         (dframe-message): Doc fix.
19021         * info.el (dframe-select-attached-frame, dframe-current-frame):
19022         Declare.
19024         * speedbar.el (speedbar-message): Make it an obsolete alias.
19025         Update all callers.
19026         (speedbar-with-attached-buffer)
19027         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
19028         (speedbar-with-writable): Use backquote.
19029         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
19030         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
19031         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
19032         rather than speedbar- aliases.
19033         * mail/rmail.el: Load dframe rather than speedbar when compiling.
19034         (speedbar-make-specialized-keymap, speedbar-insert-button)
19035         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
19036         (speedbar-do-function-pointer): Declare.
19037         (rmail-speedbar-button, rmail-speedbar-find-file)
19038         (rmail-speedbar-move-message):
19039         Use dframe-with-attached-buffer rather than speedbar- alias.
19040         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
19041         (dframe-message, speedbar-make-specialized-keymap)
19042         (speedbar-add-expansion-list, speedbar-mode-functions-list)
19043         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
19044         (speedbar-insert-button, dframe-select-attached-frame)
19045         (dframe-maybee-jump-to-attached-frame)
19046         (speedbar-change-initial-expansion-list)
19047         (speedbar-previously-used-expansion-list-name): Declare.
19048         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
19049         Use dframe-message, dframe-with-attached-buffer rather than
19050         speedbar- aliases.
19051         (gud-sentinel): Silence compiler.
19052         * progmodes/vhdl-mode.el (speedbar-refresh)
19053         (speedbar-do-function-pointer, speedbar-add-supported-extension)
19054         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
19055         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
19056         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
19057         (speedbar-file-lists, speedbar-make-tag-line)
19058         (speedbar-line-directory, speedbar-goto-this-file)
19059         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
19060         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
19061         (speedbar-make-button, speedbar-reset-scanners)
19062         (speedbar-files-item-info, speedbar-line-text)
19063         (speedbar-find-file-in-frame, speedbar-set-timer)
19064         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
19065         (speedbar-with-writable): Do not (re)define it.
19066         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
19067         rather than speedbar- alias.
19069 2013-05-21  Leo Liu  <sdl.web@gmail.com>
19071         * progmodes/octave.el (octave-mode-menu): Update and re-organize
19072         menu items.
19073         (octave-mode): Tweak fill-nobreak-predicate.
19074         (inferior-octave-startup): Check process to avoid infinite loop.
19075         (inferior-octave): Pop to buffer first to show abornmal process
19076         exit information.
19078 2013-05-21  Glenn Morris  <rgm@gnu.org>
19080         * printing.el (pr-menu-bar): Define when compiling.
19082 2013-05-21  Leo Liu  <sdl.web@gmail.com>
19084         * progmodes/octave.el (octave-auto-fill): Remove.
19085         (octave-indent-new-comment-line): Improve.
19086         (octave-mode): Use auto fill mode through
19087         comment-line-break-function and fill-nobreak-predicate.
19088         (octave-goto-function-definition): Support DEFUN_DLD.
19089         (octave-beginning-of-defun): Small tweak.
19090         (octave-help): Show parent directory.
19092 2013-05-21  Glenn Morris  <rgm@gnu.org>
19094         * files.el (dired-unmark):
19095         * progmodes/gud.el (gdb-input): Update declarations.
19097         * calculator.el (electric, ehelp): No need to load when compiling.
19098         (Electric-command-loop, electric-describe-mode): Declare.
19100         * doc-view.el (doc-view-current-converter-processes): Move before use.
19102         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19103         Move MODE-set-explicitly definition before use.
19105         * international/mule-diag.el (mule-diag):
19106         Don't use obsolete window-system-version.
19108         * mail/feedmail.el (smtpmail): No need to load when compiling.
19109         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
19111         * mail/mail-utils.el (rfc822): No need to load when compiling.
19112         (rfc822-addresses): Autoload it.
19113         (mail-strip-quoted-names): Trivial simplification.
19115         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
19116         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
19118         * net/snmp-mode.el (tempo): Don't duplicate requires.
19120         * progmodes/prolog.el (info): No need to load when compiling.
19121         (comint): Require before shell requires it.
19122         (Info-goto-node): Autoload it.
19123         (Info-follow-nearest-node): Declare.
19124         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
19126         * textmodes/artist.el (picture-mode-exit): Declare.
19128         * textmodes/reftex-parse.el (reftex-parse-from-file):
19129         Trivial rewrite so the compiler can parse it better.
19131 2013-05-20  Leo Liu  <sdl.web@gmail.com>
19133         * progmodes/octave.el (octave-help-mode-map)
19134         (octave-help-mode-finish-hook): New variables.
19135         (octave-help-mode, octave-help-mode-finish): New functions.
19136         (octave-help): Use octave-help-mode.
19138 2013-05-20  Glenn Morris  <rgm@gnu.org>
19140         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
19142 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
19144         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
19145         start at point, so that expansion starting right after opening
19146         slash in a regexp is recognized.
19147         (ruby-syntax-before-regexp-re): New defvar, extracted from
19148         ruby-syntax-propertize-function.  Since the value of this regexp
19149         is looked up at runtime now, we should be able to turn
19150         `ruby-syntax-methods-before-regexp' into a defcustom later.
19151         (ruby-syntax-propertize-function): Split regexp matching into two
19152         parts, for opening and closing slashes.  That allows us to skip
19153         over string interpolations and support multiline regexps.
19154         Don't call `ruby-syntax-propertize-expansions', instead use another rule
19155         for them, which calls `ruby-syntax-propertize-expansion'.
19156         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
19157         call to `ruby-syntax-propertize-function'.
19158         (ruby-syntax-propertize-expansion): Extracted from
19159         `ruby-syntax-propertize-expansions'.  Handles one expansion.
19160         (ruby-syntax-propertize-percent-literal): Leave point right after
19161         the percent symbol, so that the expression expansion rule can
19162         propertize the contents.
19163         (ruby-syntax-propertize-heredoc): Leave point at bol following the
19164         heredoc openers.
19165         (ruby-syntax-propertize-expansions): Remove.
19167 2013-05-18  Juri Linkov  <juri@jurta.org>
19169         * man.el (Man-default-man-entry): Remove `-' from the end
19170         of the default value.  (Bug#14400)
19172 2013-05-18  Glenn Morris  <rgm@gnu.org>
19174         * comint.el (comint-password-prompt-regexp):
19175         Allow "password for XXX" where XXX contains colons (eg https://...).
19177 2013-05-18  Leo Liu  <sdl.web@gmail.com>
19179         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
19180         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
19181         (octave-source-directories): Don't check process.
19182         (octave-source-directories, octave-find-definition): Doc fix.
19184 2013-05-18  Glenn Morris  <rgm@gnu.org>
19186         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
19187         Remove backspace/delete bindings.  (Bug#14392)
19189         * cus-dep.el (custom-make-dependencies): Sort the output.
19190         (custom-versions-load-alist): Convert comment to doc.
19192 2013-05-17  Leo Liu  <sdl.web@gmail.com>
19194         * newcomment.el (comment-search-backward): Stricter in finding
19195         comment start.  (Bug#14303)
19197         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
19198         (octave-comment-start-skip): Properly anchored.
19200 2013-05-17  Leo Liu  <sdl.web@gmail.com>
19202         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
19203         Clean up when turned off.  (Bug#14395)
19204         (smie--highlight-matching-block-overlay): No longer buffer-local.
19205         (smie-highlight-matching-block): Adjust.
19207 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
19209         Doc string fix for "nanoseconds" (Bug#14406).
19210         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
19211         Fix doc string typo that had "nanoseconds" instead of "microseconds".
19213 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
19215         * calc/calc-units.el (math-extract-units): Preserve powers
19216         of units.
19218 2013-05-17  Leo Liu  <sdl.web@gmail.com>
19220         * subr.el (delete-consecutive-dups): New function.
19221         * ido.el (ido-set-matches-1): Use it.
19222         * progmodes/octave.el (inferior-octave-completion-table): Use it.
19223         * ido.el (ido-remove-consecutive-dups): Remove.
19225 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19227         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19228         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
19229         regexp-opt's `words'.
19231 2013-05-16  Leo Liu  <sdl.web@gmail.com>
19233         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
19234         (smie--highlight-matching-block-overlay)
19235         (smie--highlight-matching-block-lastpos)
19236         (smie--highlight-matching-block-timer): New variables.
19237         (smie-highlight-matching-block): New function.
19238         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
19239         (smie-setup): Conditionally enable smie-blink-matching-open.
19241 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
19243         Sync with upstream verilog-mode r840.
19244         * progmodes/verilog-mode.el (verilog-mode-version)
19245         (verilog-mode-release-date): Update.
19246         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
19247         (verilog-sig-tieoff): Fix string error on
19248         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
19249         (verilog-read-decls): Fix parameters confusing
19250         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
19252 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
19254         * subr.el (reveal-filename): New function.
19256         * loadup.el: Compute Emacs executable versions on MS-Windows,
19257         where executables have the .exe extension.  Add a hard link
19258         emacs-XX.YY.ZZ.exe on MS-Windows.
19260         * Makefile.in (XARGS_LIMIT): New variable.
19261         (custom-deps, finder-data, autoloads)
19262         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19263         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19264         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
19265         (compile-main): Limit xargs according to $(XARGS_LIMIT).
19267 2013-05-16  Leo Liu  <sdl.web@gmail.com>
19269         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
19270         (octave-mode-menu, octave-mode-map): Remove its uses.
19272 2013-05-16  Reto Zimmermann  <reto@gnu.org>
19274         Sync with upstream vhdl mode v3.34.2.
19275         * progmodes/vhdl-mode.el: Use `push' throughout.
19276         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
19277         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
19278         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
19279         (vhdl-actual-generic-name): New option to derive actual generic name.
19280         (vhdl-port-paste-signals): Replace formal by actual generics.
19281         (vhdl-beautify): New name for old group vhdl-align.  Update users.
19282         (vhdl-beautify-options): New option.
19283         (vhdl-last-input-event): New compat alias.  Use throughout.
19284         (vhdl-goto-line): Replace user level function `goto-line'.
19285         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
19286         vhdl-fix-statement-buffer.
19287         (vhdl-create-mode-menu): Add some entries.
19288         (vhdl-align-region-groups): Respect vhdl-beautify-options.
19289         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
19290         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
19291         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
19292         to force statements on one line.
19293         (vhdl-remove-trailing-spaces-region):
19294         New, split from vhdl-remove-trailing-spaces.
19295         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
19296         Respect vhdl-beautify-options.
19297         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
19298         (vhdl-update-sensitivity-list): Not add with index if exists without.
19299         Not include array index with signal.  Ignore keywords in comments.
19300         (vhdl-get-visible-signals): Regexp tweaks.
19301         (vhdl-template-component-inst): Handle empty library.
19302         (vhdl-template-type): Add template for 'enum' type.
19303         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
19304         Use vhdl-replace-string.
19305         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
19306         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
19307         (vhdl-speedbar-initialize): Update for above name change.
19308         (vhdl-compose-wire-components): Fix in handling of constants.
19309         (vhdl-error-regexp-emacs-alist): New variable.
19310         (vhdl-error-regexp-add-emacs): New function;
19311         adds support for new compile.el (Emacs 22+)
19312         (vhdl-generate-makefile-1): Change target order for single lib. units.
19313         Allow use of absolute file names.
19315 2013-05-16  Leo Liu  <sdl.web@gmail.com>
19317         * simple.el (prog-indent-sexp): Indent enclosing defun.
19319 2013-05-15  Glenn Morris  <rgm@gnu.org>
19321         * cus-start.el (show-trailing-whitespace): Move to editing basics.
19322         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
19323         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
19324         (whitespace-highlight): Move to whitespace group.
19326         * comint.el (comint-source):
19327         * pcmpl-linux.el (pcmpl-linux):
19328         * shell.el (shell-faces):
19329         * eshell/esh-opt.el (eshell-opt):
19330         * international/ccl.el (ccl): Remove empty custom groups.
19332         * completion.el (dynamic-completion-mode):
19333         * jit-lock.el (jit-lock-debug-mode):
19334         * minibuffer.el (completion-in-region-mode):
19335         * type-break.el (type-break-mode-line-message-mode)
19336         (type-break-query-mode):
19337         * emulation/tpu-edt.el (tpu-edt-mode):
19338         * progmodes/subword.el (global-subword-mode, global-superword-mode):
19339         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19340         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
19342         * term/xterm.el (xterm): Change parent group to terminals.
19344         * master.el (master): Remove empty custom group.
19345         (master-mode): Remove unused :group argument.
19346         * textmodes/refill.el (refill): Remove empty custom group.
19347         (refill-mode): Remove unused :group argument.
19349         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
19351         * cus-dep.el: Provide a feature.
19352         (custom-make-dependencies): Ignore dotfiles (dir-locals).
19353         Don't mistakenly ignore files whose basenames match a basename
19354         from preloaded-file-list (eg cedet/ede/simple.el).
19355         Add a fallback method for getting :group.
19357 2013-05-15  Juri Linkov  <juri@jurta.org>
19359         * isearch.el (isearch-char-by-name): Rename from
19360         `isearch-insert-char-by-name'.  Doc fix.
19361         (isearch-forward): Mention `isearch-char-by-name' in
19362         the docstring.  (Bug#13348)
19364         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
19365         `exit-minibuffer' instead of
19366         `isearch-nonincremental-exit-minibuffer'.
19367         (isearch-edit-string): Remove mention of
19368         `isearch-nonincremental-exit-minibuffer' from docstring.
19369         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
19370         (isearch-forward-exit-minibuffer)
19371         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
19373 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19375         * loadup.el: Just use unversioned DOC.
19377         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
19378         literals as extending to EOB.
19379         (nxml-last-fontify-end): Remove unused variable.
19380         (nxml-after-change1): Use with-silent-modifications.
19381         (nxml-extend-after-change-region): Simplify.
19382         (nxml-extend-after-change-region1): Remove function.
19383         (nxml-after-change1): Don't adjust for dependent regions.
19384         (nxml-fontify-matcher): Simplify.
19385         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
19386         (xmltok-add-dependent): Remove function.
19387         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
19388         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
19389         (xmltok-scan-prolog-after-processing-instruction-open): Treat
19390         unclosed <[[, <?, comment, and other literals as extending to EOB.
19391         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
19392         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
19393         Remove functions.
19394         (rng-do-some-validation-1): Don't mark dependent regions.
19395         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
19396         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
19397         (nxml-clear-dependent-regions): Remove functions.
19398         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
19399         (nxml-ensure-scan-up-to-date):
19400         Don't clear&mark dependent regions.
19402 2013-05-15  Leo Liu  <sdl.web@gmail.com>
19404         * progmodes/octave.el (octave-goto-function-definition):
19405         Improve and fix callers.
19407 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19409         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
19410         the setter (bug#14387).
19412         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
19413         surrounding group (bug#14402).
19415 2013-05-14  Juri Linkov  <juri@jurta.org>
19417         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
19418         (Bug#14390)
19420 2013-05-14  Glenn Morris  <rgm@gnu.org>
19422         * progmodes/f90.el (f90-imenu-generic-expression):
19423         Fix typo in 2013-05-08 change.  (Bug#14402)
19425 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
19427         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
19428         Remove signals for which replies are never received.
19430 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
19432         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
19433         (gdb-handler-alist, gdb-handler-number): Remove variables.
19434         (gdb-handler-list): New variable.
19435         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
19436         (gdb-pending-handler-p, gdb-handle-reply)
19437         (gdb-remove-all-pending-triggers): New functions.
19438         (gdb-discard-unordered-replies): New defcustom.
19439         (gdb-handler): New defstruct.
19440         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
19441         instead of gdb-pending-triggers.  Update docstring.
19442         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
19443         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
19444         (gdb-var-update-handler, def-gdb-auto-update-trigger)
19445         (def-gdb-auto-update-handler, gdb-get-changed-registers)
19446         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
19447         (gdb-frame-handler): Pending triggers are now automatically managed.
19448         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
19449         Remove argument.
19450         (gdb-input): Automatically handles pending triggers.  Update docstring.
19451         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
19452         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
19453         Update comments.
19454         (gdb-done-or-error): Now use gdb-handle-reply.
19456 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
19458         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
19459         gdb-debug-log.
19461 2013-05-14  Glenn Morris  <rgm@gnu.org>
19463         * subr.el (user-emacs-directory-warning): New option.
19464         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
19466 2013-05-14  Leo Liu  <sdl.web@gmail.com>
19468         * progmodes/octave.el (octave-font-lock-keywords): Fix error
19469         during redisplay.
19470         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
19471         (octave-font-lock-texinfo-comment): Fix invalid search bound
19472         error: wrong side of point.
19474 2013-05-14  Glenn Morris  <rgm@gnu.org>
19476         * progmodes/flymake.el (flymake-xml-program): New option.
19477         (flymake-xml-init): Use it.
19479         * term/xterm.el: Provide a feature.
19481         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
19483 2013-05-13  Glenn Morris  <rgm@gnu.org>
19485         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
19486         Add compat aliases as a hack workaround.  (Bug#14384)
19488 2013-05-13  Leo Liu  <sdl.web@gmail.com>
19490         * progmodes/octave.el (octave-indent-comment): Fix indentation for
19491         ###, and %!.
19492         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
19493         C-M-q.
19494         (octave-comment-start-skip): Include %!.
19495         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
19497 2013-05-12  Leo Liu  <sdl.web@gmail.com>
19499         * progmodes/octave.el (inferior-octave-startup): Store the value
19500         of __octave_srcdir__ for octave-source-directories.
19501         (inferior-octave-check-process): New function refactored out of
19502         inferior-octave-send-list-and-digest.
19503         (octave-source-directories)
19504         (octave-find-definition-filename-function): New variables.
19505         (octave-source-directories)
19506         (octave-find-definition-default-filename): New functions.
19507         (octave-find-definition): Improve to find functions implemented in C++.
19509 2013-05-12  Glenn Morris  <rgm@gnu.org>
19511         * calendar/diary-lib.el (diary-outlook-format-1):
19512         Don't include dayname in the output.  (Bug#14349)
19514 2013-05-11  Glenn Morris  <rgm@gnu.org>
19516         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
19518         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
19519         Treat cc-provide like provide.
19521 2013-05-11  Kevin Ryde  <user42@zip.com.au>
19523         * cus-dep.el (custom-make-dependencies):
19524         Use generated-autoload-load-name for the sake of files such
19525         such cedet/semantic/bovine/c.el, where the base file name
19526         is not in load-path.  (Bug#5277)
19528 2013-05-11  Glenn Morris  <rgm@gnu.org>
19530         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
19531         Provide features.
19533 2013-05-11  Leo Liu  <sdl.web@gmail.com>
19535         * progmodes/octave.el (octave-indent-comment): Improve.
19536         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
19537         (octave-eldoc-function-signatures, octave-eldoc-function):
19538         New functions.
19539         (octave-mode, inferior-octave-mode): Add eldoc support.
19541 2013-05-11  Richard Stallman  <rms@gnu.org>
19543         * epa.el (epa-decrypt-file): Take output file name as argument
19544         and read it using `interactive'.
19546 2013-05-11  Leo Liu  <sdl.web@gmail.com>
19548         * progmodes/octave.el (octave-beginning-of-line)
19549         (octave-end-of-line): Check before using up-list because it jumps
19550         out of more syntactic contructs since moving to smie.
19551         (octave-indent-comment): New function.
19552         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
19553         (octave-begin-keywords, octave-end-keywords)
19554         (octave-reserved-words, octave-smie-bnf-table)
19555         (octave-smie-rules): Add new keywords from Octave 3.6.4.
19557 2013-05-11  Glenn Morris  <rgm@gnu.org>
19559         * faces.el (internal-face-x-get-resource):
19560         * frame.el (ns-display-monitor-attributes-list):
19561         * calc/calc-aent.el (math-to-radians-2):
19562         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
19563         Fix declarations.
19565         * calc/calc-menu.el: Make it loadable in isolation.
19567         * net/eudcb-bbdb.el: Make it loadable without bbdb.
19568         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
19569         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
19570         (eudc-bbdb-query-internal): Require 'bbdb.
19572         * lpr.el (lpr-headers-switches):
19573         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
19575         * progmodes/sql.el (sql-login-params): Fix and improve :type.
19577         * emulation/edt-mapper.el: In batch mode, error rather than hang.
19579         * term.el (term-set-escape-char): Make it idempotent.
19581 2013-05-10  Leo Liu  <sdl.web@gmail.com>
19583         * progmodes/octave.el (inferior-octave-completion-table):
19584         No longer a function and all uses changed.  Use cache to speed up
19585         completion due to bug#11906.
19586         (octave-beginning-of-defun): Re-write to be more general.
19588 2013-05-10  Glenn Morris  <rgm@gnu.org>
19590         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
19592 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19594         * comint.el (comint-redirect-send-command-to-process): Use :around
19595         rather than :override for comint-redirect-filter.
19596         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
19597         Call it instead of comint-redirect-original-filter-function (which
19598         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
19600 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
19602         * frame.el (display-monitor-attributes-list): Add NS case.
19603         (ns-display-monitor-attributes-list): Declare.
19605 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
19607         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
19609 2013-05-09  Glenn Morris  <rgm@gnu.org>
19611         * international/fontset.el (vertical-centering-font-regexp):
19612         Set standard-value.
19614         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
19616         * bookmark.el (bookmark-search-delay):
19617         * cus-start.el (vertical-centering-font-regexp):
19618         * ps-mule.el (ps-mule-font-info-database-default):
19619         * ps-print.el (ps-default-fg, ps-default-bg):
19620         * type-break.el (type-break-good-break-interval):
19621         * whitespace.el (whitespace-indentation-regexp)
19622         (whitespace-space-after-tab-regexp):
19623         * emacs-lisp/testcover.el (testcover-1value-functions)
19624         (testcover-noreturn-functions, testcover-progn-functions)
19625         (testcover-prog1-functions):
19626         * emulation/viper-init.el (viper-emacs-state-cursor-color):
19627         * eshell/em-glob.el (eshell-glob-translate-alist):
19628         * play/tetris.el (tetris-tty-colors):
19629         * progmodes/cpp.el (cpp-face-default-list):
19630         * progmodes/flymake.el (flymake-allowed-file-name-masks):
19631         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
19632         (idlwave-help-browser-generic-args):
19633         * progmodes/make-mode.el (makefile-special-targets-list):
19634         * progmodes/python.el (python-shell-virtualenv-path):
19635         * progmodes/verilog-mode.el (verilog-active-low-regexp)
19636         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
19637         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
19638         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
19639         * textmodes/reftex-vars.el (reftex-format-label-function):
19640         * textmodes/remember.el (remember-diary-file): Fix custom types.
19642         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
19643         Add :version.
19645 2013-05-09  Leo Liu  <sdl.web@gmail.com>
19647         * progmodes/octave.el (inferior-octave-completion-at-point):
19648         Restore file completion.  (Bug#14300)
19649         (inferior-octave-startup): Fix incorrect highlighting for the
19650         first prompt.
19652 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19654         * progmodes/ruby-mode.el: First cut at SMIE support.
19655         (ruby-use-smie): New var.
19656         (ruby-smie-grammar): New constant.
19657         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
19658         (ruby-smie--forward-token, ruby-smie--backward-token)
19659         (ruby-smie-rules): New functions.
19660         (ruby-mode-variables): Setup SMIE if applicable.
19662 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
19664         * simple.el (line-move-visual): Signal beginning/end of buffer
19665         only if vertical-motion moved less than it was requested.  Avoids
19666         silly incorrect error messages when there are display strings with
19667         multiple newlines at EOL.
19669 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19671         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
19672         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
19673         (prolog-char-quote-workaround):
19674         * progmodes/cperl-mode.el (cperl-under-as-char):
19675         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
19676         Mark as obsolete.
19677         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
19678         their declaration.
19679         (vhdl-mode-syntax-table-init): Remove.
19681         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
19682         last change.
19684         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
19685         syntax for "_".
19686         (ld-script-font-lock-keywords):
19687         Change regexps to use things like \_< and \_>.
19689         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
19690         Change all regexps to use things like \_< and \_>.
19692         * progmodes/autoconf.el (autoconf-definition-regexp)
19693         (autoconf-font-lock-keywords, autoconf-current-defun-function):
19694         Handle a _ with symbol syntax.
19695         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
19697         * progmodes/ada-mode.el (ada-mode-abbrev-table):
19698         Consolidate declaration.
19699         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
19700         the declaration.
19701         (ada-create-syntax-table): Remove.
19702         (ada-capitalize-word): Don't mess with the syntax of "_" since it
19703         already has the right syntax nowadays.
19704         (ada-goto-next-word): Don't change the syntax of "_".
19706         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
19707         with-wrapper-hook.
19709 2013-05-08  Sam Steingold  <sds@gnu.org>
19711         * thingatpt.el (thing-at-point): Accept optional second argument
19712         NO-PROPERTIES to strip the text properties from the return value.
19713         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
19714         to `thing-at-point' instead of stripping the properties ourselves.
19715         Also, when `thing-at-point' fails to find a url, prepend "http://"
19716         to the filename at point on the assumption that the user is
19717         pointing at something like gnu.org/gnu.
19719 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
19721         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
19722         * faces.el (crm-separator):
19723         Silence byte-compiler.
19725         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
19726         (tool-bar-map): Remove unneeded defvars.
19728 2013-05-08  Leo Liu  <sdl.web@gmail.com>
19730         Re-work a fix for bug#10994 based on Le Wang's patch.
19731         * ido.el (ido-remove-consecutive-dups): New helper.
19732         (ido-completing-read): Use it.
19733         (ido-chop): Revert fix for bug#10994.
19735 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
19737         * cus-edit.el (custom-save-variables):
19738         Pretty-print long values.  (Bug#14187)
19740 2013-05-08  Glenn Morris  <rgm@gnu.org>
19742         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
19743         (m4-mode-syntax-table): Init in the defvar.
19744         (m4-mode-abbrev-table): Let define-derived-mode define it.
19746 2013-05-08  Tom Tromey  <tromey@redhat.com>
19748         * progmodes/m4-mode.el (m4-mode-syntax-table):
19749         Do not treat "_" as word constituent.  (Bug#14167)
19751 2013-05-07  Glenn Morris  <rgm@gnu.org>
19753         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
19754         Remove explicit eshell-isearch-cancel-map.
19756         * progmodes/f90.el (f90-smart-end-names): New option.
19757         (f90-smart-end): Doc fix.
19758         (f90-end-block-optional-name): New constant.
19759         (f90-block-match): Respect f90-smart-end-names.
19761 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19763         * progmodes/octave.el (octave-smie-forward-token): Be more careful
19764         about implicit semi-colons (bug#14218).
19766 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
19768         * frame.el (display-monitor-attributes-list)
19769         (frame-monitor-attributes): New functions.
19771 2013-05-06  Leo Liu  <sdl.web@gmail.com>
19773         * progmodes/octave.el (octave-syntax-propertize-function): Change
19774         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
19775         (octave-font-lock-keywords): Use octave-operator-regexp.
19776         (octave-completion-at-point): Rename from
19777         octave-completion-at-point-function.
19778         (inferior-octave-directory-tracker): Robustify.
19779         (octave-text-functions): Remove and fix its uses.  No such things
19780         any more.
19782 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
19784         * emacs-lisp/trace.el (trace--display-buffer): New function.
19785         (trace-make-advice): Use it.
19787 2013-05-06  Juri Linkov  <juri@jurta.org>
19789         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
19790         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
19791         Doc fix.
19792         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
19793         in the help string.  (Bug#12985)
19795 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
19797         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
19799 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
19801         * progmodes/perl-mode.el: Add support for here documents.
19802         (perl-syntax-propertize-function): Match here-doc markers.
19803         (perl-syntax-propertize-special-constructs): Find their end.
19804         (perl-imenu-generic-expression): Use [:alnum:].
19806         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
19807         (advice--add-function): Refresh the advice if already present
19808         (bug#14317).
19810 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
19812         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
19814 2013-05-06  Glenn Morris  <rgm@gnu.org>
19816         * w32-fns.el (w32-charset-info-alist): Declare.
19818         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
19819         of its defcustom properties.
19820         (eshell-cmpl-initialize): No need to load pcomplete.
19822         * generic-x.el: No need to require comint when compiling.
19824         * net/eudc-export.el: Make it loadable without bbdb.
19825         (top-level): Use require rather than load-library.
19826         (eudc-create-bbdb-record, eudc-bbdbify-phone)
19827         (eudc-batch-export-records-to-bbdb)
19828         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
19829         Require bbdb.
19831 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
19833         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
19834         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
19835         some tweaks, instead.
19837 2013-05-05  Leo Liu  <sdl.web@gmail.com>
19839         * progmodes/octave.el (octave-font-lock-keywords)
19840         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
19841         (inferior-octave-send-list-and-digest): Improve error message.
19842         (octave-mode, inferior-octave-mode): Use setq-local.
19843         (octave-help): Set info-lookup-mode.
19845 2013-05-05  Richard Stallman  <rms@gnu.org>
19847         * vc/compare-w.el (compare-windows-whitespace):
19848         Treat no-break space as whitespace.
19850         * mail/rmailsum.el (rmail-summary-rmail-update):
19851         Detect empty summary and don't change selected message.
19852         (rmail-summary-goto-msg): Likewise.
19854         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
19855         Doc fixes, rename args.
19857 2013-05-05  Alan Mackenzie  <acm@muc.de>
19859         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
19861 2013-05-05  Juri Linkov  <juri@jurta.org>
19863         * info.el (Info-read-subfile): Use (point-min) instead of (point)
19864         to not add the length of the summary segment to the return value.
19865         (Bug#14125)
19867 2013-05-05  Leo Liu  <sdl.web@gmail.com>
19869         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
19870         (inferior-octave-output-filter): Remove.
19871         (octave-send-region, inferior-octave-startup): Fix callers.
19872         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
19873         (octave-binary-file-extensions): New user variable.
19874         (octave-find-definition): Confirm if opening binary files.
19875         (octave-help-file): Use octave-find-definition to get the binary
19876         confirmation.
19877         (octave-help): Adjust for octave-help-file change.
19879 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19881         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
19882         Merge the two entries that handle function definitions.
19883         (pascal--syntax-propertize): New const.
19884         (pascal-mode): Use it.  Use setq-local.
19886 2013-05-04  Glenn Morris  <rgm@gnu.org>
19888         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
19889         (diary-from-outlook): Respect diary-from-outlook-function.
19891 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19893         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
19894         Move the declaration from C.
19895         (read-minibuffer, eval-minibuffer): Move from C.
19896         (completion-setup-function): Avoid minibuffer-completion-contents.
19898 2013-05-03  Leo Liu  <sdl.web@gmail.com>
19900         * progmodes/octave.el (octave-font-lock-keywords): Do not
19901         dehighlight 'end' in comments or strings.
19902         (octave-completing-read, octave-goto-function-definition):
19903         New helpers.
19904         (octave-help-buffer): New user variable.
19905         (octave-help-file, octave-help-function): New button types.
19906         (octave-help): New command and bind it to C-h ;.
19907         (octave-find-definition): New command and bind it to M-.
19908         (user-error): Alias to error if not defined.
19910 2013-05-02  Leo Liu  <sdl.web@gmail.com>
19912         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
19913         for \.  (bug#14332)
19914         (octave-font-lock-keywords): Include [ and {.
19916 2013-05-02  Leo Liu  <sdl.web@gmail.com>
19918         * progmodes/octave.el (inferior-octave-startup-file): Change default.
19919         (inferior-octave): Remove calling comint-mode and return the buffer.
19920         (inferior-octave-startup): Cosmetic changes.
19922 2013-05-02  Leo Liu  <sdl.web@gmail.com>
19924         * progmodes/octave.el (octave-syntax-propertize-function):
19925         Include the case when ' is at line beginning.  (Bug#14336)
19927 2013-05-02  Glenn Morris  <rgm@gnu.org>
19929         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
19930         * desktop.el (vc-dir-mode): Just autoload it here.
19932 2013-05-02  Alan Mackenzie  <acm@muc.de>
19934         Eliminate variable c-standard-font-lock-fontify-region-function.
19935         * progmodes/cc-mode.el
19936         (c-standard-font-lock-fontify-region-function): Remove.
19937         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
19939 2013-05-01  Leo Liu  <sdl.web@gmail.com>
19941         * progmodes/octave.el: Compatible with older emacs-24 releases.
19942         (inferior-octave-has-built-in-variables): Remove.  Built-in
19943         variables were removed from Octave in 2007.
19944         (inferior-octave-startup): Fix uses.
19945         (comint-line-beginning-position): Remove compatibility code for
19946         emacs 21.
19948 2013-05-01  Juri Linkov  <juri@jurta.org>
19950         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
19952 2013-05-01  Juri Linkov  <juri@jurta.org>
19954         * comint.el (comint-previous-matching-input): Don't print message
19955         "History item: %d" when `isearch-mode' is active.
19956         (comint-history-isearch-message): Print message "History item: %d"
19957         when `comint-input-ring-index' is not empty and this function is
19958         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
19960 2013-05-01  Leo Liu  <sdl.web@gmail.com>
19962         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
19963         definitions.  Use completion-at-point to insert keywords.
19964         (octave-abbrev-start): Remove.
19965         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
19967 2013-04-30  Leo Liu  <sdl.web@gmail.com>
19969         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
19970         change.
19972 2013-04-30  Alan Mackenzie  <acm@muc.de>
19974         Handle arbitrarily long C++ member initialisation lists.
19975         * progmodes/cc-engine.el (c-back-over-member-initializers):
19976         new function.
19977         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
19978         (most) member init lists.
19980 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
19982         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
19983         variable.
19985 2013-04-30  Leo Liu  <sdl.web@gmail.com>
19987         * progmodes/octave.el (octave-variables): Remove.  No builtin
19988         variables any more.  All converted to functions.
19989         (octave-font-lock-keywords, octave-completion-at-point-function):
19990         Fix uses.
19991         (octave-font-lock-texinfo-comment): New user variable.
19992         (octave-texinfo-font-lock-keywords): New variable for texinfo
19993         comment block.
19994         (octave-function-comment-block): New face.
19995         (octave-font-lock-texinfo-comment): New function.
19996         (octave-mode): Font lock texinfo comment block.
19998 2013-04-29  Leo Liu  <sdl.web@gmail.com>
20000         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
20001         indexing expression.
20002         (octave-continuation-string): Do not use \.
20003         (inferior-octave-complete-impossible): Remove.
20004         (inferior-octave-completion-table)
20005         (inferior-octave-completion-at-point): Remove its uses.
20006         (inferior-octave-startup): completion_matches was introduced to
20007         Octave in 1996 so safe to assume it.
20008         (octave-function-file-comment): Improve to follow how Octave does it.
20009         (octave-update-function-file-comment): Tweak.
20011 2013-04-29  Leo Liu  <sdl.web@gmail.com>
20013         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
20014         (inferior-octave-startup): Remove inferior-octave-startup-hook.
20015         (octave-function-file-comment): Fix typo.
20016         (octave-sync-function-file-names): Use read-char-choice.
20018 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
20020         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
20021         to t for the less important warnings.
20023 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
20025         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
20027 2013-04-27  Glenn Morris  <rgm@gnu.org>
20029         * vc/log-view.el (log-view-current-entry):
20030         Treat "---" separator lines as part of the following rev.  (Bug#14169)
20032 2013-04-27  Juri Linkov  <juri@jurta.org>
20034         * subr.el (read-number): Doc fix about using it by interactive
20035         code letter `n'.  (Bug#14254)
20037 2013-04-27  Juri Linkov  <juri@jurta.org>
20039         * desktop.el (desktop-auto-save-timeout): New option.
20040         (desktop-file-checksum): New variable.
20041         (desktop-save): Add optional arg `auto-save' and don't auto-save
20042         if nothing changed.
20043         (desktop-auto-save-timer): New variable.
20044         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
20045         (after-init-hook): Call `desktop-auto-save-set-timer'.
20046         Suggested by Reuben Thomas <rrt@sc3d.org> in
20047         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
20049 2013-04-27  Leo Liu  <sdl.web@gmail.com>
20051         * progmodes/octave.el (octave-function-file-p)
20052         (octave-skip-comment-forward, octave-function-file-comment)
20053         (octave-update-function-file-comment): New functions.
20054         (octave-mode-map): Bind C-c ; to
20055         octave-update-function-file-comment.
20056         (octave-mode-menu): Add octave-update-function-file-comment.
20057         (octave-mode, inferior-octave-mode): Fix doc-string.
20058         (octave-insert-defun): Conform to Octave's coding convention.
20059         (Bug#14285)
20061         * files.el (basic-save-buffer): Don't let errors in
20062         before-save-hook prevent saving buffer.
20064 2013-04-20  Roland Winkler  <winkler@gnu.org>
20066         * faces.el (read-face-name): Use completing-read if arg multiple
20067         is nil.
20069 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
20071         * ls-lisp.el (ls-lisp-insert-directory): If no files are
20072         displayed, move point to after the totals line.
20073         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
20074         for the details.
20076 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20078         * emacs-lisp/package.el (package-autoload-ensure-default-file):
20079         Add current dir to the load-path.
20080         (package-generate-autoloads): Don't rely on
20081         autoload-ensure-default-file.
20083 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
20085         * textmodes/remember.el (remember-store-in-files): Document that
20086         the file name format is passed to `format-time-string'.
20088 2013-04-26  Leo Liu  <sdl.web@gmail.com>
20090         * progmodes/octave.el (octave-sync-function-file-names): New function.
20091         (octave-mode): Use it in before-save-hook.
20093 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20095         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
20096         (bug#14274).
20098         * progmodes/octave.el (octave-smie-forward-token): Properly skip
20099         \n and comment, even if it's not an implicit ; (bug#14218).
20101 2013-04-26  Glenn Morris  <rgm@gnu.org>
20103         * subr.el (read-number): Once more use `read' rather than
20104         `string-to-number', to trap non-numeric input.  (Bug#14254)
20106 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
20108         * emacs-lisp/syntax.el (syntax-propertize-multiline):
20109         Use `syntax-multiline' text property consistently instead of
20110         `font-lock-multiline'.  (Bug#14237)
20112 2013-04-26  Glenn Morris  <rgm@gnu.org>
20114         * emacs-lisp/shadow.el (list-load-path-shadows):
20115         No longer necessary to check for duplicate simple.el, since
20116         2012-07-07 change to init_lread to not include installation lisp
20117         directories in load-path when running uninstalled.  (Bug#14270)
20119 2013-04-26  Leo Liu  <sdl.web@gmail.com>
20121         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
20122         (octave-mode, inferior-octave-mode): Use setq-local.
20123         (octave-not-in-string-or-comment-p): Rename to
20124         octave-in-string-or-comment-p.
20125         (octave-in-comment-p, octave-in-string-p)
20126         (octave-in-string-or-comment-p): Replace defsubst with defun.
20128 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
20130         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
20132 2013-04-25  Bastien Guerry  <bzg@gnu.org>
20134         * textmodes/remember.el (remember-data-directory)
20135         (remember-directory-file-name-format): Fix custom types.
20137 2013-04-25  Leo Liu  <sdl.web@gmail.com>
20139         * progmodes/octave.el (octave-completion-at-point-function):
20140         Make use of inferior octave process.
20141         (octave-initialize-completions): Remove.
20142         (inferior-octave-completion-table): New function.
20143         (inferior-octave-completion-at-point): Use it.
20144         (octave-completion-alist): Remove.
20146 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20148         * progmodes/opascal.el: Use font-lock and syntax-propertize.
20149         (opascal-mode-syntax-table): New var.
20150         (opascal-literal-kind, opascal-is-literal-end)
20151         (opascal-literal-token-at): Rewrite.
20152         (opascal--literal-start-re, opascal-font-lock-keywords)
20153         (opascal--syntax-propertize): New constants.
20154         (opascal-font-lock-defaults): Adjust.
20155         (opascal-mode): Use them.  Set comment-<foo> variables as well.
20156         (delphi-comment-face, opascal-comment-face, delphi-string-face)
20157         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
20158         (delphi-other-face, opascal-other-face): Remove face variables.
20159         (opascal-save-state): Remove macro.
20160         (opascal-fontifying-progress-step): Remove constant.
20161         (opascal--ignore-changes): Remove var.
20162         (opascal-set-token-property, opascal-parse-next-literal)
20163         (opascal-is-stable-literal, opascal-complete-literal)
20164         (opascal-is-literal-start, opascal-face-of)
20165         (opascal-parse-region, opascal-parse-region-until-stable)
20166         (opascal-fontify-region, opascal-after-change)
20167         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
20168         (opascal-debug-parse-region, opascal-debug-parse-window)
20169         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
20170         (opascal-debug-fontify-buffer): Remove.
20171         (opascal-debug-mode-map): Adjust accordingly.
20173 2013-04-25  Leo Liu  <sdl.web@gmail.com>
20175         Merge octave-mod.el and octave-inf.el into octave.el with some
20176         cleanups.
20177         * progmodes/octave.el: New file renamed from octave-mod.el.
20178         * progmodes/octave-inf.el: Merged into octave.el.
20179         * progmodes/octave-mod.el: Renamed to octave.el.
20181 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
20183         * textmodes/reftex-vars.el
20184         (reftex-label-ignored-macros-and-environments): New defcustom.
20186         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
20188 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20190         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
20191         (smie-indent-keyword): Improve the check to ensure that the next
20192         comment is really on the same line.
20193         (smie-indent-comment): Don't align with a subsequent closer (or eob).
20195         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
20196         semi-colons if the line is not otherwise empty (bug#14218).
20198 2013-04-25  Glenn Morris  <rgm@gnu.org>
20200         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
20202 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20204         * progmodes/opascal.el (opascal-set-token-property): Rename from
20205         opascal-set-text-properties and only set `token' (bug#14134).
20206         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
20207         (opascal-literal-text-properties): Remove.
20208         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
20209         Adjust callers.
20211 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
20213         * textmodes/remember.el (remember-handler-functions): Add an
20214         option for a new handler `remember-store-in-files'.
20215         (remember-data-directory, remember-directory-file-name-format):
20216         New options.
20217         (remember-store-in-files): New function to store remember notes
20218         as separate files within a directory.
20220 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
20222         * progmodes/compile.el (compilation-next-error-function):
20223         Pass "formats" to compilation-find-file (bug#11777).
20225 2013-04-24  Glenn Morris  <rgm@gnu.org>
20227         * vc/vc-bzr.el (vc-bzr-print-log):
20228         * vc/vc-hg.el (vc-hg-print-log):
20229         * vc/vc-svn.el (vc-svn-print-log):
20230         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
20232         * vc/vc-bzr.el (vc-bzr-print-log):
20233         * vc/vc-cvs.el (vc-cvs-print-log):
20234         * vc/vc-git.el (vc-git-print-log):
20235         * vc/vc-hg.el (vc-hg-print-log):
20236         * vc/vc-mtn.el (vc-mtn-print-log):
20237         * vc/vc-rcs.el (vc-rcs-print-log):
20238         * vc/vc-sccs.el (vc-sccs-print-log):
20239         * vc/vc-svn.el (vc-svn-print-log):
20240         * vc/vc.el (vc-print-log-internal): Doc fixes.
20242 2013-04-23  Glenn Morris  <rgm@gnu.org>
20244         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
20245         Remove venerable code attempting to avoid substitute-command-keys.
20247 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
20249         * textmodes/reftex-vars.el (reftex-label-regexps):
20250         Call `reftex-compile-variables' after changes to this variable.
20252 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20254         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
20255         Use lexical-binding.
20256         (jit-lock-force-redisplay): Use markers, check buffer's continued
20257         existence and beware narrowed buffers.
20258         (jit-lock-fontify-now): Adjust call accordingly.
20260 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
20262         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
20263         to avoid misleading the user.
20265 2013-04-22  Leo Liu  <sdl.web@gmail.com>
20267         * info-look.el: Prefer latex2e.info.  (Bug#14240)
20269 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
20271         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
20273         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
20274         * net/tramp.el (tramp-call-process): ... here.
20275         (tramp-set-completion-function, tramp-parse-putty):
20276         * net/tramp-adb.el (tramp-adb-execute-adb-command):
20277         * net/tramp-gvfs.el (tramp-gvfs-send-command):
20278         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
20279         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
20280         (tramp-call-local-coding-command): Use `tramp-call-process'
20281         instead of `tramp-compat-call-process'.
20283         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
20284         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
20285         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
20286         (tramp-find-inline-compress): Improve traces.
20287         (tramp-maybe-send-script): Check for Perl binary.
20288         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
20290 2013-04-22  Daiki Ueno  <ueno@gnu.org>
20292         * epg.el (epg-context-pinentry-mode): New function.
20293         (epg-context-set-pinentry-mode): New function.
20294         (epg--start): Pass --pinentry-mode option to gpg command.
20296 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
20298         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
20299         `comint-dynamic-complete' is obsolete since 24.1, replaced by
20300         `completion-at-point'.  (Bug#13774)
20302         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
20303         default key binding for `describe-distribution' has been moved to
20304         `C-h C-o'.  (Bug#13970)
20306 2013-04-21  Glenn Morris  <rgm@gnu.org>
20308         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
20309         Add doc strings.
20310         (vc-print-log): Clarify interactive prompt.
20312 2013-04-20  Glenn Morris  <rgm@gnu.org>
20314         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20315         No longer include timestamp etc information.
20317 2013-04-20  Roland Winkler  <winkler@gnu.org>
20319         * faces.el (read-face-name): Bug fix, return just one face if arg
20320         multiple is nil.  (Bug#14209)
20322 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20324         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
20325         (remove-function): Autoload.
20327         * comint.el (comint-redirect-original-filter-function): Remove.
20328         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
20329         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
20330         (vc-cvs-annotate-command):
20331         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
20332         * progmodes/prolog.el (prolog-consult-compile):
20333         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
20334         Use add/remove-function instead.
20335         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
20336         (gud-tooltip-process-output, gud-tooltip-tips):
20337         Use add/remove-function instead.
20338         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
20339         (scheme-interaction-mode, exit-scheme-interaction-mode):
20340         Use add/remove-function instead.
20342         * vc/vc-dispatcher.el: Use lexical-binding.
20343         (vc--process-sentinel): Rename from vc-process-sentinel.
20344         Change last arg to be the code to run.  Don't use vc-previous-sentinel
20345         and vc-sentinel-commands any more.
20346         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
20347         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
20349 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
20351         * progmodes/sh-script.el (sh-imenu-generic-expression):
20352         Handle function names with a single character.  (Bug#14111)
20354 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
20356         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
20357         for subroutines defined in an eval (bug#14182).
20359 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
20361         * bookmark.el (bookmark-completing-read): Improve handling of empty
20362         string (bug#14176).
20364 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20366         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
20368 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20370         New faster Imenu implementation (bug#14058).
20371         * progmodes/python.el (python-imenu-prev-index-position)
20372         (python-imenu-format-item-label-function)
20373         (python-imenu-format-parent-item-label-function)
20374         (python-imenu-format-parent-item-jump-label-function):
20375         New vars.
20376         (python-imenu-format-item-label)
20377         (python-imenu-format-parent-item-label)
20378         (python-imenu-format-parent-item-jump-label)
20379         (python-imenu--put-parent, python-imenu--build-tree)
20380         (python-imenu-create-index, python-imenu-create-flat-index)
20381         (python-util-popn): New functions.
20382         (python-mode): Set imenu-create-index-function to
20383         python-imenu-create-index.
20385 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20387         * winner.el (winner-active-region): Use region-active-p, activate-mark
20388         and deactivate-mark (bug#14225).
20390         * simple.el (deactivate-mark): Don't inline it.
20392 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
20394         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
20396 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
20398         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
20399         file extensions from the archive-mode entry in order to prefer
20400         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
20402 2013-04-18  Leo Liu  <sdl.web@gmail.com>
20404         * bindings.el (help-event-list): Add ?\?.
20406 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20408         * subr.el (with-wrapper-hook): Declare obsolete.
20409         * simple.el (filter-buffer-substring-function): New hook.
20410         (filter-buffer-substring): Use it.
20411         (filter-buffer-substring-functions): Mark obsolete.
20412         * minibuffer.el (completion-in-region-function): New hook.
20413         (completion-in-region): Use it.
20414         (completion-in-region-functions): Mark obsolete.
20415         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
20416         * abbrev.el (abbrev-expand-function): New hook.
20417         (expand-abbrev): Use it.
20418         (abbrev-expand-functions): Mark obsolete.
20419         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
20420         and :filter-return.
20422 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20424         * progmodes/python.el (python-nav--syntactically): Fix cornercases
20425         and do not care about match data.
20427 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20429         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
20430         completion tables when completing error conditions and
20431         `declare' arguments.
20432         (lisp-complete-symbol, field-complete): Mark as obsolete.
20433         (check-parens): Unmatched parens are user errors.
20434         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
20436 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
20438         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
20439         command changed buffer (ie. `flyspell-pre-buffer' is not current
20440         buffer), which prevents making decisions based on invalid value of
20441         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
20442         cause an error when `flyspell-pre-point' was nil after switching
20443         buffers.
20444         (flyspell-post-command-hook): No longer needs to change buffers when
20445         checking pre-word.  While at it remove unnecessary progn.
20447 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
20449         * textmodes/ispell.el (ispell-add-per-file-word-list):
20450         Fix `flyspell-correct-word-before-point' error when accepting
20451         words and `coment-padding' is an integer by using
20452         `comment-normalize-vars' (Bug #14214).
20454 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20456         New defun movement commands.
20457         * progmodes/python.el (python-nav--syntactically)
20458         (python-nav--forward-defun, python-nav-backward-defun)
20459         (python-nav-forward-defun): New functions.
20461 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20463         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
20464         (python-syntax-context): Use named compiler-macro for backwards
20465         compatibility with Emacs 24.x.
20467 2013-04-17  Leo Liu  <sdl.web@gmail.com>
20469         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
20470         octave-hide-process-buffer.
20472 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20474         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
20475         (bug#14216).
20477 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
20479         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
20480         Fix adjustment of offset when receiving incomplete responses from GDB
20481         (bug#14129).
20483 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20485         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
20486         python-mode-abbrev-table.
20487         (python-skeleton-define): Adjust accordingly.
20488         (python-mode-abbrev-table): New table that inherits from it so that
20489         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
20491         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
20492         (abbrev-symbol): Use it.
20493         (abbrev--before-point): Use it since we already handle inheritance.
20495 2013-04-16  Leo Liu  <sdl.web@gmail.com>
20497         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
20498         binding to info-lookup-symbol.
20500 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
20502         * minibuffer.el (completion--twq-all):
20503         * term/ns-win.el (ns-initialize-window-system):
20504         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
20506 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20508         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
20509         global bindings.
20511         * doc-view.el (doc-view-start-process): Handle url-handler directories.
20513 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
20515         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
20516         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
20517         to nil.
20518         (ruby-end-of-defun): Remove the unused arg, change the docstring
20519         to reflect that this function is only used as the value of
20520         `end-of-defun-function'.
20521         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
20522         to reflect an earlier change that beginning/end-of-defun functions
20523         jump between methods in a class definition, as well as top-level
20524         functions.
20526 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20528         * minibuffer.el (minibuffer-complete): Don't just scroll
20529         a *Completions* that's been iconified.
20530         (minibuffer-force-complete): Make sure repetitions do cycle when going
20531         through completion-in-region -> minibuffer-complete.
20533 2013-04-15  Alan Mackenzie  <acm@muc.de>
20535         Correct the placement of c-cpp-delimiters when there're #s not at
20536         col 0.
20538         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
20539         place a submatch around the #.
20540         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
20541         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
20542         on the #, not BOL.
20544 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20546         * emacs-lisp/nadvice.el: Properly test names when adding advice.
20547         (advice--member-p): New arg `name'.
20548         (advice--add-function, advice-member-p): Use it (bug#14202).
20550 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
20552         Reformulate java imenu-generic-expression.
20553         The old expression contained ill formed regexps.
20555         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
20556         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
20557         (cc-imenu-java-method-arg-regexp): New defconsts.
20558         (cc-imenu-java-build-type-args-regex): New defun.
20559         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
20560         handling of spaces in the regexp.
20562 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
20564         * textmodes/ispell.el (ispell-command-loop): Remove
20565         flyspell highlight of a word when ispell accepts it (bug #14178).
20567 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
20569         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
20570         uses code from the previous `ange-ftp-run-real-handler'.
20571         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
20572         only in case that function exist.  This is needed for proper
20573         unloading of Tramp.
20575 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
20577         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
20579         * textmodes/reftex.el (reftex-compile-variables): Use it.
20581 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20583         * files.el (normal-mode): Only use default major-mode if no other mode
20584         was specified.
20586         * emacs-lisp/trace.el (trace-values): New function.
20588         * files.el: Allow : in local variables (bug#14089).
20589         (hack-local-variable-regexp): New var.
20590         (hack-local-variables-prop-line, hack-local-variables): Use it.
20592 2013-04-13  Roland Winkler  <winkler@gnu.org>
20594         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
20595         data before it gets modified by bibtex-beginning-of-entry.
20597 2013-04-13  Roland Winkler  <winkler@gnu.org>
20599         * textmodes/bibtex.el (bibtex-url): Doc fix.
20601 2013-04-13  Roland Winkler  <winkler@gnu.org>
20603         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
20604         does not visit a BibTeX file, exclude it from the list of buffers
20605         returned by bibtex-initialize.
20607 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
20609         * window.el (split-window): Remove interactive form, since as a
20610         command this function is a special case of split-window-below.
20611         Correct doc string.
20613 2013-04-12  Roland Winkler  <winkler@gnu.org>
20615         * faces.el (read-face-name): Do not override value of arg default.
20616         Allow single faces and strings as default values.  Remove those
20617         elements from return value that are not faces.
20618         (describe-face): Simplify.
20619         (face-at-point): New optional args thing and multiple so that this
20620         function can provide the same functionality previously provided by
20621         read-face-name.
20622         (make-face-bold, make-face-unbold, make-face-italic)
20623         (make-face-unitalic, make-face-bold-italic, invert-face)
20624         (modify-face, read-face-and-attribute): Use face-at-point.
20626         * cus-edit.el (customize-face, customize-face-other-window)
20627         * cus-theme.el (custom-theme-add-face)
20628         * face-remap.el (buffer-face-set)
20629         * facemenu.el (facemenu-set-face): Use face-at-point.
20631 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
20633         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
20635 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
20637         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
20638         off leading { and trailing } from field values.
20640 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20642         * emacs-lisp/timer.el (timer--check): New function.
20643         (timer--time, timer-set-function, timer-event-handler): Use it.
20644         (timer-set-idle-time): Simplify.
20645         (timer--activate): CSE.
20646         (timer-event-handler): Give more info in error message.
20647         (internal-timer-start-idle): New function, moved from C.
20649         * mpc.el (mpc-proc): Add `restart' argument.
20650         (mpc-proc-cmd): Use it.
20651         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
20652         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
20653         less often.
20655 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
20657         * progmodes/sh-script.el: Implement `sh-mode' own
20658         `add-log-current-defun-function' (bug#14112).
20659         (sh-current-defun-name): New function.
20660         (sh-mode): Use the function.
20662 2013-04-09  Bastien Guerry  <bzg@gnu.org>
20664         * simple.el (choose-completion-string): Fix docstring (bug#14163).
20666 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20668         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
20670         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
20671         timer (bug#14156).
20673 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
20675         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
20676         declaration.
20678 2013-04-07  Leo Liu  <sdl.web@gmail.com>
20680         * pcmpl-x.el: New file.
20682 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
20684         Do not set x-display-name until X connection is established.
20685         This is needed to prevent from weird situation described at
20686         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
20687         * frame.el (make-frame): Set x-display-name after call to
20688         window system initialization function, not before.
20689         * term/x-win.el (x-initialize-window-system): Add optional
20690         display argument and use it.
20691         * term/w32-win.el (w32-initialize-window-system):
20692         * term/ns-win.el (ns-initialize-window-system):
20693         * term/pc-win.el (msdos-initialize-window-system):
20694         Add compatible optional display argument.
20696 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
20698         * files.el (normal-backup-enable-predicate): On MS-Windows and
20699         MS-DOS compare truenames of temporary-file-directory and of the
20700         file, so that 8+3 aliases (usually found in $TEMP on Windows)
20701         don't fail comparison by compare-strings.  Also, compare file
20702         names case-insensitively on MS-Windows and MS-DOS.
20704 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20706         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
20707         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
20709 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
20711         * whitespace.el (whitespace-color-on, whitespace-color-off):
20712         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
20714 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
20716         * ispell.el (ispell-set-spellchecker-params):
20717         Really set `ispell-args' for all equivs.
20719 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20721         * ido.el (ido-completions): Use extra elements of ido-decorations
20722         (bug#14143).
20723         (ido-decorations): Update docstring.
20725 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
20727         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20728         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
20729         nil during initialization, in order not to miss changes since the
20730         file was opened.  (Bug#14140)
20732 2013-04-05  Leo Liu  <sdl.web@gmail.com>
20734         * kmacro.el (kmacro-call-macro): Fix bug#14135.
20736 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
20738         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
20740 2013-04-04  Glenn Morris  <rgm@gnu.org>
20742         * electric.el (electric-pair-inhibit-predicate): Add :version.
20744 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20746         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
20747         when a package is required several times (bug#14082).
20749 2013-04-04  Roland Winkler  <winkler@gnu.org>
20751         * faces.el (read-face-name): Behave as promised by the docstring.
20752         Assume that arg default is a list of faces.
20753         (describe-face): Call read-face-name with list of default faces.
20755 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
20757         * bookmark.el: Fix deletion of bookmarks (bug#13972).
20758         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
20759         (bookmark-bmenu-execute-deletions): Only skip first line if it's
20760         the header.
20761         (bookmark-exit-hook-internal): Save even if list is empty.
20763 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
20765         * emacs-lisp/package.el (package-pinned-packages): New var.
20766         (package--add-to-archive-contents): Obey it (bug#14118).
20768 2013-04-03  Alan Mackenzie  <acm@muc.de>
20770         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
20771         Also adapt to the new values of element 7 of a parse state.
20773         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
20774         parameter `not-in-delimiter'.  Handle being inside comment opener.
20775         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
20776         character in case we're typing a '*' after a '/'.
20777         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
20778         instead by passing the parameter to c-state-pp-to-literal.
20780         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
20781         for elt. 7 of a parse state.
20783 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
20785         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
20786         * international/latin1-disp.el, international/mule-util.el:
20787         * language/cyril-util.el, language/european.el, language/ind-util.el:
20788         * language/lao-util.el, language/thai.el, language/tibet-util.el:
20789         * language/tibetan.el, language/viet-util.el:
20790         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
20792 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20794         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
20795         (electric-pair-post-self-insert-function): Use it.
20796         (electric-pair-default-inhibit): New function, extracted from
20797         electric-pair-post-self-insert-function.
20799 2013-03-31  Roland Winkler  <winkler@gnu.org>
20801         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
20803 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20805         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
20807 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
20809         Un-indent after "pass" and "return" statements (Bug#13888)
20810         * progmodes/python.el (python-indent-block-enders): New var.
20811         (python-indent-calculate-indentation): Use it.
20813 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
20815         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
20816         defun.  Defining it as defalias could introduce too eager
20817         byte-compiler optimization.  (Bug#14030)
20819 2013-03-30  Chong Yidong  <cyd@gnu.org>
20821         * iswitchb.el (iswitchb-read-buffer): Fix typo.
20823 2013-03-30  Leo Liu  <sdl.web@gmail.com>
20825         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
20826         (kmacro-execute-from-register): Pass the keyboard macro to
20827         kmacro-call-macro or repeating won't work correctly.
20829 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
20831         * progmodes/subword.el: Back to using `forward-symbol'.
20833         * subr.el (forward-whitespace, forward-symbol)
20834         (forward-same-syntax): Move from thingatpt.el.
20836 2013-03-29  Leo Liu  <sdl.web@gmail.com>
20838         * kmacro.el (kmacro-to-register): New command.
20839         (kmacro-execute-from-register): New function.
20840         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
20842 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20844         * mpc.el: Use defvar-local and setq-local.
20845         (mpc--proc-connect): Connection failures are not bugs.
20846         (mpc-mode-map): `follow-link' only applies to the buffer's content.
20847         (mpc-volume-map): Bind to the up-events.
20849 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
20851         * progmodes/subword.el (superword-mode): Use `forward-sexp'
20852         instead of `forward-symbol'.
20854 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20856         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
20857         (edebug--recursive-edit): Use it.
20858         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
20859         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
20861 2013-03-28  Leo Liu  <sdl.web@gmail.com>
20863         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
20865 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
20867         * facemenu.el (list-colors-callback): New defvar.
20868         (list-colors-redisplay): New function.
20869         (list-colors-display): Install list-colors-redisplay as the
20870         revert-buffer-function.  (Bug#14063)
20872 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20874         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
20875         and suffixes don't overlap (bug#14061).
20877         * case-table.el: Use lexical-binding.
20878         (case-table-get-table): New function.
20879         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
20881 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
20883         * progmodes/subword.el: Add `superword-mode' to do word motion
20884         over symbol_words (parallels and leverages `subword-mode' which
20885         does word motion inside MixedCaseWords).
20887 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
20889         * eshell/em-unix.el: Move su and sudo to...
20890         * eshell/em-tramp.el: ...Eshell tramp module.
20892 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20894         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
20895         Change return value to be a sexp.  Delay `get-buffer' to after
20896         restoring the desktop (bug#13951).
20898 2013-03-26  Leo Liu  <sdl.web@gmail.com>
20900         * register.el: Move semantic tag handling back to
20901         cedet/semantic/senator.el.  (Bug#14052)
20903 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20905         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
20906         into the prompt either (bug#13963).
20908 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20910         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
20911         part of "(error-foo)".
20913 2013-03-24  Juri Linkov  <juri@jurta.org>
20915         * replace.el (list-matching-lines-prefix-face): New defcustom.
20916         (occur-1): Pass `list-matching-lines-prefix-face' to the function
20917         `occur-engine' if `face-differs-from-default-p' returns t.
20918         (occur-engine): Add `,' inside backquote construct to evaluate
20919         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
20920         Pass `prefix-face' to the functions `occur-context-lines' and
20921         `occur-engine-add-prefix'.
20922         (occur-engine-add-prefix, occur-context-lines): Add optional arg
20923         `prefix-face' and propertize the prefix with `prefix-face'.
20924         (Bug#14017)
20926 2013-03-24  Leo Liu  <sdl.web@gmail.com>
20928         * nxml/rng-valid.el (rng-validate-while-idle)
20929         (rng-validate-quick-while-idle): Guard against deleted buffer.
20930         (Bug#13999)
20932         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
20933         is the last entry in kill-buffer-hook.
20935         * files.el (kill-buffer-hook): Doc fix.
20937 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
20939         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
20940         Make it safe-local.
20942         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
20944 2013-03-23  Leo Liu  <sdl.web@gmail.com>
20946         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
20947         Remove.
20949         * nxml/rng-valid.el (rng-validate-mode)
20950         (rng-after-change-function, rng-do-some-validation):
20951         * nxml/rng-maint.el (rng-validate-buffer):
20952         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
20953         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
20954         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
20955         (nxml-extend-after-change-region): Use with-silent-modifications.
20957         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
20958         timer-idle-list.
20960         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
20961         (rng-next-error-1, rng-previous-error-1): Do not let-bind
20962         timer-idle-list.  (Bug#13999)
20964 2013-03-23  Juri Linkov  <juri@jurta.org>
20966         * info.el (info-index-match): New face.
20967         (Info-index, Info-apropos-matches): Add a nested subgroup to the
20968         main pattern and add text properties with the new face to matches
20969         in index entries relative to the beginning of the index entry.
20970         (Bug#14015)
20972 2013-03-21  Eric Ludlam  <zappo@gnu.org>
20974         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
20975         Inhibit read only while inserting objects.
20977 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
20979         * progmodes/cfengine.el: Update docs to mention
20980         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
20981         symbol motion.  Remove "_" from the word syntax.
20983 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
20985         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
20986         syntax for both `cfengine2-mode' and `cfengine3-mode'.
20988 2013-03-20  Juri Linkov  <juri@jurta.org>
20990         * info.el (Info-next-reference-or-link)
20991         (Info-prev-reference-or-link): New functions.
20992         (Info-next-reference, Info-prev-reference): Use them.
20993         (Info-try-follow-nearest-node): Handle footnote navigation.
20994         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
20996 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20998         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
20999         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
21001 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
21003         Suppress unnecessary non-ASCII chatter during build process.
21004         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
21005         (batch-skkdic-convert): Suppress most of the chatter.
21006         It's not needed so much now that machines are faster,
21007         and its non-ASCII component was confusing; see Dmitry Gutov in
21008         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
21010 2013-03-20  Leo Liu  <sdl.web@gmail.com>
21012         * ido.el (ido-chop): Fix bug#10994.
21014 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
21016         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
21017         Remove vars.
21018         (whitespace-color-on, whitespace-color-off):
21019         Use `font-lock-fontify-buffer' (Bug#13817).
21021 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21023         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
21024         remapping in mode-line.
21025         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
21027 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
21029         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
21030         value for `whitespace-line' face (Bug#13875).
21031         (whitespace-font-lock-keywords): Change description.
21032         (whitespace-color-on): Don't save `font-lock-keywords' value, save
21033         the constructed keywords instead.
21034         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
21036 2013-03-19  Leo Liu  <sdl.web@gmail.com>
21038         * progmodes/compile.el (compilation-display-error): New command.
21039         (compilation-mode-map, compilation-minor-mode-map): Bind it to
21040         C-o.  (Bug#13992)
21042 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
21044         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
21046 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
21048         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
21050 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
21052         * net/tramp-compat.el (tramp-compat-user-error): New defun.
21054         * net/tramp-adb.el (tramp-adb-handle-shell-command):
21055         * net/tramp-gvfs.el (top):
21056         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
21057         (tramp-handle-shell-command): Use it.
21058         (tramp-dissect-file-name): Raise an error when hostname is a
21059         method name, and neither method nor user is specified.
21061         * net/trampver.el: Update release number.
21063 2013-03-18  Leo Liu  <sdl.web@gmail.com>
21065         Make sure eldoc can be turned off properly.
21066         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
21067         eldoc-mode.
21068         (eldoc-display-message-p): Revert last change.
21069         (eldoc-display-message-no-interference-p)
21070         (eldoc-print-current-symbol-info): Tweak.
21072 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
21074         * doc-view.el (doc-view-new-window-function): Check the new window
21075         overlay's display property instead the char property of the
21076         buffer's first char.  Use `with-selected-window' instead of
21077         `save-window-excursion' with `select-window'.
21078         (doc-view-document->bitmap): Check the current doc-view overlay's
21079         display property instead the char property of the buffer's first char.
21081 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
21083         Automate the build of ja-dic.el (Bug#13984).
21084         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
21085         from the input, rather than assume that it's been done for us by the
21086         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
21087         the current date into a ja-dic.el comment, as that complicates
21088         regression testing.
21090 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21092         * whitespace.el: Fix double evaluation.
21093         (whitespace-space, whitespace-hspace, whitespace-tab)
21094         (whitespace-newline, whitespace-trailing, whitespace-line)
21095         (whitespace-space-before-tab, whitespace-indentation)
21096         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
21097         obsolete defvars.
21098         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
21099         (whitespace-color-on): Use a single font-lock-add-keywords call.
21100         Fix double-evaluation of face variables.
21102 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
21104         * net/tramp-adb.el (tramp-adb-parse-device-names):
21105         Use `start-process' instead of `call-process'.  Otherwise, the
21106         function might be blocked under MS Windows.  (Bug#13299)
21108 2013-03-17  Leo Liu  <sdl.web@gmail.com>
21110         Extend eldoc to display info in the mode-line.  (Bug#13978)
21111         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
21112         (eldoc-mode-line-string): New variable.
21113         (eldoc-minibuffer-message): New function.
21114         (eldoc-message-function): New variable.
21115         (eldoc-message): Use it.
21116         (eldoc-display-message-p)
21117         (eldoc-display-message-no-interference-p):
21118         Support eldoc-post-insert-mode.
21120         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
21121         (eval-expression): Run it.
21123 2013-03-17  Roland Winkler  <winkler@gnu.org>
21125         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
21126         strings in the list of return values.
21128 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
21130         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
21131         radix before checking for HMS forms.
21133 2013-03-16  Leo Liu  <sdl.web@gmail.com>
21135         * progmodes/scheme.el: Add indentation and font-locking for λ.
21136         (Bug#13975)
21138 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21140         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
21141         token before point (bug#13942).
21143 2013-03-16  Leo Liu  <sdl.web@gmail.com>
21145         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
21147 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
21149         * startup.el (command-line-normalize-file-name): Fix handling of
21150         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
21151         <xfq.free@gmail.com> in
21152         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
21154 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
21156         Sync with Tramp 2.2.7.
21158         * net/trampver.el: Update release number.
21160 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
21162         * doc-view.el: Fix bug#13887.
21163         (doc-view-insert-image): Don't modify overlay associated to
21164         non-live windows, and implement horizontal centering of image in
21165         case it's smaller than the window.
21166         (doc-view-new-window-function): Force redisplay of new windows on
21167         doc-view buffers.
21169 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
21171         * saveplace.el (save-place-alist-to-file): Don't sort
21172         `save-place-alist', just pretty-print it (bug#13882).
21174 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
21176         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
21177         Check whether `default-file-name-coding-system' is bound.
21178         It isn't in XEmacs.
21180 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
21182         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
21183         backquotes for `obsolete' (bug#13929).
21185         * international/mule.el (find-auto-coding): Include file name in
21186         obsolescence warning (bug#13922).
21188 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
21190         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
21191         for CFEngine 3-specific indentation.
21192         (cfengine3-indent-line): Use it.  Fix up category regex.
21193         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
21195 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21197         * type-break.el (type-break-file-name):
21198         * textmodes/remember.el (remember-data-file):
21199         * strokes.el (strokes-file):
21200         * shadowfile.el (shadow-initialize):
21201         * saveplace.el (save-place-file):
21202         * ps-bdf.el (bdf-cache-file):
21203         * progmodes/idlwave.el (idlwave-config-directory):
21204         * net/quickurl.el (quickurl-url-file):
21205         * international/kkc.el (kkc-init-file-name):
21206         * ido.el (ido-save-directory-list-file):
21207         * emulation/viper.el (viper-custom-file-name):
21208         * emulation/vip.el (vip-startup-file):
21209         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
21210         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
21212 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
21214         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
21215         * language/thai-word.el: Switch to UTF-8.
21217 See ChangeLog.16 for earlier changes.
21219 ;; Local Variables:
21220 ;; coding: utf-8
21221 ;; End:
21223   Copyright (C) 2011-2014 Free Software Foundation, Inc.
21225   This file is part of GNU Emacs.
21227   GNU Emacs is free software: you can redistribute it and/or modify
21228   it under the terms of the GNU General Public License as published by
21229   the Free Software Foundation, either version 3 of the License, or
21230   (at your option) any later version.
21232   GNU Emacs is distributed in the hope that it will be useful,
21233   but WITHOUT ANY WARRANTY; without even the implied warranty of
21234   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21235   GNU General Public License for more details.
21237   You should have received a copy of the GNU General Public License
21238   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.