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: Wed, 01 Aug 2007 01:41:35 -0000 Organization: http://groups.google.com Message-ID: <1185932495.680080.202610@57g2000hsv.googlegroups.com> References: <1185912832.013225.119710@o61g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1185936039 30248 80.91.229.12 (1 Aug 2007 02:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2007 02:40:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 01 04:40:33 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 1IG48U-0005y3-EB for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Aug 2007 04:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IG48T-0003GS-TN for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jul 2007 22:40:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!57g2000hsv.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 193.140.7.170 Original-X-Trace: posting.google.com 1185932495 19773 127.0.0.1 (1 Aug 2007 01:41:35 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 1 Aug 2007 01:41:35 +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: 57g2000hsv.googlegroups.com; posting-host=193.140.7.170; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:150657 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:46236 Archived-At: On Aug 1, 1:45 am, "Drew Adams" wrote: > See user option `backward-delete-char-untabify-method'. > OK, my final tab setting in my .emacs is as follows: (setq c-tab-always-indent nil) (global-set-key (kbd "TAB") 'self-insert-command) (setq-default tab-width 8 standard-indent 8 indent-tabs-mode t) (setq backward-delete-char-untabify-method nil) Now, in c-mode, in a function, I press tab, and it inserts a tab. I start typing "exec", it's still fine, then as I open a paranthesis to write the function call, everything's ruined again! > Just a suggestion: It's your understanding of TAB in Emacs that you need to > improve, if you want to be able to use Emacs to your advantage. ;-) Well, it's a habit of 10 years by now. It's not easy to change habits easily ;) What I expect is simply the behavior of nano; I'm shocked that it's such a struggle to achieve it in emacs.