Gnus development mailing list
 help / color / mirror / Atom feed
* Multiple frame problem
@ 2000-04-26 19:54 Reid Rivenburgh
  2000-04-26 20:47 ` Kai Großjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Reid Rivenburgh @ 2000-04-26 19:54 UTC (permalink / raw)


[posted to gnu.emacs.gnus, but maybe better asked here]

Hi,

[Before I forget: Gnus 5.8.5 and XEmacs 21.1.9]

I currently use a setup that pops up a new frame for composing mail
and posts, leaving my original frame for normal reading.  The
composition frame is created once, raised when needed, and
automatically lowered after sending using the following hook:

   (add-hook 'message-sent-hook (lambda () (bury-buffer (get-buffer "*Group*"))) (lower-frame)))

You'll notice I'm also burying the *Group* buffer.  That's where my
question comes in.  The composition frame seems to revert back to that
buffer and sometimes others after sending.  That's annoying, because
my main frame then won't display it, since it's visible in the
composition frame.  My burying it is an attempt to get it to stop
doing that.  I also tried this:

   (add-hook 'message-sent-hook (lambda () (switch-to-buffer "*scratch*")) (lower-frame)))

But that doesn't work; that switch-to-buffer seems to happen before
the internal buffer switch.  There doesn't appear to be a later hook I
could use.  Does anyone have any suggestions for how to handle this?
I'm an elisp novice, and I've done some poking around, but nothing
I've found works very well.

Thanks,
reid



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-05-05 17:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-26 19:54 Multiple frame problem Reid Rivenburgh
2000-04-26 20:47 ` Kai Großjohann
2000-04-26 21:00   ` Reid Rivenburgh
2000-05-01 19:49     ` David S. Goldberg
2000-05-04 20:38       ` Reid Rivenburgh
2000-05-05 17:07         ` David S. Goldberg

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).