all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: chris <inkbottle007@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE"
Date: Mon, 31 Jan 2022 04:43:34 +0100	[thread overview]
Message-ID: <2630240.8LCFICVRos@pluto> (raw)
In-Reply-To: <87mtjcfut5.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]

On Monday, 31 January 2022 04:28:06 CET Ihor Radchenko wrote:
> chris <inkbottle007@gmail.com> writes:
> >> What will happen if you try (kill-new "something") in your Emacs
> >> (preferably, emacs -Q)? Will "something" be present in your Wayland
> >> clipboard?
> > 
> > emacs -Q, then `M-: (kill-new "something")`
> > Then `C-y` in `*scratch*`, string "something" is pasted.
> > Then go to terminal (Konsole, specifically), `C-S-v`, string "something"
> > is
> > pasted, too.
> 
> Got it. What about emacsclient -e "(kill-new \"test123\")"?

`~/path-to-emacs/lib-src/emacsclient -e "(kill-new \"test123
\")"`

Emacs side, `C-y` => "test123"

Terminal side, `C-S-v` => no trace of the "test123" string.

(note that I don't have emacs system wide, only the emacs 29.0.50 build from source, so 
there can be no conflict between two emacs)


> > Also, I understand your point, but the fact that the copying is working or
> > not working, in that direction, specifically, after using `xdg-open "org-
> > protocol://store-link?url=URL&title=TITLE"`, etc...
> > Is really a detail in what is hindering the workflow there.
> 
> It seems that you don't (: To clarify, I am not trying to find a
> workaround for you yet, but trying to figure out if what you observe is
> a Emacs bug, an Org mode bug, or not bug at all.

Yeah, sorry about that.

> 
> Best,
> Ihor



[-- Attachment #2: Type: text/html, Size: 4050 bytes --]

  reply	other threads:[~2022-01-31  3:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-27  0:03 cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE" chris
2022-01-28 12:40 ` Max Nikulin
2022-01-30  3:12   ` chris
2022-01-30  3:36     ` Ihor Radchenko
2022-01-30 18:38       ` chris
2022-01-31  1:14         ` Ihor Radchenko
2022-01-31  2:13           ` chris
2022-01-31  3:28             ` Ihor Radchenko
2022-01-31  3:43               ` chris [this message]
2022-01-31  3:49                 ` chris
2022-01-31  4:00                   ` chris
2022-01-31  6:47                     ` Tim Cross
2022-01-31 16:29           ` Max Nikulin
2022-02-01  5:48             ` chris
2022-02-01  5:57               ` chris
2022-02-02 16:49                 ` Max Nikulin
2022-01-30  8:31     ` Max Nikulin

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

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

  git send-email \
    --in-reply-to=2630240.8LCFICVRos@pluto \
    --to=inkbottle007@gmail.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.