* annoying breaks in the gnus registry file
@ 2005-05-11 15:51 Ted Zlatanov
2006-04-14 13:53 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Ted Zlatanov @ 2005-05-11 15:51 UTC (permalink / raw)
Occasionally I'll save this to the Gnus registry file, which breaks it:
("<200505101018.j4AAIDsw021967@relay9.bu.edu>" ((mtime 17024 47890 802976) (process (spam spam-use-move "nnimap+lifelogs.com:INBOX.spam")) (sender . "<preprogrammed@ctlnet.com>") (subject . #
("Нет \xc3\x90\xc2\xb2ысшего обр\xc3\x90\xc2\xb0зовани\xc3\x91 =?utf-8?q?=8F? =D0=9C=D1=8B =D0?= \xc2\xbfоможем Вам" 0 4 nil 4 6 (display "\\320" help-echo utf-8-help-echo untranslated-utf-8 208) 6 8 (display "\\262" help-echo utf-8-help-echo untranslated-utf-8 178) 8 11 nil 11 15 nil 15 18 nil 18 20 (display "\\320" help-echo utf-8-help-echo untranslated-utf-8 208) 20 22 (display "\\260" help-echo utf-8-help-echo untranslated-utf-8 176) 22 25 nil 25 28 nil 28 30 (display "\\321" help-echo utf-8-help-echo untranslated-utf-8 209) 30 65 nil 65 67 (display "\\277" help-echo utf-8-help-echo untranslated-utf-8 191) 67 70 nil 70 74 nil 74 77 nil))))
The question is, how can I transform the text above into something
that gnus-gnus-to-quick-newsrc-format can save reliably? I use that
function thus:
(gnus-gnus-to-quick-newsrc-format t "gnus registry startup file" 'gnus-registry-alist)
so I don't have to write my own, but it breaks often with such spam
subjects, and then Gnus won't start. So I want to transform the text
before I hand it over to that function.
Ted
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: annoying breaks in the gnus registry file
2005-05-11 15:51 annoying breaks in the gnus registry file Ted Zlatanov
@ 2006-04-14 13:53 ` Lars Magne Ingebrigtsen
2006-04-18 21:08 ` Ted Zlatanov
0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2006-04-14 13:53 UTC (permalink / raw)
"Ted Zlatanov" <tzz@lifelogs.com> writes:
> Occasionally I'll save this to the Gnus registry file, which breaks it:
>
> ("<200505101018.j4AAIDsw021967@relay9.bu.edu>" ((mtime 17024 47890 802976) (process (spam spam-use-move "nnimap+lifelogs.com:INBOX.spam")) (sender . "<preprogrammed@ctlnet.com>") (subject . #
> ("Нет \xc3\x90\xc2\xb2ысшего обр\xc3\x90\xc2\xb0зовани\xc3\x91 =?utf-8?q?=8F? =D0=9C=D1=8B =D0?= \xc2\xbfоможем Вам" 0 4 nil 4 6 (display "\\320" help-echo utf-8-help-echo untranslated-utf-8 208) 6 8
[...]
> So I want to transform the text
> before I hand it over to that function.
I think the problem is text properties. Try running the strings
through `remove-text-properties' before putting them into the list.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: annoying breaks in the gnus registry file
2006-04-14 13:53 ` Lars Magne Ingebrigtsen
@ 2006-04-18 21:08 ` Ted Zlatanov
2006-04-21 23:50 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Ted Zlatanov @ 2006-04-18 21:08 UTC (permalink / raw)
On 14 Apr 2006, larsi@gnus.org wrote:
> "Ted Zlatanov" <tzz@lifelogs.com> writes:
>
>> Occasionally I'll save this to the Gnus registry file, which breaks it:
>>
>> ("<200505101018.j4AAIDsw021967@relay9.bu.edu>" ((mtime 17024 47890 802976)
>> (process (spam spam-use-move "nnimap+lifelogs.com:INBOX.spam"))
>> (sender . "<preprogrammed@ctlnet.com>") (subject . #
>> ("Нет \xc3\x90\xc2\xb2ысшего обр\xc3\x90\xc2\xb0зовани\xc3\x91 =?utf-8?q?=8F? =D0=9C=D1=8B =D0?= \xc2\xbfоможем Вам" 0 4 nil 4 6 (display "\\320" help-echo utf-8-help-echo untranslated-utf-8 208) 6 8
>
> [...]
>
>> So I want to transform the text
>> before I hand it over to that function.
>
> I think the problem is text properties. Try running the strings
> through `remove-text-properties' before putting them into the list.
I fixed that when saving via the temp buffer. It's harder to do it in
the other case - can I modify the gnus-with-output-to-file function?
Ted
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: annoying breaks in the gnus registry file
2006-04-18 21:08 ` Ted Zlatanov
@ 2006-04-21 23:50 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2006-04-21 23:50 UTC (permalink / raw)
"Ted Zlatanov" <tzz@lifelogs.com> writes:
> I fixed that when saving via the temp buffer. It's harder to do it in
> the other case - can I modify the gnus-with-output-to-file function?
Sure.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-04-21 23:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-11 15:51 annoying breaks in the gnus registry file Ted Zlatanov
2006-04-14 13:53 ` Lars Magne Ingebrigtsen
2006-04-18 21:08 ` Ted Zlatanov
2006-04-21 23:50 ` Lars Magne Ingebrigtsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).