]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
lisp/autoinsert.el: Change default of auto-insert-alist.
[gnu-emacs] / lisp / ChangeLog
index 782481f8d0c90fe07f6d3dc1df90fa46791221ca..819e0d0a1b21e9a8181a05a09a7e5665b4ba8e90 100644 (file)
@@ -1,3 +1,339 @@
+2014-12-04  Rupert Swarbrick  <ruperts@broadcom.com> (tiny change)
+           Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
+
+       * autoinsert.el (auto-insert-alist): Update C/C++ header and
+       program support to match more extensions.  Replace non-alnum
+       characters when generating include guards (headers) and check for
+       more extensions when generating includes (programs)
+       (bug#19254).
+
+2014-12-03  Eric S. Raymond  <esr@snark.thyrsus.com>
+
+       * files.el (file-tree-walk): Fix docstring.
+
+2014-12-03  Karl Fogel  <kfogel@red-bean.com>
+
+       Fix bug whereby saving files hung in VC hook.
+
+       Saving a buffer visiting a file under SVN control would hang if
+       the remote repository were unreachable, because the VC hooks tried
+       to run "svn status -u" on the file, where the "-u" tells svn to
+       get update information from the remote repository.
+       http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
+
+       * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
+       argument and always pass "-v" to "svn status", never "-u".
+
+2014-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/inline.el: Fix up copyright header.
+       (inline-quote, inline-const-p, inline-const-val, inline-error):
+       Silence compiler warnings.
+       (inline-letevals): Fix edebug spec.
+       (inline--testconst-p): Consider lambda expressions as const-p.
+       (inline--getconst-val): Use inline--testconst-p.
+
+       * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
+       and change default to stay in the minibuffer when called from
+       the minibuffer (bug#19250).
+       (lazy-completion-table): Use this new argument to preserve the
+       old behavior.
+
+       * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
+       incorrect lexical elements (bug#19250).
+
+2014-12-03  Eric S. Raymond  <esr@snark.thyrsus.com>
+
+       * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
+
+2014-12-02  Glenn Morris  <rgm@gnu.org>
+
+       * whitespace.el (whitespace-big-indent-regexp): Add :version.
+
+2014-12-02  Eric S. Raymond  <esr@snark.thyrsus.com>
+
+       * subr.el (filter): New macro. Because it's just silly for a Lisp
+       not to have this in 2014.  And VC needs it.
+
+       * vc.el, all backends: API simplification: Abolish dir-status.
+       It's replaced by dir-status-files.
+
+       * vc.el, all backends: API simplification: Remove 4th
+       'default-state' argument from vc-dir-status files and its backend
+       methods - no backend method ever set it.  It was used only in the
+       fallback method to to set a default of 'up-to-date, though a
+       convoluted call chain obscured this.
+
+       * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
+
+       * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
+       improving behavior on directories using multiple file-oriented VCSes.
+
+       * vc/vc.el and all backends: API simplification; clear-headers
+       is no longer a public method.  It is now local to the one place
+       it's used, in the RCS steal-lock method.
+
+2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
+
+       * vc/vc.el and all backends: API simplification; could-register
+       is no longer a public method.  (vc-cvs.el still has a private
+       implementation.)
+
+       * vc/vc.el and all backends: API cleanup; the backend diff method
+       takes an explicit async flag.  This eliminates a particularly ugly
+       global.
+
+       * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
+       VC randomly/unpredictably fails without it; cause not yet established.
+
+2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Merge some of the differences from the standalone CC-mode.
+       The main change is to only use the `category' text-property only when
+       available.  For that many calls are changed to use c-get-char-property,
+       c-next-single-property-change, c-sc-scan-lists,
+       c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
+
+       * progmodes/cc-mode.el (c-just-done-before-change): New var.
+       (c-basic-common-init): Initialize it.
+       (c-common-init): Only use mode-require-final-newline when available.
+       (c-before-change): Check and set c-just-done-before-change.
+       (c-after-change): Re-set c-just-done-before-change.
+       (c-advise-fl-for-region): New macro.
+       (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
+       (font-lock-after-change-function, jit-lock-after-change):
+       Advise if needed.
+
+       * progmodes/cc-langs.el (c-modified-constant): New lang var.
+       (c-known-type-key): Don't make a list just to throw it away.
+
+       * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
+       Handle the case where categories are not available.
+       (c-record-parse-state-state, c-replay-parse-state-state):
+       Handle marker values.
+       (c-before-change-check-<>-operators): Look for the `syntax-table'
+       property rather than for the corresponding `category'.
+       (c-looking-at-decl-block): Remove unused var
+       `c-disallow-comma-in-<>-arglists'.
+       (c-forward-<>-arglist-recur): Remove unused var
+       `orig-record-found-types'.
+
+       * progmodes/cc-defs.el (c-version): Bump up to 5.33.
+       (c-use-category): New const.
+       (c-next-single-property-change): New macro.
+       (c-region-is-active-p): Prefer region-active-p when available.
+       (c-search-backward-char-property): Fix old min/max typo; probably
+       a copy/paste error.
+       (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
+       Turn them into macros that obey c-use-category.
+       (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
+       (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
+       (c-sc-scan-lists, c-sc-parse-partial-sexp)
+       (c-looking-at-non-alphnumspace): New macros.
+       (c-sc-parse-partial-sexp-no-category): New function.
+       (c-emacs-features): Add `category-properties' element.
+
+       * progmodes/cc-cmds.el (c-forward-into-nomenclature)
+       (c-backward-into-nomenclature): Use cc-subword if subword-mode is
+       not available.
+       (c-beginning-of-defun, c-end-of-defun, c-mark-function)
+       (c-indent-line-or-region): Use c-region-is-active-p.
+
+       * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
+       (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
+       (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
+       (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
+       (cc-bytecomp-obsolete-fun): Delete unused functions.
+
+       * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
+
+2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
+       dom.el changes.
+
+2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
+       current "project" rather than just the current directory.
+       * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
+       the file names make sense.
+
+       * vc/smerge-mode.el (smerge-swap): New command.
+
+       * vc/diff-mode.el (diff-kill-applied-hunks): New command.
+
+2014-12-01  Ulf Jasper  <ulf.jasper@web.de>
+
+       * net/newst-treeview.el (newsticker--treeview-item-show):
+       Check window liveliness before measuring its width.
+
+       * net/newst-backend.el (newsticker--get-news-by-url-callback):
+       Pass correct status to `newsticker--sentinel-work'.
+       (newsticker--sentinel-work): Use "newsticker--download-error" as
+       guid in order to prevent multiple "Could not download..."
+       messages.  Fixes bug#19166.
+
+2014-12-01  Ivan Shmakov  <ivan@siamics.net>
+
+       * net/eww.el (eww-render): Call `eww-after-render-hook' in the
+       correct buffer (bug#19225).
+
+2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/nsm.el (network-security-level): Change the default to `medium'.
+
+       * net/eww.el (eww): Leave point in a place that doesn't cause
+       scrolling when displaying "Loading...".
+
+2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
+
+       * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
+       backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
+       'merge-branch'.  Prompting for merge revisions is pushed down to
+       the back ends; this fixes a layering violation that caused bad
+       behavior with SVN.
+
+       * vc/vc.el, vc-hooks.el, and all backends: API simplification;
+       vc-stay-local-p and repository-hostname are no longer public
+       methods.  Only the CVS and SVN backends used these, and the SVN
+       support was conditioned out because svn status -v is too slow.
+       The CVS back end retains this machibery and the vc-stay-local
+       configuration variable now only affects it.
+
+2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/inline.el: New file.
+
+2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
+
+       * vc/vc.el, vc-hooks.el, and all backends: API simplification;
+       vc-state-heuristic is no longer a public method, having been
+       removed where it is redundant, unnecessary, or known buggy.
+       This eliminated all backends except CVS.  Eliminates bug#7850.
+
+       * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
+       Eliminate vc-mistrust-permissions.  It was only relevant to the
+       RCS and SCCS back ends and defaulted to t. Code now always
+       mistrusts permissions - by actual measurement the effect on
+       performance is negligible. As a side effect bug#11490 is now
+       irrelevant.
+
+       * vc/vc.el, vc-hooks.el, and all backends: API simplification;
+       vc-workfile-unchanged-p is no longer a public method (but the RCS
+       and SCCS back ends retain it as a private method used in state
+       computation). This method was redundant with vc-state and usually
+       implemented as a trivial call to same. Fixes the failure mode
+       described in bug#694.
+
+       * vc/vc.el and all backends: API simplification; init-revision is
+       gone, and vc-registered functions no longer take an
+       initial-revision argument.
+
+2014-11-29  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc-src.el (vc-src, vc-src-diff-switches)
+       (vc-src-master-templates): Fix :version tags.
+
+2014-11-29  Paul Rankin  <paul@tilk.co>  (tiny change)
+
+       * outline.el (outline-move-subtree-down): Refactor and improve code.
+
+2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
+           Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * outline.el (outline-move-subtree-down): Make sure we can move
+       forward to find the end of the subtree and the insertion point
+       (bug#19102).
+
+2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * progmodes/python.el (python-shell-completion-setup-code):
+       Use __builtin__ module (or builtins in Python 3) and catch all errors
+       when importing readline and rlcompleter.
+
+2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
+       (todo-revert-buffer): New function.
+       (todo-modes-set-1): Use it as the buffer-local value of
+       revert-buffer-function.
+
+2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el (todo-mode): If called interactively, just
+       display a message saying to call todo-show to enter Todo mode
+       (Bug#19112).
+
+2014-11-29  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
+       (Bug#18579)
+
+       * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
+       files.  (Bug#18579)
+
+2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
+
+       * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
+       remote `buffer-file-name'.
+
+2014-11-29  Leo Liu  <sdl.web@gmail.com>
+
+       * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
+
+2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       Set PYTHONUNBUFFERED on shell startup.
+
+       * progmodes/python.el (python-shell-unbuffered): New var.
+       (python-shell-calculate-process-environment): Use it.
+
+2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-action-password): Clean password on subsequent
+       attempts even if there was no wrong password indication.  (Bug#19047)
+
+       * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
+       fallback.
+       (tramp-open-connection-setup-interactive-shell): No need to check
+       for nil as `tramp-get-remote-locale' return value.
+
+2014-11-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * vc/vc-git.el (vc-git-command, vc-git--call):
+       Bind coding-system-for-read and coding-system-for-write to
+       vc-git-commits-coding-system.
+       (vc-git-previous-revision): Use "~1" instead of "^", since the
+       latter is a special character for MS-Windows system shells.
+
+2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
+
+       Improve XEmacs compatibility.
+
+       * net/tramp.el (tramp-autoload-file-name-handler):
+       Wrap `temporary-file-directory' by `symbol-value', it doesn't
+       exist in XEmacs.
+       (tramp-read-passwd): Don't use `with-timeout-suspend' and
+       `with-timeout-unsuspend' if they don't exist, like in XEmacs.
+       (tramp-time-less-p, tramp-time-subtract): Remove functions.
+       (tramp-handle-file-newer-than-file-p, tramp-time-diff):
+       * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
+       * net/tramp-cache.el (tramp-get-file-property):
+       * net/tramp-smb.el (tramp-smb-handle-insert-directory):
+       Use `time-less-p' and `time-subtract, respectively.
+
+       * net/tramp-adb.el (top): Do not require time-date.el.
+
+       * net/tramp-compat.el (top): Require time-date.el for XEmacs.
+
+       * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
+       Check, whether `utf-8' is a valid coding system.
+
+2014-11-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * vc/vc.el (vc-retrieve-tag): Doc fix.
+
 2014-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * simple.el (execute-extended-command--shorter): Fix the "M-p" case
 
        * dom.el (dom-pp): New function.
 
-2014-11-17  Eli Zaretskii  <eliz@gnu.org>
+2014-11-27  Eli Zaretskii  <eliz@gnu.org>
 
        * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
        Don't assume --long is the default for "bzr log", always specify
        it explicitly, in case the user defined an alias for 'log' that
        uses some other format.
 
-2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
 
        * progmodes/python.el (python-eldoc--get-doc-at-point):
        Strip shell output before returning.  (bug#18794)
 
-2014-11-16  Dmitry Gutov  <dgutov@yandex.ru>
+2014-11-27  Dmitry Gutov  <dgutov@yandex.ru>
 
        Fix indentation before `!=' and after `+='.  Originally reported
        in https://github.com/mooz/js2-mode/issues/174.
        (in)equality operator a separate case.
        (js--continued-expression-p): Escape the second `+' in the regexp.
 
-2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+2014-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * window.el (handle-select-window): Deactivate shift-region (bug#19003).
 
        * vc/vc-src.el, vc/vc.el: Added support for SRC.  Needs more
        testing and a real log-view mode.
 
-       * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el,
-       vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el,
-       vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
+       * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
+       * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
+       vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
        checkout methods; where it matters (which is only in SCCS and RCS)
        files are always checked out editable.  This may actually have
        been dynamically true already - it looks like the vc-next-action
        code evolved past visiting the other case.  Tested with RCS.
 
-       * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el,
-       vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el,
-       vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
+       * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
+       * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
+       vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
        argument from the backend checkin methods.  Only the RCS, SCCS,
        and CVS back ends tried to do anything with it, and that code was
        never exercised.  Chiseling away the cruft of decades...
 
 2014-11-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
 
-       Fix bug#19099.
        * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
-       `diff-switches' if `vc-git-diff-switches' is nil.
+       `diff-switches' if `vc-git-diff-switches' is nil.  (Bug#19099)
+
+2014-11-19  Artur Malabarba  <bruce.connor.am@gmail.com>
+
+       * lisp/ido.el (ido-bury-buffer-at-head): New command.
+       (ido-buffer-completion-map): Bind it to C-S-b.
 
 2014-11-18  Juri Linkov  <juri@linkov.net>
 
 2014-11-18  Paul Pogonyshev  <pogonyshev@gmail.com>
            Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
 
-       Fix bug#13871 (an alternative version of the patch).
-       * progmodes/cc-langs.el: Support some of the new keywords in
-       C++11.
+       * progmodes/cc-langs.el: Support some of the new keywords in C++11.
+       An alternative version of the patch from bug#13871.
        (c-operators): Add "alignof".
        (c-primitive-type-kwds): Add "char16_t", "char32_t".
        (c-type-modifier-kwds): Add "constexpr", "noexcept".
 
 2014-11-17  Ulf Jasper  <ulf.jasper@web.de>
 
-       Fix bug#5433.
        * calendar/icalendar.el (icalendar-export-alarms):
-       New customizable variable.
+       New customizable variable.  (Bug#5433)
        (icalendar-export-region): Export alarms as specified in
        `icalendar-export-alarms'.
        (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
        (c-typeless-decl-kwds): Append "auto" onto the C++ value.
        (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
 
-       Make ">>" act as double template ender in C++ Mode.
-       Fix bug#11386.
+       Make ">>" act as double template ender in C++ Mode.  (Bug#11386)
        * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
        off from c->-op-cont-re.
        (c->-op-cont-tokens): Change to use the above.
        (bug#17818).
 
        * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
-       since it's already done inside the loop (bug#17819).
+       since it's already done inside the loop (bug#17819).
 
 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
 
        * vc/emerge.el (emerge-make-temp-file): Simplify.
 
 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
-            Stefan Monnier  <monnier@iro.umontreal.ca>
+           Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
        suffix (bug#15419).