[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: visual-region-mode? (was: delete-selection-mode as default)
From: |
Yuri Khan |
Subject: |
Re: visual-region-mode? (was: delete-selection-mode as default) |
Date: |
Tue, 11 Sep 2018 12:43:16 +0700 |
On Tue, Sep 11, 2018 at 3:01 AM Charles A. Roelli <address@hidden> wrote:
> Can you say how there can be multiple regions active, and how there
> can be "multiple ways of being active"? The region is normally
> defined as "the text between point and mark", for one, and whether the
> mark is active depends on the value of the buffer-local variable
> 'mark-active'.
By the way, this definition of region is flawed.
The mark is buffer-local, while the point is buffer-and-window-local.
Display a buffer B in windows X and Y, mark a region in window X, then
switch to window Y. Suddenly, an entirely unrelated fragment of text
is highlighted as region.
A consistent definition of a persistent region would make it an
interval between two buffer-local markers, both of which are distinct
from the point.
A consistent definition of a transient region would make the mark also
buffer-and-window-local, so that buffer B in windows X and Y could
have completely independently marked regions.
- Re: delete-selection-mode as default, (continued)
- Re: delete-selection-mode as default, hw, 2018/09/08
- Re: delete-selection-mode as default, Charles A. Roelli, 2018/09/08
- RE: delete-selection-mode as default, Drew Adams, 2018/09/08
- Re: delete-selection-mode as default, Richard Stallman, 2018/09/09
- RE: delete-selection-mode as default, Drew Adams, 2018/09/09
- Re: delete-selection-mode as default, hw, 2018/09/10
- Re: delete-selection-mode as default, Richard Stallman, 2018/09/11
- Re: delete-selection-mode as default, hw, 2018/09/10
- visual-region-mode? (was: delete-selection-mode as default), hw, 2018/09/10
- Re: visual-region-mode? (was: delete-selection-mode as default), Charles A. Roelli, 2018/09/10
- Re: visual-region-mode? (was: delete-selection-mode as default),
Yuri Khan <=
- Re: visual-region-mode? (was: delete-selection-mode as default), Charles A. Roelli, 2018/09/11
- Re: visual-region-mode? (was: delete-selection-mode as default), Yuri Khan, 2018/09/12
- Re: visual-region-mode?, Andreas Schwab, 2018/09/12
- Re: visual-region-mode?, Yuri Khan, 2018/09/12
- Re: visual-region-mode?, Andreas Schwab, 2018/09/12
- Re: visual-region-mode? (was: delete-selection-mode as default), Charles A. Roelli, 2018/09/12
- Re: visual-region-mode?, Juri Linkov, 2018/09/16
- Re: visual-region-mode?, hw, 2018/09/11
- Re: visual-region-mode?, Charles A. Roelli, 2018/09/12
- RE: visual-region-mode?, Drew Adams, 2018/09/12