[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tab-always-indent
From: |
Robert Thorpe |
Subject: |
Re: tab-always-indent |
Date: |
Fri, 15 Dec 2006 10:03:12 -0700 |
> I think that modes should set `indent-line-function' and *not* rebind
> the TAB key!
>
> Maybe you are right, but rebinding TAB has been our standard practice
> since the beginning. I don't think we should consider changing this
> now.
How about just adding a couple of lines to the docs, that should clear up
some confusion.
*** indent.el Fri Dec 15 16:53:48 2006
--- indent1.el Fri Dec 15 16:56:35 2006
***************
*** 50,56 ****
"*Controls the operation of the TAB key.
If t, hitting TAB always just indents the current line.
If nil, hitting TAB indents the current line if point is at the left margin
! or in the line's indentation, otherwise it insert a \"real\" tab character."
:group 'indent
:type '(choice (const nil) (const t) (const always)))
--- 50,58 ----
"*Controls the operation of the TAB key.
If t, hitting TAB always just indents the current line.
If nil, hitting TAB indents the current line if point is at the left margin
! or in the line's indentation, otherwise it insert a \"real\" tab character.
! Most programming language modes have an equivalent variable, e.g.
! c-tab-always-indent, and do not respect this variable."
:group 'indent
:type '(choice (const nil) (const t) (const always)))
Rob