Search found 6 matches

by Efo
Wed Apr 14, 2010 5:19 pm
Forum: Emacs Lisp
Topic: color coding comment in f90-mode using "c" [SOLVED]
Replies: 10
Views: 27288

Re: color coding comment in f90-mode using "c" [SOLVED]

Never give up, the new code works beautifully!

Thank you for your help and bearing with my lack of knowledge on lisp, this experience taught me a couple of things about it.

Efo
by Efo
Wed Apr 14, 2010 7:26 am
Forum: Emacs Lisp
Topic: color coding comment in f90-mode using "c" [SOLVED]
Replies: 10
Views: 27288

Re: color coding comment in f90-mode using "c"

Now I have color-coding back, but it looks like I am in fortran-mode. Everything past the 72nd column is commented.
by Efo
Wed Apr 14, 2010 12:10 am
Forum: Emacs Lisp
Topic: color coding comment in f90-mode using "c" [SOLVED]
Replies: 10
Views: 27288

Re: color coding comment in f90-mode using "c"

No problem, you are much more knowledgeable than I am, and I certainly appreciate your help. No errors with the new code, but now the f90 file has none of its color coding. If I M-x f90-mode, then I am back to the original problem (i.e. color coding ok except for comments starting with "c").
by Efo
Tue Apr 13, 2010 9:29 pm
Forum: Emacs Lisp
Topic: color coding comment in f90-mode using "c" [SOLVED]
Replies: 10
Views: 27288

Re: color coding comment in f90-mode using "c"

Thanks Ramarren, I meant "^" first column (or beginning of line), not line... it was late at night :) Anyway, query-replace-regexp worked. But I still have the problem that the code is shared by different developers, and I dont want to mess the comments up for a color coding problem. I tri...
by Efo
Tue Apr 13, 2010 7:35 am
Forum: Emacs Lisp
Topic: color coding comment in f90-mode using "c" [SOLVED]
Replies: 10
Views: 27288

Re: color coding comment in f90-mode using "c"

Hi Ramarren, Thank you for the prompt response. The first solution seems to be a little cumbersome given the different files and lines of code... but I guess I could do that as I go, even though I am not sure if other people using subversion are going to like that. I suppose the "^" indica...
by Efo
Mon Apr 12, 2010 10:32 pm
Forum: Emacs Lisp
Topic: color coding comment in f90-mode using "c" [SOLVED]
Replies: 10
Views: 27288

color coding comment in f90-mode using "c" [SOLVED]

Hi guys, I am rather new to lisp, and I hope you will forgive me ignorance. I have been a emacs user for a while now, and recently I converted a program from f77 to f90. Here is the problem: if I use fortran-mode, all what is past the 72 columns is commented out, which is ugly to work with. On the o...