Hello,
I’m looking for suggestion to make writing blog posts for Nikola static-site-generator using Asciidoc(tor) markup…In Emacs I was using typoel package which provides
“…buffer-specific minor mode that will change a number of normal keys to make them insert typographically useful unicode characters. Some of those keys can be used repeatedly to cycle through variations. This includes in particular quotation marks and dashes.”
For Quotes it works like this:
"All quotation marks… are added by hitting the " key exactly once each. typo.el guessed the correct glyphs to use from context. If it gets it wrong, you can just repeat hitting the " key until you get the quotation mark you wanted.
For Dashes and Dots:
"The hyphen key will insert a default hyphen-minus glyph. On repeated use, though, it will cycle through the en-dash, em-dash, and a number of other dash-like glyphs available in Unicode. This means that typing two dashes inserts an en-dash and typing three dashes inserts an em-dash, as would be expected. The name of the currently inserted dash is shown in the minibuffer.
The full stop key will self-insert as usual. When three dots are inserted in a row, though, they are replaced by a horizontal ellipsis glyph."
I’m wonder if something like this would be possible to have for ST3?
The best thing which I’ve found so far is TypeSnippets, but it’s a bit cumbersome, e.g. in order to enter “…” one has to type ‘doublequotes’ etc.
Moreover, it’s problematic when one wants e.g. to enter ‘…’, since one has to type ‘ellipsis’, and one has to enter space before typing ‘ellipsis’ and then to remove that space if ellipsis are to be following the word…