GNU bug report logs -
#68088
[PATCH] Fix incorrect docstring link in default-directory
Previous Next
Reported by: Matt <matt <at> excalamus.com>
Date: Thu, 28 Dec 2023 18:26:01 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 28 Dec 2023 21:48:33 +0200
with message-id <83bkaa6rce.fsf <at> gnu.org>
and subject line Re: bug#68088: [PATCH] Fix incorrect docstring link in default-directory
has caused the debbugs.gnu.org bug report #68088,
regarding [PATCH] Fix incorrect docstring link in default-directory
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
68088: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68088
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hi,
Slashes in the docstring for `default-directory' incorrectly link to
`/', the divide function.
"...these names start with `/' or `~' and end with `/'."
Obviously, slashes in this context refer to the character, not the
operator.
Checking the sources, the error is still present on master.
See:
https://git.savannah.gnu.org/cgit/emacs.git/tree/src/buffer.c#n5343
The attached patch changes the leading grave on each slash and the
tilde to a single quote mark.
I was unable to test the patch directly. However, such changes to an
Elisp defun docstring removes the links and preserves the quoting
(albeit a different kind of quote).
--
Matt Trzcinski
Emacs Org contributor (ob-shell)
Learn more about Org mode at https://orgmode.org
Support Org development at https://liberapay.com/org-mode
[0001-fix-incorrect-docstring-link.patch (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
> Date: Thu, 28 Dec 2023 17:58:53 +0100
> From: Matt <matt <at> excalamus.com>
>
> Slashes in the docstring for `default-directory' incorrectly link to
> `/', the divide function.
>
> "...these names start with `/' or `~' and end with `/'."
>
> Obviously, slashes in this context refer to the character, not the
> operator.
>
> Checking the sources, the error is still present on master.
>
> See:
> https://git.savannah.gnu.org/cgit/emacs.git/tree/src/buffer.c#n5343
>
> The attached patch changes the leading grave on each slash and the
> tilde to a single quote mark.
Thanks, I fixed that by using double-quotes instead of single quotes.
Closing.
This bug report was last modified 1 year and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.