GNU logs - #31615, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#31615: 27.0; doc of `uncomment-region(-default)'
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 May 2018 04:21:01 +0000
Resent-Message-ID: <handler.31615.B.15274812202071 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 31615
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 31615 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15274812202071
          (code B ref -1); Mon, 28 May 2018 04:21:01 +0000
Received: (at submit) by debbugs.gnu.org; 28 May 2018 04:20:20 +0000
Received: from localhost ([127.0.0.1]:51465 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fN9ds-0000XL-Hl
	for submit <at> debbugs.gnu.org; Mon, 28 May 2018 00:20:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48585)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fN9dr-0000X5-Cf
 for submit <at> debbugs.gnu.org; Mon, 28 May 2018 00:20:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1fN9dl-0007FQ-8u
 for submit <at> debbugs.gnu.org; Mon, 28 May 2018 00:20:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43664)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1fN9dl-0007FI-5m
 for submit <at> debbugs.gnu.org; Mon, 28 May 2018 00:20:13 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39555)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1fN9dj-0003Bi-W6
 for bug-gnu-emacs@HIDDEN; Mon, 28 May 2018 00:20:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1fN9dg-0007DC-Qn
 for bug-gnu-emacs@HIDDEN; Mon, 28 May 2018 00:20:11 -0400
Received: from aserp2120.oracle.com ([141.146.126.78]:39682)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1fN9dg-0007CV-F6
 for bug-gnu-emacs@HIDDEN; Mon, 28 May 2018 00:20:08 -0400
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4S4GskX043404
 for <bug-gnu-emacs@HIDDEN>; Mon, 28 May 2018 04:20:06 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : content-type :
 content-transfer-encoding; s=corp-2017-10-26;
 bh=tanl307Cp84T6vEfNa9yQ78Ig26T9IU4g1PgFlY+UZQ=;
 b=D53vxMoYrIi9/2lnd0wCS5gVCZRn69i26x/Vg1lbc3hqGebQiQkoi/UTfCLe0Yi3ejCp
 cpyByEkZw4dp8OiALocf5fOOliyflJV+wXSDsLiM1ilA/kkJdN2ULkRNwANIJpYAf4XZ
 1C0CgutUhUqd7ruRB42LSvq74HkfsJPOriEgzLCBRNSlr5GkthC4aEjPwEBoVl2ctLFa
 lZxO429pKij6VPBR/3hVg4/2/Fc9OJASw0bfqmvzmRxeUkWhMwi0w1AqUt719l8ea8Jh
 el6X7bDrsKpSatH7+A3qrIXECB54i3UV1sOXfgiHkBweYX3iQbbLxJaK/3A0HvpSWZjg 0A== 
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])
 by aserp2120.oracle.com with ESMTP id 2j6yjbbxrc-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Mon, 28 May 2018 04:20:06 +0000
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w4S4K594003676
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Mon, 28 May 2018 04:20:05 GMT
Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w4S4K5q2001583
 for <bug-gnu-emacs@HIDDEN>; Mon, 28 May 2018 04:20:05 GMT
MIME-Version: 1.0
Message-ID: <f7e49ba0-f2bd-4da0-84bd-f6cda8167a0e@default>
Date: Sun, 27 May 2018 21:20:04 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8906
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=966
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1711220000 definitions=main-1805280051
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

1. These two functions should not have the same doc string.  Function
`*-default' should say what is - the default value of
`uncomment-region-function'.

2. The doc strings should be much more specific about the behavior, in
particular wrt ARG.  Apparently the functions do nothing at all if ARG
is larger than the first sequence of comment chars in the region.

E.g. for a comment such as this one:

  ;; foo bar

(uncomment-region (line-beginning-position) (line-end-position) 3)

does nothing.  That's not obvious from the doc.  From the doc I'd get
the impression that I could be sure to remove all contiguous comment
chars from the beginning using `most-positive-fixnum' for ARG.

3. The doc string talks about "comment markers".  What's that?

4. Enhancement request: Provide a way to remove ALL comment chars and
all whitespace between them, up to the first non-comment char.  So each
of these lines, for example:

  ;; ;;; ; foo bar

  ; ; ; ; foo bar

  ;; ;; foo bar

  ;; foo bar

would be uncommented to this line:

  foo bar

That could be done, for example, by providing `all' as the value of ARG.


