From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 iL6BBW4htGOgAAEAbAwnHQ (envelope-from ) for ; Tue, 03 Jan 2023 13:37:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QFtVBW4htGOBgQEAauVa8A (envelope-from ) for ; Tue, 03 Jan 2023 13:37:02 +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 8E95CAFDF for ; Tue, 3 Jan 2023 13:37:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCgWI-0000Np-Li; Tue, 03 Jan 2023 07:35:54 -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 1pCgWG-0000Nc-WF for emacs-orgmode@gnu.org; Tue, 03 Jan 2023 07:35:53 -0500 Received: from mail-il1-x12d.google.com ([2607:f8b0:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pCgWE-0003kx-To for emacs-orgmode@gnu.org; Tue, 03 Jan 2023 07:35:52 -0500 Received: by mail-il1-x12d.google.com with SMTP id g2so14779647ila.4 for ; Tue, 03 Jan 2023 04:35:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FvgzQZxurGPl2Zyc7Yyyon/84hyBjgxnsyuA6SHR3ZI=; b=SCPOGtBUX52n1tB2EH6FKCvAyQg08ppLrBydzESn/EiWLOQb7NXdr6a9qBDRfhoeKA w5JQthjQbdbzDi0tyRsXXVkUO+/P0cKDajd+qLMXsGI6o8NlSPHZsAQ1vzFS2wKdd/T+ DgsV2Hi0oqVhJA3Cf510WpZqhBD9lfI2aA6E7HmtEaYrWVk2rCQCIoGuEh749dNMY5sm a/wSehyqnLoqUgqrELzYdpG5pozTTAg2SBvuD4mYFY5A/nJqhSwCTQHnIL36WLGOrC2M J+SIk09rm5zKe+hijAD7f6PjTv3GGNDXnnVQWUm3QrRKVlzf96KjT9ssb4tdGqJLzcKY kULQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FvgzQZxurGPl2Zyc7Yyyon/84hyBjgxnsyuA6SHR3ZI=; b=A+G6y0D7p02Ig9G+wjHfCHdtzreJVZ0e8wMA42pS8aCwGTKfpDnaac6jIzAt4hpGGZ 10mKelNW0WV/Vn3KLpcu/ub0nkekLLGUIXsGkYuVI24Kkdn/CbLzU71u5bAcTk7qvoH0 K2VMECW2EL1wmlX0dPzESg5zXS4oIGadixVPplO41QXfO0d9Vx3V0Jdo47oW6opPhiaW QGqcVbjFsg2jFPla78XZmXTcQNMbQkJ7AhRyvjENtvmXkBI02PHABk7YT344QBKIKBwB AoB5rOzC1vtM6gwhClMQDHMZ8pa/aj3VX+6ySYeT9zJD7Aba6yOnKKwlLD9Q+UJMRTai wCqg== X-Gm-Message-State: AFqh2kqC9CWHW06gx6jGRe+h65i0Js/hj6yBJx4UIgMJcj+geDRuG1Wk UJBcnRAzXnStTDm4wrba5ukuWyLKVA1cvupjuujx9fBD X-Google-Smtp-Source: AMrXdXsICyg51v5cJFy5EVCv41kDQn6LxtXQ9hnhZ5y97tlmMETm/fkowi8stwD3Fny4Xlw74PIrDFRN8FMuSp7/lIs= X-Received: by 2002:a92:2c07:0:b0:302:fe4d:3b9f with SMTP id t7-20020a922c07000000b00302fe4d3b9fmr3739485ile.54.1672749349481; Tue, 03 Jan 2023 04:35:49 -0800 (PST) MIME-Version: 1.0 References: <878rj469sk.fsf@localhost> <877cy673ot.fsf@localhost> <87edsckkym.fsf@localhost> In-Reply-To: From: Eduardo Ochs Date: Tue, 3 Jan 2023 09:36:17 -0300 Message-ID: Subject: Re: Export Org with Org concept -- Re: Problems with C-c C-e file.org, To: Max Nikulin Cc: Org Mode Content-Type: multipart/alternative; boundary="000000000000c633c405f15b4ef0" Received-SPF: pass client-ip=2607:f8b0:4864:20::12d; envelope-from=eduardoochs@gmail.com; helo=mail-il1-x12d.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, GAPPY_SUBJECT=0.1, HTML_MESSAGE=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.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-Seal: i=1; s=key1; d=yhetil.org; t=1672749421; a=rsa-sha256; cv=none; b=faNGSv9aEHnL6zCo9e+Nv0GxEqpYQoEP/9nHPzZcldQ+5n+izvPqnevW/N09JBuX/8Ygvi daVpzjAEsQkwhC5rmufmL+X+jDOx/sWba9K54dkC2KDq8gEF6K3Jij/+1rKH8xUGh9/XWV Hm8563Si6mQkjzU9Pas77wbUoZs9Sncf785a0vgGVEOEN8A2lG/87fn9FIS/aBpyDMIDl2 Ey4pmk12wZVVnb2Vteu2V0NmGKp2uswzpPDMoTCIGK3wqn4Z0W871n22y+FjCJkhr9X/B8 4fu4HYLguroWDX0del7bvxw+ikugL3SU+Hs02TqvpzFaXRdFg0QYP6lFSPnLGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SCPOGtBU; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672749421; 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=FvgzQZxurGPl2Zyc7Yyyon/84hyBjgxnsyuA6SHR3ZI=; b=tIrRJOCaK/hXybyhpjvyxPdWdOiXrJIRJfcGX7gSYTkMcr617uX/WZ8Bh8YECioNf68tZ+ AXWn7gPqFqR+e+b2EvNYgy5+UGEiioFQ2Dk1u94F453Kim+S0EDiWfBYctxtEW0Nj+rPYh FsokHl7yRXONEQx3lFLOdvU2jPH6y837beubPDovT25Ewm8cJs15evf1q7vdGP2nK9RN5D EQ3uN9ps06PRdZh1RLicom5IvD2WkSAOjGFXC0hiGuLHQtcBk5ubi2HBXzPGn3SWCfeyQO weEI+QSgDOw6jMTHzSzz1U0CNr0Xs+iwG2jStwjzJkV/sFenggQLzwKkwurDDA== X-Spam-Score: -10.46 X-Migadu-Queue-Id: 8E95CAFDF Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SCPOGtBU; 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=gmail.com X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -10.46 X-TUID: sjqgg0G05gp6 --000000000000c633c405f15b4ef0 Content-Type: text/plain; charset="UTF-8" On Tue, 3 Jan 2023, 09:23 Max Nikulin, wrote: > 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. > Hi Max, sorry, I thought that that would be something like a 5-line change... =( A few messages again I mentioned that one of my plans for these holidays was to learn several techniques for debugging elisp that I've postponing learning for ages. I'll do that and then I'll try solving this problem again. Cheers =/, Eduardo --000000000000c633c405f15b4ef0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, 3 Jan 2023, 09:23 Max Nikulin, <manikulin@gmail.com> wrote:
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 w= hich
> the parts that call `read-char-exclusive' are replaced by somethin= g
> 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 i= deal,
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.

Hi Max,=

sorry, I thought that t= hat would be something like a 5-line change... =3D(
=
A few messages again I mentioned that one of my= plans for these holidays was to learn several techniques for debugging eli= sp that I've postponing learning for ages. I'll do that and then I&= #39;ll try solving this problem again.

=C2=A0 Cheers =3D/,
=C2=A0 =C2=A0 Edu= ardo

--000000000000c633c405f15b4ef0--