From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58828 Path: main.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Follow-up etc in NEW frame Date: Tue, 12 Oct 2004 17:41:45 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097603406 13172 80.91.229.6 (12 Oct 2004 17:50:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2004 17:50:06 +0000 (UTC) Cc: Ding List Original-X-From: ding-owner+M7366@lists.math.uh.edu Tue Oct 12 19:49:50 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CHQmU-0003Ok-00 for ; Tue, 12 Oct 2004 19:49:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CHQlC-0005Qr-00; Tue, 12 Oct 2004 12:48:30 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CHOmm-0004xR-00 for ding@lists.math.uh.edu; Tue, 12 Oct 2004 10:42:00 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CHOmd-0008Qz-8U for ding@lists.math.uh.edu; Tue, 12 Oct 2004 10:41:51 -0500 Original-Received: from mail-new.rz.uni-ulm.de (mail-new.rz.uni-ulm.de [134.60.1.1]) by justine.libertine.org (Postfix) with ESMTP id A0EAD3A0027 for ; Tue, 12 Oct 2004 10:41:49 -0500 (CDT) Original-Received: from lumberjack.physik.uni-ulm.de (lumberjack.physik.uni-ulm.de [134.60.10.173]) by mail.uni-ulm.de (8.13.1/8.13.1) with ESMTP id i9CFfloe005503 for ; Tue, 12 Oct 2004 17:41:48 +0200 (MEST) Original-Received: by lumberjack.physik.uni-ulm.de (Postfix, from userid 170) id A56AF1814B; Tue, 12 Oct 2004 17:41:47 +0200 (CEST) Original-Newsgroups: gnu.emacs.gnus X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:pfbTvB27J2B0utENgOsldiy/wqs= In-Reply-To: (Reiner Steib's message of "Mon, 11 Oct 2004 23:53:15 +0200") Posted-To: gnu.emacs.gnus X-DCC-RollaNet-Metrics: gemini 1004; Body=1 Fuz1=1 Fuz2=1 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58828 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58828 [ The following message is a courtesy copy of an article that has been posted to news:gnu.emacs.gnus as well. ] [ Added Cc to the ding list. If anyone thinks that this patch is not the right solution, please speak up. I'd suggest to contionue the thread on the ding list. ] On Mon, Oct 11 2004, Reiner Steib wrote: > On Mon, Oct 11 2004, Xavier Maillard wrote: >> Any chance we can see what does it look like in action (ie. any >> picture) ? > > Both solutions [1] lead to new frames when composing messages, > e.g. when pressing `F', `R' and similar, you get a new frame. When > pressing `C-c C-c', the frame is closed automatically. > > Alas, there are a couple of minor pitfalls (at least with my > special-display configuration): > > E.g. when the question "Remove the backup file" from > `message-kill-buffer' (after `C-c C-k') appears, the frame has already > been deleted. [...] > Thus the message appears in some other (non-focused) frame. Maybe > someone has a solution for this problem. The following patch (already installed in No Gnus) should fix this: --8<---------------cut here---------------start------------->8--- --- message.el 08 Oct 2004 17:33:21 +0200 7.52 +++ message.el 12 Oct 2004 17:31:14 +0200 @@ -3417,8 +3417,15 @@ (file-exists-p auto-save-file-name)) (and file-name (file-exists-p file-name))) - (yes-or-no-p (format "Remove the backup file%s? " - (if modified " too" "")))) + (progn + ;; If the message buffer has lived in a dedicated window, + ;; `kill-buffer' has killed the frame. Thus the + ;; `yes-or-no-p' may show up in a lowered frame. Make sure + ;; that the user can see the question by raising the + ;; current frame: + (raise-frame) + (yes-or-no-p (format "Remove the backup file%s? " + (if modified " too" ""))))) (ignore-errors (delete-file auto-save-file-name)) (let ((message-draft-article draft-article)) --8<---------------cut here---------------end--------------->8--- Bye, Reiner. [1] ,----[ ] | On Sun, Oct 10 2004, Simon Kellett wrote: | | > I would like to do my replies/followups/new posts in a new frame | | In Emacs, you can modify `special-display-regexps' and | `special-display-buffer-names' (I don't about XEmacs). You may find | | useful to find out which buffer names to add. | | A different possibility is `gnus-buffer-configuration'. Katsumi | Yamaoka has posted his setup for new frames some time ago on ding, see | . | IIRC he has posted an update later. I don't have the Message-Id for | it and I didn't include it in `rs-gnus-win.el' because I switched to | the special display solution. `---- -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/