I downloaded the recent cvs version of gnus and put the relevant setting
in my .gnus file, namely
(setq gnus-registry-max-entries 2500
gnus-registry-use-long-group-names t)
(gnus-registry-initialize)
I tried then to set gnus-registry-set-article-Important-mark
in a nnimap folder but nothing happened.
My setting is
for gnus-summary-line-format
"%U%R%z%I%N %(%[ %-20,20n%]%) %-23,23~(form (rfc2047-decode-string (gnus-extra-header 'To)))@ %D %k %L %s
"
should this be changed.
If somebody, using xemacs, uses the registry function successfully I
would appreciate his/her help.
thanks
Uwe Brauer
UB> I downloaded the recent cvs version of gnus and put the relevant setting
UB> in my .gnus file, namely
UB> (setq gnus-registry-max-entries 2500
UB> gnus-registry-use-long-group-names t)
UB> (gnus-registry-initialize)
UB> I tried then to set gnus-registry-set-article-Important-mark
UB> in a nnimap folder but nothing happened.
UB> My setting is
UB> for gnus-summary-line-format
UB> "%U%R%z%I%N %(%[ %-20,20n%]%) %-23,23~(form (rfc2047-decode-string (gnus-extra-header 'To)))@ %D %k %L %s
UB> "
UB> should this be changed.
UB> If somebody, using xemacs, uses the registry function successfully I
UB> would appreciate his/her help.
Can you try (gnus-registry-get-article-marks) on the article after
setting the Important mark? It should return that mark; if it doesn't
it's a registry problem. If it does it's a summary format problem.
Ted
It returns
Marks are (Important)
So I conclude it is a summary format problem.
What should be the correct setting.
Uwe
>>>>>> "Ted" == Ted Zlatanov <t...@lifelogs.com> writes:
>> On Fri, 27 Nov 2009 19:07:31 +0100 Uwe Brauer <o...@mat.ucm.es> wrote:
UB> I tried then to set gnus-registry-set-article-Important-mark
UB> in a nnimap folder but nothing happened.
UB> My setting is
UB> for gnus-summary-line-format
UB> "%U%R%z%I%N %(%[ %-20,20n%]%) %-23,23~(form (rfc2047-decode-string (gnus-extra-header 'To)))@ %D %k %L %s
UB> "
UB> should this be changed.
UB> If somebody, using xemacs, uses the registry function successfully I
UB> would appreciate his/her help.
>> Can you try (gnus-registry-get-article-marks) on the article after
>> setting the Important mark? It should return that mark; if it doesn't
>> it's a registry problem. If it does it's a summary format problem.
UB> It returns
UB> Marks are (Important)
UB> So I conclude it is a summary format problem.
UB> What should be the correct setting.
I use:
(defalias 'gnus-user-format-function-M 'gnus-registry-user-format-function-M)
and then you can use %uM in your format. Mine uses "[%6uM]" to show up
to 6 registry marks.
Ted
> I use:
> (defalias 'gnus-user-format-function-M 'gnus-registry-user-format-function-M)
That was the solution, thanks very much, and as a matter of fact I even
do not need gnus-cvs ngus-0.11 works fine.
May I suggest to add some lines to the instructions. That was not
obvious at all, at least not for me!
I am just playing around with the format.
Is it possible or planned to have in addition to that labels also
different colors, the way thunderbird does this?
And of course the real cool feature would be if gnus and thunderbird
could share the same marks......:-D
THANKS very much for this very useful CODE.
Uwe
>>>>>> "Ted" == Ted Zlatanov <t...@lifelogs.com> writes:
>> I use:
>> (defalias 'gnus-user-format-function-M 'gnus-registry-user-format-function-M)
>> and then you can use %uM in your format. Mine uses "[%6uM]" to show up
>> to 6 registry marks.
UB> That was the solution, thanks very much, and as a matter of fact I even
UB> do not need gnus-cvs ngus-0.11 works fine.
UB> May I suggest to add some lines to the instructions. That was not
UB> obvious at all, at least not for me!
The registry needs real documentation, for sure. I haven't had the
chance to write it. If anyone wants to...
UB> Is it possible or planned to have in addition to that labels also
UB> different colors, the way thunderbird does this?
I don't know about the format lines, sorry. Maybe someone more
experienced with them can answer. I also would like to do icons for
those marks but don't know how that could work.
UB> And of course the real cool feature would be if gnus and thunderbird
UB> could share the same marks......:-D
Yeah, I don't think that would work currently. Depending on where
Thunderbird stores them, maybe it could happen. Are they custom IMAP
flags or stored in the message headers?
Ted