From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88244 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Fixed bug with custom marks in registry Date: Fri, 16 Nov 2018 16:32:49 -0800 Message-ID: <87wopch7bi.fsf@ericabrahamsen.net> References: <87efcw1gsn.fsf@ericabrahamsen.net> <87muqn6n60.fsf@web.de> <87sh0ewxqs.fsf@ericabrahamsen.net> <87o9b1ixwp.fsf@web.de> <871s7xwkgv.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542414707 29359 195.159.176.226 (17 Nov 2018 00:31:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2018 00:31:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M36454@lists.math.uh.edu Sat Nov 17 01:31:43 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNoWU-0007Wu-Ka for ding-account@gmane.org; Sat, 17 Nov 2018 01:31:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.90_1) (envelope-from ) id 1gNoXv-0001ty-6j; Fri, 16 Nov 2018 18:33:11 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gNoXl-0001r9-Mt for ding@lists.math.uh.edu; Fri, 16 Nov 2018 18:33:01 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1gNoXk-0002Ao-6a for ding@lists.math.uh.edu; Fri, 16 Nov 2018 18:33:01 -0600 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNoXi-0002zo-Vw for ding@gnus.org; Sat, 17 Nov 2018 01:32:58 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gNoVb-0006XV-1e for ding@gnus.org; Sat, 17 Nov 2018 01:30:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:VhBJOKvjfwIhu7iTfhbqM4sidVA= X-Spam-Score: -1.1 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88244 Archived-At: Eric Abrahamsen writes: > Michael Heerdegen writes: > >> Eric Abrahamsen writes: >> >>> TBH I hadn't even looked into this part of the code before you brought >>> it up last time, so I'm not really ahead of you in this game. I think in >>> principle it would be nice to have a higher-level, more user-friendly >>> way of adjusting this behavior. I could certainly imagine using an >>> option that let me say "always display any message that has registry >>> keys marked "precious"". >> >> Yeah, something like that would be nice. > > I'll put that on the list of things to consider! Right now the thing that makes the most sense to me is: 1. Make a new group parameter that matches the "display" parameter that you can set for individual groups. Ie, we'd have a `gnus-parameter-display-alist' variable. 2. Allow that parameter to take more than just a number to display: it should be a list, and allow pre-set symbols (like 'registry-marked, 'registry-precious), and maybe functions? I haven't thought it all the way through. 3. Consult that parameter when constructing Summary buffers. How's that sound? Eric