From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Imports / inclusion of s.el into Emacs Date: Tue, 05 May 2020 09:10:14 +0200 Message-ID: <87a72mx3ft.fsf@gnus.org> References: <831ro2tqqx.fsf@gnu.org> <4a1fd3f4-df92-c756-9874-4d07b54148ac@yandex.ru> <83v9lesapw.fsf@gnu.org> <83pnbms9m8.fsf@gnu.org> <83a72qs4z2.fsf@gnu.org> <83wo5uqoh5.fsf@gnu.org> <838si9qf7s.fsf@gnu.org> <83pnblov3t.fsf@gnu.org> <6C836138-819D-4D1C-982C-72F49867997E@traduction-libre.org> <83bln3ojit.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="40721"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: jean.christophe.helary@traduction-libre.org, emacs-devel@gnu.org, joaotavora@gmail.com, dgutov@yandex.ru, Eli Zaretskii , yuri.v.khan@gmail.com, monnier@iro.umontreal.ca To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 05 09:11:05 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 1jVrjN-000ATN-1w for ged-emacs-devel@m.gmane-mx.org; Tue, 05 May 2020 09:11:05 +0200 Original-Received: from localhost ([::1]:49146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVrjM-000765-4Q for ged-emacs-devel@m.gmane-mx.org; Tue, 05 May 2020 03:11:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVrim-0006bJ-U1 for emacs-devel@gnu.org; Tue, 05 May 2020 03:10:28 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:45790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVrim-0003b8-3x; Tue, 05 May 2020 03:10:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ww4+N92yNhQEEB6lzMM3OsbBO8J9M5RG16+JzjGDWRI=; b=RyROmyVRCCqGU4c+RWMyjCc3nS TOjPcUgT73hrOVKFC2x7UfeQkory93x3zx+D09rgH5xb2C84BYqnOeZASIyizXOSh8jmlqfgXIX/N GSvx8w3YYGwOfaiJHePTn8c5qzOlJh99vrJIbl3YdSuv9dhen+L4KWi0kPAR5hiNgmuo=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVriZ-00031J-DY; Tue, 05 May 2020 09:10:21 +0200 In-Reply-To: (Richard Stallman's message of "Mon, 04 May 2020 22:52:03 -0400") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, 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:248943 Archived-At: Richard Stallman writes: > > The doc strings cannot be used for this purpose, because they lack the > > information about the groups to which each function belongs. > > Don't worry about what information Emacs does or doesn't have. For > providing better help, we can add whatever classification data is > useful for that. Adding that data is just some work -- it is not an > incompatibility. People who like some new help interface will add the > data it needs to work. Indeed. My suggestion was to add a grouping operator to functions (like we have with variables (i.e., defcustoms) that could be used to do these simple overview pages a la the s.el documentation. For instance something like (define-function-group concat :group string :example "(concat \"abc\" \"def\" \"ghi\") => \"abcdefghi\"") or whatever. The overview list would then consist of the first line of the doc string and the example(s). The normal help buffer for `concat' would link to this list of string functions, and the entries in this new overview buffer would link to the manual entry. I mean, this is Emacs, the self-documenting editor. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no