caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Patrick M Doane <patrick@watson.org>
To: Sven <luther@dpt-info.u-strasbg.fr>
Cc: caml-list@inria.fr
Subject: [Caml-list] Re: Emacs comment support (was OCamldoc)
Date: Wed, 10 Oct 2001 13:44:15 -0400 (EDT)	[thread overview]
Message-ID: <Pine.BSF.3.96.1011010133900.56825G-100000@fledge.watson.org> (raw)
In-Reply-To: <20011010192551.A6465@dpt-info.u-strasbg.fr>

On Wed, 10 Oct 2001, Sven wrote:

> On Wed, Oct 10, 2001 at 01:07:19PM -0400, Patrick M Doane wrote:
> > 
> > Will there be any issues with writing comments like this?
> > 
> >  (** line 1
> >   *  line 2
> >   *  line 3
> >   *)
> 
> Yes, this is nice, and the extra * may even be provided by your editor
> automatically, like what happens with C code, provided the corresponding
> vim/emacs rules are extended accordyingly (but then maybe vim 6 can already do
> thi ?).

This reminds me of a current gripe with the Tuareg mode (and I believe the
O'Caml mode that comes with the distribution has the same issue). If I
have a multi-line comment line this: 

 (* line 1
  * line 2
  * line 3 
  *)

and then hit M-q to refill the region I get:

 (* line 1 * line 2 * line 3 *)

In the C mode, refilling a similar comment produces

 /* line 1 line 2 line 3 */

and multiline comments maintain the '*' pattern appropriately on each
line. I have no idea how to implement Emacs modes, but does anyone have
any idea how difficult it would be to fix this? Editing documentation in
comments can be very tedious because of the need to manually refill
paragraphs.

Patrick

-------------------
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


  reply	other threads:[~2001-10-10 17:44 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-09 12:30 [Caml-list] Re: [Caml-announce] OCamldoc Dave Berry
2001-10-10 11:08 ` Benjamin C. Pierce
2001-10-10 13:33   ` Sven
2001-10-10 14:10     ` Jacques Garrigue
2001-10-12  6:23       ` Francois Pottier
2001-10-12  6:50         ` Daniel de Rauglaudre
2001-10-10 15:12     ` Benjamin C. Pierce
2001-10-10 15:25       ` Stefano Lanzavecchia
2001-10-10 15:39         ` Benjamin C. Pierce
2001-10-10 15:44           ` Stefano Lanzavecchia
2001-10-10 18:45           ` Maxence Guesdon
2001-10-10 19:38             ` Benjamin C. Pierce
2001-10-11  7:23               ` Florian Hars
2001-10-12  6:28             ` Francois Pottier
2001-10-12  9:10             ` Sven
2001-10-12  9:39               ` Markus Mottl
     [not found]             ` <9q7886$2p8$1@qrnik.zagroda>
2001-10-13  9:19               ` Marcin 'Qrczak' Kowalczyk
2001-10-10 15:36       ` Thorsten Ohl
2001-10-10 17:10       ` Patrick M Doane
2001-10-10 19:39         ` Benjamin C. Pierce
2001-10-10 15:25     ` Benjamin C. Pierce
2001-10-10 17:07   ` Patrick M Doane
2001-10-10 17:25     ` Sven
2001-10-10 17:44       ` Patrick M Doane [this message]
     [not found]       ` <Pine.BSF.3.96.1011010133900.56825G-100000@fledge.watson.or g>
2001-10-10 19:25         ` [Caml-list] Re: Emacs comment support (was OCamldoc) Chris Hecker
2001-10-11 19:32   ` [Caml-list] Re: [Caml-announce] OCamldoc Xavier Leroy
2001-10-12  8:29     ` Andreas Rossberg
2001-10-12  8:57     ` Didier Remy
2001-10-12  9:27       ` Fabrice Le Fessant
2001-10-12 10:36       ` Benjamin C. Pierce
2001-10-12 13:13         ` Francois Pottier
2001-10-12 17:23           ` Alan Schmitt
2001-10-13 11:49           ` Benjamin C. Pierce
2001-10-13 13:46             ` Jimmie Houchin
2001-10-14 12:50             ` Frank Atanassow
     [not found]   ` <9q4tft$88t$1@qrnik.zagroda>
2001-10-11 20:13     ` Marcin 'Qrczak' Kowalczyk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.BSF.3.96.1011010133900.56825G-100000@fledge.watson.org \
    --to=patrick@watson.org \
    --cc=caml-list@inria.fr \
    --cc=luther@dpt-info.u-strasbg.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).