From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.devel Subject: Re: python.el: improve sexp-based navigation or make it optional? Date: Sat, 16 May 2020 21:11:51 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="27503"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: immerrr again , Stefan Kangas To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 16 21:05:10 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ja27R-00071v-RI for ged-emacs-devel@m.gmane-mx.org; Sat, 16 May 2020 21:05:09 +0200 Original-Received: from localhost ([::1]:44452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ja27Q-000860-Sj for ged-emacs-devel@m.gmane-mx.org; Sat, 16 May 2020 15:05:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ja26g-0007Xp-NK for emacs-devel@gnu.org; Sat, 16 May 2020 15:04:22 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.74]:60411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ja26f-0002Ns-P6 for emacs-devel@gnu.org; Sat, 16 May 2020 15:04:22 -0400 Original-Received: from [192.168.178.39] ([82.207.239.197]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mbj3Y-1j4oxT1JcM-00dGS1; Sat, 16 May 2020 21:04:17 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:kAsjXelFWjsERTf2SgQ8KXSmdCKyj0wldbw55tfCvgOijHXaapi 37x+5MqvYACnfT0g/HvgBPZiw8dAtFX5dbh6KyGzWm9+TglR7xO8LayCaEJz0ABmZY4ybdG LWcFa6Bo7DPNTS2t6wz+Jlw8lNHJ7OjRK0A85Rws+lVhL4z6sYOD1YmO1S8hwVBPdv1pMq0 czf8dIDFaR5V9rIg3nexg== X-UI-Out-Filterresults: notjunk:1;V03:K0:uwcSfYCjtTs=:ZYYNQgqsZ9OJKomY9MrLVU rT4dvjfM1YmBh1V/gJHxjCHNF4sHijxvKuAw7z6ASbVXmvw6kMvcx9uW45tDDbyEOKk5KZr2m tyzhaK9XwdIeT02z1599SwJNLG5EI5YUp2IoA5U/qcgm6Eb1JaAbVf502rc7BSzlPfLU7QAvV ejjmRjVbTQT6dCXbOgWdWet3auoL3JlQuAGvEDd17leh9heYBaYPZk/EFtCtRLlj4YVoPwAY8 v8hlbMq96ZCvSVGuHQzMUTFr9Nwdl50e2jDbAJuYM2jnf6WR7gLLrEWZSulptALke0i4s3XDC cloKTXIBXCFYZumwqRRr5+9ejVygpKAWSSX8SQcombV5mfDWq90ER3XZLzfyDgrkC1eJrM8rt WiM3tFwDvHpfsEhjQbFSgJ6lLfMtoXWMf/ccrZ+XNS1y6pUNQePg4/u+rVnqHgv/0cOupEbO9 qRdH+WUHvDWrGQWWw97wZzb0EyYzqlugfDdmPnbFhHbzZgW2NnoreEGEGxbuVnAG+Alf9//AB ZLdQcOGYl7nhY2A9vaD45qDTgeRwdjslYXHTDjr6L1eRUq6VOH+JDOxrCq0MghpESS0L4uHvi ObVCwq7LNYmP5NzfGy6V65WanFJ1iBVTQpFcQ4Tbs95CV3Y7MDp0qjbwXRx61LLkAmnCskaAm xkTun4k+QDXrqh4eKaplfXKAk0T5l5Plu662rh2RP98h9dr9hpnPDu7h0jnXs7H6ko/AxOzl3 TrW2yf6A5AwHVWx8ZAtSVJi+/OGmS7ury421Q8D4LF8r3SwYP9sDsr8xmFRJMzEYYpCj90H8 Received-SPF: pass client-ip=217.72.192.74; envelope-from=andreas.roehler@online.de; helo=mout.kundenserver.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/16 15:04:18 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250516 Archived-At: On 16.05.20 15:16, immerrr again wrote: > > In absence of such mode, I wonder if it would be a welcome addition to > introduce a configuration parameter that at least disables the smart > navigation, making sexp skip one symbol or explicitly > parenthesized/bracketed expression at a time. Maybe that does it?: (from python.el) If you prefer `cc-mode'-like ;; `forward-sexp' movement, setting `forward-sexp-function' to nil is ;; enough, You can do that using the `python-mode-hook': ;; (add-hook 'python-mode-hook ;;           (lambda () (setq forward-sexp-function nil)))