From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: On the adoption of transient.el Date: Mon, 5 Jul 2021 23:50:53 +0700 Message-ID: References: <877di4on3d.fsf@posteo.net> 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="2308"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gabriel , Emacs developers To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 05 18:52: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 1m0Rpc-0000Pi-4V for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Jul 2021 18:52:28 +0200 Original-Received: from localhost ([::1]:58994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0Rpb-0006ZJ-3Y for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Jul 2021 12:52:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0RoK-000561-5P for emacs-devel@gnu.org; Mon, 05 Jul 2021 12:51:08 -0400 Original-Received: from mail-ua1-x92e.google.com ([2607:f8b0:4864:20::92e]:46693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0RoI-0001YZ-IE for emacs-devel@gnu.org; Mon, 05 Jul 2021 12:51:07 -0400 Original-Received: by mail-ua1-x92e.google.com with SMTP id v22so1356170uaj.13 for ; Mon, 05 Jul 2021 09:51:05 -0700 (PDT) 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:content-transfer-encoding; bh=evFkHqSojqNv4svrat/6XmwgBoh9OZsvUDpeI9qGmIU=; b=TY5cJ3NyOhg5faqV7wp/EtLpZLSMKZbLGOtj1BxIAuN2kEcjBNuiziRCkcAX2Opb5S 0vKS/5DEPPGF9Dz0haYf6Q1tqMg2rS4svHpshXlAmkHHSCildobzkEL8diFyqgBBTRRX Y3hrdz18t5sY97+toq1nPiSL7yOqsiIbVOAjbWazfMg74NszRsKlwzGhhGvGZ413QKa1 antdSAfckwst8z8nRS6bBc0d6ekkX+Pk9apcYzzSZh8/p3eeMSyclB3yMb8493oz3RSp EK2gj6+IJF3mT5RF9tKyHkSMXmr9HEeCGDTlnzaQN4/gdOaSnXwHInN+8+OBkh2FY5Dk jirw== 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:content-transfer-encoding; bh=evFkHqSojqNv4svrat/6XmwgBoh9OZsvUDpeI9qGmIU=; b=QUJRgemJof4naREBY5D27Qx+4wT6YjGi2w0MvaERTbexpczeOyWqNRmMvk6jYLnQx7 tt/Qzboov/zQ7K47brDNUj6xI3Mx266xIw/y70MGh4vwqSUQ3H+E3Eai2DXyehMEOu7J EnBrgUuLlNb80bXqN4RB6kLm2mCbsVCjxV2UxKs8QyDs83sfP0uyloBlQLW6TpbP/pDI lwuUiurfT2KKUrpxvW28W5TvIvdkw7xAINZUfjUlS0H0uuxtEB4A1F5WfFcAkRhVYrtg vNCVA12g2vr6ybQP4Bh2VSbSGtvQX8Cagd+5w7GMyN2NG93xyrSYxWFhJT2Pe7LaLUEf gNHA== X-Gm-Message-State: AOAM531UN88/ithserx8rV/o5mIntesxj61hGaNY1ybOcScx3LB2g/er niwz1yU4epGSAsAobmfiFhcrgJM85ezPNN8wmLM= X-Google-Smtp-Source: ABdhPJx4lqj9ppzKcBDd8ygCBHZKvDZ1OG8rhKKbokYnFjbdGtySO5sgLvUzHLVmcthqdv/03i1uOTSZY/QnMW7tqIs= X-Received: by 2002:ab0:211a:: with SMTP id d26mr11287265ual.41.1625503865050; Mon, 05 Jul 2021 09:51:05 -0700 (PDT) In-Reply-To: <877di4on3d.fsf@posteo.net> Received-SPF: pass client-ip=2607:f8b0:4864:20::92e; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x92e.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:271134 Archived-At: On Mon, 5 Jul 2021 at 21:25, Philip Kaludercic wrote: > Do you have any concrete examples where it could be used? Every time I do an =E2=80=98M-x rgrep=E2=80=99, I am asked three to infinit= y questions, in a sequence: * A regexp to grep for. * A wildcard for the set of files I want searched. (The default value is inferred from the extension of the file name of the current buffer, so if I=E2=80=99m in a Dired buffer visiting =E2=80=9C2. Name of the second= book in a series=E2=80=9D, I have to change that.) * A starting directory. (The default is the current buffer=E2=80=99s defaul= t directory.) * Whether I want to save some buffers. I could probably avoid most of these if rgrep displayed them all in a single transient prompt and maybe had single-key options to search (a)ll files, files matching the e(x)tension of the current buffer, or a custom (f)ile name wildcard.