From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Markus Rost Newsgroups: gmane.emacs.devel Subject: kill-whole-line Date: Sun, 25 May 2003 20:34:15 -0400 (EDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305260034.h4Q0YFEp016883@hampton.math.ohio-state.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053909217 32103 80.91.224.249 (26 May 2003 00:33:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 26 May 2003 00:33:37 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 26 02:33:36 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19K5vj-0008LV-00 for ; Mon, 26 May 2003 02:33:35 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19K68h-0004Zy-00 for ; Mon, 26 May 2003 02:46:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19K5wn-0003F6-5Z for emacs-devel@quimby.gnus.org; Sun, 25 May 2003 20:34:41 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19K5wS-000387-JN for emacs-devel@gnu.org; Sun, 25 May 2003 20:34:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19K5wR-00036i-D9 for emacs-devel@gnu.org; Sun, 25 May 2003 20:34:19 -0400 Original-Received: from hermes.math.ohio-state.edu ([140.254.92.31]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19K5wR-00036D-2o for emacs-devel@gnu.org; Sun, 25 May 2003 20:34:19 -0400 Original-Received: from hampton.math.ohio-state.edu (hampton.math.ohio-state.edu [140.254.93.46])h4Q0YFB7029509; Sun, 25 May 2003 20:34:15 -0400 Original-Received: from hampton.math.ohio-state.edu (localhost [127.0.0.1]) h4Q0YFsx016886; Sun, 25 May 2003 20:34:15 -0400 (EDT) Original-Received: (from rost@localhost)h4Q0YFEp016883; Sun, 25 May 2003 20:34:15 -0400 (EDT) Original-To: emacs-devel@gnu.org X-Mailer: GNU Emacs 21.3 X-Home-Page: http://www.math.ohio-state.edu/~rost X-RAVMilter-Version: 8.4.2(snapshot 20021217) (hermes) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14257 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14257 If point is on the last line of the buffer and you hit (which runs the command kill-whole-line), you get an error: End of buffer Evaluating the form (progn (goto-char (point-max)) (kill-whole-line) ) has the same effect, and buffer *Messages* will contain the line if: End of buffer I doubt that this behavior is desirable.