[Top][All Lists]

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

Re: Error with fill-paragraph in my own major mode

From: Stefan Kamphausen
Subject: Re: Error with fill-paragraph in my own major mode
Date: Thu, 31 Jan 2008 16:58:15 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi Stefan,

Stefan Monnier <> writes:

>> Nevertheless I must admit that I don't really grok that code in
>> fill.el.  What is that (concat "\0" commark "a") good for?
> The code in fill.el is fiendishly subtle (I should know, I wrote it).

"subtle" is too friendly a word ;-)

> [SNIP]
> That's what the comment tries to explain:

.. and what I tried to understand.

Thanks for your explanations.  I think one would have to look at all
the possible cases to fully get this.

As a (somewhat funny) sidenote: I know a special in-house language,
for which I also wrote a major mode back then) which uses # as the
comment character.  But only, and this is the funny part, if it does
not appear within the arguments of a command, where they are used

# valid comment
Command(arguments, man#y, of,wh#ich, may#contain, hash#es);
AnotherCommand(onearg); # valid comment, too

Try dealing with that.  I gave up ;-)

Stefan Kamphausen ---
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.

reply via email to

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