From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88676 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-group-change-level-function could be a hook Date: Fri, 19 Jul 2019 12:19:18 -0700 Message-ID: <87y30t6de1.fsf@ericabrahamsen.net> References: <87r26l97rb.fsf@dick.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="16460"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M36880@lists.math.uh.edu Fri Jul 19 21:19:59 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hoYQA-00046y-BE for ding-account@gmane.org; Fri, 19 Jul 2019 21:19:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92) (envelope-from ) id 1hoYQ5-0006gv-BH; Fri, 19 Jul 2019 14:19:53 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hoYQ0-0006e7-Il for ding@lists.math.uh.edu; Fri, 19 Jul 2019 14:19:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hoYPz-0003Qn-DE for ding@lists.math.uh.edu; Fri, 19 Jul 2019 14:19:48 -0500 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226] helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hoYPw-0003P9-7w for ding@gnus.org; Fri, 19 Jul 2019 21:19:46 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hoYPv-0003pw-DF for ding@gnus.org; Fri, 19 Jul 2019 21:19:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:GWCo1k5oMdpXFd0dbYq6KG55cdI= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88676 Archived-At: 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...