From unknown Tue Jun 24 22:35:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#21144 <21144@debbugs.gnu.org> To: bug#21144 <21144@debbugs.gnu.org> Subject: Status: Performance problem with certain text editing operations (emacs 24.4.1) Reply-To: bug#21144 <21144@debbugs.gnu.org> Date: Wed, 25 Jun 2025 05:35:37 +0000 retitle 21144 Performance problem with certain text editing operations (ema= cs 24.4.1) reassign 21144 emacs submitter 21144 Aaron Sokoloski severity 21144 normal tag 21144 moreinfo wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 27 11:59:40 2015 Received: (at submit) by debbugs.gnu.org; 27 Jul 2015 15:59:40 +0000 Received: from localhost ([127.0.0.1]:60418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJkoV-0001ah-H7 for submit@debbugs.gnu.org; Mon, 27 Jul 2015 11:59:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59619) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJkmT-0001WM-OE for submit@debbugs.gnu.org; Mon, 27 Jul 2015 11:57:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJkmS-0007PK-HT for submit@debbugs.gnu.org; Mon, 27 Jul 2015 11:57:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkmS-0007PB-En for submit@debbugs.gnu.org; Mon, 27 Jul 2015 11:57:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkmR-0008UK-Ch for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:57:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJkmQ-0007OP-Ev for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:57:31 -0400 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:35736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkmQ-0007O7-61 for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:57:30 -0400 Received: by lahh5 with SMTP id h5so51811584lah.2 for ; Mon, 27 Jul 2015 08:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=BjYmqO2Yf0HcJ7FZK5GdSLBpx33sPC8D9vW050vc5Rg=; b=d44tVBMwp989nKBJHgscXvHkSSgpuMiahGPyW597AejVY0xxlL58zQEsZnPPodSjar VtHhZNZc9gBe4SbaXFnxRiCklv7ClFb5zeS38aKtcFyXEwMZ4ksYRU5qxmYMAiUKJCje k3zcJMXgtaaQVHYG9QpZ60tkBLBGgSPgc1wGhTwf72F1XqzmBJ77DlddET85/QjlgZJP glkkkRNpONK80VS8kS2Iuiou+J16XXiP2QtcVpAL0vGAS8/cMpUkXC4YaxWhS+S6m9JM L1g/0uZtlNPxZBNV/A0U4ktjLk7o1rqSNFjWbLzm6iBi1XeEy3pS9nzbYzHYk5XHcnbt DS/g== X-Received: by 10.152.28.105 with SMTP id a9mr28108512lah.9.1438012648369; Mon, 27 Jul 2015 08:57:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.73.65 with HTTP; Mon, 27 Jul 2015 08:57:08 -0700 (PDT) From: Aaron Sokoloski Date: Mon, 27 Jul 2015 16:57:08 +0100 Message-ID: Subject: Performance problem with certain text editing operations (emacs 24.4.1) To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=089e0160a24016d2ed051bdd693e X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 27 Jul 2015 11:59:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --089e0160a24016d2ed051bdd693e Content-Type: text/plain; charset=UTF-8 Hi folks, I've run into something that I can't figure out. Emacs 24.4.1 usually hangs for a short time (on the order of a second) when I do one of these things: 1) Kill a line 2) Kill a region 3) run kill-ring save It seems to be slow to do anything that copies text to the kill ring. Occasionally it seems like something I do (can't figure out what) makes it temporarily fast again, but then gradually slow down again until it takes about 1 second. It doesn't happen all the time, but when it happens it happens pretty reliably. The -q option does not make any difference. Font-lock-mode doesn't make any difference, nor does the size of the buffer seem to. Nothing exciting seems to show up under profiling -- the big cpu users are just the profiling stuff like the report. Also, setting debug-on-quit and pressing ctrl-g during the lag doesn't make the debugger pop up. However, I can't seem to reproduce the lag when running with -nw, so maybe it's something with the windowing. I'm running debian jesse, with awesome window manager version v3.4.15. As you can imagine, this is pretty distracting, so I'd appreciate any help anyone can provide! Thanks in advance, Aaron --089e0160a24016d2ed051bdd693e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi folks,

I've run into something t= hat I can't figure out.=C2=A0 Emacs 24.4.1 usually hangs for a short ti= me (on the order of a second) when I do one of these things:

=
1) Kill a line
2) Kill a region
3) run kill-= ring save

