[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or
From: |
Spencer Baugh |
Subject: |
bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or nothing |
Date: |
Tue, 08 Apr 2025 17:41:56 -0400 |
Tags: patch
This is a followup to 637dde4aba921435f78d0de769ad74c4f3230aa6, which
removed some unnecessary escaping of "." and "?" when printing symbols
in prin1.
This change removes more unnecessary escaping of "."; "." only
needs to be escaped when it's the entire symbol or if it's
followed by a "?".
(Actually, if we always escaped "?" (which was the case before
637dde4aba92) then "." only ever needs to be escaped when
string_to_number returns non-nil. So 637dde4aba92 could have
just dropped the escaping of "." with no other changes, if it
didn't also remove escaping of "?")
In GNU Emacs 30.1.50 (build 4, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.15.12, Xaw scroll bars) of 2025-04-08 built on
igm-qws-u22796a
Repository revision: 66de38ffb76fbd3ecb1cea52e655189b1b173fa1
Repository branch: emacs-30
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Rocky Linux 8.10 (Green Obsidian)
Configured using:
'configure --config-cache --with-x-toolkit=lucid --without-gpm
--without-gconf --without-selinux --without-imagemagick --with-modules
--with-gif=no --with-cairo --with-rsvg --without-compress-install
--with-tree-sitter --with-native-compilation=aot'
0001-Don-t-escape-.-in-prin1-unless-followed-by-or-nothin.patch
Description: Text Data
- bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or nothing,
Spencer Baugh <=
- bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or nothing, Eli Zaretskii, 2025/04/12
- bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or nothing, Stefan Kangas, 2025/04/12
- bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or nothing, Stefan Monnier, 2025/04/12
- bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or nothing, Spencer Baugh, 2025/04/15
- bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or nothing, Stefan Monnier, 2025/04/15
- bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or nothing, Spencer Baugh, 2025/04/15
- bug#77656: [PATCH] Don't escape "." in `prin1' unless followed by "?" or nothing, Stefan Monnier, 2025/04/28