Re: changing what counts as a paragraph

2009-09-10 Thread Jan-Herbert Damm

Hello Gene,

i am surprised that - especially in this discussion - your lines seem to be
not wrapped ;)

snip:
 
 Understood, but those who *can't* bottom-post (eg, on Berries) can say so, 
 and for a while at least, that can be forgiven, ie, use a normal computer 
 next time.  Berries are nice for, Ooh, lemme check my email now and send 
 replies about any pressing matters, *not* usually, Hmmm, I think I'll ask 
 about deleting buffers on the vim list  Past a certain point, though, 
 patience can run out.


greetings

jan
 


--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



RE: vi-improved.com

2009-09-10 Thread John Beckett

 Thanks for reporting the problem, even though I prefer to
 see a real name in a message like this.

 Why?

Folks, could we please reduce the meta chat.

Most good advice on this list comes from people who have no need
to be here, and who have expressed a preference for bottom
posting and not wasting Bram's time.

While even the experienced Vimmer will occasionally learn
something, and it's all interesting, those who regularly answer
questions could very easily get by without needing to
participate.

Accordingly, I ask that we get back to Vim (although chat about
the Vim T-shirt of course is welcome). Resist the temptation to
add more comments.

John


--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



cppchecker annotation in vim

2009-09-10 Thread Nathan Huesken

Hi,

I just discovered the program cppchecker and wondered, is there anyway
the lines, where cppchecker finds something, can be highlighted in gvim
(does a plugin for this exists).

google revealed nothing ...

Thanks!
Nathan
-- 

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



omnicppcomplete not completing this-

2009-09-10 Thread Nathan Huesken

Hi,

I installed omnicppcomplete using this:
http://vim.wikia.com/wiki/C%2B%2B_code_completion

Now, I am in my Project and press C-F12 to rebuild tags (and I can see
the tags file).

Then I am in a member function of a class and type this-

Omnocomplete says: Pattern not found

is there something I missed?

Thanks!
Nathan
-- 

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Multi character marks

2009-09-10 Thread Pankaj Deshpande

Hello,
   I was wondering if multi-character mark-identifiers can be used instead of 
single characters such as upper or lower case letters.

Regards,
Pankaj A Deshpande.


--
Click for exclusive coverage on the New Bajaj Pulsar 220 the fastest Indian bike
http://www.zigwheels.com/Features/Bajaj-Pulsar-220-DTSi-Special-Coverage/Pulsar_20090623-1-1

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Need help to design Vim T-shirts

2009-09-10 Thread Ismael Barros

So looks like the most widely shared opinion favors a simple logo with
something vimmie in the back. I'll ask the design team what can be
done to offer T-shirts and polos with the same design, and tell them
to start sketching some more polished designs.
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Need help to design Vim T-shirts

2009-09-10 Thread Ismael Barros

On Sep 9, 11:35 pm, Raúl Núñez de Arenas Coronado raul...@gmail.com
wrote:
 Thanks for the link. I don't trust parcel services, since they deliver
 the parcel to the first one that signs the receipt. Usually, a good
 neighbour, but... SEUR has delivered packages sent to me to at least
 three neighbours, for example. I no longer pay anything in advance if it
 is to be delivered using a parcel service, just in case it is delivered
 to a neighbour that prefers to keep the package... Nacex has done the
 same a couple of times, but otherwise they work a tiny little bit better
 than SEUR (which probably is the worst parcel service in Spain).

I think we haven't had any problem with Nacex, but anyway with Nacex
we offer the possibility to pay with COD (unlike with Correos, it
would be madness, we already tried)

 Are you from Spain?

From Vigo :)
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Vim and Dvorak keyboard

2009-09-10 Thread Tuomas

Hello!

Since I do a lot of typing, some people recommend that I move to Dvorak 
keyboard. I also use the Vim editor, which seems to be 'designed' to qwerty 
keyboard.

I would like to know what Vim users think about Dvorak keyboard. How does these 
two fit together? Those who do use Vim with Dvorak keyboard, have you made some 
special configurations with your editor?

Thanks for your time!

Tuomas


  

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: XML editing

2009-09-10 Thread T_P

On Sep 10, 4:14 am, David Fishburn dfishburn@gmail.com wrote:
 HTH,
 Dave

Dave, thanks for the reply. It did help me. :-)

Tuomas

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: vi-improved.com

2009-09-10 Thread Fuzzy Logic

On Thu, Sep 10, 2009 at 4:05 AM, John Beckett johnb.beck...@gmail.com wrote:

 Folks, could we please reduce the meta chat.

 Most good advice on this list comes from people who have no need
 to be here,

True.

 and who have expressed a preference for bottom
 posting

Red herring. Posting preference has no influence on how much help one
can provide.

 and not wasting Bram's time.

This, I take exception to. I was merely engaging Bram on a comment he made.

 While even the experienced Vimmer will occasionally learn
 something, and it's all interesting, those who regularly answer
 questions could very easily get by without needing to
 participate.

True, and the fact that they do is why they are recognized for their
contributions. Nothing requires they participate in the
meta-conversation or even pay any attention to it.

Fuzzy

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Vim and Dvorak keyboard

2009-09-10 Thread Fuzzy Logic

I do not use a Dvorak keyboard myself, but I do recall a conversation
about using one, and a quick search yielded

http://vim.wikia.com/wiki/Using_Vim_with_the_Dvorak_keyboard_layout

