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

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

Re: Deleting all succeeding whitespace


From: Kevin Rodgers
Subject: Re: Deleting all succeeding whitespace
Date: Mon, 25 Aug 2003 11:54:51 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Karl Pflästerer wrote:

On 24 Aug 2003, Eric Bessette <- ebessette@qwest.net wrote:


I'd like to have a key binding that deletes all of the whitespace after the
current cursor position.  Is there a function in emacs that does this?  Can
I create one, if so, I'd appreciate some help?

A function which does nearly what you want is `just-one-space'.  Its
default binding is `M-SPC'.  Maybe you could use its definition as a
start?

delete-horizontal-space is another useful command, bound to M-\.

--
Kevin Rodgers



reply via email to

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