From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn?= Lindqvist Newsgroups: gmane.emacs.bugs Subject: bug#74357: c-mode: Some syntactic constructs cause unreasonable typing lag Date: Fri, 15 Nov 2024 22:43:45 +0100 Message-ID: References: <86v7wphrmi.fsf@gnu.org> <86ed3cinfg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15887"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 74357@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 15 22:45:27 2024 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 1tC487-0003yS-40 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Nov 2024 22:45:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tC47m-0005H0-P1; Fri, 15 Nov 2024 16:45:06 -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 1tC47j-0005GB-Uv for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2024 16:45:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tC47j-000212-M9 for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2024 16:45:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=KnqPOcA44El0oc5w2Yz1e77Ld7HNwSqk4rs8noiUk88=; b=YNnffJPMc5OCQFFmLd/MxSJ7LLMEbTB60Bf9AU5nAiGpGBWtNVL6+GqiI7Rq24LAIW3wTUtlzFEuxt8L/ceGPDlSYMbTl7UdkpFeECJ2Yuf6R38/wc+UjRXXSCJKm27egS4xaLkVvt/VyXMoC9fmVBD6e9i6s2UUCaSGd09cOsL5/GKgABFcvpH52r9i3Q722WD1QGuu8hp0mkgbMwPcE6sW8AUtUxwAsmlvU8IrywPpuxYQvZv3AKb8pw8+n3tYyfd4bA/1E02C7+mok++Gs9UL3L1FaBuZeEXbyIgRo0qoocN2lSbwQfIo+jKnfi9exU0FkRhhG4zfU0IaqV6eOA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tC47j-0001kb-H9 for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2024 16:45:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Lindqvist Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Nov 2024 21:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74357 X-GNU-PR-Package: emacs Original-Received: via spool by 74357-submit@debbugs.gnu.org id=B74357.17317071016693 (code B ref 74357); Fri, 15 Nov 2024 21:45:03 +0000 Original-Received: (at 74357) by debbugs.gnu.org; 15 Nov 2024 21:45:01 +0000 Original-Received: from localhost ([127.0.0.1]:51157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tC47g-0001jt-M8 for submit@debbugs.gnu.org; Fri, 15 Nov 2024 16:45:00 -0500 Original-Received: from mail-ua1-f53.google.com ([209.85.222.53]:61612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tC47f-0001jj-26 for 74357@debbugs.gnu.org; Fri, 15 Nov 2024 16:44:59 -0500 Original-Received: by mail-ua1-f53.google.com with SMTP id a1e0cc1a2514c-856dd0bc428so660273241.2 for <74357@debbugs.gnu.org>; Fri, 15 Nov 2024 13:44:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731707038; x=1732311838; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KnqPOcA44El0oc5w2Yz1e77Ld7HNwSqk4rs8noiUk88=; b=a3kKdTiZd2TicL26mZWTEqKAwfBZmSL7G6D1nadEEWd6nmjuXT2odKVA0d603MB5F/ /afTTE4r0CALbWssY0oS9DIraqciJKBUYNUX0aRG8IJWpcPX4o6w+QSqAVbzD6nFXIEC TufAetka9/mjjLrXVKo4LlRVp/wExGxW8tL3P3kC3niKdGFnRsFopsoK87zYuH5gTpTM h4H9+Nc6AEEY9lAwhTWQDmlo2JHuoRfYRq6B7cZ5gzXB/6lmm3qOuXDaQqJ7wh5yDS9F TbxuZGDABN8oEiFKiMoH56YEX+7ppxSSyA+/tMvyTadia/SQ6vagzPc3rdu8hC7mLHxV BjSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731707038; x=1732311838; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KnqPOcA44El0oc5w2Yz1e77Ld7HNwSqk4rs8noiUk88=; b=kopGidV6oDpjAutMB+zR9uFyLkONS/O8rE9L5ZErGgtAwEItc1YLBaREXHeafcfMXV fdw2UO/kvtddMRPIwlZFjxEqXQjpk1xkOKPQTJSMwtEdhvCp0PdSPqNVMF5SOVDyV57W dF83zDZwopm1ufdG8axnR5USrYyFpKs+OtvtaSct9pX62LA925ixNC3ge39R1BwpkS3A sTCepvHrEY62p5ZTL/tSBLo4ZgkY2uMznDDwuE5P7hG1W+Vun5fuKoKcIiOlXcLa9ZWA lS9NzcacSof2uUAV5MH0eR7td7KT3xMHwsyKjmzbk4YgBKc13qB881MW+mEppBS1cQJH VD7g== X-Forwarded-Encrypted: i=1; AJvYcCU79fEfyPi0ssnZLI0+RDXvMHdpKknlCojSDcWUTFB435MsrAgO9Vu5QfhSEtlJXAHRadbMcg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzgo/nDZr63uRVQeaRO/ugnvoG7kqDY73neIYFMRxV9+MDjSbBC JOUpjFfnMj0+xaeHVvQvqKyq9y+jiANH8EN+tsWuMATyqUGcgQIq/Xewo+g9/YS40L0NrbZxhzX Vhd2vhI1AmHay2G8GmgGAD8e5ZJw= X-Google-Smtp-Source: AGHT+IHNkFIueh1MjnFARayivYJ7obfAcpiq9oGl7RNsmrQtVrg3aGxVbkRb5Mq3WmiRRWN8JTC+ycUvfRXKs1pTEwQ= X-Received: by 2002:a05:6102:3eca:b0:4a3:d434:de03 with SMTP id ada2fe7eead31-4ad6316493bmr4975841137.23.1731707038581; Fri, 15 Nov 2024 13:43:58 -0800 (PST) In-Reply-To: <86ed3cinfg.fsf@gnu.org> 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:295424 Archived-At: Den fre 15 nov. 2024 kl 15:25 skrev Eli Zaretskii : > Can you tell where in real life do you see such deeply-nested braces > in C source files? 50 is perhaps exaggerating it, but in "modern" C++ with multiple namespaces, nested classes, and anonymous functions you can easily get scopes nested over a dozen levels deep. --=20 mvh/best regards Bj=C3=B6rn Lindqvist