- Subject: Re: python-mode and folding
 
- From: Joachim Schmitz <js@xxxxxxxxxxxxx>
 
- Date: Thu, 08 Dec 2005 15:13:31 +0100
 
many thanks that did the trick.
John E. Davis wrote:
> Joachim Schmitz <js@xxxxxxxxxxxxx> wrote:
> 
>>there is a key-definition collision between python-mode and folding-mode
>>for the ^C < and ^C >, I python-mode that is used to shift a region
>>right or left, in folding-mode to enter or leave a fold. The foldmode
>>definition overwrites the python-mode. I never use the enter or leave
>>fold, but the pymode definition I can't miss.
>>What is the best way to change this, so that it is consistent between
>>jed updates ?
> 
> 
> Try putting this in your .jedrc file:
> 
>    define fold_mode_hook ()
>    {
>       if (get_mode_name() == "python")
>         {
> 	   local_setkey ("py_shift_region_left",  "^C<");
> 	   local_setkey ("py_shift_region_right", "^C>");
> 	}
>    }
> 
> --John
> 
> --------------------------
> To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
> the word "unsubscribe" in the message body.
> Need help? Email <jed-users-owner@xxxxxxxxxxx>.
-- 
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
  [2005 date index]
  [2005 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]