Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: line-move-visual

227 views
Skip to first unread message

Uday S Reddy

unread,
Jun 3, 2010, 4:09:31 PM6/3/10
to
Mark Crispin wrote:

> It does no good to say "read the release notes" when the affected users
> don't get the release notes and don't even know that a new release
> happened. It is also unreasonable to expect users to subscribe to every
> obscure newsgroup, forum, and wiki to hear about changes that will turn
> their expectations upside down.

Emacs release notes is obtained by doing C-h n, or by picking "Emacs
news" on the Help menu. Are you saying that you are using Linux
distributions that break these features?

I am not taking sides on the line-move-visual issue. But I do know that
it was a complex decision for the Emacs developers and it wasn't made
easily.

However, I am concerned about downstream distributions that omit the
release notes. That seems to be a real disservice to the users.

Cheers,
Uday Reddy

Mark Crispin

unread,
Jun 3, 2010, 6:11:03 PM6/3/10
to
On Thu, 3 Jun 2010, Uday S Reddy posted:

> I am not taking sides on the line-move-visual issue. But I do know that
> it was a complex decision for the Emacs developers and it wasn't made
> easily.

They made the wrong decision. Changes to default behavior are a bad idea.
Changes to default behavior of the most basic functionality are an
extremely bad idea.

I don't care if M-X fart-noisily-with-spray changes its default scent from
skunk to lemon. But I damn well do care about the most basic operations:
all CTRL single letter and ESC single letter. After 33+ years of using
emacs, I expect these to be reliable and not suddenly change.

I wasted hours trying to figure out what the hell was wrong with my file,
or my terminal emulator window, or my system. The fact that the problem
went away on a different system added further confusion. It was only when
I did ESC <n> CTRL/N and saw that it moved me the wrong number of lines,
but only on one system, that I realized that emacs changed. And that's
when I did ESC X describe-key CTRL/N and read about line-mode-visual,
although it did not mention that this was now the default.

Surprise. Grr.

> However, I am concerned about downstream distributions that omit the
> release notes. That seems to be a real disservice to the users.

So I find a system with the release notes. And the reference to this
incompatible change is buried 300+ lines deep, after numerous pointless
entries such as emacs having a character set 4 times bigger than Unicode.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.

Uday S Reddy

unread,
Jun 4, 2010, 3:59:01 AM6/4/10
to
On 6/3/2010 11:11 PM, Mark Crispin wrote:

>
> I wasted hours trying to figure out what the hell was wrong with my
> file, or my terminal emulator window, or my system. The fact that the
> problem went away on a different system added further confusion. It was
> only when I did ESC <n> CTRL/N and saw that it moved me the wrong number
> of lines, but only on one system, that I realized that emacs changed.
> And that's when I did ESC X describe-key CTRL/N and read about
> line-mode-visual, although it did not mention that this was now the
> default.
>
> Surprise. Grr.

Having used Emacs for some 30 years myself, I always expect a few surprises with a new major version of Emacs. It takes me a few months to read through all the change logs and the new manual sections to become comfortable with all the new and changed features. Our sys admins realize that it takes time to get up to speed with a new version of Emacs, and generally install the new version along side the old version. They maintain the two for several months before removing the old version. Sometimes when there are significant new features, the old version just stays, because several users are uncomfortable with the new version. The good thing about free software is that you can do that!

I would say your ire should be directed at your downstream distributions which don't seem to understand what a version change means to users. An Emacs major version upgrade should never be done as part of a "routine" update. They should never be installing Emacs without the news file. And, you can't assume that you can reliably use a new version without reading through the change log at least.

Reading through the emacs-developers list yesterday, I also discovered that there is an Options -> Customize -> New Options menu, which asks you for an old version number and lists all the new options that have been added since then. That may be a good way to figure out what has changed.

---

As I said before, the line-move-visual setting has been a complex decision for the developers. I have a virtual folder of "visual" messages from the emacs-developers list, which shows some 40+ threads over the last couple of years, with each one having been extremely contentious. I am still trying to figure out what it all means.

It would help the rest of us if you could tell us what problem you ran into with the default setting of line-move-visual, and why it is important for what you do.

Cheers,
Uday

Tassilo Horn

unread,
Jun 4, 2010, 4:39:11 AM6/4/10
to
Uday S Reddy <uDOTsD...@cs.bham.ac.uk> writes:

Hi Uday,

> It would help the rest of us if you could tell us what problem you ran
> into with the default setting of line-move-visual, and why it is
> important for what you do.

For normal editing, I like visual-line-mode sometimes (for example when
working on a TeX document with colleagues, which write paragraphs one
one single line). With that, *all* motion commands operate on visual
lines. Its default is off.

With line-move-visual set to t (the default), only vertical motion
commands use visual lines, but for example C-a / C-e still use logical
lines. From my point of view, that's a silly compromise.

But all visual line behavior break keyboard macros. Define a macro,
then change your window size (so that lines are differently visually
wrapped), and *bang* your macro messes up your text. It's semantics
change with the frame/window size. That's silly.

Because keyboard macros are important to me, I set line-move-visual to
nil.

Bye,
Tassilo

Uday S Reddy

unread,
Jun 4, 2010, 6:44:01 AM6/4/10
to
On 6/4/2010 9:39 AM, Tassilo Horn wrote:

>
> For normal editing, I like visual-line-mode sometimes (for example when
> working on a TeX document with colleagues, which write paragraphs one
> one single line). With that, *all* motion commands operate on visual
> lines. Its default is off.

Yes, it seems fairly uncontentious that the visual-line-mode is a useful feature.

> With line-move-visual set to t (the default), only vertical motion
> commands use visual lines, but for example C-a / C-e still use logical
> lines. From my point of view, that's a silly compromise.

Agreed. That means that line-move-visual is not doing what it says on the box. I don't see a compelling reason why C-n and C-p should move by "visual lines" outside of visual-line-mode. Perhaps it was a bad idea.

In the emacs-developers list, I see that line-move-visual came first and visual-line-mode was invented later. But, after visual-line-mode wasin, they should have perhaps gone back and put line-move-visual in the trash bin.

> But all visual line behavior break keyboard macros. Define a macro,
> then change your window size (so that lines are differently visually
> wrapped), and *bang* your macro messes up your text. It's semantics
> change with the frame/window size. That's silly.

If these macros are dealing with visual-line-mode then I wonder what yo do that is sensitive to the line length.

If they are dealing with normal text with line breaks, then perhaps all that you need to do is to use forward-line instead of next-line?

Cheers,
Uday

Uday S Reddy

unread,
Jun 4, 2010, 7:24:31 AM6/4/10
to
On 6/4/2010 9:39 AM, Tassilo Horn wrote:

>
> For normal editing, I like visual-line-mode sometimes (for example when
> working on a TeX document with colleagues, which write paragraphs one
> one single line). With that, *all* motion commands operate on visual
> lines. Its default is off.

Just curiious. If they write whole paragraphs as lines, how do they do version control?

Cheers,
Uday

Tassilo Horn

unread,
Jun 4, 2010, 9:00:39 AM6/4/10
to
Uday S Reddy <uDOTsD...@cs.bham.ac.uk> writes:

>> With line-move-visual set to t (the default), only vertical motion
>> commands use visual lines, but for example C-a / C-e still use
>> logical lines. From my point of view, that's a silly compromise.
>
> Agreed. That means that line-move-visual is not doing what it says on
> the box. I don't see a compelling reason why C-n and C-p should move
> by "visual lines" outside of visual-line-mode. Perhaps it was a bad
> idea.

I remember that people (including RMS) tested line-move-visual and
concluded that this is ok, but full visual-line-mode would be too
radical.

> In the emacs-developers list, I see that line-move-visual came first
> and visual-line-mode was invented later.

I'm not completely sure about that.

>> But all visual line behavior break keyboard macros. Define a macro,
>> then change your window size (so that lines are differently visually
>> wrapped), and *bang* your macro messes up your text. It's semantics
>> change with the frame/window size. That's silly.
>
> If these macros are dealing with visual-line-mode then I wonder what
> yo do that is sensitive to the line length.
>
> If they are dealing with normal text with line breaks, then perhaps
> all that you need to do is to use forward-line instead of next-line?

