From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30438 Path: main.gmane.org!not-for-mail From: Reid Rivenburgh Newsgroups: gmane.emacs.gnus.general Subject: Re: Multiple frame problem Date: 26 Apr 2000 15:00:01 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: <200004262047.WAA31687@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035166975 8469 80.91.224.250 (21 Oct 2002 02:22:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:22:55 +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 7E1FAD051E for ; Wed, 26 Apr 2000 17:02:15 -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 QAB00068; Wed, 26 Apr 2000 16:02:14 -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 16:01:34 -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 QAA27136 for ; Wed, 26 Apr 2000 16:01:23 -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 3EE14D051E for ; Wed, 26 Apr 2000 17:00:12 -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 PAA14782 for ; Wed, 26 Apr 2000 15:00:10 -0600 (MDT) Original-Received: (reid@localhost) by toespaz.c3.lanl.gov (8.9.3+Sun/c93112801) id PAA13377; Wed, 26 Apr 2000 15:00:04 -0600 (MDT) X-Authentication-Warning: toespaz.c3.lanl.gov: reid set sender to reid@lanl.gov using -f Original-To: ding@gnus.org User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.1 (Canyonlands) In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Wed, 26 Apr 2000 22:47:48 +0200" Original-Lines: 44 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30438 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30438 Kai Gro=DFjohann writes: > Reid Rivenburgh writes: >> I currently use a setup that pops up a new frame for composing >> mail and posts, leaving my original frame for normal reading. > It ought to be possible using the normal method of configuring > frames and windows and buffers in Gnus. Alas, I'm not an expert -- > I just use the default and I'm happy. > But I'm sure if you post what configuration you currently use, some > buffer configuration guru will be able to tell you how to frob it > to get what you want. Thanks, Kai. I wasn't sure how much info to include in my previous message. I had asked before how to go about getting the separate frame for compositions, and I believe David Goldberg was kind enough to post something from his .gnus.el. Here's what I'm using: (gnus-add-configuration '(message (frame 1.0 (if (not (buffer-live-p gnus-summary-buffer)) (car (cdr (assoc 'group gnus-buffer-configuration))) (car (cdr (assoc 'summary gnus-buffer-configuration)))) (vertical (user-position t width 80 top 0 left 0 name "Gnus Edit") = (message 1.0 point))))) The same for reply-yank, reply, and forward. And as I mentioned in my previous message, I'm using some hooks to raise and lower the composition frame as appropriate: (add-hook 'message-sent-hook (lambda () (bury-buffer (get-buffer "*Group*"))) (lower-frame))) (add-hook 'message-setup-hook (lambda () (raise-frame (next-frame)))) It feels like a mighty big kludge, but it mostly works. (Sometimes something in the message-sent-hook outright kills XEmacs, but I haven't yet diagnosed that one, annoying as it is.) I'd just like it to not try to switch to the main gnus buffers (*Group*, *Summary*, etc.) in the composition frame after sending the message. Thanks, Reid