On Thu, Sep 10, 2009 at 7:12 AM, Tuomas tuo...@yahoo.com wrote:

 Since I do a lot of typing, some people recommend that I move to Dvorak 
 keyboard. I also use the Vim editor, which seems to be 'designed' to qwerty 
 keyboard.

 I would like to know what Vim users think about Dvorak keyboard. How does 
 these two fit together? Those who do use Vim with Dvorak keyboard, have you 
 made some special configurations with your editor?

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Vim and Dvorak keyboard

2009-09-10 Thread Marc Weber

 Since I do a lot of typing, some people recommend that I move to Dvorak
 keyboard. I also use the Vim editor, which seems to be 'designed' to qwerty
 keyboard.
Hi learned dvorak.
I didn't change anyhting. So hkjkl etr aro on different keys now.
You need some training to learn it. But it can be done.
It will take up to two month until you reach your current speed using
dvorak. Also make sure that you you *always* have the same keyboard
layout using a workspace. Eg on Windows you can switch per window.
However I noticed that it took more time remembering which setting I
had assigned to which window than doing the typing :-)

Depending on your typing needs you also should know about :abbrev ctrl-n
mappings etc. They can save you typing as well. But you probably already
know about them.

Don't forget: You'll continue typing for years. And using one layout
onnly will naturally stress some fingers more than others. So switching
occasionally can be a good thing. I don't have a proof for that. Its a
feeling only. Maybe using a good keyboard makes a bigger difference for
the fingers ?

Personally I don't regret having learned dvorak.

Sincerly
Marc Weber

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Why the MACRO I defined can not highlight?

2009-09-10 Thread A. S. Budden

2009/9/10 stone lbzha...@gmail.com:

 Hi. vim_use
 I use GVIM in windows to edit C/C++ program,
 But the MACRO and ENUM I have defined can not highlight.

 I have set the : sy on and sy enable in my vimrc file.

There's no built in support for highlighting your own macros and enums
etc.  Have a look at my plugin
(http://sites.google.com/site/abudden/contents/Vim-Scripts/ctags-highlighting),
which adds this feature (using ctags).  If you have any problems
getting it setup, please let me know.

Al

-- 
http://sites.google.com/site/abudden

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Vim and Dvorak keyboard

2009-09-10 Thread Ben Fritz



On Sep 10, 6:12 am, Tuomas tuo...@yahoo.com wrote:
 Since I do a lot of typing, some people recommend that I move to Dvorak 
 keyboard. I also use the Vim editor, which seems to be 'designed' to qwerty 
 keyboard.

 I would like to know what Vim users think about Dvorak keyboard. How does 
 these two fit together? Those who do use Vim with Dvorak keyboard, have you 
 made some special configurations with your editor?


I have been using a Dvorak keyboard layout for several years now. I
have been using Vim for a little over two years.

My experience with Dvorak in general has been nothing but positive. My
hands no longer get sore after long typing sessions, and I'm typing
about 3 times faster than I did on QWERTY (though it took a while to
get there).

As for Vim being designed for QWERTY, I think that's nothing but a
common misconception. I put off trying Vim for years because people
told me that. As it turns out, the only keys I can with full
confidence say were designed for QWERTY are the hjkl basic movement
keys. But on US-Dvorak at least, I actually found it easier to learn
these commands that I believe I would have in QWERTY, because jk (down/
up) are both pressed with the left hand, whereas hl (left/right) are
pressed with the right hand, giving a logical separation between the
two. You, having already learned Vim, will require some time to adjust
to the new layout, but that's true for typing in general, not just
Vim.

Other commonly used keys like w, B, e, t, F, etc. are easily
remembered by what they do, and are no harder to reach on Dvorak. /,
^, etc. don't change much either.

You WILL find that you use DIFFERENT commands with a Dvorak layout,
for example I use _ instead of ^, since it is much easier to reach on
Dvorak. And I'm not saying you won't find yourself typing painfully
slow for a few weeks or more. But afterwards, I think the rewards are
worth it.
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Vim and Dvorak keyboard

2009-09-10 Thread Efraim Yawitz
On Thu, Sep 10, 2009 at 3:27 PM, Fuzzy Logic fuzz...@gmail.com wrote:


 I do not use a Dvorak keyboard myself, but I do recall a conversation
 about using one, and a quick search yielded

 http://vim.wikia.com/wiki/Using_Vim_with_the_Dvorak_keyboard_layout

 This reminds me of something I have wondered about.  Although I am
right-handed, I imagine that left-handed people must find the hjkl keys
impractical.  Is there an easy mapping for them?  And what happens to the
mnemonic of f=find g=go d=delete?

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Vim and Dvorak keyboard

2009-09-10 Thread Marc Weber

 My experience with Dvorak in general has been nothing but positive. My
 hands no longer get sore after long typing sessions, and I'm typing
 about 3 times faster than I did on QWERTY (though it took a while to
 get there).

Maybe Have a look at http://www.mit.edu/~jcb/Dvorak/ and jump to
headline My Own Experience.

quotes:

  Was making the switch worth it? Yes, because of the ergonomic benefits.

  For a period of four or five years, I used the qwerty layout at work (on
  a shared DOS computer), and the Dvorak layout at home, spending about
  half of my typing time on each. During that time, my Dvorak speed
  increased to 90 wpm, and my qwerty speed reached 80 wpm. My accuracy
  improved slightly on both layouts. On the Dvorak layout, my most common
  typos are reversing two letters, whereas on the qwerty layout, it's more
  common for me to hit the wrong key altogether.


I think I read that dvorak can make you about 15% faster. This is
similar to the results above. So I guess that Ben would have gotten
faster using qwerty as well :-)
Ben: Have you already been a good typist when switching to dvorak?

