unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: GianUberto.Lauri@eng.it (Gian Uberto Lauri)
Cc: help-gnu-emacs@gnu.org
Subject: Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading problem)
Date: Mon, 20 Oct 2003 14:26:16 +0200	[thread overview]
Message-ID: <16275.54376.850067.473503@mail.eng.it> (raw)
In-Reply-To: <bn0ha0$r4h28$1@ID-36780.news.uni-berlin.de>

>>>>> "HD" == Hans-Joachim Daniels <hajo.daniels@gmx.de> 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 
\/

  reply	other threads:[~2003-10-20 12:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20 11:35 Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading problem) Hans-Joachim Daniels
2003-10-20 12:26 ` Gian Uberto Lauri [this message]
     [not found] ` <mailman.1999.1066652787.21628.help-gnu-emacs@gnu.org>
2003-10-20 16:15   ` Hans-Joachim Daniels
2003-10-20 16:17     ` David Kastrup
2003-10-20 17:42       ` Hans-Joachim Daniels
2003-10-20 20:33         ` David Kastrup
2003-10-22 15:27           ` Hans-Joachim Daniels
     [not found]         ` <hajo.daniels@gmx.de>
2003-10-20 23:34           ` Peter S Galbraith
     [not found]         ` <mailman.2038.1066693391.21628.help-gnu-emacs@gnu.org>
2003-10-22 15:37           ` Hans-Joachim Daniels

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16275.54376.850067.473503@mail.eng.it \
    --to=gianuberto.lauri@eng.it \
    --cc=help-gnu-emacs@gnu.org \
    --cc=saint@eng.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).