From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: 16655-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#16655: 24.3.50; M-q on a command line does mix up commands and comments
Date: Wed, 05 Feb 2014 17:21:32 +0100 [thread overview]
Message-ID: <86fvnxa5tf.fsf@somewhere.org> (raw)
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
next reply other threads:[~2014-02-05 16:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-05 16:21 Sebastien Vauban [this message]
2016-02-04 21:00 ` bug#16655: 24.3.50; M-q on a command line does mix up commands and comments Marcin Borkowski
2019-09-26 12:55 ` Stefan Kangas
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=86fvnxa5tf.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=16655-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
/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.
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.