From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63780 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: [BUG]Under Emacs 23, Gnus writes text properties to registry file Date: Wed, 27 Sep 2006 13:46:41 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1159379614 1229 80.91.229.2 (27 Sep 2006 17:53:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Sep 2006 17:53:34 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m12306@lists.math.uh.edu Wed Sep 27 19:53:23 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 1GSdZk-0005Fw-8h for ding-account@gmane.org; Wed, 27 Sep 2006 19:52:05 +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 1GSdZb-000224-00; Wed, 27 Sep 2006 12:51:55 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GSdVR-00021z-00 for ding@lists.math.uh.edu; Wed, 27 Sep 2006 12:47:37 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1GSdVN-0004yX-J3 for ding@lists.math.uh.edu; Wed, 27 Sep 2006 12:47:37 -0500 Original-Received: from fw01.cmbrmaks.akamai.com ([80.67.64.10] helo=smtp1.akamai.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GSdV9-0005xK-00 for ; Wed, 27 Sep 2006 19:47:19 +0200 Original-Received: from smtp2.akamai.com (vwall.kendall.corp.akamai.com [172.17.4.34]) by smtp1.akamai.com (8.13.8/8.12.10) with ESMTP id k8RHjvhG029179 for ; Wed, 27 Sep 2006 13:45:59 -0400 (EDT) Original-Received: from CN1374059D0130.kendall.corp.akamai.com (CN1374059D0130.kendall.corp.akamai.com [172.16.36.21]) by smtp2.akamai.com (8.13.8/8.12.10) with ESMTP id k8RHlOlt024750; Wed, 27 Sep 2006 13:47:27 -0400 (EDT) Original-To: CHENG Gao X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: CHENG Gao , ding@gnus.org In-Reply-To: (CHENG Gao's message of "Wed, 27 Sep 2006 13:37:25 +0800") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63780 Archived-At: On 27 Sep 2006, chenggao@gmail.com wrote: > and corrupted entry is like: > ("<01c6e1ea$3abc65a0$2101a8c0@benqpw2wydthqi>" ((process (spam spam-use-move > "nntp+news.gmane.org:gmane.emacs.cvs")) (mtime 17689 63689 625000)) > "nntp+news.gmane.org:gmane.emacs.cvs") > ("<2cd46e7f0609262059h652bf82ep64b2bfe56bf6da97@mail.gmail.com>" ((mtime 17689 63703 984000)) "nntp+news.gmane.org:gmane.emacs.devel") (# > ("" 0 39 (auto-composed nil)) ((mtime 17689 63703 984000)) "nntp+news.gmane.org:gmane.emacs.devel") (# > > Please notice "(#" at the line end, and " 0 39 (auto-composed nil)". > > Seems in gnus-registry.el, in function gnus-registry-cache-save, > ,---- > | (set-text-properties (point-min) (point-max) nil nil) > `---- > does not work right. Hi, I thought set-text-properties would solve this bug, when it's called on the whole buffer. I asked in the original newsgroup, and I'll ask here: does anyone know why the bug is not solved with set-text-properties? Do I need to call set-text-properties on every string before I put it in the buffer? Sorry for the trouble. Ted