[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: bug-emacs@MIT-OZ
- From: Leigh L. Klotz <KLOTZ@MIT-OZ>
- Date: Mon, 16 May 1983 21:44 EDT
I have a handle on the Space Indent Flag bug with MIDAS mode. As you may
remember, the symptoms are that Space Indent Flag gets globally set to 1
whenever MIDAS mode is entered. This causes autofilling in other buffers
to lose and do a TAB at the beginning of every line.
Here is the first part of the code for MIDAS Mode:
M(M.M &_Init_Buffer_Localsâ) !* See comment at top of file.!
â[2 FQ2:"G :I2 MIDASâ'
1,32 M.L Comment_Columnâ
1,(:I*;â) M.L Comment_Startâ
Note that M.L is given the 1, argument meaning to assume the local doesn't
alredy exist. This is done on the Comment Column variable also, but it
doesn't have this losing behavior. Neither of these variables is created
by MIDAS mode -- they both already exist.
If I reverse the order above, and make Comment Column be set before Space
Indent Flag, the lossage doesn't happen to either variable.
If anyone knows what's going on, please take a look at it. I wrote out a
new version of USRCOM with the change.