GNU logs - #60856, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#60856: 29.0.60; C-M-f in python-ts-mode does not work properly with docstrings
Resent-From: Apostolis Bessas <apostolis@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 16 Jan 2023 10:55:01 +0000
Resent-Message-ID: <handler.60856.B.16738664976684 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 60856
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 60856 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16738664976684
          (code B ref -1); Mon, 16 Jan 2023 10:55:01 +0000
Received: (at submit) by debbugs.gnu.org; 16 Jan 2023 10:54:57 +0000
Received: from localhost ([127.0.0.1]:60537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pHN8i-0001jj-FC
	for submit <at> debbugs.gnu.org; Mon, 16 Jan 2023 05:54:57 -0500
Received: from lists.gnu.org ([209.51.188.17]:52620)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <apostolis@HIDDEN>) id 1pHMbN-0000sd-Ft
 for submit <at> debbugs.gnu.org; Mon, 16 Jan 2023 05:20:33 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <apostolis@HIDDEN>)
 id 1pHMbL-0002B9-3s
 for bug-gnu-emacs@HIDDEN; Mon, 16 Jan 2023 05:20:27 -0500
Received: from out3-smtp.messagingengine.com ([66.111.4.27])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <apostolis@HIDDEN>)
 id 1pHMbH-0005JR-6R
 for bug-gnu-emacs@HIDDEN; Mon, 16 Jan 2023 05:20:25 -0500
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id DD18D5C0135
 for <bug-gnu-emacs@HIDDEN>; Mon, 16 Jan 2023 05:20:18 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Mon, 16 Jan 2023 05:20:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bessas.me; h=cc
 :content-type:date:date:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=
 1673864418; x=1673950818; bh=QD2x/lBK+jCgt9qMU2iNHJ5uZdjuCgLXlds
 9J4/ZAKo=; b=EpEusSNss9UK1UEFKmcf8k9ZcqBYBxpwkBwRPxezMGiicNt3VlA
 tdWA2J/rjzPJICsoMuqDYg9jQulTk+f+H7KDvnjTM1GbnmhpIJh5fC0kqJITEz/0
 MDoHeJynQpe0e6hYdskV9dHsKIbT5+svnpTqT8K0/jSoFtpMvm6Ad3Y4QmbEGT05
 +2/Czvxn7onepsybu+8vOUseB8xlch0nfwSPbaxNiESftFbc2qL4ZERb2FlIi7Wk
 izQbEt9fK2j05IRwXbTdDOMw/6+LXNJ9AA3JGtgj+HuLSdBmZ5nScXveifrOFvgC
 d6S4JzHzqMI/YTejK+zNwD3t3QxFBoGE5Hg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:message-id:mime-version
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1673864418; x=
 1673950818; bh=QD2x/lBK+jCgt9qMU2iNHJ5uZdjuCgLXlds9J4/ZAKo=; b=a
 jdTe34JVdXWzqzuSDoLIjNf9Y0s0Glp6I3HXY2afl3hEg7HhO0nabyEiCrb9g1eq
 kORHBV3p6pxGfH4wlFY7f4m9+XWDDJQGb4qyIHOlxNRzfTVdfJ1TR8U5CsRX/yRO
 smW/QIg8t8rwVHSjb01BdAD0S3fRXge/r8FhgTpaqZM04rnIXc7tNC14CkMyI+1O
 Dye2polrk23PpE1wN8JH21pyQcDFAdCkML7LLrksirEbfA1Awp3Zdo1z+JztHQQd
 1Ds/Y4F3MkRQCymDfz6vTnmAOIB+BoNUj6CT+vs3G8u4fcnG0CK6Ntc7vaJEZMbJ
 S4xswPRpXGIOOA420nmFg==
X-ME-Sender: <xms:4STFY_egMC8Wq5kqkGGhbji5994qEvFYztBM0S7HtJfOlMWe05j6Qw>
 <xme:4STFY1OP_KUWseeUYKdTDCnaCj_FieOdlDU3mgWZpPE8_dLRPMxLLPKpn991eiHov
 5gOMHljeN6MGPEllA>
X-ME-Received: <xmr:4STFY4jwMacn_AsJlNbZqpT4qhNCMEHSaArDM3uAw2J8cbk96-Pngx4wdXM>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddtgedgudegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd
 dtnecuhfhrohhmpeetphhoshhtohhlihhsuceuvghsshgrshcuoegrphhoshhtohhlihhs
 segsvghsshgrshdrmhgvqeenucggtffrrghtthgvrhhnpedvhfehleetffekkeevheefhf
 dttdffffejuddugeeufeejfedvuedttdejleefleenucevlhhushhtvghrufhiiigvpedt
 necurfgrrhgrmhepmhgrihhlfhhrohhmpegrphhoshhtohhlihhssegsvghsshgrshdrmh
 gv