Sincerly
Marc W

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



RE: changing what counts as a paragraph

2009-09-10 Thread Gene Kwiecinski

Point out the list's convention, suggest not too subtly that doing so
will get answers vs being ignored, and most likely, problem solved.
Get an argument why top-posting should be acceptable, and the person
then gets ignored.

Although I think more or less like you, I wouldn't impose such policy on
the list, because it's impossible to enforce unless you ban people, and

Doesn't have to be officially enforced by any moderator or anything, just by 
the community-at-large.  If they choose to ignore top-posters, the top-posters 
either adapt or go away with unanswered questions.  If some people resign 
themselves to having top-posters still pollute the list and answer their 
queries and otherwise engage in conversation with them, I have no problem with 
that, either, because *I* can still choose which posts to read and optionally 
answer.  If that means that TPers only would get responses from an audience of 
10 vs 500, so be it.  Hell, if only Chip, Tony, Tim, and a few other prolific 
answerers would adopt that as their own policy, to ignore TPers, that would 
probably take care of about 80% of possible replies.  :D


that's a thing I don't like to do. If you ban a stupid person, he
becomes a martyr, but if you let him stay, sooner or later he is ignored
by everyone on the list. Much better on the long term...

Yeah, absolutely.  I'm very libertarian, and dislike moderation in general 
unless someone's being actively disruptive to the list (spammers, flamers, 
etc.), so I wouldn't even consider banning anyone just for TPing.  But if 
garish html emails, attachments, etc., were to be banned as part of official 
list policy (message-size considerations, readability issues[1], etc.), then 
anyone who would willfully ignore those guidelines might very well warrant 
banishment from the list.

[1]  Blind folx who use text-to-speech modules can have garbage coming out of 
the speaker with html emails, so some lists (not for a *visual* editor, 
naturally) do in fact ban html emails, rich-text, and so on.


Exactly.  Usually, though, when I see a reply above quoted text, I
just skip to the next one.  A newbie wouldn't be posting an initial
query to an existing post, so chances are good the person's just
willfully ignoring the convention.  So I skip/ignore it.

I think the same and I do the same. I still haven't seen a newbie whose
first message is a top-posted reply. There probably be such messages,
but I haven't noticed them.

Usually, though, someone else would grex about screwing up threading, etc., so 
that's usually taken care of on its own.  :D


I just don't have the time/patience/desire to be annoyed.  Some people
sign up to the list to learn things (as I did), to ask questions
(fine, but follow the conventions of the list), and even to help
others by answering their questions.  The last is an act of
generosity.

Right. It is giving your free time away to others, and time is very
valuable. Most top-posters I know use that style because it is faster.

I do try to return the favor when someone would help me out with one issue or 
another, so I don't mind.  I don't go crazy with scripting, etc., so those 
questions are out of my league, and I don't use 'netrw', 'cygwin', etc., so 
those questions I can't answer, either, but if somoene asks how to turn ABC 
into XYZ and such, other things I've played around with, yeah, I'll jump in and 
help.  Just don't make the query post and replies painful to read, or I'll just 
skip past them.


OK, they value their time, but since MY time is for me much more
valuable than any other's time, I choose to ignore such messages, thus
saving MY time.

Exactly.  I know someone in tech-support who had people in the office require 
computer servicing (drive crash, more memory, etc.), and they make *zero* 
attempt to clean off the crap from their desks or give him access to the 
computer (eg, piles of crap blocking the way when the main box is on the 
floor).  He'll take one look, tell them to clean it off so he could get to the 
machine and call him back when it's done.  Should they refuse, he'll just start 
hauling off all the crap and purposely drop it in one pile:  papers from 
multiple nicely-ordered stacks (oops! they all got mooshed together and all the 
papers fell out of those folders!), pictures, doo-dads, paperweights, etc., and 
just dump them in one corner of the office on the floor.  He's in tech-support, 
*not* a redecorator or mover.  And he'll leave that pile there, because they 
usually know enough that should they insist they put it back, things will 
likely end up even more scrambled and in even worse shape when he puts them 
back on the desk.  And I absolutely agree with him.  He's doing them the favor 
(even if it's his job), but shouldn't have to do *additional* work just 
because they're lazy.  Some of them expect him to not only nicely move the crap 
off their desks, but also, while the stuff is off and the desk is exposed, take 
a dustrag and spray and 

RE: changing what counts as a paragraph

2009-09-10 Thread Gene Kwiecinski

i am surprised that - especially in this discussion - your lines seem
to be
not wrapped ;)

That surprised me. too.  Usually, no, make that *always*, in the past,
some
preprocessor or whatever automagically reformatted the lines to fit
the list,
sometimes even ending up in those B'harni-awful
long/short/long/short/... lines
after I 'gqap' them.  Something ecidently changed, on the list or here,
dunno.


Crap, it just did it again to the post I sent off a few minutes ago.
Sorry
about that.

Wellp, just did a cp and 'gqap'ed those paras above.

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Multi character marks

2009-09-10 Thread Hari Krishna Dara

On Thu, Sep 10, 2009 at 3:07 AM, Pankaj Deshpande
pankaj.deshpa...@indiatimes.com wrote:

 Hello,
   I was wondering if multi-character mark-identifiers can be used instead of 
 single characters such as upper or lower case letters.

