From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Sokoloski Newsgroups: gmane.emacs.bugs Subject: bug#21144: Performance problem with certain text editing operations (emacs 24.4.1) Date: Mon, 27 Jul 2015 16:57:08 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0160a24016d2ed051bdd693e X-Trace: ger.gmane.org 1438012825 25571 80.91.229.3 (27 Jul 2015 16:00:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2015 16:00:25 +0000 (UTC) To: 21144@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 27 18:00:17 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZJkp5-0006md-49 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 18:00:15 +0200 Original-Received: from localhost ([::1]:54289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkp4-0001cX-KV for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 12:00:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkoy-0001YN-8c for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 12:00:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJkox-0000SU-7T for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 12:00:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkow-0000QT-NN for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 12:00:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZJkow-0001by-2p for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 12:00:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Sokoloski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jul 2015 16:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21144 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14380127806124 (code B ref -1); Mon, 27 Jul 2015 16:00:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jul 2015 15:59:40 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-Received: by 10.112.73.65 with HTTP; Mon, 27 Jul 2015 08:57:08 -0700 (PDT) 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-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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105166 Archived-At: --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--