X-ME-Proxy: <xmx:4STFYw8GoQCv94GpgDim03tIp9CkWMh5aZnk33mEvddMNLjOC9Q3rA>
 <xmx:4STFY7vSGMS-S2uyS6z7K1w8ykOVs9-3anindZUt7Jzf2OEYw-rFFw>
 <xmx:4STFY_FXMLuc-OHVQhMRFNp0719B4JLVzk9GSlnAAiWNSLAMSkEQHQ>
 <xmx:4iTFY445VvY40qF-_QJvbCuXZdrAspvNSOEbqFtoyNdDVTUb3TmjzQ>
Feedback-ID: iae9145c2:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Mon, 16 Jan 2023 05:20:17 -0500 (EST)
From: Apostolis Bessas <apostolis@HIDDEN>
Date: Mon, 16 Jan 2023 12:20:15 +0200
Message-ID: <87sfgardb4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.27; envelope-from=apostolis@HIDDEN;
 helo=out3-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Mailman-Approved-At: Mon, 16 Jan 2023 05:54:54 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

In python-ts-mode executing C-M-f (forward-sexp) when at the beginning
of a docstring does not go to the end of the docstring (as happens in
python-mode), but at the end of the file.

However, if I switch to python-mode and then back to python-ts-mode,
C-M-f works correctly. See the following example:

- Start emacs -Q
- Execute:

(add-to-list 'auto-mode-alist '("\\.py\\'" . python-ts-mode))

- Create the file test.py with the contents:

"""Some docstring.

The docstring has multiple lines.
"""

x = 1

- Go to the first character in the file (beginning of docstring) and
  press C-M-f. The point is moved to the end of the file (after the line
  `x = 1`). Instead, the point should have been moved to the end of the
  docstring (line 4, last '"' character).

- Switch to python-mode and then back to python-ts-mode and repeat the
  above step. The point is moved to the end of the docstring.

In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.36, cairo version 1.17.6) of 2023-01-16 built on galileo
Repository revision: 352e41016bcaab8566347091b6b61908a9b57b57
Repository branch: emacs-29
System Description: Arch Linux

Configured using:
 'configure --with-pgtk --with-json --with-native-compilation
 --with-native-compilation=aot --with-tree-sitter --with-imagemagick
 --with-xwidgets'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: el_GR.UTF-8
  value of $LC_NUMERIC: el_GR.UTF-8
  value of $LC_TIME: el_GR.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  yas-minor-mode: t
  hl-todo-mode: t
  flyspell-mode: t
  TeX-PDF-mode: t
  server-mode: t
  global-company-mode: t
  company-mode: t
  editorconfig-mode: t
  csv-field-index-mode: t
  global-auto-revert-mode: t
  consult-notes-denote-mode: t
  recentf-mode: t
  override-global-mode: t
  marginalia-mode: t
  savehist-mode: t
  vertico-mode: t
  whole-line-or-region-global-mode: t
  whole-line-or-region-local-mode: t
  shell-dirtrack-mode: t
  global-so-long-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  save-place-mode: t
  pixel-scroll-precision-mode: t
  apheleia-global-mode: t
  apheleia-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/apos/.emacs.d/elpa/transient-20221202.1727/transient hides /usr/local/share/emacs/29.0.60/lisp/transient

