emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch: Syntax and Hard Newlines


From: Herbert Euler
Subject: Re: Patch: Syntax and Hard Newlines
Date: Tue, 14 Nov 2006 15:35:56 +0800

Another way to fix it, local to longlines.el is to add a syntax-table
property to soft-newlines so as to prevent them from being treated like an
end-of-comment.

I'd ever added

     (progn (insert-before-markers ?\n)
               (backward-char 1)
+               (add-text-properties (point)
+                                            (point)
+                                            '(syntax-table (11)))
               (delete-char -1)

to `longlines-wrap-line', but it did not work.

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

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