Open alex-a-soto opened 4 years ago
I see.
I can probably add a modular-config-create-module
function, but it would make sense to insert #!/usr/bin/emacs --script
using some sort of a template engine or auto-insert-mode.
Does that sound good ?
Please refer to this: https://www.gnu.org/software/emacs/manual/html_mono/autotype.html
SidharthArya, Thank you for your time and for creating this package. I appreciate it.
Background I'm in the process of transitioning from Doom to my configuration and using
modular-config
to achieve this. As I'm abstracting my configuration into separate loadable modules, I realize that I'm often creating a new module in themodular-config-default directory
and appending#!/usr/bin/emacs --script
to the top of the file. While this process of manually creating a module works, I feel that it adds some level of friction.Proposal: Create a new function called
modular-config-create-module
modular-config-create-module
would prompt the user for the name of the module.modular-config-default
directory.#!/usr/bin/emacs --script
in the first line.Thank you for your time and consideration.