unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4294: 23.1; gnus fails with .authinfo containing default entry
@ 2009-08-30 18:03 Joe Casadonte
  2010-09-30 20:07 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Casadonte @ 2009-08-30 18:03 UTC (permalink / raw)
  To: bug-gnu-emacs


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I'm upgrading from Emacs 22.2.1:

> GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE

to Emacs 23.1.1 and gnus version 5.11 to 5.13 (which was bundled with
the new version of Emacs).  My .authinfo file contained several entries
for different email accounts and a 'default' entry which had info for my
news server.  It worked fine with gnus 5.11, but fails on the new gnus.

If I remove the 'default' entry, everything works as I expect it to.  In
looking at the code, I think the culprit is the dolist's in
`netrc-machine-user-or-password', as there's no way to break out of the
looping if you've found a match.  So, I moved the 'default' entry to the
top of the file, figuring that it would be over-ruled by a later
matching entry.  That did not work, though I don't understand why.  Only
removing the 'default' entry entirely allows my mail accounts to pick up
the correct login info.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/product/emacs-23.1/etc/DEBUG for instructions.


In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  delete-selection-mode: t
  iswitchb-mode: t
  recentf-mode: t
  global-auto-revert-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-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

Recent input:
<return> y q q <down> <down> <down> <return> 5 0 <return>
<return> E q <up> <up> <up> <return> 5 0 <return> E
E E E <up> <up> <up> # # # # B <delete> y q <lwindow>
x M-x r e p o r t <tab> <return>

Recent messages:
Retrieving newsgroup: nnimap+jcasadonte:INBOX...
Opening nnimap server on jcasadonte...
imap: Connecting to localhost...
Waiting for response from localhost...done
imap: Plaintext authentication...
Opening nnimap server on jcasadonte...done
nnimap: Updating info for nnimap+jcasadonte:INBOX...done
nnimap: Updating info for nnimap+jcasadonte:INBOX...done
Fetching headers for nnimap+jcasadonte:INBOX...done
Do you really want to delete these 4 articles forever? (y or n)

--
Regards,


joe
Joe Casadonte
jcasadonte@northbound-train.com

------------------------------------------------------------------------------
         Llama Fresh Farms => http://www.northbound-train.com
    Ramblings of a Gay Man => http://www.northbound-train.com/ramblings
               Emacs Stuff => http://www.northbound-train.com/emacs.html
          Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
                       Live Free, that's the message!
------------------------------------------------------------------------------






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

* Re: bug#4294: 23.1; gnus fails with .authinfo containing default entry
       [not found] <mailman.5699.1251715030.2239.bug-gnu-emacs@gnu.org>
@ 2009-09-09 16:56 ` Ted Zlatanov
  0 siblings, 0 replies; 3+ messages in thread
From: Ted Zlatanov @ 2009-09-09 16:56 UTC (permalink / raw)
  To: bug-gnu-emacs

On Sun, 30 Aug 2009 14:03:07 -0400 "Joe Casadonte" <jcasadonte@northbound-train.com> wrote: 

JC> to Emacs 23.1.1 and gnus version 5.11 to 5.13 (which was bundled with
JC> the new version of Emacs).  My .authinfo file contained several entries
JC> for different email accounts and a 'default' entry which had info for my
JC> news server.  It worked fine with gnus 5.11, but fails on the new gnus.

JC> If I remove the 'default' entry, everything works as I expect it to.  In
JC> looking at the code, I think the culprit is the dolist's in
JC> `netrc-machine-user-or-password', as there's no way to break out of the
JC> looping if you've found a match.  So, I moved the 'default' entry to the
JC> top of the file, figuring that it would be over-ruled by a later
JC> matching entry.  That did not work, though I don't understand why.  Only
JC> removing the 'default' entry entirely allows my mail accounts to pick up
JC> the correct login info.

Hi Joe,

sorry I couldn't reply sooner.  Would it be possible to provide your
.authinfo file so I'm sure that we're talking about the same things?
Rename the servers and change the passwords as you see fit, but the
original file is really useful in resolving your issue.

Thanks
Ted


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

* bug#4294: 23.1; gnus fails with .authinfo containing default entry
  2009-08-30 18:03 bug#4294: 23.1; gnus fails with .authinfo containing default entry Joe Casadonte
@ 2010-09-30 20:07 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-30 20:07 UTC (permalink / raw)
  To: Joe Casadonte; +Cc: bug-gnu-emacs, 4294-close

"Joe Casadonte" <jcasadonte@northbound-train.com> writes:

> to Emacs 23.1.1 and gnus version 5.11 to 5.13 (which was bundled with
> the new version of Emacs).  My .authinfo file contained several entries
> for different email accounts and a 'default' entry which had info for my
> news server.  It worked fine with gnus 5.11, but fails on the new gnus.

This has now been fixed in the development versions of Gnus/Emacs.

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





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

end of thread, other threads:[~2010-09-30 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-30 18:03 bug#4294: 23.1; gnus fails with .authinfo containing default entry Joe Casadonte
2010-09-30 20:07 ` Lars Magne Ingebrigtsen
     [not found] <mailman.5699.1251715030.2239.bug-gnu-emacs@gnu.org>
2009-09-09 16:56 ` 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).