From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.bugs Subject: Re: tab-always-indent Date: Fri, 15 Dec 2006 10:03:12 -0700 Message-ID: <2e1fbd3a15504bb89815f0ad577871b8@realworldtech.com> Reply-To: rthorpe@realworldtech.com NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1166263155 4833 80.91.229.10 (16 Dec 2006 09:59:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Dec 2006 09:59:15 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 16 10:59:13 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GvWK0-0003ty-54 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Dec 2006 10:59:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvWJz-0001NV-35 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Dec 2006 04:59:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GvGU4-0000QJ-G4 for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2006 12:04:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GvGTy-0000O3-PE for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2006 12:04:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvGTy-0000No-8X for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2006 12:04:26 -0500 Original-Received: from [63.134.207.28] (helo=gwa6.webcontrolcenter.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GvGTx-0005pL-8M for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2006 12:04:25 -0500 Original-Received: from maila22.webcontrolcenter.com [216.119.106.23] by gwa6.webcontrolcenter.com with SMTP; Fri, 15 Dec 2006 10:03:55 -0700 Original-Received: from [213.94.228.210] by maila22.webcontrolcenter.com via HTTP; Fri, 15 Dec 2006 10:03:12 -0700 Original-To: X-Mailman-Approved-At: Sat, 16 Dec 2006 04:58:48 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15466 Archived-At: > I think that modes should set `indent-line-function' and *not* rebind= =0D=0A> the TAB key!=0D=0A>=0D=0A> Maybe you are right, but rebinding T= AB has been our standard practice=0D=0A> since the beginning. I don't thin= k we should consider changing this=0D=0A> now.=0D=0A=0D=0AHow about just ad= ding a couple of lines to the docs, that should clear up =0D=0Asome confusi= on.=0D=0A=0D=0A*** indent.el Fri Dec 15 16:53:48 2006=0D=0A--- indent1.el= Fri Dec 15 16:56:35 2006=0D=0A***************=0D=0A*** 50,56 ****=0D=0A = "*Controls the operation of the TAB key.=0D=0A If t, hitting TAB always = just indents the current line.=0D=0A If nil, hitting TAB indents the curre= nt line if point is at the left margin=0D=0A! or in the line's indentatio= n, otherwise it insert a \"real\" tab character."=0D=0A=0D=0A :group 'in= dent=0D=0A :type '(choice (const nil) (const t) (const always)))=0D=0A= =0D=0A--- 50,58 ----=0D=0A "*Controls the operation of the TAB key.=0D= =0A If t, hitting TAB always just indents the current line.=0D=0A If nil,= hitting TAB indents the current line if point is at the left margin=0D=0A!= or in the line's indentation, otherwise it insert a \"real\" tab charact= er.=0D=0A! Most programming language modes have an equivalent variable, e.g= .=0D=0A! c-tab-always-indent, and do not respect this variable."=0D=0A := group 'indent=0D=0A :type '(choice (const nil) (const t) (const always))= )=0D=0A=0D=0A=0D=0ARob=0D=0A