all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Strange line-wrapping
@ 2002-11-12 17:17 Fredrik
  2002-11-13  7:51 ` Kai Großjohann
  0 siblings, 1 reply; 4+ messages in thread
From: Fredrik @ 2002-11-12 17:17 UTC (permalink / raw)


Using NTemacs 21.2.1 I have the following problem:

I like to have my code wrapped automatically so I've set c-ignore-auto-
fill to nil which works pretty well. However, there is some strange 
behaviour. This works fine:

int Method(int parameter1, int  <---- automatic wrap
           parameter2, int parameter3)
{
}


But if ther is a comment before the line to wrap, I get the following 
result:

//----------
//Comment
//----------
int Method(int parameter1, int  <---- automatic wrap
//parameter2, int parameter3)   <---- now this is a comment!
{
}


ie the comment-signs (//) is added to the new line. 

Can someone explain this? And how do I solve it?

Regards
//Fredrik

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-14 16:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-12 17:17 Strange line-wrapping Fredrik
2002-11-13  7:51 ` Kai Großjohann
2002-11-13 21:48   ` Fredrik
2002-11-14 16:22     ` Kai Großjohann

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.