There is no built-in support for it. Are you are needing that because
you are needing more marks than what can be achieved with single
letters? It seems like your motivation is either bookmarking (for
longterm use) or highlighting lines (with something like showmarks
plugin). If you are specific on what you are trying to achieve, you
might be able to get more help.

-- 
Hari


 Regards,
 Pankaj A Deshpande.


 --
 Click for exclusive coverage on the New Bajaj Pulsar 220 the fastest Indian 
 bike
 http://www.zigwheels.com/Features/Bajaj-Pulsar-220-DTSi-Special-Coverage/Pulsar_20090623-1-1

 


--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: What are the consoles that work with FocusGained/FocusLost?

2009-09-10 Thread Christophe-Marie Duquesne

I am _very_ curious about that. Since I am totally unable to find more
details, either on the doc or on the web, I got the vim source code
from cvs, and used cvs annotate to see who wrote this part of
runtime/doc/autocmd.txt. According to the log, it's vimboss. Do you
know him? Is that Bram Moolenaar or am I mistaken?

Sorry if I am annoying :D

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Vim and Dvorak keyboard

2009-09-10 Thread Ben Fritz



On Sep 10, 9:46 am, Efraim Yawitz efraim.yaw...@gmail.com wrote:
 And what happens to the
 mnemonic of f=find g=go d=delete?

I forgot to mention, but I do NOT have any Dvorak-specific mappings in
my .vimrc, and I think it would be a bad idea to do so.

So, f=find, g=go, d=delete still applies. The keys are just in
different positions.
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Vim and Dvorak keyboard

2009-09-10 Thread Ben Fritz



On Sep 10, 10:11 am, Marc Weber marco-owe...@gmx.de wrote:
   Was making the switch worth it? Yes, because of the ergonomic benefits.


This is the exact same reason I switched. My father had RSI so bad he
required surgery. Typing was always a big problem for him, and being
an electrical engineer he did a lot of it.

When I started studying computer engineering I decided I didn't want
to have the same problem. Someone told me of the ergonomic benefits of
Dvorak, so I tried it out with great results, as I mentioned.

   For a period of four or five years, I used the qwerty layout at work (on
   a shared DOS computer), and the Dvorak layout at home, spending about
   half of my typing time on each. During that time, my Dvorak speed
   increased to 90 wpm, and my qwerty speed reached 80 wpm. My accuracy
   improved slightly on both layouts. On the Dvorak layout, my most common
   typos are reversing two letters, whereas on the qwerty layout, it's more
   common for me to hit the wrong key altogether.


I have about the same experience I think, with the exception of the
reach keys for my right pinky finger, L, /, =, and \. Other than
that, my main problems on Dvorak are swapping letters, whereas with
QWERTY I would often hit the wrong key entirely.

 I think I read that dvorak can make you about 15% faster. This is
 similar to the results above. So I guess that Ben would have gotten
 faster using qwerty as well :-)
 Ben: Have you already been a good typist when switching to dvorak?


I may have been able to get faster with QWERTY, don't know. I was
already a fairly decent touch-typist in QWERTY when I switched, but
with widely varying speed and not very great accuracy, which probably
affected my measured speed significantly. Speed tests I took online
varied from 25 to 40 WPM. This was just over 4 years ago, sometime
during college. Using Dvorak these days, I consistently type at 75 WPM
or higher according to the same speed tests. My actual day-to-day
typing speed may be very different of course.

But as I said, my reason for the switch was not typing speed. That was
just a pleasant side effect. 15% sounds about right on average, and in
my opinion a speed enhancement is not a good reason to switch by
itself. Combined with ergonomics and accuracy improvements though, it
was enough for me.
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: XML editing

2009-09-10 Thread Rafał Pocztarski

Hi Tuomas,

When you are using closetag.vim you can add:

imap / C-_

to your .vimrc and / should do what you originally wanted.

Rafał.


2009/9/10 T_P tuo...@yahoo.com:

 On Sep 10, 4:14 am, David Fishburn dfishburn@gmail.com wrote:
 HTH,
 Dave

 Dave, thanks for the reply. It did help me. :-)

 Tuomas

 


--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: changing what counts as a paragraph

2009-09-10 Thread Raúl Núñez de Arenas Coronado

Saluton Gene :)

Gene Kwiecinski  g...@dclab.com skribis:
 Hell, if only Chip, Tony, Tim, and a few other prolific answerers
 would adopt that as their own policy, to ignore TPers, that would
 probably take care of about 80% of possible replies.  :D

That's true XDDD

I just don't have the time/patience/desire to be annoyed.  Some
people sign up to the list to learn things (as I did), to ask
questions (fine, but follow the conventions of the list), and even to
help others by answering their questions.  The last is an act of
generosity.

Right. It is giving your free time away to others, and time is very
valuable. Most top-posters I know use that style because it is faster.

 I do try to return the favor when someone would help me out with one
 issue or another, so I don't mind.  I don't go crazy with scripting,
 etc., so those questions are out of my league, and I don't use
 'netrw', 'cygwin', etc., so those questions I can't answer, either,
 but if somoene asks how to turn ABC into XYZ and such, other things
 I've played around with, yeah, I'll jump in and help.  Just don't make
 the query post and replies painful to read, or I'll just skip past
 them.

