Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295656 - dev-lisp/clisp-2.47-r1: Vim's internal encoding altered in Vim syntax file
Summary: dev-lisp/clisp-2.47-r1: Vim's internal encoding altered in Vim syntax file
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-04 13:10 UTC by Mads N Noe
Modified: 2014-09-13 15:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to apply to source to get requested behaviour. (2.47-r1-vim-syntax.patch,364 bytes, patch)
2009-12-18 20:45 UTC, Alex Brandt (RETIRED)
Details | Diff
Updated ebuild to apply the vim-syntax patch. (clisp-2.47-r2.ebuild,4.18 KB, text/plain)
2009-12-18 20:45 UTC, Alex Brandt (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.