From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#68072: pp functions have O(n^2) runtime with lisp-indent-function set to common-lisp-indent-function Date: Thu, 28 Dec 2023 09:10:27 -0800 Message-ID: References: <875y0jw5jf.fsf@prescott.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19413"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68072@debbugs.gnu.org To: Stefan Monnier , Brennan Vincent Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 28 18:11:40 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 1rItv2-0004s2-9a for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Dec 2023 18:11:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rItuW-0002Rp-8K; Thu, 28 Dec 2023 12:11:08 -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 1rItuR-0002Rb-I3 for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 12:11:04 -0500 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 1rItuQ-0005sx-Sw for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 12:11:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rItuP-0003uQ-Lm for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 12:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Dec 2023 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68072 X-GNU-PR-Package: emacs Original-Received: via spool by 68072-submit@debbugs.gnu.org id=B68072.170378343514987 (code B ref 68072); Thu, 28 Dec 2023 17:11:01 +0000 Original-Received: (at 68072) by debbugs.gnu.org; 28 Dec 2023 17:10:35 +0000 Original-Received: from localhost ([127.0.0.1]:40246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIttz-0003te-Am for submit@debbugs.gnu.org; Thu, 28 Dec 2023 12:10:35 -0500 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:59885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIttx-0003tJ-DM for 68072@debbugs.gnu.org; Thu, 28 Dec 2023 12:10:34 -0500 Original-Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-50e7c6e3c63so3000612e87.3 for <68072@debbugs.gnu.org>; Thu, 28 Dec 2023 09:10:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703783428; x=1704388228; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=1G0HtDTpQ+oceP+R1MRvkp5fmrR75+ZRW25PHUCRNrE=; b=ETNH/nYYMAfm4XmIHYSJ0eUmY3pCltH4fM+6NSwrc+7Sh5FSUfS6J4JxfZ2f0gLd42 2ASE7JeQeXekXKxX7DAhp7We6kK9Zk58e3M4SuTkRJCmApKdl6SnjS0wywOdMsdKn3A7 9lm5joEBnzYEVmnuOJq/fK8LmfybXpmJHhSluU7vCayZeECmFtH8Bl5C3u1QVtRyDNJw Yr7jJt+hkaYJQY07rqX0e9n8yamsoZ7rlcgRP/t/fLZ4p8TuxvGFK207shwPg3KZR9cp o1lKvtW3EjyrFXv3MjZdaTQUOvI811fyvRTcs2+3rRTTm3hOFHZ9MYH/sPE4x+YdkFl7 CVig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703783428; x=1704388228; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1G0HtDTpQ+oceP+R1MRvkp5fmrR75+ZRW25PHUCRNrE=; b=nH6USd7DMlTJ6upchg8pvFX1WuUWZO+xd9x17UJDREvsB1fWv04mURtbKCplqOiXLm ELuoegcYduLjA8bungKeGLHfuBwPou+V6IRZT8k8LiUmYPz/Ckvzmh0IsjqboLKNQFll XlyrdR1z0Cf5iUtCiJN/tcLErQRp3Hb5tSr/Y6qn6ehs7SL/qOWjjhcVLuWOtB3VShAA 2a9wseIVX0gz3C9Xo9QyX9isVrB34MhqHlVfTMDLIEdTJP7nLx9nYj5cWTCzF3XItClC /+E/CKW16u9Xbi8HEBcgeZ9xGlDsdMO8wshNEMAFnlfk4Usx8y6qMhKLaMRlOYj/s/OZ 2VJw== X-Gm-Message-State: AOJu0YxhHph2abfAjB4Xy2oq3K2q1jEi4LtdB7r7IQGOAFLvOaDSVxU+ b/wyMug4zUU6EsPbmSIzOW3ixGXMDvIT8K0wD3I= X-Google-Smtp-Source: AGHT+IEPK7GjX4U0pan4SuzB0POZNGfrxu/6sfkLQMRR/FU3PkEWPDSsFZUy51eOAEgvly3fmkHIg73B7el5dvVculQ= X-Received: by 2002:a05:6512:3c8e:b0:50e:76a4:4e13 with SMTP id h14-20020a0565123c8e00b0050e76a44e13mr2130718lfv.119.1703783427451; Thu, 28 Dec 2023 09:10:27 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 28 Dec 2023 09:10:27 -0800 In-Reply-To: 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:276985 Archived-At: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Maybe we should make `lisp-data-mode` set `pp-default-function` or > `lisp-indent-function` to avoid such problems? It sounds like a good idea. This problem is presumably not at all limited to eglot, and this should fix it for any case using `lisp-data-mode`.