From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kO30GbCh/2FEIQAAgWs5BA (envelope-from ) for ; Sun, 06 Feb 2022 11:23:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8EeiFrCh/2HsOwAAauVa8A (envelope-from ) for ; Sun, 06 Feb 2022 11:23:44 +0100 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 126F114601 for ; Sun, 6 Feb 2022 11:23:44 +0100 (CET) Received: from localhost ([::1]:41116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGehr-0003c9-6D for larch@yhetil.org; Sun, 06 Feb 2022 05:23:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGeDv-0002ZH-Kf for emacs-orgmode@gnu.org; Sun, 06 Feb 2022 04:52:47 -0500 Received: from [2607:f8b0:4864:20::52f] (port=34740 helo=mail-pg1-x52f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGeDt-0005aC-Ei for emacs-orgmode@gnu.org; Sun, 06 Feb 2022 04:52:47 -0500 Received: by mail-pg1-x52f.google.com with SMTP id v3so9038196pgc.1 for ; Sun, 06 Feb 2022 01:52:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=gHa1nml1nLwxuo1zAdn6jDKNsVmc/CE/EPogZHVpSfQ=; b=V8ogqvryDaRCU5ePKj4l4Ctap5CnunUjf9vCu8aajLBZvtSuSJjgcAx3aCXTGGmEWz 4gT1E9WQpWKVIqE8c68FNcsKSlIH2JlAgxi8zISxSMnbPrwAvd44dakcMyqPJC0nCLmo sPBEPsZsGtlaXhWQCHLwlvWonzZbGk23Qt50/casQZUV56BaQ6NgGiVYMyFKO+ha4Qdz KfV+eQp8XOZw/UhDOfQEb4kxUtXP5yUuwK24wSoMLMgXFgSX5QlQ80lA+3w8N7mV6lcW /8DM/bI3HHPZNSmJ6KrFQJ+qRp29uJMU3J2L+hIrl//B6fqglsMHFRx0pg+rzIiZeGWi +GwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=gHa1nml1nLwxuo1zAdn6jDKNsVmc/CE/EPogZHVpSfQ=; b=RYmW6J37jRO9WpKWjEla0oC+4j7uv9lZrferrBxy+QUkB4mbxAmc92a3PQguAR18RK CCHx99+2ukI/ZPJ8c36t/969zUiAsMSaIgjnFnmZr+rUzcOm/ycNxWBBrSY9226n81Ea NXf+SYa20T5TvcTKMyOSUzOUdIniCnXAuvLZO0aisxafx1zXlXwE5nVlEHdJWwevzADQ vAHXFkhgiQXZPFZ3t2vrV+qM+FhfZ8fAU9b30fyYoLtg3WsRpdpTx4M6UWEAwwElox/H SaIJD/j9XUEa2IBgoh9OlcixS3OGMkZGrcmKOUnM71x7ALiACjPwZgnRX3M4F7KnYiqD 3i3Q== X-Gm-Message-State: AOAM532y6bAEbl2NExOBZ4Ahhyxv0OsvgtYugx9DTbWmcA4HWtTh1lxM Kyqf5CuJabqZH4sI9rz65kA= X-Google-Smtp-Source: ABdhPJy2UC00/y/M14+/T2SgtFL1xPEyIgoPHHktjTf41pkbv7uEdED4OR/Xp3UPa96sejRueoKotQ== X-Received: by 2002:a65:4c87:: with SMTP id m7mr5428453pgt.509.1644141164192; Sun, 06 Feb 2022 01:52:44 -0800 (PST) Received: from localhost ([103.125.234.62]) by smtp.gmail.com with ESMTPSA id t3sm8805694pfg.28.2022.02.06.01.52.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Feb 2022 01:52:43 -0800 (PST) From: Ihor Radchenko To: Sacha Chua Subject: Re: [PATCH] org-list-send-item: allow dest to be a buffer position In-Reply-To: <87o83kaf3m.fsf@sachachua.com> References: <87o83kaf3m.fsf@sachachua.com> Date: Sun, 06 Feb 2022 17:57:48 +0800 Message-ID: <87o83kuxk3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52f.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644143024; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gHa1nml1nLwxuo1zAdn6jDKNsVmc/CE/EPogZHVpSfQ=; b=bFZKnngjDhIoVGMMOTTXOqWgVzEeX5HrNRvMqaJf3SqQe3V62WW502lLIBAPgJo3crwgY6 LJw6+MW+XuqxdkYKtqBmfHnzPSYPUDvt++1692rBzwdtYyfzqldsfNbiyLLWrQA+aBAqO4 e8D9o8cjIUaWt9j3dj0UHRVFkKVaFd1Z2eHCj5ZtjM/HgONhUxxevYZOWS1y63y43Ozyx3 0K1ZrS3tXDjFNzAhrGKHKaYV9OYdMZQ8I8CjaclvfWgqNWBgaCYDMKedNQhlReaMBjG6KO E06P+Vx2BAtMzHFZvXhbE/G7ws1TRU92mvV1mDSZndOoUUYOrgnKYUxwP6KmsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644143024; a=rsa-sha256; cv=none; b=DU/2Jmskp1K93kzhgaQJ+H6AJy7SyP821byJinwUg4pNV3KMLPk1TafIVmhBzGxnnacObi 9yup4AChg+jMgIkbo2jkQlkUKCfM6vJ0jD6rSgGgX2L0JVv17HyGKiyJSzeLFYaBWTak0W tQ7MdHjP3rna9REKx6DOkX/nQiPulZbjVsM3CtvGdKE2E1+TYdzh8rhsIE4XMl4Gf9T+Fc Wb0aKzUoNVS/dOR6VY8rJNNz0B0k2LxcNCL8NkkVDJrsGThtmHjSCHcPANgKMs1dIDaEJS 6+FIyrYX0+Tob0I1wjO4/cYs2bTjjFu1BoILYFXLQ5UAV3xQwQrzB9eF/+F2uQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=V8ogqvry; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=V8ogqvry; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 126F114601 X-Spam-Score: -3.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: UMBCsIXOUhdu Sacha Chua writes: > Passing an integer representing a buffer position to org-list-send-item > was failing because of the string-match-p, so here's something that lets > integers skip that part. I have copyright assignment papers on file. LGTM! Would you mind supplying a test for this function? Best, Ihor