From xemacs-m  Wed Feb 19 04:44:58 1997
Received: from mgate.uni-hannover.de (mgate.uni-hannover.de [130.75.2.3])
	by xemacs.org (8.8.5/8.8.5) with SMTP id EAA00278
	for <xemacs-beta@xemacs.org>; Wed, 19 Feb 1997 04:44:57 -0600 (CST)
Received: from helios (actually helios.tnt.uni-hannover.de) by mgate 
          with SMTP (PP); Wed, 19 Feb 1997 11:42:15 +0100
Received: from daedalus.tnt.uni-hannover.de by helios (SMI-8.6/SMI-SVR4) 
          id LAA10231; Wed, 19 Feb 1997 11:40:13 +0100
Received: by daedalus.tnt.uni-hannover.de (SMI-8.6/SMI-SVR4) id LAA29140;
          Wed, 19 Feb 1997 11:40:10 +0100
Date: Wed, 19 Feb 1997 11:40:10 +0100
Message-Id: <199702191040.LAA29140@daedalus.tnt.uni-hannover.de>
From: Heiko Muenkel <muenkel@tnt.uni-hannover.de>
To: jmorey@EWOK.tbi.com
Cc: xemacs-beta@xemacs.org
Subject: Re: Is your (favorite) package not in XEmacs and should be?
In-Reply-To: <199702181239.GAA26574@xemacs.org>
References: <m27mkb0wip.fsf@altair.xemacs.org> <199702171630.RAA22299@daedalus.tnt.uni-hannover.de> <199702181239.GAA26574@xemacs.org>
X-Face: n}R'l6CHRf>pi&bj7[x0CW3:kmXm@1)7m+l*9[fp;-Ow4Xe~=5E;skf?2> 
        y]f{HzB|Q(\V9+y$PP~.4G[2n4W7{6Ilm[AMY9B:0kj.K_$-d%p4YIF*bX;=ADp6{ 
        HS@NEv9c.VII+9PgXHASx}K(jy^t=q%qzZ72q1e4E;O!$A$`&wgtLk"1%p.nC_G!] 
        4d1!+J4Q#YD_iXeEy`1x)d\r$1Qn\'23n|[8Y_xzuXJJ7W(EGqnzB]`]aq??;+z=) 
        DW~\'Vq&F'g%QU[Mv2:}nS>SdZFTEC2GsgB=Q,:~H<R5S[:ZN%B:s0;|v1x"Jb
Mime-Version: 1.0 (generated by tm-edit 7.90)
Content-Type: text/plain; charset=US-ASCII

>>>>> "John" == John Morey <jmorey@EWOK.tbi.com> writes:

>>>>> "Heiko" == Heiko Muenkel <muenkel@tnt.uni-hannover.de> writes:
    Heiko> The following is a package, which was originally written by
    Heiko> cdwilli@kochab.cs.umbc.edu years ago. It is the only
    Heiko> package that I know, which is able to comment and uncomment
    Heiko> regions in a C file regardless if there are already other C
    Heiko> comments in the region or not.

    John> While I have always wished for an uncomment region command I
    John> just tried this out in a cc-mode c++ buffer and received the
    John> error:

    John> 	Don't know how to comment c++-mode mode.

    John> Adding the support for the comment of c++-mode looks easy
    John> I'm not sure about the uncomment.

Sorry, you're right. I've edit my last c++ file years ago. I think the
best thing would be to take the code from comm-regn.el and rewrite the
function comment-region, so that it has the same interface as the
buildin function comment-region. This function should then only be
used in the c mode. In all other modes, where you've only a comment
starter, the builtin function is able to comment and uncomment a
region without any problems.