Features:
(shadow cl-print mailalias textsec uni-scripts idna-mapping
ucs-normalize uni-confusable textsec-check mail-extr misearch
multi-isearch magit-base magit-section compat-27 compat-26 shortdoc
help-fns radix-tree oc-basic ol-eww ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnselect gnus-art mm-uu mml2015 gnus-sum gnus-group gnus-undo
gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo
gnus-spec gnus-int gnus-range gnus-win ol-docview doc-view ol-bibtex
bibtex ol-bbdb ol-w3m ol-doi org-link-doi vc-svn vc-git emacsbug
mule-util company-oddmuse company-keywords company-etags company-gtags
company-files company-clang company-capf company-cmake company-semantic
company-template company-bbdb yasnippet-snippets yasnippet hl-todo
flyspell clipetty tex dbus texmathp pdf-tools pdf-view jka-compr
pdf-cache pdf-info tq pdf-util pdf-macs image-mode exif pass
password-store auth-source-pass with-editor server company-terraform
company-terraform-data terraform-mode hcl-mode flycheck-ledger
ledger-mode ledger-check ledger-texi ledger-test ledger-sort
ledger-report ledger-reconcile ledger-occur ledger-fonts ledger-fontify
ledger-state ledger-complete ledger-schedule ledger-init ledger-xact
ledger-post ledger-exec ledger-navigate eshell esh-cmd esh-ext esh-opt
esh-proc esh-io esh-arg esh-module esh-groups esh-util ledger-context
ledger-commodities ledger-regex gnus-alias ol-notmuch notmuch
notmuch-tree notmuch-jump notmuch-hello notmuch-show notmuch-print
notmuch-crypto notmuch-mua notmuch-message notmuch-draft
notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser
notmuch-wash diff-mode coolj goto-addr icalendar diary-lib
diary-loaddefs notmuch-tag crm notmuch-lib notmuch-compat hl-line
mm-view mml-smime smime dig org-mime message sendmail yank-media rfc822
mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies
mm-encode mailabbrev gmm-utils mailheader ox-org org-web-tools
esxml-query org-make-toc org-tree-slide org-timer org-clock
ob-restclient restclient ox-md ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii
ox-publish ox org-attach org-superstar org-element org-persist org-id
org-refile avl-tree ob-plantuml ob-js ob-ruby ob-python python ob-sql
ob-shell org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-src ob-comint org-pcomplete org-list org-footnote org-faces
org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat
org-macs rego-mode reformatter jsonnet-mode msgpack yaml-mode
markdown-mode noutline outline alchemist alchemist-macroexpand
alchemist-company alchemist-help alchemist-complete company-dabbrev-code
company-dabbrev alchemist-refcard alchemist-phoenix alchemist-compile
alchemist-iex alchemist-message alchemist-hooks alchemist-hex
alchemist-mix alchemist-info alchemist-goto alchemist-scope
alchemist-eval alchemist-interact alchemist-server alchemist-execute
alchemist-report alchemist-test-mode alchemist-project alchemist-file
alchemist-key alchemist-utils elixir-mode elixir-format elixir-smie
rust-utils rust-mode rust-rustfmt rust-playpen rust-compile rust-cargo
go-mode find-file ffap etags fileloop generator ruby-electric ruby-mode
nginx-mode css-mode sgml-mode facemenu eww url-queue mm-url gnus
nnheader gnus-util mail-utils range typescript-mode python-info
python-docstring company pcase devdocs shr pixel-fill kinsoku url-file
svg dom apheleia plantuml-mode xml iedit iedit-lib protobuf-mode cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs graphviz-dot-mode dockerfile-mode sh-script smie treesit
executable autoinsert deadgrep spinner rg vc vc-dispatcher rg-info-hack
advice rg-menu transient rg-ibuffer rg-result wgrep-rg wgrep rg-history
rg-header ibuf-ext ibuffer ibuffer-loaddefs grep comp comp-cstr warnings
editorconfig editorconfig-core editorconfig-core-handle
editorconfig-fnmatch git-link thingatpt ghub-graphql treepy gsexp ghub
url-http mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums
mail-prsvr url-gw nsm url-auth let-alist gnutls puny cal-menu calendar
cal-loaddefs vterm face-remap compile color vterm-module term/xterm
xterm eterm-256color f f-shortdoc s term disp-table ehelp xterm-color
ispell imenu-list hideshow imenu csv-mode sort htmlize writeroom-mode
typo visual-fill-column autorevert filenotify all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons modus-operandi-tinted-theme
modus-themes consult-notes-denote denote xdg dired dired-loaddefs xref
project consult-notes consult-vertico consult compat-28 recentf
tree-widget bookmark text-property-search edmacro kmacro
use-package-bind-key bind-key marginalia orderless savehist vertico
whole-line-or-region tramp tramp-loaddefs trampver tramp-integration
cus-edit pp cus-load wid-edit files-x tramp-compat shell pcomplete
comint ansi-osc parse-time iso8601 time-date ls-lisp format-spec so-long
flycheck ansi-color find-func dash use-package-diminish diminish
exec-path-from-shell saveplace use-package-ensure no-littering compat
compat-macs use-package-core pixel-scroll cua-base ring cl-extra
help-mode icons finder-inf org-mime-autoloads gcmh-autoloads
org-roam-autoloads rust-mode-autoloads go-mode-autoloads
web-mode-autoloads apheleia-autoloads easy-mmode deadgrep-autoloads
editorconfig-autoloads modus-themes-autoloads consult-notes-autoloads
consult-autoloads marginalia-autoloads orderless-autoloads
vertico-autoloads no-littering-autoloads clipetty-autoloads
auctex-autoloads tex-site pdf-tools-autoloads tablist-autoloads
pass-autoloads password-store-otp-autoloads password-store-autoloads
elfeed-autoloads company-terraform-autoloads terraform-mode-autoloads
hcl-mode-autoloads flycheck-ledger-autoloads ledger-mode-autoloads
gnus-alias-autoloads ol-notmuch-autoloads notmuch-autoloads
denote-autoloads org-web-tools-autoloads esxml-autoloads kv-autoloads
request-autoloads org-make-toc-autoloads org-tree-slide-autoloads
ob-restclient-autoloads restclient-autoloads org-superstar-autoloads
ox-gfm-autoloads rego-mode-autoloads dhall-mode-autoloads
reformatter-autoloads jsonnet-mode-autoloads msgpack-autoloads
yaml-mode-autoloads alchemist-autoloads elixir-mode-autoloads
ruby-electric-autoloads nginx-mode-autoloads json-mode-autoloads rx
json-snatcher-autoloads typescript-mode-autoloads rjsx-mode-autoloads
js2-mode-autoloads python-info-autoloads sphinx-doc-autoloads
python-docstring-autoloads py-isort-autoloads company-autoloads
devdocs-autoloads plantuml-mode-autoloads iedit-autoloads
protobuf-mode-autoloads graphviz-dot-mode-autoloads
dockerfile-mode-autoloads spinner-autoloads rg-autoloads wgrep-autoloads
hl-todo-autoloads format-all-autoloads inheritenv-autoloads
language-id-autoloads yasnippet-snippets-autoloads yasnippet-autoloads
git-link-autoloads forge-autoloads markdown-mode-autoloads
closql-autoloads emacsql-sqlite-autoloads emacsql-autoloads
yaml-autoloads ghub-autoloads treepy-autoloads magit-autoloads
git-commit-autoloads magit-section-autoloads transient-autoloads
with-editor-autoloads vterm-autoloads eterm-256color-autoloads
f-autoloads xterm-color-autoloads imenu-list-autoloads
csv-mode-autoloads htmlize-autoloads writeroom-mode-autoloads
typo-autoloads visual-fill-column-autoloads all-the-icons-autoloads
compat-autoloads amx-autoloads s-autoloads
whole-line-or-region-autoloads flycheck-autoloads info dash-autoloads
pkg-info-autoloads epl-autoloads diminish-autoloads
exec-path-from-shell-autoloads package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win
term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads xwidget-internal dbusbind inotify dynamic-setting
system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 1106012 278003)
 (symbols 48 59332 151)
 (strings 32 310702 84951)
 (string-bytes 1 10724974)
 (vectors 16 132391)
 (vector-slots 8 3190054 557840)
 (floats 8 1140 1213)
 (intervals 56 1645 1742)
 (buffers 984 21))




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Apostolis Bessas <apostolis@HIDDEN>
Subject: bug#60856: Acknowledgement (29.0.60; C-M-f in python-ts-mode does
 not work properly with docstrings)
