From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
When editing a Markdown document with electric-quote-mode enabled, the
experience is not optimal because ` (backtick) in Markdown is a syntax
element (for introducing code spans and blocks), but is converted by
electric-quote-mode.=C2=A0 Also ` and ' inside code spans and blocks co= ntinue
to insert curly quotes where they shouldn't.=C2=A0 I propose the follow= ing:
- Provide an alternative behavior of electric-quote-mode where ` doesn'= t
=C2=A0 trigger replacement and ' can insert left or right curly quotes,=
=C2=A0 depending on whether it follows a space or similar (newline, beginni= ng
=C2=A0 of buffer, opening parenthesis).
- Provide a way to disable electric-quote-mode for certain regions,
=C2=A0 effectively the inverse of the existing electric-quote-string etc. =C2=A0 This could be in the form of syntactic elements or text properties.<= br>