all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Cc: Ding Mailing List <ding@gnus.org>
Subject: Re: authinfo gnutls netrc.el auth-sources & smtpmail-starttls-credentials
Date: Thu, 11 Jun 2009 09:39:12 -0500	[thread overview]
Message-ID: <87eitqltrj.fsf@lifelogs.com> (raw)
In-Reply-To: 87zlcf2525.fsf@sandpframing.com

On Wed, 10 Jun 2009 16:43:14 -0400 MON KEY <monkey@sandpframing.com> wrote: 

MK> Some observations:

I appreciate your thoughts, but please realize not everyone has an hour
to parse all your code.  If you have specific suggestions, please make
them directly and succinctly.  I've tried to answer what I could; please
follow up with questions implicit in your code that I have missed.

MK> docstring for `gnus-message' provides some guidelines for message levels:
MK> "Guideline for numbers: {...} 9 - messages inside loops."

MK> The `gnus-message' is printed when it exceeds the `gnus-verbose'
MK> threshold (defaults to 7)
MK> Which is to say, assuming the user has `gnus-util' library loaded and
MK> his `gnus-verbose' level
MK> set at or above level 9(nine) - he may see _gnus-message_ indicating
MK> that the password/login has been cached
MK> along with a timestamp _if_ `gnus-add-timestamp-to-message' it t.

auth-source.el currently is part of Gnus, so it uses Gnus logging
facilities.  If it's moved out, we can adjust the logging.  Perhaps
you're suggesting we need an auth-source-verbose variable?

MK> Great! No Wait... any code that evaluates
MK> `auth-source-user-or-password' directly has the value returned to
MK> *Messages*
MK> regardless of the `gnus-verbosity' levels. He _may not_ see those but
MK> they may well be there anywasy

MK> `../emacs/lisp/gnus/gnus-util.el' has one of these: (require 'netrc)


MK> `../emacs/lisp/url/url-auth.el' has one of these:
MK> (autoload 'auth-source-user-or-password "auth-source")

Can you explain what the problem is, please?  Is there unwanted
information in the *Messages* buffer?

MK> Also, re: my previous post:
>> auth-sources wants netrc.el per `auth-source-user-or-password'

MK> It is worth noting that the call out to netrc.el happens at compile time:
MK> (eval-when-compile (require 'netrc))

I'm not sure why that's worth noting.

MK> Alongside these really interesting autoloads:
MK> (autoload 'encrypt-find-model "encrypt")
MK> (autoload 'encrypt-insert-file-contents "encrypt")

MK> What _are_ these?

encrypt.el was my encryption API, which (through a discussion with many
Emacs users and developers) was obsoleted in favor of EPG/EPA.  The
calls you saw will be removed eventually, together with encrypt.el
itself, but I haven't done it yet (primarily due to lack of time).

MK> An experiment:
...
MK> ;GREAaaaat... I feel so dirty...
...
MK> ;=>Why are those sleeper gnus-messages are hanging around in *Messages*?

Sorry, as I said above I simply could not figure out everything you're
asking through 3-4 pages of code.  Please rewrite as simple questions I
can answer.

Thanks
Ted





  reply	other threads:[~2009-06-11 14:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10  3:49 authinfo gnutls netrc.el auth-sources & smtpmail-starttls-credentials MON KEY
2009-06-10 21:18 ` Ted Zlatanov
2009-06-10 20:43   ` MON KEY
2009-06-11 14:39     ` Ted Zlatanov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-06-11 23:44 MON KEY
2009-06-12 18:25 ` Ted Zlatanov
2009-06-12 21:05   ` MON KEY
2009-06-13 12:55     ` Ted Zlatanov
2009-06-15  0:52       ` MON KEY
2009-06-15 14:40         ` Ted Zlatanov
2009-06-12  6:28 MON KEY

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=87eitqltrj.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.