GNU bug report logs -
#21512
filecontents
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 18 Sep 2015 15:03:42 +0200
with message-id <87si6bq3pt.fsf <at> gnu.org>
and subject line Re: bug#21512: filecontents
has caused the debbugs.gnu.org bug report #21512,
regarding filecontents
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
21512: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21512
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello,
Thank you for AUCTeX. I use it every day.
When I am inside a .tex file, in the preamble but after the \documentclass, and I do a control-C control-E followed by "filecontents" I get a message in the minibuffer to "Put filecontents before \documentclass".
That warning is based on incorrect documentation of the filecontents command; in fact that command can go anywhere in the preamble.
Regards,
Jim Hefferon
--------------------------------------
`Does not the Captain seek your advice, sir?'
`Not always,' said Stephen.
[Message part 3 (message/rfc822, inline)]
"Hefferon, James S." <jhefferon <at> smcvt.edu> writes:
Hi James,
> Thank you for AUCTeX. I use it every day.
You're welcome!
> When I am inside a .tex file, in the preamble but after the
> \documentclass, and I do a control-C control-E followed by
> "filecontents" I get a message in the minibuffer to "Put filecontents
> before \documentclass".
>
> That warning is based on incorrect documentation of the filecontents
> command; in fact that command can go anywhere in the preamble.
That must be an old version of AUCTeX. The current version, 11.88.8,
just warns when you use it after the \begin{document}, i.e., after the
preamble.
Well, and if you use the filecontents package which provides a similar
environment without even the preamble-restriction, AUCTeX won't issue
any warning at all.
So I'm closing this issue.
Bye,
Tassilo
This bug report was last modified 9 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.