emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master b533552 2/5: Documentation fixes re quotes


From: Paul Eggert
Subject: Re: [Emacs-diffs] master b533552 2/5: Documentation fixes re quotes
Date: Thu, 3 Sep 2015 14:50:26 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Dmitry Gutov wrote:
It's more error prone:

If the programmer types `foo`, they can look at the output and see that the
quotes were not recognized as a matching pair (don't render as expected).

If the programmer types ‘foo‘, they can easily miss the non-matching quotes

First, the two scenarios are the same in the typical text-quoting-style case, because the output looks like ‘foo‘ either way, and whatever method works for detecting input `foo` will work equally well for detecting input ‘foo‘.

Second and more important, it’s more efficient to detect and fix this issue immediately while typing, as the highlighting around the foo won’t be as expected and a programmer can see that easily right away and just backspace and fix the bad quote while it’s fresh. It’d be considerably more awkward and error-prone to detect the problem only when it’s rendered into a *Help* buffer.



reply via email to

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