From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Taylor Newsgroups: gmane.emacs.help Subject: Re: TAB key to insert tab character Date: Sat, 09 Feb 2008 08:13:09 -0500 Message-ID: References: <13qppsk1c9mdg95@news.supernews.com> <13qqdppbugrb39b@news.supernews.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1202566841 14132 80.91.229.12 (9 Feb 2008 14:20:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2008 14:20:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 09 15:21:03 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JNqZi-0002zS-5J for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Feb 2008 15:21:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNqZF-0004bu-4k for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Feb 2008 09:20:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNpWo-00052n-K5 for help-gnu-emacs@gnu.org; Sat, 09 Feb 2008 08:13:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNpWn-00052X-3g for help-gnu-emacs@gnu.org; Sat, 09 Feb 2008 08:13:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNpWn-00052O-0C for help-gnu-emacs@gnu.org; Sat, 09 Feb 2008 08:13:57 -0500 Original-Received: from saruman.ncf.ca ([134.117.136.37]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNpWm-0002kn-OH for help-gnu-emacs@gnu.org; Sat, 09 Feb 2008 08:13:56 -0500 Original-Received: from duoknts (161.137.hiper0-nic2.std.dialup.ncf.ca [134.117.137.161]) by saruman.ncf.ca (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0JVZ00CK63EJGX@saruman.ncf.ca> for help-gnu-emacs@gnu.org; Sat, 09 Feb 2008 08:13:32 -0500 (EST) Original-Received: from sat by duoknts with local (Exim 4.63) (envelope-from ) id 1JNpW8-0008Iv-DM; Sat, 09 Feb 2008 08:13:16 -0500 In-reply-to: <13qqdppbugrb39b@news.supernews.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-Mailman-Approved-At: Sat, 09 Feb 2008 09:18:04 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51373 Archived-At: Blake McBride writes: > Didn't help. I tried nil and non-nil and created a new buffer each time > (t.txt) and it didn't change anything. And, yes, I did save it for the > current session first. > > Thanks. > > Blake McBride > > > Drew Adams wrote: >>> I have the TAB key doing exactly what I want when editing C or Lisp >>> programs but I can't get it to do what I want in TEXT or FUNDAMENTAL >>> modes. I did try to get rid of my .gnu-emacs-custom file >>> temporarily to >>> verify that none of my other customizations were causing the problem. -q --no-site-file >>> >>> What is happening is that when I hit the TAB key it inserts a >>> number of >>> spaces to line the cursor up with the second word of the previous >>> sentence. What I want (in TEXT & FUNDAMENTAL modes) is for >>> the TAB key >>> to just add a TAB. Not an equivalent number of spaces for a >>> TAB or to >>> line it up with the previous line's second word - just add a >>> single TAB >>> character. >> >> See option `indent-tabs-mode'. >> >> >> I'm getting tabs in text-mode, with and without customizations in debian emacs 21.4.1 and emacs-snapshot (22.1.50.1). Have you set: (setq tab-always-indent t) --