From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.help Subject: Re: X window paste takes 12 seconds Date: Fri, 11 Dec 2015 08:59:07 -0600 Message-ID: References: <59C89320-B316-4601-927B-DE629922C968@gmail.com> <6EBA45CA-7678-4871-84D2-368C606EE395@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1449845985 23705 80.91.229.3 (11 Dec 2015 14:59:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Dec 2015 14:59:45 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: "Ludwig, Mark" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 11 15:59:40 2015 Return-path: Envelope-to: geh-help-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 1a7PAW-0003eu-Ed for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Dec 2015 15:59:36 +0100 Original-Received: from localhost ([::1]:47999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7PAV-0002x6-Sh for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Dec 2015 09:59:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7PAC-0002q9-Jj for help-gnu-emacs@gnu.org; Fri, 11 Dec 2015 09:59:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7PA7-0003o9-5c for help-gnu-emacs@gnu.org; Fri, 11 Dec 2015 09:59:16 -0500 Original-Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:34998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7PA7-0003nw-0d for help-gnu-emacs@gnu.org; Fri, 11 Dec 2015 09:59:11 -0500 Original-Received: by oige4 with SMTP id e4so4358716oig.2 for ; Fri, 11 Dec 2015 06:59:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8/KKEy4srB8fQYhrv+4+UkXZWF4rIPQ9VdLS1TsNO10=; b=Iba+5u+RmZjGKKWalz8aqy0FXIBC2DQ8H9gMDnbn4roj0AtdU2edMvw9WeCPGruFek VZydK/puzo/eDk9EC7wC4kaaE3B8dg4/BzZ1qo8qFO9DNVhvGHglDQAFSXJ3m40RMMOW PYc1sW+kUyaIXYTQshyHDBCA2g1B48Zyn1cGan/ZvYEcVKWBkUFphLy7kbUnKVyOrusC g7YPPLsdMat2Xq7yMpajXMRCR0jsSAhep2EeyTPBuwWmyw0wTD16O7YmD5oURvYJRsFs 50VgLF7EP0kbJ7hMyvwfXzxIRN+GNm99CJb12UuqA4nO6fOTWKCbwTfidCONgQkCVeoE op3g== X-Received: by 10.202.227.199 with SMTP id a190mr12889288oih.35.1449845950499; Fri, 11 Dec 2015 06:59:10 -0800 (PST) Original-Received: from [192.168.1.18] ([64.128.19.234]) by smtp.gmail.com with ESMTPSA id dg9sm8670854obb.22.2015.12.11.06.59.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Dec 2015 06:59:09 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3112) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::230 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108365 Archived-At: > On Dec 11, 2015, at 7:56 AM, Ludwig, Mark = wrote: >=20 >> From: Perry Smith, Friday, December 11, 2015 7:45 AM >>=20 >>> On Dec 11, 2015, at 7:27 AM, Ludwig, Mark >> wrote: >>>=20 >>>> From: Perry Smith, Thursday, December 10, 2015 6:31 PM >>>>=20 >>>> Sometime back I had problems with X and paste when I updated my = emacs. >> At >>>> that point, I purchased a VNC server from Real VNC and started = using it and >> that >>>> mostly solved my issues. >>>>=20 >>>> Now with emacs 24.5, I have paste issues again. >>>>=20 >>>> I go to an X window being displayed on the same server (I don=E2=80=99= t know X >>>> terminology precisely) and highlight some text. With my window = manager >>>> (motif), that does a copy. >>>>=20 >>>> Now, I go to the emacs window (frame) and hit ^Y to paste what I = just >>>> highlighted. It does, but it takes up to 12 seconds and during the = 12 seconds, >>>> emacs is frozen. >>>>=20 >>>> emacs is running on AIX 6.1 or AIX 7.1. >>>>=20 >>>> emacs -q still demonstrates the problem. emacs 24.3 does not. I = don=E2=80=99t have >> a >>>> copy of emacs 24.4 to test with. >>>>=20 >>>> Does anyone have a clue how to fix or avoid this issue? >>>=20 >>> I don't, but wanted to at least add "me too," because I have been = living >>> with this in Emacs 24.4 on Solaris. >>>=20 >>> I'd assumed it has something to do with using eXceed -- but don't = have >>> any facts around that assumption (no ability to test without = eXceed). >>>=20 >>> (Emacs is running on Solaris, with its display on a Windows = machine.) >>=20 >> Thanks. That helps. So it appears to have started in 24.4. >=20 > I'd be careful about that assumption. There are a lot of > components involved. I don't remember whether anything else > changed at the same time. For example, I might have started > using different versions of Windows and eXceed (I know > those two go together, because of the way machines are > provisioned at my employer). >=20 > What I remember was building Emacs 24.4 myself on Solaris > for the first time in almost two decades. >=20 > I might also add that I have variability of paste behavior. > Sometimes, Control-y pastes from the X buffer and sometimes > I have to use Mouse Button 2. MB2 always does it. I don't > understand why C-y has variable behavior, but I have similar > challenges in other X applications, so I'm pretty sure > /that/ aspect is about eXceed. >=20 >> I=E2=80=99ll wait a bit hoping someone else might chime in. But if = all else fells, >> I=E2=80=99ll take off my shoes and socks and wade into the code. = Between truss >> and trace on AIX, I should be able to figure out something. >=20 > Sure, that might help. I'm not afraid to get into the code. > I just haven't assumed it's actually an Emacs bug.... I just did a simple apples to apples test. For me, 24.3 does not have = the issue but 24.4 does. (and 24.5 does). In your case, depending upon how big a jump you did with the emacs versions=E2=80=A6 I know somewhere in the past five years they removed support for some X feature that the old AIX VNC server depended upon =E2=80=94 something to do with CLIPBOARD or COPYBUFFERS or something. That might be what you are seeing. In that case, the paste didn=E2=80=99t work at all. In this case, it does but = takes 10 to 12 seconds to show up and emacs appears frozen during that time. Thanks for the tips=E2=80=A6 Onward through the smog! Perry