X-Loop: help-debbugs@HIDDEN
Subject: bug#16655: 24.3.50; M-q on a command line does mix up commands and comments
Resent-From: "Sebastien Vauban" <sva-news@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 05 Feb 2014 16:24:02 +0000
Resent-Message-ID: <handler.16655.B.13916174314847 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 16655
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 16655 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.13916174314847
(code B ref -1); Wed, 05 Feb 2014 16:24:02 +0000
Received: (at submit) by debbugs.gnu.org; 5 Feb 2014 16:23:51 +0000
Received: from localhost ([127.0.0.1]:51079 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.80)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1WB5GQ-0001G1-5x
for submit <at> debbugs.gnu.org; Wed, 05 Feb 2014 11:23:50 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48092)
by debbugs.gnu.org with esmtp (Exim 4.80)
(envelope-from <sva-news@HIDDEN>) id 1WB5GM-0001Fp-No
for submit <at> debbugs.gnu.org; Wed, 05 Feb 2014 11:23:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <sva-news@HIDDEN>) id 1WB5GH-0007iu-Fb
for submit <at> debbugs.gnu.org; Wed, 05 Feb 2014 11:23:46 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:43374)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <sva-news@HIDDEN>) id 1WB5GH-0007io-Cc
for submit <at> debbugs.gnu.org; Wed, 05 Feb 2014 11:23:41 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49800)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from <sva-news@HIDDEN>) id 1WB5GC-00014d-Nq
for bug-gnu-emacs@HIDDEN; Wed, 05 Feb 2014 11:23:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <sva-news@HIDDEN>) id 1WB5G8-0007hk-2W
for bug-gnu-emacs@HIDDEN; Wed, 05 Feb 2014 11:23:36 -0500
Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:2349
helo=mail.missioncriticalit.com)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <sva-news@HIDDEN>) id 1WB5G7-0007hW-Rg
for bug-gnu-emacs@HIDDEN; Wed, 05 Feb 2014 11:23:31 -0500
Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me
(unknown [10.10.10.51])
by mail.missioncriticalit.com (Postfix) with ESMTPS id 58D595009E8
for <bug-gnu-emacs@HIDDEN>; Wed, 5 Feb 2014 17:26:15 +0100 (CET)
From: "Sebastien Vauban" <sva-news@HIDDEN>
Organization: Sebastien Vauban
X-Url: Under construction...
X-Archive: encrypt
Date: Wed, 05 Feb 2014 17:21:32 +0100
Message-ID: <86fvnxa5tf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.3 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -4.3 (----)
Hello,
With such a shell script file:
--8<---------------cut here---------------start------------->8---
#!/bin/sh
# display symbol definitions, as found in the relevant manual (for AWK, C, Emacs Lisp, and other languages that have documentation in Info)
echo Some text
--8<---------------cut here---------------end--------------->8---
We can observe that:
- `M-q' done on the first line will correctly refill the comment into
2 lines
--8<---------------cut here---------------start------------->8---
# display symbol definitions, as found in the relevant manual (for AWK, C,
# Emacs Lisp, and other languages that have documentation in Info)
echo Some text
--8<---------------cut here---------------end--------------->8---
- `M-q' done on the second line will completely break the code:
--8<---------------cut here---------------start------------->8---
# display symbol definitions, as found in the relevant manual (for AWK, C,
Emacs Lisp, and other languages that have documentation in Info) echo Some text
--8<---------------cut here---------------end--------------->8---
See http://screencast.com/t/XGs10gmz0m2.
Best regards,
Seb
In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
of 2013-10-19 on LEG570
Bzr revision: 114715 rgm@HIDDEN
Windowing system distributor `Microsoft Corp.', version 6.2.9200
Configured using:
`configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'
Major mode: Shell-script
--
Sebastien Vauban
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Sebastien Vauban" <sva-news@HIDDEN> Subject: bug#16655: Acknowledgement (24.3.50; M-q on a command line does mix up commands and comments) Message-ID: <handler.16655.B.13916174314847.ack <at> debbugs.gnu.org> References: <86fvnxa5tf.fsf@HIDDEN> X-Gnu-PR-Message: ack 16655 X-Gnu-PR-Package: emacs Reply-To: 16655 <at> debbugs.gnu.org Date: Wed, 05 Feb 2014 16:24:03 +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 16655 <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 16655: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16655 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#16655: 24.3.50; M-q on a command line does mix up commands and comments
Resent-From: Marcin Borkowski <mbork@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 04 Feb 2016 21:01:02 +0000
Resent-Message-ID: <handler.16655.B16655.145461965811072 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 16655
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: "Sebastien Vauban" <sva-news@HIDDEN>
Cc: 16655 <at> debbugs.gnu.org
Received: via spool by 16655-submit <at> debbugs.gnu.org id=B16655.145461965811072
(code B ref 16655); Thu, 04 Feb 2016 21:01:02 +0000
Received: (at 16655) by debbugs.gnu.org; 4 Feb 2016 21:00:58 +0000
Received: from localhost ([127.0.0.1]:60686 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1aRR1O-0002sW-Cl
for submit <at> debbugs.gnu.org; Thu, 04 Feb 2016 16:00:58 -0500
Received: from mail.mojserwer.eu ([195.110.48.8]:43060)
by debbugs.gnu.org with esmtp (Exim 4.84)
(envelope-from <mbork@HIDDEN>) id 1aRR1M-0002sN-Ly
for 16655 <at> debbugs.gnu.org; Thu, 04 Feb 2016 16:00:57 -0500
Received: from localhost (localhost [127.0.0.1])
by mail.mojserwer.eu (Postfix) with ESMTP id 868AB9D2002;
Thu, 4 Feb 2016 22:00:53 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu
Received: from mail.mojserwer.eu ([127.0.0.1])
by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id ofhg8khqzXEZ; Thu, 4 Feb 2016 22:00:46 +0100 (CET)
Received: from localhost (unknown [109.232.24.28])
by mail.mojserwer.eu (Postfix) with ESMTPSA id 5D7F09D2001;
Thu, 4 Feb 2016 22:00:46 +0100 (CET)
From: Marcin Borkowski <mbork@HIDDEN>
References: <86fvnxa5tf.fsf@HIDDEN>
Date: Thu, 04 Feb 2016 22:00:42 +0100
In-Reply-To: <86fvnxa5tf.fsf@HIDDEN> (Sebastien Vauban's message of
"Wed, 05 Feb 2014 17:21:32 +0100")
Message-ID: <87y4b0b37p.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.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: 0.3 (/)
Hi all,
I'm writing to confirm that this is still present in GNU Emacs
25.1.50.1. To make it a bit more precise: the OP means M-q with point
on either the 3rd line of the script (i.e., the line beginning with "#
display"), which works fine, and then M-q on the fourth line (i.e., the
line beginning with "echo"), which breaks as described below.
Best,
Marcin Borkowski
On 2014-02-05, at 17:21, "Sebastien Vauban" <sva-news@HIDDEN> wrote:
> Hello,
>
> With such a shell script file:
>
> #!/bin/sh
>
> # display symbol definitions, as found in the relevant manual (for AWK, C, Emacs Lisp, and other languages that have documentation in Info)
> echo Some text
>
>
> We can observe that:
>
> - `M-q' done on the first line will correctly refill the comment into
> 2 lines
>
> # display symbol definitions, as found in the relevant manual (for AWK, C,
> # Emacs Lisp, and other languages that have documentation in Info)
> echo Some text
>
>
> - `M-q' done on the second line will completely break the code:
>
> # display symbol definitions, as found in the relevant manual (for AWK, C,
> Emacs Lisp, and other languages that have documentation in Info) echo Some text
>
> See http://screencast.com/t/XGs10gmz0m2.
>
> Best regards,
> Seb
>
> In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
> of 2013-10-19 on LEG570
> Bzr revision: 114715 rgm@HIDDEN
> Windowing system distributor `Microsoft Corp.', version 6.2.9200
> Configured using:
> `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'
>
> Major mode: Shell-script
X-Loop: help-debbugs@HIDDEN
Subject: bug#16655: 24.3.50; M-q on a command line does mix up commands and comments
References: <86fvnxa5tf.fsf@HIDDEN>
In-Reply-To: <86fvnxa5tf.fsf@HIDDEN>
Resent-From: Stefan Kangas <stefan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 26 Sep 2019 12:56:02 +0000
Resent-Message-ID: <handler.16655.B16655.156950253527108 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 16655
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Marcin Borkowski <mbork@HIDDEN>
Cc: 16655 <at> debbugs.gnu.org
Received: via spool by 16655-submit <at> debbugs.gnu.org id=B16655.156950253527108
(code B ref 16655); Thu, 26 Sep 2019 12:56:02 +0000
Received: (at 16655) by debbugs.gnu.org; 26 Sep 2019 12:55:35 +0000
Received: from localhost ([127.0.0.1]:42918 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1iDTJ1-00073A-2S
for submit <at> debbugs.gnu.org; Thu, 26 Sep 2019 08:55:35 -0400
Received: from mail-pf1-f176.google.com ([209.85.210.176]:46778)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <stefankangas@HIDDEN>) id 1iDTIz-00072x-BV
for 16655 <at> debbugs.gnu.org; Thu, 26 Sep 2019 08:55:33 -0400
Received: by mail-pf1-f176.google.com with SMTP id q5so1766051pfg.13
for <16655 <at> debbugs.gnu.org>; Thu, 26 Sep 2019 05:55:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc;
bh=AzXb/LAE849bcy/ya3sAIwn3OWOL7UoC32PHVC9ir/c=;
b=JN4WT2j+xF4AhCsIWnC7vHlo38wUGKzGPlvoyRZoHhdHls9G7Lpgutq1mgPQidIIcA
/HwIoB0ZcTDfMu0K5jkcQqPj2P07gOMZFxFuaVgsUTEcVglja7ACz47VRZ3eSTw00R8Z
2K88wfLvpRXnNi4bxRJ0XMg/HOXur/D71rPv6adMhYN1ijmfGYVYrDZpZlvIk5E+4aOu
HxfgsswNNeCvauERiuWRQgPRz+VUKS+A0/71ugKTQdX0Ga9uti+VEzCVRg8aVoohf9b0
Ft/QFNEgY1TtinHkKxI1ZIL7JBMj7mnYj3woAssXTuvZirw3AgPMyHZbRpyXggh7fQnp
bIoA==
X-Gm-Message-State: APjAAAVyMGmWxf9xbQ4pr4YTkUth5iV2n15SmvErKrA8Y7QXNFvF+B53
/oCGbqhbixLOcoE3smH3Cz52MrHuPdYr60YYV8oGRsc6/Is=
X-Google-Smtp-Source: APXvYqzOBPLSByzoYzBU1Oc0A4SAoefPe86iaFypZK/eVsKN/3PPxxujusl8OPvsaiUrcq2G5cuuYInEc0jQAwajFv8=
X-Received: by 2002:a17:90b:8d1:: with SMTP id
ds17mr3505795pjb.106.1569502526630;
Thu, 26 Sep 2019 05:55:26 -0700 (PDT)
MIME-Version: 1.0
From: Stefan Kangas <stefan@HIDDEN>
Date: Thu, 26 Sep 2019 14:55:15 +0200
Message-ID: <CADwFkmmXPWx9EPZ35+ZHV7sDTYNY9Tks=eJ-MvZSUt_C4bA_Bw@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.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: -0.7 (/)
tags 16655 + confirmed
found 16655 25.1
found 16655 26.1
quit
Marcin Borkowski <mbork@HIDDEN> writes:
> I'm writing to confirm that this is still present in GNU Emacs
> 25.1.50.1. To make it a bit more precise: the OP means M-q with point
> on either the 3rd line of the script (i.e., the line beginning with "#
> display"), which works fine, and then M-q on the fourth line (i.e., the
> line beginning with "echo"), which breaks as described below.
[...]
>> With such a shell script file:
>>
>> #!/bin/sh
>>
>> # display symbol definitions, as found in the relevant manual (for AWK, C, Emacs Lisp, and other languages that have documentation in Info)
>> echo Some text
>>
>>
>> We can observe that:
>>
>> - `M-q' done on the first line will correctly refill the comment into
>> 2 lines
>>
>> # display symbol definitions, as found in the relevant manual (for AWK, C,
>> # Emacs Lisp, and other languages that have documentation in Info)
>> echo Some text
>>
>>
>> - `M-q' done on the second line will completely break the code:
>>
>> # display symbol definitions, as found in the relevant manual (for AWK, C,
>> Emacs Lisp, and other languages that have documentation in Info) echo Some text
>>
>> See http://screencast.com/t/XGs10gmz0m2.
I can reproduce this on Emacs 26.1 and current master.
Best regards,
Stefan Kangas
Received: (at control) by debbugs.gnu.org; 26 Sep 2019 12:55:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 26 08:55:38 2019 Received: from localhost ([127.0.0.1]:42921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iDTJ4-00073Q-DM for submit <at> debbugs.gnu.org; Thu, 26 Sep 2019 08:55:38 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:39287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1iDTJ2-00072w-9o for control <at> debbugs.gnu.org; Thu, 26 Sep 2019 08:55:36 -0400 Received: by mail-pg1-f171.google.com with SMTP id o10so1535682pgs.6 for <control <at> debbugs.gnu.org>; Thu, 26 Sep 2019 05:55:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=AzXb/LAE849bcy/ya3sAIwn3OWOL7UoC32PHVC9ir/c=; b=GrOSWURN4YF7zHRtzuUD+puzAtXIF+R5RPVJUQq0SHQnUEkAeFytF+zLCGT2FUYHbm 1QZWuY7uU4doN8Oe2031RBTq9NQZmqV7y+ubazGB41KdFHfClSW9dMuYym0gUTw3w9Yy YCyW2DKV5bsNOj/H4hDmr4BdsvfuGFl2hCDS90nuMrCxK9jcCDuC3n/4steMAlUSkquv hBES3iE8a/KiehUILbWUgmreWjvz7ISJ3xSPDGxpZ93fq67jyFzLYSgcSaahZzb2dmwZ CRW/q1YzpoOeIb8QAwbVQ507PD7Z6frKEr2hBsyb3v2pbf6+lkLoBz1cnAYRQHverqDK qtLw== X-Gm-Message-State: APjAAAVBqN6v+nCIHJ1ehs8pLNLvy7msg7GmAYPAGFW4jpozbPrx0kYh ZBmCEzCbcCOyXz3T/tWbdeIusYgrn2c8Mq5UdPY= X-Google-Smtp-Source: APXvYqzOBPLSByzoYzBU1Oc0A4SAoefPe86iaFypZK/eVsKN/3PPxxujusl8OPvsaiUrcq2G5cuuYInEc0jQAwajFv8= X-Received: by 2002:a17:90b:8d1:: with SMTP id ds17mr3505795pjb.106.1569502526630; Thu, 26 Sep 2019 05:55:26 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas <stefan@HIDDEN> Date: Thu, 26 Sep 2019 14:55:15 +0200 Message-ID: <CADwFkmmXPWx9EPZ35+ZHV7sDTYNY9Tks=eJ-MvZSUt_C4bA_Bw@HIDDEN> Subject: Re: bug#16655: 24.3.50; M-q on a command line does mix up commands and comments To: Marcin Borkowski <mbork@HIDDEN> Content-Type: text/plain; charset="UTF-8" Bcc: control <at> debbugs.gnu.org X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: control Cc: 16655 <at> debbugs.gnu.org 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: -0.7 (/) tags 16655 + confirmed found 16655 25.1 found 16655 26.1 quit Marcin Borkowski <mbork@HIDDEN> writes: > I'm writing to confirm that this is still present in GNU Emacs > 25.1.50.1. To make it a bit more precise: the OP means M-q with point > on either the 3rd line of the script (i.e., the line beginning with "# > display"), which works fine, and then M-q on the fourth line (i.e., the > line beginning with "echo"), which breaks as described below. [...] >> With such a shell script file: >> >> #!/bin/sh >> >> # display symbol definitions, as found in the relevant manual (for AWK, C, Emacs Lisp, and other languages that have documentation in Info) >> echo Some text >> >> >> We can observe that: >> >> - `M-q' done on the first line will correctly refill the comment into >> 2 lines >> >> # display symbol definitions, as found in the relevant manual (for AWK, C, >> # Emacs Lisp, and other languages that have documentation in Info) >> echo Some text >> >> >> - `M-q' done on the second line will completely break the code: >> >> # display symbol definitions, as found in the relevant manual (for AWK, C, >> Emacs Lisp, and other languages that have documentation in Info) echo Some text >> >> See http://screencast.com/t/XGs10gmz0m2. I can reproduce this on Emacs 26.1 and current master. Best regards, Stefan Kangas
Received: (at control) by debbugs.gnu.org; 26 Sep 2019 12:55:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 26 08:55:38 2019 Received: from localhost ([127.0.0.1]:42921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iDTJ4-00073Q-DM for submit <at> debbugs.gnu.org; Thu, 26 Sep 2019 08:55:38 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:39287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1iDTJ2-00072w-9o for control <at> debbugs.gnu.org; Thu, 26 Sep 2019 08:55:36 -0400 Received: by mail-pg1-f171.google.com with SMTP id o10so1535682pgs.6 for <control <at> debbugs.gnu.org>; Thu, 26 Sep 2019 05:55:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=AzXb/LAE849bcy/ya3sAIwn3OWOL7UoC32PHVC9ir/c=; b=GrOSWURN4YF7zHRtzuUD+puzAtXIF+R5RPVJUQq0SHQnUEkAeFytF+zLCGT2FUYHbm 1QZWuY7uU4doN8Oe2031RBTq9NQZmqV7y+ubazGB41KdFHfClSW9dMuYym0gUTw3w9Yy YCyW2DKV5bsNOj/H4hDmr4BdsvfuGFl2hCDS90nuMrCxK9jcCDuC3n/4steMAlUSkquv hBES3iE8a/KiehUILbWUgmreWjvz7ISJ3xSPDGxpZ93fq67jyFzLYSgcSaahZzb2dmwZ CRW/q1YzpoOeIb8QAwbVQ507PD7Z6frKEr2hBsyb3v2pbf6+lkLoBz1cnAYRQHverqDK qtLw== X-Gm-Message-State: APjAAAVBqN6v+nCIHJ1ehs8pLNLvy7msg7GmAYPAGFW4jpozbPrx0kYh ZBmCEzCbcCOyXz3T/tWbdeIusYgrn2c8Mq5UdPY= X-Google-Smtp-Source: APXvYqzOBPLSByzoYzBU1Oc0A4SAoefPe86iaFypZK/eVsKN/3PPxxujusl8OPvsaiUrcq2G5cuuYInEc0jQAwajFv8= X-Received: by 2002:a17:90b:8d1:: with SMTP id ds17mr3505795pjb.106.1569502526630; Thu, 26 Sep 2019 05:55:26 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas <stefan@HIDDEN> Date: Thu, 26 Sep 2019 14:55:15 +0200 Message-ID: <CADwFkmmXPWx9EPZ35+ZHV7sDTYNY9Tks=eJ-MvZSUt_C4bA_Bw@HIDDEN> Subject: Re: bug#16655: 24.3.50; M-q on a command line does mix up commands and comments To: Marcin Borkowski <mbork@HIDDEN> Content-Type: text/plain; charset="UTF-8" Bcc: control <at> debbugs.gnu.org X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: control Cc: 16655 <at> debbugs.gnu.org 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: -0.7 (/) tags 16655 + confirmed found 16655 25.1 found 16655 26.1 quit Marcin Borkowski <mbork@HIDDEN> writes: > I'm writing to confirm that this is still present in GNU Emacs > 25.1.50.1. To make it a bit more precise: the OP means M-q with point > on either the 3rd line of the script (i.e., the line beginning with "# > display"), which works fine, and then M-q on the fourth line (i.e., the > line beginning with "echo"), which breaks as described below. [...] >> With such a shell script file: >> >> #!/bin/sh >> >> # display symbol definitions, as found in the relevant manual (for AWK, C, Emacs Lisp, and other languages that have documentation in Info) >> echo Some text >> >> >> We can observe that: >> >> - `M-q' done on the first line will correctly refill the comment into >> 2 lines >> >> # display symbol definitions, as found in the relevant manual (for AWK, C, >> # Emacs Lisp, and other languages that have documentation in Info) >> echo Some text >> >> >> - `M-q' done on the second line will completely break the code: >> >> # display symbol definitions, as found in the relevant manual (for AWK, C, >> Emacs Lisp, and other languages that have documentation in Info) echo Some text >> >> See http://screencast.com/t/XGs10gmz0m2. I can reproduce this on Emacs 26.1 and current master. Best regards, Stefan Kangas
Received: (at control) by debbugs.gnu.org; 26 Sep 2019 12:55:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 26 08:55:38 2019 Received: from localhost ([127.0.0.1]:42921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iDTJ4-00073Q-DM for submit <at> debbugs.gnu.org; Thu, 26 Sep 2019 08:55:38 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:39287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1iDTJ2-00072w-9o for control <at> debbugs.gnu.org; Thu, 26 Sep 2019 08:55:36 -0400 Received: by mail-pg1-f171.google.com with SMTP id o10so1535682pgs.6 for <control <at> debbugs.gnu.org>; Thu, 26 Sep 2019 05:55:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=AzXb/LAE849bcy/ya3sAIwn3OWOL7UoC32PHVC9ir/c=; b=GrOSWURN4YF7zHRtzuUD+puzAtXIF+R5RPVJUQq0SHQnUEkAeFytF+zLCGT2FUYHbm 1QZWuY7uU4doN8Oe2031RBTq9NQZmqV7y+ubazGB41KdFHfClSW9dMuYym0gUTw3w9Yy YCyW2DKV5bsNOj/H4hDmr4BdsvfuGFl2hCDS90nuMrCxK9jcCDuC3n/4steMAlUSkquv hBES3iE8a/KiehUILbWUgmreWjvz7ISJ3xSPDGxpZ93fq67jyFzLYSgcSaahZzb2dmwZ CRW/q1YzpoOeIb8QAwbVQ507PD7Z6frKEr2hBsyb3v2pbf6+lkLoBz1cnAYRQHverqDK qtLw== X-Gm-Message-State: APjAAAVBqN6v+nCIHJ1ehs8pLNLvy7msg7GmAYPAGFW4jpozbPrx0kYh ZBmCEzCbcCOyXz3T/tWbdeIusYgrn2c8Mq5UdPY= X-Google-Smtp-Source: APXvYqzOBPLSByzoYzBU1Oc0A4SAoefPe86iaFypZK/eVsKN/3PPxxujusl8OPvsaiUrcq2G5cuuYInEc0jQAwajFv8= X-Received: by 2002:a17:90b:8d1:: with SMTP id ds17mr3505795pjb.106.1569502526630; Thu, 26 Sep 2019 05:55:26 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas <stefan@HIDDEN> Date: Thu, 26 Sep 2019 14:55:15 +0200 Message-ID: <CADwFkmmXPWx9EPZ35+ZHV7sDTYNY9Tks=eJ-MvZSUt_C4bA_Bw@HIDDEN> Subject: Re: bug#16655: 24.3.50; M-q on a command line does mix up commands and comments To: Marcin Borkowski <mbork@HIDDEN> Content-Type: text/plain; charset="UTF-8" Bcc: control <at> debbugs.gnu.org X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: control Cc: 16655 <at> debbugs.gnu.org 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: -0.7 (/) tags 16655 + confirmed found 16655 25.1 found 16655 26.1 quit Marcin Borkowski <mbork@HIDDEN> writes: > I'm writing to confirm that this is still present in GNU Emacs > 25.1.50.1. To make it a bit more precise: the OP means M-q with point > on either the 3rd line of the script (i.e., the line beginning with "# > display"), which works fine, and then M-q on the fourth line (i.e., the > line beginning with "echo"), which breaks as described below. [...] >> With such a shell script file: >> >> #!/bin/sh >> >> # display symbol definitions, as found in the relevant manual (for AWK, C, Emacs Lisp, and other languages that have documentation in Info) >> echo Some text >> >> >> We can observe that: >> >> - `M-q' done on the first line will correctly refill the comment into >> 2 lines >> >> # display symbol definitions, as found in the relevant manual (for AWK, C, >> # Emacs Lisp, and other languages that have documentation in Info) >> echo Some text >> >> >> - `M-q' done on the second line will completely break the code: >> >> # display symbol definitions, as found in the relevant manual (for AWK, C, >> Emacs Lisp, and other languages that have documentation in Info) echo Some text >> >> See http://screencast.com/t/XGs10gmz0m2. I can reproduce this on Emacs 26.1 and current master. Best regards, Stefan Kangas
Received: (at control) by debbugs.gnu.org; 26 Sep 2019 13:01:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 26 09:01:47 2019
Received: from localhost ([127.0.0.1]:42931 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1iDTP1-0000Ex-IS
for submit <at> debbugs.gnu.org; Thu, 26 Sep 2019 09:01:47 -0400
Received: from mail-pl1-f175.google.com ([209.85.214.175]:43930)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <stefankangas@HIDDEN>) id 1iDTOz-00007U-2y
for control <at> debbugs.gnu.org; Thu, 26 Sep 2019 09:01:46 -0400
Received: by mail-pl1-f175.google.com with SMTP id f21so1039735plj.10
for <control <at> debbugs.gnu.org>; Thu, 26 Sep 2019 06:01:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=qZa36CPtrRrdOGJA9J36DrWGHXn/SB/MB1865NlZCh4=;
b=TfB1JtBOfbiINxlokEXbM4sUsmBMzkJuOXMsHiqIKx4eC44G2yMzXJTignUWQwME/e
DDv2xDpJzjyw1inzfgPCjXv6JIaMAlpa/i6l2TOE1KSBjJGBle+dX7t7YqZpQ34iw2pl
2ejEgPfPQmhU+Q7xcv66YWm3wa8uaGJpNo3i+7GTywq9bVaDp6xU6lr9UXZDV+9wJtHd
D4oIpjNlHYjicLfdtqptsm4VO6Dghd61VCbGD7W4ztiDGKhoNOZCN8AhYvTNziD4Qd2X
mAyBZq3HMNLIzi8dwFVBTyV9rtKb4lpn70ul/uHS6AnfaI8LLICEoknFdErH71rlMXfM
MkQg==
X-Gm-Message-State: APjAAAUFcZrSZ3MkBM4myuRPt7yQ9ltU0k6ngtNga+y/pgVwbhDGHnhy
k+zw3TLQObcdlVT9o7A+MgUwuqy2aByEGLIH4aNW69R1
X-Google-Smtp-Source: APXvYqxEkVP8sC+ojdemTZ025xQZT/fG42WBMt7M7kKWQeF+Z7nR1O26n+QDCPxbDq2mck1q/+NR9AXkBLMAxHUqxxs=
X-Received: by 2002:a17:902:326:: with SMTP id
35mr4208133pld.128.1569502897001;
Thu, 26 Sep 2019 06:01:37 -0700 (PDT)
MIME-Version: 1.0
From: Stefan Kangas <stefan@HIDDEN>
Date: Thu, 26 Sep 2019 15:01:25 +0200
Message-ID: <CADwFkm=PeA7dgRVWcEQ-_Bt9kF-Eni1uhGbZwP3eKax4oY52iA@HIDDEN>
Subject:
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 2.3 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: severity 16655 minor quit
Content analysis details: (2.3 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
mail domains are different
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (stefankangas[at]gmail.com)
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust [209.85.214.175 listed in list.dnswl.org]
0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
EnvelopeFrom freemail headers are different
2.0 BLANK_SUBJECT Subject is present but empty
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.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: severity 16655 minor quit
Content analysis details: (1.3 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust
[209.85.214.175 listed in list.dnswl.org]
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
mail domains are different
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (stefankangas[at]gmail.com)
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
EnvelopeFrom freemail headers are
different
2.0 BLANK_SUBJECT Subject is present but empty
-1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list
manager
severity 16655 minor
quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.