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: Sat, 19 Sep 2009 03:17:15 -0400 Message-ID: <20090919071715.GB19788@csail.mit.edu> References: <59C9CE56-9D09-43E5-B94E-B2B3F69254EE@gmail.com> 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 1253345263 23238 80.91.229.12 (19 Sep 2009 07:27:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Sep 2009 07:27:43 +0000 (UTC) Cc: 4070@emacsbugs.donarmstrong.com To: Adrian Robert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 19 09:27:35 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 1MouM3-0002ib-5c for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 09:27:35 +0200 Original-Received: from localhost ([127.0.0.1]:57210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MouM2-0004nl-I8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 03:27:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MouLd-0004ix-PR for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2009 03:27:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MouLZ-0004hl-Pr for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2009 03:27:09 -0400 Original-Received: from [199.232.76.173] (port=34691 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MouLZ-0004hi-Kw for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2009 03:27:05 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:3790) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MouLY-0007rn-Uo for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2009 03:27:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MouLX-0007Cw-VQ for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2009 03:27:04 -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 n8J7R2aH004832; Sat, 19 Sep 2009 00:27:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8J7P5oF004543; Sat, 19 Sep 2009 00:25:05 -0700 Resent-Date: Sat, 19 Sep 2009 00:25:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Ports Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com 2Resent-Date: Sat, 19 Sep 2009 07:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4070 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Original-Received: via spool by 4070-submit@emacsbugs.donarmstrong.com id=B4070.12533446383726 (code B ref 4070); Sat, 19 Sep 2009 07:25:05 +0000 Original-Received: (at 4070) by emacsbugs.donarmstrong.com; 19 Sep 2009 07:17:18 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from midnight-anchovy.ambulatoryclam.net (IDENT:dan@[18.141.0.210]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8J7HGpb003632 for <4070@emacsbugs.donarmstrong.com>; Sat, 19 Sep 2009 00:17:17 -0700 Original-Received: by midnight-anchovy.ambulatoryclam.net (Postfix, from userid 1001) id DC49F4AC3B; Sat, 19 Sep 2009 03:17:15 -0400 (EDT) Content-Disposition: inline In-Reply-To: <59C9CE56-9D09-43E5-B94E-B2B3F69254EE@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Sat, 19 Sep 2009 03:27:09 -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:31285 Archived-At: On Fri, Sep 18, 2009 at 06:31:18PM -0400, Adrian Robert wrote: > Can you post your exact steps to reproduce? Also, could you try > doing the build with just "./configure --with-ns"? I'm not sure of > the effect of all the extra arguments you are giving. So, I just experimented with it some more to get you the exact steps to reproduce. Along the way I realized that the problem is apparently something different. I'll provide the steps to reproduce below, but first the insight I just had: everything seems to work perfectly fine unless I'm launching Emacs from a shell inside GNU screen. It seems to work fine launched from a shell in Apple's Terminal or a rxvt in X11, but not when running screen. This is strange. I do not know why this is. It doesn't actually have anything to do with daemon mode after all, as far as I can tell -- I just thought it did before because I launched Emacs --daemon from my shell whereas I opened Emacs.app from the GUI. I will experiment with this a bit more but I'm still rather confused. For the record, the steps to reproduce (not that I expect you'll find anything about them especially surprising). This is with a fresh build of emacs-23.1 with only --with-ns 1) ./nextstep/Emacs.app/Contents/MacOS/Emacs 2) set mark and copy some text with M-w 3) try to yank wih C-y; get message "empty or unsupported pasteboard type" 4) show the clipboard (Edit: Show Clipboard in the Finder); notice that the clipboard contents weren't set by Emacs To poke the internals some more: 5) eval (ns-set-cut-buffer-internal 'PRIMARY "test"); no error but clipboard contents don't change (should be replaced with "test") 6) eval (ns-get-cut-buffer-internal 'PRIMARY); get "empty or unsupported pasteboard type error" Dan