Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Re: [Caml-announce] OCamldoc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] Re: Emacs comment support (was OCamldoc)

>and then hit M-q to refill the region I get:
> (* line 1 * line 2 * line 3 *)

Go to the first text character of the comment and hit "C-x ." to set the fill prefix to " * ", then hit M-q.  Make sure the minibufffer says the prefix was set to " * " for it to work correctly.  If all your comments are the same prefix, you should be able to fill now without setting the prefix again.

See Filling in the Emacs Info file.

It'd be a little more work to get it to fill this

(*
 * foo
 * bar
 *)

to this

(*
 * foo bar
 *)

but it sounds like that's not what you want anyway.

Chris

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr