all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Timur Aydin <ta@taydin.org>
To: help-gnu-emacs@gnu.org
Subject: C-Backspace behavior
Date: Tue, 02 Apr 2013 18:08:20 +0300	[thread overview]
Message-ID: <515AF464.7040609@taydin.org> (raw)

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



             reply	other threads:[~2013-04-02 15:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 15:08 Timur Aydin [this message]
     [not found] <mailman.23297.1364915345.855.help-gnu-emacs@gnu.org>
2013-04-02 15:21 ` C-Backspace behavior Alan Mackenzie

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=515AF464.7040609@taydin.org \
    --to=ta@taydin.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.