From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76294 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:29:26 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <878vxxynsp.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> <87ei7pyp3d.fsf@topper.koldfront.dk> 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 1296757815 28606 80.91.229.12 (3 Feb 2011 18:30:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2011 18:30:15 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24646@lists.math.uh.edu Thu Feb 03 19:30:12 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 1Pl3wY-0007x0-NZ for ding-account@gmane.org; Thu, 03 Feb 2011 19:30:11 +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 1Pl3wW-00055W-QA; Thu, 03 Feb 2011 12:30:08 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pl3wV-00055P-Sy for ding@lists.math.uh.edu; Thu, 03 Feb 2011 12:30:07 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pl3wU-00013k-Qv for ding@lists.math.uh.edu; Thu, 03 Feb 2011 12:30:07 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pl3wU-0005rE-3i for ding@gnus.org; Thu, 03 Feb 2011 19:30:06 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pl3wS-0007sf-Vx for ding@gnus.org; Thu, 03 Feb 2011 19:30:04 +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:30:04 +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:30:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 32 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:76294 Archived-At: On Thu, 03 Feb 2011 19:01:26 +0100, Adam wrote: > When I start Gnus now (647c1789), I see the logo and after a while I > get: "Buffer is read-only: #" and Gnus stops. This fixes it: --- a/lisp/gnus-start.el +++ b/lisp/gnus-start.el @@ -1711,7 +1711,8 @@ If SCAN, request a scan of that group as well." gnus-secondary-select-methods)) (when (and (not (assoc method type-cache)) (gnus-check-backend-function 'request-list (car method))) - (gnus-read-active-file-1 method nil))) + (with-current-buffer nntp-server-buffer + (gnus-read-active-file-1 method nil)))) ;; Do the rest of the retrieval. (dolist (elem type-cache) I hope it is correct. 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"