Re: macvim map! doesn't work. :(

2013-06-08 Thread björn
On Fri, Jun 7, 2013 at 8:09 PM, wrote:

 I've just installed (dragged the MacVim.app onto Applications folder) the 
 MacVim. I can't use a certain key combination such as map! () ()Esci 
 which works for doing auto-closing, other key mappings work well except the 
 mapping in ~/.gvimrc. whereas the combination works very well in windows gvim 
 and Ubuntu vim.

I just checked and the map you mention works fine for me on 7.3.967.

Try starting from Terminal with

/Applications/MacVim.app/Contents/MacOS/Vim -u NONE -U NONE -g

Then enter your map manually and see if that works.  If it does, then
you have a plugin or [g]vimrc setting that is interfering.

Other things I can think of is that you may be using a keyboard layout
that causes problems.  If you're not using an English layout, try US
English and see if that works.

Björn

-- 
-- 
You received this message from the vim_mac 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 received this message because you are subscribed to the Google Groups 
vim_mac group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: New build snapshot?

2013-06-08 Thread björn
On Thu, Jun 6, 2013 at 4:11 PM, Jakub Turski wrote:

 Is there a chance to get a new snapshot of Macvim available for download? 
 Preferably with Lua support compiled in and patch level above 7.3.885 so 
 people can use https://github.com/Shougo/neocomplete.vim ? :)

I'm waiting for Vim 7.4 before I make a new snapshot.  I don't intend
to add Lua support as this just complicates the build process, so you
should build your own version [1].

Björn

[1] https://github.com/b4winckler/macvim/wiki/Building

-- 
-- 
You received this message from the vim_mac 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 received this message because you are subscribed to the Google Groups 
vim_mac group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: macvim map! doesn't work. :(

2013-06-08 Thread hieonn
Dear, Björn.

The problem had come from the setting duplications. I've figured out what had 
been invoking the problem actually by your big inspiration. The detail is there 
were two same settings in .vimrc and .gvimrc and those were interfering each 
other. Now everything works well after eliminating all duplicated settings in 
both files. The actual thing I've done is having removed .gvimrc from home 
directory. 

Thank you for your big help and wish that this thread would help other people 
who may be suffered from similar phenomenon. Now I can use Vim on Mac freely.

Cheers vim!

-- 
-- 
You received this message from the vim_mac 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 received this message because you are subscribed to the Google Groups 
vim_mac group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: New build snapshot?

2013-06-08 Thread Bram Moolenaar

Björn wrote:

 On Thu, Jun 6, 2013 at 4:11 PM, Jakub Turski wrote:
 
  Is there a chance to get a new snapshot of Macvim available for download? 
  Preferably with Lua support compiled in and patch level above 7.3.885 so 
  people can use https://github.com/Shougo/neocomplete.vim ? :)
 
 I'm waiting for Vim 7.4 before I make a new snapshot.  I don't intend
 to add Lua support as this just complicates the build process, so you
 should build your own version [1].
 
 Björn
 
 [1] https://github.com/b4winckler/macvim/wiki/Building

I do hope you make a snapshot *before* the 7.4 release.  So that
problems can be found and fixed.  If you wait until 7.4 I'm sure there
will be bug reports and we thus have a less than perfect 7.4.

I'm still making lots of changes, hopefully in one or two weeks it is
time for a beta version.

-- 
hundred-and-one symptoms of being an internet addict:
107. When using your phone you forget that you don't have to use your
 keyboard.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the vim_mac 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 received this message because you are subscribed to the Google Groups 
vim_mac group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: New build snapshot?

2013-06-08 Thread björn
On Sat, Jun 8, 2013 at 12:56 PM, Bram Moolenaar wrote:

 Björn wrote:

 On Thu, Jun 6, 2013 at 4:11 PM, Jakub Turski wrote:
 
  Is there a chance to get a new snapshot of Macvim available for download? 
  Preferably with Lua support compiled in and patch level above 7.3.885 so 
  people can use https://github.com/Shougo/neocomplete.vim ? :)

 I'm waiting for Vim 7.4 before I make a new snapshot.  I don't intend
 to add Lua support as this just complicates the build process, so you
 should build your own version [1].

 Björn

 [1] https://github.com/b4winckler/macvim/wiki/Building

 I do hope you make a snapshot *before* the 7.4 release.  So that
 problems can be found and fixed.  If you wait until 7.4 I'm sure there
 will be bug reports and we thus have a less than perfect 7.4.

 I'm still making lots of changes, hopefully in one or two weeks it is
 time for a beta version.

Sure, I can make a snapshot for the/each beta version.  How does that
sound Bram?

Björn

-- 
-- 
You received this message from the vim_mac 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 received this message because you are subscribed to the Google Groups 
vim_mac group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Compiler warning extravaganza on Tiger PPC

