Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus startup problems?
@ 2012-02-09 22:47 Lars Ingebrigtsen
  2012-02-09 23:07 ` Antoine Levitt
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2012-02-09 22:47 UTC (permalink / raw)
  To: ding

With the latest tweaks to smtpmail.el, it seems like it's pretty easy to
start reading (and sending) mail in Gnus these days.

emacs -Q
(setq gnus-select-method '(nnimap "smtp.gmail.com"))
`M-x gnus'

And then everything should just work.  And it does work for me, but does
it work for you?  From a blank slate?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome




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

* Re: Gnus startup problems?
  2012-02-09 22:47 Gnus startup problems? Lars Ingebrigtsen
@ 2012-02-09 23:07 ` Antoine Levitt
  2012-02-10  3:30   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Antoine Levitt @ 2012-02-09 23:07 UTC (permalink / raw)
  To: ding

09/02/12 23:47, Lars Ingebrigtsen
> With the latest tweaks to smtpmail.el, it seems like it's pretty easy to
> start reading (and sending) mail in Gnus these days.
>
> emacs -Q
> (setq gnus-select-method '(nnimap "smtp.gmail.com"))
> `M-x gnus'
>
> And then everything should just work.  And it does work for me, but does
> it work for you?  From a blank slate?

As apache would say, It works!

It does not keep the username/password in memory though; is that by
design?




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

* Re: Gnus startup problems?
  2012-02-09 23:07 ` Antoine Levitt
@ 2012-02-10  3:30   ` Lars Ingebrigtsen
  2012-02-10  8:18     ` Antoine Levitt
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2012-02-10  3:30 UTC (permalink / raw)
  To: ding

Antoine Levitt <antoine.levitt@gmail.com> writes:

> It does not keep the username/password in memory though; is that by
> design?

It should have offered to save the password -- didn't it?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome



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

* Re: Gnus startup problems?
  2012-02-10  3:30   ` Lars Ingebrigtsen
@ 2012-02-10  8:18     ` Antoine Levitt
  2012-02-10 15:28       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Antoine Levitt @ 2012-02-10  8:18 UTC (permalink / raw)
  To: ding

10/02/12 04:30, Lars Ingebrigtsen
> Antoine Levitt <antoine.levitt@gmail.com> writes:
>
>> It does not keep the username/password in memory though; is that by
>> design?
>
> It should have offered to save the password -- didn't it?

It did - in authinfo. I answered "n" in order not to mess up my config,
and it prompted me for the password again when I opened a
folder. Presumably it could have saved it in memory, even if I didn't
write it in authinfo. But that's very minor.




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

* Re: Gnus startup problems?
  2012-02-10  8:18     ` Antoine Levitt
@ 2012-02-10 15:28       ` Lars Ingebrigtsen
  2012-02-13 17:11         ` auth-source for new users (was: Gnus startup problems?) Ted Zlatanov
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2012-02-10 15:28 UTC (permalink / raw)
  To: ding; +Cc: Ted Zlatanov

Antoine Levitt <antoine.levitt@gmail.com> writes:

> It did - in authinfo. I answered "n" in order not to mess up my config,
> and it prompted me for the password again when I opened a
> folder. Presumably it could have saved it in memory, even if I didn't
> write it in authinfo.

Yes, it probably should have.  Ted?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome



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

* auth-source for new users (was: Gnus startup problems?)
  2012-02-10 15:28       ` Lars Ingebrigtsen
@ 2012-02-13 17:11         ` Ted Zlatanov
  2012-02-13 18:39           ` auth-source for new users Michael Albinus
  2012-02-13 19:45           ` Lars Ingebrigtsen
  0 siblings, 2 replies; 8+ messages in thread
From: Ted Zlatanov @ 2012-02-13 17:11 UTC (permalink / raw)
  To: ding

On Fri, 10 Feb 2012 16:28:23 +0100 Lars Ingebrigtsen <larsi@gnus.org> wrote: 

LI> Antoine Levitt <antoine.levitt@gmail.com> writes:
>> It did - in authinfo. I answered "n" in order not to mess up my config,
>> and it prompted me for the password again when I opened a
>> folder. Presumably it could have saved it in memory, even if I didn't
>> write it in authinfo.

LI> Yes, it probably should have.  Ted?

(to anyone interested, we're talking about new users with no auth-source
setup, not those who have already set up an authinfo file as suggested
by the auth-source docs)

We're discussing this in an emacs bug thread.  I'm not sure what's the
right solution here.  There's valid scenarios for:

1) keeping the username+password in memory only (easy to implement!)

2) saving them to a keychain immediately

3) saving them to a netrc/authinfo file immediately

4) saving all credentials to a netrc/authinfo file later, keeping them
in memory now

I favor (4) but Stefan Monnier likes (2) and keychains in general, and
there seems to be no consensus on what's best.  So any opinions are
welcome.

Ted




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

* Re: auth-source for new users
  2012-02-13 17:11         ` auth-source for new users (was: Gnus startup problems?) Ted Zlatanov
@ 2012-02-13 18:39           ` Michael Albinus
  2012-02-13 19:45           ` Lars Ingebrigtsen
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Albinus @ 2012-02-13 18:39 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> (to anyone interested, we're talking about new users with no auth-source
> setup, not those who have already set up an authinfo file as suggested
> by the auth-source docs)
>
> We're discussing this in an emacs bug thread.  I'm not sure what's the
> right solution here.  There's valid scenarios for:
>
> 1) keeping the username+password in memory only (easy to implement!)
>
> 2) saving them to a keychain immediately
>
> 3) saving them to a netrc/authinfo file immediately
>
> 4) saving all credentials to a netrc/authinfo file later, keeping them
> in memory now
>
> I favor (4) but Stefan Monnier likes (2) and keychains in general, and
> there seems to be no consensus on what's best.  So any opinions are
> welcome.

I'm in favour of (1) for *new* users. (2) is also OK, if there is a keychain.

(3) and (4) would be surprising to new users.

> Ted

Best regards, Michael.



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

* Re: auth-source for new users
  2012-02-13 17:11         ` auth-source for new users (was: Gnus startup problems?) Ted Zlatanov
  2012-02-13 18:39           ` auth-source for new users Michael Albinus
@ 2012-02-13 19:45           ` Lars Ingebrigtsen
  1 sibling, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2012-02-13 19:45 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> We're discussing this in an emacs bug thread.  I'm not sure what's the
> right solution here.  There's valid scenarios for:
>
> 1) keeping the username+password in memory only (easy to implement!)
>
> 2) saving them to a keychain immediately
>
> 3) saving them to a netrc/authinfo file immediately
>
> 4) saving all credentials to a netrc/authinfo file later, keeping them
> in memory now

Well, the user if prompted.  I think it might be reasonable to just add
another letter at the prompt that is "don't save, but remember for this
session only".  Sorta 1).

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome



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

end of thread, other threads:[~2012-02-13 19:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-09 22:47 Gnus startup problems? Lars Ingebrigtsen
2012-02-09 23:07 ` Antoine Levitt
2012-02-10  3:30   ` Lars Ingebrigtsen
2012-02-10  8:18     ` Antoine Levitt
2012-02-10 15:28       ` Lars Ingebrigtsen
2012-02-13 17:11         ` auth-source for new users (was: Gnus startup problems?) Ted Zlatanov
2012-02-13 18:39           ` auth-source for new users Michael Albinus
2012-02-13 19:45           ` Lars Ingebrigtsen

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