emacs-devel
[Top][All Lists]
Advanced

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

Re: C-n and C-a


From: Tassilo Horn
Subject: Re: C-n and C-a
Date: Thu, 29 Jan 2009 16:10:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Richard M Stallman <address@hidden> writes:

Hi Richard,

> The new definitions of C-n and C-p seem to work reasonably
> conveniently with the very long lines that non-Emacs-users often
> write.  However, it is very counterintuitive that C-a and C-e have not
> been changed in the same way.

I mentioned this inconsistencies before in
<address@hidden>.  I was told that the current behavior
was due to a consensus.  But still I don't like it, so I switch on
`visual-line-mode' where everything operates consistently on screen
lines.

IMHO without `visual-line-mode' everything should work on real lines,
with it turned on everything should work on screen lines (as it does
right now).  This half screen half real line behavior is somewhat
confusing.

> I think they too should be changed to operate on screen lines;
> that's a necessary part of the change that was already made.

You can have this by turning on `visual-line-mode'.

> If C-a and C-e are changed this way, we would want some way to go to
> the beginning and end of the real line.  Here are some ideas:
>
> * Make C-u C-a and C-u C-e do this.  I suspect nobody uses
> those combinations with their current meanings.

Yes, that would be ok.  A bit more convenient would be to type `C-a'
twice, which would toggle between screen and real line beginning.

> * Make M-{ and M-} treat each line as a paragraph.  That would be the
> right thing for them to do in such text.  This would require either a
> minor mode or detecting long-line text heuristically.

I wouldn't like that, because it would require that texts one writes
have to obey the convention that each paragraph has to be on one line.
Especially when working with others this cannot be enforced while an
empty line to mark paragraphs in pretty standard.

Bye,
Tassilo




reply via email to

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