emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug]Malformed -*- line


From: Kenichi Handa
Subject: Re: [bug]Malformed -*- line
Date: Wed, 27 Sep 2006 10:59:13 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, CHENG Gao <address@hidden> writes:

> I trust I found where the problem is, though I dont understand too much.
> First I need explain something about Gnus registry.

> Gnus registry is used to record spam messages. It records entries till
> the number reachs gnus-registry-max-entries. I set it to 2500.

> Once gnus-registry-max-entries is reached, it'll trim entries to
> max.

> As show in my previous message, item like:

> (#
> ("<address@hidden>" 0 40 (auto-composed nil))
> ((mtime 17689 12640 42339))
> "nntp+news.gmane.org:gmane.comp.version-control.arch.user")

> is result of ill-treatment of registry entry.

Does the above line appear in your file literally?  If so,
there's a possibility that Gnus wrongly filled that line
before saving.  If that line is actually like this (long one
line):

(#("<address@hidden>" 0 40 (auto-composed nil)) ((mtime 17689 12640 42339)) 
"nntp+news.gmane.org:gmane.comp.version-control.arch.user")

at least it is a valid s-expression that Emacs can read as a list.

And, you wrote:

> I do have problem with gnus registry. From time to time some "($" were
> written into .gnus.registry.eld. At last I have to disable gnus
> registry. Just I can not track to where the problem is.

Isn't that "($" a mistype of "(#" or "#("?

Anyway, the form #("..." POS1 POS2 (PROPNAME VALUE ... ...))
is a printed representation of a string that has text
property.  I think Gnus should remove those text properties
before saving.  Although that `auto-composed' text property
is a new one in Emacs 23, existing of text property should
not break a code.

---
Kenichi Handa
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]