Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 295656

Summary: dev-lisp/clisp-2.47-r1: Vim's internal encoding altered in Vim syntax file
Product: Gentoo Linux Reporter: Mads N Noe <mntnoe>
Component: Current packagesAssignee: Common Lisp Bugs <common-lisp>
Status: RESOLVED OBSOLETE    
Severity: normal CC: alunduil
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to apply to source to get requested behaviour.
Updated ebuild to apply the vim-syntax patch.

Description Mads N Noe 2009-12-04 13:10:17 UTC
The file /usr/share/vim/vimfiles/after/syntax/lisp.vim contains the line

set enc=utf-8

which changes the internal encoding of Vim. This gives problems on system that does not use utf-8 as the system encoding. The solution is probably to use 'fenc' instead of 'enc', which sets the encoding of the file.

Reproducible: Always

Steps to Reproduce:
1. Change system encoding to Latin-1
2. Open a Lisp-file in Vim


Actual Results:  
Non-ascii characters are not recognized correctly, nor are meta-bindings if your meta key sets the 8th bit in your terminal.
Comment 1 Alex Brandt (RETIRED) gentoo-dev 2009-12-18 20:45:02 UTC
Created attachment 213416 [details, diff]
Patch to apply to source to get requested behaviour.
Comment 2 Alex Brandt (RETIRED) gentoo-dev 2009-12-18 20:45:55 UTC
Created attachment 213418 [details]
Updated ebuild to apply the vim-syntax patch.

Applies the vim-syntax patch to source before building.
Comment 3 Alex Brandt (RETIRED) gentoo-dev 2014-08-30 21:01:29 UTC
Looks like this ebuild has been superseded by newer versions.  If this is still an issue, let us know and we'll get this change submitted to the ebuild; otherwise, I'd like to close this issue within a week or two.

If I don't hear anything by September 13, I'll assume that it's no longer an issue and close this bug as invalid.