all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Chong Yidong <cyd@stupidchicken.com>, 8760@debbugs.gnu.org
Subject: bug#8760: 24.0.50; Cannot kill emacs after killing text to kill-ring
Date: Mon, 30 May 2011 22:13:20 +0100	[thread overview]
Message-ID: <4DE40870.5060600@harpegolden.net> (raw)
In-Reply-To: <20110530001251.7f00c4b9@bhishma.homelinux.net>

On 30/05/11 08:12, Suvayu Ali wrote:
> Hi Emacs developers,
>
> After I updated Emacs today, I found a very annoying bug.
>
> If I copy/kill something to the kill-ring, I can't exit emacs with 'C-x
> C-c'. Attempting to do so results in the following backtrace:
>
> Debugger entered--Lisp error: (error "Timed out waiting for reply from
> selection owner") kill-emacs()
>    save-buffers-kill-emacs(nil)
>    save-buffers-kill-terminal(nil)
>    call-interactively(save-buffers-kill-terminal nil nil)
>

*** What desktop environment do you use, if any? (KDE, GNOME, XFCE, ...)
(and what version?)

Emacs was just expanded to communicate with a desktop environment's 
clipboard manager if available, which allows things you copy to persist 
on the clipboard after you exit emacs.

However, in your case something is going wrong, it sounds like you have 
a daemon around claiming to be a clipboard manager (because emacs is 
trying to talk to it at all) but it's acting weird (emacs getting a 
timeout trying to talk with it).

I can simulate this failure by pausing (kill -STOP/-CONT) my desktop 
environment's clipboard manager - that way, it looks like there's an 
owner of the clipboard manager selection that is unresponsive.

Arguably, emacs, if it's in the middle of exiting, could just carry on 
exiting after the selection timeout period in case it fails to interact 
with a present but uncommunicative clipboard manager, not fail to exit. 
   Then the worst that happens in case of a malfunctioning desktop 
clipboard manager is a brief pause on exit (and of course a failure to 
persist clipboard contents after exit, but, well, one can't expect that 
to work if the desktop clipboard manager isn't working).

 > I am not subscribed to the dev list

Please just be sure to keep the bug email address  (8760@debbugs...) in 
the to/cc list for this thread, then it gets archived by the bug tracker.






  reply	other threads:[~2011-05-30 21:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-30  7:12 bug#8760: 24.0.50; Cannot kill emacs after killing text to kill-ring Suvayu Ali
2011-05-30 21:13 ` David De La Harpe Golden [this message]
2011-05-30 22:36   ` Stefan Monnier
2011-05-31  1:15   ` Suvayu Ali
2011-05-31  2:58     ` David De La Harpe Golden
2011-05-31  3:49       ` Suvayu Ali
2011-06-01 19:01   ` Chong Yidong
2011-06-02  3:01     ` David De La Harpe Golden
2011-06-04 21:04       ` Chong Yidong

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

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

  git send-email \
    --in-reply-to=4DE40870.5060600@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=8760@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=fatkasuvayu+linux@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.