In GNU Emacs 27.0.50 (build 3, x86_64-w64-mingw32)
 of 2018-03-21
Repository revision: e70d0c9e66d7a8609450b2889869d16aeb0363b5
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --without-dbus --host=3Dx86_64-w64-mingw32
 --without-compress-install -C 'CFLAGS=3D-O2 -static -g3''




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Drew Adams <drew.adams@HIDDEN>
Subject: bug#31615: Acknowledgement (27.0; doc of `uncomment-region(-default)')
Message-ID: <handler.31615.B.15274812202071.ack <at> debbugs.gnu.org>
References: <f7e49ba0-f2bd-4da0-84bd-f6cda8167a0e@default>
X-Gnu-PR-Message: ack 31615
X-Gnu-PR-Package: emacs
Reply-To: 31615 <at> debbugs.gnu.org
Date: Mon, 28 May 2018 04:21:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 31615 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
31615: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31615
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#31615: 27.0; doc of `uncomment-region(-default)'
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 02 Jun 2018 10:46:02 +0000
Resent-Message-ID: <handler.31615.B31615.152793630927921 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31615
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>
Cc: 31615 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 31615-submit <at> debbugs.gnu.org id=B31615.152793630927921
          (code B ref 31615); Sat, 02 Jun 2018 10:46:02 +0000
Received: (at 31615) by debbugs.gnu.org; 2 Jun 2018 10:45:09 +0000
Received: from localhost ([127.0.0.1]:58405 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fP41y-0007GF-LI
	for submit <at> debbugs.gnu.org; Sat, 02 Jun 2018 06:45:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39508)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fP41w-0007FU-TM
 for 31615 <at> debbugs.gnu.org; Sat, 02 Jun 2018 06:45:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fP41o-0007eW-P0
 for 31615 <at> debbugs.gnu.org; Sat, 02 Jun 2018 06:44:59 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44039)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fP41o-0007eL-LF; Sat, 02 Jun 2018 06:44:56 -0400
