unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Cc Cd in C-mode?
Date: Fri, 14 Oct 2005 10:16:56 -0600	[thread overview]
Message-ID: <diollt$8se$1@sea.gmane.org> (raw)
In-Reply-To: <dimbr9$1s4$1@news.net.uni-c.dk>

Paminu wrote:
 > David Kastrup wrote:
 >>Ask Emacs.  Press
 >>
 >>C-h k C-c C-d
 >>
 >>when in C mode.
 >
 >
 > Well if they wrote that info in english it could be useful:
 >
 > Toggle hungry-delete-key feature.
 > Optional numeric ARG, if supplied, turns on hungry-delete when
 > positive, turns it off when negative, and just toggles it when zero or
 > left out.

That means:

`M-1 C-c C-d' turns hungry-delete on,
`M-- C-c C-d' turns hungry-delete off, and
just `C-c C-d' toggles it (i.e. turns it on if it was off and vice versa).

Read the "[Numeric] Arguments" section of the Emacs manual.

 > When the hungry-delete-key feature is enabled (as evidenced by the
 > `/h' or `/ah' on the modeline after the mode name) the delete key
 > gobbles all preceding whitespace in one fell swoop.

That means that pressing the delete key will not just delete the
character before the cursor but all the spaces and tabs before that as
well.

 > can't make any sense out of it.

-- 
Kevin Rodgers

      reply	other threads:[~2005-10-14 16:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-13  8:47 Cc Cd in C-mode? Paminu
2005-10-13  8:55 ` David Kastrup
2005-10-13 19:16   ` Paminu
2005-10-14 16:16     ` Kevin Rodgers [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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='diollt$8se$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).