Discussion:
[AUCTeX] AUCTeX in Debian
Janusz S. Bien
2016-09-17 10:12:51 UTC
Permalink
From the Debian site:

---
11.88-1.1: The package has not yet entered testing even though the
5-day delay is over.

Excuse for auctex

623 days old (needed 5 days)
auctex has new bugs!
Updating auctex introduces new bugs: #768724
Not considered
---

What can be done to get 11.88 into testing?

I need TeX-command-extra-options.

Best regards

Janusz
--
Prof. dr hab. Janusz S. Bień - Uniwersytet Warszawski (Katedra
Lingwistyki Formalnej)
Prof. Janusz S. Bień - University of Warsaw (Formal Linguistics Department)
***@uw.edu.pl, ***@mimuw.edu.pl, http://fleksem.klf.uw.edu.pl/~jsbien/
Tassilo Horn
2016-09-17 13:11:33 UTC
Permalink
"Janusz S. Bien" <***@mimuw.edu.pl> writes:

Hi Janusz,
---
11.88-1.1: The package has not yet entered testing even though the 5-day delay
is over.
Excuse for auctex
623 days old (needed 5 days)
auctex has new bugs!
Updating auctex introduces new bugs: #768724
Not considered
---
What can be done to get 11.88 into testing?
GNU AUCTeX 11.88 is 2 years old now. I really hope Debian won't be
distributing such an outdated version given that 11.89 is nearly one
year old already.
I need TeX-command-extra-options.
Do yourself (and us as GNU AUCTeX maintainers) a favor and skip distro
packages in favor of GNU ELPA. Debian testing ships Emacs 24.5 which
contains the Emacs package manager.

