[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cut and paste not working after xdg-open "org-protocol://store-link?
From: |
chris |
Subject: |
Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE" |
Date: |
Mon, 31 Jan 2022 04:49:59 +0100 |
On Monday, 31 January 2022 04:43:34 CET chris wrote:
> 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.
My, I missed one pivotal point:
Right after that operation, I cannot cut and paste straight away from terminal
to emacs.
If I copy and paste some string "test567" from terminal to Firefox or
whatever, it is working fine, but `C-y` in emacs is still "test123".
>
> (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
- cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", chris, 2022/01/26
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", Max Nikulin, 2022/01/28
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", chris, 2022/01/29
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", Ihor Radchenko, 2022/01/29
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", chris, 2022/01/30
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", Ihor Radchenko, 2022/01/30
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", chris, 2022/01/30
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", Ihor Radchenko, 2022/01/30
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", chris, 2022/01/30
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE",
chris <=
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", chris, 2022/01/30
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", Tim Cross, 2022/01/31
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", Max Nikulin, 2022/01/31
- Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE", Max Nikulin, 2022/01/30