Re: vim Easy Mode Broken?

2006-12-19 Thread Joachim Schipper
On Mon, Dec 18, 2006 at 09:45:42AM -0700, Chris Kuethe wrote:
> On 12/17/06, Joachim Schipper <[EMAIL PROTECTED]> wrote:
> >But maybe there's a good reason why this was done the way it is? I CC'ed
> >the maintainer, maybe he'll find the time to respond...
> >
> >If this works for you, and Chris (= the maintainer) doesn't respond
> >soonish telling us why this was done in this way, please let us know.
> 
> Because that's what "make update-plist" did? If "vim -y" is useful
> behaviour in non-x11 mode then it should probably be made available in
> the no_x11 package.

At the very least, adding evim.vim allows 'vim -y' to work as
documented, and as it did in previous versions. Even if the -y option is
not terribly useful - after all, it was used by so few people that this
change only now turned up - doing what's documented is generally a good
idea.

Joachim



Re: vim Easy Mode Broken?

2006-12-18 Thread Chris Kuethe

On 12/17/06, Joachim Schipper <[EMAIL PROTECTED]> wrote:

But maybe there's a good reason why this was done the way it is? I CC'ed
the maintainer, maybe he'll find the time to respond...

If this works for you, and Chris (= the maintainer) doesn't respond
soonish telling us why this was done in this way, please let us know.


Because that's what "make update-plist" did? If "vim -y" is useful
behaviour in non-x11 mode then it should probably be made available in
the no_x11 package.

CK

--
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: vim Easy Mode Broken?

2006-12-17 Thread Joachim Schipper
On Fri, Dec 15, 2006 at 09:32:23PM -0500, Jim Razmus wrote:
> * Sideris Michael <[EMAIL PROTECTED]> [061214 20:50]:
> > On Thu, Dec 14, 2006 at 07:29:58PM -0500, Jim Razmus wrote:
> > > On both 4.0 release and -current (13/12/2006) I find "vim -y" does not
> > > work as it did on 3.9.  Likely a question for the vim lists, but I'm
> > > hoping someone will confirm what I'm experiencing.
> > > 
> > > "vim -y" should start in an emacs-like mode.  However, I'm finding the
> > > -y switch does nothing.  In all cases I install the no_x11 flavor.  My
> > > users pointed this behavior out after my upgrade to 4.0.

> > From vim(1):
> > 
> > evim eview
> >  The GUI version in easy mode.  Starts a new win-
> >  dow.  Can also be done with the "-y" argument.
> > 
> > -y   Start  Vim  in  easy  mode, just like the exe-
> >  cutable was called "evim" or  "eview".   Makes
> >  Vim behave like a click-and-type editor.
> > 
> > So, I guess that by using the -y arg causes vim to start in GUI and easy
> > mode. Now, since you mention that you are installing the -no_x11 version
> > of vim I think it makes sense that you see no difference. Hope that
> > helps.
> 
> Good thought, but I think it's not the case.  All my users have "vim -y"
> in their muttrc file.  Also, we've always ssh'd to the server and ran
> mutt in a shell (no GUI).  I've confirmed the same behavior on a couple
> other 4.0 release i386 machines too.
> 
> So something definitely changed with vim between the 3.9 and 4.0
> releases.  I'm digging into the vim cvs history for clues along with our
> ports tree for clues.

The port does not install /usr/local/share/vim/vim70/evim.vim with the
no_x11 FLAVOR. The diff below reverses this, and *appears* to work
(NOTE: this is against -current; it might apply to -stable, or not, but
the idea should be obvious).

I personally don't see why these files shouldn't be installed on the
no_x11 flavor - evim.vim is actually useful, and the other two might be.
And it's not like vim is lightweight, anyway - saving three files
doesn't seem very useful...

But maybe there's a good reason why this was done the way it is? I CC'ed
the maintainer, maybe he'll find the time to respond...

If this works for you, and Chris (= the maintainer) doesn't respond
soonish telling us why this was done in this way, please let us know.

Joachim

--- ../../../editors/vim/pkg/PFRAG.no-no_x11-main   Tue Nov 21
12:25:03 2006
+++ pkg/PFRAG.no-no_x11-mainSun Dec 17 12:56:30 2006
@@ -90,6 +90,3 @@
 @man man/ru.UTF-8/man1/gvimdiff.1
 @man man/ru.UTF-8/man1/rgview.1
 @man man/ru.UTF-8/man1/rgvim.1
