GNU bug report logs - #3442
23.0.94; "C-x 5 1" (delete-other-frames) kills daemon

Previous Next

Package: emacs;

Reported by: Teemu Likonen <tlikonen <at> iki.fi>

Date: Mon, 1 Jun 2009 12:45:05 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dan Nicolaescu <dann <at> ics.uci.edu>, 3442 <at> debbugs.gnu.org
Cc: monnier <at> iro.umontreal.ca, tlikonen <at> iki.fi
Subject: bug#3442: 23.0.94; "C-x 5 1" (delete-other-frames) kills daemon
Date: Thu, 04 Jun 2009 23:20:00 -0400
> Date: Thu, 4 Jun 2009 18:25:09 -0700 (PDT)
> From: Dan Nicolaescu <dann <at> ics.uci.edu>
> Cc: Teemu Likonen <tlikonen <at> iki.fi>, 3442 <at> emacsbugs.donarmstrong.com
> Reply-To: Dan Nicolaescu <dann <at> ics.uci.edu>, 3442 <at> emacsbugs.donarmstrong.com
> 
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> 
>   > I've installed a patch that makes C-x 5 1 only delete frames on the same
>   > terminal, which should fix this issue.
> 
> That's a behavior change, isn't it?
> Maybe people use C-x 5 1 to remove the rest of the frames on all
> terminals... (I personally have never used C-x 5 1)
> 
> If we don't want to change the C-x 5 1 behavior, we can just avoid
> deleting the daaemon special frame, i.e.:
> 
> 
> +      (unless (or (eq (frame-parameter frame 'minibuffer) 'only)
> +                 ;; Take care not to delete the special frame that
> +                 ;; the daemon uses.
> +                 (and is-daemon (eq frame terminal-frame)))
> 
> where is-daemon is let bound to (daemonp)

FWIW, I like Dan's suggestion better, especially since we are late in
the pretest, and shouldn't install changes that change well
established behavior.



This bug report was last modified 16 years and 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.