emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master ff4de1b: Fix quoting style in Lisp comments


From: Stefan Kangas
Subject: Re: master ff4de1b: Fix quoting style in Lisp comments
Date: Fri, 17 Sep 2021 03:26:38 -0700

Gregory Heytings <gregory@heytings.org> writes:

> FWIW, I too do not see why ` would be "ugly".  I attach screenshots of
> what that character looks like in ten popular programming fonts; each
> shows the nine (!) possible conventions, together with the Unicode quotes.

This shows that Unicode quotes consistently look good, while the others
look antiquated at best.  The single apostrophes on both sides ('like
this') is also okay, but still worse from a typographic standpoint.

IMO, we should automatically display in comments and docstrings whatever
quote character the user prefers according to `text-quoting-style', and
automatically insert the correct quote character when typing "'".

At least for docstrings and messages, what would be even better than any
markers is to display prose in a variable font and code (including
symbols, of course) in a monospace font, with no markers.  That is the
style used elsewhere, and it is clear and avoids visual distractions.

> What would perhaps be welcome is a user option to ask Emacs to display
> apostrophes as acutes in `foobar' (and possibly another option to ask
> Emacs to use `´ instead of ‘’ in messages, errors and help buffers).

Are you looking for `text-quoting-style'?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]