[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: longlines-mode and comments
From: |
martin rudalics |
Subject: |
Re: longlines-mode and comments |
Date: |
Mon, 17 Dec 2007 23:11:56 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> It seems like `longlines-wrap-line' has a provision for the case, but
> it doesn't work (I don't understand that code). What does work is to
> not comment wrap lines at all until a better solution is found.
For some reason my Emacs hangs with your patch.
> ! (unless (nth 4 (syntax-ppss (point)))
I think this should be tested iff a comment syntax has been defined by
the current major mode. Moreover, the line should be wrapped when the
actual comment is not terminated by a newline.