From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46500 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: multiple message frames Date: Thu, 12 Sep 2002 10:51:05 +0900 Organization: Emacsen advocacy group Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031795562 14580 127.0.0.1 (12 Sep 2002 01:52:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2002 01:52:42 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17pJ9s-0003n2-00 for ; Thu, 12 Sep 2002 03:52:41 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17pJ9H-0008JJ-00; Wed, 11 Sep 2002 20:52:03 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 11 Sep 2002 20:52:40 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id UAA13127 for ; Wed, 11 Sep 2002 20:52:28 -0500 (CDT) Original-Received: (qmail 4399 invoked by alias); 12 Sep 2002 01:51:41 -0000 Original-Received: (qmail 4394 invoked from network); 12 Sep 2002 01:51:41 -0000 Original-Received: from unknown (HELO mars.web-hosting.com) (207.228.244.150) by gnus.org with SMTP; 12 Sep 2002 01:51:41 -0000 Original-Received: from localhost ([207.228.245.242]) by mars.web-hosting.com (8.11.1/8.11.1) with ESMTP id g8C1pcW15056 for ; Wed, 11 Sep 2002 21:51:39 -0400 (EDT) Original-To: ding@gnus.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management, sparc-sun-solaris2.6) X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:Ux+VsGQYTAUrYP4KopX9U1VYg1U= X-Hashcash: 020912:ding@gnus.org:64766e0e06bb9aa8 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46500 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46500 Hi, >>>>> In >>>>> Reiner Steib <4uce.02.r.steib@gmx.net> wrote: >>> This is my gnus-buffer-configuration... > Thanks again for this. I've been using it since you posted it and I > like it very much. That is also my favorite. :) > There's only one minor disturbance: I often put messages in the > drafts group and send them later (without further editing) with `D > s' (`gnus-draft-send-message'). With your configuration, Emacs opens > a new frame, sends the message and closes the frame again. Is it > possible to avoid the new frame, when sending messages with > `gnus-draft-send-message'? Oh, I see it. I don't use gnus-draft normally, though. The following hook may help you. How about it? (add-hook 'gnus-message-setup-hook (lambda nil (if (memq this-command '(gnus-draft-send-message gnus-draft-send-all-messages)) (let ((config (copy-sequence gnus-buffer-configuration))) (set (make-local-variable 'gnus-buffer-configuration) (cons '(forward (vertical 1.0 (message 1.0 point))) (delq (assq 'forward config) config))) (set (make-local-variable 'gnus-configure-windows-hook) nil))))) -- Katsumi Yamaoka