Re: surround.vim in AsNeeded

2007-02-21 Thread Charles E Campbell Jr
Bill McCarthy wrote: BTW, as an enhancement request, could AN be enhanced to look for leadermap when it fails to find charmap? That is, if I want to load the align maps: AN \abox doesn't work. I would need to type: AN leaderabox If you happen to have (as an example) let

Re: surround.vim in AsNeeded

2007-02-21 Thread Bill McCarthy
On Wed 21-Feb-07 1:56pm -0600, Charles E Campbell Jr wrote: Bill McCarthy wrote: BTW, as an enhancement request, could AN be enhanced to look for leadermap when it fails to find charmap? That is, if I want to load the align maps: AN \abox doesn't work. I would need to type: AN

Re: surround.vim in AsNeeded

2007-02-19 Thread drchip
Quoting Bill McCarthy [EMAIL PROTECTED]: Hello Vim List, I just tried out surround.vim, recently updated on Vim Online. Nice plugin! It works fine when placed in my plugin directory but doesn't work if moved to my AsNeeded directory and :MkAsNeeded is run. Has anyone out there been

Re: surround.vim in AsNeeded

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 11:13am -0600, [EMAIL PROTECTED] wrote: I think I should point out that AsNeeded provides transparent support for plugin loading for commands and functions -- ie. issue a command, and if the associated plugin hasn't been loaded yet, it will be, and the command

surround.vim in AsNeeded

2007-02-16 Thread Bill McCarthy
Hello Vim List, I just tried out surround.vim, recently updated on Vim Online. Nice plugin! It works fine when placed in my plugin directory but doesn't work if moved to my AsNeeded directory and :MkAsNeeded is run. Has anyone out there been able to get this to work? -- Best regards, Bill

Re: AsNeeded?

2006-08-04 Thread Bill McCarthy
On Mon 31-Jul-06 10:09am -0600, Charles E Campbell Jr wrote: Anyway, I've modified AsNeeded to defer to taglist for Tlist_ and Taglist_ functions in v14b. Thanks for the update! I've moved taglist to my AsNeeded directory as you suggested. taglist works well now except when a tag menu

Re: AsNeeded?

2006-07-31 Thread Bill McCarthy
\| call AsNeeded(1,expand(afile)) | \ endif -- Best regards, Bill

Re: AsNeeded?

2006-07-31 Thread Charles E Campbell Jr
Bill McCarthy wrote: Chip, I tried again with just AsNeeded and taglist in my vimfiles\plugin and vimfiles\doc - otherwise an empty vimfiles tree - and fairly minimalist _vimrc and _gvimrc (see below my sig). I opened an edit session on a small project with 25 .c or .h files: gvim *.c

Re: AsNeeded?

2006-07-30 Thread A.J.Mechelynck
Bill McCarthy wrote: Chip, On Sat 29-Jul-06 12:38pm -0600, you wrote: Quoting Bill McCarthy [EMAIL PROTECTED]: However, since I cannot seem to get AsNeeded and taglist to play nice together, I cannot use your plugin. Hmm, well that's curious; I seem to have no difficulty with the two

Re: AsNeeded?

2006-07-30 Thread Christian Ebert
* A.J.Mechelynck on Sunday, July 30, 2006 at 10:59:55 +0200: Looks like AsNeeded didn't find SIDTlist_Session_Load in taglist because taglist's script number had changed from 23 to something else, or because taglist wasn't reloaded (yet?). Try moving taglist out of AsNeeded's scope

Re: AsNeeded?

2006-07-30 Thread Bill McCarthy
On Sun 30-Jul-06 2:05pm -0600, you wrote: Bill McCarthy wrote: On Sun 30-Jul-06 4:56am -0600, Christian Ebert wrote: * A.J.Mechelynck on Sunday, July 30, 2006 at 10:59:55 +0200: Looks like AsNeeded didn't find SIDTlist_Session_Load in taglist because taglist's script number had changed

Re: AsNeeded?

2006-07-30 Thread A.J.Mechelynck
Bill McCarthy wrote: On Sun 30-Jul-06 2:05pm -0600, you wrote: Bill McCarthy wrote: On Sun 30-Jul-06 4:56am -0600, Christian Ebert wrote: * A.J.Mechelynck on Sunday, July 30, 2006 at 10:59:55 +0200: Looks like AsNeeded didn't find SIDTlist_Session_Load in taglist because taglist's script

Re: AsNeeded?

2006-07-30 Thread Bill McCarthy
On Sun 30-Jul-06 3:13pm -0600, A.J.Mechelynck wrote: Autocommands for a common event are executed in the order they were defined; so if they are defined by their respective plugins, they will be executed in the same order the plugins were sourced. Try (if you didn't yet) moving the AsNeeded

Re: AsNeeded?

2006-07-30 Thread A.J.Mechelynck
Bill McCarthy wrote: [...] I made an interesting discovery. If I force AsNeeded to load after taglist (its first time), although I get the same error message running :TlistSessionLoad, the session was indeed loaded. What is happening is the autocmd for taglist was triggered and did its thing

Re: AsNeeded?

2006-07-29 Thread drchip
Quoting Bill McCarthy [EMAIL PROTECTED]: Chip, On Thu 27-Jul-06 8:38am -0600, you wrote: AsNeeded uses the FuncUndefined autocommand to transparently load functions. Commands and maps, unfortunately, are not blessed with such an autocommand. Hence AsNeeded provides: :AN map

Re: AsNeeded?

2006-07-28 Thread Bill McCarthy
Chip, On Thu 27-Jul-06 8:38am -0600, you wrote: AsNeeded uses the FuncUndefined autocommand to transparently load functions. Commands and maps, unfortunately, are not blessed with such an autocommand. Hence AsNeeded provides: :AN map-or-command :ANX map-or-command Thanks for your

Re: Patch for AsNeeded to define proxy commands

2006-05-11 Thread Benji Fisher
On Wed, May 10, 2006 at 09:00:32PM +0200, Thomas wrote: Hi, Here is a small patch for AsNeeded that eliminates the need to call AN(X) for commands. It creates a file called ~/.vim/AsNeeded/ANautoload that contains lines like: command! -range -nargs=* Command delcommand Command | ANX

Patch for AsNeeded to define proxy commands

2006-05-10 Thread Thomas
Hi, Here is a small patch for AsNeeded that eliminates the need to call AN(X) for commands. It creates a file called ~/.vim/AsNeeded/ANautoload that contains lines like: command! -range -nargs=* Command delcommand Command | ANX Command Regards, Thomas. --- AsNeeded.vim2006-05-10 20