From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66393 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-registry flags API Date: Thu, 28 Feb 2008 21:04:04 +0100 Message-ID: References: <861w9jeaw4.fsf@lifelogs.com> <86ve6avlnf.fsf@lifelogs.com> <86ir1u3g8b.fsf@lifelogs.com> <864pddzbdu.fsf@lifelogs.com> <86d4raats5.fsf@lifelogs.com> <86skzdnmh2.fsf@lifelogs.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204231236 789 80.91.229.12 (28 Feb 2008 20:40:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 20:40:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14885@lists.math.uh.edu Thu Feb 28 21:41:02 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JUpYp-0006tr-Ma for ding-account@gmane.org; Thu, 28 Feb 2008 21:41:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JUpXm-0001mm-42; Thu, 28 Feb 2008 14:39:54 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JUpXk-0001mL-FF for ding@lists.math.uh.edu; Thu, 28 Feb 2008 14:39:52 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JUpXd-0000Fv-AQ for ding@lists.math.uh.edu; Thu, 28 Feb 2008 14:39:52 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JUpXg-0001fm-00 for ; Thu, 28 Feb 2008 21:39:48 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JUpXW-0001Np-Ue for ding@gnus.org; Thu, 28 Feb 2008 20:39:39 +0000 Original-Received: from p54a97689.dip.t-dialin.net ([84.169.118.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Feb 2008 20:39:38 +0000 Original-Received: from Reiner.Steib by p54a97689.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Feb 2008 20:39:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54a97689.dip.t-dialin.net X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY;Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m,tWj]&},qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi,+g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ Mail-Copies-To: nobody User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.90 (gnu/linux) Cancel-Lock: sha1:vxFoMwlC5BXyfgsJP+B5O1RNlXg= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66393 Archived-At: On Thu, Feb 28 2008, Ted Zlatanov wrote: > On Sat, 16 Feb 2008 21:26:36 +0100 Reiner Steib 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/