[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: html, css, and js modes working together
From: |
Stefan Monnier |
Subject: |
Re: html, css, and js modes working together |
Date: |
Sun, 12 Feb 2017 02:02:37 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Sorry, maybe it wasn't clear, but the quoted paragraph above comes from
> the elisp manual. (info "(elisp) Window Point")
[...]
> That's what that section of the manual is about too.
Hmm... sorry, I obviously spend too much time with too many windows and
tend to forget that the "usual" way to use Emacs is a single window, and
`switch-to-buffer` whereas for me it means "go over to the other window
that shows the other buffer".
But to my defense: you tricked me. You started with:
>> It seems to me that switching windows should call
>> cursor-sensor-functions. What do you think?
and then ended with:
>> 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.
Notice how in the first case you switch windows and in the second you
switch buffers? Very different cases (and yes, cursor-sensor-functions
should probably be called in some cases when switching buffer in
a window).
Stefan
- Re: html, css, and js modes working together, (continued)
- Re: html, css, and js modes working together, Tom Tromey, 2017/02/12
- Re: html, css, and js modes working together, Dmitry Gutov, 2017/02/12
- Re: html, css, and js modes working together, Dmitry Gutov, 2017/02/12
- Re: html, css, and js modes working together, Tom Tromey, 2017/02/12
- Re: html, css, and js modes working together, Dmitry Gutov, 2017/02/13
- Re: html, css, and js modes working together, Tom Tromey, 2017/02/11
- Re: html, css, and js modes working together, Stefan Monnier, 2017/02/11
- Re: html, css, and js modes working together, Tom Tromey, 2017/02/11
- Re: html, css, and js modes working together, Stefan Monnier, 2017/02/12
- Re: html, css, and js modes working together, Tom Tromey, 2017/02/12
- Re: html, css, and js modes working together,
Stefan Monnier <=
- Re: html, css, and js modes working together, Tom Tromey, 2017/02/12
- Re: html, css, and js modes working together, martin rudalics, 2017/02/12
- Re: html, css, and js modes working together, Eli Zaretskii, 2017/02/12
- Re: html, css, and js modes working together, Tom Tromey, 2017/02/12
- Re: html, css, and js modes working together, Stefan Monnier, 2017/02/12
- Re: html, css, and js modes working together, Tom Tromey, 2017/02/12
- Re: html, css, and js modes working together, Eli Zaretskii, 2017/02/12
- Re: html, css, and js modes working together, Stefan Monnier, 2017/02/12
Please ack, Richard Stallman, 2017/02/10