From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 AIigJ+uLr2PqVwEAbAwnHQ (envelope-from ) for ; Sat, 31 Dec 2022 02:10:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EM2bJ+uLr2P9BAAA9RJhRA (envelope-from ) for ; Sat, 31 Dec 2022 02:10:03 +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 26ABA6B7D for ; Sat, 31 Dec 2022 02:10:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBQMz-0004JX-Kv; Fri, 30 Dec 2022 20:09:05 -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 1pBQMt-0004Hl-3v for emacs-orgmode@gnu.org; Fri, 30 Dec 2022 20:08:59 -0500 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBQMq-0005nM-K7 for emacs-orgmode@gnu.org; Fri, 30 Dec 2022 20:08:58 -0500 Received: by mail-il1-x12f.google.com with SMTP id z18so12198911ils.3 for ; Fri, 30 Dec 2022 17:08:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=WQ2m0VIjMuxBHow9RAqDmGXmFIytMn5goK47zJEd/0k=; b=i26ZL5Rp4midTVRI5jP50Kqp9M5oS7CDHPYl0bkRqulcosfLuEnZySMNoJDtGzAWJ6 xJfVsL4ImfSNSsg9o0qZZEoP+zVE2+JxY2/HtTeJM/FHo9LiBHyCf6jL7S1ICDfJIuor 0chmd3P9sT9UI9Q50gJzsEf/EeCBH7DEVxLdLrrM3xpCSor/sfgf1ac0bRZDat68RcRe 5QBdKSaQvxYvdZPpnFw0kfiwx9U9Hs2NQgkSfC/BX+mPWnw50FsEbEVOZDv4RxDHFdjT rIu44gy6dfWCj53PCq0E60vnG1EZvxxV/O8CfPf9PUTIdn5KCYjwEBi5aaHiB0Gnv6U7 1iMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=WQ2m0VIjMuxBHow9RAqDmGXmFIytMn5goK47zJEd/0k=; b=r/N7bEmLbwGTniyLcuHSARpwK9A9PjTJppNNCkmYSDg1SKwJ/xE2oQMlgRKAQ1oLO/ Y2udADcWELbeDTarywr2slg1jDLmh6LvhEPySCnfpDwLOi+rKBZWt+lH8q05evwFu/XM Ont+f7s6PIntJBIRRoppxKPZLQZeJdhNXeXMZw4zNqL4L5WVoOpTZuBGKj/u9FRHoIBd 2N98XhKjCEFJUflxGzWZlyGxwIdenTxK9/HsYaLPQn29QFjJos+QuuYyH2Eo99GEmZXP hsWftmRtn0eYKZ9QjmBkPTwqNY1YBWS3hWoTNWu7o6Rsuw3mUWLGcGGWw8RI0jdovgcv Sj+w== X-Gm-Message-State: AFqh2kp0SlKpohBnWSHDOqNOamZIbNAOwA1wAe+u5t7lQeVazMyIM8Ck 666R8EwdvG9CbMFxStjKCWruPS0xkLrXC0ReJic= X-Google-Smtp-Source: AMrXdXvJy7sYFKjmefEDYv4YmMarXKITpOU5AYa61j9GbfCgnOz9vLp6NyKbnfmWTDc8C86vACGKcKty4ldPLynM7z4= X-Received: by 2002:a92:ca82:0:b0:30a:9cbd:be00 with SMTP id t2-20020a92ca82000000b0030a9cbdbe00mr3316260ilo.262.1672448934449; Fri, 30 Dec 2022 17:08:54 -0800 (PST) MIME-Version: 1.0 References: <878rj469sk.fsf@localhost> In-Reply-To: From: Eduardo Ochs Date: Fri, 30 Dec 2022 22:08:42 -0300 Message-ID: Subject: Re: Export Org with Org concept -- Re: Problems with C-c C-e file.org, To: Ihor Radchenko , andre duarte bueno , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::12f; envelope-from=eduardoochs@gmail.com; helo=mail-il1-x12f.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, 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672449003; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WQ2m0VIjMuxBHow9RAqDmGXmFIytMn5goK47zJEd/0k=; b=isVb7D89Jj8pxGnCnoc2WZTuy9H9E9Qf2xKG1c3ZlS6fvGSojrQ4v30XvNX4v3BcmsF86h XVU13f/1ifVuncZIMfsUWZWAb+VfUNPh/37Nkc8soLHNrmJt+OL5gMUjuGthnnEMaJlDza fniXDSKTLmbn1vLRCwlwxTfZIJ7vXiENNVfh4ioz+rYSrS6rBBX49O0Tk25Lh0UhTYWSAE bCxFc+qFrHIFXNizOK24QWcH7HVfssTplv2W0rUx0+2kMXTxzR1JTG5qnReXTTHy/1fx0e AYF+yBN7fqQ65HBpkBOJN7PZB3G0RFLVakb+tOG5uzyaQx697m42QpEvthYe8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=i26ZL5Rp; 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-Seal: i=1; s=key1; d=yhetil.org; t=1672449003; a=rsa-sha256; cv=none; b=szCw9vm3SRiqIhO1dQTz29EMIWEB8loOFrBVjdn5si6MGfu3/lqEazbsTAcci1cxJxPWg9 7R5iojdR6IQ0HDIzRifgFPP8sU/dKIswX+bLYVIHgsDz8jW01i8D4QqNscR9itRwW6UOZ3 7+FZBwD63HbSl4nYLurMfwchhViHonKp4mdr4wr9Rh4t82ACV/ko6ubJtAdmkmlsf3Nuao JO6JwXmOgnjQkcPj+2LT8Y5kj/e/Ul/BpsNzz87SD0oBwWpMkJ5Bty0heDcICGiBqWl4rh a0jlQs3ewCGmde7eRdJYQvL148hMkd2DL/ND8WwlzQPUSa6ccuLNr8PR4BD49A== X-Spam-Score: -4.13 X-Migadu-Queue-Id: 26ABA6B7D Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=i26ZL5Rp; 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: scn1.migadu.com X-Migadu-Spam-Score: -4.13 X-TUID: VL7zEvNKB+CO On Mon, 19 Dec 2022 at 18:13, Jean Louis wrote: > > * Ihor Radchenko [2022-12-18 17:57]: > > andre duarte bueno writes: > > > > > When I try to export file.org using C-c C-e the window with the list of > > > possibilities appears. But it appears incomplete(visualization), so I try > > > to use the mouse to view the other export options and the system is > > > completely blocked. Every mouse click is captured and displayed in the > > > command window. And it doesn't allow you to do anything else. I am forced > > > to cancel the command without completing it. > > > Apparently C-c C-e is capturing all events and not just keyboard > > > events! > > That is not first complaint, right? I would say it is obvious that > such interface is not user friendly. > > > This is because we use `read-char-exclusive'. > > Don't use what is blocking Emacs. Apart from Org mode I have never > seen a package that blocks Emacs that I cannot even inspect keys. Hi Jean Louis, did you solve your problem? Did you find a way to replace the blocking code by something else? I stumbled on exactly the same problem some months ago, and it drove me nuts: https://lists.gnu.org/archive/html/emacs-orgmode/2021-12/msg00674.html Edrx 1 https://lists.gnu.org/archive/html/emacs-orgmode/2022-02/msg00098.html Ihor 2 https://lists.gnu.org/archive/html/emacs-orgmode/2022-02/msg00106.html Edrx 3 https://lists.gnu.org/archive/html/emacs-orgmode/2022-02/msg00111.html Ihor 4 http://angg.twu.net/e/org.e.html#org-export-dispatch My conclusion was that Org is much harder to learn than I thought. It's easy to learn if: 1) you're a "user", or 2) you know a lot about debugging Emacs, or 3) the developers like your questions. My holidays have just started, and I'm planning to work on (2). Btw, at some point I gave up trying to find the functions that the dispatcher calls, and I just defined this "function with a very short name" that [c]ompiles the current .org file to HTML: (defun c () (interactive) (eek "C-c C-e h h")) Refs: (find-eev-quick-intro "3. Elisp hyperlinks" "eek") (find-eev-quick-intro "7.4. Commands with very short names") http://angg.twu.net/eev-intros/find-eev-quick-intro.html#3 http://angg.twu.net/eev-intros/find-eev-quick-intro.html#7.4 Cheers, Eduardo Ochs http://angg.twu.net/eepitch.html http://angg.twu.net/2021-org-for-non-users.html