dgtized / list-environment.el

A tabulated process environment editor
14 stars 1 forks source link

Consider using Customize or just the built-in widget library #2

Open tzz opened 9 years ago

tzz commented 9 years ago

This is a nice tool.

It may be possible to use the Customize interface, which supports many kind of editing interfaces, or the widget library directly, to add in-place editing and a "delete" button to tabulated-list-mode instead of delegating to setenv. I think it would look nicer. Are you interested in a PR implementing that UI change?

dgtized commented 9 years ago

Thanks. I had considered adding some sort of list editing support for colon separated lists, but was not sure on going all the way to use customize. I guess if the updates from customize widgets also directly called setenv then that would work, but the tabulated list actually re-renders from process-environment on every change and I would rather avoid complicating it by adding something holding intermediate state. I'm welcome to PR's though, and would certainly be curious to see what could be done with inplace editing as long as it is still pretty responsive.