emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: visual-region-mode? (was: delete-selection-mode as default)


From: Charles A. Roelli
Subject: Re: visual-region-mode? (was: delete-selection-mode as default)
Date: Tue, 11 Sep 2018 20:25:57 +0200

> From: Yuri Khan <address@hidden>
> Date: Tue, 11 Sep 2018 12:43:16 +0700
>
> > 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'.
> 
> [...]
>
> 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.

In that case, pushing a mark in window X, then switching to window Y
and popping the mark would not necessarily place point where the mark
was pushed in window X, since window Y might have its own mark.  That
could be surprising behavior.  The handling of the mark-ring would
also be complicated.



reply via email to

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