unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Johs <asdasd@asd.com>
Subject: Re: Tab-key not working in auctex?
Date: Fri, 10 Nov 2006 20:41:56 +0100	[thread overview]
Message-ID: <ej2klu$9h8$1@news.net.uni-c.dk> (raw)
In-Reply-To: 4554d279$0$27606$9b4e6d93@newsspool2.arcor-online.net

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:
>>
>> `<TAB>'
>>      `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!

  reply	other threads:[~2006-11-10 19:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10  0:46 Tab-key not working in auctex? Johs
2006-11-10 10:13 ` Malte Spiess
2006-11-10 15:14   ` Johs
2006-11-10 16:02     ` Malte Spiess
2006-11-10 17:21       ` Johs
2006-11-10 17:41         ` Ralf Angeli
2006-11-10 19:23           ` Johs
2006-11-10 19:26             ` Ralf Angeli
2006-11-10 19:41               ` Johs [this message]
2006-11-10 19:50                 ` Ralf Angeli
2006-11-10 19:57                   ` Johs
2006-11-10 20:16                     ` Ralf Angeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ej2klu$9h8$1@news.net.uni-c.dk' \
    --to=asdasd@asd.com \
    --cc=asd@ads.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).