unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master 54e3509771: Issue a message if getting a selection takes a long time
       [not found] ` <20220620153449.62763C00BAF@vcs2.savannah.gnu.org>
@ 2022-06-21  1:21   ` Po Lu
  0 siblings, 0 replies; only message in thread
From: Po Lu @ 2022-06-21  1:21 UTC (permalink / raw)
  To: emacs-devel; +Cc: Lars Ingebrigtsen

Lars Ingebrigtsen <larsi@gnus.org> writes:

> diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
> index 31fc3ba534..6e083499df 100644
> --- a/lisp/term/x-win.el
> +++ b/lisp/term/x-win.el
> @@ -1366,7 +1366,9 @@ This returns an error if any Emacs frames are X frames."
>  (cl-defmethod gui-backend-get-selection (selection-symbol target-type
>                                           &context (window-system x)
>                                           &optional time-stamp terminal)
> -  (x-get-selection-internal selection-symbol target-type time-stamp terminal))
> +  (with-delayed-message (1 "Waiting for selection")
> +    (x-get-selection-internal selection-symbol target-type
> +                              time-stamp terminal)))

I'll make `x_get_foreign_selection' do that instead, since many pieces
of X-specific code call that.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-21  1:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <165573928909.20797.18393104297268144013@vcs2.savannah.gnu.org>
     [not found] ` <20220620153449.62763C00BAF@vcs2.savannah.gnu.org>
2022-06-21  1:21   ` master 54e3509771: Issue a message if getting a selection takes a long time Po Lu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).