Tuesday, April 30, 2013

Anybody using more than 15 post requests on vim.sf.net within 4h?

Reason: See vim-dev: vim.sf.net was scanned by a bot testing for
vulnerabilities. Most vulnerabilities require to store JS code in
fields, or creating new users etc.

For this reason I assumed that a causual user does only update 5 plugins
in one session + logging in. Thus having a limit of 15 post requestst
within 4h might make sense.

Do you feel this is too strong?

The error message will tell you to wait or write to the mailinglist..

Marc Weber

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: outlookvim

Maybe, I never check this. How can I check this and avoid the error?


On Tue, Apr 30, 2013 at 8:51 PM, David Fishburn <dfishburn.vim@gmail.com> wrote:



On Tue, Apr 30, 2013 at 12:39 AM, huubby zhou <huubby1@gmail.com> wrote:
I have this same issue occasionally, only my error is, "Could not create email
file [C:\Users\xxx\AppData\Local\Temp\rad1F419.outlook] Invalid procedure call
or argument". Don't know if it's related with email content, since it appears
for some email, meantime, other emails are fine.


Is there a chance you have unicode characters within your email body?

David
 

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

ANN: dbext 19.0

What is it?
-----------
dbext.vim : Provides database access to most databases.
http://www.vim.org/scripts/script.php?script_id=356

This plugin contains functions/mappings/commands to enable Vim to
access several databases. Currently Mysql, PostgreSQL, Ingres, Oracle,
Sybase Adaptive Server Anywhere, Sybase Adaptive Server Enterprise,
Microsoft SQL Server, DB2, RDB,  SAP HANA and Interbase are supported.
If you have a Perl enabled Vim, it also allows database connections via
DBI and ODBC.

It abstracts database access, so the same Vim commands will produce
the same output regardless of the database you use.

What is new in 19.00?


New Features
------------
- Added support for parsing C# files (Raul Segura Acevedo).

- Updated the PostgreSQL message when the .pgpass file is missing (Dav Clark).

                                                                                                     
Bug Fixes
---------
- When prompting for connection parameters a second time, the previously chosen profile number was not defaulted.

- If a dbext login script was stored in the $HOME directory it would never be found (Tim Teufel).

- The first host variable was prompted for replacement, but the second one was not (Stanimir Mladenov).

- Selecting a visual region with leading and ending double quotes (like a table name) could report invalid arguments for the following commands: DBSelectFromTable, DBSelectFromTableTopX, DBDescribeTable, DBDescribeProcedure, DBListColumn

- For DB2 on the mainframe the command line utilities do not support the -t switch.  If you override the buffer specific cmd_terminator setting and set this value to an empty string the -t will be left off.  This can be most easily specified in a dbext connection profile (Michael McDermott):
     let g:dbext_default_profile_MyDB2 = 'type=DB2:user=me:passwd=mypass:dbname=SSD:cmd_terminator='
  Or while within a buffer:
     DBSetOption cmd_terminator=
     DBSetOption cmd_terminator=;



I am always open to suggestions, just email me.

Dave


--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

RE: outlookvim


For me, there was unicode in the bodies of the emails I tried replying to, sometimes just a single character like this one :
𐂏 Live and learn.

 

From: vim_use@googlegroups.com [mailto:vim_use@googlegroups.com] On Behalf Of David Fishburn
Sent: April-30-13 8:51 AM
To: vim_use
Subject: Re: outlookvim

 

 

 

On Tue, Apr 30, 2013 at 12:39 AM, huubby zhou <huubby1@gmail.com> wrote:

I have this same issue occasionally, only my error is, "Could not create email

file [C:\Users\xxx\AppData\Local\Temp\rad1F419.outlook] Invalid procedure call

or argument". Don't know if it's related with email content, since it appears

for some email, meantime, other emails are fine.

 

 

Is there a chance you have unicode characters within your email body?

 

David

 

 

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: :Explore shows nothing if path contains an embedded tilde (Windows)

On Tuesday, April 30, 2013 5:38:06 PM UTC-5, Dameron, Gregg wrote:
> I'm running gvim 7.2 on Windows 7.
>
>  
>
> If I attempt ":Explore" or ":e ." when any folder in my current working directory contains a tilde (e.g., "my~example_folder"), the Netrw Directory Listing buffer displays nothing below the last row of equals signs. Not even "../" is displayed.

I assume you're running with a netrw plugin around the same age as Vim 7.2 (around 5 years old).

The first thing I think you should try, if you're able, is upgrading your entire Vim installation. cream.sourceforge.net has Vim installers built for Windows with fairly recent patch levels. Currently it is on 7.3.829 and the Vim source is at 7.3.918.

If you can't upgrade the whole install, you can try downloading the latest netrw plugin and placing it in your personal Vim plugin directories. But a 7.2 executable is so old I'm not sure whether the latest netrw will even function with your current Vim.

Vim does install to non-standard areas (like C:\Vim or C:\Users\JohnDoe\Vim) if the only problem you have with installing is write access.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

:Explore shows nothing if path contains an embedded tilde (Windows)

I’m running gvim 7.2 on Windows 7.

 

If I attempt “:Explore” or “:e .” when any folder in my current working directory contains a tilde (e.g., “my~example_folder”), the Netrw Directory Listing buffer displays nothing below the last row of equals signs. Not even “../” is displayed. There is no netrw hiding list set, so the “a” key has no effect. Interestingly, the hyphen key still works to go up a directory level.

 

I’m at the mercy of a commercial configuration management tool that insists on putting tildes in folder names.

 

Is there a solution?

Can you test my plugin in Windows?

Hi all!

