Hi Richard,

>>>>> Richard Stanton <rhstan...@berkeley.edu> writes:
> That works. Thanks! 
> The explanation makes perfect sense. But it also means that putting

> %%% eval: (outline-hide-body)

> in the file’s local variables doesn’t work. Is there a similar
> work-around here, so I can make the settings file-specific if I want?

Hmm, that's a tough question. :-) I couldn't find a good answer for this
request, either. You can do it in only a awkward way, i.e.:

%%% eval: (add-hook 'find-file-hook (lambda () (outline-hide-body)) nil t)

In general, I suppose that emacs doesn't offer a neat framework to deal
with this type of competition between the order of setting variable and
running subsidiary functionality. Particularly, (La)TeX is (IMHO)
exceptional in that the users can define arbitrary sectioning commands.
which makes it difficult to prepare for outline mode.

Maybe I close this bug as "won'tfix" type :-(

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW



_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex
  • bug#69254... Richard Stanton via bug-auctex via Bug reporting list for AUCTeX
    • bug#... Ikumi Keita
      • ... Richard Stanton via bug-auctex via Bug reporting list for AUCTeX
        • ... Ikumi Keita
          • ... Arash Esbati
            • ... Ikumi Keita
              • ... Arash Esbati
                • ... Ikumi Keita
                • ... Arash Esbati
                • ... Ikumi Keita

Reply via email to