x-counterpart with relative paths works fine for me:

#!/usr/bin/env perl
#-*- x-counterpart: ../t/script_foo.t -*-

Clicking the counterpart button will open the test file.

Alex Satrapa | web.mac.com/alexsatrapa | Ph: 0407 705 332

On 29/07/2011, at 16:04, Charlie Garrison <[email protected]> wrote:

> Good afternoon,
> 
> I'm trying to setup emacs variable to specify a counterpart file for some 
> perl modules. I've not been able to get it working and not sure if problem is 
> the emacs syntax or if counterpart doesn't work for files in a different 
> directory.
> 
> The directory/file structure is:
> 
> Schema:
>    Results:
>        User.pm
>    ResultSets:
>        User.pm
> 
> In the Schema/Results/User.pm file I put this as the first line:
> 
> # -*- x-counterpart: ../ResultSets/User.pm -*-
> 
> Clicking the counterpart button or choosing Open Counterpart doesn't do 
> anything. Should I be able to do that, and if so can anyone suggest the 
> correct syntax to use?
> 
> I have also tried a "Local Variables:" block at the end of the file and that 
> doesn't work either.
> 
> Thanks,
> Charlie
> 
> -- 
>   Ꮚ Charlie Garrison ♊ <[email protected]>
> 
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
> 〠  http://www.ietf.org/rfc/rfc1855.txt
> 
> -- 
> You received this message because you are subscribed to the "BBEdit Talk" 
> discussion group on Google Groups.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> <http://groups.google.com/group/bbedit?hl=en>
> If you have a feature request or would like to report a problem, please email 
> "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to