Re: Konsole: lost focus of window or tab

2007-01-17 Thread Nikolai Weibull
On 1/17/07, Matthew Woehlke [EMAIL PROTECTED] wrote: Mikolaj Machowski wrote: Is it possible to recognize if window or tab of Konsole lost focus through termcap/terminfo sequence? Or is it at least possible with dcop or any other way? I am investigating ways to support Vim

VC8 makefile patch

2007-01-17 Thread Mike Williams
Hi, 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. Enjoy. Mike -- If space is a vacuum, who changes the bags? ***

Re: VC8 makefile patch

2007-01-17 Thread A.J.Mechelynck
Mike Williams wrote: Hi, 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. Enjoy. Mike Why the test on !if

Re: VC8 makefile patch

2007-01-17 Thread Mike Williams
On 17/01/2007 15:09, A.J.Mechelynck wrote: Mike Williams wrote: Hi, 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.

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Matthew Woehlke
Nikolai Weibull wrote: On 1/17/07, Matthew Woehlke wrote: Mikolaj Machowski wrote: Is it possible to recognize if window or tab of Konsole lost focus through termcap/terminfo sequence? Or is it at least possible with dcop or any other way? I am investigating ways to support Vim

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Matthew Woehlke
Matthew Woehlke wrote: Mikolaj Machowski wrote: Is it possible to recognize if window or tab of Konsole lost focus through termcap/terminfo sequence? Or is it at least possible with dcop or any other way? I am investigating ways to support Vim FocusGain/FocusLost autoevents. [snip long

Re: Konsole: lost focus of window or tab

2007-01-17 Thread A.J.Mechelynck
Matthew Woehlke wrote: Matthew Woehlke wrote: Mikolaj Machowski wrote: Is it possible to recognize if window or tab of Konsole lost focus through termcap/terminfo sequence? Or is it at least possible with dcop or any other way? I am investigating ways to support Vim FocusGain/FocusLost

Re: VC8 makefile patch

2007-01-17 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, the new

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Bram Moolenaar
Matthew Woehlke wrote: Matthew Woehlke wrote: Mikolaj Machowski wrote: Is it possible to recognize if window or tab of Konsole lost focus through termcap/terminfo sequence? Or is it at least possible with dcop or any other way? I am investigating ways to support Vim

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Mikolaj Machowski
Dnia środa 17 styczeń 2007, Matthew Woehlke napisał: Matthew Woehlke wrote: Mikolaj Machowski wrote: Is it possible to recognize if window or tab of Konsole lost focus through termcap/terminfo sequence? Or is it at least possible with dcop or any other way? I am investigating ways

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Mikolaj Machowski
Dnia środa 17 styczeń 2007, Matthew Woehlke napisał: I'm willing to (try to, at least) help get this working in 3.5.x if you can dig up what the needed escapes are (it sounds like there are already existing examples?)... it probably won't be accepted but you could use it locally, and of

Re: Konsole: lost focus of window or tab

2007-01-17 Thread Bram Moolenaar
Mikolaj Machowski wrote: Dnia środa 17 styczeń 2007, Matthew Woehlke napisał: I'm willing to (try to, at least) help get this working in 3.5.x if you can dig up what the needed escapes are (it sounds like there are already existing examples?)... it probably won't be accepted but you

BOF Vim 8 - Suggestions

2007-01-17 Thread John Beckett
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 a new version (Vim 8). I

BOF Vim 8 - EncryptLine

2007-01-17 Thread John Beckett
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: server12 { admin topsecret } any text

Re: BOF Vim 8 - EncryptLine

2007-01-17 Thread Robert Lee
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: server12 { admin

Odp: BOF Vim 8 - Suggestions

2007-01-17 Thread Mikołaj Machowski
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 this apply for me also ;),

Re: latin1 vs utf8

2007-01-17 Thread DervishD
Hi Bram :) * Bram Moolenaar [EMAIL PROTECTED] dixit: utf-8 is a superset of latin1, thus using utf-8 for 'encoding' should nearly always work. Except that then I have to encode my 'showbreak' option as utf8 and not latin1 :( I prefer to have it encoded as latin1 (as the rest

Re: latin1 vs utf8

2007-01-17 Thread A.J.Mechelynck
DervishD wrote: Hi Bram :) * Bram Moolenaar [EMAIL PROTECTED] dixit: utf-8 is a superset of latin1, thus using utf-8 for 'encoding' should nearly always work. Except that then I have to encode my 'showbreak' option as utf8 and not latin1 :( I prefer to have it encoded as latin1 (as

Re: latin1 vs utf8

2007-01-17 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: If I change 'enc', I see 'á', correctly. You should do :edit ++enc=utf-8 filename or include utf-8 in 'fileencodings' before editing the file. Then it will work no matter what 'encoding' is set to. But then my

Re: latin1 vs utf8

2007-01-17 Thread A.J.Mechelynck
DervishD wrote: [...] So, and if I understand everything correctly, if my locale is latin1, my terminal is latin1 (that is, enc=latin1 and tenc=latin1) and I want to edit/view utf8 files *and* I don't want new files or US-ASCII files to be considered utf8, my best bet is to use BufReadPre to

Reformatting text after setting tw

2007-01-17 Thread Stavros Tsolakos
Hi all. I am editing a text file with vim7. I set tw=80 and it works for any text I write AFTER setting it. But how could I force vim reformat my whole text file so that all lines obey to the new textwidth? Perhaps it is a dumb question, but I still haven't found a way to do it. Thanks a

Re: Reformatting text after setting tw

2007-01-17 Thread Erlend Hamberg
On Wednesday 17 January 2007 13:37, Stavros Tsolakos wrote: I am editing a text file with vim7. I set tw=80 and it works for any text I write AFTER setting it. But how could I force vim reformat my whole text file so that all lines obey to the new textwidth? :help gq -- Erlend Hamberg [EMAIL

Re: latin1 vs utf8

2007-01-17 Thread DervishD
Hi all, and sorry for self-replying... * DervishD [EMAIL PROTECTED] dixit: I want to edit/view utf8 files *and* I don't want new files or US-ASCII files to be considered utf8, my best bet is to use BufReadPre to detect utf8 files using file -i or something similar, thus forcing the

Re: Reformatting text after setting tw

2007-01-17 Thread DervishD
Hi Stavros :) * Stavros Tsolakos [EMAIL PROTECTED] dixit: I am editing a text file with vim7. I set tw=80 and it works for any text I write AFTER setting it. But how could I force vim reformat my whole text file so that all lines obey to the new textwidth? There is probably a

Re: Reformatting text after setting tw

2007-01-17 Thread marc
Stavros Tsolakos said... Hi all. I am editing a text file with vim7. I set tw=80 and it works for any text I write AFTER setting it. But how could I force vim reformat my whole text file so that all lines obey to the new textwidth? I use map F8 gqap to format paragraphs. See :h

Re: vim 7.0, Edit with Vim, and x64 WinXP

2007-01-17 Thread Phil Edwards
On 1/17/07, George V. Reilly [EMAIL PROTECTED] wrote: Phil Edwards wrote: 7.0 is running fine on all my other systems, it's only this 64-bit XP box that doesn't see the new menu entries. I can't even get an Edit with... entry to appear; that seems to be gone or restricted or moved or.

Re: latin1 vs utf8

2007-01-17 Thread A.J.Mechelynck
DervishD wrote: [...] \ if system(file -i . expand(amatch)) =~ utf8 | [...] On my system, file -i ~/pub/index.htm (for a file in UTF-8) answers /root/pub/index.htm: text/x-c; charset=utf-8 Notice the dash between utf and 8. Best regards, Tony.

Re: Reformatting text after setting tw

2007-01-17 Thread Tim Chase
I am editing a text file with vim7. I set tw=80 and it works for any text I write AFTER setting it. But how could I force vim reformat my whole text file so that all lines obey to the new textwidth? Perhaps it is a dumb question, but I still haven't found a way to do it. In addition to the

Re: latin1 vs utf8

2007-01-17 Thread A.J.Mechelynck
DervishD wrote: Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: [...] \ if system(file -i . expand(amatch)) =~ utf8 | [...] On my system, file -i ~/pub/index.htm (for a file in UTF-8) answers /root/pub/index.htm: text/x-c; charset=utf-8 Notice the dash

Re: latin1 vs utf8

2007-01-17 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: Notice the dash between utf and 8. My bad, I typed carelessly. It succeeded on my system because I did my first test with a file *named* 'utf8'. I've noticed the problem a moment ago, and it's already fixed. Hoho... Then maybe

Re: latin1 vs utf8

2007-01-17 Thread A.J.Mechelynck
DervishD wrote: Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: Notice the dash between utf and 8. My bad, I typed carelessly. It succeeded on my system because I did my first test with a file *named* 'utf8'. I've noticed the problem a moment ago, and it's already fixed. Hoho...

Re: vim 7.0, Edit with Vim, and x64 WinXP

2007-01-17 Thread [EMAIL PROTECTED]
Phil Edwards wrote: As it happens, neither of those helps, because the shell extension is not being used at all. After some more research, I've found that 32-bit shell extensions are not loaded into the 64-bit Windows Explorer, regardless of registry entries (like the first suggestion). I

Re: latin1 vs utf8

2007-01-17 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: * A.J.Mechelynck [EMAIL PROTECTED] dixit: Notice the dash between utf and 8. My bad, I typed carelessly. It succeeded on my system because I did my first test with a file *named* 'utf8'. I've noticed the problem a

install custom python module?

2007-01-17 Thread Tom Whittock
Hi. 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 possible? There doesn't seem to be a python_path equivalent that I can

Re: latin1 vs utf8

2007-01-17 Thread Bram Moolenaar
DervishD wrote: Hi all, and sorry for self-replying... * DervishD [EMAIL PROTECTED] dixit: I want to edit/view utf8 files *and* I don't want new files or US-ASCII files to be considered utf8, my best bet is to use BufReadPre to detect utf8 files using file -i or something

Spam in Tips in Vim's website

2007-01-17 Thread DervishD
Hi all :) I've noticed that there are still spam in the Tips comments at the vim website. Bram, do you need help with that? If you want, I can take a look at the comments and delete any spam I catch. I don't know how much spare time I'll have, but even with ~1500 tips, it shouldn't take

Re: latin1 vs utf8

2007-01-17 Thread DervishD
Hi Bram :) * Bram Moolenaar [EMAIL PROTECTED] dixit: DervishD wrote: I've done the following autocommand to perform the detection: autocmd BufReadPre * \ if system(file -i . expand(amatch)) =~ utf8 | \ setlocal fenc=utf8 | \ endif I'm sure that it

RE: Spam in Tips in Vim's website

2007-01-17 Thread Halim, Salman
While I'm not in a position to determine who gets to moderate tips, I would like to request that if anybody sees spam while looking through a tip and decides to mention it, please include the tip number(s) so a moderator can go in and address the issue. Thank you, Salman. -Original

Re: Spam in Tips in Vim's website

2007-01-17 Thread Kim Schulz
On Wed, 17 Jan 2007 20:46:30 +0100 DervishD [EMAIL PROTECTED] wrote: Hi all :) I've noticed that there are still spam in the Tips comments at the vim website. Bram, do you need help with that? If you want, I can take a look at the comments and delete any spam I catch. I don't know