Well, the save solution is to enable `truncate-lines' (M-x
toggle-truncate-lines) before defining and executing a keyboard macro.
Then lines aren't wrapped, and there's no difference between logical and
visual lines anymore.

IMO, that should be done automatically. But others argue, that a
keyboard macro should act exactly as doing the same stuff manually. Then
it's correct that a macro executed with VLM on or line-move-visual set
to t behaves differently depending on how text is visualized, which
includes window width, font size and other pitfalls you haven' thought
about...

Bye,
Tassilo

Tassilo Horn

unread,
Jun 4, 2010, 8:49:07 AM6/4/10
to
Uday S Reddy <uDOTsD...@cs.bham.ac.uk> writes:

>> For normal editing, I like visual-line-mode sometimes (for example
>> when working on a TeX document with colleagues, which write
>> paragraphs one one single line). With that, *all* motion commands
>> operate on visual lines. Its default is off.
>
> Just curiious. If they write whole paragraphs as lines, how do they
> do version control?

It's a good style to write short and to the point paragraphs. But
still, the diffs are usually a bit larger than with hard line breaks.

But on docs I write with hard breaks after 79 chars, my diffs are also
bigger than they must be, cause I cannot refrain from pressing M-q when
editing something in the middle of a paragraph. ;-)

Anyway, when writing text I've never felt the need to use version
control for anything except collaborative but sequential editing and
backup. I can't even imagine forking some document, writing an
"experimental" paragraph and merging that back to trunk some time
later. ;-)

Bye,
Tassilo

sable

unread,
Jun 4, 2010, 9:20:49 AM6/4/10
to
On Jun 3, 6:11 pm, Mark Crispin <m...@panda.com> wrote:

> I don't care if M-X fart-noisily-with-spray changes its default scent from
> skunk to lemon.  

LOL!!!

Brendan Halpin

unread,
Jun 4, 2010, 9:39:38 AM6/4/10
to
On Fri, Jun 04 2010, Tassilo Horn wrote:

> Uday S Reddy <uDOTsD...@cs.bham.ac.uk> writes:
>
>>> With line-move-visual set to t (the default), only vertical motion
>>> commands use visual lines, but for example C-a / C-e still use
>>> logical lines. From my point of view, that's a silly compromise.
>>
>> Agreed. That means that line-move-visual is not doing what it says on
>> the box. I don't see a compelling reason why C-n and C-p should move
>> by "visual lines" outside of visual-line-mode. Perhaps it was a bad
>> idea.

Attempted thread-jack: why use visual-line-mode instead of
longlines-mode?

Brendan
--
Brendan Halpin, Department of Sociology, University of Limerick, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F2-025 x 3147
mailto:brendan...@ul.ie http://www.ul.ie/sociology/brendan.halpin.html

Uday S Reddy

unread,
Jun 4, 2010, 10:34:05 AM6/4/10
to
On 6/4/2010 2:39 PM, Brendan Halpin wrote:

> Attempted thread-jack: why use visual-line-mode instead of
> longlines-mode?

Apparently, there are contexts in which longlines-mode isn't effective. I forget the details now.

The visual-line-mode is supposed to be more general, and is meant to replace the longlines-mode eventually.

Cheers,
Uday

Brendan Halpin

unread,
Jun 4, 2010, 10:45:17 AM6/4/10
to
On Fri, Jun 04 2010, Uday S Reddy wrote:

> The visual-line-mode is supposed to be more general, and is meant to replace the longlines-mode eventually.

Interesting. Using window-width to determine where to word-wrap seems
arguably more consistent with other software than using fill-column, but
I have to say I prefer the latter.

Stefan Monnier

unread,
Jun 4, 2010, 10:51:54 AM6/4/10
to
> IMO, that should be done automatically. But others argue, that a
> keyboard macro should act exactly as doing the same stuff manually. Then

There's a tension here, indeed: OT1H keyboard macros only record
a sequence of keys, so they should really be equivalent to having the
user hit the same keys in the same order, but OTOH they correspond to
mechanical execution, i.e. to code, so they need simple&reliable
semantics in order to work well.

As Emacs commands tend to get more complex over time (more DWIMish,
usually), we have more cases of commands that should really only ever be
used interactively because they require the user to see the result
before making the next step.

This tension for keyboard macros is made evident if you ever try to turn
a keyboard macro into a piece of Elisp code. A job which would seem
simple enough that a little Elisp package could do it for you, right?

I would encourage people to try and write up a new keyboard-macro
package which would be closer to writing Elisp code: instead of
recording keys, it would record commands, and would do so in a submode
where DWIMish things (line-move-visual, abbrev-mode, auto-fill-mode,
... you name it) are disabled.


Stefan

Mark Crispin

unread,
Jun 4, 2010, 12:28:12 PM6/4/10
to
On Fri, 4 Jun 2010, Tassilo Horn posted:

> But all visual line behavior break keyboard macros. Define a macro,
> then change your window size (so that lines are differently visually
> wrapped), and *bang* your macro messes up your text. It's semantics
> change with the frame/window size. That's silly.

This is precisely how I got screwed by this incompatible change. But the
change in behavior also confused the hell out of me. Almost all of my
editing is C source code.

> Because keyboard macros are important to me, I set line-move-visual to
> nil.

Yes.

Xah Lee

unread,
Jun 4, 2010, 1:49:08 PM6/4/10
to
On Jun 4, 6:39 am, brendan.hal...@ul.ie (Brendan Halpin) wrote:
> Attempted thread-jack: why use visual-line-mode instead of
> longlines-mode?

longlines-mode has serious bugs, i believe still so even i haven't
used it since emacs 23.1 a year or 2 ago.

basically, whenever large chunk of text is inserted or removed in a
buffer (either manually, or sometimes automatically by commands such
as patch and version control etc), then the text will be screwed up...
missing parts or something i forgot.

there are 1 or more bug reports of it in emacs bug track. If i recall
correctly, the situation is that it's hard to fix, because longlines-
mode was a hack for lack of visual line move, and i think it is done
by basically just inserting line-breaks in the background but display
and save it otherwise. (i haven't actually looked at the code though)

the visual line move feature is a critical feature in emacs. Before
emacs 23, there are a few packages or code that tries to introduce the
visual line move feature (see emacswiki), and longlines-mode is one of
them. However, because it is such a fundamental feature, it is hard
for a 3rd-party elisp package to get it correct. They all have major
problems...

i think Emacs 23.2's move by visual line feature is great because:

• it fixed a frequently asked feature. (e.g. i think ALL editors/IDEs
after mid 1990s, move by visual line )

• it fixed a issue that 3rd party elisp packages cannot address well.

Btw, who actually coded the visual line mode? I can't find the info. I
like to document it in my emacs pages.

--------------------------------------------------

Personally, i find moving by visual line is not just a good feature,
but a critical one, with consequences that effect the evolution of
language design and thinking, long term. The hard-coded lines is
fundamentally introduced by unix and C gang, and brain damaged a whole
generation of coders.

I've written about 7 essays addressing this point in the past 10
years. See:

• Xah on Programing Languages
http://xahlee.org/Periodic_dosage_dir/comp_lang.html

See the articles under the Formatting section.

Each of these is written in a different context, but they essentially
discuss the same thing. That is, the importance of separating
appearance/formatting from semantic or logical structure.

Here's a synapses on how each article relates to the line move visual
issue.

------------------------------

• The Harm of Hard-wrapping Lines
http://xahlee.org/UnixResource_dir/writ/hard-wrap.html

A introduction. (written as a diatribe )

------------------------------

• Tabs versus Spaces in Source Code
http://xahlee.org/UnixResource_dir/writ/tabs_vs_spaces.html

introduces the idea as semantic based formatting vs hard-coded
formatting.

------------------------------

• Plain-Text Email Fetish
http://xahlee.org/UnixResource_dir/writ/plain_text.html

• Unix, RFC, and Line Truncation
http://xahlee.org/UnixResource_dir/writ/truncate_line.html

Shows some connection of the hard-coded habit from unix.

------------------------------

• A Simple Lisp Code Formatter
http://xahlee.org/emacs/lisp_formatter.html

A example of what actually can happen when hard-coded formatting
hasn't become the conventional thought.

------------------------------

• A Text Editor Feature: Extend Selection By Semantic Unit
http://xahlee.org/emacs/syntax_tree_walk.html

Another example of what could happen if unix didn't made people to
think about hard-coded short lines.

------------------------------

• Fundamental Problems of Lisp
http://xahlee.org/UnixResource_dir/writ/lisp_problems.html

Half of the essay, discuss the above issues with respect to lisp the
language, and consequences.

Xah
http://xahlee.org/


Mark Crispin

unread,
Jun 4, 2010, 1:52:38 PM6/4/10
to
On Fri, 4 Jun 2010, Uday S Reddy posted:

> Having used Emacs for some 30 years myself, I always expect a few surprises
> with a new major version of Emacs.

Why should users expect surprises?

> It takes me a few months to read through
> all the change logs and the new manual sections to become comfortable with
> all the new and changed features.

Why should users - who presumably have work to do - be obliged to do this?

> Sometimes when there are significant new
> features, the old version just stays, because several users are uncomfortable
> with the new version. The good thing about free software is that you can do
> that!

Until there is some support issue with the old version, such as a major
security bug, and the software developers refuse to fix it - "update that
ancient version you stupid idiot."

> Reading through the emacs-developers list yesterday,

It's nice that you have time to do that.

> I also discovered that
> there is an Options -> Customize -> New Options menu

I turned off that stupid menu years ago. I need every screen line. I
want to use emacs, not MS Word.

> As I said before, the line-move-visual setting has been a complex decision
> for the developers.

And they screwed it up.

This is getting ridiculous. My .emacs file is getting bigger and bigger,
not to do any customizations but rather [1] to restore behaviors that some
arrogant and irresponsible software developer decided to change; and [2]
so that emacs on the dozens of machines I routinely use works the same on
each and every one of them for the very basic command set that I use.

It does no good whatsoever to tell me that I should get used to the
change. Other machines don't have that change. Some are still in emacs
18. Others are bleeding edge.

I should not have to customize emacs so that CTRL/A, CTRL/E, CTRL/N, and
CTRL/P continue to work the way they've done since the mid-1970s.

Mark Crispin

unread,
Jun 4, 2010, 2:18:02 PM6/4/10
to
On Fri, 4 Jun 2010, Xah Lee posted:

> Personally, i find moving by visual line is not just a good feature,
> but a critical one, with consequences that effect the evolution of
> language design and thinking, long term. The hard-coded lines is
> fundamentally introduced by unix and C gang, and brain damaged a whole
> generation of coders.

This is why UNIX and C accomplish things. They were based upon
accomplishing something useful rather than promoting an ideology.

It sounds like Microsoft Word is more suitable for the sort of work that
you do. Perhaps you ought to use Word instead of seeking to make emacs
become more like Word.

David Kastrup

unread,
Jun 4, 2010, 2:28:44 PM6/4/10
to
Mark Crispin <m...@panda.com> writes:

> On Fri, 4 Jun 2010, Uday S Reddy posted:
>> Having used Emacs for some 30 years myself, I always expect a few
>> surprises with a new major version of Emacs.
>
> Why should users expect surprises?
>
>> It takes me a few months to read through all the change logs and the
>> new manual sections to become comfortable with all the new and
>> changed features.
>
> Why should users - who presumably have work to do - be obliged to do
> this?

Why should they install newer versions if they don't want things to
change?

>> I also discovered that there is an Options -> Customize -> New
>> Options menu
>
> I turned off that stupid menu years ago. I need every screen line. I
> want to use emacs, not MS Word.

Why don't you get and install a suitably old version and stay with it?

> It does no good whatsoever to tell me that I should get used to the
> change. Other machines don't have that change. Some are still in
> emacs 18. Others are bleeding edge.

Install Emacs 18 everywhere and you are finished.

> I should not have to customize emacs so that CTRL/A, CTRL/E, CTRL/N,
> and CTRL/P continue to work the way they've done since the mid-1970s.

Install a version of Emacs from the mid-1970s, and you get the behavior
of Emacs from the mid-1970s. What is so hard about that?

--
David Kastrup

Xah Lee

unread,
Jun 4, 2010, 3:19:47 PM6/4/10
to

hi Mark Crispin,

On Jun 4, 11:18 am, Mark Crispin <m...@panda.com> wrote:
> This is why UNIX and C accomplish things.  They were based upon
> accomplishing something useful rather than promoting an ideology.

maybe you shouldn't use emacs? Emacs is main part of GNU's Not Unix,
and the whole lisp culture and thinking is contrary to unix and C.

> It sounds like Microsoft Word is more suitable for the sort of work that
> you do.  Perhaps you ought to use Word instead of seeking to make emacs
> become more like Word.

speaking of Microsoft Word, i wait for dinosaurs like u to die. The
question is, can we recruit enough new generation of coders to emacs
fast enough before emacs extinguishes.

LOL!

Xah
http://xahlee.org/


Stefan Monnier

unread,
Jun 4, 2010, 5:16:09 PM6/4/10
to
>> Having used Emacs for some 30 years myself, I always expect a few
>> surprises with a new major version of Emacs.
> Why should users expect surprises?

To spice things up, of course.

>> I also discovered that there is an Options -> Customize -> New Options
>> menu
> I turned off that stupid menu years ago. I need every screen line. I want
> to use emacs, not MS Word.

C-mouse-3 shows you the menu, even when it's not displayed.

>> As I said before, the line-move-visual setting has been a complex decision
>> for the developers.
> And they screwed it up.

Yup, big time,


Stefan

Tassilo Horn

unread,
Jun 4, 2010, 4:53:08 PM6/4/10
to
Stefan Monnier <mon...@iro.umontreal.ca> writes:

Hi Stefan,

> I would encourage people to try and write up a new keyboard-macro
> package which would be closer to writing Elisp code: instead of
> recording keys, it would record commands, and would do so in a submode
> where DWIMish things (line-move-visual, abbrev-mode, auto-fill-mode,
> ... you name it) are disabled.

Sounds like a very good idea. But for the time being, it would be a
good to have some before/after-kbd-macro-hooks that one could use to
prepare a safe environment and switch back to whatever was before.

Bye,
Tassilo

Mark Crispin

unread,
Jun 4, 2010, 9:23:16 PM6/4/10
to
On Fri, 4 Jun 2010, David Kastrup posted:

> Why should they install newer versions if they don't want things to
> change?

What makes you assume that the end user has any choice in the matter?

> Why don't you get and install a suitably old version and stay with it?

What makes you assume that the end user has that option?

> Install Emacs 18 everywhere and you are finished.

What makes you assume that the end user should be obligated to install a
particular version of a massive package "everywhere" in order not to get
the rug pulled from under him?

> Install a version of Emacs from the mid-1970s, and you get the behavior
> of Emacs from the mid-1970s. What is so hard about that?

Have you done it?

Do you have a clue as to what the task entails?

Do you know what you made a completely idiotic statement?

I can answer "yes" to all three questions. I suspect from the tone of
your remarks that you can not.

Mark Crispin

unread,
Jun 4, 2010, 9:29:12 PM6/4/10
to
On Fri, 4 Jun 2010, Stefan Monnier posted:

>> Why should users expect surprises?
> To spice things up, of course.

Young system programmers seem to do this a lot, before they acquire the
judgement to know better.

>>> As I said before, the line-move-visual setting has been a complex decision
>>> for the developers.
>> And they screwed it up.
> Yup, big time,

Indeed.

Mark Crispin

unread,
Jun 4, 2010, 10:33:10 PM6/4/10
to
On Fri, 4 Jun 2010, Xah Lee posted:
> maybe you shouldn't use emacs? Emacs is main part of GNU's Not Unix,

emacs predates GNU by several years.

I was there at emacs' creation, and I used its predecessors. I had only a
very minor role in its software development, but I had an influence on the
design of some of the basic commands (I remember, although RMS may have
forgotten).

> and the whole lisp culture and thinking is contrary to unix and C.

emacs was not originally written in LISP. It was many years later that it
was ported to LISP.

Not that I dislike LISP. Quite the contrary; my history with LISP is
longer than with C. I wrote the first IMAP client in LISP, and years
later (1989) reimplemented it in Objective-C.

On the other hand, I acknowledge Richard Gabriel's essay about why "Worse
is Better". I doubt that anyone would be presumptous enough to imply that
Gabriel is ignorant about LISP! He convincingly demonstrates why UNIX and
C won, while ITS and LISP lost. That essay was a particularly bitter pill
to swallow for those of us who spent many years in the MIT/Stanford
environment (nearly 15 years for me); but it was spot-on.

> speaking of Microsoft Word, i wait for dinosaurs like u to die.

You seem to have some serious psychological problems.

> The
> question is, can we recruit enough new generation of coders to emacs
> fast enough before emacs extinguishes.

If emacs "extinguishes", it will because it no longer provides a benefit
that overcomes its demerits.

There are many word processors, most of which perform that task quite a
bit better than emacs. emacs provides a particular benefit, and fills a
niche that is not served by word processors.

The world is not made a better place by undermining that benefit in order
to transform emacs from a superior text editor to an inferior word
processor.

I can understand the frustration of being unable to convince a word
processor user to try emacs. Nonetheless, it is unwise to alienate the
core constituency when purposing to expand the constituency.

Stefan Monnier

unread,
Jun 5, 2010, 9:57:21 AM6/5/10
to
>>> Why should users expect surprises?
>> To spice things up, of course.
> Young system programmers seem to do this a lot, before they acquire the
> judgement to know better.

Somehow embracing boredom seem to only be able to come with age, yes.


Stefan

Stefan Monnier

unread,
Jun 5, 2010, 10:00:43 AM6/5/10
to
>> Install a version of Emacs from the mid-1970s, and you get the behavior of
>> Emacs from the mid-1970s. What is so hard about that?
> Have you done it?

Don't know about mid-70s nor about Emacs-18, but I do have Emacs-19
installed on my Debian testing systems (and no, I didn't compile it,
I "just" kept the emacs19 package installed (well, for some of those
machines, I manually (re)installed it long after it had "disappeared").

> Do you have a clue as to what the task entails?

Yup. I had to create one dummy package that explains to dpkg that some
X11 libs have been renamed. IIRC that was about it, but yes, it took me
a bit of time to figure it out.


Stefan

Mark Crispin

unread,
Jun 5, 2010, 3:16:52 PM6/5/10
to
On Sat, 5 Jun 2010, Stefan Monnier posted:

> Don't know about mid-70s nor about Emacs-18

emacs 18 and emacs 19 are creations of much later than the mid-1970s.

For mid-1970s emacs, you have to have a CPU (and operating system) capable
of running TECO. And not just any old TECO.

>> Do you have a clue as to what the task entails?
> Yup. I had to create one dummy package that explains to dpkg that some
> X11 libs have been renamed. IIRC that was about it, but yes, it took me
> a bit of time to figure it out.

As you noted, even these relatively recent versions require effort. It
gets worse the further back you go. The only way to run mid-1970s emacs
is via a virtual machine.

The point was that it is ridiculous to tell someone to "install a version
of emacs from the mid-1970s" in answer to a complaint about a change that
broke behavior dating from the mid-1970s.

Nobody would seriously suggest changing the "/" operator of C to work like
APL's reduce operator, on the grounds that division is simply
multiplication by the inverse and thus does not need an operator on its
own. The semantics of the motion operators in emacs have just as much
history.

Thad Floryan

unread,
Jun 5, 2010, 5:11:15 PM6/5/10
to
On 6/5/2010 7:00 AM, Stefan Monnier wrote:
>>> Install a version of Emacs from the mid-1970s, and you get the behavior of
>>> Emacs from the mid-1970s. What is so hard about that?
>> Have you done it?
>> [...]

I have. It required hardware from DEC to run it (PDP-10, DEC-20).
I still have a tape of the sources, executables and docs of the
EMACS version 150 but no way to (conveniently) read the tape. The
manual for that version is here (scanned a few years ago):

<http://thadlabs.com/FILES/Emacs-150_1980.09.05.pdf> [210p, 9MB]

I actually had been using Emacs back in the mid-/late-1970s but
got it from the Pentagon; version 150 was handed to me by RMS in
John McCarthy's office at Stanford.

> Don't know about mid-70s nor about Emacs-18,

Looking right now at the GNU Emacs Manual, Version 18, it's dated
March 1987 and 284 pages.

I have some version of GNU Emacs on every one of the 40+ systems
here and they all operate essentially identically. I understand
and agree with Mark Crispin's comments about line-move-visual
and the idiocy of changing the behavior of fundamental keystrokes.

I recall back in the early-/mid-1980s every secretary and just about
everyone else at HP Labs (Palo Alto CA) used Emacs on HP's DEC-20s;
they had about 6 or 7 (2060s and something else (? 2065 or 2080 ?)).

Xah Lee

unread,
Jun 5, 2010, 5:54:40 PM6/5/10
to
On Jun 5, 2:11 pm, Thad Floryan <t...@thadlabs.com> wrote:
> I have some version of GNU Emacs on every one of the 40+ systems
> here and they all operate essentially identically. I understand
> and agree with Mark Crispin's comments about line-move-visual
> and the idiocy of changing the behavior of fundamental keystrokes.

here's a essay that might help.

• The Harm of Hard-wrapping Lines
http://xahlee.org/UnixResource_dir/writ/hard-wrap.html

plain text version follows:
-------------------------------

The Harm of Hard-wrapping Lines

Xah Lee, 2005-02-22

Computing Folks of the industry:

please spread the debunking of the truncating line business of the
fucking unix-loving fuckheads, as outlines here:
http://xahlee.org/UnixResource_dir/writ/truncate_line.html

if this myth-debunking is known widely enough, there wouldn't be any
more line truncating business.

emacs community has always been a thinking community as opposed to the
unix criminals. However by historical happenstance, the emacs of GNU's
Not Unix is essentially a program for unixes, so unavoidable it has to
deal with and inherit some of the ill shits of unix, if for nothing
but to be practical.

However, as of today, emacs don't really have reason to have
arrow-down behavior to be dependent on the hard-coded line wraps. I
want the next emacs version's down-arrow behavior to be fixed. (and
optionally as another mode to move by EOL.)

The reason for this change is easy. For those habituated with hard
wrapped lines, this would cause no difference. However, for those who
have lines that return at logical places, this would be an
improvement. (This is the intuitive way, and all non-geek editors
behave this way, even most editors or IDEs designed for programing.)

The need in this change is significant. By the current behavior of
down-arrow by EOL char, it discourages logical line breaking,
encourages hard-coded line breaking, and engenders the huge and
wide-spread problems as a consequence (as partially detailed in the
url given above): Programs posted online are broken, the who-said-what
quoting systems are a mess to process and comprehend, and needless
complex programs that processes and re-process the hard-wrapped
lines... And also it seeds the bad notions by creation of a generation
of imperative languages based on hard-line wraps (e.g. many
languages's line comment; and cannot be nested), and the misleading
and harmful habituation in Info Tech of sizing software by
EOL-counting. (both of these are hindrances to the prosperity of
functional programing.)

Further, in programing there's large chapters and energy spent on
what's called “coding style”, which refers to the petty issue of when
and how to press a return so the lines all jag in some uniform
way. This ubiquitous “coding style” activity is helped by the
hard-wrap habit of thinking, which created these EOL-centric language
syntaxes in the first place.

(When coding in a programing language, programers should never have to
enter returns for the sake of display-formatting. The language's
syntax and the editor should be able to display the code well on the
fly by a brainless parsing. Some 70% of EOL in codes today are there
manually entered by programer that does not serve any function other
than hard-coded pretty-printing.
(as oppose to the sometimes a intentional return to make a point in
the code, either as logical break, or emphasizing a section.)

And as a psychological and practical effects of these EOL-centric
languages is that attention are put on code by the lines, instead of
functional or logical units. For example, comments tends to be based
on lines of code, as opposed to on a functional unit or algorithmic
block. Boolean clauses inside IF clause each span a line, as opposed
to being together as a predicate unit.
(which smother new developments of such predicate unit in language
syntax or semantics)
IF blocks almost always span multiple lines, as opposed to the idea of
a single coherent unit of “if PREDICATE do BLOCK”.
(and such EOL-centric code tends to engender practices such as
calling and setting global variables here and there inside code
blocks).
Temporary variables occupy a line by themselves, as oppose to tucked
inconspicuously inside its functional unit...etc and so on.

(a example of a language that is not EOL-centric is Mathematica,
which displays the code with sensible justification, all done
automatically behind the scenes, just as a word processor is to
writing.

Similar mileu are in LISP languages, but they did not push this idea
further.

(That is to say, in LISP communities, they on occasion still do and
talk about the petty issues of manual return-pressing for style,
even
their languages are potentially immune to the hard-wrap
psychology.)
)
)

I hope the above is some elucidation on the hard-wrap and
line-truncation business. Please spread the info.

--------------------------------------------------
The Harm of Manual Code Formating

The following is a newsgroup post (edited), at comp.emacs, Xah Lee,
2007-10-11.

...

Someone wrote: «As for your code, I don't know why you are indenting
interactive differently than the further forms;»

just sloppy... never really pay much attention about any so-called
“coding style” (which often means the code fomatting habit) Actualy, i
consider the rampant reference and concern about “coding style”, is a
egregious fuck up that can be attributed significantly to unix and C.
The damage is far and wide, and also influenced negatively the lisp
community.

In general, a programer should never have to press any returns, tabs,
etc for the purpose of formatting his code. The editor should
automatically wrap the code properly for display formatting. Many
language, esp those turds from Unix/C's family (tcsh,Perl,C++,Java)
has a syntax that this is impossible for this at a lex level. For Lisp
the lang it is is possible, but the thinking isn't there.

In Mathematica, i never have to spend time to fiddle with code
formatting. (and when i do actually insert a indent or return, it is
intentional and means something (usually indicating a semantic/
algorithmic/code unit/break)) It's quite interesting to note that
Mathematica not only formats codes automatically, but the fact that
its code can contain 2-dimentional type-set mathematics (i.e.
fractions, roots, powers, subs, parens, nesting, integrals, ...
variously combined.), and auto-wrap such type-set expressions on the
fly. This feature, started in Mathematica version 3 about 1997, is
today a decade-old technology. Most coders today (e.g. Perl) are still
arguing and wallowing about the fine points of how many spaces a
indent should be. (not just innanely in newsgroups, but there are
entire literature (e.g. guides) devoted to it. Fucking morons and
holes.)

As to lisp, it would be nice, if a programer can press a button in
emacs, then the current code block would be formatted by a simple
lexical analysis. (similar to how fill-paragraph would work) I think
it is relatively trivial to code his command, but to my surprise, it
is not done. I was told by one Scheme expert Taylor R Campbell (aka
Riastradh, author of paren-edit mode) that this is non-trivial, but i
couldn't believe it and maybe he misunderstood what i wanted about
this command.

In fact when i gained more lisp experience in mid 2000s, i was
surprised to find that the concept of auto-wrap is basically non-
existant among lispers. Lispers, to a lesser degree than C/Perl
morons, still do discuss and debate now and then about formatting
trivia.

For a outline of how this lisp formatter would work, see: A Simple
Lisp Code Formatter.

David Kastrup

unread,
Jun 5, 2010, 6:11:59 PM6/5/10
to
Mark Crispin <m...@panda.com> writes:

> On Fri, 4 Jun 2010, David Kastrup posted:
>> Why should they install newer versions if they don't want things to
>> change?
>
> What makes you assume that the end user has any choice in the matter?

So you think that Emacs development should stop in order to save
helpless end users from having new versions installed to them?

>> Why don't you get and install a suitably old version and stay with it?
>
> What makes you assume that the end user has that option?

What makes you think that Emacs developers are responsible for end users
subjected to restrictive administrations?

To a degree where you think heaping abuse on them is the right answer
for your problems with authorities?

>> Install Emacs 18 everywhere and you are finished.
>
> What makes you assume that the end user should be obligated to install
> a particular version of a massive package "everywhere" in order not to
> get the rug pulled from under him?

What makes you think that Emacs developers are responsible for
maintaining the rug of end users?

>> Install a version of Emacs from the mid-1970s, and you get the
>> behavior of Emacs from the mid-1970s. What is so hard about that?
>
> Have you done it?

In the mid-70s? No. That's the point of time _you_ mentioned. GNU
Emacs was not released before 1985. And yes, I compiled and used
versions in the 80s.

> Do you have a clue as to what the task entails?

Yes.

> Do you know what you made a completely idiotic statement?

Well, _you_ were the one talking about the mid-70s.

> I can answer "yes" to all three questions.

Congratulations. Compiling and installing GNU Emacs before its
existence is indeed an impressive feat.

> I suspect from the tone of your remarks that you can not.

I actually started my computing work with Fortran and punch cards on a
Cyber 175. My application "preview-latex" was responsible for most of
the bug reports (and fixes) in the image display system of Emacs-21
before its release.

You really don't want to start a dick size contest in these categories
with me.

Oh, by the way: for somebody claiming to work with Emacs since the 70s,
it is a somewhat unimpressive track record for Emacs to not contain a
single code contribution by you.

Do you really think you are in the best position to call the developers
names?

--
David Kastrup

Xah Lee

unread,
Jun 5, 2010, 6:28:28 PM6/5/10
to
2010-06-04

On Jun 4, 7:33 pm, Mark Crispin <m...@panda.com> wrote:
> On Fri, 4 Jun 2010, Xah Lee posted:
>
> > maybe you shouldn't use emacs? Emacs is main part of GNU's Not Unix,
>
> emacs predates GNU by several years.
>
> I was there at emacs' creation, and I used its predecessors.  I had only a
> very minor role in its software development, but I had an influence on the
> design of some of the basic commands (I remember, although RMS may have
> forgotten).

am curious, if you know Daniel Weinreb, and who used emacs first. Am
curious just to satisfy a fun quote, about who can claim being the
oldest emacs user.

Daniel wrote: «Nobody has been using Emacs longer than I have (I was
one of the original beta-testers. I refer here to the original Emacs,
written in ITS TECO for the DEC 10.) »

source: http://groups.google.com/group/comp.emacs/msg/0342e0bc1aa05c0d
2008-06-01 on comp.emacs

-------------------

I see you also have a Wikipedia entry, at http://en.wikipedia.org/wiki/Mark_Crispin

nice.

> > speaking of Microsoft Word, i wait for dinosaurs like u to die.
>
> You seem to have some serious psychological problems.
>
> > The
> > question is, can we recruit enough new generation of coders to emacs
> > fast enough before emacs extinguishes.
>
> If emacs "extinguishes", it will because it no longer provides a benefit
> that overcomes its demerits.
>
> There are many word processors, most of which perform that task quite a
> bit better than emacs.  emacs provides a particular benefit, and fills a
> niche that is not served by word processors.
>
> The world is not made a better place by undermining that benefit in order
> to transform emacs from a superior text editor to an inferior word
> processor.

the question is what is superior and inferior.

for example, in this thread, i consider that the move by screen line
as a new feature is absolutely good. You disagree, but didn't seems to
provide counter to the reasons i gave. You started to cite about me
wanting emacs to become Microsoft Word.

I respect your recognized contribution to humanity as a computer
programer. However, not sure if you are aware, that i've argued with
well known emacs and lisp old timers for the past 10 years

for examples:

• Larry Wall and Cults
http://xahlee.org/UnixResource_dir/writ/larry_wall_n_cults.html

• Laziness, Perl, and Larry Wall
http://xahlee.org/UnixResource_dir/writ/perl_laziness.html

• On the Survival Strategies of Larry Wall vs Richard Stallman
http://xahlee.org/UnixResource_dir/writ/wall_stallman.html

• Language, Purity, Cult, and Deception
http://xahlee.org/UnixResource_dir/writ/lang_purity_cult_deception.html

• “Free” Software Morality, Richard Stallman, and Paperwork
Bureaucracy
http://xahlee.org/UnixResource_dir/writ2/FSF_philosophy.html

• Why Software Suck
http://xahlee.org/UnixResource_dir/writ/why_software_suck.html

(Kent Pitman)
• Why You should Not Use The Jargon Lisp1 and Lisp2
http://xahlee.org/emacs/lisp1_vs_lisp2.html

• Paul Graham's Infatuation with the Concept of Hacker
http://xahlee.org/comp/Paul_Graham_language_design.html

you can try also to search newsgroup archive on Richard Fateman,
Richard Gabriel, Kent Pitman, on my conversation with them in
comp.lang.lisp.

The point being, doesn't matter how famous or how expert one is about
particular subject, he can always be wrong, and statically, they are
often quite wrong about many of their opinionated views outside the
very narrow field they have expertise a single human animal can
possibly achieve, as documented in history. (this counts in for
example some big mouthers who's got strong opinion on everything once
they got a Nobel) Also, they tend to be more wrong when they are old,
usually happens when it is long past the years they were recognized
for.

So, here, we have a argument about a issue of emacs. We disagree.

I have writen quite a few criticisms of emacs in the past. They are
documented here:

• Emacs Modernization
http://xahlee.org/emacs/emacs_modernization.html

often with suggested solution and sometimes code.

it is my firm belief, that each of my claim or reasons of suggestion
can be verified in some scientific way by most reasonable judgments.

--------------------------------------------------

to argue, first let's be precise what we are arguing about. Here's few
points:

• emacs 23's introduction of line-move-visual feature is good (or
bad).

• emacs 23's default of line-move-visual t good (or bad)

• the very concep of move by screen line is good (or bad).

You may disagree with all of them. But to be fruitful in our debate,
lets pick just one of the topic, and we can argue about it rationally.

please don't just claim about how it is like Microsoft Word. That's
not a good argument. Because, for example, i can then retort that you
are a dinosaur.

also, don't just say that people are getting dumb. Older people, may
it be grandpa or college professors, tend to say that a lot, but it is
usually uttered as a sigh of life without much basis. Part of it is
simply because people get old and they envy the young. Generally
speaking, newer generation are smarter, healthier, more informed,
throughout history.

The good old days, my ass. LOL.

Btw, i'm 42. Not exactly the young thing you want to grab.

Am happy to have become acquainted with you. However, i'm sorry i'm
not the typical normal people when it comes to human animal
relationships and argument resolution. You started a aggressive
bitching about a issue i care about, then throw the typical “Microsoft
Word” slur when i gave a list of essays i've written in the past 10
years that reason about why i think it is a good feature.

Xah
http://xahlee.org/


Mark Crispin

unread,
Jun 5, 2010, 10:25:36 PM6/5/10
to
On Sun, 6 Jun 2010, David Kastrup posted:

> So you think that Emacs development should stop in order to save
> helpless end users from having new versions installed to them?

No. I think that developers have a responsibility not to make changes to
fundamental functionality.

> What makes you think that Emacs developers are responsible for end users
> subjected to restrictive administrations?

Any developer who does not feel responsible to the end users has no
business being a developer.

> To a degree where you think heaping abuse on them is the right answer
> for your problems with authorities?

They deserve it when they do something that is abusive to the end users.
Hopefully they learn from the mistake and not repeat it.

> What makes you think that Emacs developers are responsible for
> maintaining the rug of end users?

Any emacs developer who does not feel responsible for maintaining the rug
of end users has no business being an emacs developer.

The open source community spent a long time trying to obtain credibility
in the face of PHBs who claim that open source is "unreliable hacker
code." If it weren't for the intense efforts of the Ubuntus of the world
to get stuff "ready for prime time", open source software would languish
in obscurity.

Developers who pull antics such as changes to fundamental functionality
destroy this hard-won credibility.

Don't kid yourself. The opponents of open source are pushing back. Part
of the "embrace, extend, destroy" strategy of proprietary vendors is to
attack open source as being "unreliable hacker code."

I have, in my collection of papers, a remarkable document which basically
argues that nobody should run open source software because only
proprietary software (which is "written by professional programmers") is
trustworthy. It's laughable, except when an open source developer does
something irresponsible that make PHBs go "a-ha!"

There needs to be some soul-searching. There are reasons why proprietary
systems occupy the majority of end user platforms. Not all of those
reasons are due to vendor FUD.

Now, if it's a design goal that open source software be the exclusive
tools of the elite, then perhaps it's alright to make unilateral changes
to default functionality for everybody. But in that case, don't expect
the "l33t" to be more than a very small community. Don't expect that your
work will end up being particularly significant either.

Being a developer requires humility.

>>> Install a version of Emacs from the mid-1970s, and you get the
>>> behavior of Emacs from the mid-1970s. What is so hard about that?
>> Have you done it?
> In the mid-70s? No.

Perhaps you ought to be quiet when you don't have a clue.

> That's the point of time _you_ mentioned.

I referred to this incompatible change as being something that changed
fundamental functionality that had been there since the 1970s.

You were the one who went off snidely about "install a version of emacs
from the mid-1970s".

>> Do you have a clue as to what the task entails?
> Yes.

I doubt it.

>> Do you know what you made a completely idiotic statement?
> Well, _you_ were the one talking about the mid-70s.

Perhaps you ought to be quiet when you don't have a clue.

>> I can answer "yes" to all three questions.
> Congratulations. Compiling and installing GNU Emacs before its
> existence is indeed an impressive feat.

I assure you that I compiled, installed, and used emacs in the mid-1970s.

Too bad that you are so lacking in a clue that you do not know that GNU
emacs was not the first emacs. Nor was it the second. Nor even the
third.

> You really don't want to start a dick size contest in these categories
> with me.

Sorry, I'm straight. Look for your boyfriends someplace else.

> Oh, by the way: for somebody claiming to work with Emacs since the 70s,
> it is a somewhat unimpressive track record for Emacs to not contain a
> single code contribution by you.

This, coming from the same gnu.org people who claim credit for the work of
others ("call it GNU/Linux"!), and have promised (for 30 years!) but never
deliver on their new wonderful operating system that will have all the
features of ITS. Yawn.

Maybe, just maybe, people have other projects than a text editor. Far
more people use the work that I have done than have/will ever use emacs.

A text editor is not an end unto inself. It is at best a means to an end.
Very few people today use emacs for document preparation; that is not, nor
has it ever been, its strength.

Since you asked, the UI principle of functional symmetry in which C-<x>
operates on a character and M-<x> operates on a word was mine. I had
C-M-<x> operate on a sentence, but that was changed to S-expression early
on when it turned out that nobody used the sentence operators and nobody
defended those key bindings either. I did this in my proto-emacs macro
library (which predated emacs by about 6 months) and convinced RMS (it
didn't take much convincing) that this was the way to go.

You can also thank me for things like file operators prompting for their
value instead of putting you in a program minibuffer with a bunch of TECO
(or LISP code) with the cursor at where you should type the file name.
Once upon a time, most commands simply preloaded a minibuffer with the
contents of the macro to do it. It didn't take much argument from me to
convince RMS on that matter either. But I was the one who went and said
that dumping the user in code in a minibuffer sucks.

I wrote some code in the original PDP-10 version, but I have long since
forgotten what it was and it doesn't matter anyway since that code is
extinct for all practical purposes.

emacs was the fusion of many people's ideas. I would not presume to claim
that I made a major contribution; it wasn't. But it wasn't zero either.
Probably those design elements would have happened anyway. But they
hadn't happened until I talked RMS into them.

Design elements live on. GNU emacs' advantage was that it was a
functional superset (substantial) of the PDP-10 version yet required no
retraining for users of the old version.

More important, just about every program that calls itself emacs behaves
in predictable ways on a certain basic set of command keys. All of a
sudden, GNU emacs has broken this by default.

It's as if someone were to decide that GCC should change "/" to get an
APL-style reduce operator, since division is just multiplication by the
inverse. And, when a user complains, the developer says "if you don't
like the way the current version of GCC works then install an older
version."

> Do you really think you are in the best position to call the developers
> names?

When developers do something idiotic and irresponsible, it is perfectly
proper to call them on it.

If you are the irresponsible idiot that make this change, then you deserve
it.

Mark Crispin

unread,
Jun 5, 2010, 10:32:29 PM6/5/10
to
On Sat, 5 Jun 2010, Thad Floryan posted:

> I have. It required hardware from DEC to run it (PDP-10, DEC-20).
> I still have a tape of the sources, executables and docs of the
> EMACS version 150 but no way to (conveniently) read the tape.

It went up to version 165 or so. You can get a runnable TOPS-20 system
under a virtual PDP-10 with EMACS 165 from:

http://panda.trailing-edge.com/

> I have some version of GNU Emacs on every one of the 40+ systems
> here and they all operate essentially identically.

I go even further, and have some program called "emacs" (not necessarily
GNU emacs) on about the same number of machines. This includes some
embedded devices. They all have that property! It's a valuable property.

I daresay that RMS would not recognize some of these "emacs" programs as
being emacs; some are very basic programs. But, by golly, if you stick to
the basic functional set of command keys they all work the same.

> I understand
> and agree with Mark Crispin's comments about line-move-visual
> and the idiocy of changing the behavior of fundamental keystrokes.

Thank you.

Mark Crispin

unread,
Jun 5, 2010, 10:56:42 PM6/5/10
to
On Sat, 5 Jun 2010, Xah Lee posted:

> am curious, if you know Daniel Weinreb, and who used emacs first.
> Daniel wrote: "Nobody has been using Emacs longer than I have (I was
> one of the original beta-testers. I refer here to the original Emacs,
> written in ITS TECO for the DEC 10.) "

DLW was there, and was quite a bit closer to the thick of things than I
was. I had returned to complete my undergraduate education in another
state a few months before.

In reading his quote, DLW does not claim to be "the first"; he simply
says that nobody has used it longer than he has.

There was no single person who was "first". I can think of at least a
half dozen individuals without trying who would share the spot with him.
The actual number is probably at least twice that.

I started using emacs within a couple of days of DLW. I knew of the
project (it had started the previous summer). When I started noticing (I
was remote via ARPAnet on a 300 bps dialup) that people were running "E",
instead of what they were running before, I put two and two together at
once and joined the fun.

This would have been December 1976 - January 1977.

emacs was barely usable then, with frequent crashes, but it improved very
quickly. It was also somewhat difficult to use, as I did not have a
cursor-addressed display terminal (yes, it was possible to use it in
"glass teletype" mode). It may have been a couple of months after that
before I finally was able to try emacs in full display mode.

I know that by the spring of 1977 I had access to an ADM-3A which had
cursor addressing...but very little else good to say about it as a display
terminal. I wrote a term paper using emacs on it, at 300 baud. Today,
such torture would probably be banned by UN treaty.

I used the predecessors of emacs for at least a year before DLW arrived.
My macro library, with its symmetry between control and meta that emacs
copied, was an extension of the TECMAC library. TECMAC and another
library called TMACS were the two main streams that became emacs.

Most of emacs' fundamental key bindings came from TECMAC, but there were
significant differences. For example, TECMAC used C-Y C-Y for what in
emacs was first C-X C-R and later became C-X C-F. TMACS' influence was
especially felt in the M-X commands. emacs fused these.

The fundamental behaviors of C-A, C-E, C-N, and C-P were all in TECMAC.
Now that I think about it, I think that they were in ^R mode in TECO
before that. They're very old behaviors.

I'm not certain now - DLW will definitely correct me if I am wrong - but I
am pretty sure that DLW wrote the first clone of emacs. It was on the
Lisp Machine, written in Lisp Machine LISP (a superset of MacLISP; Common
LISP didn't exist yet) and was called EINE (Eine Is Not Emacs). Its
successor was ZWEI.

DLW is a good guy and a very bright programmer.

David Kastrup

unread,
Jun 6, 2010, 2:58:43 AM6/6/10
to
Mark Crispin <m...@panda.com> writes:

> On Sun, 6 Jun 2010, David Kastrup posted:
>> So you think that Emacs development should stop in order to save
>> helpless end users from having new versions installed to them?
>
> No. I think that developers have a responsibility not to make changes
> to fundamental functionality.
>
>> What makes you think that Emacs developers are responsible for end users
>> subjected to restrictive administrations?
>
> Any developer who does not feel responsible to the end users has no
> business being a developer.
>
>> To a degree where you think heaping abuse on them is the right answer
>> for your problems with authorities?
>
> They deserve it when they do something that is abusive to the end
> users. Hopefully they learn from the mistake and not repeat it.
>
>> What makes you think that Emacs developers are responsible for
>> maintaining the rug of end users?
>
> Any emacs developer who does not feel responsible for maintaining the
> rug of end users has no business being an emacs developer.

Since you never contributed to Emacs, it is none of your business who
may or may not be an Emacs developer.

> Being a developer requires humility.

That must be why you are no Emacs developer.

> Too bad that you are so lacking in a clue that you do not know that
> GNU emacs was not the first emacs. Nor was it the second. Nor even
> the third.

Why should GNU Emacs try to keep compatibility to its predecessors?

> This, coming from the same gnu.org people who claim credit for the
> work of others ("call it GNU/Linux"!), and have promised (for 30
> years!) but never deliver on their new wonderful operating system that
> will have all the features of ITS. Yawn.

Well, so don't use any software of theirs. Problem solved.

> If you are the irresponsible idiot that make this change, then you
> deserve it.

I recommend you check the discussion on the developer list. It was a
decision formed after discussion. You did not participate in it.

--
David Kastrup

Uday S Reddy

unread,
Jun 6, 2010, 5:53:32 AM6/6/10
to
On 6/5/2010 11:28 PM, Xah Lee wrote:

> I respect your recognized contribution to humanity as a computer
> programer. However, not sure if you are aware, that i've argued with
> well known emacs and lisp old timers for the past 10 years

Thank God that some civility has returned to this thread!

> to argue, first let's be precise what we are arguing about. Here's few
> points:
>
> • emacs 23's introduction of line-move-visual feature is good (or
> bad).
>
> • emacs 23's default of line-move-visual t good (or bad)
>
> • the very concep of move by screen line is good (or bad).

No, I don't think that these are the questions that this debate is about. (When we start debating what the debate is about, we should realize that we are hopelessly knotted up in circles!)

Emacs 23 has a *visual line mode* and a *logical line mode* (the default mode that you have whenever the visual-line-mode is /not/ turned on).

Everybody understands and expects that C-n moves by visual line in the visual line mode. The question is, do you want it to move by visual line or logical line in the *logical line mode*?

Let me repeat: do you want C-n to move by visual line or logical in the *logical line mode*?

In the megabytes of debate that has gone on on this issue, I haven't seen a single point mentioned as to why it should move by visual line in the logical line mode. Yet, that is the default in Emacs 23! Worse, it *changes* the semantics of C-n which as, Mark Crispin points out, has been here the 70's.

So, there are three things that an old-timer is annoyed about:

1. Change of established semantics.

2. Inconsistency.

3. Pointlessness.

Coupled with these real technical issues, there are the attitudinal problems of holier-than-thou, smarter-than-thou and modern-than-thou and what have you. In another part of this thread, we have also seen the astonishing idea that the developers don't have to care about what the users want/need. If that is the attitude that open source developers take, then I will be the first to give up open source!

Cheers,
Uday

David Kastrup

unread,
Jun 6, 2010, 5:39:25 AM6/6/10
to
Uday S Reddy <uDOTsD...@cs.bham.ac.uk> writes:

> Coupled with these real technical issues, there are the attitudinal
> problems of holier-than-thou, smarter-than-thou and modern-than-thou
> and what have you.

Everybody is free to join the discussions on the Emacs developer lists.
Those who choose not to help with the work don't get to criticize the
results. A common democratic principle.

> In another part of this thread, we have also seen the astonishing idea
> that the developers don't have to care about what the users
> want/need. If that is the attitude that open source developers take,
> then I will be the first to give up open source!

An excellent idea. The Free Software Foundation cares principally about
free software, not open source.

Open source sports the notion of creating superior software by
significantly different processes than common.

Free software is based on the premise of empowering the recipient of
software to change and adapting it according to his own needs.

Pampering to the needs of users who are not interested in changing and
adapting the software according to their needs is not a major priority.

Feel free to fork any free software which does not behave like you want
it: you have the power. You are not dependent on upstream developers.

If you tie yourself to distribution channels that take this power from
you effectively, you are doing it by choice. If you think you are in a
suitable majority, tell your distribution channel to change the upstream
decision for you if you don't feel like discussing this in a civilized
manner on the developer discussion lists created for that purpose.

--
David Kastrup

Uday S Reddy

unread,
Jun 6, 2010, 9:55:22 AM6/6/10
to
On 6/6/2010 10:39 AM, David Kastrup wrote:

> Free software is based on the premise of empowering the recipient of
> software to change and adapting it according to his own needs.
>
> Pampering to the needs of users who are not interested in changing and
> adapting the software according to their needs is not a major priority.
>
> Feel free to fork any free software which does not behave like you want
> it: you have the power. You are not dependent on upstream developers.

Good point. But not all users have the time or the ability to do their own changing or forking or even significant customization. Allowing the *possibility* of users to change things is not the same as *expecting* them to change things.

In this particular instance, the customization needed is not a big deal: set line-move-visual to nil. Almost everybody can do it. But the time they had to spend in discovering that they needed to change it is what has been significant. (In fact, after this thread started, I began to wonder if VM might be vulnerable to the problem as well, and went and checked if there were calls to next-line anywhere. There were three of them!)

It is not for nothing that we have ideas like standards and backward-compatibility. It didn't seem to me that the discussion on the developers list showed much appreciation to these issues, despite them having been raised repeatedly.

By the way, I think that the Emacs 23 visual-line-mode and word wrapping are a great addition to Emacs. A civilized way of dealing with longlines has long been needed. But the default setting of line-move-visual is an independent issue to that.

Cheers,
Uday

Alain Ketterlin

unread,
Jun 6, 2010, 11:43:05 AM6/6/10
to

Sorry to break the thread, but...

The message I'm following up to has been sent from Thunderbird with
format=flowed, i.e., it contains very long lines, much longer than the
usual 80-column text. It's painful to read, cite in replies, etc.

Is there any way to make gnus reformat such messages to make them fit
the standard Usenet width? My current gnus config is the absolute
minimum. Any help is welcome, even if it takes the form of a few
keywords to help me search the doc. Thanks,

-- Alain.

P/S: I've removed comp.lang.lisp from the Newsgroups:

Tassilo Horn

unread,
Jun 6, 2010, 11:21:03 AM6/6/10
to
Uday S Reddy <uDOTsD...@cs.bham.ac.uk> writes:

Hi Uday,

> In this particular instance, the customization needed is not a big
> deal: set line-move-visual to nil. Almost everybody can do it. But
> the time they had to spend in discovering that they needed to change
> it is what has been significant.

IMO, the first thing a new emacs user should learn is using the help
facilities. So after seeing that `C-n' moved point not to the next
(logical) line as it always did should be a reflexive `C-h C-n':

,----[ C-h k C-n ]
| C-n runs the command next-line, which is an interactive compiled Lisp function
| in `simple.el'.
|
| It is bound to C-n, <down>.
|
| (next-line &optional ARG TRY-VSCROLL)
|
| Move cursor vertically down ARG lines.
| [...]
| If the variable `line-move-visual' is non-nil, this command moves
| by display lines. Otherwise, it moves by buffer lines, without
| taking variable-width characters or continued lines into account.
| [...]
|
| If you are thinking of using this in a Lisp program, consider
| using `forward-line' instead. It is usually easier to use
| and more reliable (no dependence on goal column, etc.).
`----

> (In fact, after this thread started, I began to wonder if VM might be
> vulnerable to the problem as well, and went and checked if there were
> calls to next-line anywhere. There were three of them!)

As you can see in the docs above, `next-line' wasn't the right function
to call from lisp even before visual line movement.

