[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Longlines mode in menu
From: |
Chong Yidong |
Subject: |
Re: Longlines mode in menu |
Date: |
Thu, 12 Jun 2008 11:05:34 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
David Reitter <address@hidden> writes:
> Are you aware that syntax hightlighting is broken with longlines mode?
> Any (line-based) comments, e.g. in LaTeX, will make it fail.
>
> When you comment out formulae in LaTeX and they get wrapped in middle,
> parsing fails with consequences for the remainder of the
> buffer. E.g.,:
>
> % \begin{quote}
> % $P_e(N_i|C_j)$ is empirically defined as $F(N_i \&
> C_j)/F(C_j)$,
> % where $F(N_i \& C_j)$ is the number of times $i$ is needed
>
> It seems that syntax highlighting does not know about soft and hard
> line breaks.
>
> Are there any news on the display-time word wrapping patch by Kim
> Storm? Back then when he posted the first incarnation, things almost
> worked as intended.
The display-time work wrapping won't necessarily help. It would
interfere with commands that expect soft newlines to behave like
newlines (next-line, etc).
One way to fix this might be to selectively bind search-spaces-regexp
during font-lock, if longlines mode is on.
- Longlines mode in menu, Chong Yidong, 2008/06/05
- Re: Longlines mode in menu, Miles Bader, 2008/06/05
- Re: Longlines mode in menu, Paul R, 2008/06/05
- Re: Longlines mode in menu, Chong Yidong, 2008/06/06
- Re: Longlines mode in menu, David Reitter, 2008/06/12
- Re: Longlines mode in menu, Miles Bader, 2008/06/12
- Re: Longlines mode in menu,
Chong Yidong <=
- Re: Longlines mode in menu, David Reitter, 2008/06/12
- Re: Longlines mode in menu, Chong Yidong, 2008/06/12
- Re: Longlines mode in menu, Chong Yidong, 2008/06/12
- Re: Longlines mode in menu, Chong Yidong, 2008/06/12
- Re: Longlines mode in menu, David Reitter, 2008/06/13
- Re: Longlines mode in menu, Stefan Monnier, 2008/06/12
- Re: Longlines mode in menu, Kevin Rodgers, 2008/06/12
- Re: Longlines mode in menu, Stefan Monnier, 2008/06/12
- Re: Longlines mode in menu, Lennart Borgman (gmail), 2008/06/13
- Re: Longlines mode in menu, David Reitter, 2008/06/18