From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Renaming some functions Date: Sun, 03 May 2020 22:59:39 -0400 Message-ID: References: <83zhaoo2j1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="49265"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 04 05:00:21 2020 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 1jVRL9-000CiW-N8 for ged-emacs-devel@m.gmane-mx.org; Mon, 04 May 2020 05:00:19 +0200 Original-Received: from localhost ([::1]:35648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVRL8-00087r-Ox for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 23:00:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVRKb-0007gA-SA for emacs-devel@gnu.org; Sun, 03 May 2020 22:59:45 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVRKZ-0000pX-OB; Sun, 03 May 2020 22:59:45 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 146824508C2; Sun, 3 May 2020 22:59:42 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 99114450897; Sun, 3 May 2020 22:59:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1588561180; bh=PBwJ9+r7vXzTmQY9Izg9nfq8EnP56Wv4kn+fZnghO/A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=WM+g/KlqS8N7+s2nIpAUWSY2qvOFRjw894slDO9lvAINh2J3yuif9Y4f7wNmaHyMh lgDkwp5ZyCVfCGqfjQmw6AoUe7hq2Wtlfk6wbHpKXtsauU/4npx6EE7ctsCh4h4OCm GpaWvUPuxkkSQxPCssEFsg3Pc4IBqjkPnOtMicc2YKiPe9NbUwhL7QiraOGLk36vZc 6OxtLRA+RuJDLcYyj134X5Dax6+NVSHBg0O2lvMLW8gt4N8fs6e2L6RPM59XFwEHuD 40G1rOLq2kuKeSGVZYQk43eWdMnPDCmJg67jXTuLQbTFbAsCbAuwBP+Vzx5rASbFGk rZtShGw4qnN2g== Original-Received: from alfajor (unknown [216.154.3.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 69250120735; Sun, 3 May 2020 22:59:40 -0400 (EDT) In-Reply-To: <83zhaoo2j1.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 May 2020 05:30:10 +0300") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/03 22:59:42 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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:248760 Archived-At: >> Here's my first concrete renaming proposition: >> >> multibyte-string-p => string-multibyte-p >> >> Any objection? > > We are not renaming anything, we are discussing aliases that could > make discoverability easier. Yes, and a general discussion is pointless (because I'm not interested in a general renaming. Only in a few specific ones). Hence this specific proposition which should be considered in isolation. The purpose is not to make discoverability easier. It's to make the namespace more regular (which then brings various potential benefits such as easier discoverability, better code completion, ...). This function is used 51 times in Emacs's own source code, and once in GNU ELPA, so changing it has a fairly low impact. The only reason I care about it is because I happen to use it fairly often in `M-:` and after getting confused between the two names enough times, I added an alias for myself and now I think it's time we admit that the original name was simply an error. Stefan