From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64589: 30.0.50; smie-config-guess can break ruby indentation Date: Thu, 19 Oct 2023 22:15:52 -0400 Message-ID: References: <2c81d38d-2d92-8196-c481-e6fa59e94d01@gutov.dev> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8835"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64589@debbugs.gnu.org, Aaron Jensen To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 20 04:17:12 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 1qtf4Z-00025d-MC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Oct 2023 04:17:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtf46-0001S5-Kn; Thu, 19 Oct 2023 22:16:42 -0400 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 1qtf40-0001Rk-5F for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 22:16:38 -0400 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 1qtf3z-0001bT-4S for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 22:16:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtf4Q-0006Tz-0X for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 22:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Oct 2023 02:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64589 X-GNU-PR-Package: emacs Original-Received: via spool by 64589-submit@debbugs.gnu.org id=B64589.169776819524873 (code B ref 64589); Fri, 20 Oct 2023 02:17:01 +0000 Original-Received: (at 64589) by debbugs.gnu.org; 20 Oct 2023 02:16:35 +0000 Original-Received: from localhost ([127.0.0.1]:38296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtf3x-0006T5-CA for submit@debbugs.gnu.org; Thu, 19 Oct 2023 22:16:35 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:1194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtf3s-0006SY-2E for 64589@debbugs.gnu.org; Thu, 19 Oct 2023 22:16:32 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1ADBA442976; Thu, 19 Oct 2023 22:15:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1697768153; bh=IRnFGPmQTcwbrjKEFxxU2CZWgdaq3XJAkNaiDsAzgDQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=EIoSSm3EA4hnK0c/X7Fd/gCQZXn/D02rv0vxOk6qC2OfT7PhZzQ/1CEoPhYauEV2F 4D+jgAd53btdq3Pc1IH1RvGuYnpogPEtTitx2pvoqsXCv6Ae7X8YDWNh+vAJm4vqpb x69ZCkUochRK3Ay9/8raYVdnlq2Nr4sueOCzJjlzPIeqLXI/mvPw/EFM9H/4+NXM3M gTs2saDl8EBCKpVAgP0hX9/hsuKNNWdeOUFsu2CC9tzPgX4sec4/GBdojS3NhpU1+K glAlxJoAf0VuwCqcUB95f3dcnDLW+nZJYsRXAHrGychQmZPmSSRmXAJ3r1LP8jCI92 8kY7q1R0Yth/w== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 8FF8344297D; Thu, 19 Oct 2023 22:15:53 -0400 (EDT) Original-Received: from pastel (unknown [45.72.216.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6431612016C; Thu, 19 Oct 2023 22:15:53 -0400 (EDT) In-Reply-To: <2c81d38d-2d92-8196-c481-e6fa59e94d01@gutov.dev> (Dmitry Gutov's message of "Fri, 20 Oct 2023 02:29:21 +0300") 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:272768 Archived-At: > Perhaps we'll simply end up documenting that it doesn't work for all SMIE > modes, just for some. And dtrt-indent will have a whitelist. It's definitely the case that it's a "best effort" kind of tool, which makes assumptions that don't always hold. Using it unconditionally like `dtrt-indent` does seems ... optimistic, but I'll take it as a compliment :-) Stefan