auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Adjusting filecontents env to new LaTeX


From: Ikumi Keita
Subject: Re: [AUCTeX-devel] Adjusting filecontents env to new LaTeX
Date: Wed, 16 Oct 2019 22:25:48 +0900

Hi Arash,

>>>>> Arash Esbati <address@hidden> writes:
> newest LaTeX has a change to filecontents environment:

>     The filecontents environment now supports an optional argument in
>     which you can specify that it is allowed to overwrite an already
>     existing file; by default nothing is written if a file with the
>     given name exists anywhere in the search tree. ...  Another change
>     is that this environment is now allowed anywhere in the document,
>     which means it provides everything (and more) of what the now
>     obsolete filecontents package provided.

> This means a change to `LaTeX-env-contents which can look like this:

This hunk raised error when I actually apply it to patch command, so I
applied it manually.  The new function works just fine.

> One last thing to clarify is how do we like to handle the content in the
> environment?  I don't like to indent the content, so we could add
> `filecontents' and `filecontents*' to `LaTeX-verbatim-environments'
> which will also kill filling.  Other way is to add them to
> `LaTeX-document-regexp' which would allow filling.

I think filecontents(*) environments are cousins of verbatim env, so
AUCTeX should not indent automatically in them.

Regards,
Ikumi Keita



reply via email to

[Prev in Thread] Current Thread [Next in Thread]