From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "f33ldead@gmail.com" Newsgroups: gmane.emacs.help Subject: Re: a beginner's emacs troubles Date: Tue, 31 Jul 2007 20:13:52 -0000 Organization: http://groups.google.com Message-ID: <1185912832.013225.119710@o61g2000hsh.googlegroups.com> References: <1185749317.489626.226270@22g2000hsm.googlegroups.com> <1185843722.747310.212470@19g2000hsx.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1185914445 5944 80.91.229.12 (31 Jul 2007 20:40:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2007 20:40:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 31 22:40:37 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IFyW8-0000he-B1 for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jul 2007 22:40:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFyW7-0000WS-OR for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jul 2007 16:40:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o61g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 193.140.7.134 Original-X-Trace: posting.google.com 1185912832 27833 127.0.0.1 (31 Jul 2007 20:13:52 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 31 Jul 2007 20:13:52 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070730 Firefox/2.0.0.5,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o61g2000hsh.googlegroups.com; posting-host=193.140.7.134; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:150653 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:46232 Archived-At: Thanks a lot for replies. I have two problems now. First is as follows. > Yes, perfectly reasonable, but for some reason not the default > behavior. You're looking for > > (setq c-tab-always-indent nil) Well, I think I'll prefer ^J as the "default" enter anyway. Having set it, I've noticed this thing: if you type a '{' then execute newline- and-indent, it indent one tabs further! if(a) { } Well, this's not my convention, so I tried switching to K&R mode, but nothing has changed. My second problem is this: I press tab, emacs inserts a tab character, then I press backspace, in hopes that emacs will delete tab character, but instead it goes back one-character space, and leaves many spaces in place of tab! I'm really fed up with emacs' understanding of tabs :/