[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24030: 25.0.95; mouse-drag-region regression
From: |
Stefan Monnier |
Subject: |
bug#24030: 25.0.95; mouse-drag-region regression |
Date: |
Sun, 24 Jul 2016 16:16:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> Looks fine to me, tho I don't think we should use with-selected-window
>> here, but only with-current-buffer.
> How is the latter different in this particular context?
The end result will probably be very similar in practice, but if you
look at the definition of with-selected-window and of all the functions
it calls, you'll see that with-current-buffer is super-extra lean
in comparison. And in the current situation all we care about is to set
the buffer-local value of a variable, so the window is of no importance
(other than to find the relevant buffer).
Stefan
- bug#24030: 25.0.95; mouse-drag-region regression, Alex, 2016/07/19
- bug#24030: 25.0.95; mouse-drag-region regression, Eli Zaretskii, 2016/07/20
- bug#24030: 25.0.95; mouse-drag-region regression, Alex, 2016/07/22
- bug#24030: 25.0.95; mouse-drag-region regression, Eli Zaretskii, 2016/07/23
- bug#24030: 25.0.95; mouse-drag-region regression, Stefan Monnier, 2016/07/23
- bug#24030: 25.0.95; mouse-drag-region regression, Eli Zaretskii, 2016/07/23
- bug#24030: 25.0.95; mouse-drag-region regression, Stefan Monnier, 2016/07/23
- bug#24030: 25.0.95; mouse-drag-region regression, Eli Zaretskii, 2016/07/24
- bug#24030: 25.0.95; mouse-drag-region regression, Stefan Monnier, 2016/07/24
- bug#24030: 25.0.95; mouse-drag-region regression, Eli Zaretskii, 2016/07/24
- bug#24030: 25.0.95; mouse-drag-region regression,
Stefan Monnier <=
- bug#24030: 25.0.95; mouse-drag-region regression, Eli Zaretskii, 2016/07/30
- bug#24030: 25.0.95; mouse-drag-region regression, Alex, 2016/07/24