From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Emacs rewrite in a maintainable language Date: Tue, 13 Oct 2015 18:23:27 +0200 Message-ID: <87a8rm7n5s.fsf@fencepost.gnu.org> References: <561A19AB.5060001@cumego.com> <87io6dl0h0.fsf@wanadoo.es> <87lhb82qxc.fsf@gmail.com> <878u78b3hg.fsf@fencepost.gnu.org> <87h9lwyv33.fsf@gmail.com> <561C368F.6010306@cs.ucla.edu> <87oag3xb2i.fsf@gmail.com> <20151013114630.GA4613@acm.fritz.box> <87io6bou1j.fsf@gmail.com> <874mhu96jh.fsf@fencepost.gnu.org> <87io6a7okg.fsf@fencepost.gnu.org> <87612abvik.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1444753473 19935 80.91.229.3 (13 Oct 2015 16:24:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2015 16:24:33 +0000 (UTC) Cc: Sergey Organov , Artur Malabarba , emacs-devel To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 13 18:24:30 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zm2NJ-0008R8-Uy for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2015 18:24:30 +0200 Original-Received: from localhost ([::1]:37288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm2NJ-0006hP-7B for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2015 12:24:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm2MT-00064k-Pz for emacs-devel@gnu.org; Tue, 13 Oct 2015 12:23:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm2MT-0000Ha-1A for emacs-devel@gnu.org; Tue, 13 Oct 2015 12:23:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm2ML-0000Fe-4q; Tue, 13 Oct 2015 12:23:29 -0400 Original-Received: from localhost ([127.0.0.1]:51293 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1Zm2MK-0002Mq-74; Tue, 13 Oct 2015 12:23:28 -0400 Original-Received: by lola (Postfix, from userid 1000) id A91D0DF4F8; Tue, 13 Oct 2015 18:23:27 +0200 (CEST) In-Reply-To: <87612abvik.fsf@gmail.com> (Oleh Krehel's message of "Tue, 13 Oct 2015 18:09:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:191494 Archived-At: Oleh Krehel writes: > David Kastrup writes: > >>>> Well, people who cannot figure out that "const char" and "char const" >>>> are the same are not likely to find their way across our code base. At >>>> any rate, "const" in C is nuisance-only and not meaning-conveying like >>>> in C++ where it may take part in disambiguation as well as semantics >>>> (copy constructor calls behave specially and are very much const &). >>>> >>>> So the "confusion" here is restricted to "oh, the compiler does not >>>> complain?". >>> >>> No, the confusion is "which one of these does what I want?". >> >> The answer in C is "if the compiler does not complain, it does what I >> want". > > The C compiler doesn't complain: > > mark_object (KVAR (kb, Voverriding_terminal_local_map)); Are we still talking about "const char" vs "char const" or is this just another parade of the impressive Emacs-devel straw man army? -- David Kastrup