Paul G. Weiss wrote:
> On Thu, 6 May 2004 16:12:16 +0000, <pdupreez@sodoz.com> wrote:
>
>> James Moore claimed to have gotten it right:
>> http://groups.google.ch/groups?q=emacs+mod_perl&hl=en&lr=lang_en|lang_de&ie=UTF-8&oe=UTF-8&selm=1051404465.5094
>>
>> +85%40yasure&rnum=1
>>
>> It partially works for me. The last part doesn't:
>>
>>> James Moore wrote:
>>> Not elegant, but it does get you full functionality (or at least the
>>> only
>>> bit I cared about, the => pointer into your code buffer for the
>>> current line
>>> of execution).
>>
>>
>
> His method ruins it if you want to run the debugger w/o emacs.
> Here's a modification that gets around that problem:
>
> in the Apache/perl5db.pl file add the line:
>
> $slave_editor ||= $ENV{SLAVE_EMACS};
>
> right after the assignment to $slave_editor.
>
> Then in your httpd.conf add the line:
> PerlPassEnv SLAVE_EMACS
>
> And in the script you pass to emacs when it says Run perldb (like this):
>
> SLAVE_EMACS=1 exec httpd -X -DPERLDB
If someone can write a section explaining how to do that properly, I think
it'll be a great addition to our docs. Just post the pod here and I'll add it.
Thanks.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
|