From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#16882: 24.3.50; with-temp-buffer-window broken Date: Wed, 26 Feb 2014 11:34:22 +0100 Organization: Emacs Helm Message-ID: <87bnxunowh.fsf@gmail.com> References: <87k3cj2fzq.fsf@gmail.com> <6ubnxvj9v4.fsf@fencepost.gnu.org> <8738j7ger3.fsf@gmail.com> <530DBF1E.3090106@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393410915 27890 80.91.229.3 (26 Feb 2014 10:35:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2014 10:35:15 +0000 (UTC) Cc: 16882@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 26 11:35:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WIbpf-0006y1-Vg for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Feb 2014 11:35:20 +0100 Original-Received: from localhost ([::1]:39468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIbpf-0000nK-GV for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Feb 2014 05:35:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIbpW-0000dX-3d for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 05:35:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIbpQ-0005Hm-9U for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 05:35:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIbpQ-0005Fo-64 for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 05:35:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WIbpO-0007lL-7Q for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 05:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Feb 2014 10:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16882 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16882-submit@debbugs.gnu.org id=B16882.139341087329785 (code B ref 16882); Wed, 26 Feb 2014 10:35:02 +0000 Original-Received: (at 16882) by debbugs.gnu.org; 26 Feb 2014 10:34:33 +0000 Original-Received: from localhost ([127.0.0.1]:40435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIbou-0007kL-T9 for submit@debbugs.gnu.org; Wed, 26 Feb 2014 05:34:33 -0500 Original-Received: from mail-wi0-f172.google.com ([209.85.212.172]:64693) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIbos-0007kC-J9 for 16882@debbugs.gnu.org; Wed, 26 Feb 2014 05:34:31 -0500 Original-Received: by mail-wi0-f172.google.com with SMTP id e4so5688616wiv.5 for <16882@debbugs.gnu.org>; Wed, 26 Feb 2014 02:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=KGiWRO0JfP4KAI/LH0ITOfSBujgNviviUUi4m16rYX0=; b=N2Qo/EitUFpWLuQuxS78SVxQ1EqtGCzYZeByTveGs9ST25VI1oE6dQnl6UrMuXFt4A hwe30R2J9EVlnySqJ8hUD6xCTHV976gOLIjRGU/mSlq3EC7e2dPezlR59Lctn/7i7swy I6tkM0YuMob5Y9nJ3NQeinHKCl60F7B/8euiYkdrQ9QBbB1jgoMxCPgSW/aKEPXKQy12 h4CIIyHTpsW0InreGFkF4Pvu+cWwTELPqoGrX2mkd5t+wBNHKZh9Akgb7HvdG9qt6M6L ftJwka01DmKaO3cNhIhvOi4pQARVEJLAa+a7U1n3agdYSg/2gPFTW2X6PkIILQsfV4a9 vr5Q== X-Received: by 10.180.187.237 with SMTP id fv13mr7192230wic.26.1393410869612; Wed, 26 Feb 2014 02:34:29 -0800 (PST) Original-Received: from dell-14z ([37.161.202.197]) by mx.google.com with ESMTPSA id fo6sm4133858wib.7.2014.02.26.02.34.28 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 26 Feb 2014 02:34:29 -0800 (PST) In-Reply-To: <530DBF1E.3090106@gmx.at> (martin rudalics's message of "Wed, 26 Feb 2014 11:17:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86250 Archived-At: martin rudalics 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