Message-ID: <handler.60856.B.16738664976684.ack <at> debbugs.gnu.org>
References: <87sfgardb4.fsf@HIDDEN>
X-Gnu-PR-Message: ack 60856
X-Gnu-PR-Package: emacs
Reply-To: 60856 <at> debbugs.gnu.org
Date: Mon, 16 Jan 2023 10:55:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 60856 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
60856: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60856
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#60856: 29.0.60; C-M-f in python-ts-mode does not work properly with docstrings
Resent-From: Theodor Thornhill <theo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 16 Jan 2023 14:19:02 +0000
Resent-Message-ID: <handler.60856.B60856.167387871323223 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 60856
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Apostolis Bessas <apostolis@HIDDEN>
Cc: fgallina@HIDDEN, casouri@HIDDEN, 60856 <at> debbugs.gnu.org
Received: via spool by 60856-submit <at> debbugs.gnu.org id=B60856.167387871323223
          (code B ref 60856); Mon, 16 Jan 2023 14:19:02 +0000
Received: (at 60856) by debbugs.gnu.org; 16 Jan 2023 14:18:33 +0000
Received: from localhost ([127.0.0.1]:60965 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pHQJl-00062V-9j
	for submit <at> debbugs.gnu.org; Mon, 16 Jan 2023 09:18:33 -0500
Received: from out-94.mta0.migadu.com ([91.218.175.94]:16653)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <theo@HIDDEN>) id 1pHQJi-00062K-Dn
 for 60856 <at> debbugs.gnu.org; Mon, 16 Jan 2023 09:18:31 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no;
 s=key1; t=1673878708;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=kA68I8DHShPKH4t93fdsb3lfPU/RpbWtuPF689iPzjY=;
 b=H+Y4ks/nF5vR2De/Liyf9+hPcCCdKCLijfVmgPv93tSdg263+yVzZcW3z8buXh1OT1J0JA
 WfGy+xe+8YwrQ6sf2RwV2wWgJK2VuMriot1X64WYIyHxo92gq+ZqXHLCXBuPI5GL4d2Blg
 C+sgif7s/6YxGQhV+yt1VlJEzsDgkY89VxvI+zNJV/meEz/18SkW0yC6sEpAniM9WHEIs5
 C8mlyPrKh8BYUmF4OhqhoFSWrR7TQgO8fBfaeNNg2eJ03lai1Z06WcDLzdmBvuoSde6JvW
 tn9LW3QIJCSm30KwAlKUdvQoeHFXkzRpc2NH1ch9iqhqpaHP3u0Q3uQckAZLgQ==
