From unknown Tue Jun 17 20:17:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37751 <37751@debbugs.gnu.org> To: bug#37751 <37751@debbugs.gnu.org> Subject: Status: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 Reply-To: bug#37751 <37751@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:17:06 +0000 retitle 37751 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 reassign 37751 emacs submitter 37751 Gary Oberbrunner severity 37751 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 18:08:53 2019 Received: (at submit) by debbugs.gnu.org; 14 Oct 2019 22:08:53 +0000 Received: from localhost ([127.0.0.1]:42380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK8WK-00037I-A9 for submit@debbugs.gnu.org; Mon, 14 Oct 2019 18:08:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:57526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK8WH-000375-VW for submit@debbugs.gnu.org; Mon, 14 Oct 2019 18:08:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39784) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK8WF-0000SE-Nw for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 18:08:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK8WD-0006Gx-EZ for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 18:08:47 -0400 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]:37647) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK8WD-0006G1-0g for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 18:08:45 -0400 Received: by mail-io1-xd2c.google.com with SMTP id b19so41399511iob.4 for ; Mon, 14 Oct 2019 15:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oberbrunner-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=UjwKbUMAkvCc5i4PJSoHPw0BKdZqsu5hYnu0oljvv/k=; b=ZrXA9UBPMJ7Y+MHv2dPnZ70qt/S8B+SumbxulDOXEfwSOZhhYN6coL4vu3Udg35LQ2 PY+Thzu5VvgcUuKVy6AWtVQ6kkRFrr/robFrI5Ia6j1H60Dl8vp252g4WOIsMJ7LKx8J MPxMZbrMKm8rKVwj4+ParvIGk3f5FWw1JL93sYu1cPqVwlC/2QgAPl+/5qmlUu1bsa72 /fz1pxaUYN/Jb9+LY+Fl8P80+n5rvyAV9hU25skOK478apMg/Tm73jjZ7RVEDuUuyCl/ k67TpwHdmHGIhcZ3xkd6RJwnRMMZ8/XL2fWhVemp1dY+ZUzRilW+G+LAyEhJoC+WxTSD pxMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UjwKbUMAkvCc5i4PJSoHPw0BKdZqsu5hYnu0oljvv/k=; b=KHenYP8mbca7hrk5i/HSoWNWAjj1Sks6+qUDxFl7eJuLmckf3HekuDJUtrCBOhrtmp Bd85S2P83wAfVZTwZ3TLWa7TtNgxJejWbTun+eyJCofSRbUUC6Z+R2DlGp/6umuezYqx ERevfMrJTnWlpX48XvY02NMuVcZsCKgUaCdxipS6r1N5APuMiMNt/i8fOcVRrth7UH7z Z4NV8hu2JnMbwrxgmo45e4Ro8LiG+t/zkMP0fQy1SMctAVhDWCzLtDvirO61/aI11UFz jtLvHXf7Cl5cTdTmrFmpV6gbTs3ckDjN/aUEBGYBgzsDUtP2MYSyDTcGx9pAbdOc61hM kFUw== X-Gm-Message-State: APjAAAVaWRzYsOvKG7a5pMQzoAURvwX8whGNfBYxZ+3Jcn9350Mw7J1L Q9WtnEMJkhtqU/sOuh2sZBa1wIXF0E2BxxccZkqWq6Tf2UcgpQ== X-Google-Smtp-Source: APXvYqz5OVA8ODx8qciGQ8NBS0rDMQ496yFR0pJ90F+nFrpMMravAvV0Tsk1YNfqTKZOYbeMXb0jwDoHe3wygZNrs+I= X-Received: by 2002:a92:6504:: with SMTP id z4mr2896551ilb.290.1571090923208; Mon, 14 Oct 2019 15:08:43 -0700 (PDT) MIME-Version: 1.0 From: Gary Oberbrunner Date: Mon, 14 Oct 2019 18:08:32 -0400 Message-ID: Subject: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000635ea60594e61ce1" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2c X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000635ea60594e61ce1 Content-Type: text/plain; charset="UTF-8" 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. To repro, create a simple .vue file: ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ In emacs -q, load the 'vue-mode' package, go to the blank line in function foo(), and type TAB. In commit ca7b6a4451, this works (indents the cursor). In the next commit, 0b3982b1a3, it stopped working. The commit in question is this: * 0b3982b1a3 Stefan Monnier, 4 months ago: | . . . . * lisp/emacs-lisp/syntax.el: Use syntax-ppss-table for syntax-propertize. This init file should suffice to repro the issue: ~~~~~~~~~~~~~~~~~~~~~~~~ (require 'package) (package-initialize) (require 'use-package) (setq use-package-verbose t use-package-always-ensure t) ;;; Vue mode, based on mmm-mode -- set up for .vue files (html/css/script) (use-package vue-mode :mode "\\.vue$") ~~~~~~~~~~~~~~~~~~~~~~~~~ I traced it as far as the fact that (syntax-ppss (point)) returns 0 on that blank line in the failing commit, where it should return 1 (and it does in the prev commit). However (parse-partial-sexp (point-min) (point)) works in both commits, so it's something about the ppss syntax tables I think. Note that vue-mode is based on mmm-mode, so it's really three modes in one file. At the function foo(), it should be in typescript mode. Also note that a regular typescript-mode file (foo.ts) does not have this problem, only a multi-mode file like Vue. I'm happy to help with any further info -- the syntax stuff is pretty opaque to me without some help, however. :-) I haven't dug into that code since the '80s and it looks a lot different now. In GNU Emacs 27.0.50 (build 1, x86_64-w64-mingw32) of 2019-10-14 built on TOWER1 Repository revision: ca7b6a4451ede087a1f6796ec5aab6243fcee108 Repository branch: HEAD Windowing system distributor 'Microsoft Corp.', version 10.0.18362 System Description: Microsoft Windows 10 Pro (v10.0.1903.18362.418) Recent messages: Configuring package vue-mode...done Configured using: 'configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --without-imagemagick --without-makeinfo --prefix=c:/emacs/emacs-trunk-2019-oldtest' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: C value of $LANG: en_US.utf-8 locale-coding-system: cp1252 Major mode: vue Minor modes in effect: lsp-ui-mode: t lsp-ui-doc-mode: t flycheck-mode: t lsp--managed-mode: t lsp-mode: t company-mode: t yas-global-mode: t yas-minor-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired dired-loaddefs rfc822 mml mml-sec epa epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail typescript-mode derived cl cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs css-mode smie eww mm-url gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums time-date mail-utils mm-util mail-prsvr url-queue url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf mailcap shr text-property-search svg xml browse-url format-spec company-oddmuse company-keywords company-etags etags fileloop generator company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck find-func view lsp-clients lsp-vhdl lsp-haxe lsp-erlang lsp-fsharp lsp-metals lsp-elm lsp-dart lsp-clojure lsp-go lsp-xml lsp-css lsp-intelephense lsp-vetur lsp-html lsp-solargraph lsp-rust lsp-pyls lsp sgml-mode dom vue-mode ssass-mode vue-html-mode mmm-cmds mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars mmm-utils mmm-compat company-lsp lsp-mode ewoc markdown-mode edit-indirect rx color noutline outline tree-widget wid-edit xref url-util spinner network-stream puny nsm rmc inline imenu ht filenotify f s em-glob esh-util dash-functional dash bindat flymake-proc flymake compile comint ansi-color ring warnings thingatpt project company edmacro kmacro pcase yasnippet-snippets yasnippet cl-extra help-mode use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify dbusbind w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 232307 16412) (symbols 48 23938 6) (strings 32 76532 3820) (string-bytes 1 2460804) (vectors 16 36419) (vector-slots 8 543452 22158) (floats 8 274 121) (intervals 56 614 148) (buffers 992 18)) -- Gary --000000000000635ea60594e61ce1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm using vue-mode, based on mmm-mode with Emacs 27 ni= ghtly on Windows 10.
As of commit 0b3982b1a38, indentation stopped worki= ng in vue-mode buffers.
To repro, create a simple .vue file:
~~~~~~~~= ~~~~~~~
<template>
</template>
<script lang=3D"= ;ts">
import * as d3 from 'd3'
function foo() {
}
</script>
<style>
</style>
~~~~~~~~~~~~~~= ~
In emacs -q, load the 'vue-mode' package, go to the blank line= in function foo(), and type TAB. In commit ca7b6a4451, this works (indents= the cursor). In the next commit,=C2=A00b3982b1a3, it stopped working.
= The commit in question is this:
* 0b3982b1a3 Stefan Monnier, 4 mo= nths ago:
| . . . . * lisp/emacs-lisp/syntax.el: Use syntax-ppss-table f= or=C2=A0syntax-propertize.

