emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: cperl-fill-paragraph broken


From: Klaus Zeitler
Subject: Re: cperl-fill-paragraph broken
Date: 03 Nov 2003 10:33:34 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Stefan" == Stefan Monnier <address@hidden> writes:
    Stefan> 
    >> I meant both. First I noticed that auto-fill doesn't work anymore and I
    >> thought that cperl-fill-paragraph would be the culprit.
    Stefan> 
    Stefan> It seems to me you don't mean both: auto-fill is a separate piece
    Stefan> of code that handles the `auto-fill-mode' thingy: filling text
    Stefan> when the cursor goes past the fill-column.

I do mean both. When auto-fill-mode is turned on in cperl-mode, the function
cperl-do-auto-fill is called and this one calls cperl-fill-paragraph, which
in turn calls (after mangling the next comment line) fill-paragraph.

    Stefan> If set to nil, it should work 100% as before.  Can you investigate
    Stefan> or at least give me some vague indication of when was the last
    Stefan> time it worked?

well I guess I have to debug fill-paragraph then. The only thing I know is
that it works in 21.3

    Stefan> That's the goal, but inspection of cperl code is needed to figure
    Stefan> out whether the generic code is as good as the cperl code (it sadly
    Stefan> sounds unlikely).

not really. As I said in my previous post, filling works (at least for the
example), if I use fill-paragraph instead of cperl-fill-paragraph.

Klaus

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             address@hidden  |
 ------------------------------------------
---
In the beginning was the word, and the word was content-type: text/plain.




reply via email to

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