From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Paul Edwards" Newsgroups: gmane.emacs.help Subject: Re: simple editor required Date: Fri, 06 Jun 2003 06:15:19 GMT Organization: BigPond Internet Services (http://www.bigpond.net.au) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <1K1Da.3886$7E.44637@news-server.bigpond.net.au> <84of1c78ka.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054880559 27972 80.91.224.249 (6 Jun 2003 06:22:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2003 06:22:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 06 08:22:35 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 19OAcV-0007Gf-00 for ; Fri, 06 Jun 2003 08:22:35 +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 19OAbI-0002UU-AT for gnu-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2003 02:21:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!ken-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Original-NNTP-Posting-Host: 144.132.167.28 Original-X-Complaints-To: abuse@bigpond.net.au Original-X-Trace: news-server.bigpond.net.au 1054880119 144.132.167.28 (Fri, 06 Jun 2003 16:15:19 EST) Original-NNTP-Posting-Date: Fri, 06 Jun 2003 16:15:19 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:114202 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:10696 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10696 "Kai Großjohann" wrote in message news:84of1c78ka.fsf@lucy.is.informatik.uni-duisburg.de... > "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. The thing is, the code that I am changing is not just one style, I have to match the code that I am editting. So I would rather just have very basic editting working by default. ie I don't mind have to press space 4 times after typing a "{", but I do mind having to type 20 spaces after a "{". Officially I am expected to use vi "the standard editor", but I don't know the commands for it, and I hate it. Every place I go to has had emacs installed, often unofficially, so I have been able to use that, and get most of the commands I am familiar with from micro-emacs. But I can't complain to the sysadmins etc that I need a new version, and I'm not meant to be spending time mucking around with that either. All I want is for the basic editting functions to work, at least consistently within each emacs version, if not identical to micro-emacs. I'll worry about fancy features like C indentation another day. I have been given a few things to try to see if I can get closer to that goal. Particularly frustrating is when something like the "del" key doesn't do what I expect (not just what I expect, but what other versions of emacs do when the appropriate command is given). As I turn up to a new job, don't know how to use vi, and it appears that I don't even know how to delete a character. If I have micro-emacs (or emacs was consistent between versions so my .emacs did the right thing), it wouldn't be a problem. BFN. Paul.