Don’t be fooled by the apparent simplicity of this feature. Its implementation
has been the most controversial addition to the upcoming Emacs release — to a
comical degree. This post, however, is not about arguments or implementation,
it’s about Emacs 25. And this little nugget is all set for the next release.
The feature is simple, next time you’re reading a docstring (maybe via C-h f
or C-h v), instead of looking like this
it’ll look like this
It’s a simple, but noticeable, improvement for user experience.
If you don’t like the change, it’s configurable via the new option:
text-quoting-style.
Note that these quotes are introduced directly in the *Help* buffer. The
function that does this conversion is substitute-command-keys, so you can use
it if you’d like the same effect for other purposes. You should still use
`grave-and-straight' quotes when writing docstrings for your defun.
On the other hand, if you need to write a straight quote that shouldn’t be
converted to a round quote when it’s printed in the *Help* buffer, you’ll need
to write \\= before it.
New in Emacs 25.1: Round quotes in Help buffers
26 Jan 2016, by Artur Malabarba.New in 25.1 post series
Don’t be fooled by the apparent simplicity of this feature. Its implementation has been the most controversial addition to the upcoming Emacs release — to a comical degree. This post, however, is not about arguments or implementation, it’s about Emacs 25. And this little nugget is all set for the next release.
The feature is simple, next time you’re reading a docstring (maybe via C-h f or C-h v), instead of looking like this
it’ll look like this
It’s a simple, but noticeable, improvement for user experience.
If you don’t like the change, it’s configurable via the new option:
text-quoting-style
.Note that these quotes are introduced directly in the
*Help*
buffer. The function that does this conversion issubstitute-command-keys
, so you can use it if you’d like the same effect for other purposes. You should still use `grave-and-straight' quotes when writing docstrings for yourdefun
.On the other hand, if you need to write a straight quote that shouldn’t be converted to a round quote when it’s printed in the
*Help*
buffer, you’ll need to write\\=
before it.Tags: emacs-25, emacs,
New in Emacs 25.1: Easily search for non-ASCII characters »
« Quickly search for occurrences of the symbol at point
Related Posts
Emacs 25 is out! What are the new features and what were my predictions in emacs-25
New in Emacs 25.1: Archive priorities and downgrading packages in emacs-25
New in Emacs 25.1: Filtering by status and archive in emacs-25
Content © 2019, All rights reserved. Icons under CC3.0.