From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: 29.0.60; keymap-local-set and keymap-global-set became less strict Date: Fri, 03 Feb 2023 04:56:49 -0500 Message-ID: References: <5876987d-2479-f512-5767-218c8c16a909@daniel-mendler.de> <875ycngyji.fsf@gnus.org> <87zg9zvzuc.fsf@gmail.com> <831qna3frm.fsf@gnu.org> <87mt5yogct.fsf@gmail.com> <83y1pi1wz4.fsf@gnu.org> <87ilgmodk4.fsf@gmail.com> <83mt5y1r5u.fsf@gnu.org> <87bkmdo8e4.fsf@gmail.com> <831qn91qo0.fsf@gnu.org> <137753af-777d-2da3-c111-7e2d414633f1@daniel-mendler.de> <83sffpze9h.fsf@gnu.org> <309dee07-e404-4f84-a839-8b99815376f8@daniel-mendler.de> <83mt5xz42d.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2815"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii , mail@daniel-mendler.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 03 10:57:48 2023 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 1pNspH-0000Y3-8J for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Feb 2023 10:57:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNsoO-0002wS-IX; Fri, 03 Feb 2023 04:56:52 -0500 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 1pNsoM-0002w4-FK for emacs-devel@gnu.org; Fri, 03 Feb 2023 04:56:50 -0500 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 1pNsoL-0004a7-QT; Fri, 03 Feb 2023 04:56:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=YeTNUCXbBuJFTYnjtNYbkiH2vrh6sSJKUSmXaLJPKMY=; b=a3pm5y2SIIBc ZrQt8uakLFrXsovtc0PZifXkXqdNZDS/9YDR8kJRfh1tAVeYCFzHLTLkf14uf4kLOeAGdVON641Yd CC92VM4NijVvwI++5p97ilBriNnYzY7aeYdSzJ1VIY/C0fr34QtsKdly0kKnnpob0r6pcqgrIkHqp 7PUjq0qTKfbJXYuJQdFhtUPoxk5iAV0Mzp9kpGzLCxdAo6OiP591VjpIYrbsb1B5jLRPryKM3uBFe GhtTuVf4SuB+OEPh/3VPm2hnkRsJOwrLWbZ6Jvf/iJ+b3eRoflCnKfHODau41o72Lq/KqjdodiJPK iEhs12+yd42H1O2c6JBclw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1pNsoL-0005zm-Gu; Fri, 03 Feb 2023 04:56:49 -0500 In-Reply-To: <83mt5xz42d.fsf@gnu.org> (message from Eli Zaretskii on Wed, 01 Feb 2023 19:30:18 +0200) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302920 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > The advertised API wouldn't change. We don't expect anyone to use the > additional argument in non-interactive invocation. We can use > advertised-calling-convention declaration to hide that argument from > documented interfaces. Why hide it? It's better to document it. Occasionally, passing a nontrivial value for that argument is useful. > I still believe it is better to not leak implementation details as an > optional argument in this I would not call this 'leaking', because that assumes there something we need to "contain". Having an argument for interactive call, described in the function's doc string is not a problem, just a slight complexity. By coontrsst, `called-interactively-p' has real problems. It was called "fragile" for good reasons. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)