From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: GianUberto.Lauri@eng.it (Gian Uberto Lauri) Newsgroups: gmane.emacs.help Subject: Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading problem) Date: Mon, 20 Oct 2003 14:26:16 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <16275.54376.850067.473503@mail.eng.it> References: Reply-To: saint@eng.it NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1066653029 32381 80.91.224.253 (20 Oct 2003 12:30:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2003 12:30:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 14:30:27 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABZB4-00033q-00 for ; Mon, 20 Oct 2003 14:30:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABZAd-0000yC-LQ for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Oct 2003 08:29:59 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ABZ6g-0007yu-KB for help-gnu-emacs@gnu.org; Mon, 20 Oct 2003 08:25:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ABZ69-0007eR-Fn for help-gnu-emacs@gnu.org; Mon, 20 Oct 2003 08:25:52 -0400 Original-Received: from [217.169.111.37] (helo=mx2.fabbricadigitale.it) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABZ68-0007e0-9C for help-gnu-emacs@gnu.org; Mon, 20 Oct 2003 08:25:20 -0400 Original-Received: from localhost (mx2.fabbricadigitale.it [127.0.0.1]) by mx2.fabbricadigitale.it (MM4Csmtpd) with ESMTP id 3126167DBC for ; Mon, 20 Oct 2003 14:25:19 +0200 (CEST) Original-Received: from smtp (host29-81.pool8020.interbusiness.it [80.20.81.29]) by mx2.fabbricadigitale.it (MM4Csmtpd) with SMTP id D3F7267D9F for ; Mon, 20 Oct 2003 14:25:17 +0200 (CEST) Original-Received: FROM mail1.mx.regione.veneto.it BY smtp ; Mon Oct 20 14:25:55 2003 +0200 Original-Received: from [192.168.150.254] by mail1.mail.regione.veneto.it (NTMail 7.00.0018/NU7795.00.48ac7402) with ESMTP id cdiaybaa for help-gnu-emacs@gnu.org; Mon, 20 Oct 2003 14:29:41 +0200 Original-To: Hans-Joachim Daniels Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Mailer: VM 7.07 under Emacs 21.2.1 X-attribution: CC X-Home-Page: http://www.gest.unipd.it/~saint X-Zippy: I'LL get it!! It's probably a FEW of my ITALIAN GIRL-FRIENDS!! X-Razor-id: 4d418f161ad627f246f1d9619a9e93c250fd1102 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13365 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13365 >>>>> "HD" == Hans-Joachim Daniels writes: HD> Hello, HD> I'm new here, so I hope you don't bite if I mention XEmacs ... HD> On the iBook of my sister I had the pleasure to have a wonderfully HD> preconfigured Emacs for LaTeX. HD> But back on my linux box, this is no more, but I read, that it should be HD> possible to "enhance" XEmacs too. HD> I added HD> (setq load-path (cons "~/.xemacs/site-lisp" load-path)) HD> (require 'site-start) Heresy! It's not the True One Editor (just kidding)! In XEmacs like in Emacs you should tell somewhere Emacs to load automatically a certain mode for a certain type (better: name) of file. Something like this: (autoload 'latex-mode "latex-mode" "LaTeX Mode" t) Then some other code to turn on LaTeX automatically: (setq auto-mode-alist (cons '("\\.tex$" . latex-mode) auto-mode-alist)) ;; This adds the association between latex-mode and the files ending by .tex to ;; the lists of mode to be turned out automatically. /\ ___ /___/\__|_|\_|__|___Gian Uberto Lauri_____________________ //--\ | | \| | Integralista GNUslamico e fancazzista \/