Bad-ptr / persp-mode.el

named perspectives(set of buffers/window configs) for emacs
394 stars 44 forks source link

Perspective Local Variables? #121

Closed Ultramann closed 1 year ago

Ultramann commented 3 years ago

Hi there. I'm in the process of switching from a hand rolled emacs to doom emacs. In my hand rolled setup I used perspective-el and am having trouble finding one feature I used from there in persp-mode.

perspective-el has a concept of perspective local variables [0] that I can't find an analogue for here. I used them to manage different a different python environment per perspective. Is there a feature in persp-mode that could replicate this functionality? If not, could it be added? If adding it is not on the table I'm guessing I could hack together some advice to mimic this behavior, some suggestions for what functions to look at for this would be greatly appreciated.

Many thanks for all the amazing work you've done, and for any help you can provide!

[0] https://github.com/nex3/perspective-el/blob/7d747f50464e5c518bc6963e66d6d378ac3e9add/perspective.el#L1081