emacs-devel
[Top][All Lists]
Advanced

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

Re: html, css, and js modes working together


From: Eli Zaretskii
Subject: Re: html, css, and js modes working together
Date: Sun, 12 Feb 2017 18:01:29 +0200

> Date: Sun, 12 Feb 2017 12:14:43 +0100
> From: martin rudalics <address@hidden>
> Cc: address@hidden
> 
>  >     As far as the user is concerned, point is where the cursor is, and
>  > when the user switches to another buffer, the cursor jumps to the
>  > position of point in that buffer.
> 
> Take this with a grain of salt.  The cursor is an attempt to visualize
> the position in a buffer the user most likely wants to see marked as the
> center of her current or future editing or viewing activity.  Sometimes
> Emacs fails in that attempt.

Indeed.  The "cursor" in that node means that rectangular block which
marks where point is; Emacs moves it to the coordinates that best fit
the location of point when point moves or the buffer displayed in a
window changes.  "The cursor jumps" wants to say that Emacs draws the
cursor at those coordinates (or thereabouts).

> I think we should rewrite that sentence.

Done.

> But at the same time, I still don't know what a cursor is; or really how
> cursor-sensor-functions can be useful given this limitation.

In this sense, the "cursor" part of cursor-sensor-functions is a
misnomer; it should have used "point".  However, given that this was a
replacement for point-entered and point-left properties, I can
understand why that name was chosen.



reply via email to

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