From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4FSwLsWlumKKUQEAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 08:55:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CPuvLsWlumI5XQEA9RJhRA (envelope-from ) for ; Tue, 28 Jun 2022 08:55:01 +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 1EAC027D67 for ; Tue, 28 Jun 2022 08:55:01 +0200 (CEST) Received: from localhost ([::1]:55110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o657i-0000kW-Pb for larch@yhetil.org; Tue, 28 Jun 2022 02:54:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o635B-0001jh-P0 for emacs-orgmode@gnu.org; Tue, 28 Jun 2022 00:44:13 -0400 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:34432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6359-0006xo-Sp for emacs-orgmode@gnu.org; Tue, 28 Jun 2022 00:44:13 -0400 Received: by mail-lf1-x133.google.com with SMTP id j21so20238248lfe.1 for ; Mon, 27 Jun 2022 21:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=wFfqLGxWchstPJVKXVP7DmFM/JUOxma9eLa5N4lwd+E=; b=a6DYtyNRWUC7eecppNoWIAk78STEN+Mbu3y6/KqM4gi1xLpvxfOtPFutsezknO/aK6 OTywdQT5CAzUJsinwSRbHcB14rdJlG+5jK/37TGYHBaeJ5a+g0KHvwtJ1TfZY8/wioHw sx8LVR0/z5JlVu6Qcvi4+RwVv5i8NvJ+yrtKy7hszXoZXrDhP/TAIiyvvPlXHy4CAKbG uF12gUDRMU8S+StMS8emMYbvdiSIXKvaDnDi+Z1Vg+MJu2Po1D6I7fjCBnt4jO3+mU/r eM1P3mEXvKjVYfokF85Hu8bYuBu/q/GMda5dfDIGeh/h4GgKPSFqVlHnYXX9s4QdmliC JlSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=wFfqLGxWchstPJVKXVP7DmFM/JUOxma9eLa5N4lwd+E=; b=gmRr8Df8Zy7bWWOrn0KplpC/clTceb9Zs5AHsUoPTf0ECfD05gtkrJ5I7yvQbFq2yT oHSRTeaaqNCuZ3Teneaq3dLs99vpC2tMqq5IiwAhAua46ChfFEi10bBXDEc0efuYRaDK wfTchKqzQ4v8yQ9mWRh3C6Iyr1q1roR4QaLRuA67LKexngoLKZO7MyVzFaC12TtdSgUE t0xNVqZjtaEbjabcLkHf2XHn9HOMOblVLSFt0MpzbyxExTh7CaWt0CLpRaUSQJBNr934 nexlEI3e8SRyhohPMpwiw01p8+4fAlus38j46cvau4qsuOZiT1uRd9F2yVSz0mc24oPI xBUw== X-Gm-Message-State: AJIora/C/t4cIk1KcSiKp46z2DQ0buSNRji9cxwpkxujlDYk0JwJlG1o PiT4w12zIM2FfDroeHVEpIpFxGR0sMqnXz/dgvA= X-Google-Smtp-Source: AGRyM1uXGoBgy1sa0nAdnVn60DLVME45XLtMy/xPsJMLTLu8fjDEJdIDwhAFfJ0DnidV+1UNjg8o+Re8NA7VSvZO5r4= X-Received: by 2002:a19:9111:0:b0:47f:852a:fda5 with SMTP id t17-20020a199111000000b0047f852afda5mr10083706lfd.68.1656391447679; Mon, 27 Jun 2022 21:44:07 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Eduardo Ochs Date: Tue, 28 Jun 2022 01:43:55 -0300 Message-ID: Subject: Re: Org, Hyperbole, and eev To: Robert Weiner Cc: emacs-org list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=eduardoochs@gmail.com; helo=mail-lf1-x133.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656399301; 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:dkim-signature; bh=wFfqLGxWchstPJVKXVP7DmFM/JUOxma9eLa5N4lwd+E=; b=m0096W/SQVVfAfIfVsy9zpc1i5v/lhSj0N22KX5E6bsFn4SKKoLCoXqOB+8jQJXCIXYO6f VxlvOGhei8y8Dkfcivz6gB2AP/uIJJOKo5zoTytNkQvX24WBn1+yRVW7rUurv0avTYxZXm mJDEoaviTEkJwG7k284PW8pomBWTkZhsX20hkuE7us75M/twJ4JBkmDgPaxsMoryfXsrKw +5UGpkDGr/xv/USZjPl9lSoF2LtPM1a7pMj5bLZ1fbUf4vJuZSE5e+zE4viCn2A6ilT7tu Viu1Wp8exRgURv/1tJcB+RH7VLHIyCWS7mWxDQeRUx4V8WezdJ1tK168o0LhpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656399301; a=rsa-sha256; cv=none; b=PwuI1lX3q6c5ohjfEdqrUU2ddSexPl+TV+p1+HpcRsGxlc86Zl0i3Urcjl974tk9u26fEW 4n6GqBwP8Gfy+p5L8mTVF4zI+MpiCY/5PtvdqVz25HAHvASS89XeSvlr1+wJIt+2kpXg3C Xz3FPpmVa9ncgGvFBlh/PHY8e0x937jGeI/YT19xzq2FDq/d/0OMQRbdrdb0cNG7Ogcp14 7GOEFk5S5CZ3N8r5rlnM19YfgSHMdw8av8Ij4hxpiopPyOGUdQGRfgAluQ72NdGMcJdD09 x/nxdOfMqwPFzSvttjulxohL01If9ju3aPvVX49X3NnrWjszOIWdeC1uW0NAwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=a6DYtyNR; dmarc=pass (policy=none) header.from=gmail.com; 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: -5.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=a6DYtyNR; dmarc=pass (policy=none) header.from=gmail.com; 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: 1EAC027D67 X-Spam-Score: -5.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: LK0z8q2wKdoE On Mon, 27 Jun 2022 at 01:11, Robert Weiner wrote: > > These are Action buttons run by the action button type defined via > the defib macro in the =E2=80=9Chibtypes.el=E2=80=9D file. Just search f= or =E2=80=98defib > action=E2=80=99 in there. You can invoke its implicit button type functi= on > from Lisp as (ibtypes::action) if I recall. Hi Robert and other people, I was finally able to understand a significant part of what happens when we type M-RET on an action button like with hyperbole-mode active... my notes are here - for the sake of completeness; I don't expect them to be readable - (code-c-d "hyperbole" "~/.emacs.d/elpa/hyperbole-8.0.0/") (require 'hyperbole) (hyperbole-mode 0) (find-hyperbolefile "DEMO") (find-hyperbolefile "DEMO" "Action Key is {M-RET}") (find-hyperbolegrep "grep -nH --null -e M-RET *") (find-efunction 'hkey-initialize) (find-efunction 'hkey-initialize "Bind the Action Key to {M-RET}") (find-ekeymapdescr hyperbole-mode-map) (find-ekeymapdescr hyperbole-mode-map "M-RET") (find-ekeymapdescr hyperbole-mode-map "M-RET" "hkey-either") (find-efunction 'hkey-either) (find-efunction 'assist-key) (find-efunction 'assist-key-internal) (find-efunction 'action-key) (find-efunction 'action-key-internal) (find-efunction 'hkey-execute) (find-efunction 'hkey-execute "hkey-alist") (find-evardescr 'hkey-alist) (find-eppp hkey-alist) (find-eppp hkey-alist "(hbut:at-p)") (find-evariable 'hkey-alist) (find-evariable 'hkey-alist "If on a Hyperbole button") (find-evariable 'hkey-alist "If on a Hyperbole button" "(hbut:at-p)") (find-efunction 'hbut:at-p) (find-efunction 'hbut:at-p "ebut:at-p") (find-efunction 'hbut:at-p "ibut:at-p") (find-efunction 'ebut:at-p) (find-efunction 'ebut:get) (find-efunction 'ibut:at-p) https://lists.gnu.org/archive/html/emacs-orgmode/2022-06/msg00765.html ^ mentions ibtypes::action and defib action (find-efunction 'defib) (find-hyperbolegrep "grep --color=3Dauto -nH --null -e defib *.el") (find-hyperbolegrep "grep -a -nH --null -e defib hibtypes.el") (find-hyperbolefile "hibtypes.el" "(defib action") (progn (find-hyperbolefile "hibtypes.el" "(defib action") (end-of-defun) (setq ee-defib-defun (ee-last-sexp)) ) (find-estring ee-defib-defun) (find-epp (read ee-defib-defun)) (find-eppm (read ee-defib-defun)) (find-efunction 'htype:create) (find-efunction 'htype:symbol) (htype:symbol 'action 'ibtypes) (find-efunction 'ibtypes::action) (find-efunctionpp 'ibtypes::action) (load "hibtypes.elc") (load "hibtypes.el") (find-efunctionpp 'ibtypes::action) (hyperbole-mode 1) (debug-on-entry 'ibtypes::action) (eek "2* C-e ") (eek " C-e M-RET") (hyperbole-mode 0) (find-efunction 'ibut:at-p) (find-efunction 'ibut:at-p "(funcall itype)") (find-eppp (htype:category 'ibtypes)) (find-hyperbolegrep "grep -a -nH --null -e defib hibtypes.el") (find-efunction 'symtable:add) (find-evardescr 'symtable:ibtypes) (find-evariable 'symtable:ibtypes) I still don't understand well the code of ibut:at-p between the beginning and the point in which it calls (funcall itype), and I also don't understand well the code of ibtypes::action... Anyway, we are clearly using different notions of simplicity - see: https://lists.gnu.org/archive/html/hyperbole-users/2020-09/msg00013.html and I find it enviable that you can have that kind of complexity under the hood and still have lots of users that agree that Hyperbole is "simple"... Most people find eev very weird, and I have the impression that I wouldn't have half of my (few) users if I had code like that in eev. If the people who like to look under the hood try to understand how M-e in eev works they will end up trying to understand how (forward-sexp -1) works, and then they will read the comments of scan-sexps in syntax.c... syntax.c is impeccably well-written, and they will probably feel that their time was very well spent, and that their curiosity has lead them to very good places. =3D\ Exhausted cheers, Eduardo Ochs http://angg.twu.net/#eev