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 20:17:01 +0200 Message-ID: <83bmu72s0y.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> <83fujj2yau.fsf@gnu.org> <87vasf1i9z.fsf@tromey.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1486923421 1838 195.159.176.226 (12 Feb 2017 18:17:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2017 18:17:01 +0000 (UTC) Cc: rudalics@gmx.at, tom@tromey.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 19:16:56 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 1ccyhk-00008O-Hv for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2017 19:16:56 +0100 Original-Received: from localhost ([::1]:53028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccyhq-0001GT-7B for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2017 13:17:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccyhg-0001FP-De for emacs-devel@gnu.org; Sun, 12 Feb 2017 13:16:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccyhc-00058O-E6 for emacs-devel@gnu.org; Sun, 12 Feb 2017 13:16:52 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccyhc-00058J-At; Sun, 12 Feb 2017 13:16:48 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3888 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ccyhb-00062L-Fm; Sun, 12 Feb 2017 13:16:47 -0500 In-reply-to: <87vasf1i9z.fsf@tromey.com> (message from Tom Tromey on Sun, 12 Feb 2017 09:32:56 -0700) 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:212301 Archived-At: > From: Tom Tromey > Cc: martin rudalics , tom@tromey.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Sun, 12 Feb 2017 09:32:56 -0700 > > >>>>> "Eli" == Eli Zaretskii writes: > > >> 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. > > Eli> In this sense, the "cursor" part of cursor-sensor-functions is a > Eli> misnomer; it should have used "point". However, given that this was a > Eli> replacement for point-entered and point-left properties, I can > Eli> understand why that name was chosen. > > If that's the case, then it seems to me that cursor-sensor-functions > should be run in the scenario I described -- because in that scenario, > point does change. Not sure what scenario you refer to, but if it's switching buffers in a window, then no, point doesn't move in that scenario.