help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cc Cd in C-mode?


From: Kevin Rodgers
Subject: Re: Cc Cd in C-mode?
Date: Fri, 14 Oct 2005 10:16:56 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]