[Aquamacs-devel] html-helper-mode won't indent

Pete Siemsen siemsen at ucar.edu
Mon Sep 28 11:43:33 UTC 2009


On Sep 27, 2009, at 2:53 PM, David Reitter wrote:

> On Sep 27, 2009, at 2:15 PM, Enrico Franconi wrote:
>
>> On 27 Sep 2009, at 08:09, Pete Siemsen wrote:
>>
>>> Aquamacs 2.0 ships with html-helper-mode as the default mode for  
>>> ".html" files.  The mode seems to basically work - syntax  
>>> highlighting and special commands work as advertised.  Trouble is  
>>> that indenting just doesn't work at all.  Instead of inserting the  
>>> proper indentation, a TAB removes existing indentation.
>>
>> My fix since ever:
>>
>> (eval-after-load "html-helper"
>> '(define-key html-helper-mode-map "\M-q" 'indent-region))
>
> OK, can we bind Tab to something similar... it should be "indent-for- 
> tab-command",and then do the right thing.

I don't see how Enrico's suggestion helps.

-- Pete




More information about the Aquamacs-devel mailing list