emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gui-get-(primary-)selection (was: master 1437fc2bca2: Enable yanking non


From: Stefan Monnier
Subject: gui-get-(primary-)selection (was: master 1437fc2bca2: Enable yanking non-Latin-1 primary selections in I-Search)
Date: Fri, 14 Mar 2025 10:49:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> Looking at that `select.el` code always makes my head hurt, but seeing

Here's another hint that we have a problem:

Eli Zaretskii [2025-03-14 08:01:38] wrote:
> branch: master
> commit 5d4056c7658d9a6c64267821bd56450e82de01cb
> Author: Eli Zaretskii <eliz@gnu.org>
> Commit: Eli Zaretskii <eliz@gnu.org>
>
>     Fix a recent change in isearch.el
>     
>     * lisp/isearch.el (isearch-yank-x-selection): Ignore errors
>     signaled by 'gui-get-primary-selection', to better emulate what
>     'gui-get-selection' was doing.  In particular,
>     'gui-get-primary-selection' can signal an error on MS-Windows.

Reading this gives the impression that `gui-get-selection` is layered on
top of (i.e. internally ends up calling) `gui-get-primary-selection`,
but the reality in the code is the reverse.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]