From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66334 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-registry flags API Date: Sat, 16 Feb 2008 21:26:36 +0100 Message-ID: References: <861w9jeaw4.fsf@lifelogs.com> <86ve6avlnf.fsf@lifelogs.com> <86ir1u3g8b.fsf@lifelogs.com> <864pddzbdu.fsf@lifelogs.com> <86d4raats5.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 1203356235 22842 80.91.229.12 (18 Feb 2008 17:37:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2008 17:37:15 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14825@lists.math.uh.edu Mon Feb 18 18:37:39 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 1JR9vf-0005Jx-9N for ding-account@gmane.org; Mon, 18 Feb 2008 18:37:23 +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 1JR9uZ-00042X-Jh; Mon, 18 Feb 2008 11:36:15 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JR9uX-00042B-Q9 for ding@lists.math.uh.edu; Mon, 18 Feb 2008 11:36:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JR9uR-00057P-B7 for ding@lists.math.uh.edu; Mon, 18 Feb 2008 11:36:13 -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 1JR9uW-0007or-00 for ; Mon, 18 Feb 2008 18:36:12 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JR9uN-0004zQ-7i for ding@gnus.org; Mon, 18 Feb 2008 17:36:03 +0000 Original-Received: from p54a9f97f.dip.t-dialin.net ([84.169.249.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Feb 2008 17:36:03 +0000 Original-Received: from Reiner.Steib by p54a9f97f.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Feb 2008 17:36:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 86 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54a9f97f.dip.t-dialin.net X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.90 (gnu/linux) Cancel-Lock: sha1:OSKul40gt0W4Nr4y8C03vhpPrUM= X-Spam-Score: -2.1 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66334 Archived-At: On Wed, Feb 06 2008, Ted Zlatanov wrote: > On Wed, 16 Jan 2008 15:52:29 -0600 Ted Zlatanov wrote: > TZ> 1) do we push the registry on everyone? I think it should be optional. [...] > TZ> gnus-registry-trim will always keep articles with marks and any other > TZ> extra symbols you put in gnus-registry-extra-entries-precious. Good. > TZ> Please test and review if you have a chance. > > I haven't heard back about these questions, so: > > 1) > > Has anyone started using registry marks? I didn't, sorry. > Also a formatting function that shows them in the modeline would be > nice, but since there can be many flags and little space I'm not > sure what's the best way to display them. I'd expected them to show up in the summary buffer just like ticked, answered, etc. We could display a string or a small image (I never tried): '(("Important" "I" "summary_important") ("Work" "W" "summary_work") ("Personal" "P" "summary_personal") ("To do" "T" "summary_todo") ("Later" "L" "summary_later")) "Alist of regular expressions and summary line indicators." ("summary_*": images corresponding to the labels.) Can we have multiple registry marks for a single article? If not, we may either display all strings/images or add a plus sign. > Also, what keys should I bind to set custom flags in the group s/group/summary/ ? > and article buffers? Maybe use `M m' or `M M' as prefix command? (e.g. `M M t' for "To do", ...) > 2) > > If no one has objections, I'll set up the interactive query for registry > first-time use in gnus.el. There will be three values for > gnus-registry-enabled: > > nil: unknown, ask the user next time > t: enable > 'no-thanks: user doesn't want it > > Every user will have to answer it by default. Is that a bad idea? Yes. > What else can I do? I'd prefer an interface like `message-use-idna': :type '(choice (const :tag "Ask" ask) (const :tag "Never" nil) (const :tag "Always" t)) nil and t are clear, I think. When `ask', prompt the user to enable the registry when trying to set a mark (cf. the safe-local-variables interface). When the user allows, store gnus-registry-enabled = t in via customize. Is that feasible? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/