From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#60587: Patch for adding links to symbols' help documentation Date: Thu, 26 Jan 2023 15:12:02 +0000 Message-ID: <87edrhuy7x.fsf@localhost> References: <86y1qgr1bf.fsf@duenenhof-wilhelm.de> <86tu13qydg.fsf@duenenhof-wilhelm.de> <83h6x2u74b.fsf@gnu.org> <863588rfos.fsf@duenenhof-wilhelm.de> <83o7qw0yjy.fsf@gnu.org> <864jskx6a8.fsf@duenenhof-wilhelm.de> <831qnomh6l.fsf@gnu.org> <86wn5anw04.fsf@duenenhof-wilhelm.de> <874jsdwpvg.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5381"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "H. Dieter Wilhelm" , Eli Zaretskii , "60587@debbugs.gnu.org" <60587@debbugs.gnu.org>, "monnier@iro.umontreal.ca" To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 26 16:12:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pL3vH-00019p-1G for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Jan 2023 16:12:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pL3v2-0002Yo-5s; Thu, 26 Jan 2023 10:12:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL3v1-0002YI-92 for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 10:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pL3v0-0005iA-Um for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 10:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pL3v0-000093-DR for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 10:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jan 2023 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60587-submit@debbugs.gnu.org id=B60587.1674745902531 (code B ref 60587); Thu, 26 Jan 2023 15:12:02 +0000 Original-Received: (at 60587) by debbugs.gnu.org; 26 Jan 2023 15:11:42 +0000 Original-Received: from localhost ([127.0.0.1]:35897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL3ug-00008V-Iv for submit@debbugs.gnu.org; Thu, 26 Jan 2023 10:11:42 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:33331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL3uf-00008F-B7 for 60587@debbugs.gnu.org; Thu, 26 Jan 2023 10:11:41 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 75C57240050 for <60587@debbugs.gnu.org>; Thu, 26 Jan 2023 16:11:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674745895; bh=NjDpzq3cdNJ8+pVwDW4+SmjrcdxLzvRxbbyL5goXSOg=; h=From:To:Cc:Subject:Date:From; b=gv33RRI1jHMxPOL5308gFOwoxd3jRqAOuzwhweHEcfPmqTj0CKsZXAQOp5U2Z3BZe 55J9ACRSaehsT2gf5nIciKvnVsa0WDH7wqRMQmD9HBMdYFGg94xNJ5zKh0JNnAfuNM Rsg5/ngnIPOK8ESEtMbLZYiAAMdEZ1dkGpdyeocc18k+dzVNR67roazN73qbcxVe0r aYLpujmwaBQXodC5Z/Q/2QZQNo37EysI+K12tOkzETAYSnfFUnzVSHQD4KipHO93K6 rEaFDQR6QFYKMbbsVHaLwIe9rFxNUUMd+oUIT6F0WPEL6YY+mAMwTuV3pHo+XrFzcn H8WknQ2h1OG0w== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P2kgn20Jsz9rxB; Thu, 26 Jan 2023 16:11:33 +0100 (CET) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254207 Archived-At: Drew Adams writes: >> > 2. Instead of putting it on the hook when loading >> > the code, add/remove it in a :set function. E.g. >> > (untested):... >> > >> > 3. Maybe add a toggle command for the option, so >> > users can switch the behavior anytime, on the fly. >> >> What about using `add-variable-watcher'? > > Did you mean for #2: when/where to add the function > to the hook? Or did you mean use a watcher instead > of #3, a toggle command? Both. Rather than searching for a dedicated "toggle" command, setting the variable with then trigger the hook addition/removal. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at