If you have windows and some free time, I would appreciate some help
fixing my plugin in Windows (I use Mac).
I suspect that there are problems with the path or something like that.

https://github.com/amiorin/vim-project

I you like it, please star the project.

Thank you.

Regard

Alberto

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Using "Align" plugin without inserting whitespace into email addresses?

> On Tuesday, April 30, 2013 7:00:12 PM UTC+2, Philip Rhoades wrote:
>> I have been using the "Align" plugin quite happily for a long time now
>>
>> but I came across a need where it didn't do what I wanted: a block of
>>
>> lines consisting of only email addresses - I wanted to align on the "@"
>>
>> character - is there a way to do this without inserting whitespace into
>>
>> the email addresses? Am I missing something?
>
You'll want to use

:AlignCtrl p0P0

which tells Align to use zero padding spaces before and zero padding
spaces after each field.

(:help align-p -or- :help align-P )

Regards,
Chip Campbell

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: netrw plugin: asterisk after filename

Sylvia Ganush, Tue 2013-04-30 @ 20:15:20+0200:
> It would appear that Mac OS X sets executable bits to all files when I
> plug in my FAT32-formatted USB stick. Must be an OS issue, nothing Vim
> or netrw related.

I don't think FAT32 supports file mode bits at all (or, at least not the
"standard" Unix ones). So it's likely not a flaw in OS X, but simply a
limitation of the file system.

Re: Using "Align" plugin without inserting whitespace into email addresses?

On Tuesday, April 30, 2013 7:00:12 PM UTC+2, Philip Rhoades wrote:
> I have been using the "Align" plugin quite happily for a long time now
>
> but I came across a need where it didn't do what I wanted: a block of
>
> lines consisting of only email addresses - I wanted to align on the "@"
>
> character - is there a way to do this without inserting whitespace into
>
> the email addresses? Am I missing something?

I prefer using Tabular for my alignment tasks.

Using Tabular you would do

:Tab /@/r0c0l0

"/@/" aligns on the @ character, "r0c0l0" is the format specifier,
stating "right-align first column, center-align second column,
left-align third column, all with no padding whitespace".

https://github.com/godlygeek/tabular
http://vimcasts.org/episodes/aligning-text-with-tabular-vim/

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Using "Align" plugin without inserting whitespace into email addresses? - clarification

On 2013-05-01, Philip Rhoades wrote:
> People,
>
>
> On 2013-05-01 03:00, Philip Rhoades wrote:
> >People,
> >
> >I have been using the "Align" plugin quite happily for a long time now
> >but I came across a need where it didn't do what I wanted: a block of
> >lines consisting of only email addresses - I wanted to align on the
> >"@" character - is there a way to do this without inserting whitespace
> >into the email addresses? Am I missing something?
>
>
> What I want to do is to insert spaces preceding the email address to
> cause alignment rather than inserting spaces into the email addresses
> themselves.

First execute

:AlignCtrl rl

then select the lines to align and execute

:Align @

See

:help alignctrl-l

Regards,
Gary

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: netrw plugin: asterisk after filename

On 30 Apr 2013, at 18:22, Charles Campbell <Charles.E.Campbell@nasa.gov> wrote:

> Additionally, if Sylvia is using Windows and NTFS -- her file(s) may have ACLs set which (incorrectly) are flagging the file(s) as executable. There's a way to edit the acl for files; I'm not a Windows guru, so I'd have to hunt around for how to do it. I've done it before, though, and haven't found my notes about it yet.

Thank you, gentlemen, for pointing me in the right direction.

It would appear that Mac OS X sets executable bits to all files
when I plug in my FAT32-formatted USB stick. Must be an OS issue,
nothing Vim or netrw related.

Sylvia

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: vim, format=flowed and hanging indents

On Tuesday, April 30, 2013 4:03:50 PM UTC+2, Tim Gray wrote:
> I can't necessarily answer all of your questions. As I saw it, this
> email did NOT have format=flowed set in the headers.

Sorry, I should have been clear. I'm posting here using the Google Groups web interface.

> Yes, there is a way to fix it. Mailing your sample paragraphs to myself
> caused the same thing to happen. But, it's supposed to as I understand
> f=f. Here's why. I think the spec states that if you have a line that
> ends with space, the reader should reformat it. If your formatting is
> important, then don't put a space at the end of those lines. Since your
> numbered list has formating that you want to keep, remove the spaces
> from the end of those lines.
>
> So, you need to either remove those spaces with a quick search and
> replace (or a macro) or set 'fo-=w' and reformat those lines.

Thanks very much for the explanation. The fo-=w solution is not ideal, but "absolutely necessary to do fancy formatting in an email likely to be read on a phone" is enough of an edge case that I can live with it!

> My ultimate advice is to skip fancy formatting like that in email, and
> just go with f=f. So, maybe set 'fo-=n'. (Also, check out the j
> option. Nice for reformatting quoted text.)

fo-=n is what I'm going with. Thanks.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Using "Align" plugin without inserting whitespace into email addresses? - clarification

People,


On 2013-05-01 03:00, Philip Rhoades wrote:
> People,
>
> I have been using the "Align" plugin quite happily for a long time now
> but I came across a need where it didn't do what I wanted: a block of
> lines consisting of only email addresses - I wanted to align on the
> "@" character - is there a way to do this without inserting whitespace
> into the email addresses? Am I missing something?


What I want to do is to insert spaces preceding the email address to
cause alignment rather than inserting spaces into the email addresses
themselves.


Thanks,

Phil.

--
Philip Rhoades

GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil@pricom.com.au

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Using "Align" plugin without inserting whitespace into email addresses?

People,

