From: Stephen Berman <stephen.berman@gmx.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 46731@debbugs.gnu.org, "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Subject: bug#46731: Clicking on filename in *Help* now just leaves us at the top of the file
Date: Wed, 24 Feb 2021 21:58:53 +0100 [thread overview]
Message-ID: <877dmxqj1u.fsf@rub.de> (raw)
In-Reply-To: <8735xl8lyk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 24 Feb 2021 17:33:23 +0100")
On Wed, 24 Feb 2021 17:33:23 +0100 Lars Ingebrigtsen <larsi@gnus.org> wrote:
> 積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
>
>> In the *Help* buffer we see:
>>
>> gnus-article-treat-non-ascii is an interactive Lisp function in
>> `gnus-art.el'.
>>
>> (gnus-article-treat-non-ascii &optional INTERACTIVE &rest ARGS)
>>
>> Translate many Unicode characters into their ASCII equivalents.
>>
>> OK, we press RETURN on that glowing filename, and instead of whisking us
>> to the location of the function in that file, we are simply dropped off
>> at the beginning of the file, "and then our taxi speeds away, leaving
>> us to hunt for the address ourselves."
>
> Works for me in Emacs 28. Closing.
Does it really work for you? Grepping the lisp/gnus directory for
gnus-article-treat-non-ascii finds only these:
./gnus-sum.el:2218: "U" gnus-article-treat-non-ascii
./gnus-sum.el:2543: ["Non-ASCII" gnus-article-treat-non-ascii t]
There is a defun article-treat-non-ascii and `C-h f
article-treat-non-ascii' contains a link to that, but `C-h f
gnus-article-treat-non-ascii' does not. I guess that's because of this:
(eval-and-compile
(mapc
(lambda (func)
(let (afunc gfunc)
(if (consp func)
(setq afunc (car func)
gfunc (cdr func))
(setq afunc func
gfunc (intern (format "gnus-%s" func))))
(defalias gfunc
(when (fboundp afunc)
`(lambda (&optional interactive &rest args)
,(documentation afunc t)
(interactive (list t))
(with-current-buffer gnus-article-buffer
(if interactive
(call-interactively ',afunc)
(apply #',afunc args))))))))
'(article-hide-headers
[...]
article-treat-non-ascii
article-normalize-headers)))
Or has there been a recent change that makes the link in the *Help*
buffer displayed by `C-h f gnus-article-treat-non-ascii' actually go to
the defun of article-treat-non-ascii?
Steve Berman
next prev parent reply other threads:[~2021-02-24 20:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-23 12:43 bug#46731: Clicking on filename in *Help* now just leaves us at the top of the file 積丹尼 Dan Jacobson
2021-02-24 16:33 ` Lars Ingebrigtsen
2021-02-24 20:58 ` Stephen Berman [this message]
2021-02-24 21:04 ` Lars Ingebrigtsen
2021-02-24 21:57 ` Stephen Berman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dmxqj1u.fsf@rub.de \
--to=stephen.berman@gmx.net \
--cc=46731@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
--cc=larsi@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).