-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deft-text-mode had uses that deft-extensions doesn't serve... #4
Comments
I used to do something similar: My Deft files were all .txt files and so I had
It seems like you could you do something similar with your special minor mode? |
That worked! Don't know why I didn't think of that ;-) Thanks! On Thu, Jun 18, 2015 at 11:24 PM, Jason Blevins notifications@github.com
|
Yes, well, I didn't think of it at first either, which is how |
Brilliant. Adding an |
So, my deft config was as follows: I used deft-file-extension to set the extention to .org, and then used deft-text-mode to trigger a custom minor mode that marked org buffers launched via deft as special.
I used this to do two things: it let me set up a toggle that would kill or bury all deft buffers at once, and second, so that I could inhibit the hook that cleans trailing whitespace.
Without a non-file-extension way to mark deft buffers, I can't think of an easy way to replicate this functionality. Would there be general interest in a PR restoring deft-text-mode for explicit use of attaching a minor mode to deft buffers? Or, alternately, a new variable for same?
The text was updated successfully, but these errors were encountered: