michael@cadilhac.name (Michaël Cadilhac) writes: > "Roland Winkler" writes: > >> Start a fresh emacs --no-init-file. Load file foo.f (fortran-mode): >> cat foo.f <> C This is a fortran comment >> CALL FOO >> EOF >> >> On line 1 execute fill-paragraph, which will run >> fortran-fill-paragraph. This gives me >> >> C This is a fortran comment ALL FOO > > Thanks for reporting this bug. > > Does the following fix it ? (And is it an acceptable solution ?) > > *** lisp/textmodes/fill.el 6 Nov 2006 16:01:53 -0000 1.192 > --- lisp/textmodes/fill.el 24 Dec 2006 00:12:07 -0000 > *************** > *** 838,844 **** > (commark > (comment-string-strip (buffer-substring comstart comin) nil t)) > (comment-re > ! (if (string-match comment-start-skip (concat commark "a")) > --- 838,844 ---- > (commark > (comment-string-strip (buffer-substring comstart comin) nil t)) > (comment-re > ! (if (string-match comment-start-skip (concat "\0" commark "a")) Installed. -- /!\ My mail address has changed, please update your files accordingly. | Michaël `Micha' Cadilhac | C'est véritablement un scandale | | Epita/LRDE Promo 2007 | et probablement une contrepéterie. | | http://michael.cadilhac.name | -- P. Desproges | `--JID: michael.cadilhac@gmail.com--' - --'