[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Choosing the default LaTeX environment to be inserted [Re
From: |
Dirk Ullrich |
Subject: |
[AUCTeX-devel] Choosing the default LaTeX environment to be inserted [Repost] |
Date: |
Wed, 18 May 2016 19:31:14 +0200 |
Hello,
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
environment.
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
project.
Dirk
0001-More-robust-choosing-of-default-LaTeX-environment.patch
Description: Text Data
- [AUCTeX-devel] Choosing the default LaTeX environment to be inserted [Repost],
Dirk Ullrich <=