From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: command mode-specificity [was: scratch/command 064f146 1/2: Change...] Date: Thu, 18 Feb 2021 13:15:18 -0500 Message-ID: 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> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) 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="4888"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?=C3=93scar_Fuentes?= , Alan Mackenzie , emacs-devel To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 18 19:18:38 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 1lCnss-00018r-A8 for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Feb 2021 19:18:38 +0100 Original-Received: from localhost ([::1]:60188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCnsr-0000UW-5t for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Feb 2021 13:18:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCnpl-0006wR-Uf for emacs-devel@gnu.org; Thu, 18 Feb 2021 13:15:26 -0500 Original-Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:32938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCnpi-0004jQ-Pi for emacs-devel@gnu.org; Thu, 18 Feb 2021 13:15:25 -0500 Original-Received: by mail-qk1-x72c.google.com with SMTP id b14so3061722qkk.0 for ; Thu, 18 Feb 2021 10:15:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=75qzSU6377Ncgi4DrRy/Bnu9aN8BPX01jfXHLn7OsdA=; b=NKP7IK/0INCdlx2C/oIoCx9lMXDOqnzpOrOn6k20JaWr1gwhhGqbptijvSS+CfcWHu qqb3A7EDPjjTY9Htw74udWzGsg1gbBYSmGhnftQ+cOXSITjeCgBpyW+Ab/dBEJsDKJUP r4ocQrL8xqycBFwcPBOUfpmxdP1XlnLaaJSAa78QG2jHHTHfMRaN5RKpZAQmHubmdTe6 nsfOOh7PmmnT2lpBQMb94B33qqV0hjgupV+gpmeUBsEdkB4KY4UVBsFR+k4neibvn+oG qYbChziqCF+OYq9+soMGpHHchCo6xjcgB4jjJxFuH4E45V4uhUys7wcEJBDlwVC7pu+C vSRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=75qzSU6377Ncgi4DrRy/Bnu9aN8BPX01jfXHLn7OsdA=; b=Go30KklvCUAhcCB3KHWSukc+aFhu0FLeeiR5zJ69W0WfZW4cJ6dZJWDmyGFTeVzBZd HIVUsp2KawkpDnrGH8useV3SE70ojfsdUwRIYDSlJ1a9sau0wabEhYOm0Hm3ueZcTLRy y61Yvq7zb5fu7IGz4ZhOHRQlFyHC5AX8V2TYo452oT2ap4x9tGXRuVNyT4c0CeSaBd1Y 8SAcohTOWZDFuD01p6M9YRyfS22cpQPnDaZC/HzE1Lk19bd30wQuHJX7l2hrkIU3BSe0 Y2W2Zo8iLg4/3MKkfvKrJITntMuIOLklGhYegMquwUDZ4ly1pgTOwE38gd3cgzJ9rHNE m4sA== X-Gm-Message-State: AOAM532cKCNjbeezGWpJlLmxifHnFcmydATjN9Di2oYOq42/3oYnfeNz L64wYOAJRVa4fMq1PZf0g7M= X-Google-Smtp-Source: ABdhPJzM/QhKpwYgR7qR3+f8jqyzzl06FV4kOz5mhSmB5vi1XU3VisBxi7SKDpC2o/eNljlj2g6wsg== X-Received: by 2002:a05:620a:250:: with SMTP id q16mr5598714qkn.405.1613672120210; Thu, 18 Feb 2021 10:15:20 -0800 (PST) Original-Received: from ?IPv6:2601:98a:4102:3d80:294b:be56:e657:f4? ([2601:98a:4102:3d80:294b:be56:e657:f4]) by smtp.gmail.com with ESMTPSA id g20sm3855156qtq.35.2021.02.18.10.15.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Feb 2021 10:15:19 -0800 (PST) In-Reply-To: <87mtw1s1jk.fsf@gmail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) Received-SPF: pass client-ip=2607:f8b0:4864:20::72c; envelope-from=casouri@gmail.com; helo=mail-qk1-x72c.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:265175 Archived-At: > On Feb 18, 2021, at 12:55 PM, Robert Pluim wrote: >=20 >>>>>> On Thu, 18 Feb 2021 17:35:44 +0000, Alan Mackenzie = said: >=20 > Alan> No, not from some other mode. We're talking about commands = shared by a > Alan> set of modes known only at runtime. If the list of modes = cannot be > Alan> updated at runtime, this is a deficiency in the design. >=20 > I=CA=BCm having a hard time thinking of an example, eg you might not = know > which of the modes provided by the cc-mode package the user actually > uses, but adding all of them to the relevant commands can be done > beforehand. Can you expand? Does the current implementation allow a user to modify the tagging? It = is possible that the author tagged a command as mode-specific but a user = want to use it elsewhere, or the author tagged a command wrong.=20 Yuan=