Re: Spam in Tips in Vim's website

2007-01-17 Thread Bram Moolenaar
DervishD wrote: I've noticed that there are still spam in the Tips comments at the vim website. Bram, do you need help with that? If you want, I can take a look at the comments and delete any spam I catch. I don't know how much spare time I'll have, but even with ~1500 tips, it shouldn't

Re: Spam in Tips in Vim's website

2007-01-17 Thread DervishD
Hi Bram :) * Bram Moolenaar [EMAIL PROTECTED] dixit: DervishD wrote: I've noticed that there are still spam in the Tips comments at the vim website. Bram, do you need help with that? If you want, I can take a look at the comments and delete any spam I catch. I don't know how

Re: Spam in Tips in Vim's website

2007-01-17 Thread DervishD
Hi Salman :) * Halim, Salman [EMAIL PROTECTED] dixit: While I'm not in a position to determine who gets to moderate tips, I would like to request that if anybody sees spam while looking through a tip and decides to mention it, please include the tip number(s) so a moderator can go in and

Re: Spam in Tips in Vim's website

2007-01-17 Thread DervishD
Hi Kim :) * Kim Schulz [EMAIL PROTECTED] dixit: On Wed, 17 Jan 2007 20:46:30 +0100 DervishD [EMAIL PROTECTED] wrote: I've noticed that there are still spam in the Tips comments at the vim website. Bram, do you need help with that? If you want, I can take a look at the comments

