Disproject is a package for GNU Emacs that implements Transient menus for dispatching project-related commands on top of the project.el library. It aims to provide a more featureful version of the project-switch-project command, which it is inspired by. Those who are familiar with Projectile may also find similarities to projectile-commander.

Hello! I’m happy to announce version 2.0.0 of Disproject has been released. Notably, it adds support for specifying custom per-project commands (see disproject-custom-suffixes variable) with Transient’s specifications syntax; the previous custom syntax has been deprecated.

Project homepage: https://github.com/aurtzy/disproject

Full release notes: https://github.com/aurtzy/disproject/releases/tag/v2.0.0

  • Alex@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    18 days ago

    Nice. I’ve been noodling with transient to port counsel-compile to a transient menu. I’ll be interested in seeing how this handles selecting compile targets and build directories.

    • aurtzy@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      18 days ago

      Auto-building menus from e.g. makefiles is a feature I’d like Disproject to support in some capacity as well in the future. I came across the transient-compile package a while back while researching ideas; might be of interest to look at.

      • Alex@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        17 days ago

        I can’t believe wrapping up a macro evaluation is the only way to dynamically build up some text at the top of the transient. I want to show the compile command and build it up as options are chosen before hiring C-c C-c to kick it off.

        • aurtzy@discuss.tchncs.deOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          17 days ago

          I don’t think the macro usage is 100% necessary; in the case of dynamic text, I’d specify a function in a group’s :description slot (like this; function here) that builds the description from transient state.