← Back to team overview

nxhtml team mailing list archive

Re: [Question #102938]: Tab width differences between modes

 

Question #102938 on nXhtml changed:
https://answers.launchpad.net/nxhtml/+question/102938

lborgman proposed the following answer:
It is supposed to work roughly like this:

- Inside a chunk the indentation functions for that major mode is used.
(If it is possible, this is not yet structured very well in Emacs and
those writing new modes does not always understand why it should be
that.)

- At the borders some speical values are used. Please do "M-x customize-
group RET mumamo RET" to set those variables.

- In some cases subchunks are part of a line and gives a new structure
to the file. Then those subchunks are investigated and used for
indentation. (This is done by extracting the inner contents from those
subchunks and putting that in a separate buffer and then try indentation
there. I think there is no good way to see where this is used yet.)

-- 
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.