undo-tree-mode doesn't work with nXhtml

Bug #1112665 reported by Ethan Glasser-Camp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
New
Undecided
Unassigned

Bug Description

In emacs -Q, having done (require 'undo-tree) and (global-undo-tree-mode) in ielm, I found a file called foo.djhtml and activated django-html-mumamo-mode.

In this buffer I had text like this:

{% extends "base.html" %}

{% block scripts %}
{{ var1 }}
{{ var2 }}
{% endblock %}

{% block content %}
  Hi!
{% endblock %}

I moved to the two variables var1 and var2 and hit Tab, indent-for-tab-command. This inserted two spaces before them. Then I moved point down to {% block content %}. When I hit C-_ (undo-tree-undo), the first time it works as expected -- deleting the two spaces before var2. The second time I get "No further undo information".

Pressing M-_ (undo-tree-redo) gets "No further redo information".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.