From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: Printing \\= in the docstring Date: Tue, 16 Jul 2024 10:25:36 +0200 Message-ID: <878qy1920v.fsf@gmx.net> References: <87jzhmw8se.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25230"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 16 10:26:33 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sTdW5-0006Js-83 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 16 Jul 2024 10:26:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTdVP-0004tX-6K; Tue, 16 Jul 2024 04:25:51 -0400 Original-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 1sTdVM-0004sz-8f for help-gnu-emacs@gnu.org; Tue, 16 Jul 2024 04:25:49 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sTdVF-0001WC-1q for help-gnu-emacs@gnu.org; Tue, 16 Jul 2024 04:25:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1721118337; x=1721723137; i=stephen.berman@gmx.net; bh=92WAU78SzjqARxwTLHr5F8Ie0fPXAPaVFdqkf/UGrgY=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=FOlAPAkcC33A0mFzpaOV96jdXzVN6QP5F+mn+M081wQrSVO42GLV18MEw89dWjko qCkr9GjwnigD0TYyQskZf0t/lEJbixJ6fuOugj5YkIFy/lmEdgml1ummCokpGjKP0 186upiYk6wQqSDN+6Zj7oBnm08H0eGbdeoockLgtqdrqcrgbDs/3kJYL7DIN1dlxu 6LcffWWPKz73UEFPSneWl5Y6lJaDfLwj8Q0ZY8HXZq7p8GFYVSxV6v+8RwTJlpTlN aztP7Ins3y1DbSTraQwN6xfqdbjyjlfw+7FrVdLdHDe0axG3yHCvcFQz+3yYfu40I JvQzmFOlm4OPbmTw2Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs ([94.134.95.162]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MDQic-1sakFj33by-001Y4V; Tue, 16 Jul 2024 10:25:37 +0200 In-Reply-To: (Heime's message of "Tue, 16 Jul 2024 08:20:05 +0000") X-Provags-ID: V03:K1:GgShOpmHZa/+90WyG4zxcBiSVF82jOd+nxfgAFq8LrRhMvfKDei pXgeEe8pvaytznlXIVey1yVMdL/DA+cTJrlSufcGMbmKQwT4RUbsGzePlPt9so8t7C7W8KW vQBXdy61R9zbEtg0Uf/1Yf+kaJN2ltt9QR0OXGFGlczS1zwZdbL9ebx3PKoSvhD6EyWJkZh FdGcpN7h4C0P+C2O1vd0w== UI-OutboundReport: notjunk:1;M01:P0:zOdlWIk+NzE=;sZQrR3Np0HZpvUZV80cMSRpeYQG F3amiV9gZAOLKKfc4ycIInIxnKAnKa6ECBW0h3bEXUYU24bNIArW2l87C8TSVzVv77ys24Q/t 7AEGBlEwkzefbQBGPA65W96MZTWqXkg+XpNm9W4uDptqMpfX51+87CiwOn6DeBH927y8RhwmL bAiqudx1qnxHSj4XMuGeacvm5w2obT/16NYjgdB+5/9sPw3ynFbQKbFsJU5gEYJMgvVJ0ySC3 6kezzjJWB+k+xdq+lar++HTTEJdd+o8ZOZE9Pp6ATrdJcO8Po7IgDnorRUmYvcPhd6+FdxBI/ pNqB6vx1oQfQV1Vfc3+lTNMVxRa8gedoo+t+AVJjJpg7dDtwfGVgy/tdY0TVBYtc6rzMqGeMA 2Z7aRkSZT9rKy1f3+y56nJMHwYRFJKlzG8Cy0nHOGRarq4wz4UT1bzA2E2l/9DqJTxZQGQqeP ynwIjTAgDWf/dH6gfZOcVwKZ1OqwzXV1IR9UreGxEQb2CFQONd0UeRRwzQT8hMHesIZ8kmxPS jDC7Y42M7k8AyZJAnzdiTV3GKgyRG60VqG1AOc1lvn+23vQoqfjFf/6rW0bjKHc9XH5KCysuL 0lHM8SOR3jyrftsdgTDRch9cBynNf1NSh5IdxgOIvovxPb5b+9acpdyZxBKxzNd58uZJ1nOxJ jqFbxGqWjr5qkqiGuVpGscWzCsP0MGS3yqGMPoscJxkUojzvYnsqEKxmmREK5U8LsjUPytBGA /VMteGlbGcTUlbu9NDcoGtYA4HTWeMq2y6kJs3uVR/y6JQ4LID1uDdICb7jrntkz5s/e06f9 Received-SPF: pass client-ip=212.227.17.20; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147246 Archived-At: On Tue, 16 Jul 2024 08:20:05 +0000 Heime wrot= e: > On Tuesday, July 16th, 2024 at 11:10 AM, Stephen Berman > wrote: > >> On Mon, 15 Jul 2024 22:43:26 +0000 Heime heimeborgia@protonmail.com wro= te: >> >> > On Tuesday, July 16th, 2024 at 9:22 AM, Heime heimeborgia@protonmail.= com wrote: >> > >> > > How can I print \\=3D in the docstring ? >> > >> > When I try \\=3D the =3D does not display. Neither does \\\\=3D or \\= \=3D >> >> >> To print the sequence "\\=3D" as a string but not as a doc string escap= e >> sequence, using "\\\\=3D" does work. But if you want to print it in the >> context of a doc string escape sequence, you have to double it, just >> like you have to double "\" in normal Lisp strings. For example, this >> in a doc string: >> >> "\\\\=3D\\=3D\\=3D`\\\\(\\\\s-\\\\\\\\=3D\\\\=3D\\\\=3D\\\\[\\\\-\\\\]\= \\\s-\\\\)\\\\(.*\\\\) >> uses \\\\\\\\=3D" appears like this in a "*Help*" buffer: >> \\\\=3D`\(\s-\\=3D\[\-\]\s-\)\(.*\) uses \\=3D >> >> Steve Berman > > If I use "\\\\=3D" the only thing that is displayed is "\" when using "C= -h v myvar". It works in the example I gave just above. As so often you have not provided a complete reproducer, so I can only try to guess why what you did does not work. But I won't guess now. Steve Berman