all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Paul Edwards" <kerravon@nosppaam.w3.to>
Subject: Re: simple editor required
Date: Sat, 07 Jun 2003 10:19:34 GMT	[thread overview]
Message-ID: <W_iEa.623$WM.7201@news-server.bigpond.net.au> (raw)
In-Reply-To: mailman.7519.1054976930.21513.help-gnu-emacs@gnu.org

"Eli Zaretskii" <eliz@elta.co.il> wrote in message news:mailman.7519.1054976930.21513.help-gnu-emacs@gnu.org...
> > From: "Paul Edwards" <kerravon@nosppaam.w3.to>
> > Newsgroups: gnu.emacs.help
> > 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.

Yeah, I don't mind that.  I just need the continuation from one line
with text to the next.

> (I suggested fundamental-mode because I thought you wanted to control
> the indentation yourself, but now it sounds like you do want some of

This is not language-dependent indentation, this is basic text
alignment.

> the Emacs features I thought were getting in your way.  "Simple
> editors" don't have auto-indentation, btw.)

I don't know that that is true.  An editor that doesn't allow
you to stay at a particular level is not an editor, it is not
suitable for programming in any language.  Alignment of text
under text is very very basic.  I don't mind if the behaviour
changes when I break the pattern, but I do mind if the
behaviour changes line by line.  No programmer has to hit
space/tab 20 times at the beginning of every line in order to
line up code.

> > 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.

Well the first problem is that only one of the emacses responded
to my .emacs requesting the default mode to be text mode.  The
other remained as fundamental.  I would be far more comfortable
if either both or neither worked.  At the moment I have to conclude
that fundamental behaviour is being changed *by default* between
versions.  I don't care if 1000 new optional things are added
between releases, so long as they aren't activated by default.

The second problem I encountered was that in the version where
text mode actually took effect, was that it inserted spaces instead
of leaving the line empty, when I inserted a blank line.  I haven't
seen emacs do that before, even when it used to work on an older
version.  But this is perhaps a case of faulty memory.

The third problem I encountered was when trying to manually
clean up the blanks, ctrl-k would not simply delete the blanks on
the line, it would delete the entire line.

Someone has suggested putting:
(setq kill-whole-line nil)

to get around this problem.  I didn't have to do that in other
versions of emacs, it was the basic standard consistent
behaviour.

> > 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.

Ok.  Thanks.  I have several things to try.  With a bit of luck that
mode will just work straight away.  In summary, what I am looking
for is:

1. text to be lined up, line by line, suitable for any programming
language, no matter what file extension I am using.  IIRC, all I needed
to do on old emacs versions was inhibit the site file, either via a
command-line option or .emacs file, can't remember, either is
acceptable, and the junk wouldn't get loaded.

2. Block-marking not to be destroyed by ctrl-f and esc-g.  Xemacs
20.4 has a you-beaut highlighting of the block, which is great, but
I'd trade it any day for the ability to do a find/goto to position to
end of block.  Like emacs 20.7.1.  And like the last time I used a
version of xemacs, IIRC.  I don't know why some people think it
is appropriate to forget the marker, seems pretty basic to me, but
besides, other emacs (like 20.7.1) don't forget the marker.

3. DEL to delete.  Just like xemacs 20.4 with appropriate .emacs
entry.

I consider these to be extremely basic things that should be provided
out-of-the-box with all emacs versions without having to create an
enormous .emacs file, tailored for every version of emacs, to suppress
every quirk that emacs introduces *by default* in every incarnation.
I am shocked that the basics don't remain consistent.

BFN.  Paul.

       reply	other threads:[~2003-06-07 10:19 UTC|newest]

Thread overview: 109+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7519.1054976930.21513.help-gnu-emacs@gnu.org>
2003-06-07 10:19 ` Paul Edwards [this message]
2003-06-07 10:49   ` simple editor required Eli Zaretskii
2003-06-07 11:19   ` lawrence mitchell
2003-06-07 12:35     ` Paul Edwards
2003-06-10 13:40     ` Paul Edwards
2003-06-10 14:19       ` Stefan Monnier
2003-06-11  9:23         ` Paul Edwards
2003-06-10 17:10       ` Kai Großjohann
2003-06-11  9:18         ` Paul Edwards
2003-06-11 11:38           ` Kai Großjohann
2003-06-11 14:47           ` Stefan Monnier
2003-06-12 10:55             ` Paul Edwards
2003-06-12 11:24               ` Kai Großjohann
2003-06-12 12:51                 ` Paul Edwards
2003-06-12 13:35                   ` Kai Großjohann
2003-06-16 10:31                     ` Paul Edwards
2003-06-16 10:47                       ` Sam Halliday
2003-06-17 13:57                         ` Paul Edwards
2003-06-17 16:31                           ` Kai Großjohann
2003-06-16 13:14                       ` Kai Großjohann
2003-06-16 13:48                       ` Stefan Monnier
2003-06-16 15:10                         ` Kai Großjohann
2003-06-17 14:05                           ` Paul Edwards
2003-06-17 16:14                             ` Stefan Monnier
2003-06-17 22:58                               ` Paul Edwards
2003-06-18  9:53                               ` Paul Edwards
2003-06-17 16:32                             ` Kai Großjohann
2003-06-18  9:48                               ` Paul Edwards
2003-06-18 10:19                                 ` Kai Großjohann
2003-06-19 10:26                                   ` Paul Edwards
2003-06-19 15:38                                     ` Kai Großjohann
2003-06-20 10:13                                       ` Paul Edwards
2003-06-20 14:40                                         ` Kai Großjohann
2003-06-20 16:19                                           ` Paul Edwards
2003-06-20 18:08                                             ` Stefan Monnier
2003-06-23 10:45                                               ` Paul Edwards
2003-06-23 20:18                                                 ` Stefan Monnier
     [not found]                                                   ` <cNKJa.34$g_1.1140@news-server.bigpond.net.au>
     [not found]                                                     ` <848yrsgd4s.fsf@lucy.is.informatik.uni-duisburg.de>
     [not found]                                                       ` <RPWJa.1093$g_1.9591@news-server.bigpond.net.au>
2003-06-24 15:25                                                         ` Kai Großjohann
2003-06-24 22:26                                                           ` Paul Edwards
2003-06-24 23:05                                                             ` Stefan Monnier
2003-06-25  7:51                                                               ` Paul Edwards
2003-06-25  6:17                                                             ` Kai Großjohann
     [not found]                                                             ` <843chyfzpp.fsf@lucy.is.informatik.uni-duisburg.de >
     [not found]                                                               ` <tscKa.709$9g2.6501@news-server.bigpond.net.au>
2003-06-25 16:48                                                                 ` Kai Großjohann
2003-06-30  9:58                                                                 ` Paul Edwards
2003-06-20 20:52                                             ` Kai Großjohann
2003-06-23 10:46                                           ` Paul Edwards
2003-06-23 13:45                                             ` Kai Großjohann
2003-06-23 22:55                                               ` Paul Edwards
2003-06-24  7:16                                                 ` Kai Großjohann
2003-06-17 16:33                             ` Kai Großjohann
2003-06-18  9:49                               ` Paul Edwards
2003-06-17 16:58                             ` Kevin Dziulko
2003-06-19 16:03                             ` Stefan Monnier
2003-06-17 13:59                         ` Paul Edwards
2003-06-17 16:06                           ` Stefan Monnier
2003-06-18  9:50                             ` Paul Edwards
2003-06-18 10:18                               ` Kai Großjohann
2003-06-19 10:32                                 ` Paul Edwards
2003-06-19 19:32                                   ` Kai Großjohann
2003-06-20  9:58                                     ` Paul Edwards
2003-06-18 18:46                               ` Stefan Monnier
2003-06-12 16:03               ` Stefan Monnier
2003-06-07 15:06   ` Stefan Monnier
2003-06-07 16:33     ` Eli Zaretskii
     [not found] <mailman.8100.1055869193.21513.help-gnu-emacs@gnu.org>
2003-06-17 22:53 ` Paul Edwards
2003-06-17 22:56   ` David Kastrup
2003-06-17 23:04     ` Paul Edwards
2003-06-18  7:26   ` Kai Großjohann
     [not found] <mailman.7691.1055299124.21513.help-gnu-emacs@gnu.org>
2003-06-11  2:57 ` Johan Bockgård
2003-06-11 14:49 ` Stefan Monnier
     [not found] <mailman.7200.1054643007.21513.help-gnu-emacs@gnu.org>
2003-06-03 13:51 ` Paul Edwards
2003-06-03 14:26   ` Stefan Monnier
2003-06-11  1:53     ` Ben Key
2003-06-11 15:03       ` Eli Zaretskii
2003-06-03 15:06   ` Peter Lee
2003-06-03 15:39   ` Kevin Rodgers
2003-06-03 18:22   ` kgold
2003-06-03 20:13   ` Jon Kåre Hellan
2003-06-05 17:12   ` Kai Großjohann
2003-06-06  6:15     ` Paul Edwards
2003-06-06 11:44       ` Eli Zaretskii
2003-06-06 18:00       ` Harry Putnam
     [not found]       ` <mailman.7492.1054922593.21513.help-gnu-emacs@gnu.org>
2003-06-06 20:12         ` Peter Lee
2003-06-07  1:36           ` Harry Putnam
     [not found]           ` <mailman.7510.1054949869.21513.help-gnu-emacs@gnu.org>
2003-06-07  2:44             ` Peter Lee
2003-06-09 20:54           ` David Masterson
2003-06-11 21:03           ` kgold
2003-06-11 22:11             ` Eli Zaretskii
     [not found]             ` <mailman.7746.1055369497.21513.help-gnu-emacs@gnu.org>
2003-06-12  0:28               ` Benjamin Rutt
2003-06-12  1:05                 ` Kin Cho
2003-06-12  4:05                   ` Benjamin Rutt
2003-06-12  7:11                     ` Kin Cho
2003-06-12 16:23                       ` Peter Lee
2003-06-12 19:37                       ` Benjamin Rutt
2003-06-12  4:55             ` Galen Boyer
2003-06-12  7:18               ` Kin Cho
2003-06-07  3:43         ` Paul Edwards
2003-06-07  9:28           ` Stein A. Stromme
     [not found]       ` <mailman.7449.1054900407.21513.help-gnu-emacs@gnu.org>
2003-06-07  3:49         ` Paul Edwards
2003-06-07  9:08           ` Eli Zaretskii
2003-06-08 10:19       ` Kai Großjohann
2003-06-03 11:27 Dmitri.Minaev
  -- strict thread matches above, loose matches on Subject: below --
2003-06-03 10:46 Paul Edwards
2003-06-03 12:19 ` Kevin Dziulko
2003-06-03 15:12 ` Bruce Ingalls
2003-06-03 23:22   ` Paul Edwards
2003-06-04 12:57     ` Bruce Ingalls
2003-06-05 14:10       ` Paul Edwards
2003-06-05 17:08     ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='W_iEa.623$WM.7201@news-server.bigpond.net.au' \
    --to=kerravon@nosppaam.w3.to \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.