all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: David De La Harpe Golden <david@harpegolden.net>
Cc: Stefan@debbugs.gnu.org, 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 18:15:57 -0700	[thread overview]
Message-ID: <20110530181557.400b96ba@kuru.homelinux.net> (raw)
In-Reply-To: <4DE40870.5060600@harpegolden.net>

Hello David,

On Mon, 30 May 2011 22:13:20 +0100
David De La Harpe Golden <david@harpegolden.net> wrote:

> 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?)
> 

I use XFCE with the clipman plugin (its a clipboard manager).

> 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.
> 

Yes I had noticed that over the last month or two. It was working very
well until now.

> 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.
> 

I tried the same steps in a fresh XFCE session without clipman, I
still get the same results. I am not very familiar with the internals
of XFCE, not sure how the default XFCE clipboard is managed.

> 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).
> 

That would be a reasonable behaviour. :)

>  > 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.
> 

Thanks for that tip, will keep that in mind from now.

For some reason I did not get your or Stefan's response despite both of
you CC'ing me. I downloaded your message from the bug tracker and am
responding to it so the threading might be screwed up. Its probably a
Gmail issue.

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.





  parent reply	other threads:[~2011-05-31  1:15 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
2011-05-30 22:36   ` Stefan Monnier
2011-05-31  1:15   ` Suvayu Ali [this message]
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=20110530181557.400b96ba@kuru.homelinux.net \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=8760@debbugs.gnu.org \
    --cc=Stefan@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=david@harpegolden.net \
    /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.