From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: August Karlstrom Newsgroups: gmane.emacs.help Subject: Re: Whitespace deletion Date: Fri, 09 Dec 2005 01:05:40 GMT Organization: Telia Internet Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134090747 26893 80.91.229.2 (9 Dec 2005 01:12:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2005 01:12:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 09 02:12:24 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EkWma-0004Vj-N4 for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Dec 2005 02:10:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkWmt-0001Be-UP for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Dec 2005 20:11:03 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer1.se.telia.net!se.telia.net!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 36 Original-NNTP-Posting-Host: 83.250.206.123 Original-X-Complaints-To: abuse@telia.com Original-X-Trace: newsc.telia.net 1134090340 83.250.206.123 (Fri, 09 Dec 2005 02:05:40 CET) Original-NNTP-Posting-Date: Fri, 09 Dec 2005 02:05:40 CET Original-Xref: shelby.stanford.edu gnu.emacs.help:136189 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31802 Archived-At: Kevin Rodgers wrote: > August Karlstrom wrote: > > Is there an Emacs command that works like just-one-space, but also > > deletes newlines? > > > > Example: > > > > I want to -!- > > > > join these two lines > > > > should become > > > > I want to -!-join these two lines > > Does this help? > > ,----[ C-h k M-^ ] > | M-^ runs the command delete-indentation > | which is an interactive compiled Lisp function in `simple'. > | (delete-indentation &optional ARG) > | > | Join this line to previous and fix up whitespace at join. > | If there is a fill prefix, delete it from the beginning of this line. > | With argument, join this line to following line. > `---- No. Did you try it on my example? August -- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This email was infected under the terms of the GNU General Public License.