From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qBoUEEgs+l+MGQAA0tVLHw (envelope-from ) for ; Sat, 09 Jan 2021 22:20:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eHTLC0gs+l8+BwAAbx9fmQ (envelope-from ) for ; Sat, 09 Jan 2021 22:20:56 +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 4D3AE940481 for ; Sat, 9 Jan 2021 22:20:55 +0000 (UTC) Received: from localhost ([::1]:33834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyMbN-000855-0U for larch@yhetil.org; Sat, 09 Jan 2021 17:20:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyM3D-00077C-AX for emacs-orgmode@gnu.org; Sat, 09 Jan 2021 16:45:35 -0500 Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b]:46491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyM3B-0007ih-Tn for emacs-orgmode@gnu.org; Sat, 09 Jan 2021 16:45:35 -0500 Received: by mail-il1-x12b.google.com with SMTP id 75so14173301ilv.13 for ; Sat, 09 Jan 2021 13:45:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=8AfGiFoTsJ08XweFuzGbJxa9W6NMEdJrlW4PPVJsMAg=; b=P71+Oq3Nb/AjNcC2zcU9aCuoB96b1E994utkZaUc/cd4xGDh9OZlg3Cjn08NGjtq4i M3ayEI1eHecMQn21TlcMPJzHAP23x3kpBacH2QSY0hjsf8PX45jheFkk3AOJgGyT+TUr d8lBrz/RLBGkzn9SjqFbnF4nEGkqhdzvqhq+q/2MvyhRI8D6gBotwCAt+Hvxr02qcmkn NcykGx56ERFmYhufIjpaPpbqGGu6NPiqrhOzCI2E9NRFj2w0U0TrpM0nj9WhrsppTKmj ytCmApdgJmq3VOQHWA9dteXYkkQeegKrbYr2HNP3LQphy5+62OvQnE9rMXbD6rVEE/I6 //LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=8AfGiFoTsJ08XweFuzGbJxa9W6NMEdJrlW4PPVJsMAg=; b=JNM4JRVuL3KoPnWGFEzKdxKxDETBnGU0a87Fz4pP/Y/gpnLStmz+vYSiyBrfCo7Rsh 7ui/gNyPX/yaKFNuI4b/w83pMDfJK+qYeXT7HKRMtNoG09yl+6qTnf9NwSdjqxBHghoI EEaEYHjSSMmO8aBL+dXgDVXhFOCxYt5CFuTkJmXrVezypzqqGY9M3pn8iubKdwdRjAyv vr7xq4IREnUPeuSz9VZtbf3dm0oafpvTz8rVuxE83t7RmqKw5DUyVkumU3WF6+D925Tl R2DfvOxISvylVlGdJQejFnAswfltGRS3kFJBjgQ7DCLWcM/Ez5HQpby5nIjB6pCv9BZy RIEA== X-Gm-Message-State: AOAM532w7rc86XgY3TaYPNjkgy8Pbgtno45SVErqW1SCK0e9/PeU2u6z C/ZHHCkBcapT5IPV6Ya3ZAjGymdW5Q9efXFBTqexisws5j8= X-Google-Smtp-Source: ABdhPJyHpn1iAozWIxLfSvhCIAYIZrg1LXr7DGpNz3zEIL3DbuMI5FQo/6XMd15l4DrGHHQOlvLlm6DDtYUvTaxODWk= X-Received: by 2002:a92:cdac:: with SMTP id g12mr9643230ild.145.1610228732353; Sat, 09 Jan 2021 13:45:32 -0800 (PST) MIME-Version: 1.0 From: Matthieu Lemerre Date: Sat, 9 Jan 2021 22:45:21 +0100 Message-ID: Subject: [BUG] org-bibtex-read requires that bibtex is properly initialized To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000009961a605b87e979a" Received-SPF: pass client-ip=2607:f8b0:4864:20::12b; envelope-from=matthieu.lemerre@gmail.com; helo=mail-il1-x12b.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLYTO=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 09 Jan 2021 17:20:11 -0500 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: , Reply-To: racin@free.fr Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=P71+Oq3N; 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: 4D3AE940481 X-Spam-Score: -0.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: WC0nkDfD2zok --0000000000009961a605b87e979a Content-Type: text/plain; charset="UTF-8" Hi, When calling org-bibtex-read on a fresh emacs on a text which is not a .bib file, we get the following error: bibtex-parse-entry: Wrong type argument: stringp, nil This problem is solved if the (bibtex-set-dialect) function is called before. Note that this function is called automatically the first time a .bib file is opened, so many users may not have seen this problem. I don't know what the right fix would be though. For now I call (bibtex-set-dialect) in my init.el, but maybe org-bibtex-read should do it? Thank you for org-mode! Matthieu --0000000000009961a605b87e979a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
=C2=A0When calling org-bibtex-read on a= fresh emacs on a text which is not a .bib file, we get the following error= : bibtex-parse-entry: Wrong type argument: stringp, nil

This problem is solved if the (bibtex-set-dialect) function is called= before. Note that this function is called automatically the first time a .= bib file is opened, so many users may not have seen this problem.

I don't know what the right fix would be though. For no= w I call (bibtex-set-dialect) in my init.el, but maybe org-bibtex-read shou= ld do it?

Thank you for org-mode!
Matthi= eu
--0000000000009961a605b87e979a--