From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uKdjACJj+2BW+wAAgWs5BA (envelope-from ) for ; Sat, 24 Jul 2021 02:47:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CBC1NyFj+2CzEgAA1q6Kng (envelope-from ) for ; Sat, 24 Jul 2021 00:47:29 +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 BD27514A31 for ; Sat, 24 Jul 2021 02:47:27 +0200 (CEST) Received: from localhost ([::1]:52704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m75p7-0003Rj-LD for larch@yhetil.org; Fri, 23 Jul 2021 20:47:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m75ob-0003Oi-Lp for emacs-orgmode@gnu.org; Fri, 23 Jul 2021 20:46:53 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:38445) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m75oa-0000cj-5t for emacs-orgmode@gnu.org; Fri, 23 Jul 2021 20:46:53 -0400 Received: by mail-pl1-x634.google.com with SMTP id e21so496249pla.5 for ; Fri, 23 Jul 2021 17:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=yIFC+8Lu2DLv8wH6lQB/OA2k5s8uyU5/mAJoKXaiokA=; b=ntV/rpRpBwcMRPEdIhK51XrEw1gc22fyZl3zxkvWfg5bnRWefz0M/e94N12YwHzkh6 1yrKTwttAhRjbWxwtx9ARQPQYO05y8y27AiHE65X8eRqqgP9gsEAmY2o+2ZLLSef92NR UAx+IzBFS18uau28Pxj7QsyWxxAoBFbUP6aNRngcNWDmaSpPJzWwOngs6eDyBFeZUgVP WiroYLo0HGfgksVyJx/nkydshRLy0Db4KSh6H+kmdmQ+4B1dkxip1Zh0jN/BI9yV/FYa 8e28NRpCwEuB4OpyVhgNN1Kjgwo6EN26xr7mOAuuw8EJlsjahlmppUxMHIOH8YlrJ4Ov 9P7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=yIFC+8Lu2DLv8wH6lQB/OA2k5s8uyU5/mAJoKXaiokA=; b=A2S/Fa9L/O2eql5U2K4+mZbg565cGiqtAJTG/ZZ9R7n2vfnLuOSelPbzJvciu/F+C1 pmxa1BZFuUFvPZLXEQ1jArXBDP4PS23wch3qw/gKlPJwvBc44oFMoD7djAzgROTHrGo/ nES3GZ/q2wh1yeUCRA0sUPaWxDVbgAtiN0geTci+j54qY/x6Ch9nn2iKMM+oq07TzWE8 UMH/wIO6tZ8SIgyBL9owty/JCa47lj4g1F8CnGM+DCo+o+CmIqvs5G+LkeyVCItn3CQy EOipi2hCwTGkUAUMafrBFGGW5wsmQE52tTgUO/KN7Lfr/9jRgujMSfv7+hWp0Jus4RIt udNg== X-Gm-Message-State: AOAM531DVvnwtzfq9TI1VDBA4+qicS6JLTrC0FfiOeTr05c0Iv41edFc RfkLtFSzUn9y3x4QyWDWuyTjQpjaGIg= X-Google-Smtp-Source: ABdhPJwR1Kw4tC2Z45tn7uqwiddOfxkNlDeEsj6bcrvbcdpOfUApbSWUoKKYhuvNf9/jFn8B8tNTZw== X-Received: by 2002:a17:902:9b8d:b029:12a:d79e:6d40 with SMTP id y13-20020a1709029b8db029012ad79e6d40mr5999071plp.47.1627087609455; Fri, 23 Jul 2021 17:46:49 -0700 (PDT) Received: from tim-desktop (106-69-82-1.dyn.iinet.net.au. [106.69.82.1]) by smtp.gmail.com with ESMTPSA id ie13sm7221092pjb.45.2021.07.23.17.46.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 17:46:49 -0700 (PDT) References: <87im13zynj.fsf@ucl.ac.uk> <87eebrvgkb.fsf@alphaville.usersys.redhat.com> <8735s7y8vh.fsf@ucl.ac.uk> <20210721162335.GB30958@tuxteam.de> <8735s5149e.fsf@ucl.ac.uk> User-agent: mu4e 1.5.14; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: what would cause failure in template for org capture? Date: Sat, 24 Jul 2021 10:37:20 +1000 In-reply-to: <8735s5149e.fsf@ucl.ac.uk> Message-ID: <87v950r11m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x634.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 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=1627087647; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yIFC+8Lu2DLv8wH6lQB/OA2k5s8uyU5/mAJoKXaiokA=; b=LKN/G1MVHqospfQXGIljadtDxqr//AlI8ohNwggGWVuslawhY4vn2kxyEIi7zab8SLKND9 qI00UlB3NmKp2xV0aWcFAaWvFI5D90XNL5p6uPtzOJVqiu3exepiAH3PLPr7IgZIfTtzGy VKk9hrdyDMdBUUNUd1DO4mf5zlsYp6j1mORH5bLq6PKwo3adiTpjwzPqFOkcjm3DTZYTpO fBJ5xRHQ5Vs+uRSULe2Ty093xNTzOaRKSPxjhdASbzR9eG6H+GNBEJyCvXGLQTrGs6VP8P F+fmyfHLzJEGDWjikflDkUIvxCQv2mNdBOevnGfZoTL9vsxHniocQEdkfD+Fcg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627087647; a=rsa-sha256; cv=none; b=NRrO7w7EJ7ywzGsdVspqGPmTkMIYAefvzbH+T58kw/wjKyALDbP1Enizr2BuA2PEm9ELE7 jYGKEAl6rCuG3oAeAYz61tL0HRcsmu6Y3RAaWNO0wrEDdHyOgpa+XWqc8LiB97n0GerXEd STYov23UWyalznts6PNiJ6VP1Z4PsCOL54t7MIt1W81yINS3HVl+kIjizS+I7YccxMi8ZT z8l3CCLtJYqEy7TIuv+nvidqWoOO7WTaxzxXn9FqkfKtktKAW7FT2aNcphTdfr7u22EikI 7Q1yBwwFl3UcFR3XVB3Zdhn4ZGJJ0aVFIAjzKswVv4qeWoerJEVIjeqPwxw8mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="ntV/rpRp"; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="ntV/rpRp"; dmarc=pass (policy=none) header.from=gmail.com; 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: BD27514A31 X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: ERrW1hql96CT Eric S Fraga writes: > On Wednesday, 21 Jul 2021 at 18:23, tomas@tuxteam.de wrote: >> So edebug fixed it? Good :-) > > Well, it fixed it until I started Emacs again (which I don't do often, > luckily, as it's my window manager). So, to get org-capture to work > again, I need to instrument the function and then it works. I have no > idea how to debug this when it works just fine when instrumented. Hi Eric, from an earlier thread, I recall you mentioned you were using native compilation? This is almost certainly the cause of your problem. >From your description, I suspect that the compiled version of your code is not complete and not loading correctly. This is why the problem is solved when you try to use edebug on it as instrumenting the function will result in the uncompiled *.el files being loaded. My advice would be not to use native compilation. Native compilation is probably a good advance for Emacs, but I think it is at least 18 months away from being ready for prime time. When running native compilation support, I found - Absolutely no performance improvement - Large packages with complex dependencies did not build correctly - The native compilation caching scheme was unreliable and inconsistent I would try re-building without native compilation and re-install org to see if that fixes your problem. Tim