[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#30077: closed (27.0.50; print-quoted should defaul

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#30077: closed (27.0.50; print-quoted should default to t)
Date: Mon, 15 Jan 2018 18:44:02 +0000

Your message dated Mon, 15 Jan 2018 13:43:25 -0500
with message-id <address@hidden>
and subject line Re: bug#30077: 27.0.50; print-quoted should default to t
has caused the debbugs.gnu.org bug report #30077,
regarding 27.0.50; print-quoted should default to t
to be marked as done.

(If you believe you have received this mail in error, please contact

30077: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30077
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 27.0.50; print-quoted should default to t Date: Thu, 11 Jan 2018 11:31:09 -0500
Package: Emacs
Version: 27.0.50

I was reviewing some of my local patches and noticed that I tend to
let-bind print-quoted to t everywhere, and it occurred to me that
instead we should simply change the default.  I can't remember
a circumstance where I needed print-quoted to be nil (tho I wouldn't be
surprised if this patch ends up finding such a circumstance).

I suggest the patch below (for master, obviously).


diff --git a/src/print.c b/src/print.c
index 2c5cf108aa..b9d556c17c 100644
--- a/src/print.c
+++ b/src/print.c
@@ -2424,7 +2424,7 @@ This affects only `prin1'.  */);
   DEFVAR_BOOL ("print-quoted", print_quoted,
               doc: /* Non-nil means print quoted forms with reader syntax.
 I.e., (quote foo) prints as \\='foo, (function foo) as #\\='foo.  */);
-  print_quoted = 0;
+  print_quoted = true;
   DEFVAR_LISP ("print-gensym", Vprint_gensym,
               doc: /* Non-nil means print uninterned symbols so they will read 
as uninterned.

--- End Message ---
--- Begin Message --- Subject: Re: bug#30077: 27.0.50; print-quoted should default to t Date: Mon, 15 Jan 2018 13:43:25 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
> I have no opinion about the change, but if this is installed, please
> mention the change in NEWS.



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]