unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Grover <andy@groveronline.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 18952@debbugs.gnu.org
Subject: bug#18952: 24.4; delete weirdness in cua mode
Date: Wed, 05 Nov 2014 22:41:37 -0800	[thread overview]
Message-ID: <545B1821.8070007@groveronline.com> (raw)
In-Reply-To: <jwvppd1rpvz.fsf-monnier+emacsbugs@gnu.org>

On 11/05/2014 07:06 PM, Stefan Monnier wrote:
>> Sorry, just a noob Emacser here :-) But I didn't disable
>> transient-mark-mode, setting cua-mode via the dropdown menu appears to
>> disable it.
> 
> It doesn't for me.  Could you provide a *precise* recipe?
> 
> I tried:
> 
>     emacs -Q
>     Options => Use CUA keys (Cut/Paste with C-x/C-c/C-v)
>     S-right S-right right right backspace
> 
> and the backspace only deleted one char.  And M-: transient-mark-mode RET
> tells me it's still enabled.
> 

Ah! ok, I also have cua-highlight-region-shift-only t in my Customize
section, so I hit this without trying? But here's a way to repro,
starting from emacs -Q:

emacs -Q
Set Options => Use CUA keys (Cut/Paste with C-x/C-c/C-v)
Unset Options => Use CUA keys (Cut/Paste with C-x/C-c/C-v)
M-x set-variable cua-highlight-region-shift-only t
Set Options => Use CUA keys (Cut/Paste with C-x/C-c/C-v)
<open a file>
S-down S-down down down backspace

or alternatively, use a .emacs containing just:

(custom-set-variables
 '(cua-highlight-region-shift-only t)
 '(cua-mode t nil (cua-base)))

HTH -- Andy





  reply	other threads:[~2014-11-06  6:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-05  7:11 bug#18952: 24.4; delete weirdness in cua mode Andy Grover
2014-11-05 16:03 ` Eli Zaretskii
2014-11-05 19:02   ` Andy Grover
2014-11-05 20:16     ` Stefan Monnier
2014-11-05 20:29       ` Andy Grover
2014-11-05 22:45         ` Stefan Monnier
2014-11-06  3:06         ` Stefan Monnier
2014-11-06  6:41           ` Andy Grover [this message]
2014-11-07 19:56             ` Stefan Monnier

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=545B1821.8070007@groveronline.com \
    --to=andy@groveronline.com \
    --cc=18952@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).