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 10:17:53 +0300 Message-ID: <871v9fqmhq.fsf@kobe.laptop> References: <87wrr8q7bq.fsf@kobe.laptop> <8739tvhf33.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 1283240266 15043 80.91.229.12 (31 Aug 2010 07:37:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 07:37:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 31 09:37:44 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 1OqLPU-0005ik-O2 for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 09:37:37 +0200 Original-Received: from localhost ([127.0.0.1]:51981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqLEQ-0004nK-8L for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 03:26:10 -0400 Original-Received: from [140.186.70.92] (port=49051 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqLCS-0002Ke-J1 for emacs-devel@gnu.org; Tue, 31 Aug 2010 03:24:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqL6p-0001vW-Pg for emacs-devel@gnu.org; Tue, 31 Aug 2010 03:18:21 -0400 Original-Received: from igloo.linux.gr ([62.1.205.36]:55432) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqL6p-0001vC-D9 for emacs-devel@gnu.org; Tue, 31 Aug 2010 03:18:19 -0400 X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.5, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_05 -0.50) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o7V7I2E1021364 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 o7V7I2E1021364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 Aug 2010 10:18:08 +0300 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o7V7Huwn009245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Aug 2010 10:17:56 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o7V7Hsje009239; Tue, 31 Aug 2010 10:17:54 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) In-Reply-To: <8739tvhf33.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 30 Aug 2010 19:10:24 -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:129478 Archived-At: On Mon, 30 Aug 2010 19:10:24 -0400, Chong Yidong wrote: > Giorgos Keramidas writes: > >> When running in 'emacs -nw' mode, the latest builds of trunk on my >> laptop display an error in the modeline: >> >> X windows are not in use or not initialized > > Could you try to figure out what code is emitting this error? Run Emacs > in gdb with checkpoints on `error'. The stack trace is: (gdb) bt #0 error (m=0x81f8cd0 "X windows are not in use or not initialized") at eval.c:2035 #1 0x080ee3fd in check_x () at xfns.c:220 #2 0x080fac47 in Fx_own_selection_internal (selection_name=138393082, selection_value=145865153) at xselect.c:2075 #3 0x0818e388 in Ffuncall (nargs=3, args=0xbfbfe120) at eval.c:2993 #4 0x081c36c9 in Fbyte_code (bytestr=137023001, vector=137023021, maxdepth=Variable "maxdepth" is not available. ) at bytecode.c:679 #5 0x0818ddf4 in funcall_lambda (fun=137022965, nargs=2, arg_vector=0xbfbfe260) at eval.c:3174 #6 0x0818e10f in Ffuncall (nargs=3, args=0xbfbfe25c) at eval.c:3047 #7 0x0818e5db in call2 (fn=138393058, arg1=138393082, arg2=145865153) at eval.c:2804 #8 0x08133484 in command_loop_1 () at keyboard.c:1814 #9 0x0818cc5b in internal_condition_case (bfun=0x8132600 , handlers=138406226, hfun=0x812cec0 ) at eval.c:1460 #10 0x0812cb63 in command_loop_2 (ignore=138352666) at keyboard.c:1338 #11 0x0818cd15 in internal_catch (tag=138404346, func=0x812cb40 , arg=138352666) at eval.c:1204 #12 0x0812cd11 in command_loop () at keyboard.c:1317 #13 0x0812d08b in recursive_edit_1 () at keyboard.c:940 #14 0x0812d1c1 in Frecursive_edit () at keyboard.c:1002 #15 0x08122425 in main (argc=2, argv=0xbfbfe5dc) at emacs.c:1704 Lisp Backtrace: "x-own-selection-internal" (0xbfbfe124) "x-set-selection" (0xbfbfe260) (gdb)