unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [arensb@ooblick.com: Feature suggestion: split-line]
@ 2003-01-02 18:38 Richard Stallman
  2003-01-02 23:33 ` Ehud Karni
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2003-01-02 18:38 UTC (permalink / raw)


What do other people think of this idea?

------- Start of forwarded message -------
Date: Tue, 31 Dec 2002 14:22:20 -0500
From: Andrew Arensburger <arensb@ooblick.com>
To: bug-gnu-emacs@gnu.org
Content-Disposition: inline
X-Message-Flag: Your mailbox is corrupt. Upgrade your mail software.
cc: Andrew &urger <arensb@ooblick.com>
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 -------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-03  9:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02 18:38 [arensb@ooblick.com: Feature suggestion: split-line] Richard Stallman
2003-01-02 23:33 ` Ehud Karni
2003-01-03  9:43   ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).