unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* imap-hash.el (for inclusion in Emacs) and tramp-imap.el
       [not found]                           ` <87eiq0t7vo.fsf_-_@lifelogs.com>
@ 2009-09-23 21:12                             ` Ted Zlatanov
  2009-09-25 20:21                               ` Ted Zlatanov
  0 siblings, 1 reply; 5+ messages in thread
From: Ted Zlatanov @ 2009-09-23 21:12 UTC (permalink / raw)
  Cc: michael.albinus, Emacs Development

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: imap-hash.el (for inclusion in Emacs) and tramp-imap.el
  2009-09-23 21:12                             ` imap-hash.el (for inclusion in Emacs) and tramp-imap.el Ted Zlatanov
@ 2009-09-25 20:21                               ` Ted Zlatanov
  2009-09-26  5:15                                 ` tomas
  0 siblings, 1 reply; 5+ messages in thread
From: Ted Zlatanov @ 2009-09-25 20:21 UTC (permalink / raw)
  To: emacs-devel

On Wed, 23 Sep 2009 16:12:23 -0500 Ted Zlatanov <tzz@lifelogs.com> wrote: 

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

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

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

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

I'll commit this over the weekend if there's no dissent.

Thanks
Ted





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: imap-hash.el (for inclusion in Emacs) and tramp-imap.el
  2009-09-25 20:21                               ` Ted Zlatanov
@ 2009-09-26  5:15                                 ` tomas
  2009-09-27 16:01                                   ` Ted Zlatanov
  0 siblings, 1 reply; 5+ messages in thread
From: tomas @ 2009-09-26  5:15 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: emacs-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Sep 25, 2009 at 03:21:58PM -0500, Ted Zlatanov wrote:
> On Wed, 23 Sep 2009 16:12:23 -0500 Ted Zlatanov <tzz@lifelogs.com> wrote: 
> 
> TZ> I wrote this to the Tramp and Gnus mailing lists:
> TZ> "imap-hash.el lets you treat an IMAP mailbox as a hash [...]

> TZ> I plan to eventually use imap-hash.el to store distributed Gnus data,
[...]
> I'll commit this over the weekend if there's no dissent.


This is from the peanut gallery, but... consent!

Though I have no immediate use for it (yet!), it looks like a very good idea.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKvaN3Bcgs9XrR2kYRAs0YAJ4jxz9xsnyz+dkweaGfqxP6Hn894QCePmQE
bDpgKy5lDxdi3qStGJIjHTA=
=G12o
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: imap-hash.el (for inclusion in Emacs) and tramp-imap.el
  2009-09-26  5:15                                 ` tomas
@ 2009-09-27 16:01                                   ` Ted Zlatanov
  2009-09-28  9:38                                     ` tomas
  0 siblings, 1 reply; 5+ messages in thread
From: Ted Zlatanov @ 2009-09-27 16:01 UTC (permalink / raw)
  To: tomas; +Cc: emacs-devel

On Sat, 26 Sep 2009 07:15:35 +0200 tomas@tuxteam.de wrote: 

t> On Fri, Sep 25, 2009 at 03:21:58PM -0500, Ted Zlatanov wrote:
>> On Wed, 23 Sep 2009 16:12:23 -0500 Ted Zlatanov <tzz@lifelogs.com> wrote: 
>> 
TZ> I wrote this to the Tramp and Gnus mailing lists:
TZ> "imap-hash.el lets you treat an IMAP mailbox as a hash [...]

TZ> I plan to eventually use imap-hash.el to store distributed Gnus data,
t> [...]
>> I'll commit this over the weekend if there's no dissent.

t> This is from the peanut gallery, but... consent!

t> Though I have no immediate use for it (yet!), it looks like a very good idea.

It's in the Emacs CVS now, so try it out if you like.  Best example is
in tramp-imap.el which just got added to Tramp and will make its way to
the Emacs CVS shortly.

I hope I did the addition correctly: I updated Makefile.in, NEWS, and
added the file itself.  With a `make bootstrap' everything seemed to
work all right.  Please let me know if I screwed up somewhere.

Thanks
Ted




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: imap-hash.el (for inclusion in Emacs) and tramp-imap.el
  2009-09-27 16:01                                   ` Ted Zlatanov
@ 2009-09-28  9:38                                     ` tomas
  0 siblings, 0 replies; 5+ messages in thread
From: tomas @ 2009-09-28  9:38 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: emacs-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Sep 27, 2009 at 11:01:03AM -0500, Ted Zlatanov wrote:

[...]

> t> This is from the peanut gallery, but... consent!
> 
> t> Though I have no immediate use for it (yet!), it looks like a very good idea.
> 
> It's in the Emacs CVS now, so try it out if you like.  Best example is
> in tramp-imap.el which just got added to Tramp and will make its way to
> the Emacs CVS shortly.
> 
> I hope I did the addition correctly: I updated Makefile.in, NEWS, and
> added the file itself.  With a `make bootstrap' everything seemed to
> work all right.  Please let me know if I screwed up somewhere.

Not at home at the moment, with limited possibilities. I'll definitely
give it a whirl next weekend.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKwIQmBcgs9XrR2kYRAsr/AJ96iYeI7nXp4Iel0MolhwxKAwRSoACcDbhr
1FBiZiZAclB2BQe+e8jHc0M=
=iT8V
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-28  9:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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                             ` imap-hash.el (for inclusion in Emacs) and tramp-imap.el Ted Zlatanov
2009-09-25 20:21                               ` Ted Zlatanov
2009-09-26  5:15                                 ` tomas
2009-09-27 16:01                                   ` Ted Zlatanov
2009-09-28  9:38                                     ` tomas

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