Re: Org, Hyperbole, and eev

2022-10-11 Thread Jean Louis
* Robert Weiner [2022-10-11 05:43]: > I know this does not address everything you want but if you leverage > Hyperbole’s capabilities, you’ll probably be able to get what you > want with a lot less code. What I want is to be able to interpolate links like: ⟦ (some-link) ⟧ on the fly similarly

Re: Org, Hyperbole, and eev

2022-10-10 Thread Robert Weiner
Hi Jean: I know this does not address everything you want but if you leverage Hyperbole’s capabilities, you’ll probably be able to get what you want with a lot less code. First, creating an explicit button displays only the button name as you like, fontified as you like, and with the button

Re: Org, Hyperbole, and eev

2022-10-07 Thread Jean Louis
* Eduardo Ochs [2022-10-08 03:28]: > On Thu, 29 Sept 2022 at 06:22, Jean Louis wrote: > > > > I am definitely interested, make prototype please. Just can't answer > > properly on travel. > > Hi Jean Louis, > > Sorry, I will have to put that on hold until my holidays... I wrote a > very

Re: Org, Hyperbole, and eev

2022-10-07 Thread Eduardo Ochs
On Thu, 29 Sept 2022 at 06:22, Jean Louis wrote: > > I am definitely interested, make prototype please. Just can't answer properly > on travel. Hi Jean Louis, Sorry, I will have to put that on hold until my holidays... I wrote a very primitive prototype, but I never had to write much code that

Re: Org, Hyperbole, and eev

2022-09-29 Thread Quiliro Ordóñez
El 2022-09-29 04:42, Jean Louis escribió: > On September 28, 2022 10:15:06 AM UTC, Eduardo Ochs > wrote: > >>> I would like to have non-Org links so that my function for links >>> interpolates into a button. It works now in the presentation mode. I >>> would like to make links descriptive or non

Re: Org, Hyperbole, and eev

