From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Amos Bird Newsgroups: gmane.emacs.bugs Subject: bug#35316: 26.2; Emacs lags in c++-mode buffer when editing with iedit-mode on Date: Sat, 18 May 2019 01:35:58 +0800 Message-ID: <87lfz5c7b5.fsf@gmail.com> References: <20190516150457.GA639@ACM> <20190516161704.GA527@ACM> <871s0xop2o.fsf@gmail.com> <20190517100118.GB5011@ACM> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="68674"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: 35316@debbugs.gnu.org, ccsmile2008@outlook.com To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 17 19:36:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRgmA-000Hhr-G0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 May 2019 19:36:10 +0200 Original-Received: from localhost ([127.0.0.1]:51659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRgm9-0006hk-Hm for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 May 2019 13:36:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRgm3-0006bg-9R for bug-gnu-emacs@gnu.org; Fri, 17 May 2019 13:36:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRgm2-0002zS-DK for bug-gnu-emacs@gnu.org; Fri, 17 May 2019 13:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRgm2-0002zB-9F; Fri, 17 May 2019 13:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hRgm2-0006Lw-5m; Fri, 17 May 2019 13:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Amos Bird Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 17 May 2019 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35316 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 35316-submit@debbugs.gnu.org id=B35316.155811455024390 (code B ref 35316); Fri, 17 May 2019 17:36:02 +0000 Original-Received: (at 35316) by debbugs.gnu.org; 17 May 2019 17:35:50 +0000 Original-Received: from localhost ([127.0.0.1]:58899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRglp-0006LK-Jr for submit@debbugs.gnu.org; Fri, 17 May 2019 13:35:49 -0400 Original-Received: from mail-pl1-f178.google.com ([209.85.214.178]:36121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRgln-0006L5-Ll for 35316@debbugs.gnu.org; Fri, 17 May 2019 13:35:48 -0400 Original-Received: by mail-pl1-f178.google.com with SMTP id d21so3665836plr.3 for <35316@debbugs.gnu.org>; Fri, 17 May 2019 10:35:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=PBTJHZQk4M6ncBTI893c5ZN4EOZRoIZkus9YoHF3wTs=; b=DxMNKkEHsYEi3ca2M11EkrW6J4JzxlqftBupFhBdk4uL054otecXjDTwdSqMcw5dvw bP1RUO0eSp3WOh1QHPD826tyr0rP4wPoxUU0SlYnLr6A3tf/yeFGze1SIp4UjKSQ0rdi ekxfKcExuMxRor5HzQkKFXhueO+TOKAchk7RTG7+nflm3SAceg1P4h+iIpyVNOXnClB6 qFCBa+q/v3UXIiL8PEYV91g5yjaY4Q6Y6iwHtR1/cyn+J7weEXpbUY6uyLzimiqjwLlQ oML6FKp9OgWBt8xbMmKvA9yQVCXFVIuJbq0UPFOE/Jxrrz6L9b2+AeIhGwoKN8HH2mQa lpFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=PBTJHZQk4M6ncBTI893c5ZN4EOZRoIZkus9YoHF3wTs=; b=S7BFlSEtl979sc/Y5qoTC2NeKm/V4SwDA8JUMmkSA39/EPqc6qIv1rhxELbggOe1H0 sm9OysBHqPtre1Phl2NJUOsVRjagpitrtCi3UJGW4RKn8tEEBlPm4EB5Pg1H7gyMtcnT M7JsrXiTeQlQ4pHtGCJP077irrebe+gfe2qIf+DJrN8LwlZ1F/4C6F0YGqq6dTIIIqvD NJ0EwRV2bUO7XDspwnB6b9OiJtWIQbp0UCvhcZrenxVPBoXkoxQ0UdYRi+0nuSyA/zFJ TZraKSw/xBhj5XZ0TDz5zLlMAdd0w7zhtjMO5ErhwMqL03gwcZFnA/LIGWAwxodA5xp6 LfHA== X-Gm-Message-State: APjAAAURe0cmewx4SyVR4Z/qKNPbcPGEtH/tTB3la1OQ0620LjSKlH1u btm7+4q7n/8B2Vt2u0VyyqY= X-Google-Smtp-Source: APXvYqxYiX7EMxHtYyAF00wJh9qzP22IhZV1GDXkqqpL/xfM8t82xqsXIgJCVTtVwQEju86+OGzdNw== X-Received: by 2002:a17:902:63:: with SMTP id 90mr5096428pla.342.1558114541983; Fri, 17 May 2019 10:35:41 -0700 (PDT) Original-Received: from localhost ([13.75.109.155]) by smtp.gmail.com with ESMTPSA id k67sm15081040pfb.44.2019.05.17.10.35.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 May 2019 10:35:41 -0700 (PDT) In-reply-to: <20190517100118.GB5011@ACM> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159463 Archived-At: Hi Alan! > Are we still talking about C++ Mode Yeah it's c++ mode but it can also be reproduced with c mode. The minute long frozen is caused mainly by the lsp-mode, howeveer it's still laggy after turning lsp off. > How big is your file? Can you characterise it in any way? You can try emacs/src/xdisp.c . iediting all "make_fixnum", turning them into "make_fixnum_why_undo_redo_is_so_slow", and undo. It's about 10-20 seconds freezing time here. > It seems I have more work to do on this in any case. Looking forward to it! regards, -- Amos Bird amosbird@gmail.com