From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: trunk is trying to access X windows selection in -nw mode Date: Tue, 31 Aug 2010 20:40:53 +0300 Message-ID: <87pqwyptne.fsf@kobe.laptop> References: <87wrr8q7bq.fsf@kobe.laptop> <8739tvhf33.fsf@stupidchicken.com> <871v9fqmhq.fsf@kobe.laptop> <87zkw2rcqz.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283276511 10941 80.91.229.12 (31 Aug 2010 17:41:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 17:41:51 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 31 19:41:50 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqUq6-00057K-Ik for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 19:41:44 +0200 Original-Received: from localhost ([127.0.0.1]:38713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqUpt-0006kC-9p for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 13:41:29 -0400 Original-Received: from [140.186.70.92] (port=57257 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqUpl-0006hm-OR for emacs-devel@gnu.org; Tue, 31 Aug 2010 13:41:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqUpk-00055t-N3 for emacs-devel@gnu.org; Tue, 31 Aug 2010 13:41:21 -0400 Original-Received: from igloo.linux.gr ([62.1.205.36]:35994) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqUpi-00055H-Tg; Tue, 31 Aug 2010 13:41:19 -0400 X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o7VHf06D031628 Original-Received: from kobe.laptop (178.128.0.248.dsl.dyn.forthnet.gr [178.128.0.248]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o7VHf06D031628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 Aug 2010 20:41:06 +0300 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o7VHesSp013715 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Aug 2010 20:40:54 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o7VHerW0013712; Tue, 31 Aug 2010 20:40:53 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) In-Reply-To: <87zkw2rcqz.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 31 Aug 2010 12:02:59 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129507 Archived-At: On Tue, 31 Aug 2010 12:02:59 -0400, Chong Yidong wrote: > Eli Zaretskii writes: > >> The culprit is the code below in keyboard.c, it should never call >> x-set-selection if the frame returns nil from display-selections-p >> (this could be replaced with a test of the frame kind). > > Thanks, I've checked just such a fix. Excellent :) Thanks to both Eli and you