From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: drmemory@starband.net (DrMemory) Newsgroups: gmane.emacs.help Subject: Prefix for EVERY newline Date: Thu, 23 Oct 2003 17:17:54 GMT Organization: Starband Communications Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1066930540 31656 80.91.224.253 (23 Oct 2003 17:35:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2003 17:35:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 23 19:35:38 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 1ACjN4-0004fs-00 for ; Thu, 23 Oct 2003 19:35:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACjJZ-0001zd-84 for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Oct 2003 13:32:01 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-xfer.cox.net!peer02.cox.net!cox.net!prodigy.com!cyclone1.starband.net!twister1.starband.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.5.7 (UNIX) Original-Lines: 11 Original-NNTP-Posting-Host: 148.63.113.13 Original-X-Complaints-To: abuse@starband.net Original-X-Trace: twister1.starband.net 1066929496 148.63.113.13 (Thu, 23 Oct 2003 13:17:54 EDT) Original-NNTP-Posting-Date: Thu, 23 Oct 2003 13:17:54 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:117561 Original-To: help-gnu-emacs@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:13493 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13493 I know how to set-fill-prefix; but what I would like is for a prefix to be prepended to _every_ newline which I start. Actually, I would like to add a hook to read the first n characters off of the preceding line and use them as the first n characters of the succeeding line. Can this be done? Thanks in advance. -- Scott Swanson "My operating system? Emacs. Linux is just the fileserver....."