Gnus development mailing list
 help / color / mirror / Atom feed
From: Sivaram Neelakantan <nsivaram.net@gmail.com>
To: ding@gnus.org
Subject: Re: nnimap ports and protocols
Date: Fri, 01 Oct 2010 23:48:54 +0530	[thread overview]
Message-ID: <8239spojxt.fsf@gmail.com> (raw)
In-Reply-To: <m3vd5lg9rt.fsf@quimbies.gnus.org>

On Fri, Oct 01 2010,Lars Magne Ingebrigtsen Lars Magne Ingebrigtsen wrote:


[snipped 23 lines]

> 3) this is saved in a new Gnus/Emacs file, called...  er...
> ~/emacs.d/emacs-memoize, which would have a format like
>
> (nnimap connection-method ("imaps" ssl))
>
> one per line, so that the user can edit it by hand, if necessary.  The
> meaning here would be DOMAIN (so that many different packages can use
> the same mechanism), TOKEN (that has some meaning in that domain), and
> the VALUE.
>
> 4) nnimap would call this with the macro
> (gnus-memoize 'nnimap 'connection-method
>   (nnimap-guess-connection-method server))
>
> So it's like a normal memoizer, only it saves stuff to a file, too.
>
> Does this sound halfway sane?

As long as a info message goes into the *Messages* buffer telling the
user where it's trying to pick up the last used method/credentials
from i.e. the file it read to guess the login method, the approach
looks good.

There's nothing quite maddening like "smart" choices made mysteriously
and you don't know where to root around to fix it. :-)



 sivaram
 -- 




      parent reply	other threads:[~2010-10-01 18:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 22:55 Lars Magne Ingebrigtsen
2010-10-01  1:00 ` Daniel Pittman
2010-10-01 13:43   ` Ted Zlatanov
2010-10-01 14:52     ` Ted Zlatanov
2010-10-01 15:19 ` Lars Magne Ingebrigtsen
2010-10-01 15:29   ` Frank Schmitt
2010-10-01 15:34     ` Lars Magne Ingebrigtsen
2010-10-01 15:46       ` Ted Zlatanov
2010-10-01 16:25         ` Lars Magne Ingebrigtsen
2010-10-01 16:45           ` Ted Zlatanov
2010-10-01 18:29             ` Lars Magne Ingebrigtsen
2010-10-01 18:41               ` Ted Zlatanov
2010-10-01 18:47                 ` Lars Magne Ingebrigtsen
2010-10-01 19:05                   ` Ted Zlatanov
2010-10-01 19:17                     ` Lars Magne Ingebrigtsen
2010-10-01 19:44                       ` Ted Zlatanov
2010-10-01 18:18           ` Sivaram Neelakantan [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=8239spojxt.fsf@gmail.com \
    --to=nsivaram.net@gmail.com \
    --cc=ding@gnus.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).