2022-09-29 Thread Jean Louis
I will see how to implement this, thank you On September 29, 2022 4:07:15 AM UTC, Ihor Radchenko wrote: >Jean Louis writes: > >> Let us say that link is: >> >> (link "Duck" (browse-url "http://www.duckduckgo.com;)) >> >> such link should be displyed as: >> >> __Duck__ (underlined) >> >> but

Re: Org, Hyperbole, and eev

2022-09-29 Thread Jean Louis
On September 28, 2022 10:15:06 AM UTC, Eduardo Ochs wrote: >> I would like to have non-Org links so that my function for links >> interpolates into a button. It works now in the presentation mode. I >> would like to make links descriptive or non descriptive just as in >> Org, so that it

Re: Org, Hyperbole, and eev

2022-09-29 Thread Jean Louis
I am definitely interested, make prototype please. Just can't answer properly on travel. Jean

Re: Org, Hyperbole, and eev

2022-09-28 Thread Ihor Radchenko
Jean Louis writes: > Let us say that link is: > > (link "Duck" (browse-url "http://www.duckduckgo.com;)) > > such link should be displyed as: > > __Duck__ (underlined) > > but just as in Org mode to have toggle options descriptive or > non-descriptive links. > > and that I can inject the

Re: Org, Hyperbole, and eev

2022-09-28 Thread Eduardo Ochs
On Wed, 28 Sept 2022 at 03:17, Jean Louis wrote: > (...) Hi Jean Louis, I am not sure how to interpret the tone of your message. Does it mean that you are not interested in a prototype that works in one case? I.e., that you are only interested in something that has all the flexibility that you

Re: Org, Hyperbole, and eev

2022-09-28 Thread Jean Louis
* Ihor Radchenko [2022-09-28 06:52]: > Jean Louis writes: > > > I wish to create meta links. Today I have tried figuring out how Org > > link work, but I am overwhelmed. > > Have you looked at > https://orgmode.org/manual/Adding-Hyperlink-Types.html ? > > If you find it confusing, please let

Re: Org, Hyperbole, and eev

2022-09-28 Thread Jean Louis
* Eduardo Ochs [2022-09-28 03:54]: > On Tue, 27 Sept 2022 at 18:59, Jean Louis wrote: > > (...) > > What did you do to inspect an Org link? > > Here's what I just tried: I created a file /tmp/foo.org containing > " [[http://a/b/][ab]]\n; - i.e., a space, a link, and a newline - > and then I

Re: Org, Hyperbole, and eev

2022-09-27 Thread Ihor Radchenko
Jean Louis writes: > I wish to create meta links. Today I have tried figuring out how Org > link work, but I am overwhelmed. Have you looked at https://orgmode.org/manual/Adding-Hyperlink-Types.html ? If you find it confusing, please let us know. -- Ihor Radchenko, Org mode contributor,

Re: Org, Hyperbole, and eev

2022-09-27 Thread Eduardo Ochs
On Tue, 27 Sept 2022 at 18:59, Jean Louis wrote: > (...) What did you do to inspect an Org link? Here's what I just tried: I created a file /tmp/foo.org containing " [[http://a/b/][ab]]\n; - i.e., a space, a link, and a newline - and then I marked the whole buffer and ran `M-1 M-x

Re: Org, Hyperbole, and eev

2022-09-27 Thread Jean Louis
* Jean Louis [2022-09-28 00:20]: > Source: > > ⟦ (hyperscope-wrap-eev "Hyperbole DEMO file" '(find-hyperbolefile "DEMO")) ⟧ > > Visual representation: > > Hyperbole DEMO file > > Using enter on the link brings me to DEMO file, I can add mouse later. I guess you could re-write the function

Re: Org, Hyperbole, and eev

2022-09-27 Thread Jean Louis
* Eduardo Ochs [2022-09-27 20:22]: > On Tue, 27 Sept 2022 at 12:11, Jean Louis wrote: > > (...) > > Hi Jean Louis, > > > Instead of: > > > > > (find-evardescr 'hkey-alist) > > > > I would like to see visually: > > > > "Description of Emacs Lisp function `hkey-alist'" > > In cases like that

Re: Org, Hyperbole, and eev

2022-09-27 Thread Eduardo Ochs
On Tue, 27 Sept 2022 at 12:11, Jean Louis wrote: > (...) Hi Jean Louis, > Instead of: > > > (find-evardescr 'hkey-alist) > > I would like to see visually: > > "Description of Emacs Lisp function `hkey-alist'" In cases like that there would be some key sequence that parses the text and the

Re: Org, Hyperbole, and eev

2022-09-27 Thread Jean Louis
l) > (find-efunction 'hkey-execute) > (find-efunction 'hkey-execute "hkey-alist") > (find-evardescr 'hkey-alist) The way how you have listed it above is insightful. I get the instructions and I get the point. It is way of teaching. It can be done by any means, Org, eev, Hyperbo

Re: Org, Hyperbole, and eev

2022-09-27 Thread Jean Louis
* Robert Weiner [2022-06-27 03:51]: > (defun youtube-url-from-time (video-link time-string) > "Given a VIDEO-LINK and a colon-separated TIME-STRING, e.g. 2:44 (two > minutes, 45 seconds into the video), return the url to play from that point > in the video. > Return nil if TIME-STRING is

Re: Org, Hyperbole, and eev

2022-09-27 Thread Jean Louis
* Robert Weiner [2022-06-26 21:25]: > I took a brief look today at some of the code in the latest packaged > release of eev from ELPA, as well as a bit at some of your email archives > and video links. What I see is that you like things extraordinarily > concrete and packages like Hyperbole and

Re: Org, Hyperbole, and eev

2022-06-28 Thread Robert Weiner
Hi Eduardo: Many programmers refuse to document almost anything and expect the code to speak for itself. Or they throw random comments throughout their code that don't help elucidate things. The nice thing about most Elisp code is that the inputs and outputs of functions are often pretty well

Re: Org, Hyperbole, and eev

2022-06-28 Thread Eduardo Ochs
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 “hibtypes.el” file. Just search for ‘defib > action’ in there. You can invoke its implicit button type function > from Lisp as (ibtypes::action) if

Re: Org, Hyperbole, and eev

2022-06-27 Thread Eduardo Ochs
On Sun, 26 Jun 2022 at 21:50, Robert Weiner wrote: > > So here is a simple implementation that is not unlike your own > though the functions are a bit simpler and more clearly documented > _without a listing of every possible test case type_ and requires > neither Hyperbole nor Org until you want

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
These are Action buttons run by the action button type defined via the defib macro in the “hibtypes.el” file. Just search for ‘defib action’ in there. You can invoke its implicit button type function from Lisp as (ibtypes::action) if I recall. -- Bob > On Jun 26, 2022, at 11:48 PM, Eduardo

Re: Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
On Sun, 26 Jun 2022 at 21:50, Robert Weiner wrote: > > So here is a simple implementation (...) Hi Robert, thanks - but most functions of eev that deal with youtube URLs are clearly marked either as "this is part of a 5-minute hack" or as "this is part of an ex-5-minute hack that grew too

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
So here is a simple implementation that is not unlike your own though the functions are a bit simpler and more clearly documented without a listing of every possible test case type and requires neither Hyperbole nor Org until you want to activate things as buttons: (require 'browse-url) (defun

Re: Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
On Sun, 26 Jun 2022 at 17:24, Robert Weiner wrote: > > That was not the offer. The offer was to show you how to implement a > discrete eev command using another framework, possibly simplifying > its implementation. Hopefully, from seeing the code used to do this, > you could dig in yourself and

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
That was not the offer. The offer was to show you how to implement a discrete eev command using another framework, possibly simplifying its implementation. Hopefully, from seeing the code used to do this, you could dig in yourself and follow the flow to whatever level you like. Hyperbole, for

Re: Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
On Sun, 26 Jun 2022 at 15:23, Robert Weiner wrote: > > Maybe if you could pick a single eev function that you think could > be implemented with Org and Hyperbole and pointed us to the > documentation for that, then we could show you an equivalent one > using these packages and begin to give you a

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
Hi Eduardo: I do get this and see this is why you have not leveraged Hyperbole or Org for eev implementation. (I do feel eev has a number of interesting and useful ideas, and as I've said to you personally, I just hoped you could use Hyperbole or other existing Emacs infrastructure to avoid

Re: Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
On Sun, 26 Jun 2022 at 13:29, Robert Weiner wrote: > Hi Eduardo: > > I really think that you are confused in saying that Hyperbole and Org are > hacker-unfriendly. Yes, they are targeted at users who don't have to > understand the programming, but if you do understand Lisp programming well, >

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
ey find Org very hard in this thread > > > https://lists.gnu.org/archive/html/emacs-devel/2022-06/threads.html#00186 > > would also benefit from a bit more of hacker-friendliness... and so it > would be great if more ideas could flow between Org, eev, and Hyperbole. > > Cheers and sorry the noise =P, > Eduardo Ochs > http://angg.twu.net/#eev > >

Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
bit more of hacker-friendliness... and so it would be great if more ideas could flow between Org, eev, and Hyperbole. Cheers and sorry the noise =P, Eduardo Ochs http://angg.twu.net/#eev