unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "the_tick@brok3n.org" <the_tick@brok3n.org>
Subject: Re: Tab doesn't work in emacs
Date: Thu, 30 Jan 2003 14:46:28 -0500	[thread overview]
Message-ID: <146040-220031430194628428@M2W035.mail2web.com> (raw)



Original Message:
-----------------
From: Barry Margolin barmar@genuity.net
Date: Thu, 30 Jan 2003 18:53:38 GMT
To: help-gnu-emacs@gnu.org
Subject: Re: Tab doesn't work in emacs


In article <mailman.1201.1043948624.21513.help-gnu-emacs@gnu.org>,
the_tick@brok3n.org <the_tick@brok3n.org> wrote:
>Type
>	C-h c TAB
>
>and tell us what you get.  It might be that the TAB key is mapped
>to a function other than a primitive tab.
>
>
>
>
>Heh, I'm not quite sure how to do C-h c TAB, I only know how to save and

You type Control-h followed by c followed by TAB.  This will display what
character the TAB key sends, and what command is executed as a result.




There is nothing there..
>close emacs. But I did figure out what Kai was talking about earlier. When
>I edit a .cpp, .dll, or any file without an extension, tab works fine. When
>it's a .c or .m file, no tab key functionality. How would I go about
>changing it so that tab would work in all files?

In most of the modes for editing programming language files, TAB is
assigned to a function to indent the current line correctly.  If it doesn't
seem to be doing anything, it's because the line is already indented
correctly.

If you want to insert a literal TAB character in the file, type C-q TAB
(that's Control-q followed by the TAB key).


Ok, so that worked.. how to I set that up in my .emacs file, or globally?

>Heh, it's my laptop, so the only other person using it would be my wife..
>and she likes vi :)

If there's only one Emacs user, why would you need your .emacs file to be
global?


Well, I have a bob user for messing with stuff without breaking my home
directory, then I have my chris user, for normal usage, and I have root..
-- 
Barry Margolin, barmar@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the
group.
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

             reply	other threads:[~2003-01-30 19:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30 19:46 the_tick [this message]
     [not found] <mailman.1213.1043962951.21513.help-gnu-emacs@gnu.org>
2003-01-31 14:32 ` Tab doesn't work in emacs Kai Großjohann
  -- strict thread matches above, loose matches on Subject: below --
2003-01-30 21:40 the_tick
     [not found] <mailman.1206.1043956050.21513.help-gnu-emacs@gnu.org>
2003-01-30 21:13 ` Kai Großjohann
     [not found] <mailman.1201.1043948624.21513.help-gnu-emacs@gnu.org>
2003-01-30 18:53 ` Barry Margolin
2003-01-30 17:42 the_tick
     [not found] <mailman.1149.1043889789.21513.help-gnu-emacs@gnu.org>
2003-01-30 16:22 ` kgold
2003-01-30  1:23 Christopher Forsythe

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=146040-220031430194628428@M2W035.mail2web.com \
    --to=the_tick@brok3n.org \
    /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).