From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Gary Oberbrunner Newsgroups: gmane.emacs.bugs Subject: bug#37751: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 Date: Wed, 16 Oct 2019 12:13:15 -0400 Message-ID: References: <83wod6h68x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009dbc2205950961c1" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="54017"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37751@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 16 18:14:27 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 1iKlwR-000Dy0-By for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2019 18:14:27 +0200 Original-Received: from localhost ([::1]:45252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKlwQ-0006iP-5L for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2019 12:14:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59925) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKlw5-0006d5-PS for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 12:14:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKlw2-00063V-6k for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 12:14:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37592) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKlw2-000632-3X for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 12:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKlw1-0004KD-S8 for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 12:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gary Oberbrunner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Oct 2019 16:14:01 +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.157124241816586 (code B ref 37751); Wed, 16 Oct 2019 16:14:01 +0000 Original-Received: (at 37751) by debbugs.gnu.org; 16 Oct 2019 16:13:38 +0000 Original-Received: from localhost ([127.0.0.1]:46413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKlvc-0004JR-RG for submit@debbugs.gnu.org; Wed, 16 Oct 2019 12:13:38 -0400 Original-Received: from mail-il1-f179.google.com ([209.85.166.179]:38654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKlva-0004JG-Hm for 37751@debbugs.gnu.org; Wed, 16 Oct 2019 12:13:35 -0400 Original-Received: by mail-il1-f179.google.com with SMTP id y5so3197405ilb.5 for <37751@debbugs.gnu.org>; Wed, 16 Oct 2019 09:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oberbrunner-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=P+Lad/8QPweNWFNR8iONNYyb94cMnJCke/YLsN2fhKk=; b=wJJ7BKHemL/hpig6AONbNRIORM07f1geUqpAQj5ZsjGLnQoQMzHs0UhxrYQ2T3trXz q7JTSBI8o7O82WvcUszybsX2iyL+2TGN9xZnjhROR48YZLZe3DDjdzf07KnMJRMFJqRF qBUDStWVF984ei8QYeS23LhtdXVK7ohQvmNWDdaVOtuC1sPayVHVB4ouliCCdefHlpnu dPylUzBI/jU9DwJyf3JHzisupf33BCfft8nqyvxtMXy/Q0oKYkbNiCJVvGrjLZBcvGHy d+brojEpt53IBfA30wnxaAF29IHkDdLns/go+ZCfwfgjaiWFppWTcrUoUHc731RciPLC dufw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P+Lad/8QPweNWFNR8iONNYyb94cMnJCke/YLsN2fhKk=; b=i9pTTZdy55x7PrJzEzaOVCkz+sE6O1ffrPsCg/GyP+0lFrU9fWUsF1vJ+KwupLjFDK vP7EWlGkqkiDWnbnYF0ReHwUCY1Av7HUzu0mzLEhKHmnuIlPcKUpCTzIPdBfai39XqzF IAly7xA1VFdtDnhjP4kojcxku9K2wfnOjNcwpkkVSs3AFhRtNiPFQwT2FdLtzSeyrYkR WFUvxEw+96LsVFUWjgMTi1eetJricIBNQvOahaaEPI4Ai9648UOQE7Oe4ZI1OrSSXBTr o1BrNtMaUTC6yIZUI8ftptd5mTSBMcccZB5XA8v0Y4tFarQmqGl3ssAjBr1MP8hMZR4a m0Ag== X-Gm-Message-State: APjAAAUXy+9IpVXiDqLhaZ1oh0TFzeMmxVBUm8Wi3Djah8MVMMVeEY+G eO8Cx8w7ZIojqJh99/ktsBahseFyqxu0o6GW1G+7Fw== X-Google-Smtp-Source: APXvYqwaPn33SZr3WSw1DlNX5EUE6fZAo++JMA16JESTaNtvLHbaJdOVfsl/fY94dSJONGwwNUri4j4sgckrkP60cPw= X-Received: by 2002:a92:3bdc:: with SMTP id n89mr12135574ilh.219.1571242408512; Wed, 16 Oct 2019 09:13:28 -0700 (PDT) In-Reply-To: <83wod6h68x.fsf@gnu.org> 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:169461 Archived-At: --0000000000009dbc2205950961c1 Content-Type: text/plain; charset="UTF-8" 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.) 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 --0000000000009dbc2205950961c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've reported it to vue-mode, but vue-mode is a thin w= rapper 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&#= 39;m using a derived mode, not mmm-mode directly.
I was hoping Stefan M= onnier 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 i= t's related to the fact that mmm-mode is switching major modes within t= he same buffer and trying to adjust everything on the fly, even when the bu= ffer hasn't changed. (In mmm-mode it switches modes when you enter a ce= rtain region of the file.)

For instance is there a= ny 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 tha= t single emacs commit of Stefan's,=C2=A00b3982b1a38, triggers the failure. But I understand it's probably som= e interaction between that and mmm-mode.

<= br>
On Tue,= Oct 15, 2019 at 2:28 AM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Gary Oberbrunner <garyo@oberbrunner.com>=
> Date: Mon, 14 Oct 2019 18:08:32 -0400
>
> I'm using vue-mode, based on mmm-mode with Emacs 27 nightly on Win= dows 10.
> As of commit 0b3982b1a38, indentation stopped working in vue-mode buff= ers.

Please report that to the developers of vue-mode first, if you didn't already.=C2=A0 If they conclude this is a core Emacs problem, and provide evidence for that, we will look into this.

Thanks.


--
Gary
--0000000000009dbc2205950961c1--