From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 11:31:29 2018 Received: (at submit) by debbugs.gnu.org; 11 Jan 2018 16:31:29 +0000 Received: from localhost ([127.0.0.1]:52385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZflJ-00029i-EL for submit@debbugs.gnu.org; Thu, 11 Jan 2018 11:31:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZflI-00029V-5R for submit@debbugs.gnu.org; Thu, 11 Jan 2018 11:31:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZfl9-0000t9-Nx for submit@debbugs.gnu.org; Thu, 11 Jan 2018 11:31:22 -0500 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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38292) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eZfl9-0000sq-L4 for submit@debbugs.gnu.org; Thu, 11 Jan 2018 11:31:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZfl3-0006Dr-Nq for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 11:31:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZfl0-0000dD-Ie for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 11:31:13 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:39722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZfl0-0000cg-Du for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 11:31:10 -0500 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w0BGV980029215 for ; Thu, 11 Jan 2018 11:31:09 -0500 Received: by pastel.home (Postfix, from userid 20848) id 717B06231F; Thu, 11 Jan 2018 11:31:09 -0500 (EST) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: 27.0.50; print-quoted should default to t Date: Thu, 11 Jan 2018 11:31:09 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.3 X-NAI-Spam-Rules: 5 Rules triggered BEC_TRC1=0.1, BEC_TRC1_W_GEN_SPAM_FEATRE=0.1, GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6198=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6198> : inlines <6305> : streams <1775762> : uri <2568105> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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 (----) 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). Stefan 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 11:45:23 2018 Received: (at 30077) by debbugs.gnu.org; 11 Jan 2018 16:45:24 +0000 Received: from localhost ([127.0.0.1]:52403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZfyl-0002V0-Mm for submit@debbugs.gnu.org; Thu, 11 Jan 2018 11:45:23 -0500 Received: from mail-wr0-f182.google.com ([209.85.128.182]:39350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZfyk-0002Ul-2L for 30077@debbugs.gnu.org; Thu, 11 Jan 2018 11:45:22 -0500 Received: by mail-wr0-f182.google.com with SMTP id z48so2769203wrz.6 for <30077@debbugs.gnu.org>; Thu, 11 Jan 2018 08:45:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:user-agent:mime-version; bh=aZh5KRxkHxMJIzA2yBbtTg4/Dr+AdAhtRrYZSe0KlBI=; b=T71rbIJIH6+cGKBwbhKB5VH6TbAATGGIGsFw4DER8mzV4P9Jb3xo92Pclfj5JkMkn/ yvza9OItvUo6b2yy1Pv+76nJiVhSZ6dCHK87girNInYIgjDihYhtZk69ltqUaVGM2ocj MVndUoZ/3QIjGEICzI++dDMdwmuz3iXMvDhEVuG35CWiErZjP149wN7YIZoS0q2BfTh/ o0j53g95PmJKjbV0Y2XAeR+C2rWzihseblnrsLmf9o+PQgG2IhWXpNLZlwt3KuyFmKoA fM2EJ0iYVUEY5qOmsuD6KwLacOo9UPJbtbvY5pOj7ee8NcriPqYDIUbHXi+XQdkqCSyK AjiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version; bh=aZh5KRxkHxMJIzA2yBbtTg4/Dr+AdAhtRrYZSe0KlBI=; b=IzZCzYOGbdD9psv4JXLVVuMJRZKUlPT6omw7vSjWtaZalBNhoKThg654r7GmKstHOx jQmO9FdCn4FbI5M77Z/TxqtK19PrCi1GsrYSDy+2Q7icrTF7+U5OWDGUVsmaqXUhEQq1 UCseUc4CLq+tZEnbD/qc+HGeAfDdOPosz6W3vyFw/wtFiXe6OzL88zFovJ9dRJoVZkNE xAkkoGtZCGoh4uJpMnVaul4VGvDDXxn1WGBM0pbSa+DCenz+iB8J4f7aqe5RsSq7Yxeb RaG+Z797zoVTwPF88HefB+U7Lp29X87ycwAgOguTeTDMm0ObTs4GV4LQX13xVwjDtkvs Uvfg== X-Gm-Message-State: AKGB3mIXKoFq4nsRRLuxpO+JBCczyXCrF0/pu6GXjh+Lh3oDlij2CmXo GrtCZ05q4NBCP6ll3pWdy1Hm3N62 X-Google-Smtp-Source: ACJfBovqKI5fbgamy5IRJEtx4PqQC4KTcOppl7bcsLS0+Ei4syOnibmpwddF6CmV4yEpblhrshryTA== X-Received: by 10.223.169.163 with SMTP id b32mr19430380wrd.208.1515689115645; Thu, 11 Jan 2018 08:45:15 -0800 (PST) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id p17sm1036078wma.23.2018.01.11.08.45.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jan 2018 08:45:01 -0800 (PST) From: Robert Pluim To: Stefan Monnier Subject: Re: bug#30077: 27.0.50; print-quoted should default to t References: X-Debbugs-No-Ack: yes Gmane-Reply-To-List: yes Date: Thu, 11 Jan 2018 17:44:59 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 11 Jan 2018 11:31:09 -0500") Message-ID: <87lgh4fipg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30077 Cc: 30077@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.0 (/) Stefan Monnier writes: > 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). Aagh, my customize settings changed! But that doesn't break anything as far as I can see. +1 from me Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 12:53:36 2018 Received: (at 30077) by debbugs.gnu.org; 11 Jan 2018 17:53:36 +0000 Received: from localhost ([127.0.0.1]:52434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZh2m-00047k-9q for submit@debbugs.gnu.org; Thu, 11 Jan 2018 12:53:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZh2k-00047W-K0 for 30077@debbugs.gnu.org; Thu, 11 Jan 2018 12:53:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZh2b-0001uz-Tf for 30077@debbugs.gnu.org; Thu, 11 Jan 2018 12:53:29 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZh2b-0001up-QE; Thu, 11 Jan 2018 12:53:25 -0500 Received: from [176.228.60.248] (port=3188 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eZh2b-00063k-7O; Thu, 11 Jan 2018 12:53:25 -0500 Date: Thu, 11 Jan 2018 19:53:21 +0200 Message-Id: <83d12g46zy.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Thu, 11 Jan 2018 11:31:09 -0500) Subject: Re: bug#30077: 27.0.50; print-quoted should default to t References: 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: -5.0 (-----) X-Debbugs-Envelope-To: 30077 Cc: 30077@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: -5.0 (-----) > From: Stefan Monnier > Date: Thu, 11 Jan 2018 11:31:09 -0500 > > I suggest the patch below (for master, obviously). > > > Stefan > > > 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. I have no opinion about the change, but if this is installed, please mention the change in NEWS. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 15 13:43:32 2018 Received: (at 30077-done) by debbugs.gnu.org; 15 Jan 2018 18:43:32 +0000 Received: from localhost ([127.0.0.1]:57753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eb9jH-00055U-Rr for submit@debbugs.gnu.org; Mon, 15 Jan 2018 13:43:31 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:33435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eb9jF-00055K-Kp for 30077-done@debbugs.gnu.org; Mon, 15 Jan 2018 13:43:31 -0500 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w0FIhQC0027096; Mon, 15 Jan 2018 13:43:26 -0500 Received: by ceviche.home (Postfix, from userid 20848) id DCA09662E5; Mon, 15 Jan 2018 13:43:25 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#30077: 27.0.50; print-quoted should default to t Message-ID: References: <83d12g46zy.fsf@gnu.org> Date: Mon, 15 Jan 2018 13:43:25 -0500 In-Reply-To: <83d12g46zy.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Jan 2018 19:53:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6200=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6200> : inlines <6313> : streams <1776149> : uri <2571362> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 30077-done Cc: 30077-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: -1.3 (-) > I have no opinion about the change, but if this is installed, please > mention the change in NEWS. Done, Stefan From unknown Sat Jun 14 19:32:10 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, 13 Feb 2018 12:24:05 +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