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 48ac40e60e: ; Fix last change. Date: Sun, 14 Aug 2022 21:46:58 +0300 Message-ID: <83zgg6irx9.fsf@gnu.org> References: <166049949398.16955.13217655219158269477@vcs2.savannah.gnu.org> <20220814175134.47827C09BFD@vcs2.savannah.gnu.org> <8335dyk779.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36519"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 14 20:48:01 2022 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 1oNIeX-0009FJ-1s for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Aug 2022 20:48:01 +0200 Original-Received: from localhost ([::1]:58644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNIeV-0008A5-U1 for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Aug 2022 14:47:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNIdm-0007Tl-KW for emacs-devel@gnu.org; Sun, 14 Aug 2022 14:47:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNIdm-0006GV-BN; Sun, 14 Aug 2022 14:47:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=wgU7LodZaL3UXc8EATj49GHG99ZMM8t/uqr+V2TeZDQ=; b=YcK4WbaGkMYv Ij+gPC6t+bQenMfNwgUISPZU6g37/GmjC482gWmynv7hV4AZ9hOvalqpNhxWEdIuoSy9/XNoAjMVY Br2CQk4KYrtr0PMb8ejBAO+6WbAU7zfrd0ZaSvh/7wb7Cm5DDW0ClcRSk3enhZd/pvARehuPsu+ZV Op1Yg3ocbUwjzH9M3mWKQ81xsgGz4t0MLHCuPGUyQGgGJwGD6lJkkIZmD7+GdwOWrCFyWV3zMhpuh xoDNvCbm+Y+MXykedoWeoVcfj0Y61z/wAYyaWZZDSdPnJtpgcYkFg8CSY9L9pPc6RlCeGwKTbFjIa FQl6UoilRdvK5q5JBuqs7g==; Original-Received: from [87.69.77.57] (port=1041 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 1oNIdl-0004i4-R6; Sun, 14 Aug 2022 14:47:14 -0400 In-Reply-To: (message from Stefan Monnier on Sun, 14 Aug 2022 14:42:28 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:293461 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Sun, 14 Aug 2022 14:42:28 -0400 > > Eli Zaretskii [2022-08-14 21:31:38] wrote: > >> > >> Funny: I find this rather hard to understand compared to my > >> original wording. E.g. a reader might wonder what other cases there > >> could be and why they don't return non-nil. > > Are there other cases? > > Obviously, there are the cases of a process, a marker, a vector, > ... (and even more obviously an interpreted function) What do those have to do with compiled-function-p? Can a process or a marker or a vector be a compiled-function-p? > but my point is > that if I imagine myself as a reader who's not knowledgeable about all > those kinds of functions, I have no idea whether those 4 different cases > cover "all the cases except an interpreted function". That's why there are cross-references to where they are described. > It's not a very specific API. It's a kind of "abstract super class", so > in my book it should be defined not by enumerating its current > subclasses but by giving a meaningful way to decide whether a given > class should be a subclass or not. Sorry, I reject the idea that abstract classes cannot be usefully documented in concrete terms. At least there's no excuse for not trying.