From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: The new keymap functions Date: Tue, 16 Nov 2021 15:24:09 +0100 Message-ID: <875yssrxfa.fsf@gnus.org> References: <87zgq8sfw3.fsf@gnus.org> <8735o0mgj3.fsf@fastmail.fm> <87v90wi7hv.fsf@gnus.org> <43bf1f9b-55ec-67b6-1920-98179a5d6903@yandex.ru> <874k8dz7fq.fsf@gnus.org> <87czn08sqd.fsf@gnus.org> <83lf1o19d1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9976"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: joostkremers@fastmail.fm, emacs-devel@gnu.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 16 15:26:58 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 1mmzQG-0002D6-UI for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 15:26:56 +0100 Original-Received: from localhost ([::1]:41470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmzQF-0006du-Ay for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 09:26:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmzNs-0002Vp-Gi for emacs-devel@gnu.org; Tue, 16 Nov 2021 09:24:28 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=44388 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmzNj-0003nc-JG; Tue, 16 Nov 2021 09:24:23 -0500 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=LruLwhSdpH9IZg4OXTR4OnXk7OTUvHWSBAMdW4q+TR0=; b=uzgLeER4zTjYKG1DtL6s+LGVg5 RdbXxAnckQAbWbxwqQfd8gNGte8bYsntb4oZuxi5B4JPRce7KeQG/txJhaookm1j19r2RQHL87fqb ihyEGNiD0fshX7M+fOPwFb3JJr1XXOK6jnO5k2Md0GVMM0bpmOvfbNNdp9Mkbsn6B9KI=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmzNa-0006Ra-U0; Tue, 16 Nov 2021 15:24:13 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUJBwagnZdYVEwu KiT///+3IlLjAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+ULEA4UMzZ03VYAAAGfSURBVDjLzVJLsuMw CFTEBcboAhZ9AQz3v9s0lp24ajKLt3ssEovm23RrP7fXRvvzBehzM92/ANtp/i9gm9GuxxeczpT0 8EzPJ05nAeItP55n2ucTmSsm6RV71xEAKfWQViEZ9+jCFMnr61krwzLYuVVCPtplmixP4Kzv76mQ EfXqEG4hFyIWaVlvAsxm0jnKCfjq3i2Bq161iGQxzpmd/9JvQAo4TaTmDSBvAMvvUr26AauUWQGc mM1Rr7VtAz+5HQEyyySDrS6MsZEHtx+LKwm/M+aIDTiUvXHWXAeIVEvlarbP8TgeY2A5GTyhmh92 uSCU4cl41f4QSXbdyXya6rYbR1hUNc6tCBObagr+tmuPQJ+IURSbckIqbIlMduFONLWDAGknM8Ij zEEmYnINtW0roMMLMBRwoA8JaljNL9ExwmFhAfJkvNPuq7l5F7TgtYN64Z1wSdP8lSOj7ZRCMMpQ 0vMqxcsKAVI4eSSXt/jrYLFzmJjs/NBblEB2to0ZNx+0o+51cHWIkMOPSKOmixxX6FO8JzGj/ce8 /Sb7C2LtUbGrdU7fAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTExLTE2VDE0OjIwOjUwKzAwOjAw MDwnzgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMS0xNlQxNDoyMDo1MCswMDowMEFhn3IAAAAA SUVORK5CYII= X-Now-Playing: Fairport Convention's _What We Did On Our Holidays_: "End Of A Holiday" In-Reply-To: <83lf1o19d1.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Nov 2021 16:08:26 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=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.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:279562 Archived-At: Eli Zaretskii writes: > The changes to the ELisp manual completely removed the documentation > of global-set-key and other "legacy" functions, AFAICT. I don't think > we can do that: the code which uses those will remain with us for the > years to come, and Lisp programmers should be able to read and > understand what these functions do. It is okay to say "don't use > those in new code" (as you already did say), but we should put back > the documentation of those few functions. There aren't too many of > them, and their documentation is quite short, so it isn't a big deal > to have them in the manual. They are still in the lispref manual (and indexed, if I didn't mess that up), so people should be able to find them. However, they just point to the new functions -- which have the same call signature and semantics (except for one function), which is why I didn't think it was worth talking more about them in the manual. The documentation of the new function (along with the doc strings) seems sufficient to me. A manual is primarily for people who are writing new code, not for rooting out how legacy functions work. The built-in doc system is better for that. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no