From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: A different way to interactively pass options to commands Date: Fri, 19 Feb 2021 00:32:29 -0600 Message-ID: References: <878s7m1mo3.fsf@gnus.org> <87ft1u9xhh.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38127"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: rms@gnu.org, =?UTF-8?B?w4PigJxzY2FyIEZ1ZW50ZXM=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 19 07:33:21 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 1lCzLs-0009oS-Ak for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 07:33:20 +0100 Original-Received: from localhost ([::1]:34346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCzLr-00083U-CA for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 01:33:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCzL7-0007d5-Iq for emacs-devel@gnu.org; Fri, 19 Feb 2021 01:32:33 -0500 Original-Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:38529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCzL5-0007eO-T0; Fri, 19 Feb 2021 01:32:33 -0500 Original-Received: by mail-pj1-x102b.google.com with SMTP id l18so3546441pji.3; Thu, 18 Feb 2021 22:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=uHh07biBRLhNjxEqxv1sPsKz/muk8TTTNwDKuGUQDBU=; b=OSkWM5lB0qRb7sA0ktYxm/oaqDF8sctB3C0q5jpzoczKqjvzjHAqjApPJDrKDbwWbT MBnrVkJmp5Z7k7wQCzJTOGpfKOS5ZtF3hQXTLjGzz3pDg7wKn7LGQDEooE+IikEbCYCD lnLNIVlLQHke1Yyl48nsXvaUNvSQjVhGnAvKBb5WCjJMABaDLIR6h8LyasZfJCPgMImV fw5GMOkQwEKXVTwQikOy3Kp5LOzs/b1InJREcCdYyqt7X6V99hR5iMWnsNDK1ADHhKwW BHhKloPuzlApi8IOXacZIjcLvuLOKYVwyZBko4QvpcSgZ109pS4Y++iJl2ILJiGZdyqC JQbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=uHh07biBRLhNjxEqxv1sPsKz/muk8TTTNwDKuGUQDBU=; b=Xewoe+VafGdvc0+Ur9ZktJvujUPIv8VcrUV6TmKjIn2J4+8+8h8hmFUFb4dzlbT3cK 5ZwNILaTb/bltIqZju/NqgrnKiegzNcGbuTnWgMy9g+WP9Ndli1IujXN9qNXZ9uOzbCu Bm63y24OfZqBz04RY5QdaKNOc2aLOniaXVOhmeWc8gMozPfXfj/YPXya/AbT59vVfdL4 /Dtb/av9dzixkwQjLFdGd/Zlp3DE28/fGqw1nPfx1td4oJI3V8PzJwbMBx1lCwZlNN0w 0m69RvYItVkmKQc4NZXZf4EkpZI1KxNLjznWcqu9iRI3eYdl5hoxE7x69RnTU+tNeisV zvFg== X-Gm-Message-State: AOAM5333amVVCBzgRlGI012Ok9coIlvCgCbdZpTW8i1FeOHfRJsdtTc+ 2B7aXb+AQf4dD96zs5VvRO+Aliinnq01e1EPAGiGQY+1 X-Google-Smtp-Source: ABdhPJzKpaGvt4Zb+UpOeuzIiENoRuvl4e3284LHwuJqOnAyThM0R+nsmIYU3imlp5MpPy4SJqSsZUehLeGESADrsa0= X-Received: by 2002:a17:902:ac86:b029:e3:c7bb:1dd9 with SMTP id h6-20020a170902ac86b02900e3c7bb1dd9mr213541plr.39.1613716350130; Thu, 18 Feb 2021 22:32:30 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 19 Feb 2021 00:32:29 -0600 In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=stefankangas@gmail.com; helo=mail-pj1-x102b.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:265210 Archived-At: Richard Stallman writes: > I see how it makes sense for a special mode, for a buffer in which > letters can be used as commands. But how can this be applied > to an ordinary buffer in which letters self-insert? The transient UI is only displayed when running a command. For example, I would press `c' in magit to show the popup for the commit action. In some text mode with self-inserting letters, you would run a command with a modifier instead, like you would any command. To hide the popup, you would need to press `C-g' to hide the popup. That would stop letters from being interpreted as commands (i.e. make them self-insert again).