From: Ronald Fischer <rovf@feriasonline.pt.invalid>
Subject: Re: Gnus can not connect to server
Date: 01 Aug 2002 08:36:27 +0200 [thread overview]
Message-ID: <m2bs8nhyqc.fsf@karfiol.glp.de> (raw)
In-Reply-To: <m2u1mg4aug.fsf@karfiol.glp.de>
Ronald Fischer <rovf@feriasonline.pt.invalid> writes:
> For example, how could I create the server buffer automatically
> when gnus starts?
>
> (defun (conf-gnus) "gnus with server buffer"
> ; ???? what to put here????)
>
> (add-hook 'gnus-started-hook 'conf-gnus)
Sorry, I should have taken more care about correct syntax here. Well,
let's rephrase:
So far, I came to the solution to put into .gnus a function
(defun mk-gnus-server-buffer () "Add *Server* buffer to gnus"
(interactive)
(save-excursion
(gnus-group-enter-server-mode))
)
The idea is that this function could create a server-buffer if
automatically. I could then put it into gnus-started-hook to have the
server buffer created.
Interestingly, the save-excursion does not work as expected. From the
documentation, I concluded that it should save the current buffer, and
restore it in the end; but when mk-gnus-server-buffer is executed,
Gnus switches to the server buffer and stays there, and I have to
switch back manually.
Ronald
--
To reduce spam in my inbox, the address given in the Reply-To: header is
not guaranteed to live longer than 1 month after the article was
posted. My permanent address is (after deleting the XXX):
Ronald Otto Valentin Fischer <rovfXXX@operamail.com>
prev parent reply other threads:[~2002-08-01 6:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m2bs9g9cns.fsf@karfiol.glp.de>
2002-07-16 18:22 ` Paul Jarc
[not found] ` <219750c.0207250320.4b5232d5@posting.google.com>
2002-07-25 15:50 ` Paul Jarc
[not found] ` <219750c.0207252238.1566045d@posting.google.com>
[not found] ` <vafit32n2x9.fsf@lucy.cs.uni-dortmund.de>
2002-07-27 14:18 ` Ronald Fischer
[not found] ` <vafvg715j15.fsf@lucy.cs.uni-dortmund.de>
2002-07-31 7:26 ` Ronald Fischer
2002-08-01 6:36 ` Ronald Fischer [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=m2bs8nhyqc.fsf@karfiol.glp.de \
--to=rovf@feriasonline.pt.invalid \
--cc=rovf@feriasonline.pt \
/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).