Tips which are spam

2007-01-17 Thread DervishD
Hi all :)) So far I've picked: 1473,1471,1461,1460,1459,1457,1452. At least some of them have been already deleted. About the spam in tips' comments, that's another issue. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC

Re: Tips which are spam--clean up author/summary

2007-01-17 Thread Russell Bateman
While (someone) is at it, tip #1472's author and summary need to be adjusted. Similarly, #1456's author field.

RE: Tips which are spam--clean up author/summary

2007-01-17 Thread Halim, Salman
Moderators can only mark tips and/or comments as spam. We can't make any other changes. -Original Message- From: Russell Bateman [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 17, 2007 4:09 PM To: vim Subject: Re: Tips which are spam--clean up author/summary While (someone)

Re: install custom python module?

2007-01-17 Thread Aaron Griffin
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 possible? There doesn't seem

RE: Spam in Tips in Vim's website

2007-01-17 Thread Halim, Salman
I've subscribed and I've already picked some of the spam. Unfortunately, this only solves tips that *are* spam, not spam in comments (at least I can't catch that from reader without looking at every tip). Raúl Núñez de Arenas Coronado Spam in comments can also be addressed by

Tips which have spam contained in their comments/notes:

2007-01-17 Thread Charles E Campbell Jr
Hello! FYI -- this is a list of my tips that still have link spam added as comments/notes: 126 139 147 150 152 167 200 411 573 588 607 622 744 862 895 I'm sure that they're not the only ones. Regards, Chip Campbell

Re: vim.sf.net and subscribing to comments/scripts on Google's front page

2007-01-17 Thread Gary Johnson
On 2007-01-17, Denis Perelyubskiy [EMAIL PROTECTED] wrote: hello, does anyone subscribe to comments/tips from vim.sf.net on Google's home page? Every time I try, I get very weird comments: e.g.: Tip #1473 - pics of amateur videos nude Tip #1472 - VIMRC Tip #1471 - spanish shemale sex

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

2007-01-17 Thread Yongwei Wu
On 1/18/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Hello! FYI -- this is a list of my tips that still have link spam added as comments/notes: 126 139 147 150 152 167 200 411 573 588 607 622 744 862 895 I'm sure that they're

Re: latin1 vs utf8

2007-01-17 Thread Yongwei Wu
On 1/18/07, DervishD [EMAIL PROTECTED] wrote: Hi Bram :) * Bram Moolenaar [EMAIL PROTECTED] dixit: DervishD wrote: I've done the following autocommand to perform the detection: autocmd BufReadPre * \ if system(file -i . expand(amatch)) =~ utf8 | \ setlocal

Administrator never hears the beep

2007-01-17 Thread Spencer Lu
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: Administrator never hears the beep

2007-01-17 Thread panshizhu
Spencer Lu [EMAIL PROTECTED] 写于 2007-01-18 13:45:29: 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

Re: Administrator never hears the beep

2007-01-17 Thread Spencer Lu
[EMAIL PROTECTED] wrote: Beeps are controled by t_ settings, those settings may be reset *after* .vimrc. So you should set those in .gvimrc again. Check if there's a .gvimrc for Administrator? Neither the normal user nor Administrator have a gvimrc file.