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 16:13:56 -0400 Message-ID: References: <83wod6h68x.fsf@gnu.org> <8336fsefvi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006a5d9c05950cbe3b" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="35744"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37751@debbugs.gnu.org, Stefan Monnier To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 16 22:15:18 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 1iKphW-00099P-0Z for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2019 22:15:18 +0200 Original-Received: from localhost ([::1]:47760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKphU-0007Wd-J4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2019 16:15:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39284) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKphJ-0007SN-7w for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 16:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKphG-0004x8-SY for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 16:15:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37808) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKphG-0004wy-Pm for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 16:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKphG-0001uQ-Hn for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2019 16:15:02 -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 20:15: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.15712568617262 (code B ref 37751); Wed, 16 Oct 2019 20:15:02 +0000 Original-Received: (at 37751) by debbugs.gnu.org; 16 Oct 2019 20:14:21 +0000 Original-Received: from localhost ([127.0.0.1]:46626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKpgY-0001t1-Uz for submit@debbugs.gnu.org; Wed, 16 Oct 2019 16:14:19 -0400 Original-Received: from mail-il1-f170.google.com ([209.85.166.170]:44023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKpgW-0001so-A0 for 37751@debbugs.gnu.org; Wed, 16 Oct 2019 16:14:16 -0400 Original-Received: by mail-il1-f170.google.com with SMTP id t5so3956112ilh.10 for <37751@debbugs.gnu.org>; Wed, 16 Oct 2019 13:14:16 -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=E5TGTuM93p2X9w/KBpUkd/90nRo9OGwgeEnJVTkEddE=; b=EAd8Wf0i5MwJ+fm5Bfr4nFHSNqurMe/oiL8UZJANw6z4DAV4cJjQVnK2MkOiVULnmE /bFACsXk9mXvRMUf25nbUMNqS/vi/adAorNDHrxdnyJiSQ3ZnfJwrkxTc6/1dezuLDNq KFABIXy5JxxjbhLKg0Auu9fic8N+ExnFBCEyd0pSaUSyqplDxYZ40Qzs2ruRTDIsLZYR 6ORZW7ToZm4Px5hEXHjkZQBlHhvWAhjoOVEzN9M7BkuvGTspOvHQ55EtYKqaKsdrPI6m B62JHr5FuiEBMxGoYn2bfE/PfzC0NPX0gY1OiTjiImO12PBHINTJVmAQT2Sszu9StlcA zMog== 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=E5TGTuM93p2X9w/KBpUkd/90nRo9OGwgeEnJVTkEddE=; b=LsWEYDUq4MG/YVFVTN9chyx9mucFPRzm7HK4zsyWE9vnVnPnM5+Fw/x+va263MjswA c+DRdj4lC3I5wwZSQ4gy9V8xsp9RAKTzGhoTm84nmbBXeruVDiC58xaim7vEYL2OG9sL AbAjVHwnaGF1zKoF9PvQvJLzQEDpiuc1xO3FcncS+uVKE8TquOHK8rHzhvSrbkau16OB x1jMuEylJkTdDAu5oOnpgvZnnXrIWdh0wbcCr4CFexaWE/FD5pPy4wwswhhWD+coKF2E 3KaRK4EAb/7gbDQNhHwvg0sUuec6sur91MaXDOIeYXxqTrs3D06QQGeKeI2bzR3WlL8r Qmfw== X-Gm-Message-State: APjAAAV2eDLvUX+a4Bcx6oiYxdFq4Jz0yVNCHcwmNhJ+foVBtSOU48F0 ZItpIyjFqY7BT398nwzgQRd6X8n4V6ZZtAW0WYZD6w== X-Google-Smtp-Source: APXvYqwzloCqrjJx3yM8ZKXU0EKppe0eLC9iQIkkbInI3Lqzf+WO3xNNPMVqfqvsNxhJuHwVMzLy02xfTkOLZJm9FdI= X-Received: by 2002:a92:d782:: with SMTP id d2mr13971839iln.159.1571256850333; Wed, 16 Oct 2019 13:14:10 -0700 (PDT) In-Reply-To: <8336fsefvi.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:169492 Archived-At: --0000000000006a5d9c05950cbe3b Content-Type: text/plain; charset="UTF-8" Dmitry's reply above helped me -- that fixes my issue. Thank you! On Wed, Oct 16, 2019 at 1:53 PM Eli Zaretskii wrote: > > 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 > -- Gary --0000000000006a5d9c05950cbe3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dmitry's reply above helped me -- that fixes my issue.= Thank you!

On Wed, Oct 16, 2019 at 1:53 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Gary Oberbrunner <garyo@oberbrunner.com>=
> Date: Wed, 16 Oct 2019 12:13:15 -0400
> Cc: 37751@d= ebbugs.gnu.org
>
> I've reported it to vue-mode, but vue-mode is a thin wrapper aroun= d 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 t= he fact that mmm-mode is switching major
> modes within the same buffer and trying to adjust everything on the fl= y, 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 s= yntax-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 <eliz@gnu.org> wrote:
>
>=C2=A0 > From: Gary Oberbrunner <garyo@oberbrunner.com>
>=C2=A0 > Date: Mon, 14 Oct 2019 18:08:32 -0400
>=C2=A0 >
>=C2=A0 > I'm using vue-mode, based on mmm-mode with Emacs 27 nig= htly on Windows 10.
>=C2=A0 > As of commit 0b3982b1a38, indentation stopped working in vu= e-mode buffers.
>
>=C2=A0 Please report that to the developers of vue-mode first, if you d= idn't
>=C2=A0 already.=C2=A0 If they conclude this is a core Emacs problem, an= d provide
>=C2=A0 evidence for that, we will look into this.
>
>=C2=A0 Thanks.
>
> --
> Gary


--
Gary
--0000000000006a5d9c05950cbe3b--