Quote:
Originally Posted by dimtok
Yes on the surface it totally looks like that but I have another problem that I am
trying to solve that would require copying programmatically. I haven't figured it
out how to solve the real problem with clipboard copy paste as of now.
Actually what I am trying to do pretty much is creating something similar to registers
in the vim editor if you are familiar with it?
|
I know buffers in emacs.
Is register same as buffer in emacs?
Just looked it up:
You could add the selected text to the register r by doing "ry. By doing y you are copying (yanking) the selected text, and then adding it to the register "r. To paste the content of this register, the logic is the same: "rp. You are pasting the data that is in this register.
What I am using in emacs is an extension called yankpad, for stuff (text templates) which I need more frequently, some latex or org-mode settings for example.
Anyway whatever you try, it sounds interesting, I hope you will make a short Youtube video when finished so we can see how it can be useful for musical tasks.
You could check for example how saike solved a similar problem, I guess, in hackey trackey, there he copies the item to a very late position in arrange, using those as "patterns" we can reuse. Maybe something similar you could try?