Closed ProfessorX closed 9 years ago
I have the same issue after the recent update of emacs packages.
I am currently on vacation and will only be able to look at it after next Sunday.
I seem to have solved it. Right Now tablet, wait.
Remove Auctex package. Start Emacs.
Do prelude-update.
(I would like to write a detailed one later.)
This should solve the problem. If not, manually install 11.87 version.
I have the same issue after the recent update of emacs packages.
— Reply to this email directly or view it on GitHub https://github.com/alexeyr/company-auctex/issues/1#issuecomment-61420524.
Follow my update If you are using prelude. Otherwise remove and manually install 11.87. On Nov 2, 2014 11:48 PM, "Swarnendu Biswas" notifications@github.com wrote:
I have the same issue after the recent update of emacs packages.
— Reply to this email directly or view it on GitHub https://github.com/alexeyr/company-auctex/issues/1#issuecomment-61420524 .
@ProfessorX thanks for posting this, fixed my issue. :)
Ok, so the issue just requires updating Auctex? Or is the problem that it isn't working with Auctex >11.87? Specifically, the trace says that (require 'latex)
fails and I don't see why it would.
I get this behavior without company mode installed. Which suggests to me that it's a problem in auctex 11.88. Either that, or it's something else in my installation -- but either way it seemingly has nothing to do with company.
@moble Thanks!
I am a lazy buddy so I just use Prelude bundle with a bit configurations.
I solve the issue (at least no bug report like the one I posted for weeks) as follows:
package-list-packages
to remove AucTeX, whatever version it is installed in your Emacs.save-buffer-exit-emacs
prelude-update
, it solves everything. (At least no bug report after that). For those who are not using Prelude, I suppose there are similar approaches after you check what prelude-update
does.
Regards from Laptop, Abraham
For those who don't use Prelude it seems to be enough to do package-list-packages
and reinstall auctex by selecting 11.88 from other versions and then install. No downgrading or manual file cleanup required. (MacOS10.10/Emacs24.4)
Here seems to install the earlier version of auctex: http://www.emacswiki.org/emacs/ELPA#toc9 This worked for me.
I have everything working with the current elpa
11.88 version after having removed a lot of tex-related cruft from my custom-set-variables
in my ~/.emacs
(even having switched to company from auto-complete after learning about company from this thread!). I suspect that there is some obscure combination of factors that a few of us have been snagged in after the update to 11.88. But it is possible to use the current version from the package manager.
I've added description of this issue to README.
Hi. I had this same bug. I deleted the auto directories, and no luck. The debug info said sobething about byte-compiled code. I though that maybe some the function in an older version of auctex, and at ELPA installation, when the code is byte-compiled, the conflicted version of the function is used. So I did emacs -Q (to load emacs without init file, so no auctex code is loaded) M-x package-list-package uninstall auctex install again auctex, newest version (byte-compilation uses only new code). restart emacs, so auctex is loaded. Voila, the bug is gone :-)
just to corroborate what mvsfrasson is saying: For some reason when I installed the package I ended up with version 11.87 and so did an upgrade of the AUCTeX package to 11.88 (U from the keyboard to mark package for upgrade in list-packages). This corrupted my installation; consequently I deleted all the .elc files and recompiled them with C-u 0 M-x byte-recompile-directory. This solved the problem.
Since the trace showed something about Company-AucTeX, I assume that it's the right place to complain.
When I disable the prelude-latex module, everything is fine. So I am sure (as can be seen by preview-bug-report) it has something to do with either this or
TeX.el
itself, which seems to be impossible.