bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16655: 24.3.50; M-q on a command line does mix up commands and comme


From: Sebastien Vauban
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

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@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

-- 
Sebastien Vauban





reply via email to

[Prev in Thread] Current Thread [Next in Thread]