From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master ff4de1b: Fix quoting style in Lisp comments Date: Fri, 17 Sep 2021 16:12:05 +0200 Message-ID: <87k0jfxpe2.fsf@gnus.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> <834kakadga.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28048"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: stefan@marxist.se, emacs-devel@gnu.org, rudalics@gmx.at, monnier@iro.umontreal.ca, dgutov@yandex.ru, juri@linkov.net To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 17 16:15:04 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 1mREdr-00071a-Cf for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Sep 2021 16:15:03 +0200 Original-Received: from localhost ([::1]:39032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mREdq-0003GS-Cw for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Sep 2021 10:15:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mREbE-0008CD-Lr for emacs-devel@gnu.org; Fri, 17 Sep 2021 10:12:20 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:37032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mREbD-0003GM-0B; Fri, 17 Sep 2021 10:12:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vzw362Qz1kWldi3On6sJtwSkhNDlg/BZdqsao39Yx0k=; b=QxqGYYe/Zi7+/m3jL4fJpMGHpQ DqEHuZhS8jxeFZOxk6jV3vl4yYmldgF8m34O42rR8mojtOm7AFY2+efVkdH/Le/CGuLg2Uyhk1WHn oFQ4AGhrcCRa7pfZrm7Hk7r3GKVX4lfxxV1CZATj6J6DbW7lBKbAw42xn4EPdR/noitg=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mREb2-0000QU-Kx; Fri, 17 Sep 2021 16:12:11 +0200 In-Reply-To: <834kakadga.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 16 Sep 2021 15:53:57 +0300") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:274879 Archived-At: Eli Zaretskii writes: > If this discussion indicates something it's that "plain text" is open > to interpretation, so if we will have a mandatory convention, we'd > need to come up with an explicit list. E.g., NEWS and PROBLEMS are by > default in Outline mode, not in Text mode, so someone could claim they > aren't "plain text". I guess somebody could -- we'll have to wait and see whether anybody does make that argument. >> (And when it comes to commit messages, I don't think we should have a >> convention -- it just doesn't matter, and people should use whatever >> they want to.) > > We produce ChangeLog files from that. > > And if we allow people to do what they want, then we have that > already, so I see no reason to argue about conventions no one will > follow. You were the one that brought up commit messages, and I just re-stated my position that we don't need to have a convention there (and you seem to be agreeing here). That doesn't mean that I don't think we should have a convention elsewhere, and I think it should be, basically, what we have today: NEWS, CONTRIBUTE and other files of a similar ilk should use '...'. .el/.c files should use `...' (when talking about Lisp symbols). > Btw, `...' in *.c files is not highlighted. I'd forgotten -- it'd be nice to have that fixed. >> and if we decide to move to '...', we >> should do so everywhere in those files: Both doc strings and comments. > > That is impossible, because doc strings must still use `...'. We'd have to change the machinery to do the same thing with '...' as we today do with `...', of course. (But note that I'm not advocating for this.) > And I don't see why comments and doc strings should use the same > convention, they are used differently. We often move text between comments and doc strings (mostly by making comments into doc strings), and it seems pretty awkward to insist on using different conventions in the two different parts of the same source file. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no