emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alain.Cochard@unistra.fr
To: Org Mode List <emacs-orgmode@gnu.org>
Cc: Alain Cochard <Alain.Cochard@unistra.fr>
Subject: Toggling select-enable-clipboard & select-enable-primary prevents org-copy-visible to work
Date: Wed, 10 Aug 2022 09:53:53 +0200	[thread overview]
Message-ID: <25331.25617.528381.574211@gargle.gargle.HOWL> (raw)


Hello.

When my .emacs contains only the following:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(select-enable-clipboard nil)
 '(select-enable-primary t)
 )	

then org-copy-visible does not work properly: when yanking, whether it
be with 'yank' or 'org-yank', the invisible parts are also yanked.

Is it normal?  After all, the emacs manual says:

      Prior to Emacs 24, the kill and yank commands used the primary
  selection (*note Primary Selection::), not the clipboard.  If you
  prefer this behavior, change ‘select-enable-clipboard’ to ‘nil’,
  ‘select-enable-primary’ to ‘t’, and ‘mouse-drag-copy-region’ to ‘t’.

Regards.


GNU Emacs 27.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version
3.24.30, cairo version 1.17.4) of 2021-08-07

Org mode version 9.5.4 (9.5.4-ge0b05b @ /home/cochard/.emacs.d/elpa/org-9.5.4/)



-- 
EOST (École et Observatoire des Sciences de la Terre) 
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106]  | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France     | [ slot available for rent ]



             reply	other threads:[~2022-08-10  7:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-10  7:53 Alain.Cochard [this message]
2022-08-10  9:59 ` Toggling select-enable-clipboard & select-enable-primary prevents org-copy-visible to work Ihor Radchenko
2022-08-13 14:46   ` Ihor Radchenko

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.orgmode.org/

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

  git send-email \
    --in-reply-to=25331.25617.528381.574211@gargle.gargle.HOWL \
    --to=alain.cochard@unistra.fr \
    --cc=emacs-orgmode@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/org-mode.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).