[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adaptive filling in comments / highlighting outside them

From: Andrew Ferrier
Subject: Re: Adaptive filling in comments / highlighting outside them
Date: Wed, 26 Feb 2003 14:25:09 +0000 (UTC)
User-agent: slrn/ (Linux)

In article <ulV6a.61238$>, Le 
Wang wrote:
>> 1. I'm trying to figure out how to do adaptive filling within comments
>> (an example being Emacs lisp ;; style comments). Does anyone know of a
>> language-independent way of doing this? I can think that possibly I
>> could play with the adaptive-fill-function, but I can't think how this
>> could detect comments in a language-independent way (i.e. portable
>> between different major modes), without re-writing it significantly for
>> each major mode.
> What do you mean by adaptive filling?

Using adaptive-fill-mode (built into GNU Emacs 21 and possibly others)

Andrew Ferrier,
WebSphere MQ Install & Packaging Team,
MP 211, IBM UK Labs, Hursley Park, Winchester, SO21 2JN, UK.
tel/fax: 7-246554 or +44 (0) 1962 816554

reply via email to

[Prev in Thread] Current Thread [Next in Thread]