GNU bug report logs - #37751
27.0.50; Vue mode indentation stopped working at 0b3982b1a3

Previous Next

Package: emacs;

Reported by: Gary Oberbrunner <garyo <at> oberbrunner.com>

Date: Mon, 14 Oct 2019 22:09:02 UTC

Severity: normal

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#37751: 27.0.50; Vue mode indentation stopped working at
 0b3982b1a3
Date: Tue, 15 Oct 2019 15:30:03 +0300
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




This bug report was last modified 5 years and 216 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.