Image

Imagelrc wrote in Imagelinux

Another emacs question

I've been wrestling with this for a couple of days now, and can't even find a clue about where to start looking to turn this "convenience feature" off.

I'm working on a couple of assembly files. There are some comments that I want to start in column 1:

; Every so often I want to use the width of the screen
; so that I can have enough room on each line to say
; what I need to convey

Sometimes, I just want to comment out a couple lines of code, because I think that they are causing problems.

Unfortunately, every time that I hit ';' in an assembly (.s) file, it will put the comment at the end of the line. After anything that is already written. This makes it impossible to comment out a line. If I try to hit ';' at the start of an empty line, it will indent in a tab and insert ';;'.
I can't even find where to turn off assembly mode for .s files, much less the weird stuff that it is doing to the comments.