From unknown Fri Aug 15 03:56:44 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#75774 <75774@debbugs.gnu.org> To: bug#75774 <75774@debbugs.gnu.org> Subject: Status: 30.0.92; `treesit-thing-settings' not set properly for typescript-ts-mode Reply-To: bug#75774 <75774@debbugs.gnu.org> Date: Fri, 15 Aug 2025 10:56:44 +0000 retitle 75774 30.0.92; `treesit-thing-settings' not set properly for typesc= ript-ts-mode reassign 75774 emacs submitter 75774 errelinaaron@gmail.com severity 75774 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 00:10:15 2025 Received: (at submit) by debbugs.gnu.org; 23 Jan 2025 05:10:15 +0000 Received: from localhost ([127.0.0.1]:38614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tapTq-0003dt-FU for submit@debbugs.gnu.org; Thu, 23 Jan 2025 00:10:15 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34608) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tao9Z-0007c9-E2 for submit@debbugs.gnu.org; Wed, 22 Jan 2025 22:45:16 -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 ) id 1tao9S-0005XY-3V for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2025 22:45:06 -0500 Received: from mail-ua1-x92f.google.com ([2607:f8b0:4864:20::92f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tao9O-0004SI-Sd for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2025 22:45:05 -0500 Received: by mail-ua1-x92f.google.com with SMTP id a1e0cc1a2514c-85bc0595245so9075241.0 for ; Wed, 22 Jan 2025 19:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737603901; x=1738208701; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:from:reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9IrqZmi1aFuXxWYbLKdRB4uFUTkqeJvnw9l8cjcu3hc=; b=CWoOOlWO7lisQ+fiqnd8h5io1gFqPEsQ0jWoHWLLZz0XOXTY/92wld0Z3H68hEuz2M GR5rlrM5YzGJQ4q4pX5LXBT29sDAmS5//UN3NK8oiyA4dj77L5W+S01RH0gGmT2HP85k f7a8rQnb0vEI0iWMCPJ/GstaxeUEXMlBFw4r+SQpCp1+K5Da6rsQOQojRVDJDN8BqqqS RrezSxn2k5pSCbL6Pk2bxdJs53oeEqzyo+pkkWvkicRbgGxtFo/Z/P43jWAc06KECuUt 65kwa3Y9TfCE0hV3ynfd1UqRXxISchkdrG0ASU6E1PeGBLpR0PFVxMaXnfyRgliAtxaV cjTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737603901; x=1738208701; h=content-transfer-encoding:to:subject:message-id:date:from:reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9IrqZmi1aFuXxWYbLKdRB4uFUTkqeJvnw9l8cjcu3hc=; b=LvML2uQ4PO0EHytnh6KS4ztWyX8KmZghkleyZnn0KX7IXb4K40OFagdeLZWyIQPOCI BPeVQ/kjxzFTIywaA26zU0/DsaHabg8q1nYSFUKyaVWq2uXYJDlIGLz5AbxbVu+QhNDA vpf29h41UIbxwkyx7oPiA3MEbPghIyyrCElI4epOQicRRCFjWnOrf2hGqMt2dFl5WF97 rbi/99mGccR4U2nxhjFvo8AFmeuQYKbO+xE6BeS29IOQEOqDpA32iEkj7a/dWKXYvRG4 27sKi5HNeKFi6AwAvMn5kx1IC9s8DLIHA7PrK5fU4+MGdWoZ4o3/NMyO+s1AZC98OQVp 86fA== X-Gm-Message-State: AOJu0YwS9JBGDaLAwxnGlQgnECcLjzMSb7JFA2zgZRkqp+L9Yf3XjATk 3YH/0mNWS3EM7FxQneQ2mrrBFHNprD3RIaDC6duwlAXx5GzexMbMs9JkWgj12NN4XPorGwFmTRq jvi7lyDEUb+SczRynFWO/w5V5dLoqDZ2L/eA= X-Gm-Gg: ASbGnct18R/GwLURfC4JaepJNdohuKuwdefv+OEos3UWzssKblbMdLw4E1MvvutbqQS uuO5emtzIEPYtNQUoarBvMTKi7GtC1pGmN6278iL3hkBL0okVDii/QKC2r9Z+Sw== X-Google-Smtp-Source: AGHT+IEatWj9xNjXY30g+pKA0KVu8w55qorWFMRegHMs0SqesmwReDdfImzAaAaKE/Zs+m22Y6ntt2D046JOC+i+xKU= X-Received: by 2002:a05:6102:32d5:b0:4b2:761c:5075 with SMTP id ada2fe7eead31-4b690d3061bmr6031242137.7.1737603900806; Wed, 22 Jan 2025 19:45:00 -0800 (PST) MIME-Version: 1.0 From: Noel Errenil Date: Thu, 23 Jan 2025 14:44:49 +1100 X-Gm-Features: AWEUYZlwVnwPxSsNswW56n_VTyw7DW2jJoJ9AyNy-4vHGPvZI1_mLW9BoxEbOyg Message-ID: Subject: 30.0.92; `treesit-thing-settings' not set properly for typescript-ts-mode To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::92f; envelope-from=errelinaaron@gmail.com; helo=mail-ua1-x92f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 23 Jan 2025 00:10:05 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: errelinaaron@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) From: errelinaaron@gmail.com To: bug-gnu-emacs@gnu.org Subject: 30.0.92; treesit-thing-settings not set properly for typescript-ts= -mode X-Debbugs-Cc: --text follows this line-- While using the shipped typescript-ts-mode to edit a typescript file, I found I cannot use `C-M-f' to forward sexpressions as I usually do with other major modes (e.g. c-ts-mode, rust-mode, etc). For example, given the following code snippet import { Chain } from './common' ^ If I put my point under the opening `{' and press `C-M-f', the point will move immediately after `Chain', instead of at the closing `}'. Here is another example: constructor(url: string) { console.log('SuiTransport', url) If I put the pointer under the first `(' after the word `constructor', and then press `C-M-f', the pointer will move to the `:' after `url'. However, forwarding sexp works for the parentheses after `log'. I tried to search through the Emacs manual and found the most likely relevant variable `treesit-thing-settings`, which has a default, local-to-buffer value for typescript-ts-mode as below: ((typescript (sexp "\\(?:ar\\(?:guments\\|ray\\)\\|e\\(?:scape\\|xpression\\)\\|f\\(?:alse\= \|unction\\)\\|identifier\\|nu\\(?:ll\\|mber\\)\\|pa\\(?:ir\\|ttern\\)\\|re= gex\\|s\\(?:tring\\|uper\\)\\|t\\(?:emplate\\|his\\|rue\\)\\|undefined\\)") (sentence "\\(?:break_statement\\|continue_statement\\|d\\(?:\\(?:ebugger\\|o\\)_s= tatement\\)\\|e\\(?:\\(?:mpty\\|xpression\\)_statement\\)\\|for_\\(?:\\(?:i= n_\\)?statement\\)\\|i\\(?:\\(?:f\\|mport\\)_statement\\)\\|l\\(?:abeled_st= atement\\|exical_declaration\\)\\|property_signature\\|return_statement\\|s= witch_statement\\|t\\(?:\\(?:hrow\\|ry\\)_statement\\)\\|variable_declarati= on\\|w\\(?:\\(?:hile\\|ith\\)_statement\\)\\)") (text "\\(?:comment\\|template_string\\)"))) This does explain the behavior I have experienced so far: since `arguments', `identifier' are all recognized as sexp, the pointer moves to and stops after them, which is really not intuitive compared to th= e more common Emacs's view of sexp: expressions with balanced structures. In contrast, the c-ts-mode has set `treesit-thing-settings' to the following value: (setq treesit-thing-settings '((typescript . ((sexp . (not "[](),[{}]")) (sentence . "\\(import_statement\\|expression_statement\\|declaration\\)"))))) I think this makes more sense. Considering that typescript's syntax is predominantly C-like and it's very common to move between `{}', `()', `[]', `""', `''', May I ask if it is possible to make the default value of `treesit-thing-settings' for typescript-ts-mode to act more like, (if not exactly the same as), to that of the traditional `forward-sexp-function'? Best regards, Errlin In GNU Emacs 30.0.92 (build 2, x86_64-pc-linux-gnu) Repository revision: 80cddfaaea3058fe70fc73ba3d267ad1c884bd3d Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12401004 System Description: Arch Linux Configured using: 'configure --sysconfdir=3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib --localstatedir=3D/var --with-tree-sitter --with-harfbuzz --with-libsystemd --with-modules --with-jpeg --with-png --with-rsvg --without-cairo --without-gpm --without-sound --disable-build-details --with-x-toolkit=3Dno --without-toolkit-scroll-bars --without-gsettings 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3D3 -Wformat -Werror=3Dformat-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=3D/home/noel/projects/pkgbuilds/app-editors/emacs/src=3D= /usr/src/debug/emacs -flto=3Dauto' 'LDFLAGS=3D-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=3Dauto'' Configured features: ACL DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY OLDXMENU PDUMPER PNG RSVG SECCOMP SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XDBE XFT XIM XINPUT2 XPM ZLIB Important settings: value of $LC_TIME: en_AU.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: TypeScript Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date cl-extra pp cl-print thingatpt help-fns radix-tree help-mode compile text-property-search comint ansi-osc ansi-color ring comp-run comp-common rx cl-seq typescript-ts-mode js c-ts-common json subr-x map byte-opt gv bytecomp byte-compile imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs treesit vc-git diff-mode track-changes easy-mmode vc-dispatcher 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 font-render-setting xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 132999 13414) (symbols 48 10422 0) (strings 32 32345 2933) (string-bytes 1 1113270) (vectors 16 16978) (vector-slots 8 213223 8287) (floats 8 70 2) (intervals 56 503 4) (buffers 992 13)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 02:31:11 2025 Received: (at 75774) by debbugs.gnu.org; 23 Jan 2025 07:31:11 +0000 Received: from localhost ([127.0.0.1]:38902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1targF-0002PQ-Bc for submit@debbugs.gnu.org; Thu, 23 Jan 2025 02:31:11 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48533) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1targ9-0002Of-OO; Thu, 23 Jan 2025 02:31:09 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id BC40EE0006; Thu, 23 Jan 2025 07:30:57 +0000 (UTC) From: Juri Linkov To: Noel Errenil Subject: Re: bug#75774: 30.0.92; `treesit-thing-settings' not set properly for typescript-ts-mode In-Reply-To: (Noel Errenil's message of "Thu, 23 Jan 2025 14:44:49 +1100") Organization: LINKOV.NET References: Date: Thu, 23 Jan 2025 09:29:34 +0200 Message-ID: <87ikq6asyp.fsf@mail.linkov.net> 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-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 75774 Cc: 75774@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 75774 31.0.50 thanks > This does explain the behavior I have experienced so far: since > `arguments', `identifier' are all recognized as sexp, the pointer > moves to and stops after them, which is really not intuitive compared to the > more common Emacs's view of sexp: expressions with balanced structures. In Emacs 31 this is already fixed by defining balanced structures in treesit-thing-settings for typescript-ts-mode. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 03:18:31 2025 Received: (at 75774) by debbugs.gnu.org; 23 Jan 2025 08:18:31 +0000 Received: from localhost ([127.0.0.1]:39083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tasQ2-0007lw-RC for submit@debbugs.gnu.org; Thu, 23 Jan 2025 03:18:31 -0500 Received: from mail-ua1-x935.google.com ([2607:f8b0:4864:20::935]:38716) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tasPz-0007ld-9j for 75774@debbugs.gnu.org; Thu, 23 Jan 2025 03:18:28 -0500 Received: by mail-ua1-x935.google.com with SMTP id a1e0cc1a2514c-85b9041ae1bso25725241.3 for <75774@debbugs.gnu.org>; Thu, 23 Jan 2025 00:18:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737620301; x=1738225101; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=zBA0YjiImXwwISB6XzGBkN5ej6Uu0cg6cnhqft9W1Wo=; b=ENMw9mcyZoy8Lv3bZ3Wb4BLhRSOd9I+YOzrA0AB/2ESvJbU1yyzmaPmKKS8hGU3vca XYUp3h6h0zjXHKYmB8MbRAF/I+CbKzMStd0QMHwaCbQZ2yR4iZRjBzTH7ELKw6EFKZBg 5l76N9jKD/EeDKfRMyXwz+nDPC1QoZ09MbS7wLz1kPu63Sg+9inJdCGipC73MmioJKzX 9JxRTt5QqO0mdY0kOiHnoup/2eGIlCL5I+R71zxxnwG2BP5D2nek9qpri2Qrh1UwB84K REkqPKCuimzCekT3+S2KoDew2HTgeZytN3zZrpP7Zg6mVL50HybylzlTgu7/b+Gfyh4Y UK2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737620301; x=1738225101; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=zBA0YjiImXwwISB6XzGBkN5ej6Uu0cg6cnhqft9W1Wo=; b=jirJaxmBEBAu+YmXgEK5tE+gvTwmjkh7p7Hd+//2gvJU96xCkuYDjrpiiOCHxMpVg6 FC5dO/dgpuThpd4NUjaiWbHYYkQucNt7xuQNjjzOy07GPxMyfhJ8Le3eMX06ISrj4kKV 6Xjzd4fElQwPUH3tMEfoTpX8RMDT2rq6FzqY/AuxSzSa6wxVpiHnj9AFcYfWPwfVzB4b yKwMT6ZaOOMoFCzSfqE6sb/HtTc70folL4oEgT3GurPeRjSSTWIqpTYfU85AskaZtXyI DG3Saz17sB9AIqjDNBvqBmxKqG9W6FB9UZyr4p8SrgxU4rOVIlHyiktc/LZUjOGi/8Rg Lkjw== X-Gm-Message-State: AOJu0Yx069gRuIAoVT6E11wXxrmJbD284iba43lX7AgKDIL8tr9PJmU6 VnLPgPK3jdLwyZSdv0zCl1cQk3+vn3Xf/VddcSDCuDBJOSa1jCEGYUdS9tHwef+p1gel4pCXXSp wXd97stcrCd1B/I6THxaf+hcH4WtKIbXP X-Gm-Gg: ASbGnctKC7kqoT/C9TXFNZryafHnfqHLG/cPhxg6DHPpoKmV8gDvqqho5vJhqeve7NK Rc11BsHxYue+aPCb+rkjkf7IMA5KtFfg0QBc5pS4HBV+Nn1g4NLfdzf9+pISXCg== X-Google-Smtp-Source: AGHT+IF7j4N1ESDtu5AYun1qID4zCi5qRuCtj9vpMbxRuFlBg578WMWIjNiYz/5eszXNIjqTRl89q7vmc8PGMMoDhNE= X-Received: by 2002:a05:6102:50ab:b0:4b3:ece0:7d9d with SMTP id ada2fe7eead31-4b6e5279912mr2132508137.9.1737620301251; Thu, 23 Jan 2025 00:18:21 -0800 (PST) MIME-Version: 1.0 References: <87ikq6asyp.fsf@mail.linkov.net> In-Reply-To: <87ikq6asyp.fsf@mail.linkov.net> From: Noel Errenil Date: Thu, 23 Jan 2025 19:18:10 +1100 X-Gm-Features: AWEUYZmYm8Br9eGquY68bbNfyQRhYmrIXOzWdaDtsmMYpuC5JilL6eyoHD3w6Lc Message-ID: Subject: Re: bug#75774: 30.0.92; `treesit-thing-settings' not set properly for typescript-ts-mode To: Juri Linkov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75774 Cc: 75774@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: errelinaaron@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Juri, Glad to know it gets fixed in a future release, though I wish it could be fixed in Emacs 30.1. But I understand there might be non-trivial work for the fix. For now I can get by and modify the variable in my persone config. Thank you for the reply and all the best. Best, Errelin On Thu, Jan 23, 2025 at 6:30=E2=80=AFPM Juri Linkov wrote= : > > close 75774 31.0.50 > thanks > > > This does explain the behavior I have experienced so far: since > > `arguments', `identifier' are all recognized as sexp, the pointer > > moves to and stops after them, which is really not intuitive compared t= o the > > more common Emacs's view of sexp: expressions with balanced structures. > > In Emacs 31 this is already fixed by defining balanced structures > in treesit-thing-settings for typescript-ts-mode. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 04:24:07 2025 Received: (at 75774) by debbugs.gnu.org; 23 Jan 2025 09:24:07 +0000 Received: from localhost ([127.0.0.1]:39288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tatRX-0002er-0d for submit@debbugs.gnu.org; Thu, 23 Jan 2025 04:24:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58100) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tatRT-0002eJ-EQ for 75774@debbugs.gnu.org; Thu, 23 Jan 2025 04:24:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tatRN-00063G-5f; Thu, 23 Jan 2025 04:23:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yxyjz0wrflh3Nz3DLj5rQPjOS5O4M/cyVy1w/4x5R3c=; b=RvzVbugZiZpk 0VMRuYPABZSO8LaBSwZLW/nFdSK1P2s6tYD9CobXZoOSzQudVf+AgfKKGd0tlZ2Aits7AmwFlJv3C HqFxnWwh933+nckaYEEkTQDYz4Npn/2sQTLijYbRW1tJIcbpZh+q9pjjxefOWWNDcWUCClyfnoyPr BkmgIPOlf2giuqvkxLqhjEITz0ChPoA35yrJfSg+7+AW3lLMQuYJk11rSHEGQWNVVXHi49PAAgatw rIjR77LidvrXZM6fZI8KEQoI34NiGZSMO2HW6M+VUKw7StJFWn1ulSMcbI6SpF3f/9IlJs1ZO42Ws zSzEvZHt67bof7iTHxE3Kg==; Date: Thu, 23 Jan 2025 11:23:52 +0200 Message-Id: <86jzal289j.fsf@gnu.org> From: Eli Zaretskii To: errelinaaron@gmail.com In-Reply-To: (message from Noel Errenil on Thu, 23 Jan 2025 19:18:10 +1100) Subject: Re: bug#75774: 30.0.92; `treesit-thing-settings' not set properly for typescript-ts-mode References: <87ikq6asyp.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75774 Cc: 75774@debbugs.gnu.org, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 75774@debbugs.gnu.org > From: Noel Errenil > Date: Thu, 23 Jan 2025 19:18:10 +1100 > > Hi Juri, > > Glad to know it gets fixed in a future release, though I wish it could > be fixed in Emacs 30.1. It's too late for non-trivial changes in what will soon become Emacs 30.1, sorry. If the fix is important, and the changes are safe enough, we could consider this for Emacs 30.2. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 04:42:42 2025 Received: (at 75774) by debbugs.gnu.org; 23 Jan 2025 09:42:42 +0000 Received: from localhost ([127.0.0.1]:39327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tatjV-0003aw-Lk for submit@debbugs.gnu.org; Thu, 23 Jan 2025 04:42:42 -0500 Received: from mail-vs1-xe34.google.com ([2607:f8b0:4864:20::e34]:40986) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tatjS-0003ai-W7 for 75774@debbugs.gnu.org; Thu, 23 Jan 2025 04:42:39 -0500 Received: by mail-vs1-xe34.google.com with SMTP id ada2fe7eead31-4b63c56e764so19292137.0 for <75774@debbugs.gnu.org>; Thu, 23 Jan 2025 01:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737625353; x=1738230153; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=CLp6EC7bk1KsbuYNtCweoeJ3ObjSoifn7v4FgEMxmHM=; b=GtnXZUi8G+PpMA+ABxxO6ufCaQAFR3ArwxXK5pRNOpUE5UPEet+JM3wFJdomQpuFqA BEFM4HXOeZPVqt5CIMAqcK3CjLsbDANyhfi28nVCGJtt4IMuglhTmBp0yYaFYZcx/bJp j1+EY35roj+jyRr76OS10Qk2pY5yMwrEdG5s2qDC690R70v/91mVZUmP1h3ZVc3IF8Wb XeAVhzpBBcrlXRE6Rl8VA1fDxXWr1/OVzvA2PRxkiDKyN8uNCprHj5zxGRx14qZgnOy8 kljxWrrfLjnKbkCDbwQqS3gYDfLp4B4WCDO8oz2MNCaaoT8Vd0XIUe+U9L/DrwdgoI5/ IMBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737625353; x=1738230153; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CLp6EC7bk1KsbuYNtCweoeJ3ObjSoifn7v4FgEMxmHM=; b=mMeRZiuIcEeOLgAdP8I/qnm9ZdvsIs8hUq9v1LbPITlx73kp3d/kHHcb3PXrYX8xcV IqSgDHEl+8mgXt2sWsQpRW+38AWcjY7xNyArC7VhXe2iUc4V6C7NEy4CtiQr4ntaI8Ew ZqC3ZKtXrcmr2EWrbVQXnsGhjsbkCw5zk2q4dHHY1h/AtcYoQq8+3xwUN0O3n6vti38c 6RtSFvHZElMy3kN1GS97Vs1pYFxtsnbKDN8vM0gyWiLoklE/ClFmf4OCdurGmWM3L8wl MFrN/9/3xAqrQQJ2vIDU4GqkaciIcOWIM7T8BcbaBP1Yta2mb4ygUEol7XXUsnvdp906 YROw== X-Forwarded-Encrypted: i=1; AJvYcCUVVF6bdNgV5ncARp4g5XWpC/MmrJQ1IO88xkGMu+BrSPB2AyRTACi6tGsriGZlpTA6/LBPQg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzA3I/pTHsCoZP4bFdUNHGXw3JNTZQvbFNDsCKaB9jDpRbykyQy l6sgBl0/F8F6YdWaC4GXQKUW+VXp9TEes2wuda36mHX5q2+CObVRAo2Gv7LtT9wp/iECOvCU9KX ogh7lBWfWlalFear2l83vbjuPtCM= X-Gm-Gg: ASbGnctMg5VPqVFqz00G5Rr8dXqPPq/oU0fZoY3K4BRsb1aWVT2V130s6ig8a+Z0lao WMY7T+5r91DrmN0MpB+m12VTSfQKXbXTF1mo/MpmvJ2c+ZOLxHFFO82/dLNEN3g== X-Google-Smtp-Source: AGHT+IHN3dWSB+huuSCgfebcU8qa8I+piAnVLlTOw9EGwhBE4xZcre7XsKIMhIJi+OFJE8N4Sn8bSE1R1VHGQ05rzjg= X-Received: by 2002:a05:6102:5127:b0:4b2:486d:2ca1 with SMTP id ada2fe7eead31-4b690bbbef1mr6195188137.3.1737625353201; Thu, 23 Jan 2025 01:42:33 -0800 (PST) MIME-Version: 1.0 References: <87ikq6asyp.fsf@mail.linkov.net> <86jzal289j.fsf@gnu.org> In-Reply-To: <86jzal289j.fsf@gnu.org> From: Noel Errenil Date: Thu, 23 Jan 2025 20:42:21 +1100 X-Gm-Features: AWEUYZlNKnC6z3qN_bAhDPbJ7nVyE7dqpeItXc7xjJsVLgKRtxJQCojS44fvMow Message-ID: Subject: Re: bug#75774: 30.0.92; `treesit-thing-settings' not set properly for typescript-ts-mode To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75774 Cc: 75774@debbugs.gnu.org, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: errelinaaron@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Eli, Thanks for the information. I totally understand that. I'm happy with whatever decision(s) made on this. The variable is configurable at the moment so I can get by. Really appreciate your help and work. Best wishes, Errelin On Thu, Jan 23, 2025 at 8:23=E2=80=AFPM Eli Zaretskii wrote: > > > Cc: 75774@debbugs.gnu.org > > From: Noel Errenil > > Date: Thu, 23 Jan 2025 19:18:10 +1100 > > > > Hi Juri, > > > > Glad to know it gets fixed in a future release, though I wish it could > > be fixed in Emacs 30.1. > > It's too late for non-trivial changes in what will soon become Emacs > 30.1, sorry. > > If the fix is important, and the changes are safe enough, we could > consider this for Emacs 30.2. From unknown Fri Aug 15 03:56:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 20 Feb 2025 12:24:15 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator