Force saving without encoding, regardless of current message.
[bpt/emacs.git] / lisp / ChangeLog
index 997b006..27a223c 100644 (file)
@@ -1,3 +1,265 @@
+2013-02-07  Richard Stallman  <rms@gnu.org>
+
+       * mail/rmail.el (rmail-variables): Specify `no-conversion' for
+       `save-buffer-coding-system'.
+
+2013-02-07  Alan Mackenzie  <acm@muc.de>
+
+       Fix bug in state cache mechanism.  Remove 'BOD "strategy".  Refactor.
+       * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
+       (c-parse-state-get-strategy): Don't return 'BOD any more.
+       (c-append-lower-brace-pair-to-state-cache):
+       Extra parameter HERE instead of narrowing.
+       Widen to top of buffer before searching backwards for a brace pair.
+       (c-state-push-any-brace-pair): Add HERE parameter to function call.
+       (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
+       Narrow to parameter HERE, in place of being called narrowed.
+       (c-remove-stale-state-cache): Extra parameter HERE in place of
+       narrowing.  Check there's an open brace in the cache before
+       searching for its match.
+       (c-invalidate-state-cache-1): Add HERE parameter to function call.
+       (c-parse-state-1): Don't narrow here for 'forward strategy,
+       instead passing extra parameter HERE to several functions.
+       Remove 'BOD strategy.
+
+2013-02-06  Nicolas Richard <theonewiththeevillook@yahoo.fr>  (tiny change)
+
+       * emacs-lisp/package.el (describe-package-1): Tell what archive is
+       used to install the package.
+
+2013-02-06  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
+       if we can't get user input.  (Bug#6567)
+
+       * startup.el (command-line): If simple.el is missing,
+       test and warn about for some possible causes.
+
+2013-02-05  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * cus-start.el (all): Add ns-use-native-fullscreen.
+
+2013-02-05  Glenn Morris  <rgm@gnu.org>
+
+       * profiler.el (profiler-report-mode-map): Add a restart menu entry.
+
+       * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
+       Fix directory creation in fallback case.
+
+2013-02-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
+
+       * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
+       (vc-update-change-log): Use dolist.
+
+2013-02-04  Chong Yidong  <cyd@gnu.org>
+
+       * thingatpt.el: Rewrite the URL detection routines, absorbing some
+       code from ffap.el.
+       (thing-at-point-beginning-of-url-regexp): New var.
+       (thing-at-point-uri-schemes): Update list of URI schemes.
+       (thing-at-point-url-regexp): Variable deleted.
+       (thing-at-point-markedup-url-regexp): Disallow newlines.
+       (thing-at-point-newsgroup-regexp)
+       (thing-at-point-newsgroup-heads)
+       (thing-at-point-default-mail-uri-scheme): New variables.
+       (thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
+       method to find the possible bounds of the URI at point.
+       New optional argument to find ill-formed URIs.
+       (thing-at-point-url-at-point): Rewrite.  New arguments for finding
+       ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
+       the scheme-adding heuristics from ffap-url-at-point.
+       (thing-at-point--bounds-of-well-formed-url): New function.
+       Do parens matching to decide whether to include parens in the URI
+       (Bug#9153).
+
+       * ffap.el: Require thingatpt.
+       (ffap-url-at-point): Delegate URI detection to thing-at-point.
+       All URI-valid characters are now recognized (Bug#5673).
+       (ffap-string-at-point): Use use-region-p.
+       (ffap-url-regexp): Extra character is handled by thing-at-point.
+       (ffap-string-at-point-mode-alist): Allow parentheses.
+       (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
+       Convert to aliases; code moved to thingatpt.el.
+       (ffap-gnus-hook): Use setq-local.
+
+2013-02-04  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/ert.el (ert--explain-format-atom):
+       Don't try to print non-characters as characters.  (Bug#13543)
+
+2013-02-03  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-debug-message): Extend function exclude list.
+       (tramp-backtrace): New defun.
+       (tramp-handle-insert-file-contents): Use `visit' when inserting
+       the local copy.
+
+       * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
+       Use `remote-file-name-inhibit-cache'.
+
+2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
+       (bug#13614).
+
+       * subr.el (internal--called-interactively-p--get-frame): Avoid filling
+       current-load-list (bug#13366).
+
+2013-02-02  Christopher Schmidt  <christopher@ch.ristopher.com>
+
+       * progmodes/compile.el (compilation-error-regexp-alist-alist):
+       Identify g++ template instantiation trace.  (Bug#12287)
+       (compilation-mode-hook, compilation-start-hook)
+       (compilation-window-height): Simplify docstrings.  (Bug#13379)
+
+2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * mouse.el (mouse-drag-track): Always deactivate the mark before
+       running the final event's command since that command is in charge of
+       activating the mark if needed (bug#13523).
+
+2013-02-02  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (perform-replace): Move let-bindings of isearch-*
+       variables deeper to the loop that searches for the next match.
+       Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
+       Use `isearch-search-fun-default' instead of `isearch-search-fun'.
+       (Bug#13579)
+
+       * isearch.el (isearch-search-fun-default): Check for null
+       first element of isearch-cmds as a precaution when it's used
+       with inactive isearch.
+
+2013-02-02  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
+
+       * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
+       error when buffer in question is narrowed so position 1 is out of
+       visible part.
+
+2013-02-02  Glenn Morris  <rgm@gnu.org>
+
+       * textmodes/remember.el (remember-clipboard): Doc fix.
+
+2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
+       properties (bug#13179).
+
+2013-02-02  Juri Linkov  <juri@jurta.org>
+
+       * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
+       instead of hard-coded default face `match'.  (Bug#9438)
+
+2012-02-01  Christopher Schmidt  <christopher@ch.ristopher.com>
+
+       * vc/vc-arch.el (vc-arch-registered):
+       * vc/vc-bzr.el (vc-bzr-registered):
+       * vc/vc-cvs.el (vc-cvs-registered):
+       * vc/vc-git.el (vc-git-registered):
+       * vc/vc-hg.el (vc-hg-registered):
+       * vc/vc-mtn.el (vc-mtn-registered):
+       * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
+       (Bug#13139)
+
+       * info.el (Info-next-reference, Info-prev-reference): Add numeric
+       prefix argument.  (Bug#11656)
+
+2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
+
+2013-02-01  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
+       if the backend is known not to support it.
+
+       * imenu.el (imenu-default-create-index-function):
+       Tweak infinite loop test to check for forward motion as well as none.
+
+2013-02-01  Alex Harsanyi  <AlexHarsanyi@gmail.com>
+
+       * net/soap-client.el (soap-invoke): Encode the string for
+       `url-request-data' as UTF-8.
+       Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
+
+2013-02-01  Glenn Morris  <rgm@gnu.org>
+
+       * calc/calc-help.el (calc-view-news): Use view-emacs-news.
+
+       * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
+
+2013-01-31  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-tramp-file-p): Comment check for
+       `string-as-unibyte'.  The function does not exist on XEmacs, and
+       likely we need another approach.
+
+       * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
+       `tramp-gw-*' variables are bound.
+
+2013-01-31  Glenn Morris  <rgm@gnu.org>
+
+       * files.el (basic-save-buffer-2): Choose coding system for
+       writing the file before backing it up, to reduce delay between
+       backing up and writing the new version.  (Bug#13522)
+
+2013-01-31  Michal Nazarewicz  <mina86@mina86.com>
+
+       * simple.el (cycle-spacing): New command.
+       (just-one-space): Use it.
+
+2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/opascal.el: Rename from delphi.el.  Use lexical-binding.
+       (opascal-newline-always-indents): Remove custom.
+       (opascal-tab, opascal-newline): Remove commands.
+       (opascal-new-comment-line): Insert "\n" instead of calling newline.
+       (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
+       (opascal-save-match-data): Remove, use save-match-data instead.
+       (opascal-save-state): Use with-silent-modifications.
+
+       * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
+       (bug#13585).
+
+2013-01-30  Juri Linkov  <juri@jurta.org>
+
+       * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
+       Use fullboth as an alias for fullscreen.  Suggested by Jan Djärv in
+       <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
+
+2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/make-mode.el (makefile-backslash-region): Don't compute
+       column if we're just deleting the backslashes.
+       (makefile-fill-paragraph): Use eolp.
+
+2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
+
+       * autorevert.el (auto-revert-use-notify): Fix docstring.
+
+2013-01-30  Leo Liu  <sdl.web@gmail.com>
+
+       * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
+
+2013-01-30  Glenn Morris  <rgm@gnu.org>
+
+       * mouse.el (mouse-drag-line): Avoid pushing same event onto
+       unread-command-events twice in some cases.  This tries to implement
+       the 2012-07-26 changes in a different way.  (Bug#13560)
+
+2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el
+       (python-pdbtrack-comint-output-filter-function): Enhancements on
+       stacktrace detection.  (thanks @gnovak)
+
+2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
+       (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
+       Use defvar-local.
+       (jit-lock-register): Use setq-local.
+
 2013-01-30  Jay Belanger  <jay.p.belanger@gmail.com>
 
        * calc-units.el (math-default-units-table): Remove initial value.
 
 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
 
-       * progmodes/python.el (python-shell-parse-command): Find
-       python-shell-interpreter with modified environment.
+       * progmodes/python.el (python-shell-parse-command):
+       Find python-shell-interpreter with modified environment.
 
 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 
        Amend to fontify /regexp/s in actions correctly.
        * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
-       (c-awk-harmless-string*-here-re): braces, parens and semicolons
+       (c-awk-harmless-string*-here-re): Braces, parens and semicolons
        are no longer included.
        (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
        What used to be these variables without "-line" in the name.
-       (c-awk-neutral-re): { is no longer neutral.  Escaped newlines now
-       are.
+       (c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
        (c-awk-non-arith-op-bra-re): Now also matches {.
        (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
        "return", and "case".
        (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
        by /.
        (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
-       (c-awk-set-syntax-table-properties): Extend FSM to handle
-       {,},(,),;.
+       (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
 
 2013-01-29  Michael Albinus  <michael.albinus@gmx.de>
 
-       * autorevert.el (auto-revert-use-notify): Use
-       `custom-initialize-default' for initialization.  (Bug#13583)
+       * autorevert.el (auto-revert-use-notify):
+       Use `custom-initialize-default' for initialization.  (Bug#13583)
 
        * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
 
-       * net/tramp-sh.el (tramp-sh-handle-start-file-process): Catch
-       `suppress'.  Otherwise, `tramp-run-real-handler' might be called
+       * net/tramp-sh.el (tramp-sh-handle-start-file-process):
+       Catch `suppress'.  Otherwise, `tramp-run-real-handler' might be called
        in `tramp-file-name-handler'.
        (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
        compatibility.