From nobody@FreeBSD.org  Mon Feb 25 20:39:52 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 7826C37B41A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 25 Feb 2002 20:39:52 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1Q4dq449409;
	Mon, 25 Feb 2002 20:39:52 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202260439.g1Q4dq449409@freefall.freebsd.org>
Date: Mon, 25 Feb 2002 20:39:52 -0800 (PST)
From: Hendrik Scholz <hendrik@scholz.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: send-pr(1) vim syntax highlighting support (patch)
X-Send-Pr-Version: www-1.0

>Number:         35333
>Category:       bin
>Synopsis:       send-pr(1) vim syntax highlighting support (patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 25 20:40:01 PST 2002
>Closed-Date:    Mon Oct 24 01:36:38 GMT 2005
>Last-Modified:  Mon Oct 24 01:36:38 GMT 2005
>Originator:     Hendrik Scholz
>Release:        5.0 -current on x86
>Organization:
private
>Environment:
FreeBSD deimos.raisdorf.net 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Tue Feb 19 12:17:09 EST 2002     hscholz@deimos.raisdorf.net:/usr/src/sys/i386/compile/DEIMOS5  i386
   
>Description:
This patch adds vim syntax highlighting support to the send-pr(1) utility.
It is quite simple and needs the syntax/send-pr.vim file for vim which I have send to the Vim team some minutes ago. Meanwhile you might grab the file at http://www.raisdorf.net/files/FreeBSD/send-pr.vim.

It might be useful to add the vim line only if $EDITOR can handle it.


>How-To-Repeat:

>Fix:
--- send-pr.sh.orig	Tue Feb 26 15:26:26 2002
+++ send-pr.sh	Tue Feb 26 15:27:01 2002
@@ -299,6 +299,8 @@
     for file in $TEMP $REF ; do
       cat  > $file << '__EOF__'
 SEND-PR: -*- send-pr -*-
+SEND-PR: vim: syntax=send-pr (needed for vim syntax highlighting)
+SEND-PR: 
 SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
 SEND-PR: will all comments (text enclosed in `<' and `>').
 SEND-PR:
   
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->suspended 
State-Changed-By: dd 
State-Changed-When: Fri Mar 8 20:09:04 PST 2002 
State-Changed-Why:  
This sounds like a good idea, but I'd like to hold off making this 
change until the vim guys have accepted your send-pr.vim file.  I 
looked at the CVS repository on sourceforge, and it doesn't appear to 
be there yet.  Once it gets there, I'll apply this patch. 

Thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35333 

From: Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: dd@freebsd.org, hendrik@scholz.net
Subject: Re: bin/35333 (send-pr(1) vim syntax highlighting support (patch))
Date: Sat, 23 Aug 2003 01:05:24 +0200

 > State-Changed-From-To: open->suspended
 > State-Changed-By: dd
 > State-Changed-When: Fri Mar 8 20:09:04 PST 2002
 > State-Changed-Why: 
 > This sounds like a good idea, but I'd like to hold off making this
 > change until the vim guys have accepted your send-pr.vim file.  I
 > looked at the CVS repository on sourceforge, and it doesn't appear to
 > be there yet.  Once it gets there, I'll apply this patch.
 
 Looks it was introduced Mar 25 2002:
 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/vim/vim/runtime/syntax/sendpr.vim
 
 
 -- 
 Pawe Maachowski
State-Changed-From-To: suspended->closed 
State-Changed-By: obrien 
State-Changed-When: Mon Oct 24 01:36:22 GMT 2005 
State-Changed-Why:  
committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35333 
>Unformatted:
