From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: Loss of auctex functionality Date: Thu, 14 May 2009 20:42:40 +0200 Organization: Freie Universitaet Berlin Message-ID: <87octvh6fz.wl%anselm.helbig+news2009@googlemail.com> References: <87skj8gs18.wl%anselm.helbig+news2009@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1242330056 7586 80.91.229.12 (14 May 2009 19:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2009 19:40:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 14 21:40:49 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M4gnO-0001u2-KB for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 21:40:46 +0200 Original-Received: from localhost ([127.0.0.1]:44248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4gnO-0006EA-1H for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 15:40:46 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 77 Original-X-Trace: news.uni-berlin.de UqZp6jVh0OwXqSu3W11GawI5ZoWdKH4I9g2DlyOKK6tRq6xfQKJqdCdFsA Cancel-Lock: sha1:hdmq7mle+ghvLyFjQuRXsc0eUk4= In-Reply-To: Mail-Followup-To: anselm.helbig+news2009@googlemail.com User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.3 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) Original-Xref: news.stanford.edu gnu.emacs.help:169180 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64442 Archived-At: Hi! > > Until I messed up my site-lisp directory, I > > conveniently had a LaTeX drop down menu within > > emacs. I didn't really use it that much it did > > provide me a list of keystrokes that were useful > > when working with a latex document. Now only a TeX > > drop down menu appears. I used to be able to run > > C-c C-c and then type LaTeX to compile my document. > > Now when I do this I am taken to a windows that > > looks exactly like my terminal instead of LaTeXing > > my document automatically. Other AucTex commands > > don't seem to work well either. > > > > C-c C-e should allow me to insert an environment > > but all it does it end the environment I am in > > whereas previously I call insert a new environment > > of my choice. > > > > My /usr/share/emacs/22.2/site-lisp directory is > > empty through a silly move by yours truly. I am > > using Ubuntu 9.04. > > Looks like you're not using auctex at all but the built-in > tex-mode. Why don't you just reinstall the auctex-package via the > package manager? > > Thanks Anselm. I tried this earlier but it did not seem to fix the > problem. Indeed it does seem like emacs is not detecting auctex at > all. Not sure how to proceed. Is your site-lisp directory still empty? Did you get any error messages when you tried to reinstall auctex? What does M-x find-libraryauctex do? What's the value of the load-path variable (C-h v load-path)? I'm on Ubuntu 9.04 myself, using the emacs-snapshot package. The elisp files from auctex are installed in /usr/share/emacs/site-lisp/auctex on my machine, with byte-compiled versions in /usr/share/emacs/23.0.91/site-lisp/auctex Have you compiled emacs or did you use a Ubuntu package? The way it should work is that a debianized Emacs reads all files in /etc/emacs/site-start.d and /etc//site-start.d. The packages drop their initialization code here. I've got /etc/emacs-snapshot/site-start.d/50auctex.el and you should have /etc/emacs22/site-start.d/50auctex.el Is this file present? What happens if you load it with M-x load-file? If you really like to know how packaging emacs extensions works on Debian you should read this: http://www.debian.org/doc/packaging-manuals/debian-emacs-policy You might be interested in the part where it speaks about the /usr/lib/emacsen-common/emacs-package-install script (written in the perfect emacs rewrite language, btw). Kind regards, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com