all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 16882@debbugs.gnu.org
Subject: bug#16882: 24.3.50; with-temp-buffer-window broken
Date: Wed, 26 Feb 2014 11:34:22 +0100	[thread overview]
Message-ID: <87bnxunowh.fsf@gmail.com> (raw)
In-Reply-To: <530DBF1E.3090106@gmx.at> (martin rudalics's message of "Wed, 26 Feb 2014 11:17:02 +0100")

martin rudalics <rudalics@gmx.at> writes:

> The problem is that `with-temp-buffer-window' should substitute
> `with-output-to-temp-buffer' and the latter doesn't make the buffer
> current.  As a matter of fact, the inconsistency you discovered could
> have led to output misleading text, for example, if BODY tried to print
> the value of the current buffer and that buffer would be that of the
> temporary buffer.  The idea is that from Emacs' POV the temporary buffer
> doesn't exist unless you consider standard output part of that view.
>
> I deeply apologize for the inconveniences this has caused you.  More so
> because if you hadn't reported this bug you would not have experienced
> them in the first place.  Nevertheless note that you have reported a bug
> which may have already caused people to misinterpret Help information
> without noting it.  So yours was a very valuable contribution.

Thanks for explanation.

> I sincerely hope that you can rearrange you code accordingly.

Done thanks, I have now a macro similar to `with-temp-buffer-window' but
that doesn't expect standard-output.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





  reply	other threads:[~2014-02-26 10:34 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 [this message]
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

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=87bnxunowh.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=16882@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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.