Re: Moving to a literate file for .emacs

2022-07-04 Thread Samuel Banya
I have a literate Emacs config here that you can look at: https://github.com/SamuelBanya/SamsEmacs/blob/main/configuration.org https://github.com/SamuelBanya/SamsEmacs/blob/main/init.el Take a look at the Emacs config links to other people's 'literate' Emacs configs, and you might get some ideas

Re: Moving to a literate file for .emacs

2022-07-04 Thread Immanuel Litzroth
It's possible to let tangling generate comments that will link back to the literate file where you defined the function. https://orgmode.org/manual/Extracting-Source-Code.html See the comment header arg. Then you could advise the relevant functions that do emacs function lookup to check whether th

Moving to a literate file for .emacs

2022-07-04 Thread Stephen Eglen
I see many users are switching to using a 'literate programming' approach to tangling their .emacs file from an org file. Has anyone solved the following problem though? If I have a file called config.org containing: * test #+begin_src emacs-lisp (defun quick-test () "interactive" (*