GNU bug report logs -
#11575
24.1.50; rev 107888 breaks S-mouse mark region in cua-mode
Previous Next
Full log
Message #17 received at 11575 <at> debbugs.gnu.org (full text, mbox):
> From: npostavs <at> users.sourceforge.net
> Date: Fri, 05 Aug 2016 19:17:05 -0400
> Cc: 11575 <at> debbugs.gnu.org
>
> > I use cua-mode in emacs (trunk) and do
> >
> >
> > to be able to use S-mouse-1 to select a region. I recently found this
> > behaviour broken. The mark gets set but no region is created.
>
> Confirmed this is still the case in 25.1-rc1
>
> I recopy the recipe here, because the OP had some annoying line wrapping
> on the comment.
>
> ;; shift + click select region
> (define-key global-map (kbd "<S-down-mouse-1>") 'ignore) ; turn off font dialog
> (define-key global-map (kbd "<S-mouse-1>") 'mouse-set-point)
> (put 'mouse-set-point 'CUA 'move)
> (cua-mode t)
CUA switched to using shift-selection mode, which, AFAIU, cannot
support shifted mouse clicks. If I'm right, then I think the only way
to recover this functionality is to have a separate command in CUA,
that users could bind to the likes of S-mouse-1.
This bug report was last modified 1 year and 155 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.