emacs-wiki-discuss
[Top][All Lists]
Advanced

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

Re: [emacs-wiki-discuss] Re: small bug: blockquote


From: c wallace
Subject: Re: [emacs-wiki-discuss] Re: small bug: blockquote
Date: Thu, 01 Apr 2004 14:51:47 +0100
User-agent: Opera7.23/Linux M2 build 518

Apologies for the delay in replying - I've been away without email access.

On Mon, 29 Mar 2004 12:06:37 +0800, Sacha Chua <address@hidden> wrote:

chris wallace <address@hidden> writes:

0.7-3.1 gets marked up as possibly a numbered list because it matches
this regular expression:
   ["^\\s-*\\(-\\|[0-9]+\\.\\)" 1 "\n\\1"]

Actually, twiddling this variable does seem to work.

(I should have said *I* couldn't twiddle this variable to work, given my low knowledge of lisp regexps).


With this fix, whitespace is required after bullets and numbers that
are part of a list. For example,

- This
- Is
- A
- List

1. This
2. too

But this is not,
--even if it starts with dashes
0.1] or numbers, as in the original test case.

Please confirm that it works so that I can apply the patch to stable.

Your fix works in that the latter are not marked up as lists, but they still appear as separate paragraphs:

==== begin html ====
<p>
But this is not,

</p>

<p>
--even if it starts with dashes

</p>

<p>
0.1] or numbers, as in the original test case.

</p>
==== end ====

I would prefer:
==== begin html ====
<p>
But this is not,
--even if it starts with dashes
0.1] or numbers, as in the original test case.

</p>
==== end ====

Recall that in the original test case, the problem line was part of a blockquote (marked in the emacs-wiki file by starting each line with 3 spaces:

==== begin emacs-wiki source ====
   in Dutch studies the TT frequency is 8.4% (9.1% in meta analysis all
   international studies).  In NTD cases, 12.7% (17.4% average in
   trials), 15.7% in mothers and 10% in fathers. ORs are 1.5 [95% CI
   0.7-3.1] for patients, 1.9 [1.1-3.3] in mothers and 1.1 [0.5-2.4] in
   fathers. in some other populations there is no association.
   Lots of the other gene based triad or case-control studies have
==== end ====

This gets marked up as

====begin html ====
<blockquote>
<p>
   in Dutch studies the TT frequency is 8.4% (9.1% in meta analysis all
   international studies).  In NTD cases, 12.7% (17.4% average in
   trials), 15.7% in mothers and 10% in fathers. ORs are 1.5 [95% CI

</p>
</blockquote>

<p>
0.7-3.1] for patients, 1.9 [1.1-3.3] in mothers and 1.1 [0.5-2.4] in
   <blockquote>
<p>
   fathers. in some other populations there is no association.
   Lots of the other gene based triad or case-control studies have

</p>
</blockquote>
==== end ====

so that the problem line does not appear to be part of the blockquote. I would prefer:

====begin html ====
<blockquote>
<p>
   in Dutch studies the TT frequency is 8.4% (9.1% in meta analysis all
   international studies).  In NTD cases, 12.7% (17.4% average in
   trials), 15.7% in mothers and 10% in fathers. ORs are 1.5 [95% CI
   7-3.1] for patients, 1.9 [1.1-3.3] in mothers and 1.1 [0.5-2.4] in
   fathers. in some other populations there is no association.
   Lots of the other gene based triad or case-control studies have

</p>
</blockquote>
==== end ====

Is that clearer?

Thanks for your help, Chris.






reply via email to

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