From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Bogus temporary frame created by Gnus Date: Tue, 10 May 2005 18:06:19 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115762654 31017 80.91.229.2 (10 May 2005 22:04:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 22:04:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 11 00:04:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVcp9-0004BX-U5 for ged-emacs-devel@m.gmane.org; Wed, 11 May 2005 00:03:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVcxl-0007MU-TU for ged-emacs-devel@m.gmane.org; Tue, 10 May 2005 18:12:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVcuQ-00061r-Bv for emacs-devel@gnu.org; Tue, 10 May 2005 18:08:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVcuI-0005x0-RH for emacs-devel@gnu.org; Tue, 10 May 2005 18:08:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVcuI-0005uE-CB for emacs-devel@gnu.org; Tue, 10 May 2005 18:08:50 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DVcyB-0006vq-Vd for emacs-devel@gnu.org; Tue, 10 May 2005 18:12:52 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 148C6340014; Tue, 10 May 2005 18:06:23 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id B57714AC008; Tue, 10 May 2005 18:06:19 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id A1A13E6C16; Tue, 10 May 2005 18:06:19 -0400 (EDT) Original-To: emacs-devel@gnu.org, bugs@gnus.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.84, requis 5, autolearn=not spam, AWL 0.06, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36962 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36962 When I do "O f" in Gnus, I'm first prompted for a file name, and then a new frame is created that displays a temporary buffer that's immediately killed. I think it's just a bug, which is fixed by the patch below. Any objection? Note that several other gnus-summary-save-in-* functions may suffer from the same problem, but I don't have the time/energy to check them, Stefan PS: If you can't reproduce the problem, it's probably because your pop-up-frames and special-display-regexp settings are different from mine. --- orig/lisp/gnus/gnus-art.el +++ mod/lisp/gnus/gnus-art.el @@ -3314,7 +3314,7 @@ "Save %s in file:" filename gnus-file-save-name gnus-newsgroup-name gnus-current-headers 'gnus-newsgroup-last-file)) - (gnus-eval-in-buffer-window gnus-save-article-buffer + (with-current-buffer gnus-save-article-buffer (save-excursion (save-restriction (widen)