From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: html, css, and js modes working together Date: Sun, 12 Feb 2017 18:01:29 +0200 Message-ID: <83fujj2yau.fsf@gnu.org> References: <87o9ynarz3.fsf@tromey.com> <877f4z6i8n.fsf@tromey.com> <87poipzr0l.fsf@tromey.com> <87inog4oga.fsf@tromey.com> <87k28w2hm4.fsf@tromey.com> <58A043A3.6060206@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1486915419 4198 195.159.176.226 (12 Feb 2017 16:03:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2017 16:03:39 +0000 (UTC) Cc: tom@tromey.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 17:03:35 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccwch-0000rD-7U for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2017 17:03:35 +0100 Original-Received: from localhost ([::1]:52531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccwcn-0007ZX-1z for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2017 11:03:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccwaW-0006Au-BI for emacs-devel@gnu.org; Sun, 12 Feb 2017 11:01:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccwaT-0006bj-B0 for emacs-devel@gnu.org; Sun, 12 Feb 2017 11:01:20 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccwaT-0006bf-7m; Sun, 12 Feb 2017 11:01:17 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3760 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ccwaS-000844-BI; Sun, 12 Feb 2017 11:01:16 -0500 In-reply-to: <58A043A3.6060206@gmx.at> (message from martin rudalics on Sun, 12 Feb 2017 12:14:43 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:212288 Archived-At: > Date: Sun, 12 Feb 2017 12:14:43 +0100 > From: martin rudalics > Cc: emacs-devel@gnu.org > > > 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.