[Top][All Lists]

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

Re: select-active-regions, Emacs not X

From: Andreas Röhler
Subject: Re: select-active-regions, Emacs not X
Date: Mon, 30 Aug 2010 18:57:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20100711 Thunderbird/3.0.6

Am 30.08.2010 16:18, schrieb Chong Yidong:
Andreas Röhler<address@hidden>  writes:

IMHO copying everything once got highlighted,  it just the delire :-)

Can't move the cursor without clobbering previous saves.

Emacs is unusable that way.

During cursor motion, only the primary selection is overwritten, and
only if the region is active and transient mark mode is on.  This does
not affect yanking, since that now uses only the clipboard and the

Doesn't meet my observations.

In the original case cursor motion followed an exchange-point-and-mark over a string found. Afterwards, moving the cursor, any active region went into the clipboard. Next yank got it from there.
Whilst the string found and copied has been expected, but was not returned.

Ie got some arbitrary content resp. to the move away from the match-point.

The convention on X is that the primary selection is transitory; any
mouse drag or shift selection in any X program changes the primary
selection.  For Emacs to overwrite it when the region is active is not
merely reasonable, it is exactly what other applications do.

The big difference IMHO is the cursor-motion-region-setting in emacs.
In X, regions are expressingly marked, while in Emacs it just the difference beween point and any previously set mark.

Therefor it not that clear, if an existing region has an editory meaning as in X, it might just happen.

All in all, your description of the problem is far too vague.  It is
possible that you have some peculiar customizations that lead to the
unusable behavior you complain about, but it is impossible to know
without a more accurate description.

For me the matter is done setting `select-active-regions' not t.
I'll expect others with difficulties here.
Maybe lets postpone the issue.
Should no one else reports trouble, fine.

Thanks all BTW. Great joy always and again with Emacs.


reply via email to

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