From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70868: 30.0.50; Date: Sun, 12 May 2024 17:39:46 -0400 Message-ID: References: <663fb841.050a0220.ffcbb.b84f@mx.google.com> <86jzk019u0.fsf@gnu.org> <86h6f419mi.fsf@gnu.org> <87v83jozi7.fsf@web.de> <86ikzjysrh.fsf@gnu.org> <87r0e7oyct.fsf@web.de> <86frunyr3o.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27430"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Michael Heerdegen , iarchivedmywholelife@gmail.com, 70868@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 12 23:41:29 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 1s6Gwj-0006yD-0Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 May 2024 23:41:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6GwN-0002O0-5R; Sun, 12 May 2024 17:41:07 -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 1s6GwI-0002Ng-QS for bug-gnu-emacs@gnu.org; Sun, 12 May 2024 17:41:03 -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 1s6GwI-0006oz-Ii for bug-gnu-emacs@gnu.org; Sun, 12 May 2024 17:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6GwI-0001cr-GX for bug-gnu-emacs@gnu.org; Sun, 12 May 2024 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 May 2024 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70868 X-GNU-PR-Package: emacs Original-Received: via spool by 70868-submit@debbugs.gnu.org id=B70868.17155500096205 (code B ref 70868); Sun, 12 May 2024 21:41:02 +0000 Original-Received: (at 70868) by debbugs.gnu.org; 12 May 2024 21:40:09 +0000 Original-Received: from localhost ([127.0.0.1]:56631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6GvQ-0001c1-LO for submit@debbugs.gnu.org; Sun, 12 May 2024 17:40:08 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:4331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6GvN-0001bW-DQ for 70868@debbugs.gnu.org; Sun, 12 May 2024 17:40:06 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 474D68060F; Sun, 12 May 2024 17:39:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1715549994; bh=JnStudYPB6Xq1RSOQokraIhbemZABk02ayoGSgJQP6k=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VGbQa15wrJ5YNdCjHFiP/fakbMwJak628blv+aR5hd1sF+02dxG3XxUAyhuNXDgm2 tEb4NMNzEUuSm9ayh2LErrkoPgImK6C8J5XmU3ifnFdOBh18qz/xSR/ZC1JAbqMx0w 910OYDNVKrzLuuAGW67e70c73YWxMsdJY9OhUfEbi5XhM1ODLdS67wVPr1y219A6dd Y5Qs/Sc1ky2psCZEKt16psdU71vUnE8hp77flizAyHxvu66iBVorhB9ZnWZi0DIdwU PVfjIsBJj5nRaZ6LtOwjXhSHmRGoDVL0FZrONN6CsUKzwtL4IPh9VqpWG1tFShUSua OWOIvJJbqRrKA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E98AF8036C; Sun, 12 May 2024 17:39:53 -0400 (EDT) Original-Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B87361206BC; Sun, 12 May 2024 17:39:53 -0400 (EDT) In-Reply-To: <86frunyr3o.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 May 2024 18:42:03 +0300") 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:284941 Archived-At: >> > If you are talking about the bug with 59, then Mattias suggested to >> > exempt the semi-colon from the "display-small-numbers-as-characters" >> > feature. >> Yes - but independent of that I think we want to switch printing using >> `prin1'. > That will probably come with problems of its own... > Stefan, WDYT? `prin1` will have its share of downsides, I guess, but when printing "arbitrary data", it's definitely a safer choice than `princ` which is rarely the right thing (except when printing strings, obviously). This said, I don't see the connection with printing small numbers as chars. To print chars using the ELisp syntax you need `prin1-char`: AFAIK neither `prin1` nor `princ` work (at all). Stefan