Re: BOF Vim 8 - EncryptLine

2007-01-18 Thread Matthew Winn
John Beckett wrote: Suggested new feature: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. Example lines before encryption:

Re: BOF Vim 8 - Suggestions

2007-01-18 Thread Mikołaj Machowski
1. Persistence of search highlighting is IMO good thing. Forgot to explain why: newbies often are pressing Esc just in case of ... . So this key shouldn't do by default anything more than changing of mode. m. Adaptacja bestsellerowej

Re: BOF Vim 8 - EncryptLine

2007-01-18 Thread Robert Lee
Nicolas Weber wrote: Hi, You are correct, I was thinking of this the other way around. My suggestion would only be security in the sense that someone reading over your shoulder would be prevented from seeing sensitive content in the file (e.g. passwords) and would really only be an extension

Re: VC8 makefile patch

2007-01-18 Thread Mike Williams
On 17/01/2007 19:44, Bram Moolenaar wrote: Mike Williams wrote: Attached is a patch to use VC8 specific optimization options. FTR, VC8 no longer supports the /Gn processor code generation directive, and the makefile now uses link time code generation when not optimizing for space. Although

Re: BOF Vim 8 - EncryptLine

2007-01-18 Thread Nikolai Weibull
On 1/18/07, Robert Lee [EMAIL PROTECTED] wrote: Also, executing such a command on a password while someone is watching only brings attention to the password, which appears in clear text until the command sequence has been completed (where-as folding can be applied automatically when the file is

Re: VC8 makefile patch

2007-01-18 Thread A.J.Mechelynck
Mike Williams wrote: On 17/01/2007 19:44, Bram Moolenaar wrote: Mike Williams wrote: Attached is a patch to use VC8 specific optimization options. FTR, VC8 no longer supports the /Gn processor code generation directive, and the makefile now uses link time code generation when not

Re: Bug with --remote-tab-silent

2007-01-18 Thread A.J.Mechelynck
Alexei Alexandrov wrote: Hi Bram et al., here is a rather strange bug. It seems to be specific for Windows and only when I try to open *.exe or *.dll file (yes, it's strange but sometimes I use it). If I open an *.exe file with gvim bjam.exe it opens just fine. But if I open it with gvim

Re: patch 182 and selectbuf

2007-01-18 Thread A.J.Mechelynck
Denis Perelyubskiy wrote: hello, I briefly upgraded to patch 182 a little while back, and selectbuf script which I absolutely adore :) stopped working (http://vim.sourceforge.net/scripts/script.php?script_id=107) I am using version .178 right now. Something about those 4 patches

Re: Odp: BOF Vim 8 - Suggestions

2007-01-18 Thread A.J.Mechelynck
Mikołaj Machowski wrote: I won't say more now. If Bram feels that improved defaults would be worth investigating, a discussion here would probably be best. OTOH people who dream in Vim script may not be the best source of ideas on how Vim should be configured to win new converts. I suppose

Re: Bug with --remote-tab-silent

2007-01-18 Thread Alexei Alexandrov
Hi Bram Moolenaar, you wrote: I can't reproduce it. It could be caused by a plugin. Does adding -V10 show some context of the error? Does anyone else see this? Not sure if my previous message reached the list: the bug is reproducible only if the extension of the file is in

Re: Bug with --remote-tab-silent

2007-01-18 Thread Alexei Alexandrov
Hi A.J.Mechelynck, you wrote: Exe or dll files are usually binaries (which shouldn't cause E479 however); and unlike cmd.exe when executing them, Vim doesn't lookup the PATH for editfiles. 1) Are you sure the directory containing the editfile was current? If it wasn't, you should

Re: BOF Vim 8 - Suggestions

2007-01-18 Thread Alexei Alexandrov
Hi John Beckett, you wrote: The best way to expand Vim usage IMHO would be to work out better default settings to improve the first hour of contact. In addition, perform necessary fixups, but resist new features. I also think that Vim is feature-enough. What affects me most of all every

Re: BOF Vim 8 - EncryptLine

2007-01-18 Thread Bram Moolenaar
John Beckett wrote: Suggested new feature: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. Example lines before encryption:

Re: VC8 makefile patch

2007-01-18 Thread Bram Moolenaar
Mike Williams wrote: Attached is a patch to use VC8 specific optimization options. FTR, VC8 no longer supports the /Gn processor code generation directive, and the makefile now uses link time code generation when not optimizing for space. Although MS keeps changing the arguments,

Re: Bug with --remote-tab-silent

2007-01-18 Thread Bram Moolenaar
Alexei Alexandrov wrote: On 1/17/07, Bram Moolenaar [EMAIL PROTECTED] wrote: I can't reproduce it. It could be caused by a plugin. Does adding -V10 show some context of the error? Does anyone else see this? It reproduces only when the extension of the file is added into

Re: BOF Vim 8 - Suggestions

2007-01-18 Thread Bram Moolenaar
John Beckett wrote: Sorry I'm late, but I just listened to the Vim BOF session that Bram mentioned three months ago. In the talk, Bram sounded quite evangelical with regard to promoting Vim usage, and he asked for suggestions on how he should best spend his limited time in working towards

Re: Konsole: lost focus of window or tab

2007-01-18 Thread Mikolaj Machowski
Dnia czwartek 18 styczeń 2007, Matthew Woehlke napisał: ...I am not a Vim hacker, but if you can rig Vim to handle some escape sequence, I may be able to help make Konsole understand/send them. A start might be to write a simple application that sends the sequence to turn on the function and

Re: Konsole: lost focus of window or tab

2007-01-18 Thread Mikolaj Machowski
Dnia czwartek 18 styczeń 2007, Bram Moolenaar napisał: Note that we also need one to enable/disable getting these events. A program should only get the events when asked for. Are you talking here about Vim part or Konsole part? m.

Re: Konsole: lost focus of window or tab

2007-01-18 Thread Bram Moolenaar
Mikolaj Machowski wrote: Dnia czwartek 18 styczeñ 2007, Bram Moolenaar napisa³: Note that we also need one to enable/disable getting these events. A program should only get the events when asked for. Are you talking here about Vim part or Konsole part? Both. The terminal emulater

Re: Bug with --remote-tab-silent

2007-01-18 Thread Todd Neal
Bram Moolenaar wrote: Alexei Alexandrov wrote: On 1/17/07, Bram Moolenaar [EMAIL PROTECTED] wrote: I can't reproduce it. It could be caused by a plugin. Does adding -V10 show some context of the error? Does anyone else see this? It reproduces only when the extension of the file is added

Re: Konsole: lost focus of window or tab

2007-01-18 Thread Matthew Woehlke
Bram Moolenaar wrote: Mikolaj Machowski wrote: Dnia czwartek 18 styczeñ 2007, Bram Moolenaar napisa³: Note that we also need one to enable/disable getting these events. A program should only get the events when asked for. Are you talking here about Vim part or Konsole part? Both. The

Re: Konsole: lost focus of window or tab

2007-01-18 Thread Mikolaj Machowski
Dnia piątek 19 styczeń 2007, Matthew Woehlke napisał: So, just to make sure I am following, Vim does or does not currently understand any escape sequences for focus events? It sounds like no, but then what about A.J.'s comment about reacting to [focus] events for 'the GUI and a few console

Re: Spam in Tips in Vim's website

2007-01-18 Thread DervishD
Hi Salman :) * Halim, Salman [EMAIL PROTECTED] dixit: Spam in comments can also be addressed by moderators as of fairly recently. When you come across such a comment, you can mark the comment as spam, leaving the rest of the tip and comments alone. While you are correct that you may not

Re: latin1 vs utf8

2007-01-18 Thread DervishD
Hi Yongwei :) * Yongwei Wu [EMAIL PROTECTED] dixit: On 1/18/07, DervishD [EMAIL PROTECTED] wrote: Did you set 'fileencodings' to an empty string? Otherwise this would not work. Apart from fixing the above (including the last version I posted here, which has a catch, yes, I have

Re: latin1 vs utf8

2007-01-18 Thread Yongwei Wu
On 1/18/07, DervishD [EMAIL PROTECTED] wrote: * Yongwei Wu [EMAIL PROTECTED] dixit: On 1/18/07, DervishD [EMAIL PROTECTED] wrote: Did you set 'fileencodings' to an empty string? Otherwise this would not work. Apart from fixing the above (including the last version I posted here,

Re: latin1 vs utf8

2007-01-18 Thread DervishD
Hi Yongwei :) * Yongwei Wu [EMAIL PROTECTED] dixit: * Yongwei Wu [EMAIL PROTECTED] dixit: On 1/18/07, DervishD [EMAIL PROTECTED] wrote: Did you set 'fileencodings' to an empty string? Otherwise this would not work. Apart from fixing the above (including the last version I

Modifying the tag stack

2007-01-18 Thread Alpt
How is it possible to push something in the tag stack without jumping? I fear that a ugly hack is needed to accomplish this. Actually I'm interesting only in jumping back, since I use `:e file' to jump forward. Hack I: use a temporary tag file (very ugly) Hack II: temporary remap CTRL-T

omnicompletion vs. old Ctrl-n

2007-01-18 Thread Daniel Nogradi
Hi list, I'm using vim 6.3 and was thinking about upgrading to 7.0 especially because of the new omni completion feature. But at the moment I'm not quite sure what I would gain as there is the old Ctrl-n key in insert mode which does code completion. So what does omni completion add that Ctrl-n

Vim taking a long time to save files

2007-01-18 Thread Keith Waters
Hi All. One of my new servers, running vim, is taking a very long time to save files of any size. (We're talking about 11 seconds). The server is not busy at all ( IO and CPU, I checked using vmstat) and there are no hard drive errors showing in syslog. I have no idea where to start

Re: Vim taking a long time to save files

2007-01-18 Thread Eduardo Otubo
How are you using VIM? The binary is in the server? Or the shared libs are in the server...I dont know where exactly the problem can be. Some NFS or SSH? Last year I had the same problems on the lab university, and the problem was the heavy traffic on the network (bad administration) and their

Re: Modifying the tag stack

2007-01-18 Thread Alpt
On Thu, Jan 18, 2007 at 08:15:37AM -0500, Ross A. Osborn: ~ On Thu, Jan 18, 2007 at 01:58:40PM +0100, Alpt wrote: ~ ~ How is it possible to push something in the tag stack without jumping? ~ ~ Would mapping the combination of CTRL-TCTRL-O do what you want? No, because the user has to always

Re: Vim taking a long time to save files

2007-01-18 Thread Keith Waters
It's running on the server, no network involved. Just a standard out-of-the box enterprise linux installation (ie installed from rpm) Keith How are you using VIM? The binary is in the server? Or the shared libs are in the server...I dont know where exactly the problem can be. Some NFS or

Re: Tips which have spam contained in their comments/notes:

2007-01-18 Thread Charles E Campbell Jr
Yongwei Wu wrote: On 1/18/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote: FYI -- this is a list of my tips that still have link spam added as comments/notes: I'm sure that they're not the only ones. It is really annoying. In the worst case, there are 12 spam notes in a tip! I needed

Re: Vim taking a long time to save files

2007-01-18 Thread Tim Chase
It's running on the server, no network involved. Just a standard out-of-the box enterprise linux installation (ie installed from rpm) Other things one might want to investigate: - does it happen when you start with vim -u NONE (eliminate possible plugin/script problems) - is your

Re: latin1 vs utf8

2007-01-18 Thread A.J.Mechelynck
DervishD wrote: Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: [...] One thing I just noticed: shell scripts (which are text) get application/x-shellscript and no charset, at least on my system; IMHO that's a bug in the file program. I don't know if it is a bug or not, but

Re: install custom python module?

2007-01-18 Thread A.J.Mechelynck
Aaron Griffin wrote: On 1/17/07, Tom Whittock [EMAIL PROTECTED] wrote: I would like to install an external python module (ctypes) into vim +python, so I can use that modules functionality from my script, but am unsure as to how to do that. Is this a reasonable thing to want to do? Is it

Re: Administrator never hears the beep

2007-01-18 Thread Tim Chase
I'm running Vim 6.4 on Windows 2000. When I'm using GVim as a normal user, I can hear the beeping noises (for example, if I'm on the last line and then press 'j'). However, when I'm logged in as Administrator, I never hear any beeping noises. I made a few changes to my _vimrc file, but the

Re: Keyboard mapping being changed during usage

2007-01-18 Thread Paul Irofti
On Thu, Jan 18, 2007 at 02:31:21PM -0200, Vinicius Pinto wrote: I'm using Vim 7.0 on Windows XP and my keyboard mapping is set so brazilian portuguese (ABNT2). The problem is that sometimes when I'm using Vim, it changes the mapping to US, so, for example, when I type the ? key, it prints a

Re: Modifying the tag stack

2007-01-18 Thread Charles E Campbell Jr
Alpt wrote: On Thu, Jan 18, 2007 at 08:15:37AM -0500, Ross A. Osborn: ~ On Thu, Jan 18, 2007 at 01:58:40PM +0100, Alpt wrote: ~ ~ How is it possible to push something in the tag stack without jumping? ~ ~ Would mapping the combination of CTRL-TCTRL-O do what you want? No, because the user

vim over slow serial line

2007-01-18 Thread Yakov Lerner
Over serial 9600 line, when I press Arrows shortly after ESC, I get A B inserted into text. How do I need to set timeoutlen and ttimeoutlen to fix this problem ? I tried defaults and I tried timeoutlen=1500 ttimeoutlen=50 that I use on the fast console vim, was not good for slow serial line.

Re: Spam in Tips in Vim's website

2007-01-18 Thread Guido Van Hoecke
Hi, I think I'll follow the advices from Salman Halim and Kim Schulz and I'll subscribe to vim tips using the RSS feed and will report the number I have no problems to add the vim scripts rss feed to my firefox live bookmarks by clicking the orange icon in the address bar. But the tips

Re: install custom python module?

2007-01-18 Thread A.J.Mechelynck
Tom Whittock wrote: ... pyfile ctypes.py ... Hi Tony. Thanks for the reply, but ctypes is actually a binary module (dll file) which needs to be installed into the python module path directly - unless I miss my guess, pyfile will source a python script but will not load a dll module. yes,

Re: Keyboard mapping being changed during usage

2007-01-18 Thread Stefan Kell
Hello, On Thu, 18 Jan 2007, Vinicius Pinto wrote: I'm using Vim 7.0 on Windows XP and my keyboard mapping is set so brazilian portuguese (ABNT2). The problem is that sometimes when I'm using Vim, it changes the mapping to US, so, for example, when I type the Ç key, it prints a quote. If I

Re: omnicompletion vs. old Ctrl-n

2007-01-18 Thread Mikolaj Machowski
On czwartek 18 styczeń 2007, vim@vim.org wrote: Hi list, I'm using vim 6.3 and was thinking about upgrading to 7.0 especially because of the new omni completion feature. But at the moment I'm not quite sure what I would gain as there is the old Ctrl-n key in insert mode which does code

Re: omni complete for php is really slooow

2007-01-18 Thread Mikolaj Machowski
On czwartek 18 styczeń 2007, Mikolaj Machowski, vim@vim.org wrote: On my Sempron2200, 512MB RAM it may be not very fast but IMO is acceptable. Looks like something is wrong with your setup. Do you use tags files? You mean ctags? Yes. I'm using it Anyway thanks for your response. I will

Re: Administrator never hears the beep

2007-01-18 Thread A.J.Mechelynck
Spencer Lu wrote: I'm running Vim 6.4 on Windows 2000. When I'm using GVim as a normal user, I can hear the beeping noises (for example, if I'm on the last line and then press 'j'). However, when I'm logged in as Administrator, I never hear any beeping noises. I made a few changes to my

Re: omnicompletion vs. old Ctrl-n

2007-01-18 Thread Daniel Nogradi
I'm using vim 6.3 and was thinking about upgrading to 7.0 especially because of the new omni completion feature. But at the moment I'm not quite sure what I would gain as there is the old Ctrl-n key in insert mode which does code completion. So what does omni completion add that Ctrl-n

Re: Modifying the tag stack

2007-01-18 Thread Alpt
On Thu, Jan 18, 2007 at 12:21:07PM -0500, Charles E Campbell Jr: ~ ~ Perhaps something along the lines of ~ ~ save current user position/buffer (see :help getpos()) ~ :exe keepjumps ta .expand(cword.) ~ :return to saved user position buffer (but use keepjumps) (see :help ~ setpos()) In the

Re: Vim taking a long time to save files

2007-01-18 Thread Cameron Simpson
On 18Jan2007 09:23, Tim Chase [EMAIL PROTECTED] wrote: | It's running on the server, no network involved. Just a standard | out-of-the box enterprise linux installation (ie installed from rpm) | | Other things one might want to investigate: | | - does it happen when you start with vim -u NONE

Re: omnicompletion vs. old Ctrl-n

2007-01-18 Thread A.J.Mechelynck
Daniel Nogradi wrote: Hi list, I'm using vim 6.3 and was thinking about upgrading to 7.0 especially because of the new omni completion feature. But at the moment I'm not quite sure what I would gain as there is the old Ctrl-n key in insert mode which does code completion. So what does omni

Re: vim over slow serial line

2007-01-18 Thread A.J.Mechelynck
Yakov Lerner wrote: Over serial 9600 line, when I press Arrows shortly after ESC, I get A B inserted into text. How do I need to set timeoutlen and ttimeoutlen to fix this problem ? I tried defaults and I tried timeoutlen=1500 ttimeoutlen=50 that I use on the fast console vim, was not good for

Re: Administrator never hears the beep

2007-01-18 Thread Spencer Lu
Tim Chase wrote: I'm running Vim 6.4 on Windows 2000. When I'm using GVim as a normal user, I can hear the beeping noises (for example, if I'm on the last line and then press 'j'). However, when I'm logged in as Administrator, I never hear any beeping noises. I made a few changes to my