From: Chong Yidong <cyd@stupidchicken.com>
To: David Reitter <david.reitter@gmail.com>
Cc: "Kim F. Storm" <storm@cua.dk>, Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Longlines mode in menu
Date: Thu, 12 Jun 2008 11:05:34 -0400 [thread overview]
Message-ID: <87bq2666dd.fsf@stupidchicken.com> (raw)
In-Reply-To: <F7690674-EC00-494A-BCF7-5B4FB17D86BD@gmail.com> (David Reitter's message of "Thu, 12 Jun 2008 11:48:44 +0100")
David Reitter <david.reitter@gmail.com> 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.
next prev parent reply other threads:[~2008-06-12 15:05 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-05 5:42 Longlines mode in menu Chong Yidong
2008-06-05 5:53 ` Miles Bader
2008-06-05 12:50 ` Chong Yidong
2008-06-05 16:41 ` Paul R
2008-06-05 18:55 ` Chong Yidong
2008-06-06 21:27 ` Chong Yidong
2008-06-12 10:48 ` David Reitter
2008-06-12 11:00 ` Miles Bader
2008-07-11 21:21 ` Kim F. Storm
2008-07-12 2:51 ` Chong Yidong
2008-07-14 3:08 ` Miles Bader
2008-06-12 15:05 ` Chong Yidong [this message]
2008-06-12 16:12 ` David Reitter
2008-06-12 16:38 ` Chong Yidong
2008-06-12 17:14 ` Chong Yidong
2008-06-12 22:32 ` Chong Yidong
2008-06-13 6:45 ` David Reitter
2008-06-12 19:38 ` Stefan Monnier
2008-06-13 3:04 ` Kevin Rodgers
2008-06-13 3:13 ` Stefan Monnier
2008-06-13 7:36 ` Lennart Borgman (gmail)
2008-06-18 6:48 ` David Reitter
2008-06-18 7:13 ` Lennart Borgman (gmail)
2008-06-18 8:38 ` David Reitter
2008-06-18 16:17 ` Lennart Borgman (gmail)
2008-06-18 16:55 ` David Reitter
2008-06-18 20:50 ` Lennart Borgman (gmail)
2008-06-18 20:59 ` David Reitter
2008-06-18 21:17 ` Lennart Borgman (gmail)
2008-06-18 21:38 ` David Reitter
2008-06-18 21:53 ` Lennart Borgman (gmail)
2008-06-19 0:22 ` Miles Bader
2008-06-19 7:21 ` Lennart Borgman
2008-06-19 7:39 ` Miles Bader
2008-06-19 7:58 ` Lennart Borgman (gmail)
2008-06-19 13:51 ` Stefan Monnier
2008-06-20 18:50 ` Lennart Borgman (gmail)
2008-06-20 19:47 ` Stefan Monnier
2008-06-20 19:53 ` Lennart Borgman (gmail)
2008-06-20 20:13 ` Miles Bader
2008-06-20 20:16 ` Lennart Borgman (gmail)
2008-06-21 0:11 ` Miles Bader
2008-06-21 0:15 ` Lennart Borgman (gmail)
2008-06-20 21:23 ` Stefan Monnier
2008-06-20 23:39 ` Lennart Borgman (gmail)
2008-06-21 7:19 ` David Reitter
2008-06-21 13:08 ` Lennart Borgman (gmail)
2008-06-12 19:39 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bq2666dd.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=storm@cua.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).