all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
To: "Andreas Röhler" <andreas.roehler@online.de>
Cc: Sam Steingold <sds@gnu.org>, emacs-devel@gnu.org
Subject: Re: hungry-delete
Date: Tue, 5 Apr 2011 19:11:21 +0300	[thread overview]
Message-ID: <BANLkTikwzQVRWQ54ZiMKNeBYv1Am5QTzOA@mail.gmail.com> (raw)
In-Reply-To: <4D9A13F5.7040702@online.de>

On Mon, Apr 4, 2011 at 21:54, Andreas Röhler <andreas.roehler@online.de> wrote:
> Hi,
>
> thanks for the hint.
> However don't think customizing DEL does it.
> In most cases you will use DEL as `untabify'.
>
> "Hungry" eates a lot - that's is fine, but not as taking the common DEL.
>
> Therefore think a seperate key for hungry-delete is needed.

Unsure, whether separate key need.  If you have in minds to delete
char-by-char using regular DEL and then remove all spaces using
"hungry-DEL", then there is such key already: M-\

    (delete-horizontal-space &optional BACKWARD-ONLY)

    Delete all spaces and tabs around point.
    If BACKWARD-ONLY is non-nil, only delete them before point.


-- 
Andrew W. Nosenko <andrew.w.nosenko@gmail.com>



      parent reply	other threads:[~2011-04-05 16:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 17:19 hungry-delete Andreas Röhler
2011-04-04 18:20 ` hungry-delete Sam Steingold
2011-04-04 18:54   ` hungry-delete Andreas Röhler
2011-04-04 19:00     ` hungry-delete Sam Steingold
2011-04-04 20:02       ` hungry-delete Andreas Röhler
2011-04-04 19:59         ` hungry-delete Sam Steingold
2011-04-05  6:02           ` hungry-delete Andreas Röhler
2011-04-05 16:11     ` Andrew W. Nosenko [this message]

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=BANLkTikwzQVRWQ54ZiMKNeBYv1Am5QTzOA@mail.gmail.com \
    --to=andrew.w.nosenko@gmail.com \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=sds@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.