From: LanX <lanx.perl@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: CUA-mode and conflicts with C-x commands
Date: Thu, 6 May 2010 05:04:50 -0700 (PDT) [thread overview]
Message-ID: <03acc372-d6b4-4c02-862a-54ddaa8dcb77@d39g2000yqa.googlegroups.com> (raw)
In-Reply-To: mailman.21.1273140408.10435.help-gnu-emacs@gnu.org
I told you already:
> E.g. S-C-x does a toggle of the writing direction in my Firefox ...
go into a textarea and see yourself how it looks like to write like in
Hebrew or Arabic.
I tried this yesterday:
-------------------------------------
(defun cua-cut-region-xx (arg)
"do cua-cut-region only if there is a region"
(interactive "P")
(if mark-active
(cua-cut-region arg)
(cua-exchange-point-and-mark arg)
)
)
(local-set-key (kbd "C-x C-x") 'cua-cut-region-xx)
-------------------------------------
but it's not really working, seems like I have to dive deeper into the
mechanisms of cua.
ahh now I see why:
------------------------------------------
from "cua-prefix-override-inhibit-delay"
...
As a special case, if the prefix keys repeated within this time, the
first prefix key is discarded, so typing a prefix key twice in quick
succession will also inhibit overriding the prefix key.
------------------------------------------
so quickly C-x C-x has the same meaning like your S-C-x.
well better ... but still not ergonomic...
next prev parent reply other threads:[~2010-05-06 12:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 12:50 CUA-mode and conflicts with C-x commands LanX
2010-04-16 13:16 ` LanX
2010-05-04 21:17 ` Lennart Borgman
[not found] ` <mailman.39.1273007891.29092.help-gnu-emacs@gnu.org>
2010-05-05 20:04 ` LanX
2010-05-06 0:02 ` Lennart Borgman
2010-05-06 0:31 ` LanX
2010-05-06 10:06 ` Lennart Borgman
[not found] ` <mailman.21.1273140408.10435.help-gnu-emacs@gnu.org>
2010-05-06 12:04 ` LanX [this message]
2010-05-06 21:49 ` Lennart Borgman
2010-05-06 9:38 ` Xah Lee
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=03acc372-d6b4-4c02-862a-54ddaa8dcb77@d39g2000yqa.googlegroups.com \
--to=lanx.perl@googlemail.com \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.