From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp11.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 mKNgNtHNRmMLWAEAbAwnHQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 12 Oct 2022 16:23:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kHRvNtHNRmNLRAEA9RJhRA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 12 Oct 2022 16:23:13 +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 835D127C47 for <larch@yhetil.org>; Wed, 12 Oct 2022 16:23:13 +0200 (CEST) Received: from localhost ([::1]:37088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1oicdc-0003gT-JB for larch@yhetil.org; Wed, 12 Oct 2022 10:23:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jsilve24@gmail.com>) id 1oiccr-0003eD-33 for emacs-orgmode@gnu.org; Wed, 12 Oct 2022 10:22:25 -0400 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]:37842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <jsilve24@gmail.com>) id 1oicco-00048X-GC for emacs-orgmode@gnu.org; Wed, 12 Oct 2022 10:22:24 -0400 Received: by mail-qt1-x82b.google.com with SMTP id l28so4719945qtv.4 for <emacs-orgmode@gnu.org>; Wed, 12 Oct 2022 07:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:user-agent:references:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=cSubiJ0EypWIqHJZgxe99dTsd9l3yUWrGl5WUm2h8mQ=; b=o5UjZIyjMjt73vSBHqDlZKlEyZKzZLQxVtfE22oAJAwPy2ckMyc6pHUTje/a2oo21Z XzgtGh7eYsaj4l2gn3eJsqhJaFcfSpmRiS2SYArcSS1hOVqA2bmnJecLWjv7ndmYLWKP e8kqRtLGlsS4cJ00SHwv53viWf9n27Whmo730LHp+zYedx0kwh1wZfjVQ08sULyczseD UkzJdDfP1eqQ6HSXiRxcEkz4n4oCxeVN/vXV2zrtOfHrrcQ0THyUu/TWCZ7v5bxDZSZ0 /JNs++UtJlMxqpVUFqwnAU+udS68j9oUcRQGSY/jzzx1E9EwLKjULt6q+wMDFHYJEl8n 9cwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:user-agent:references:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cSubiJ0EypWIqHJZgxe99dTsd9l3yUWrGl5WUm2h8mQ=; b=RJk9dWBNDZgZNGOb0kzoQeTeDJUbexGSix28XC6zYldeAI/8ae5LIUFR7dHyxBK9oh Hnv0Khyj47ggLNtcDONKcFLFZR7kIWZe95QSLuC93w+tQi90lEwkqqia5CYHTCUaLrRy fA3357KO7k4b/4nUI2ZS/fhmItD7o0vJKsRErpfbj/Z5cIIzVqRRAk4NogilZwv/2t3d u+G6d8Z29if/mDlPV/Bjj7dngRmaw8KYH/J5hQX6VYeMebkBlmjakEw98hwbthLuCSj1 sNCXG0J9SNHKiVKwbJAzYt1GmQSB5ObvQPsZYE5cRsNKuS3TgMKj0ZpEuH+epD/sGofr /PXw== X-Gm-Message-State: ACrzQf2sbQvSCUvf3vlsviRBvr1p5RAz1tT3siyhNGhpPe9Ml0Su+FOz k5PmrH5dI9sN0SmQWn5g5CjhiezmmHY= X-Google-Smtp-Source: AMsMyM4RWW5wum8Y1yW8PwQg6kxeaYhL8YNHLZO1zba+zE7RKB2GhCjrP4lCqV6M3OfJgbKglZhWSg== X-Received: by 2002:ac8:5f09:0:b0:39a:4df9:9fc8 with SMTP id x9-20020ac85f09000000b0039a4df99fc8mr12724784qta.402.1665584520155; Wed, 12 Oct 2022 07:22:00 -0700 (PDT) Received: from lenovoGen4Sil (c-73-130-184-99.hsd1.pa.comcast.net. [73.130.184.99]) by smtp.gmail.com with ESMTPSA id r18-20020ac87ef2000000b0039cb8cdaa6bsm2379646qtc.63.2022.10.12.07.21.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 07:21:59 -0700 (PDT) From: Justin Silverman <jsilve24@gmail.com> To: Ihor Radchenko <yantar92@gmail.com> Cc: emacs-orgmode@gnu.org Subject: Re: bug: wrong-type-argument when trying export to pdf. Date: Wed, 12 Oct 2022 10:19:07 -0400 References: <87y1tmxjkj.fsf@gmail.com> <8735btu1ig.fsf@localhost> User-agent: mu4e 1.8.9; emacs 28.2 In-reply-to: <8735btu1ig.fsf@localhost> Message-ID: <87pmexw2bs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::82b; envelope-from=jsilve24@gmail.com; helo=mail-qt1-x82b.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, 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.29 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665584593; 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=cSubiJ0EypWIqHJZgxe99dTsd9l3yUWrGl5WUm2h8mQ=; b=XVLwapGCKM8m5ARTJMX/7Mu0xd40Sw8Nf6mgw/LhkVhIX9lse/6w801RcPxd7asayGL00s YnSQphQG12MXAghEivcd1HbC6D5hnxdbGnfTrbLRFzBQZLNi7fBgHv8H0iLqc6LiNO34T1 N2ppbNM8UUgoI682Dk3NztL8MZXbnXpCbXQ6yZ5baPY6l8MYwiaGzrGa3e/p/ENvsTeMBr a6A9hTE5L5iaZ3FwhRA9KEjFEFpswAwODiHT/zZ6nN5xMCTgWQ0i1mO/AwFOGUgyf9zHDa NQREQ2rOrLe+LYjVQtWvCuh2iLecM7seqI+mnwmcJu6zDzACWdzp13b7QVTmIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665584593; a=rsa-sha256; cv=none; b=r4fCenoYq19YoZu9ag01wQaJGsIBU7YNezfiMfS0UNKkchR4rYOZYwOxH/NSKQuJLDXqQc dMlQVdgXOfg5mKo6vBcKLceVt0zFmCkbi/MzrhBu1CICxVQz2BFon4awvUP0EqdFH7kyGv Qmd7ouooE9SGoZUJyPurkP4YTekyYWddPILd02Hyvc23NVHoMTvxbanBSrYGh1FlF4PwR0 9rn5rxzlvaQUzp8cFf8h/+z18rz0mg/h4oLZtj0IbbugN6IN4DHnoSY25BAMqkVtlQZJuw AZgVPkSymFDD8h47diY4rLcr12AWHyOUM9iUGm8YgPeZEbh1ng7M8uXScL4IuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=o5UjZIyj; 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.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=o5UjZIyj; 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: 835D127C47 X-Spam-Score: -3.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6fEf/jojfcC8 --=-=-= Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sorry that was my bad, the backtrace was from my own config not the simple-= config.el that I provided. Here is the backtrace from the simple-config.el = that shows that the problem persists even without polymode. (still, thanks for pointing out that I had polymode activated, that was a m= istake that I will fix in my personal config) Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) jit-lock--run-functions(1157 1223) jit-lock-fontify-now(1157 #<marker at 1223 in debug.org<2>>) font-lock-ensure(1157 #<marker at 1223 in debug.org<2>>) org-table-align() org-babel-insert-result(((0.333333333333333) (0.333333333333333) (0.33333= 3333333333)) ("value" "replace") ("R" "w1 <- c(1, 1, 1) \nw2 <- c(1, 1, 5) = \n\nx1 <- w1/sum(..." ((:colname-names) (:rowname-names) (:result-params "v= alue" "replace") (:result-type . value) (:results . "value replace") (:expo= rts . "both") (:cache . "no") (:hlines . "no") (:noweb . "no") (:session . = "*R*") (:tangle . "no")) "" nil 1011 "(ref:%s)") nil "R" (0 0 258514 765000= )) org-babel-execute-src-block(nil ("R" "w1 <- c(1, 1, 1) \nw2 <- c(1, 1, 5)= \n\nx1 <- w1/sum(..." ((:colname-names) (:rowname-names) (:result-params "= replace" "value") (:result-type . value) (:results . "replace value") (:exp= orts . "both") (:tangle . "no") (:session . "*R*") (:noweb . "no") (:hlines= . "no") (:cache . "no")) "" nil 1011 "(ref:%s)")) org-babel-exp-results(("R" "w1 <- c(1, 1, 1) \nw2 <- c(1, 1, 5) \n\nx1 <-= w1/sum(..." ((:cache . "no") (:colname-names) (:exports . "both") (:hlines= . "no") (:noweb . "no") (:result-params "replace" "value") (:result-type .= value) (:results . "replace value") (:rowname-names) (:session . "*R*") (:= tangle . "no")) "" nil 1011 "(ref:%s)") block nil "2da1507400b1866895fab484= 0062db146ee4de1e") org-babel-exp-do-export(("R" "w1 <- c(1, 1, 1) \nw2 <- c(1, 1, 5) \n\nx1 = <- w1/sum(..." ((:cache . "no") (:colname-names) (:exports . "both") (:hlin= es . "no") (:noweb . "no") (:result-params "replace" "value") (:result-type= . value) (:results . "replace value") (:rowname-names) (:session . "*R*") = (:tangle . "no")) "" nil 1011 "(ref:%s)") block "2da1507400b1866895fab48400= 62db146ee4de1e") org-babel-exp-src-block((src-block (:language "R" :switches nil :paramete= rs ":exports both :results value :session \"*R*\"" :begin 1011 :end 1146 :n= umber-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-= fmt nil :value " w1 <- c(1, 1, 1) \n w2 <- c(1, 1, 5) \n\n x1 <- w..." := post-blank 1 :post-affiliated 1011 :mode planning :granularity element :cac= hed nil :parent (section (:begin 1011 :end 1223 :contents-begin 1011 :conte= nts-end 1223 :robust-begin 1011 :robust-end 1221 :post-blank 0 :post-affili= ated 1011 :mode section :granularity element :cached nil :parent (headline = (:raw-value "Spurious Conclusions" :begin 986 :end 1223 :pre-blank 1 :conte= nts-begin 1011 :contents-end 1223 :robust-begin 1013 :robust-end 1221 :leve= l 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 = :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 986= :title (...) :parent (org-data ...) :cached t :org-element--cache-sync-key= (0 . 986))) :org-element--cache-sync-key (0 . 1010))) :org-element--cache-= sync-key (0 . 1011)))) org-babel-exp-process-buffer() org-export-as(beamer nil nil nil nil) org-export-to-buffer(beamer "*Org BEAMER Export*" nil nil nil nil nil #<s= ubr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_16>) org-beamer-export-as-latex() funcall-interactively(org-beamer-export-as-latex) command-execute(org-beamer-export-as-latex record) execute-extended-command(nil "org-beamer-export-as-latex" nil) funcall-interactively(execute-extended-command nil "org-beamer-export-as-= latex" nil) command-execute(execute-extended-command) Ihor Radchenko <yantar92@gmail.com> writes: > Justin Silverman <jsilve24@gmail.com> writes: > >> I am having a problem and getting a wrong-type-argument error when >> trying to run `org-beamer-export-to-pdf' on the attached file >> `debug.org' (see backtrace below). The problem also occurs when >> running `org-latex-export-to-pdf'. >> ... >> Backtrace: >> >> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p ni= l) >> jit-lock--run-functions(1218 1284) >> jit-lock-fontify-now(1218 #<marker at 1284 in L4-6_CoDA.org<2>>) >> #<subr font-lock-ensure>(1218 #<marker at 1284 in L4-6_CoDA.org<2>>) >> polymode-inhibit-during-initialization(#<subr font-lock-ensure> 1218 #= <marker at 1284 in L4-6_CoDA.org<2>>) > > The backtrace shows that you are using polymode. Does the problem > persist without polymode? --=-=-=--