From unknown Sun Jun 22 03:50:32 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#24786 <24786@debbugs.gnu.org> To: bug#24786 <24786@debbugs.gnu.org> Subject: Status: 25.1; Misleading documentation/news for text-quoting-style Reply-To: bug#24786 <24786@debbugs.gnu.org> Date: Sun, 22 Jun 2025 10:50:32 +0000 retitle 24786 25.1; Misleading documentation/news for text-quoting-style reassign 24786 emacs submitter 24786 Vasilij Schneidermann severity 24786 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 24 15:33:24 2016 Received: (at submit) by debbugs.gnu.org; 24 Oct 2016 19:33:24 +0000 Received: from localhost ([127.0.0.1]:54827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bykzs-0007J0-EF for submit@debbugs.gnu.org; Mon, 24 Oct 2016 15:33:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bykzr-0007Im-7F for submit@debbugs.gnu.org; Mon, 24 Oct 2016 15:33:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bykzl-0000JK-4p for submit@debbugs.gnu.org; Mon, 24 Oct 2016 15:33:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bykzl-0000JE-18 for submit@debbugs.gnu.org; Mon, 24 Oct 2016 15:33:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bykzj-00081r-Sp for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2016 15:33:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bykzj-0000Ii-6m for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2016 15:33:15 -0400 Received: from mail-vk0-x22c.google.com ([2607:f8b0:400c:c05::22c]:37795) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bykzj-0000Hx-0L for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2016 15:33:15 -0400 Received: by mail-vk0-x22c.google.com with SMTP id h7so2562711vkf.4 for ; Mon, 24 Oct 2016 12:33:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=ebPjW6o/C7GMrUV4MSnDXk8C7tCHmO0HSaDo5FL3w+Y=; b=rhxfJqysIexmdNqufsZ8wjjINcpQ7rH4GjubNmqTk3P2cLQp0BnaPKUe8ws46+wAl6 FmV/i7vPA+gC53sQKLGWIXDtoOaasQzVQFvF63fA3s0aUpebGGfs36n53eJx4eccIPPG mFKMjTdqRjMi8aaC+0F5H03qDd1LwLgrpgH4Q5IfRgpmmmJSFnaW4sSjNJuyJ2jiB+Rh RCPqfsAdRBJDAnN4FCdTnrZkc3X1QncvPWgTa5iipB6lPToGC9tgGB/8KPT8+kFsDurE Msvz8QTVn+Rkb1jHFDUBwc9tyUwv6kapWmY1/8oF9Zj6KsXhH+ik6JRrmLtGfgqtcDm/ pgmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=ebPjW6o/C7GMrUV4MSnDXk8C7tCHmO0HSaDo5FL3w+Y=; b=DK8sKD23p5JHhkF8R8Q1AMcHWsPnAwlkKd5x9M9ASGYPRL0tJK1Twve2NhTRlVaOkA CTqTijUNtO4AzNgqilkLQE5sRgH+2+UiLdHscuYLYosFwxMmOUg58jR4frKO7TUSs50I uumod9N72SfxxMSO6+k6W/+HSsapF+LWFqJaJRLG8D34boQq5Ug2SVoHtsyY7Akc6a3H UM8qmq9LLUskcd9tXMfX0KaGsM/0STNDmzDUhdymUIMmm5rmxU6TeJ2urbFNmhiwndIS hlUeM5NQBb2zrsiRu22XckmN08isZKuHo40cVkeWS+k3dfejkUXFsfx6zIGqUqtg99wg Wo9g== X-Gm-Message-State: ABUngvdcbTIVci1NdtclQmxOuzZx6TQMH/oKxtXvetjjM5UlELUe8RfthAYLET4N406OHI+cFlYIPgpAN89YWA== X-Received: by 10.31.109.129 with SMTP id i123mr11809700vkc.89.1477337592929; Mon, 24 Oct 2016 12:33:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.51.200 with HTTP; Mon, 24 Oct 2016 12:33:12 -0700 (PDT) From: Vasilij Schneidermann Date: Mon, 24 Oct 2016 21:33:12 +0200 Message-ID: Subject: 25.1; Misleading documentation/news for text-quoting-style To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) I've just fixed a complex Emacs Lisp program using `error' in batch mode where messages of the "Exception: 'foo'" kind were turned into "Exception: =E2=80=98foo=E2=80=99", leading to a crash in the test rig writ= ten in as it did not expect non-ASCII output. I find this inacceptable behavior. Why should printing one thing print something entirely different from what has been specified? I've learned that there is a `text-quoting-style' variable that controls this behavior, however both its docstring and the corresponding news entry suggest that there is no way to disable the post-processing. On top of that they don't mention that the simplest way to make things look like they previously did is to set it to `grave`. Is there any reason this is not documented? More importantly, if that is the truth, why is there no flag to disable that post-processing? From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 24 16:14:04 2016 Received: (at 24786) by debbugs.gnu.org; 24 Oct 2016 20:14:04 +0000 Received: from localhost ([127.0.0.1]:54949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byldE-0008Ld-D1 for submit@debbugs.gnu.org; Mon, 24 Oct 2016 16:14:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byldC-0008Kt-3k for 24786@debbugs.gnu.org; Mon, 24 Oct 2016 16:14:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byld1-0002q4-Jj for 24786@debbugs.gnu.org; Mon, 24 Oct 2016 16:13:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byld1-0002px-GG; Mon, 24 Oct 2016 16:13:51 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3554 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1byld0-0003cY-EG; Mon, 24 Oct 2016 16:13:51 -0400 Date: Mon, 24 Oct 2016 23:13:42 +0300 Message-Id: <83h98133pl.fsf@gnu.org> From: Eli Zaretskii To: Vasilij Schneidermann In-reply-to: (message from Vasilij Schneidermann on Mon, 24 Oct 2016 21:33:12 +0200) Subject: Re: bug#24786: 25.1; Misleading documentation/news for text-quoting-style References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 24786 Cc: 24786@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Vasilij Schneidermann > Date: Mon, 24 Oct 2016 21:33:12 +0200 > > I've just fixed a complex Emacs Lisp program using `error' in batch mode > where messages of the "Exception: 'foo'" kind were turned into > "Exception: ‘foo’", leading to a crash in the test rig written in as it > did not expect non-ASCII output. I find this inacceptable behavior. > Why should printing one thing print something entirely different from > what has been specified? > > I've learned that there is a `text-quoting-style' variable that controls > this behavior, however both its docstring and the corresponding news > entry suggest that there is no way to disable the post-processing. On > top of that they don't mention that the simplest way to make things look > like they previously did is to set it to `grave`. Is there any reason > this is not documented? More importantly, if that is the truth, why is > there no flag to disable that post-processing? Did you look at the state of affairs on the emacs-25 branch? If not, please do: I think at least some of these problems were fixed there. If they are still not fixed, or you cannot figure out how to fix them, please tell the details: where did you read or saw behavior that disallows turning off the conversion of quotes. FWIW, I see this in the doc string: ‘grave’ means quote with grave accent and apostrophe `like this'. which seems to be what you want, no? From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 24 17:30:59 2016 Received: (at 24786-done) by debbugs.gnu.org; 24 Oct 2016 21:30:59 +0000 Received: from localhost ([127.0.0.1]:55168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bympf-0001tI-LU for submit@debbugs.gnu.org; Mon, 24 Oct 2016 17:30:59 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:37599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bympd-0001t0-Os for 24786-done@debbugs.gnu.org; Mon, 24 Oct 2016 17:30:58 -0400 Received: by mail-wm0-f51.google.com with SMTP id d199so11280966wmd.0 for <24786-done@debbugs.gnu.org>; Mon, 24 Oct 2016 14:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FTQh8dq3wfroiEHpvVxq0ua43MuPS08XoE+3yg8pjxk=; b=ArH0HXW5vY9CIDf/3dJRem1rrgCLiq96CxiuNjUv97q1+OAlKYZ/VaXRVCVUTfIZ1K rehPl0GoHsSTMgdkk1nsIE12ydwPI2L3WS5nXQRmBQubKV/BMfFE6dm4cuo33CrYIOA8 wYYkKB/GlZ+53gbZEsb3ZXFSjA0Zo0mlq/LXUnbIJb/A0jRAoeUZV8yMSAND/pfb9gQe GJdVjyB1IG6GfHzNroU+6DGfr0vrMqUaLdojoBjQYmtma6SJUIBCEc61uhF8YzfMTqal 1dXIMqR/MBu6Q631bUKKJuEMcK3ezzLitXBa6/h7e0QZwo8zSJ/knh08TS5IWfxnQH6p 3zwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FTQh8dq3wfroiEHpvVxq0ua43MuPS08XoE+3yg8pjxk=; b=Ih1wTm8Al4dwLGYCFKEgZgyjDpnfqHLXTJHfDI/K7cKuS1BVyZPqX4ggCvW9Q/ofQf scSeL2BdoqdudCWv6x/SC9/6ZM2WPIJtMFu4smHsu3FaVGUFWv61rf7MFsL/unAJhbIz VSqDVCx5r7nfTEzr0l0hGMC9LiAn+Tr9WIOgnv9O6MZeX0SMeAvNn9uA01jD6PTvIdcJ aszflGgU2UACeMB3tI+S58vewwiwxO79eqY5grLWw2irxsQR8nAzJbSEpw8ikBalf0Kg ONi8HetU1/hz8hER+5xPVi6aPXJU8AmidmyD0aC8BQmMD64Gg2jPJweETzjBz4QFeJsA 2gqA== X-Gm-Message-State: AA6/9Rk+hJRjj/pzxL1dqNZCORiJtCRl/MEVqnH1+FxCM6OJxSebFnnY94X1NNoZyONAMg== X-Received: by 10.28.125.150 with SMTP id y144mr25107185wmc.77.1477344651855; Mon, 24 Oct 2016 14:30:51 -0700 (PDT) Received: from localhost (dslb-178-005-154-163.178.005.pools.vodafone-ip.de. [178.5.154.163]) by smtp.gmail.com with ESMTPSA id f194sm14465579wmg.12.2016.10.24.14.30.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Oct 2016 14:30:51 -0700 (PDT) Date: Mon, 24 Oct 2016 23:30:31 +0200 From: Vasilij Schneidermann To: Eli Zaretskii Subject: Re: bug#24786: 25.1; Misleading documentation/news for text-quoting-style Message-ID: <20161024213031.GA703@odonien.localdomain> References: <83h98133pl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <83h98133pl.fsf@gnu.org> User-Agent: Mutt/1.7.1 (2016-10-04) X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24786-done Cc: 24786-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: 0.5 (/) > Did you look at the state of affairs on the emacs-25 branch? If not, > please do: I think at least some of these problems were fixed there. > If they are still not fixed, or you cannot figure out how to fix them, > please tell the details: where did you read or saw behavior that > disallows turning off the conversion of quotes. Thanks for the hint, I'm on Emacs 25.1 where the behavior is as described. As you've pointed out, 25.2 does not take `text-quoting-style' into account for both `message' and `format-message', additionally to that the (incompatible) change has been documented and the docstring updated to clarify that `grave` is the setting to disable post-processing. From unknown Sun Jun 22 03:50:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 Nov 2016 12:24:03 +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