About: Helpfiles and avoiding E21 error with fileencoding   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

to this: " 'nomodifiable' disallows changes to 'fileformat' and 'fileencoding' so remove those entries in the else clause function! Noma_workaround() if exists("modifiable") set tw=77 ai nocindent fileencoding=iso-8859-1 else set tw=77 ai nocindent endif endfunction au BufNewFile,BufRead mutt*,*.txt,*/.followup call Noma_workaround() In short this just mean that I call the Noma_workaround() function to determine if I can set the fileencoding or if that will give an error. In that case I jsut set the other options.

AttributesValues
rdfs:label
  • Helpfiles and avoiding E21 error with fileencoding
rdfs:comment
  • to this: " 'nomodifiable' disallows changes to 'fileformat' and 'fileencoding' so remove those entries in the else clause function! Noma_workaround() if exists("modifiable") set tw=77 ai nocindent fileencoding=iso-8859-1 else set tw=77 ai nocindent endif endfunction au BufNewFile,BufRead mutt*,*.txt,*/.followup call Noma_workaround() In short this just mean that I call the Noma_workaround() function to determine if I can set the fileencoding or if that will give an error. In that case I jsut set the other options.
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 725(xsd:integer)
Author
  • Øystein Urdahl
Complexity
  • intermediate
Created
  • 2004(xsd:integer)
ID
  • 727(xsd:integer)
NEXT
  • 732(xsd:integer)
Rating
  • 5(xsd:integer)
abstract
  • to this: " 'nomodifiable' disallows changes to 'fileformat' and 'fileencoding' so remove those entries in the else clause function! Noma_workaround() if exists("modifiable") set tw=77 ai nocindent fileencoding=iso-8859-1 else set tw=77 ai nocindent endif endfunction au BufNewFile,BufRead mutt*,*.txt,*/.followup call Noma_workaround() In short this just mean that I call the Noma_workaround() function to determine if I can set the fileencoding or if that will give an error. In that case I jsut set the other options.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software