From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: simple editor required Date: Thu, 05 Jun 2003 19:12:05 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84of1c78ka.fsf@lucy.is.informatik.uni-duisburg.de> References: <1K1Da.3886$7E.44637@news-server.bigpond.net.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054842802 17305 80.91.224.249 (5 Jun 2003 19:53:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2003 19:53:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 05 21:53:20 2003 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 19O0nY-0004Uz-00 for ; Thu, 05 Jun 2003 21:53:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19O0m1-0005AB-42 for gnu-help-gnu-emacs@m.gmane.org; Thu, 05 Jun 2003 15:51:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!p508779c1.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: p508779c1.dip.t-dialin.net (80.135.121.193) Original-X-Trace: fu-berlin.de 1054842337 11979324 80.135.121.193 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:n1UFKY3ClbkPrl4xupBEJtTnDPc= Original-Xref: shelby.stanford.edu gnu.emacs.help:114189 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:10681 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10681 "Paul Edwards" writes: > ... didn't stop this auto-file-association from happening? I basically > don't want emacs to do any junk like that, I'm not interested in its > assumptions, I'm after basic editting functions, rather than by > default being launched into its weird ideas of what C code should > look like (which is probably a style used by less than 10% of > C programmers). Please try typing C-c . in a C file, then use tab completion to find the different alternatives. Try them. Maybe you find one which is close to what you like. When you have it, it can be tweaked some more to get closer. It's not always possible to get the *exact* indentation you specify, but I find that syntax-driven indentation helps me so much with my work that I just adapt my coding style to the way Emacs likes it. For example, the indentation can tell me right away that a brace is missing or too many. -- This line is not blank.