emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Functionality to check current indentation status


From: Deniz Dogan
Subject: Functionality to check current indentation status
Date: Wed, 13 Jan 2010 13:55:23 +0100

Is there any generic functionality for checking whether a specific
line is indented appropriately according to major-mode? I mean other
than indenting it and seeing whether anything was modified.

If not, it would be useful for e.g. a minor-mode which would highlight
lines that are not correctly indented, or for binding TAB to some
imaginary function indent-or-expand-abbrev, which would indent the
line if not already correct, otherwise call `expand-abbrev'.

-- 
Deniz Dogan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]