I have been using the "Align" plugin quite happily for a long time now
but I came across a need where it didn't do what I wanted: a block of
lines consisting of only email addresses - I wanted to align on the "@"
character - is there a way to do this without inserting whitespace into
the email addresses? Am I missing something?

Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil@pricom.com.au

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: netrw plugin: asterisk after filename

Taylor Hedberg wrote:
> Sylvia Ganush, Tue 2013-04-30 @ 18:08:45+0200:
>> Hmm... * = executable? What's executable about foobar.pdf* or
>> foobar.txt*? I can't understand.
> Those files must have the "executable" bit set in your file system, and
> netrw is just picking up on that.
>
> As for why the executable bit is set on non-executable files, ask
> whatever program stored those files in the first place.
Additionally, if Sylvia is using Windows and NTFS -- her file(s) may
have ACLs set which (incorrectly) are flagging the file(s) as
executable. There's a way to edit the acl for files; I'm not a Windows
guru, so I'd have to hunt around for how to do it. I've done it before,
though, and haven't found my notes about it yet.

Regards,
C Campbell

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: netrw plugin: asterisk after filename

Sylvia Ganush, Tue 2013-04-30 @ 18:08:45+0200:
> Hmm... * = executable? What's executable about foobar.pdf* or
> foobar.txt*? I can't understand.

Those files must have the "executable" bit set in your file system, and
netrw is just picking up on that.

As for why the executable bit is set on non-executable files, ask
whatever program stored those files in the first place.

Re: netrw plugin: asterisk after filename

On 30 Apr 2013, at 17:56, Charles Campbell <Charles.E.Campbell@nasa.gov> wrote:

> Sylvia Ganush wrote:
>> Hi.
>>
>> A quick question, probably with an obvious answer, but I couldn't
>> find one either in the manual or on the Internet.
>>
>> In directory listing view the netrw plugin appends an asterisk to
>> filenames. What does it mean?
>>
> There are several such appendages...
>
> see :help netrw-getftype

Merci, Charles.

Hmm... * = executable? What's executable about foobar.pdf* or foobar.txt*? I can't understand.

Sylvia

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Error messages and then crash on startup with Vim Touch


I'm close to having duplicated my MacVim setup with Vim Touch on a Google Nexus 7 Android tablet. The only thing that's different is the specification in the .vimrc of location folders used by my plugins. 

Unfortunately there's something in the .vimrc that causes Vim Touch to crash on start up. Error messages are displayed before the crash, but they go by too fast to read. All I've been able to detect is that one has something to do with spellcheck or the spellcheck folders.  

Anybody have any suggestions how I can find out what those error messages are in this situation, i.e., I can't run ':messages' since Vim crashes and if I disable the .vimrc there are no error messages .

Thanks, 
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA 

"What does it mean...that the world is so beautiful?" 

- Mary Oliver 






Re: netrw plugin: asterisk after filename

Sylvia Ganush wrote:
> Hi.
>
> A quick question, probably with an obvious answer, but I couldn't
> find one either in the manual or on the Internet.
>
> In directory listing view the netrw plugin appends an asterisk to
> filenames. What does it mean?
>
There are several such appendages...

see :help netrw-getftype

Regards,
C Campbell

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: vim, format=flowed and hanging indents

On 2013-04-30, Michael Williams wrote:
> Is there a good way to configure vim to send format=flowed emails
> that include hanging indents.

No.

> My complete vimrc (for testing purposes) is:
>
> set nocompatible
> set fo+=awn
> set tw=72
> set ai
>
> I'm typing something like:
>
> 1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam
> posuere dui lorem, et condimentum nulla. Sed pharetra justo nec ante
> fringilla non mattis nisi blandit. Donec molestie ligula dolor.
> Nulla facilisi. Aliquam vel nulla elit, mollis facilisis metus. Sed
> id eros a ante blandit convallis id sit amet elit. Duis malesuada
> lobortis leo a placerat. Sed ut ipsum nisl. Sed pretium mauris vitae
> velit sollicitudin iaculis.
>
> vim adds a trailing space to each line except the last, per set
> fo+=w. It also adds spaces for the hanging indent. It looks great!
>
> My mail client sets the format=flowed header. The result when this
> email is viewed in either Mail.app or mutt is not pretty:
>
> 1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam posuere dui lorem, et condimentum nulla. Sed pharetra justo nec ante fringilla non mattis nisi blandit. Donec molestie ligula dolor. Nulla facilisi. Aliquam vel nulla elit, mollis facilisis metus. Sed id eros a ante blandit convallis id sit amet elit. Duis malesuada lobortis leo a placerat. Sed ut ipsum nisl. Sed pretium mauris vitae velit sollicitudin iaculis.
>
> In case my/your news client screws this up, all the lines have
> been correctly joined back together and the text reflows as
> expected when you resize the window. Fine. But there are 5 spaces
> between "Etiam" and "posuere" at all the other joins.
>
> Is there a fix for this in vim? Or is this a limitation of the
> format=flowed spec? If so, how do other people handle this?

The Format=Flowed spec, RFC 3676, does not provide for indentation
except for the first line of a paragraph. All lines are considered
to start at the left margin and are wrapped to the left margin. See
section 3.1.

Your example paragraph is being flowed correctly according to the
RFC.

I handle it by not using format=flowed.

Regards,
Gary

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

netrw plugin: asterisk after filename

Hi.

A quick question, probably with an obvious answer, but I couldn't
find one either in the manual or on the Internet.

In directory listing view the netrw plugin appends an asterisk to
filenames. What does it mean?

Best,

Sylvia

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Omni completion (^O^N^P) Pattern not found

Ok. Get Indexer working now, but not with javacomplete. Same problem (E426: Pattern not found) when activating javacomplete with easytages/ indexer.

