logoalt Hacker News

hekkletoday at 12:34 AM6 repliesview on HN

It has nothing to do with literacy, the em-dash simply is not on the standard US QWERTY keyboard. This means that people who purposefully use it, either have to copy-paste it from somewhere or (if they-re on Windows), use "Alt + 0 1 5 1". This is very obviously not a natural behaviour that 'literate' people use when they write.


Replies

wlesieutretoday at 12:47 AM

You can type "--" in most writing software and it will turn into an em-dash. On a Mac, this includes TextEdit by default, or literally every text input field if you enable the "smart dashes" setting. I can type — right now in my web browser with two presses on my ordinary laptop keyboard and no memorizing character ID numbers, not exactly rocket science.

If you're using Word or other fancy word processors, you don't even have to type two hyphens. One will do, and it looks at the grammar and changes to the correct type of dash for you automatically.

Have all the people parroting "dash means it was written by ChatGPT" never used a word processor?

show 1 reply
sfRattantoday at 12:40 AM

If you're writing in MS Word, LibreOffice, or most word processors, typing a word and then two dashes and then a word, without any spaces, like--this will generate an em dash automatically. I learned how to do it in Freshman English in high school. Though I was also taught to double space after a period.

To revise GP's comment: it’s just less computer literate people feeling the need to out themselves.

3eb7988a1663today at 1:18 AM

Pandoc has had "smart" typography[0] which generates em-dash and en-dash for a long time. I found a forum post for 2011 where people were discussing em dashes and such. That thread indicates that John Gruber created a Markdown extension in 2004 which was already handling en and em dashes[2].

[0] https://pandoc.org/demo/example33/7.1-typography.html

[1] https://pandoc-discuss.narkive.com/PHmQaAgM/en-dashes-vs-em-...

[2] https://daringfireball.net/projects/smartypants/

askonommtoday at 12:38 AM

Many (most?) WYSIWYG editors automatically convert two hyphens (--) to em dash, no need to specifically look out for it.

jph00today at 2:10 AM

On Mac you type opt-shift-hyphen — like this — and on Win/Linux you use a compose key.

A lot of people who care about typography/grammar have spent a moment to learn to do this. Once learned, you can use it for the rest of your life.

thwartedtoday at 1:13 AM

The compose key on Linux makes deliberate use much easier (rather than automatic replacement which often triggers when I don't want it). There's a compose key utility for Windows, but has some minor annoyances like many input (mouse or keyboard) macro extender applications.