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 mGj+BTDfQWPCNAAAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 22:36:00 +0200 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 kPcXBjDfQWNdDwEA9RJhRA (envelope-from ) for ; Sat, 08 Oct 2022 22:36:00 +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 A60C84706C for ; Sat, 8 Oct 2022 22:35:59 +0200 (CEST) Received: from localhost ([::1]:52254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohGYA-0005j2-Df for larch@yhetil.org; Sat, 08 Oct 2022 16:35:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohGWn-0004rH-FA for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 16:34:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohGWn-0003Pa-6r for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 16:34:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=To:Subject:Date:From:In-Reply-To:References: MIME-Version; bh=dxQvLIWHKJfnOfdcqE/63Kt49O7c5q23WBV5d7xppfg=; b=V39rKRRc3KNC hF+b6+jf6pTCdhZ3RFCbKYuc2oaTQD5uAdR+aA8H13eBrULkJW3SJD8o8vZ7Q3iD619fvuc6bT40q O9B9rIYQe0ix4+Tu0QnBZx5vM0Ke0A86ltx8SSlJ66sR0SZBfWENim76AsgjXmwh3qVVjxWiGAcid nP+0ohRZ/BJMhPStDX0SqXNnF5/FFfds4H6CVYOtEsM3IY+87mj1cNff0j3/nWh5ltDosQCyfYBnb GMv4ArANgi0XQahQRXo0ZIuO3o6MVsqEhNA2jNUtrfdwUApkZrf+z6euaY4Ag9CRQnotLwuclLzLS vV93YjkUAPa0Ez42YXqRuw==; Received: from mail-vk1-f175.google.com ([209.85.221.175]:36709) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohGWm-00069o-Oh for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 16:34:32 -0400 Received: by mail-vk1-f175.google.com with SMTP id a66so1103733vkc.3 for ; Sat, 08 Oct 2022 13:34:32 -0700 (PDT) X-Gm-Message-State: ACrzQf3Ncnq3YeClZbdRGSnpmisEbvOTFJZwPLsoPaH7Ko5c9Y2Jbt9o i6W9xWC2kOsqfMV2XWYmiekaOjSwCXAgu+1HTdY= X-Google-Smtp-Source: AMsMyM4IVzeRnNnpVovhXWCydH63xPr9BGPVImqEKSxyUR2ht/LsM4igPGMwCPBrsuBrjpkJGqrFsTbK1uY76/HdxNE= X-Received: by 2002:a1f:3f09:0:b0:3ab:5992:2307 with SMTP id m9-20020a1f3f09000000b003ab59922307mr5200916vka.29.1665261271971; Sat, 08 Oct 2022 13:34:31 -0700 (PDT) MIME-Version: 1.0 References: <87k096b240.fsf@posteo.net> <87czew7qzy.fsf@posteo.net> In-Reply-To: <87czew7qzy.fsf@posteo.net> From: Robert Weiner Date: Sat, 8 Oct 2022 16:34:05 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Org and Hyperbole To: =?UTF-8?Q?Juan_Manuel_Mac=C3=ADas?= Cc: orgmode Content-Type: multipart/alternative; boundary="00000000000092fe6c05ea8bda86" 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: , Reply-To: rswgnu@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665261359; h=from:from:sender:sender:reply-to: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=dxQvLIWHKJfnOfdcqE/63Kt49O7c5q23WBV5d7xppfg=; b=PZJBvfXmZVcTWL/PbAvp955OHueYnpe0p6YJ57L3RLe9uqmKfVjo5im06T03Phl1q5sRob XiXHlkrYW75exyDBmC/9r1DOyjPyj9yr6VClD4QWgFOpCyOYZGrnctUCqc3C/oRjSZbBy9 TwwD5RCLpQzbSt1QMXNdsujz7S9IAdMrf+BiZxERf5IDXxqr51qMWvyUxi1YOpnvDzixrS RfM7SzdcdFabn/WW8Mo1cAYdLURLgBhJFRJ7HkU3f59OIOaba+uYoSanc6bbLnw/HVF3eV u+DAnUltgoZ8S2hOffjQJNpf5vSg1dqEvKlbZh+5hBTzoLwMaPbm6XzTo4CC8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665261359; a=rsa-sha256; cv=none; b=NJ8JTejnOfzto86g8UxEdWG2/O8Hc7PJg+RpslDBVZl3urd24sl/NhUdd27TL/84jpfqSo LB2czBvcjFvVGqYqHH36KRcYVMj99WxG45uGgjvOletqLP3tqiR8vyIzkzBQsVcrV7QpMs Or3E4HBG6KmUJgIQ1uP4e5FFZqEQgFOz9xbxM8FDhb9+PCc0+625NGrSflz2POi3ylCiL1 IrahnNw2sykmypaHXi8Z5gdV2rEcpmnRkByzcHy9gzKOX9DKK4yN1JQk7GLa2YlvR+Lzdm /s7+Qi1M0bnlcsvHzqrXVhEGBcLsqj9svH+yPj/PODvLG0+snS4h6XqIR6nn6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=V39rKRRc; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.58 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=V39rKRRc; dmarc=pass (policy=none) header.from=gnu.org; 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: A60C84706C X-Spam-Score: -3.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: YpImkRRhSCi4 --00000000000092fe6c05ea8bda86 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Juan: I just tried your ':' technique for Hyperbole button activation with Avy and it works well. But what is the advantage over just using Avy to jump to the button and then pressing {M-RET}. With your technique, you have to think about activating the button before you are there versus when you are on it, as you normally do. -- rsw On Sat, Jun 25, 2022 at 10:32 AM Juan Manuel Mac=C3=ADas wrote: > Hi, Robert, > > Robert Weiner writes: > > > We do like avy and as you say, Hyperbole can work with it. We try to > > avoid requiring any non-builtin Emacs packages for Hyperbole. With a > > few, we support them optionally. Unless there is a strong use case > > for utilizing avy in certain ways, we would tend to leave that to > > others to extend Hyperbole but personally I just add it in and use its > > character and line navigation sometimes. Did you have any particular > > uses in mind? > > My use of the mouse within Emacs is practically nonexistent, and outside > of Emacs I have relegated the mouse to a few graphical applications such > as Gimp, Krita, Scribus, and little else. That's why I find avy > extremely handy for quickly navigating through text. By adding an action > to avy-dispatch-alist you can execute an arbitrary command once the > cursor has jumped to its target. For example, I have put this for > hyperbole in my init: > > (add-to-list 'avy-dispatch-alist '(?: . (lambda (pt) > (goto-char pt) > (hkey-either)))) > > Thus, the typical action to activate a 'far' hyperbole button would be: > > 1. Call avy and insert a letter; > > 2. When avy's hints are displayed in the screen, I hit the colon key ":" > and then the hint letter I want to go to (an implicit button, for > example). And at the moment the associated action of that button is > executed. > > For those of us who hardly use the mouse, it is really very practical, > and I think maybe mentioning that tip might be nice in the hyperbole > documentation. > > Best regards, > > Juan Manuel > --00000000000092fe6c05ea8bda86 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Juan:

I just tried your ':' technique for Hy= perbole button activation with Avy and it works well.=C2=A0 But what is the= advantage over just using Avy to jump to the button and then pressing {M-R= ET}.=C2=A0 With your technique, you have to think about activating the butt= on before you are there versus when you are on it, as you normally do.
-- rsw


On Sat, Jun 25, 2022 at 10:32 AM Juan Manuel Mac=C3=AD= as <maciaschain@posteo.net= > wrote:
Hi, = Robert,

Robert Weiner writes:

> We do like avy and as you say, Hyperbole can work with it.=C2=A0 We tr= y to
> avoid requiring any non-builtin Emacs packages for Hyperbole.=C2=A0 Wi= th a
> few, we support them optionally.=C2=A0 Unless there is a strong use ca= se
> for utilizing avy in certain ways, we would tend to leave that to
> others to extend Hyperbole but personally I just add it in and use its=
> character and line navigation sometimes.=C2=A0 Did you have any partic= ular
> uses in mind?

My use of the mouse within Emacs is practically nonexistent, and outside of Emacs I have relegated the mouse to a few graphical applications such as Gimp, Krita, Scribus, and little else. That's why I find avy
extremely handy for quickly navigating through text. By adding an action to avy-dispatch-alist you can execute an arbitrary command once the
cursor has jumped to its target. For example, I have put this for
hyperbole in my init:

(add-to-list 'avy-dispatch-alist '(?: . (lambda (pt)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (= goto-char pt)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (= hkey-either))))

Thus, the typical action to activate a 'far' hyperbole button would= be:

1. Call avy and insert a letter;

2. When avy's hints are displayed in the screen, I hit the colon key &q= uot;:"
and then the hint letter I want to go to (an implicit button, for
example). And at the moment the associated action of that button is
executed.

For those of us who hardly use the mouse, it is really very practical,
and I think maybe mentioning that tip might be nice in the hyperbole
documentation.

Best regards,

Juan Manuel
--00000000000092fe6c05ea8bda86--