Image

Imagelrc wrote in Imagelinux

Wrestling with xemacs

OK, this is on windows. My current job gave me a windows box to work on. I put xemacs on it so that I wouldn't have to learn a new editor. Unfortunately, My configuration file from home didn't quite work on it, and while things mostly work, every so often, something weird will happen. Usually these are cases where xemacs thinks it knows what I want.

For example, in an assembly file, I'm trying to do a multi line comment. So I tab over to column 40, hit ';' to start my comment, and xemacs decides that what I really wanted was to start in column 8 with a ";;" double semicolon. So, now I have to delete one of the semicolons, and insert a bunch of tabs.

I've tried just about everyting in options->emacs->group->fill and can't get it to stop doing this.

While I'm at it, when I'm working in C, it wants to indent everything two spaces per level. Normally, this would be find and dandy, because that's what I prefer. However, the local coding style is based on the Linux Kernel standard which specifies tabs, set at 8 spaces. I pretty-printed the code to get it all nicely reformatted, but if I'm not careful, xemacs will reformat it to what it thinks I want.

Unfortunately, it doesn't seem to work to try to RTFM, because the emacs documentation seems to assume that you already know the name of the thing that you're trying to do. Can somebody point me to what I need to do to change this behavior?