GNU bug report logs - #77354
30.1; `finder-commentary' could call `help-make-xrefs' to generate links

Previous Next

Package: emacs;

Reported by: Phil Sainty <psainty <at> orcon.net.nz>

Date: Sat, 29 Mar 2025 08:08:02 UTC

Severity: normal

Found in version 30.1

To reply to this bug, email your comments to 77354 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#77354; Package emacs. (Sat, 29 Mar 2025 08:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Phil Sainty <psainty <at> orcon.net.nz>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 29 Mar 2025 08:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Phil Sainty <psainty <at> orcon.net.nz>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.1; `finder-commentary' could call `help-make-xrefs' to generate
 links
Date: Sat, 29 Mar 2025 21:06:55 +1300
If `finder-commentary' calls `help-make-xrefs' then we'll get
buttons/links to the relevant Help and/or Info nodes in the
rendered Commentary, which would be a nice improvement.

Can anyone think of a reason not to do that?

Before Emacs 29.1 this was prevented by bug#41836 as the links
would not work outside of Help buffers; but that's been fixed,
and experimentally the idea seems to work as desired.

With that bug fixed, I was looking at making `so-long-commentary'
invoke `help-make-xrefs' (and changing how I'd formatted the info
node references to match), but I realised that I'd get the same
result if `finder-commentary' did it, and other finder uses would
benefit besides.

Shall we install this?:

modified   lisp/finder.el
@@ -388,6 +388,7 @@ finder-commentary
     (insert str)
     (goto-char (point-min))
     (package--describe-add-library-links)
+    (help-make-xrefs)
     (goto-char (point-min))
     (setq buffer-read-only t)
     (set-buffer-modified-p nil)


-Phil





This bug report was last modified 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.