From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: what is the point of point-min? Date: Wed, 27 Aug 2003 18:40:30 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1062029597 27623 80.91.224.253 (28 Aug 2003 00:13:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2003 00:13:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 02:13:16 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19sAPc-00042k-00 for ; Thu, 28 Aug 2003 02:13:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19sAIR-0006Ss-T1 for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Aug 2003 20:05:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19s9vI-00010G-Dc for help-gnu-emacs@gnu.org; Wed, 27 Aug 2003 19:41:56 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19s9uC-0007vq-8B for help-gnu-emacs@gnu.org; Wed, 27 Aug 2003 19:40:51 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.22) id 19s9tv-0007cF-Ok for help-gnu-emacs@gnu.org; Wed, 27 Aug 2003 19:40:31 -0400 Original-Received: from linux183.ma.utexas.edu (linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id h7RNeU904722; Wed, 27 Aug 2003 18:40:30 -0500 Original-Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 19s9tu-000050-00; Wed, 27 Aug 2003 18:40:30 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: (help-gnu-emacs-request@gnu.org) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:12107 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12107 Here is a handy rebinding of that I found on the web. (global-set-key [delete] (lambda () (interactive) (if mark-active (kill-region (point) (mark)) (delete-char 1)))) and here is an alternative suggestion with one small change that I do not fully understand. Why would this be better? (global-set-key [delete] (lambda () (interactive) (if mark-active (kill-region (point) (mark)) (delete-char (point-min)))))