* LaTeX-mode menu
@ 2003-11-18 6:57 Yehudah Rubinsky
0 siblings, 0 replies; 6+ messages in thread
From: Yehudah Rubinsky @ 2003-11-18 6:57 UTC (permalink / raw)
I have noticed that when editing in LaTeX mode I sometimes get a "super
LaTeX-mode". This mode has LaTeX and Command menus and lots of additional
keystroke commands (i.e. C-c C-f C-font) while the normal LaTeX mode has
only a TeX menu. I've been unable to figure out what causes this "super
LaTeX-mode". Does anyone have any ideas?
emacs 21.2.1 on W2K Pro / Cygwin with auctex version 11.13.
Best,
Ed
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.200.1069142439.399.help-gnu-emacs@gnu.org>]
* Re: LaTeX-mode menu
@ 2003-11-18 19:15 Yehudah Rubinsky
0 siblings, 0 replies; 6+ messages in thread
From: Yehudah Rubinsky @ 2003-11-18 19:15 UTC (permalink / raw)
Reiner Steib wrote
>I guess AUCTeX *is* your "super LaTeX-mode". See the instructions in
>the manual (info "(auctex)Top") on how to set it up.
That's what I thought as well. My .emacs contains the following.
;; load Auc Tex
(require 'tex-site)
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
site-lips/tex-site.el contains the following.
(defvar TeX-lisp-directory "c:/progra~1/emacs/site-lisp/auctex/"
"*The directory where the AUC TeX lisp files are located.")
;;; Autoloads:
(add-to-list 'load-path TeX-lisp-directory)
The beginning of my load-path variable is
("c:/progra~1/emacs/site-lisp/auctex/" nil.
The following is in the *messages* buffer when loading, even without any
".tex" files.
eval-buffer: Symbol's value as variable is void: latex-mode-hook
So the question still is what am I doing that prevents auctex from loading
for LaTeX files?
Best,
Ed
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: LaTeX-mode menu
@ 2003-11-18 19:24 Yehudah Rubinsky
0 siblings, 0 replies; 6+ messages in thread
From: Yehudah Rubinsky @ 2003-11-18 19:24 UTC (permalink / raw)
Think I found the difference. If I load emacs from a DOS window, tex is the
major mode for .tex files. If I load it from a Cygwin bash window, auctex
is the major mode. I'm not sure but, now that I know, I'm not sure I care
*8=>).
Best,
Ed
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.232.1069187219.399.help-gnu-emacs@gnu.org>]
* Re: LaTeX-mode menu
[not found] <mailman.232.1069187219.399.help-gnu-emacs@gnu.org>
@ 2003-11-20 17:55 ` Arjan Bos
0 siblings, 0 replies; 6+ messages in thread
From: Arjan Bos @ 2003-11-20 17:55 UTC (permalink / raw)
Yehudah Rubinsky wrote:
> Think I found the difference. If I load emacs from a DOS window, tex is
> the major mode for .tex files. If I load it from a Cygwin bash window,
> auctex is the major mode. I'm not sure but, now that I know, I'm not
> sure I care *8=>).
>
> Best,
> Ed
>
Can it be that the value of the %HOME% environment variable in the dos
window differs from the value of the $HOME environment variable in the
cygwin bash window? If so, then you have two separate .emacs files with
different entries.
HTH,
Arjan
--
--
If you really want to contact me, then replace the "I see you" text by
its three letter accronym, ICU.
Fabricate Diem PVNC, Motto of the Night Watch -- Terry Pratchett
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: LaTeX-mode menu
@ 2003-11-21 15:31 Yehudah Rubinsky
0 siblings, 0 replies; 6+ messages in thread
From: Yehudah Rubinsky @ 2003-11-21 15:31 UTC (permalink / raw)
Cc: Arjan Bos
>Can it be that the value of the %HOME% environment variable in the dos
>window differs from the value of the $HOME environment variable in the
>cygwin bash window? If so, then you have two separate .emacs files with
>different entries.
Actually it turned out to be runemacs.exe. If I start emacs from the DOS
window with "start emacs --load=.emacs" instead of "runemacs --load=.emacs"
I get auctex instead of Tex mode. (The loaded .emacs in turn loads the site
wide .emacs.)
Best, Ed
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-11-21 15:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-18 6:57 LaTeX-mode menu Yehudah Rubinsky
[not found] <mailman.200.1069142439.399.help-gnu-emacs@gnu.org>
2003-11-18 10:13 ` Reiner Steib
-- strict thread matches above, loose matches on Subject: below --
2003-11-18 19:15 Yehudah Rubinsky
2003-11-18 19:24 Yehudah Rubinsky
[not found] <mailman.232.1069187219.399.help-gnu-emacs@gnu.org>
2003-11-20 17:55 ` Arjan Bos
2003-11-21 15:31 Yehudah Rubinsky
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).