From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
=Philipp Stephani <p.stephani2@gmail.com&= gt; schrieb am Mi., 28. Juni 2017 um 23:59=C2=A0Uhr:Philipp Stephani <p.stephani2@gmail.com> schrieb am So., 16. Okt. 2016 um 19:= 22=C2=A0Uhr:
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>I've attached a patch. It doesn't cover all c= ases, though; e.g. an unterminated Markdown code span is not supported yet.= =C2=A0Pushed as 34d4720f83.=C2=A0