From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.bugs Subject: bug#61502: 29.0.60; c-ts-mode auto-indent not working Date: Tue, 14 Feb 2023 10:06:13 +0530 Message-ID: <87v8k4g8xu.fsf@codeisgreat.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18474"; mail-complaints-to="usenet@ciao.gmane.io" To: 61502@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 14 05:37:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pRn4A-0004fW-UJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Feb 2023 05:37:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRn3w-00007H-24; Mon, 13 Feb 2023 23:37:04 -0500 Original-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 1pRn3u-00006E-Jr for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 23:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRn3u-0001tw-Ah for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 23:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRn3t-0008RY-Qv for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 23:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Feb 2023 04:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61502 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167634938432379 (code B ref -1); Tue, 14 Feb 2023 04:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Feb 2023 04:36:24 +0000 Original-Received: from localhost ([127.0.0.1]:52233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRn3H-0008QA-8k for submit@debbugs.gnu.org; Mon, 13 Feb 2023 23:36:23 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:36430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRn3E-0008Q2-IC for submit@debbugs.gnu.org; Mon, 13 Feb 2023 23:36:21 -0500 Original-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 1pRn3E-00084A-9J for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 23:36:20 -0500 Original-Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRn3C-0001mP-4d for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 23:36:20 -0500 Original-Received: by mail-pj1-x102a.google.com with SMTP id a8-20020a17090a6d8800b002336b48f653so13026980pjk.3 for ; Mon, 13 Feb 2023 20:36:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=GtJ170xdqyDfZ/8Amiwbo6eKyJHtI9fOy/+tb3eywoE=; b=nf6Dcfi46x47h4uanL4r6SkT9MxVn+n4hFPgkVBjT4/A/cushph/nPlonE7gW8dE67 /XcXC7KgrcaFLojNQrBY+T3kXktU8rb7bmPORZ7jzzoymGJTPa2BBDiY5f8RroMjORid XSWmP8YAdrZ1syfYsdIjXm6cGCTHCXxFDGWFD6rm+eSPHrdf2pt0Fsst7ob33LLAMKhx zAURDPKV2D5GD7huJEDZGQ1+E1flQBN4rY5Yjw8oJxbfoFB5X60dPYUdT6CSspZEK7mY nsgZyTM3gEpVxxqxM+ozfPCkP3P+22sn6RI+VGDdtDggFd3UeEauZHm2KfMWHGFUBz/M yWaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GtJ170xdqyDfZ/8Amiwbo6eKyJHtI9fOy/+tb3eywoE=; b=q0nsmjo4mdZywRoy+VQijTQ43IggaI09oHuicumrxUi+NWIjr03Eo5pqxOPqsD8ILr KOcg37ymqvHzRkCWktv0k726cDTaJUJlHAmgAlmKNNlY7yMLDDzJpvDYpkNl2BkGZWDZ 7pu9uBKExvcdzctEOpMOrYAirtMjIk0fOgPQse5z8HBJgoJQqVCp0epGpNJBYfgIPxNR l/ii1GLgvO68ZWcq8XiOjCNr5byb3IIrVHCq/myyUiQaoAWwFBEaGB5uVlnTWKY4MnHH WMZeakBtMR0x8g3apDWWPYgrfVyVU0V0GFfvA9YZxLOAfO11XdzURNBSGDAKeLfHJtha GfZg== X-Gm-Message-State: AO0yUKXBrR8fN4T+tsuqUEt1PFuW2Hhkh+wY/op19/rUH23F+qBtbmb2 S42RWb/y8NkOedthuIW8DAKUAGzB0cN6ZOhO X-Google-Smtp-Source: AK7set93kG2Ru6v360if7lD6TtkOgx0q+iyvREHd+U7Rlv3DxX22NtLA71h8FZ9KbCtkUHpQXBzjxg== X-Received: by 2002:a17:90b:4d0d:b0:234:b23:ead2 with SMTP id mw13-20020a17090b4d0d00b002340b23ead2mr1039338pjb.45.1676349375918; Mon, 13 Feb 2023 20:36:15 -0800 (PST) Original-Received: from anant ([49.36.238.47]) by smtp.gmail.com with ESMTPSA id t13-20020a17090a6a0d00b0023417fec520sm1326852pjj.44.2023.02.13.20.36.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 20:36:15 -0800 (PST) Received-SPF: none client-ip=2607:f8b0:4864:20::102a; envelope-from=pankaj@codeisgreat.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255544 Archived-At: The auto-indent is not working when using c-ts-mode. Steps: 1. create a new file test.c 2. After typing following snippet, the indentation should work automatically on RET. But even the TAB is not indenting the next line (after the RET), --8<---------------cut here---------------start------------->8--- int main() { --8<---------------cut here---------------end--------------->8--- In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2023-02-14 built on anant Repository revision: cc30422825a5acf460d026bfe912b327b70dedcf Repository branch: HEAD System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --prefix=/home/pankaj/.local --with-tree-sitter --with-pgtk' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES 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: en_IN.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C Minor modes in effect: TeX-PDF-mode: t eglot--managed-mode: t corfu-mode: t display-fill-column-indicator-mode: t override-global-mode: t direnv-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t server-mode: t editorconfig-mode: t flymake-mode: t which-key-mode: t global-hl-line-mode: t savehist-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t tab-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 column-number-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: /home/pankaj/.emacs.d/elpa/transient-20230213.1337/transient hides /home/pankaj/.local/share/emacs/29.0.60/lisp/transient Features: (shadow bbdb-message emacsbug sort smiley gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg qp gnus-ml disp-table cursor-sensor utf-7 nndraft nnmh nnfolder nnml epa-file network-stream bbdb-gnus bbdb-mua bbdb-com nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache .gnus cl-print help-fns radix-tree diary-lib diary-loaddefs tramp-cache time-stamp prettier tramp tramp-loaddefs trampver tramp-integration cus-edit cus-start cus-load tramp-compat ls-lisp nvm f f-shortdoc iter2 yaml-mode flyspell ispell bug-reference conf-mode sh-script smie executable gnus-dired dired-aux make-mode reftex-dcr reftex reftex-loaddefs reftex-vars tex-bar toolbar-x font-latex latexenc preview latex latex-flymake tex-ispell tex-style tex texmathp tex-mode display-line-numbers oc-basic ol-eww eww url-queue 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 ol-docview doc-view image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi vc-git vc-dispatcher cmake-ts-mode mule-util jka-compr vc-svn eglot external-completion array jsonrpc ert ewoc debug backtrace c-ts-mode checkdoc lisp-mnt corfu display-fill-column-indicator init my-init kunji hdfc ob-plantuml ob-sql ob-css ob-js ob-java ob-C ob-python python 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 erc-join erc-goodies erc iso8601 erc-backend erc-networks erc-common erc-compat erc-loaddefs solar cal-dst use-package-delight rust-ts-mode use-package-bind-key bind-key js c-ts-common desktop frameset treesit direnv 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 magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff diff-mode easy-mmode git-commit log-edit pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor shell server magit-mode transient edmacro kmacro magit-git magit-base magit-section crm compat org-mime message sendmail yank-media rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mailabbrev mail-utils gmm-utils mailheader ox-org ox-odt rng-loc rng-uri rng-parse rng-match 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 org-id org-refile avl-tree debbugs soap-client mm-decode mm-bodies mm-encode url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rng-xsd rng-dt rng-util xsd-regexp plantuml-mode solidity-mode solidity-common php-mode mode-local speedbar ezimage dframe cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align php-face php php-project cc-engine cc-vars cc-defs gnuplot info-look docker-compose-mode nov recentf tree-widget wid-edit 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 time-date 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 imenu bookmark pp shr pixel-fill kinsoku url-file puny svg xml esxml-query dom markdown-mode color groovy-mode dash s graphql-mode let-alist editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme rx haskell-align-imports haskell-complete-module haskell-ghc-support noutline outline flymake-proc flymake warnings icons dabbrev haskell-customize go-mode find-file ffap thingatpt etags fileloop generator compile text-property-search comint ansi-osc ansi-color gtags-mode files-x denote xdg dired dired-loaddefs xref project ring which-key exec-path-from-shell bbdb bbdb-site timezone delight cl-extra help-mode use-package-ensure use-package-core modus-vivendi-theme modus-themes pcase hl-line savehist finder-inf solidity-mode-autoloads spinner-autoloads org-mime-autoloads prettier-autoloads groovy-mode-autoloads php-mode-autoloads nvm-autoloads f-autoloads iter2-autoloads haskell-mode-autoloads editorconfig-autoloads denote-autoloads json-snatcher-autoloads which-key-autoloads docker-compose-mode-autoloads exec-path-from-shell-autoloads corfu-autoloads debbugs-autoloads parseedn-autoloads auctex-autoloads tex-site bbdb-autoloads markdown-mode-autoloads magit-autoloads magit-section-autoloads git-commit-autoloads with-editor-autoloads yaml-mode-autoloads parseclj-autoloads gtags-mode-autoloads go-mode-autoloads plantuml-mode-autoloads gnuplot-autoloads nov-autoloads esxml-autoloads kv-autoloads 0blayout-autoloads delight-autoloads 750words-autoloads queue-autoloads s-autoloads graphql-mode-autoloads transient-autoloads compat-autoloads direnv-autoloads info dash-autoloads sesman-autoloads lua-mode-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib early-init 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 emacs) Memory information: ((conses 16 1317833 44349) (symbols 48 62086 53) (strings 32 272989 5267) (string-bytes 1 7987872) (vectors 16 138971) (vector-slots 8 2532888 146933) (floats 8 1064 92) (intervals 56 2969 0) (buffers 984 101))