From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Timur Aydin Newsgroups: gmane.emacs.help Subject: C-Backspace behavior Date: Tue, 02 Apr 2013 18:08:20 +0300 Message-ID: <515AF464.7040609@taydin.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364917682 25584 80.91.229.3 (2 Apr 2013 15:48:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Apr 2013 15:48:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 02 17:48:29 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UN3Rk-0007Oa-IL for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 17:48:28 +0200 Original-Received: from localhost ([::1]:60489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2qx-000472-BC for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 11:10:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2pU-0002JA-P7 for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 11:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN2pS-0004xI-KE for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 11:08:56 -0400 Original-Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:36123) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1UN2pS-0004vs-8n for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 11:08:54 -0400 Original-Received: (qmail 25596 invoked by uid 0); 2 Apr 2013 15:08:25 -0000 Original-Received: from unknown (HELO box401.bluehost.com) (69.89.31.201) by cpoproxy3.bluehost.com with SMTP; 2 Apr 2013 15:08:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=taydin.org; s=default; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=RbTDByjqx1EOlaPxe4BlBs7gHg2itL+PhkZKCC+FbXM=; b=Uj6QJr5+NfPmTu+RjTuNnn+SHgxJEPCZSgLGPjKgWpTOYKvkZhlmVxbOI+Y/kNWeZy0Sn83Kcgy1ClMAj2dgTN1MYnTyhT/UvqIaGjKyMzClxoVUoM+7/h6EcSxNOk2q; Original-Received: from [176.41.233.165] (port=58858 helo=[10.2.1.100]) by box401.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1UN2ox-0007ch-3Y for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 09:08:23 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 X-Identified-User: {1590:box401.bluehost.com:taydinor:taydin.org} {sentby:smtp auth 176.41.233.165 authed with ta@taydin.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 67.222.54.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89896 Archived-At: Hi, Here is a scenario that I am running into many times everyday and it has gotten sufficiently annoying that I just wanted to find out how others are dealing with this. I have TODO files in a file tree like this: src foo TODO bar TODO rap TODO So I open the first TODO file, mark a region, then do C-x C-f and do C-Backspace to delete foo and hit enter. In the dired buffer, I select the second TODO and yank. But, annoyingly, foo is pasted instead of the region that I have marked. For this particular case, it is easy to just Backspace "foo" and enter "bar", but if the directory hierarchy is deeper nested, I just want to quickly delete all directories up to a certain point, open the dired buffer and navigate to the next directory without loosing the region that I have killed. I don't just want to redefine the C-Backpace key to not kill, so my question is, how should I work so that I don't run into this problem? -- Timur