all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Ports <drkp@mit.edu>
To: Adrian Robert <adrian.b.robert@gmail.com>
Cc: 4070@emacsbugs.donarmstrong.com
Subject: bug#4070: 23.1; ns: cut buffers don't work with --daemon
Date: Sat, 19 Sep 2009 03:17:15 -0400	[thread overview]
Message-ID: <20090919071715.GB19788@csail.mit.edu> (raw)
In-Reply-To: <59C9CE56-9D09-43E5-B94E-B2B3F69254EE@gmail.com>

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 <file>
  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





  reply	other threads:[~2009-09-19  7:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 22:31 bug#4070: 23.1; ns: cut buffers don't work with --daemon Adrian Robert
2009-09-19  7:17 ` Dan Ports [this message]
2009-09-19 11:36   ` Adrian Robert
2009-09-20  4:57     ` Dan Ports
2009-09-20 12:17       ` Adrian Robert
2009-11-28  1:17         ` Dan Ports
2010-01-20  4:54           ` Dan Ports
2010-01-20 15:24             ` Adrian Robert
2010-01-20 17:47               ` Dan Ports
2013-01-04  7:54                 ` Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2009-08-06 22:53 Dan Ports

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090919071715.GB19788@csail.mit.edu \
    --to=drkp@mit.edu \
    --cc=4070@emacsbugs.donarmstrong.com \
    --cc=adrian.b.robert@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.