From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Current mode command discovery Date: Fri, 19 Feb 2021 14:33:53 -0800 Message-ID: References: <87v9aubm96.fsf@gnus.org> <83a6s6bkrg.fsf@gnu.org> <87mtw6bkjo.fsf@gnus.org> <838s7qbjn2.fsf@gnu.org> <87eehi820x.fsf@gnus.org> <83v9at9xel.fsf@gnu.org> <87wnv8xlqa.fsf@gnus.org> <838s7o9g90.fsf@gnu.org> <87im6revhq.fsf@tcd.ie> <83im6r98qd.fsf@gnu.org> <87k0r7uade.fsf@gnus.org> <83eehf978r.fsf@gnu.org> <87ft1vu9hd.fsf@gnus.org> <838s7n95pf.fsf@gnu.org> <8735xvu7sx.fsf@gnus.org> <834kib94ha.fsf@gnu.org> <874kibh9mu.fsf@telefonica.net> <83o8gi7lh2.fsf@gnu.org> <871rdebmmh.fsf@telefonica.net> <831rdc4epn.fsf@gnu.org> <87o8ggte2j.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b0c26605bbb80c4c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="345"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ofv@wanadoo.es, Eli Zaretskii , Richard Stallman , EMACS development team To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 19 23:35:15 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 1lDEMl-000AZb-0I for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 23:35:15 +0100 Original-Received: from localhost ([::1]:60430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDEMk-00032h-1R for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 17:35:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDELg-0001YZ-Vc for emacs-devel@gnu.org; Fri, 19 Feb 2021 17:34:08 -0500 Original-Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]:34656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDELf-00039W-5W; Fri, 19 Feb 2021 17:34:08 -0500 Original-Received: by mail-yb1-xb2e.google.com with SMTP id r127so7041173ybr.1; Fri, 19 Feb 2021 14:34:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JIfn40XMgT1ux9Ny3ngXGvsK2EGOitrDrtdyR5Z9X3g=; b=V4O0JYbYpUQD7aQsiYMXRNg918jtZZZjFtDZ/HQt3jlGtaZrZDqTdlJiiPxNdbW/yx jnAIjueoQ9HGcG/yAxUeRiqFdgkGzpk0JZFmn28+ONDsGQh37qpQIkDQ96+SLXkyiUVF KbRbbSLc+ssbkkDgTCxu1AaAejB6E55n+su7s6KaCYdC6E8xvGgUmAHUPECv9Vr+/24H lZeN+MBhukxxXyLLLYgIjLgfUSmAdgpPD0EZBm6Oa0QfTUYN1ajFNXQcSxRrnlXeuT0A KXvFHgh6+3zggUCp0RwRdvRNMfcxNVksHrmrTU1UtCSgfu9MfNAJePT/Gi64+uJnvK25 +TCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JIfn40XMgT1ux9Ny3ngXGvsK2EGOitrDrtdyR5Z9X3g=; b=WMYG9mSYDXhglhRPvWooMRcc3c2wOzz9wh+HinS4W3C3TmaTAidqu3mvh+VSpHaRh2 ETPkTd3hE1p5xeJkwMSxHYfKNF0rWD5BZahNS32eUXL5BJpVOfO1NJseSf5tXjg9nDUa e0IMZ+xuqL5U2xaOf3f7HOZqDfhYr2yhoWTQ+pSpYhk5+gwekebEbsuOOFFhSPY4CFBk +bDKrxofFHrYcL7gfO/4lEg+eDf526qoIqhyng0fWaEXueLL2iQVVRcb9oI2PGMavI+L Dle8TQ2vHFflbDXBy39ZHZdatR2W6g+fEwlY5TxnLaXTsmxIXuItv+anukdHtP/tEX8U jB4Q== X-Gm-Message-State: AOAM532yk8Vh3YtvvIwM4ZCMam6KgQnCmQWA6iveUjROcHBRCSikrjqS H30bXFy0PIngxv+2pjIrWc6kDoJDi4nO9FU6Z570KMTUbeA= X-Google-Smtp-Source: ABdhPJx9B18/i2tEpW5FRX6GZB1e9Igx6GFpAfIJzpowBB+rpSJX8k9IXpxKTiPc9LTZy23DqFt2PutTiGxz3T9QXGU= X-Received: by 2002:a25:d296:: with SMTP id j144mr17143555ybg.33.1613774044839; Fri, 19 Feb 2021 14:34:04 -0800 (PST) In-Reply-To: <87o8ggte2j.fsf@gnus.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::b2e; envelope-from=yandros@gmail.com; helo=mail-yb1-xb2e.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, HTML_MESSAGE=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:265286 Archived-At: --000000000000b0c26605bbb80c4c Content-Type: text/plain; charset="UTF-8" On Fri, Feb 19, 2021 at 4:53 AM Lars Ingebrigtsen wrote: > > A variation on that would be to query the user first when they type in > a mode-specific command (that belong to a different mode) -- "You've > asked to execute `5x5-solve-rotate-left' which is specific to > `5x5-mode'. Really execute?" > It reminds me of the disabled-command-function machinery, or at least the concept. Maybe there's a decent way to leverage the two concepts into a similar UI pattern? ~Chad --000000000000b0c26605bbb80c4c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Feb 19, 2021 at 4:53 AM Lars Inge= brigtsen <larsi@gnus.org> wrote= :

A variation on that would be to query the user first when they type in
a mode-specific command (that belong to a different mode) -- "You'= ve
asked to execute `5x5-solve-rotate-left' which is specific to
`5x5-mode'.=C2=A0 Really execute?"

=
It reminds me of the disabled-command-function machinery, or at least = the concept. Maybe there's a decent way to leverage the two concepts in= to a similar UI pattern?=C2=A0

~Chad
--000000000000b0c26605bbb80c4c--