From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dalanicolai Newsgroups: gmane.emacs.bugs Subject: bug#49376: Feature request (poll): default function for pretty printing when called interactively Date: Tue, 6 Jul 2021 14:44:47 +0200 Message-ID: References: <613fca7bda12799d0847d127d616d1ecb4a86504.camel@gmail.com> <87mtr242pj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000029fcf705c673ca96" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11968"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49376@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 06 14:46:23 2021 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 1m0kT1-0002pQ-99 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Jul 2021 14:46:23 +0200 Original-Received: from localhost ([::1]:46136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0kT0-0001QI-7h for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Jul 2021 08:46:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0kSh-0001Md-UN for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2021 08:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0kSg-0007nI-Hc for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2021 08:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0kSf-0000vX-Rh for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2021 08:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dalanicolai Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jul 2021 12:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49376 X-GNU-PR-Package: emacs Original-Received: via spool by 49376-submit@debbugs.gnu.org id=B49376.16255755063494 (code B ref 49376); Tue, 06 Jul 2021 12:46:01 +0000 Original-Received: (at 49376) by debbugs.gnu.org; 6 Jul 2021 12:45:06 +0000 Original-Received: from localhost ([127.0.0.1]:47636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0kRm-0000uI-Ig for submit@debbugs.gnu.org; Tue, 06 Jul 2021 08:45:06 -0400 Original-Received: from mail-vs1-f43.google.com ([209.85.217.43]:35539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0kRk-0000tV-EF for 49376@debbugs.gnu.org; Tue, 06 Jul 2021 08:45:05 -0400 Original-Received: by mail-vs1-f43.google.com with SMTP id h18so7910614vsj.2 for <49376@debbugs.gnu.org>; Tue, 06 Jul 2021 05:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KXEWdbj+yA2w5FVagUO63MUlQ9y4he3xTQCWbpDtGkM=; b=dGTIHu43YJRZVK/X88CclwsSchZ02xK4ItcqvTH6w6sUqTvYRMev9pnNCrcNq5v0cF 7c35v/yD24CHXjUTlENIeNCZUWDPSSPmTU633lt/ZinGJqtZrtDZ8b8qxyY3dUCnbwKo NA0TjL3vN/Oi74BczDfqOKubKfZo5lMM1FJxyV0cKX1QBnK1Y7M5BzSqrYQscVxakMcL BlxDGcEWzF0TLtNMHALVKIxxMa7gjWUN5jDl0eyNZVNn5zOmuvmZbfLbthXvNSa0xnIY KdcvSUWvvojm6oU+a9BzJvwWMznvHqI8JeEtER0lizo4S1uJR/qgF5cr75jQ+/NEnPlG U05A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KXEWdbj+yA2w5FVagUO63MUlQ9y4he3xTQCWbpDtGkM=; b=UL7ig18z1kqAM0LYtHqopnRZ4WwAJZayBSDlQ0E9D8QD2DNWPaugg5Cz77w2IsQV3T DMuBuu1Z2F0xqxJ9cXLmDynrgwE/nEuKh4tD5VYYj+9ouZTTb56y031AOxzRqZhIyKJ5 FaH6hsAFxenLUDXTIrItqEDrzeurmtawyokVurb3Jv43zzc1av5TGpdeoNy1/SfqISwb 4oI47eO9CvZAy7q/8GUWPYEe97NiqjNvqNTLIDcKXllormEnEPaLAD+apNeappR9ysjR 8QpxC3DRtZrJQTDyTSjZEUNR2rsbZH6JOqiabBIl0PLXc2Z+tHfoPT0totXl7aA4vPA1 1nxA== X-Gm-Message-State: AOAM533OW2ESTfmg2paI8qW9JVBdvcXowFhvpp9LCI375dipsk8tN2Ek jsNnc8EKYDPV8V+dhhBgKFMcq3gyXWChUmg1HbU= X-Google-Smtp-Source: ABdhPJwsh+gf/Kr12LMRL7/IN3wOaCNgg+PrABAou4zqGu4kDBR6EmBDt4wHVNMRW+CcxAfdWvOTN81UmIkrqtoRSk8= X-Received: by 2002:a67:87c6:: with SMTP id j189mr14551013vsd.0.1625575498839; Tue, 06 Jul 2021 05:44:58 -0700 (PDT) In-Reply-To: <87mtr242pj.fsf@gnus.org> 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" Xref: news.gmane.io gmane.emacs.bugs:209514 Archived-At: --00000000000029fcf705c673ca96 Content-Type: text/plain; charset="UTF-8" I agree it is not that important. But now I do wonder what then, in general, would provide a more readable way for printing lisp expressions. On Sun, 4 Jul 2021 at 15:40, Lars Ingebrigtsen wrote: > dalanicolai@gmail.com writes: > > > So I was wondering if it would be reasonable to add a basic output > > function for this to the Emacs core. > > I can't quite remember writing any command that would pretty-print a > Lisp expression when called interactively -- when a command displays > information to the user, pp-ing a Lisp expression is usually not the > most readable way. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --00000000000029fcf705c673ca96 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I agree it is not that important. But now I do wonder= what then, in general,
would provide a more readable way for pr= inting lisp expressions.

On Sun, 4 Jul 2021 at 15:40, Lars Ingebri= gtsen <larsi@gnus.org> wrote:
dalanicolai@gmail.com writes:=

> So I was wondering if it would be reasonable to add a basic output
> function for this to the Emacs core.

I can't quite remember writing any command that would pretty-print a Lisp expression when called interactively -- when a command displays
information to the user, pp-ing a Lisp expression is usually not the
most readable way.

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--00000000000029fcf705c673ca96--