nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

proposal docs/contrib/whatnow2.sh


From: Philipp Takacs
Subject: proposal docs/contrib/whatnow2.sh
Date: Sat, 26 Feb 2022 13:24:22 +0100

Hi

I have written a small whatnow replacement[0]. This might be intresting
for some of you. The main benefit from it, is that it works without be
a shell. You allways work from your own shell.

It is a drop in replacement for whatnow. So all you need to do is to
put this script in your path and set whatnowproc or -whatnowproc
appropriate. To work with the current draft just call "whatnow2 [...]".

There are some problems for nmh users and changes between this version
and the mmh version:

This works only with the drafts folder, because it was written without
draftfile in mind. Also it currently works only with one drafts folder.
I don't know how hard is it to change this.

There is no "mime" command, because mmh don't have one. It's easy to add
one.

This version stores the state in a seperate file next to the draft. The
suffix of this file can be configured by the Metafile-Extension option
and falls back to '.meta'. In the mmh version is it also posible to
store the state in the draft itself. Therefor some changes in mhl are
required.

There are some options which aren't necesary set on nmh. I have added
sane[1] fallbacks, if they are not set. The following options and
fallbacks are used:

* draftfolder: +drafts
* Attachment-Header: Nmh-Attachment
* listproc: show

I hope I haven't missed some problems. If you have problems with it let
me know.

Philipp

[0] I have written this for mmh and never tested it with nmh but it should
    just work in most cases

[1] I hope there are sane

Attachment: whatnow2.sh
Description: whatnow2.sh


reply via email to

[Prev in Thread] Current Thread [Next in Thread]