From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#70868: 30.0.50; pp--insert-lisp prints small integers as characters Date: Sat, 11 May 2024 13:32:11 +0200 Message-ID: <87wmo0d1ok.fsf@igel.home> References: <87ikzl8bmj.fsf@gmail.com> <878r0h8ayk.fsf@gmail.com> <87le4gboof.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8628"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: michael_heerdegen@web.de, iarchivedmywholelife@gmail.com To: 70868@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 11 13:33:30 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s5kyo-00020V-N9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 May 2024 13:33:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5kyW-0004tx-6J; Sat, 11 May 2024 07:33:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5kyP-0004tO-Qx for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 07:33:07 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5kyM-0003Xe-V7 for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 07:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5kyL-0005hs-TS for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 07:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 May 2024 11:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70868 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Michael Heerdegen , No Wayman , 70868@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171542714221929 (code B ref -1); Sat, 11 May 2024 11:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 May 2024 11:32:22 +0000 Original-Received: from localhost ([127.0.0.1]:47861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5kxi-0005hd-GQ for submit@debbugs.gnu.org; Sat, 11 May 2024 07:32:22 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5kxg-0005hX-5V for submit@debbugs.gnu.org; Sat, 11 May 2024 07:32:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5kxg-0004pC-Jl for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 07:32:20 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5kxe-0003CK-Ly for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 07:32:20 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Vc3WK2xvzz1s953; Sat, 11 May 2024 13:32:13 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4Vc3WJ6x7Gz1qqlS; Sat, 11 May 2024 13:32:12 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id duCO0VSttC-y; Sat, 11 May 2024 13:32:12 +0200 (CEST) X-Auth-Info: q3Ez7oe8Utc8fMjg162O7N/Q4sDveT8GGkWHtcA5Wxk7kxrkKChsK2XDuV0S34dr Original-Received: from igel.home (aftr-82-135-83-103.dynamic.mnet-online.de [82.135.83.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 11 May 2024 13:32:12 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id CB2AB2C02CE; Sat, 11 May 2024 13:32:11 +0200 (CEST) In-Reply-To: <87le4gboof.fsf@web.de> (Michael Heerdegen via's message of "Sat, 11 May 2024 12:58:24 +0200") X-Yow: And furthermore, my bowling average is unimpeachable!!! Received-SPF: pass client-ip=212.18.0.10; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284861 Archived-At: On Mai 11 2024, Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > A good catch! 59 is the character ;. This is a bug in the printer: > > #+begin_src emacs-lisp > (let ((print-integers-as-characters t)) > (princ ?\; (current-buffer))) > #+end_src > > prints "?;" instead of "?\;" - it fails to quote the character. Binding > `print-quoted' doesn't help. This needs to be fixed. princ does not add any quoting, you need to use prin1 instead. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."