From: Theodor Thornhill <theo@HIDDEN>
In-Reply-To: <87sfgardb4.fsf@HIDDEN> (Apostolis
 Bessas's message of "Mon, 16 Jan 2023 12:20:15 +0200")
References: <87sfgardb4.fsf@HIDDEN>
Date: Mon, 16 Jan 2023 15:18:27 +0100
Message-ID: <87tu0qk1fw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hi there!

Apostolis Bessas <apostolis@HIDDEN> writes:

> In python-ts-mode executing C-M-f (forward-sexp) when at the beginning
> of a docstring does not go to the end of the docstring (as happens in
> python-mode), but at the end of the file.
>
> However, if I switch to python-mode and then back to python-ts-mode,
> C-M-f works correctly. See the following example:
>
> - Start emacs -Q
> - Execute:
>
> (add-to-list 'auto-mode-alist '("\\.py\\'" . python-ts-mode))
>
> - Create the file test.py with the contents:
>
> """Some docstring.
>
> The docstring has multiple lines.
> """
>
> x = 1
>
> - Go to the first character in the file (beginning of docstring) and
>   press C-M-f. The point is moved to the end of the file (after the line
>   `x = 1`). Instead, the point should have been moved to the end of the
>   docstring (line 4, last '"' character).
>
> - Switch to python-mode and then back to python-ts-mode and repeat the
>   above step. The point is moved to the end of the docstring.
>

Yeah, I can reproduce this as well.  What happens is that python.el
redefines and remaps lots of commands, and doesn't set the functions.
In addition it uses some internal stuff that if I'm not mistaken isn't
really enabled in python-ts-mode.  If you try to apply the supplied
patch, then execute these steps:

1. M-< ;; go to beginning of buffer
2. M-e
3. M-<
4. M-x forward-sentence

You should see the behavior diverges, right?  That's because the
'treesit-major-mode-setup' sets up 'forward-sentence-function' which
python doesn't set.  A fix could be either to set the functions rather
than remapping, or make sure we at least create equivalents for
python-ts-mode.  I think we inherit too much from the python-base-mode,
so it is a little hard to reason about where functionalities come from.
I added the maintainers of treesit.el and python.el to CC for them to
provide some input.

Theo


diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 21d16db287..973e405e8f 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -6710,6 +6710,10 @@ python-ts-mode
                                               "_definition"))
     (setq-local treesit-defun-name-function
                 #'python--treesit-defun-name)
+
+    (setq-local treesit-sentence-type-regexp
+                '"statement")
+
     (treesit-major-mode-setup)
 
     (when python-indent-guess-indent-offset




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#60856: 29.0.60; C-M-f in python-ts-mode does not work properly with docstrings
Resent-From: Theodor Thornhill <theo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 22 Jan 2023 10:31:01 +0000
Resent-Message-ID: <handler.60856.B60856.167438342127542 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 60856
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Apostolis Bessas <apostolis@HIDDEN>
Cc: 60856 <at> debbugs.gnu.org
Received: via spool by 60856-submit <at> debbugs.gnu.org id=B60856.167438342127542
          (code B ref 60856); Sun, 22 Jan 2023 10:31:01 +0000
Received: (at 60856) by debbugs.gnu.org; 22 Jan 2023 10:30:21 +0000
Received: from localhost ([127.0.0.1]:50753 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pJXcD-0007A9-8v
	for submit <at> debbugs.gnu.org; Sun, 22 Jan 2023 05:30:21 -0500
Received: from out2.migadu.com ([188.165.223.204]:63055)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <theo@HIDDEN>) id 1pJXcB-0007A2-GB
 for 60856 <at> debbugs.gnu.org; Sun, 22 Jan 2023 05:30:20 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no;
 s=key1; t=1674383418;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=aC4jqMmlQqEYIfREflKhiUw8hZGyaFld74hW6cxKmbA=;
 b=hlnYkCEZ01LOI6ZzzqvFGupRTWvyC35opKm2ylLsHijha4GvCPhJM57ci5z7u7CK1dNoFq
 z8oqsBfRsVpunCDaeAlDfB/vrvXK0AQgAu0bO1GD2QCy/pMzfglgmZvnWGV/I+65pwGUCd
 Sn1q9V49OWT8CTni5DYPHrPeFkNDSrrbzBJQnGka6D0Y25O8j/cSlrNntiiGYQJ9Vo2NeU
 JNgX33nU1iozlrbHB2jXxTdpUSG9vFuKoVk7HmGk/vGiyEUimbkbiid5FsekcydiToQ1PE
 05U5MWOVMeJ48nn6ntLdLlDiBjulY6NT4kku3Lue/Km90oGjIFPiJe0OVb2w8Q==
From: Theodor Thornhill <theo@HIDDEN>
In-Reply-To: <87sfgardb4.fsf@HIDDEN> (Apostolis
 Bessas's message of "Mon, 16 Jan 2023 12:20:15 +0200")
References: <87sfgardb4.fsf@HIDDEN>
Date: Sun, 22 Jan 2023 11:30:17 +0100
Message-ID: <87ilgy7tfq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

Apostolis Bessas <apostolis@HIDDEN> writes:

> In python-ts-mode executing C-M-f (forward-sexp) when at the beginning
> of a docstring does not go to the end of the docstring (as happens in
> python-mode), but at the end of the file.
>
> However, if I switch to python-mode and then back to python-ts-mode,
> C-M-f works correctly. See the following example:
>
> - Start emacs -Q
> - Execute:
>
> (add-to-list 'auto-mode-alist '("\\.py\\'" . python-ts-mode))
>
> - Create the file test.py with the contents:
>
> """Some docstring.
>
> The docstring has multiple lines.
> """
>
> x = 1
>

Can you test this patch?  More nodes are needed, but this is a start, I
think.  Must be applied to the master branch :)

Theo


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Add-sentence-and-sexp-movement-to-python-ts-mode.patch

From bec1839da51e1fe6c399e636d1cf476fe76682c9 Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <theo@HIDDEN>
Date: Sun, 22 Jan 2023 11:27:37 +0100
Subject: [PATCH] Add sentence and sexp movement to python-ts-mode

* lisp/progmodes/python.el (python-ts-mode): Add relevant node types.
---
 lisp/progmodes/python.el | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 21d16db287..2a8fb5fcf5 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -6710,6 +6710,20 @@ python-ts-mode
                                               "_definition"))
     (setq-local treesit-defun-name-function
                 #'python--treesit-defun-name)
+
+    (setq-local treesit-sentence-type-regexp
+                (regexp-opt '("statement"
+                              "clause")))
+
+    (setq-local treesit-sexp-type-regexp
+                (regexp-opt '("expression"
+                              "string"
+                              "call"
+                              "operator"
+                              "identifier"
+                              "integer"
+                              "float")))
+
     (treesit-major-mode-setup)
 
     (when python-indent-guess-indent-offset
-- 
2.34.1


--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#60856: 29.0.60; C-M-f in python-ts-mode does not work properly with docstrings
Resent-From: Apostolis Bessas <apostolis@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 23 Jan 2023 05:53:05 +0000
Resent-Message-ID: <handler.60856.B60856.16744531431567 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 60856
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Theodor Thornhill <theo@HIDDEN>
Cc: 60856 <at> debbugs.gnu.org
Received: via spool by 60856-submit <at> debbugs.gnu.org id=B60856.16744531431567
          (code B ref 60856); Mon, 23 Jan 2023 05:53:05 +0000
Received: (at 60856) by debbugs.gnu.org; 23 Jan 2023 05:52:23 +0000
Received: from localhost ([127.0.0.1]:53059 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pJpkj-0000PA-E1
	for submit <at> debbugs.gnu.org; Mon, 23 Jan 2023 00:52:23 -0500
Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52757)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <apostolis@HIDDEN>) id 1pJd2X-00040n-4X
 for 60856 <at> debbugs.gnu.org; Sun, 22 Jan 2023 11:17:54 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id D1E545C01DE;
 Sun, 22 Jan 2023 11:17:47 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Sun, 22 Jan 2023 11:17:47 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bessas.me; h=cc
 :cc:content-type:date:date:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to; s=fm1; t=1674404267; x=1674490667; bh=7b/3aKUsrg
 lNIDG/onAU3H28lhHy2vfFqbX/bZa7QZU=; b=oI6KBxwWfvTNjUIt2SLYLVaf2s
 kZuhYlIY94QivR4Dcl4rbNzGljwDtGc4JuZWLvqqvIMU9ASfTjrMIIfvPt9socTF
 SBmX5cd79hRSQGMdp04XZq2P4XHEuc1XkcUIgR/wEJpEMPgZQyK35DDcVcDVf717
 yaqSIqTTuyM0oXI1ColzzW5haYElg/jq45OGo/i5B39g0QSoVDpi+TM4nEzDRqli
 ke6gOd3Grq5uAuzkQdX/8djMK2QRqVMvS3RWelKFVfchak/q2Xh324QNiNfcF2NK
 hHMPwAN+W/Bx/+bqxYJBUQxMp1bF4po1KCuLKam7uu2ymtwMVPYu1pABE3KA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:sender:subject:subject:to:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm3; t=1674404267; x=1674490667; bh=7b/3aKUsrglNIDG/onAU3H28lhHy
 2vfFqbX/bZa7QZU=; b=fx6g2fnHYdTYaWY6I0/goCYvIWf2VAWFufOonG/TkbB4
 b4x+tFgBIqg8y7KambMqkHtoJM3MMoWFoNIhJKAqzmFX5jPxZ3hDFq1+J9Cw6Rj3
 U33y++5rnQ8ZWkw2J3WSEFRTgr0dxFzukE6oAX34maYty8NYKc2kbgxHSW1NG71t
 XMeuReSp9on2XD2Xdh6DqmDsVrHV9pKXNXkjo/bobECtb9Fx69WQ9Sl9hKx46BpQ
 kWulNR+sSS7LZKwxBgyXAIDxhp9HmVvOkIl7MLyNFp1qiX1HYOkKgZszXMz2UxRn
 o41m4BNt48mxyNeTb14y0n5vLeJeqty6GlD9WGGspw==
