From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johs Newsgroups: gmane.emacs.help Subject: Re: Tab-key not working in auctex? Date: Fri, 10 Nov 2006 20:41:56 +0100 Organization: UNI-C Message-ID: References: <87y7qj8v8x.fsf@trick.ulm.malte.spiess> <8764dn8f2v.fsf@trick.ulm.malte.spiess> <4554b9d6$0$18837$9b4e6d93@newsspool4.arcor-online.net> <4554d279$0$27606$9b4e6d93@newsspool2.arcor-online.net> Reply-To: asd@ads.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1163191257 28450 80.91.229.2 (10 Nov 2006 20:40:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Nov 2006 20:40:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 10 21:40:55 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GidAv-0001Vm-0f for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 21:40:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GidAu-0008Ua-K7 for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 15:40:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.net.uni-c.dk 1163187710 9768 130.225.245.182 (10 Nov 2006 19:41:50 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Fri, 10 Nov 2006 19:41:50 +0000 (UTC) User-Agent: KNode/0.10.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:143015 Original-To: help-gnu-emacs@gnu.org 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:38633 Archived-At: Ralf Angeli wrote: > * Johs (2006-11-10) writes: > >> Ralf Angeli wrote: >> >>> * Johs (2006-11-10) writes: >>> >>>> What happens when you press the Tab-key in auctex? >>> >>> (info "(auctex)Indenting") >> >> Have read that and it even describes that pressing the Tab-key should >> perform an indentation: >> >> `' >> `LaTeX-indent-line' will indent the current line. >> >> But that is not working eventhough I get this when I press C-h k TAB: > > Perhaps you haven't understood what indentation means. Please provide > a minimal example file and describe on which line you typed TAB and > what you expected to happen. > The command I was looking for was 'indent-relative': (add-hook 'TeX-mode-hook (lambda () (local-set-key "\t" 'indent-relative))) that does the trick!