From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ronald" Newsgroups: gmane.emacs.help Subject: Re: How to delete until the first displayable character in a line? Date: Wed, 13 Dec 2006 06:27:34 +0800 Organization: Bentium Ltd. (CN99) Message-ID: References: <1165944112.459711.154410@80g2000cwy.googlegroups.com> NNTP-Posting-Host: dough.gmane.org X-Trace: sea.gmane.org 1165963262 4257 80.91.229.10 (12 Dec 2006 22:41:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 22:41:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 12 23:41:01 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 1GuGIt-0006RY-5H for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Dec 2006 23:40:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuGIs-0004ub-NW for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Dec 2006 17:40:50 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!news.yaako.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 222.125.193.25 Original-X-Trace: news.yaako.com 1165962457 4186 222.125.193.25 (12 Dec 2006 22:27:37 GMT) Original-X-Complaints-To: usenet@news.yaako.com Original-NNTP-Posting-Date: Tue, 12 Dec 2006 22:27:37 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Original-Xref: shelby.stanford.edu gnu.emacs.help:143880 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:39483 Archived-At: > 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. It's hard to count how many spaces there are, even harder with tabs. What's easy is that do that in one line is enough for me. >> 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? Because if the previous deleting can be done, I think it is a good companion. :-)