embark icon indicating copy to clipboard operation
embark copied to clipboard

Idea: Allow iterative transformer refinement

Open julian-hoch opened this issue 4 months ago • 2 comments

From what I understand, refinement of targets via transformers is currently a single-step process. Therefore, it is not possible to for example set up a transformer that further refines org-url-links into subtypes for certain URL patterns, since org-url-link already is a refinement of org-link and thus cannot be refined further. Let me now if I am missing something, but I feel a iterative approach would be very valuable. I want to be able to specify specific actions for urls that match a certain pattern, e.g. for certain hostnames, so I also need corresponding subtargets that I can then attach keymaps to.

julian-hoch avatar Aug 27 '25 20:08 julian-hoch

I think this makes sense. I guess the need just hasn't come up in Embark.

minad avatar Oct 06 '25 13:10 minad

I think I explicitly considered this when initially writing the target refinement code and decided to wait to see if anyone wanted it! I guess someone does want it. :)

oantolin avatar Oct 10 '25 02:10 oantolin