Gnus development mailing list
 help / color / mirror / Atom feed
From: Jack Vinson <jvinson@chevax.ecs.umass.edu>
Subject: Re: gnus-configure-buffer
Date: 08 Jan 1999 15:02:14 -0600	[thread overview]
Message-ID: <wk7luxh415.fsf@chevax.ecs.umass.edu> (raw)
In-Reply-To: Anders Melchiorsen's message of "Thu, 07 Jan 1999 01:14:02 +0100"

>>>>> "AM" == Anders Melchiorsen <and@kampsax.dtu.dk> writes:

AM> I have tried and tried. I am unable to understand the manual on
AM> Windows Configuration, though. I can get it to change looks somewhat
AM> but I cannot make I do what I want it to do.
[snip]
AM> How would I do it? Should I instead set some hooks up to make-frame
AM> and delete-frame when I enter/leave message-mode? How would I do that, 
AM> then?

I was just playing with this a little.  message-send-and-exit calls the
list of actions in message-exit-actions.  If you add 'delete-frame to this
list of actions, message will delete the *message* frame after sending off
the message.  (There are several similar lists of message-.*-actions.  Gnus
uses these to return to the correct buffer configuration after the message
is sent.)

One could imagine adding delete-frame to the message-exit-actions in a
buffer-local fashion when opening this "temporary" message frame that
Anders suggests.  I don't know how one does this with
gnus-buffer-configuration.

With frame splits, the ideal situation would be to let one of the splits
actually be a window configuration object.  Then I could do something cool
like 
(gnus-add-configuration '(message 
			  (frame 1.0
				 (current-window-configuration)
				 (vertical ((height . 25) (width . 80)
					    (user-position . t)
					    (left . -1) (top . 1))
					   (message 1.0 point))
				 )))

-- 
Jack Vinson <jvinson@chevax.ecs.umass.edu>    http://www.cis.upenn.edu/~vinson/
Zippy: Ask me the DIFFERENCE between PHIL SILVERS and ALEXANDER HAIG!!



      parent reply	other threads:[~1999-01-08 21:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-07  0:14 gnus-configure-buffer Anders Melchiorsen
1999-01-07  1:43 ` gnus-configure-buffer Hrvoje Niksic
1999-01-07 17:05   ` gnus-configure-buffer David S. Goldberg
1999-01-08 15:23     ` gnus-configure-buffer Hrvoje Niksic
1999-01-12  7:00       ` gnus-configure-buffer Lars Magne Ingebrigtsen
1999-01-12 18:19       ` gnus-configure-buffer David S. Goldberg
1999-01-08 21:02 ` Jack Vinson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wk7luxh415.fsf@chevax.ecs.umass.edu \
    --to=jvinson@chevax.ecs.umass.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).