[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trigger a 'slrnpull --post-only' event when posting article
From: |
Reiner Steib |
Subject: |
Re: trigger a 'slrnpull --post-only' event when posting article |
Date: |
Wed, 26 Jul 2006 10:36:30 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
On Wed, Jul 26 2006, Joseph Le-Phan wrote:
> As my local news spool is fetched via slrnpull, is it possible to
> trigger a 'slrnpull --post-only' event when posting an article
100% untested...
(defun my-slrnpull-post-only (&optional dont-check)
(interactive)
(when (or dont-check
(message-news-p))
(gnus-message 5 "Posting news...")
(shell-command "slrnpull --post-only.")))
(add-hook 'message-sent-hook 'my-slrnpull-post-only)
> Also, if all my groups have 0 unread messages, by default, i don't get a
> listing of the groups (only the topics are visible.) Is it possible to
> configure gnus to somehow show all groups (despite their being 0 unread
> messages) when gnus is launched?
,----[ (info "(gnus)Group Parameters") ]
| `visible'
| If the group parameter list has the element `(visible . t)', that
| group will always be visible in the Group buffer, regardless of
| whether it has any unread articles.
|
| This parameter cannot be set via `gnus-parameters'. See
| `gnus-permanently-visible-groups' as an alternative.
`----
,----[ (info "(gnus)Misc Group Stuff") ]
| `gnus-permanently-visible-groups'
| Groups matching this regexp will always be listed in the group
| buffer, whether they are empty or not.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/