From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kHtHOVnH52MdnwAAbAwnHQ (envelope-from ) for ; Sat, 11 Feb 2023 17:50:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uFxSOVnH52OXUwEA9RJhRA (envelope-from ) for ; Sat, 11 Feb 2023 17:50:33 +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 8286E392E9 for ; Sat, 11 Feb 2023 17:50:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQt4F-0001mw-UF; Sat, 11 Feb 2023 11:49:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQt48-0001k9-K4 for emacs-orgmode@gnu.org; Sat, 11 Feb 2023 11:49:33 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQt3z-0006bC-Mp for emacs-orgmode@gnu.org; Sat, 11 Feb 2023 11:49:30 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9909224055A for ; Sat, 11 Feb 2023 17:49:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676134159; bh=SfKfs1tL79H19vkRdrvneZMRkAr4bPjcV9f938a7USU=; h=From:To:Cc:Subject:Date:From; b=deAEBeyjRnNx+2ibUyJxe0+2yevOGlvPay/e0UwFfrNda9Vmjbafo8Q1gN3YfidIB OtRmmx9Oij/xvZBdWKKiVK6zXW5cq+6tTUroNIdDXwiV1/yfLPqQ59Nz7ncyRWSjpU g/S/cuI5vhVSvZIQb/fY1Z8bRb1vpCUJNLraqSZ0+SWcgE4Ph5uuYjJglFkdoRc2Ie 9KnOtkYmOixlpNfPxv+dlTr9YAWQjQxhnXtQda2aaZRFr4CMcYgLATJfP0Z/xOElFl QS5phLKNfNRBoapA0gPo+pfrFb0bk00QSPbSTOTjUqZM2cMkckwQG/JlLU3TR9twAw FtMF9qhdIk3sg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PDc583YhYz6trW; Sat, 11 Feb 2023 17:49:16 +0100 (CET) From: Ihor Radchenko To: Arthur Miller Cc: emacs-orgmode@gnu.org Subject: Re: Problem with let/cl-letf binding stuff with org-capture In-Reply-To: References: Date: Sat, 11 Feb 2023 16:49:54 +0000 Message-ID: <87fsbcuoy5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676134233; a=rsa-sha256; cv=none; b=gBlhV6wzWX5uuknjQ9ftdSpxu6XIU249wGJUXrOFDzteNCII+LX0TRh/1qT5jThnB8aMoy IpulSPUc97al42ZeOkuAEfgezoC3UIdKH61tTeApcEqtRWJ5JJDfcnvf5jTBKqhZsO5cO4 2w2OmD9Hf64lnQ+MSMilfd7Ek2OibComeTL1ZB/CRjDPZXEuYUdvRqQ1kM0Y/JF8PIRVGH aklFMDfqwzCYtVzsnExLBEpj68GqwV8GOHnbpHPqOO3i+eaafEy9UkmNZku4h76MKLaQsz hkI7Hx3O/B6kk8zP830SV1ZUUgiYW5ecu27ttsVpjd+T/Qsnjb+gMKMFz/Itbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=deAEBeyj; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676134233; 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=txkuQ+g/e3xtwbunYGzr46xmkCwtV3fNH/wBdfCddkM=; b=EItVNVIGUXVRlLWgaMeeqw3J+7wJ/A84tQYn1tDxu1L3/PaQbTdxT8/L6tHgj77kC1ppJ+ hTRAPdfm4wY1JrlyCRck4Pc54d6+COjixXpR0vmdK2VbIf1el3EAKuDrY/BqIc39yujvzt tWVGhQenVqpUqJTJesrji3DfIPAQcWUX7N7dFmB22Eur6JeMgOUNF1FwQ35IpFYxcFtd7c Dw64j72hQ4+9bhUI/XZqkXsvHViyNOBS8tdulSTUjFjyPVonyNRqVop0mK8Nw5xAnQA6N5 Zp0fdUAVzEh4uutV19+daZq+HDn4oManu7QUgem/Ijzd2TWFpnU0Syx9SfQwoQ== X-Migadu-Spam-Score: -6.07 X-Spam-Score: -6.07 X-Migadu-Queue-Id: 8286E392E9 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=deAEBeyj; dmarc=pass (policy=none) header.from=posteo.net; 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-Scanner: scn1.migadu.com X-TUID: 29OuaQ27Ej3y Arthur Miller writes: > Based on a Reddit thread: > > https://www.reddit.com/r/emacs/comments/10xhvd8/a_little_readstring_utility_using_an_org_mode/j7xziao/?context=3 > > I did a small experiment to see if I can re-use org-capture, to just capture a > string from a buffer, without actually writing to any file. You can use a template target set to function pointing to temporary buffer. + org-capture-before-finalize-hook -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at