From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EPwDBL3tBGBtHwAA0tVLHw (envelope-from ) for ; Mon, 18 Jan 2021 02:09:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6EBzO7ztBGCRAgAA1q6Kng (envelope-from ) for ; Mon, 18 Jan 2021 02:09:00 +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 4ED8C9404C2 for ; Mon, 18 Jan 2021 02:09:00 +0000 (UTC) Received: from localhost ([::1]:52476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1JyV-0002RJ-AP for larch@yhetil.org; Sun, 17 Jan 2021 21:08:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1Jxe-0002RC-Hs for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 21:08:06 -0500 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:38422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l1Jxd-0007dI-2d for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 21:08:06 -0500 Received: by mail-pj1-x1034.google.com with SMTP id x20so3359913pjh.3 for ; Sun, 17 Jan 2021 18:08:04 -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=ZwaBhK9uSbUWGDFVMGtMTisR+AhOldToC3UotMlT5LI=; b=qb8Dp8XbFlTTOufHSV6zBQSU0x4WToCbePpxpChX0V3N11DlinRPWLrYRhVmODfVZp 6R4y6v1Y3FV8s6vBUjOZ7TTW2yCEkBL5BnqwbgcwfKPHh+H0wehm2kwaRW3PUNi/CAJ8 TA5ZUiYbCI6t0c8ewAKQtfLxOjW/4US6WoeDgWj0SEjqlbB8CiENu+u+2TJL8/qaK7I/ rDYsWy5OmMAhaOUIjXaPFbLzXzey1skTSSTFrA1Bmuhnp2hW3TxIlp/KLoEIOAyFu+DZ v/O98WV9g+7mkXD45jsjFFQndbukWkS8zRCJn4jN7HLkbwNj1nRgz09+dVXh+I2db4I9 yZmg== 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=ZwaBhK9uSbUWGDFVMGtMTisR+AhOldToC3UotMlT5LI=; b=DDLSHkFHtzt2TcQmWiB0M6pRLJHMe7dOoq7m5ue6d5zdv/cgmOmOi8dic8V6bbFrMJ akuXKxMfo96D4fXArfvE/IYJ/wPFV7gQ9i/cKXDTF8K/yIYsW1u8OAjUHAk86RO3OK3n pVD0R5NrwtEXx2c6Zn/zXISJfBAI/XGwxERHRy1cXyWB/KdrQQqvYlC3Us7gqas8enqu rPDKNVOLfK1v22wmeCmQX9AE7VsmlsR6F672PnGwNW5bbrPER2IP0P+8Xzl/PSyAuSYa AEp1VOQL6kJLkXgaQHjSLqjlMzScAwGCqZqdoaNYMv4Cj0JsiyvftZZWo9NA46zb0ULa Eo5Q== X-Gm-Message-State: AOAM531U6ZL+I2IihE2Kvyi7iytH+i06o51Tc+LafAX3ywp8Y5KrotR1 o4rWlHgDX+GBKG8MqAAq7ljHyy7UQr+3/g== X-Google-Smtp-Source: ABdhPJyn4btBQSCR/iDd8aY8XLp2iADNvN0Pv4NqeQU68F1l8royuqnMwKl7ffUpxIaTeF1K9Wy2gQ== X-Received: by 2002:a17:90b:4c8e:: with SMTP id my14mr12306314pjb.30.1610935683677; Sun, 17 Jan 2021 18:08:03 -0800 (PST) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id t8sm15205802pjd.51.2021.01.17.18.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 18:08:02 -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> Date: Mon, 18 Jan 2021 10:11:55 +0800 Message-ID: <87lfcrvvro.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1034.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.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=qb8Dp8Xb; 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: 4ED8C9404C2 X-Spam-Score: -2.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: dyRN450nuxKo Kevin Foley writes: > 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 That sounds like a reasonable option. Note that attachment in the previous email appears to be empty. Can you resend? I will take a look then. Best, Ihor