Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: GCC to Yahoo groups fails
Date: Fri, 04 Sep 2015 22:44:41 +0800	[thread overview]
Message-ID: <874mja452e.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87vbbqmuiv.fsf@ucl.ac.uk>

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Hello,
>
> A while back (months), GCC stopped working when sending email using my
> yahoo account.  GCC works with other IMAP servers, even Exchange acting
> as IMAP, but not with Yahoo.  Below is the stack trace on error:
>
> ,----
> | Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> |   string-match("^[^:]+:" nil)
> |   nnimap-retrieve-group-data-early("yahoo" (nil))
> |   nnimap-request-group("INBOX" "yahoo" t nil)
> |   gnus-request-group("nnimap+yahoo:INBOX" t (nnimap "yahoo" (nnimap-address "imap.mail.yahoo.com") (nnimap-server-port 993) (nnimap-stream ssl)))
> |   gnus-inews-do-gcc()
> |   gnus-agent-possibly-do-gcc()
> |   run-hooks(message-sent-hook)
> |   message-send(nil)
> |   message-send-and-exit(nil)
> |   funcall-interactively(message-send-and-exit nil)
> |   call-interactively(message-send-and-exit nil nil)
> |   command-execute(message-send-and-exit)
> `----

This looks like an error we were discussing a bit earlier, related
nnmairix. The basic problem (as far as I can tell) is that after the
whole retrieve-group-data-early thing was added to Gnus,
`nnimap-request-group' fails if the optional "info" argument is nil.

At the time I wasn't sure what the best solution was: it seemed like
maybe the right solution was to always make sure new groups were
registered with Gnus. But your case demonstrates that nil "info"
arguments get passed in from other places in the codebase. And more
fundamentally, I'm realizing, if an argument is noted as &optional, we
should definitely treat it as optional!

If there are no objections, I'll push that change in the morning.

Eric




  parent reply	other threads:[~2015-09-04 14:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04  8:57 Eric S Fraga
2015-09-04 10:10 ` Eric S Fraga
2015-09-04 14:44 ` Eric Abrahamsen [this message]
2015-09-04 15:14   ` Eric S Fraga
2015-09-05  2:12     ` Eric Abrahamsen
2015-09-06  9:08       ` Eric S Fraga

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=874mja452e.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).