From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: "no process" gnus bug when moving messages from nnml to imap folder Date: Thu, 03 Feb 2011 01:47:46 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296741959 31158 80.91.229.12 (3 Feb 2011 14:05:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2011 14:05:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 03 15:05:55 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pkzoh-0002tl-IM for ged-emacs-devel@m.gmane.org; Thu, 03 Feb 2011 15:05:48 +0100 Original-Received: from localhost ([127.0.0.1]:56415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkzog-0002Ze-JY for ged-emacs-devel@m.gmane.org; Thu, 03 Feb 2011 09:05:46 -0500 Original-Received: from [140.186.70.92] (port=33439 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkvn6-0004Z3-HM for emacs-devel@gnu.org; Thu, 03 Feb 2011 04:47:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pkvn4-0003ta-SQ for emacs-devel@gnu.org; Thu, 03 Feb 2011 04:47:52 -0500 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:45006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pkvn4-0003tO-Oa for emacs-devel@gnu.org; Thu, 03 Feb 2011 04:47:50 -0500 Original-Received: by vws10 with SMTP id 10so505648vws.0 for ; Thu, 03 Feb 2011 01:47:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:user-agent :mime-version:content-type; bh=GKO/x8gk9AiXYM/1uN/aQ97sYLikg/kSXJvJ6Njtw+k=; b=RrtI1LLleKPNwKhQkP/CfckQ4doHx302zQ71CRGWnWj/Zl4lyRpvgNrgkjcjQz9ibu +rWve+SyxLvAfmWc4obDoIwuGY5JJ9lQauhYb+P3Jaa+FVqQwOvHCH2+VNkoa17Tmuph H/btOzV/XXAB97PkxlMV3m923Qu0eyXW3/2Uc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=p9dgiCGfMT0in/ScpmGo2VoUrYkPEyLa4ylqJo2zuEj9rE30Y1CZEqUfi1iMTfyP7I NFFuL/N6evzPryYabUBNc4yu5aP3l/GaDIBAUQYVyKF6LhvMz4Mql1T7FmnFWYC7v0UJ DxLmiR9P1aiwUJkeTXROCphRU9UulQNYCuYzA= Original-Received: by 10.220.90.67 with SMTP id h3mr331323vcm.209.1296726469654; Thu, 03 Feb 2011 01:47:49 -0800 (PST) Original-Received: from gkeramidas-glaptop.gmail.com (h-64-105-143-250.snvacaid.static.covad.net [64.105.143.250]) by mx.google.com with ESMTPS id c4sm258726vcc.30.2011.02.03.01.47.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 01:47:49 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 X-Mailman-Approved-At: Thu, 03 Feb 2011 09:05:41 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135501 Archived-At: There's something broken in Gnus with `B m' in nnml->imap in the latest git snapshot of Emacs I downloaded and rebuilt last night: (version) => "GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2011-02-01 on gkeramidas" I tried this afternoon to copy some messages from my local nnml archive to imap folders at Gmail. Every time I type 'g' the imap server of Gmail is correctly contacted, and new messages appear fine. But when I am trying from the summary buffer of an nnml folder to move a message by typing `B m' and select an imap folder as the target group, I get the same backtrace: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Backtrace from toggle-debug-on-error... Debugger entered--Lisp error: (error "Buffer *nnimap imap.gmail.com 993 *nntpd**<4> has no process") process-send-string(nil "177 EXAMINE \"archive/2001\"^M\n") nnimap-send-command("EXAMINE %S" "archive/2001") nnimap-find-article-by-message-id("archive/2001" "<200110022311.f92NBXI04280@mailsrv.otenet.gr>^M, <200110022311.f92NBXI04280@mailsrv.otenet.gr>^M, <200110022311.f92NBXI04280@mailsrv.otenet.gr>^M, <200110022311.f92NBXI04280@mailsrv.otenet.gr>^M, <200110022311.f92NBXI04280@mailsrv.otenet.gr>^M, <200110022311.f92NBXI04280@mailsrv.otenet.gr>^M, <200110022311.f92NBXI04280@mailsrv.otenet.gr>") nnimap-request-accept-article("archive/2001" "gmail" t) gnus-request-accept-article("nnimap+gmail:archive/2001" nil t t) eval((gnus-request-accept-article "nnimap+gmail:archive/2001" (quote nil) t t)) nnml-request-move-article(2104 "mail.archive-2001" "" (gnus-request-accept-article "nnimap+gmail:archive/2001" (quote nil) t t) t nil) gnus-request-move-article(2104 "nnml:mail.archive-2001" "" (gnus-request-accept-article "nnimap+gmail:archive/2001" (quote nil) t t) t nil) gnus-summary-move-article(nil) call-interactively(gnus-summary-move-article nil nil) Trying a few things to see what's going on, I could see the following... ;; Part 1. Before the attempt that returned the <4> buffer... ELISP> (defun gker/buffer-process-alist () (do ((buffers (buffer-list) (cdr buffers)) (result nil)) ((null buffers) result) (let* ((b (car buffers)) (p (or (get-buffer-process b) :no-process))) (add-to-list 'result (cons b p))))) gker/buffer-process-alist ELISP> (gker/buffer-process-alist) ((#> . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (#> . #>) (# . :no-process) (#> . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . #)) ELISP> (nnimap-buffer) #> ELISP> nnimap-connection-alist ((# #>)) So at this point `nnimap-connection-alist' is already broken, because it points to the "*nnimap imap.gmail.com 993 *nntpd**<3>>" buffer, which has no associated process. Typing `B m' to move a message throws the backtrace I showed earlier, and `nnimap-connection-alist' is updated to point to _another_ buffer, with an increased <4> number. This new buffer is also detached from the imap process, so it isn't possible to do anything with the new `nnimap-connection-alist'. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Part 2. After trying `B m' to move a message from a local nnml group ;; to an imap group at my gmail account, I got the backtrace at the ;; start of this message, and... ELISP> (nnimap-buffer) #> ELISP> nnimap-connection-alist ((# #>)) ;; Now `nnimap-connection-alist' points to the <4> imap buffer, which ;; has no associated process/connection. ELISP> (gker/buffer-process-alist) ((#> . :no-process) (#> . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (#> . #>) (#> . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . :no-process) (# . #)) ELISP> For some reason typing `B m' from an nnml group creates new *nnimap ... * buffers that are *not* associated with the open nnimap connection.