That's the key: time is limited even when you only reply to a subset of
the messages and that subset is extremely small. As you, most of the
doubts posted in the list are definitely out of my league, but I try my
best to help whenever I can. This said, I don't have lots of spare time,
so I can lose time trying to make sense of a topposted thread or things
like that.

 It's almost exactly the equivalent situation.  People who want/need
 help make zero attempt to make things easier for the person who's to
 help them.

It's a bit worse than the example you gave, since the tech guy is doing
a paid job and some clueless people may think he is paid to do their
laundry. In this case, Vim is for free, help is for free, so making
things easier for the people that will help you is a must, IMHO.

But, enough venting for me XD

-- 
Raúl DervishD Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: What are the consoles that work with FocusGained/FocusLost?

2009-09-10 Thread Raúl Núñez de Arenas Coronado

Saluton Christophe-Marie :)

Christophe-Marie Duquesne  c...@gmail.com skribis:
 I am _very_ curious about that. Since I am totally unable to find more
 details, either on the doc or on the web, I got the vim source code
 from cvs, and used cvs annotate to see who wrote this part of
 runtime/doc/autocmd.txt. According to the log, it's vimboss. Do you
 know him? Is that Bram Moolenaar or am I mistaken?

It's Bram ;) And you may try vim_dev, just in case they know. I haven't
read the sources for FocusGain/FocusLost handling, but they may give you
a hint about which consoles support that.

-- 
Raúl DervishD Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: vi-improved.com

2009-09-10 Thread Bram Moolenaar


Fuzzy Logic wrote:

 On Wed, Sep 9, 2009 at 4:32 PM, Bram Moolenaar b...@moolenaar.net wrote:
 
  Thanks for reporting the problem, even though I prefer to see a real
  name in a message like this.
 
 Why?

Because I like to read and write messages from/to a real person.
Not someone hiding behind a fake name.  It gives me the impression there
is something to hide.  It's a matter of politeness.  Also, my spam
filters may discard messages that don't look like they come from a real
person.

Note that I do not accept scripts, code and anything else that goes in
the Vim distribution from people without a real name for copyright
reasons.  I should actually ask for written and signed permission for
redistribution, with disclaimers and perhaps a copy of an official ID,
but that's taking it too far.  Got away with it until now.

-- 
I noticed my daughter's Disney-net password on a sticky note:
MickeyMinnieGoofyPluto.  I asked her why it was so long.
Because they say it has to have at least four characters.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: What are the consoles that work with FocusGained/FocusLost?

2009-09-10 Thread Ben Fritz



On Sep 10, 12:35 am, Christophe-Marie Duquesne
chm.duque...@gmail.com wrote:
 but
 in the meantime I am trying not to use gvim.


Why?
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: changing what counts as a paragraph

2009-09-10 Thread Tim Chase

 if only Chip, Tony, Tim, and a few other prolific answerers
 would adopt that as their own policy, to ignore TPers, that
 would probably take care of about 80% of possible replies.  :D

If it's a direct question regarding my reply, I tend to rejigger 
top-posting on the first instance (hey, copying into Vim makes it 
fairly easy) with a warning.  Subsequent TPing in the thread or 
TP replies to somebody else's posts tend to get ignored pretty 
regularly unless it's a particularly tantalizing topic.  Cocky 
repeat offenders that ignore warnings get unceremoniously 
plonked.  So far I've only had to plonk a handful of folks from 
the Vim ML.

As for HTML mail, I have Thunderbird (and Outlook at work) 
configured to only display plain-text, and I have a filter in 
place that flags mail over 9kb (most HTML mail) from unknown 
senders as junk.  If the offender's mail fails to include 
plain-text, it shows up as empty and I just delete it.  If they 
do bloat it out to include both a plain-text and an HTML version, 
it's liable to get dumped in my Junk folder where I may or may 
not notice/care.

 But if garish html emails, attachments, etc., were to be
 banned as part of official list policy (message-size
 considerations, readability issues[1], etc.), then anyone who
 would willfully ignore those guidelines might very well
 warrant banishment from the list.

This is one of those things that could be filtered fairly easily 
at the mailserver level -- if a post includes an text/html 
mime-type, simply drop the email or send a warning email to the 
poster that HTML is prohibited on the mailing list.

Catching top-posting is a little more complex, but filters can be 
created to do it.  It would certainly make John's life easier on 
the list. :)  (BTW, Thanks, John -- I appreciate your unrelenting 
reminders.  Don't let the nay-sayers get you down)

 [1]  Blind folx who use text-to-speech modules can have 
 garbage coming out of the speaker with html emails

most with whom I've corresponded on the blinux[*] mailing list 
tend to use a MUA that simply ignores, strips, or converts HTML 
emails so they don't have to hear/feel HTML markup in all its 
hideous glory.

-tim

[*]
Blind Linux Users mailing list -- where both interspersed posting 
and top posting are used frequently.  The one that disorients me 
most is the *no* quoting replies. :)





--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: What are the consoles that work with FocusGained/FocusLost?

2009-09-10 Thread Christophe-Marie Duquesne

 It's Bram ;) And you may try vim_dev, just in case they know. I haven't
 read the sources for FocusGain/FocusLost handling, but they may give you
 a hint about which consoles support that.

Thank you! I'll try that.

 but in the meantime I am trying not to use gvim.


 Why?

Because, gvim is not as good as a console. I'm a console person. In
the way I'm used to work, I use a program, I use C-z to interrupt
it, I do some series of commands, and then I 'fg' to get back to it.
Vim should not be an exception. AFAIK, there is no way to do that in
gvim. Plus, I don't especially need gvim's features (the only thing I
would be glad to have is balloon tips, but I live without it).
However, the more features I can pull from gvim, the more I'm happy!

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: What are the consoles that work with FocusGained/FocusLost?

