> diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
> index be8ad9a672..baf90d38ad 100644
> --- a/lisp/gnus/nnimap.el
> +++ b/lisp/gnus/nnimap.el
> @@ -986,7 +986,7 @@ nnimap-request-move-article
> (when (and (car result) (not can-move))
> (nnimap-delete-article article))
> (cons internal-move-group
> - (or (nnimap-find-uid-response "COPYUID" (caddr result))
> + (or (nnimap-find-uid-response "COPYUID" (cadr result))
> (nnimap-find-article-by-message-id
> internal-move-group server message-id
> nnimap-request-articles-find-limit)))))
>
>
> Cautious patch, which would handle cases where caddr is appropriate, if
> there are any:
>
> diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
> index be8ad9a672..cea8988f81 100644
> --- a/lisp/gnus/nnimap.el
> +++ b/lisp/gnus/nnimap.el
> @@ -986,7 +986,8 @@ nnimap-request-move-article
> (when (and (car result) (not can-move))
> (nnimap-delete-article article))
> (cons internal-move-group
> - (or (nnimap-find-uid-response "COPYUID" (caddr result))
> + (or (nnimap-find-uid-response "COPYUID" (cadr result))
> + (nnimap-find-uid-response "COPYUID" (caddr result))
> (nnimap-find-article-by-message-id
> internal-move-group server message-id
> nnimap-request-articles-find-limit)))))
>
Thanks for this report! Can you tell us which IMAP servers you've
tested this on? I just tried Dovecot, and the "(cadr result)" fix works
properly there. Unless we know there are some servers where "(caddr
result)" is appropriate (I wonder what server Nikolaus was using), I'm
inclined to put the simpler fix in.