From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#58687: 29.0.50; Enabling pp-use-max-width dramatically slows down formatting of large sexps like org-persist--index Date: Fri, 13 Jan 2023 09:28:37 +0000 Message-ID: <875yda7ph6.fsf@localhost> 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18534"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 58687@debbugs.gnu.org To: Michael Eliachevitch Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 13 10:29:23 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 1pGGNH-0004N0-21 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Jan 2023 10:29:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGGMx-00014X-TI; Fri, 13 Jan 2023 04:29:03 -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 1pGGMw-00012k-PM for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2023 04:29:02 -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 1pGGMw-00058r-GF for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2023 04:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGGMw-0005IW-CE for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2023 04:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jan 2023 09:29:02 +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.167360209420274 (code B ref 58687); Fri, 13 Jan 2023 09:29:02 +0000 Original-Received: (at 58687) by debbugs.gnu.org; 13 Jan 2023 09:28:14 +0000 Original-Received: from localhost ([127.0.0.1]:49584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGGMA-0005Gw-7L for submit@debbugs.gnu.org; Fri, 13 Jan 2023 04:28:14 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:54597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGGM8-0005Gk-R1 for 58687@debbugs.gnu.org; Fri, 13 Jan 2023 04:28:13 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2351E240038 for <58687@debbugs.gnu.org>; Fri, 13 Jan 2023 10:28:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673602087; bh=/eknoOZ/xJxpIHLsU7L9qwD2pWXdK8jubSlWVcbuXBM=; h=From:To:Cc:Subject:Date:From; b=ruAv7bYjyqa8+Z/6I1/y1br3U7hhgdH70lJ3sKEwZiekj1c+WgJw8ts5FmrvZ2y5N ocUtbIzercSy/JpSqaRNk8Df5Ap9hJRZk4xnNmZqaXp75rDiBWZrPhpEoPvKFi/1zO eMJScgLqjvuMsI+UidXWBhesw1doWyn6ZSTAa7xWZ5TUTylxXk1o8Yt1Cci9G2Mc65 CkSx3Qu4ebm2qoYMz7pD0CWbMWoaKwObdyjzryX8otLfDRFA0Kku1KeU0k+1htyp/5 82BhqshBYD7Yn4Ho4f3DkZU/rGD3spnj07QuPpIT1Vkddi5O+k93zRt8aVqxXfC+iI epAiC5zdpSkPQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NtbgT6HSwz9rxB; Fri, 13 Jan 2023 10:28:05 +0100 (CET) In-Reply-To: <87cz7j8j5o.fsf@posteo.de> 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:253277 Archived-At: Michael Eliachevitch writes: >> 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. In org-persist, `pp' is used because "index" file might be something users may want to check manually. Following the notion that Elisp data should be something consumable by humans, if possible. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at