-share/vim/${P}/evim.vim
-share/vim/${P}/gvimrc_example.vim
-share/vim/${P}/syntax/eviews.vim
diff -Nurd ../../../editors/vim/pkg/PLIST-main pkg/PLIST-main
--- ../../../editors/vim/pkg/PLIST-main Tue Nov 21 12:25:03 2006
+++ pkg/PLIST-main  Sun Dec 17 13:20:28 2006
@@ -1266,4 +1266,7 @@
 share/vim/${P}/tutor/tutor.zh.big5
 share/vim/${P}/tutor/tutor.zh.euc
 share/vim/${P}/vimrc_example.vim
+share/vim/${P}/evim.vim
+share/vim/${P}/gvimrc_example.vim
+share/vim/${P}/syntax/eviews.vim
 !%%no_x11%%



Re: vim Easy Mode Broken?

2006-12-15 Thread Chris Kuethe

On 12/15/06, Jim Razmus <[EMAIL PROTECTED]> wrote:

So something definitely changed with vim between the 3.9 and 4.0
releases.  I'm digging into the vim cvs history for clues along with our
ports tree for clues.


3.9 shipped with Vim 6.4.6, 4.0 had Vim 7.0.42. Lots of stuff changed
between Vim6 and Vim7

CK

--
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: vim Easy Mode Broken?

2006-12-15 Thread Jim Razmus
* Sideris Michael <[EMAIL PROTECTED]> [061214 20:50]:
> On Thu, Dec 14, 2006 at 07:29:58PM -0500, Jim Razmus wrote:
> > Someone hit me with a clue-by-four.
> > 
> > On both 4.0 release and -current (13/12/2006) I find "vim -y" does not
> > work as it did on 3.9.  Likely a question for the vim lists, but I'm
> > hoping someone will confirm what I'm experiencing.
> > 
> > "vim -y" should start in an emacs-like mode.  However, I'm finding the
> > -y switch does nothing.  In all cases I install the no_x11 flavor.  My
> > users pointed this behavior out after my upgrade to 4.0.
> > 
> > Can anyone else confirm this behavior on another machine?
> > 
> > Jim
> 
> Hey there Jim. From vim(1):
> 
> evim eview
>The GUI version in easy mode.  Starts a new win-
>dow.  Can also be done with the "-y" argument.
> 
> -y   Start  Vim  in  easy  mode, just like the exe-
>cutable was called "evim" or  "eview".   Makes
>Vim behave like a click-and-type editor.
> 
> So, I guess that by using the -y arg causes vim to start in GUI and easy
> mode. Now, since you mention that you are installing the -no_x11 version
> of vim I think it makes sense that you see no difference. Hope that
> helps.
> 
> -- 
> Sideris Michael
> http://black.daemons.gr/msid/
> 

Good thought, but I think it's not the case.  All my users have "vim -y"
in their muttrc file.  Also, we've always ssh'd to the server and ran
mutt in a shell (no GUI).  I've confirmed the same behavior on a couple
other 4.0 release i386 machines too.

So something definitely changed with vim between the 3.9 and 4.0
releases.  I'm digging into the vim cvs history for clues along with our
ports tree for clues.

Jim



Re: vim Easy Mode Broken?

2006-12-14 Thread Sideris Michael
On Thu, Dec 14, 2006 at 07:29:58PM -0500, Jim Razmus wrote:
> Someone hit me with a clue-by-four.
> 
> On both 4.0 release and -current (13/12/2006) I find "vim -y" does not
> work as it did on 3.9.  Likely a question for the vim lists, but I'm
> hoping someone will confirm what I'm experiencing.
> 
> "vim -y" should start in an emacs-like mode.  However, I'm finding the
> -y switch does nothing.  In all cases I install the no_x11 flavor.  My
> users pointed this behavior out after my upgrade to 4.0.
> 
> Can anyone else confirm this behavior on another machine?
> 
> Jim

Hey there Jim. From vim(1):

evim eview
 The GUI version in easy mode.  Starts a new win-
 dow.  Can also be done with the "-y" argument.

-y   Start  Vim  in  easy  mode, just like the exe-
 cutable was called "evim" or  "eview".   Makes
 Vim behave like a click-and-type editor.

So, I guess that by using the -y arg causes vim to start in GUI and easy
mode. Now, since you mention that you are installing the -no_x11 version
of vim I think it makes sense that you see no difference. Hope that
helps.

-- 
Sideris Michael
http://black.daemons.gr/msid/



vim Easy Mode Broken?

2006-12-14 Thread Jim Razmus
Someone hit me with a clue-by-four.

On both 4.0 release and -current (13/12/2006) I find "vim -y" does not
work as it did on 3.9.  Likely a question for the vim lists, but I'm
hoping someone will confirm what I'm experiencing.

"vim -y" should start in an emacs-like mode.  However, I'm finding the
-y switch does nothing.  In all cases I install the no_x11 flavor.  My
users pointed this behavior out after my upgrade to 4.0.

Can anyone else confirm this behavior on another machine?

Jim