From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uMZCFsQdtGOKaQAAbAwnHQ (envelope-from ) for ; Tue, 03 Jan 2023 13:21:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6CscFsQdtGPRfAAAauVa8A (envelope-from ) for ; Tue, 03 Jan 2023 13:21:24 +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 D62338A17 for ; Tue, 3 Jan 2023 13:21:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCgCa-0002b3-48; Tue, 03 Jan 2023 07:15:32 -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 1pCgCW-0002ao-ML for emacs-orgmode@gnu.org; Tue, 03 Jan 2023 07:15:28 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCgCV-0000KR-2q for emacs-orgmode@gnu.org; Tue, 03 Jan 2023 07:15:28 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pCgCR-00020i-TL for emacs-orgmode@gnu.org; Tue, 03 Jan 2023 13:15:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: Export Org with Org concept -- Re: Problems with C-c C-e file.org, Date: Tue, 3 Jan 2023 19:15:17 +0700 Message-ID: References: <878rj469sk.fsf@localhost> <877cy673ot.fsf@localhost> <87edsckkym.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, GAPPY_SUBJECT=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-3.103, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1672748484; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=N4/3uUAPfQd/4YWMthf82dmkpX7cNOWtAH4bvLV8GvQ=; b=VGcqzD31RtM2XNrbmaACrhZLWhGgOrt2i8nowP4i3LqBfba9sLwvzVdws9rkiDf4aMT6UB 4SAoK4BLBv8jsrU1MaGp5oOdgbGf4chk4ZZkWlr7r7SIiWRSl2SqgfNauXuoIxOzp2itvX 1nxxGejEqkxzNn8zCnoSHCh/p6zKXbyGCPmAdOv5xA8chJioSAhWzkatyjp0bYk9k41Hk7 JpqD04dr9GtGTwbP+Tf+GdG5tgC+gcDeJVsgGZui1T0yGkXcha2bsWEkhBreawXeJyrkxB +WGS3+JY0hSC1wtb8fMpSWbXGqrhbXKjWS/FQMzsIbhshYGC1aKqyo9OnXtQnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672748484; a=rsa-sha256; cv=none; b=Q86gVtlvEY0gwRNKKvPeRcmpukenW7xEvyc0m1WqkEuu1lBOJRHaMPmjnN2H6aZyHA0y4h KEfo0Pdd3h/mOR1jjoMPix8V7wl0iJV4gFc4NJxadDWPzQ1pr9trxazUHIwD+HNeZmLHM2 bfk9w0dSN/HNUS+3kF6IQHUqibcNt0pf8M4hOdHy8KG1LSwBlPSSIovYQ0LmgmAAVZNGOH 3LSVFk7fO7B7czfj/xht50HiPpumw1L4cF12i7P9Sal1T/AlCRniZUNm4zhHr2yq1mpQcn V2bfaXDY1ly71a+PX5f+ZNlN8cQAuChtYJEthe5kcyztfaE26k73xJc+CWGSdw== X-Spam-Score: 2.64 X-Migadu-Queue-Id: D62338A17 Authentication-Results: aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 2.64 X-TUID: 9a/OVHOqqdZD On 03/01/2023 17:01, Eduardo Ochs wrote: > > Can you send to me - here to the mailing list - a version of > `org-export-dispatch', and also of other functions if needed, in which > the parts that call `read-char-exclusive' are replaced by something > non-blocking? Eduardo, I am sorry, but from my opinion it is too much. Perhaps you are just not realizing that resources of developers are rather limited. Getting rid of `read-char-exclusive' in Org menus requires significant amount of work. Nobody argues that it would be a great improvement, but it is necessary to make changes that are not obvious at first glance. It would lead to confusing behavior otherwise. Jean might be happy with the posted mock-up. Unfortunately that code is too far from been ready to be used for all users. E.g. it does not use `org-export-registered-backends', not to mention that all menus in the package should be consistent. It is OK to have a bunch of repetitive code for a demo, but it can not be taken as is. Ihor dedicates a lot of time for development and maintaining of Org. Other developers are significantly less active last months. Often authors of code are not participating in discussions because several years have been passed since that time and they are busy with other projects. So your questions may noticeable efforts from other persons unfamiliar with some code to "read" it for you. Org code is not ideal, but it is rarely too obscure. Nobody intentionally adds obstacles that hamper readability. Sometimes it is necessary to make decisions not realizing actual consequences just to move forward. If you need code friendly for beginners then find a friend who can rewrite the code in the style you like (of course, it should be maintainable as well). At first I believed that on your own way you are just avoiding reading comments and docstring in ox.el that are helpful to discover actual functions in export backends that do the job. E.g. docstring of `org-export-define-backend' and its usage in other files is rather informative. I am lost what is your actual needs after your request to rewrite the export dispatcher for you. After all, if you can not figure out which function is called by the dispatcher, instrument for debugging some transcoder function and export some file. You will get call stack. Be realistic, time and experience are limited resources, not all code deserves blog posts. Source code is a communication channel as well.