From unknown Sat Aug 16 00:29:55 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#60351 <60351@debbugs.gnu.org> To: bug#60351 <60351@debbugs.gnu.org> Subject: Status: 29.0.60; bad syntanx table in c++-ts-mode Reply-To: bug#60351 <60351@debbugs.gnu.org> Date: Sat, 16 Aug 2025 07:29:55 +0000 retitle 60351 29.0.60; bad syntanx table in c++-ts-mode reassign 60351 emacs submitter 60351 yingchao.yang@seaboxdata.com severity 60351 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 27 03:48:43 2022 Received: (at submit) by debbugs.gnu.org; 27 Dec 2022 08:48:43 +0000 Received: from localhost ([127.0.0.1]:54652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pA5dV-0003Vh-I9 for submit@debbugs.gnu.org; Tue, 27 Dec 2022 03:48:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:38540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pA2vU-000740-HA for submit@debbugs.gnu.org; Tue, 27 Dec 2022 00:55:04 -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 1pA2vU-0000ZW-3n for bug-gnu-emacs@gnu.org; Tue, 27 Dec 2022 00:55:00 -0500 Received: from out162-62-57-64.mail.qq.com ([162.62.57.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pA2vN-0002Uo-UL for bug-gnu-emacs@gnu.org; Tue, 27 Dec 2022 00:54:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1672120478; bh=pgxwtoNiKkUj2EHLY84fZuuBLQ+ICmsI8qpssDYCCQg=; h=From:To:Cc:Subject:Date:Reply-To; b=JgrGwTVG9cEUk0mD6OLYmTutA7Ling2CeekM90SB/hkrLTRsncI9fZuLmy8++RGTy zyGaGvE4XrYNyT5QNz9tTpLRtuF0yzQ9JwiIaLijAJhY2mD1YZjpxCikhHT7Rk/HyU /9twhQeD1CflEA0CAfvdb5gf8pdQcWhyt1AGXSC0= Received: from tbook ([60.26.143.224]) by newxmesmtplogicsvrszb1-0.qq.com (NewEsmtp) with SMTP id D818445E; Tue, 27 Dec 2022 13:54:01 +0800 X-QQ-mid: xmsmtpt1672120441t7rqqv8o7 Message-ID: X-QQ-XMAILINFO: NiDupExshEc7d6CN7qrO+lIyk7RMZireNPBUDn8dlenfpIfWAaC7d6wdigKoCG QgK+9l7guCe5IDQk4jrPGNV8NKpvf+EUQRQhfKP8FNIskaYVyYzdJANJNfa097ypRucQXu/SQmpb FeblHa7SOeXt8sYcypo8ImEtIBR9JmOuhAiM/8kAP+XTRonrOo7S762NvJWj8/Ocn6W5eVfWYICK xDsGm6C0FGqY96AlvzFf0Sk/KV+UWlH2XKIbeWxzWGgvZHJ45fxVojtYV8SBpgrzNINTRuuM6ZFV OJVYypH0f+ac+78Rq02e+4RMa8ltqrNWycn3ISSYDHpTK2XO2vQDEqZgvaR5cvnC0DYWMfN8m6P1 Yyf4jY3sz6SQz4Bl38gQNIXcxBJ9gTKx/tx1UC2hn4NMKKTNPrQ2Q8ciqASxCCsYVL8iUyET25nn Bgq5oO2+0FJTJLkHM9PW3LtHO2SPhl99OgoKsJd7H03Cl9xFO1vp3fk609L/vHPScXJrINazuNBi yv68vI6TXj3b5Eu8sEADozOUcW4uiO1k5xjhpbS2GzIVVVKal2f/6pAhiikg/c0L7eWZnjSlbhHr Mi7qTPVDHIkAB7afn9ury8gvtfVPK/SHWA3NHAZ1JanGXMie9l7iYJUgAlHHxAOmu7WQqlyi8vrG I1hRb349KZts8tHPloVSK7DTYVMu4mSzxaSLmMfwTeAFtIIH1DEMa9wez9wr/LR7FcwZYhDHd1YE IbmMcAKPPuyhaZGjKADiQjVLztKTSZZEdQ6pXgN6qtwvALtp7ZX8EWWV/CGjFgM9VBRTMhqbdXQI lBKRmM8sWt5liWUk5USVSlv2peBsmevBfzwFBoBD8Z4uaWSJLZZZVNFl7qiUKw7Tf6+Qjk8xHiml nsquuY3de8ptlT0yErvZQgnEIzJ20kQlJlfy2t7s63bVWB4cHVmZw= From: Yang Yingchao To: bug-gnu-emacs@gnu.org Subject: 29.0.60; bad syntanx table in c++-ts-mode Date: Tue, 27 Dec 2022 13:48:21 +0800 User-agent: mu4e 1.8.11; emacs 29.0.60 Message-ID: <875ydxz93s.fsf@qq.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=162.62.57.64; envelope-from=yang.yingchao@qq.com; helo=out162-62-57-64.mail.qq.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.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, HELO_DYNAMIC_IPADDR=1.951, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 27 Dec 2022 03:48:36 -0500 Cc: yingchao.yang@seaboxdata.com 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: yingchao.yang@seaboxdata.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain 1. start emacs with emacs -Q 2. open a buffer, M-x c++-ts-mode, theninsert following codes: int main(int argc, char *argv[]) { if (0) { a->func(); } return 0; } 3. move cursor to line 3, before the bracket 4. C-M-n (forward-list), and cursor will be placed at line 4, right after "->" I think this might be an regression after commit 480f41c7deb4d3a45a862a5308950b35085f835d Regargds In GNU Emacs 29.0.60 (build 30, x86_64-pc-linux-gnu, GTK+ Version 3.24.35, cairo version 1.17.6) of 2022-12-27 built on tbook Repository revision: 03d8fe28bc9ec4262fd0e7e763a6eae73838deb1 Repository branch: yc-hacking System Description: Gentoo Linux Configured using: 'configure 'CFLAGS=-O2 -g -pipe -march=native -ggdb3' 'LDFLAGS=-Wl,-O2 -Wl,--as-needed' --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-silent-rules --docdir=/usr/share/doc/emacs-29.0.9999-r1 --htmldir=/usr/share/doc/emacs-29.0.9999-r1/html --libdir=/usr/lib64 --program-suffix=-emacs-29-vcs --includedir=/usr/include/emacs-29-vcs --infodir=/usr/share/info/emacs-29-vcs --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=inotify --with-pdumper --enable-acl --with-dbus --with-modules --without-gameuser --with-libgmp --without-gpm --with-native-compilation --with-json --without-kerberos --without-kerberos5 --with-lcms2 --with-xml2 --without-mailutils --without-selinux --with-sqlite3 --with-gnutls --with-libsystemd --with-threads --with-wide-int --with-zlib --with-sound=alsa --with-pgtk --without-x --without-ns --with-toolkit-scroll-bars --without-gconf --without-gsettings --with-harfbuzz --without-libotf --without-m17n-flt --without-xwidgets --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-webp --with-imagemagick --with-dumping=pdumper build_alias=x86_64-pc-linux-gnu host_alias=x86_64-pc-linux-gnu PKG_CONFIG_PATH=/home/yyc/.local/lib/pkgconfig' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: zh_CN.utf8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8 Major mode: Helpful Minor modes in effect: org-msg-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t recentf-mode: t marginalia-mode: t projectile-mode: t super-save-mode: t ws-butler-global-mode: t ws-butler-mode: t dtrt-indent-global-mode: t which-key-mode: t global-so-long-mode: t gcmh-mode: t yas-global-mode: t yas-minor-mode: t global-company-mode: t company-mode: t which-function-mode: t auto-image-file-mode: t global-atomic-chrome-edit-mode: t smartparens-global-mode: t global-undo-tree-mode: t undo-tree-mode: t server-mode: t savehist-mode: t vertico-mode: t override-global-mode: t straight-use-package-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t auto-fill-function: yas--auto-fill transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/yyc/.emacs.d/straight/build/cmake-mode/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/yyc/.emacs.d/straight/build/transient/transient hides /home/yyc/Work/emacs/lisp/transient /home/yyc/.emacs.d/straight/build/eldoc/eldoc hides /home/yyc/Work/emacs/lisp/emacs-lisp/eldoc /home/yyc/.emacs.d/straight/build/let-alist/let-alist hides /home/yyc/Work/emacs/lisp/emacs-lisp/let-alist Features: (shadow org-msg htmlize gnus-msg gnus-icalendar org-protocol org-capture icalendar diary-lib diary-loaddefs gnus-dired gnus-cite mu4e mu4e-org mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-draft mu4e-actions smtpmail mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill mu4e-contacts mu4e-update mu4e-folders mu4e-server mu4e-context mu4e-vars mu4e-helpers mu4e-config ido cl-print consult-eww embark-org embark-consult embark ygit consult-tramp-docker tramp-container request git-rebase magit-extras vc vc-dispatcher goto-addr conf-mode emacsbug timezone helpful cc-langs trace edebug debug backtrace info-look elisp-refs bug-reference help-fns radix-tree ffap consult-utils tabify url-http url-gw url-cache url-auth tdict vterm tramp tramp-loaddefs trampver tramp-integration cus-edit cus-start cus-load files-x tramp-compat ls-lisp face-remap term ehelp term/xterm xterm vterm-module pulse consult-xref smart-hungry-delete consult-woman woman man lsp-headerline lsp-icons company-shell sh-script smie misearch multi-isearch ace-window mule-util flycheck-popup-tip flycheck lsp-diagnostics view lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-ruby-syntax-tree lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-volar lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3 lsp-toml lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-remark lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-pls lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-magik lsp-nix lsp-nim lsp-nginx lsp-mint lsp-marksman lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-gleam lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp lsp-crystal lsp-cmake lsp-clojure lsp-semantic-tokens lsp-beancount lsp-bash lsp-astro lsp-ansible lsp-angular lsp-ada lsp-actionscript prog-utils consult-imenu ycv gxref yc-filter-lines-mode semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw cedet srecode mode-local lsp lsp-clangd highlight-parentheses emr-c c-utils lsp-mode lsp-protocol xref spinner network-stream nsm smartparens-markdown markdown-mode edit-indirect color lv inline ht ewoc smartparens-c cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs c-ts-mode treesit magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit package url-handlers magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode git-commit log-edit pcvs-util add-log magit-core magit-autorevert autorevert magit-margin magit-transient magit-process with-editor magit-mode transient magit-git magit-base magit-section crm compat-27 compat-26 dired-aux orderless vertico-directory vertico-repeat cursor-sensor consult-projectile hl-line flyspell ispell oc-basic ol-eww eww mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview doc-view filenotify jka-compr image-mode exif ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi yc-utils executable rect async consult-vertico consult compat-28 compat compat-macs f f-shortdoc shortdoc elfeed-org elfeed-show elfeed-search autoinsert bookmark message sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader shrface org-superstar smartparens-org ob-sql ob-shell shell ob-gnuplot ob-plantuml ob-dot ob-ditaa org-indent ox-plus 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 org-agenda ox-html table ox-ascii ox-publish ox org-element org-persist xdg org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete org-list org-footnote org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs format-spec shr pixel-fill kinsoku puny svg dom elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib avl-tree generator url-queue url-file browse-url url url-proxy url-privacy url-expand url-methods url-history mailcap xml-query xml tb-dark-theme pp recentf tree-widget wid-edit marginalia comp comp-cstr warnings icons projectile project lisp-mnt grep compile text-property-search comint ansi-osc ansi-color ibuf-ext ibuffer ibuffer-loaddefs super-save ws-butler dtrt-indent which-key so-long ace-link avy ring gcmh yasnippet company-files company-capf company-yasnippet company emr-others emr-iedit iedit iedit-lib emr-lsp time-date which-func imenu emr popup image-file image-converter atomic-chrome websocket url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core password-cache url-vars bindat let-alist json map s smartparens-config smartparens-text smartparens byte-opt thingatpt undo-tree diff queue server pinentry 99-priv 071-miscs-vcs gitlab-ci-mode-flycheck-autoloads gitlab-ci-mode-autoloads magit-autoloads git-commit-autoloads 07-other-modes po-mode-autoloads baidu-translate-autoloads names-autoloads advice with-editor-autoloads pinentry-autoloads org-msg-autoloads docker-autoloads transient-autoloads aio-autoloads rime-autoloads posframe-autoloads elfeed-org-autoloads elfeed-autoloads htmlize-autoloads atomic-chrome-autoloads websocket-autoloads ztree-autoloads xclip-autoloads vimrc-mode-autoloads request-autoloads parse-csv-autoloads httpcode-autoloads edit-indirect-autoloads dired-du-autoloads vterm-autoloads pdf-tools-autoloads tablist-autoloads nov-autoloads esxml-autoloads kv-autoloads w3m-load w3m-autoloads shrface-autoloads language-detection-autoloads rfc-mode-autoloads highlight-symbol-autoloads highlight-parentheses-autoloads 06-org-mode org-roam-autoloads magit-section-autoloads emacsql-sqlite-autoloads emacsql-autoloads org-superstar-autoloads ox-reveal-autoloads org-download-autoloads flycheck-plantuml-autoloads plantuml-mode-autoloads ox-gfm-autoloads 056-prog-others meson-mode-autoloads groovy-mode-autoloads go-mode-autoloads lua-mode-autoloads rust-mode-autoloads sql-indent-autoloads sqlup-mode-autoloads bison-mode-autoloads yaml-mode-autoloads 055-prog-make cmake-mode-autoloads 054-prog-debug realgud-autoloads realgud-recursive-autoloads test-simple-autoloads loc-changes-autoloads load-relative-autoloads 053-prog-scripts company-shell-autoloads py-autopep8-autoloads 052-prog-elisp 051-prog-c clang-format-autoloads 05-prog-common consult-dash-autoloads dash-docs-autoloads async-autoloads lsp-mode-autoloads eldoc-autoloads lv-autoloads markdown-mode-autoloads spinner-autoloads ht-autoloads gxref-autoloads iedit-autoloads flycheck-popup-tip-autoloads popup-autoloads flycheck-autoloads let-alist-autoloads pkg-info-autoloads epl-autoloads 04-completion company-autoloads yasnippet-autoloads 03-fundamental-mode gcmh-autoloads ace-link-autoloads ace-window-autoloads avy-autoloads wgrep-autoloads which-key-autoloads undo-tree-autoloads queue-autoloads dtrt-indent-autoloads ws-butler-autoloads super-save-autoloads ibuf-macs helpful-autoloads elisp-refs-autoloads f-autoloads s-autoloads vlf-autoloads smart-hungry-delete-autoloads smartparens-autoloads finder-inf consult-projectile-autoloads projectile-autoloads embark-consult-autoloads embark-autoloads marginalia-autoloads consult-autoloads compat-autoloads savehist edmacro kmacro vertico vertico-autoloads orderless-autoloads 02-functions rx dash pcase 01-general disp-table dash-autoloads info cl-seq use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core straight-autoloads cl-extra help-mode straight subr-x cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile site-gentoo early-init china-util 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 dbusbind inotify dynamic-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1125016 337556) (symbols 48 64967 60) (strings 32 357037 105018) (string-bytes 1 12423127) (vectors 16 164456) (vector-slots 8 3605987 411457) (floats 8 6320 5703) (intervals 56 15656 7202) (buffers 984 53)) --=-=-= Content-Type: multipart/mixed; boundary="==-=-=" --==-=-= Content-Type: multipart/alternative; boundary="===-=-=" --===-=-= Content-Type: text/plain Content-Disposition: inline Hi **, -- Yang Yingchao Yang Yingchao --===-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable

