From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MGt+DqihA2AyKgAA0tVLHw (envelope-from ) for ; Sun, 17 Jan 2021 02:32:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id Xp0kCqihA2BrKgAAbx9fmQ (envelope-from ) for ; Sun, 17 Jan 2021 02:32:08 +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 B769B940355 for ; Sun, 17 Jan 2021 02:32:07 +0000 (UTC) Received: from localhost ([::1]:60484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0xrJ-0001Hh-HX for larch@yhetil.org; Sat, 16 Jan 2021 21:32:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0xqw-0001Ha-Mq for emacs-orgmode@gnu.org; Sat, 16 Jan 2021 21:31:42 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:60886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1l0xqt-0002NA-PI for emacs-orgmode@gnu.org; Sat, 16 Jan 2021 21:31:42 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4DJJnz0DTJzQlRs for ; Sun, 17 Jan 2021 03:31:35 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id 0eEpwHhwtw2v for ; Sun, 17 Jan 2021 03:31:31 +0100 (CET) From: Kevin Foley To: emacs-orgmode@gnu.org Subject: Custom Bulk Functions With Prompt Date: Sat, 16 Jan 2021 21:31:27 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-MBO-SPAM-Probability: X-Rspamd-Score: -2.64 / 15.00 / 15.00 X-Rspamd-Queue-Id: 190611835 X-Rspamd-UID: 95636a Received-SPF: pass client-ip=80.241.56.151; envelope-from=kevin@kevinjfoley.me; helo=mout-p-101.mailbox.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: B769B940355 X-Spam-Score: -2.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: sk1jZ0PHclmP I'd like to setup a custom bulk function using `org-agenda-bulk-custom-functions', however I'd like to receive one prompt when I select the action and then have the action performed on every entry without being prompted again. For example the bulk tag function lets the user specify a tag once, then applies that to every entry. As far as I can tell from looking through the source code, there's no way to replicate this via a custom function. Is there something I'm missing that would allow me to do this? If not, any suggestions on how support for it could be implemented? I'd be happy to submit a patch but I'm not sure of the best way to approach it. Kevin Foley