From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63786 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-registry: alist-to-hashtable, hashtable-to-alist Date: Fri, 29 Sep 2006 00:03:00 +0800 Organization: eqiao.com Message-ID: References: <4n3cn9i6kq.fsf@lockgroove.bwh.harvard.edu> <4nznopxxn5.fsf@lockgroove.bwh.harvard.edu> <4nbs11wv0q.fsf@chubby.bwh.harvard.edu> <87u1etsjil.fsf@eris.void.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1159459997 26396 80.91.229.2 (28 Sep 2006 16:13:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Sep 2006 16:13:17 +0000 (UTC) Original-X-From: ding-owner+m12313@lists.math.uh.edu Thu Sep 28 18:13:13 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GSyUR-0001oQ-08 for ding-account@gmane.org; Thu, 28 Sep 2006 18:11:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GSyUB-0004wV-00; Thu, 28 Sep 2006 11:11:43 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GSyMP-0004w0-00 for ding@lists.math.uh.edu; Thu, 28 Sep 2006 11:03:41 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by mx1.math.uh.edu with esmtp (Exim 4.52) id 1GSyMM-0005Ng-Uq for ding@lists.math.uh.edu; Thu, 28 Sep 2006 11:03:41 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GSyMK-0005r5-00 for ; Thu, 28 Sep 2006 18:03:36 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GSyM9-0007mr-CZ for ding@gnus.org; Thu, 28 Sep 2006 18:03:26 +0200 Original-Received: from 222.95.227.48 ([222.95.227.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Sep 2006 18:03:25 +0200 Original-Received: from chenggao by 222.95.227.48 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Sep 2006 18:03:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 222.95.227.48 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (darwin) Cancel-Lock: sha1:28v9APH8I0TSCxzHl5P5bdZJlik= X-Spam-Score: -1.1 (-) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63786 Archived-At: I trust Gnus hashtb<->alist conversion functions have no problem. I suspected function gnus-gnus-to-quick-newsrc-format is the culprit. As Handa said, # (blah blah ...) is representation of string with text properties. I had a test by removing all # and leave "0 40 (auto-composed nil)", and gnus registry works. In gnus-start.el function gnus-gnus-to-quick-newsrc-format line 2841 ,---- | (print-readably t) `---- I juct checked. At least in my Emacs 23 (06-9-15 cvs), variable print-readably does not exist. I nearly damaged my brain by reading code of prin1/princ/print. At last I think gnus-gnus-to-quick-newsrc-format should be ok. It does what it should do, even the result is bad. A silly question: If an entry in gnus-reristry-alist carries text-property, prin1 will print it as string and use # as quoting character. Is it right? If so, I think we need check all puthash (to gnus-registry-hashtb) in gnus-registry.el for unremoved text property. My knowledge is not adquate for real useful finding. Wish what I found can be a little useful to you.