On 2018-05-01 10:43 +02, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:
> I think this machinery is not necessary.
>
> First add a call to `hack-local-variables-apply' somewhere in
> `org-src--edit-element'.
>
> Then, just use regular file-local variables ,e.g.,
>
>     #+begin_src emacs-lisp
>     (foo)
>     ;; Local Variables:
>     ;; fill-column: 99
>     ;; End:
>     #+end_src

But in my case (which is quite common I think) this would require adding
those local variables sections to each code block.  My Emacs config
alone has upwards of 170 code blocks, which means same three lines
repeated 170 times adding up to extra 510 lines, just for setting one
variable consistently.

-- 
İ. Göktuğ Kayaalp       <https://www.gkayaalp.com/>
                         024C 30DD 597D 142B 49AC
                         40EB 465C D949 B101 2427

Reply via email to