From: Pascal Bourguignon <spam@thalassa.informatimago.com>
Subject: Re: modifying movemail
Date: 20 Jun 2004 00:10:37 +0200 [thread overview]
Message-ID: <87wu236vxe.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: m3hdt7gqni.fsf@uboot.com
Florian von Savigny <florian265@uboot.com> writes:
> Thanks for this quick and simple poor man's file-locking mechanism,
> Pascal, which I find quite charming (and couldn't have thought of) and
> hadn't hoped for at all.
>
> I fear, however, that the following is a bit less than what movemail
> is expected to do:
>
> > mv "$1" "$2"
>
> as it does not overwrite the target Rmail file, but append to it while
> emptying the spool file. So I suppose s.th like
>
> cat "$1" >> "$2"
> echo "" > "$1"
>
> should do it. But movemail also converts Unix mbox format to Babyl
> format on the fly (or have they switched to mbox as internal Rmail
> format in the meantime? I read they were planning it.). How to achieve
> that?
>
> [BTW, I seem to have been less than clear about one thing: the movemail
> I need to modify is the one to run under Linux, not the one that runs
> under Windows. That has to deal with FAT32 anyway, thus should be able
> to do the trick (though I haven't yet tested it--brrr...). But this
> does not interfere with the usefulness of your solution.]
>
>
> So thanks a lot - but is anybody able to help with the conversion (or
> supply a pointer to the right information)?
In emacs: C-h i m emacs RET m rmail RET m movemail RET
--
__Pascal Bourguignon__ http://www.informatimago.com/
There is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him. -- Robert Heinlein
next prev parent reply other threads:[~2004-06-19 22:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-19 10:27 modifying movemail Florian von Savigny
2004-06-19 17:39 ` Pascal Bourguignon
2004-06-19 21:54 ` Florian von Savigny
2004-06-19 22:10 ` Pascal Bourguignon [this message]
2004-06-19 22:45 ` Florian von Savigny
2004-06-20 5:32 ` Pascal Bourguignon
2004-06-19 22:28 ` Florian von Savigny
2004-06-20 5:42 ` Pascal Bourguignon
2004-06-20 10:13 ` Florian von Savigny
2004-06-20 10:46 ` poor man's movemail Florian von Savigny
2004-06-21 13:26 ` modifying movemail Thien-Thi Nguyen
2004-07-01 10:17 ` Kai Grossjohann
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=87wu236vxe.fsf@thalassa.informatimago.com \
--to=spam@thalassa.informatimago.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.