From unknown Sat Sep 06 02:32:47 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68088 <68088@debbugs.gnu.org> To: bug#68088 <68088@debbugs.gnu.org> Subject: Status: [PATCH] Fix incorrect docstring link in default-directory Reply-To: bug#68088 <68088@debbugs.gnu.org> Date: Sat, 06 Sep 2025 09:32:47 +0000 retitle 68088 [PATCH] Fix incorrect docstring link in default-directory reassign 68088 emacs submitter 68088 Matt severity 68088 normal tag 68088 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 13:25:31 2023 Received: (at submit) by debbugs.gnu.org; 28 Dec 2023 18:25:31 +0000 Received: from localhost ([127.0.0.1]:40330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIv4U-00024a-3w for submit@debbugs.gnu.org; Thu, 28 Dec 2023 13:25:31 -0500 Received: from lists.gnu.org ([2001:470:142::17]:55916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rItis-0000vO-N4 for submit@debbugs.gnu.org; Thu, 28 Dec 2023 11:59:09 -0500 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 1rItin-0006W5-Jo for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 11:59:01 -0500 Received: from sender4-op-o15.zoho.com ([136.143.188.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rItil-0002wL-Gn for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 11:59:01 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1703782735; cv=none; d=zohomail.com; s=zohoarc; b=Mk3KdXa1FBxJExB/XnU1O1x4QyTqDSLSXO/rKCLkr5rEmQmpGSRk8FwRahVguk4L/2NAtexKazCBPuEsehyxeNTSO3t1SJoSlAXFZBuhCnLSZoSSPxGb71wc+eKbOVQFRRMKAY6IzPQdT48fu7UZURiTCV9R8X1U2J0kkuzLCNc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1703782735; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=GH/MpwcyWZ+DrCrrJLjWHfbkmFtzCTa2O9QmEIhtuQw=; b=JEAxxkeNRiERlwDS3B4J/FT+kMRtZo4eLqOT/xaP12txyPMIEClCpzCMyNNNW3MUV9U7zAycSQadscL2w4RW3Yqi/x+8zuO36f30bkTEO90XyHNzJHL+Vm9+En0s/X4t9iSPsek3ozU5FL1F6pCLW9sntzAMtJXJuzMCbO/rRUI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1703782735; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Message-Id:Message-Id:In-Reply-To:Subject:Subject:MIME-Version:Content-Type:Reply-To:Cc; bh=GH/MpwcyWZ+DrCrrJLjWHfbkmFtzCTa2O9QmEIhtuQw=; b=fsadsjFg01tM8vyokheGs87VPdx3wOvdF80xoivHCqL7lb8l+KAuRv4EhjBDSWIy enyuX8RURo9gt0txCtLDggtvLlrAv9gg878Bz1W094OcFqVY8u3R9TbWaVTuJT7dSwj fodh4LCstUgn3rWfzf/zeyfHWhkWumnTbqJipl4k= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1703782733556947.6875171859982; Thu, 28 Dec 2023 08:58:53 -0800 (PST) Date: Thu, 28 Dec 2023 17:58:53 +0100 From: Matt To: "bug-gnu-emacs" Message-Id: <18cb15d56a4.11388c6eb77569.4265473526881657065@excalamus.com> In-Reply-To: Subject: [PATCH] Fix incorrect docstring link in default-directory MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_252937_199708647.1703782733476" Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-1.1.0/203.696.75 Received-SPF: pass client-ip=136.143.188.15; envelope-from=matt@excalamus.com; helo=sender4-op-o15.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 28 Dec 2023 13:25:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) ------=_Part_252937_199708647.1703782733476 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C2=A0https://liberapay.com/org-mode ------=_Part_252937_199708647.1703782733476 Content-Type: application/octet-stream; name=0001-fix-incorrect-docstring-link.patch Content-Transfer-Encoding: 7bit X-ZM_AttachId: 139230755334770100 Content-Disposition: attachment; filename=0001-fix-incorrect-docstring-link.patch diff --git a/src/buffer.c b/src/buffer.c index ea0c23192b7..0696524a0fd 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5359,7 +5359,7 @@ visual lines rather than logical lines. See the documentation of Qstringp, doc: /* Name of default directory of current buffer. It should be an absolute directory name; on GNU and Unix systems, -these names start with `/' or `~' and end with `/'. +these names start with '/' or '~' and end with '/'. To interactively change the default directory, use command `cd'. */); DEFVAR_PER_BUFFER ("auto-fill-function", &BVAR (current_buffer, auto_fill_function), ------=_Part_252937_199708647.1703782733476-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 14:48:55 2023 Received: (at 68088-done) by debbugs.gnu.org; 28 Dec 2023 19:48:55 +0000 Received: from localhost ([127.0.0.1]:40368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIwNC-00038Y-SI for submit@debbugs.gnu.org; Thu, 28 Dec 2023 14:48:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIwNA-000388-Ty for 68088-done@debbugs.gnu.org; Thu, 28 Dec 2023 14:48:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIwN6-0000nv-4i; Thu, 28 Dec 2023 14:48:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jnrhiGNOhqrJNwVLt+j1H0/Tn9XxXYnSMBsFNi8/yEA=; b=oa8o9TiAbcu8 o+nvxr8Pq1q89YvZ0jcGYf4ilzFws+gS4WU+90ZWuWUJVCp8smBZCgCpCP3PJgpRfGzU4LrLiJBef dcEycyfEITW2zpWmxkSN1u1H/BCh/LpjpnC/PulCzSVBkD56ohRwZwLmejO+vtOqukItyXN1juCKh 6DCZrGBnWRVMcTTcJjNCR3z6J+ZPoP4JOAnjU7YNOiPIkuEMx18pRU9q/ar3bEbrXBoOkto8D5h9E InnMt1hPI1ZDpVQbtW5iEdZVDNTZvza4rMBJajwBL6kESnKfvFgb0kSgLZ6YYaXHkiXe1H2aVLPvG aUm0K5n67m1u7f0mOaxKSQ==; Date: Thu, 28 Dec 2023 21:48:33 +0200 Message-Id: <83bkaa6rce.fsf@gnu.org> From: Eli Zaretskii To: Matt In-Reply-To: <18cb15d56a4.11388c6eb77569.4265473526881657065@excalamus.com> (message from Matt on Thu, 28 Dec 2023 17:58:53 +0100) Subject: Re: bug#68088: [PATCH] Fix incorrect docstring link in default-directory References: <18cb15d56a4.11388c6eb77569.4265473526881657065@excalamus.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68088-done Cc: 68088-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 28 Dec 2023 17:58:53 +0100 > From: Matt > > 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. From unknown Sat Sep 06 02:32:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 26 Jan 2024 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator