dnd-mode
dnd-mode copied to clipboard
Clean up
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
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.
the .elc is just a remnant from my personal config. the exclusion should have happened a while ago.
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.
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.
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