2013-06-08 Thread dv1445
Here on Tiger PPC I updated to 7.3.1148.

Here is a new compiler warning I haven't seen yet; it occurred during
the plain Vim portion of building MacVim.

In file included from regexp.c:7891:
regexp_nfa.c: In function ‘post2nfa’:
regexp_nfa.c:2754: warning: ‘end_state’ may be used uninitialized in this 
function
regexp_nfa.c:2753: warning: ‘start_state’ may be used uninitialized in this 
function
regexp_nfa.c: In function ‘addstate’:
regexp_nfa.c:3378: warning: ‘save_lpos.col’ may be used uninitialized in this 
function
regexp_nfa.c:3378: warning: ‘save_lpos.lnum’ may be used uninitialized in this 
function
regexp_nfa.c:3380: warning: ‘save_ptr’ may be used uninitialized in this 
function
regexp_nfa.c: In function ‘nfa_regmatch’:
regexp_nfa.c:4363: warning: ‘add_off’ may be used uninitialized in this function

Then later, during the Mac-specific portion of building MacVim, I saw
these warnings (also never seen until 7.3.1148):

/Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs 
-fobjc-exceptions -fpascal-strings -fasm-blocks -Os -Wreturn-type 
-Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility=hidden 
-I/macvim/src/MacVim/build/MacVim.build/Release/MacVim.build/MacVim.hmap 
-mdynamic-no-pic -F/macvim/src/MacVim/build/Release -F/macvim/src/MacVim 
-I/macvim/src/MacVim/build/Release/include 
-I/macvim/src/MacVim/build/MacVim.build/Release/MacVim.build/DerivedSources -c 
/macvim/src/MacVim/MMTextView.m -o 
/macvim/src/MacVim/build/MacVim.build/Release/MacVim.build/Objects-normal/ppc/MMTextView.o
/macvim/src/MacVim/MMTextView.m: In function ‘-[MMTextView checkImState]’:
/macvim/src/MacVim/MMTextView.m:322: warning: ‘MMTextViewHelper’ may not 
respond to ‘-checkImState’
/macvim/src/MacVim/MMTextView.m:322: warning: (Messages without a matching 
method signature
/macvim/src/MacVim/MMTextView.m:322: warning: will be assumed to return ‘id’ 
and accept
/macvim/src/MacVim/MMTextView.m:322: warning: ‘...’ as arguments.)

And here too:

/Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs 
-fobjc-exceptions -fpascal-strings -fasm-blocks -Os -Wreturn-type 
-Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility=hidden 
-I/macvim/src/MacVim/build/MacVim.build/Release/MacVim.build/MacVim.hmap 
-mdynamic-no-pic -F/macvim/src/MacVim/build/Release -F/macvim/src/MacVim 
-I/macvim/src/MacVim/build/Release/include 
-I/macvim/src/MacVim/build/MacVim.build/Release/MacVim.build/DerivedSources -c 
/macvim/src/MacVim/MMAtsuiTextView.m -o 
/macvim/src/MacVim/build/MacVim.build/Release/MacVim.build/Objects-normal/ppc/MMAtsuiTextView.o
/macvim/src/MacVim/MMAtsuiTextView.m: In function ‘-[MMAtsuiTextView 
checkImState]’:
/macvim/src/MacVim/MMAtsuiTextView.m:376: warning: ‘MMTextViewHelper’ may not 
respond to ‘-checkImState’
/macvim/src/MacVim/MMAtsuiTextView.m:376: warning: (Messages without a matching 
method signature
/macvim/src/MacVim/MMAtsuiTextView.m:376: warning: will be assumed to return 
‘id’ and accept
/macvim/src/MacVim/MMAtsuiTextView.m:376: warning: ‘...’ as arguments.)

Finally, here are some compiler warnings from the plain Vim portion that
seem to have been around for ages on Tiger PPC (especially the latter):

gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas 
-pipe  -DMACOS_X_UNIX -no-cpp-precomp  -g -O -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=1   -o objects/eval.o eval.c
eval.c: In function ‘get_lval’:
eval.c:2729: warning: ‘prevval’ may be used uninitialized in this function

and,

gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas 
-pipe  -DMACOS_X_UNIX -no-cpp-precomp  -g -O -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=1   -o objects/search.o search.c
search.c: In function ‘current_search’:
search.c:4521: warning: ‘save_VIsual.coladd’ may be used uninitialized in this 
function
search.c:4521: warning: ‘save_VIsual.col’ may be used uninitialized in this 
function
search.c:4521: warning: ‘save_VIsual.lnum’ may be used uninitialized in this 
function

-- 
-- 
You received this message from the vim_mac 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 received this message because you are subscribed to the Google Groups 
vim_mac group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.