-
Notifications
You must be signed in to change notification settings - Fork 1
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
Emacs mode (GUI) #4
Comments
Uh oh. I'm a hardcore vim guy. Lol. Three serious thoughts.
|
|
2. Per-album awareness is definitely something I've wanted Demlo to have for a while and I do have some ideas about how it might work. That workaround is pretty interesting—does it process input files in the right order all the time though? Like, does it sort them by filename initially, or just use the order returned by the system call? 3. An undefined variable is also nil, yes. That's intentional. In my system, the scripts would prompt the user for decisions that it wasn't told to make. Defaults can be set by setting global variables to true or false in certain scripts; leaving them nil means "ask me if the issue ever arises" (some questions only come up in certain cases). Adding an |
Indeed, it would require demlo to make sure the files are sorted. I'll have a more in-depth look at your demloconf very soon. Thanks a lot for the hard work! |
Sadly I don't. I think you just have to do that if you want to do auto-numbering. Or at least some type of sorting. I know in Mp3Tag you can sort the files by any of the columns along the top, and then auto-number using the resulting order. So I guess a maximally general version of this feature would have a commandline option for how to sort the input files, like |
Like many semi-interactive programs, Demlo's user-experience feels limited on the commandline.
In particular, it can be frustrating to re-run Demlo over and over with different pre-/post-/scripts until we get the result right.
I've been thinking of writing an Emacs mode to provide for a better experience.
Why Emacs? Mostly because:
Running Demlo from Emacs would produce a special buffer "à-la-Magit" where each audio file would contain the diff as it is currently displayed in shells.
The entry would be collapsable.
There would be two collapsable subsections:
A subsection containing the list of scripts which could be turned on and off with a simple binding.
A subsection containing the pre/post scripts which would be writable (in Lua mode, obviously).
A
C-c C-c
key press on a track section would update the "diff" by running Demlo with the changed made to the scripts in the subsections.A
C-u C-c C-c
would do the same to all tracks.Last but not least, the diff "after" fields would be writable. This would effectively allow for a very convenient way of hand-editing tags and other properties.
Finally,
C-x C-s
would process the track at point whileC-x s
would process all tracks.The text was updated successfully, but these errors were encountered: