Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: <emacsnews@aleblanc.cotse.net>
To: info-gnus-english@gnu.org
Subject: Re: registry marks in gnus 5.13
Date: Tue, 20 Jan 2009 21:48:54 +0000	[thread overview]
Message-ID: <87bpu1wsvt.fsf@it.com> (raw)
In-Reply-To: <86wscuhozk.fsf@lifelogs.com>

Hi Ted,
        that did the trick :) 
        thanks alot.
Regards,

Aleblanc

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Mon, 12 Jan 2009 17:05:05 +0000 <emacsnews@aleblanc.cotse.net> wrote: 
>
>> I am using gnus 5.13 with emacs 23.0.60.1 in Ubuntu Intrepid
>> I see no registry marks in my summary buffer.
>> I have the following lines in my .gnus.el file:
>
>> ;; gnus registry 
>> (setq gnus-registry-cache-file "~/.emacs.d/.gnus.registry.eld"
>>       gnus-registry-max-entries 25000
>>       gnus-registry-use-long-group-names t
>>       gnus-registry-install t)
>> (gnus-registry-initialize)
>
>> I have not changed the value of gnus-registry-marks which is:
>
>> ((Important :char 105 :image "summary_important")
>>  (Work :char 119 :image "summary_work")
>>  (Personal :char 112 :image "summary_personal")
>>  (To-Do :char 116 :image "summary_todo")
>>  (Later :char 108 :image "summary_later"))
>
>> I tried all the default registry marks, and checked with the
>> gnus-registry-get-article-marks function that the marks have indeed been
>> allocated.
>
>> I suspect it has something to do with the :image property, but this is
>> not documented in the info files.
>
> :image is for future expansion, we'll associate an image with each mark
> eventually (suggestions for images are welcome).  The :char is all that
> matters for now.  You can use any character.  I use:
>
> (setq gnus-registry-marks  
>       '((Important
>      :char ?ι
>      :image "summary_important")
>     (Work
>      :char ?ω
>      :image "summary_work")
>     (Personal
>      :char ?π
>      :image "summary_personal")
>     (To-Do
>      :char ?τ
>      :image "summary_todo")
>     (Later
>      :char ?λ
>      :image "summary_later")))
>
> I display marks like this:
>
> gnus-summary-line-format is a variable defined in `gnus.el'.
> Its value is 
> "%U%R %10&user-date; $%6uS [%6uM] %6k  %B %(%4L: %*%-25,25a%) %s \n"
>
> (the "[%6uM]" part is what matters)
>
> I set up the M user format like this:
>
> (defalias 'gnus-user-format-function-M 'gnus-registry-user-format-function-M)
>
> Let me know if you still have trouble.
>
> Ted

-- 

  reply	other threads:[~2009-01-20 21:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 17:05 emacsnews
2009-01-16 22:20 ` Ted Zlatanov
2009-01-20 21:48   ` emacsnews [this message]
2009-01-21 21:48     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpu1wsvt.fsf@it.com \
    --to=emacsnews@aleblanc.cotse.net \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).