unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alain.Cochard@unistra.fr
To: Eli Zaretskii <eliz@gnu.org>
Cc: alain.cochard@unistra.fr, emacs-devel@gnu.org
Subject: Re: org-copy-visible does not work with x-select-enable-primary
Date: Mon, 10 Sep 2018 17:20:45 +0200	[thread overview]
Message-ID: <23446.35789.351055.673724@frac.u-strasbg.fr> (raw)
In-Reply-To: <83o9d5o1aa.fsf@gnu.org>


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??  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_64-redhat-linux-gnu, GTK+ Version
3.22.19) of 2017-09-15 Package: Org-mode version 8.2.10
(release_8.2.10 @ /usr/share/emacs/25.3/lisp/org/)

GNU Emacs 23.1.1 (x86_64-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?

(NB: With x-select-enable-primary false --default--, it yanks "* foo"
whether I remove the selection or not.)



-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     



  reply	other threads:[~2018-09-10 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-10 12:15 org-copy-visible does not work with x-select-enable-primary Alain.Cochard
2018-09-10 14:49 ` Eli Zaretskii
2018-09-10 15:20   ` Alain.Cochard [this message]
2018-09-10 17:27     ` Eli Zaretskii
2018-09-10 17:00 ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=23446.35789.351055.673724@frac.u-strasbg.fr \
    --to=alain.cochard@unistra.fr \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).