all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cc Cd in C-mode?
@ 2005-10-13  8:47 Paminu
  2005-10-13  8:55 ` David Kastrup
  0 siblings, 1 reply; 4+ messages in thread
From: Paminu @ 2005-10-13  8:47 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cc Cd in C-mode?
  2005-10-13  8:47 Cc Cd in C-mode? Paminu
@ 2005-10-13  8:55 ` David Kastrup
  2005-10-13 19:16   ` Paminu
  0 siblings, 1 reply; 4+ messages in thread
From: David Kastrup @ 2005-10-13  8:55 UTC (permalink / raw)


Paminu <jadajada@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.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cc Cd in C-mode?
  2005-10-13  8:55 ` David Kastrup
@ 2005-10-13 19:16   ` Paminu
  2005-10-14 16:16     ` Kevin Rodgers
  0 siblings, 1 reply; 4+ messages in thread
From: Paminu @ 2005-10-13 19:16 UTC (permalink / raw)


David Kastrup wrote:

> Paminu <jadajada@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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cc Cd in C-mode?
  2005-10-13 19:16   ` Paminu
@ 2005-10-14 16:16     ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2005-10-14 16:16 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-14 16:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.