From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Daniel Dehennin <daniel.dehennin@baby-gnu.org>
Cc: ding@gnus.org
Subject: Re: Extending 'gnus-parameters usage
Date: Sat, 10 Mar 2012 02:21:56 +0100 [thread overview]
Message-ID: <m37gytl07f.fsf@stories.gnus.org> (raw)
In-Reply-To: <878vk9xq8j.fsf@hati.baby-gnu.org>
Daniel Dehennin <daniel.dehennin@baby-gnu.org> writes:
> I think it's dirty, I post here to propose the idea and hope for a clean
> solution.
>
> I do not like the group parameter customization from the group buffer,
> I maintain my configuration in a git repository and would like to follow
> any changes to my groups configuration.
>
> So I define a 'my-gnus-group-split-prepare-parameters function to merge
> 'gnus-parameters and 'newsrc-alist.
Well, we could add a `gnus-parameter-function' variable to be plugged in
here that would take a group name and return the group parameters.
(dolist (info newsrc)
(let ((group (gnus-info-group info))
(params (gnus-info-params info)))
;; For all GROUPs that match the specified GROUPS
That should allow for great flexibility for the user to choose where the
parameters come from...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
prev parent reply other threads:[~2012-03-10 1:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-11 16:57 Daniel Dehennin
2012-03-10 1:21 ` Lars Magne Ingebrigtsen [this message]
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=m37gytl07f.fsf@stories.gnus.org \
--to=larsi@gnus.org \
--cc=daniel.dehennin@baby-gnu.org \
--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).