3 ms·
I have a Compose key binding in https://github.com/kragen/xcompose https://github.com/kragen/xcompose which maps Compose Space Minus to "—" with two thin spaces
by kragen 1y ago
I have a Compose key binding in https://github.com/kragen/xcompose https://github.com/kragen/xcompose which maps Compose Space Minus to "—" with two thin spaces on each side of it, because I prefer the spaces. But HN rewrites the thin spaces to regular spaces, so on HN I just use "—" without the spaces, the way ChatGPT does, which is Compose Minus Minus Minus, and is in the standard Compose key bindings (if you map your keyboard to have a Compose key at all).
Examples within the last week include https://news.ycombinator.com/item?id=44996702 https://news.ycombinator.com/item?id=44996702, https://news.ycombinator.com/item?id=44989129 https://news.ycombinator.com/item?id=44989129, https://news.ycombinator.com/item?id=44991769 https://news.ycombinator.com/item?id=44991769, https://news.ycombinator.com/item?id=44989444 https://news.ycombinator.com/item?id=44989444. I typed all of those.
I never use space-hyphen-space instead of an em dash. I do sometimes use TeX's " --- ".
- MathMonkeyMan 1y agoI use space-hyphen-hyphen-space because I'm always switching between systems and keyboards -- it works well enough.
- david-gpu 1y agoThat is what I've done for the past couple decades. There are dozens of us! Dozens!
- kelnos 1y agoSame. I feel like I've been using "--" in my online writing for decades now. Take that, LLMs; I used it before it was cool... er... before it was a weak signal that a piece of text was written by an LLM. Sigh.
- kragen 1y agoI did that until I learned to use TeX last millennium, but it's a pernicious bad habit in TeX, so I stopped.
- auxbuss 1y agoSpace en-dash space is standard British typography – whereas US uses em-dash and jams the words together on either side of it. It took centuries for the written word to acquire spaces between words, and then the US decided to jam them back together again. Curious why folk are using two hyphens "--" instead of en-dash.
- theodric 1y agoBecause it's not a special character.
- nxobject 1y agoI imagine for the same reason some still use two spaces after full stops - typewriter conventions.
- fluidcruft 1y agoIn LaTeX (and probably smartypants which is another of those bare pre-unicode ASCII to fancy text converters that can get stacked into markdown--but I can't remember if dash handling specifically is in there), "--" is en-dash and "---" is em-dash. The single "-" gives a hypen which is handled differently than an en-dash in typesetting. So... that's just to say that people who are exposed to the sorts of can't-unsee-it-now typesetting OCD that LaTeX and various popular extension packages within that ecosystem exposes can learn to write write "--" as en-dash. It's sort of like being unable to return to the blissful state of not being hyperaware that Ariel and Helvetica are different.