[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Org-syntax: emphasis and not English punctuation
From: |
Juan Manuel Macías |
Subject: |
Re: Org-syntax: emphasis and not English punctuation |
Date: |
Sat, 04 Dec 2021 16:42:19 +0000 |
Max Nikulin writes:
> Maybe this issue should be considered independently of itra-word emphasis.
Yes I agree. Apologies for mixing up this topic in the discussion about
intra-word emphasis...
> Second and third examples looks like they should be supported. Ihor
> mentioned treating punctuation in a more general way. It requires rich
> test set to estimate changes in heuristics. I suspect some problems
> since start and end patterns are not symmetric and I have not found a
> way to specify in regexp only punctuation marks that normally appears
> in front of words. Square brackets likely should be excluded somehow
> as well since they are part of Org syntax. I am unsure if it is
> possible to use just regexp without additional checks of candidates.
Ihor's idea seems interesting to me, although I understand the possible
problems you mention. By the way, I'm afraid of initial inverted
punctuation (¡¿) are only used in Castilian Spanish and other languages
of Spain, such as Galician or Asturian, due to the Castilian influence
(we go backwards from the rest of the world ;-):
https://en.wikipedia.org/wiki/Inverted_question_and_exclamation_marks
> Ihor Radchenko. [PATCH] Re: c47b535bb origin/main org-element: Remove
> dependency on ‘org-emphasis-regexp-components’
> Sun, 21 Nov 2021 17:28:57 +0800.
> https://list.orgmode.org/87v90lzwkm.fsf@localhost
I see. I believe it's a sensible decision to get rid of the dependency
on org-emphasis-regexp-components. I understand that now everything
related to the structure of emphases is the competence of org-element?
Best regards,
Juan Manuel
- Re: Org-syntax: Intra-word markup, (continued)
Re: Org-syntax: Intra-word markup, Timothy, 2021/12/02
- Re: Org-syntax: Intra-word markup, Denis Maier, 2021/12/02
- Re: Org-syntax: Intra-word markup, Ihor Radchenko, 2021/12/02
- Re: Org-syntax: Intra-word markup, Max Nikulin, 2021/12/02
- Re: Org-syntax: Intra-word markup, Tom Gillespie, 2021/12/02
- Re: Org-syntax: Intra-word markup, Juan Manuel Macías, 2021/12/02
- Re: Org-syntax: emphasis and not English punctuation, Max Nikulin, 2021/12/04
- Re: Org-syntax: emphasis and not English punctuation,
Juan Manuel Macías <=
Re: Org-syntax: Intra-word markup, Denis Maier, 2021/12/02
Re: Org-syntax: Intra-word markup, Samuel Wales, 2021/12/02
Re: Org-syntax: Intra-word markup, Max Nikulin, 2021/12/03
Re: Org-syntax: Intra-word markup, Tim Cross, 2021/12/03
Re: Org-syntax: Intra-word markup, Max Nikulin, 2021/12/04
Re: Org-syntax: Intra-word markup, Russell Adams, 2021/12/05
Re: Org-syntax: Intra-word markup, Russell Adams, 2021/12/05
Re: Org-syntax: Intra-word markup, Samuel Wales, 2021/12/05
Re: Org-syntax: Intra-word markup, Nicolas Goaziou, 2021/12/02
Re: Org-syntax: Intra-word markup, Juan Manuel Macías, 2021/12/02