Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 185825 Details for
Bug 263333
app-editor/vim-core-7.2 and 7.2.108 aren't correctly configured to manage the fileencoding vim option
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch to correct the current vimrc-r3 version about the fileencoding issue
vim.etc_vim_vimrc.fileencoding.patch (text/plain), 658 bytes, created by
Grégoire Baron
on 2009-03-22 00:41:24 UTC
(
hide
)
Description:
A patch to correct the current vimrc-r3 version about the fileencoding issue
Filename:
MIME Type:
Creator:
Grégoire Baron
Created:
2009-03-22 00:41:24 UTC
Size:
658 bytes
patch
obsolete
>--- /etc/vim/vimrc 2009-03-14 18:44:15.000000000 +0100 >+++ /etc/vim/vimrc 2009-03-15 02:03:18.000000000 +0100 >@@ -169,6 +169,14 @@ > " :help crontab and bug #53437. > autocmd FileType crontab set backupcopy=yes > >+ " A file with only ASCII characters isn't necessarily a Unicode file (utf-8), >+ " but could be in the default encoding, except if a byte-order mark is found >+ " or was forced before. Empty files fileencoding is influenced too. >+ autocmd BufReadPost * >+ \ if &fileencoding == "utf-8" && ! &bomb && search('[\x80-\xFF]','w') == 0 | >+ \ set fileencoding=default | >+ \ endif >+ > augroup END > > endif " has("autocmd")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263333
:
185825
|
191706
|
191817