From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30433 Path: main.gmane.org!not-for-mail From: Reid Rivenburgh Newsgroups: gmane.emacs.gnus.general Subject: Multiple frame problem Date: 26 Apr 2000 13:54:34 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035166971 8450 80.91.224.250 (21 Oct 2002 02:22:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:22:51 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 3DCB0D051F for ; Wed, 26 Apr 2000 15:56:51 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB32431; Wed, 26 Apr 2000 14:56:36 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Apr 2000 14:55:56 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA26338 for ; Wed, 26 Apr 2000 14:55:45 -0500 (CDT) Original-Received: from c3serve.c3.lanl.gov (c3serve-f0.c3.lanl.gov [128.165.20.100]) by mailhost.sclp.com (Postfix) with ESMTP id B1920D051E for ; Wed, 26 Apr 2000 15:54:37 -0400 (EDT) Original-Received: from toespaz.c3.lanl.gov (toespaz.c3.lanl.gov [128.165.20.7]) by c3serve.c3.lanl.gov (8.9.3/8.9.3) with ESMTP id NAA12030 for ; Wed, 26 Apr 2000 13:54:35 -0600 (MDT) Original-Received: (reid@localhost) by toespaz.c3.lanl.gov (8.9.3+Sun/c93112801) id NAA13332; Wed, 26 Apr 2000 13:54:34 -0600 (MDT) X-Authentication-Warning: toespaz.c3.lanl.gov: reid set sender to reid@lanl.gov using -f Original-To: ding@gnus.org Original-Lines: 30 User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.1 (Canyonlands) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30433 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30433 [posted to gnu.emacs.gnus, but maybe better asked here] Hi, [Before I forget: Gnus 5.8.5 and XEmacs 21.1.9] I currently use a setup that pops up a new frame for composing mail and posts, leaving my original frame for normal reading. The composition frame is created once, raised when needed, and automatically lowered after sending using the following hook: (add-hook 'message-sent-hook (lambda () (bury-buffer (get-buffer "*Group*"))) (lower-frame))) You'll notice I'm also burying the *Group* buffer. That's where my question comes in. The composition frame seems to revert back to that buffer and sometimes others after sending. That's annoying, because my main frame then won't display it, since it's visible in the composition frame. My burying it is an attempt to get it to stop doing that. I also tried this: (add-hook 'message-sent-hook (lambda () (switch-to-buffer "*scratch*")) (lower-frame))) But that doesn't work; that switch-to-buffer seems to happen before the internal buffer switch. There doesn't appear to be a later hook I could use. Does anyone have any suggestions for how to handle this? I'm an elisp novice, and I've done some poking around, but nothing I've found works very well. Thanks, reid