From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Albers Newsgroups: gmane.emacs.help Subject: Re: Loss of auctex functionality Date: Thu, 14 May 2009 13:14:59 -0700 Message-ID: References: <87skj8gs18.wl%anselm.helbig+news2009@googlemail.com> <87octvh6fz.wl%anselm.helbig+news2009@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6476ad278e7c30469e4fb8d X-Trace: ger.gmane.org 1242332135 14471 80.91.229.12 (14 May 2009 20:15:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2009 20:15:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: anselm.helbig+news2009@googlemail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 14 22:15:28 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 1M4hKw-00014C-GI for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 22:15:27 +0200 Original-Received: from localhost ([127.0.0.1]:54843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4hKv-0001oj-Lk for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 16:15:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4hKY-0001lP-9a for help-gnu-emacs@gnu.org; Thu, 14 May 2009 16:15:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4hKX-0001k1-C1 for help-gnu-emacs@gnu.org; Thu, 14 May 2009 16:15:01 -0400 Original-Received: from [199.232.76.173] (port=54720 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4hKX-0001jm-80 for help-gnu-emacs@gnu.org; Thu, 14 May 2009 16:15:01 -0400 Original-Received: from qw-out-1920.google.com ([74.125.92.146]:16659) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M4hKW-00026S-K5 for help-gnu-emacs@gnu.org; Thu, 14 May 2009 16:15:00 -0400 Original-Received: by qw-out-1920.google.com with SMTP id 4so1066074qwk.24 for ; Thu, 14 May 2009 13:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=q8g1KDEbdt/UmcBEuedDuQPp6MW0Z84Bj26DYHboKd0=; b=v8eZAzEIBzJhHEvuOVhpdPr2uablqLOr57sr41SfOBHC60x4372C7h1dwZ0eh6H+yq 8RVzhvgjeTQjesS5eGFGthEqPbDdbemaCxApmqtTe84SXav3Sl4cnzrUWk0RrVUbs6wj JkVGFqItbUoHQLSNWw5dSLzFJcAtobKYAr4tQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=KMLO89tJloEc6VeNdixl61DzSk9t53O6UtmnTdA2BHRKHip9SJQ0trcQ3EjJ8UdgcC c2sapG4vhUQ15my8a0P8vMCFgCN6SgKQM1A6780yC+da84V6HUk2AdPbckYBrvNcRqKB PCHp71qPmgPIOZTW+tj5n4mrGzXuOJvXQljFw= Original-Received: by 10.220.45.133 with SMTP id e5mr4192070vcf.28.1242332099307; Thu, 14 May 2009 13:14:59 -0700 (PDT) In-Reply-To: <87octvh6fz.wl%anselm.helbig+news2009@googlemail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:64444 Archived-At: --0016e6476ad278e7c30469e4fb8d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks! > > > Is your site-lisp directory still empty? /usr/share/emacs22/site-lisp has ess and auctex files in it /usr/share/emacs/site-lisp has ess and auctex files in it /usr/share/emacs/22.2/site-lisp is an empty folder. > Did you get any error > messages when you tried to reinstall auctex? No What does M-x find-libraryauctex do? Can't find library > What's the value of the load-path variable (C-h v load-path)? load-path is a variable defined in `C source code'. Its value is ("/usr/share/emacs22/site-lisp/ess/" "/usr/share/emacs22/site-lisp/ess" "/usr/share/emacs22/site-lisp/dictionaries-common" "/usr/share/emacs22/site-lisp/auctex" "/usr/share/emacs/site-lisp/auctex" "/etc/emacs22" "/etc/emacs" "/usr/local/share/emacs/22.2/site-lisp" "/usr/local/share/emacs/site-lisp" "/usr/share/emacs/22.2/site-lisp" "/usr/share/emacs/site-lisp" "/usr/share/emacs/22.2/leim" "/usr/share/emacs/22.2/lisp" "/usr/share/emacs/22.2/lisp/url" "/usr/share/emacs/22.2/lisp/textmodes" "/usr/share/emacs/22.2/lisp/progmodes" "/usr/share/emacs/22.2/lisp/play" "/usr/share/emacs/22.2/lisp/obsolete" "/usr/share/emacs/22.2/lisp/net" "/usr/share/emacs/22.2/lisp/mh-e" "/usr/share/emacs/22.2/lisp/mail" "/usr/share/emacs/22.2/lisp/language" "/usr/share/emacs/22.2/lisp/international" "/usr/share/emacs/22.2/lisp/gnus" "/usr/share/emacs/22.2/lisp/eshell" "/usr/share/emacs/22.2/lisp/erc" "/usr/share/emacs/22.2/lisp/emulation" "/usr/share/emacs/22.2/lisp/emacs-lisp" "/usr/share/emacs/22.2/lisp/calendar" "/usr/share/emacs/22.2/lisp/calc" "/usr/share/emacs/22.2/leim") > > > 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 Indeed this directory also has the auctex files > > > 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? I used the 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 This file is present. I also have the snapshot, an emacs21, and an emacs directory > > > 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). > > Oh yeah I will definitely give this a read. Thanks. > > > > -- ***************************************************** Sam Albers Geography Program University of Northern British Columbia 3333 University Way Prince George, British Columbia Canada, V2N 4Z9 phone: 250 960-6777 ***************************************************** --0016e6476ad278e7c30469e4fb8d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Thanks!


=A0Is your site-lisp directory still empty?
= =A0
=A0=A0=A0 /usr/share/emacs22/site-lisp
=A0 =A0 has ess and= auctex files in it

=A0=A0=A0 /usr/share/emacs/site-lisp
=A0=A0= =A0 has ess and auctex files in it


=A0=A0=A0 /usr/share/emacs/22.2/site-lisp
=A0=A0=A0 is an empt= y folder.
=A0
Did you get any error
messages when you tried to reinstall auctex?

=A0No
=A0

What does M-x find-library<RET>auctex<RET> do?
=A0
Can't find library
=A0
What's the value of the load-path variable (C-h v load-path<RET>)= ?

load-path is a variable defined in `C source code= 9;.
Its value is
("/usr/share/emacs22/site-lisp/ess/" &quo= t;/usr/share/emacs22/site-lisp/ess" "/usr/share/emacs22/site-lisp= /dictionaries-common" "/usr/share/emacs22/site-lisp/auctex" = "/usr/share/emacs/site-lisp/auctex" "/etc/emacs22" &quo= t;/etc/emacs" "/usr/local/share/emacs/22.2/site-lisp" "= /usr/local/share/emacs/site-lisp" "/usr/share/emacs/22.2/site-lis= p" "/usr/share/emacs/site-lisp" "/usr/share/emacs/22.2/= leim" "/usr/share/emacs/22.2/lisp" "/usr/share/emacs/22= .2/lisp/url" "/usr/share/emacs/22.2/lisp/textmodes" "/u= sr/share/emacs/22.2/lisp/progmodes" "/usr/share/emacs/22.2/lisp/p= lay" "/usr/share/emacs/22.2/lisp/obsolete" "/usr/share/= emacs/22.2/lisp/net" "/usr/share/emacs/22.2/lisp/mh-e" "= ;/usr/share/emacs/22.2/lisp/mail" "/usr/share/emacs/22.2/lisp/lan= guage" "/usr/share/emacs/22.2/lisp/international" "/usr= /share/emacs/22.2/lisp/gnus" "/usr/share/emacs/22.2/lisp/eshell&q= uot; "/usr/share/emacs/22.2/lisp/erc" "/usr/share/emacs/22.2= /lisp/emulation" "/usr/share/emacs/22.2/lisp/emacs-lisp" &qu= ot;/usr/share/emacs/22.2/lisp/calendar" "/usr/share/emacs/22.2/li= sp/calc" "/usr/share/emacs/22.2/leim")


I'm on Ubuntu 9.04 myself, using the emacs-snapshot package. The elisp<= br> files from auctex are installed in

=A0/usr/share/emacs/site-lisp/auctex

Indeed this dire= ctory also has the auctex files


on my machine, with byte-compiled versions in

=A0/usr/share/emacs/23.0.91/site-lisp/auctex

Have you compiled emacs or did you use a Ubuntu package?
<= br>I used the Ubuntu package


The way it should work is that a debianized Emacs reads all files in
/etc/emacs/site-start.d and /etc/<emacs-flavor>/site-start.d. The
packages drop their initialization code here. I've got

=A0/etc/emacs-snapshot/site-start.d/50auctex.el

and you should have

=A0/etc/emacs22/site-start.d/50auctex.el

This file is= present.

I also have the snapshot, an emacs21, and an emacs directo= ry
=A0


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:

=A0http://www.debian.org/doc/packaging-manuals/debian-e= macs-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).

Oh yeah I will definitely give this a read. Thanks.






--
****************= *************************************
Sam Albers
Geography ProgramUniversity of Northern British Columbia
3333 University Way
Prince G= eorge, British Columbia
Canada, V2N 4Z9
phone: 250 960-6777
*********************************= ********************
--0016e6476ad278e7c30469e4fb8d--