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 11:12:51 -0700 Message-ID: References: <87skj8gs18.wl%anselm.helbig+news2009@googlemail.com> <68Wdncc-2or1zJHXnZ2dnUVZ_qCdnZ2d@sysmatrix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016364ef4d6b1159f0469e34612 X-Trace: ger.gmane.org 1242324811 21428 80.91.229.12 (14 May 2009 18:13:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2009 18:13:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "B. T. Raven" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 14 20:13:24 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 1M4fQo-0001Rl-Op for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 20:13:23 +0200 Original-Received: from localhost ([127.0.0.1]:46089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4fQn-0002jK-Jd for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 14:13:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4fQQ-0002it-KG for help-gnu-emacs@gnu.org; Thu, 14 May 2009 14:12:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4fQL-0002ig-Am for help-gnu-emacs@gnu.org; Thu, 14 May 2009 14:12:57 -0400 Original-Received: from [199.232.76.173] (port=56339 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4fQL-0002id-85 for help-gnu-emacs@gnu.org; Thu, 14 May 2009 14:12:53 -0400 Original-Received: from mail-qy0-f116.google.com ([209.85.221.116]:50521) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M4fQK-0003I8-Mo for help-gnu-emacs@gnu.org; Thu, 14 May 2009 14:12:53 -0400 Original-Received: by qyk14 with SMTP id 14so2851435qyk.14 for ; Thu, 14 May 2009 11:12:51 -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=TfboOxnCUZJdwS8NYhw/YsQzcVH+IlOKhTdh7bcDdgc=; b=JpemiYRVAJgXBzOxKBYcl4PQEtfe3Jy1+LfXrn13IfQaZ8Q24VG8MOlry98A5MMstw AGbbu6LiEfgIU2hMET9gOqG3pQVUwVgKDl06Oj97sdTAtBDYl13dFwbrkvctxSjTyPhT HsAmxEu7BMm7SNlLxXClAdjJZCD21CWDzOu9o= 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=lMlXnWcm2B5hE4YnLHYJSXEqHfjoEQ/1AsOfaMi5T4RCmlP2d9zl6OHlUb8BmF7x/y IG5J3S3X/CHHN6RYzQnLxrNTzFhJU4Z+A/q7JXSId4sM9y4a/PMSgHHOXt4jeyx8xL+u UUrlNElam93p5ptsOvDKZ8AKX2E1UxJdrWrBQ= Original-Received: by 10.229.97.14 with SMTP id j14mr1687982qcn.102.1242324771344; Thu, 14 May 2009 11:12:51 -0700 (PDT) In-Reply-To: <68Wdncc-2or1zJHXnZ2dnUVZ_qCdnZ2d@sysmatrix.net> 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:64441 Archived-At: --0016364ef4d6b1159f0469e34612 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thu, May 14, 2009 at 10:14 AM, B. T. Raven wrote: > Sam Albers wrote: > >> 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. >> >> > But if you did this then your site-lisp subdirectory would no longer be > empty. You should be able to re-install by downloading tarball or zip here: > > http://www.gnu.org/software/auctex/download-for-unix.html > > Also it seems that if you still have something like the following in your > .emacs, then that should produce errors because of missing files: > > (load "auctex.el" nil t t) > (load "preview-latex.el" nil t t) > > (setq TeX-auto-save t) > (setq TeX-parse-self t) > (setq-default TeX-master nil) > (add-hook 'LaTeX-mode-hook 'turn-on-reftex) > (setq reftex-plug-into-AUCTeX t) > > I am on w32 but I think these issues are platform independent. > > Ed > > Thank you for your help. I seem to have a few too many emacs directories: /usr/share/emacs22/site-lisp which has ess and auctex files in it /usr/share/emacs/site-lisp which also has ess and auctex files in it /usr/share/emacs/22.2/site-lisp which is an empty folder. The weird thing is that ESS is still working fine while auctex seems to not be. Lastly, a newbie question. Is the .emacs file just a text file located in your home directory and does emacs look for it automatically there. That probably should be a new thread but it is pertinent to my issue. Thanks alot for your help. Sam --0016364ef4d6b1159f0469e34612 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, May 14, 2009 at 10:14 AM, B. T. = Raven <nihil@nihil= o.net> wrote:
Sam Albers wrote:
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.


But if you did this then your site-lisp subdirectory would no longer be emp= ty. You should be able to re-install by downloading tarball or zip here:
http://www.gnu.org/software/auctex/download-for-unix.html<= br>
Also it seems that if you still have something like the following in your .= emacs, then that should produce errors because of missing files:

(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)

(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq reftex-plug-into-AUCTeX t)

I am on w32 but I think these issues are platform independent.

Ed

Thank you for your help.

I seem to have a few to= o many emacs directories:

/usr/share/emacs22/site-lisp
which has = ess and auctex files in it

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

/usr/share/emacs/22.2/site-lisp
which is an empty folder.

The= weird thing is that ESS is still working fine while auctex seems to not be= .

Lastly, a newbie question. Is the .emacs file just a text file lo= cated in your home directory and does emacs look for it automatically there= . That probably should be a new thread but it is pertinent to my issue.

Thanks alot for your help.

Sam




=
--0016364ef4d6b1159f0469e34612--