From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.help Subject: Re: How to delete until the first displayable character in a line? Date: 12 Dec 2006 09:21:52 -0800 Organization: http://groups.google.com Message-ID: <1165944112.459711.154410@80g2000cwy.googlegroups.com> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1165945433 32394 80.91.229.10 (12 Dec 2006 17:43:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 17:43:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 12 18:43:52 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuBfS-0001hL-Sx for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Dec 2006 18:43:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuBfS-0001ZQ-D1 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Dec 2006 12:43:50 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!80g2000cwy.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 213.94.228.210 Original-X-Trace: posting.google.com 1165944118 28818 127.0.0.1 (12 Dec 2006 17:21:58 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 12 Dec 2006 17:21:58 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF3ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: 80g2000cwy.googlegroups.com; posting-host=213.94.228.210; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:143871 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:39474 Archived-At: Ronald wrote: > How to delete towards the right or the left until the first displayed > character or the start/end of a line. >>From the left to the end of the line is C-k A prefix argument determines how many, so .. C-u 2 C-k kills the next two, C-u -1 C-k text from point back to the start of the line. C-u C-k kills the next 4 lines. > On the hand, to delete characters until the first undisplayable character. Don't know how to do that. Possibly you could use zap-to-char. Why on earth do you want to do that anyway?