From unknown Fri Sep 12 16:03:35 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#55773 <55773@debbugs.gnu.org> To: bug#55773 <55773@debbugs.gnu.org> Subject: Status: Emacs 29.0.50:: allow single-quoted chars in docstring Reply-To: bug#55773 <55773@debbugs.gnu.org> Date: Fri, 12 Sep 2025 23:03:35 +0000 retitle 55773 Emacs 29.0.50:: allow single-quoted chars in docstring reassign 55773 emacs submitter 55773 Andreas R=C3=B6hler severity 55773 normal tag 55773 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 02 15:49:55 2022 Received: (at submit) by debbugs.gnu.org; 2 Jun 2022 19:49:55 +0000 Received: from localhost ([127.0.0.1]:54659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwqpO-0003Ru-RG for submit@debbugs.gnu.org; Thu, 02 Jun 2022 15:49:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:58456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwqpK-0003Rj-2N for submit@debbugs.gnu.org; Thu, 02 Jun 2022 15:49:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwqpI-0005Gc-OT for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 15:49:49 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:49429) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwqpG-00064u-S7 for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 15:49:48 -0400 Received: from [192.168.178.54] ([89.247.171.233]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N17pC-1nmeZe34KQ-012WVT for ; Thu, 02 Jun 2022 21:49:44 +0200 Content-Type: multipart/alternative; boundary="------------zBimst57tNG05HVFGWDishqi" Message-ID: Date: Thu, 2 Jun 2022 21:49:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US To: bug-gnu-emacs@gnu.org From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Subject: Emacs 29.0.50:: allow single-quoted chars in docstring X-Provags-ID: V03:K1:6jj3MFYpiyQPgR4xmAUNJeXb1nDk74t6m2envUjtxmopfZMmjIL WZs/ik+TWFAB1FeclcCDmKDKR/cnQMPGHgCSyvdBhtO4KGKUKc80OvH2aqTB0fVG6UiebGS bNrRiQbsVE5vBjTBTLA1nCAIwcm7t89qXqdhxF/UBI9LvZPiDudLD/eFNcwhLwI3G6XlzB4 TBJ0t1zeqQ2+gtsAAd+Kg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:SvL6t2sdZAY=:0NyIhTUr7w+Am7CEU6BkJb 9/pc3YiSmfkMxnPv9TZDssMVpy3AlbXFcGpVzMaA2ED7rBEMIVmtIyM7WRA9m9uWczIxlmdmx wIjI5hDkWPzLo6ezLOYH+TwTsDAEoFFXqcHnRwlAEnpyQFwMyKIAajFGsC+RLtoL8Jw/SWmkn iQEURzU/jjRTHKcCHtxHzbbCeUiT3DNGcOm32QgM89oKTccytAxWoWBNYj4TVRRVRvqRttCDq QDD+YLUmfCD5po/2hueS3AeZ9A9Xcz+c2Fuvz5R/uPxfntKqY0zhaCPNRY+W0A3RoRVG8rkbG 4ZsRv7Vb3CupM5u5kjUZk+POSQ+Rr6eIyhhhYQXFH+9Ld35csegGD4162FvEQDxJ/E+WMNiwK klfIZZNH0wLDGlBSOlp5dUD41tISfE4KLfQvS9I6n+ktwL2fy2u64kmXBw8/lPa/5how2+6uU Ab67qf/ULmgrW7V4XI0h+l8L6U9By/WX5ZsLbkhoz4o4D6+ugnOML9JpRCXl7e4OcwqaOzwH/ RKVVVMYSIltdH068o3t4nEzTowDEgLSnBHQO/qLYfpJaCMi3cXwBS6fQPwC1xnkiYQxfw4d79 LFN8KQAKG43amHFhAjSa+bqCC2Mh+xDozy15AFOAngG3/ExZcFSY6qAbZ2orsBfi660YfLNlc wxDdSmiSGKOUiBdCAkpCJWVBruFFP4pvqbhfH40v4riHrwHcPwWztbsk2C3G8MESoJg8TrW/w JoKQbb1COUOBUanqgssCu3kgKGZdK3PS+Hg9cNnVIIIuecfbhiSSr7m8iyI= Received-SPF: none client-ip=212.227.126.134; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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 (---) This is a multi-part message in MIME format. --------------zBimst57tNG05HVFGWDishqi Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Need to display single-quoted chars in docstring dealing with Python code result = some_function_that_takes_arguments(     'a', 'b', 'c',     'd', 'e', 'f' ) Example shown in https://peps.python.org/pep-0008/#indentation --------------zBimst57tNG05HVFGWDishqi Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Need to display single-quoted chars in docstring dealing with Python code


result = some_function_that_takes_arguments(
    'a', 'b', 'c',
    'd', 'e', 'f'
)

Example shown in

https://peps.python.org/pep-0008/#indentation

