purcell / envrc

Emacs support for direnv which operates buffer-locally
378 stars 35 forks source link

Purpose of *envrc-allow* and *envrc-deny* buffers #50

Open doolio opened 2 years ago

doolio commented 2 years ago

What is the purpose of these special buffers? They are just empty buffers for me or am I missing something. Any direnv related messages are relayed to me via the *envrc* buffer and/or the echo area. Couldn't the *envrc* buffer serve as the DESTINATION argument of call-process?

purcell commented 2 years ago

Yes, maybe! Needs some consideration, I think. I don't currently remember the original rationale. Probaby the idea was to display just the output of the single command that the user had explicitly run, but if the resulting buffer is empty (which is strange!) then that's not super helpful.