[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shift selection using interactive spec
From: |
Thomas Lord |
Subject: |
Re: Shift selection using interactive spec |
Date: |
Tue, 18 Mar 2008 12:07:59 -0700 |
User-agent: |
Thunderbird 1.5.0.5 (X11/20060808) |
Lennart Borgman (gmail) wrote:
Is this similar to the analogy below?
window-point / point
window-mark / mark
I'm not sure exactly what you're asking but.. yeah, sorta-like
that.
In "traditional emacs" the "point" is always 0-width -- it is
always between two characters (or an end point of a buffer).
In all the GUIs, the "point" is usually 0-width but can be
wider. Instead between being between two characters,
the point covers a (possibly empty) range of characters.
Rather than a mark-ring and implied region, these programs
use a "fat cursor" as their model of "selection".
So, I'm suggesting a variable "tentative-mark" and,
when not nil and set to a marker, the point is considered
to have non-0 width -- between the location (point) and
that marker.
And then yes: because we think of the traditional (point)
as window-local, and because tentative-mark is essentially
just an extension to that traditional concept of the point,
then yes, tentative-mark should also have a window-local
binding.
-t
- Re: Shift selection using interactive spec, (continued)
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/20
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/22
- Re: Shift selection using interactive spec, martin rudalics, 2008/03/17
- Re: Shift selection using interactive spec, Lennart Borgman (gmail), 2008/03/17
- Re: Shift selection using interactive spec, Thomas Lord, 2008/03/17
- Re: Shift selection using interactive spec, martin rudalics, 2008/03/18
- Re: Shift selection using interactive spec, Thomas Lord, 2008/03/18
- Re: Shift selection using interactive spec, Lennart Borgman (gmail), 2008/03/18
- Re: Shift selection using interactive spec,
Thomas Lord <=
- Re: Shift selection using interactive spec, martin rudalics, 2008/03/18
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/17
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/17
- Re: Shift selection using interactive spec, martin rudalics, 2008/03/18
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/18
- Re: Shift selection using interactive spec, Lennart Borgman (gmail), 2008/03/18
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/18
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/18
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/18
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/18