From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Jul 2010 10:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6677@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1279620793576 (code B ref -1); Tue, 20 Jul 2010 10:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jul 2010 10:13:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ob9p3-00009F-CL for submit@debbugs.gnu.org; Tue, 20 Jul 2010 06:13:13 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ob9p0-00009A-5l for submit@debbugs.gnu.org; Tue, 20 Jul 2010 06:13:11 -0400 Received: from lists.gnu.org ([199.232.76.165]:50789) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ob9pN-0006X8-En for submit@debbugs.gnu.org; Tue, 20 Jul 2010 06:13:33 -0400 Received: from [140.186.70.92] (port=46666 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ob9pL-0001bt-N7 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 06:13:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ob9pK-0000iC-Jw for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 06:13:31 -0400 Received: from mout0.freenet.de ([195.4.92.90]:45109) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ob9pK-0000hq-8S for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 06:13:30 -0400 Received: from [195.4.92.21] (helo=11.mx.freenet.de) by mout0.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1Ob9pH-0007Bf-FP for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 12:13:27 +0200 Received: from p5b23e4a3.dip.t-dialin.net ([91.35.228.163]:62720 helo=[192.168.1.2]) by 11.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1Ob9pH-0001t0-17 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 12:13:27 +0200 Message-Id: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> From: Peter Dyballa Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 20 Jul 2010 12:13:24 +0200 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.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) X-Spam-Score: -4.9 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) Hello! Although it obviously works to copy some text in an X client or in a =20 Mac OS X application and paste it into the *scratch* buffer it does =20 not work to mark some text in any buffer of the NS variant and either =20= use the Copy entry from the Edit menu or just press =E2=8C=98-C (Cmd-C) = and =20 insert (paste) it into the X client or a Mac OS X application (the =20 name of the application in the =EF=A3=BF bar only flashes, because some = bad =20 content, not fitting into the text pane, is held in pasteboard?). Additionally double-click to mark a word is interpreted as , bound to mouse-drag-region. I don't think that =20 this is desirable... In GNU Emacs 24.0.50.1 (powerpc-apple-darwin9.8.0, NS apple-=20 appkit-949.54) of 2010-07-16 on Latsche.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--without-sound' '--without-dbus' '--=20 without-pop' '--without-gconf' '--with-ns' '--disable-ns-self-=20 contained' '--x-libraries=3D/usr/X11/lib' '--x-includes=3D/usr/X11/=20 include' '--enable-locallisppath=3D/Library/Application Support/Emacs/=20= calendar24:/Library/Application Support/Emacs' 'CFLAGS=3D-g -H -Wno-=20 pointer-sign -pipe -fPIC -fno-common -mcpu=3D7450 -mtune=3D7450 -O0' =20 'CPPFLAGS=3D' 'LDFLAGS=3D' 'PKG_CONFIG_PATH=3D/sw/lib/pango-ft219/lib/=20= pkgconfig:/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/lib/=20 pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pkgconfig:/sw/=20 share/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/=20 share/pkgconfig'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: nXML Minor modes in effect: image-minor-mode: t 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-h v i m a g e - t y s C-x C-f s-v C-c C-c Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Type C-x 1 to delete the help window. Note: file is write protected Using vacuous schema Type C-c C-c to view the image as an image. Cannot display image: (Invalid image type `svg') Using vacuous schema Type C-c C-c to view the image as an image. Cannot display image: (Invalid image type `svg') Load-path shadows: /Library/Application Support/Emacs/calendar24/solar hides /usr/local/=20 share/emacs/24.0.50/lisp/calendar/solar /Library/Application Support/Emacs/calendar24/lunar hides /usr/local/=20 share/emacs/24.0.50/lisp/calendar/lunar /Library/Application Support/Emacs/calendar24/holidays hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/holidays /Library/Application Support/Emacs/calendar24/diary-lib hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/diary-lib /Library/Application Support/Emacs/calendar24/calendar hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/calendar /Library/Application Support/Emacs/calendar24/cal-x hides /usr/local/=20 share/emacs/24.0.50/lisp/calendar/cal-x /Library/Application Support/Emacs/calendar24/cal-move hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/cal-move /Library/Application Support/Emacs/calendar24/cal-menu hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/cal-menu 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 nxml-uchnm rng-xsd xsd-regexp rng-cmpct regexp-opt rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok image-mode pp help-mode view help-fns 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) -- Mit friedvollen Gr=C3=BC=C3=9Fen Pete =3D=3D=3D -Q =3D=3D<__/% >> _____________(_)____@_____________________________ From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Jul 2010 22:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6677@debbugs.gnu.org Cc: Peter Dyballa , Chong Yidong Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.127966431822502 (code B ref 6677); Tue, 20 Jul 2010 22:19:02 +0000 Received: (at 6677) by debbugs.gnu.org; 20 Jul 2010 22:18:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObL93-0005qs-Kj for submit@debbugs.gnu.org; Tue, 20 Jul 2010 18:18:37 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObL90-0005qn-SF for 6677@debbugs.gnu.org; Tue, 20 Jul 2010 18:18:35 -0400 Received: from [87.198.55.208] (87-198-55-208.ptr.magnet.ie [87.198.55.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 7172B68436; Tue, 20 Jul 2010 23:18:56 +0100 (IST) Message-ID: <4C4620D0.70704@harpegolden.net> Date: Tue, 20 Jul 2010 23:18:56 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> In-Reply-To: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> Content-Type: multipart/mixed; boundary="------------040900070007080207080108" X-Spam-Score: -2.5 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) This is a multi-part message in MIME format. --------------040900070007080207080108 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 20/07/10 11:13, Peter Dyballa wrote: > Hello! > > Although it obviously works to copy some text in an X client or in a Ma= c > OS X application and paste it into the *scratch* buffer it does not wor= k > to mark some text in any buffer of the NS variant and either use the > Copy entry from the Edit menu or just press =E2=8C=98-C (Cmd-C) and ins= ert > (paste) it into the X client or a Mac OS X application (the name of the > application in the =EF=A3=BF bar only flashes, because some bad content= , not > fitting into the text pane, is held in pasteboard?). > My MacOSX/GNUStep/ObjC, while not quite non-existent, is not amazing. But it looks to me like src/nsselect.m needs some adjustment so it can=20 handle recent changes to defaults (and N.B. in fact to handle settings=20 that have been possible for a long time) It looks like it has been mapping NSGeneralPBoard (the macosx "normal"=20 cut/copy/paste clipboard) to an emulated X11 PRIMARY, when in fact=20 NSGeneralPBoard is much more closely analagous to X11 CLIPBOARD. *** Since x11 emacs is now actually using X11 CLIPBOARD, it is likely=20 that the attached _untested_ but minor patch or something very like it=20 is correct on nextstep. Can you try building an emacs with the patch on macosx? Note that even with the patch applied, it may not act quite the same as=20 before, but that is not necessarily a bug but rather a change. (N.B. it should be possible to get historical behaviour back (even=20 though looking at nsselect.m it was probably a bit odd) by twiddling=20 customizations). > Additionally double-click to mark a word is interpreted as > , bound to mouse-drag-region. I don't think tha= t > this is desirable... N.B. Mouse-drag-region calls mouse-drag-track which calls=20 mouse-start-end to _implement_ double-click to mark a word, perhaps not=20 intuitively given the name. So does double-clicking nonetheless actually=20 mark the word on NS? --------------040900070007080207080108 Content-Type: text/x-patch; name="ns-clipboard-pboard_r1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ns-clipboard-pboard_r1.diff" --- src/nsselect.m.orig 2010-07-20 22:44:08.000000000 +0100 +++ src/nsselect.m 2010-07-20 22:53:05.000000000 +0100 @@ -31,51 +31,56 @@ #include #include "lisp.h" #include "nsterm.h" #include "termhooks.h" #define CUT_BUFFER_SUPPORT -Lisp_Object QPRIMARY, QSECONDARY, QTEXT, QFILE_NAME; +Lisp_Object QCLIPBOARD, QPRIMARY, QSECONDARY, QTEXT, QFILE_NAME; static Lisp_Object Vns_sent_selection_hooks; static Lisp_Object Vns_lost_selection_hooks; static Lisp_Object Vselection_alist; static Lisp_Object Vselection_converter_alist; static Lisp_Object Qforeign_selection; +/* NSGeneralPboard is pretty much analogous to X11 CLIPBOARD */ +NSString *NXPrimaryPboard; NSString *NXSecondaryPboard; /* ========================================================================== Internal utility functions ========================================================================== */ static NSString * symbol_to_nsstring (Lisp_Object sym) { CHECK_SYMBOL (sym); - if (EQ (sym, QPRIMARY)) return NSGeneralPboard; + if (EQ (sym, QCLIPBOARD)) return NSGeneralPboard; + if (EQ (sym, QPRIMARY)) return NXPrimaryPboard; if (EQ (sym, QSECONDARY)) return NXSecondaryPboard; if (EQ (sym, QTEXT)) return NSStringPboardType; return [NSString stringWithUTF8String: SDATA (XSYMBOL (sym)->xname)]; } static Lisp_Object ns_string_to_symbol (NSString *t) { if ([t isEqualToString: NSGeneralPboard]) + return QCLIPBOARD; + if ([t isEqualToString: NXPrimaryPboard]) return QPRIMARY; if ([t isEqualToString: NXSecondaryPboard]) return QSECONDARY; if ([t isEqualToString: NSStringPboardType]) return QTEXT; if ([t isEqualToString: NSFilenamesPboardType]) return QFILE_NAME; if ([t isEqualToString: NSTabularTextPboardType]) @@ -531,22 +536,24 @@ return Qnil; } #endif void nxatoms_of_nsselect (void) { - NXSecondaryPboard = @"Selection"; + NXPrimaryPboard = @"PrimarySelection"; + NXSecondaryPboard = @"SecondarySelection"; } void syms_of_nsselect (void) { + QCLIPBOARD = intern ("CLIPBOARD"); staticpro (&QCLIPBOARD); QPRIMARY = intern ("PRIMARY"); staticpro (&QPRIMARY); QSECONDARY = intern ("SECONDARY"); staticpro (&QSECONDARY); QTEXT = intern ("TEXT"); staticpro (&QTEXT); QFILE_NAME = intern ("FILE_NAME"); staticpro (&QFILE_NAME); defsubr (&Sx_disown_selection_internal); defsubr (&Sx_get_selection_internal); defsubr (&Sx_own_selection_internal); --------------040900070007080207080108-- From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jul 2010 01:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6677@debbugs.gnu.org Cc: rick frankel , Peter Dyballa , Chong Yidong Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.127967683428007 (code B ref 6677); Wed, 21 Jul 2010 01:48:02 +0000 Received: (at 6677) by debbugs.gnu.org; 21 Jul 2010 01:47:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObOOw-0007Hg-Jz for submit@debbugs.gnu.org; Tue, 20 Jul 2010 21:47:14 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObOOt-0007HZ-Lj for 6677@debbugs.gnu.org; Tue, 20 Jul 2010 21:47:12 -0400 Received: from [87.198.55.208] (87-198-55-208.ptr.magnet.ie [87.198.55.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id AA92A68436; Wed, 21 Jul 2010 02:47:33 +0100 (IST) Message-ID: <4C4651B5.2010506@harpegolden.net> Date: Wed, 21 Jul 2010 02:47:33 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C4620D0.70704@harpegolden.net> In-Reply-To: <4C4620D0.70704@harpegolden.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.2 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On 20/07/10 23:18, David De La Harpe Golden wrote: > *** Since x11 emacs is now actually using X11 CLIPBOARD, it is likely > that the attached _untested_ but minor patch or something very like it > is correct on nextstep. > > Can you try building an emacs with the patch on macosx? > > Note that even with the patch applied, it may not act quite the same as > before, but that is not necessarily a bug but rather a change. Er, actually chunks of lisp/term/ns-win.el likely need rewriting too. (the repeated use of the phrase "cut buffer" is particularly worrying - in X11 terms, that means "obsolete thingy that basically no-one uses, replaced by the selections mechanism many years ago"). That previous patch is probably necessary but not sufficient. Basically someone who knows enough of both X11 and nextstep/macosx needs to sort things out. I guess that just about includes me for these purposes, but it isn't something I can sort out during the week, and I don't have an extant macosx development environment either (though I suppose gnustep is an apt-get away). From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jul 2010 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David De La Harpe Golden Cc: 6677@debbugs.gnu.org, Chong Yidong Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.12797079799138 (code B ref 6677); Wed, 21 Jul 2010 10:27:02 +0000 Received: (at 6677) by debbugs.gnu.org; 21 Jul 2010 10:26:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObWVH-0002NL-HJ for submit@debbugs.gnu.org; Wed, 21 Jul 2010 06:26:19 -0400 Received: from mout8.freenet.de ([195.4.92.98]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObWVE-0002NG-IR for 6677@debbugs.gnu.org; Wed, 21 Jul 2010 06:26:17 -0400 Received: from [195.4.92.15] (helo=5.mx.freenet.de) by mout8.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1ObWVc-00014t-Uh; Wed, 21 Jul 2010 12:26:40 +0200 Received: from p5b23fd4d.dip.t-dialin.net ([91.35.253.77]:63907 helo=[192.168.1.2]) by 5.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1ObWVc-0001vb-Ii; Wed, 21 Jul 2010 12:26:40 +0200 Message-Id: From: Peter Dyballa In-Reply-To: <4C4620D0.70704@harpegolden.net> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 21 Jul 2010 12:26:37 +0200 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C4620D0.70704@harpegolden.net> X-Mailer: Apple Mail (2.936) X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) Am 21.07.2010 um 00:18 schrieb David De La Harpe Golden: > Can you try building an emacs with the patch on macosx? Yesterday, at UTC evening, I updated with bzr. The build did not copy. =20= Today, after a 'make clean', I applied your patch and re-compiled. No =20= change, still copying from the NS variant to other Mac OS X =20 applications or X clients does not work. One change happened, when =20 pasting what I marked and copied in X11 or a Mac OS X application: Quit: "pasteboard doesn't contain valid data" Maybe the copy&paste code could be made smaller since the X servers in =20= Snow Leopard have built-in a synching mechanism with the Mac OS X =20 pasteboard and up-to-date X servers in Leopard have it too. Only the =20 original Apple X server lacks this, but can be configured to work =20 similarly. > >> Additionally double-click to mark a word is interpreted as >> , bound to mouse-drag-region. I don't think =20= >> that >> this is desirable... > > N.B. Mouse-drag-region calls mouse-drag-track which calls mouse-=20 > start-end to _implement_ double-click to mark a word, perhaps not =20 > intuitively given the name. So does double-clicking nonetheless =20 > actually mark the word on NS? Yes, it does. In the beginning I found that this did not copy the word =20= to the pasteboard, so I assumed some key binding might have changed, =20 but they haven't. A working (and installed in /Applications) copy from =20= middle of June describes double-click as the same =96 and copies the =20 word to Mac OS X pasteboard and X11 PRIMARY selection (or XQuartz =20 2.5.1 (xorg-server 1.8.99.904) from MacPorts is synching OS X and X11). -- Greetings Pete The next generation of interesting software will be done on the =20 Macintosh, not the IBM PC. =96 Bill Gates, Nov 1984) From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jul 2010 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Peter Dyballa Cc: 6677@debbugs.gnu.org, Chong Yidong Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.12797517274002 (code B ref 6677); Wed, 21 Jul 2010 22:36:02 +0000 Received: (at 6677) by debbugs.gnu.org; 21 Jul 2010 22:35:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obhss-00012V-UE for submit@debbugs.gnu.org; Wed, 21 Jul 2010 18:35:27 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obhsr-00012N-EJ for 6677@debbugs.gnu.org; Wed, 21 Jul 2010 18:35:25 -0400 Received: from [87.198.54.204] (87-198-54-204.ptr.magnet.ie [87.198.54.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id EF99F683A2; Wed, 21 Jul 2010 23:35:49 +0100 (IST) Message-ID: <4C477646.4030505@harpegolden.net> Date: Wed, 21 Jul 2010 23:35:50 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C4620D0.70704@harpegolden.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) On 21/07/10 11:26, Peter Dyballa wrote: >> So does double-clicking nonetheless actually mark the word on NS? > Yes, it does. Good, thanks. > A working (and installed in /Applications) copy from > middle of June describes double-click as the same =E2=80=93 and copies = the word > to Mac OS X pasteboard and X11 PRIMARY selection (or XQuartz 2.5.1 > (xorg-server 1.8.99.904) from MacPorts is synching OS X and X11). > Yes, Xquartz is handling syncing - IIUC native NS emacs presently knows=20 nothing* of real X11 selections, and only interacts with the NS pasteboar= d. The Xquartz on OS X manpage documents a set of options you can use to=20 tune _how_ Xquartz syncs the native OS X pasteboard and the X11=20 clipboard and/or primary: http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/Man= Pages/man1/Xquartz.1.html [I haven't yet discovered equivalent tunable settings for Cygwin/X, hope=20 they haven't hardcoded something broken.] * well, gnustep's gui layer, unlike macosx, sits on top of x11, and some=20 abstractions may be slightly leaky. From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jul 2010 08:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David De La Harpe Golden Cc: 6677@debbugs.gnu.org, Chong Yidong Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.127978693819059 (code B ref 6677); Thu, 22 Jul 2010 08:23:01 +0000 Received: (at 6677) by debbugs.gnu.org; 22 Jul 2010 08:22:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obr2o-0004xM-1p for submit@debbugs.gnu.org; Thu, 22 Jul 2010 04:22:18 -0400 Received: from mout7.freenet.de ([195.4.92.97]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obr2l-0004xH-P7 for 6677@debbugs.gnu.org; Thu, 22 Jul 2010 04:22:16 -0400 Received: from [195.4.92.12] (helo=2.mx.freenet.de) by mout7.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1Obr3C-0004Ww-Jl; Thu, 22 Jul 2010 10:22:42 +0200 Received: from p5b23ab47.dip.t-dialin.net ([91.35.171.71]:64939 helo=[192.168.1.2]) by 2.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1Obr3B-0000UM-Ce; Thu, 22 Jul 2010 10:22:42 +0200 Message-Id: <36D2FFDC-3C74-48CA-A6C3-9DEC1BF5F3F7@Freenet.DE> From: Peter Dyballa In-Reply-To: <4C477646.4030505@harpegolden.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 22 Jul 2010 10:22:38 +0200 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C4620D0.70704@harpegolden.net> <4C477646.4030505@harpegolden.net> X-Mailer: Apple Mail (2.936) X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) Am 22.07.2010 um 00:35 schrieb David De La Harpe Golden: > The Xquartz on OS X manpage documents a set of options you can use > to tune _how_ Xquartz syncs the native OS X pasteboard and the X11 > clipboard and/or primary: This is not the problem here since I can easily interchange data between X clients and Mac OS X applications. The NS variant from middle of June is among these functioning applications, the most recent builds fail, since they even don't allow to copy data to other Mac OS X applications. My comment was mainly targeted to explain that you and NS Emacs don't need to take care of X11 since up-to-date X11 has means to make the pasteboard available for X clients. And this works fine. -- Greetings Pete "Klingons do not believe in indentation - except perhaps in the skulls of their project managers." From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jul 2010 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Peter Dyballa Cc: 6677@debbugs.gnu.org, Chong Yidong Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.127983347314442 (code B ref 6677); Thu, 22 Jul 2010 21:18:02 +0000 Received: (at 6677) by debbugs.gnu.org; 22 Jul 2010 21:17:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc39M-0003kt-Jd for submit@debbugs.gnu.org; Thu, 22 Jul 2010 17:17:52 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc39K-0003kn-S5 for 6677@debbugs.gnu.org; Thu, 22 Jul 2010 17:17:51 -0400 Received: from [87.198.55.210] (87-198-55-210.ptr.magnet.ie [87.198.55.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 8E640683A2; Thu, 22 Jul 2010 22:17:43 +0100 (IST) Message-ID: <4C48B578.5070802@harpegolden.net> Date: Thu, 22 Jul 2010 22:17:44 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C4620D0.70704@harpegolden.net> <4C477646.4030505@harpegolden.net> <36D2FFDC-3C74-48CA-A6C3-9DEC1BF5F3F7@Freenet.DE> In-Reply-To: <36D2FFDC-3C74-48CA-A6C3-9DEC1BF5F3F7@Freenet.DE> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On 22/07/10 09:22, Peter Dyballa wrote: > > Am 22.07.2010 um 00:35 schrieb David De La Harpe Golden: > >> The Xquartz on OS X manpage documents a set of options you can use to >> tune _how_ Xquartz syncs the native OS X pasteboard and the X11 >> clipboard and/or primary: > > > This is not the problem here. Indeed*. As per my other mail to this ticket, lisp/term/ns-win.el presently needs several updates to be able to fully handle some changes made to emacs default settings, I guess it was not really written to deal with settings other than the old defaults (i.e. the new settings would have broken it whether they were default or not). I'll be taking a look at the weekend (n.b. the set of people with enough *step and x11 experience to fix it is probably larger than me, assuming I'm even in it). > My comment was mainly targeted to explain that you and NS Emacs don't > need to take care of X11 Fair enough, I thought /you/ were unsure "(or..." * Xquartz' configuration options in the area are something for emacs devs looking at bug reports to be aware of though - different mac users could easily have different sync behaviours configured which will cause different symptoms (I'm also thinking of effects on x11 emacs running under Xquartz). From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jul 2010 06:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6677@debbugs.gnu.org Cc: Peter Dyballa , Chong Yidong Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.128004101020378 (code B ref 6677); Sun, 25 Jul 2010 06:57:02 +0000 Received: (at 6677) by debbugs.gnu.org; 25 Jul 2010 06:56:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocv8i-0005Id-TI for submit@debbugs.gnu.org; Sun, 25 Jul 2010 02:56:49 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocv8g-0005IX-Ra for 6677@debbugs.gnu.org; Sun, 25 Jul 2010 02:56:47 -0400 Received: from [87.198.55.209] (87-198-55-209.ptr.magnet.ie [87.198.55.209]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 72F9D68395; Sun, 25 Jul 2010 07:56:45 +0100 (IST) Message-ID: <4C4BE029.7010804@harpegolden.net> Date: Sun, 25 Jul 2010 07:56:41 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C4620D0.70704@harpegolden.net> In-Reply-To: <4C4620D0.70704@harpegolden.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On 20/07/10 23:18, David De La Harpe Golden wrote: > *** Since x11 emacs is now actually using X11 CLIPBOARD, it is likely > that the attached _untested_ but minor patch or something very like it > is correct on nextstep. > Update: Taking a bit longer than I expected, mostly thanks to debian's gnustep packages having some known bugs on amd64 that _I_ didn't know about, could have saved myself a _lot_ of time just latest svn gnustep in the first place, gah. One work-in-progess note: Turns out that first patch wasn't quite correct either, modern GNUstep's "gpbs" pasteboard daemon actually supports a conventional [1] mapping to X11 selections, as follows, visible in [2] x11 side ns side CLIPBOARD General Pasteboard PRIMARY "Selection" named pasteboard SECONDARY "Secondary" named pasteboard (Wonder if the Xquartz guys are aware of that...) I think it is quite obviously desirable that ns emacs adopt that scheme. [1] At one stage gnustep did use a different scheme, there is still a backward compat defaults setting that flips them around ("GSOldClipboard"), but the default is now the above, thankfully. [2] http://svn.gna.org/viewcvs/gnustep/libs/back/trunk/Tools/xpbs.m?rev=29270&view=markup From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Aug 2010 23:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6677@debbugs.gnu.org Cc: Peter Dyballa Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.128130845028173 (code B ref 6677); Sun, 08 Aug 2010 23:01:02 +0000 Received: (at 6677) by debbugs.gnu.org; 8 Aug 2010 23:00:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiErJ-0007KM-Tt for submit@debbugs.gnu.org; Sun, 08 Aug 2010 19:00:50 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiErH-0007KF-E5 for 6677@debbugs.gnu.org; Sun, 08 Aug 2010 19:00:48 -0400 Received: from [87.198.55.108] (87-198-55-108.ptr.magnet.ie [87.198.55.108]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 7B750684DD; Mon, 9 Aug 2010 00:01:23 +0100 (IST) Message-ID: <4C5F3745.8020901@harpegolden.net> Date: Mon, 09 Aug 2010 00:01:25 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C4620D0.70704@harpegolden.net> <4C4BE029.7010804@harpegolden.net> In-Reply-To: <4C4BE029.7010804@harpegolden.net> Content-Type: multipart/mixed; boundary="------------030204030409010700030504" X-Spam-Score: -1.5 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) This is a multi-part message in MIME format. --------------030204030409010700030504 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 25/07/10 07:56, David De La Harpe Golden wrote: > x11 side ns side > CLIPBOARD General Pasteboard > PRIMARY "Selection" named pasteboard > SECONDARY "Secondary" named pasteboard Updated patch that at least does this. There are be remaining issues, but it should work a bit better on macosx as well. --------------030204030409010700030504 Content-Type: text/x-patch; name="ns-clipboard-pboard_r2.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ns-clipboard-pboard_r2.diff" === modified file 'lisp/term/ns-win.el' --- lisp/term/ns-win.el 2010-07-13 10:41:49 +0000 +++ lisp/term/ns-win.el 2010-08-08 22:40:49 +0000 @@ -998,25 +998,25 @@ ;;;; Pasteboard support. (declare-function ns-get-cut-buffer-internal "nsselect.m" (buffer)) (defun ns-get-pasteboard () "Returns the value of the pasteboard." - (ns-get-cut-buffer-internal 'PRIMARY)) + (ns-get-cut-buffer-internal 'CLIPBOARD)) (declare-function ns-store-cut-buffer-internal "nsselect.m" (buffer string)) (defun ns-set-pasteboard (string) "Store STRING into the pasteboard of the Nextstep display server." ;; Check the data type of STRING. (if (not (stringp string)) (error "Nonstring given to pasteboard")) - (ns-store-cut-buffer-internal 'PRIMARY string)) + (ns-store-cut-buffer-internal 'CLIPBOARD string)) ;; We keep track of the last text selected here, so we can check the ;; current selection against it, and avoid passing back our own text ;; from x-cut-buffer-or-selection-value. (defvar ns-last-selected-text nil) (defun x-select-text (text &optional push) "Select TEXT, a string, according to the window system. === modified file 'src/nsselect.m' --- src/nsselect.m 2010-07-08 21:25:08 +0000 +++ src/nsselect.m 2010-08-08 20:42:05 +0000 @@ -31,51 +31,56 @@ #include #include "lisp.h" #include "nsterm.h" #include "termhooks.h" #define CUT_BUFFER_SUPPORT -Lisp_Object QPRIMARY, QSECONDARY, QTEXT, QFILE_NAME; +Lisp_Object QCLIPBOARD, QPRIMARY, QSECONDARY, QTEXT, QFILE_NAME; static Lisp_Object Vns_sent_selection_hooks; static Lisp_Object Vns_lost_selection_hooks; static Lisp_Object Vselection_alist; static Lisp_Object Vselection_converter_alist; static Lisp_Object Qforeign_selection; -NSString *NXSecondaryPboard; +/* CLIPBOARD mapped to NSGeneralPboard */ +NSString *NXPrimaryPboard; +NSString *NXSecondaryPboard; /* ========================================================================== Internal utility functions ========================================================================== */ static NSString * symbol_to_nsstring (Lisp_Object sym) { CHECK_SYMBOL (sym); - if (EQ (sym, QPRIMARY)) return NSGeneralPboard; + if (EQ (sym, QCLIPBOARD)) return NSGeneralPboard; + if (EQ (sym, QPRIMARY)) return NXPrimaryPboard; if (EQ (sym, QSECONDARY)) return NXSecondaryPboard; if (EQ (sym, QTEXT)) return NSStringPboardType; return [NSString stringWithUTF8String: SDATA (XSYMBOL (sym)->xname)]; } static Lisp_Object ns_string_to_symbol (NSString *t) { if ([t isEqualToString: NSGeneralPboard]) + return QCLIPBOARD; + if ([t isEqualToString: NXPrimaryPboard]) return QPRIMARY; if ([t isEqualToString: NXSecondaryPboard]) return QSECONDARY; if ([t isEqualToString: NSStringPboardType]) return QTEXT; if ([t isEqualToString: NSFilenamesPboardType]) return QFILE_NAME; if ([t isEqualToString: NSTabularTextPboardType]) @@ -531,22 +536,27 @@ return Qnil; } #endif void nxatoms_of_nsselect (void) { - NXSecondaryPboard = @"Selection"; + /* These are the names GNUStep's pasteboard daemon uses, + using them for interoperability */ + + NXPrimaryPboard = @"Selection"; + NXSecondaryPboard = @"Secondary"; } void syms_of_nsselect (void) { + QCLIPBOARD = intern ("CLIPBOARD"); staticpro (&QCLIPBOARD); QPRIMARY = intern ("PRIMARY"); staticpro (&QPRIMARY); QSECONDARY = intern ("SECONDARY"); staticpro (&QSECONDARY); QTEXT = intern ("TEXT"); staticpro (&QTEXT); QFILE_NAME = intern ("FILE_NAME"); staticpro (&QFILE_NAME); defsubr (&Sx_disown_selection_internal); defsubr (&Sx_get_selection_internal); defsubr (&Sx_own_selection_internal); --------------030204030409010700030504-- From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Aug 2010 23:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David De La Harpe Golden Cc: 6677@debbugs.gnu.org Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.128139510611417 (code B ref 6677); Mon, 09 Aug 2010 23:06:01 +0000 Received: (at 6677) by debbugs.gnu.org; 9 Aug 2010 23:05:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OibP0-0002y6-Eo for submit@debbugs.gnu.org; Mon, 09 Aug 2010 19:05:06 -0400 Received: from mout3.freenet.de ([195.4.92.93]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OibOy-0002xk-LR for 6677@debbugs.gnu.org; Mon, 09 Aug 2010 19:05:05 -0400 Received: from [195.4.92.15] (helo=5.mx.freenet.de) by mout3.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1OibPd-0003Do-Oj; Tue, 10 Aug 2010 01:05:45 +0200 Received: from p5b23e4b0.dip.t-dialin.net ([91.35.228.176]:58404 helo=[192.168.1.2]) by 5.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1OibPd-0001kI-GT; Tue, 10 Aug 2010 01:05:45 +0200 Message-Id: <5FDE7F54-D45C-43FB-8F98-B082E9506EDA@Freenet.DE> From: Peter Dyballa In-Reply-To: <4C5F3745.8020901@harpegolden.net> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 10 Aug 2010 01:05:43 +0200 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C4620D0.70704@harpegolden.net> <4C4BE029.7010804@harpegolden.net> <4C5F3745.8020901@harpegolden.net> X-Mailer: Apple Mail (2.936) X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) Am 09.08.2010 um 01:01 schrieb David De La Harpe Golden: > Updated patch that at least does this. There are be > remaining issues, but it should work a bit better on macosx as well. Great work, David! It works well in both directions! I'll start =20 working with it tomorrow (it's now after midnight here). -- Greetings Pete When you meet a master swordsman, show him your sword. When you meet a man who is not a poet, do not show him your poem. =96 Rinzai, ninth century Zen master From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Aug 2010 23:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Peter Dyballa Cc: 6677@debbugs.gnu.org Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.128139828212833 (code B ref 6677); Mon, 09 Aug 2010 23:59:02 +0000 Received: (at 6677) by debbugs.gnu.org; 9 Aug 2010 23:58:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OicED-0003Kw-PR for submit@debbugs.gnu.org; Mon, 09 Aug 2010 19:58:01 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OicEC-0003Kk-Dm for 6677@debbugs.gnu.org; Mon, 09 Aug 2010 19:58:00 -0400 Received: from [87.198.55.209] (87-198-55-209.ptr.magnet.ie [87.198.55.209]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 0F66D683D1; Tue, 10 Aug 2010 00:58:38 +0100 (IST) Message-ID: <4C609630.6090204@harpegolden.net> Date: Tue, 10 Aug 2010 00:58:40 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C4620D0.70704@harpegolden.net> <4C4BE029.7010804@harpegolden.net> <4C5F3745.8020901@harpegolden.net> <5FDE7F54-D45C-43FB-8F98-B082E9506EDA@Freenet.DE> In-Reply-To: <5FDE7F54-D45C-43FB-8F98-B082E9506EDA@Freenet.DE> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 10/08/10 00:05, Peter Dyballa wrote: > > Am 09.08.2010 um 01:01 schrieb David De La Harpe Golden: > >> Updated patch that at least does this. There are be >> remaining issues, but it should work a bit better on macosx as well. > > > Great work, David! Well, thanks, though I confess it is now mostly-working because of a=20 reimplementation Chong Yidong did of select-active-regions, and Jan=20 Dj=C3=A4rv's adjustment to term/ns-win.el in the patch. From unknown Sat Aug 09 15:19:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Peter Dyballa Subject: bug#6677: closed (24.0.50; NS variant cannot copy to pasteboard correctly) Message-ID: References: <4C6B7C08.5090905@swipnet.se> <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> X-Gnu-PR-Message: they-closed 6677 X-Gnu-PR-Package: emacs Reply-To: 6677@debbugs.gnu.org Date: Wed, 18 Aug 2010 06:22:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1282112521-26788-1" This is a multi-part message in MIME format... ------------=_1282112521-26788-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6677: 24.0.50; NS variant cannot copy to pasteboard correctly which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6677@debbugs.gnu.org. --=20 6677: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6677 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1282112521-26788-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6677-done) by debbugs.gnu.org; 18 Aug 2010 06:21:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Olc1G-0006xP-QS for submit@debbugs.gnu.org; Wed, 18 Aug 2010 02:21:02 -0400 Received: from smtprelay-h32.telenor.se ([213.150.131.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Olc1E-0006wz-EY for 6677-done@debbugs.gnu.org; Wed, 18 Aug 2010 02:21:01 -0400 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h32.telenor.se (Postfix) with ESMTP id 63953E893C for <6677-done@debbugs.gnu.org>; Wed, 18 Aug 2010 08:22:03 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al1EAG8Ya0xV4S0jPGdsb2JhbACHaotDjRcMAQEBATUtvh6FNwQ X-IronPort-AV: E=Sophos;i="4.56,226,1280700000"; d="scan'208";a="562984283" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb3.telenor.se with ESMTP; 18 Aug 2010 08:22:02 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B2FD37FA05A for <6677-done@debbugs.gnu.org>; Wed, 18 Aug 2010 08:22:00 +0200 (CEST) Message-ID: <4C6B7C08.5090905@swipnet.se> Date: Wed, 18 Aug 2010 08:22:00 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: 6677-done@debbugs.gnu.org Subject: 24.0.50; NS variant cannot copy to pasteboard correctly Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 6677-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) I checked in the patch so we can deal with any possible remaining selection changes that may happen in Emacs. Jan D. ------------=_1282112521-26788-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Jul 2010 10:13:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ob9p3-00009F-CL for submit@debbugs.gnu.org; Tue, 20 Jul 2010 06:13:13 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ob9p0-00009A-5l for submit@debbugs.gnu.org; Tue, 20 Jul 2010 06:13:11 -0400 Received: from lists.gnu.org ([199.232.76.165]:50789) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ob9pN-0006X8-En for submit@debbugs.gnu.org; Tue, 20 Jul 2010 06:13:33 -0400 Received: from [140.186.70.92] (port=46666 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ob9pL-0001bt-N7 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 06:13:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ob9pK-0000iC-Jw for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 06:13:31 -0400 Received: from mout0.freenet.de ([195.4.92.90]:45109) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ob9pK-0000hq-8S for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 06:13:30 -0400 Received: from [195.4.92.21] (helo=11.mx.freenet.de) by mout0.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1Ob9pH-0007Bf-FP for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 12:13:27 +0200 Received: from p5b23e4a3.dip.t-dialin.net ([91.35.228.163]:62720 helo=[192.168.1.2]) by 11.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1Ob9pH-0001t0-17 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 12:13:27 +0200 Message-Id: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> From: Peter Dyballa To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: 24.0.50; NS variant cannot copy to pasteboard correctly Date: Tue, 20 Jul 2010 12:13:24 +0200 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.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) X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) Hello! Although it obviously works to copy some text in an X client or in a =20 Mac OS X application and paste it into the *scratch* buffer it does =20 not work to mark some text in any buffer of the NS variant and either =20= use the Copy entry from the Edit menu or just press =E2=8C=98-C (Cmd-C) = and =20 insert (paste) it into the X client or a Mac OS X application (the =20 name of the application in the =EF=A3=BF bar only flashes, because some = bad =20 content, not fitting into the text pane, is held in pasteboard?). Additionally double-click to mark a word is interpreted as , bound to mouse-drag-region. I don't think that =20 this is desirable... In GNU Emacs 24.0.50.1 (powerpc-apple-darwin9.8.0, NS apple-=20 appkit-949.54) of 2010-07-16 on Latsche.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--without-sound' '--without-dbus' '--=20 without-pop' '--without-gconf' '--with-ns' '--disable-ns-self-=20 contained' '--x-libraries=3D/usr/X11/lib' '--x-includes=3D/usr/X11/=20 include' '--enable-locallisppath=3D/Library/Application Support/Emacs/=20= calendar24:/Library/Application Support/Emacs' 'CFLAGS=3D-g -H -Wno-=20 pointer-sign -pipe -fPIC -fno-common -mcpu=3D7450 -mtune=3D7450 -O0' =20 'CPPFLAGS=3D' 'LDFLAGS=3D' 'PKG_CONFIG_PATH=3D/sw/lib/pango-ft219/lib/=20= pkgconfig:/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/lib/=20 pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pkgconfig:/sw/=20 share/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/=20 share/pkgconfig'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: nXML Minor modes in effect: image-minor-mode: t 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-h v i m a g e - t y s C-x C-f s-v C-c C-c Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Type C-x 1 to delete the help window. Note: file is write protected Using vacuous schema Type C-c C-c to view the image as an image. Cannot display image: (Invalid image type `svg') Using vacuous schema Type C-c C-c to view the image as an image. Cannot display image: (Invalid image type `svg') Load-path shadows: /Library/Application Support/Emacs/calendar24/solar hides /usr/local/=20 share/emacs/24.0.50/lisp/calendar/solar /Library/Application Support/Emacs/calendar24/lunar hides /usr/local/=20 share/emacs/24.0.50/lisp/calendar/lunar /Library/Application Support/Emacs/calendar24/holidays hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/holidays /Library/Application Support/Emacs/calendar24/diary-lib hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/diary-lib /Library/Application Support/Emacs/calendar24/calendar hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/calendar /Library/Application Support/Emacs/calendar24/cal-x hides /usr/local/=20 share/emacs/24.0.50/lisp/calendar/cal-x /Library/Application Support/Emacs/calendar24/cal-move hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/cal-move /Library/Application Support/Emacs/calendar24/cal-menu hides /usr/=20 local/share/emacs/24.0.50/lisp/calendar/cal-menu 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 nxml-uchnm rng-xsd xsd-regexp rng-cmpct regexp-opt rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok image-mode pp help-mode view help-fns 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) -- Mit friedvollen Gr=C3=BC=C3=9Fen Pete =3D=3D=3D -Q =3D=3D<__/% >> _____________(_)____@_____________________________ ------------=_1282112521-26788-1-- From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Aug 2010 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6677@debbugs.gnu.org, jan.h.d@swipnet.se Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.128216852331509 (code B ref 6677); Wed, 18 Aug 2010 21:56:02 +0000 Received: (at 6677) by debbugs.gnu.org; 18 Aug 2010 21:55:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OlqbS-0008CA-SL for submit@debbugs.gnu.org; Wed, 18 Aug 2010 17:55:23 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OlqbQ-0008C3-Lj for 6677@debbugs.gnu.org; Wed, 18 Aug 2010 17:55:20 -0400 Received: from [87.198.55.210] (87-198-55-210.ptr.magnet.ie [87.198.55.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id B6A1E683A2; Wed, 18 Aug 2010 22:56:21 +0100 (IST) Message-ID: <4C6C5707.2050506@harpegolden.net> Date: Wed, 18 Aug 2010 22:56:23 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C6B7C08.5090905@swipnet.se> In-Reply-To: <4C6B7C08.5090905@swipnet.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 18/08/10 07:22, Jan Dj=C3=A4rv wrote: > I checked in the patch so we can deal with any possible remaining selec= tion > changes that may happen in Emacs. > Hi Jan, you seem to have checked in the earlier GNUStep-incompatible NS=20 pasteboard names, would you please switch in nsselect.m (line 542): void nxatoms_of_nsselect (void) { NXPrimaryPboard =3D @"Selection"; NXSecondaryPboard =3D @"Secondary"; } As per the later version of my changes? That way all of clipboard/primary/secondary work on gnustep/x11 From unknown Sat Aug 09 15:19:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6677: 24.0.50; NS variant cannot copy to pasteboard correctly Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Aug 2010 05:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David De La Harpe Golden Cc: 6677@debbugs.gnu.org Received: via spool by 6677-submit@debbugs.gnu.org id=B6677.128219736910923 (code B ref 6677); Thu, 19 Aug 2010 05:57:02 +0000 Received: (at 6677) by debbugs.gnu.org; 19 Aug 2010 05:56:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oly6j-0002q8-7k for submit@debbugs.gnu.org; Thu, 19 Aug 2010 01:56:09 -0400 Received: from smtprelay-b12.telenor.se ([62.127.194.21]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oly6h-0002pl-2a for 6677@debbugs.gnu.org; Thu, 19 Aug 2010 01:56:07 -0400 Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id C06ADE92DB for <6677@debbugs.gnu.org>; Thu, 19 Aug 2010 07:57:12 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgkxAMxkbExV4S0jPGdsb2JhbACDGIRSmG0MAQEBATUtqhCSFIEigyJzBA X-IronPort-AV: E=Sophos;i="4.56,231,1280700000"; d="scan'208";a="1661695082" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb4.telenor.se with ESMTP; 19 Aug 2010 07:57:12 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id A90F57FA05A; Thu, 19 Aug 2010 07:57:11 +0200 (CEST) Message-ID: <4C6CC7B8.2090007@swipnet.se> Date: Thu, 19 Aug 2010 07:57:12 +0200 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 References: <3F766F47-ADAC-45DA-9F56-27E576362DB8@Freenet.DE> <4C6B7C08.5090905@swipnet.se> <4C6C5707.2050506@harpegolden.net> In-Reply-To: <4C6C5707.2050506@harpegolden.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) Done. Jan D. David De La Harpe Golden skrev 2010-08-18 23.56: > On 18/08/10 07:22, Jan Dj=C3=A4rv wrote: >> I checked in the patch so we can deal with any possible remaining sele= ction >> changes that may happen in Emacs. >> > > Hi Jan, you seem to have checked in the earlier GNUStep-incompatible NS > pasteboard names, would you please switch in nsselect.m (line 542): > > void > nxatoms_of_nsselect (void) > { > NXPrimaryPboard =3D @"Selection"; > NXSecondaryPboard =3D @"Secondary"; > } > > As per the later version of my changes? > > That way all of clipboard/primary/secondary work on gnustep/x11 > From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 23 18:51:48 2010 Received: (at control) by debbugs.gnu.org; 23 Aug 2010 22:51:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Onfro-0004UH-PR for submit@debbugs.gnu.org; Mon, 23 Aug 2010 18:51:48 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Onfro-0004U8-BB for control@debbugs.gnu.org; Mon, 23 Aug 2010 18:51:48 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Onft4-0001yd-Uv; Mon, 23 Aug 2010 18:53:06 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19570.64466.783833.399807@fencepost.gnu.org> Date: Mon, 23 Aug 2010 18:53:06 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: LNvX4mZpA\rRjRv'mr945PKN1k]n,d_GA4f'IjwaF.lL>{{L^v(BTGGUVp_ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) forcemerge 6677 6680