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 ms11 with LMTPS id AJ5VJeaUBGBjdwAA0tVLHw (envelope-from ) for ; Sun, 17 Jan 2021 19:49:58 +0000 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 ILQjIeaUBGCkDgAAB5/wlQ (envelope-from ) for ; Sun, 17 Jan 2021 19:49:58 +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 2BFA29402D4 for ; Sun, 17 Jan 2021 19:49:58 +0000 (UTC) Received: from localhost ([::1]:42176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1E3g-0005aP-6j for larch@yhetil.org; Sun, 17 Jan 2021 14:49:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1DtH-0005JE-Jo for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 14:39:11 -0500 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:41105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l1DtG-0001Gt-05 for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 14:39:11 -0500 Received: by mail-pg1-x52e.google.com with SMTP id i7so9601428pgc.8 for ; Sun, 17 Jan 2021 11:39:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=IRj1224n8NVQPNIfiyApHhrEpvQoU580mSN38bmJHqU=; b=Q1BZOFcrNvLbHtKqQNC+JjvJoGurM69qAle5H6Uld68b5LDksAhW0ZxLUxrAw41T8N evJ6iGiyrURyrFMGWo8CcmwHR0QNjD1kwY3bh27ncQGKQ+TLSNYHrYp2W7EswRHX8DQv B4xvgvMZC3TQivHNAS+rqbsvyCH9osazjtIyCLw6ZYQm5hPuPk18jD1nPkqzM3QM04wy yyN5eAkFca24YBfKCV/Iplbc3BvSTcuTRKSfFilMeKzAIYNutm/whTbEj0i3XG+o75wR T03fqVl9DOV2/qREbGQofc6cBtW7p+d5NRIedKqRxLxIH2XajQIy7rpg7T9hp5zCXRP/ QJLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=IRj1224n8NVQPNIfiyApHhrEpvQoU580mSN38bmJHqU=; b=jElDtqpj27d54WBrGckKLYEqcs4uvpLEp5Aix9rhdqEqpir5cp7H4SHZ9uwF5whh19 fPY93QTAMurHvL7ncaC3ZqjAdrRgBpg5gGWQE67vw/mWbcqnOL75UukwUYXLRhhREA+Z ib7uC51nUrlcYh4/S41h3OtJhXICNriykPOoq+RR9UkszPh3IbJRrjT/T90OJ7aHvdsl j1I+Q2cSUs5X135fpYhEZB8134jHj7eboe86iDf9G8AtjadOZgsn/sNHYqMW3paYVmqy 7KAyDEUiSyQRcnQXYVJKGp0HKi/NwZVo/mZg2tvVDJ/PSQhWKNLSVcbswtPqoCEHmWP6 xPcA== X-Gm-Message-State: AOAM530GygdS5cADdcPRNYFmNjfEsl7NNBF9qGhqE1NL9clP0uIUgh1H r6aaBdx1MWH0Z2PxpCgkexVlV9JVtqCVmg== X-Google-Smtp-Source: ABdhPJyIwBnVlAJEXz8JvVNU6V13JAybrxHhFmVeAe3HZkWWhDXhX57XXK2IkQdQS151bYsc/BBSHw== X-Received: by 2002:a63:db57:: with SMTP id x23mr22590243pgi.131.1610912347819; Sun, 17 Jan 2021 11:39:07 -0800 (PST) Received: from tim-desktop (106-69-97-42.dyn.iinet.net.au. [106.69.97.42]) by smtp.gmail.com with ESMTPSA id s29sm14438206pgn.65.2021.01.17.11.39.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 11:39:07 -0800 (PST) References: <875z3v5srj.fsf@yandex.com> User-agent: mu4e 1.5.7; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: org-publish error with java hook Date: Mon, 18 Jan 2021 06:30:02 +1100 In-reply-to: <875z3v5srj.fsf@yandex.com> Message-ID: <87h7nf8iaw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x52e.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 X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Q1BZOFcr; 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: 2BFA29402D4 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: c0MCc3WYy/xz Colin Baxter writes: > Hello, > > In the last few days org-publish no loner works for me, giving a lisp > error: (void-function conkeror-minor-mode). The source of the problem is > the line '(add-hook 'js-mode-hook 'conkeror-minor-mode)' in my init > file. If I comment out the line, the error disappears. > > I've tried reverting a couple of recent commits in org-mode, but to no > avail. I'd appreciate pointers as to the issue. > > I'm using emacs-27.1 with Org mode version 9.4.4 > (release_9.4.4-186-g7fa817). > I suspect that is something related to your local configuration - specifically in your Javascript setup hook. I don't think it has anything to do with org. When org publish does its thing, it must be loading js mode and that is triggering the error. Emacs has deprecated conkeror support in the browse-url library ecently (Emacs 28 I think), which has probably resulted in some other packages removing conkeror support. My guess would be that you have been using a package which adds conkeror support when editing Javascript code (you could test this by opening a JS file outside of org mode and see if you get the same error). Review the packages you have which provide JS editing support and you will likely find the culprit. -- Tim Cross