all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: Tab problem
Date: Mon, 06 Sep 2004 11:58:53 +0200	[thread overview]
Message-ID: <864qmbu3aa.fsf@ketchup.de.uu.net> (raw)
In-Reply-To: 4139c71c$0$22757$db0fefd9@news.zen.co.uk

Nick Chorley <nick@nospam.xyphias.com> writes:

> I have a problem with Emacs which is that I can't seem to enter more 
> than 1 tab when in C++/Java mode (it does do the automatic indentation 
> like when you're using if statements though). When in the "normal" text 
> editing mode, I can't enter any tabs.

Can you show why you need it?  The responses you get might be
unexpected and might give you some insight in how to use Emacs better.

For example, if you wish to enter more tabs for indentation, then you
act against Emacs' syntax-driven indenting code.  Using syntax-driven
indentation is a most valuable tool in finding typos.  (A forgotten
"}" will show up real quick because after that "}" the indentation is
all wrong.)

As another example, if you wish to enter tabs to align code, then you
might be happy with marking the lines to align and then typing M-x
align RET.  This will produce things like:

    int   x        = 3;
    float longname = 3.14;

Cool, isn't it?

You can always type M-i to advance to the next tab stop.  Advancing to
the next tab stop does not always equate to inserting a tab character,
but it's related.

Kai

  parent reply	other threads:[~2004-09-06  9:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-04 13:45 Tab problem Nick Chorley
2004-09-05  2:09 ` Michael Slass
2004-09-07 13:53   ` kgold
2004-09-05  8:26 ` Juraj Kubelka
     [not found] ` <mailman.1551.1094373130.1998.help-gnu-emacs@gnu.org>
2004-09-05 16:42   ` Nick Chorley
2004-09-06  9:58 ` Kai Grossjohann [this message]
     [not found] ` <mailman.1642.1094465086.1998.help-gnu-emacs@gnu.org>
2004-09-06 11:29   ` Nick Chorley
2004-09-06 12:16     ` Kai Grossjohann

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

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

  git send-email \
    --in-reply-to=864qmbu3aa.fsf@ketchup.de.uu.net \
    --to=kai@emptydomain.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.