unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Qs about RMAIL
@ 2004-04-24 15:26 kj
  2004-04-24 16:15 ` Barry Margolin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: kj @ 2004-04-24 15:26 UTC (permalink / raw)



Hi!

1. I tried setting the variable rmail-primary-inbox-list using

   M-x set-variable[RET]
   rmail-primary-inbox-list[RET]
   /home/jones/mail/test[RET]

   ...but I got the error

   set-variable: Value `/home/jones/mail/test' does not match type
   choice of rmail-primary-inbox-list

   What's the correct way to enter a list of inboxes?

2. Is there a way to tell rmail to fetch mail "just this once" from an
   inbox that is not among the ones that it normally gets mail from?
   (By "just this once" I mean "without having to first set
   rmail-primary-inbox-list and then reset it back to its original
   value")

3. What's the simplest way to convert a file from the usual Unix mail
   format to BABYL?  (Actually I'm interested in ways to do this from
   within Emacs, as well as from the Unix command line)

4. Does anybody know of a procmail recipe to save mail to a file in
   BABYL format?

Thanks!

kj
-- 
NOTE: In my address everything before the period is backwards.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Qs about RMAIL
  2004-04-24 15:26 Qs about RMAIL kj
@ 2004-04-24 16:15 ` Barry Margolin
  2004-04-24 17:05 ` Eli Zaretskii
  2004-04-24 17:29 ` Eli Zaretskii
  2 siblings, 0 replies; 4+ messages in thread
From: Barry Margolin @ 2004-04-24 16:15 UTC (permalink / raw)


In article <c6e103$5ru$1@reader2.panix.com>, kj <socyl@987jk.com> 
wrote:

> Hi!
> 
> 1. I tried setting the variable rmail-primary-inbox-list using
> 
>    M-x set-variable[RET]
>    rmail-primary-inbox-list[RET]
>    /home/jones/mail/test[RET]
> 
>    ...but I got the error
> 
>    set-variable: Value `/home/jones/mail/test' does not match type
>    choice of rmail-primary-inbox-list
> 
>    What's the correct way to enter a list of inboxes?

Lists are enclosed in parentheses.  And the elements of this list are 
supposed to be strings, which are enclosed in doublequotes.  So you 
should type:

("/home/jones/mail/test")

> 
> 2. Is there a way to tell rmail to fetch mail "just this once" from an
>    inbox that is not among the ones that it normally gets mail from?
>    (By "just this once" I mean "without having to first set
>    rmail-primary-inbox-list and then reset it back to its original
>    value")

Give a numeric prefix argument to the "g" command, and it will prompt 
for a file to read from.

> 3. What's the simplest way to convert a file from the usual Unix mail
>    format to BABYL?  (Actually I'm interested in ways to do this from
>    within Emacs, as well as from the Unix command line)

Read the file as an inbox into an RMAIL buffer, and then save the buffer.

> 4. Does anybody know of a procmail recipe to save mail to a file in
>    BABYL format?

I don't.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Qs about RMAIL
  2004-04-24 15:26 Qs about RMAIL kj
  2004-04-24 16:15 ` Barry Margolin
@ 2004-04-24 17:05 ` Eli Zaretskii
  2004-04-24 17:29 ` Eli Zaretskii
  2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2004-04-24 17:05 UTC (permalink / raw)


> From: kj <socyl@987jk.com>
> Newsgroups: gnu.emacs.help
> Date: Sat, 24 Apr 2004 15:26:59 +0000 (UTC)
> 
>    M-x set-variable[RET]
>    rmail-primary-inbox-list[RET]
>    /home/jones/mail/test[RET]
> 
>    ...but I got the error
> 
>    set-variable: Value `/home/jones/mail/test' does not match type
>    choice of rmail-primary-inbox-list
> 
>    What's the correct way to enter a list of inboxes?

The value of rmail-primary-inbox-list should be a list of strings, so
you should have typed something like

  ("/home/jones/mail/test")[RET]

at the prompt.

> 3. What's the simplest way to convert a file from the usual Unix mail
>    format to BABYL?

The `g' command in RMAIL should do that for you.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Qs about RMAIL
  2004-04-24 15:26 Qs about RMAIL kj
  2004-04-24 16:15 ` Barry Margolin
  2004-04-24 17:05 ` Eli Zaretskii
@ 2004-04-24 17:29 ` Eli Zaretskii
  2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2004-04-24 17:29 UTC (permalink / raw)


> From: kj <socyl@987jk.com>
> Newsgroups: gnu.emacs.help
> Date: Sat, 24 Apr 2004 15:26:59 +0000 (UTC)

Testing

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-24 17:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-24 15:26 Qs about RMAIL kj
2004-04-24 16:15 ` Barry Margolin
2004-04-24 17:05 ` Eli Zaretskii
2004-04-24 17:29 ` Eli Zaretskii

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 read-only IMAP folder(s) and NNTP newsgroup(s).