From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76291 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Scanning methods that don't have any groups (yet) Date: Thu, 03 Feb 2011 19:01:26 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87ei7pyp3d.fsf@topper.koldfront.dk> References: <87bp2y8zgk.fsf@topper.koldfront.dk> <87sjwaljbt.fsf@gnus.org> <87y6627has.fsf@topper.koldfront.dk> <87aaihlt0b.fsf_-_@gnus.org> <87mxmgu9ck.fsf@topper.koldfront.dk> <87zkqgjyvb.fsf@gnus.org> <87fws7phmq.fsf@topper.koldfront.dk> <87r5bpb035.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1296756120 18019 80.91.229.12 (3 Feb 2011 18:02:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2011 18:02:00 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24643@lists.math.uh.edu Thu Feb 03 19:01:56 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pl3VD-0007Hf-TS for ding-account@gmane.org; Thu, 03 Feb 2011 19:01:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pl3V0-0004tb-9C; Thu, 03 Feb 2011 12:01:42 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pl3Uy-0004tR-Oa for ding@lists.math.uh.edu; Thu, 03 Feb 2011 12:01:40 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pl3Ux-00017n-Ju for ding@lists.math.uh.edu; Thu, 03 Feb 2011 12:01:40 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pl3Uw-0005Mg-7l for ding@gnus.org; Thu, 03 Feb 2011 19:01:38 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pl3Uv-000789-IT for ding@gnus.org; Thu, 03 Feb 2011 19:01:37 +0100 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Feb 2011 19:01:37 +0100 Original-Received: from asjo by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Feb 2011 19:01:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 46 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org Mail-Copies-To: never X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76291 Archived-At: On Thu, 03 Feb 2011 07:37:50 -0800, Lars wrote: > asjo@koldfront.dk (Adam Sjøgren) writes: >> So, maybe gnus-get-unread-articles ought to also go through methods that >> don't have groups, after it has gatheres the methods with groups that >> need to be checked? > Yup. I've now pushed a code that does this. Let me know whether it > works or not. When I start Gnus now (647c1789), I see the logo and after a while I get: "Buffer is read-only: #" and Gnus stops. *Messages*_ show this: For information about GNU Emacs and the GNU system, type C-h C-a. Opening nnfolder server on archive...done Opening nnml server...done No new newsgroups Checking new news... Reading active file via nnnil... [2 times] gnus-active-to-gnus-format: Buffer is read-only: # I wonder what causes this. Let me try edebug-defun'ing gnus-active-to-gnus-format. Looks like the problem is that gnus-active-to-gnus-format is being called on the nnnil method, which fails. Let me try avoiding that... No, still fails with the same Buffer is read-only message. It goes through gnus-active-to-gnus-format fine for the nnfolder+archive method and the nnml method the first time, but then it gets called again where current-buffer is *GNU Emacs* and then it fails. Hm. Best regards, Adam -- "Här kommer rädslan, gamle vän Adam Sjøgren När alla fjärilar i magen vaknar upp asjo@koldfront.dk Viskar välkommen hem"