Bug#309859: marked as done (please add simple patch for automatic lua syntax highlighting)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 21 May 2005 09:48:14 -0700

Your message dated Sat, 21 May 2005 12:32:44 -0400
with message-id <E1DZWu4-0001pK-00@newraff.debian.org>
and subject line Bug#309859: fixed in vim 1:6.3-072+1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 20 May 2005 04:41:03 +0000
>From greg.orlowski@gmail.com Thu May 19 21:41:03 2005
Return-path: <greg.orlowski@gmail.com>
Received: from rproxy.gmail.com [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DYzJn-0001HS-00; Thu, 19 May 2005 21:41:03 -0700
Received: by rproxy.gmail.com with SMTP id b11so356908rne
        for <submit@bugs.debian.org>; Thu, 19 May 2005 21:41:02 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
Received: by with SMTP id c3mr1542760rne;
        Thu, 19 May 2005 21:41:02 -0700 (PDT)
Received: by with HTTP; Thu, 19 May 2005 21:41:02 -0700 (PDT)
Message-ID: <4c60c79205051921413080dc7b@mail.gmail.com>
Date: Fri, 20 May 2005 00:41:02 -0400
From: Greg Orlowski <greg.orlowski@gmail.com>
Reply-To: Greg Orlowski <greg.orlowski@gmail.com>
To: submit@bugs.debian.org
Subject: please add simple patch for automatic lua syntax highlighting
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: vim-common
Version: 6.3-071+1

The current scripts.vim file (/usr/share/vim/vim63/scripts.vim), which
is used to detect a script's filetype when vim is launched, has no
entry for the lua language.

Here's the entry for perl (lines 89,91 in my file):

    " Perl
  elseif s:name =3D~ 'perl'
    set ft=3Dperl=20
Please add an entry like this for lua. The names are SOMEWHAT
alphabetized, but not really, so you can add it directly before perl
if you want.

"""""------CLIP (Here's the entry I added, just add the below 3 lines
        " Lua
  elseif s:name =3D~ 'lua'
    set ft=3Dlua

When this entry is added, syntax highlighting is automatically
detected for scripts that have something like:


as the shebang line. The lua.vim syntax highlighting definition file
already exists in the /syntax directory, but without the above entry
in scripts.vim, the filetype has to be set manually in vim for syntax
highlighting to work properly.

-Greg Orlowski

Received: (at 309859-close) by bugs.debian.org; 21 May 2005 16:42:49 +0000
>From katie@ftp-master.debian.org Sat May 21 09:42:49 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DZX3p-0001Kb-00; Sat, 21 May 2005 09:42:49 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DZWu4-0001pK-00; Sat, 21 May 2005 12:32:44 -0400
From: Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
To: 309859-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#309859: fixed in vim 1:6.3-072+1
Message-Id: <E1DZWu4-0001pK-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 21 May 2005 12:32:44 -0400
Delivered-To: 309859-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: vim
Source-Version: 1:6.3-072+1

We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive:

  to pool/main/v/vim/vim-common_6.3-072+1_all.deb
  to pool/main/v/vim/vim-doc_6.3-072+1_all.deb
  to pool/main/v/vim/vim-full_6.3-072+1_i386.deb
  to pool/main/v/vim/vim-gnome_6.3-072+1_i386.deb
  to pool/main/v/vim/vim-gtk_6.3-072+1_i386.deb
  to pool/main/v/vim/vim-lesstif_6.3-072+1_i386.deb
  to pool/main/v/vim/vim-perl_6.3-072+1_i386.deb
  to pool/main/v/vim/vim-python_6.3-072+1_i386.deb
  to pool/main/v/vim/vim-ruby_6.3-072+1_i386.deb
  to pool/main/v/vim/vim-tcl_6.3-072+1_i386.deb
  to pool/main/v/vim/vim_6.3-072+1.diff.gz
  to pool/main/v/vim/vim_6.3-072+1.dsc
  to pool/main/v/vim/vim_6.3-072+1_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 309859@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> (supplier of updated vim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Fri, 20 May 2005 20:41:35 +0200
Source: vim
Binary: vim-full vim-lesstif vim-common vim-doc vim-gnome vim vim-gtk vim-perl vim-tiny vim-ruby vim-python vim-tcl
Architecture: source i386 all
Version: 1:6.3-072+1
Distribution: unstable
Urgency: high
Maintainer: Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Changed-By: Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 vim        - Vi IMproved - enhanced vi editor
 vim-common - Vi IMproved - Common files
 vim-doc    - Vi IMproved - Documentation files
 vim-full   - Vi IMproved - full fledged version of the enhanced vi editor
 vim-gnome  - Vi IMproved - GNOME2 Version
 vim-gtk    - Vi IMproved - GTK2 Version
 vim-lesstif - Vi IMproved - LessTif Version
 vim-perl   - Vi IMproved, with perl scripting support
 vim-python - Vi IMproved, with python scripting support
 vim-ruby   - Vi IMproved, with ruby scripting support
 vim-tcl    - Vi IMproved, with tcl scripting support
Closes: 309859
 vim (1:6.3-072+1) unstable; urgency=high
   * New upstream patch (072), see README.gz for details.
   * James Vega <jamessan@jamessan.com>
     + Updated patch 125_gzip.vim.diff to match upstream's vim7 patch.
       Removed compression detection for FileAppendPre since there's no good
       way to retrieve the necessary information.
     + Added patch 127_scripts.vim.diff, makes Vim automatically set the proper
       filetype when editing lua scripts.  The patch also enables recognition
       of "#!/usr/bin/env xxx" hashbang lines.  (closes: #309859)
 9b15e592e380ce6495eea379e8a66701 1369 editors optional vim_6.3-072+1.dsc
 106ca751ff5fe2485fa008481dc55a58 273267 editors optional vim_6.3-072+1.diff.gz
 7980a88e8a7e816b30dd56612ea98663 1649972 editors optional vim-doc_6.3-072+1_all.deb
 89a52f56958336f61702a5e3650ef3a4 3424604 editors optional vim-common_6.3-072+1_all.deb
 532984f0caa815d9cc7a54d8a5827309 715166 editors optional vim_6.3-072+1_i386.deb
 1c277ec2adb7548e9d91d97deac485ef 732714 editors extra vim-perl_6.3-072+1_i386.deb
 f32ff03ee4b9b74a0d7d7951fc22b57d 724756 editors extra vim-python_6.3-072+1_i386.deb
 0270c4fb73faf6d3fa07a3c5b86074e0 720666 editors extra vim-ruby_6.3-072+1_i386.deb
 ae39f256d6a3cbcbea31b8395dfa2e69 724402 editors extra vim-tcl_6.3-072+1_i386.deb
 29ebefebf1e4f0af46dd2d2d370ed802 716808 editors extra vim-gtk_6.3-072+1_i386.deb
 743da41b8d64dd00522eae1b047de6d8 659592 editors extra vim-lesstif_6.3-072+1_i386.deb
 04f2b6adc126d82dc38f47aad80c29bc 718894 editors extra vim-gnome_6.3-072+1_i386.deb
 ed9d1c69150154961fd1228fed8b9b8f 753826 editors extra vim-full_6.3-072+1_i386.deb

Version: GnuPG v1.4.1 (GNU/Linux)