From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8PyTEESfBGCJRwAA0tVLHw (envelope-from ) for ; Sun, 17 Jan 2021 20:34:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2LBlDESfBGBqFQAA1q6Kng (envelope-from ) for ; Sun, 17 Jan 2021 20:34:12 +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 9D9EE940418 for ; Sun, 17 Jan 2021 20:34:11 +0000 (UTC) Received: from localhost ([::1]:47752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1EkT-000579-DI for larch@yhetil.org; Sun, 17 Jan 2021 15:34:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1Ejt-00056v-Te for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 15:33:34 -0500 Received: from forward102j.mail.yandex.net ([2a02:6b8:0:801:2::102]:53196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1Ejq-0002Nm-Mj for emacs-orgmode@gnu.org; Sun, 17 Jan 2021 15:33:33 -0500 Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 502F3F20127; Sun, 17 Jan 2021 23:33:24 +0300 (MSK) Received: from vla1-5c8ce23a551e.qloud-c.yandex.net (vla1-5c8ce23a551e.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:400d:0:640:5c8c:e23a]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 48AD961E0002; Sun, 17 Jan 2021 23:33:24 +0300 (MSK) Received: from vla4-d1b041059520.qloud-c.yandex.net (vla4-d1b041059520.qloud-c.yandex.net [2a02:6b8:c17:914:0:640:d1b0:4105]) by vla1-5c8ce23a551e.qloud-c.yandex.net (mxback/Yandex) with ESMTP id aT1qqDdSxQ-XODWICl1; Sun, 17 Jan 2021 23:33:24 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1610915604; bh=rS3ZY05LJfWRt7HQu9MCS4dVPNhiYeoRbwrsNLoJc8o=; h=In-Reply-To:Subject:To:From:Message-ID:Cc:Cc:Date:References; b=qqdavQz76m4Te+nUi3Be1IkDsd5er85o0/rbSz9lsmIeVnyvOyZpk3ug86W0nbPwb UDanruX3Gy5Ir8wLWEDl2Dh2HyAo3gzIxL+wvXASL1+YOf7cNm9hORrjYBqDpwZ6tW 0j17LjGz3AvIfSbPgfNTJr0aVJ4TfqHFe8PfnjPI= Received: by vla4-d1b041059520.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id NSGynco9tg-XNImfaxu; Sun, 17 Jan 2021 23:33:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) From: Colin Baxter To: Tim Cross Subject: Re: org-publish error with java hook References: <875z3v5srj.fsf@yandex.com> <87h7nf8iaw.fsf@gmail.com> X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Date: Sun, 17 Jan 2021 20:33:22 +0000 In-Reply-To: <87h7nf8iaw.fsf@gmail.com> (Tim Cross's message of "Mon, 18 Jan 2021 06:30:02 +1100") Message-ID: <871rej5mnh.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a02:6b8:0:801:2::102; envelope-from=m43cap@yandex.com; helo=forward102j.mail.yandex.net 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, 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 Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.com header.s=mail header.b=qqdavQz7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.com (policy=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: 9D9EE940418 X-Spam-Score: -1.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: wQz273xy2Hoq Hi Tim, Thanks for you quick reply. >>>>> Tim Cross writes: > 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). I don't get this error editing a js outside of org-mode, unfortunately. In fact, conkeror-minor-mode-el still works. Ok, all it does is to send a js script to be evaluate by conkeror, but it still does exactly that. I intend to check - when I get time - if the CDATA @license-end stuff that org publish inserts is not responsible. Best wishes, Colin. Colin Baxter