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 16:14:43 +0100 Organization: UNI-C Message-ID: References: <87y7qj8v8x.fsf@trick.ulm.malte.spiess> 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 1163173298 27040 80.91.229.2 (10 Nov 2006 15:41:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Nov 2006 15:41:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 10 16:41:37 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 1GiYUc-0007D7-3k for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 16:40:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiYUb-0002UR-Jr for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 10:40:33 -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: 42 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.net.uni-c.dk 1163171677 7154 130.225.245.182 (10 Nov 2006 15:14:37 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Fri, 10 Nov 2006 15:14:37 +0000 (UTC) User-Agent: KNode/0.10.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:142999 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:38618 Archived-At: Malte Spiess wrote: > "Johs" writes: > >> I have installed auctex for emacs in Ubuntu. But when I press the Tab-key >> nothing happens. >> >> I know that multiple whitespaces are treated as one in latex but in my >> .tex file it is sometimes nice to use Tab-key indentation to make the >> text easier to read (when writing pseudocode). > > Do you mean that never anything happens when you press TAB or just in > certain situations nothing happens? > >> How do I make my Tab-key respond i auctex? > > What does it say when you hit "C-h k TAB"? (Display documentation of the > function invoked by TAB.) It says: TAB runs the command indent-for-tab-command which is an interactive compiled Lisp function in `indent'. (indent-for-tab-command &optional PREFIX-ARG) Indent line in proper way for current major mode or insert a tab. Depending on `tab-always-indent', either insert a tab or indent. If initial point was within line's indentation, position after the indentation. Else stay at same point in text. The function actually called to indent is determined by the value of `indent-line-function'. but nothing happens when I press the Tab-key. Maybe Tab-key is not meant to work in auctex. > Really wonder why it does not work out of the box. Have you tried it in > any \begin... \end... environment? Yes and nothing happens there either.