From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Garry Newsgroups: gmane.emacs.help Subject: Remove all indentation - how to? Date: Fri, 07 Feb 2003 21:15:33 +0000 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1044652544 9305 80.91.224.249 (7 Feb 2003 21:15:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2003 21:15:44 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hFqY-0002Pu-00 for ; Fri, 07 Feb 2003 22:15:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hFqJ-0007nn-05 for gnu-help-gnu-emacs@m.gmane.org; Fri, 07 Feb 2003 16:15:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!diablo.theplanet.net!news.theplanet.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 217.134.65.85 Original-X-Trace: news7.svr.pol.co.uk 1044652285 3441 217.134.65.85 (7 Feb 2003 21:11:25 GMT) Original-NNTP-Posting-Date: 7 Feb 2003 21:11:25 GMT Original-X-Complaints-To: abuse@theplanet.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en, en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:109931 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6437 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6437 I'm a simple HTML monkey, not a die-hard C programmer :-) All I want is for Emacs to do something really simple like start each new line of my code from the left margin when I press RETURN, not according to its default TAB criteria. I've had a good look through the manual so, please, no RTFM. Can't find anything pertaining to removing auto-indentation. I tried ('indent-tab-mode nil) .... inside my custom variables section of .emacs but to no avail. The reason I want this simplicity is that I want my HTML to read exactly as I typed it within View Source, not according to a particular browser's default TAB width. The only way to achieve this is to eschew TABs in favour of spaces. Garry Heaton