Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Cc: tramp-devel@mail.freesoftware.fsf.org
Subject: imap-hash.el and tramp-imap.el
Date: Mon, 21 Sep 2009 14:28:27 -0500	[thread overview]
Message-ID: <87eiq0t7vo.fsf_-_@lifelogs.com> (raw)
In-Reply-To: <nqzl95ftdp.fsf@alcatel-lucent.de>

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

Attached are imap-hash.el and tramp-imap.el, I worked on them this
weekend.

imap-hash.el lets you treat an IMAP mailbox as a hash.  It lets you get
individual keys' headers and body data (keys are message UIDs) or map a
function across *all the messages in the mailbox*.  The function is only
called for those that match a given subject, but really I should be
using SEARCH.  So the library is not optimized for speed.  Also, it does
not handle invalid mailbox names gracefully yet.  Consider it an alpha
version.

I plan to eventually use imap-hash.el to store distributed Gnus data,
specifically the Gnus registry, the newsrc file, scoring files,
etc.

tramp-imap.el uses imap-hash.el to provide a Tramp interface to read and
write files as messages in an IMAP mailbox.  It's also an alpha version,
but it will at least let you (given a valid IMAP mailbox) read and write
directory contents.  It uses EPG (thanks to Daiki Ueno's help) to
encrypt the file contents when they are stored as messages.

Ted


[-- Attachment #2: tramp-imap.el --]
[-- Type: application/emacs-lisp, Size: 25494 bytes --]

[-- Attachment #3: imap-hash.el --]
[-- Type: application/emacs-lisp, Size: 14078 bytes --]

  parent reply	other threads:[~2009-09-21 19:28 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-26 20:02 file storage in IMAP (eventually for Tramp) working and needs testing Ted Zlatanov
2007-12-29 22:34 ` David
2007-12-30 20:35   ` Ted Zlatanov
2007-12-31 10:14     ` Michael Albinus
2007-12-31 12:30       ` Ted Zlatanov
2007-12-31 13:35         ` Michael Albinus
2007-12-31 14:52           ` Ted Zlatanov
2007-12-31 17:14             ` Michael Albinus
2007-12-31 17:45               ` Ted Zlatanov
2007-12-31 21:32                 ` Michael Albinus
2008-01-02 20:43                   ` Ted Zlatanov
2008-01-02 21:40                     ` Reiner Steib
2008-01-02 22:15                       ` Ted Zlatanov
2008-01-02 23:50                     ` Michael Albinus
2008-01-03 11:32                       ` Reiner Steib
2008-01-03 12:43                         ` Ted Zlatanov
2008-01-03 12:56                           ` Michael Albinus
2008-01-03 13:21                       ` Ted Zlatanov
2008-01-03 13:27                         ` Ted Zlatanov
2008-01-03 17:31                         ` James Cloos
2008-01-03 17:42                           ` Ted Zlatanov
2008-01-04 11:00                         ` Michael Albinus
2007-12-31 17:09     ` David
2009-04-12 13:04 ` Magnus Henoch
2009-04-13 15:50   ` Ted Zlatanov
2009-04-14  8:44     ` Michael Albinus
2009-04-14 16:22       ` Ted Zlatanov
2009-04-15 21:03         ` Michael Albinus
2009-04-23  0:15           ` Ted Zlatanov
2009-04-23  2:45             ` Daiki Ueno
2009-04-23 12:51               ` Ted Zlatanov
2009-04-23 13:09                 ` Daiki Ueno
2009-04-23 13:44                   ` Ted Zlatanov
2009-04-23 13:48                     ` Daiki Ueno
2009-04-23 14:19                       ` Ted Zlatanov
2009-04-23 14:28                       ` Daiki Ueno
2009-04-23 15:16                         ` Ted Zlatanov
2009-04-24  0:37                           ` Daiki Ueno
2009-04-23 21:30             ` Ted Zlatanov
2009-04-25 17:25               ` Michael Albinus
2009-07-10 21:34                 ` Ted Zlatanov
2009-07-15 21:25                   ` Tramp-IMAP works " Ted Zlatanov
2009-07-16  6:42                     ` Michael Albinus
2009-07-18 11:11                     ` Michael Albinus
2009-09-07  4:13                       ` Ted Zlatanov
2009-09-08 13:33                         ` Michael Albinus
2009-09-09 16:13                           ` Ted Zlatanov
2009-09-10  7:18                             ` Michael Albinus
2009-09-21 19:28                           ` Ted Zlatanov [this message]
2009-09-22 14:52                             ` imap-hash.el and tramp-imap.el Michael Albinus
2009-09-23 21:07                               ` Ted Zlatanov
2009-09-24 10:38                                 ` Michael Albinus
2009-09-25 20:48                                   ` Ted Zlatanov
2009-09-27 15:57                                     ` Ted Zlatanov
2009-09-27 19:24                                       ` Michael Albinus
2009-09-28 12:03                                         ` Michael Albinus
2009-09-24  6:44                             ` Reiner Steib
2009-09-25 20:49                               ` Ted Zlatanov

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=87eiq0t7vo.fsf_-_@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=tramp-devel@mail.freesoftware.fsf.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.
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).