This init file should suf= fice to repro the issue:
~~~~~~~~~~~~~~~~~~~~~~~~
(requ= ire 'package)
(package-initialize)
(require 'use-package)
= (setq use-package-verbose t
=C2=A0 =C2=A0 =C2=A0 use-package-always-ensu= re t)

;;; Vue mode, based on mmm-mode -- set up for .vue files (html= /css/script)
(use-package vue-mode
=C2=A0 :mode "\\.vue$")<= /div>
~~~~~~~~~~~~~~~~~~~~~~~~~

I traced = it as far as the fact that (syntax-ppss (point)) returns 0 on that blank li= ne in the failing commit, where it should return 1 (and it does in the prev= commit). However=C2=A0(parse-partial-sexp (point-min) (point)) works in bo= th commits, so it's something about the ppss syntax tables I think.

Note that vue-mode is based on mmm-mode, so it's = really three modes in one file. At the function foo(), it should be in type= script mode.

Also note that a regular typescript-m= ode file (foo.ts) does not have this problem, only a multi-mode file like V= ue.

I'm happy to help with any further info --= the syntax stuff is pretty opaque to me without some help, however. :-) I = haven't dug into that code since the '80s and it looks a lot differ= ent now.

In GNU Emacs 27.0.50 (build 1, x86_6= 4-w64-mingw32)
=C2=A0of 2019-10-14 built on TOWER1
Repository revisio= n: ca7b6a4451ede087a1f6796ec5aab6243fcee108
Repository branch: HEAD
W= indowing system distributor 'Microsoft Corp.', version 10.0.18362System Description: Microsoft Windows 10 Pro (v10.0.1903.18362.418)
Recent messages:
Configuring package vue-mode...done

Configured= using:
=C2=A0'configure --host=3Dx86_64-w64-mingw32 --target=3Dx86_= 64-w64-mingw32
=C2=A0--build=3Dx86_64-w64-mingw32 --with-jpeg --with-xpm= --with-png
=C2=A0--with-tiff --with-rsvg --with-xml2 --with-gnutls --wi= thout-imagemagick
=C2=A0--without-makeinfo --prefix=3Dc:/emacs/emacs-tru= nk-2019-oldtest'

Configured features:
XPM JPEG TIFF GIF PNG R= SVG SOUND DBUS NOTIFY W32NOTIFY ACL GNUTLS
LIBXML2 ZLIB TOOLKIT_SCROLL_B= ARS THREADS JSON PDUMPER LCMS2 GMP

Important settings:
=C2=A0 val= ue of $LC_COLLATE: C
=C2=A0 value of $LANG: en_US.utf-8
=C2=A0 locale= -coding-system: cp1252

Major mode: vue

Minor modes in effect:=
=C2=A0 lsp-ui-mode: t
=C2=A0 lsp-ui-doc-mode: t
=C2=A0 flycheck-m= ode: t
=C2=A0 lsp--managed-mode: t
=C2=A0 lsp-mode: t
=C2=A0 compa= ny-mode: t
=C2=A0 yas-global-mode: t
=C2=A0 yas-minor-mode: t
=C2= =A0 override-global-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldo= c-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2= =A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode:= t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-com= position-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compressi= on-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t
Load-path shadows:
None found.

Features:
(shadow sort ma= il-extr emacsbug message dired dired-loaddefs rfc822 mml
mml-sec epa epg= mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils m= ailheader sendmail typescript-mode derived cl
cc-mode cc-fonts cc-guess = cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs css-mode s= mie eww mm-url gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2= 045 ietf-drums time-date mail-utils mm-util
mail-prsvr url-queue url url= -proxy url-privacy url-expand url-methods
url-history url-cookie url-dom= suf mailcap shr text-property-search svg
xml browse-url format-spec comp= any-oddmuse company-keywords
company-etags etags fileloop generator comp= any-gtags
company-dabbrev-code company-dabbrev company-files company-cap= f
company-cmake company-xcode company-clang company-semantic company-ecl= im
company-template company-bbdb lsp-ui lsp-ui-flycheck lsp-ui-doc
go= to-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck find-func
view= lsp-clients lsp-vhdl lsp-haxe lsp-erlang lsp-fsharp lsp-metals
lsp-elm = lsp-dart lsp-clojure lsp-go lsp-xml lsp-css lsp-intelephense
lsp-vetur l= sp-html lsp-solargraph lsp-rust lsp-pyls lsp sgml-mode dom
vue-mode ssas= s-mode vue-html-mode mmm-cmds mmm-mode mmm-univ mmm-class
mmm-region mmm= -auto mmm-vars mmm-utils mmm-compat company-lsp lsp-mode
ewoc markdown-m= ode edit-indirect rx color noutline outline tree-widget
wid-edit xref ur= l-util spinner network-stream puny nsm rmc inline imenu
ht filenotify f = s em-glob esh-util dash-functional dash bindat
flymake-proc flymake comp= ile comint ansi-color ring warnings thingatpt
project company edmacro km= acro pcase yasnippet-snippets yasnippet
cl-extra help-mode use-package u= se-package-ensure use-package-delight
use-package-diminish use-package-b= ind-key bind-key easy-mmode
use-package-core finder-inf info package eas= ymenu epg-config
url-handlers url-parse auth-source cl-seq eieio eieio-c= ore cl-macs
eieio-loaddefs password-cache json subr-x map url-vars seq b= yte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib elec-pair mule= -util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-typ= e
mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars
ter= m/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list= replace newcomment text-mode elisp-mode lisp-mode
prog-mode register pa= ge menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock f= ont-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham= georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao kore= an japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european= ethiopic indian cyrillic
chinese composite charscript charprop case-tab= le epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-prelo= aded nadvice loaddefs
button faces cus-face macroexp files text-properti= es overlay sha1 md5
base64 format env code-pages mule custom widget hash= table-print-readable
backquote threads w32notify dbusbind w32 lcms2 mult= i-tty
make-network-process emacs)

Memory information:
((conses= 16 232307 16412)
=C2=A0(symbols 48 23938 6)
=C2=A0(strings 32 76532 = 3820)
=C2=A0(string-bytes 1 2460804)
=C2=A0(vectors 16 36419)
=C2= =A0(vector-slots 8 543452 22158)
=C2=A0(floats 8 274 121)
=C2=A0(inte= rvals 56 614 148)
=C2=A0(buffers 992 18))

--
Gary
--000000000000635ea60594e61ce1-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 15 02:28:57 2019 Received: (at 37751) by debbugs.gnu.org; 15 Oct 2019 06:28:57 +0000 Received: from localhost ([127.0.0.1]:42593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKGKG-00043T-Nv for submit@debbugs.gnu.org; Tue, 15 Oct 2019 02:28:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKGKF-00043H-BV for 37751@debbugs.gnu.org; Tue, 15 Oct 2019 02:28:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iKGKA-0003qv-2g; Tue, 15 Oct 2019 02:28:50 -0400 Received: from [176.228.60.248] (port=1939 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iKGK8-0004J4-Ja; Tue, 15 Oct 2019 02:28:49 -0400 Date: Tue, 15 Oct 2019 09:28:46 +0300 Message-Id: <83wod6h68x.fsf@gnu.org> From: Eli Zaretskii To: Gary Oberbrunner In-reply-to: (message from Gary Oberbrunner on Mon, 14 Oct 2019 18:08:32 -0400) Subject: Re: bug#37751: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37751 Cc: 37751@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 15 08:30:17 2019 Received: (at submit) by debbugs.gnu.org; 15 Oct 2019 12:30:17 +0000 Received: from localhost ([127.0.0.1]:42882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKLxw-0002CN-OK for submit@debbugs.gnu.org; Tue, 15 Oct 2019 08:30:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:52915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKLxr-0002C8-Ua for submit@debbugs.gnu.org; Tue, 15 Oct 2019 08:30:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40606) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKLxq-0005Qb-Su for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2019 08:30:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKLxq-0007mz-0Q for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2019 08:30:10 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:34707) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKLxp-0007lH-QV for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2019 08:30:09 -0400 Received: by mail-wm1-x334.google.com with SMTP id y135so2224579wmc.1 for ; Tue, 15 Oct 2019 05:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0Db9+lv17csrntJYssfyeP/dFysig3K8iydW/4jhfUM=; b=iuj4x/7HL21kfDX25vCJ/EORkPlsDZ0em1JRtD5AU9BmgeIfBrliD+Wg1m0BOU0RPj syvRluNNUJz9c+0HtYn1O7/kZn0RzBJLheJBbSQBKBPznoOhSek/R90m1t+BZLpCsgh3 RmEBXCn6fgoB6e+sgbssolfVR0qDDybphGmoNXSQ7LH5HXDr3Vovt+dcEmjal5G5xoFe jZ2BpG7u0a+YdwODMmE4qqivCGAbe+Ng/QKtFgaETqMJOpOriIZym9h1ToCLWVTKZzXq TFpB/jpOOL8yWL+Gt6tfW4KBwMXcxHEDOYbyFSGbUeoHUBn/FD2p8iQVqJ9pwqZ+2mOe kwzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0Db9+lv17csrntJYssfyeP/dFysig3K8iydW/4jhfUM=; b=jX/PM4Xl3Il0NMf90fNaSSwIbYzGhFk3e8H+6jfvP08yqAoAWrTVILevu9/AU7Qwbc ckCEEg6Q0lUPpAiowOwih2BeIlxplaiuR1EGa/TCaiAV5u/jE7c3wYfrU88wQjk7KYI9 hexPP4AECI+GM4wglRJ3W+bjwnXcAxSuiXrYO1ROV2ByodFfZG3n/DMsZOrTxlgQb3bf 4nx+3eGMApgDGJt1noNNtIaqNSXFQES7lGSf/R6wdaxivGIvOMXZzNHhp6fabtwCe7eV cOpcGBRfmgKPr1xISt8pB3j2pduPO16cHYZVeRVfBpkLBgMa1W9RODmHwX2UweOqSkBr yLuQ== X-Gm-Message-State: APjAAAWlo1motRFo8iL/9Qwu6gpQkblcQ6TRSmU93lLwDervrMVlOR/F 9mN8r3iLIsxykEVQnQpiwdeZn1m0 X-Google-Smtp-Source: APXvYqwux+uSqE3r7afYswMOuyaW1mJRFs2ECuucIKe5fROIWiyebaEsdfOgQXuBn5XXo7q6m/MBSQ== X-Received: by 2002:a1c:9cc6:: with SMTP id f189mr12837715wme.144.1571142608087; Tue, 15 Oct 2019 05:30:08 -0700 (PDT) Received: from [192.168.0.140] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id r20sm29383168wrg.61.2019.10.15.05.30.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Oct 2019 05:30:07 -0700 (PDT) Subject: Re: bug#37751: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 To: bug-gnu-emacs@gnu.org References: From: Dmitry Gutov Message-ID: Date: Tue, 15 Oct 2019 15:30:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::334 X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On 15.10.2019 1:08, Gary Oberbrunner wrote: > > Note that vue-mode is based on mmm-mode, so it's really three modes in > one file. At the function foo(), it should be in typescript mode. Could you please try applying the patch below to your installed mmm-mode version and restarting Emacs? diff --git a/mmm-vars.el b/mmm-vars.el index b567bb0..0926046 100644 --- a/mmm-vars.el +++ b/mmm-vars.el @@ -135,6 +135,7 @@ font-lock-mark-block-function ; Override this? font-lock-syntactic-keywords font-lock-syntactic-face-function + syntax-ppss-table parse-sexp-ignore-comments ; Fixes indentation in PHP-mode? ;; Can be different in different buffers (c-basic-offset From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 12:13:38 2019 Received: (at 37751) by debbugs.gnu.org; 16 Oct 2019 16:13:38 +0000 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 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 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) MIME-Version: 1.0 References: <83wod6h68x.fsf@gnu.org> In-Reply-To: <83wod6h68x.fsf@gnu.org> From: Gary Oberbrunner Date: Wed, 16 Oct 2019 12:13:15 -0400 Message-ID: Subject: Re: bug#37751: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 To: Eli Zaretskii Content-Type: multipart/alternative; boundary="0000000000009dbc2205950961c1" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37751 Cc: 37751@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 13:54:03 2019 Received: (at 37751) by debbugs.gnu.org; 16 Oct 2019 17:54:03 +0000 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 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 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 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 Date: Wed, 16 Oct 2019 20:53:37 +0300 Message-Id: <8336fsefvi.fsf@gnu.org> From: Eli Zaretskii To: Gary Oberbrunner , Stefan Monnier In-reply-to: (message from Gary Oberbrunner on Wed, 16 Oct 2019 12:13:15 -0400) Subject: Re: bug#37751: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 References: <83wod6h68x.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37751 Cc: 37751@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 16:14:21 2019 Received: (at 37751) by debbugs.gnu.org; 16 Oct 2019 20:14:21 +0000 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 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 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) MIME-Version: 1.0 References: <83wod6h68x.fsf@gnu.org> <8336fsefvi.fsf@gnu.org> In-Reply-To: <8336fsefvi.fsf@gnu.org> From: Gary Oberbrunner Date: Wed, 16 Oct 2019 16:13:56 -0400 Message-ID: Subject: Re: bug#37751: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 To: Eli Zaretskii Content-Type: multipart/alternative; boundary="0000000000006a5d9c05950cbe3b" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37751 Cc: 37751@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 17 02:18:28 2019 Received: (at 37751-done) by debbugs.gnu.org; 17 Oct 2019 06:18:28 +0000 Received: from localhost ([127.0.0.1]:46990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKz7E-0008Jo-3p for submit@debbugs.gnu.org; Thu, 17 Oct 2019 02:18:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKz7B-0008Jb-JK for 37751-done@debbugs.gnu.org; Thu, 17 Oct 2019 02:18:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iKz76-0001Qb-6g; Thu, 17 Oct 2019 02:18:20 -0400 Received: from [176.228.60.248] (port=2412 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iKz75-0002tu-B7; Thu, 17 Oct 2019 02:18:19 -0400 Date: Thu, 17 Oct 2019 09:18:02 +0300 Message-Id: <83lftjdhet.fsf@gnu.org> From: Eli Zaretskii To: Gary Oberbrunner In-reply-to: (message from Gary Oberbrunner on Wed, 16 Oct 2019 16:13:56 -0400) Subject: Re: bug#37751: 27.0.50; Vue mode indentation stopped working at 0b3982b1a3 References: <83wod6h68x.fsf@gnu.org> <8336fsefvi.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37751-done Cc: 37751-done@debbugs.gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Gary Oberbrunner > Date: Wed, 16 Oct 2019 16:13:56 -0400 > Cc: Stefan Monnier , 37751@debbugs.gnu.org > > Dmitry's reply above helped me -- that fixes my issue. Thank you! Thanks, I'm therefore closing this bug report. From unknown Tue Jun 17 20:17:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Nov 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator