From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: command mode-specificity [was: scratch/command 064f146 1/2: Change...] Date: Fri, 19 Feb 2021 12:21:30 +0100 Message-ID: <87a6s0s3ph.fsf@gmail.com> References: <87v9aqn5eq.fsf@gnus.org> <83h7ma7k5y.fsf@gnu.org> <87tuqa1ogn.fsf@gnus.org> <83tuqa5ug7.fsf@gnu.org> <87eehdy5ie.fsf@gnus.org> <87tuq98gdl.fsf@telefonica.net> <87pn0x8f8l.fsf@telefonica.net> <87mtw1s1jk.fsf@gmail.com> <87im6osau6.fsf@gmail.com> <8335xs4eu3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18354"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ofv@wanadoo.es, acm@muc.de, casouri@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 19 12:22:28 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 1lD3rf-0004gh-Vl for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 12:22:27 +0100 Original-Received: from localhost ([::1]:47666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD3rf-0002Oe-0A for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 06:22:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD3qr-0001aG-Rq for emacs-devel@gnu.org; Fri, 19 Feb 2021 06:21:38 -0500 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:44961) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lD3qo-0000DM-Cw; Fri, 19 Feb 2021 06:21:37 -0500 Original-Received: by mail-wr1-x436.google.com with SMTP id h98so3004662wrh.11; Fri, 19 Feb 2021 03:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=GWBKgUpJQ2NFX9PwTLuQ5vwUwKzpFZrJJbueJ0iu4dw=; b=Y2al2qRym62ynynTWmZUMXDzNTN6oXYX8suur/J2Wl1kcfdu0+SAyb7lKoWJAujnzn 49+TdFNcDkke+GvbIS75Uj+T4WkoUkPQXD8o3u2X0spiNRZAJCqNOcywbMyLpr0mft19 zwdUCknu/SvMFlhPYX/16Qa6dKUsTqDrelHWixoWqxSMO9KdyN0WRy4tvIVXPkdod7Tm uNy7HOcFdZPi+4YuuwPcStmvDJh+kHykSLgY574Dc12kHncnRPpQgYL+bs6hv6tf0rKv LRne1nzFZZwxP6U5fUAMPdHgcaIr0SCdNqbTUNiIE98t3R+lbOqufNvKI1fely23fDad u2Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=GWBKgUpJQ2NFX9PwTLuQ5vwUwKzpFZrJJbueJ0iu4dw=; b=j4luQ8eQtZ38CJbIDQyC9b9+286mVme3ykWLtmKYuRqRQf7yLiNPBqYp7phVG4/b1X pJ4ZSOpM/t6DI7KTZn/D1VjEz7vFXBkW50gcAHa2PqJn7vPgXE8/DsrdrWvK4si2mRH0 1Ol4zGuzRrDIph83TpzqWj/VS0PxRu10lDZGxyTqRN7gg8liB1oIC6fSVUP9YzlnQvv8 djr7dcvAGShkcLIJ2yj0qLN6k5CMqpXLQh3ZxOOxo8pdULNxNrUml0bQ0BQ/0lIup1nX m80W9SEY/8G6zzJxEVEB3L7BJSYC99wURKGKYdnV9RPB2ZvxE9CIo4Dfipr46mbGXoAD Ridg== X-Gm-Message-State: AOAM530EcPfZiKlfcbG5xoLrwBncye58OAgZvUQKBX43euTBHnFRPgfZ UbUvIo1Vor9Gl9FNmSByO2ahtLvRPNn3mw== X-Google-Smtp-Source: ABdhPJwL/WP6LUKDdwCMDIHETxgdkK9vf/cwA5dt/DQGERhTQiJmjJu0NfBV+KjhAydAVs5MY8G2MQ== X-Received: by 2002:adf:f6c3:: with SMTP id y3mr8732990wrp.24.1613733692072; Fri, 19 Feb 2021 03:21:32 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:2154:6435:5293:4d19]) by smtp.gmail.com with ESMTPSA id r12sm1506396wrt.69.2021.02.19.03.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Feb 2021 03:21:31 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <8335xs4eu3.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Feb 2021 10:55:00 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=rpluim@gmail.com; helo=mail-wr1-x436.google.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, RCVD_IN_DNSWL_NONE=-0.0001, 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.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:265221 Archived-At: >>>>> On Fri, 19 Feb 2021 10:55:00 +0200, Eli Zaretskii said: >> From: Robert Pluim >> Date: Fri, 19 Feb 2021 09:47:29 +0100 >> Cc: =C3=93scar Fuentes , >> Alan Mackenzie , emacs-devel >>=20 >> The user can always override the author's specification by putting a >> completion-predicate on the command in question (this would be a good >> use for the 'always' function people have been discussing in a >> different thread). Eli> If by "user" you really mean users, not Lisp programmers, then I t= hink Eli> the above is too obscure for a user-level feature. If we want to Eli> expose this functionality to users, we will need an interactive Eli> user-level command to produce such effects in a convenient and Eli> user-friendly fashion. So M-x make-command-globally-available RET RET and M-x make-command-locally-available RET