From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alain.Cochard@unistra.fr Newsgroups: gmane.emacs.devel Subject: Re: org-copy-visible does not work with x-select-enable-primary Date: Mon, 10 Sep 2018 17:20:45 +0200 Message-ID: <23446.35789.351055.673724@frac.u-strasbg.fr> References: <23446.24671.697405.158351@frac.u-strasbg.fr> <83o9d5o1aa.fsf@gnu.org> Reply-To: alain.cochard@unistra.fr NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536597717 17527 195.159.176.226 (10 Sep 2018 16:41:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2018 16:41:57 +0000 (UTC) Cc: alain.cochard@unistra.fr, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 18:41:53 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzPG0-0004ML-3v for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 18:41:48 +0200 Original-Received: from localhost ([::1]:52808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzPI6-0006si-5q for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 12:43:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzOC9-0008Ue-PZ for emacs-devel@gnu.org; Mon, 10 Sep 2018 11:33:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzNzp-0005X4-D8 for emacs-devel@gnu.org; Mon, 10 Sep 2018 11:21:03 -0400 Original-Received: from smr1.u-strasbg.fr ([130.79.222.217]:34046 helo=mailhost.u-strasbg.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fzNzj-0005TN-2c; Mon, 10 Sep 2018 11:20:55 -0400 Original-Received: from local-mr.u-strasbg.fr (lmr3.u-strasbg.fr [172.30.21.3]) by smr1.u-strasbg.fr (Postfix) with ESMTP id 2791460269; Mon, 10 Sep 2018 17:20:49 +0200 (CEST) Original-Received: from local-mr.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 0564DA9; Mon, 10 Sep 2018 17:20:49 +0200 (CEST) Original-Received: from frac.u-strasbg.fr (frac.u-strasbg.fr [130.79.10.22]) (Authenticated sender: alain.cochard) by lmr3.u-strasbg.fr (Postfix) with ESMTPSA id B07B526C; Mon, 10 Sep 2018 17:20:45 +0200 (CEST) In-Reply-To: <83o9d5o1aa.fsf@gnu.org> X-Mailer: VM 8.1.2 under 24.5.1 (x86_64-redhat-linux-gnu) X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 130.79.222.217 X-Mailman-Approved-At: Mon, 10 Sep 2018 12:43:52 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229644 Archived-At: Hi, and thanks for the feedback. Eli Zaretskii writes on Mon 10 Sep 2018 17:49: > It will yank only "* foo" if you move the cursor in the Org buffer > before yanking, or do anything else that removes the selection > (i.e. removes the highlight due to selecting text). Are you sure=3F=3F For me and all the configurations tried (emacs and = org versions), when x-select-enable-primary is true, it does not simply yank "* foo", even after I remove the selection. The already mentioned tests I made were on my laptop. I just tried on 2 different machines, with, respectively, those configurations: Emacs : GNU Emacs 25.3.1 (x86=5F64-redhat-linux-gnu, GTK+ Version 3.22.19) of 2017-09-15 Package: Org-mode version 8.2.10 (release=5F8.2.10 @ /usr/share/emacs/25.3/lisp/org/) GNU Emacs 23.1.1 (x86=5F64-redhat-linux-gnu, GTK+ Version 2.24.23) of 2015-02-19 on c6b8.bsys.dev.centos.org Org-mode version 6.21b and the bad behavior is identical -- removing the selection does not help. All the machines are redhat based, though... Could it be that you used a completely different distribution=3F (NB: With x-select-enable-primary false --default--, it yanks "* foo" whether I remove the selection or not.) --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20 F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25 =20=