Re: Perl Support in Debian

2006-05-26 Thread Eddy Petrişor

On 5/25/06, William O'Higgins Witteman [EMAIL PROTECTED] wrote:

On Thu, May 25, 2006 at 03:13:45PM -0400, James Vega wrote:

 Aha!  You have spotted the problem.  I have both vim-perl and vim-python
 installed, and even though they have the same priority, the system is
 defaulting to vim.python.

You can change that with update-alternatives --config, but then you'll
run into a similar situation if you (or someone else on that machine)
want to use Python to script Vim. :)

 So now the question is, is it possible to enable both Perl and Python at
 the same time?

We have vim-full which has support for all the interpreters (minus
MzScheme).  This is one of the situations where binary distributions are
lacking because there's a trade-off between trying to meet everyone's
needs and having numerous different versions of the same program.

Joy!  vim-full is just the ticket.  I can't think why it was not
installed before.  Binary distributions do have drawbacks, but
generally, managing all of my programs with apt is far more effective
then muddling with source when I don't have to.  Thanks for the help.


Gentoo does it quite well, and generally you don't have to modify
things and is all managed. In spite of that I am, too, a Debian user
for the same reason you stated ;-).

--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein


Re: Getting mappings working again on Linux machine

2006-05-04 Thread Eddy Petrişor

On 5/4/06, Eddy Petrişor [EMAIL PROTECTED] wrote:

On 5/4/06, Eric Leenman [EMAIL PROTECTED] wrote:
 Hi,

 On my WinXP machine in gvim 6.3.0 my mapping works
 On my Linux machine it partly works.

 One of the things that doesn't work is the windows behaviour.
 Like CTRL-C, CTRL-V , CTRL-X, ect

 But also my own mappings work partly.
 For example; i have a mapping like this which works on WinXP

   noremap C-Left  b
   inoremap c-\c-n C-left

   noremap C-Right w
   inoremap c-\c-n C-Right

 But under Linux it doesn't
 b and w itself does work.
 Are C-Left and C-right special keys under Linux?

:behaviour mswin


err, :behave mswin

and load the mswin.vim script

--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein


plugins are not used, help not visible

2006-04-19 Thread Eddy Petrişor
Hello all,

I have just came across an issue which I don't know hw to solve. I
have tried and read the documentation, but I can't figure out what is
the problem.

I tried to add the c/c++ support plugin to my windows installation of
vim, but I observed nothing happened. The help was not found, nor any
functions that should have appeared.

I tried with a smaller plugin and found the problem is the same: :help
does not find it and no functions are found (tab completion does not
work).

If I run :scriptnames the script is listed as sourced.


Any idea what can I do to fix this?
Probably this is somthing stupid that I did...

P.S.: I have installed taglist previously and it works since I
installed it (including at the moment).

--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein


Re: RFC: Indexing help files[was: Re: which vim option]

2006-04-16 Thread Eddy Petrişor
On 4/16/06, Eric Arnold [EMAIL PROTECTED] wrote:

   Search for help:  Type :help word, then hit CTRL-D to see matching
 help entries for word.

 On 4/16/06, Yakov Lerner [EMAIL PROTECTED] wrote:
   On 4/16/06, Eddy Petrişor [EMAIL PROTECTED] wrote:
My question is: how hard would it be to add an index for help topics
so one could say something like:
   
:indexsearch keyword list
 
  Help topics *are* indexed, Eddy. If you do
   :he window
  and press Tab, you'll get list of topics (help tags)

I was refering to the contents, not only the topics, because as long
as you don't know what is the name of the topic, one will not be able
to find a topic as long as he/she does not know the name of the topic;
Is kind of chicken and egg issue.

  containing window. That provided you have these setting:
  set wildmode=list:longest
  set wildmenu
  In addition yuou can use :helpgrep as Eric mentioned.
 
  Yakov

AFAICS, none of these issues do what I was referring to.

--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein


Re: Vim Job board?

2006-04-10 Thread Eddy Petrişor
On 4/9/06, Stahlman Family [EMAIL PROTECTED] wrote:
  Hi!
 
  Oh, at least developers should know about regular expressions.

 How about developers who don't know about tags? Most of the developers in my 
 software lab use CodeWright for development, and
 although I'm pretty sure it supports tags, they do multiple greps to descend 
 through multiple levels of function call or macro
 expansion! The company strongly encourages the use of CodeWright by 
 developers, as they have an army of developers in Romania who
 have integrated CodeWright into what they call the Toolset, a behemoth 
 program or suite of programs, which is supposed to insulate

That is the company policy which the department applies blindly in
fear not to have unreplaceable persons

 the developer from messy things like makefiles, compilers and linkers.

A good tool is always an asset, but a bad tool is not. I'll let you
judge which thinhg are good and which are bad :)

 They also attempt to restrict programmers to a very
 uninteresting subset of the C programming language, in an attempt to decrease 
 the likelihood of programmer error. I find such rules
 extremely restrictive and annoying. I believe the problem is that there are 
 many people whose job description calls for software
 development, who are not really programmers. Thus, the job is dumbed-down to 
 accomodate the least common denominator...

Again the we can replace anybody policy at work... believe me.

P.S.: youdidn't said anything about the SCM, which repeatedly is used
badly because not enough time for training is available ;-)

--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein


Re: swapping caps lock and escape

2006-04-10 Thread Eddy Petrişor
On 4/10/06, Robert Cussons [EMAIL PROTECTED] wrote:
 remove Lock = Caps_Lock
 keysym Escape = Caps_Lock
 keysym Caps_Lock = Escape
 add Lock = Caps_Lock

 but this means that each time I have logged out, I have to remember to
 run xmodmap ~/.speedswapper (the name of the file) otherwise I start

add a line like:

! ~/./.speedswapper

in ~/.vimrc ?

--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein