Bug#444411: tex: do not spellcheck acronmys

2007-09-28 Thread martin f krafft
retitle 11 tex: do not spellcheck acronyms
thanks

These two lines caters for all forms of \ac:

syn region texAcronym   matchgroup=texStatement 
start="\\ac\%(fi\|[fls]\=p\=\)\*\={"end="}\|%stopzone\>" [EMAIL 
PROTECTED]
syn region texAcronym   matchgroup=texStatement 
start="\\ac\%(used\|[ls]u\*\=\){"   end="}\|%stopzone\>" [EMAIL 
PROTECTED]

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  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


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Bug#444411: tex: do not spellcheck acronmys

2007-09-28 Thread martin f krafft
Package: vim-runtime
Version: 1:7.1-056+2
Severity: wishlist
Tags: patch

--- /tmp/tex.vim2007-09-28 12:14:44.0 +0100
+++ /usr/share/vim/vim71/syntax/tex.vim 2007-09-28 12:18:36.0 +0100
@@ -126,6 +126,7 @@
  syn cluster texParaGroup  contains=texSubParaZone
 endif
 syn cluster texURLGroupcontains=texMatcher,@NoSpell
+syn cluster texAcroGroup   contains=texMatcher,@NoSpell
 
 " Try to flag {} and () mismatches: {{{1
 if !exists("g:tex_no_error")
@@ -449,6 +450,9 @@
 syn region texURLZone  matchgroup=texStatement 
start="\\burl\%(alt\)\={"   end="}\|%stopzone\>"[EMAIL PROTECTED]
 syn region texURLZone  matchgroup=texStatement 
start="\\\%(link\|email\){" end="}\|%stopzone\>"[EMAIL PROTECTED]
 
+" Tex Acronyms: {{{1
+syn region texAcronym  matchgroup=texStatement start="\\ac[sl]\=p\={"  
end="}\|%stopzone\>"[EMAIL PROTECTED]
+
 " TeX Lengths: {{{1
 syn match  texLength   
"\<\d\+\([.,]\d\+\)\=\s*\(true\)\=\s*\(bp\|cc\|cm\|dd\|em\|ex\|in\|mm\|pc\|pt\|sp\)\>"
 
-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (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

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim-gtk  1:7.1-056+2 Vi IMproved - enhanced vi editor -
ii  vim-python   1:7.1-056+2 Vi IMproved - enhanced vi editor -

-- no debconf information


-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  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


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)