[Top][All Lists]

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

Re: select-active-regions, Emacs not X

From: Jan Djärv
Subject: Re: select-active-regions, Emacs not X
Date: Mon, 30 Aug 2010 21:27:40 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv: Gecko/20100802 Thunderbird/3.1.2

I still get foo.

        Jan D.

Andreas Röhler skrev 2010-08-30 20.44:
Am 30.08.2010 19:35, schrieb Chong Yidong:
Andreas Röhler<address@hidden> writes:

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.
This description is too vague. Could you please provide a precise,
step-by-step recipe, starting from `emacs -Q'?

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.
select-active-regions only takes effect when Transient Mark mode is
enabled, which means the region is explicitly marked. Again, if this is
not what you see, please provide a step-by-step recipe, starting from
`emacs -Q', to demonstrate the problem.

emacs -Q

with empty buffer, insert

(kill-new (buffer-substring-no-properties 1 4)) asdf

eval before "asdf"
push-mark there --thats done in my programm exchange-point-and-mark--
move cursor down - region gets highlighted


==> asdf

IMHO pure cursor move should not send the region to clipboard per default.
OTOH that seems a useful feature for mouse-regions



reply via email to

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