Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cc Cd in C-mode?

0 views
Skip to first unread message

Paminu

unread,
Oct 13, 2005, 4:47:34 AM10/13/05
to
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.

David Kastrup

unread,
Oct 13, 2005, 4:55:19 AM10/13/05
to
Paminu <jada...@asd.com> writes:

Ask Emacs. Press

C-h k C-c C-d

when in C mode.

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum

Paminu

unread,
Oct 13, 2005, 3:16:32 PM10/13/05
to
David Kastrup wrote:

> 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.

Kevin Rodgers

unread,
Oct 14, 2005, 12:16:56 PM10/14/05
to help-gn...@gnu.org
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

0 new messages