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

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 latin

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.

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" t

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 lot

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 [EMA

Re: latin1 vs utf8

2007-01-17 Thread DervishD
Hi Tony :) * A.J.Mechelynck <[EMAIL PROTECTED]> dixit: > 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

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, t

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 b

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 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("")) =~ "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 s

Re: latin1 vs utf8

2007-01-17 Thread DervishD
Hi Tony :) * A.J.Mechelynck <[EMAIL PROTECTED]> dixit: > DervishD wrote: > [...] > >\ if system("file -i " . expand("")) =~ "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 be

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("")) =~ "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 bet

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

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).

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 not

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 see..

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

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 mo

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("")) =~ "utf8" | > > \ setlocal fenc=utf8 | > > \ endif > > > > I

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 Mes

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

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 should

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 kno

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 i

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

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 and

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 (so

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 b

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 s

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

2007-01-17 Thread Denis Perelyubskiy
On Wed, 17 Jan 2007 16:20:08 -0800, "Gary Johnson" <[EMAIL PROTECTED]> said: > On 2007-01-17, Denis Perelyubskiy <[EMAIL PROTECTED]> wrote: > > Basically, I think even the "spammed" tips get published to the RSS. I > > don't know if there is a way to "refresh" RSS when the comments are > > removed

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("")) =~ "utf8" | > > \ se

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 f

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.