From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Eliachevitch Newsgroups: gmane.emacs.bugs Subject: bug#58687: Fwd: Re: bug#58687: 29.0.50; Enabling pp-use-max-width dramatically slows down formatting of large sexps like org-persist--index Date: Thu, 12 Jan 2023 23:02:42 +0000 Message-ID: <878ri78i3m.fsf@posteo.de> References: <871qr1cn73.fsf@posteo.de> <87v8lc802g.fsf@localhost> <83edrzc1t2.fsf@gnu.org> <87cz7j9146.fsf@localhost> <83zganaerc.fsf@gnu.org> <87cz7j8j5o.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32310"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ihor Radchenko , 58687@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 13 00:11:18 2023 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 1pG6j8-0008Fp-40 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Jan 2023 00:11:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pG6iv-0002qI-DZ; Thu, 12 Jan 2023 18:11:05 -0500 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 1pG6is-0002on-Ny for bug-gnu-emacs@gnu.org; Thu, 12 Jan 2023 18:11:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pG6ir-00066a-Qh for bug-gnu-emacs@gnu.org; Thu, 12 Jan 2023 18:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pG6ir-0005rg-Mb for bug-gnu-emacs@gnu.org; Thu, 12 Jan 2023 18:11:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <871qr1cn73.fsf@posteo.de> Resent-From: Michael Eliachevitch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jan 2023 23:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58687 X-GNU-PR-Package: emacs Original-Received: via spool by 58687-submit@debbugs.gnu.org id=B58687.167356503322491 (code B ref 58687); Thu, 12 Jan 2023 23:11:01 +0000 Original-Received: (at 58687) by debbugs.gnu.org; 12 Jan 2023 23:10:33 +0000 Original-Received: from localhost ([127.0.0.1]:48835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pG6iP-0005qg-6y for submit@debbugs.gnu.org; Thu, 12 Jan 2023 18:10:33 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:33743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pG6iN-0005qQ-B8 for 58687@debbugs.gnu.org; Thu, 12 Jan 2023 18:10:31 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 846D52403F5 for <58687@debbugs.gnu.org>; Fri, 13 Jan 2023 00:10:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1673565025; bh=+A0tlV/tQCk7h7S+7wM2IJyqG4CIFIqCsg5y7t1EFVU=; h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From; b=Gq4aEBiaZkgL9u0VtfxbNncE+0W10jfehAUgPRegPDYpqhP8u9Pzs2sPHQww9JJb+ 5Efr3ieW/K2KlKlkXIdyNjoDZXqW2GEbIZ48yd+q27M/hGZi0FkFl0CiyxAG3Hk/Zf 4gStX7MXsjfcv3y57cnMTcvmBuXhvxCinESR4MgWNof0sUydEPINTeRfyTrlBqEpR/ IA+wsd59CTnGOGaS2+uM4kjO0jf1J1STW4k2TCB8NCH/1rPNeFmiNFI8gw4XFwIxpo P0wlT/QH5jS/V0UvxWpMmEEUtDrW6UFInTLrE6EgaPU1G4FlcAeJ91TLurnt/S7bFY mdr6ni4eUI4Hw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NtKyk1BnMz9rxB; Fri, 13 Jan 2023 00:10:21 +0100 (CET) Autocrypt: addr=m.eliachevitch@posteo.de; keydata=xsBNBFHFxZABCADAAv2siayhA7Etl85WcwcyMPBD2bt/6Wh3A8a12AURV5J4tprzgbdlxC0w1LofvklG7ls25NERAY931hvQW+f5GEI0pwoNNFXEkKDa8/J4SxhrqXx8CJA85owPq1g4cFeO1ooQJ32BewlRGsnhd+taYExZ76oaMnFtx6jYjf6mPbjDyiLhC+Og3MBpOqAnmX7mhStgJl0uru1ZGEB17tzzVuQ4ljDv/MvUagVFymQBhmlbzvze5eLeDn90Ot0DjWHy3HzCFMEnVqQy8rmEA8N9GOANwyMY79KVymsPakeNwacPRFzYXCZvolC5jtY6I/1ALvVtNc45JyZWty+rMPo3ABEBAAHNGG0uZWxpYWNoZXZpdGNoQHBvc3Rlby5kZcLAlAQTAQgAPhYhBFRpCMeCODrQ59iU7BuPlcgSXc4xBQJgUmWNAhsDBQkSToKgBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEBuPlcgSXc4xqC8H/06lkI7BimgkSobuEzsD9LsIPEyz5uUaQAP77u1nfoO1vB0DEdPxn7f3H3Hs7nyUfPgvgsn+9rTSV+ubHH5f/bzgQZgES2WItbV7iM290j6nWSc/iCTLlTmM2KMNvbMB9xGzV0m+UjMyAa9zUhB/3N+rd5ya/oSiTKw2/UbgfM5fR1knIUgPDENlKjJvO7/71Sxwpc+gKvAR9lHRT8JzQMyFaFO+zbo53Z7FzDTuj7zVyQ4MPIhe+UMI4rtNZeyPDM0QTep0+N39JbDhvUVevOh 15XJTYXl2Zdhl/yunnOibtg3XKtToakc4FjWJGrw8njbges5YqaodeMq OpenPGP: url=https://posteo.de/keys/m.eliachevitch@posteo.de.asc 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:253249 Archived-At: Sorry for the noise, but I need to resend (i.e. re-cc) this email to 58687@debbugs.gnu.org. I had sent it already to that list earlier, but my e-mail provider had blocked it because I recently enabled the "TLS-sending guarantee" it had blocked 58687@debbugs.gnu.org, therefore I disabled that setting again. Sorry for the noise. To: Eli Zaretskii Cc: Ihor Radchenko , 58687@debbugs.gnu.org On 2023-01-12 at 23:22 +01, Michael Eliachevitch wrote: > On 2023-01-12 at 18:39 +02, Eli Zaretskii wrote: > >> Not "the current 'pp'", but the implementation for this optional >> behavior. > > This is optional behavior, but I would prefer if the performance impact of > enabling this optional behavior would be documented, e.g. in the variable > docstring and NEWS.29. It's disabled by default and will only be used by those > like me and Visuwesh who the documentation and news, so I'm fine with it being > almost unusably slow if that's documented. Though better performance if possible > would be nice of course. > > On 2023-01-12 at 22:03 +0530, Visuwesh wrote: > >> Personally, I always thought it would be best if the user facing >> commands like pp-eval-sexp and friends alone respected the user option. > > Sounds like a good idea. I definetly didn't expect that me personally setting > this option for myself would affect how lisp objects are serialized to disk in > external packages. Not sure if I would only enable it for interactive commands > and the like, in the emacs-world we are all hackers and hard to say what is > user-facing. People might write their own functions using pp on small s-exps, > and wonder why this setting isn't doing anything. Not sure what's the best > approach there > > Maybe pp isn't meant to be used for doing anything that's not meant primarily > for human eyes, like serialization of lisp objects, maybe it's an error on > package maintainers that use it that way, but at least that could also somehow > be communicated more clearly to them. -- Michael Eliachevitch Public PGP Key: https://keyoxide.org/hkp/546908c782383ad0e7d894ec1b8f95c8125dce31