--------------zBimst57tNG05HVFGWDishqi-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 02 19:25:36 2022 Received: (at 55773) by debbugs.gnu.org; 2 Jun 2022 23:25:36 +0000 Received: from localhost ([127.0.0.1]:54777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwuC7-0002ib-Pt for submit@debbugs.gnu.org; Thu, 02 Jun 2022 19:25:35 -0400 Received: from smtp-4.orcon.net.nz ([60.234.4.59]:54359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwuC5-0002iS-Ri for 55773@debbugs.gnu.org; Thu, 02 Jun 2022 19:25:34 -0400 Received: from [10.253.37.70] (port=3675 helo=webmail.orcon.net.nz) by smtp-4.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1nwuC2-0007pZ-A0; Fri, 03 Jun 2022 11:25:30 +1200 Received: from ip-116-251-140-135.kinect.net.nz ([116.251.140.135]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Fri, 03 Jun 2022 11:25:29 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 03 Jun 2022 11:25:29 +1200 From: Phil Sainty To: =?UTF-8?Q?Andreas_R=C3=B6hler?= Subject: Re: bug#55773: Emacs 29.0.50:: allow single-quoted chars in docstring In-Reply-To: References: Message-ID: X-Sender: psainty@orcon.net.nz User-Agent: Orcon Webmail X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55773 Cc: 55773@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: -1.0 (-) On 2022-06-03 07:49, Andreas Röhler wrote: > Need to display single-quoted chars in docstring Nowadays you need to escape literal apostrophes in docstrings like this: result = some_function_that_takes_arguments( \\='a\\=', \\='b\\=', \\='c\\=', \\='d\\=', \\='e\\=', \\='f\\=' ) Setting `text-quoting-style' to grave will prevent you from getting bitten by automated curly-quote substitutions in help buffers (but of course won't help you to remember to escape things when writing docstrings). See also: (info "(elisp)Text Quoting Style") From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 00:00:32 2022 Received: (at 55773) by debbugs.gnu.org; 3 Jun 2022 04:00:32 +0000 Received: from localhost ([127.0.0.1]:54904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwyUB-0002BT-NE for submit@debbugs.gnu.org; Fri, 03 Jun 2022 00:00:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwyU9-00026d-2h for 55773@debbugs.gnu.org; Fri, 03 Jun 2022 00:00:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zSoQu9BhGHnl6u5uqhkvENXLd3pfXc04nwV/hGcT0Tk=; b=aQ3M8MOfr0+hMNElZJbiY0FOOu s02hXHvuofIta1t1NjDlHQpH4hsDfL/kr/zbrvjF72R3sTQxOr5rsUAn+Ub5yzZViVgkjPkq9XdcQ 4GonQ0z/Zr6dHBBaQydMb6QqrKmT+Qkerj+G+FJtO+sbJuU+pCXGCVyLcA5V+ploccVw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwyTx-0002Mr-Ix; Fri, 03 Jun 2022 06:00:21 +0200 From: Lars Ingebrigtsen To: Phil Sainty Subject: Re: bug#55773: Emacs 29.0.50:: allow single-quoted chars in docstring References: X-Now-Playing: 50 Foot Wave's _Power + Light_: "Power + Light" Date: Fri, 03 Jun 2022 06:00:16 +0200 In-Reply-To: (Phil Sainty's message of "Fri, 03 Jun 2022 11:25:29 +1200") Message-ID: <87bkvabdm7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Phil Sainty writes: > See also: (info "(elisp)Text Quoting Style") So this works as designed, and is what the byte compilation warning says ("use \="), so I'm closing this bug report. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55773 Cc: 55773@debbugs.gnu.org, Andreas =?utf-8?Q?R=C3=B6hler?= 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 (---) Phil Sainty writes: > See also: (info "(elisp)Text Quoting Style") So this works as designed, and is what the byte compilation warning says ("use \="), so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 00:00:35 2022 Received: (at control) by debbugs.gnu.org; 3 Jun 2022 04:00:35 +0000 Received: from localhost ([127.0.0.1]:54907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwyUF-0002Da-6S for submit@debbugs.gnu.org; Fri, 03 Jun 2022 00:00:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwyUE-0002A3-Ac for control@debbugs.gnu.org; Fri, 03 Jun 2022 00:00:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=CCWQoOR20g8CYcOdltFDRy1Cg73QUy6ySmHv1xkxIoc=; b=dEZ0hK4AMSSKmjkcmMNdV9iPvi bBpARddGI9SMvf0ujNgnc1tVc14etRtOARwGLsodByqS8hmzN5jXhd7t9NL6WmGSYiBhhUp323ibM ioFdpdcecZyYjnHermkuP/YkqW/UWRg+GLW+5LwawQjukA2oYwPwGkLv9kdDKhFqWVpE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwyU6-0002N2-Ij for control@debbugs.gnu.org; Fri, 03 Jun 2022 06:00:28 +0200 Date: Fri, 03 Jun 2022 06:00:23 +0200 Message-Id: <87a6aubdm0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55773 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 55773 notabug close 55773 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 55773 notabug close 55773 quit From unknown Fri Sep 12 16:03:35 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, 01 Jul 2022 11:24:06 +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