From unknown Tue Jun 24 15:42:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17207: 24.3; html-mode incorrect indentation inside template syntax Resent-From: Jon Dufresne Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Apr 2014 17:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17207@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.139680664022285 (code B ref -1); Sun, 06 Apr 2014 17:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Apr 2014 17:50:40 +0000 Received: from localhost ([127.0.0.1]:38288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWrDK-0005nM-Fr for submit@debbugs.gnu.org; Sun, 06 Apr 2014 13:50:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50433) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWpOK-0002cw-Ee for submit@debbugs.gnu.org; Sun, 06 Apr 2014 11:53:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWpOF-0005Ho-LF for submit@debbugs.gnu.org; Sun, 06 Apr 2014 11:53:52 -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, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWpOF-0005Hj-Hm for submit@debbugs.gnu.org; Sun, 06 Apr 2014 11:53:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWpOB-0005JT-29 for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 11:53:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWpO6-0005Fh-ON for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 11:53:42 -0400 Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]:55083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWpO6-0005Fa-DS for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 11:53:38 -0400 Received: by mail-pb0-f49.google.com with SMTP id jt11so5553910pbb.8 for ; Sun, 06 Apr 2014 08:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=0i+iG2u53JiVGZwbdlNTLE0AsFJ281gHOZckRF0SWNw=; b=E7KBTTGZ+C3lsckmfO0iMk52TDcq7b7H2Vm/bqe12SJT0MpK4oUM2uJZJrA5vGoLnC TSUibqokpO7x6/Y4+NI7+gNfirCYTZ8AE5xvpfwash64IggIct+BqgGURQTVRQ2ITlC6 AIWtoUWLNdoJ1UBpU9vDLjj6h8s48xOTticLzwUflTgxDnDVfWqh5ywEEurjUYj+O5Km +rTehvVVbEHcKWL+aad/ds3rkQFk7pGOSXfre2BUPdmgD4r3YRrXdrlLuYtcnHtuJaNA t1MGFXVFfLdPs4a/8GuCh0IEeZSQYD/3wzChHrpEf06l/WWYvBdNKsidr6hXqUcw3cTM NRcQ== X-Received: by 10.68.235.6 with SMTP id ui6mr25864867pbc.45.1396799617171; Sun, 06 Apr 2014 08:53:37 -0700 (PDT) Received: from localhost (S01060016b6e9eea4.vc.shawcable.net. [24.84.220.135]) by mx.google.com with ESMTPSA id sh5sm30958820pbc.21.2014.04.06.08.53.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Apr 2014 08:53:36 -0700 (PDT) From: Jon Dufresne Date: Sun, 06 Apr 2014 08:53:04 -0700 Message-ID: <87ppkubgkf.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Sun, 06 Apr 2014 13:50:36 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) Create a test.html file. Use html-mode. Fill with the following contents: ``` {% for header in headers %} {% endfor %}
{{ header.attr1 }} {{ header.attr2 }}
``` This is a mix of HTML and Django template syntax [0]. If you indent line 6 ({{ header.attr2 }}) I would expect the line to align itself with the previous line ({{ header.attr1 }}). Instead it appears to aligns itself with the "for" template tag or perhaps the plus an offset. The final result after indenting line 6 is as it appears above. The mode pony-tpl-mode [1] uses html-mode to calculate indentation when then previous line looks like HTML and not special syntax. See my bug report there: https://github.com/davidmiller/pony-mode/issues/81 [0] https://docs.djangoproject.com/en/dev/topics/templates/ [1] https://github.com/davidmiller/pony-mode In GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.9.10) of 2013-08-14 on buildvm-17.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.11404000 System Description: Fedora release 20 (Heisenbug) Configured using: `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk3' '--with-gpm=no' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro '' Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: HTML Minor modes in effect: tooltip-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 Recent input: M-x b u r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'. Loading /home/jon/pony-mode/src/pony-tpl.el (source)...done Loading vc-git...done Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode vc-git pony-mode easy-mmode edmacro kmacro help-fns cl-macs gv which-func imenu sql thingatpt sgml-mode python rx easymenu comint ring ansi-color files-x dired-aux dired cl cl-lib time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 03 08:18:13 2019 Received: (at control) by debbugs.gnu.org; 3 Nov 2019 13:18:13 +0000 Received: from localhost ([127.0.0.1]:33470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRFll-0002nE-7s for submit@debbugs.gnu.org; Sun, 03 Nov 2019 08:18:13 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:56507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRFlj-0002mx-1N for control@debbugs.gnu.org; Sun, 03 Nov 2019 08:18:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Subject:From:To:Date:Sender:Reply-To:Message-ID:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=qLqxNeQz5jWRvJyQvqMV4t+3ZewSlgubLZYvuu7X/xA=; b=on4JC6zlNmSjLWY5DGGZYF3M7t gEIOgFVbsLbevcWVyPQXloHFUiwQoCN9vWD5/awbnuzECP5Z/ZtFm5yNBy/3o5nfvTtytqLWU5LiK fH2Kq0AuTkj3DXG8M/VaTm6w2d/SkeZGZn/k72iSTzwUCWwVHegXwmt/O63+bdPdOl5o=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:33996 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iRFld-0001tk-7C for control@debbugs.gnu.org; Sun, 03 Nov 2019 07:18:05 -0600 Date: Sun, 03 Nov 2019 14:18:03 +0100 To: control@debbugs.gnu.org From: Stefan Kangas Subject: control message for bug #17207 X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control 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" Message-Id: X-Spam-Score: -1.0 (-) severity 17207 minor quit From unknown Tue Jun 24 15:42:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17207: 24.3; html-mode incorrect indentation inside template syntax Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Nov 2019 13:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jon Dufresne Cc: 17207@debbugs.gnu.org Received: via spool by 17207-submit@debbugs.gnu.org id=B17207.157278725511034 (code B ref 17207); Sun, 03 Nov 2019 13:21:02 +0000 Received: (at 17207) by debbugs.gnu.org; 3 Nov 2019 13:20:55 +0000 Received: from localhost ([127.0.0.1]:33475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRFoM-0002rt-MV for submit@debbugs.gnu.org; Sun, 03 Nov 2019 08:20:54 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:32952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRFoL-0002rh-Ed for 17207@debbugs.gnu.org; Sun, 03 Nov 2019 08:20:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EuvgUPDBvoDSgw8hhQbymCXmVy+p0fMvTh/AoDU0bbY=; b=JJUBDUzEmWBZlLGyU5UfIJOgRQ o6Qg5zXF3FHdWURXnKdpg+i+yVxkaY/FH1tadFNJhMRnBzefUGMP+IuAMYVxZDL7V5UMW+3eblPEL 86WUBTXXrXdwGgYV/1OGaORuWBRgb0ANDfoEiwNORbhEKSkSZ364Cg1IHJ+mLNzFU1ZQ=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:35078 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iRFoF-0002R2-Hs; Sun, 03 Nov 2019 07:20:48 -0600 From: Stefan Kangas In-Reply-To: <87ppkubgkf.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> (Jon Dufresne's message of "Sun, 06 Apr 2014 08:53:04 -0700") References: <87ppkubgkf.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Sun, 03 Nov 2019 14:20:45 +0100 Message-ID: <87eeypdrki.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) 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 (-) Jon Dufresne writes: > Create a test.html file. Use html-mode. Fill with the following > contents: > > ``` > > > > {% for header in headers %} > > > {% endfor %} > > >
{{ header.attr1 }}{{ header.attr2 }}
> ``` > > This is a mix of HTML and Django template syntax [0]. If you indent line > 6 ({{ header.attr2 }}) I would expect the line to align itself > with the previous line ({{ header.attr1 }}). Instead it appears > to aligns itself with the "for" template tag or perhaps the plus an > offset. The final result after indenting line 6 is as it appears above. > > The mode pony-tpl-mode [1] uses html-mode to calculate indentation when > then previous line looks like HTML and not special syntax. See my bug > report there: https://github.com/davidmiller/pony-mode/issues/81 > > [0] https://docs.djangoproject.com/en/dev/topics/templates/ > [1] https://github.com/davidmiller/pony-mode This was reported 5 years ago, but unfortunately never got a reply at the time. I can reproduce this on current master, but I wonder if it makes sense to make html-mode support Django template syntax. Shouldn't there be a separate (perhaps derived) mode for that? Best regards, Stefan Kangas From unknown Tue Jun 24 15:42:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17207: 24.3; html-mode incorrect indentation inside template syntax Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Nov 2019 17:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jon Dufresne Cc: 17207@debbugs.gnu.org Received: via spool by 17207-submit@debbugs.gnu.org id=B17207.157280179619056 (code B ref 17207); Sun, 03 Nov 2019 17:24:01 +0000 Received: (at 17207) by debbugs.gnu.org; 3 Nov 2019 17:23:16 +0000 Received: from localhost ([127.0.0.1]:35043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRJau-0004xI-2f for submit@debbugs.gnu.org; Sun, 03 Nov 2019 12:23:16 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:45358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRJar-0004x5-Qw for 17207@debbugs.gnu.org; Sun, 03 Nov 2019 12:23:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yEa3qyP5VCGeYg1pQWJSphIhS/1TJn7ffleMSDloRCM=; b=t64Q4X2gqIZ8FnytzwTt9WMzjM yWaSLLACEao0RVcjxg5CFqtDlIIeT9i3a/GlqdImB6M8peZwxDV03MmU6PbA3kEL7id1k2E3PQ+hy MD8f/LGSAoLyhiR+sYX9HY92Ss+ccddjKMo/JfxFanjzQwykMb7mWN3cXdNTJpKV17Ys=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:40298 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iRJal-0005Hd-BB; Sun, 03 Nov 2019 11:23:07 -0600 From: Stefan Kangas In-Reply-To: <87eeypdrki.fsf@marxist.se> (Stefan Kangas's message of "Sun, 03 Nov 2019 14:20:45 +0100") References: <87ppkubgkf.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> <87eeypdrki.fsf@marxist.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Sun, 03 Nov 2019 18:23:05 +0100 Message-ID: <87y2wwdgcm.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) 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 (-) Stefan Kangas writes: > I can reproduce this on current master, but I wonder if it makes sense > to make html-mode support Django template syntax. Shouldn't there be > a separate (perhaps derived) mode for that? FWIW, searching online suggests one could use django-nxhtml-mumamo-mode for Django templates. Best regards, Stefan Kangas From unknown Tue Jun 24 15:42:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17207: 24.3; html-mode incorrect indentation inside template syntax Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2019 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas , Jon Dufresne Cc: 17207@debbugs.gnu.org Received: via spool by 17207-submit@debbugs.gnu.org id=B17207.157287765824376 (code B ref 17207); Mon, 04 Nov 2019 14:28:01 +0000 Received: (at 17207) by debbugs.gnu.org; 4 Nov 2019 14:27:38 +0000 Received: from localhost ([127.0.0.1]:36050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRdKU-0006L6-G4 for submit@debbugs.gnu.org; Mon, 04 Nov 2019 09:27:38 -0500 Received: from mail-ed1-f47.google.com ([209.85.208.47]:46928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRdKS-0006Kt-El for 17207@debbugs.gnu.org; Mon, 04 Nov 2019 09:27:36 -0500 Received: by mail-ed1-f47.google.com with SMTP id x11so3210367eds.13 for <17207@debbugs.gnu.org>; Mon, 04 Nov 2019 06:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Tmdb3U/kXNgaAPSVYfZRww/YQeuyYgtY84vBB6NsuAo=; b=hwUTGlYlNFyU20TZo8BDe+FC8Ma2Zf68sK68CmTBGDcYCQfX20BbVlceyqmmjwwKxv TaFtFKbABzsA5CmeHIYXpaEgbM90lBcm45fvKq/5c2l+YqR50KQHHOutQOX0YqxPVfmm Qpbsk8MuhXu+X0L/oUDpl1t7BZj2Ep49HmOsHRQRJWnLAqsSegypSHA/yzPStoE470He aJtzOqRDu5exP8j+gf4T41WtJM2mdR4k0fursaG4ANwYTGNP+kCkddETTGoxWjQ8KiRu SvUOAws+Mp+W0oseKfMOF680TR7pG9KZpgdLKAW1YC/+iHucFxa42xwLzuG418kCU0qy ZkBQ== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Tmdb3U/kXNgaAPSVYfZRww/YQeuyYgtY84vBB6NsuAo=; b=XmDVf9uN19RsL2XPj5aB930JSQlMkX7xfPdg6kfoUuHAlqw8O9Cmegelz21XfUB8k4 iZkzACoMNxZiMzq1ayMVECfWCZYooKHjUUqek5mmyd9rkD+N2poclMDKLjYTTu+mzV79 G3HziTPw7yEpuy0uOmJ4oG9NpTLg09Rm/8J7SYbGa2ds3E47S6cOzPqYOMhEVQGN9Tj/ 2FfScQh2n9OSHYtbzyTHlXgtTDehgvieQReK+g7nrK1XNiiJqFv3sFJIoT8m4NqYAZHB Qj486al/IA3Y4gwHAslK5q6YRb2dkpGKMYSZ3RvfE/7OIvX5KNxPKww7RNQih1fdV75P T8iw== X-Gm-Message-State: APjAAAUZ5ZgqU1ZnQvGak5yrRAYw+whzxEh/gfiVbdeirzBBpCYwZ/Uy +z+I6vqYGa3LSTEaiPAJEISq/w2VWIY= X-Google-Smtp-Source: APXvYqz5vcWIPjiQuNAvALKYdmQOkFPVOmQ2qOF9Do+VGPn+ADMC1QLHFsiQqQE68iEs1BFIO0Kk8g== X-Received: by 2002:a17:906:f109:: with SMTP id gv9mr2791366ejb.196.1572877650174; Mon, 04 Nov 2019 06:27:30 -0800 (PST) Received: from [192.168.0.149] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id t27sm939004edt.75.2019.11.04.06.27.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Nov 2019 06:27:29 -0800 (PST) References: <87ppkubgkf.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> <87eeypdrki.fsf@marxist.se> <87y2wwdgcm.fsf@marxist.se> From: Dmitry Gutov Message-ID: <9fe86c5b-9984-40a4-fcc5-d8b5729b1dea@yandex.ru> Date: Mon, 4 Nov 2019 16:27:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <87y2wwdgcm.fsf@marxist.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) 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: -0.6 (/) On 03.11.2019 19:23, Stefan Kangas wrote: > FWIW, searching online suggests one could use > django-nxhtml-mumamo-mode for Django templates. MuMaMo has been dead for a while. http://web-mode.org/ might be the best choice here. From unknown Tue Jun 24 15:42:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17207: 24.3; html-mode incorrect indentation inside template syntax Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Nov 2019 03:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: jon.dufresne@gmail.com, stefan@marxist.se, 17207@debbugs.gnu.org Reply-To: rms@gnu.org Received: via spool by 17207-submit@debbugs.gnu.org id=B17207.157292338132400 (code B ref 17207); Tue, 05 Nov 2019 03:10:01 +0000 Received: (at 17207) by debbugs.gnu.org; 5 Nov 2019 03:09:41 +0000 Received: from localhost ([127.0.0.1]:37774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRpDx-0008QV-7d for submit@debbugs.gnu.org; Mon, 04 Nov 2019 22:09:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRpDu-0008QJ-Rm for 17207@debbugs.gnu.org; Mon, 04 Nov 2019 22:09:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iRpDp-0005ze-G4; Mon, 04 Nov 2019 22:09:33 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iRpDo-0006ub-LF; Mon, 04 Nov 2019 22:09:32 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman In-Reply-To: <9fe86c5b-9984-40a4-fcc5-d8b5729b1dea@yandex.ru> (message from Dmitry Gutov on Mon, 4 Nov 2019 16:27:27 +0200) References: <87ppkubgkf.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> <87eeypdrki.fsf@marxist.se> <87y2wwdgcm.fsf@marxist.se> <9fe86c5b-9984-40a4-fcc5-d8b5729b1dea@yandex.ru> Message-Id: Date: Mon, 04 Nov 2019 22:09:32 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > MuMaMo has been dead for a while. If it is the right technical approach someone could fix it up again. -- Dr Richard Stallman Founder, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From unknown Tue Jun 24 15:42:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17207: 24.3; html-mode incorrect indentation inside template syntax Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Nov 2019 07:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: rms@gnu.org Cc: jon.dufresne@gmail.com, stefan@marxist.se, 17207@debbugs.gnu.org Received: via spool by 17207-submit@debbugs.gnu.org id=B17207.157293960428478 (code B ref 17207); Tue, 05 Nov 2019 07:41:01 +0000 Received: (at 17207) by debbugs.gnu.org; 5 Nov 2019 07:40:04 +0000 Received: from localhost ([127.0.0.1]:37835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRtRc-0007PG-Ga for submit@debbugs.gnu.org; Tue, 05 Nov 2019 02:40:04 -0500 Received: from mail-wm1-f46.google.com ([209.85.128.46]:53256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRtRY-0007Oe-2k for 17207@debbugs.gnu.org; Tue, 05 Nov 2019 02:40:00 -0500 Received: by mail-wm1-f46.google.com with SMTP id x4so8448497wmi.3 for <17207@debbugs.gnu.org>; Mon, 04 Nov 2019 23:39:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=heZ+qXECMx9JnB2MZQP5ccCmBNXs4pbm22q2uh+L4xI=; b=fwU5/at4QMXdwCmGzjTf7ikbNioU20V6Yia1WhY/ljPC9g99NXz0VhXFOBgcmXzPaA rrn8QgKazp0u4Nx2Ya3i/loZbLzfssw1UMbGrUCTEE+a2dEQvuWHV4fzI1AlgC8QiIJO 5nFP3nwY91P0Tem5HwVZX4wKfzSAEPaQdpAl9Jp99iKtYleONZVL6fv4IxnFMROyFOj7 v7wfjfvMFN+8RSdf03ccK8b+oL0Cgspc7zLVF3BPzzYhWH165J9sfcrWJTOT3GneGhsF vrIO21unyuDD+bQcqBxSmaO2gtvh7/tkL7CmKSKWubky4YszUq3XL+bf8WjMGpvSzoy7 L97g== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=heZ+qXECMx9JnB2MZQP5ccCmBNXs4pbm22q2uh+L4xI=; b=LkpSrMCCeVlX5NTLc5FDuTvw6BVurlmKmTYICPN6IN27yIDlcFYy1Z0q3GKPXzxRuk gM9ixNJvvgguPLkieAFBc7bdb28XF2aGGTfaw13RYpwM2mVZbpFZPPskVSV3wIEafOqr 9raYxYvwLkmRuiyiYK01ePi3YbktLhpRlWFtWbdRxnO3oIb/BRgqPKyP1XMetNuWHzLU 2LzCBaxizBoZimc6sD0Ak0FldXRazEAkhKwgdwmLJVgxloWDpKn0O6MAvqQOtMYHLtPT kq3Dc27fXVfRipLtIUlH87qpgUxRqM1iL323fg9vsWLRfuo1GkzYfVK8uJdP2SVdWMas iGXQ== X-Gm-Message-State: APjAAAVr9sV7wFis7UT8ahhrGFzZG194M5ns4c6iWzYLyoJKAqxC5Tvn vWG83vZ3mSGpvug9pHjsWzcKE2uhxAw= X-Google-Smtp-Source: APXvYqxBAMXO01xm2s8Va7IepH4nMr9bfcq1WX20M+s7IGDPkdmcDgxoO6PVv1FGBMNRMKL66AbC0Q== X-Received: by 2002:a1c:9e4c:: with SMTP id h73mr2959015wme.1.1572939593817; Mon, 04 Nov 2019 23:39:53 -0800 (PST) Received: from [192.168.0.5] ([212.50.117.215]) by smtp.googlemail.com with ESMTPSA id y78sm12850833wmd.32.2019.11.04.23.39.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Nov 2019 23:39:52 -0800 (PST) References: <87ppkubgkf.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> <87eeypdrki.fsf@marxist.se> <87y2wwdgcm.fsf@marxist.se> <9fe86c5b-9984-40a4-fcc5-d8b5729b1dea@yandex.ru> From: Dmitry Gutov Message-ID: <016f94f6-a805-5d82-899d-647626dd8d38@yandex.ru> Date: Tue, 5 Nov 2019 09:39:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.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-Spam-Score: 0.4 (/) 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: -0.6 (/) On 05.11.2019 5:09, Richard Stallman wrote: > If it is the right technical approach > someone could fix it up again mmm-mode is a similar package in GNU ELPA. Not sure if we have support for Django templates out of the box (it can be configured, though). But web-mode is better for newbies. From unknown Tue Jun 24 15:42:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17207: 24.3; html-mode incorrect indentation inside template syntax Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Dec 2019 11:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jon Dufresne Cc: 17207@debbugs.gnu.org Received: via spool by 17207-submit@debbugs.gnu.org id=B17207.157528499519569 (code B ref 17207); Mon, 02 Dec 2019 11:10:02 +0000 Received: (at 17207) by debbugs.gnu.org; 2 Dec 2019 11:09:55 +0000 Received: from localhost ([127.0.0.1]:37160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibjaV-00055Y-Ft for submit@debbugs.gnu.org; Mon, 02 Dec 2019 06:09:55 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:53668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibjaU-00055D-1j; Mon, 02 Dec 2019 06:09:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=32l8pENfMyW3NOymG71ekkq+7wBBBG48tyxFbK6A/6g=; b=Y01wWNFYh6IX4Skbzwga/c9KIf h3sRN/6Fl3EkfEyxPCXuXLA01SRGK3BO7hduKuKzzfajpNW+V1zxksE1PhWYwrExvkH3c93kVqAhO gah8f00fityo/gf4wR3L/yfqWSzFNi4Vdnu90M1Zg1aYNESDgFJthsWAH3dx+sfsdmJ8y7qBHG9by gMB8Hw52/BZakGqw6pTOPh5uCAX1RQqwjyeUPdOu16EIGouMpOf4dDUx59pVSVGsCptEAwlFH5QUq NtTq8WS/sJajpZ+envn0B5QOb345E1mV6MBrJDl0o/s0dQfoGTduL2x+ml4+mbE5QMPtPTFmisrEq YmBnn1cA==; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:47366 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1ibjaO-001tkP-1k; Mon, 02 Dec 2019 06:09:48 -0500 From: Stefan Kangas In-Reply-To: <87eeypdrki.fsf@marxist.se> (Stefan Kangas's message of "Sun, 03 Nov 2019 14:20:45 +0100") References: <87ppkubgkf.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> <87eeypdrki.fsf@marxist.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Mon, 02 Dec 2019 12:09:45 +0100 Message-ID: <87r21ngf0m.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) 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 (-) tags 17207 + wontfix notabug close 17207 thanks Stefan Kangas writes: > I wonder if it makes sense to make html-mode support Django template > syntax. No other comments within 4 weeks, so I think the decision is that we don't want to support Django templates in html-mode. Dmitry Gutov writes: > http://web-mode.org/ might be the best choice here. The suggestion is as above, to use web-mode for this instead. I'm consequently closing this bug report. If anyone disagrees with that, feel free to reopen the bug or simply reply to this email. Best regards, Stefan Kangas