[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional
From: |
Stefan Monnier |
Subject: |
bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional |
Date: |
Mon, 05 Jul 2021 11:59:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> *ponder* Well, I guess it's a vague kind of DWIM thing going on...
> Since we don't have timestamps on our own kills, and
> `select-enable-clipboard' defaults to t, we want to let a clipboard
> selection "win" if we haven't yanked it before? But... it seems to me
> like this is already handled by other logic when putting things on the
> kill ring in the first place.
That pretty much matches my understanding, yes.
> That is, if you "emacs -Q", put something on the clipboard from a
> different programme, and when `M-w' something in Emacs, then `C-y' will
> insert the latter.
Yes, IIUC this is the easy case. I think the harder case is when we
`M-w` first and then put something on the clipboard with another
application, then do `C-y`.
> I've tested various things here now, and I'm unable to come up with a
> scenario where the current DWIM logic is helpful, really.
Yet AFAICT the kill-ring logic was there already when the clipboard
logic was added, so I'm not sure the duplication is completely redundant.
Stefan
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Lars Ingebrigtsen, 2021/07/05
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Stefan Monnier, 2021/07/05
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Lars Ingebrigtsen, 2021/07/05
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional,
Stefan Monnier <=
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Eli Zaretskii, 2021/07/05
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Lars Ingebrigtsen, 2021/07/05
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Lars Ingebrigtsen, 2021/07/05
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Eli Zaretskii, 2021/07/06
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Lars Ingebrigtsen, 2021/07/06
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Eli Zaretskii, 2021/07/06
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Lars Ingebrigtsen, 2021/07/06
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Eli Zaretskii, 2021/07/06
- bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional, Lars Ingebrigtsen, 2021/07/06