emacs-devel
[Top][All Lists]
Advanced

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

Re: Selection changes in revno 100822


From: David Kastrup
Subject: Re: Selection changes in revno 100822
Date: Mon, 16 Aug 2010 09:07:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: David Kastrup <address@hidden>
>> Date: Mon, 16 Aug 2010 04:50:25 +0200
>> 
>> Doesn't that imply that merely visibly selecting a region is sufficient
>> for pasting from one Emacs instance to another, but not from one Emacs
>> frame to another of the same Emacs instance?
>
> Pasting with mouse-2 should work inside the Emacs session as it should
> outside it, AFAIU.

AFAIU, the highlighting in the first frame goes away when you press
mouse-2 in the second frame of the same Emacs session.  Since the
highlighting is supposedly connected with the selection, that means the
selection will no longer be taken by Emacs, and the paste will be from
the top of the kill ring.  Since the region never was entered into the
killring, the result will appear differently than pasting a highlighted
selection from a different Emacs frame (which does not lose the
selection when doing mouse-2 in a different Emacs session).

I have not yet compiled the new code, but from the description that
would appear to me to be the case.

One nuisance of typical X operation is that there is basically only one
selection that counts, but every application will have its own
highlighting/active region.  So you don't notice an application losing
the selection until you try pasting.  Since multiple Emacsen can have an
active highlighted region at the same time, they participate in that
kind of lazy silent selection loss scheme.  But I don't think that
multiple frames of the same Emacs session can have an active highlighted
region at the same time.  At least that seems to be the case in my
currently compiled Emacs.

-- 
David Kastrup




reply via email to

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