* Mail source type `file' should support keyword ":program"
@ 2003-02-20 12:36 Christoph Conrad
2003-02-20 17:29 ` Kai Großjohann
0 siblings, 1 reply; 9+ messages in thread
From: Christoph Conrad @ 2003-02-20 12:36 UTC (permalink / raw)
Hi,
i am wondering why with mail source type `file' the keyword ":program"
isn't possible.
My configuration is:
(setq mail-sources '((file :path "/var/spool/mail/cc" )))
and i would like to add a ":program" command that fetches my mail via
fetchmail before accessing the spoolfile.
Beste Grüße,
cu, -cc-
--
Computers are useless. They can only give you answers.
Pablo Picasso
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mail source type `file' should support keyword ":program"
2003-02-20 12:36 Mail source type `file' should support keyword ":program" Christoph Conrad
@ 2003-02-20 17:29 ` Kai Großjohann
2003-02-20 20:42 ` Christoph Conrad
0 siblings, 1 reply; 9+ messages in thread
From: Kai Großjohann @ 2003-02-20 17:29 UTC (permalink / raw)
Christoph Conrad <christoph.conrad@gmx.de> writes:
> i am wondering why with mail source type `file' the keyword ":program"
> isn't possible.
Is :prescript not enough?
--
A preposition is not a good thing to end a sentence with.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mail source type `file' should support keyword ":program"
2003-02-20 17:29 ` Kai Großjohann
@ 2003-02-20 20:42 ` Christoph Conrad
2003-02-20 21:50 ` Kai Großjohann
2003-02-22 22:14 ` Lars Magne Ingebrigtsen
0 siblings, 2 replies; 9+ messages in thread
From: Christoph Conrad @ 2003-02-20 20:42 UTC (permalink / raw)
Hi Kai,
> Is :prescript not enough?
Ohhhh... i overlooked that... thanx! The dokumentation is a little
bit clumsy describing that feature - :prescript is only mentioned
within the text in an example, not as separate keyword.
Beste Grüße,
cu, -cc-
--
Computers are useless. They can only give you answers.
Pablo Picasso
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mail source type `file' should support keyword ":program"
2003-02-20 20:42 ` Christoph Conrad
@ 2003-02-20 21:50 ` Kai Großjohann
2003-02-22 22:14 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 9+ messages in thread
From: Kai Großjohann @ 2003-02-20 21:50 UTC (permalink / raw)
Christoph Conrad <christoph.conrad@gmx.de> writes:
> Ohhhh... i overlooked that... thanx! The dokumentation is a little
> bit clumsy describing that feature - :prescript is only mentioned
> within the text in an example, not as separate keyword.
[X] send docfix.
--
A preposition is not a good thing to end a sentence with.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mail source type `file' should support keyword ":program"
2003-02-22 22:25 ` Lars Magne Ingebrigtsen
@ 2003-02-22 21:45 ` Christoph Conrad
2003-02-22 22:51 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 9+ messages in thread
From: Christoph Conrad @ 2003-02-22 21:45 UTC (permalink / raw)
Hi Lars,
> ---- @item :prescript A script to be run before fetching the
> [...]
Yes, but: that's explained with the mail source type 'pop', but not
within the section 'file'!
Beste Grüße,
cu, -cc-
--
Computers are useless. They can only give you answers.
Pablo Picasso
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mail source type `file' should support keyword ":program"
2003-02-20 20:42 ` Christoph Conrad
2003-02-20 21:50 ` Kai Großjohann
@ 2003-02-22 22:14 ` Lars Magne Ingebrigtsen
2003-02-22 22:21 ` Christoph Conrad
1 sibling, 1 reply; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-02-22 22:14 UTC (permalink / raw)
Christoph Conrad <christoph.conrad@gmx.de> writes:
> Ohhhh... i overlooked that... thanx! The dokumentation is a little
> bit clumsy describing that feature - :prescript is only mentioned
> within the text in an example, not as separate keyword.
It looks like it's documented on the "Mail Source Specifiers" node.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mail source type `file' should support keyword ":program"
2003-02-22 22:14 ` Lars Magne Ingebrigtsen
@ 2003-02-22 22:21 ` Christoph Conrad
2003-02-22 22:25 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 9+ messages in thread
From: Christoph Conrad @ 2003-02-22 22:21 UTC (permalink / raw)
Hi Lars,
> It looks like it's documented on the "Mail Source Specifiers"
> node.
It's mentioned in an example:
,----
| If it's impossible to set up a proper server, you can use ssh
| instead.
|
| (setq mail-sources
| '((file :prescript "ssh host bin/getmail >%t")))
`----
IMHO it should be mentioned as separate keyword.
Beste Grüße,
cu, -cc-
--
Computers are useless. They can only give you answers.
Pablo Picasso
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mail source type `file' should support keyword ":program"
2003-02-22 22:21 ` Christoph Conrad
@ 2003-02-22 22:25 ` Lars Magne Ingebrigtsen
2003-02-22 21:45 ` Christoph Conrad
0 siblings, 1 reply; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-02-22 22:25 UTC (permalink / raw)
Christoph Conrad <christoph.conrad@gmx.de> writes:
> IMHO it should be mentioned as separate keyword.
This is from gnus.texi:
----
@item :prescript
A script to be run before fetching the mail. The syntax is the same as
the @code{:program} keyword. This can also be a function to be run.
@item :postscript
A script to be run after fetching the mail. The syntax is the same as
the @code{:program} keyword. This can also be a function to be run.
----
I'm just looking at the source code; that page is long and
complicated. Perhaps it needs to be in more of the specifier
tables -- which table were you expecting to find it in?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mail source type `file' should support keyword ":program"
2003-02-22 21:45 ` Christoph Conrad
@ 2003-02-22 22:51 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-02-22 22:51 UTC (permalink / raw)
Christoph Conrad <christoph.conrad@gmx.de> writes:
> Yes, but: that's explained with the mail source type 'pop', but not
> within the section 'file'!
Ok; I've now added it to the "file" section as well.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-02-22 22:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 12:36 Mail source type `file' should support keyword ":program" Christoph Conrad
2003-02-20 17:29 ` Kai Großjohann
2003-02-20 20:42 ` Christoph Conrad
2003-02-20 21:50 ` Kai Großjohann
2003-02-22 22:14 ` Lars Magne Ingebrigtsen
2003-02-22 22:21 ` Christoph Conrad
2003-02-22 22:25 ` Lars Magne Ingebrigtsen
2003-02-22 21:45 ` Christoph Conrad
2003-02-22 22:51 ` Lars Magne Ingebrigtsen
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).