unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Functionality to check current indentation status
@ 2010-01-13 12:55 Deniz Dogan
  2010-01-13 13:02 ` Lennart Borgman
  2010-01-13 15:22 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: Deniz Dogan @ 2010-01-13 12:55 UTC (permalink / raw)
  To: Emacs-Devel devel

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-01-13 15:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 12:55 Functionality to check current indentation status Deniz Dogan
2010-01-13 13:02 ` Lennart Borgman
2010-01-13 14:55   ` Deniz Dogan
2010-01-13 14:59     ` Lennart Borgman
2010-01-13 15:22 ` Stefan Monnier
2010-01-13 15:53   ` Lennart Borgman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).