From: Jean Louis <bugs@gnu.support>
To: Antoine Kalmbach <ane@iki.fi>
Cc: csh@bluehome.net, Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Add Maildir support to RMAIL
Date: Mon, 26 Jul 2021 13:45:45 +0300 [thread overview]
Message-ID: <YP6SWR7Bj2qp8nXH@protected.localdomain> (raw)
In-Reply-To: <ly8s1tquzw.fsf@iki.fi>
* Antoine Kalmbach <ane@iki.fi> [2021-07-26 12:36]:
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Alternatively, don't GNU Mailutils support Maildir? If they do, you
> > could use their 'movemail' instead of the one that comes with Emacs.
> >
>
> This is how I use Rmail, by using Maildir and GNU Mailutils. Rmail
> supports Maildir just fine if one installs GNU Mailutils, it will
> automatically do this if you configure an inbox using 'maildir://...'
> and you have GNU Mailutils installed.
Maybe you think it will support mbox after conversion from Maildir.
Maildir has directory structure:
~/Maildir/my-folder-1/tmp
~/Maildir/my-folder-1/cur
~/Maildir/my-folder-1/new
~/Maildir/my-folder-2/tmp
~/Maildir/my-folder-2/cur
~/Maildir/my-folder-2/new
and I see no trace in RMAIL library to support that directory
structure.
This library supports maildir:
;; Author: Nic Ferrier <nferrier@ferrier.me.uk>
;; Url: http://github.com/nicferrier/emacs-maildir
What would mean "supporting Maildir"?
- detecting if directory is Maildir directory;
(defun cf-dir-is-maildir-p (dir)
"Verifies if the directory is maildir"
(let* ((main-dir-p (file-directory-p dir))
(new (concat dir "/new"))
(new-dir (file-directory-p new))
(tmp (concat dir "/tmp"))
(tmp-dir (file-directory-p tmp))
(cur (concat dir "/cur"))
(cur-dir (file-directory-p cur)))
(if (and main-dir-p new-dir tmp-dir cur-dir) t nil)))
- being able to generate file names according to Maildir
specifications, and store messages
- to delete messages, to copy messages from one Maildir to other, and
possibly to other formats; minor functions;
- to list messages in Maildir, provide threading if possible, this is
probably largest part; tabulated-list-mode would be good option for this;
- to compose (built-in) while making sure that message is stored into
Maildir, that could involve some adjustments to mail- and message- modes
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
next prev parent reply other threads:[~2021-07-26 10:45 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-25 12:02 Add Maildir support to RMAIL csh
2021-07-25 12:56 ` Eli Zaretskii
2021-07-25 13:08 ` Eli Zaretskii
2021-07-25 13:54 ` csh
2021-07-25 14:09 ` Eli Zaretskii
2021-07-25 14:18 ` csh
2021-07-25 14:26 ` Eli Zaretskii
2021-07-25 14:57 ` csh
2021-07-25 15:55 ` tomas
2021-07-25 15:58 ` tomas
2021-07-25 16:21 ` Eli Zaretskii
2021-07-26 1:26 ` Tim Cross
2021-07-26 6:08 ` Jean Louis
2021-07-26 13:03 ` Eli Zaretskii
2021-07-27 0:23 ` Richard Stallman
2021-07-26 5:23 ` Jean Louis
2021-07-26 9:34 ` Antoine Kalmbach
2021-07-26 10:45 ` Jean Louis [this message]
2021-07-26 10:59 ` Antoine Kalmbach
2021-07-26 13:36 ` Jean Louis
2021-07-26 21:56 ` csh
2021-07-27 6:37 ` Antoine Kalmbach
2021-07-28 1:00 ` Richard Stallman
2021-07-28 5:25 ` Yuri Khan
2021-07-25 13:50 ` csh
2021-07-26 8:35 ` Philip Kaludercic
2021-07-25 22:18 ` Eric Abrahamsen
2021-07-26 5:53 ` Paul Jarc
2021-07-26 15:42 ` Eric Abrahamsen
2021-07-26 5:19 ` Jean Louis
2021-07-26 5:29 ` Jean Louis
2021-07-26 8:35 ` Philip Kaludercic
[not found] <1627220913.7967@bluehome.net>
2021-07-25 14:06 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2021-07-27 22:02 csh
2021-07-28 7:13 ` Antoine Kalmbach
2021-07-28 21:31 ` csh
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=YP6SWR7Bj2qp8nXH@protected.localdomain \
--to=bugs@gnu.support \
--cc=ane@iki.fi \
--cc=csh@bluehome.net \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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.