Hi **,

=E2=80=93 Yang Yingchao Yang Yingchao

--===-=-=-- --==-=-=-- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 28 16:59:47 2022 Received: (at 60351) by debbugs.gnu.org; 28 Dec 2022 21:59:47 +0000 Received: from localhost ([127.0.0.1]:58822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAeSh-00089P-D9 for submit@debbugs.gnu.org; Wed, 28 Dec 2022 16:59:47 -0500 Received: from mail-pl1-f175.google.com ([209.85.214.175]:41774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAeSe-00088t-Je for 60351@debbugs.gnu.org; Wed, 28 Dec 2022 16:59:46 -0500 Received: by mail-pl1-f175.google.com with SMTP id jl4so10932400plb.8 for <60351@debbugs.gnu.org>; Wed, 28 Dec 2022 13:59:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=5brFa++3ohIxIdJi3j8AjURGxTSYpr2teHfC+xY4vHY=; b=Y3j8M4hBheqLxMJgaVWpfrkZvVmAl0zvBibIAozyrY8Mno8K//7vHuX0b+qMUYyMUF 3dRpiKdViQcxHKSHvtqWLQG39Wv1qBdr/Xye6k+mCi/Xt4VaAQaW89KuQSFdV8+PBacK UCvQVueZlKKnp3UADuk9Ajz5lXeR5mJteZbS1qnnxPsEO7jBvvHDocl5yK9OXzs/LAy4 SXn3sVX4HHV9VzzXCS/S5YFb8UJVIKnPQnLMIuKZS8LMz6LwZdUFJXb/+s9x04PQnAyZ IJY39ztcIvi0dGPfhFpscOxkfJgGJlZa97QddhLM+38tk86dwGucE2NuyHyM8kC/u30v TJvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5brFa++3ohIxIdJi3j8AjURGxTSYpr2teHfC+xY4vHY=; b=X0ZUd04krrSOuVfbw/C2jqLOPjkSdva2PddZ6rH1fdToaa3K0xT3Yll8rxDMSSA85l U3c1N2qNIKehPjiXr3qGym2hBciTx6tXqc4x2L/FfAVX1UKUSt3i1owvlMeuf+kd4ZDZ QR9RkTijw4aLLFPV00aN2hGx9KnP1oJpNe5EwT2dw7qphzcez947k6zlinBGNqAlfrD8 m2UMbh7kmKyQkueGYzwIPKaLN15n3C/nLe/vPYeZPE2D5pJNmQ60d3wI7oJkYmwBe4jG 3UoKRVsr7H15c1ywUovMNz9p7P3v0GXkReoJHOpfhke+1wJj/zW9BhG8MxtA1ajvyCwx /pcw== X-Gm-Message-State: AFqh2kra3W3CIXNreM3nPRK5r4h8qAcI3d9Gsbdi6QaDgDhPcQc8Tg0k TUfj+w4D10evbfo+F/qkgS0= X-Google-Smtp-Source: AMrXdXv//XPmNiRCJJhMXD6tNciXzukppllt5nG3b0BpW9TbE1i5CaIW65S108A90Or9N35G91UARg== X-Received: by 2002:a05:6a20:4424:b0:9d:efc0:92 with SMTP id ce36-20020a056a20442400b0009defc00092mr43051736pzb.58.1672264778693; Wed, 28 Dec 2022 13:59:38 -0800 (PST) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id d5-20020a63f245000000b004702eca61fcsm200323pgk.36.2022.12.28.13.59.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Dec 2022 13:59:38 -0800 (PST) From: Yuan Fu Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: bug#60351: 29.0.60; bad syntanx table in c++-ts-mode Message-Id: Date: Wed, 28 Dec 2022 13:59:35 -0800 To: yang.yingchao@qq.com X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60351 Cc: 60351@debbugs.gnu.org, yingchao.yang@seaboxdata.com 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.0 (-) Yang Yingchao writes: > 1. start emacs with emacs -Q > > 2. open a buffer, M-x c++-ts-mode, theninsert following codes: > int main(int argc, char *argv[]) > { > if (0) { > a->func(); > } > return 0; > } > > 3. move cursor to line 3, before the bracket > 4. C-M-n (forward-list), and cursor will be placed at line 4, right = after "->" > > I think this might be an regression after commit = 480f41c7deb4d3a45a862a5308950b35085f835d Thanks for the report! < and > serves double duty in C++, so assigning them paren syntax are indeed incorrect. c++-mode uses text properties to assign different syntax based on context. I=E2=80=99ll copy that into c++-ts-mode. Yuan From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 28 18:58:02 2022 Received: (at 60351-done) by debbugs.gnu.org; 28 Dec 2022 23:58:02 +0000 Received: from localhost ([127.0.0.1]:59008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAgJ8-00039Z-B6 for submit@debbugs.gnu.org; Wed, 28 Dec 2022 18:58:02 -0500 Received: from mail-pg1-f174.google.com ([209.85.215.174]:33559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAgJ4-00038r-Mb for 60351-done@debbugs.gnu.org; Wed, 28 Dec 2022 18:58:01 -0500 Received: by mail-pg1-f174.google.com with SMTP id 82so11469773pgc.0 for <60351-done@debbugs.gnu.org>; Wed, 28 Dec 2022 15:57:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=m4Y8QGp9hgUxHs5Q0qJsNycqFbzdi4v2havuTgdNrLo=; b=NY07Iw2mhF1QNQH8Taf8IcEmieKecRd2Dz+5ThfxZNqjdZjZBRBUJoSBqxTm/HiyAU uoXJjujeJ6oySstGjbZwshGufjQtQY+9dHOUeFcLy2GLLBfU4BVIVi317Ii46gZi292B bWStPQ6OFB6i9EAs//y+36aSXYiyow6Zxu4PVP0dQ9+BfQb0NrIoGqQpnHtJErcOdcUO VgjX6MMthoqMDFiSne0Pi8KJpbKo/psEZqrXvKnCnrh9nROJbi84mEzknNN5QdMspL4v R2vt7f1WCUdKAIwxx5z2mswtz+V53Ppt3NIQ2PXA8KE8OP2UcQ8myHxBInTzRD9JOV49 Ansg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m4Y8QGp9hgUxHs5Q0qJsNycqFbzdi4v2havuTgdNrLo=; b=yF2q7WkkhFY0DMQyO4RrUFuO7lHcAlUKoQiD+RlUi5GJJcSYDOZmzuYtQPMLDxPLHO 28GXotUWcoI4NnaLtooKQ5XG1w+NNTD1Wmf2aIEYPNNC+k1azQtq57xpezc7SSEAI3q6 AiBgg3htrQiB0/04pgZeHoCTR58aY/tcTCul3s59OdGQtAAeDaWCen58qG4qdXDEiW8V p5/MjsnivuGTx63REc8GizcQKL14QRbx02lnvZs05D+mBwG1BsgJlNN+kTM7lDRE2Ush P9zt2/VLlblXtiot4yNwyZu+aQL1ZtRc4ktnu5BCGZ2eMIaEU51oC2VuAbGn2h52sacz ORLg== X-Gm-Message-State: AFqh2kp1PGimzWUeXeLYLhGrqyYMQbPPVRerKp2vk/H7FLRruy9EqzSe Wp2HV1Nh5h5WBdE6cdZPB10= X-Google-Smtp-Source: AMrXdXugZUbAoVOGgFJwwaxMOjHEgxwWybVzrLVanJApMmL3mAO41SBEzOTE3XpNfeVTwNRVp2lPVQ== X-Received: by 2002:a62:36c4:0:b0:578:7e9d:97b2 with SMTP id d187-20020a6236c4000000b005787e9d97b2mr30709561pfa.3.1672271872624; Wed, 28 Dec 2022 15:57:52 -0800 (PST) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id b20-20020aa79514000000b00581c4b4c15bsm197621pfp.142.2022.12.28.15.57.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Dec 2022 15:57:52 -0800 (PST) From: Yuan Fu Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: bug#60351: 29.0.60; bad syntanx table in c++-ts-mode Message-Id: <47AB8521-C74F-406E-A401-8A5E0F8D6F89@gmail.com> Date: Wed, 28 Dec 2022 15:57:51 -0800 To: yang.yingchao@qq.com X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60351-done Cc: 60351-done@debbugs.gnu.org, yingchao.yang@seaboxdata.com 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.0 (-) Yuan Fu writes: > Yang Yingchao writes: > >> 1. start emacs with emacs -Q >> >> 2. open a buffer, M-x c++-ts-mode, theninsert following codes: >> int main(int argc, char *argv[]) >> { >> if (0) { >> a->func(); >> } >> return 0; >> } >> >> 3. move cursor to line 3, before the bracket >> 4. C-M-n (forward-list), and cursor will be placed at line 4, right = after "->" >> >> I think this might be an regression after commit = 480f41c7deb4d3a45a862a5308950b35085f835d > > Thanks for the report! < and > serves double duty in C++, so assigning > them paren syntax are indeed incorrect. c++-mode uses text properties = to > assign different syntax based on context. I=E2=80=99ll copy that into > c++-ts-mode. Done :-) Yuan From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 29 05:04:21 2022 Received: (at 60351-done) by debbugs.gnu.org; 29 Dec 2022 10:04:21 +0000 Received: from localhost ([127.0.0.1]:59311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAplq-0004Ap-Ma for submit@debbugs.gnu.org; Thu, 29 Dec 2022 05:04:21 -0500 Received: from out203-205-221-235.mail.qq.com ([203.205.221.235]:51219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAh5R-0004al-Nf for 60351-done@debbugs.gnu.org; Wed, 28 Dec 2022 19:48:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1672274868; bh=w1X0AUgW76oivCPqtEN+nBfgpRWtmg6PuFctoAwPyco=; h=From:To:Cc:Subject:Date:References:Reply-To:In-reply-to; b=eQ5L6zTyRrH2O6UHNnbT+OBnfEhqA/sjcK1sA26WYjkyUMhPBA3oQBYiykPB2QG0g 1nXfJBmWDix+xtOh7D0h+qsEDC2176MD1HQ/98uMrFiVYkaudZTAW4teaYyJRAo/u1 P/Bmi5+dFDBZPxsYajpU8PftdrVUAVS2th4SDpnk= Received: from tbook ([60.26.143.224]) by newxmesmtplogicsvrszc2-0.qq.com (NewEsmtp) with SMTP id BEEAB235; Thu, 29 Dec 2022 08:47:46 +0800 X-QQ-mid: xmsmtpt1672274866tza3mci62 Message-ID: X-QQ-XMAILINFO: OZZSS56D9fAjGl2w5mzG9XSc1yMHpKoGHtdbPhXFB7UvOQpDK6PazkJqs72Wt0 9BGm0VimgQhDypHmvk0NN5h5Z0at37AIPqIfALbDmsaS4mB9Mt+4qz0PU086UWylH4JkvR4DhpTl PW/DPLBtF735CeWS3/LQsYARdQzayrRGomtcQ/OIV1gx0gDroFsPIoOU7b4EyrSaRQjz02EVtD3Y p9wrLcZHSYfzIouEZyEQwDlCvbeZn2cMXAOiaQDfM3YgpJYcu7gk7q91B0lSWPKVir/NJ6B9CWJK rZbtdWYq1PGwlsM/1QnKc48BiDio4H/Z2h/7niN5JZwUlwurVwV/n+T4Jra6UHGubYzQpDq5qH56 RfNaevaHCfKMRLwhOARXQgVGKJdDfQgVatvTBK+gmRWy9phY/IVzb3PfQeKP3RHSaEYhC+8jEkf5 jvef0xaqE2aDxRjIrzdWq3nUdSHVaEIJKvhk/oKskpEvWzuW/WDA4dWJeQMwKZHXb5C/5uwnnzoq 9jVJdDwCSxRVpcttNByVQqK+y45A3hhw+SoCapSioECMLHOpt5A2ZRZu/Skj6l8M6fn0VDKHfIag uAme73pC69IgxgDzmbt5SGfVqlgoi12sXbovqciViEactl0R8hqMkayIaQZK/G95a/pIjjFEemG6 HLozlaqgmvY6KZIkJp0hvNztmIOM738672ifXEJGaB39jH1a1XbSp0a6KvT86JynWk8EW5YWzo/i YcjODeKeay0F2C1YDB7ANjg+r056nNsZ3d3aKgq+FkpdZDdkv+LGY+x1qzvtS2u3Nr2zWrS6KrWA QR0lK7zouR2nK2m/nGc1KC50rwZsdI/JbHKDJRWbJbSvotRJeiFNQL/tbHTQTxn8gg5zMFSSyz9z 7et8zHPM4mqkHdcNmDyDNmvDpgDLcZ6keY1Xbs1j2eT3PsKV/IKTKbFfebbjh0GNi5HquYADRrd4 PAauqHm3pQ2sLPWY7nAg== From: Yang Yingchao To: Yuan Fu Subject: Re: bug#60351: 29.0.60; bad syntanx table in c++-ts-mode Date: Thu, 29 Dec 2022 08:46:03 +0800 References: <47AB8521-C74F-406E-A401-8A5E0F8D6F89@gmail.com> User-agent: mu4e 1.8.11; emacs 29.0.60 In-reply-to: <47AB8521-C74F-406E-A401-8A5E0F8D6F89@gmail.com> Message-ID: <87fsczkpek.fsf@qq.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Verified, thank you! :) On Wed, Dec 28 2022, Yuan Fu wrote: Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (yang.yingchao[at]qq.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [203.205.221.235 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) X-Debbugs-Envelope-To: 60351-done X-Mailman-Approved-At: Thu, 29 Dec 2022 05:04:07 -0500 Cc: 60351-done@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: yingchao.yang@seaboxdata.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Verified, thank you! :) On Wed, Dec 28 2022, Yuan Fu wrote: Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (yang.yingchao[at]qq.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [203.205.221.235 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Verified, thank you! :) On Wed, Dec 28 2022, Yuan Fu wrote: > Yuan Fu writes: > >> Yang Yingchao writes: >> >>> 1. start emacs with emacs -Q >>> >>> 2. open a buffer, M-x c++-ts-mode, theninsert following codes: >>> int main(int argc, char *argv[]) >>> { >>> if (0) { >>> a->func(); >>> } >>> return 0; >>> } >>> >>> 3. move cursor to line 3, before the bracket >>> 4. C-M-n (forward-list), and cursor will be placed at line 4, right aft= er "->" >>> >>> I think this might be an regression after commit 480f41c7deb4d3a45a862a= 5308950b35085f835d >> >> Thanks for the report! < and > serves double duty in C++, so assigning >> them paren syntax are indeed incorrect. c++-mode uses text properties to >> assign different syntax based on context. I=E2=80=99ll copy that into >> c++-ts-mode. > > Done :-) > > Yuan --=20 Yang Yingchao Yang Yingchao --=-=-=-- From unknown Sat Aug 16 00:29:55 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, 26 Jan 2023 12:24:06 +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