From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miguel Frasson Newsgroups: gmane.emacs.help Subject: Re: kill from point to beginning of line? Date: 09 Sep 2004 16:50:27 +0200 Organization: Universiteit Leiden 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=us-ascii X-Trace: sea.gmane.org 1094741716 29215 80.91.224.253 (9 Sep 2004 14:55:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Sep 2004 14:55:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 09 16:54:47 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5QJx-00019N-00 for ; Thu, 09 Sep 2004 16:54:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5QPH-0006tb-PS for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Sep 2004 11:00:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news2.telebyte.nl!humbolt.nl.linux.org!news.nl.linux.org!surfnet.nl!leidenuniv.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 84e5e603.math.leidenuniv.nl Original-X-Trace: mercury.leidenuniv.nl 1094741426 9566 132.229.230.3 (9 Sep 2004 14:50:26 GMT) Original-X-Complaints-To: usenet@mercury.leidenuniv.nl Original-NNTP-Posting-Date: Thu, 9 Sep 2004 14:50:26 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:125204 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20558 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20558 Al Oomens writes: > How do I kill from the point to the beginning of a line? I've looked > and can;t find out how to do this. Thanks for any help! We know that C-k kills from point to end of line. Try `C-space C-a C-w' C-space set the mark C-a beginning of line C-w kill region Or make a function that does it for you. See also the effect of giving a negative arg to kill-region `C-u - C-k' It's fun. Miguel -- Miguel Vinicius Santini Frasson http://www.math.leidenuniv.nl/~frasson