Nikolaos Chatzikonstantinou writes:
[...]
> If I do something like
>
> #+begin_comment
> Local Variables:
> End:
> #+end_comment
>
> #+begin_src
> Local Variables:
> foo: 40
> End:
> #+end_src
>
> Then the variable is not set, as Emacs does not look for a Local
> Variables list more than once.
Nikolaos Chatzikonstantinou writes:
[...]
> If I do something like
>
> #+begin_comment
> Local Variables:
> End:
> #+end_comment
>
> #+begin_src
> Local Variables:
> foo: 40
> End:
> #+end_src
>
> Then the variable is not set, as Emacs does not look for a Local
> Variables list more than once.
Max Nikulin writes:
[...]
>>> (info "(emacs) Specifying File Variables")
>> By the way, is there a built-in command to copy that (info ...) sexp
>> when viewing that info page?
>
> A short answer "C-0 c" or "C-0 w". Maybe I will send a longer one,
> dropping bohonghuang from Cc.
Thanks! Very g
Due to a recent texinfo thread on emacs-devel, I have added RMS to Cc.
On 20/12/2024 04:37, Joseph Turner wrote:
Max Nikulin writes:
(info "(emacs) Specifying File Variables")
By the way, is there a built-in command to copy that (info ...) sexp
when viewing that info page?
TLDR;
"C-0 c" or
On Fri, Dec 20, 2024 at 9:46 AM Max Nikulin wrote:
>
> On 20/12/2024 04:37, Joseph Turner wrote:
> > Max Nikulin writes:
> >> Have you tried to create a comment block below?
> >>
> >> #+begin_comment
> >> Deactivate local variables above in the example block:
> >> Local Variables:
> >> End:
> >> #
On 20/12/2024 04:37, Joseph Turner wrote:
Max Nikulin writes:
Have you tried to create a comment block below?
#+begin_comment
Deactivate local variables above in the example block:
Local Variables:
End:
#+end_comment
In my testing, in order to make Emacs ignore the `foo: bar' binding, the
emp
Max Nikulin writes:
> On 18/12/2024 11:13, Joseph Turner wrote:
>> Is there a way to make Emacs ignore Local Variables lists which
>> appear
>> inside of source blocks?
>> For example, is there a way to include the following content in an
>> Org
>> file without Emacs attempting to locally set foo
On 18/12/2024 11:13, Joseph Turner wrote:
Is there a way to make Emacs ignore Local Variables lists which appear
inside of source blocks?
For example, is there a way to include the following content in an Org
file without Emacs attempting to locally set foo to bar?
#+BEGIN_EXAMPLE
# Local V