Gnus development mailing list
 help / color / mirror / Atom feed
* nnimap: possible bug with gnus-summary-move-article
@ 2011-04-06 18:57 Joseph Gay
  2011-04-12 15:04 ` Bojan Nikolic
  2011-04-12 16:01 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Joseph Gay @ 2011-04-06 18:57 UTC (permalink / raw)
  To: ding

On No Gnus v0.16 --- sha1 04c1fb9

Previously I could move (B-m) a mail from a subscribed nnimap group to a
non-existent IMAP folder, and Gnus prompted me whether to create the
folder. This is a convenient, and I assume desired functionality.

Today, I witnessed a different behavior. Gnus appeared to attempt the
move without first checking for the folder's existence on the server.
See the backtrace below.

,----
| Debugger entered--Lisp error: (error "gmail+nnimap+gmail:identica/imap Name or service not known")
|   make-network-process(:name "*nnimap*" :buffer #<buffer *nnimap gmail+nnimap+gmail:identica nil  *nntpd**<2>> :host "gmail+nnimap+gmail:identica" :service "imap")
|   open-network-stream("*nnimap*" #<buffer *nnimap gmail+nnimap+gmail:identica nil  *nntpd**<2>> "gmail+nnimap+gmail:identica" "imap")
|   proto-stream-open-starttls("*nnimap*" #<buffer *nnimap gmail+nnimap+gmail:identica nil  *nntpd**<2>> "gmail+nnimap+gmail:identica" "imap" (:end-of-command "\n" :type network :return-list t :shell-command "ssh %s imapd" :capability-command "1 CAPABILITY\n" :success " OK " :starttls-function #[(capabilities) "\305\b\306\x1a\307\310\v\n	#,\205
|   open-protocol-stream("*nnimap*" #<buffer *nnimap gmail+nnimap+gmail:identica nil  *nntpd**<2>> "gmail+nnimap+gmail:identica" "imap" :type network :return-list t :shell-command "ssh %s imapd" :capability-command "1 CAPABILITY\n" :success " OK " :starttls-function #[(capabilities) "\305\b\306\x1a\307\310\v\n	#,\205
|   nnimap-open-connection-1(#<buffer  *nntpd*>)
|   nnimap-open-connection(#<buffer  *nntpd*>)
|   nnimap-open-server("gmail+nnimap+gmail:identica")
|   nnimap-possibly-change-group(nil "gmail+nnimap+gmail:identica")
|   nnimap-request-accept-article("identica" "gmail+nnimap+gmail:identica" t)
|   gnus-request-accept-article("nnimap+gmail:identica" nil t t)
|   eval((gnus-request-accept-article "nnimap+gmail:identica" (quote nil) t t))
|   nnimap-request-move-article(16046 "INBOX" "gmail" (gnus-request-accept-article "nnimap+gmail:identica" (quote nil) t t) t nil)
|   gnus-request-move-article(16046 "nnimap+gmail:INBOX" "gmail" (gnus-request-accept-article "nnimap+gmail:identica" (quote nil) t t) t nil)
|   gnus-summary-move-article(nil)
|   call-interactively(gnus-summary-move-article nil nil)
`----




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

* Re: nnimap: possible bug with gnus-summary-move-article
  2011-04-06 18:57 nnimap: possible bug with gnus-summary-move-article Joseph Gay
@ 2011-04-12 15:04 ` Bojan Nikolic
  2011-04-12 16:01 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Bojan Nikolic @ 2011-04-12 15:04 UTC (permalink / raw)
  To: ding


I've been having problems too with gnus-summary-move-article since
moving to No Gnus v0.15. 

I've found that using the gnus-move-split-methods mechanism no longer
works: the default group is still correctly printed in the prompt but if
only <cr> is entered, instead of expected behaviour that this default is
used, Gnus must moves the article to the last group previously moved to.

I've only briefly looked at the code, and was rather confused by the use
of gnus-current-move-group variable... Perhaps something is going wrong
here?

Best,
Bojan


-- 
Bojan Nikolic          ||          http://www.bnikolic.co.uk




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

* Re: nnimap: possible bug with gnus-summary-move-article
  2011-04-06 18:57 nnimap: possible bug with gnus-summary-move-article Joseph Gay
  2011-04-12 15:04 ` Bojan Nikolic