> By the way, I think that the Emacs 23 visual-line-mode and word
> wrapping are a great addition to Emacs. A civilized way of dealing
> with longlines has long been needed. But the default setting of
> line-move-visual is an independent issue to that.

I agree with all of that.

Bye,
Tassilo

Reiner Steib

unread,
Jun 6, 2010, 1:09:28 PM6/6/10
to
On Sun, Jun 06 2010, Alain Ketterlin wrote:

> Sorry to break the thread, but...

Why not change the subject then?

> The message I'm following up to has been sent from Thunderbird with
> format=flowed, i.e., it contains very long lines, much longer than the
> usual 80-column text. It's painful to read, cite in replies, etc.

That is because the user misconfigured Thunderbird. format=flowed
applied as intended doesn't suffer from this problem.

> Is there any way to make gnus reformat such messages to make them fit
> the standard Usenet width? My current gnus config is the absolute
> minimum.

,----[ `C-h k W Q' ]
| W Q runs the command gnus-article-fill-long-lines
| which is an interactive Lisp function in `gnus-art.el'.
| It is bound to W Q, <menu-bar> <Article> <Washing> <Fill long lines>.
| (gnus-article-fill-long-lines &optional INTERACTIVE &rest ARGS)
|
| Fill lines that are wider than the window width.
`----

> Any help is welcome, even if it takes the form of a few keywords to
> help me search the doc. Thanks,

Try an index search for long-lines in the Gnus manual.

Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/

Mark Crispin

unread,
Jun 6, 2010, 1:24:42 PM6/6/10
to
On Sun, 6 Jun 2010, Uday S Reddy posted:

> In the megabytes of debate that has gone on on this issue, I haven't seen a
> single point mentioned as to why it should move by visual line in the logical
> line mode. Yet, that is the default in Emacs 23! Worse, it *changes* the
> semantics of C-n which as, Mark Crispin points out, has been here the 70's.

And breaks key macros.

> So, there are three things that an old-timer is annoyed about:
> 1. Change of established semantics.
> 2. Inconsistency.
> 3. Pointlessness.

4. Breaking long-standing key macros and procedures, which in turn leads
to file corruption based upon the current screen width (= "random and
unpredictable").

> Coupled with these real technical issues, there are the attitudinal problems
> of holier-than-thou, smarter-than-thou and modern-than-thou and what have
> you.

It seems to be a common problem among some Gen-X types. John Xenakis (a
colorful character if ever there was one!) writes a good essay related to
the topic:

http://www.generationaldynamics.com/cgi-bin/D.PL?d=ww2010.i.java080701

> In another part of this thread, we have also seen the astonishing idea
> that the developers don't have to care about what the users want/need. If
> that is the attitude that open source developers take, then I will be the
> first to give up open source!

This attitude has always been a problem, but in the past it would be
corrected. In a lab where everybody was under one roof, the users would
gang up (often with the lead developer) and discipline the offending young
developer.

Today, the only recourse is to spawn a fork. The problem is that each
fork erodes the credibility of open source. The classic example is BSD,
which committed suicide by fork.

Mark Crispin

unread,
Jun 6, 2010, 2:17:19 PM6/6/10
to
On Sun, 6 Jun 2010, Uday S Reddy posted:
> In this particular instance, the customization needed is not a big deal: set
> line-move-visual to nil. Almost everybody can do it. But the time they had
> to spend in discovering that they needed to change it is what has been
> significant.

An additional significant burden is the need to update .emacs files on
dozens of machines in order to keep common functionality. There is a huge
scalability problem.

There are things that you can do to avoid 2^n synchronization, such as
designating one system as having the "master" copy from which all others
are updated. But then, each time you encounter a problem on a "slave"
that necessitates a change to the slave, you must:
[1] make the corresponding change to the master
[2] test on the master
[3] test on at least one other slave
[4] push the update from the master to all other slaves

The fun and laughter proceeds apace if you don't have access to the master
at that point of time. Then you have to make a note that you needed this
change, and subsequently find that note when you can get to the master
again.

And all this presumes that it's a set that is harmless in old versions.
The true joy comes in when the change has an unintended bad effect in
some other slave and you didn't catch it in step [3].

The best case wastes a great deal of time, repeated for each affected
user. The worst case is a nightmare.

Part of the maturing process is learning to recognize when a simple
cookbook solution is neither simple nor cookbook nor solution.

> (In fact, after this thread started, I began to wonder if VM
> might be vulnerable to the problem as well, and went and checked if there
> were calls to next-line anywhere. There were three of them!)

I hope that you didn't have any corrupted files as a result.

> It is not for nothing that we have ideas like standards and
> backward-compatibility. It didn't seem to me that the discussion on the
> developers list showed much appreciation to these issues, despite them having
> been raised repeatedly.

A clueless developer is a very bad thing.

> By the way, I think that the Emacs 23 visual-line-mode and word wrapping are
> a great addition to Emacs. A civilized way of dealing with longlines has
> long been needed. But the default setting of line-move-visual is an
> independent issue to that.

Let me be clear; I have no objection whatsoever to the feature having been
added and made available.

The issue is it having been made the default, particularly in modes where
it is pointless.

It is also important to realize that there are many editors that handle
long lines in a "civilized" way. However, in certain circumstances, it is
desirable and necessary to handle long lines the "uncivilized" way; and it
is a feature of emacs that it can do that.

No amount of raving about how the "civilized" way is better will change
those circumstances. The only effect of enforcing the "civilized" way is
to render emacs unsuitable for those applications.

For example, I have a scripted procedure which depends upon emacs'
"uncivilized" behavior. It is followed by individuals who never use emacs
for any other reason. I have no control over what version they use, but
that had always been alright since every program that ever called itself
emacs worked the same way with it. Until now.

I don't know what I'm going to about that procedure. I'm probably going
to have to write a program and/or a sed script to replace it. This is
unfortunate, since an advantage of the emacs method was that the user
could see what the procedure was doing.

All because of clueless developers who broke emacs in version 23.