bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#27530: patch to cut and copy secondary


From: Eli Zaretskii
Subject: bug#27530: patch to cut and copy secondary
Date: Wed, 06 Sep 2017 19:04:41 +0300

> Date: Wed, 06 Sep 2017 12:42:52 +0900 (JST)
> Cc: 27530@debbugs.gnu.org, tkk@misasa.okayama-u.ac.jp
> From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
> 
> >>> In Emacs 24, we have changed how selection works to conform with
> >>> other modern X applications, by having primary selection set only
> >>> via mouse gestures, whereas keyboard commands work with the
> >>> clipboard.  Doesn't your proposal go in the opposite direction?
> >>
> >>  I see.  I wonder if the direction lets the secondary selection
> >> react with region-reacting functions such for comment-dwim.
> >
> > I'm not sure I understand this comment.  Can you elaborate?
> 
> I often want to comment out text with mouse-secondary-overlay.
> 
> I meant if `mouse-secondary-overlay -> region' direction is not
> supported, text with mouse-secondary-overlay cannot be commented out
> until I select the text again as region.  I thought it is good to
> avoid redundant operation if possible.

If we want a function that will put region around secondary selection,
why not write such a function, and let users who want to code commands
that use this functionality do that?  IOW, why do we have to come up
with a command to do something which we aren't sure is a frequent use
case?





reply via email to

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