Error Detected report from vi(vim) **SOLVED**

Marius Gedminas marius at pov.lt
Wed Feb 2 07:54:19 UTC 2011


On Tue, Feb 01, 2011 at 04:50:02PM -0600, Jay Ridgley wrote:
> On 02/01/2011 12:13:59 +0200 Marius Gedminas wrote:
> >On Mon, Jan 31, 2011 at 05:52:42PM -0600, Jay Ridgley wrote:
> >>> One of the systems that I recently upgraded to 10.04.1LTS has begun
> >>> to report the following at start up:
> >>>
> >>> Error detected while processing /usr/share/vim/vim72/debian.vim:
> >>> line   42:
> >>> E518: Unknown option: following:
> >>> Press ENTER or type command to continue.
...
> >On my 10.04 LTS server line 42 of debian.vim reads
> >
> >  exe "set printoptions+=paper:" . s:papersize
> >
> >so it could be an incorrect /etc/papersize setting as well.  What's the
> >content of that file?  Valid choices are "a4" or "letter".
>
> In 2008 I had changed /etc/papersize from A4 to letter and had
> placed a comment in the file stating that I had done so. Removed the
> comment and everything is OK. Interesting it took this long for it
> to be a problem...

Checking the manual page of papersize, I see that comments are allowed
there.  So this is a bug in vim's packaging: debian.vim should strip
away the comments.

Marius Gedminas
-- 
Well, there's a quantum computer that can factor 15, so those of you using
4-bit RSA should worry.
        -- Bruce Schneier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110202/c5bb38e4/attachment.sig>


More information about the ubuntu-users mailing list