From: Eli Zaretskii <eliz@gnu.org>
To: npostavs@users.sourceforge.net
Cc: 11575@debbugs.gnu.org, d.newsgroups@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 [thread overview]
Message-ID: <83inv6dnw6.fsf@gnu.org> (raw)
In-Reply-To: <87k2fu9572.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net)
> From: npostavs@users.sourceforge.net
> Date: Fri, 05 Aug 2016 19:17:05 -0400
> Cc: 11575@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.
prev parent reply other threads:[~2016-08-12 15:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-28 20:42 bug#11575: 24.1.50; rev 107888 breaks S-mouse mark region in cua-mode Dominic Jänichen
2016-08-05 23:17 ` npostavs
2016-08-12 15:10 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83inv6dnw6.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=11575@debbugs.gnu.org \
--cc=d.newsgroups@gmail.com \
--cc=npostavs@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).