From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 cAigBWoIqGKBVAEAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 06:02:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YK1+BWoIqGJNPAEAauVa8A (envelope-from ) for ; Tue, 14 Jun 2022 06:02:50 +0200 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 C7B4C3A0B5 for ; Tue, 14 Jun 2022 06:02:49 +0200 (CEST) Received: from localhost ([::1]:48314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0xlQ-0002WB-Sg for larch@yhetil.org; Tue, 14 Jun 2022 00:02:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0xkA-0002Vn-U4 for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 00:01:30 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:35808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0xk9-0007iI-FX for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 00:01:30 -0400 Received: by mail-qk1-x731.google.com with SMTP id b142so5570726qkg.2 for ; Mon, 13 Jun 2022 21:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=VBFDNGnOVm4b6HNy6ZutyZe5F11zi//o+k4JpkDxZeo=; b=dl95tEft7JmbqqLvQ7a2vBnckrEk8zvhn7ktJiFN0HSMKMVoOxQouVG0oQuMM16iet PWkHyOhnmkywTNqEIMrJTSDUAdiaYgbk2arYLC0yNXjCYLnuIxKlVEx0nxmMdC+y5hb2 AZChJqW+7/sWJS5plVcSvvTwNTuIrojY28VLUgnf3V2Qa4q+Mk3xDc3QmX0UYVGX0czw YPaUCDi/7Y/rEuv+BD3iwMqfKURj2e5wYA5SKwUPtaMjVvj7+ceKyeD4EGVs8pfdwlET M+qMUi1Z6vhnL5tkjmTzLrk/Y4cl1IjIEoepW9hd+LiREecTuSfMOZlAKk6Yj0/U283J lBSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=VBFDNGnOVm4b6HNy6ZutyZe5F11zi//o+k4JpkDxZeo=; b=hsdUzryjtys75oTJRBwz5MOfU3mCG3FOpmpYVBrXyhHllsUsxQshBqBc6epijBHz2f pBtv3lyeXDodVBrQ/4Sxhe5Vc/bzqEhW2phtTAH/fDq+4+g3ATTrMu2SXLbn8o50Ztr/ p7nDF3kgL838oSrnBdE8CSAmGQgPQDpg80p/hgvJd9E9sKQE74+ku5rlwL0D3xMRWW9k Wt3jOSdW8K7i4VEo2nkFqHq10en/hk3+ZW7veQIzUejuXuQ0CZNRnKdjPHQ8zDgLBF2c 6JgeoveXs+v7o4AmXfof3NyjDozxPBJw4HQ+VVMrDQtGE/yAVl43LK2g1VbLotC2nC3P LhKw== X-Gm-Message-State: AOAM532XUp0/+s0j45unq7HlJd9tRfm/wqh//Mv5Uk5mS0enXTaSELVO 4iZn9yG+FNwG+ujIkNYB84Y= X-Google-Smtp-Source: ABdhPJwQHpUwbrKHZg0xtjqlgV5M0TfS2FlHNKYX49jgMn+FsRjR/cD4naRjHDq/mM5cvCvxcur6lQ== X-Received: by 2002:a05:620a:2681:b0:67e:909f:d5ac with SMTP id c1-20020a05620a268100b0067e909fd5acmr2630202qkp.125.1655179288429; Mon, 13 Jun 2022 21:01:28 -0700 (PDT) Received: from localhost (22.b2.a86c.ip4.static.sl-reverse.com. [108.168.178.34]) by smtp.gmail.com with ESMTPSA id bs42-20020a05620a472a00b006a353b7bf78sm8090825qkb.122.2022.06.13.21.01.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jun 2022 21:01:27 -0700 (PDT) From: Ihor Radchenko To: Ignacio Casso Cc: emacs-orgmode@gnu.org, Max Nikulin , Tim Cross Subject: Re: [BUG] org-capture autoload bug? [9.5.2 (9.5.2-gfbff08 @ /home/ignacio/.emacs.d/elpa/org-9.5.2/)] In-Reply-To: References: <877d5nba1s.fsf@localhost> Date: Tue, 14 Jun 2022 12:02:37 +0800 Message-ID: <87v8t3q4de.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=yantar92@gmail.com; helo=mail-qk1-x731.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655179369; 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=VBFDNGnOVm4b6HNy6ZutyZe5F11zi//o+k4JpkDxZeo=; b=G6U0UoqXVNm/vryI4w/Thhz2NQymrgTi1Uovu1t87VC0EhDmYi2jmzMGyxeVuMKsP8+JsB cU3H7yUjo8I8lit6MgaaptWxPFsQMLkBuMCg8OOR6ob0Plol+8KGel8TK6czuo1eNwctws 6aU9Wi5pihtNVD4coXmfEGdnaQymyTY9PGGz5c3QcWbTC99ChPeOMG7P9pA5cjYDqRQsGu CtAN0/sY50A7pbhUTc5p7POPkpOIdgop230KOWJXo9l59PDl3LAYSU88oMUViroZww+2XZ bqSWb3PrWqwW8eRswd0/TGEdMr2HpA4qw8ay9EaDzjW5iqd7199femcfjcmNEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655179369; a=rsa-sha256; cv=none; b=TGQHllbMouZxWiBi3QVCe1ZlNqFE5ll0fo1pk8XcQe1Odms7zkHb8Kub+vtYlM2MX1WaZU pa6yt/jFekgK6OA25081jnCVOLTQrhqO3bT+uUruPpSZX37qmxoXWq7MFQQbMCnC4YFCzn MUdl5wZD+zPLcpTBXWNRnSsyaSyg4brKPeFEMpdW/tL922f85apAVAr7Hnsr0QUE8CeK8N qesBfbxlIxXFHwrowkytLgBOM3+u2LMLpZpgj2KGTxYtwt0peQitqr8V/BG46//Pt/s59K zLKc/iyM+i65JnJbFVo6uyHMzW1epu8P5p0wTu1tf+RFb/odYmr7v/dm6SVrDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dl95tEft; 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" X-Migadu-Spam-Score: -3.59 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dl95tEft; 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" X-Migadu-Queue-Id: C7B4C3A0B5 X-Spam-Score: -3.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: khimtCcJZ8uT Ignacio Casso writes: >> LGTM! Unless others have objections, I am inclined to merge the patch >> fully. But please add changlog entries to the commit message. > > Done. I attach the patch with the new commit message. Thanks! Some more comments. > Subject: [PATCH] use `set-default-toplevel-value' in `defcustom' setters ^Use > * lisp/ob-lilypond.el (org-babel-lilypond-commands): use ^Use > `set-default-toplevel-value' instead of `set' or `set-default' in > `defcustom' :set argument. > * lisp/ob-shell.el (org-babel-shell-names): Ditto. Please don't use ditto. (what does it even mean?) > This commit fixes a bug that occurred when using an autoload function > inside a let-binding for a custom variable when the feature defining > both the function and the custom variable had not been loaded yet. It would be helpful to reference the relevant ML discussions. Best, Ihor