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: Tom Tromey
Subject: Re: html, css, and js modes working together
Date: Sun, 12 Feb 2017 00:22:03 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux)

>>>>> "Stefan" == Stefan Monnier <address@hidden> writes:

Stefan> Notice how in the first case you switch windows and in the second you
Stefan> switch buffers?  Very different cases (and yes, cursor-sensor-functions
Stefan> should probably be called in some cases when switching buffer in
Stefan> a window).

Hah, actually, no, I didn't notice this.
Thanks for pointing that out, I agree that this doesn't support my case.

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.  I'll look
for some other approach though.  I had actually considered
post-command-hook, which you suggested, but I was under the impression
that this is very expensive and to be avoided.

Tom



reply via email to

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