[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple editor required

From: Eli Zaretskii
Subject: Re: simple editor required
Date: Sat, 07 Jun 2003 12:08:22 +0300

> From: "Paul Edwards" <address@hidden>
> Newsgroups:
> Date: Sat, 07 Jun 2003 03:49:33 GMT
> 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.

Then use indented-text-mode instead of fundamental-mode.  You will
still need to type a TAB every now and then to align the beginning of
a new line, but in most cases it should be fine.

(I suggested fundamental-mode because I thought you wanted to control
the indentation yourself, but now it sounds like you do want some of
the Emacs features I thought were getting in your way.  "Simple
editors" don't have auto-indentation, btw.)

> 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

What problems?  Details, please.

> And even setting the default mode to text only worked on one
> of the emacs versions, the other one wouldn't accept my default.

Try indented-text-mode instead.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]