2009-09-10 Thread Raúl Núñez de Arenas Coronado

Saluton Christophe-Marie :)

Christophe-Marie Duquesne  c...@gmail.com skribis:
 but in the meantime I am trying not to use gvim.

 Why?

 Because, gvim is not as good as a console. I'm a console person.

I'm not exactly a console person, but I like to do in the console
anything that is going to be more efficient done that way, and in my
case, that implies console vim versus gvim. I prefer console vim because
in my terminal emulator fonts are more readable than in gvim and in
addition to that it is faster (specially scrolling) and marginally
smaller.

 In the way I'm used to work, I use a program, I use C-z to interrupt
 it, I do some series of commands, and then I 'fg' to get back to it.
 Vim should not be an exception. AFAIK, there is no way to do that in
 gvim.

But it is a windowed program, you don't have to suspend it to move it
out of your way. I use console vim but I use it windowed in a terminal
emulator, so I never suspend it. Whenever I need to do another thing I
open a new tab in my terminal emulator, do the job and if I need it I go
back and forth between vim and any other app/tab.

 Plus, I don't especially need gvim's features (the only thing I would
 be glad to have is balloon tips, but I live without it).

The only *real* gvim feature it's the GUI. Any other thing (including
menus!) you have in console vim. For me, console vim is not the small
brother of GUI vim, it's more the opposite ;) since my console vim is
faster.

Anyway, I understand your point since I prefer console vim over gvim. In
your case, it's a matter of finding if your console driver or terminal
emulator supports FocusLost and FocusGain. Looks like my terminal
emulator (libvte based) doesn't detect that :?? Is there a fast way of
knowing if some event is available?
I'm using :au FocusGained * echoerr A, but I don't know if it is a
good way...

-- 
Raúl DervishD Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: vi-improved.com

2009-09-10 Thread Fuzzy Logic

On Thu, Sep 10, 2009 at 2:49 PM, Bram Moolenaar b...@moolenaar.net wrote:

 Because I like to read and write messages from/to a real person.
 Not someone hiding behind a fake name.  It gives me the impression there
 is something to hide.  It's a matter of politeness.  Also, my spam
 filters may discard messages that don't look like they come from a real
 person.

Ah, fair enough. Thanks for replying and clarifying your position. I
talk with so many people online that I find it no longer concerns me
that I don't know their exact, real name. You probably think of me as
having a fake name, but Fuzzy is truly the name I go by. Perhaps
it's a cultural difference, but I don't think of people not giving
their real names as having anything significant to hide, nor as being
any less polite, although some of them fit that mold. As for your spam
filters, I assume they are configurable. Perhaps you get more messages
a day than I, but using a learning spam filter seems to work well for
me, even when people don't use a name that conforms to a certain
format.

 Note that I do not accept scripts, code and anything else that goes in
 the Vim distribution from people without a real name for copyright
 reasons.  I should actually ask for written and signed permission for
 redistribution, with disclaimers and perhaps a copy of an official ID,
 but that's taking it too far.  Got away with it until now.

I think this point is far more important, although many projects have
taken similar risks to what you mention. I contribute code anonymously
to many projects, but I also contribute attributed code to others. I
guess it's really dependent on the leader of the project (you) what
risks you are willing to assume in accepting other's code.

Once again, thank you for taking the time to respond to my query.

Fuzzy

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: exuberant ctag not working with my mvim

2009-09-10 Thread Raj

mac comes with ctags. When I installed excuberant ctag was not even
being called. I changed the path and now it is working great.
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: exuberant ctag not working with my mvim

2009-09-10 Thread Israel Chauca Fuentes

On Sep 9, 11:05 am, Raj neeraj@gmail.com wrote:
 I am using mac (mvim) and am trying to get ctag working with my rails
 project.

 everywhere I google I get documentation that says use  ctags -R * .
 However when I perform that operation I get following message.

  ctags -R *

 ctags: illegal option -- R
 usage: ctags [-BFadtuwvx] [-f tagsfile] file ...

 However the ctag documentation page says that there is an option
 called -R .

 Also both of these commands are failing too.

  ctags -V

 ctags: illegal option -- V
 usage: ctags [-BFadtuwvx] [-f tagsfile] file ...

  ctags --version

 ctags: illegal option -- -
 usage: ctags [-BFadtuwvx] [-f tagsfile] file ...

 I am using ctag version 5.8 .

 anyone knows what's going on here.

I think the built-in ctags on mac is gnu-ctags, I had the same problem
until I installed ctags using Fink. If you don't like Fink or
Macports, I found this page on google:

http://adamyoung.net/Exuberant-Ctags-OS-X

Israel


--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



printing with :hardcopy

2009-09-10 Thread Greg Klein
With :hardcopy I can select lines from a file and print just those
lines. The printoptions (popt) option includes a parameter wrap:y/n
described as:
 
wrap:y (default)  Wrap long lines.
wrap:n   Truncate long lines.
 
So what is the definition of a long line in this context? Can I change
the definition for :hardcopy purposes? I wish to prevent lines from
wrapping (or truncating) in my printed output.

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Why the MACRO I defined can not highlight?

2009-09-10 Thread stone

Very Thanks.

Your plugin is the one which I want.
I have download the ctags-highlight plugin.

