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: Sat, 07 Jun 2003 03:49:33 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 1054957768 27717 80.91.224.249 (7 Jun 2003 03:49:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2003 03:49:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 07 05:49:26 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 19OUhq-0007Cs-00 for ; Sat, 07 Jun 2003 05:49:26 +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 19OUiv-000669-DK for gnu-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2003 23:50:33 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!in.nntp.be!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: 46 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 1054957773 144.132.167.28 (Sat, 07 Jun 2003 13:49:33 EST) Original-NNTP-Posting-Date: Sat, 07 Jun 2003 13:49:33 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:114253 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:10747 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10747 "Eli Zaretskii" wrote in message news:mailman.7449.1054900407.21513.help-gnu-emacs@gnu.org... > > From: "Paul Edwards" > > Newsgroups: gnu.emacs.help > > Date: Fri, 06 Jun 2003 06:15:19 GMT > > > > 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 "{". > > Does it help to type "M-x fundamental-mode RET" befiore editing the > code? Does that do what you want? Fundamental mode unfortunately doesn't stay at the right indent level. e.g. If I go aaaa bbb ccc dddd I expect that after hitting "enter" after typing "bbb" that I can immediately start typing "ccc". On older versions of emacs, I used to have "enter" defined as "newline-and-indent" and it was all working fine. But on the newer versions I have been using, that functionality has been changed. I looked at the help in emacs and it said that it is (now?) dependent on the mode, so I tried switching from fundamental to text mode, which did make that work, but introduced different problems (in inserting lines full of blanks, and in addition, ctrl-e deletes not just the blanks, but the entire line, so I have to instead backspace over the blanks). And even setting the default mode to text only worked on one of the emacs versions, the other one wouldn't accept my default. I've still got several things to try out from this thread though, next time I have an opportunity at work. BFN. Paul.