Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: gnus-registry flags API
Date: Thu, 28 Feb 2008 21:04:04 +0100	[thread overview]
Message-ID: <v93arcj1aj.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <86skzdnmh2.fsf@lifelogs.com>

On Thu, Feb 28 2008, Ted Zlatanov wrote:

> On Sat, 16 Feb 2008 21:26:36 +0100 Reiner Steib <reinersteib+gmane@imap.cc> wrote: 
> RS> Can we have multiple registry marks for a single article?  If not, we
> RS> may either display all strings/images or add a plus sign.
>
> Yes, multiples are allowed.  That's what makes it tricky to display
> them, so I haven't done it yet :)
>
> Maybe reserve 4 characters, 

Or just use the number from the format specifier, if feasible.

> and if more than 4 labels are set, show the first 3 and then '+'.
> In the modeline or in the article buffer with a post-processing
> function we can show them all.  I don't know much about this area of
> Gnus, especially image display, sorry.

Me neither.  But I'd guess we can do it like in
`gnus-mode-line-buffer-identification' (`add-text-properties') or
`gnus-picon-transform-address' (`propertize').

E.g. try this in *scratch* (while running Gnus):

(add-text-properties 4 5
		     (list 'display gnus-mode-line-image-cache
			   'help-echo "To do")
		     (current-buffer))

> RS> Maybe use `M m' or `M M' as prefix command?  (e.g. `M M t' for "To
> RS> do", ...)
>
> Sounds OK to me.  The keys can come from the alist of summary line
> indicators above, so they'll make sense in conjunction to the user.

Good idea.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2008-02-28 20:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25 16:26 Ted Zlatanov
2007-09-25 19:58 ` Bastien
2007-09-25 23:40 ` Leo
2007-12-19  1:22 ` Ted Zlatanov
2008-01-03 17:10   ` Reiner Steib
2008-01-03 17:55     ` Ted Zlatanov
2008-01-04 17:43       ` Reiner Steib
2008-01-15 21:56         ` Ted Zlatanov
2008-01-16 21:52           ` Ted Zlatanov
2008-02-06 17:17             ` Ted Zlatanov
2008-02-16 20:26               ` Reiner Steib
2008-02-28 15:12                 ` Ted Zlatanov
2008-02-28 20:04                   ` Reiner Steib [this message]
2008-02-29 23:19                     ` Ted Zlatanov
2008-03-04 22:43                     ` Ted Zlatanov
2008-03-05 19:00                       ` Ted Zlatanov
2008-03-06 21:50                         ` 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=v93arcj1aj.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.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).