0

I'm looking for a mode or hook that automatically opens a generated in read-only and auto-revert-mode mode alongside an associated with a source file. For instance when calling dmd -vgc-ast on a .d-file or calling the C preprocessor (cpp) on a .c file.

The mode should be configured via a set of mappings between source file name regexps and generated file regexps.

phils
  • 48,657
  • 3
  • 76
  • 115
Nordlöw
  • 487
  • 3
  • 12
  • How are you calling `dmd` and `cpp`? `M-x compile`? Something different? Please add details. – phils Aug 20 '22 at 11:18
  • I'm calling dmd via flycheck. I haven't thought about cpp yet but probably triggered via a flycheck options popup menu for flycheck in C/C++ mode. – Nordlöw Aug 20 '22 at 20:17

0 Answers0