Thursday, August 2, 2012

7.3 vs 7.3.556 syntax==xml :exe 'norm! 09l4sa<b' differs

--
Quis custodiet ipsos custodes
I open the same pom.xml file with Vim 7.3 and 7.3.556. Only the top of the
file is shown here:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

Both editors have syntax==xml and diffing the two sytax/xml.vim files, they
show no difference.

In both editors (7.3 and 7.3.556) place the cursor on the first 't' in
the "http"
of the line:
http://www.apache.org/licenses/LICENSE-2.0

Enter:
:exe 'norm! 09l4sa<b'

With 7.3 I get:
ha<b//www.apache.org/licenses/LICENSE-2.0
but with 7.3.556:
ha<b//www.apache.org/licenses/LICENSE-2.0

Version 7.3 removes some space from the start of the line but 7.3.556
does not.

Which is right?
What could the the source of the difference?

Thanks
Richard

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: