dnd-mode icon indicating copy to clipboard operation
dnd-mode copied to clipboard

Clean up

Open kmerfeld opened this issue 2 years ago • 5 comments

What are your thoughts on this?

it will allow users to configure with customize-group instead of editing the file, and uses a more sane system for enabling/disabling the mode

kmerfeld avatar May 23 '22 22:05 kmerfeld

the def groups are nice and i certainly prefer those. I am not sure about the change from a global mode though. I will have to test that out. The idea behind this isn't really to turn one buffer on for dnd, but instead turn emacs into a dnd tool during a session or the construction of one. I will test some of it tomorrow.

WMaxZimmerman avatar May 24 '22 02:05 WMaxZimmerman

the .elc is just a remnant from my personal config. the exclusion should have happened a while ago.

WMaxZimmerman avatar May 24 '22 02:05 WMaxZimmerman

I can understand using it as a global mode.It doesn't work with my workflow well, and feels more fragile and less emacs-y.

I would rather just permanently add those variables than enable/disable them in a mode. less moving things around.

kmerfeld avatar May 24 '22 11:05 kmerfeld

I think if we can come up with a good way to toggle global mode or local mode that may be the best option. Unfortunately for me, a buffer specific mode doesn't really solve my use case as I am jumping between several different buffers while playing. I recognize that may not be everyone's pattern.

To help solve both, I think we should set the ability to specify which scoped mode you would like to enable. I do think that switching to the custom groups is a good call and that can be done without changing either pattern.

WMaxZimmerman avatar May 26 '22 14:05 WMaxZimmerman

Do you want this globally, or enabled in all org mode buffers? We could have a hook to enable it on each new org-mode buffer pretty easily, and have commands to toggle it in a specific buffer, enable the hook, and turn off the hook in each org buffer.

feel free to merge whatever parts you want from this

kmerfeld avatar May 26 '22 14:05 kmerfeld