From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#71815: 31.0.50; Links to minor mode variables bring to minor mode (the function) Date: Fri, 28 Jun 2024 10:19:02 +0000 Message-ID: References: <871q4hvber.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22028"; mail-complaints-to="usenet@ciao.gmane.io" To: Thierry Volpiatto , 71815-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 28 12:21:32 2024 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 1sN8jT-0005Sc-G6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Jun 2024 12:21:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sN8j2-0000zz-9t; Fri, 28 Jun 2024 06:21:04 -0400 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 1sN8j1-0000zX-0J for bug-gnu-emacs@gnu.org; Fri, 28 Jun 2024 06:21:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sN8j0-0002pq-Na for bug-gnu-emacs@gnu.org; Fri, 28 Jun 2024 06:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sN8j0-00043M-J4 for bug-gnu-emacs@gnu.org; Fri, 28 Jun 2024 06:21:02 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Jun 2024 10:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71815 X-GNU-PR-Package: emacs Mail-Followup-To: 71815@debbugs.gnu.org, stefankangas@gmail.com, thievol@posteo.net Original-Received: via spool by 71815-done@debbugs.gnu.org id=D71815.171957001115495 (code D ref 71815); Fri, 28 Jun 2024 10:21:02 +0000 Original-Received: (at 71815-done) by debbugs.gnu.org; 28 Jun 2024 10:20:11 +0000 Original-Received: from localhost ([127.0.0.1]:44747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sN8iA-00041q-TD for submit@debbugs.gnu.org; Fri, 28 Jun 2024 06:20:11 -0400 Original-Received: from mail-ed1-f50.google.com ([209.85.208.50]:56729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sN8i9-00041e-2E for 71815-done@debbugs.gnu.org; Fri, 28 Jun 2024 06:20:09 -0400 Original-Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-57cd26347d3so537217a12.1 for <71815-done@debbugs.gnu.org>; Fri, 28 Jun 2024 03:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719569943; x=1720174743; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=8j5lMGGY/XEZ2qOmkONlKZRvrrUHtJQGhZ3qOrYkqRs=; b=YStgbG/F+gsf41qmA2XiABUqhkUsXDF/m4kkekxhXy0Y64QmmHb3umOsc2SHXoBL7P cQamyuHbWppXQk8jLl+pwIkYKG0e7h/kcp/vb/zlUSozs5Yf1fR5WaSbV6sykfjt5J0i Hd0Mya1dEnBa3+28SSWBwKG4Imj0VOEDWU5AqIVq7dr44GmIYA4j4ZMIpMh/FOBsSEEN hCQogAkgnjvu2N3EVo0YwnGU7gB2Q3yEXQ4Vr0aBCxb2PqmbxGvckdFhWQjsDV/NQwo4 Jf/906y+OTYhBPoNAw65S8FkmCfA6WFDiPWzmUPLrk+Av+iJ5l+QBfP3uRzo093SJK4k n1mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719569943; x=1720174743; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8j5lMGGY/XEZ2qOmkONlKZRvrrUHtJQGhZ3qOrYkqRs=; b=B935lnOlVJHbLF4/l+VQEkP4yNV602yDgv423I6Wjyh6SN53dt4Tnrin2xJZ1sjWly CxCG62Ww6tKUXX1LYg7BQfvb9a+x5vCTnkQUgw7Pc3+RiQCIX9dmwEb2QityeaYBV1Lf BN0a5uHkKSOPEr1xW/83xjfGAAy+t12yxnMyVZBCpEJvTL/LvQKwv1zt16Hg56yT4qSw IfE72dHZrtFRRMGarnoX+n61rHiWP7wpd4Zr49QnswhSHxK4XPtPOownDeTgsQwAnQbj 1slpzKj72nMwnxMcs+Lil2xF350e1aU70+6Uwdm60UyNd+P5+cpNZc269CdmOD5/COBy 4gpg== X-Forwarded-Encrypted: i=1; AJvYcCXQ6ukuDT2776p7e+KvAO/sH5Y/cA+AVC8ouQ0ya9eJEy+9EMVCncc3Z6gczgU77c49dhkoA/BD606lRHCRlkJc1TsdNn1EoCTONg== X-Gm-Message-State: AOJu0YyzYPrO1GLBhESikp7gieUZ9lG+wjLXP02AjnNfAtO2FZShnHwR WIFhb5UNu8BV7Qn3cMjj1VvU8R5V4OXgh71dVQGvYoB7HvnSsOqT5MwB/Yo87/HgqENaJuFl8o7 89OQhEZpRRZxnV16p0XaljKwruGo= X-Google-Smtp-Source: AGHT+IEJ+liHSYOPM+wt+nDX0iVKsCVPszQne66ay/s8T5kaYkFaVm+mCu201IOl4Bn3su9dOni27ILL3JVoJGILJiw= X-Received: by 2002:a50:cc9c:0:b0:582:c470:644b with SMTP id 4fb4d7f45d1cf-582c4706715mr5401391a12.41.1719569943022; Fri, 28 Jun 2024 03:19:03 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 28 Jun 2024 10:19:02 +0000 In-Reply-To: <871q4hvber.fsf@posteo.net> 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:288060 Archived-At: Version: 30.1 Thierry Volpiatto writes: > When a minor-mode docstring doesn't specify what ARG does, a generic > mode is added to this docstring, this additional docstring is specified > in `easy-mmode--arg-docstring` and contains this sentence: > > --8<---------------cut here---------------start------------->8--- > To check whether the minor mode is enabled in the current buffer, > evaluate `%s'. > --8<---------------cut here---------------end--------------->8--- > > When hitting RET on this link to the mode variable from the docstring, > the link brings back to this same docstring i.e. the function. > > For example try C-h f bug-reference-mode and hit RET on the link to > `bug-reference-mode', it bring back to this same docstring. > > A possible fix is specifying the word "variable" before the link in > `easy-mmode--arg-docstring`: > > @@ -94 +94 @@ > -evaluate `%s'. > +evaluate the variable `%s'. Thanks, fixed on emacs-30.