From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 cCa9KW8nt2NKhgEAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 20:39:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YNXDKW8nt2PyXAAA9RJhRA (envelope-from ) for ; Thu, 05 Jan 2023 20:39:27 +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 363003CAED for ; Thu, 5 Jan 2023 20:39:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDW4T-0008Vk-HD; Thu, 05 Jan 2023 14:38:37 -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 1pDW4P-0008VF-EU for emacs-orgmode@gnu.org; Thu, 05 Jan 2023 14:38:33 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDW4N-0000ke-Pt for emacs-orgmode@gnu.org; Thu, 05 Jan 2023 14:38:33 -0500 Received: from localhost ([::ffff:102.85.246.225]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000055D61.0000000063B72739.0000352E; Thu, 05 Jan 2023 12:38:32 -0700 Date: Thu, 5 Jan 2023 22:19:11 +0300 From: Jean Louis To: Ihor Radchenko Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: Export Org with Org concept -- Re: Problems with C-c C-e file.org, Message-ID: Mail-Followup-To: Ihor Radchenko , Max Nikulin , emacs-orgmode@gnu.org References: <878rj469sk.fsf@localhost> <877cy673ot.fsf@localhost> <87edsckkym.fsf@localhost> <87y1qhdyeb.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87y1qhdyeb.fsf@localhost> User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, GAPPY_SUBJECT=0.1, SPF_HELO_PASS=-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=1672947567; 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: 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=3o8AJFoyYpBvBy37ix2InGEguofxlH3aCLHGOVYFTtw=; b=XFavfCA0daFckd5v61yfWPriqeJg7xwahBTG1jlDMsf50RyEXV0dXqR+2kG16VD9CBRklz rlNBKjCVNFs1wOUuQjeQ1cCcJMOKPW3PqQ57EGuwlPgxpXGYmLtJc69wy8OrTflZENOZm3 5oJZyGrl13BwKe4Zrrn/Fnv9Mug2VGOPMofhB51Jg970WJuTStvZuv2JAJXssE7GFxtpKU sw6do29anzLek+X9ChBP8fN+tDEM1gkaHN82lvN3WuSkbi0oG68PU3OlffdhAjWLdlpejS mf1KokPGsGQDCXl+nnxr1dHvd/sPdeIsND5i2te+N/4DwmHCr0v8w1g7w/oAmg== 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672947567; a=rsa-sha256; cv=none; b=KHBHvG7XMyDfEhC0CChUgKhR8G7MUU/aPHqUDO1JsobVaBUBVTw0PRuuEcI9Nznd882xva UwYyDBmiEu/B9qjLQeqPaNV/wEdi6PuMch4tp5LcPX8580oEzDj5+/7mV4TjVPEkTR9KZf MZ5TObgJh1tIlLAVopBLgNkm80BMBoqAIiudbodtHuA31cdtVexW00F7cP/Ccjlwxwwhh+ oRM0yerBh6g4m5MbEagXLTpUDGS1+XoMn0UA9clo4b2j+TPN91vPYLP2qXaGK/jl5W37Lj AP82QoQlbBp4HrsKC3zfysO4q1YlO2aZ4+m8dZdndYkE8H4ruJsKZdwK8Wri2w== X-Spam-Score: -0.86 X-Migadu-Queue-Id: 363003CAED 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=none X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.86 X-TUID: eoFmNIuRd5UY * Ihor Radchenko [2023-01-05 14:16]: > Jean Louis writes: > > > Though, we speak here of non-blicking Org Export, and there are many > > ways to do it, we speak of decisions that are not user friendly, made > > before more than 10 years. > > > > There was enough time to use whatever one wish. I can't wait for > > somebody in mainstream Org to make it user friendly, mouse clickable, > > and so there is enough of it for you to adapt it to your own needs as > > in main stream. > > I was hoping that you might be interested to provide a patch for Org > upstream. Question is: did you try it out? Once you try it out, then let me know to continue. The Concept and More Ideas: --------------------------- 1. You can create derived mode, for example Org derived mode. 2. You can create key bindings freely for that derived mode. 3. You can create read-only, temporary buffers for export in that derived mode. 4. Because it is read only, similar to modal modes, you do not need complicated key bindings, you don't need to use C-combinations for few simple things, use simply letter. 5. Though it implies you can use same key bindings for "compatibility", but I would say it rather honestly for bad habits, as in the derived. 6. Thus you may make toggling functions. 7. You are free to draw in the buffer and give to user visual feedback of what you have toggled or set. Draw it as you wish, ON/OFF or BODY/SCOPE, or similar. 8. Use global variables for toggling of Org export settings. 9. Constuct Org elisp: links, but do they support key bindings? You can define both. 10. You could even "remember" the global variables in such Org export file simply by using file variables. 11. Org links could provide export. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/