The other day, I saw this tweet from John Cook’s TeX Tips Twitter account:
Spanish punctuation: Can use !` and ?` for inverted exclamation points and question marks.
— TeX and Typography (@TeXtip) September 24, 2021
I was vaguely aware of this but had never thought much about it. Still, I do occasionally have a need for ¿ and ¡ so I wondered if it would work in Org-mode.
It turns out that it does if you use the TeX input method. I usually have that turned on for my blog posts so that the mapping ---
\(\mapsto\) — works correctly. It turns out that it works in any text buffer, not just Org buffers. Now if I want an exclamation in Spanish, I can use !`
to start it. ¡Perfecto!