But , when I input the command: UpdateTypeFile.

There are some errors like:

Error detected while processing function UpdateTypesFile:
line 23:
E684: list index out of range: 0
E15: Invalid expression: split(globpath(rtp,ctags.exe))[0]
line 29:
E605: Exception not caught: Cannot find ctags

what this means?

I use Gvim 7.2 in windows XP. and I have put ctags.exe in c:\Windows
\System32, so I can use ctags in command console.

waitting your reply.
Thanks again.

On 9月10日, 下午10时15分, A. S. Budden abud...@gmail.com wrote:
 2009/9/10 stone lbzha...@gmail.com:



  Hi. vim_use
  I use GVIM in windows to edit C/C++ program,
  But the MACRO and ENUM I have defined can not highlight.

  I have set the : sy on and sy enable in my vimrc file.

 There's no built in support for highlighting your own macros and enums
 etc.  Have a look at my plugin
 (http://sites.google.com/site/abudden/contents/Vim-Scripts/ctags-highl...),
 which adds this feature (using ctags).  If you have any problems
 getting it setup, please let me know.

 Al

 --http://sites.google.com/site/abudden
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Why the MACRO I defined can not highlight?

2009-09-10 Thread stone

Very Thanks.

Your plugin is the one which I want.
I have download the ctags-highlight plugin.

But , when I input the command: UpdateTypeFile.

There are some errors like:

Error detected while processing function UpdateTypesFile:
line 23:
E684: list index out of range: 0
E15: Invalid expression: split(globpath(rtp,ctags.exe))[0]
line 29:
E605: Exception not caught: Cannot find ctags

what this means?

I use Gvim 7.2 in windows XP. and I have put ctags.exe in c:\Windows
\System32, so I can use ctags in command console.

waitting your reply.
Thanks again.

On 9月10日, 下午10时15分, A. S. Budden abud...@gmail.com wrote:
 2009/9/10 stone lbzha...@gmail.com:



  Hi. vim_use
  I use GVIM in windows to edit C/C++ program,
  But the MACRO and ENUM I have defined can not highlight.

  I have set the : sy on and sy enable in my vimrc file.

 There's no built in support for highlighting your own macros and enums
 etc.  Have a look at my plugin
 (http://sites.google.com/site/abudden/contents/Vim-Scripts/ctags-highl...),
 which adds this feature (using ctags).  If you have any problems
 getting it setup, please let me know.

 Al

 --http://sites.google.com/site/abudden
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



RFE/RFC?:desired enhancement or 'already in there'? backups fonts for unmapped chars, families and Unicode blocks

2009-09-10 Thread Linda W
*


  Contents

  o


  Current Problem #Current_problem:

  o


  Desired Enhancement 1:   Font Lists, acting as
  fall-through backups for missing chars
  #Fallback_Font_List

  o


  Desired Enhancement 2:   Support of Font Families
  #Font_Families



  Current problem:

(If you can't read this *_in HTML_*, you are deprived, and maybe, in the
internet 3rd world, my condolences, as documents structure can't be
properly represented in plain text, (unless your eyes have built-in
XML/HTML or LaTeX code interpretation).

I've been trying to use better fonts and Unicode usage in my work
(email, web pages, etc).  Of source, using Vim for just about everything
(Does anyone know of a Thunderbird extension to automatically allow or
call Vim to edit dir Thunderbird composition --- especially when one
switches into 'Source(HTML)' mode...that editor *sucks* big-time..., but
I digress.

I really am getting discouraged with the fonts available to me in
monospaced fonts.

The only ones that look halfway readable are the Lucida
family...followed by the Monospace 821.  .  New courier is just too
thin.  Consolas isn't much better (a free font
download from MS, no less!)

My font (in Truetype or OpenType) list has: several monospace fonts
that specialize in the CJK  block, but non of those have great latin
rendering and little coverage for Unicode blocks outside of the CJK
blocks  those include:  (all the 'che variations seem to be the
monospace ones) Batang, Doton Gulim Gunshuh, Jurchen Krystoid, MingLiU,
MS Gothic, and MS Mincho.

The few that specialize in the Hebrew block, don't help me much: Fixed
Miriam Transparent, Rod ( Rod Transparent), neither the one in Arabic
(Simplified Arabic Fixed).  Non Unicode, symbol-only or raster fonts I
won't mention in this listing.

Among the Unicode fonts, ones that have western font and western usage
(symbols, etc) coverage , I list the number of Unicode blocks they cover
as well as total characters in the font.  There are only 9 choices on my
system, (though I describe one's coverage in detail with the lament that
for some unknown reason, it isn't offered on the list, though it's 2nd
plane 'cousin' is):

NameBlocks
Total-Chars   Comments
Andale Mono 22, 654

Bitstream Vera Sans Mono12  256

Code200211 (CJK)
20,409[sic/broken] this entry is broken


 

/Note on Code2002:/  It is the 3rd font in a 3 font series
(Code2000, Code2001, and Code2002, all available for *very* low (as
low as $0) price (shareware(non-crippled)) or freeware from
http://www.code2000.net/). All are monospaced fonts. Code2000 was
for our first 64K (MS's initial UCS-2 set for NT4) code plane.  When
discovering 64K was no where near enough, more planes were added. 
Code2001 is for Unicode Plane 1 and Code2002 is for plane 2.  Code
2000 -- the one that contains the latin characters doesn't show up
as a choice, though it should -- they are all monospaced fonts; 
Code2002 is useless for Latin fonts (has 95/128 of Basic, 1/128 of
Ext-A, 1/208 of Ext-B 96/129 of Supplement-1, 1/80 of Spacing
modifiers), vs Code2000 which is designed to cover Plane 1 (first
64K),  which has *118 *blocks and *54,068* chars).  It's not the
/most /excellent looking (at 1024^2 points per char) it was designed
with less resolution than MS's TTF fonts, like Lucida Console
(@4096^2 ppc), BUT on the list of unicode fonts it's pretty darn
good, and probably 2nd best after the top MS fonts (which have no
where near the coverage -- it could be there's a tradeoff -- 4x4 or
16 times the resolution/char OR 54,068/663 = 81 times the coverage.

Of Latin usable chars, it has

* all alphabetic presentation forms (58/58),
* all arrows(112/112),
* 95/128 of Basic Latin
* all the Box drawing chars (128/128),
* all Braille Patterns (256/256)
* Combining diacriticals [like accents over chars) (112/112)
* Combining for symbols (28/33)  supplement (13/41)  half
  marks(4/7)
* control pics (symbols for the control characters below
  like LF, TAB, CR; 39/39);
* 22/22 Currency symbols 174/174 Dingbats (all the special
  symbols designed by the designer Zapf last century)
* 160/160 Enclosed alpha numerics
* 106/107 General Puncuntuation
* Greek symbols (2 blocks: 134/134+233/233)
* halfwidth and full width forms (including !!colon!! that
  you can put in Windows (and linux) filenames: file:
  foobar (the character after 'file' and before 'foobar' is
  a single character composed of a colon and an embeded
 

Re: RFE/RFC?:desired enhancement or 'already in there'? backups fonts for unmapped chars, families and Unicode blocks

2009-09-10 Thread Charlie Kester

On Thu 10 Sep 2009 at 19:58:03 PDT Linda W wrote:

  (If you can't read this in HTML, you are deprived, and maybe, in the
  internet 3rd world, my condolences, as documents structure can't be
  properly represented in plain text, (unless your eyes have built-in
  XML/HTML or LaTeX code interpretation).

I'm sorry, but my eyes got cross-eyed after reading your gratuitous
insult and I wasn't able to pay any more attention to your RFC.

I disagree with your claim that document structure can't be properly
represented in plain text, because I don't think document structure has
anything to do with fonts, point sizes, italics, underlining, etc.
Those are all matters of *appearance* not structure.


--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: RFE/RFC?:desired enhancement or 'already in there'? backups fonts for unmapped chars, families and Unicode blocks

2009-09-10 Thread Ben Fritz



On Sep 10, 9:58 pm, Linda W v...@tlinx.org wrote:
 The only ones that look halfway readable are the Lucida
 family...followed by the Monospace 821.  .  New courier is just too
 thin.  Consolas isn't much better (a free font
 download from MS, no less!)

I've gotten a lot of good use from DejaVu Sans Mono which you mention
briefly, without giving a reason as to why you don't like it. I can
understand the frustration, though. The first time I saw DejaVu I
thought, ick but it has slowly grown on me. Consolas I like most of
the time, but a few glyphs (like M and N oddly enough) look disgusting
enough I only use it as a fallback if DejaVu is not installed.



           Desired Enhancement 1:   Font Lists, acting as fall-through
           backups for missing chars

 I'd first like something like the 'guifontset' option work to
 automatically use successive entries on the font list as 'fallback'
 entries if the character being displayed isn't in the currently selected
 font.

 [snip]

           Desired Enhancement 2:   Support of Font Families

 If this were supported, one could actually specify what font to use for
 what named Unicode block.
 The names of the blocks are published and can be tested.

The problem I see with both of these mappings is that Vim creates a
grid of sorts based on a certain number of characters, upon which it
draws everything. This grid is set up under the assumption that every
character is the same size. This is a valid assumption for characters
within a single monospaced font, but as soon as you start mixing fonts
it is no longer valid.

For similar reasons, guifont is a global option rather than tab-local,
and non-monospaced fonts look terrible when you force Vim to use them.
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: omnicppcomplete not completing this-

2009-09-10 Thread Matt Wozniski

On Thu, Sep 10, 2009 at 6:24 AM, Nathan Huesken wrote:

 Hi,

 I installed omnicppcomplete using this:
 http://vim.wikia.com/wiki/C%2B%2B_code_completion

 Now, I am in my Project and press C-F12 to rebuild tags (and I can see
 the tags file).

 Then I am in a member function of a class and type this-

 Omnocomplete says: Pattern not found

 is there something I missed?

Did you build the tags file with the right options enabled?

ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .

Do you have a recent enough version of exuberant ctags?  Are you sure
the code is syntactically valid?  Does it work with a simpler test
case, something like

struct {
  int a, b;
} foo;

int main()
{
  foo.
}

For that example, the tags file should look something like this
(apologies for any wrapping):

__anon1::a  foo.cpp /^  int a, b;$/;   m   struct:__anon1  file:   
access:public

__anon1::b  foo.cpp /^  int a, b;$/;   m   struct:__anon1  file:   
access:public

a   foo.cpp /^  int a, b;$/;   m   struct:__anon1  file:   
access:public

b   foo.cpp /^  int a, b;$/;   m   struct:__anon1  file:   
access:public

foo foo.cpp /^} foo;$/;v   typeref:struct:__anon1

mainfoo.cpp /^int main()$/;f   signature:()

~Matt

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---