GNU bug report logs - #6702
24.0.50; Can't yank text on Mac OS X

Previous Next

Packages: ns, emacs;

Reported by: Magnus Henoch <magnus.henoch <at> gmail.com>

Date: Thu, 22 Jul 2010 10:08:01 UTC

Severity: normal

Merged with 6677, 6680, 6752, 6801

Found in version 24.0.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6702 in the body.
You can then email your comments to 6702 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6702; Package emacs. (Thu, 22 Jul 2010 10:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Magnus Henoch <magnus.henoch <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 22 Jul 2010 10:08:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Magnus Henoch <magnus.henoch <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; Can't yank text on Mac OS X
Date: Thu, 22 Jul 2010 11:31:27 +0200
Running Emacs from bzr on Mac OS 10.6.4, if I mark some text, save it
with M-w, and then try to yank it with C-y, I get the error message
'Quit: "pasteboard doesn't contain valid data"'.  (See keystrokes and
message log below.)

Also, I can't paste the saved text into another application.  However,
if I copy text from another application, I can yank it into Emacs with
C-y.

Only M-w and C-w seem to be affected; text killed with M-d and C-k can
be yanked and pasted.

Everything used to work as expected in Emacs 23.2.


In GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32)
 of 2010-07-20 on Magnus-Henochs-MacBook-Pro.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-SPC <up> <up> <up> <up> M-w <C-down> C-y M-x r e 
p o r t - e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set [2 times]
Quit: "pasteboard doesn't contain valid data"

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug
tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process ns multi-tty emacs)




Merged 6680 6702. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 22 Jul 2010 18:23:01 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6702; Package emacs,ns. (Thu, 29 Jul 2010 16:20:03 GMT) Full text and rfc822 format available.

Message #10 received at 6702 <at> debbugs.gnu.org (full text, mbox):

From: Magnus Henoch <magnus.henoch <at> gmail.com>
To: 6702 <at> debbugs.gnu.org
Subject: Re: bug#6702: 24.0.50; Can't yank text on Mac OS X
Date: Thu, 29 Jul 2010 18:20:00 +0200
Magnus Henoch <magnus.henoch <at> gmail.com> writes:

> Running Emacs from bzr on Mac OS 10.6.4, if I mark some text, save it
> with M-w, and then try to yank it with C-y, I get the error message
> 'Quit: "pasteboard doesn't contain valid data"'.  (See keystrokes and
> message log below.)
>
> Also, I can't paste the saved text into another application.  However,
> if I copy text from another application, I can yank it into Emacs with
> C-y.
>
> Only M-w and C-w seem to be affected; text killed with M-d and C-k can
> be yanked and pasted.

Correction: I figured out that the nature of the problem is different.
When I mark a region of text with C-SPC and movement keys, everything
works fine if I then hit M-w _twice_.  After the first press, the
highlighting disappears, and after the second press, the cursor briefly
blinks at the mark, signalling that the text was actually saved.

I'll dig deeper into this when I find time...

Magnus




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6702; Package emacs,ns. (Thu, 29 Jul 2010 20:46:02 GMT) Full text and rfc822 format available.

Message #13 received at 6702 <at> debbugs.gnu.org (full text, mbox):

From: David De La Harpe Golden <david <at> harpegolden.net>
To: Magnus Henoch <magnus.henoch <at> gmail.com>
Cc: 6702 <at> debbugs.gnu.org, yandros <at> MIT.EDU
Subject: Re: bug#6702: 24.0.50; Can't yank text on Mac OS X
Date: Thu, 29 Jul 2010 21:46:07 +0100
On 29/07/10 17:20, Magnus Henoch wrote:
> Magnus Henoch<magnus.henoch <at> gmail.com>  writes:
>
>> Running Emacs from bzr on Mac OS 10.6.4, if I mark some text, save it
>> with M-w, and then try to yank it with C-y, I get the error message
>> 'Quit: "pasteboard doesn't contain valid data"'.  (See keystrokes and
>> message log below.)
>>
>> Also, I can't paste the saved text into another application.  However,
>> if I copy text from another application, I can yank it into Emacs with
>> C-y.
>>
>> Only M-w and C-w seem to be affected; text killed with M-d and C-k can
>> be yanked and pasted.
>
> Correction: I figured out that the nature of the problem is different.
> When I mark a region of text with C-SPC and movement keys, everything
> works fine if I then hit M-w _twice_.  After the first press, the
> highlighting disappears, and after the second press, the cursor briefly
> blinks at the mark, signalling that the text was actually saved.
>

Hmm. Not that it helps you exactly, but that's actually a bit less 
broken than I thought.  Please note, there are several known issues in 
this area on macosx and other platforms owing to some recent changes to 
defaults.

see e.g. #6677 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6677

See:
http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg01314.html
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6720#20

for instructions on reverting the new behaviour for now if you want to.

I will be looking at the area over this weekend, anyway, on x11/w32/ns.
















Merged 6680 6702 6752 6801. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 12 Aug 2010 22:37:02 GMT) Full text and rfc822 format available.

Forcibly Merged 6677 6680 6702 6752 6801. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 23 Aug 2010 22:52:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 21 Sep 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 326 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.