From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25156: 26.0.50; `describe-text-properties' hangs with 100% cpu usage when property is a char-table Date: Sat, 10 Dec 2016 11:40:31 -0500 Message-ID: <87eg1feo00.fsf@users.sourceforge.net> References: <83oa0jg8z6.fsf@gnu.org> <87h96ber9z.fsf@users.sourceforge.net> <83k2b7g484.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481388013 3640 195.159.176.226 (10 Dec 2016 16:40:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2016 16:40:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 25156@debbugs.gnu.org To: Peter Wang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 10 17:40:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFkgz-00005u-3s for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2016 17:40:09 +0100 Original-Received: from localhost ([::1]:52334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFkh2-0001U7-Ts for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2016 11:40:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFkgw-0001SR-Ar for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 11:40:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFkgt-0004un-97 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 11:40:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49980) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFkgt-0004ub-41 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 11:40:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cFkgs-0001Di-CZ for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 11:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Dec 2016 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25156 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25156-submit@debbugs.gnu.org id=B25156.14813879774646 (code B ref 25156); Sat, 10 Dec 2016 16:40:02 +0000 Original-Received: (at 25156) by debbugs.gnu.org; 10 Dec 2016 16:39:37 +0000 Original-Received: from localhost ([127.0.0.1]:37146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFkgT-0001Cn-MB for submit@debbugs.gnu.org; Sat, 10 Dec 2016 11:39:37 -0500 Original-Received: from mail-io0-f181.google.com ([209.85.223.181]:34192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFkgS-0001CU-6q; Sat, 10 Dec 2016 11:39:36 -0500 Original-Received: by mail-io0-f181.google.com with SMTP id p42so111642771ioo.1; Sat, 10 Dec 2016 08:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=bKdox5bn5a4QEv6iJj2zb+zHw5n1N+E0BtzkDLvCYnY=; b=x1nXc9xy9NiQY924mt0StNazBg/HyfAb2PnNxWiwvebFvSHmFbfQ9Mlo994h6PcdZp 1TVdmzRu3oozzFRprokCUwEyhHUnEumTTz4YzIRwazbrmlqj9eNPY38fpVisCxeF/OyO U/VbZxBjZj2SjRiw+IWZENrRKxtx7398kQlXCFL7Uy4zxcMNsOhel/XeybH5Xd8wWxNO vToEpxetfbvaZgTBGWWvMllq5qDsugCu0D0WwPwzaMxb/+KTrW23s0G4ybtqOOz7DFxd 3qe6mlvSSD2nG6+eunt8Kh4COYwIq2/MOEnbeqovyChoMSZkbHToO63/zzIT+Avyqv/Q z48g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=bKdox5bn5a4QEv6iJj2zb+zHw5n1N+E0BtzkDLvCYnY=; b=lmNE0ZL/mn2bibiMhdjWPfgmTkptMhru6A453MEB3ypd2wQo8hhxWDFqCRp+DyPVUj MLaiJjb3zxBUgG3tBkkgDHdJRwyH1HRqjUPMNNxvGb+kmpMt8H8xkwyTrlHIKkMdzanr lf4bBKfaK5lc0N7G781LqGyjZvBZrqnlVGcGLTDn7U8Uq0k527A1uxVTXDC+nH9AmxZU uJBN4+VRHuRNyH0Wi/kMbwIlxY+cT/tu7ldcRL6zAVKMi4Tn3OljmbY5Rv54yt+QEcf6 xxGeJ6NfhomLnorw9xAE3ePsQG6K6RxwS16AnI/gsYO1MCRzTv/f8J8fhTGOpJQyzN85 Cjvg== X-Gm-Message-State: AKaTC02ZmdvOjmtAp2jh9Qx4qrE2MVMVGQx4VVbPcBr4Fx6sdel/I8YpO7HJN6kKkl2u4g== X-Received: by 10.107.32.141 with SMTP id g135mr63568005iog.96.1481387969524; Sat, 10 Dec 2016 08:39:29 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id p71sm16570675ioe.33.2016.12.10.08.39.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Dec 2016 08:39:29 -0800 (PST) In-Reply-To: (Peter Wang's message of "Sun, 11 Dec 2016 00:16:29 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126814 Archived-At: # not an Emacs bug tags 25156 notabug close 25156 quit Peter Wang writes: > I found the culprit was this line in my configuration: > > (setq lisp-indent-function 'common-lisp-indent-function) > > and common-lisp-indent-function is provided by > > `.emacs.d/elpa/slime-20161109.640/contrib/slime-cl-indent.el' > > I think it is a wrong configuration. > > something in common-lisp-indent-function cause the huge slowing down. Okay, looks like a problem with slime-cl-indent.el then. Using Emacs' common-lisp-indent-function (from lisp/emacs-lisp/cl-indent.el) I get around 4 seconds, so it's slower but not a hang. > > > > (benchmark 1 '(describe-variable 'lisp-mode-syntax-table)) ;=> "Elapsed time: 1.272053s (0.161946s in 6 GCs)" > > (benchmark 1 '(describe-property-list (list 'syntax-table lisp-mode-syntax-table))) ;=> "Elapsed time: 1.165824s (0.139516s in 5 GCs)"