From: Richard Stallman <rms@gnu.org>
Subject: [arensb@ooblick.com: Feature suggestion: split-line]
Date: Thu, 02 Jan 2003 13:38:26 -0500 [thread overview]
Message-ID: <E18UAEc-00043S-00@fencepost.gnu.org> (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 -------
next reply other threads:[~2003-01-02 18:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-02 18:38 Richard Stallman [this message]
2003-01-02 23:33 ` [arensb@ooblick.com: Feature suggestion: split-line] Ehud Karni
2003-01-03 9:43 ` Kim F. Storm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E18UAEc-00043S-00@fencepost.gnu.org \
--to=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).