X-ME-Sender: <xms:q2HNY0-3f2UCPxN_RW1z1iz-Pe0laNy3XJnofgn-RpFvCtYPq4OZbA>
 <xme:q2HNY8si3Lwhd5TQLWxP9abVSl1XB1Ae6MXD0aMW1WS_twd7kcacFvZ4rkXH0PZaf
 eQ9m4uPoQXLNhBpzA>
X-ME-Received: <xmr:q2HNY6CKgUWseSQ2R4YL6hkj3WBBAjym451xK2WWHvUZdgm2z7i7leoeWVs>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudduiedgkeekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpeetphhoshht
 ohhlihhsuceuvghsshgrshcuoegrphhoshhtohhlihhssegsvghsshgrshdrmhgvqeenuc
 ggtffrrghtthgvrhhnpefhgeehjedvueeujeegtddvteeghfeggfdtfeffgeduteekveeh
 geegfeetuefggfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh
 hrohhmpegrphhoshhtohhlihhssegsvghsshgrshdrmhgv
X-ME-Proxy: <xmx:q2HNY0cyF8tCNDwCrSW8ribsF9ETx8aFUouDGD6eOatdmZzSEZAIgg>
 <xmx:q2HNY5P2w3ePvkxaFfGnJuQgtfKYZEhuAcGsAde1CZLTP9ecgXxWEg>
 <xmx:q2HNY-mqYljX-zEa3QBnC6dnc0tWXxOONhhrXafEzl2J1cl2fiVxEg>
 <xmx:q2HNY7VbOfxJWpoT_9nPQB1tyLshvhZzldUxPVVqDDwOqCmC4JHPZQ>
