Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unexpected display with gvim -p with multiple arguments (Linux)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jean Johner  
View profile   Translate to Translated (View Original)
 More options Apr 8 2010, 9:37 am
From: Jean Johner <jean.joh...@cea.fr>
Date: Thu, 8 Apr 2010 06:37:51 -0700 (PDT)
Local: Thurs, Apr 8 2010 9:37 am
Subject: Unexpected display with gvim -p with multiple arguments (Linux)
Below excerpt from vim_use thread "Possible error with gvim -p with
multiple arguments (Linux)":

Hello,
Suppose that you use vimrc_example.vim as your .vimrc.
Do the following:
gvim file1
put the cursor on line 100
:q
Do the same for file2.

Now doing "gvim file1" (or gvim file2) opens the file with line 100
at
the MIDDLE of the screen (OK).
Doing "gvim file1 file2" opens the 2 buffers with line 100 at the
MIDDLE of the screen (OK).

If you type
gvim -p file1 file2
file1 is opened with line 100 at the TOP of the screen. file2 is OK.

The same occurs with 3 arguments, always for the first file.

Tony has confirmed.
Could you have a look at that?

Best regards
Jean Johner


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean Johner  
View profile  
 More options Apr 8 2010, 9:37 am
From: Jean Johner <jean.joh...@cea.fr>
Date: Thu, 8 Apr 2010 06:37:57 -0700 (PDT)
Local: Thurs, Apr 8 2010 9:37 am
Subject: Unexpected display with gvim -p with multiple arguments (Linux)
Below excerpt from vim_use thread "Possible error with gvim -p with
multiple arguments (Linux)":

Hello,
Suppose that you use vimrc_example.vim as your .vimrc.
Do the following:
gvim file1
put the cursor on line 100
:q
Do the same for file2.

Now doing "gvim file1" (or gvim file2) opens the file with line 100
at
the MIDDLE of the screen (OK).
Doing "gvim file1 file2" opens the 2 buffers with line 100 at the
MIDDLE of the screen (OK).

If you type
gvim -p file1 file2
file1 is opened with line 100 at the TOP of the screen. file2 is OK.

The same occurs with 3 arguments, always for the first file.

Tony has confirmed.
Could you have a look at that?

Best regards
Jean Johner


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Vega  
View profile  
 More options Apr 8 2010, 10:02 am
From: James Vega <james...@jamessan.com>
Date: Thu, 8 Apr 2010 10:02:03 -0400
Local: Thurs, Apr 8 2010 10:02 am
Subject: Re: Unexpected display with gvim -p with multiple arguments (Linux)

I can reproduce this as well using the following setup.

  $ cat test.vim
  set guioptions=e
  au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") |
exe "normal! g`\"" | endif
  $ gvim -u test.vim -U NONE -N -p file1 file2

It seems like the drawing of the gui tab pages is causing the shift.

--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@jamessan.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Mechelynck  
View profile  
 More options Apr 8 2010, 6:33 pm
From: Tony Mechelynck <antoine.mechely...@gmail.com>
Date: Fri, 09 Apr 2010 00:33:58 +0200
Local: Thurs, Apr 8 2010 6:33 pm
Subject: Re: Unexpected display with gvim -p with multiple arguments (Linux)
On 08/04/10 16:02, James Vega wrote:

I'm using text-style tabs (with :set go-=e) and I see the faulty
behaviour on the tabs whose labels overflow partly or fully off the left
of the text-style tabline. My 'guioptions' is set to gimrLTtc which also
removes "a" from the GTK default and adds "c".

Best regards,
Tony.
--
Real computer scientists don't comment their code.  The identifiers are
so long they can't afford the disk space.

--
You received this message from the "vim_dev" 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

Subscription settings: http://groups.google.com/group/vim_dev/subscribe?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean Johner  
View profile  
 More options May 24 2010, 3:56 am
From: Jean Johner <jean.joh...@cea.fr>
Date: Mon, 24 May 2010 00:56:47 -0700 (PDT)
Local: Mon, May 24 2010 3:56 am
Subject: Re: Unexpected display with gvim -p with multiple arguments (Linux)
Hello,
I just installed vim7.2.437 on linux.
It seems that some modification has been done.
Now when you type (with vimrc_example as .vimrc):
gvim -p file1 file2 file3
file1 is opened with the cursor position on line 100 at the MIDDLE of
the screen (OK)
file2 and file3 are opened with the cursor positioned on line 100 at
the TOP of the screen (NOT OK).

No pb under windows (with 7.2.437)

Best regards
Jean Johner

--
You received this message from the "vim_dev" 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »