From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [arensb@ooblick.com: Feature suggestion: split-line] Date: Thu, 02 Jan 2003 13:38:26 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1041533069 14727 80.91.224.249 (2 Jan 2003 18:44:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 2 Jan 2003 18:44:29 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18UAKR-0003pI-00 for ; Thu, 02 Jan 2003 19:44:27 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18UAMh-0006Wz-00 for ; Thu, 02 Jan 2003 19:46:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18UAKT-0003gn-01 for emacs-devel@quimby.gnus.org; Thu, 02 Jan 2003 13:44:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18UAIR-000389-00 for emacs-devel@gnu.org; Thu, 02 Jan 2003 13:42:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18UAGO-0002XP-00 for emacs-devel@gnu.org; Thu, 02 Jan 2003 13:40:19 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18UAEc-00026l-00 for emacs-devel@gnu.org; Thu, 02 Jan 2003 13:38:26 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18UAEc-00043S-00; Thu, 02 Jan 2003 13:38:26 -0500 Original-To: emacs-devel@gnu.org 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:10411 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10411 What do other people think of this idea? ------- Start of forwarded message ------- Date: Tue, 31 Dec 2002 14:22:20 -0500 From: Andrew Arensburger To: bug-gnu-emacs@gnu.org Content-Disposition: inline X-Message-Flag: Your mailbox is corrupt. Upgrade your mail software. cc: Andrew &urger Subject: Feature suggestion: split-line Sender: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org - --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! I'd like to suggest a change to the split-line function, defined in "simple.el" (I'm attaching a patch). Currently (as of Emacs 21.1), split-line simply inserts whitespace when splitting a line. The change I'm proposing inserts the value of fill-prefix, if it is non-nil, and then inserts whitespace. That is, it gives you > The quick > brown fox instead of > The quick brown fox - -- Andrew Arensburger This message *does* represent the arensb@ooblick.com views of ooblick.com Quidquid latine dictum sit, altum viditur. - --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="simple.el.patch" - --- simple.el-21.1 Tue Dec 31 14:16:42 2002 +++ simple.el Tue Dec 31 14:16:49 2002 @@ -162,6 +162,7 @@ (let ((col (current-column)) (pos (point))) (newline 1) + (if fill-prefix (insert-and-inherit fill-prefix)) (indent-to col 0) (goto-char pos))) - --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs - --bg08WKrSYDhXBjb5-- ------- End of forwarded message -------