Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Auctex and auto indentation set in my ~/.emacs but it doesn't work correctly for \end{enumerate}.

If I had the following, (below is what would happen if I hit tab on the \end{enumerate}


So when I hit tab to auto align \end{enumerate} it aligns with \item.

This doesn't happen for other begin and enter commands so it is isolated to enumerate only.

How can I fix this?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.