When I press it once I get: (C Abbrev) next time I press it I get: (C/h
Abbrev).
But nothing seems to have changed.
Ask Emacs. Press
C-h k C-c C-d
when in C mode.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
> Paminu <jada...@asd.com> writes:
>
>> What does Cc Cd toggle in C mode?
>>
>> When I press it once I get: (C Abbrev) next time I press it I get: (C/h
>> Abbrev).
>>
>>
>> But nothing seems to have changed.
>
> 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.
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.
can't make any sense out of it.
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