help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to go back to matching parenthesis in python-mode?


From: Anders Munch
Subject: Re: how to go back to matching parenthesis in python-mode?
Date: Tue, 26 Oct 2021 07:44:34 +0000

edgar@openmail.cc wrote:
> On 2021-10-25 06:20, Kévin Le Gouguec wrote:
>> Up to version 27.2, the recommended way (explained in the opening 
>> commentary of python.el[1]) is to set forward-sexp-function to nil in
>> python-mode-hook:
>> 
>> (add-hook 'python-mode-hook
>>           (lambda () (setq forward-sexp-function nil)))
>> 
>> In 28.1, the new user option python-forward-sexp-function will let you 
>> do away with the hook[2].

It should be noted that this is not actually about python-mode, this is about 
the python mode python.el.

C-M-b works fine in python-mode.

regards, Anders


reply via email to

[Prev in Thread] Current Thread [Next in Thread]