From: Reid Rivenburgh <reid@lanl.gov>
Subject: Re: Multiple frame problem
Date: 26 Apr 2000 15:00:01 -0600 [thread overview]
Message-ID: <vethfcofui6.fsf@toespaz.c3.lanl.gov> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Wed, 26 Apr 2000 22:47:48 +0200"
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1864 bytes --]
Kai Großjohann writes:
> Reid Rivenburgh <reid@lanl.gov> writes:
>> I currently use a setup that pops up a new frame for composing
>> mail and posts, leaving my original frame for normal reading.
> It ought to be possible using the normal method of configuring
> frames and windows and buffers in Gnus. Alas, I'm not an expert --
> I just use the default and I'm happy.
> But I'm sure if you post what configuration you currently use, some
> buffer configuration guru will be able to tell you how to frob it
> to get what you want.
Thanks, Kai. I wasn't sure how much info to include in my previous
message. I had asked before how to go about getting the separate
frame for compositions, and I believe David Goldberg was kind enough
to post something from his .gnus.el. Here's what I'm using:
(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 width 80 top 0 left 0 name "Gnus Edit")
(message 1.0 point)))))
The same for reply-yank, reply, and forward. And as I mentioned in my
previous message, I'm using some hooks to raise and lower the
composition frame as appropriate:
(add-hook 'message-sent-hook (lambda () (bury-buffer (get-buffer
"*Group*"))) (lower-frame)))
(add-hook 'message-setup-hook (lambda () (raise-frame (next-frame))))
It feels like a mighty big kludge, but it mostly works. (Sometimes
something in the message-sent-hook outright kills XEmacs, but I
haven't yet diagnosed that one, annoying as it is.) I'd just like it
to not try to switch to the main gnus buffers (*Group*, *Summary*,
etc.) in the composition frame after sending the message.
Thanks,
Reid
next prev parent reply other threads:[~2000-04-26 21:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-26 19:54 Reid Rivenburgh
2000-04-26 20:47 ` Kai Großjohann
2000-04-26 21:00 ` Reid Rivenburgh [this message]
2000-05-01 19:49 ` David S. Goldberg
2000-05-04 20:38 ` Reid Rivenburgh
2000-05-05 17:07 ` David S. Goldberg
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=vethfcofui6.fsf@toespaz.c3.lanl.gov \
--to=reid@lanl.gov \
/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).