[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Faces for strong, emph and friends in Info?
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Faces for strong, emph and friends in Info? |
Date: |
Mon, 8 Apr 2024 19:32:46 +0000 |
> > + (while (re-search-forward "\\([*_]\\)\\([^*_\n]+\\)\\([*_]\\)"
> nil t)
>
> This is too fragile, I think. It matches stuff like "*Note foo_",
> which can happen in cross-references, for example. Also, what if
> @emph or @strong spans a newline?
See my mail about this.
___
I think it's good to let users decide
how tight/loose they want matching to
be - user option(s) for the regexp(s).
___
IMO, _..._ and *...* should be handled
separately.
Definitely don't let _...* and *..._ be
taken as emphasis of any kind.
And maybe you need to decide whether you
intend to allow combining the two: *_..._*
or _*...*_. (Does texinfo allow/produce
such combinations?)
- Faces for strong, emph and friends in Info?, T.V Raman, 2024/04/08
- Re: Faces for strong, emph and friends in Info?, Eli Zaretskii, 2024/04/08
- Re: Faces for strong, emph and friends in Info?, Robert Pluim, 2024/04/08
- Re: Faces for strong, emph and friends in Info?, T.V Raman, 2024/04/08
- RE: [External] : Re: Faces for strong, emph and friends in Info?, Drew Adams, 2024/04/08
- Re: Faces for strong, emph and friends in Info?, Eli Zaretskii, 2024/04/08
- RE: [External] : Re: Faces for strong, emph and friends in Info?,
Drew Adams <=
- Re: Faces for strong, emph and friends in Info?, Robert Pluim, 2024/04/09
- Re: Faces for strong, emph and friends in Info?, Eli Zaretskii, 2024/04/09
- Re: Faces for strong, emph and friends in Info?, Robert Pluim, 2024/04/10
- Re: Faces for strong, emph and friends in Info?, T.V Raman, 2024/04/10
- Re: Faces for strong, emph and friends in Info?, Robert Pluim, 2024/04/10
- Re: Faces for strong, emph and friends in Info?, Eli Zaretskii, 2024/04/10
- Re: Faces for strong, emph and friends in Info?, Robert Pluim, 2024/04/11
- Re: Faces for strong, emph and friends in Info?, T.V Raman, 2024/04/11
- Re: Faces for strong, emph and friends in Info?, Eli Zaretskii, 2024/04/10
- Re: Faces for strong, emph and friends in Info?, T.V Raman, 2024/04/08