* bug#16655: 24.3.50; M-q on a command line does mix up commands and comments
@ 2014-02-05 16:21 Sebastien Vauban
2016-02-04 21:00 ` Marcin Borkowski
2019-09-26 12:55 ` Stefan Kangas
0 siblings, 2 replies; 3+ messages in thread
From: Sebastien Vauban @ 2014-02-05 16:21 UTC (permalink / raw)
To: 16655-ubl+/3LiMTaZdePnXv/OxA
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-x6JLEaVhGFkNw6h1NtkvECqmqeMGuyxdQETtYUhojtICr7SwMAFdKQ@public.gmane.org
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#16655: 24.3.50; M-q on a command line does mix up commands and comments
2014-02-05 16:21 bug#16655: 24.3.50; M-q on a command line does mix up commands and comments Sebastien Vauban
@ 2016-02-04 21:00 ` Marcin Borkowski
2019-09-26 12:55 ` Stefan Kangas
1 sibling, 0 replies; 3+ messages in thread
From: Marcin Borkowski @ 2016-02-04 21:00 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: 16655
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@mygooglest.com> 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@gnu.org-20131019023520-s8mwtib7xcx9e05w
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#16655: 24.3.50; M-q on a command line does mix up commands and comments
2014-02-05 16:21 bug#16655: 24.3.50; M-q on a command line does mix up commands and comments Sebastien Vauban
2016-02-04 21:00 ` Marcin Borkowski
@ 2019-09-26 12:55 ` Stefan Kangas
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2019-09-26 12:55 UTC (permalink / raw)
To: Marcin Borkowski; +Cc: 16655
tags 16655 + confirmed
found 16655 25.1
found 16655 26.1
quit
Marcin Borkowski <mbork@mbork.pl> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-26 12:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 16:21 bug#16655: 24.3.50; M-q on a command line does mix up commands and comments Sebastien Vauban
2016-02-04 21:00 ` Marcin Borkowski
2019-09-26 12:55 ` Stefan Kangas
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.