Feedback-ID: iae9145c2:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 22 Jan 2023 11:17:46 -0500 (EST)
From: Apostolis Bessas <apostolis@HIDDEN>
In-Reply-To: <87ilgy7tfq.fsf@HIDDEN>
References: <87sfgardb4.fsf@HIDDEN>
 <87ilgy7tfq.fsf@HIDDEN>
Date: Sun, 22 Jan 2023 18:17:43 +0200
Message-ID: <87leluh7bs.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Mailman-Approved-At: Mon, 23 Jan 2023 00:52:20 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello,

On Sun, Jan 22, 2023 at 11:30, Theodor Thornhill <theo@HIDDEN> wrote:
> Can you test this patch?  More nodes are needed, but this is a start, I
> think.  Must be applied to the master branch :)

Yup, the patch fixes the issue for me, when applied specifically to the master branch.

Thanks,
Apostolis




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 4 Sep 2023 09:14:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 04 05:14:08 2023
Received: from localhost ([127.0.0.1]:48713 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qd5ep-0006Z6-Sd
	for submit <at> debbugs.gnu.org; Mon, 04 Sep 2023 05:14:08 -0400
Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:50510)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1qd5eo-0006YB-3d
 for control <at> debbugs.gnu.org; Mon, 04 Sep 2023 05:14:06 -0400
Received: by mail-lf1-x130.google.com with SMTP id
 2adb3069b0e04-4ff8f2630e3so2025602e87.1
 for <control <at> debbugs.gnu.org>; Mon, 04 Sep 2023 02:14:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1693818840; x=1694423640; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=3TrJEDEx9/G5a6pnkuWdwOQxAGMnx5cg2u9/v7pgSYk=;
 b=KylBKcD20quEio5TQHuUVxscsWwFKVEp0IdyrLF1m4BBpB+f1ixBvju90weN6XAill
 LpcO8fqAy5IdyFDx62fcNlNmZhpPyk3MvWmfouhpTVlstgL7wc2DAgJsyCkqdUzrNBHI
 wov7Cf1T05Msxk/9Jg3YjFHESVEchZEOVOMD4QGupshnpswguVnHdxinuKZk+YqDhxd1
 +bvQw5wYAbLth0eW+6WPidLRZkYnJKmXBHz0lUUjtsk85dfzustRBt/fZhkixD8PJL1u
 hWsIzv1yZHDXG7AVD35PaVPAodsGM98rRyvQmMwQ31rz1aZT4ddbOTqnHJQyfotesmBW
 WpHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1693818840; x=1694423640;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=3TrJEDEx9/G5a6pnkuWdwOQxAGMnx5cg2u9/v7pgSYk=;
 b=L8xqshuUHvsfZ2yA4fv5JeapqW7w2WHmSN6WPcGRZ2ll93tYdNJLp84RxN/jRTMf1O
 +5lci2abTKTPNqjjSqiV6lbWOUmHrWmOObJpfEkxtc2wiuFT7cXxomy6LTIvN9RLVd0q
 Wjmfb5QQU7fSLa9xzHYqp9Y+hNPwmuONaZURK8PIK62W/ELl51xcRD4kY8d6edufe5Ry
 7rcKat7FRIqUTUHhg2ukquLMdE3FzEbvCq67giyAObAPSlr3mwb6Bbi/jZs6SERB8VRB
 /sRQ3s2vbE9AZ9dV7pCElgjmlcWYdoGL8IsmbNveqEio+2AFyHvzB7sqh+XbD2qwxcRo
 cx1w==
X-Gm-Message-State: AOJu0Yxr6XU4zfkdANqxeFsALFjCSSkZscrRusEo6mYe9B+GEcRLGbiS
 TNHZgOrUj8zopAIGDcZftMweEfk/ry121r2K01NKS329FTQ=
X-Google-Smtp-Source: AGHT+IFELgXXlLLvFW0NQ7sgVMIe5SZjEb9mT6t7DG2mrmqcQxQHzMMpCRy1xlFZm/RhBsuf/0EZiWxLsGT4cGoBgJM=
X-Received: by 2002:a05:6512:1114:b0:4fd:c923:db59 with SMTP id
 l20-20020a056512111400b004fdc923db59mr7130302lfg.15.1693818840501; Mon, 04
 Sep 2023 02:14:00 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 4 Sep 2023 02:14:00 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Mon, 4 Sep 2023 02:14:00 -0700
