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:23:06 +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> 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 1163187700 16123 80.91.229.2 (10 Nov 2006 19:41:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Nov 2006 19:41:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 10 20: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 1GicFj-0006A6-HP for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 20:41:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GicFi-0004Ai-Tb for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 14:41:26 -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: 48 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.net.uni-c.dk 1163186580 9400 130.225.245.182 (10 Nov 2006 19:23:00 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Fri, 10 Nov 2006 19:23:00 +0000 (UTC) User-Agent: KNode/0.10.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:143013 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:38631 Archived-At: 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: 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'. I have also tried to select a few words and then press 'M-x indent-region'. I then get the message: You can rund the command 'indent-region' with C-M-\ and nothing happens. Further this should also be accomplished by pressing TAB. But as I wrote in my original post the Tab-key does not respond in auctex. Maybe its a bug in Ubuntu 6.10.