Indexer will function with following steps:

1. copy all files to ~/.vim (including dependencies like vimprj and DfrankUtil)

2. edit ~/.indexer_files with following content (content varies with corresponded user project)

[vim-plugin-test]
option:ctags_params = "--language-force=<language-name>"
/path/to/vim-plugin-test


Thanks for help.


rlewis於 2013年4月27日星期六UTC+8下午11時52分40秒寫道:
> I recently install javacomplete[1] and easytags[2]. Its structure is as below. However, when trying completion by pressing ctrl+x ctrl+o, message bar display
>
> Omni completion (^O^N^P) Pattern not found
>
> If removing easytags, then javacomplete plugin works again. How to fix this problem? Or any other alternative suggestion?
>
> Thanks
>
> javacomplete version is 0.77.1.2
> easytags version should be 3.1.5
>
> autoload:
> javacomplete.vim java_parser.vim nerdtree.vim Reflection.class Reflection.java xolox
>
> doc:
> easytags.txt javacomplete.txt NERD_tree.txt tags
>
> lib:
> nerdtree
>
> misc:
> easytags
>
> nerdtree_plugin:
> exec_menuitem.vim fs_menu.vim
>
> plugin:
> easytags.vim NERD_tree.vim
>
> syntax:
> nerdtree.vim
>
> [1]. http://vim.sourceforge.net/scripts/script.php?script_id=1785
> [2]. http://www.vim.org/scripts/script.php?script_id=3114

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: ANN: YankRing 17.0




On Tue, Apr 30, 2013 at 10:22 AM, Paul <google1241@rainslide.net> wrote:
On Monday, 29 April, 2013 at 00:29:05 BST, AK wrote:
Hi David, one issue I've run into with yankring is
that if I make a recording using q command, it works
fine as I record it, but once I try to play it back,
it gets stuck on a command like dt" and yankring asks
for a character.

I use Vim 7.3.

Is there a workaround for this?

