From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs Subject: bug#6772: 23.2; Gnus' `nnimap-retrieve-headers-from-file' fails to load novcache Date: Sun, 01 Aug 2010 19:54:37 +0200 Message-ID: <87eieicj6q.fsf@engster.org> References: <87tyne7nvq.wl%dmaus@ictsoc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280686096 16963 80.91.229.12 (1 Aug 2010 18:08:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 Aug 2010 18:08:16 +0000 (UTC) Cc: 6772@debbugs.gnu.org To: David Maus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 01 20:08:14 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1OfcxH-0007wY-JV for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Aug 2010 20:08:11 +0200 Original-Received: from localhost ([127.0.0.1]:57801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfcxG-0005ay-Rb for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Aug 2010 14:08:10 -0400 Original-Received: from [140.186.70.92] (port=41289 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ofcx6-0005Zp-0I for bug-gnu-emacs@gnu.org; Sun, 01 Aug 2010 14:08:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ofcx4-0005SL-NC for bug-gnu-emacs@gnu.org; Sun, 01 Aug 2010 14:07:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57377) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofcx4-0005SH-Lm for bug-gnu-emacs@gnu.org; Sun, 01 Aug 2010 14:07:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OfckY-0003yB-25; Sun, 01 Aug 2010 13:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Engster Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Aug 2010 17:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6772 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6772-submit@debbugs.gnu.org id=B6772.128068527115253 (code B ref 6772); Sun, 01 Aug 2010 17:55:02 +0000 Original-Received: (at 6772) by debbugs.gnu.org; 1 Aug 2010 17:54:31 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofck3-0003xy-Cs for submit@debbugs.gnu.org; Sun, 01 Aug 2010 13:54:31 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofck1-0003xt-Mm for 6772@debbugs.gnu.org; Sun, 01 Aug 2010 13:54:30 -0400 Original-Received: from dslc-082-083-038-204.pools.arcor-ip.net ([82.83.38.204] helo=spaten) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OfckL-0005uB-O1; Sun, 01 Aug 2010 19:54:49 +0200 In-Reply-To: <87tyne7nvq.wl%dmaus@ictsoc.de> (David Maus's message of "Sun, 01 Aug 2010 10:12:09 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 01 Aug 2010 13:55:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39107 Archived-At: David Maus writes: > While trying to mitigate the problem with IMAP server implementations > that perform a painful slow UID SEARCH for a message-id I noted that > `nnimap-retrieve-headers-from-file' fails to load the novcache because > it inserts the content of the cache file in `nntp-seerver-buffer' that > is not empty. I don't see this as a bug. `nnimap-retrieve-headers-from-file' is an internal nnimap function, and it just happens to depend on the caller taking care of erasing (and maybe also restoring) the nntp-server-buffer. If you don't want this, you could just duplicate the three lines from the function to load the NOV file in any other (empty) buffer of your choice. -David