Subject: bug#79161: closed (Re: bug#79161: [PATCH] Improve Vprint_variable_mapping)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 09 Aug 2025 12:40:03 +0000

Your bug report

#79161: [PATCH] Improve Vprint_variable_mapping

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
79161: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79161
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#79161: [PATCH] Improve Vprint_variable_mapping
From: Eli Zaretskii <[email-masked]>
To: zach shaftel <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Sat, 09 Aug 2025 15:39:19 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: zach shaftel <[email-masked]>
> Cc: Stefan Monnier <[email-masked]>,  [email-masked]
> Date: Mon, 04 Aug 2025 16:25:28 -0400
> 
> i forgot to update the manual, a revised patch is attached.

Thanks, installed on master, and closing the bug.

Subject: [PATCH] Improve Vprint_variable_mapping
From: zach shaftel <[email-masked]>
To: [email-masked]
Date: Sun, 03 Aug 2025 00:10:11 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

just a couple small updates to the PRINT-OVERRIDES argument to
prin1/prin1-to-string. fixes the typo "unreadeable-function", and adds
an override for `print-symbols-bare'.

In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.49, cairo version 1.18.4) of 2025-07-13 built on bigbox
Repository revision: c44903b0118357336cca964bd210835ca4881e87
Repository branch: master
System Description: Arch Linux

Configured using:
 'configure --with-modules --without-xwidgets --with-native-compilation
 --with-tree-sitter --without-gsettings --without-gconf --without-gpm
 --with-pgtk --without-compress-install 'CFLAGS=-mtune=native
 -march=native -O2 -g -fuse-ld=mold''

>From 02581fc5f6c9a6d59714a79ddec8e221737f0300 Mon Sep 17 00:00:00 2001
From: Zach Shaftel <[email-masked]>
Date: Sat, 2 Aug 2025 23:49:23 -0400
Subject: [PATCH] Improve Vprint_variable_mapping

* src/print.c (print_create_variable_mapping): Fix a typo,
`unreadeable-function' to `unreadable-function'. Add `symbols-bare' as
an override for `print-symbols-bare'.
---
 src/print.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/print.c b/src/print.c
index fa800743497..29edfaad531 100644
--- a/src/print.c
+++ b/src/print.c
@@ -682,7 +682,7 @@ print_create_variable_mapping (void)
 	   intern ("print-escape-multibyte"), Qnil),
     list3 (intern ("charset-text-property"),
 	   intern ("print-charset-text-property"), Qnil),
-    list3 (intern ("unreadeable-function"),
+    list3 (intern ("unreadable-function"),
 	   intern ("print-unreadable-function"), Qnil),
     list3 (intern ("gensym"), intern ("print-gensym"), Qnil),
     list3 (intern ("continuous-numbering"),
@@ -691,6 +691,7 @@ print_create_variable_mapping (void)
     list3 (intern ("float-format"), intern ("float-output-format"), Qnil),
     list3 (intern ("integers-as-characters"),
 	   intern ("print-integers-as-characters"), Qnil),
+    list3 (intern ("symbols-bare"), intern ("print-symbols-bare"), Qnil),
   };
 
   Vprint_variable_mapping = CALLMANY (Flist, total);
-- 
2.50.1