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.bugs Subject: bug#73626: 30.0.91; Type specifiers of functions Date: Thu, 24 Oct 2024 18:47:46 +0300 Message-ID: <86ikthcxjx.fsf@gnu.org> References: <86msjkxdf5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19285"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73626@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 24 17:49:06 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1t405A-0004oA-8Z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Oct 2024 17:49:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t404l-0001D3-Pz; Thu, 24 Oct 2024 11:48:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t404k-0001Ci-2d for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2024 11:48:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t404d-0002lK-AK for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2024 11:48:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=A669EGlip4waHMAyUik7Isnk1453P8LxU7JhndaPKzM=; b=X/Jco3Jm5dZ5KYfmatfuQoUwtnG94CigdaqPB+mU1nFlS04QiTDfMwG9aTd6+Cojnew/LmSTsgGMX90bBkIW19eSKc15TyKOMfW/wEbAByhBBlSLK18lcum6fU8f/+jaSxDAsItzo4CyYGM+a/x1/cGKdywweJ4Eyq5W1vcDT2OtDP2NFfFvkYu6iSZAk0YdwK/GVub4BACWIjYTpNYxjkZXBdHGBpDfLs7diapsDfyVlWCaAKPIAIQkX+ucr5UJv+fgh6+5ZF/1Ac70W6Py5GHxrokCKEZcQaapARGOuzkw0bq9JxU4QdviW8R+Vreght+xA3wQFSWDnxih1zepCA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4058-0002K2-1J for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2024 11:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Oct 2024 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73626 X-GNU-PR-Package: emacs Original-Received: via spool by 73626-submit@debbugs.gnu.org id=B73626.17297849088878 (code B ref 73626); Thu, 24 Oct 2024 15:49:01 +0000 Original-Received: (at 73626) by debbugs.gnu.org; 24 Oct 2024 15:48:28 +0000 Original-Received: from localhost ([127.0.0.1]:35953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t404Z-0002J8-PV for submit@debbugs.gnu.org; Thu, 24 Oct 2024 11:48:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t404Y-0002Il-BD for 73626@debbugs.gnu.org; Thu, 24 Oct 2024 11:48:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t403y-0002eS-9a for 73626@debbugs.gnu.org; Thu, 24 Oct 2024 11:47:50 -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=A669EGlip4waHMAyUik7Isnk1453P8LxU7JhndaPKzM=; b=f9NHHVKBPlKf DOIiiVIaqAkDTdIQnOhoF8Htn0Lvf4wrV900lHuoTmKnqGW0lITlnYqxQ5NeNdKujb0bFjVm9OPeE w4Ih2XeLeXAAFY13IU5Np44UlyG8lkuV5DmJbLTFNcnwDX61Z/OuLIfu9hmTCVNdt1hpVmos9JHSw cuTM21EInxIH/wrwYJsftIRlCGjgf/wr+CeVSN1OBiLpXJ9ytKpvoPyk8Ysvo9uaE9IE5Uk8ew157 Kaz7NcbhFp6yr8o2P9Z6u70HA5NOVF5pInURBhB9rRtKhGXDoRV+BLuQlJ/lzIzPC0GvSjbcn7jJi 82QjqIeh9Jly1TmFQtSyDw==; In-Reply-To: (message from Andrea Corallo on Wed, 23 Oct 2024 18:29:06 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294196 Archived-At: > From: Andrea Corallo > Cc: 73626@debbugs.gnu.org > Date: Wed, 23 Oct 2024 18:29:06 -0400 > > Hi Eli, > > sorry for being late on this. No sweat. > > . what is the importance of inferred vs declared type > > The user get to know that the function type was computed by the compiler > or manually declared by the user. And why is that important? > > . how to read the type specifiers, > > The format is the same described for type declarations ((elisp)Top > > Functions > Declare Form). OK, but the relation of that to what we show in the *Help* buffers is not obvious. > I agree we should probably better document this somewhere else, probably > in Lisp Data Types? We need first mention this in "(emacs)Name Help", with a cross-reference to wherever we describe that in the ELisp manual. I tend to think that the main place where this is described in ELisp manual is somewhere in Lisp data Types, perhaps in Type Hierarchy. > > . why "C-h f" shows this information only for some functions and not > > for others, and what is the significance of that > > C-h f does not show the inferred type if the functions has still to be > native compiled and loaded, the reason is simply that is the native > compiler computing the type. This should also be documented in "Name Help", I think. > > Bottom line: we decided that this information is important enough to > > show it in the *Help* buffer, so we should explain its arcane parts to > > make them useful. > > Agree. Is '(elisp)Top > Lisp Data Types' a reasonable place for that? Yes, I think so. Thanks.