Message-ID: <CADwFkm=LuzFxV3r3=dUWNFjmWBBoe-SKPpvwkhF1AObYiMwGqQ@HIDDEN>
Subject: control message for bug #60856
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 60856 + patch
quit




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#60856: 29.0.60; C-M-f in python-ts-mode does not work properly with docstrings
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 04 Sep 2023 19:52:01 +0000
Resent-Message-ID: <handler.60856.B60856.169385707026896 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 60856
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Apostolis Bessas <apostolis@HIDDEN>
Cc: 60856 <at> debbugs.gnu.org, Theodor Thornhill <theo@HIDDEN>
Received: via spool by 60856-submit <at> debbugs.gnu.org id=B60856.169385707026896
          (code B ref 60856); Mon, 04 Sep 2023 19:52:01 +0000
Received: (at 60856) by debbugs.gnu.org; 4 Sep 2023 19:51:10 +0000
Received: from localhost ([127.0.0.1]:52660 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qdFbK-0006zj-Gz
	for submit <at> debbugs.gnu.org; Mon, 04 Sep 2023 15:51:10 -0400
Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:57663)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1qdFbI-0006zV-99
 for 60856 <at> debbugs.gnu.org; Mon, 04 Sep 2023 15:51:09 -0400
Received: by mail-lf1-x129.google.com with SMTP id
 2adb3069b0e04-5009969be25so2759823e87.3
 for <60856 <at> debbugs.gnu.org>; Mon, 04 Sep 2023 12:51:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1693857062; x=1694461862; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=dfj8R3LJqfGrIwBiLqRohgToC4DIGLupRf7GBN/Rbz8=;
 b=ItBC2pBzn4quELmiTudfi4RD8I3VVW6OoxmtBF4MjFvi4NdNPSie6VUORRMlEtyKEB
 7CYRIWQzSt/QYj45rbDGCClwnHRo2cffq8oDuOAWXyfgAmYnDr0H3w8Jn+IaGpZLG9mk
 Vv6R2bZ1M3Ae2R2ikpDEANG6RiCXXvRT3m/cXAjVISahPiAmchdi03MWpZ/QpfU5jSXO
 MTwkQNfaWtjBFrHYojqWLAbofePEw7Rx28si8SSMWzxQ3x0zHRPAhfJo3vgsSSoEVlDP
 AmTjD6/gTGJUygGcZVij7EL6nadN5sRMzfiKTCdqJYTACo+HrIW/YYETjLYXNIXkVfdx
 SC/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1693857062; x=1694461862;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=dfj8R3LJqfGrIwBiLqRohgToC4DIGLupRf7GBN/Rbz8=;
 b=PKEnN+wDAr/rc+SaFT5S/dBSB76f6cKMPpCm6pUkyRa8V96Pc4IpJfAA3sSQ+0Oc8r
 xgqUSHEUInYZKdKUV65uyEqXI/davTZC2Sq601jwQoyDyhnckvPKieHHMjOtvBw2oJzy
 5oriSEqRIAsg6QRvSuceuC2bZ1AK2C9xPiY3RGRia3ua5jqX/vc2701QZytSWjKiHyMS
 KWNsQsTNJMjFiQ9G0sfj3ODlGCeD0wJOTc/FoRfjcZOAP36rwm15/an0xGRaoh3Uknh+
 8KdlVcX/E91/aU6D9anrQxGKbDi3riCbIsB/YLuoi0RRGXmy7/PYBJee+3rpq8UM7tk9
 d2Hg==
X-Gm-Message-State: AOJu0Yy0Tq9xIBwQPdI81VVX8TCh0e76r3LKbOYnNd1JfbZUhBGhWeD0
 ekMwyaFc4SL7KUmPHoqd8eEqAV+DGA7ItYag7Dk=
X-Google-Smtp-Source: AGHT+IF38k0rPL5yOpQZG9/YyG8zpF5acqyBRMq0+daav6C5liDtj5o681elWmD7z0r3Dza62NgrA/BLTrzrYYnxLL0=
X-Received: by 2002:a05:6512:3994:b0:500:b64f:afbe with SMTP id
 j20-20020a056512399400b00500b64fafbemr8859959lfu.19.1693857062266; Mon, 04
 Sep 2023 12:51:02 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 4 Sep 2023 12:51:01 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87leluh7bs.fsf@HIDDEN> (Apostolis
 Bessas's message of "Sun, 22 Jan 2023 18:17:43 +0200")
References: <87sfgardb4.fsf@HIDDEN>
 <87ilgy7tfq.fsf@HIDDEN>
 <87leluh7bs.fsf@HIDDEN>
MIME-Version: 1.0
Date: Mon, 4 Sep 2023 12:51:01 -0700
Message-ID: <CADwFkmmNjpzJ0ZzcYqB56bz4B=F0B8nAqO8FJ8qYUzvSdk5dHA@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Apostolis Bessas <apostolis@HIDDEN> writes:

> On Sun, Jan 22, 2023 at 11:30, Theodor Thornhill <theo@HIDDEN> wrote:
>> Can you test this patch?  More nodes are needed, but this is a start, I
>> think.  Must be applied to the master branch :)
>
> Yup, the patch fixes the issue for me, when applied specifically to the master branch.

It seems like this patch was never installed?





Last modified: Mon, 4 Sep 2023 20:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.