Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
gf in Perl does not work on Some::Package->some_function
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tomáš Janoušek  
View profile  
 More options May 4 2012, 7:42 am
From: Tomáš Janoušek <t...@nomi.cz>
Date: Fri, 4 May 2012 13:42:19 +0200
Local: Fri, May 4 2012 7:42 am
Subject: gf in Perl does not work on Some::Package->some_function
Hello,

it's quite common to use the syntax Some::Package->new to create new instances
in Perl, but using gf tries to open a file named Some/Package-.pm, which
fails. Hence, I suggest adding this to ftplugin/perl.vim:
    setlocal isfname-=-

(Also, ftplugin/perl.vim in vim 7.3 contains a set isfname+=: instead of
setlocal. Is that ok?)

Regards,
--
Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thilo Six  
View profile  
 More options May 4 2012, 1:36 pm
From: Thilo Six <T....@gmx.de>
Date: Fri, 04 May 2012 19:36:26 +0200
Local: Fri, May 4 2012 1:36 pm
Subject: Re: gf in Perl does not work on Some::Package->some_function
Hello Tomáš,

Excerpt from Tomáš Janoušek:

> Hello,

> it's quite common to use the syntax Some::Package->new to create new instances
> in Perl, but using gf tries to open a file named Some/Package-.pm, which
> fails. Hence, I suggest adding this to ftplugin/perl.vim:
>     setlocal isfname-=-

I cc'ed Andy Lester. As he is the maintainer of that file he has to decide.

> (Also, ftplugin/perl.vim in vim 7.3 contains a set isfname+=: instead of
> setlocal. Is that ok?)

Yes. 'isfname' is global only.

> Regards,

--
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thilo Six  
View profile  
 More options May 5 2012, 8:14 am
From: Thilo Six <T....@gmx.de>
Date: Sat, 05 May 2012 14:14:59 +0200
Local: Sat, May 5 2012 8:14 am
Subject: Re: gf in Perl does not work on Some::Package->some_function
Hello Tomáš,

I forward the following mail i received from Andy:

Excerpt from Andy Lester:

> I don't have the original author on the cc:.

> Can you please point him to https://github.com/petdance/vim-perl/issues ?

sure ;)

> Thanks,
> xoa

> --
> Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance

--
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »