From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aPq8IeM5+GBc4AAAgWs5BA (envelope-from ) for ; Wed, 21 Jul 2021 17:14:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wCSUHeM5+GC9WQAAB5/wlQ (envelope-from ) for ; Wed, 21 Jul 2021 15:14:43 +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 D47D3466C for ; Wed, 21 Jul 2021 17:14:42 +0200 (CEST) Received: from localhost ([::1]:57734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6Dvl-000410-Ue for larch@yhetil.org; Wed, 21 Jul 2021 11:14:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6DvP-00040n-6U for emacs-orgmode@gnu.org; Wed, 21 Jul 2021 11:14:19 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:34581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6DvN-0003qE-BC for emacs-orgmode@gnu.org; Wed, 21 Jul 2021 11:14:18 -0400 Received: by mail-wr1-x429.google.com with SMTP id u1so2609555wrs.1 for ; Wed, 21 Jul 2021 08:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=V6CoWU/ebNbihtWp1l0FFaiZalIivlwq2ADgt/b5Y2I=; b=j/dTpV1CGfMTLKgfp1OF7F/9C4A7QWLiFXaJ6I1CSq7he9MZpwbitiqcQdXZsDk9h5 nqYb5+rELWa5Qa42eLVxfwCZhyW5rrT+P/nFR4VExIK7Iq5jvyg8FS5IvAFjWeXSaf1d N8b/rXVd0NPuHllHIXcHp4tKjQ3sgTQ9VPJEgq+DfuH+PcZumgg507e0Ln718zRB5Q6u zmzSPbnmUlEzOpOcTr0vf/2YSXgiDpsTtkbVP2tOvS3GXOTUXNgV9C61vuDrh4ULaruw 2OCFs4WBxluaXb1aDKgozgN3nRx87Sj+OWmojcl3fepnSa8leCW6sMkf9g6swGiaX96F Wfzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=V6CoWU/ebNbihtWp1l0FFaiZalIivlwq2ADgt/b5Y2I=; b=IRCCh9nrUPZjGOvSYpw3cH7Zsh6njd8MbTJvrCvKxXQfHN9X8HFJQ80px35WOJPEgj jx8onloNNFhETYkD0cilSRx3rDcaeXWA64zwsTA5kndmAUaQeeR3CGULHaLKJ689Gf0f gBW6+hfwswgtVSqKWysECG5OdaJqldu9+y3T6xrTw5EyGLqcyVMpMWP5xz8Z7lDwTvng un8+uSB4aAWAqsbpKs2TLVMCKbVgyoUawH9N7OlHIaQ87/b3p6xw6uuhQmDTelURuyRH ZXuKm7MH2hLPLeRCWgLby771cb+OndyRVPmPYfb1JZZ2S6jForvnc+wK0fhpSGj5Bj/4 GHKg== X-Gm-Message-State: AOAM530zA6sZUj/9raVLzZnraFFrJi82ngoJM3mdiBm7fhS+PuY745jO 93h0nsVk9y3M6nZBFTEJWyNLxXPVvfaQwILWC5yzuRfDK66n/Q== X-Google-Smtp-Source: ABdhPJw0hR+4G+sVhOW6+s9bVE2W6IYFrGmw0tdDVB2U6N4dBJx+3rhQsWWNK0DU27SdVh1CLlosGqfTc1m3ZsrG9RE= X-Received: by 2002:a05:6000:1841:: with SMTP id c1mr41941198wri.423.1626880454013; Wed, 21 Jul 2021 08:14:14 -0700 (PDT) MIME-Version: 1.0 From: "Bruce D'Arcus" Date: Wed, 21 Jul 2021 11:14:02 -0400 Message-ID: Subject: [org-cite] issues with org-cite-make-insert-processor select-style To: org-mode-email Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x429.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=1626880482; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=V6CoWU/ebNbihtWp1l0FFaiZalIivlwq2ADgt/b5Y2I=; b=jLm41nNEra79zZ4oylcFyYGw/5/nTJlHA3BqAvOZr0ysAhnEn+pgFLh4Lt7D1F6JimH+nk Q2c6Fy4e+sNLZj39ovbwA8NxPv9JcuiYOVcFAcTHFW1+hE1S5sqQS07cMomI54nL9hot3o FMmX/tgj47ZuG+qQBZ0Z81dk2GXy4Qh09gGjFyWfYrqU0TJioUZbjexwo2fjYvFDcutb8w MtI/tSqKt6Hh6uHgvh+cAQULpWvc9opoNZOD09ymRNVQxr2D4aUGAeQGmg6RYEYq8jvHP2 cKiVHPQMt/pr1L7nwmfReAN2zLTE0w7ILsHeGJOOCesCloku3EsnjC/7xOIBgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626880482; a=rsa-sha256; cv=none; b=dZoqLUTsMwaPyiI8n9NfAZDiXLgGRb1YMdITTrQ9WOpXmnRkwkNj5vawUardkZym++lsfI YfJoWU6scyVslS8mpwzuyryOiVechoA53id+dFzjCfWCxuk1+3Y2y/hbdPC0+2eV7PR3kM eCigeE65RlVa7OmsYMaKcJa/rfwZM4UxaQWxxg9n72ivXAyN3OjhnZwnlgrJHYbzPOOds7 n26PVw5ozk7Iu8VKpQQkb2/oKtFDM3oOP/UCclWO6U7mWNWdyvOfuYKiLks6FZQujcYqgx usXEvbnhxd0vDanRBtXBp4grQAMUBzHkuoM1YwtRQvv97tkVTKz/PY4dxGyhyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="j/dTpV1C"; 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: -1.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="j/dTpV1C"; 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: D47D3466C X-Spam-Score: -1.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2ecnR6fPYfaP I have run into a problem in implementing a "select-style" function for an org-cite-insert-processor. The WIP code is here: https://github.com/bdarcus/bibtex-actions/pull/182 It was running correctly yesterday morning, but now it doesn't. I have two related issues: 1. I think, but am not sure, I may have run into a bug in org-cite-make-insert-processor, as the function I am using for the select-style parameter runs correctly outside of the insert processor, and returns the same results as the "org-cite-basic--complete-style" function. But when I uncomment the parameter to use it on the org-cite insert processor, it not only doesn't work correctly, but Emacs won't even load fully. 2. The error I get "wrong type" is so general it literally took me hours to realize it was coming from this function; I was looking elsewhere for the issue. So if I'm right about a bug, obviously it would be great if that could be fixed. But better error handling and reporting would also be really great. Bruce PS - I"m still learning elisp, and so am not super knowledgeable about debugging in general. If anyone has any tips on that, that could help me narrow down the source of the error, that would be much appreciated.