,----[ (info "(auctex)Installation") ]
| The simplest way of installing AUCTeX is by using the Emacs package
| manager integrated in Emacs 24 and greater (ELPA). Simply do 'M-x
| package-list-packages RET', mark the auctex package for installation
| with 'i', and hit 'x' to execute the installation procedure. That's
| all.
`----

Then you don't need any special configuration of load-path and friends
and it'll just work. And in case you spot a major bug, we're gonna fix
it as soon as possible and simply release a new ELPA version which is a
very simple procedure compared to standalone releases. The current ELPA
version is 11.89.5 containing many new features and tons of fixes
compared to 11.89 or even 11.88.

Bye,
Tassilo
Janusz S. Bien
2016-09-17 13:47:40 UTC
Permalink
Quote/Cytat - Tassilo Horn <***@gnu.org> (sob, 17 wrz 2016, 15:11:33):

[...]
Post by Tassilo Horn
Do yourself (and us as GNU AUCTeX maintainers) a favor and skip distro
packages in favor of GNU ELPA. Debian testing ships Emacs 24.5 which
contains the Emacs package manager.
I've got a problem reported earlier for Ubuntu: Emacs doesn't use the
ELPA version of the package.

Moreover I've got a message:

Done (Total of 237 files compiled, 1 failed, 1 skipped in 4 directories)

Do you want to see more details?

Regards

Janusz
--
Prof. dr hab. Janusz S. Bień - Uniwersytet Warszawski (Katedra
Lingwistyki Formalnej)
Prof. Janusz S. Bień - University of Warsaw (Formal Linguistics Department)
***@uw.edu.pl, ***@mimuw.edu.pl, http://fleksem.klf.uw.edu.pl/~jsbien/
Tassilo Horn
2016-09-17 18:13:34 UTC
Permalink
"Janusz S. Bien" <***@mimuw.edu.pl> writes:

Hi Janusz,
Post by Tassilo Horn
Do yourself (and us as GNU AUCTeX maintainers) a favor and skip
distro packages in favor of GNU ELPA. Debian testing ships Emacs
24.5 which contains the Emacs package manager.
I've got a problem reported earlier for Ubuntu: Emacs doesn't use the ELPA
version of the package.
Ah, I see. So I guess you have no root privileges on that system so
that you could simply uninstall that package? Or ask your friendly
admin to do that for you explaining the problems the distro package has?
Done (Total of 237 files compiled, 1 failed, 1 skipped in 4 directories)
Hm, AUCTeX alone has not so many files. So I guess you also installed
other packages.
Do you want to see more details?
Sure, then we might see which one failed and if it was an auctex file.

Bye,
Tassilo
Janusz S. Bien
2016-09-17 19:41:01 UTC
Permalink
Post by Tassilo Horn
Hi Janusz,
Post by Tassilo Horn
Do yourself (and us as GNU AUCTeX maintainers) a favor and skip
distro packages in favor of GNU ELPA. Debian testing ships Emacs
24.5 which contains the Emacs package manager.
I've got a problem reported earlier for Ubuntu: Emacs doesn't use the ELPA
version of the package.
Ah, I see. So I guess you have no root privileges on that system so
that you could simply uninstall that package? Or ask your friendly
admin to do that for you explaining the problems the distro package has?
I assumed incorrectly that ELPA will overwrite the Debian package.
After uninstalling it the situation improved. I mean that auctex works
but I have to load it by hand. I guess it's not how it should be. I
get also a message

byte-code: Invalid function: TeX-auto-add-type
Post by Tassilo Horn
Done (Total of 237 files compiled, 1 failed, 1 skipped in 4 directories)
Hm, AUCTeX alone has not so many files. So I guess you also installed
other packages.
Yes, I've installed also another one.
Post by Tassilo Horn
Do you want to see more details?
Sure, then we might see which one failed and if it was an auctex file.
I will try to check it myself tomorrow and will report the result.

Best regards

Janusz
--
Prof. dr hab. Janusz S. Bień - Uniwersytet Warszawski (Katedra
Lingwistyki Formalnej)
Prof. Janusz S. Bień - University of Warsaw (Formal Linguistics Department)
***@uw.edu.pl, ***@mimuw.edu.pl, http://fleksem.klf.uw.edu.pl/~jsbien/
Janusz S. Bien
2016-09-18 05:12:27 UTC
Permalink
[...]
Post by Janusz S. Bien
Post by Tassilo Horn
Post by Janusz S. Bien
Do you want to see more details?
Sure, then we might see which one failed and if it was an auctex file.
I will try to check it myself tomorrow and will report the result.
I'm still confused. I enclose the logs.

Best regards

Janusz
--
Prof. dr hab. Janusz S. Bień - Uniwersytet Warszawski (Katedra
Lingwistyki Formalnej)
Prof. Janusz S. Bień - University of Warsaw (Formal Linguistics Department)
***@uw.edu.pl, ***@mimuw.edu.pl, http://fleksem.klf.uw.edu.pl/~jsbien/
Janusz S. Bien
2016-09-18 05:27:31 UTC
Permalink
Post by Janusz S. Bien
I assumed incorrectly that ELPA will overwrite the Debian package.
After uninstalling it the situation improved. I mean that auctex
works but I have to load it by hand. I guess it's not how it should
be.
I was wrong, it's loaded automatically.
Post by Janusz S. Bien
I get also a message
byte-code: Invalid function: TeX-auto-add-type
The first attempt to open a TeX file from dired fails with the above
messages, the second attempt succeeds.

Regards

Janusz
--
Prof. dr hab. Janusz S. Bień - Uniwersytet Warszawski (Katedra
Lingwistyki Formalnej)
Prof. Janusz S. Bień - University of Warsaw (Formal Linguistics Department)
***@uw.edu.pl, ***@mimuw.edu.pl, http://fleksem.klf.uw.edu.pl/~jsbien/
Tassilo Horn
2016-09-18 09:20:38 UTC
Permalink
"Janusz S. Bien" <***@mimuw.edu.pl> writes:

Hi Janusz,
Post by Janusz S. Bien
Post by Janusz S. Bien
I assumed incorrectly that ELPA will overwrite the Debian package.
After uninstalling it the situation improved. I mean that auctex
works but I have to load it by hand. I guess it's not how it should
be.
I was wrong, it's loaded automatically.
Ok, good.
Post by Janusz S. Bien
Post by Janusz S. Bien
I get also a message
byte-code: Invalid function: TeX-auto-add-type
The first attempt to open a TeX file from dired fails with the above
messages, the second attempt succeeds.
That's strange. Could you please start a new emacs instance, do M-x
toggle-debug-on-error, and then open a tex file so that you get this
error? This will open a *backtrace* buffer on errer whose contents you
can post here.

And could you also please do M-x list-load-path-shadows RET and post the
results?

Bye,
Tassilo
Janusz S. Bien
2016-09-18 09:40:46 UTC
Permalink
Post by Tassilo Horn
Hi Janusz,
Post by Janusz S. Bien
Post by Janusz S. Bien
I assumed incorrectly that ELPA will overwrite the Debian package.
After uninstalling it the situation improved. I mean that auctex
works but I have to load it by hand. I guess it's not how it should
be.
I was wrong, it's loaded automatically.
Ok, good.
Post by Janusz S. Bien
Post by Janusz S. Bien
I get also a message
byte-code: Invalid function: TeX-auto-add-type
The first attempt to open a TeX file from dired fails with the above
messages, the second attempt succeeds.
Sometimes the TeX output windows is not opened for the same reason.
Post by Tassilo Horn
That's strange. Could you please start a new emacs instance, do M-x
toggle-debug-on-error, and then open a tex file so that you get this
error? This will open a *backtrace* buffer on errer whose contents you
can post here.
And could you also please do M-x list-load-path-shadows RET and post the
results?
Enclosed.

Janusz
--
Prof. dr hab. Janusz S. Bień - Uniwersytet Warszawski (Katedra
Lingwistyki Formalnej)
Prof. Janusz S. Bień - University of Warsaw (Formal Linguistics Department)
***@uw.edu.pl, ***@mimuw.edu.pl, http://fleksem.klf.uw.edu.pl/~jsbien/
Tassilo Horn
2016-09-18 10:23:13 UTC
Permalink
Post by Tassilo Horn
That's strange. Could you please start a new emacs instance, do M-x
toggle-debug-on-error, and then open a tex file so that you get this
error? This will open a *backtrace* buffer on errer whose contents
you can post here.
And could you also please do M-x list-load-path-shadows RET and post the
results?
Thanks. From the backtrace I can see that at least see that the style
files from the ELPA version are used but somehow `TeX-auto-add-type'
which is defined in tex.el isn't there. No clue how that can be.

