From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8Oq+M/cSAGFZVwAAgWs5BA (envelope-from ) for ; Tue, 27 Jul 2021 16:06:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QLAwL/cSAGELSQAAbx9fmQ (envelope-from ) for ; Tue, 27 Jul 2021 14:06:47 +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 6889ADF25 for ; Tue, 27 Jul 2021 16:06:47 +0200 (CEST) Received: from localhost ([::1]:34656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8NjJ-0003xx-RG for larch@yhetil.org; Tue, 27 Jul 2021 10:06:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8Niv-0003xl-Up for emacs-orgmode@gnu.org; Tue, 27 Jul 2021 10:06:21 -0400 Received: from mout.gmx.net ([212.227.17.20]:51859) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8Niu-0005nb-2k for emacs-orgmode@gnu.org; Tue, 27 Jul 2021 10:06:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1627394778; bh=Vs7lCGlcREhPuTtgISRNLFbJbC+0vv5RvrT2YYBEAAE=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date; b=PiszNHgMHtZjzffkhk/yXn0biAv74OuKJGZZVxTNXR1yjpidJXcf9JTz97U/8w8Eq X9JkL4jHSlqn73cjLVCyGI9lhkozjrZjGllVivCuhEwNtKicq2AdKB/xye9J+8Ih4a BfiRpofsK54gLlOHRfj0Dct9x7MMUyDkt5Hx2gnY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from no.workgroup ([46.94.153.87]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mk0NU-1msl6I1YoC-00kNDZ; Tue, 27 Jul 2021 16:06:18 +0200 From: Gregor Zattler To: emacs-orgmode@gnu.org Subject: Re: what would cause failure in template for org capture? In-Reply-To: <87pmv82wwo.fsf@gmail.com> References: <87pmv82wwo.fsf@gmail.com> Mail-Followup-To: emacs-orgmode@gnu.org Date: Tue, 27 Jul 2021 16:06:14 +0200 Message-ID: <8735rzyhpl.fsf@no.workgroup> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:iYPD21mTqLwEWlcb2V2Lg88p6OmZRQeKdYxBrXk7or32v6Rtjtq S+Gb9fTGghto7yS9dwZiGhcBKDisAD1adCzs+9M+7V+Q5sBaynKFMr720fw9xAoLgTEEWcR RO6ZtOn9kbTyKqM+UgCRkEVqplJUFOn0L2YmDXL9cfUcCOMV22me66T6YIjX8fSW/K0jqAq qmmLPZmDSaXme8bRBXr2g== X-UI-Out-Filterresults: notjunk:1;V03:K0:jmnjoiXVkNg=:yxxeGeQ5alHJZxpdVCRNzc 4Pcl+rJEPNWxckuUo9/gEAPkfOLpDf9FQHarrE29bfWCyZTUe9lhmeuCni4DhDfkLkRX77oPI 1pfrsnUEwsc55TYEsMLoW6C2lZk2B/kwGA3S/OioTNML+GzZNXIwHwLr8EYqTuEn5tCFRM/A2 dKRUrd9Z6TpCFf1dlSJcY2bzmKnKvi4ldOh65tlyHKqELEG4ntc7oLVKuW/6uBWsJMrlYlJIq JTvuypOdr57Og1Fk86WV69wvNJarPBXo9Z0O2xesWRNCUHR50ymuvFVdkVp1+QA0Tsq4AI8nE S97OiPKpcne05Ljkn3H/gLXhGf4hfYAPYfpz+44B01qNIu0KCjkGU9b+4k4/eBE/TqVmb7cSr ZIWxlJpCLDzUfGfuBYXP9Y0RsHC2CSY8VMFrKmzjwguzC0vcoOPoXxTcstmhv77j9T7nFFd9w sarrYUq8F0/lONIuCc14bFkfLLf7I5d9ngxebpvSa0hY4Xa7dDRbVGon4a7OOzvWjHZNvPzL4 nn0N8CtZ9KotbyFoz0Y4k9zD88pl6pDlmPxvCT0qhJFVtvW7z6sj8hoMPcVlj9HG/PZQt7GB2 tPTdBoFigdZCuduyvzOfBCrMnAnQL/98LWkO+51M2ljB//ozpIAzT0vKdaX/Oe6OmDIk91jq2 TDk+9Zjr0w/fkCHo0GvZW6+sDHx3MixyGu8dSX2BthqXBKVlSo4h9gjH17VcPmpDCEC+96pAg cGKSEeakzRCuttp9aUuKZs1kpLDBagIsQZfOrVgSDdgdxwQz1LCnZ1Da07nfMBWNoMVFj1tbH 1BvZ2+/sVZlsDv8ABFFlDjI1FCOcO/HImXHXP5AHtcjNa9BUVLdgXmd8Qc2AVJhHzOa6UamQ5 yQ6rXXEEdchArTqxhzfBul7T2xGSuKVdq4nKoD1PH9yKaCQejw0SITDLhqNuVSLaE8KxlDYal FezsOrQW8RKuC0K5xwvArhUCVx4tJri+Aj1I8/bFcxkIcI/fK/Cc4YGcW8B6xwMnWzgaofh1h ufuuHulrR43O9B3pOZ+OJmH4HmjqXoqpPrijRQW1RB1P1IHdMrhCtFBLZIWOmcbYDXyebPHB9 9yZjxejxX5MAUyQ7MAvCG2isggXKkp4rvdN Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.17.20; envelope-from=telegraph@gmx.net; helo=mout.gmx.net 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627394807; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Vs7lCGlcREhPuTtgISRNLFbJbC+0vv5RvrT2YYBEAAE=; b=i2jiOK2Q01+e4hN08RXQNXx/+saOll5fj/54jJ0Dxpk8NFsl0LjZ5QXIdYoCdQI1S7yxq6 BByRky5xxKjO/JHGcqrAU8d3Mzw6AP5pkm14IL5lhdZ78HVvcX2k0QWPZfbW9OoGKgzmiC R0+HI2SYzyEKeFjgVMFB/BfgBuvxSAMFm+rkRtl0csDZaMmupH8w4ddFF506Stw8Bgn9iX n92T54fEGrGdzORGDZSSEL7CeSmeZ1xdj/L7b/9Nh23Np6uyhOc3mbjaeg+kNUMhS/Px4L k+CJqwDONxidgm3IOjyjdc2nar89iKTw2QKrizqAKCbk4GwHweWQLY8snBKm4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627394807; a=rsa-sha256; cv=none; b=Pk8PEzWZmurDHPKv4gXBTIMKja+8DUtETJCRUdVJ8u0s8qkes4xxU4IXScj7bkC2TIwJAj npkFGsqfay6b5wPH8T1AyLVzeNRNluIJ8j/QIuw6bQKhAxx5V9YFvUo4z8yGi/RzXfXKqB uJotyTfqLARERNJLAQndrYBATixU8Wd/acygKinz4HmxThO2Iz6ymAOZFjSLUUxTOuRsZf 56ksPXxH2ziPW3M1Mso2O6PJXbu79/KkGnOb9aPSaDWEJ/thLMHYoAfrdfhXr0TeokIlZ2 dODVqs7jx3uLDddR3yxXYqtbuAbeMcm23wUdgrDaQXMiJuij2TNWL/gXcQoskQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=PiszNHgM; dmarc=pass (policy=none) header.from=gmx.net; 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-Spam-Score: 0.38 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=PiszNHgM; dmarc=pass (policy=none) header.from=gmx.net; 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: 6889ADF25 X-Spam-Score: 0.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: Cp8yJ06JJut/ Hi No, Eric, * No Wayman [2021-07-23; 23:03]: >> from an earlier thread, I recall you mentioned you were using >> native >> compilation? This is almost certainly the cause of your problem. > > This does smell like a byte-compilation problem. > Seems to be a failure with any interactive, single-character > %-escaped patterns in a template string (e.g. %^g, %^C, %^t). > I've narrowed it down to a call to pcase in > `org-capture-fill-template'. > As Eric mentions, the problem disappears if the function is > re-evaluated/instrumented. > I have disabled native compilation and the problem persists with > just a freshly byte-compiled elc of org-capture. > Tested this with the following recipe: > > 1. eval the following: > (org-capture-fill-template "%^t") ;fails with `unrecognized > template placeholder: %^t` > 2. eval org-capture-fill-template's definition, and then re-eval > the above. Works properly. User is prompted for a time. > 3. byte compile org-capture-fill-template: (byte-compile > #'org-capture-fill-template) > 4. eval (org-capture-fill-template "%^t") ; error is back > > > Running Emacs 28.0.50 > Repository revision: 903ecd7bea7d8f99a7dc84150728219283d79bf0 > Repository branch: master this is now emacs bug 49746 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49746 Because of No's email I did a git bisect and found a commit which changes the byte compiler. Ciao; Gregor =2D- -... --- .-. . -.. ..--.. ...-.-