From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UN4cBYNy+WBMcAAAgWs5BA (envelope-from ) for ; Thu, 22 Jul 2021 15:28:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uOrAAINy+WC3GgAAB5/wlQ (envelope-from ) for ; Thu, 22 Jul 2021 13:28:35 +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 A4CF61AB79 for ; Thu, 22 Jul 2021 15:28:34 +0200 (CEST) Received: from localhost ([::1]:41580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6Yka-0004rI-OO for larch@yhetil.org; Thu, 22 Jul 2021 09:28:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6Yjk-0004nX-PX for emacs-orgmode@gnu.org; Thu, 22 Jul 2021 09:27:41 -0400 Received: from mail-vs1-xe36.google.com ([2607:f8b0:4864:20::e36]:46032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6Yjf-0003aB-58 for emacs-orgmode@gnu.org; Thu, 22 Jul 2021 09:27:40 -0400 Received: by mail-vs1-xe36.google.com with SMTP id h5so3272951vsg.12 for ; Thu, 22 Jul 2021 06:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=magluvIOaKu/swG0apdyEgUTGePnqBrbWSEkJiN0UQY=; b=kEKbUmBmYUX2QbEwi1DKUiZy8iNiONyCqFjD9FM6NxPr+E7Vm42RGscW7L/3cQaxWU wlVNEJdEeZc8Ge6eiKvmVscTZg4yQTGG+IWeP0SEpCbsjvqxivCngQksOQmKLRyRoS3P U45r9jz8Yex8FG4LOAFRDaR729yz5XKO4wQeTStAlhbJtgKmMPJMPmlCeEppytKqQhID WSVP6wxmbOm6UznQb1ikKW6zYbQ/35xhKhlb/JwmhN1pwm4VrS/gu9Lh72DlnFnwcRX+ OkTBIlV07Y9LzWlrp3GHrZFX+x/FKn34xgwuFwL3PKhnXKS/M+s8f/+ztL28Qrybyrs0 kEAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=magluvIOaKu/swG0apdyEgUTGePnqBrbWSEkJiN0UQY=; b=KLKw9/VCrGJCf/Ufh9VW9V6j+5g7O2Pa2LZguzgiX14U1sSVzD2pRBr+PSTYs9GVIZ OB5gv6bxv8M4hFkTzjS+zL0C9mhOJSslEmEEkdeeaZjyR4fjgXS1ZbaEQ9cp/eYuwL8F vcrsi12/UrXjW0Ei/gELiAQTokwp1Cz6awttTm4MR9K9OhdfCvxu4NzpNi1wJBAt0/09 RNUOqFsCUxTHzNQbfRerf7cWyKbDYe6nLO6OeshqHdxuDYHul/cPZm2YfmTKyYGjdBfU cNOpvTPbckpKLTctHERYOTAZ9Iv1nWPCvPZeQsd3o+mzHoj2gw4+FTk5e8UcDVJo01ho LrYA== X-Gm-Message-State: AOAM53217PSe9/M8lxpV53WsnIVNOXC830w/X0lWRcmMRYzhs6PcaFWb l5l26lI3QnQXX3LdPOtCUTP30WnptVwChISibcU= X-Google-Smtp-Source: ABdhPJzsereFfIig6rT+sXLiToQ41ohkuW0V0oY5DEGgFqcbv4nxa0JXdQJm1cgOkrukhaAwn4aBnQYJQXfGbRH7H7c= X-Received: by 2002:a67:8013:: with SMTP id b19mr38878512vsd.33.1626960454000; Thu, 22 Jul 2021 06:27:34 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Matt Price Date: Thu, 22 Jul 2021 09:27:20 -0400 Message-ID: Subject: Re: [org-cite] issues with org-cite-make-insert-processor select-style To: "Bruce D'Arcus" Content-Type: multipart/alternative; boundary="000000000000eca3bd05c7b63f32" Received-SPF: pass client-ip=2607:f8b0:4864:20::e36; envelope-from=moptop99@gmail.com; helo=mail-vs1-xe36.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, HTML_MESSAGE=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: , Cc: org-mode-email 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=1626960514; 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=magluvIOaKu/swG0apdyEgUTGePnqBrbWSEkJiN0UQY=; b=a7xPO//w8cohXeIVbGwQkpYZgMASELUlfobYy+vsSwMkdC/MSEWoIG4WzBJ+nj5ZgCgs8G cxR2P3mqBkix3pqg3+t2FTiwXbj6EoylpLqgV2lDzTZiDzmh1/e7u+y5YADnMAEKLxrmyd v4WuSuz4e/Rm6uJzOGJQ4ncSlvvE3/avkt6XoQsvxrtim+xgy4ZvpyCLGDyMWKBBlEe47o 2KzhxIYrg5tquP8CkItl1mCwvxua+pyT0eFUqgXBxVhzm9yQdFWzIG6/TBfGt7OCPt+R7H Djv8sCwI++LvCM/GllmXJCuZSfKaxouaSQtV5IcrcnapDZVj6i8gm1Tuess6aQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626960514; a=rsa-sha256; cv=none; b=Yv4G2yO9W2hzxGmd2TN8Uf3gXSGknpRn1ty1vQjnHL9frUUWHAKSESu7aQVNJ241lIvRlO 2LZGJLWvepxiskzI4zIrTavYCXdJnLMRm+VtaRqzT+Cq1L6X5D0byVGXCdaa0hIY9N0X3g FXR+CQeiGta97rHScCnUcOhk6MlaCxsgPHsZU7XRkBz5AHVcRfhTvsYXb1DHRhn5zRWKpX B/SIEqOaZ4/SokzANjeLBV/JCYBbSI6ch8y1hopYHCkpi23VoUVaTYiBEmkY3HECJL3IPI X0EJ0C7YvCVW1pOe2IzJfHPoVCJ7mST2trwI7FlVZ7sb763BnwIsABfnNQhGoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=kEKbUmBm; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=kEKbUmBm; 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: A4CF61AB79 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: J/FzekjatboU --000000000000eca3bd05c7b63f32 Content-Type: text/plain; charset="UTF-8" Bruce, are you loading this code with use-package? If so, and if I'm reading this right, you can perhaps add the missing functions to the :commands directive for org-mode? IIUC that should ensure that they are available to your package, as long as you have an :after (org oc) line in the package's use-package directive. On Thu, Jul 22, 2021 at 6:31 AM Bruce D'Arcus wrote: > The problem was load order I guess; putting this of the file fixes it. > > So when org-citemake-insert-processor is first loaded, it looks for > the two functions, which haven't been loaded yet. > > I still think a) the error message could say that (that the functions > aren't found or some such), and b) that it shouldn't break starting > Emacs. > > On Thu, Jul 22, 2021 at 4:27 AM Bruce D'Arcus wrote: > > > If I comment out those lines and use the oc-basic style selector > > instead to start emacs, and from there reactivate this function and > > compile and reload the code from the buffer, THEN it works without > > error. > > --000000000000eca3bd05c7b63f32 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Bruce, are you loading this code with use-package? If= so, and if I'm reading this right, you can perhaps add the missing fun= ctions to the

:commands

directive for org-mode? IIUC that should ensure that they are available = to your package, as long as you have an
:after (org oc)
line in the package's use-package directive.

On Thu, Jul 22, = 2021 at 6:31 AM Bruce D'Arcus <= bdarcus@gmail.com> wrote:
The problem was load order I guess; putting this of the fi= le fixes it.

So when org-citemake-insert-processor is first loaded, it looks for
the two functions, which haven't been loaded yet.

I still think a) the error message could say that (that the functions
aren't found or some such), and b) that it shouldn't break starting=
Emacs.

On Thu, Jul 22, 2021 at 4:27 AM Bruce D'Arcus <bdarcus@gmail.com> wrote:

> If I comment out those lines and use the oc-basic style selector
> instead to start emacs, and from there reactivate this function and > compile and reload the code from the buffer, THEN it works without
> error.

--000000000000eca3bd05c7b63f32--