From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: Tab problem Date: 7 Sep 2004 13:53:36 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <413dbd60_1@news1.prserv.net> References: <4139c71c$0$22757$db0fefd9@news.zen.co.uk> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1094565005 14451 80.91.224.253 (7 Sep 2004 13:50:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2004 13:50:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 07 15:49:58 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C4gM9-0000IE-00 for ; Tue, 07 Sep 2004 15:49:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C4gRN-0006nr-Gt for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Sep 2004 09:55:21 -0400 X-Newsreader: xrn 9.02 Original-Newsgroups: gnu.emacs.help Original-NNTP-Posting-Host: yktgi01e0-s5.watson.ibm.com Original-X-Trace: 7 Sep 2004 13:53:36 GMT, yktgi01e0-s5.watson.ibm.com Original-Lines: 14 Original-X-Complaints-To: abuse@prserv.net Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.us.prserv.net!prserv.net!news1.prserv.net!alpha.watson.ibm.com!kgold Original-Xref: shelby.stanford.edu gnu.emacs.help:125123 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20476 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20476 Nick Chorley 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. If you want is to add tabs after the code and before comments, try: (add-hook 'c-mode-common-hook (function (lambda () (setq c-tab-always-indent nil) )))