From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30676 Path: main.gmane.org!not-for-mail From: Reid Rivenburgh Newsgroups: gmane.emacs.gnus.general Subject: Re: Multiple frame problem Date: 04 May 2000 14:38:30 -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 X-Trace: main.gmane.org 1035167178 9712 80.91.224.250 (21 Oct 2002 02:26:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:26:18 +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 70370D051E for ; Thu, 4 May 2000 16:40:24 -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 PAB16789; Thu, 4 May 2000 15:40:19 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 04 May 2000 15:39:47 -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 PAA00441 for ; Thu, 4 May 2000 15:39:36 -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 C9655D051E for ; Thu, 4 May 2000 16:38:34 -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 OAA22688 for ; Thu, 4 May 2000 14:38:32 -0600 (MDT) Original-Received: (reid@localhost) by toespaz.c3.lanl.gov (8.9.3+Sun/c93112801) id OAA26314; Thu, 4 May 2000 14:38:31 -0600 (MDT) X-Authentication-Warning: toespaz.c3.lanl.gov: reid set sender to reid@lanl.gov using -f Original-To: ding@gnus.org In-Reply-To: dsg@mitre.org's message of "01 May 2000 15:49:14 -0400" Original-Lines: 44 User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/21.1 (Canyonlands) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30676 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30676 David S Goldberg writes: > Here's my solution which works with XEmacs. Not sure about Emacs. > In my .gnus I have: > (defvar dsg-gnus-edit-buffer "*gnusedit*" "place holder for gnus > editing") > (defun dsg-gnus-buffer-predicate (arg) (string= (buffer-name arg) dsg-gnus-edit-buffer)) > [...] > (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 top 1 left 1 name "Gnus Edit" > buffer-predicate > dsg-gnus-buffer-predicate) > (message 1.0 point))))) > What this says is that when I kill or bury whatever is being put in > the frame called "Gnus Edit", the buffer it will return to is > called "*gnusedit*" which is not used for anything else, and > therefore won't likely show up in any other frame. You can use > this as the buffer to find and lower. Note that you're better off > with something like this to do the lowering: > (lower-frame (window-frame (get-buffer-window "*gnusedit*" t))) Thanks again for your help, Dave. Do you by any chance create the *gnusedit* buffer beforehand? I'm using your code, and when I finish composing something, it returns to the *scratch* buffer, not one called *gnusedit* (which doesn't exist). Everything is working pretty well now otherwise, though the lowering occasionally crashes XEmacs (21.1.9). I haven't looked into that yet.... Thanks again, Reid