From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61541: 30.0.50; Wrong indentarion in csharp-mode Date: Wed, 15 Feb 2023 22:19:03 +0100 Message-ID: <87k00i7hko.fsf@aol.com> References: <87k00i7hko.fsf.ref@aol.com> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1254"; mail-complaints-to="usenet@ciao.gmane.io" To: 61541@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 15 22:20:32 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 1pSPCW-000AT4-S6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Feb 2023 22:20:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPC8-0008Tx-IE; Wed, 15 Feb 2023 16:20: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 1pSPC7-0008S6-Aw for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 16:20:03 -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 1pSPC6-0001jo-RU for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 16:20:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPC6-0005iw-1l for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 16:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Feb 2023 21:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61541 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.167649599121979 (code B ref -1); Wed, 15 Feb 2023 21:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Feb 2023 21:19:51 +0000 Original-Received: from localhost ([127.0.0.1]:34158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPBu-0005iQ-I0 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 16:19:51 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:44614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPBs-0005iG-0L for submit@debbugs.gnu.org; Wed, 15 Feb 2023 16:19:49 -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 1pSPBq-000874-Ri for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 16:19:46 -0500 Original-Received: from sonic306-3.consmr.mail.bf2.yahoo.com ([74.6.132.42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSPBm-0001gX-Vc for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2023 16:19:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1676495976; bh=cxVVtJc7XnI07+hqsh8Sv/TE9U8rvylhqObN8FBXnE4=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=rP4U9nJupXoXZ+eSUtWPyQsv5928L4B4vfcwulObfdUBW3LipEmikU/zFNp+DMILgMWFuG3Iy11aNY2srSPrbQ0uWKtK2SwULRy0EX2zxhWgPqPiSE0a8nqzR6qDMVG+kG6C4z4kkRLq3dORppcqnjXiNQIDnE2HzPuBZXQI939NJ/OgxocBFmME/YGcv6pjUaHLKCfkRC9MCR3mylNX878vsJiHZSJA2I5ngDfTe5xpI1OioyjjUHj/PA9GwhulX1s9CazLYzzeGfBFdWIXsaXzwTswVE7QlD/m1odgwqn9haWxgNzFkG8ul2Ab0y2xPgDwNKqFkWcd7FK6f7xaVQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676495976; bh=j1uzREsZ2mFg/BYco+GDWQE2UM1sf+5lpT4QCs2a4gF=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=qdScrSNqRZPXubLi84tIb8+TONZ1q3sSTgkHb36e8KykrHotksD15AjPdUaZvVUW6oFqe1YoZuCDHy5LARZgSAF6BmZKDb1Wq7kxzKnk/USnyQSGE6f1/L859gcJ0SMTFAAM+ZhPbDlRQHOBpvps4AG5jVF2Iid0xXLAXNJ/g5+FkHRUHzZrv4tuxISPd2SMUE3SuwlLiK5mQ1tggYDEv8zWaeuN6SkpXV6Q0xau7G4ebDuR5dbILYUM06YmZK+IXuYUttMtyv1KcCHNXqson1PQxFUiLTit2negzgtAGUF1OMVcUNXTpSUFvOISceiBm0PP7lDnwc7P9OVskQimtA== X-YMail-OSG: zIoj9m4VM1nnrWsnI4vsvJDJPtJkhMGnbid9Dzb43lHwi7mf0oDwZjsAsOpnvHh rd5PFSQf2etu2tgMo8JLkUqGfmzvzW04FYkIGwoqSB96p0REp1c_HDLNBheYRH_nv3D0JgjKpIZR UWUAZwy7uEs98M836dH1gV5nHUrMcYz0vODdi3_3K7NGAIr21lAsmJZPRYP7g9HOLnpPu44qk6Hl MKi3QYieUL.mrJFUCLSD_jBUJvYgNwb4kTsN69.7m3pDnaO5EYgejdR3nTF3bfbdu7eE.kc3_OAm RGIJ5tnvKiXanhEe5_L7slbmYiiEED2Z8MIL6_zAIDim8VNPWbOTI5TPKr5KdmDjcKzqz0HySebV DAXOtn24JQggNxvhKVGbDjsW6FZEi85O02u4H7l3NxIxMqqXHTFom5ykxXdmic8cEdnPs0hIYUiB srLkgWhQh4amjtZhW9GLlqs3G7OTNs9AnTf_wEOS3eObYiDTLjR9A9dOJO_UlGryAPhyRJItPLXw f35exxLtmC0nkoWodbNEnJQtiXUYC.j58dSanDr_ytmJMvBE2tE7FsYHJ_67N5lry83pqjCXX2mx 29SQqjtWGB_RCTzTDkkZMr_HTSBq3z7iFvkyMdLy8mZnWfWhoFcZ.Y36afNJR17FIGbB_J1je8Vj eO4HXnHlOxVahAAzTpxIyv80Ov7mnp4.ktgurWa_5Rjs0bweKrINCE1Q7TbbRlPsyYWAZXtlKPw5 3wc5_plR3Esr4c78edv3_E8yY2ujJ0pw21OcjeYTd6nIcHt03nTlXQQVCiNeMRCQYIq_9mbT8Nif AtqL_F6BpWlq99TJZDqm6H1xhItz6N1TzbN5SaOAwf X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Wed, 15 Feb 2023 21:19:36 +0000 Original-Received: by hermes--production-ir2-65c64dfd66-q88mm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 40c5b5e6db7bc3038a4dcf4537530feb; Wed, 15 Feb 2023 21:19:33 +0000 (UTC) X-Mailer: WebService/1.1.21183 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.132.42; envelope-from=spacibba@aol.com; helo=sonic306-3.consmr.mail.bf2.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:255774 Archived-At: Hi: I just found that this indentations are wrong in csharp mode: // wrong new myNamespace.myClass { Name1 = x.Value, // defun-block-intro var2 = 2 // statement-cont } // statement-cont The problem seems to be related with the dot (.) in the new, because this variant indents correctly: // right new myClass { Name1 = x.Value, // brace-list-intro var2 = 2 // brace-list-entry } // brace-list-close csharp-ts-mode is doing it right BTW. In GNU Emacs 30.0.50 (build 12, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.8) of 2023-02-15 built on Ergus Repository revision: 6a677fd3b6677248a8bc1787b105879684289fa2 Repository branch: master System Description: Arch Linux Configured using: 'configure --prefix=/home/ergo/.local/ --with-mailutils --with-json --with-x-toolkit=gtk3 --with-xft --with-modules --with-cairo --with-harfbuzz --with-native-compilation '--program-transform-name=s/^ctags$/ctags.emacs/'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: C#//law Minor modes in effect: subword-mode: t windmove-mode: t fancy-compilation-mode: t global-auto-revert-mode: t electric-pair-mode: t flyspell-mode: t company-mode: t flycheck-mode: t diff-hl-margin-mode: t gtags-mode: t repeat-mode: t c-ms-space-for-alignment-mode: t xterm-mouse-mode: t xclip-mode: t override-global-mode: t winner-mode: t save-place-mode: t delete-selection-mode: t savehist-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t which-key-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t size-indication-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: /mnt/casa/gits/emacs_clones/gtags-mode/gtags-mode hides /home/ergo/.config/emacs/elpa/gtags-mode-1.0/gtags-mode /home/ergo/.config/emacs/elpa/transient-20230213.1337/transient hides /home/ergo/.local/share/emacs/30.0.50/lisp/transient Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny rfc822 mml mml-sec 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 dabbrev cap-words superword subword cape-keyword windmove jka-compr shortdoc csharp-mode c-ts-common treesit cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs fancy-compilation compile text-property-search comint ansi-osc help-fns radix-tree autorevert filenotify ffap thingatpt url-parse auth-source password-cache url-vars elec-pair flyspell-correct flyspell ispell company-semantic company-template company-capf company flycheck ansi-color json map find-func dash pcase diff-hl-margin diff-hl-dired dired-x dired dired-loaddefs diff-hl log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode cape compat comp comp-cstr warnings icons rx gtags-mode subr-x files-x xref project term/tmux term/xterm xterm init repeat xt-mouse xclip edmacro kmacro use-package-bind-key bind-key simple-16-theme winner ring saveplace delsel savehist easy-mmode display-fill-column-indicator display-line-numbers diminish which-key cl-extra help-mode use-package-diminish use-package-core disp-table info dumb-jump-autoloads highlight-indent-guides-autoloads company-lua-autoloads evil-collection-autoloads vundo-autoloads sudo-edit-autoloads cuda-mode-autoloads nginx-mode-autoloads crdt-autoloads annalist-autoloads company-auctex-autoloads cape-autoloads groovy-mode-autoloads flycheck-rust-autoloads string-inflection-autoloads company-c-headers-autoloads protobuf-mode-autoloads markdown-mode-autoloads tree-sitter-autoloads lice-autoloads lorem-ipsum-autoloads julia-mode-autoloads nasm-mode-autoloads deadgrep-autoloads popup-autoloads company-nginx-autoloads csv-mode-autoloads d-mode-autoloads tsc-autoloads i3wm-config-mode-autoloads ssh-config-mode-autoloads move-dup-autoloads clang-format-autoloads esup-autoloads dired-sidebar-autoloads gnuplot-autoloads web-completion-data-autoloads phi-search-autoloads better-shell-autoloads fancy-compilation-autoloads arduino-cli-mode-autoloads flycheck-julia-autoloads magit-autoloads magit-section-autoloads auctex-autoloads tex-site which-key-autoloads git-commit-autoloads with-editor-autoloads evil-autoloads goto-chg-autoloads flycheck-autoloads multiple-cursors-autoloads ibuffer-sidebar-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads systemd-autoloads pkgbuild-mode-autoloads neotree-autoloads modern-cpp-font-lock-autoloads company-reftex-autoloads google-c-style-autoloads flymake-nasm-autoloads request-autoloads caml-autoloads arduino-mode-autoloads ede/auto eieio-base cl-seq eieio byte-opt bytecomp byte-compile eieio-core cl-macs gv cl-loaddefs cl-lib sphinx-mode-autoloads f-autoloads diff-hl-autoloads lua-mode-autoloads gtags-mode-autoloads mutt-mode-autoloads xclip-autoloads diminish-autoloads imenu-list-autoloads paradox-autoloads spinner-autoloads avy-zap-autoloads nftables-mode-autoloads s-autoloads ibuffer-vc-autoloads objed-autoloads iedit-autoloads languagetool-autoloads vterm-toggle-autoloads vterm-autoloads avy-autoloads git-timemachine-autoloads emamux-autoloads transient-autoloads flymake-quickdef-autoloads slime-autoloads yasnippet-snippets-autoloads ibuffer-project-autoloads haskell-mode-autoloads shell-command+-autoloads notmuch-autoloads e2ansi-autoloads face-explorer-autoloads pkg-info-autoloads flx-autoloads opencl-mode-autoloads ptemplate-templates-autoloads ptemplate-autoloads yasnippet-autoloads git-modes-autoloads compat-autoloads ibuffer-tramp-autoloads debbugs-autoloads cobol-mode-autoloads macrostep-autoloads flyspell-correct-autoloads company-autoloads dash-autoloads epl-autoloads vdiff-autoloads hydra-autoloads lv-autoloads early-init 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 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 cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 314716 25828) (symbols 48 18893 0) (strings 32 80618 11390) (string-bytes 1 2807148) (vectors 16 45056) (vector-slots 8 1351905 127627) (floats 8 236 1199) (intervals 56 3420 54) (buffers 984 15))