Received: from [176.228.60.248] (port=2120 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fP41o-0005C2-36; Sat, 02 Jun 2018 06:44:56 -0400
Date: Sat, 02 Jun 2018 13:44:59 +0300
Message-Id: <83lgbxeac4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <f7e49ba0-f2bd-4da0-84bd-f6cda8167a0e@default> (message from Drew
 Adams on Sun, 27 May 2018 21:20:04 -0700 (PDT))
References: <f7e49ba0-f2bd-4da0-84bd-f6cda8167a0e@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Sun, 27 May 2018 21:20:04 -0700 (PDT)
> From: Drew Adams <drew.adams@HIDDEN>
> 
> 1. These two functions should not have the same doc string.  Function
> `*-default' should say what is - the default value of
> `uncomment-region-function'.

Done.

> 2. The doc strings should be much more specific about the behavior, in
> particular wrt ARG.  Apparently the functions do nothing at all if ARG
> is larger than the first sequence of comment chars in the region.
> 
> E.g. for a comment such as this one:
> 
>   ;; foo bar
> 
> (uncomment-region (line-beginning-position) (line-end-position) 3)
> 
> does nothing.  That's not obvious from the doc.

I'm not sure this was the intent of the code.  I'd expect it to remove
the maximum number of comment delimiters it can, not just punt
silently.

> 3. The doc string talks about "comment markers".  What's that?

It means "comment delimiters"; fixed.

> 4. Enhancement request: Provide a way to remove ALL comment chars and
> all whitespace between them, up to the first non-comment char.

Not done.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#31615: 27.0; doc of `uncomment-region(-default)'
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 02 Jun 2018 13:48:01 +0000
Resent-Message-ID: <handler.31615.B31615.152794726920878 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31615
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>, Drew Adams <drew.adams@HIDDEN>
Cc: 31615 <at> debbugs.gnu.org
Received: via spool by 31615-submit <at> debbugs.gnu.org id=B31615.152794726920878
          (code B ref 31615); Sat, 02 Jun 2018 13:48:01 +0000
Received: (at 31615) by debbugs.gnu.org; 2 Jun 2018 13:47:49 +0000
Received: from localhost ([127.0.0.1]:58499 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fP6sm-0005Qg-Nu
	for submit <at> debbugs.gnu.org; Sat, 02 Jun 2018 09:47:48 -0400
Received: from userp2130.oracle.com ([156.151.31.86]:39622)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1fP6sl-0005QO-1T
 for 31615 <at> debbugs.gnu.org; Sat, 02 Jun 2018 09:47:47 -0400
Received: from pps.filterd (userp2130.oracle.com [127.0.0.1])
 by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w52DlfOb057379;
 Sat, 2 Jun 2018 13:47:41 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=JZF/1ALP4k9haSSG5XxtVrMEZBE1SnKfhHYVQ3BUh3w=;
 b=lq64TTl6Ebe9obykx+02pBGmRSMQTIWrxP1vScAZ7/IjY9xCojjKWRhL79o7+XfBwMvJ
 pLg7afg28VNFIJ7Sx7apvZl3Wjgegxd5nnfBW4bUweTOHEtSMLW9UXeUxzSJkNwaE9ll
 zfV9sui7jpSoEo7ttiFQMujh1dMehRp613T/7XeVe5r229rm2sRIWlXVUBxX04sC0gLY
 XeSlVWHdisC6kgQVtHzhwQ8bh+7+i3pLBLU0puyl57mzhXjseUF1UWWyWa3GC6UCVLmT
 tNqJaoSA6DuGkPy9g/wvxaK1FvNbIF6DqA4op+iDPGnHlKkiPfjsy7Wcl5tffk8AxJha Ew== 
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
 by userp2130.oracle.com with ESMTP id 2jbjpa8krh-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sat, 02 Jun 2018 13:47:40 +0000
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w52Dleli027971
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sat, 2 Jun 2018 13:47:40 GMT
Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w52DldJV019808;
 Sat, 2 Jun 2018 13:47:39 GMT
MIME-Version: 1.0
Message-ID: <4afe26ca-00d6-4f16-b5e2-6a7444ddcd13@default>
Date: Sat, 2 Jun 2018 13:47:38 +0000 (UTC)
From: Drew Adams <drew.adams@HIDDEN>
References: <<f7e49ba0-f2bd-4da0-84bd-f6cda8167a0e@default>>
 <<83lgbxeac4.fsf@HIDDEN>>
In-Reply-To: <<83lgbxeac4.fsf@HIDDEN>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4690.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8911
 signatures=668702
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=755
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1805220000 definitions=main-1806020163
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Done.

Thx.

> > 2. The doc strings should be much more specific about the behavior, in
> > particular wrt ARG.  Apparently the functions do nothing at all if ARG
> > is larger than the first sequence of comment chars in the region.
> >
> > E.g. for a comment such as this one:
> >   ;; foo bar
> > (uncomment-region (line-beginning-position) (line-end-position) 3)
> > does nothing.  That's not obvious from the doc.
>=20
> I'm not sure this was the intent of the code.  I'd expect it to remove
> the maximum number of comment delimiters it can, not just punt
> silently.

I too think that should be the behavior, but who knows what
the intention was.  If the behavior gets fixed to do that
then great.  In any case (fixed behavior, intended but not
yet fixed behavior, or current behavior), I think the
behavior should be documented.

> It means "comment delimiters"; fixed.

Thx.

> > 4. Enhancement request: Provide a way to remove ALL comment chars and
> > all whitespace between them, up to the first non-comment char.
>=20
> Not done.

Right.  Shall we leave this bug open for that enhancement
request, or do you want a new report for just that?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#31615: 27.0; doc of `uncomment-region(-default)'
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 02 Jun 2018 14:15:02 +0000
Resent-Message-ID: <handler.31615.B31615.152794886124678 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31615
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>
Cc: 31615 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 31615-submit <at> debbugs.gnu.org id=B31615.152794886124678
          (code B ref 31615); Sat, 02 Jun 2018 14:15:02 +0000
Received: (at 31615) by debbugs.gnu.org; 2 Jun 2018 14:14:21 +0000
Received: from localhost ([127.0.0.1]:59455 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fP7IT-0006Py-8H
	for submit <at> debbugs.gnu.org; Sat, 02 Jun 2018 10:14:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51685)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fP7IR-0006Pj-8d
 for 31615 <at> debbugs.gnu.org; Sat, 02 Jun 2018 10:14:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fP7IJ-0005Y7-70
 for 31615 <at> debbugs.gnu.org; Sat, 02 Jun 2018 10:14:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46603)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fP7IJ-0005Xh-3n; Sat, 02 Jun 2018 10:14:11 -0400
Received: from [176.228.60.248] (port=2289 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fP7IH-0005Os-Vp; Sat, 02 Jun 2018 10:14:10 -0400
Date: Sat, 02 Jun 2018 17:14:14 +0300
Message-Id: <837enhe0nd.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <4afe26ca-00d6-4f16-b5e2-6a7444ddcd13@default> (message from Drew
 Adams on Sat, 2 Jun 2018 13:47:38 +0000 (UTC))
References: <<f7e49ba0-f2bd-4da0-84bd-f6cda8167a0e@default>>
 <<83lgbxeac4.fsf@HIDDEN>> <4afe26ca-00d6-4f16-b5e2-6a7444ddcd13@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Sat, 2 Jun 2018 13:47:38 +0000 (UTC)
> From: Drew Adams <drew.adams@HIDDEN>
> Cc: 31615 <at> debbugs.gnu.org
> 
> > > 4. Enhancement request: Provide a way to remove ALL comment chars and
> > > all whitespace between them, up to the first non-comment char.
> > 
> > Not done.
> 
> Right.  Shall we leave this bug open for that enhancement
> request, or do you want a new report for just that?

I left it open.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 2 Jun 2018 14:21:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 02 10:21:41 2018
Received: from localhost ([127.0.0.1]:59459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fP7PZ-0006ds-5W
	for submit <at> debbugs.gnu.org; Sat, 02 Jun 2018 10:21:41 -0400
Received: from mail-it0-f51.google.com ([209.85.214.51]:36103)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1fP7PX-0006dd-QY
 for control <at> debbugs.gnu.org; Sat, 02 Jun 2018 10:21:40 -0400
Received: by mail-it0-f51.google.com with SMTP id e20-v6so5223243itc.1
 for <control <at> debbugs.gnu.org>; Sat, 02 Jun 2018 07:21:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=/6eSh5hxKXpWyv1lg0D26RCq5yMffTFxA+dX344r3Qc=;
 b=dkLb9RKFCp/jHWtNNvXO0gEn710c7eNks3rNYn409j6rTvqfi3t6s9/ZSGLaEGHybj
 qRecvHuIfeqqQ/nCND/BA+ICdUfVxItre7V+M+cZy4sy1SybsZz3RWLJ4THJvVxg9PMk
 NpXjYWXsoXrcrJ6mwUlRnBD9qU/Xx/QYy5FfBDU5uK4m/epEGh5arczvoNJW0ADf0Cc3
 57wTZwqIADc9zC3S46a1a0CyUnP3nnLIbpRzyfteGX6+kuSOmeYuFMNRQV0k4NKNzwHK
 O8M5i99DmXejcwARZZ6z5tw+6JLmeoB1j57+bd5zFFpq8N8HHWrjGn6M5B02/pwHB7lC
 GCbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=/6eSh5hxKXpWyv1lg0D26RCq5yMffTFxA+dX344r3Qc=;
 b=YBjLJCqDpWfP1XYWRkKis9PLixnj9egHe33KuEeoFMC13q4fVfrRDDR35UacKNyFDu
 qjdqgSCmhEQEQKrFhgn9MAajeuvnPvL+kq3qq1r/VrkSgGJiloDWUhef+iL3OQtbg9Gj
 Q6sx6Vzv0mDdIZF2PiB6aSv6M443Evn+7Bo+QxRBKsCXIKi1BBraJTzYNOnbjTfYhfzy
 UaT6uho5Wr5WRYW0L/Lql4EV3QxqKQ3ILOaBPTXsipae3vJw+lxEnn4GnPfOmMYILuIn
 kaWMB3/B0O+/M3dCFfKhu6X7ydtbEF4P6N2zj2V0hmWfKnMpYaW+PlaUayBhxDkiS2oX
 d9Bw==
X-Gm-Message-State: APt69E1hGvwK6ThERpbwvCGknHtTC72a8ncrwpxGkL+djdciAs6hJxXL
 Bs7gwiwuUq9zDlzNCGOzBSJSKg==
X-Google-Smtp-Source: ADUXVKJMOKMA/QW5fKsXMLuQtcm5zgk9MEVixaIcc/e5U0aODY8FgcGipM3hzAo5ekfTDy38gWpxaQ==
X-Received: by 2002:a24:6d86:: with SMTP id
 m128-v6mr8629441itc.75.1527949294164; 
 Sat, 02 Jun 2018 07:21:34 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 a23-v6sm2323499ioc.81.2018.06.02.07.21.33
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 02 Jun 2018 07:21:33 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: control message for bug #31615
Date: Sat, 02 Jun 2018 10:21:32 -0400
Message-ID: <87sh659slv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

retitle 31615 let uncomment-region remove ALL comment+whitespace chars up to first non-comment char
severity 31615 wishlist
quit





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 2 Jun 2018 14:21:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 02 10:21:41 2018
Received: from localhost ([127.0.0.1]:59459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fP7PZ-0006ds-5W
	for submit <at> debbugs.gnu.org; Sat, 02 Jun 2018 10:21:41 -0400
Received: from mail-it0-f51.google.com ([209.85.214.51]:36103)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1fP7PX-0006dd-QY
 for control <at> debbugs.gnu.org; Sat, 02 Jun 2018 10:21:40 -0400
Received: by mail-it0-f51.google.com with SMTP id e20-v6so5223243itc.1
 for <control <at> debbugs.gnu.org>; Sat, 02 Jun 2018 07:21:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=/6eSh5hxKXpWyv1lg0D26RCq5yMffTFxA+dX344r3Qc=;
 b=dkLb9RKFCp/jHWtNNvXO0gEn710c7eNks3rNYn409j6rTvqfi3t6s9/ZSGLaEGHybj
 qRecvHuIfeqqQ/nCND/BA+ICdUfVxItre7V+M+cZy4sy1SybsZz3RWLJ4THJvVxg9PMk
 NpXjYWXsoXrcrJ6mwUlRnBD9qU/Xx/QYy5FfBDU5uK4m/epEGh5arczvoNJW0ADf0Cc3
 57wTZwqIADc9zC3S46a1a0CyUnP3nnLIbpRzyfteGX6+kuSOmeYuFMNRQV0k4NKNzwHK
 O8M5i99DmXejcwARZZ6z5tw+6JLmeoB1j57+bd5zFFpq8N8HHWrjGn6M5B02/pwHB7lC
 GCbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=/6eSh5hxKXpWyv1lg0D26RCq5yMffTFxA+dX344r3Qc=;
 b=YBjLJCqDpWfP1XYWRkKis9PLixnj9egHe33KuEeoFMC13q4fVfrRDDR35UacKNyFDu
 qjdqgSCmhEQEQKrFhgn9MAajeuvnPvL+kq3qq1r/VrkSgGJiloDWUhef+iL3OQtbg9Gj
 Q6sx6Vzv0mDdIZF2PiB6aSv6M443Evn+7Bo+QxRBKsCXIKi1BBraJTzYNOnbjTfYhfzy
 UaT6uho5Wr5WRYW0L/Lql4EV3QxqKQ3ILOaBPTXsipae3vJw+lxEnn4GnPfOmMYILuIn
 kaWMB3/B0O+/M3dCFfKhu6X7ydtbEF4P6N2zj2V0hmWfKnMpYaW+PlaUayBhxDkiS2oX
 d9Bw==
X-Gm-Message-State: APt69E1hGvwK6ThERpbwvCGknHtTC72a8ncrwpxGkL+djdciAs6hJxXL
 Bs7gwiwuUq9zDlzNCGOzBSJSKg==
X-Google-Smtp-Source: ADUXVKJMOKMA/QW5fKsXMLuQtcm5zgk9MEVixaIcc/e5U0aODY8FgcGipM3hzAo5ekfTDy38gWpxaQ==
X-Received: by 2002:a24:6d86:: with SMTP id
 m128-v6mr8629441itc.75.1527949294164; 
 Sat, 02 Jun 2018 07:21:34 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 a23-v6sm2323499ioc.81.2018.06.02.07.21.33
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 02 Jun 2018 07:21:33 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: control message for bug #31615
Date: Sat, 02 Jun 2018 10:21:32 -0400
Message-ID: <87sh659slv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

retitle 31615 let uncomment-region remove ALL comment+whitespace chars up to first non-comment char
severity 31615 wishlist
quit






Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.