From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Bourgon Newsgroups: gmane.emacs.help Subject: RE: Adaptive fill question Date: Thu, 23 Oct 2003 00:46:44 GMT Organization: SBC http://yahoo.sbc.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1066870969 8284 80.91.224.253 (23 Oct 2003 01:02:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2003 01:02:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 23 03:02:47 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 1ACTsE-0003gP-00 for ; Thu, 23 Oct 2003 03:02:46 +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 1ACTqp-0008Ee-Fc for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Oct 2003 21:01:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr14.news.prodigy.com.POSTED!94c5f05e!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Xnews/06.08.25 Original-Lines: 17 Original-NNTP-Posting-Host: 67.117.144.145 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr14.news.prodigy.com 1066870004 ST000 67.117.144.145 (Wed, 22 Oct 2003 20:46:44 EDT) Original-NNTP-Posting-Date: Wed, 22 Oct 2003 20:46:44 EDT X-UserInfo1: TSU[@I_AOPVMR\@[IZHXOFXBWR\HPCTL@XT^OBPLAH[\RWICYFWUQBKZQLYJX\_ITFD_KFVLUN[DOM_A_NSYNWPFWNS[XV\I]PZ@BQ[@CDQDPCL^FKCBIPC@KLGEZEFNMDYMKHRL_YYYGDSSODXYN@[\BK[LVTWI@AXGQCOA_SAH@TPD^\AL\RLGRFWEARBM Original-Xref: shelby.stanford.edu gnu.emacs.help:117546 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:13478 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13478 Thanks for your replies so far. Following up on suggestions/questions, I checked the fill-prefix variable and it is nil -- so that's not the problem. I am using Emacs 21.2 in text mode ("M-x text-mode"). My understanding is that paragraphs whose start matches the adaptive-fill- regexp will have the matching string carried into subsequent lines when lines get wrapped, provided that this string also matches the adaptive- fill-first-line-regexp. If the matched string fails to match adaptive-fill- first-line-regexp, then it gets replaced with white space in subsequent lines, so you get a nice hanging indent for your paragraph number. My adaptive-fill-regexp is detecting paragraph numbers, but for some reason I'm getting these numbers wrapped into the subsequent line as well. - Richard