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 +P9oCMh8BGDXMAAA0tVLHw (envelope-from ) for ; Sun, 17 Jan 2021 18:07:04 +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 KGExBMh8BGChLwAAbx9fmQ (envelope-from ) for ; Sun, 17 Jan 2021 18:07:04 +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 7AEED9402C8 for ; Sun, 17 Jan 2021 18:07:03 +0000 (UTC) Received: from localhost ([::1]:39794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1CS5-0006Yr-72 for larch@yhetil.org; Sun, 17 Jan 2021 13:07:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1CRj-0006Yk-Qx for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 13:06:39 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050::465:102]:31094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1l1CRh-0003vE-Mp for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 13:06:39 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2: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-102.mailbox.org (Postfix) with ESMTPS id 4DJjXn3Dw4zQlKq; Sun, 17 Jan 2021 19:06:33 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id SedeGYqnW_hP; Sun, 17 Jan 2021 19:06:30 +0100 (CET) From: Kevin Foley To: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: Custom Bulk Functions With Prompt In-Reply-To: <871rekxgpf.fsf@localhost> References: <871rekxgpf.fsf@localhost> Date: Sun, 17 Jan 2021 13:06:26 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-MBO-SPAM-Probability: X-Rspamd-Score: -3.91 / 15.00 / 15.00 X-Rspamd-Queue-Id: 6176C17B5 X-Rspamd-UID: 851667 Received-SPF: pass client-ip=2001:67c:2050::465:102; envelope-from=kevin@kevinjfoley.me; helo=mout-p-102.mailbox.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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.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: 7AEED9402C8 X-Spam-Score: -2.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: bLFi8hD+qT9i --=-=-= Content-Type: text/plain Ihor Radchenko writes: > Instead of advice, you can also provide a simple patch implementing the > described functionality in org-agenda-bulk-action. I do support adding > this functionality to org. I took a look this morning and came up with the attached patch. Essentially if the custom function is a list then the first element is the bulk function and the second is the argument function. If that looks reasonable I can add some documentation and submit a proper patch. Kevin Foley --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=custom-bulk-function-args.diff --=-=-=--