From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aN4PDm0oKmIBwQAAgWs5BA (envelope-from ) for ; Thu, 10 Mar 2022 17:33:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6O4XB20oKmKCMgAAG6o9tA (envelope-from ) for ; Thu, 10 Mar 2022 17:33:49 +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 B5F0E3EE5F for ; Thu, 10 Mar 2022 17:33:48 +0100 (CET) Received: from localhost ([::1]:58876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSLjX-0006vv-EA for larch@yhetil.org; Thu, 10 Mar 2022 11:33:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSLio-0006Ls-MN for emacs-orgmode@gnu.org; Thu, 10 Mar 2022 11:33:02 -0500 Received: from [2a00:1450:4864:20::231] (port=42856 helo=mail-lj1-x231.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSLim-0004xv-SP for emacs-orgmode@gnu.org; Thu, 10 Mar 2022 11:33:02 -0500 Received: by mail-lj1-x231.google.com with SMTP id v28so8480596ljv.9 for ; Thu, 10 Mar 2022 08:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:cc:from:in-reply-to :content-transfer-encoding; bh=h5jI6MvBbCqncgno6H6qCSfAntLXUFfNXRV5MNqiCOg=; b=cJNl0+dwf6UWFrOQyGT4LYk/TJbJ4UxgjGBDog61qU6eANkiWGGhOTed2j3QPXImYc I8UT6wWt5zXgjEtrmFHjTs3ZyzRFVMUD+THRMkDE0TQKZm6Eqi9F4js2pmCTQ3jTx+Ol f5qxg0rSvfcKCHmr+4WavsC0RgpICyhBNuz3REszqi2vpWs8ycaCSjcCvHczreS/M+UQ TpexJod1i3VjxCMd45RZ3OYcGO/WbmWVfHeRAkHYwjahL3uQeKPN9byi0rqwfKhWmoMf tR3OPapgnjHq2mKBEuXYtSnkXITn/hTXGi/DK9RwXSj8Mze8YTZEXyYmsPOYsk+rJRK7 lOCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:references:cc:from:in-reply-to :content-transfer-encoding; bh=h5jI6MvBbCqncgno6H6qCSfAntLXUFfNXRV5MNqiCOg=; b=6f6PNWJVRgQZOcfHAsAroipmPYdJ4OOcweYQ9e86qz/2uPgQS5wXclERaDAOskPEH+ 4KtvQKkKmWTHSvXbHEF4aIwJpXnwxGwxAkeIy9D+bLcsUFQZjHZZaipIJAZE+gNjmTyE v0IGeESe+e4DlruqlNadsJ7aYmoakHgsf9QvQ8ZnwN48UOlq6++AB85/gv++rVvzn2ND u4qSx3X2zMk2E8yU835sV5Ie8oHEFSHQF+ppj7ENtx7WjF5SRkyia0uqrJs6SOgRe9UE WNbtrLkVup+CFFHjgdMPFBpjSPJnwk4Y3RCcACe/SpgzZo519m/OI6byGRp1J5maF5py l/GQ== X-Gm-Message-State: AOAM531BwOIjuEwTkgoUunChONYn0ryUSFjPPmwGzpjCf2Ct7iOVyewj f6inrg886a7uvhjHaQj+AjA= X-Google-Smtp-Source: ABdhPJxwJr+34BRdpUC7a5JGlai1bjhmou8pPQtF5N6WNSHgF784tn3qRMxSpXn4IXmNw1DxM1OlXw== X-Received: by 2002:a05:651c:230b:b0:248:43da:87fc with SMTP id bi11-20020a05651c230b00b0024843da87fcmr2374186ljb.485.1646929978479; Thu, 10 Mar 2022 08:32:58 -0800 (PST) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id f10-20020a056512360a00b0044846901ea7sm1056995lfs.70.2022.03.10.08.32.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Mar 2022 08:32:57 -0800 (PST) Message-ID: Date: Thu, 10 Mar 2022 23:32:56 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [BUG] org-capture autoload bug? [9.5.2 (9.5.2-gfbff08 @ /home/ignacio/.emacs.d/elpa/org-9.5.2/)] Content-Language: en-US To: Ignacio Casso , emacs-orgmode@gnu.org References: From: Max Nikulin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::231 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::231; envelope-from=manikulin@gmail.com; helo=mail-lj1-x231.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, NICE_REPLY_A=-0.001, PDS_HP_HELO_NORDNS=0.659, 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: c.buhtz@posteo.jp 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=1646930028; 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: 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=h5jI6MvBbCqncgno6H6qCSfAntLXUFfNXRV5MNqiCOg=; b=eZxqy9Tavs8n2KXY6FAzA5td4EUK9na+2Zbz5v0DDOFLbk+di3bWJE2SBxr4V/KB5viNI8 xjw0zN+qXKDM//IMzfpJhYIM3znhtSWLGkqKq3vmF3+0UIzNyNNcxbGRRVa2KiMwwAHoGc +Cnw7QZgi4ikiMqQxNOK7mDCRSuIx4jxKxM7CUY6NoWFTrfSgUQ2RSv1/51mqv1By/bxLb g0HerRhMCJB26h+rQniK7NBeRPTjQvGSyf9J/dCFVgiD0B9C+cm3eKnKnRRLIkG7oPu3P6 5wgMnB5BEysUotOlbc8CLjTormeoTHr8sOA7Ciev7hvJZOxG+SzCBs/UXQzQhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646930028; a=rsa-sha256; cv=none; b=ckvzqD8RVF6LL4ojXWty6fyNvVs44IUtCffR6Zby+KXhOWKixLra09ZVtPbGGERT+6uuNJ b2PCqb2Is8QzK1uNCVFlyZ5NcmCOV7M0RDcfK5HWAncpLMztbpJcvaGkD5vJ5+VM8XZ6SY neagzFYYMIlvayO0iYk4jxxWYBNLPqFxtj5Mn2SVU5ysWnE/G6Q59JKc3fql52ArJOGhq8 2KQwujryHRZeEyna7k71litmUgmyYtDonaY/fg41wj+kk3iNx9erMECZkcoRdn4L9R7Gbp g2gV5IsUzOs/o9dKygzzSdTNKFRfVJtcCbXM+fKZeuGbjyhBtlxcFvpEbftcHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cJNl0+dw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 6.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cJNl0+dw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: B5F0E3EE5F X-Spam-Score: 6.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: jPDg8boX8P+J On 10/03/2022 19:53, Ignacio Casso wrote: > For example, if we call this: > > (let ((org-capture-templates > '(("d" "default" entry > (file+headline org-default-notes-file "Tasks") > "* %?")))) > (org-capture nil "d"))) > > It produces the error: > > (error "No capture template referred to by \"d\" keys") Ignacio, could you, please, try the following? (custom-set-variables '(org-capture-templates '(("d" "default" entry (file "/tmp/capture-test.org") "* %?")))) (org-capture nil "d") On 09/03/2022 23:39, c.buhtz wrote in https://list.orgmode.org/7395938a0e6b06139239bc70ba7c2b19@posteo.de:> Why using custom-set variables here? Is there something wrong with just doing > (org-export-with-broken-links t) > ? I do not think that something similar may happen with `org-export-with-broken-links', but I suppose, the example above is another argument to prefer setting variables through customization interface instead of bare `setq' in general.