@ 2011-04-12 16:01 ` Lars Magne Ingebrigtsen
  2011-04-12 18:02   ` Joseph Gay
  1 sibling, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-04-12 16:01 UTC (permalink / raw)
  To: ding

Joseph Gay <gilleylen@gmail.com> writes:

> Previously I could move (B-m) a mail from a subscribed nnimap group to a
> non-existent IMAP folder, and Gnus prompted me whether to create the
> folder. This is a convenient, and I assume desired functionality.

I'm unable to reproduce this.  If I move a message to a non-existent
IMAP group, I get the following prompt:

No such group: nnimap+hermes.netfonds.no:test1.  Create it? (y or n)  y

And the group is created.

> Today, I witnessed a different behavior. Gnus appeared to attempt the
> move without first checking for the folder's existence on the server.
> See the backtrace below.

[...]

> |   nnimap-open-server("gmail+nnimap+gmail:identica")

Well, it's trying to open a server that doesn't exist.


[...]

> |   gnus-request-move-article(16046 "nnimap+gmail:INBOX" "gmail" (gnus-request-accept-article "nnimap+gmail:identica" (quote nil) t t) t nil)

Which comes from here.  A server that's `(quote nil)'?  Very odd.
What's your nnimap setup like?

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




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

* Re: nnimap: possible bug with gnus-summary-move-article
  2011-04-12 16:01 ` Lars Magne Ingebrigtsen
@ 2011-04-12 18:02   ` Joseph Gay
  2011-04-12 18:49     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph Gay @ 2011-04-12 18:02 UTC (permalink / raw)
  To: ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>> |   nnimap-open-server("gmail+nnimap+gmail:identica")
>
> Well, it's trying to open a server that doesn't exist.
>
>
> [...]
>
>> |   gnus-request-move-article(16046 "nnimap+gmail:INBOX" "gmail" (gnus-request-accept-article "nnimap+gmail:identica" (quote nil) t t) t nil)
>
> Which comes from here.  A server that's `(quote nil)'?  Very odd.
> What's your nnimap setup like?

In gnus-secondary-select-methods, I have:

  (nnimap "gmail"
          (nnimap-address "imap.gmail.com")
          (nnimap-server-port 993)
          (nnimap-stream ssl)
          (nnir-search-engine imap)
          (nnimap-authinfo-file nil))

That portion hasn't changed in quite some time.

Recently I added an expression to gnus-parameters, though I'm not sure
it's relevant here.

  ("nnimap\\+gmail:INBOX"
           (comment . "INBOX:personal"))

For what it's worth, gnus-summary-move-article does work for existing
IMAP folders.




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

* Re: nnimap: possible bug with gnus-summary-move-article
  2011-04-12 18:02   ` Joseph Gay
@ 2011-04-12 18:49     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-04-12 18:49 UTC (permalink / raw)
  To: ding

Joseph Gay <gilleylen@gmail.com> writes:

> In gnus-secondary-select-methods, I have:
>
>   (nnimap "gmail"
>           (nnimap-address "imap.gmail.com")
>           (nnimap-server-port 993)
>           (nnimap-stream ssl)
>           (nnir-search-engine imap)
>           (nnimap-authinfo-file nil))

I tried using a similar setup, but was unable to reproduce the bug.
Gnus seems to reliably create the new group...

-- 
(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-04-12 18:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-06 18:57 nnimap: possible bug with gnus-summary-move-article Joseph Gay
2011-04-12 15:04 ` Bojan Nikolic
2011-04-12 16:01 ` Lars Magne Ingebrigtsen
2011-04-12 18:02   ` Joseph Gay
2011-04-12 18:49     ` Lars Magne 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).