From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eqsjFePRB2DIbwAA0tVLHw (envelope-from ) for ; Wed, 20 Jan 2021 06:46:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aFBuEOPRB2CWXAAAB5/wlQ (envelope-from ) for ; Wed, 20 Jan 2021 06:46:59 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A643B94029C for ; Wed, 20 Jan 2021 06:46:58 +0000 (UTC) Received: from localhost ([::1]:41514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l27GZ-0004zl-TV for larch@yhetil.org; Wed, 20 Jan 2021 01:46:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l27FY-0004z3-L2 for emacs-orgmode@gnu.org; Wed, 20 Jan 2021 01:45:52 -0500 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:38750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l27FW-0007FF-Mj for emacs-orgmode@gnu.org; Wed, 20 Jan 2021 01:45:52 -0500 Received: by mail-pg1-x536.google.com with SMTP id q7so14563022pgm.5 for ; Tue, 19 Jan 2021 22:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=H3nzh/CUGtIMbn7Ke1fTCupnfALs0VhsMv8hLIYbcJM=; b=ficODkhIdGY17Dt6wMEtF5ho+iWpkbh3NywR3gQMkrFWgGPNM/LIBPOgYF7QXMzx5Z KQYlDQgiwDar+ek6hyzDUDLWAalxqEhiqEetAAS8FyBUWI+Pql7YaDeLjh+tVExlcpuv yDub6INUixrrifslcWU5cA5fk/OP4c9K5IXi7TvppOsui4vPLykRX7pUsTvpgiO0penE bQLczVbu+ZOgmwrWZ/v/KI/pT6BauNLH+obqT0WCN8OwgtkBpWOQodWZAM16oGeaPPKn oafTrG/3kFnSs9BzDMMT0xIhE7dAEUXYSzKkDTa5ei4mOUwtamh0tJtkZrEhPUWFzYR9 fOsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=H3nzh/CUGtIMbn7Ke1fTCupnfALs0VhsMv8hLIYbcJM=; b=qGndSGDRGvacC5SavCI2benkVNR+2fCP2Kz8uUv8UOhMyD0+nmWNVb4q80gkU/kzNU 6ozBu1ROm43hSvCVXyqHM0WKaNGvqpPhSF94T5jeaQLlDqYpdyGZdNXmClQVeaWIH2yK WjFJSePJpahG/nzTAJJZZVQw2VghTnRgRa/smy6gQyfcFMRSZcme5iPhcZCNXyEInRzh KJiXReEVta9f/ZbLksGd9o617CPK1NHivLGjej+zzdtEjSAmhV9eXGNSX+XjLDPEzSq0 W8yLbmt9JuOtx+177HLecquviJUqQuQ33KuBGSh2r6scW822iMvHoCy1TFoHZZLO3ZPI XK/A== X-Gm-Message-State: AOAM533zRAb0JQIp6rXE3RH74UDfK+xbHrp2+nwwjd+1YqzfbrgsQG/y tyQpJRcGXO2zUlNLLTI206o= X-Google-Smtp-Source: ABdhPJyR3Ls69QqXtn506RJJIxymG0pds3LcOdv9ea8OjS/qWnNeWIIBw7tjT/1rqDAt0YuPAzNqeA== X-Received: by 2002:a63:2262:: with SMTP id t34mr8003763pgm.166.1611125149191; Tue, 19 Jan 2021 22:45:49 -0800 (PST) Received: from localhost ([50.7.251.66]) by smtp.gmail.com with ESMTPSA id d22sm1058414pjv.11.2021.01.19.22.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 22:45:48 -0800 (PST) From: Ihor Radchenko To: Kevin Foley , emacs-orgmode@gnu.org Subject: Re: Custom Bulk Functions With Prompt In-Reply-To: References: <871rekxgpf.fsf@localhost> <87lfcrvvro.fsf@localhost> <878s8qwrvb.fsf@localhost> Date: Wed, 20 Jan 2021 14:49:52 +0800 Message-ID: <87v9bsumpb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=yantar92@gmail.com; helo=mail-pg1-x536.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ficODkhI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: A643B94029C X-Spam-Score: -2.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1bawKCoQpbF/ Kevin Foley writes: > '((?R (set-category set-category-args)) > (?C bulk-cut)) > > I mostly went with this because I'm not very familiar with `pcase'. > I've confirmed it works as expected but let me know if you still think > another approach is better. I understand now. I thought you wanted to use different format: (?R set-category set-category-args) Then, your code looks reasonable. Just need to document the new custom bulk action format. Best, Ihor