From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37751: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 Date: Wed, 16 Oct 2019 20:53:37 +0300 Message-ID: <8336fsefvi.fsf@gnu.org> References: <83wod6h68x.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="228926"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37751@debbugs.gnu.org To: Gary Oberbrunner , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 16 19:55:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iKnVv-000xP9-5J for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2019 19:55:11 +0200 Original-Received: from localhost ([::1]:46666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKnVt-0005bC-Jh for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2019 13:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48815) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKnVn-0005al-Hj for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 13:55:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKnVm-0005Hl-FZ for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 13:55:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKnVm-0005Hh-CJ for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 13:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKnVm-0006sG-8v for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 13:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Oct 2019 17:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37751 X-GNU-PR-Package: emacs Original-Received: via spool by 37751-submit@debbugs.gnu.org id=B37751.157124844326331 (code B ref 37751); Wed, 16 Oct 2019 17:55:02 +0000 Original-Received: (at 37751) by debbugs.gnu.org; 16 Oct 2019 17:54:03 +0000 Original-Received: from localhost ([127.0.0.1]:46487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKnUo-0006qc-VU for submit@debbugs.gnu.org; Wed, 16 Oct 2019 13:54:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKnUm-0006q6-HF for 37751@debbugs.gnu.org; Wed, 16 Oct 2019 13:54:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iKnUg-00051p-VB; Wed, 16 Oct 2019 13:53:55 -0400 Original-Received: from [176.228.60.248] (port=4764 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iKnUg-0000mn-18; Wed, 16 Oct 2019 13:53:54 -0400 In-reply-to: (message from Gary Oberbrunner on Wed, 16 Oct 2019 12:13:15 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:169470 Archived-At: > From: Gary Oberbrunner > Date: Wed, 16 Oct 2019 12:13:15 -0400 > Cc: 37751@debbugs.gnu.org > > I've reported it to vue-mode, but vue-mode is a thin wrapper around mmm-mode (mode for multiple major > modes in the same buffer). It may be hard for the mmm-mode maintainer to understand my issue since I'm > using a derived mode, not mmm-mode directly. > I was hoping Stefan Monnier might chime in with some ideas -- I think I'll have to dive into it, and I'm OK with > that, but could use a bit of guidance. I suspect it's related to the fact that mmm-mode is switching major > modes within the same buffer and trying to adjust everything on the fly, even when the buffer hasn't changed. > (In mmm-mode it switches modes when you enter a certain region of the file.) Stefan doesn't regularly read this list, but I've CC'ed him now. > For instance is there any way to temporarily completely turn off the syntax-ppss caching mechanism, so I can > really see if that's the root cause? > > I can definitely confirm that holding everything else constant except that single emacs commit of Stefan's, > 0b3982b1a38, triggers the failure. But I understand it's probably some interaction between that and > mmm-mode. > > On Tue, Oct 15, 2019 at 2:28 AM Eli Zaretskii wrote: > > > From: Gary Oberbrunner > > Date: Mon, 14 Oct 2019 18:08:32 -0400 > > > > I'm using vue-mode, based on mmm-mode with Emacs 27 nightly on Windows 10. > > As of commit 0b3982b1a38, indentation stopped working in vue-mode buffers. > > Please report that to the developers of vue-mode first, if you didn't > already. If they conclude this is a core Emacs problem, and provide > evidence for that, we will look into this. > > Thanks. > > -- > Gary