X-Loop: help-debbugs@HIDDEN Subject: bug#76784: 31.0.50; up-list works incorrectly on emacs-30 if forward-sexp-function is set to treesit-forward-sexp Resent-From: Roman Rudakov <rrudakov@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 06 Mar 2025 16:52:02 +0000 Resent-Message-ID: <handler.76784.B.174127987820771 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 76784 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76784 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.174127987820771 (code B ref -1); Thu, 06 Mar 2025 16:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Mar 2025 16:51:18 +0000 Received: from localhost ([127.0.0.1]:45039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tqERJ-0005Ow-0w for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 11:51:17 -0500 Received: from lists.gnu.org ([2001:470:142::17]:35816) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rrudakov@HIDDEN>) id 1tqERF-0005Og-KI for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 11:51:14 -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 <rrudakov@HIDDEN>) id 1tqER9-0000Ok-7s for bug-gnu-emacs@HIDDEN; Thu, 06 Mar 2025 11:51:07 -0500 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rrudakov@HIDDEN>) id 1tqER4-0006Rh-PQ for bug-gnu-emacs@HIDDEN; Thu, 06 Mar 2025 11:51:06 -0500 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 5C4C113826F5 for <bug-gnu-emacs@HIDDEN>; Thu, 6 Mar 2025 11:50:59 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Thu, 06 Mar 2025 11:50:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1741279859; x=1741366259; bh=mN1EILLnU5svJ4HPDFT5C4NroldnYoSS 8VBx96lFe50=; b=T2tw/izf2dsn0+AN2WM5BLLrzHNn6dm47nWOUv9DeGNj4rid 0R4CEif+Be6kwtSJR1TFRDXeBSd/QdurMVFQxtCm4KYx8A2m9Z7R9CWpFXHHB7me OBubc0dUIAvw2beUH2eT+KUfljF95LWYF8o6jysufQRuxSRaW82zdieksfcLioky KGErYKOl4UvclmyfEH+RBscnS1suwAnbNEitkqEP5PrLqoGssT+4jeOkZBSKNIlD Upppuo5sLcuIp/LLvXWZWeRR0DSFbkCkiGCKx55kblQk6XFQ5HB4nze2JF8pQPEQ bXig0nRyhWxpV4YPJvG0jR4oW1nRvnS2XFFuzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1741279859; x= 1741366259; bh=mN1EILLnU5svJ4HPDFT5C4NroldnYoSS8VBx96lFe50=; b=C QYk07mB5iyS/pWEC+3lzJAFQbutpPSprCz8ExuCLFAFVV9xHyD+HaWJlhex6EVtC U2UKTEn2yKWhXiTRDT0fyVvhU/FwKU0vrCRh1mErNZ+0VhA+RYLp6TAc8SOxWxz7 Beq8D633ZEEG97AtP+ujWl82fhn1y4TB6mClSXnDRhBnu0fx1BGH/SZeVWK3LmZL RLGDMpqN6e67TP1o13PldVRWwFGa/D2pCtlJseN2HThUe0uQzYiHcTxiwp6mUYrL AjX1Zkdmu73hxh0arsYeA+iKN8W6Tx4SIKgLwaI/17NX+jQ5xk0eyQDd7cmLz+sq jS1exL4cwse3gkzp8pfHw== X-ME-Sender: <xms:c9LJZ38z5zmAFdIlNqafy7-jEpD5uaqZgU7n0ZUHQX1thNSJFgakjA> <xme:c9LJZzsjv0JCxMMKT2FIWOHeGq45tRTSqi3iujCFOQt8dIQygLS1lhUwF-zL_mXF1 WmEA8J_HNj0hBAEajU> X-ME-Received: <xmr:c9LJZ1BazcAb62I-MR2UzW7NvZ4Pb3MN8OC9y0uN--kCNfh0XRHYc4IDBfP43R7GHceGBGAA92pkrf0GMw8> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddutdekvdekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvf fufgffkfggtgesthdtredttdertdenucfhrhhomheptfhomhgrnhcutfhuuggrkhhovhcu oehrrhhuuggrkhhovhesfhgrshhtmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpe evffetffelgfevffejfeffvedvieehfefgvefhjeefkedtjeekhfefvedvtdelueenucff ohhmrghinhepghhnuhdrohhrghdpghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhhruhgurghkohhvsehfrghsthhm rghilhdrtghomhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh X-ME-Proxy: <xmx:c9LJZzfANn3oepc26iLK6_EbIBqro37VWo55dpEUOGf3ZOtooZ20YA> <xmx:c9LJZ8MF-aHx7S-3IOOQ__IjTyiPCGeJXknK86kiyttBbeIDfkd9Fw> <xmx:c9LJZ1lC35yZ9-okPIBNq3W6zjMzmErD9CaDAHx0sNx4R9LMp7syww> <xmx:c9LJZ2vHVCuW1n0kpjmNJgHWf2GTDhMwetSDX1bP8yR5Ke4KKVyC5A> <xmx:c9LJZ237ujFXIpa0HmMUdPGCb-86zoTPpM0hiy7-7pWMfydk0Mm3KCjQ> Feedback-ID: i1c714620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <bug-gnu-emacs@HIDDEN>; Thu, 6 Mar 2025 11:50:58 -0500 (EST) From: Roman Rudakov <rrudakov@HIDDEN> User-Agent: mu4e 1.12.9; emacs 31.0.50 Date: Thu, 06 Mar 2025 17:50:51 +0100 Message-ID: <87bjueumqc.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=103.168.172.145; envelope-from=rrudakov@HIDDEN; helo=fout-a2-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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.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: -0.0 (/) The bug is reproducible for clojure-ts-mode. If "sexp" thing is defined for tree-sitter mode, forward-sexp-function is set to treesit-forward-sexp (https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n3147) This setting triggers condition in the up-list function (https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/emacs-lisp/lisp.el?h=emacs-30#n258) If point is outside of a top-level sexp, up-list function calls forward-list until point position reaches the bottom of the buffer. Expected behavior: point stays at the end of sexp and message "At the top level" is shown in the echo area. On master branch this issue can be fixed by setting up-list-function to treesit-up-list, but on emacs-30 up-list-function doesn't exist. Would it be possible to fix the issue in the next bugfix release (if it's planned)? More details: https://github.com/clojure-emacs/clojure-ts-mode/issues/62 Thank you. In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2025-02-25 built on rudakov-xps Repository revision: 4101df53cc4d0bb5a913ce374206845d49336a15 Repository branch: makepkg Windowing system distributor 'The X.Org Foundation', version 11.0.12101016 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-m17n-flt --disable-gc-mark-trace --without-gconf --with-native-compilation=yes --with-native-compilation=aot --with-xinput2 --with-x-toolkit=lucid --with-xft --with-xaw3d --without-cairo --with-sound=no --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto'' Configured features: ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XFT XIM XINERAMA XINPUT2 XPM XRANDR LUCID ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: server-mode: t idle-highlight-mode: t subword-mode: t yas-minor-mode: t hl-todo-mode: t flymake-mode: t pdf-occur-global-minor-mode: t mu4e-column-faces-mode: t mu4e-modeline-mode: t auto-insert-mode: t electric-pair-mode: t org-roam-db-autosync-mode: t outline-minor-mode: t minions-mode: t repeat-mode: t save-place-mode: t minibuffer-electric-default-mode: t savehist-mode: t recentf-mode: t global-auto-revert-mode: t global-hl-line-mode: t apheleia-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 window-divider-mode: t minibuffer-regexp-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 hs-minor-mode: t Load-path shadows: /home/rrudakov/.config/emacs/elpa/ef-themes-1.9.0/theme-loaddefs hides /home/rrudakov/.config/emacs/elpa/modus-themes-4.6.0/theme-loaddefs /home/rrudakov/.config/emacs/elpa/magit-4.3.1/magit-autorevert hides /home/rrudakov/.config/emacs/elpa/magit-section-4.3.1/magit-autorevert /home/rrudakov/.config/emacs/elpa/transient-0.8.5/transient hides /usr/share/emacs/31.0.50/lisp/transient /home/rrudakov/.config/emacs/elpa/ef-themes-1.9.0/theme-loaddefs hides /usr/share/emacs/31.0.50/lisp/theme-loaddefs /home/rrudakov/.config/emacs/elpa/python-0.29/python hides /usr/share/emacs/31.0.50/lisp/progmodes/python Features: (shadow face-remap emacsbug apheleia apheleia-rcs apheleia-dp apheleia-formatters apheleia-utils apheleia-log apheleia-formatter-context vc-git diff-mode track-changes sort gnus-cite mm-archive mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check flymake-kondor clojure-ts-mode clj-refactor hydra lv inflections mc-hide-unmatched-lines-mode mc-mark-more sgml-mode mc-cycle-cursors multiple-cursors-core rect paredit cider cider-debug cider-browse-ns cider-mode cider-xref-backend cider-find cider-inspector cider-completion cider-profile cider-eval cider-jar arc-mode archive-mode cider-repl-history pulse cider-repl cider-resolve cider-test cider-overlays cider-stacktrace cider-doc cider-browse-spec cider-clojuredocs cider-eldoc cider-docstring cider-client cider-common xref cider-completion-context cider-connection cider-popup sesman-browser nrepl-client cider-util sesman queue nrepl-dict spinner parseedn parseclj-parser parseclj-lex parseclj-alist clojure-mode align ef-maris-dark-theme server idle-highlight-mode cap-words superword subword hideshow yasnippet ef-themes cus-start hl-todo checkdoc lisp-mnt flymake org-git ghub-graphql treepy gsexp ghub url-http url-gw nsm url-auth google-translate-smooth-ui google-translate-core-ui facemenu color popup google-translate-core google-translate-backend use-package-ensure pdf-occur tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools pdf-view jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode exif ob-restclient restclient mu4e-column-faces mu4e-icalendar gnus-icalendar icalendar mu4e mu4e-org mu4e-notification notifications mu4e-main smtpmail mu4e-view mu4e-mime-parts mu4e-headers mu4e-thread mu4e-actions mu4e-compose mu4e-draft gnus-msg mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill mule-util mu4e-contacts mu4e-update mu4e-folders mu4e-context mu4e-query-items mu4e-server mu4e-modeline mu4e-vars mu4e-helpers mu4e-config mu4e-window bookmark ido mu4e-obsolete yaml-ts-mode dockerfile-ts-mode rust-ts-mode c-ts-common vlf-setup vlf vlf-base vlf-tune autoinsert rg vc vc-dispatcher rg-info-hack rg-menu transient edmacro kmacro rg-ibuffer rg-result wgrep-rg wgrep rg-history rg-header ibuf-ext ibuffer ibuffer-loaddefs grep compile elec-pair emacsql-sqlite-builtin sqlite org-roam-migrate org-roam-log org-roam-mode org-roam-capture org-roam-id org-roam-node crm org-roam-db org-roam-utils org-roam-compat org-roam org-capture emacsql-sqlite emacsql emacsql-compiler magit-section cursor-sensor llama comp comp-cstr dash async ob-async ob-plantuml ob-ditaa ob-clojure ob-haskell ob-sqlite ob-shell ob-sql ob-python python project org-clock appt diary-lib diary-loaddefs org-duration flyspell ispell oc-basic bibtex disp-table ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr-tag-pre-highlight language-detection shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus comp-run comp-common xml gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util text-property-search mail-utils range mm-util mail-prsvr ox-gfm 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 ox-html table ox-ascii ox-publish ox org-attach org-agenda org-element org-persist org-id org-element-ast inline avl-tree generator org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete org-list org-footnote org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs thingatpt find-func cal-menu calendar cal-loaddefs ol org-fold org-fold-core org-compat org-macs exec-path-from-shell minions compat warnings repeat hippie-exp advice saveplace minibuf-eldef savehist tramp-cache time-stamp tramp-sh tramp trampver tramp-integration files-x tramp-message tramp-compat shell pcomplete comint ansi-osc ring parse-time iso8601 time-date format-spec ansi-color tramp-loaddefs recentf tree-widget cl-extra help-mode autorevert filenotify use-package-core hl-line finder-inf add-node-modules-path-autoloads alert-autoloads apheleia-autoloads easy-mmode auctex-autoloads tex-site clj-refactor-autoloads cider-autoloads clojure-mode-autoloads clojure-ts-mode-autoloads csv-mode-autoloads debbugs-autoloads dired-git-info-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads dtrt-indent-autoloads edit-indirect-autoloads ef-themes-autoloads elfeed-autoloads emacs-everywhere-autoloads emmet-mode-autoloads exec-path-from-shell-autoloads expand-region-autoloads flymake-kondor-autoloads flyspell-correct-autoloads ghub-autoloads git-link-autoloads gitignore-templates-autoloads gntp-autoloads google-c-style-autoloads google-translate-autoloads groovy-mode-autoloads haskell-mode-autoloads hl-todo-autoloads hydra-autoloads idle-highlight-mode-autoloads inflections-autoloads log4e-autoloads logview-autoloads datetime-autoloads extmap-autoloads lua-mode-autoloads lv-autoloads magit-autoloads pcase markdown-mode-autoloads minions-autoloads modus-themes-autoloads mu4e-column-faces-autoloads multiple-cursors-autoloads nginx-mode-autoloads nov-autoloads esxml-autoloads kv-autoloads ob-async-autoloads async-autoloads ob-restclient-autoloads org-roam-autoloads magit-section-autoloads llama-autoloads emacsql-autoloads org-tree-slide-autoloads ox-jira-autoloads ox-slack-autoloads ox-gfm-autoloads paredit-autoloads parseedn-autoloads parseclj-autoloads password-store-otp-autoloads password-store-autoloads pdf-tools-autoloads pip-requirements-autoloads pkgbuild-mode-autoloads plantuml-mode-autoloads dash-autoloads popup-autoloads python-autoloads pyvenv-autoloads queue-autoloads rainbow-mode-autoloads restclient-autoloads rg-autoloads s-autoloads sesman-autoloads shr-tag-pre-highlight-autoloads language-detection-autoloads sly-autoloads spinner-autoloads sql-indent-autoloads ssh-config-mode-autoloads rx tablist-autoloads telega-autoloads transient-autoloads treepy-autoloads vimrc-mode-autoloads visual-fill-column-autoloads vlf-autoloads web-mode-autoloads wgrep-autoloads info with-editor-autoloads yasnippet-autoloads package browse-url xdg 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 cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting x-toolkit xinput2 x multi-tty move-toolbar make-network-process tty-child-frames native-compile emacs) Memory information: ((conses 16 1155128 248284) (symbols 48 57181 190) (strings 32 321579 17220) (string-bytes 1 9488197) (vectors 16 303372) (vector-slots 8 2828876 159177) (floats 8 91517 989) (intervals 56 10957 4947) (buffers 992 33)) -- Best regards, Roman
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: Roman Rudakov <rrudakov@HIDDEN> Subject: bug#76784: Acknowledgement (31.0.50; up-list works incorrectly on emacs-30 if forward-sexp-function is set to treesit-forward-sexp) Message-ID: <handler.76784.B.174127987820771.ack <at> debbugs.gnu.org> References: <87bjueumqc.fsf@HIDDEN> X-Gnu-PR-Message: ack 76784 X-Gnu-PR-Package: emacs Reply-To: 76784 <at> debbugs.gnu.org Date: Thu, 06 Mar 2025 16:52: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 76784 <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 76784: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76784 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#76784: 31.0.50; up-list works incorrectly on emacs-30 if forward-sexp-function is set to treesit-forward-sexp Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 06 Mar 2025 17:55:02 +0000 Resent-Message-ID: <handler.76784.B76784.174128368132321 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76784 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Roman Rudakov <rrudakov@HIDDEN> Cc: 76784 <at> debbugs.gnu.org Received: via spool by 76784-submit <at> debbugs.gnu.org id=B76784.174128368132321 (code B ref 76784); Thu, 06 Mar 2025 17:55:02 +0000 Received: (at 76784) by debbugs.gnu.org; 6 Mar 2025 17:54:41 +0000 Received: from localhost ([127.0.0.1]:45316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tqFQZ-0008P2-2z for submit <at> debbugs.gnu.org; Thu, 06 Mar 2025 12:54:41 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:52907) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tqFQU-0008Ob-7h for 76784 <at> debbugs.gnu.org; Thu, 06 Mar 2025 12:54:31 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 9A0DC444CA; Thu, 6 Mar 2025 17:54:19 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> In-Reply-To: <87bjueumqc.fsf@HIDDEN> Organization: LINKOV.NET References: <87bjueumqc.fsf@HIDDEN> Date: Thu, 06 Mar 2025 19:53:49 +0200 Message-ID: <874j06gibm.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddutdekgedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesmhdtreertdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpefhtddvvdefudejffffueduudekteffjefhhfejueejveetjeevueeuudejffdvhfenucffohhmrghinhepghhnuhdrohhrghenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejieejkeegseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtoheprhhruhgurghkohhvsehfrghsthhmrghilhdrtghomh X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) 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 (-) --=-=-= Content-Type: text/plain > The bug is reproducible for clojure-ts-mode. If "sexp" thing is defined for > tree-sitter mode, forward-sexp-function is set to treesit-forward-sexp > (https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n3147) > > This setting triggers condition in the up-list function > (https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/emacs-lisp/lisp.el?h=emacs-30#n258) > > If point is outside of a top-level sexp, up-list function calls > forward-list until point position reaches the bottom of the buffer. > > Expected behavior: point stays at the end of sexp and message "At the top > level" is shown in the echo area. > > On master branch this issue can be fixed by setting up-list-function to > treesit-up-list, but on emacs-30 up-list-function doesn't exist. Thanks for the bug report. This can be fixed for Emacs 31 (i.e. current master) by such patch. Also please note that treesit-transpose-sexps is working again on Emacs 31. > Would it be possible to fix the issue in the next bugfix release (if it's > planned)? You could try to convince our maintainers to consider backporting the fix from master to the release branch. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=clojure-ts--list-nodes.patch @@ -918,10 +918,16 @@ "unquote_splicing_lit" "unquoting_lit") "A regular expression that matches nodes that can be treated as s-expressions.") +(defconst clojure-ts--list-nodes + '("list_lit" "anon_fn_lit" "read_cond_lit" "splicing_read_cond_lit" + "map_lit" "ns_map_lit" "vec_lit" "set_lit") + "A regular expression that matches nodes that can be treated as lists.") + (defconst clojure-ts--thing-settings `((clojure - (sexp ,(regexp-opt clojure-ts--sexp-nodes) - text ,(regexp-opt '("comment")))))) + (sexp ,(regexp-opt clojure-ts--sexp-nodes)) + (list ,(regexp-opt clojure-ts--list-nodes)) + (text ,(regexp-opt '("comment")))))) (defvar clojure-ts-mode-map (let ((map (make-sparse-keymap))) @@ -1043,7 +1049,8 @@ ;; Workaround for treesit-transpose-sexps not correctly working with ;; treesit-thing-settings on Emacs 30. ;; Once treesit-transpose-sexps it working again this can be removed - (when (fboundp 'transpose-sexps-default-function) + (when (and (fboundp 'transpose-sexps-default-function) + (< emacs-major-version 31)) (setq-local transpose-sexps-function #'transpose-sexps-default-function))))) ;; For Emacs 30+, so that `clojure-ts-mode' is treated as deriving from --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#76784: 31.0.50; up-list works incorrectly on emacs-30 if forward-sexp-function is set to treesit-forward-sexp Resent-From: Roman Rudakov <rrudakov@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 07 Mar 2025 10:30:02 +0000 Resent-Message-ID: <handler.76784.B76784.174134335518063 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76784 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov <juri@HIDDEN> Cc: 76784 <at> debbugs.gnu.org Received: via spool by 76784-submit <at> debbugs.gnu.org id=B76784.174134335518063 (code B ref 76784); Fri, 07 Mar 2025 10:30:02 +0000 Received: (at 76784) by debbugs.gnu.org; 7 Mar 2025 10:29:15 +0000 Received: from localhost ([127.0.0.1]:47108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tqUx9-0004hG-3o for submit <at> debbugs.gnu.org; Fri, 07 Mar 2025 05:29:15 -0500 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]:52451) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rrudakov@HIDDEN>) id 1tqUx6-0004gz-Ga for 76784 <at> debbugs.gnu.org; Fri, 07 Mar 2025 05:29:13 -0500 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id ECA3C11400EA; Fri, 7 Mar 2025 05:29:06 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Fri, 07 Mar 2025 05:29:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1741343346; x=1741429746; bh=yAMp9wRApl ps7RA6iKxjdf3ukn8g0LFgml6iHhbmEdI=; b=J88OJlk3yk4uwHZP13zWzRQs2P +7o0lQSBmW+e8ZwizJIoRweszwx4YZalK4XpA2e+cP7BT7Prgg/pwLSpb1R4Q2eH qK3UvJwvSBWxUin7Ui/jjXojasZiyGMYeKUghznJsF0VLxzxtmC84AAkUd/O97Kk KbewzEkgA6IoU3lMweDtluTf3VqLA1rN0MivoT1Q+RHElhZROj94RQs9Mu0+/ppJ fHgPimx58IFxkZcNYWvTAeYKkeVOX/bX5cXimkXU8thPqyJzC/XO5bh3lqODXD2S QQf5KJKhgLsJnqrkUFHNxKjwU3Xd76KY+f4mvy8ufOt7j5Du0mp53gLKATMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1741343346; x=1741429746; bh=yAMp9wRAplps7RA6iKxjdf3ukn8g0LFgml6 iHhbmEdI=; b=3cq42hQTK0+ZuW/u0i/zSF2sUx2PJa4tsAvYnucJg/mkirhoYGq FPA+scSlPxWkZ5CZYpmX39hu2cbmhxFMIWFaGljkpIWrwretUy5X4hOaoux14y6V wU2NJMUcw05RgOAvRLr78C9iw3vozzQpk+Xj3FCxXPsnUNSOikiV0Ai90kPIPzrw IYe9OqLmNz0QdwquEus/BvYS2lQbrb5XKfY0C13X9iKN43G8ahvU47EOoIB9BbsK kvMAxA1nhtUZ0iOg7Nr/O2VdaKThpLT5gL8loKJM6QHOmP6/1rcDQi6FVCt/8Hlp AjeZqxYv3j47fBR1T7gqssq8HFRjwLEwnDQ== X-ME-Sender: <xms:csrKZ6OyhybXMKrKImjrIFYbT98U_dVD3-lrX3z38yqw49-uccS8PA> <xme:csrKZ4-df6KcotIx1x03IniUGSFPii9g9R-IRfBmc8-OpTIRIFLs8VvASW1iu_VyY V4h0enzHmGH_5MPZyg> X-ME-Received: <xmr:csrKZxToGBGiGBxBvVO0MIedIbENEgpvOIVBZwPl7WJzqotuusw5UuoN4eLDU5WM9w6GDFtsAAInVYfIMq0> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduuddtgedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgesthdtredttder tdenucfhrhhomheptfhomhgrnhcutfhuuggrkhhovhcuoehrrhhuuggrkhhovhesfhgrsh htmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpefggeeuveelteefffeigfetfedv ueehleeuvdduteegkeeijeetffehtdefuddvffenucffohhmrghinhepghhnuhdrohhrgh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrrhhu uggrkhhovhesfhgrshhtmhgrihhlrdgtohhmpdhnsggprhgtphhtthhopedvpdhmohguvg epshhmthhpohhuthdprhgtphhtthhopeejieejkeegseguvggssghughhsrdhgnhhurdho rhhgpdhrtghpthhtohepjhhurhhisehlihhnkhhovhdrnhgvth X-ME-Proxy: <xmx:csrKZ6s0cDc13LWatGbMuHQ93wap_JSKELw1YYjFt5gf_r0c6jqFeQ> <xmx:csrKZyfT_311KYP0u9wMQmAw2ql_A5POlxkZJob6HVHPJFa2HFVPEQ> <xmx:csrKZ-2NfHhPC2bT9gx-wXgClp7MU0emz7fV8mPfqqlSJZGzGt1VkQ> <xmx:csrKZ2_tpAP4Ot_CAh43pUKqgMop-yNGh5WLiK3d0J8paaxA_q3vGw> <xmx:csrKZzp-jZzM-le6zGO0h-PIkYvd6RYrrPH2t1xOT5BhIAjQINQXmR97> Feedback-ID: i1c714620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 7 Mar 2025 05:29:06 -0500 (EST) From: Roman Rudakov <rrudakov@HIDDEN> In-Reply-To: <874j06gibm.fsf@HIDDEN> References: <87bjueumqc.fsf@HIDDEN> <874j06gibm.fsf@HIDDEN> User-Agent: mu4e 1.12.9; emacs 31.0.50 Date: Fri, 07 Mar 2025 11:28:57 +0100 Message-ID: <87r039yw0m.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; format=flowed 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 (-) Juri Linkov <juri@HIDDEN> writes: >> The bug is reproducible for clojure-ts-mode. If "sexp" thing is >> defined for >> tree-sitter mode, forward-sexp-function is set to >> treesit-forward-sexp >> (https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n3147) >> >> This setting triggers condition in the up-list function >> (https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/emacs-lisp/lisp.el?h=emacs-30#n258) >> >> If point is outside of a top-level sexp, up-list function calls >> forward-list until point position reaches the bottom of the buffer. >> >> Expected behavior: point stays at the end of sexp and message "At >> the top >> level" is shown in the echo area. >> >> On master branch this issue can be fixed by setting >> up-list-function to >> treesit-up-list, but on emacs-30 up-list-function doesn't exist. > > Thanks for the bug report. This can be fixed for Emacs 31 > (i.e. current > master) by such patch. Also please note that > treesit-transpose-sexps > is working again on Emacs 31. > Thank you for the patch Juri! I tried it locally and it works well for Emacs 31. I'll suggest to apply it to clojure-ts-mode. >> Would it be possible to fix the issue in the next bugfix release >> (if it's >> planned)? > > You could try to convince our maintainers to consider backporting > the fix > from master to the release branch. > -- Best regards, Roman
X-Loop: help-debbugs@HIDDEN Subject: bug#76784: 31.0.50; up-list works incorrectly on emacs-30 if forward-sexp-function is set to treesit-forward-sexp Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 08 Mar 2025 18:50:02 +0000 Resent-Message-ID: <handler.76784.B76784.17414597664055 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76784 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Roman Rudakov <rrudakov@HIDDEN> Cc: 76784 <at> debbugs.gnu.org Received: via spool by 76784-submit <at> debbugs.gnu.org id=B76784.17414597664055 (code B ref 76784); Sat, 08 Mar 2025 18:50:02 +0000 Received: (at 76784) by debbugs.gnu.org; 8 Mar 2025 18:49:26 +0000 Received: from localhost ([127.0.0.1]:56818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tqzEj-00013J-SH for submit <at> debbugs.gnu.org; Sat, 08 Mar 2025 13:49:26 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:50701) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tqzEf-00012u-AJ; Sat, 08 Mar 2025 13:49:23 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 43A27442A5; Sat, 8 Mar 2025 18:49:12 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> In-Reply-To: <87r039yw0m.fsf@HIDDEN> Organization: LINKOV.NET References: <87bjueumqc.fsf@HIDDEN> <874j06gibm.fsf@HIDDEN> <87r039yw0m.fsf@HIDDEN> Date: Sat, 08 Mar 2025 20:46:16 +0200 Message-ID: <87plirs823.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduudegfeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeelieevuedtheeftdeguddtieelheekgeehveeghedtgfeuueeivddvhfevkeevgfenucffohhmrghinhepghhnuhdrohhrghenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepfedprhgtphhtthhopegtohhnthhrohhlseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepjeeijeekgeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehrrhhuuggrkhhovhesfhgrshhtmhgrihhlrdgtohhm X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) 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 (-) close 76784 31.0.50 thanks >>> The bug is reproducible for clojure-ts-mode. If "sexp" thing is defined >>> for >>> tree-sitter mode, forward-sexp-function is set to treesit-forward-sexp >>> (https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n3147) >> >> Thanks for the bug report. This can be fixed for Emacs 31 (i.e. current >> master) by such patch. Also please note that treesit-transpose-sexps >> is working again on Emacs 31. > > Thank you for the patch Juri! I tried it locally and it works well for > Emacs 31. I'll suggest to apply it to clojure-ts-mode. Nice to see this applied to clojure-ts-mode, so now closing this bug report.
Received: (at control) by debbugs.gnu.org; 8 Mar 2025 18:49:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 08 13:49:41 2025 Received: from localhost ([127.0.0.1]:56822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tqzEy-00013m-Px for submit <at> debbugs.gnu.org; Sat, 08 Mar 2025 13:49:41 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:50701) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tqzEf-00012u-AJ; Sat, 08 Mar 2025 13:49:23 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 43A27442A5; Sat, 8 Mar 2025 18:49:12 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Roman Rudakov <rrudakov@HIDDEN> Subject: Re: bug#76784: 31.0.50; up-list works incorrectly on emacs-30 if forward-sexp-function is set to treesit-forward-sexp In-Reply-To: <87r039yw0m.fsf@HIDDEN> Organization: LINKOV.NET References: <87bjueumqc.fsf@HIDDEN> <874j06gibm.fsf@HIDDEN> <87r039yw0m.fsf@HIDDEN> Date: Sat, 08 Mar 2025 20:46:16 +0200 Message-ID: <87plirs823.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduudegfeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeelieevuedtheeftdeguddtieelheekgeehveeghedtgfeuueeivddvhfevkeevgfenucffohhmrghinhepghhnuhdrohhrghenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepfedprhgtphhtthhopegtohhnthhrohhlseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepjeeijeekgeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehrrhhuuggrkhhovhesfhgrshhtmhgrihhlrdgtohhm X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control Cc: 76784 <at> debbugs.gnu.org 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 (-) close 76784 31.0.50 thanks >>> The bug is reproducible for clojure-ts-mode. If "sexp" thing is defined >>> for >>> tree-sitter mode, forward-sexp-function is set to treesit-forward-sexp >>> (https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n3147) >> >> Thanks for the bug report. This can be fixed for Emacs 31 (i.e. current >> master) by such patch. Also please note that treesit-transpose-sexps >> is working again on Emacs 31. > > Thank you for the patch Juri! I tried it locally and it works well for > Emacs 31. I'll suggest to apply it to clojure-ts-mode. Nice to see this applied to clojure-ts-mode, so now closing this bug report.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.