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-main Sun 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%%