Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 54052

Summary: Emacs tex-mode does not work
Product: Gentoo Linux Reporter: Andrey Grozin <grozin>
Component: Current packagesAssignee: Emacs project <emacs>
Status: RESOLVED INVALID    
Severity: normal CC: zedek
Priority: High    
Version: 2004.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrey Grozin gentoo-dev 2004-06-15 21:18:00 UTC
When I edit a .tex file with emacs, tex-mode does not load (no syntax highlighting, no LaTeX-specific commands). When I do
M-x tex-mode
by hand, I get
Symbol's function definition is void: flyspell-mode-noerr
in the status line. This is very annoying, because I spend much of my time editing LaTeX files in emacs.
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2004-06-16 04:36:21 UTC
You probably have an incorrect ~/.emacs that tries to load flyspell when using tex-mode and reference an undefined function in the current version of flyspell, because there's no mention of flyspell-mode-noerr in /usr/share/emacs files.
Comment 2 Xavier Maillard 2006-03-31 16:29:50 UTC
Would you mind testing with emacs -q and try again.

I also suspect a bad configuration in your .emacs file
Comment 3 Andrey Grozin gentoo-dev 2006-03-31 18:54:01 UTC
(In reply to comment #2)
> Would you mind testing with emacs -q and try again.
> 
> I also suspect a bad configuration in your .emacs file
> 
Yes, this problem had been resolved long ago. I had a ~/.emacs file left from another Linux distro; it was incompatible with Gentoo.
Comment 4 Xavier Maillard 2006-04-02 03:05:00 UTC
Why then is it still an active bug ?

I guess you can close it.
Comment 5 Andrey Grozin gentoo-dev 2006-04-02 04:02:48 UTC
This was a bug in my ~/.emacs file