From: Michael Heerdegen <michael_heerdegen@web.de>
To: info-gnus-english@gnu.org
Subject: Multi frame setup: get frame autodeletion?
Date: Sat, 19 Nov 2022 03:47:44 +0100 [thread overview]
Message-ID: <87leo7irsf.fsf@web.de> (raw)
Hello,
I'm experimenting with multi frame setups for Gnus. I want that
replying or mail composition is done in a fresh separate frame. My
setup below works as expected - but after sending the message the frame
stays and its only window displays a different buffer. I have do delete
the frame manually. Is there a reasonable Gnus-specific way to get rid
of such frames automatically (i.e. after sending)?
This is my current setup:
#+begin_src emacs-lisp
(defvar my-gnus-article-wconf
'(if (> (frame-width) 95)
'(vertical 1.0
(horizontal 1.0
(vertical 28 (tree 1.0))
(article 1.0))
(summary 10 point)
(when (> (frame-height) 50)
'("*BBDB*" 4)))
'(vertical 1.0
(article 1.0)
(summary 8 point))))
(gnus-add-configuration `(article ,my-gnus-article-wconf))
(dolist (buf '(message post reply forward reply-yank))
(gnus-add-configuration
`(,buf (frame 1.0
,my-gnus-article-wconf
;; would be cool if one could somehow get the frame auto-deleted once
;; the message had been sent...
(vertical 1.0 (message 1.0 point frame-focus))))))
#+end_src
TIA,
Michael.
next reply other threads:[~2022-11-19 2:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-19 2:47 Michael Heerdegen [this message]
2022-11-19 12:02 ` Björn Bidar
2022-11-20 5:34 ` Michael Heerdegen
2022-11-20 12:57 ` Björn Bidar
2022-11-19 13:13 ` Eric S Fraga
2022-11-20 5:32 ` Michael Heerdegen
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=87leo7irsf.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=info-gnus-english@gnu.org \
/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).