[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

emacs ignores certain commands in .emacs



I like emacs and prefer it to xemacs because of xemac's delete-key and
backspace key behaviour which differs between the console and X
environments. But I have a few problems which I do not understand.

In my .emacs file I have inter alia the following:

(setq text-mode-hook 'turn-on-auto-fill)
(setq reftex-plug-into-AUCTeX t)
(setq reftex-enable-partial-scans t)
(setq reftex-save-parse-info t)
(setq reftex-use-multiple-selection-buffers t)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex)   ; with Emacs latex mode
(line-number-mode 1)
(gnuserv-start)
(add-hook 'python-mode-hook 'turn-on-font-lock)
(setq font-lock-keywords python-font-lock-keywords)
(font-lock-mode 1))
(setq abbrev-mode 1)
(setq text-mode-hook 'iso-accents-mode)

When I start xemacs, everything seems to work.  With emacs however, I
still have to start reftex-mode, auto-fill-mode, iso-accents-mode and
font-lock-mode by hand (python's font locking seems to work on
startup).   Gnuserv is not working with emacs.  Auctex also give
some problems with emacs: When I type "something" auctex should change
it to ``something''. It works like that when I work on a new document
but as soon as I work on a document that has been saved before it
changes to ''something}.  That happens on both emacs 19.34 and emacs
20.3.

I hope somebody can help me out on this one.

-- 
J.H. Spies, Hugenotestraat 29, Posbus 80, Franschhoek, 7690, South Africa
Tel/Faks 021-876-2337 Sel/Cell 082 898 1528(Johann) 082 255 2388(Hester)
     "But as it is written, Eye hath not seen, nor ear 
      heard, neither have entered into the heart of man, the
      things which God hath prepared for them that love 
      him."      I Corinthians 2:9 



Reply to: