[Top][All Lists]

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

Re: my search/paste idiom not supported in emacs

From: Perry Wagle
Subject: Re: my search/paste idiom not supported in emacs
Date: Tue, 08 Feb 2011 19:33:40 -0800

I'm starting now to work seriously on fixing this, and re-reading the previous 
responses, I'm not sure I was clear on the situation, and people didn't 
understand why there was a problem.  So me fixing it wouldn't stick.  Let me 
try again in hopes of achieving agreement:

In emacs, I double click on a word with mouse-1.  This highlights it.  If I 
then mouse-2, its pasted at the mouse cursor.  No problem.

But if I double click on a word, highlighting it, and press control-S, this 
starts a "dialog" at the bottom of the screen where *what you type is captured* 
to give it text to search for.  But if you then press mouse-2, the search mode 
is *aborted*, and the highlighted text is pasted at the mouse cursor.

I think the highlighted text should be pasted in the dialog at the bottom of 
the screen, which is already capturing keyboard events.  Xemacs does it that 
way, and has been doing it for over a decade, and its very quick and natural.

Does anyone think emacs should work as it does now?  Why would you want to have 
it abort the search mode?  Why not capture mouse events the same as keyboard 

Am I making more sense now?

-- Perry

On Jan 5, 2011, at 12:56 AM, Perry Wagle wrote:

> Its now
> Thanks!
> -- Perry
> On Jan 2, 2011, at 8:36 PM, Stefan Monnier wrote:
>>> In xemacs, if I double click on a word, the word is highlighted.  If I then
>>> press control-s for search, and click the middle mouse button *without
>>> moving the mouse*, I will paste that word into the search string, and all
>>> is good.
>> I recommend you M-x report-emacs-bug (which is also used for feature
>> requests).  It seems reasonable to give mouse-2 the meaning of "insert
>> in the search string" rather than "insert in the current buffer".
>>       Stefan

reply via email to

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