Eli Zaretskii <eliz@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 11 Jul 2023 00:47:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 10 20:47:24 2023 Received: from localhost ([127.0.0.1]:49422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qJ1XH-0000HR-VS for submit <at> debbugs.gnu.org; Mon, 10 Jul 2023 20:47:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:52494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <yang.yingchao@HIDDEN>) id 1qJ1XC-0000HF-HX for submit <at> debbugs.gnu.org; Mon, 10 Jul 2023 20:47:23 -0400 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 <yang.yingchao@HIDDEN>) id 1qJ1XC-0006oW-AV for bug-gnu-emacs@HIDDEN; Mon, 10 Jul 2023 20:47:18 -0400 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 <yang.yingchao@HIDDEN>) id 1qJ1X9-0000Ow-4j for bug-gnu-emacs@HIDDEN; Mon, 10 Jul 2023 20:47:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1689036426; bh=7b1Ofl1PWX9IPJ3ZDjH+FsQgZqvMUHbTu02IkNywcG0=; h=From:To:Subject:Date:References:Reply-To:In-reply-to; b=p3d2vOqwwFzXUMTGQ36xmDBjCtjtPKMxax2BGMmlHkd/i515ExpbAr31FFdNhhVC/ 7Br9N9IWxodAW1ahJWw7w7j9GXOzLQjPrZYtCz+oKUCX7vXQZauh7WGJ95yp8cry9h LrVauoQ0KamlNwo+9y+7pwiiBYw+rcKKaoIli5bA= Received: from tbook ([60.26.148.4]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id 7ECABE41; Tue, 11 Jul 2023 08:31:44 +0800 X-QQ-mid: xmsmtpt1689035504t9qvi4sgg Message-ID: <tencent_06FD0A373E8DA4668F42F9DBC8A00422B709@HIDDEN> X-QQ-XMAILINFO: Nfm/+M6ONQ57R7wXNTMX8ceN/cUBGYez7YTiJup32hh1JVantkYs1xTqmI0xbi Z2V5rOqbZiutgUiA+N2d5Z2Uw9rujepFP91jb90cUfpQz1GPjQQSJ8OLgc5JgHK0IzxapfIq0ttd TQZtKAQ2690N8UV8xmj6lLLI8zP6FlNeN2mfau6qZqXqUvjP1Y0QZLNMVyfFsjOtRybJW6Q9jn1c LxjC34ereFUEfIcQaavyt7PN6kcHMPvViWxcbE9KnPb30KnJpfurlVXL4Th210+shuM+92FUNIl+ FkMHOpfSbmY/+aiQskQeoEfRJzBRMLmvITxjS9dy9fgFVonie/mFzwP2Cpxte251+spsi7SvStBX eBmFRvCMR8Dr5aAMmKncAt6aJOj8xbpYpi26eLNrt/jeK733aSf3ZAzIX3rpCN/53zj0eMa5j9qP RY+13PnZzCYBaE5FzDcJxcNoYFln3VdnWnLeR8F989yAqJdm/lw/tO5XqROMmgR3n3vAfl1Osi2F YOxzbd/k41JoszIrH/xtixcu8ClOhsycSofx1BelBrT/Gqii5/DDlTKh++UcECEd8AbBdAeXZAOb 1myLdNxzk6aqe4jqcA7TDssMweTgyWDjwFgBqT2XLmo+RKWeWR4r0KhzqlOfwF1N22yeFr8lHYzj UTfGovJYbovFhhkmLuIRE8/oQsQGvqNzKkmJaSZ85lJXFOZOUWb302FTcDdMlaB521v33lBPwXdK ImPl5C9/k77NOTJL3z/mNp+VWZs02XhCHKzmCflRNUvmhyeuO5d4J2IgRWKyImGt0325QO7I0bOF qAGGWdUUqPGgeD0lCKjz4oGj5+JlxTzwEEJpkcVuPLK6a/k2jYFny09eq7n43bJKurhU3D5S628/ WebVCKtKwkB6r+SQE4eJXb1e/ffjhDHxJQTJgVbd9+RgRxk5fhbV7i9Sl951uKfe3uXzZfhkkhNX Ob4FksDMk= X-QQ-XMRINFO: Mp0Kj//9VHAxr69bL5MkOOs= From: Yang Yingchao <yang.yingchao@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: Re: 29.0.92; c-ts-mode fails to parse syslogger.c of postgres source Date: Tue, 11 Jul 2023 08:30:51 +0800 References: <87r0pf1eal.fsf@HIDDEN> User-agent: mu4e 1.10.4; emacs 29.0.92 In-reply-to: <87r0pf1eal.fsf@HIDDEN> X-OQ-MSGID: <87pm4z1e7b.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=162.62.57.64; envelope-from=yang.yingchao@HIDDEN; 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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> Reply-To: yang.yingchao@HIDDEN Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Content-Disposition: inline 1. get source file from <https://github.com/postgres/postgres/blob/master/src/backend/postmaster/syslogger.c> 1. open it, and move to line 567, then we can see function `SysLogger_Start(void)` is not highlighted properly. `treesit-explore-mode` shows some error too: ``` (ERROR type: (primitive_type) (function_declarator declarator: (identifier) parameters: (parameter_list ( (parameter_declaration type: (primitive_type)) ))) ``` And when cusor is inside this function, and `treesit-beginning-of-defun` will move cusor to `SysLoggerMain()` which is actully the function before `SysLogger_Start()`. In GNU Emacs 29.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-07-11 built on tbook Repository revision: 419b4d44914701cedf308df58c3e5789715c87e7 Repository branch: HEAD System Description: Gentoo Linux Configured using: 'configure 'CFLAGS=-O2 -march=native -pipe -g' LDFLAGS= --with-xml2 --with-json --with-modules --without-pop --without-imagemagick --with-native-compilation --with-pgtk --with-xft --with-harfbuzz --with-tree-sitter --without-x --without-ns' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ 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-unix Major mode: C/* Minor modes in effect: treesit-explore-mode: t 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 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 emacsbug mail-extr message sendmail mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader c-ts-mode c-ts-common treesit vc-git diff-mode easy-mmode vc-dispatcher cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode cl-loaddefs cl-lib bytecomp byte-compile 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 system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 456295 34678) (symbols 48 9761 0) (strings 32 44677 2133) (string-bytes 1 1728443) (vectors 16 41351) (vector-slots 8 598570 44421) (floats 8 58 41) (intervals 56 38142 182) (buffers 984 14)) --=-=-=--
yang.yingchao@HIDDEN
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#64567
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.