emacs-devel
[Top][All Lists]
Advanced

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

Re: Shift selection using interactive spec


From: Stefan Monnier
Subject: Re: Shift selection using interactive spec
Date: Tue, 18 Mar 2008 12:24:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>> Nevertheless, regardless of the exact details, shift-selection will
>>>> have to end up setting transient-mark-mode to a non-nil value.
>>> 
>>> Indeed.  I just saw that Miles and Kim were talking about moving the
>>> handling of "only" to deactivate-mark, or something along those lines.
>>> 
>>> I plead guilty to turning transient-mark-mode into a non-boolean
>>> variable, and would be happy to see it go back to being boolean.
>> 
>> If we're willing to ignore backward compatibility, 

> The t-m-m 'only stuff was added in Emacs 23.x, so it's ok to
> undo that particular change and replace it by something else.

Indeed.

> More radical changes that would break code which works with 22.x
> is IMO not an option.

Agreed.

> So IMO the proposal below is simply too radical a change re. backwards
> compatibility.

Agreed.

>> I think a good way
>> to clean this up as follows:
>> - make transient-mark-mode a boolean again
> It's wasn't a boolean in 22.x either (it may be 'lambda too).

I don't think it's a problem: I doubt (m)any external packages have
treated it any different than boolean.

The problem is that code like (and mark-active transient-mark-mode)
should still work, because that is used at many places.


        Stefan




reply via email to

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