all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 16882@debbugs.gnu.org
Subject: bug#16882: 24.3.50; with-temp-buffer-window broken
Date: Sun, 16 Mar 2014 11:01:26 +0100	[thread overview]
Message-ID: <53257676.8010905@gmx.at> (raw)
In-Reply-To: <53106C0C.6070402@gmx.at>

 > As the bug found by Juanma shows I was fooled by this myself.  It should
 > now behave again in your sense.  I still have to explain the behavior in
 > the manual.

Sorry, but I had to revert that once more in the light of bug#17007.  A
major aspect of `with-temp-buffer-window' was (and the doc-string
indicated it) to evaluate BODY in the original buffer in order to get
the local variables, settings and keybindings of that buffer right.  I
messed that up in the Emacs 24.3 version of the macro and now have it do
what the doc-string indicated then.  So you will have to change your
code as I suggested earlier.

As a remedy you can now use the new macro `with-current-buffer-window'
instead which does exactly what `with-temp-buffer-window' did in Emacs
24.3.  This might not be the most convenient way to work with the same
code in Emacs 24.3 and subsequent versions but it's the best I can
offer.

Apologizing again, martin





      parent reply	other threads:[~2014-03-16 10:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 18:40 bug#16882: 24.3.50; with-temp-buffer-window broken Thierry Volpiatto
2014-02-25 19:00 ` Glenn Morris
2014-02-25 19:43   ` Thierry Volpiatto
2014-02-26 10:17     ` martin rudalics
2014-02-26 10:34       ` Thierry Volpiatto
2014-02-28  7:20       ` Thierry Volpiatto
2014-02-28 10:59         ` martin rudalics
2014-02-28 12:43           ` Thierry Volpiatto
2014-02-28 18:28             ` martin rudalics
2014-03-16 10:01           ` martin rudalics [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53257676.8010905@gmx.at \
    --to=rudalics@gmx.at \
    --cc=16882@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.