Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: gnus-group-change-level-function could be a hook
Date: Fri, 19 Jul 2019 12:19:18 -0700	[thread overview]
Message-ID: <87y30t6de1.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87r26l97rb.fsf@dick.i-did-not-set--mail-host-address--so-tickle-me>

dick.r.chiang@gmail.com writes:

> gnus-topic-mode overrides my setting of gnus-group-change-level-function.
> It'd be nice to have it be a hook.

Much of the topic functionality comes from overriding local variables to
use topic-specific functions. I think it would be a heck of a lot of
work to switch all those to hooks; I'm not even sure it would be
possible. Could you re-set that variable in the `gnus-topic-mode-hook'?
You'd have to make sure your function more or less replicated what the
topic-specific function was doing...




      reply	other threads:[~2019-07-19 19:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-19 18:52 dick.r.chiang
2019-07-19 19:19 ` Eric Abrahamsen [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=87y30t6de1.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).