From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Helpful in Emacs? Date: Fri, 10 Sep 2021 09:58:18 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29840"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: me@wilfred.me.uk, Daniel =?utf-8?Q?Mart=C3=ADn?= , Emacs developers To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 10 09:59:21 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 1mObRP-0007aQ-D6 for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Sep 2021 09:59:19 +0200 Original-Received: from localhost ([::1]:44224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mObRO-0005W6-AS for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Sep 2021 03:59:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mObQZ-0004pr-4v for emacs-devel@gnu.org; Fri, 10 Sep 2021 03:58:27 -0400 Original-Received: from mail-oln040092067086.outbound.protection.outlook.com ([40.92.67.86]:13223 helo=EUR02-AM5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mObQV-0007T3-21 for emacs-devel@gnu.org; Fri, 10 Sep 2021 03:58:26 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LE+KFSi9Qhs4NQZIS5JPd0F7Kx78NS4WWvuUCS9U37axHaBoTlPW/82FUAhecn1qGO/FhOAkn5z73rYlI7rIxhs1Xw22H9TVlGTNIb4w0vdqxEnNgJYHZlxVjALVn44TxE5wqURo/0FKTMd0sWrIfau9TmSziwgz3j/OfXwAHu61rc8YGHOeLgOENjwoP4qL4FE+fcFlXewiX865HqOPwlv3+DEVxOw1o1T2LPz0zNgk4/5FUWZRFKHCpk3Df/PzOXK4bMNncz460vkcrAjKtELhO9d6YDTeQZXDXB2YuhAUKYlf9gN3Odoe4DoGb04OEt7i3pzlktqd0lR5T1WT/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ETzEy6qmWENpjtuF1ilL+dQTTcEfVBE97yj2/UgeEuw=; b=HFXKToCMzp9XTajtchYoQ5MM1tFBoWz3g7Gvc0BHAfxMkNNXdl3WzNGNKdl0V+grTecJeFsEY1Ims8cPx5hyv0O9PyJ5F+zrlmhkkLOLdiD7jyOUCroiHhEQCb8zvZ6TrMd9er3YiYczhx9jbi+dkbzbhHtlHKdxaKoKpARPJr1AGc7F3zDQsIs8yLkGcG/1yKNSFGJYx5JGAmOy3Yij108/onaviaatH8/7YMcJA/dmuNw7Ik8/y+9+DJZEjagllsyXbtoSSCnudj9CybTtnlRxasfwhPtWx5SKuJY5Ny+ESedtpoL7Bisvy3fyVlWHBPdAxcjTgJkCbgMAo9kSVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ETzEy6qmWENpjtuF1ilL+dQTTcEfVBE97yj2/UgeEuw=; b=Bf8t3Jbv0aU4NuBx+Fk9fVG5V8GCLfR5E/XkKCTk5x9cBqK9TY9OwsToidiP51hwGwSp7gykSRa4ZaY5eA4X5ByXploQXl9Ftot1tW793WHdqauwFLttZCQknAGXKV+uPGKvJQFi0vFy5oz3CscuoBwWT3Hc94bNOq+jU9KOj43BBDX7f0IRAVPDuuWCam4eU5G943hKRPPDqvD083ZE0U8ggTScQVDbdtbyYBAAPTpC/VNJ05usLk7a/PvaQaWK8uA0TvLrhSBJvSjFYXPhomCv6hr5QEyFwk79FaMhkWgS3zKOrSTLQlUCAwxpqQnDcwuLaYgOw/uVNC1/T8O/5A== Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by AM0PR09MB4194.eurprd09.prod.outlook.com (2603:10a6:208:1a2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Fri, 10 Sep 2021 07:58:19 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::c55c:ece5:bed2:a9dc]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::c55c:ece5:bed2:a9dc%8]) with mapi id 15.20.4500.017; Fri, 10 Sep 2021 07:58:19 +0000 In-Reply-To: (Stefan Kangas's message of "Fri, 10 Sep 2021 09:19:29 +0200") X-TMN: [d7QHT4HJb0qIbxju/fUx8jrMjyl1ToW/] X-ClientProxiedBy: AM6P192CA0104.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::45) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87r1dwc15x.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM6P192CA0104.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Fri, 10 Sep 2021 07:58:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5dd78d8c-20bb-4a49-c5bc-08d97430c097 X-MS-TrafficTypeDiagnostic: AM0PR09MB4194: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KHDQ65wrg7BNNhS7c8nPghU6c/JaafbZct7X4D5aPtHEzF7x/nr4wHGCM8jmmYLa1N7E5qEOdn7BtVt6ZQcV2iQTfSCEucpCGWEIcwgf6PTXMhPcXTHOaKanDo67xlW4d+WX5lrWkC0TYgypNPvp5dMvG6qnMZRegtM6i38up+I5LFwhH2NMArtHV6v8m0hmD+NmWNoKnJLLc0xMt+QUkrN/d7FjzvVPRfKY3T2yHWGKwFVqhyeyZV0BsWnSxrnoBTZg0Ib0jLqMH/XCxbwB3J6D8a0VS1+WztJOwTYtzFO1O6o9yb5iNvxJmtBrI46ZeQfKkIjipRWWBYt574PRPpcssiGl/zBhO4CRwL4JQWcK1nm0e638DNqrOunMCw2fIkp5jo0hQguZiRymGciictgHnvxZXndqz2s9y75gOFYPlVoClN6SMD1/FDuhCcG3 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5YGRMDKAzcOY6LC2Y45puQO4dijWsBt20sLyznHg0tLAXdI7h1YNBVki8lwaWmElHeo5JlaUtlqv0cm7veGpdk2o7BPBd1yT5ILp/OL66psLYJo06Lv/H3EP0iJLI1a/tYU4hwA1WnCF8q9Xth82qg== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-72e6e.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 5dd78d8c-20bb-4a49-c5bc-08d97430c097 X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2021 07:58:19.2351 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR09MB4194 Received-SPF: pass client-ip=40.92.67.86; envelope-from=arthur.miller@live.com; helo=EUR02-AM5-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:274504 Archived-At: Stefan Kangas writes: > Arthur Miller writes: > >> After looking into the helpful code I realize it used s.el, dash.el and some >> other libraries which are not part of Emacs, so I guess chances to get it into >> Emacs are slim to none, since all those packages would also need inclusion. > > From helpful.el: > > ;; Package-Requires: ((emacs "25") (dash "2.18.0") (s "1.11.0") (f > "0.20.0") (elisp-refs "1.2")) > > IIUC, "dash", "s" and "f" are just convenience libraries that could be > replaced with built-in functions. We have already added some things > to Emacs in recent years that have been inspired by those libraries, > and if there is something needed that is still missing, we could > consider adding that too. > > I don't know what "elisp-refs" is or does, but it has the same > principal author as helpful.el. > > So it seems to me that none of this is impossible to resolve, in one > way or another. No, of course it is not impossible; I was aware of that when I wrote it, but still, it means we have to re-work it. But someone else didn't want to have two different code bases etc. What I have learned form this list, is, if I want something to have, I have to build-it and submit patch, and not even then I am guaranteed to have it in Emacs :-). I also haen't seen any responses from Wifred, so I'll just see if I can implement those things I care most for: lookup docs for autoladed functions without docs in the stub, and not yet loaded, and code inlined in help buffer, instead of just plain link. The former would make it possible to save some space, for example docs does not need to be included in stubs, and can be fetched on demand, and the latter is just plain nice to have. It saves time if I can just scroll other (help) buffer and read the source without need ot click on link in it to fetch the source code.