Re: Org and Hyperbole

2022-06-22 Thread indieterminacy
On 23-06-2022 06:04, David Masterson wrote: Samuel Wales writes: i am interested in whether hyperbole can inspire org. or maybe spin off stuff that is useful for org. Hyperbole is loaded and activated in your .emacs file. Therefore, it's features are available in any file you work on

Re: Org and Hyperbole

2022-06-22 Thread David Masterson
Samuel Wales writes: > i am interested in whether hyperbole can inspire org. or maybe spin > off stuff that is useful for org. Hyperbole is loaded and activated in your .emacs file. Therefore, it's features are available in any file you work on (including Org files). Many of the features may

Re: Org and Hyperbole

2022-06-22 Thread David Masterson
Bill Burdick writes: > Sure: > > (defun bill/restore-calc-point (result) > (when bill/calc-point > (goto-char bill/calc-point) > (setq bill/calc-point nil)) > result) > > (advice-add 'hmouse-function :filter-return 'bill/restore-calc-point) > > If my recalc function matches, it sets

Re: Org and Hyperbole

2022-06-22 Thread Samuel Wales
i am interested in whether hyperbole can inspire org. or maybe spin off stuff that is useful for org. i find org-link-minor-mode to be really useful. limited, but useful. does tses too. i use it in non-org files to link to other places in the same file, mostly. also i insert the

Re: Org and Hyperbole

2022-06-22 Thread Bill Burdick
I just wrote recalc today as a demo so people can extrapolate what they might do with Hyperbole (calc was handy in my head since I wrote it for Ober, the Java version of the Oberon environment). WIth buttons that restore the point to where it was when you clicked, you can make them operate on the

Re: Org and Hyperbole

2022-06-22 Thread David Masterson
Juan Manuel Macías writes: > Hi David, > > David Masterson writes: > >> I haven't touched Hyperbole in ...decades...? Even then, it was >> complicated and full-featured (but I still keep it in my .emacs file). >> My discussions with Bob Weiner were interesting at the time and I really >>

Re: Org and Hyperbole

2022-06-22 Thread Bill Burdick
Sure: (defun bill/restore-calc-point (result) (when bill/calc-point (goto-char bill/calc-point) (setq bill/calc-point nil)) result) (advice-add 'hmouse-function :filter-return 'bill/restore-calc-point) If my recalc function matches, it sets bill/restore-calc-point to a marker like

Re: Org and Hyperbole

2022-06-22 Thread Bill Burdick
No idea. -- Bill On Wed, Jun 22, 2022 at 10:23 PM David Masterson wrote: > Bill Burdick writes: > > > Here's a hyperbole-org integration that lets you use org-mode tables > > outside of org-mode files. Shift-middle-click a "recalc" button and it > > will recalculate the table right under it

Re: Org and Hyperbole

2022-06-22 Thread David Masterson
Bill Burdick writes: > Here's a hyperbole-org integration that lets you use org-mode tables > outside of org-mode files. Shift-middle-click a "recalc" button and it > will recalculate the table right under it (this idea is from an old > version of the Oberon environment I wrote in Java, by the

Re: Org and Hyperbole

2022-06-22 Thread David Masterson
Bill Burdick writes: > Anywhere you use a link or button, you can probably use an emacs > command instead. I think maybe the value of links and buttons is that > they're explicit. It's a reminder in the text and you don't have to > learn it. > > One thing I noticed in my little "recalc" exercise

Re: Org and Hyperbole

2022-06-22 Thread Bill Burdick
Anywhere you use a link or button, you can probably use an emacs command instead. I think maybe the value of links and buttons is that they're explicit. It's a reminder in the text and you don't have to learn it. One thing I noticed in my little "recalc" exercise is that Hyperbole really really

Re: [PATCH] New remote resource download policy

