From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Newsgroups: gmane.emacs.help Subject: Re: Deleting all succeeding whitespace Date: Sun, 24 Aug 2003 22:05:56 +0200 Organization: Lemis World Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1061756385 989 80.91.224.253 (24 Aug 2003 20:19:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Aug 2003 20:19:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 24 22:19:43 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19r1Kx-0003Xd-00 for ; Sun, 24 Aug 2003 22:19:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19r1Jg-0006cF-El for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Aug 2003 16:18:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!news.tiscali.de!wintendo.pflaesterer.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: p62.246.45.100.tisdip.tiscali.de Original-X-Trace: ulysses.news.tiscali.de 1061755658 9531 62.246.45.100 (24 Aug 2003 20:07:38 GMT) Original-X-Complaints-To: abuse@tiscali.de Original-NNTP-Posting-Date: Sun, 24 Aug 2003 20:07:38 +0000 (UTC) X-Face: #iIcL\6>Qj/G*F@AL9T*v/R$j@7Q`6#FU&Flg6u6aVsLdWf(H$U5>:; &*>oy>jOIWgA%8w* A!V7X`\fEGoQ[@D'@i^*p3FCC6&Rg~JT/H_*MOX;"o~flADb8^ User-Agent: Gnus/5.1003 (Gnus v5.10.3) Hamster/2.0.2.2 Cancel-Lock: sha1:tvVuzsf58zn3X0QSlyr1W0nJq94= Original-Xref: shelby.stanford.edu gnu.emacs.help:116112 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12030 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12030 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? KP -- Der wahre Weltuntergang ist die Vernichtung des Geistes, der andere hängt von dem gleichgiltigen Versuch ab, ob nach der Vernichtung des Geistes noch eine Welt bestehen kann. Karl Kraus 'Untergang der Welt durch schwarze Magie'