From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 wBz0KU9NmGP7AwAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 11:00:47 +0100 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 8K/vKU9NmGO3YgAA9RJhRA (envelope-from ) for ; Tue, 13 Dec 2022 11:00:47 +0100 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 7BCE3B542 for ; Tue, 13 Dec 2022 11:00:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5255-0006BR-EE; Tue, 13 Dec 2022 05:00:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5253-00069i-KU for emacs-orgmode@gnu.org; Tue, 13 Dec 2022 05:00:09 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5251-0001am-DD for emacs-orgmode@gnu.org; Tue, 13 Dec 2022 05:00:09 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6325C24002A for ; Tue, 13 Dec 2022 11:00:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670925605; bh=GN8nnqquduruY/8YqVDuTjF0sFQ3tfDKF/t9CV8ewc8=; h=From:To:Cc:Subject:Date:From; b=oHaMZdA6xMzQA3bkCjnP5cOzVUioE3dqGi9eMoG+1OdITBa+rjLX3tHLUX3CqdBGr T+yVx/xJxhPl4sn7Pp2Xf7JtSZuVYN4JGQ4Og8ek+dDVR11N573d3q/Vr3KxrP6Xim 0h0sOlDwFGgu8RLKS9uyc6OTgeqXGKy/c8cCn/XT/+cbdX8QRmSl01ul+Xjbwv/QK8 CPvYM12zdurSuHPknHJ90D/PCElzEUtV/4hQHHxBMAz4LIzUiV7YfLGcFD/gwhURb0 oYyFrkEB/CiqfroQVu6QBLKoahknYj9oIjeq23wkuC0h2k0A/wTK3wMhzTuaBBpyXM n85UZyVie9yeg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NWYrf5ZqRz6tn7; Tue, 13 Dec 2022 11:00:02 +0100 (CET) From: Ihor Radchenko To: David O'Toole , Bastien Cc: emacs-orgmode@gnu.org Subject: Re: For your consideration: Extending org-info-js with additional hooks In-Reply-To: References: Date: Tue, 13 Dec 2022 10:00:01 +0000 Message-ID: <87wn6vd3oe.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670925647; 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=skp0yUnyQSOVSSGyD/dOcvBbblvjuLx+GZOlc0L/gYw=; b=aL1O1mPeN93tFZjCcJqlRJwP6pzfhkBe9qqo7GBoNH3Th4CaVu4F2oLaWo496rNtWG4HQ1 qooKqDwIvK06xPjQ43Aa8wqYo2xb2jHwIirFKnWHdGTBvIP4i32lG6hd0A0e0WeeyPumsP ItYi/0f6JvkW81z2UwcIb68v/J1ZVYk2i6+5aw8hy6INk8MiKIAby/OK5C48KUdA8EVhZJ NYptBbsOH3fKKcPbOzNbJdMoqtw6sHg2H6w+nZGmrxvdUPuY3wUSVZaDGo/hKK7qaORwjC jycV5f+ev25VCw8druT0d2Y0ffW5ouxv0uOFkb3pFtPoWbcyBiFQbmb4uGnbhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oHaMZdA6; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670925647; a=rsa-sha256; cv=none; b=AZORv5hvVHxqLOuTUFBL3sB+NNaeOb5c+gWrQPgIDK9MG8YPUAOLp97kjoKs9zy5ILaxCF zC4u7ZrlbIlAFQPYlpZe2ehrxRoHlc538yD2xO2fdD9p+f3aEK0FjRSle67xq0YCLMSOoD w/jahFf+2mUmxtHhpLl28U0dzSj//lb+J0GpnFahY563m0S8lVpxhWBwFC0JKXvYlGczk5 wX/pyglmao6TQNRK8HgS9DLtQgaJTCXqg2SQSxhy/uzQY1uoXZtZ5fe7SphxI7SwF52nq1 w4gREv/G3w8fcyY/VUApIw9qTWGuOYo/qucXmKlsgip1soWnjfGp5Vrq5gTlqw== X-Migadu-Spam-Score: -2.66 X-Spam-Score: -2.66 X-Migadu-Queue-Id: 7BCE3B542 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oHaMZdA6; 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"; dmarc=pass (policy=none) header.from=posteo.net X-TUID: HD45cXOIcaeY "David O'Toole" writes: > After some discussion with Yantar on IRC, I humbly submit the attached diff > for your consideration. > > It adds new hooks to org-info-js to allow the following: 1. inserting > page-specific HTML into each OrgInfo header, and 2. calling a custom > JavaScript function to run after any page navigation button/link is > clicked. I have used these hooks to implement Org-fleuron, a custom config > with nice navigation buttons, a greeting balloon, and embedded theme/fonts. > You can find out more about org-fleuron here: > https://davidotoole.info/fleuron.html?#org5dc18bc and the page was made > with the setup. > > I also corrected some of the English messages displayed by org-info-js. This addition does sound useful. However, in addition to changes in the code, it would be helpful to provide appropriate news entry and manual changes. See https://git.sr.ht/~bzg/worg/tree/master/item/code/org-info-js/changes.org and https://git.sr.ht/~bzg/worg/tree/master/item/code/org-info-js/index.org Bastien, since the activity around org-info-js revived after a long delay, should we move the code out of worg into a separate repo? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at