It seems to be slow to do anything that = copies text to the kill ring.=C2=A0 Occasionally it seems like something I = do (can't figure out what) makes it temporarily fast again, but then gr= adually slow down again until it takes about 1 second.=C2=A0 It doesn't= happen all the time, but when it happens it happens pretty reliably.
=

The -q option does not make any difference.=C2=A0 Font-= lock-mode doesn't make any difference, nor does the size of the buffer = seem to.

Nothing exciting seems to show up und= er profiling -- the big cpu users are just the profiling stuff like the rep= ort.=C2=A0 Also, setting debug-on-quit and pressing ctrl-g during the lag d= oesn't make the debugger pop up.

However,= I can't seem to reproduce the lag when running with -nw, so maybe it&#= 39;s something with the windowing.

I'm running= debian jesse, with awesome window manager version v3.4.15.

As you can imagine, this is pretty distracting, so I'd = appreciate any help anyone can provide!

Thanks in = advance,
Aaron
--089e0160a24016d2ed051bdd693e-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 09 21:10:40 2016 Received: (at 21144) by debbugs.gnu.org; 10 Aug 2016 01:10:41 +0000 Received: from localhost ([127.0.0.1]:33483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXI2a-0001oy-J1 for submit@debbugs.gnu.org; Tue, 09 Aug 2016 21:10:40 -0400 Received: from mail-io0-f170.google.com ([209.85.223.170]:33445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXI2X-0001oP-87; Tue, 09 Aug 2016 21:10:38 -0400 Received: by mail-io0-f170.google.com with SMTP id 38so28099092iol.0; Tue, 09 Aug 2016 18:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ozoB+YSs/blJCpnvU1+y5/WyJChXYK37fm6B2zq2Rs0=; b=rLsZ1jRwxxcdmuORnmrbMKOKl6DKgCD6tHeb8vQIlTvOaosDOiXgpC3N/+UW5gFu+N +sFCzr3ae0R3G6h6BAnWwoiSJyEDBkq+epvZM0Vt0zmBX/Z+7iNJCX2vG3e9U2FWN6Ta 7XKF3+DdS9FBUGZ5sVT+ctj24zCxmt4/Isv7KU4m8Fvf11v8E5+yby/w7HQ8xdOnooBN D7BbfPwWaZt3Con3/jYulm5r+82c1HqAN3BlBjYYetNdlT7holnWzSL29p2ULV2USyKx hdDfF3wXcfUu/fli4c6aeJIXrVcKYjMVxxPFt3kPJhwQyMiAhFbfmDyG7LhX8tuSY1hd VcJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=ozoB+YSs/blJCpnvU1+y5/WyJChXYK37fm6B2zq2Rs0=; b=CRglgTPb9FxsuN7XWqP3WL3P5ikCxb8Vgfr0PAQp97t246LSPgFgHxVZiQ5YcJkbSC pGch+yLkPdwMldi0tmbqxoBRjWEY74xZ6gKTDV5xvZq8Ii6VZwnIEpOG2agaYkEIfRZJ K7/GG8y4Dc4FsIvFs9F8I/Ukp6FVH8SrmdHC+mNPN2TF4CdrlCg95utG9h2Z5AqIemln WqxA7G5vOIe3sAzi61zruFi7gIGOnrp9iqFFDwuf4zBRTuidBlxzH+3hlYx4gv2qVNAA ItnwnI1yBRblUWrZTjwQTxRKU833AdWXY4BwMNdqEcAx2CfM4v+MZc18rUOEJtq+V/pZ k4Ng== X-Gm-Message-State: AEkoouuzm7p6MZZ2s91csPBbnU0mlGNa1bQUqzl5R5cF0pkyM6KAzdJs8UAJaaj4/9tlXA== X-Received: by 10.107.195.14 with SMTP id t14mr2462250iof.175.1470791431813; Tue, 09 Aug 2016 18:10:31 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id b66sm2861338itd.0.2016.08.09.18.10.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Aug 2016 18:10:31 -0700 (PDT) From: npostavs@users.sourceforge.net To: Aaron Sokoloski Subject: Re: bug#21144: Performance problem with certain text editing operations (emacs 24.4.1) References: Date: Tue, 09 Aug 2016 21:10:39 -0400 In-Reply-To: (Aaron Sokoloski's message of "Mon, 27 Jul 2015 16:57:08 +0100") Message-ID: <87oa51h1io.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21144 Cc: 21144@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 21144 moreinfo quit Aaron Sokoloski writes: > Hi folks, > > I've run into something that I can't figure out. Emacs 24.4.1 usually hangs for a short time (on the order of a second) when I do one of these things: > > 1) Kill a line > 2) Kill a region > 3) run kill-ring save > > It seems to be slow to do anything that copies text to the kill ring. Occasionally it seems like something I do (can't figure out what) makes it temporarily fast again, but > then gradually slow down again until it takes about 1 second. It doesn't happen all the time, but when it happens it happens pretty reliably. > > The -q option does not make any difference. Font-lock-mode doesn't make any difference, nor does the size of the buffer seem to. > > Nothing exciting seems to show up under profiling -- the big cpu users are just the profiling stuff like the report. Also, setting debug-on-quit and pressing ctrl-g during the > lag doesn't make the debugger pop up. > > However, I can't seem to reproduce the lag when running with -nw, so maybe it's something with the windowing. > > I'm running debian jesse, with awesome window manager version v3.4.15. > > As you can imagine, this is pretty distracting, so I'd appreciate any help anyone can provide! Do you still see this with more recent Emacs? If yes, are you running any kind of daemon that monitors the clipboard? The symptoms sound a bit like http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24013 "[KDE/Plasma 5] Emacs 25.x uses up all memory and needs to be killed". Also, if you can add the details that report-emacs-bug usually gives, whether you're using gtk or lucid toolkit could be significant. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 16:04:38 2016 Received: (at control) by debbugs.gnu.org; 7 Dec 2016 21:04:38 +0000 Received: from localhost ([127.0.0.1]:60360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEjOI-0008JN-3C for submit@debbugs.gnu.org; Wed, 07 Dec 2016 16:04:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEjOG-0008J1-5A for control@debbugs.gnu.org; Wed, 07 Dec 2016 16:04:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEjOA-0001hk-Fd for control@debbugs.gnu.org; Wed, 07 Dec 2016 16:04:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEjOA-0001hg-Bq for control@debbugs.gnu.org; Wed, 07 Dec 2016 16:04:30 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEjOA-0004O2-40 for control@debbugs.gnu.org; Wed, 07 Dec 2016 16:04:30 -0500 Subject: control message for bug 21144 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 07 Dec 2016 16:04:30 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) tag 21144 + wontfix From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 16:04:32 2016 Received: (at 21144-done) by debbugs.gnu.org; 7 Dec 2016 21:04:32 +0000 Received: from localhost ([127.0.0.1]:60357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEjOB-0008J3-S7 for submit@debbugs.gnu.org; Wed, 07 Dec 2016 16:04:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEjOA-0008Ip-CV for 21144-done@debbugs.gnu.org; Wed, 07 Dec 2016 16:04:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEjO4-0001g9-E6 for 21144-done@debbugs.gnu.org; Wed, 07 Dec 2016 16:04:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEjO4-0001ft-AG for 21144-done@debbugs.gnu.org; Wed, 07 Dec 2016 16:04:24 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEjO3-0004Nc-Tm; Wed, 07 Dec 2016 16:04:23 -0500 From: Glenn Morris To: 21144-done@debbugs.gnu.org Subject: Re: bug#21144: Performance problem with certain text editing operations (emacs 24.4.1) References: <87oa51h1io.fsf@users.sourceforge.net> X-Spook: H1N1 22nd SAS MIT-LL Hamas Iran IED Dateline NWO X-Ran: kcQtYiR>QFsYD5%W~HN6-^oD%:XARMo[\X'crAn)f(ufYc[?M70L},gq3+wHKB]S,UK0Ol X-Hue: red X-Attribution: GM Date: Wed, 07 Dec 2016 16:04:23 -0500 In-Reply-To: <87oa51h1io.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Tue, 09 Aug 2016 21:10:39 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 21144-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) npostavs@users.sourceforge.net wrote: > Do you still see this with more recent Emacs? If yes, are you running > any kind of daemon that monitors the clipboard? The symptoms sound a > bit like http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24013 "[KDE/Plasma > 5] Emacs 25.x uses up all memory and needs to be killed". > > Also, if you can add the details that report-emacs-bug usually gives, > whether you're using gtk or lucid toolkit could be significant. No response in months, closing. From unknown Tue Jun 24 22:35:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Jan 2017 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator