From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8ISEAaEdAWL0QwEAgWs5BA (envelope-from ) for ; Mon, 07 Feb 2022 14:24:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2GFtOqAdAWK+aQAA9RJhRA (envelope-from ) for ; Mon, 07 Feb 2022 14:24:48 +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 8F9CE107DD for ; Mon, 7 Feb 2022 14:24:48 +0100 (CET) Received: from localhost ([::1]:41466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH40d-0007Ty-OB for larch@yhetil.org; Mon, 07 Feb 2022 08:24:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH3hR-0003Pz-Ti for emacs-orgmode@gnu.org; Mon, 07 Feb 2022 08:04:58 -0500 Received: from [2a00:1450:4864:20::529] (port=35494 helo=mail-ed1-x529.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nH3hQ-0007ee-3B for emacs-orgmode@gnu.org; Mon, 07 Feb 2022 08:04:57 -0500 Received: by mail-ed1-x529.google.com with SMTP id f17so12742353edd.2 for ; Mon, 07 Feb 2022 05:04:55 -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=GKeVuAjdMlZP56/VZuoiLLe9F+rxr1Fe14jjiItU0D0=; b=O02Rc8Cl9fIFVV8k12OckQbw9HTdkMD8sMOeed5SV9j3IqQ26tS+89sYPnB0q1Smsz emmNkHZssYkuJ5YFE93icXJuqBqjHHHGItNhN0nuNYbvv4DcxWY9IKgA9iBvyxLztMqU UlQJ4V9rjy3W5lnWzyKYC66bRkR6CNmbgW0hlV7VxVsViiDuwlkKnFiTiaKN5DyqdR1R R+v1nqD9J8Cv+iZP0GuCdr6q1qD3Qsyvz1aXmdBYeGmSUVgLLlW3UMLUBFqfP4EVuzzs u7Ul8jGl+R1chfP1zhGBSQOQeR2NuCxS5pMTc8SZS2cGlp/9jf50i4+kSRm9TTaybKUi u3vg== 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=GKeVuAjdMlZP56/VZuoiLLe9F+rxr1Fe14jjiItU0D0=; b=v1shmwvUxpVv2c1IQJjAe/daZIZrvYSqh2Bqdm0SX5EHtuNQjJlYOhfz3WpJWQJjMA 1NrL1ywBEBgaubaVx5iAu+J3vtfZWhX2PLdBB+s+Ap5YWBBkln2xSc30333WO9YKK6Zl ekWccO6m1anAY/WaX5Q0FigfagD30fBH7WLddhIvcWVpJvDtNHNyHdtIyaAdKexI+Szn Us1f+3GhloBc1jNUK8DiKsdB5eR0M7a3veXN6aOUmtR9xrSaRiYLhFyZtQcWm9ZSVSDE T+Oz/TNAnBkQg7HLR8vmCKZbdHJqDTL4S46TqxlgL5J+lX98S3oaVSyZRq+haB7B/gez dVkw== X-Gm-Message-State: AOAM532vVAmkkq4jrCoRF3erEIoxCMBf4CwJYan5Pl+uux3jRcac3zJu 8BUmO+TciqltAC69dKPBU7s= X-Google-Smtp-Source: ABdhPJwQzIHFN0I/lyOplXJIf7m+FytA+nyhqiWFs9Z6uQS1rbG7QIR79AZzsL5sGv7ZSh8X5TE8fg== X-Received: by 2002:a05:6402:7ce:: with SMTP id u14mr5441613edy.35.1644239094567; Mon, 07 Feb 2022 05:04:54 -0800 (PST) Received: from localhost ([91.210.107.150]) by smtp.gmail.com with ESMTPSA id p1sm2556727edy.69.2022.02.07.05.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 05:04:54 -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: <87k0e7a4du.fsf@sachachua.com> References: <87o83kaf3m.fsf@sachachua.com> <87o83kuxk3.fsf@localhost> <87k0e7a4du.fsf@sachachua.com> X-Woof-Patch: applied Date: Mon, 07 Feb 2022 21:10:02 +0800 Message-ID: <87r18e3jrp.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::529 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=yantar92@gmail.com; helo=mail-ed1-x529.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=1644240288; 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=GKeVuAjdMlZP56/VZuoiLLe9F+rxr1Fe14jjiItU0D0=; b=HaeJkmN7XFjzbavwnQNSHBopt+bkUglqESZRTaca/lVy1Sn2eQHj1eMgIe9HMl6297v8Uv UjjEY56ArtZPGRiRnkZazQgbIAZNS9fxc7NOOjR2FyI838kGglLlkOq+7SN0WaM34s/gOj Q96xvdQMu1AQQU+xfexCYZUnPyUWxvhpuJMxZkbVIp3eg6lM4/GSdNAx6yI+x4z0pDrjm4 Lr3MEW8fKqumVByNV80i6SWxuot4JGHBD50vY4BW7Q4qKsDBG5KuAYrItj/AvtfeFc6u7j 6Wqs005+vUF9OLT1iEpaQPn6NpAEF5TBim3NaNwW0hF6J2CpnKCrJjejgRvqVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644240288; a=rsa-sha256; cv=none; b=Tj9AhAHxZ89y9rLW4Dl3ER2em+Gu6xJZcNGBKTBe7oeMJs3Osy1uPqaVG/B776Lnyt9LRL kvEMmjLNUDVJqAAvDSYgqnlcbxleU3HXx3UHEn3l+Z6n6iHa1KA8bEpXRuMIDnyhbS/jQA rZoqQ/4FuMd0tqaxS+7bBGuYSVLTO/Dzbkjl7pAP0Xm1an9YNIbOQKllX3wL8VaFz2OfcQ Bbds0z+sHiznvs0+0p0JEaSipm1/Z9KB6WgcU++9BCkS2k9SSs7XKmZPlNdcRMM66YqhPV OTZa0UsjSgpWHoSEIrXVJbFqs4sxxaeV8t8g0NmhEK9Ga+zt96N7x7LLNeEpjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=O02Rc8Cl; 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: -5.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=O02Rc8Cl; 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: 8F9CE107DD X-Spam-Score: -5.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: BHRrvAJg51G9 Sacha Chua writes: > Ihor Radchenko 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? > > Sure! Here's the new patch that includes the change and tests for the > different kinds of input accepted by org-list-send-item. Thanks! Pushed to bugfix as c5ceb6a2c. Best, Ihor