[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Choosing the default LaTeX environment to be inserted [Re
[AUCTeX-devel] Choosing the default LaTeX environment to be inserted [Repost]
Wed, 18 May 2016 19:31:14 +0200
by accident I have sent this message to the "auctex" mailing list first.
Therefore I repost it here. Sorry for the noise.
Currently `LaTeX-environment' uses a simple heuristics to determine
the default ennvironment to insert: If there is only whitespace
between (bop) and point the default environment is "document".
otherwise the value of `‘LaTeX-default-environment' is used as default
I have tried to make this decision more robust such that "document" is
also choosen as default environment if there is a mix of
whitespace-only and comment-only lines before point.
The Git patch appended is against "master". I've tried my best to
adhere to the (seemingly) commit message style used in the AUCTeX
Description: Text Data
- [AUCTeX-devel] Choosing the default LaTeX environment to be inserted [Repost],
Dirk Ullrich <=