Do you have any (load ...) or (require ...) statements in your auctex
config. If so, remove them. When using the ELPA package, nothing is
needed.

Bye,
Tassilo

PS: I vaguely remember we've had a user with this error already. If you
have some time, you might want to search the archives of this list.
Janusz S. Bien
2016-09-18 10:47:44 UTC
Permalink
[...]
Post by Tassilo Horn
Thanks. From the backtrace I can see that at least see that the style
files from the ELPA version are used but somehow `TeX-auto-add-type'
which is defined in tex.el isn't there. No clue how that can be.
I've uninstalled and installed again and now it seems to work.

Thanks you for you help.

Janusz
--
Prof. dr hab. Janusz S. Bień - Uniwersytet Warszawski (Katedra
Lingwistyki Formalnej)
Prof. Janusz S. Bień - University of Warsaw (Formal Linguistics Department)
***@uw.edu.pl, ***@mimuw.edu.pl, http://fleksem.klf.uw.edu.pl/~jsbien/
Tassilo Horn
2016-09-18 11:07:14 UTC
Permalink
Post by Janusz S. Bien
Post by Tassilo Horn
Thanks. From the backtrace I can see that at least see that the
style files from the ELPA version are used but somehow
`TeX-auto-add-type' which is defined in tex.el isn't there. No clue
how that can be.
I've uninstalled and installed again and now it seems to work.
Ok, great.
Post by Janusz S. Bien
Thanks you for you help.
You're welcome.

Bye,
Tassilo

Loading...