Bug#501441: tex: wrong reformatting of lines which contain a comment

martin f krafft madduck at debian.org
Tue Oct 7 11:50:12 UTC 2008


Package: vim-runtime
Version: 2:7.2.010-2
Severity: normal
File: vim-runtime

Given a paragraph like

  first line % some comment
  second line
  %third line
  fourth line

using gq to reformat will append the second line to the first, like
so:

  first line % some comment second line
  %third line
  fourth line

which is clearly wrong. The reformatting seems to honour lines
starting with a comment character, but not lines containing
a comment character.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim-runtime depends on:
ii  dpkg                          1.14.22    Debian package management system

Versions of packages vim-runtime recommends:
ii  vim                          2:7.2.010-2 Vi IMproved - enhanced vi editor
ii  vim-nox [vim]                2:7.2.010-2 Vi IMproved - enhanced vi editor

vim-runtime suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20081007/b9715d69/attachment.pgp 


More information about the pkg-vim-maintainers mailing list