From: saneman <asdfsdf@asd.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cut and open commands?
Date: Sat, 23 Feb 2008 14:28:03 +0100 [thread overview]
Message-ID: <fpp710$5qb$1@news.net.uni-c.dk> (raw)
In-Reply-To: <fpp5og$5nn$1@news.net.uni-c.dk>
saneman wrote:
> I would like to redefine cut and open to: C-x and C-o regardless of the
> built in definitions. But I cannot redefine cut:
>
> (global-set-key "\C-x" 'kill)
>
> when I select some text and press C-x I just get:
>
> symbols function definition is void:kill
>
> And what are the function called that opens a new file?
>
>
> Currently I have to press C-space to start a mark in the text that I can
> use to select some text. Is it possible to just redefine to shift
> instead of C-space?
Problems solved. Now I only need to find a way to use the shift modifier
for set-mark-command:
(global-set-key "\S" 'set-mark-command)
S does not not work. Have tried Shift but that does not work either. Is
shift not part of the keymap in emacs?
next prev parent reply other threads:[~2008-02-23 13:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-23 13:06 Cut and open commands? saneman
2008-02-23 13:28 ` saneman [this message]
2008-02-23 17:22 ` Tassilo Horn
[not found] ` <mailman.7830.1203787374.18990.help-gnu-emacs@gnu.org>
2008-02-25 10:02 ` saneman
2008-02-25 17:07 ` Joel J. Adamson
2008-02-25 19:38 ` saneman
2008-02-25 20:45 ` Joel J. Adamson
2008-02-25 22:27 ` saneman
2008-02-26 7:51 ` Thierry Volpiatto
[not found] ` <mailman.7948.1204011578.18990.help-gnu-emacs@gnu.org>
2008-02-26 9:12 ` saneman
2008-02-26 9:17 ` saneman
2008-02-26 16:45 ` Joel J. Adamson
2008-02-27 9:04 ` saneman
2008-02-27 14:53 ` Joel J. Adamson
2008-02-28 4:58 ` Kevin Rodgers
2008-02-25 22:46 ` Peter Dyballa
2008-02-25 18:15 ` Sven Joachim
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='fpp710$5qb$1@news.net.uni-c.dk' \
--to=asdfsdf@asd.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.
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).