GNU bug report logs - #11575
24.1.50; rev 107888 breaks S-mouse mark region in cua-mode

Previous Next

Package: emacs;

Reported by: Dominic Jänichen <d.newsgroups <at> gmail.com>

Date: Mon, 28 May 2012 23:24:02 UTC

Severity: wishlist

Tags: confirmed

Found in versions 25.1, 24.1.50, 24.3

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: npostavs <at> users.sourceforge.net
Cc: 11575 <at> debbugs.gnu.org, d.newsgroups <at> gmail.com
Subject: bug#11575: 24.1.50; rev 107888 breaks S-mouse mark region in cua-mode
Date: Fri, 12 Aug 2016 18:10:01 +0300
> 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.