From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id pi7VJDCxa2DsBwEAgWs5BA (envelope-from ) for ; Tue, 06 Apr 2021 02:54:08 +0200 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 cP/MHTCxa2DXAgAAbx9fmQ (envelope-from ) for ; Tue, 06 Apr 2021 00:54:08 +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 EF814EF36 for ; Tue, 6 Apr 2021 02:54:07 +0200 (CEST) Received: from localhost ([::1]:39424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTZyo-0001WR-R1 for larch@yhetil.org; Mon, 05 Apr 2021 20:54:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTZy7-0001WJ-Pe for emacs-orgmode@gnu.org; Mon, 05 Apr 2021 20:53:23 -0400 Received: from out1.migadu.com ([2001:41d0:2:863f::]:12763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTZwH-0001VB-Tz for emacs-orgmode@gnu.org; Mon, 05 Apr 2021 20:53:23 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1617670284; h=from:from: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; bh=fhs/AlKihHloxI3P7jBnjBA4gHEdppxDXEF//hCzY5M=; b=IwyMcmuWDo1d0AaIf5lo8gVkjlAM7IpvQNhqmSHM+4ErlVE+jCwDtoyL6IzoNCGwgnz73/ XDcdMS4voyQ+6hJfuEnWR5OVhUrCKVThEyJJZBK5c2YjbJro9wJr16hAZ0WPj7T0GAbt5Y IcXuYPNvWpjnC+i9F5ZZFU/HEpTVkF4WgiaurUrXsjfvigyZbxkC9ZQW9WsmrRo4c2OQMH WAkFM6g8zNeSdrLTjilO1qsNW/t2zAdyUSMY6e/wNXbQf7XLHBRi5PyOp/CXk+ttQyBFfF qgyi1qNnV4d085Xh+VmSAyRxXp/Kx8XzHNYKYMKWw5oJow0Vb4TZjsZKd80cPA== From: Kyle Meyer To: Greg Minshall Subject: Re: life on the eading bledge In-Reply-To: <856927.1617641279@apollo2.minshall.org> References: <856927.1617641279@apollo2.minshall.org> Date: Mon, 05 Apr 2021 20:51:22 -0400 Message-ID: <875z10ck1h.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=kyle@kyleam.com; helo=out1.migadu.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, 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: emacs-orgmode@gnu.org, Nicolas Goaziou 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=1617670448; 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=fhs/AlKihHloxI3P7jBnjBA4gHEdppxDXEF//hCzY5M=; b=QJKD3aCiJdDczBt3Kzjcd9cYTbRtJmkbCH5+JH8m52ACoRgN898gmG1NnrdpY78mVRtPuu /KkKDuSb5kep2wr39z0IKu/zDjEt2J0SEv1qNn0sXD5i98aRM7Xxbb95Pg+QIPEvmwTE9l Bd/HsTVgF/ndiSWPB4oF/BDhZ3uH3yd66SPqLqPZFGqQoTtk+VjPVg6UcUyLFlYiiEyy4j ipEM70wmdP5yZ6uBON0HzQpNnsPI26PiqRPc+pBNLf90j/f4h1nxRTf3UgkDXSHcOLdjAl 2wdcHDtLUhA7gCKUJoYK66IeJyELFIa5uil1wLdi5hjWEdh10vbbT4ipl/OXrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617670448; a=rsa-sha256; cv=none; b=cwh2+2jFUKS7okGkefL+mtaPFikYvI4nHXjGtjGeWe8FEltFhPCd/U1ZTULVoZWUOYyaJE lDQ9rI53vup4XkaMj4XDn0bXgSF0koY94BEK5JLmBK4e/GBOJ4Z77Eg7pfRykpPxMo+HjI k1dbYRsLQQo8PWZ29B2FX9zHmYbPAOV+8S1NOpPsXdc/3M7RhCqMgsBwsJolMQ4yuBLnkP n3Q9s/QyDZIWEOLbFqwmT4ktO2pt4XAgPn/UzwsHg+gAfhJMK4PvaduZX8N/XpEIQ8evmc AzT24ss+RuEKQQy/TKtdZWgOhCV5TRHUKDjLTS+hchpEm5m8v5ZJnReOC3UREg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=IwyMcmuW; 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: -2.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=IwyMcmuW; dmarc=none; 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: EF814EF36 X-Spam-Score: -2.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: dcVoTTzkzzI0 Greg Minshall writes: > hi. running c881b60593b3beeed7b8c7a2bada64157cd9940a, the following > > ==== > *** this =equals= that > > and, so on > ==== > > exporting [C-e l o], gives > : replace-regexp-in-string: Wrong type argument: arrayp, nil Thanks for reporting. The failure was introduced by bcfe6f985 (ox-latex: convert verbatim text in headings to texttt, 2021-04-04). The below change seems to fix the issue, though Nicolas may be able to suggest a more appropriate change. diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 932f38530..ac24f1f74 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -1961,8 +1961,16 @@ (defun org-latex-headline (headline contents info) ;; commands (like \section, etc.), and this causes compilation to fail. ;; So, within headings it's a good idea to replace any instances of \verb ;; with \texttt. - (code . (lambda (_ c _) (org-latex--protect-texttt c))) - (verbatim . (lambda (_ c _) (org-latex--protect-texttt c)))))) + (code . (lambda (o c i) + (org-latex--protect-texttt + (or c + (org-export-data + (org-element-property :value o) i))))) + (verbatim . (lambda (o c i) + (org-latex--protect-texttt + (or c + (org-export-data + (org-element-property :value o) i)))))))) (text (org-export-data-with-backend (org-element-property :title headline) section-back-end info))