Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Re: where to add code to make it possible to "encode" the mail folder
Date: 22 Mar 2000 21:30:14 +0100	[thread overview]
Message-ID: <vaf1z52hhnt.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Jonas Steverud's message of "22 Mar 2000 19:12:25 +0100"

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> When I thought later of it after I mailed my suggestion I thought one
> should be able to configure this on server basis.
> I.e. gnus-secondary-select-methods.

You can make a backend (server) parameter of it, then you can frob it
on a per-server basis.

> Depending on the exakt usage of mail-sources maybe it still should be
> possible to use it - but I know too little of the inner working of
> Gnus to be able to make any decisions now.

Hm.

> > From your wording,
> > you want to support encryption and compression when storing messages.
> 
> I also want to be able to have the infolder encrypted/compressed.

What is the `infolder'?  /var/spool/mail/jrl?  Note that this file is
written to by some other program, not Gnus.  Therefore, changing Gnus
does not change what's in the file.

But mail-sources would be the right place to change things if you want
to be able to read from an encrypted/compressed /var/spool/mail/jrl
file. 

> > I think you want to have a look at the various backends nnfolder, nnml
> > and so on.
> 
> I thought so too but is there any documentation of how they work,
> i.e. which function that get called by which function, or can
> someone supply me with such a thing? Or do I have to revert to
> reverse engineering?

Well, you might wish to search the Gnus info file for `nnchoke'.  You
will then find a programmer's manual showing you all the API functions
that a backend must support as well as the optional functions.  It
will also show you how to write a backend.

As to how the individual backends work, I'm afraid there is not much
documentation.  I hope you will be able to figure it out yourself.

One other pointer is nnoo.el which allows you to derive backends from
other backends in an object oriented fashion (inheritance).  It works
kinda strangely for someone who is used to OOP, but after a while you
get used to it.

kai
-- 
OOA: object oriented analysis.  OOD: object oriented design.
OOP: object oriented programming.  OOPS: object oriented errors.



      parent reply	other threads:[~2000-03-22 20:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <wtnaejrpbxq.fsf@bayta.dtek.chalmers.se>
2000-03-22 12:46 ` Kai Großjohann
     [not found]   ` <wtnityeub5i.fsf@licia.dtek.chalmers.se>
2000-03-22 20:30     ` Kai Großjohann [this message]

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=vaf1z52hhnt.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.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.
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).