unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7599: 24.0.50; gnus nnimap doesn't remember choice for auth-source-create
@ 2010-12-06 23:38 François Garillot
  2011-06-30  0:24 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: François Garillot @ 2010-12-06 23:38 UTC (permalink / raw)
  To: 7599; +Cc: rfrancoise


During connection to an IMAP server using nnimap, with no
~/.authinfo.gpg file present, function auth-source-create [1] asks for
login and password, then suggests asks the user if it should save those
credentials to ~/.authinfo.gpg

[1] : http://git.gnus.org/cgit/gnus.git/tree/lisp/auth-source.el

If the user answers no, this choice is not remembered. The preference is
not configurable. A user that wants to manually enter login information
at nnimap startup therefore has to refuse credentials storage every
time.

A way to bypass that confirmation would be a nice usability
improvement.

-- 
FG

In GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-11-16 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20101116-1)
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.50/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-x=yes' '--with-x-toolkit=gtk' '--with-imagemagick=yes' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.utf8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  ido-everywhere: t
  delete-selection-mode: t
  pc-selection-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t






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

* Re: bug#7599: 24.0.50; gnus nnimap doesn't remember choice for auth-source-create
       [not found] <mailman.28.1291941217.5417.bug-gnu-emacs@gnu.org>
@ 2010-12-10 16:10 ` Lars Magne Ingebrigtsen
  2010-12-10 21:01   ` Ted Zlatanov
  2011-02-11 20:22   ` Ted Zlatanov
  0 siblings, 2 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-12-10 16:10 UTC (permalink / raw)
  To: bug-gnu-emacs

francois@garillot.net (François Garillot) writes:

> If the user answers no, this choice is not remembered. The preference is
> not configurable. A user that wants to manually enter login information
> at nnimap startup therefore has to refuse credentials storage every
> time.

Yes, it would be better if Emacs remembered the user's choice.  Ted
plans to rewrite the auth-source.el interface, and if I remember
correctly, that was one of the things auth-source.el was going to
handle.  Although it's still unclear where this should be stored or in
what format.  Ideally, it'd allow for, say, storing the user name, but
not the password for IMAP, but allow storing both for NNTP, for
instance.  

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: bug#7599: 24.0.50; gnus nnimap doesn't remember choice for auth-source-create
  2010-12-10 16:10 ` Lars Magne Ingebrigtsen
@ 2010-12-10 21:01   ` Ted Zlatanov
  2011-02-11 20:22   ` Ted Zlatanov
  1 sibling, 0 replies; 5+ messages in thread
From: Ted Zlatanov @ 2010-12-10 21:01 UTC (permalink / raw)
  To: bug-gnu-emacs

On Fri, 10 Dec 2010 17:10:25 +0100 Lars Magne Ingebrigtsen <lmi@gnus.org> wrote: 

LMI> francois@garillot.net (François Garillot) writes:
>> If the user answers no, this choice is not remembered. The preference is
>> not configurable. A user that wants to manually enter login information
>> at nnimap startup therefore has to refuse credentials storage every
>> time.

LMI> Yes, it would be better if Emacs remembered the user's choice.  Ted
LMI> plans to rewrite the auth-source.el interface, and if I remember
LMI> correctly, that was one of the things auth-source.el was going to
LMI> handle.  Although it's still unclear where this should be stored or in
LMI> what format.  Ideally, it'd allow for, say, storing the user name, but
LMI> not the password for IMAP, but allow storing both for NNTP, for
LMI> instance.  

Yeah, and I'll put this specifically on my list.

Ted


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

* Re: bug#7599: 24.0.50; gnus nnimap doesn't remember choice for auth-source-create
  2010-12-10 16:10 ` Lars Magne Ingebrigtsen
  2010-12-10 21:01   ` Ted Zlatanov
@ 2011-02-11 20:22   ` Ted Zlatanov
  1 sibling, 0 replies; 5+ messages in thread
From: Ted Zlatanov @ 2011-02-11 20:22 UTC (permalink / raw)
  To: bug-gnu-emacs

On Fri, 10 Dec 2010 17:10:25 +0100 Lars Magne Ingebrigtsen <lmi@gnus.org> wrote: 

LMI> francois@garillot.net (François Garillot) writes:
>> If the user answers no, this choice is not remembered. The preference is
>> not configurable. A user that wants to manually enter login information
>> at nnimap startup therefore has to refuse credentials storage every
>> time.

LMI> Yes, it would be better if Emacs remembered the user's choice.  Ted
LMI> plans to rewrite the auth-source.el interface, and if I remember
LMI> correctly, that was one of the things auth-source.el was going to
LMI> handle.  Although it's still unclear where this should be stored or in
LMI> what format.  Ideally, it'd allow for, say, storing the user name, but
LMI> not the password for IMAP, but allow storing both for NNTP, for
LMI> instance.  

I think this is handled correctly in the auth-source.el rewrite I will
push out this weekend.  Please let me know if the code needs fixin' or
if I can close this bug after you test it.

Thanks
Ted


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

* bug#7599: 24.0.50; gnus nnimap doesn't remember choice for auth-source-create
  2010-12-06 23:38 bug#7599: 24.0.50; gnus nnimap doesn't remember choice for auth-source-create François Garillot
@ 2011-06-30  0:24 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-06-30  0:24 UTC (permalink / raw)
  To: François Garillot; +Cc: rfrancoise, 7599-close

francois@garillot.net (François Garillot) writes:

> If the user answers no, this choice is not remembered. The preference is
> not configurable. A user that wants to manually enter login information
> at nnimap startup therefore has to refuse credentials storage every
> time.

This has now been fixed in No Gnus.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





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

end of thread, other threads:[~2011-06-30  0:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-06 23:38 bug#7599: 24.0.50; gnus nnimap doesn't remember choice for auth-source-create François Garillot
2011-06-30  0:24 ` Lars Magne Ingebrigtsen
     [not found] <mailman.28.1291941217.5417.bug-gnu-emacs@gnu.org>
2010-12-10 16:10 ` Lars Magne Ingebrigtsen
2010-12-10 21:01   ` Ted Zlatanov
2011-02-11 20:22   ` Ted Zlatanov

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