[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: Syntax and Hard Newlines
From: |
Stefan Monnier |
Subject: |
Re: Patch: Syntax and Hard Newlines |
Date: |
Tue, 14 Nov 2006 01:51:30 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
>> I think if it's a bug, the bug is in longlines.el since it is longlines
>> which decides that soft-newlines are basically "display only artifacts".
> In fact, I wanted to adjust longlines' code by setting the `face'
> property to `font-lock-comment-face' for some words. However,
> I found that the properties are cleared and reset. And then I
> traced into `parse-partial-sexp', then `scan_sexps_forward',
> then `forw_comment'.
> And the patch did fix the problem.
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.
Stefan
- Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/13
- Re: Patch: Syntax and Hard Newlines, Stefan Monnier, 2006/11/13
- Re: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/13
- Re: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/14
- Re: Patch: Syntax and Hard Newlines, Stefan Monnier, 2006/11/14
- Re: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/14
- Re: Patch: Syntax and Hard Newlines, Richard Stallman, 2006/11/16
- Re: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/30
- Re: Patch: Syntax and Hard Newlines, Stefan Monnier, 2006/11/30
- Re: Patch: Syntax and Hard Newlines, Herbert Euler, 2006/11/14
- Re: Patch: Syntax and Hard Newlines, Miles Bader, 2006/11/15