There is two dashes longer than em dash (U+2014) in Unicode, these characters are two-em dash (U+2E3A) and three-em dash (U+2E3B), but LibreOffice have no replace rules for them, so please adding rules for these characters.
more infos here:
Sounds reasonable -> NEW
@ General Kutuzov
you can already set your own replacement in the autocorrect replacement table.
maybe something like .*-2-.* for the "two-em dash" character and .*-3-.* for the "three-em dash"
what you think about? is this something we could set in the default autocorrect lists? do you have a better idea about the key sequence?
we should also be aware of potential autocorrect conflicts like those reported in Bug 67364
(In reply to tommy27 from comment #4)
> we should also be aware of potential autocorrect conflicts like those
> reported in Bug 67364
I found it.
(In reply to tommy27 from comment #3)
> @ General Kutuzov
> you can already set your own replacement in the autocorrect replacement
> maybe something like .*-2-.* for the "two-em dash" character and .*-3-.* for
> the "three-em dash"
I have used :----: for the "two-em dash" character and :------: for the "three-em dash", but I feel that’s not a good idea.
actually LibO default autocorrect patterns are :--: for "en-dash" and :---: for "em-dash" using the "emoji" feature in which you have to type a ":" before and after your keyword.
your "emoji" replacement :----: for the "two-em dash" and :------: for the "three-em dash" should work too, but you have to type 6 and 8 keys in order to make them work
anyway you can use a different technique as I said in my previous comment using wildcards ".*" before and after your keyword
the advantage of wildcards over emoji is that you don't have to type the whole pattern...
I mean, if you want the "en-dash" using emoji you have to type :--: (4 keys) while using the wildcard you just type -- (the .*--.* has to be typed only in the replacement table"
so using my proposed wildcards .*-2-.* for the "two-em dash" and .*-3-.* for the "three-em dash" would be a typing time saver (just 3 keys)
General Kutuzov: can we close this as worksforme? Are you happy with comment 7?
we should think if such wildcards deserve to be inserted in the default LibO autocorrect data sets. that would require a patch.
Now I think use :-2-: for the "two-em dash" and :-3-: for the "three-em dash" would be better.
hi, why do you think :-2-: would be better than .*-2-.* ?
I think it would be easier to use wildcards (.*text.*) rather than emojis (:text:) since with wildcards you have only to type the text sequence (in this case -2-) while with emojis you have actually to type the opening and closing columns too (in this case :-2-:)
so wildcards require only 3 keys typing versus 5 keys in emojis
My proposal is inherited from a replace rule for dash (:---:). I think these rules can be associate with dash rule and thus they are easy to be recognized.
consider that I've seen people complaining of the current :emoji: system for en-dash and em-dash because of the extra column keys needed to trigger the replacement
the .*--.* and .*---.* cannot be used because of the collision between hyphens (see Bug 67364)
but the .*-2-.* and .*-3-.* wildcard patterns would not suffer any collision and have the advantage that they don't need extra keys
anyway, any user may use it's preferred pattern
Oh, I see. I think these rules can be added after this argument was resolved.
(In reply to tommy27 from comment #13)
> the .*--.* and .*---.* cannot be used because of the collision between
> hyphens (see Bug 67364)
thanks to the fix from 67364 it's not possibile to set this autocorrect rule with no more collisions.
fix available in LibO 5.3.0 but hopefully backportable to 5.2.3
(In reply to tommy27 from comment #15)
> (In reply to tommy27 from comment #13)
> > .... it's not possibile ...
sorry, I meant "it's now possible"