unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 46935@debbugs.gnu.org
Subject: bug#46935: 28.0.50; Annoying interactions with X clipboard
Date: Sat, 06 Mar 2021 13:33:53 +0100	[thread overview]
Message-ID: <875z24piku.fsf@gnus.org> (raw)
In-Reply-To: <87im658bed.fsf@web.de> (Michael Heerdegen's message of "Fri, 05 Mar 2021 23:48:42 +0100")

Michael Heerdegen <michael_heerdegen@web.de> writes:

> I wonder if Emacs, like Firefox, also does not hang indefinitely when it
> happens?  I didn't have that impression, but as I said, I can't test
> ATM.

No, Emacs hangs forever -- that is, until you hit `C-g'.

We could add a timeout for this...  but yanking data can take an
arbitrary amount of time, so I'm not sure we want to go in that
direction, either.  For instance, if the process we're yanking from is
busy doing something else for a couple of seconds, we will get the data
after it stops being busy, and a timeout that's longer than a couple of
seconds isn't very useful anyway.

So I think the current design -- just wait indefinitely, or until the
user says `C-g' -- is probably the correct one.  Any opinions?

In the default Emacs settings, you're only affected when actually trying
to paste something from other programs, but if you have a package/use
settings that make Emacs interact with the clipboard/primary selection
all the time (which it sounds like you have?), then the problem is
exacerbated, of course.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-03-06 12:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 23:28 bug#46935: 28.0.50; Annoying interactions with X clipboard Michael Heerdegen
2021-03-05 13:46 ` Lars Ingebrigtsen
2021-03-05 22:48   ` Michael Heerdegen
2021-03-06 12:33     ` Lars Ingebrigtsen [this message]
2021-03-07  0:03       ` Michael Heerdegen
2021-03-08 19:26         ` Lars Ingebrigtsen
2021-03-09  3:01           ` Michael Heerdegen
2021-03-09 14:11             ` Lars Ingebrigtsen
2021-03-10  2:10               ` Michael Heerdegen
2022-06-20 11:53           ` Lars Ingebrigtsen
2022-06-20 12:59             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-20 15:34               ` Lars Ingebrigtsen
2022-06-22 12:46                 ` Michael Heerdegen
2022-06-23  9:02                   ` Lars Ingebrigtsen
     [not found] ` <87y2f2m551.fsf@posteo.net>
2021-03-05 22:43   ` Michael Heerdegen
2021-03-06  2:55     ` Michael Heerdegen
2021-03-06  6:11       ` Thierry Volpiatto
2021-03-07  0:07         ` Michael Heerdegen
2021-03-07  6:07           ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=875z24piku.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=46935@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    /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 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).