From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Lewis Newsgroups: gmane.emacs.help Subject: Re: Deleting chunks of whitespace Date: Fri, 15 Nov 2002 10:22:47 -0800 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037385734 9874 80.91.224.249 (15 Nov 2002 18:42:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 15 Nov 2002 18:42:14 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ClPs-0002Yg-00 for ; Fri, 15 Nov 2002 19:42:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18ClQ6-0007X5-00; Fri, 15 Nov 2002 13:42:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news.teledanmark.no!news01.chello.no!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: css.css.sfu.ca Original-X-Trace: quimby.gnus.org 1037385266 21544 199.60.1.20 (15 Nov 2002 18:34:26 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 15 Nov 2002 18:34:26 GMT X-Attribution: Benjamin Lewis X-Yow: I feel like I am sharing a ``CORN-DOG'' with NIKITA KHRUSCHEV.. User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (sparc-sun-solaris2.8) Cancel-Lock: sha1:Km3fY6qFtFwT0/I7lzIsymNc0Gs= X-Received-Date: Fri, 15 Nov 2002 19:28:23 MET (news01.chello.no) Original-Xref: shelby.stanford.edu gnu.emacs.help:107092 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3643 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3643 On Fri, 15 Nov 2002, Mathew L. Moore wrote: > Hello, > > Is there a quick command sequence that allows me to delete all of the > whitespace between the point and the next non-whitespace character---sort > of like the way M-d deletes from the point to the end of a word? > > Thanks for your help. Not quite what you want, but you could check out `delete-horizontal-space' and 'just-one-space', bound by default to `M-\' and 'M-' respectively. If you can't find what you want, you could possibly grab the code for one of these from simple.el and modify it... -- Benjamin Lewis Although the moon is smaller than the earth, it is farther away.