At 10:11 -0400 on 07/29/2011, Steve Kalkwarf wrote about Re: Should relative paths work for x-counterpart emacs vari:

> 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 haven't stepped through the code to verify this, but my suspicion is the same-named files are not being handled correctly.

A quick test to check this theory is to change the name in ResultSets (and the x-counterpoint command) to User1.pm and see if it now works. If it does, you have found the error in the BBEdit support code. If it still does not work, you have eliminated this possible source of the failure to work.

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