From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Ports Newsgroups: gmane.emacs.bugs Subject: bug#4070: 23.1; ns: cut buffers don't work with --daemon Date: Thu, 6 Aug 2009 18:53:23 -0400 Message-ID: <20090806225323.GB3854@mit.edu> Reply-To: Dan Ports , 4070@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249621445 22849 80.91.229.12 (7 Aug 2009 05:04:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Aug 2009 05:04:05 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 07 07:03:56 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MZHcN-00041e-8Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 07:03:51 +0200 Original-Received: from localhost ([127.0.0.1]:38291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZHcM-0005Xl-BL for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 01:03:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZC2x-0007Qf-Kh for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 19:06:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZC2t-0007K7-2f for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 19:06:55 -0400 Original-Received: from [199.232.76.173] (port=42971 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZC2s-0007Jt-LF for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 19:06:50 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42427) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZC2s-00086O-1l for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 19:06:50 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n76N6mRx008211; Thu, 6 Aug 2009 16:06:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n76N046e006830; Thu, 6 Aug 2009 16:00:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Ports Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 06 Aug 2009 23:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4070 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12495992116373 (code B ref -1); Thu, 06 Aug 2009 23:00:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 6 Aug 2009 22:53:31 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n76MrT3U006370 for ; Thu, 6 Aug 2009 15:53:30 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZBpx-0002tl-03 for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 18:53:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZBps-0002tL-GQ for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 18:53:28 -0400 Original-Received: from [199.232.76.173] (port=33456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZBps-0002tI-BX for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 18:53:24 -0400 Original-Received: from none-thirtyfour-fifty.mit.edu ([18.141.0.190]:54502 helo=midnight-anchovy.ambulatoryclam.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZBpr-0006a1-Vy for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 18:53:24 -0400 Original-Received: by midnight-anchovy.ambulatoryclam.net (Postfix, from userid 1001) id 3D4414AC27; Thu, 6 Aug 2009 18:53:23 -0400 (EDT) Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 06 Aug 2009 19:06:55 -0400 X-Mailman-Approved-At: Fri, 07 Aug 2009 01:03:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29948 Archived-At: I'm using the Aqua (ns) port interface on OS X. After starting emacs with --daemon and firing up an emacs client, it's unable to access the cut buffers, causing killing/yanking to fail. Specifically, ns-store-cut-buffer-internal fails silently, and ns-get-cut-buffer-internal fails with the message "empty or unsupported pasteboard type". I'm guessing that some part of the ns interface isn't being initialized properly when started headless, and presumably it's part of the C code given that ns-{get/set}-cut-buffer-internal fail. But this is already straining at the limits of my knowledge of emacs internals. In GNU Emacs 23.1.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46) of 2009-08-05 on ambulatory-clam.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--prefix=/opt/local' '--with-ns' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2' 'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include' 'CPP=/usr/bin/cpp-4.0''