From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OF9SEcqgVmP8awAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 16:27:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6Ex5EMqgVmOzHwAAG6o9tA (envelope-from ) for ; Mon, 24 Oct 2022 16:27:22 +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 F129CBB24 for ; Mon, 24 Oct 2022 16:27:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omxuq-0000MJ-Go; Mon, 24 Oct 2022 09:54:56 -0400 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 1omxul-0000Jn-Hp for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 09:54:54 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omxuj-0000VL-9n for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 09:54:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A49B9240101 for ; Mon, 24 Oct 2022 15:54:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666619686; bh=+pw6XY+oQw0oPkqnvkspiO8+/j6OOeRWOLdnz/iUmPw=; h=From:To:Cc:Subject:Date:From; b=XosZgeUzovrWY7Qn+GaCJ7TdHRi2qKNT/czrzDoGaTepmcSZmwC2mtRBuzZWlExwi tAwqBXQVt3wGtp1T3SME5xBHV5059Yx4zERKBp5kwEYQM/jZL7L+z9g1VYy3N0hZ1D EOot79CZPMTCsDyR727odCtWaHq6+0RRvFJujuW4Mut4wvQSUNlWeZHnA87tD4SEiE 7SOwJXJZDRORKwzRwOwpwLorNcGhKmORBrSzOmcnX2nWtJ+JWzTz/D88QSszRmM+aO q6D12x3/XzojXabcYW9/S0AC/OxQz4CfBLGvIyif0ISbecZwwA6VJkhfEhOUyeBoGU RoO0KvlsORJ0A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MwxQY2M1fz6tmp; Mon, 24 Oct 2022 15:54:44 +0200 (CEST) From: Ihor Radchenko To: Damien Cassou Cc: emacs-orgmode@gnu.org Subject: Re: Request for feedback: ox-linuxmag In-Reply-To: <87h6zunxvy.fsf@cassou.me> References: <87h6zunxvy.fsf@cassou.me> Date: Mon, 24 Oct 2022 13:55:24 +0000 Message-ID: <875yg9uy0j.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: 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=1666621642; 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=/8vIXyZWuaPvZj6TzMqiqvnAysgx/wL9dMKkLxuCyzc=; b=JEt4EoKwJSUwk24CyP+BARotH9zNuRiYqiLzhQW/ZDVllgFgkf1OejY5Sp6ov5bzKArDBr Lk4omHim+PjE4S8t+zi7/qHc1ht4YADaNSrxcw/AyLVoo0y0f1Qe4RtCgqZntUhPrATiTB T0Xnjs0cGfJ8RaPA9XVM6UC8+TN/209xLU6zjYjXYultAoLpL1POW+s3Zd8OiBw/bxuF// 0tgtuN7ez24Ocq5TRqO2fjnm35gseaKVxP4TNTX27tfrhs7HAdZEtMlEIKnXfozdJKy42o mXlS2yhv+ubZVkkCHAWGe4UIuf2hdAlUAUk/lPaPv4LD3r5iCSIQgjvj/zH/UQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666621642; a=rsa-sha256; cv=none; b=twKWwWGX0uEmLnXKpRwo0tMgMhob6K9hDxC09BQ7HUoW4EWh6k7gJnqLAJ7YDKA640bezm +uv5tMJKuvC4IpnDinipAUCkWjoctFWL7Il3uoYZAC8/AwPhKxSXaCs6+jFypySHPSqCZY zJcZAvrQkSpwNSGb6nYy2zuK8FgxG+xDCTDpenIRctOLTCYecM1UmbwDVFLDu7lxll3ZNh LeENyeqd0tLYk32tfulGY2mlYbN5AD5QcDw3YAkdAze7X4ChUVMoLaay4nU4PfMHQCM+u7 lNUhrqmuSOyuaHxQIZmKmq4/B8yc0NR3zK4lWBc1oh6x+ANdtXExhkxuyBAw0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XosZgeUz; dmarc=pass (policy=none) header.from=posteo.net; 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.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XosZgeUz; dmarc=pass (policy=none) header.from=posteo.net; 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: F129CBB24 X-Spam-Score: -3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: lBK3JgqFs1w7 Damien Cassou writes: > I'm done writing ox-linuxmag, an exporter for the French GNU/Linux > Magazine: https://github.com/DamienCassou/ox-linuxmag. Why not using org-export-define-derived-backend? Also, linuxmag might be confused with https://www.linux-magazine.com/tags/view/Operating+Systems/GNU > (defconst ox-linuxmag--resources-dir > (expand-file-name "resources" (file-name-directory (or load-file-name (buffer-file-name)))) > "Directory containing the style and template XML files.") This will spoil the installation dir. > ox-linuxmag--template Your template function has side effects. Side effects are usually implemented inside the export function. like ox-linuxmag--export-to-odt > ox-linuxmag--export-to-odt Why is it marked as private function? By convention, Org exporters provide public function to export programatically. And it is (interactive), which is even more strange given that it is marked private (--). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at