From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#30676: Please make smie-config-guess interruptible Date: Fri, 2 Mar 2018 23:07:29 +0000 Message-ID: References: <87371i3xtl.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1520032006 14878 195.159.176.226 (2 Mar 2018 23:06:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Mar 2018 23:06:46 +0000 (UTC) Cc: 30676@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 03 00:06:41 2018 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 1ertlA-0003Gk-Kw for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Mar 2018 00:06:40 +0100 Original-Received: from localhost ([::1]:37854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ertnD-0007CG-7D for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Mar 2018 18:08:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ertmX-0006ba-BX for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2018 18:08:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ertmU-0006Fk-6D for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2018 18:08:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ertmT-0006FK-VL for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2018 18:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ertmT-000101-KQ for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2018 18:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Mar 2018 23:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30676 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 30676-submit@debbugs.gnu.org id=B30676.15200320583789 (code B ref 30676); Fri, 02 Mar 2018 23:08:01 +0000 Original-Received: (at 30676) by debbugs.gnu.org; 2 Mar 2018 23:07:38 +0000 Original-Received: from localhost ([127.0.0.1]:41619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ertm5-0000z3-Ur for submit@debbugs.gnu.org; Fri, 02 Mar 2018 18:07:38 -0500 Original-Received: from mail-ot0-f179.google.com ([74.125.82.179]:42023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ertm4-0000yr-5G for 30676@debbugs.gnu.org; Fri, 02 Mar 2018 18:07:36 -0500 Original-Received: by mail-ot0-f179.google.com with SMTP id l5so10163703otf.9 for <30676@debbugs.gnu.org>; Fri, 02 Mar 2018 15:07:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TgI5wzWxKgg3JoQnf20DXcplrJ5sNNwrCnR4Q7NLx0A=; b=KowwQpM7XWEExRzso+Cv6obl55WUdyOdtQFGvlYvXI9mEpOYtDhb2GKRweUYdGCbEG Pn3JTDeLns2GF4kJMEza29GpIKKEDgUc8pqkbFOHcKPrjg9wuL2TBErmJtg+8wlM6HEC NRv6zrJZXZ0bd8pXY8wqNvBo8CWhlARlPJ0nY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TgI5wzWxKgg3JoQnf20DXcplrJ5sNNwrCnR4Q7NLx0A=; b=Y6who7023MAKLQQUo0n1inrsriVgPM+/6c6XAhZShRNLhUt8F5IXCuD++KaKx5NdbG SbbD0cfxPKllv16VH7ExtLJKk1z+L4X3r8xDqVVzuUHhgMmv1BVqPTqluCl+EQNbXzL7 bJ14l3XU/evFHuYNUe+81hkmQnkhoTOTneBtJD2eC11PsWjWD4g78ASlydXJ30d7qhaa moE9cqtrYudO8LMnLZqzaJdr2G9PLZefGfjgs7mo7bppv8oD9AbvD4zp0uIgzT92yGOR p0fj6KY6GcUzW5rmOpNfYtOpcIT1BWYUxbQRlGMqf6CxmFOx4ROvFKpJUtIygWMKNhnX qu1A== X-Gm-Message-State: AElRT7E8/k/B027+IHqXnO3HvKe7A6gzNBMNmdpe7ZT07vwQYPHHNWQ9 CnQN/nmA50Ub2XMqS6Ue5e3e0e9SksxdNnaFAyWz0A== X-Google-Smtp-Source: AG47ELsfH/LWZR6NzthDs1efeqk2fsSyDPRacNMmD+8eqDlwU+Fw8VfAXh9SK02GiMyw4CwwEHBD6pEUu+QG4hvLaSs= X-Received: by 10.157.44.35 with SMTP id f32mr4881609otb.273.1520032050277; Fri, 02 Mar 2018 15:07:30 -0800 (PST) Original-Received: by 10.157.39.68 with HTTP; Fri, 2 Mar 2018 15:07:29 -0800 (PST) In-Reply-To: <87371i3xtl.fsf@gmail.com> 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:143852 Archived-At: On 2 March 2018 at 22:41, Noam Postavsky wrote: > tags 30676 + unreproducible > quit > > Reuben Thomas writes: > >> It would be nice if one could run smie-config-guess without having to >> worry about it locking up Emacs on large buffers. If it were possible >> to interrupt it with C-g, that would make it friendlier. > > C-g interrupts just fine for me; since it written in lisp, I can't see > why it should be otherwise. Indeed, I was a bit surprised, but I ran it on my ~/.bash_history (about 10Mb, 900,000 lines) and however many times I pressed C-g, it just sat there slowly counting through the "Analyzing" progress meter, and Emacs taking 100% CPU. -- https://rrt.sc3d.org