[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Lost syntax highlighting - how to diagnose?
From: |
Chris Green |
Subject: |
Re: [vile] Lost syntax highlighting - how to diagnose? |
Date: |
Sun, 5 Feb 2012 18:33:33 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Feb 05, 2012 at 01:24:41PM -0500, Thomas Dickey wrote:
> On Sun, Feb 05, 2012 at 06:09:51PM +0000, Chris Green wrote:
> > I've just noticed that I've lost my syntax colour highlighting, it was
> > certainly working a few weeks ago and I'm really not sure what has
> > changed to stop it from working.
> >
> > I haven't changed my .vilerc file and that contains:-
> >
> > source /usr/share/vile/filters.rc
> > setv $autocolor-hook HighlightFilter
> > setv $read-hook HighlightFilter
> > set autocolor=500
> > set bcolor=default
> >
> > The show-colors command shows coloured text, so the display can show
> > color (in both vile and xvile).
> >
> > I'm not getting any errors when I start vile/xvile. The correct mode is
> > being shown in the status line when I edit files.
> >
> > This is vile 9.8 with patches up to 9.8f on xubuntu 11.10.
> >
> > Help! What have I done?
>
> I don't see it "here" (Debian 5.0), with just 9.8f and that .vilerc
>
No, it's a "built by me" vile. By "I haven't changed my .vilerc" I mean
that I haven't changed it since the colours stopped working.
> One possibility is that your filters are external (separate programs
> rather than built-in or loadable) and that there is something amiss
> with your shell initialization which is preventing them from running.
>
That sounds quite possible. How would I tell? The filters are in
/usr/lib/vile and appear to be as one would expect:-
-rw-r--r-- 1 root root 18456 2011-05-09 12:08 vile-bat-filt.so
-rw-r--r-- 1 root root 14264 2011-05-09 12:08 vile-bnf-filt.so
-rw-r--r-- 1 root root 14296 2011-05-09 12:08 vile-c-filt.so
-rw-r--r-- 1 root root 14264 2011-05-09 12:08 vile-cfg-filt.so
-rw-r--r-- 1 root root 18424 2011-05-09 12:08 vile-conf-filt.so
etc.
> The show-colors command does not use filters.
>
No, I was just saying that to confirm that my display works OK with
vile.
--
Chris Green