Discussion:
M-g doesn't work with gnus-no-server
Daiki Ueno
2015-03-17 09:06:09 UTC
Permalink
Hello,

To reduce startup time, I usually start Gnus with M-x gnus-no-server,
and type M-g to check certain groups. However, it seems to be broken
for a while:

Debugger entered--Lisp error: (error "server/993 Name or service not known")
make-network-process(:name "*nnimap*" :buffer #<buffer *nnimap server nil *nntpd**> :host "server" :service "993" :nowait nil)
open-network-stream("*nnimap*" #<buffer *nnimap server nil *nntpd**> "server" "993")
open-gnutls-stream("*nnimap*" #<buffer *nnimap server nil *nntpd**> "server" "993")
...
nnimap-open-connection-1(#<buffer *nntpd*>)
nnimap-open-connection(#<buffer *nntpd*>)
nnimap-open-server("server" nil nil)
nnimap-change-group(nil "server")
nnimap-request-group-scan("INBOX" "server" ...)
gnus-request-group-scan("nnimap+server:INBOX" ...)
gnus-group-get-new-news-this-group(nil)
gnus-topic-get-new-news-this-topic(nil)
funcall-interactively(gnus-topic-get-new-news-this-topic nil)
call-interactively(gnus-topic-get-new-news-this-topic nil nil)
command-execute(gnus-topic-get-new-news-this-topic)

Comparing the backtrace with the one taken with M-x debug-on-entry
open-network-stream on Emacs 24.4, the DEFS argument of
`nnimap-open-server' is not given on the first connection.

Any ideas on this?

Regards,
--
Daiki Ueno
Ted Zlatanov
2015-04-17 20:00:48 UTC
Permalink
On Tue, 17 Mar 2015 18:06:09 +0900 Daiki Ueno <***@gnu.org> wrote:

DU> Debugger entered--Lisp error: (error "server/993 Name or service not known")
DU> make-network-process(:name "*nnimap*" :buffer #<buffer *nnimap server nil *nntpd**> :host "server" :service "993" :nowait nil)
DU> open-network-stream("*nnimap*" #<buffer *nnimap server nil *nntpd**> "server" "993")
DU> open-gnutls-stream("*nnimap*" #<buffer *nnimap server nil *nntpd**> "server" "993")
DU> ...
DU> nnimap-open-connection-1(#<buffer *nntpd*>)
DU> nnimap-open-connection(#<buffer *nntpd*>)
DU> nnimap-open-server("server" nil nil)
DU> nnimap-change-group(nil "server")
DU> nnimap-request-group-scan("INBOX" "server" ...)
DU> gnus-request-group-scan("nnimap+server:INBOX" ...)
DU> gnus-group-get-new-news-this-group(nil)
DU> gnus-topic-get-new-news-this-topic(nil)
DU> funcall-interactively(gnus-topic-get-new-news-this-topic nil)
DU> call-interactively(gnus-topic-get-new-news-this-topic nil nil)
DU> command-execute(gnus-topic-get-new-news-this-topic)

DU> Comparing the backtrace with the one taken with M-x debug-on-entry
DU> open-network-stream on Emacs 24.4, the DEFS argument of
DU> `nnimap-open-server' is not given on the first connection.

No idea, but can you bisect the issue to a specific commit? That would
answer it most clearly.

Ted

Loading...