GNU bug report logs - #21512
filecontents

Previous Next

Package: auctex;

Reported by: "Hefferon, James S." <jhefferon <at> smcvt.edu>

Date: Fri, 18 Sep 2015 12:33:02 UTC

Severity: normal

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21512 in the body.
You can then email your comments to 21512 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#21512; Package auctex. (Fri, 18 Sep 2015 12:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Hefferon, James S." <jhefferon <at> smcvt.edu>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Fri, 18 Sep 2015 12:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Hefferon, James S." <jhefferon <at> smcvt.edu>
To: "bug-auctex <at> gnu.org" <bug-auctex <at> gnu.org>
Subject: filecontents
Date: Fri, 18 Sep 2015 12:23:52 +0000
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.




Information forwarded to bug-auctex <at> gnu.org:
bug#21512; Package auctex. (Fri, 18 Sep 2015 12:48:02 GMT) Full text and rfc822 format available.

Message #8 received at 21512 <at> debbugs.gnu.org (full text, mbox):

From: Mosè Giordano <mose <at> gnu.org>
To: "Hefferon, James S." <jhefferon <at> smcvt.edu>
Cc: 21512 <at> debbugs.gnu.org
Subject: Re: bug#21512: filecontents
Date: Fri, 18 Sep 2015 14:46:26 +0200
Hi Jim

2015-09-18 14:23 GMT+02:00 Hefferon, James S. <jhefferon <at> smcvt.edu>:
>
> 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.

Which version of AUCTeX are you using?  This should have already been
fixed with commit

* cad437e (2013-01-29)  * latex.el (LaTeX-env-contents): Replaced
                        regular expression with

(http://git.savannah.gnu.org/gitweb/?p=auctex.git;a=commitdiff;h=cad437eec728058261951f28cd779c2d4f2eb3b7)
which went into AUCTeX 11.88.

Bye,
Mosè




Reply sent to Tassilo Horn <tsdh <at> gnu.org>:
You have taken responsibility. (Fri, 18 Sep 2015 13:04:02 GMT) Full text and rfc822 format available.

Notification sent to "Hefferon, James S." <jhefferon <at> smcvt.edu>:
bug acknowledged by developer. (Fri, 18 Sep 2015 13:04:03 GMT) Full text and rfc822 format available.

Message #13 received at 21512-done <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: "Hefferon\, James S." <jhefferon <at> smcvt.edu>
Cc: 21512-done <at> debbugs.gnu.org
Subject: Re: bug#21512: filecontents
Date: Fri, 18 Sep 2015 15:03:42 +0200
"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




Information forwarded to bug-auctex <at> gnu.org:
bug#21512; Package auctex. (Fri, 18 Sep 2015 15:45:03 GMT) Full text and rfc822 format available.

Message #16 received at 21512-done <at> debbugs.gnu.org (full text, mbox):

From: "Hefferon, James S." <jhefferon <at> smcvt.edu>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: "mose <at> gnu.org" <mose <at> gnu.org>,
 "21512-done <at> debbugs.gnu.org" <21512-done <at> debbugs.gnu.org>
Subject: RE: bug#21512: filecontents
Date: Fri, 18 Sep 2015 15:44:38 +0000
Thank you both for the work that you do, and for your response to this.  

I am using the AUCTeX that comes with Ubuntu's long term release 14.04, namely AUCTeX 11.87-1.  So that explains how your update has not yet gotten to me.

Sorry for the noise.

Jim

--------------------------------------
`Does not the Captain seek your advice, sir?'
`Not always,' said Stephen.

________________________________________
From: Tassilo Horn [tsdh <at> gnu.org]
Sent: Friday, September 18, 2015 9:03
To: Hefferon, James S.
Cc: 21512-done <at> debbugs.gnu.org
Subject: Re: bug#21512: filecontents

"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




Information forwarded to bug-auctex <at> gnu.org:
bug#21512; Package auctex. (Fri, 18 Sep 2015 20:31:02 GMT) Full text and rfc822 format available.

Message #19 received at 21512-done <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: "Hefferon\, James S." <jhefferon <at> smcvt.edu>
Cc: "mose <at> gnu.org" <mose <at> gnu.org>,
 "21512-done <at> debbugs.gnu.org" <21512-done <at> debbugs.gnu.org>
Subject: Re: bug#21512: filecontents
Date: Fri, 18 Sep 2015 22:30:51 +0200
"Hefferon, James S." <jhefferon <at> smcvt.edu> writes:

Hi Jim,

> Thank you both for the work that you do, and for your response to
> this.

Again, you're very much welcome!

> I am using the AUCTeX that comes with Ubuntu's long term release
> 14.04, namely AUCTeX 11.87-1.  So that explains how your update has
> not yet gotten to me.

You'll experience even more joy editing (La)TeX when using a more recent
version.  AFAIK, ubuntu ships emacs 24 so you can install the latest and
greatest auctex release with emacs' package manager simply by typing

  M-x package-list-packages RET

then find the auctex entry, mark it with `i', and then start the install
with `x'.  Updating works similar: `U' marks all upgradeable packages,
then `x' starts the upgrade.

I update this auctex package very frequently.  Basically, if some bug
gets fixed, I make a new release which is good for users.  And its also
good for us to have many users testing the almost-bleeding-edge code
before we initiate "old school" tarball releases.

Bye,
Tassilo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 17 Oct 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.