Sounds like the same thing I was seeing only on a Debian system. (I've still not had time to debug it.)


I will try to reproduce it with an unpatched version of Vim 7.3, rather than the 7.3.758 I am currently running.
Of course I will have to reinstall somewhere to get that .exe (should have copied it first ...), but I will report back after my tests.

David
 

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: ANN: YankRing 17.0




On Tue, Apr 30, 2013 at 10:11 AM, BPJ <bpj@melroch.se> wrote:
2013-04-29 01:20, David Fishburn skrev:

YankRing.vim : Maintains a history of previous yanks, changes and deletes
http://www.vim.org/scripts/script.php?script_id=1234

Am I the only one getting an error?

 Vim Online Error

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


No, everyone is getting that error, the Vim MySQL database is down, so no one can download scripts at the moment.

David
 

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: ANN: YankRing 17.0

On Monday, 29 April, 2013 at 00:29:05 BST, AK wrote:
>Hi David, one issue I've run into with yankring is
>that if I make a recording using q command, it works
>fine as I record it, but once I try to play it back,
>it gets stuck on a command like dt" and yankring asks
>for a character.
>
>I use Vim 7.3.
>
>Is there a workaround for this?

Sounds like the same thing I was seeing only on a Debian system. (I've still not had time to debug it.)

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: ANN: YankRing 17.0

2013-04-29 01:20, David Fishburn skrev:
> YankRing.vim : Maintains a history of previous yanks, changes and deletes
> http://www.vim.org/scripts/script.php?script_id=1234

Am I the only one getting an error?

Vim Online Error

Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

/bpj

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: vim, format=flowed and hanging indents

On Apr 30, 2013 at 04:53 AM -0700, Michael Williams wrote:
>vim adds a trailing space to each line except the last, per set fo+=w.
>It also adds spaces for the hanging indent. It looks great!

I can't necessarily answer all of your questions. As I saw it, this
email did NOT have format=flowed set in the headers. It displayed fine
in mutt, but not on my iphone. (I can't be bothered to fire up Mail.app.
Sorry.)

>In case my/your news client screws this up, all the lines have been
>correctly joined back together and the text reflows as expected when
>you resize the window. Fine. But there are 5 spaces between "Etiam" and
>"posuere" at all the other joins.

The 'reflowed' paragraph did have too many spaces over here.

>Is there a fix for this in vim? Or is this a limitation of the
>format=flowed spec? If so, how do other people handle this?

Yes, there is a way to fix it. Mailing your sample paragraphs to myself
caused the same thing to happen. But, it's supposed to as I understand
f=f. Here's why. I think the spec states that if you have a line that
ends with space, the reader should reformat it. If your formatting is
important, then don't put a space at the end of those lines. Since your
numbered list has formating that you want to keep, remove the spaces
from the end of those lines.

So, you need to either remove those spaces with a quick search and
replace (or a macro) or set 'fo-=w' and reformat those lines. Note
however that when you do this, programs which can't display the full
width of your fixed formatted paragraphs are going to mangle the
display. I know my phone just did. (Presumably Mail.app gets this
right since it displays more than 80 columns).

What I can't answer for you is why, when you do that, mutt seems to
delete a space at the beginning of the indented lines.

My ultimate advice is to skip fancy formatting like that in email, and
just go with f=f. So, maybe set 'fo-=n'. (Also, check out the j
option. Nice for reformatting quoted text.)

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: outlookvim




On Tue, Apr 30, 2013 at 12:39 AM, huubby zhou <huubby1@gmail.com> wrote:
I have this same issue occasionally, only my error is, "Could not create email
file [C:\Users\xxx\AppData\Local\Temp\rad1F419.outlook] Invalid procedure call
or argument". Don't know if it's related with email content, since it appears
for some email, meantime, other emails are fine.


Is there a chance you have unicode characters within your email body?

David
 

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

vim, format=flowed and hanging indents

Is there a good way to configure vim to send format=flowed emails that include hanging indents.

My complete vimrc (for testing purposes) is:

set nocompatible
set fo+=awn
set tw=72
set ai

I'm typing something like:

1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam
posuere dui lorem, et condimentum nulla. Sed pharetra justo nec ante
fringilla non mattis nisi blandit. Donec molestie ligula dolor.
Nulla facilisi. Aliquam vel nulla elit, mollis facilisis metus. Sed
id eros a ante blandit convallis id sit amet elit. Duis malesuada
lobortis leo a placerat. Sed ut ipsum nisl. Sed pretium mauris vitae
velit sollicitudin iaculis.

vim adds a trailing space to each line except the last, per set fo+=w. It also adds spaces for the hanging indent. It looks great!

My mail client sets the format=flowed header. The result when this email is viewed in either Mail.app or mutt is not pretty:

1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam posuere dui lorem, et condimentum nulla. Sed pharetra justo nec ante fringilla non mattis nisi blandit. Donec molestie ligula dolor. Nulla facilisi. Aliquam vel nulla elit, mollis facilisis metus. Sed id eros a ante blandit convallis id sit amet elit. Duis malesuada lobortis leo a placerat. Sed ut ipsum nisl. Sed pretium mauris vitae velit sollicitudin iaculis.

In case my/your news client screws this up, all the lines have been correctly joined back together and the text reflows as expected when you resize the window. Fine. But there are 5 spaces between "Etiam" and "posuere" at all the other joins.

Is there a fix for this in vim? Or is this a limitation of the format=flowed spec? If so, how do other people handle this?

Mike

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

RE: Problems with MySQL server on script page (vim.org)

John Beckett wrote:
> I see that http://www.vim.org/ has this message:
>
> [29-Apr-2013] Sourceforge is currently experiencing sporadic
> problems with their project database and web server. This
> means news, scripts and tips are currently unavailable.
> Thank you for your patience. (Scott Johnston)
> Another way to get to the scripts is through git on github.

I've had time to check this a bit more, and I see that the above
is built-in to the PHP code, so we are on our own.
(I had imagined that a reference to "github" could not be in the
fairly old vim.org code, but I'm misremembering history.)

Amusingly, the first Google hit I got was Vimboss (Bram)
reporting a similar problem in February 2011:
http://sourceforge.net/apps/trac/sourceforge/ticket/17514

I'll have a bit of a look at what config needs to be changed,
but I'm hoping Bram will see this and know where to hit it.
My feeble attempts at navigating Sourceforge show no mention of
SQL changes.

John

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Monday, April 29, 2013

Re: outlookvim

I have this same issue occasionally, only my error is, "Could not create email
file [C:\Users\xxx\AppData\Local\Temp\rad1F419.outlook] Invalid procedure call
or argument". Don't know if it's related with email content, since it appears
for some email, meantime, other emails are fine.


On Mon, Apr 29, 2013 at 6:32 AM, David Fishburn <dfishburn.vim@gmail.com> wrote:
Thanks for the email.

Which version of OutlookVim are you using?
:echo g:loaded_outlook


> Note too that the user is not correctly identified in the file name and
there is no such user on the system, but the user name identified is the
correct name but truncated with and the case is changed, e.g., "HPOTT"
instead of hpotter(the actual user name). There is no such user on the
system with the name "HPOTT"

\HPOTT~1\
Is simply the windows short form (no spaces) for \HPOTTER\

You can see this from a cmd prompt using a modified dir with the \X command.

dir c:\ /X

12/04/2013  04:17 PM    <DIR>          PROGRA~1     Program Files
13/04/2013  10:02 AM    <DIR>          PROGRA~2     Program Files (x86)
18/09/2012  02:36 PM    <DIR>          PROGRA~4     ProgramFiles32



> I doubt this is related, but I should add that I know nothing about vb
but figured out that I had to add PtrSafe to the declare statements to
make the macro run on a64 bit os, which is odd because I didn't have to
do this with another system with the same configurations on which
outlookvim runs perfectly. Before this, the macro would not even run.
I've compared the two systems and even tried copying the vb project file
from the working system to the other. But the same error occurs.


I am not clear on what you have done, can you give me very specific instructions.

You can email me directly if you want.

Thanks,
David




On Sun, Apr 28, 2013 at 10:28 AM, <p_s_c@look.ca> wrote:
Re: plugin outlookvim: Using Gim on win7 service pack1 and Outlook2010

I get the following error:

 "Outlook Vim: Could not replace new line characters in
file[c:\Users\HPOTT~1\Appdata\Local\Temp\radF2DBF.outlook]5:Invalid
procedure call or argument."

The above error occurs after clicking on the icon to run the macro. Vim
opens a buffer not attached to a file. It's as though the ICON was a link
to vim but does nothing else except vim also issues an error that states:

 " outlook:cannot find file name
[c:\Users\HPOTT~1\Appdata\Local\Temp\radF2DBF.outlook]"

Note too that the user is not correctly identified in the file name and
there is no such user on the system, but the user name identified is the
correct name but truncated with and the case is changed, e.g., "HPOTT"
instead of hpotter(the actual user name). There is no such user on the
system with the name "HPOTT"

 I doubt this is related, but I should add that I know nothing about vb
but figured out that I had to add PtrSafe to the declare statements to
make the macro run on a64 bit os, which is odd because I didn't have to
do this with another system with the same configurations on which
outlookvim runs perfectly. Before this, the macro would not even run.
I've compared the two systems and even tried copying the vb project file
from the working system to the other. But the same error occurs.

Thanks




--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Re: Vim's default colors on PuTTY

Might this help?

~Mike

On Apr 29, 2013, at 7:06 PM, dwightarmyofchampions@hotmail.com wrote:

I use PuTTY to ssh into a server that uses console (non-GUI) vim. Is there a way to keep the look of vim's colorschemes consistent regardless of what I've set my default foreground/background colors in PuTTY to be? As it is now, if I change PuTTY's color settings (for example, to set PuTTY to look like the desert here: http://www.igvita.com/2008/04/14/custom-putty-color-themes/ ), it affects the look of vim's colorschemes, and I don't want that. PuTTY's settings should stay for PuTTY and vim's settings should stay for vim.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Vim's default colors on PuTTY

I use PuTTY to ssh into a server that uses console (non-GUI) vim. Is there a way to keep the look of vim's colorschemes consistent regardless of what I've set my default foreground/background colors in PuTTY to be? As it is now, if I change PuTTY's color settings (for example, to set PuTTY to look like the desert here: http://www.igvita.com/2008/04/14/custom-putty-color-themes/ ), it affects the look of vim's colorschemes, and I don't want that. PuTTY's settings should stay for PuTTY and vim's settings should stay for vim.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: c_no_curly_error doesn't seem to work with nested braces

> Hi! The following example contains a valid C99 (and C11) compound literal:
>
> post(
> letter,
> &(struct envelope){
> .stamp = {
> .value = ONE_CENT,
> .pic = RAT
> },
> .address = &address
> }
> );
>
> Yet even after setting "let c_no_curly_error = 1", the last closing
> parenthesis remains highlighted in red as if it were an error.
>
> However, if I remove the ".stamp = { ... }" struct member, the
> highlight disappears, so it seems to me that c_no_curly_error can only
> ignore un-nested pairs of braces within any given pair of parentheses.
>
> Can this be fixed and/or is there a workaround? I wouldn't mind
> disabling parentheses-related error checking all together, should that
> be what it takes.

Sending this to vim-dev since I got no reply on the vim user list, and
because I guess it's fair to call the above a bug (vim 7.3.875).

I considered sending a patch of syntax/c.vim, but given that file's
complexity, chances are I'd end up breaking something without even
noticing. Would be happy if a dev could take a look.

Thanks,
Will

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Problems with MySQL server on script page (vim.org)

On Mon, 29 Apr 2013, Kristofer Rye wrote:

> Trying to view a script here:
> (http://www.vim.org/scripts/script.php?script_id=231)

Script is mirrored at:
https://github.com/vim-scripts/Smart-Tabs

To find what script it was, I googled:
site:vim.org inurl:231

> And it yields a "Vim Online Error":
> script:Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
>
> Currently this script is important for me to continue writing code, so
> I'm forced to switch to emacs until this problem gets resolved. D:

If it's that essential, maybe you should grab a copy and put it in git
or mercurial.

--
Best,
Ben

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

RE: Problems with MySQL server on script page (vim.org)

Kristofer Rye wrote:
> Trying to view a script here:
> (http://www.vim.org/scripts/script.php?script_id=231)
>
> And it yields a "Vim Online Error":
> script:Can't connect to local MySQL server through socket

Yes, I just noticed that when trying to check for vim.org spam.
Sourceforge (where vim.org is located) recently sent two emails
to developers saying that they were changing various things for
an exciting new system.

I see that http://www.vim.org/ has this message:

[29-Apr-2013] Sourceforge is currently experiencing sporadic
problems with their project database and web server. This
means news, scripts and tips are currently unavailable.
Thank you for your patience. (Scott Johnston)
Another way to get to the scripts is through git on github.

I believe Scott set the system up, so I'm very glad to see he is
still around, and will presumably do whatever is needed when
Sourceforge has settled down.

OTOH I hope that's not some automated message that displays
(with the current date) when the database can't be accessed!

John

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Problems with MySQL server on script page (vim.org)

Trying to view a script here:
(http://www.vim.org/scripts/script.php?script_id=231)

And it yields a "Vim Online Error":
script:Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

Currently this script is important for me to continue writing code, so
I'm forced to switch to emacs until this problem gets resolved. D:

// Kristofer "four04" Rye

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Problem with opening files and directories on the command line

Charles Campbell wrote:

> Hello, Dennis:
>
> I'm sorry its been such an inordinate long time, but I in looking at my old
> email I saw that the problem you'd mentioned was still outstanding -- and
> still present. Part of the problem was that it was weird that tree listing
> mode would have the effect it did. Anyway, I'm hoping that the current netrw
> (v149c) addresses the issues you'd found.
>
> You can get a copy from my website:
> http://www.drchip.org/astronaut/vim/index.html#NETRW .

Hi Charles

I just downloaded netrw v149c. I still see what looks like
a bug and which I reported earlier. Please review this patch:

$ diff -c autoload/netrw.vim.orig autoload/netrw.vim
*** autoload/netrw.vim.orig 2013-04-29 23:01:56.987914815 +0200
--- autoload/netrw.vim 2013-04-29 23:02:12.195914685 +0200
***************
*** 4193,4199 ****
let b:netrw_curdir= getcwd().'/'.prefixdir
endif
let dirname= substitute(dirname,'^.\{-}\(\*\*/.*\)$','\1','')
! let starpat= 4;
" call Decho("(Explore) ..pwd<".getcwd()."> dirname<".dirname.">")
" call Decho("(Explore) ..case Explore ../**/../filepat
(starpat=".starpat.")")

--- 4193,4199 ----
let b:netrw_curdir= getcwd().'/'.prefixdir
endif
let dirname= substitute(dirname,'^.\{-}\(\*\*/.*\)$','\1','')
! let starpat= 4
" call Decho("(Explore) ..pwd<".getcwd()."> dirname<".dirname.">")
" call Decho("(Explore) ..case Explore ../**/../filepat
(starpat=".starpat.")")

Regards
Dominique

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: making netrw buffers buflisted

Britton Kerin wrote:
>
> I would like netrw buffers to be buflisted, so that they show up in the
> various buffer selecting interfaces.
>
> I've tried to achieve this using autocommands like this:
>
> au BufNew * if &ft == "netrw" | set buflisted | endif
>
> But without success. This above autocommand doesn't go off,
> others that I've tried go off (verified by putting an echom instead of
> set buflisted command), but then buflisted still ends up turned off
> presumably because this happens later than the autocommand hook.
>
> Anyone have a correct event or other recipe to achieve this?
Hello!

Try putting

let g:netrw_bufsettings = "noma nomod nonu nowrap ro"

into your .vimrc . (the default value has nobl, too)

Regards,
C Campbell


--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Problem with opening files and directories on the command line

Dennis Benzinger wrote:
> Hello Mr. Campbell!
>
> Am 07.05.2010 23:02, schrieb Charles Campbell:
>> Dennis Benzinger wrote:
>>> Hi!
>>>
>>> If I try to open a directory and some files on the command line by
>>> using
>>>
>>> vim -o dir file1 file2
>>>
>>> I get three split windows with the following buffer names in their
>>> statusline: NetrwTreeListing 1, dir, dir
>>> The topmost windows shows the contents of the current directory in
>>> netrw.
>>> But it only shows the directory dir, not the two files.
>>> The other two windows are empty. When I move the cursor to the empty
>>> windows
>>> (Ctrl-W j) they start to show the same strange netrw listing with the
>>> files
>>> missing. The buffer names in the status line then change to
>>> NetrwTreeListing 2 and NetrwTreeListing 3.
>>>
>>> I'm using Vim 7.2.411 and the netrw windows show v136.
>>>
>>> Can anyone reproduce this or is it a problem with my configuration?
>>
>> Hello!
>>
>> Please try netrw v138b, available at my website as
>> http://mysite.verizon.net/astronaut/vim/index.html#NETRW .
>> [...]
>
> Thanks for the new version. It almost works. Normally I have
>
> let g:netrw_liststyle = 3
>
> in my .vimrc. With this setting three netrw windows are shown. In
> these windows the two files are missing and only the subdirectory is
> shown.
> If I remove this setting or use the styles zero to two it works.
Hello, Dennis:

I'm sorry its been such an inordinate long time, but I in looking at my
old email I saw that the problem you'd mentioned was still outstanding
-- and still present. Part of the problem was that it was weird that
tree listing mode would have the effect it did. Anyway, I'm hoping that
the current netrw (v149c) addresses the issues you'd found.

You can get a copy from my website:
http://www.drchip.org/astronaut/vim/index.html#NETRW .

Regards,
Chip Campbell

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Still having different pwd for different windows

On 09:12 Mon 29 Apr , Paul Isambert wrote:
> AndyHancock <andymhancock@gmail.com> a écrit:
> > I posted previously about the fact that pwd returns different
> > directories for different windows. I was pointed to autochdir, in
> > particular:
> >
> > verbose set autochdir?
> >
> > which always returns noautochdir.
> >
> > I already have noautochdir in my vimrc, and the above command
> > indicates that netrw was last to set the autochdir option.
> >
> > The problem is sporadic enough that it isn't clear to me that I will
> > ever be able to figure out how/when autochdir is being set (if it is).
>
> The problem might not come from autochdir but from something like:
>
> autocmd BufRead * lcd %:p:h
>
> which sets the window's local directory. Perhaps you have that
> somewhere in your .vimrc file or elsewhere? (It's common enough.)
>
> > As an alternative to tracking this down, is there a way to prevent
> > autochdir from being set at all? I mean even if a plugin or function
> > somehwere issues a command to set autochdir, I want [g]vim to be
> > incapable of complying.
>
> As far as I know, you can't. But you can put a script in your "after"
> directory, which simply contains:
>
> set noautochdir
>
> Scripts in "after" are loaded after plugins.
>
> Best,
> Paul
>

If the above will not solve your problem you can record your local
directory in vimrc:
let g:pwd = getcwd()
and in a '.vim/after/plugin/myscript.vim' use:
set noautochdir
exe 'cd '.fnameescape(g:pwd)

If this was due to lcd used somewhere it should solve it. I assume that
it only happens on startup, if not you might need to use autocommands.
Maybe it only happens with some file type?

Best regards,
Marcin

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: Still having different pwd for different windows

AndyHancock <andymhancock@gmail.com> a écrit:
> I posted previously about the fact that pwd returns different
> directories for different windows. I was pointed to autochdir, in
> particular:
>
> verbose set autochdir?
>
> which always returns noautochdir.
>
> I already have noautochdir in my vimrc, and the above command
> indicates that netrw was last to set the autochdir option.
>
> The problem is sporadic enough that it isn't clear to me that I will
> ever be able to figure out how/when autochdir is being set (if it is).

The problem might not come from autochdir but from something like:

autocmd BufRead * lcd %:p:h

which sets the window's local directory. Perhaps you have that
somewhere in your .vimrc file or elsewhere? (It's common enough.)

> As an alternative to tracking this down, is there a way to prevent
> autochdir from being set at all? I mean even if a plugin or function
> somehwere issues a command to set autochdir, I want [g]vim to be
> incapable of complying.

As far as I know, you can't. But you can put a script in your "after"
directory, which simply contains:

set noautochdir

Scripts in "after" are loaded after plugins.

Best,
Paul

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Sunday, April 28, 2013

Re: ANN: YankRing 17.0

On 04/28/2013 07:47 PM, David Fishburn wrote:
> What version of the YankRing are you using?
> :echo g:loaded_yankring


I was using 13 but now I tried with 17 and I get the same
issue.

>
> Also, what version of Vim are you using, I am most concerned with the
> patch numbers.
> :ver

'10 aug 15; :ver does not show me patch number.


>
> Can you give me a line of text, and the macro you recorded.
> I don't see the problem when I record a macro with dt" with version 17.0.

e.g. line:

join(SITE_ROOT, "templates/forum"),

record commands: wdt"^P
when executing, I get "Yankring: enter character:"

-ak

>
> I am using 7.3.758.
>
> Thanks,
> David
>
>
> On Sun, Apr 28, 2013 at 7:29 PM, AK <andrei.avk@gmail.com
> <mailto:andrei.avk@gmail.com>> wrote:
>
> Hi David, one issue I've run into with yankring is
> that if I make a recording using q command, it works
> fine as I record it, but once I try to play it back,
> it gets stuck on a command like dt" and yankring asks
> for a character.
>
> I use Vim 7.3.
>
> Is there a workaround for this?
>
> Thanks, -ak
>
>
>
> On 04/28/2013 07:20 PM, David Fishburn wrote:
>
> YankRing.vim : Maintains a history of previous yanks, changes
> and deletes
> http://www.vim.org/scripts/__script.php?script_id=1234
> <http://www.vim.org/scripts/script.php?script_id=1234>
>
> What does it do?
>
> Inspired by the Emacs kill ring.
>
> Allows you to retrieve previous yanks, deletes and changed text and
> cycle through them choosing which item you need. It also works
> across
> Vim instances so they all see the same history. Useful for sharing
> text across instances, including when using Screen in *nix.
>
> For a more descriptive write up, please see the web page.
>
> Thanks for everyone's feedback so far.
> If you do try the plugin and find things that bother you, please
> send
> me an email.
>
>
> What is new?
>
> NF: The yankring_history_dir option can now take a comma
> separated list.
> First valid directory found will be used (Alex Bel).
>
> NF: YankRing can now monitor inserted text and place it in the ring.
> This is disabled by default, but can be enabled either through the
> YankRing window or via your .vimrc using the new option:
> g:yankring_record_insert = 1 (Alexandre Viau).
>
> BF: When g:yankring_persist = 0, the YankRing was still reading and
> writing to the yankring file (Vladimir Marek).
>
> BF: The YankRing menu entry, "Replace with Next", was performing the
> "Replace with Previous" action (Thilo Six).
>
>
> As usual, feedback good and bad is always welcome.
>
> Enjoy.
> David
>
> --
> --
> You received this message from the "vim_use" 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
> <http://www.vim.org/maillist.php>
>
> ---
> You received this message because you are subscribed to the Google
> Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from
> it, send
> an email to vim_use+unsubscribe@__googlegroups.com
> <mailto:vim_use%2Bunsubscribe@googlegroups.com>.
> For more options, visit
> https://groups.google.com/__groups/opt_out
> <https://groups.google.com/groups/opt_out>.
>
>
>
> --
> --
> You received this message from the "vim_use" 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
> <http://www.vim.org/maillist.php>
>
> --- You received this message because you are subscribed to the
> Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to vim_use+unsubscribe@__googlegroups.com
> <mailto:vim_use%2Bunsubscribe@googlegroups.com>.
> For more options, visit https://groups.google.com/__groups/opt_out
> <https://groups.google.com/groups/opt_out>.
>
>
>
> --
> --
> You received this message from the "vim_use" 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_use" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Re: ANN: YankRing 17.0

What version of the YankRing are you using?
:echo g:loaded_yankring

Also, what version of Vim are you using, I am most concerned with the patch numbers.
:ver

Can you give me a line of text, and the macro you recorded.
I don't see the problem when I record a macro with dt" with version 17.0.

I am using 7.3.758.

Thanks,
David


On Sun, Apr 28, 2013 at 7:29 PM, AK <andrei.avk@gmail.com> wrote:
Hi David, one issue I've run into with yankring is
that if I make a recording using q command, it works
fine as I record it, but once I try to play it back,
it gets stuck on a command like dt" and yankring asks
for a character.

I use Vim 7.3.

Is there a workaround for this?

Thanks, -ak



On 04/28/2013 07:20 PM, David Fishburn wrote:
YankRing.vim : Maintains a history of previous yanks, changes and deletes
http://www.vim.org/scripts/script.php?script_id=1234

What does it do?

Inspired by the Emacs kill ring.

Allows you to retrieve previous yanks, deletes and changed text and
cycle through them choosing which item you need.  It also works across
Vim instances so they all see the same history.  Useful for sharing
text across instances, including when using Screen in *nix.

For a more descriptive write up, please see the web page.

Thanks for everyone's feedback so far.
If you do try the plugin and find things that bother you, please send
me an email.


What is new?

NF: The yankring_history_dir option can now take a comma separated list.
  First valid directory found will be used (Alex Bel).

NF: YankRing can now monitor inserted text and place it in the ring.
This is disabled by default, but can be enabled either through the
YankRing window or via your .vimrc using the new option:
     g:yankring_record_insert = 1 (Alexandre Viau).

BF: When g:yankring_persist = 0, the YankRing was still reading and
writing to the yankring file (Vladimir Marek).

BF: The YankRing menu entry, "Replace with Next", was performing the
"Replace with Previous" action (Thilo Six).


As usual, feedback good and bad is always welcome.

Enjoy.
David

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.