2022-06-22 Thread Max Nikulin
On 22/06/2022 17:01, Timothy wrote: +(defun org–confirm-resource-safe (uri) + “Ask the user if URI should be considered safe, returning non-nil if so.” +(unless noninteractive + (let ((buf (get-buffer-create “*Org Remote Resource*”))) I see your intention to add something fancy to

Re: Proposal: 'executable' org-capture-templaes

2022-06-22 Thread Max Nikulin
On 22/06/2022 19:13, Arthur Miller wrote: Max Nikulin writes: Menu should and application should be separated in my eyes. Menu is just a graphical/audio? presentation of selectable choice to the user. As such it should display choices, let user pick a choice, and return to the application the

Re: Org and Hyperbole

2022-06-22 Thread Russell Adams
On Mon, Jun 20, 2022 at 05:26:30PM +0200, Russell Adams wrote: > Is there some keen feature I'm missing? What's the use case for > Hyperbole if you're already an Org-mode user? Watching the replies, I've noticed it all seems to come back to hyperlinking / hot button support across Emacs modes.

Re: Org and Hyperbole

2022-06-22 Thread Juan Manuel Macías
Hi Jonathan, sorry for my late response, indieterminacy writes: > I recommend Hyperbole, though I must confess Ive been using Orgmode a > lot less since Ive been focusing on the format GemText. > > I should recommend the use of the function defil, for people who like > regexes and want to

Re: Org and Hyperbole

2022-06-22 Thread Bill Burdick
Here's a hyperbole-org integration that lets you use org-mode tables outside of org-mode files. Shift-middle-click a "recalc" button and it will recalculate the table right under it (this idea is from an old version of the Oberon environment I wrote in Java, by the way). Here's the code: (defun

Re: [PATCH] Re: [BUG] Adding note to heading without newline at the end

2022-06-22 Thread Tor Kringeland
Ihor Radchenko writes: > Confirmed. > > Samuel, do you want to try fixing this? > It should be fairly easy to debug. Nice. But these are distinct bugs, it seems like. The one you sent a patch for earlier fixes the former bug (which is also present in Org 9.5). While my original problem is

Re: Proposal: 'executable' org-capture-templaes

2022-06-22 Thread Arthur Miller
Max Nikulin writes: > On 21/06/2022 11:07, Ihor Radchenko wrote: >> Max Nikulin writes: >> The other question is altering the org-capture code. >> I think that it is too early to discuss org-capture part just yet. >> Lets first finalize the generic library itself and discuss the >> appropriate

Re: org-table in comment environments

2022-06-22 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >>> I recommend to hide such table inside drawer and set >>> org-export-with-drawers appropriately. >> >> Thanks, any type of drawer in particular? > Feel free to consult the docstring of org-export-with-drawers That seems to work

Re: org-table in comment environments

2022-06-22 Thread Ihor Radchenko
Uwe Brauer writes: >> I recommend to hide such table inside drawer and set >> org-export-with-drawers appropriately. > > Thanks, any type of drawer in particular? Feel free to consult the docstring of org-export-with-drawers Best, Ihor

Re: Org and Hyperbole

2022-06-22 Thread Juan Manuel Macías
Hi David, David Masterson writes: > I haven't touched Hyperbole in ...decades...? Even then, it was > complicated and full-featured (but I still keep it in my .emacs file). > My discussions with Bob Weiner were interesting at the time and I really > wanted to make use of it. > > As you've

Re: [PATCH] New remote resource download policy

2022-06-22 Thread Timothy
Hi Max, >> — a/lisp/org-attach.el >> +++ b/lisp/org-attach.el >> @@ -525,7 +525,11 @@ (defun org-attach-attach (file visit-dir >> method) >> [snip] >> +(if (or (not noninteractive) (org–should-fetch-remote-resource-p >> file)) > > I am confused by (not noninteractive). Does it mean

Re: Implementing ox-beamer property support in ox-latex.

2022-06-22 Thread Fraga, Eric
On Tuesday, 21 Jun 2022 at 14:14, bob--- via "General discussions about Org-mode." wrote: > The problem that I encountered was that you can't easily "close" environments. > The example below shows what I mean: You would probably find things easier using special blocks, e.g.

Re: [PATCH] New remote resource download policy

2022-06-22 Thread Timothy
Hi Robert, > Timothy> +(defcustom org-download-remote-resources ’prompt > > ’prompted when downloading unsafe resources’ > > maybe? > > Does this need a ’prompt-always option? I guess thatʼs what you get > with the default value of `org-safe-remote-resources’, but maybe it > makes sense to be

Re: Beamer export: Executing LaTeX between two frames

2022-06-22 Thread Fraga, Eric
On Tuesday, 21 Jun 2022 at 10:01, M. ‘quintus’ Gülker wrote: > I am working on a presentation for a conference (using org-mode and its > beamer export) and want to exchange the entire background for a specific > frame with an image. This is possible with Beamer, see This is a bit hacky but see

Re: org-table in comment environments

2022-06-22 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> I have a org-table in a comment environment, since I don't want to >> export it. >> >> However you can I edit the table using org-table commands, orgtbl-mode >> is ignored, so what shall I do? >> >> That seems as a stupid question,