From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76690 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general Subject: Re: buffer layout when composing Date: Mon, 14 Feb 2011 09:26:58 +0100 Message-ID: References: <87ei7bviss.fsf@gnus.org> <84oc6fwlay.fsf@davestoy.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297672053 18598 80.91.229.12 (14 Feb 2011 08:27:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 08:27:33 +0000 (UTC) Cc: ding@gnus.org To: david.goldberg6@verizon.net (Dave Goldberg) Original-X-From: ding-owner+M25033@lists.math.uh.edu Mon Feb 14 09:27:29 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PotmK-00088e-Ks for ding-account@gmane.org; Mon, 14 Feb 2011 09:27:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Potm8-0007hB-Bd; Mon, 14 Feb 2011 02:27:16 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Potm5-0007gk-SC for ding@lists.math.uh.edu; Mon, 14 Feb 2011 02:27:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Potm0-0004s9-Um for ding@lists.math.uh.edu; Mon, 14 Feb 2011 02:27:13 -0600 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Potlz-0005Sr-QB for ding@gnus.org; Mon, 14 Feb 2011 09:27:07 +0100 Original-Received: by fxm9 with SMTP id 9so5029967fxm.17 for ; Mon, 14 Feb 2011 00:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=tIC3Qf0jmRqVK9K9zRSqlj9W8u/Mbg+t9ao0z0I0ZtA=; b=gDfXpH51CJVqIMBqvwPn4Iay9zltvncIzWUMoui2y8sL0s29iiMQvw1MupNIe7hGEZ 5cNHP4aaA9K1SeazP82nDwobYjAkOoK13UKMoRsFBTzwfZX1Xcczemf4nwW/YRKR9kHy HGGxr/aSpmj116XxUH7wIrZxkfhsHjcbEzODg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=qZJPdvlfqZmJFnQvBaGfVFxbXu10meVnZrGKbhJ/ktSznMAz3AVZe6nQo8MOHZUqau lYk1I04POdX7kHk+fMqgc/xC4bOQZ7Rd5RoEM/D1FRvSJYKO3Cpci+tVNY1H56ftcOQ9 wCgxIQ9krGeDQicjIHQdH/y5njIkTyI6rPc00= Original-Received: by 10.223.104.145 with SMTP id p17mr4174107fao.105.1297672021665; Mon, 14 Feb 2011 00:27:01 -0800 (PST) Original-Received: from localhost (au213-1-82-235-205-153.fbx.proxad.net [82.235.205.153]) by mx.google.com with ESMTPS id f24sm904631fak.0.2011.02.14.00.26.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 00:27:00 -0800 (PST) Mail-Followup-To: david.goldberg6@verizon.net (Dave Goldberg), ding@gnus.org In-Reply-To: <84oc6fwlay.fsf@davestoy.home> (Dave Goldberg's message of "Sun, 13 Feb 2011 18:45:41 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76690 Archived-At: david.goldberg6@verizon.net (Dave Goldberg) writes: >> Lars Ingebrigtsen writes: >>> Francis Moreau writes: >>> >>>> Is there an easy way for doing that ? >>> >>> Sure. See the Window Layout section in the manual. > >> Well, I was expecting this answer but I did try to understand what's >> written in this section but failed. At least to achieve what I'm trying >> to do (replacing the article window by the composing one). > >> I can see how to configure a general layout but it won't replace the >> article window only in my setting. > >> Could you give me a hint how to do that ? > > Somewhere in your gnus-buffer-configuration you should have a member > like this (mine is customized, so yours, presumably the default, won't > look quite the same): > > ((article > (horizontal 1.0 > (vertical 84 > (summary 0.25 point) > (article 1.0)) > (vertical 1.0 > (group 1.0))))) > > What you want to do is add similar members for at least message, and > possibly 'reply, forward and others that might be used for message > generation (there's a bunch, but many aren't used so often that > perhaps it's not worth worrying about them) with the same structure > with 'message where you see 'article. Ok but I don't think I can achieve what I want with this. What I want is to _reuse_ the article buffer when composing emails whatever the current window layout. For example, let say I have this current setting: +---------+---------+ | Summary | | +---------+ | | | ERC | | Article | | | | | +---------+---------+ When composing a new email, I want it to become: +---------+---------+ | Summary | | +---------+ | | | ERC | | Compose | | | | | +---------+---------+ And with my setting, I get this +-------------------+ | Summary | +-------------------+ | | | Compose | | | +-------------------+ My current setting is: (gnus-add-configuration '(article (vertical 1.0 (summary 0.25 point) (article 1.0)))) (gnus-add-configuration '(message (vertical 1.0 (summary 0.25) (message 1.0 point)))) (setq gnus-use-full-window nil) In general, I find Gnus always using the full window for server, compose... buffers which I find annoying. Thanks -- Francis