Bug 1038 - latex mode broken
latex mode broken
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: emacs (Show other bugs)
5.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-02-04 07:56 EST by andrew
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-04-08 16:36:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description andrew 1999-02-04 07:56:31 EST
My default .emacs has the following hooks for tex-mode:

  (add-hook 'TeX-mode-hook 'turn-on-auto-fill)
  (add-hook 'TeX-mode-hook 'ispell-minor-mode)
  (add-hook 'TeX-mode-hook '(lambda () (setq tab-width 8)))
  (add-hook 'LaTeX-mode-hook '(lambda () (latex-math-mode)))

Funny things happen when editing LaTeX source, however. For
example, typing the sequence (when editing a latex file)

"{\address 503 dgfd dfgdfg  \\
        sdfsf 1V9"

(just typing everything within the quotes, not the quotes
themselves, including the newline, and the indent is
produced by a tab). The cursor should now be directly after
the number nine. Press space. Instead of advancing the
cursor and inserting a space, the cursor backs up to before
the 9 and then inserts a space.

VERY annoying when typing. In fact, for certain key
combinations, there is no way to stop it. Sometimes to
append text to a line you have to begin typing on the next
line, and then join the lines by using "backspace"!

Funny - I wrote a 150 page thesis using this same latex mode
under RHL42 and the emacs stuff worked flawlessly...
Comment 1 David Lawrence 1999-04-08 16:36:59 EDT
After installing a fresh install of 5.2 to a test machine, ran emacs
after adding to config to .emacs file, entered Latex mode, and then
proceeded as instructed by bug report. I could not get this to fail as
reported

Note You need to log in before you can comment on or make changes to this bug.