all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: I want to make C-d works in two ways.
Date: Sun, 25 Jul 2010 08:59:26 +0200	[thread overview]
Message-ID: <8739v8m4hd.fsf@lola.goethe.zz> (raw)
In-Reply-To: 55f24183-4134-4748-b9d1-b3864afd39b2@x24g2000pro.googlegroups.com

Jeongtae Roh <basil83@gmail.com> writes:

> I tried to find out a solution by myself, but failed.
>
> I hope C-d do "kill-region" command when I selected words or
> sentences.
>

That's default in the development version:

delete-active-region is a variable defined in `simple.el'.
Its value is t

Documentation:
Whether single-char deletion commands delete an active region.
This has an effect only if Transient Mark mode is enabled, and
affects `delete-forward-char' and `delete-backward-char', though
not `delete-char'.

If the value is the symbol `kill', the active region is killed
instead of deleted.

You can customize this variable.

This variable was introduced, or its default value was changed, in
version 24.1 of Emacs.


-- 
David Kastrup


  parent reply	other threads:[~2010-07-25  6:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <55f24183-4134-4748-b9d1-b3864afd39b2@x24g2000pro.googlegroups.com>
2010-07-24 21:14 ` I want to make C-d works in two ways Andreas Politz
2010-07-26  8:17   ` Elena
2010-07-26  9:24     ` Andreas Politz
2010-07-26 13:07       ` TheFlyingDutchman
2010-07-25  6:59 ` David Kastrup [this message]
2011-03-09 23:50   ` Brendan Halpin
2011-03-10  1:38     ` Richard Riley

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=8739v8m4hd.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --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.