Skip to content

Emacs mode (GUI) #4

@Ambrevar

Description

@Ambrevar

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:

  • of its textual nature;
  • of its keyboard-based, power-user bindings;
  • I use it, I know it, I can program it :)

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 while C-x s would process all tracks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions