🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by gaynor@remus.rut Thu, 05 Sep 1991 19:27
goal-column and track-eol
#3957
Author: gaynor@remus.rut
Date: Thu, 05 Sep 1991 19:27
30 lines
1068 bytes
Whilst perusing the length lists of variables, I came across this gem.  I'd
wanted functionality similar to this, but not enough to actually program it.

GNU Emacs writes:
> track-eol's value is not-telling-so-there
>
> Documentation:
> *Non-nil means vertical motion starting at the end of a line should keep to
> ends of lines.  This means moving to the end of each line moved onto.

GNU Emacs writes:
> goal-column's value is nil
>
> Documentation:
> *Semipermanent goal column for vertical motion, as set by M-x set-goal-column,
> or nil.

That is, you know how the current column is usually preserved when moving
between lines?  This is called the goal column.  Setting track-eol makes it so
that when you explicitly move to the end of a line, the goal column essentially
becomes infinite.

But after having tried it, I discover that explicitly moving to the beginning
of an empty line does not reset it.  I find this behavior non-intuitive and
user-error-prone.  Note that the feature is disabled by default.  Opinions?

Followups to comp.emacs.

Regards, [Ag]

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads