From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6LLrD8XtYGa/IAAAe85BDQ:P1 (envelope-from ) for ; Thu, 06 Jun 2024 00:59:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6LLrD8XtYGa/IAAAe85BDQ (envelope-from ) for ; Thu, 06 Jun 2024 00:59:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=I+tLk9Ef; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717628357; 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=Bjv5sGDsvFkQP5Dh33Km6YI4i9pFg5Orofyd3JoOUzc=; b=d1MpYAir0FmGqOyy8O+F08rD4XfK40VafOlf/d/Z+2mU0vVRUbHVTL+DbpxAidDi3hIfCG UtKzzqXQqnp2Dg0ggPtNy8gIJoovxKZYindW3cQkiqOcYrwWW4TIxNBA++QrC7leQA5Hgk ZUQzmaFXi1yrDlwn25WGwG0F2sTrsnMUbqUZdW7vaIdHyANhS4R+deExWsH1FbjJJZYUVy INnWS0/blE376TmEzQy7yZ4ystUYL+9JLxLt4bILBfGyuenLiEDWzHTEUetMs5QdoMgZ8w lqS95GfnCWjZDLBAv35YKMCROOD7945saFv63lVnK0wS6Y9Si5n+sum6P6gClQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717628357; a=rsa-sha256; cv=none; b=txpITpw8o/ASuwJESEFwAx0jZtfcyP/+zkCT5W2yLL5ou5ta6HAfosJso9QwSGjoVTh2yk 8ok+Fdqy1zKNemFodKACQB+rtvQ0OKUjs7U2k33bM0s36A+AHpVjEn+crJNQrXP9yLFmJB 2GCCaDoeM8yML50D+g+FchHyZ3F7urm7mQwoULWVpyN08G5e/bq3vhPqi+Gp8zkzn9MwzY pHHOzsB7osBTDpvvY/qVEwDOTjtdQRNqCMHR3Jo7B6r36i28yvqS1XQfr5Plh7gwFmfYPC zIO01yH6iK0usg4Te2fNM7pIW+QAAaddDxr9rIXrz1CvC/nKbUOTuy1G1I/M4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=I+tLk9Ef; 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" 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 0284973AEC for ; Thu, 06 Jun 2024 00:59:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEzaN-0004mT-9b; Wed, 05 Jun 2024 18:58:27 -0400 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 1sEzaM-0004mI-0L for emacs-orgmode@gnu.org; Wed, 05 Jun 2024 18:58:26 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEzaK-0006du-Hl for emacs-orgmode@gnu.org; Wed, 05 Jun 2024 18:58:25 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1f6342c5fa8so3594395ad.1 for ; Wed, 05 Jun 2024 15:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717628302; x=1718233102; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Bjv5sGDsvFkQP5Dh33Km6YI4i9pFg5Orofyd3JoOUzc=; b=I+tLk9Ef9hcYelCXEzHI4S2D/QnLMfFd7Bv26llD/HJlOLA1OEqcpyDw4Cm+CDQ4Vp TKi3HSqpB/t/5baYgICsbtiyEQDBNdS4EoOhv/mK5ZI5g36Uav8iY0/HT9ecXpsNGuV6 KZVak111rIOkqczHnHdVa2coje2T1t+9Okx//35EeUvA/B0RiXiUJ+3Hchnw2eXZDUop EL3QNekDgjDgqjAOALqUR+ck9y9KLch9LM1nACeHS0O4N98bDCT+W1cQDoXhmUGqfndf lhb/msqHkDgGWo0lPtWwnTd/ooAjtvr/vIlOREw/MWb1iNxY4vODC+Z28UYlAehQzYrZ JE8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717628302; x=1718233102; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Bjv5sGDsvFkQP5Dh33Km6YI4i9pFg5Orofyd3JoOUzc=; b=QAE+vea0+LNnwP8Y5hd0dA0zNNEDeYyBs7tMJIGlO6k6xIKISkzHZQodrGMM0Z3Aoo Z+2+dGGIdW5CNK8E4Uz82ipNUO4RTwPX3WYx50ISC7YOSTBS7PK13mtUJ5+H2YqK7qnu 9vEf2o2OUKWWTJIXoO/fQTmIt23PCVBaArIHp8FA7b4/lUHMqiWq1NyNYMEdpuwuoE1/ bjg1AQyaExVtQSEBPHcHsOp5BNw6qfzuPYqYq/MwVPsjIQmwXdQH9IJeKnvRQ5s2TMff sxW3VLjY88Y7IIGghOPjnAKXFwlG28fUtTy9PYbgCCz52hYEBGfUMoo8+x1zLZ8JC6Kq nJoQ== X-Gm-Message-State: AOJu0YzmLsgQ3BnoFhK3hRRuQy/hNVad7qGzn0soSY7L/op90T0PZqyN Vwgs0lhm+srMH2zGvdfNZywQvZd1sx0Rgnu7nVlYcaFZONen3nDC1F7nEA== X-Google-Smtp-Source: AGHT+IH1uNZerZ3ocFRxgm6sV28mPjPPCkJYXdPJElrcUGXhLjVgzlRWKMFOcKv/RPjyDcGVzy+Ixg== X-Received: by 2002:a17:903:2346:b0:1f3:f5c:cd80 with SMTP id d9443c01a7336-1f6a5901c7fmr48370515ad.5.1717628302249; Wed, 05 Jun 2024 15:58:22 -0700 (PDT) Received: from storimasta ([2804:14c:5bb1:5200::f0d3]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd7e03e2sm662725ad.188.2024.06.05.15.58.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 15:58:21 -0700 (PDT) From: Bruno Cardoso To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-capture: %\N template expansion In-Reply-To: <87ikyn7hmh.fsf@localhost> References: <87o78xz697.fsf@gmail.com> <87msogye59.fsf@localhost> <87le40puvb.fsf@gmail.com> <87ikyn7hmh.fsf@localhost> Date: Wed, 05 Jun 2024 19:58:17 -0300 Message-ID: <87o78fvvxy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=cardoso.bc@gmail.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 X-Migadu-Spam-Score: -5.17 X-Spam-Score: -5.17 X-Migadu-Queue-Id: 0284973AEC X-Migadu-Scanner: mx11.migadu.com X-TUID: klgcJm040C4a On 2024-06-05, 11:29 +0000, Ihor Radchenko wrote: > See the attached tentative patch. > > I introduced a new placeholder - %\*N. It refers to _all_ the prompts, > unlike %\N. If you have better ideas about syntax, please share. > Thank you, Ihor! I tested it both from `org-capture-templates' and from an Org template file and the patch worked as expected. I'm fine with the proposed syntax. Best, Bruno.