Subject: bug#68088: closed (Re: bug#68088: [PATCH] Fix incorrect docstring link in default-directory)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 28 Dec 2023 19:49:02 +0000

Your bug report

#68088: [PATCH] Fix incorrect docstring link in default-directory

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
68088: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68088
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#68088: [PATCH] Fix incorrect docstring link in default-directory
From: Eli Zaretskii <[email-masked]>
To: Matt <[email-masked]>
Cc: [email-masked]
Date: Thu, 28 Dec 2023 21:48:33 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Thu, 28 Dec 2023 17:58:53 +0100
> From: Matt <[email-masked]>
> 
> 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.

Subject: [PATCH] Fix incorrect docstring link in default-directory
From: Matt <[email-masked]>
To: "bug-gnu-emacs" <[email-masked]>
Date: Thu, 28 Dec 2023 17:58:53 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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