unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Cc: michael.albinus@gmx.de, Emacs Development <emacs-devel@gnu.org>
Subject: imap-hash.el (for inclusion in Emacs) and tramp-imap.el
Date: Wed, 23 Sep 2009 16:12:23 -0500	[thread overview]
Message-ID: <87r5txpdqg.fsf_-_@lifelogs.com> (raw)
In-Reply-To: <87eiq0t7vo.fsf_-_@lifelogs.com> (Ted Zlatanov's message of "Mon,  21 Sep 2009 14:28:27 -0500")

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

I wrote this to the Tramp and Gnus mailing lists:

"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."

I would like to put imap-hash.el in lisp/net/imap-hash.el if possible,
to support Gnus and Tramp from one location.  Is that OK?  It would make
my life easier and others can use the library if they wish.  See attached.

Thanks
Ted


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

       reply	other threads:[~2009-09-23 21:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <86k5n1443g.fsf@lifelogs.com>
     [not found] ` <umyamja5j.fsf@gmail.com>
     [not found]   ` <86k55otuwi.fsf@lifelogs.com>
     [not found]     ` <nq3acb4oaf.fsf@alcatel-lucent.de>
     [not found]       ` <86vdp7qk67.fsf@lifelogs.com>
     [not found]         ` <87bpqx1vfv.fsf@gmx.de>
     [not found]           ` <86k55cb4ye.fsf@jumptrading.com>
     [not found]             ` <86skjz5a8v.fsf@lifelogs.com>
     [not found]               ` <877i184pcp.fsf@gmx.de>
     [not found]                 ` <873a942pdy.fsf@lifelogs.com>
     [not found]                   ` <87bpnlskov.fsf_-_@lifelogs.com>
     [not found]                     ` <87prby6ya0.fsf@gmx.de>
     [not found]                       ` <878wgrjsto.fsf@lifelogs.com>
     [not found]                         ` <nqzl95ftdp.fsf@alcatel-lucent.de>
     [not found]                           ` <87eiq0t7vo.fsf_-_@lifelogs.com>
2009-09-23 21:12                             ` Ted Zlatanov [this message]
2009-09-25 20:21                               ` imap-hash.el (for inclusion in Emacs) and tramp-imap.el Ted Zlatanov
2009-09-26  5:15                                 ` tomas
2009-09-27 16:01                                   ` Ted Zlatanov
2009-09-28  9:38                                     ` tomas

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5txpdqg.fsf_-_@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).