unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading problem)
@ 2003-10-20 11:35 Hans-Joachim Daniels
  2003-10-20 12:26 ` Gian Uberto Lauri
       [not found] ` <mailman.1999.1066652787.21628.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Hans-Joachim Daniels @ 2003-10-20 11:35 UTC (permalink / raw)


Hello,

I'm new here, so I hope you don't bite if I mention XEmacs ...

On the iBook of my sister I had the pleasure to have a wonderfully 
preconfigured Emacs for LaTeX.
But back on my linux box, this is no more, but I read, that it should be 
possible to "enhance"  XEmacs too.

I added

(setq load-path (cons "~/.xemacs/site-lisp" load-path))
(require 'site-start)

to my ~/.emacs in hope to load these additions (with the site-lisp 
directory of the Enhanced Carbon Emacs).

But not even AUCtex loads (it is installed). That was the main reason I 
wanted to uses ECE's site-lisp was that I didn't figure out how to load 
AUCtex. So if you could help me here, I would be glad too.

Thanks in advance,

Ha-Jo

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading problem)
  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
       [not found] ` <mailman.1999.1066652787.21628.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Gian Uberto Lauri @ 2003-10-20 12:26 UTC (permalink / raw)
  Cc: help-gnu-emacs

>>>>> "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 
\/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading   problem)
       [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
  0 siblings, 1 reply; 9+ messages in thread
From: Hans-Joachim Daniels @ 2003-10-20 16:15 UTC (permalink / raw)


Hallo again,

> Heresy! It's not the True One Editor (just kidding)!

Your right, at least partially.
I got the automatical LaTeX-mode working in XEmacs. Thanks.
But still no AUCtex. For that I installed the True One Original. Same 
result, but this time an answer. AUCtex not in load-path.
(A bug report has already been issued to the deb maintainer, so waiting 
could help=
But I tried to adjust that by myself, but failed.
Files not compiled in Emacs.

So probably I'll wait a bit  (if the compiling is a bit more complex and 
messes up the files for XEmacs and more important for the debs)


Greetings,

Ha-Jo

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading   problem)
  2003-10-20 16:15   ` Hans-Joachim Daniels
@ 2003-10-20 16:17     ` David Kastrup
  2003-10-20 17:42       ` Hans-Joachim Daniels
  0 siblings, 1 reply; 9+ messages in thread
From: David Kastrup @ 2003-10-20 16:17 UTC (permalink / raw)


Hans-Joachim Daniels <hajo.daniels@gmx.de> writes:

> > Heresy! It's not the True One Editor (just kidding)!
> 
> Your right, at least partially.
> I got the automatical LaTeX-mode working in XEmacs. Thanks.
> But still no AUCtex. For that I installed the True One Original. Same
> result, but this time an answer. AUCtex not in load-path.
> (A bug report has already been issued to the deb maintainer, so
> waiting could help=
> But I tried to adjust that by myself, but failed.
> Files not compiled in Emacs.
> 
> So probably I'll wait a bit  (if the compiling is a bit more complex
> and messes up the files for XEmacs and more important for the debs)

AUCTeX comes with a manual.  "Installation" will tell you to put
(require 'tex-site) in your .emacs file.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading   problem)
  2003-10-20 16:17     ` David Kastrup
@ 2003-10-20 17:42       ` Hans-Joachim Daniels
  2003-10-20 20:33         ` David Kastrup
                           ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Hans-Joachim Daniels @ 2003-10-20 17:42 UTC (permalink / raw)


Hallo,

> AUCTeX comes with a manual.  "Installation" will tell you to put
> (require 'tex-site) in your .emacs file.
> 

I read and tried that before posting.
But it didn't help because Debian does not put it in the load path.

At least for the True Emacs  I could use the AUCtex compiled for 
Enhanced Carbon Emacs, but for XEmacs I have no AUCtex yet. There 
pointing to that directory with

(setq load-path (cons "~/.xemacs/site-lisp/auctex" load-path))
(require 'tex-site)

did not help. Probably because it is compiled for the Emacs.
But using the path to the XEmacs package did not help.

Thanks for your efforts,

Ha-Jo

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading   problem)
  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>
       [not found]         ` <mailman.2038.1066693391.21628.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 9+ messages in thread
From: David Kastrup @ 2003-10-20 20:33 UTC (permalink / raw)


Hans-Joachim Daniels <hajo.daniels@gmx.de> writes:

> > AUCTeX comes with a manual.  "Installation" will tell you to put
> > (require 'tex-site) in your .emacs file.
> 
> I read and tried that before posting.  But it didn't help because
> Debian does not put it in the load path.

Then Debian does not have its head screwed on soundly, at least if
you installed some AUCTeX package.

> At least for the True Emacs I could use the AUCtex compiled for
> Enhanced Carbon Emacs,

What has Debian to do with Carbon?

> but for XEmacs I have no AUCtex yet.

XEmacs comes with its own AUCTeX via the package repository.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading problem)
       [not found]         ` <hajo.daniels@gmx.de>
@ 2003-10-20 23:34           ` Peter S Galbraith
  0 siblings, 0 replies; 9+ messages in thread
From: Peter S Galbraith @ 2003-10-20 23:34 UTC (permalink / raw)
  Cc: help-gnu-emacs

Hans-Joachim Daniels <hajo.daniels@gmx.de> wrote:

> Hallo,
> 
> > AUCTeX comes with a manual.  "Installation" will tell you to put
> > (require 'tex-site) in your .emacs file.
> >
> 
> I read and tried that before posting.
> But it didn't help because Debian does not put it in the load path.

?
$ dpkg -L auctex | grep tex-site
/usr/share/emacs/site-lisp/tex-site.el

Actually, Debian's auctex can work out of the box since package
configuration asks whether to enable it globally.
 
Peter

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading   problem)
  2003-10-20 20:33         ` David Kastrup
@ 2003-10-22 15:27           ` Hans-Joachim Daniels
  0 siblings, 0 replies; 9+ messages in thread
From: Hans-Joachim Daniels @ 2003-10-22 15:27 UTC (permalink / raw)


Hello,

> XEmacs comes with its own AUCTeX via the package repository.

OK. That was my mistake.
I was absolutely sure that I had the debian AUCtex package installed.
But I hadn't.
For some reason, the one of XEmacs was shown as installed and up to 
date, but didn't work.
But now I (really) installed the deb (there was a bug report which 
sounded like my problem so I thought it to be the same) and now it works.

Thanks for your help and sorry for my stupidness,

Ha-Jo

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Enhanced Carbon Emacs' LaTeX abilities in XEmacs (and AUCtex loading problem)
       [not found]         ` <mailman.2038.1066693391.21628.help-gnu-emacs@gnu.org>
@ 2003-10-22 15:37           ` Hans-Joachim Daniels
  0 siblings, 0 replies; 9+ messages in thread
From: Hans-Joachim Daniels @ 2003-10-22 15:37 UTC (permalink / raw)


Hello again,

> Actually, Debian's auctex can work out of the box since package
> configuration asks whether to enable it globally.

It does so.
I just got confused by
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214576
.
I thought this was connected to my problem.

My fault, sorry,

Ha-Jo

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-10-22 15:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

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).