From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master ff4de1b: Fix quoting style in Lisp comments Date: Fri, 17 Sep 2021 13:39:44 +0300 Message-ID: <838rzv8ozz.fsf@gnu.org> References: <20210912165141.9491.52637@vcs0.savannah.gnu.org> <20210912165143.5BC1E20A5E@vcs0.savannah.gnu.org> <47d6e9a6-f334-eda9-2e08-0a946e51fc4a@yandex.ru> <83v934emk7.fsf@gnu.org> <87sfy8d7oo.fsf@gnus.org> <9194fc93-fb9c-000f-a35a-321ddd259893@gmx.at> <8735q5yi63.fsf@mail.linkov.net> <83czp9by3s.fsf@gnu.org> <05cbffe0-f89b-ff54-64f5-cd1d11bac4f5@yandex.ru> <831r5pbt7j.fsf@gnu.org> <83wnnhacy4.fsf@gnu.org> <40937e22-994f-466c-87be-4f70a522118a@yandex.ru> <83o88t9kgb.fsf@gnu.org> <9672aeae-a969-1526-003b-abb1b00b5b49@yandex.ru> <87sfy43dlt.fsf@gnus.org> <1a0f9230b7d75e426474@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6357"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, rudalics@gmx.at, gregory@heytings.org, monnier@iro.umontreal.ca, dgutov@yandex.ru, larsi@gnus.org, juri@linkov.net To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 17 12:40:47 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mRBIU-0001UC-CW for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Sep 2021 12:40:46 +0200 Original-Received: from localhost ([::1]:51840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRBIS-00020K-Qd for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Sep 2021 06:40:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRBHo-0001FR-CY for emacs-devel@gnu.org; Fri, 17 Sep 2021 06:40:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40234) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRBHl-000793-Cy; Fri, 17 Sep 2021 06:40:01 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4561 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRBHj-000444-4g; Fri, 17 Sep 2021 06:40:01 -0400 In-Reply-To: (message from Stefan Kangas on Fri, 17 Sep 2021 03:26:38 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274850 Archived-At: > From: Stefan Kangas > Date: Fri, 17 Sep 2021 03:26:38 -0700 > Cc: Dmitry Gutov , emacs-devel@gnu.org, rudalics@gmx.at, > Stefan Monnier , Eli Zaretskii , juri@linkov.net > > Gregory Heytings 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. I think that was the conclusion back when this was discussed, and we decided to use the "second best" due to the issue with Unicode support in text-only terminals. > 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 "'". Patches welcome to make that happen. One idea for implementation would be to use the display-table feature.