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: Wed, 26 Feb 2014 11:17:02 +0100	[thread overview]
Message-ID: <530DBF1E.3090106@gmx.at> (raw)
In-Reply-To: <8738j7ger3.fsf@gmail.com>

 >> Note that with-temp-buffer-window's doc has always said:
 >>
 >>    "It does not make the buffer current for BODY."
 >
 > But the code was doing a different thing, you had better time to fix
 > docstring according to code instead of doing the contrary.
 > This make incompatible change between 24.3 and 24.4.

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.

I sincerely hope that you can rearrange you code accordingly.

Thanks, martin





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

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=530DBF1E.3090106@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.