From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Complex paragraph filling - how? Date: 30 May 2003 03:01:47 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5xznl5tfgk.fsf@kfs2.cua.dk> References: <5xof1msitq.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054249571 25422 80.91.224.249 (29 May 2003 23:06:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 May 2003 23:06:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 30 01:06:10 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19LWSH-0006WG-00 for ; Fri, 30 May 2003 01:05:05 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19LWh9-0003bf-00 for ; Fri, 30 May 2003 01:20:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LWTR-0005Md-Jv for emacs-devel@quimby.gnus.org; Thu, 29 May 2003 19:06:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19LWSI-0004bO-Bu for emacs-devel@gnu.org; Thu, 29 May 2003 19:05:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19LWRq-0003nK-Ma for emacs-devel@gnu.org; Thu, 29 May 2003 19:04:39 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LWQm-0002s1-EY for emacs-devel@gnu.org; Thu, 29 May 2003 19:03:32 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 639137C012; Fri, 30 May 2003 01:03:31 +0200 (CEST) Original-To: bob@rattlesnake.com In-Reply-To: Original-Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:14442 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14442 "Robert J. Chassell" writes: > In connection with the refilling of paragraphs in info due to the new > "node hiding", I need some way to fill things like the following in a > sensible manner: > > Please post your Texinfo source code. It does us no good to see a > surface expression. Also, how well does the source format for DVI and > HTML? (And shouldn't this question really go to the texinfo-bug list? > That is where refilling issues like this are usually discussed.) I probably expressed myself wrong... I'm trying to solve a specific problem with Info-fontify-node in info.el, so I'm talking about re-filling the output from makeinfo after the links have been mangled... So I don't see why this is an issue for the Texinfo team! In any case, I think I have found a working solution by using the following settings: (let ((fill-nobreak-invisible t) (fill-individual-varying-indent nil) (paragraph-start "\f\\|[ \t]*[-*]\\|[ \t]*$") (paragraph-separate "[ \t]*[-*]\\|[ \t\f]*$") (adaptive-fill-mode nil)) and then use fill-individual-paragraphs to do the filling. Seems to DWIM, but I need to test it some more. -- Kim F. Storm http://www.cua.dk