From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: I want to make C-d works in two ways. Date: Sun, 25 Jul 2010 08:59:26 +0200 Organization: Organization?!? Message-ID: <8739v8m4hd.fsf@lola.goethe.zz> References: <55f24183-4134-4748-b9d1-b3864afd39b2@x24g2000pro.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291851810 12669 80.91.229.12 (8 Dec 2010 23:43:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 23:43:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 00:43:26 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQTfQ-0000yt-L0 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 00:43:24 +0100 Original-Received: from localhost ([127.0.0.1]:51578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQTJ6-0008Bl-6T for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 18:20:20 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!newsfeed.freenet.ag!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:TLQbgclK96SecoM14eRD4yBBfCM= Original-Lines: 30 Original-NNTP-Posting-Date: 25 Jul 2010 08:59:27 CEST Original-NNTP-Posting-Host: bd00acd5.newsspool2.arcor-online.net Original-X-Trace: DXC=Pc^2U39_NSieoCI^f\Y]EaA9EHlD; 3Ycb4Fo<]lROoRa8kFWOBh1_LiI6ENVam3>5MOK`al0oRjPV`1C:0S@fmN List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76230 Archived-At: Jeongtae Roh 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