GNU bug report logs - #17957
24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>; dated Sun, 6 Jul 2014 16:38:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 17957 <at> debbugs.gnu.org:


Received: (at 17957) by debbugs.gnu.org; 17 Jul 2014 21:27:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 17 17:27:16 2014
Received: from localhost ([127.0.0.1]:57571 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1X7tCp-0005tx-Lv
	for submit <at> debbugs.gnu.org; Thu, 17 Jul 2014 17:27:15 -0400
Received: from odoacer.turtle-trading.net ([217.91.34.180]:41864)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <benny@HIDDEN>) id 1X7tCi-0005tM-6m
 for 17957 <at> debbugs.gnu.org; Thu, 17 Jul 2014 17:27:08 -0400
Received: from odoacer.turtle-trading.net ([217.91.34.180]
 helo=justinian.turtle-trading.net)
 by odoacer.turtle-trading.net with esmtp (Exim 4.80)
 (envelope-from <benny@HIDDEN>)
 id 1X7tCZ-0007Pg-1B; Thu, 17 Jul 2014 23:26:57 +0200
Received: from justinian.turtle-trading.net (localhost [127.0.0.1])
 by justinian.turtle-trading.net (8.14.8/8.14.7) with ESMTP id s6HLQl4Y024230; 
 Thu, 17 Jul 2014 23:26:48 +0200
Received: (from benny@localhost)
 by justinian.turtle-trading.net (8.14.8/8.14.8/Submit) id s6HLQkjU024222;
 Thu, 17 Jul 2014 23:26:46 +0200
From: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#17957: 24.3.92;
 Bad interaction between "emacs --daemon" and "desktop-save-mode"
References: <m31ttyv3zw.fsf@HIDDEN>
 <na1ttlexa8.fsf@HIDDEN>
Date: Thu, 17 Jul 2014 23:26:45 +0200
In-Reply-To: <na1ttlexa8.fsf@HIDDEN> (Glenn Morris's message of
 "Wed, 16 Jul 2014 00:35:11 -0400")
Message-ID: <m3vbqvn0bu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 17957
Cc: 17957 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi Glenn,

Glenn Morris writes:
> Following my change for
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17693
>
> this issue does not seem to occur any more.

That is a good change, I think, I was wondering if the behaviour was
intended.

OTOH I still think there is another issue.  An entry in
window-system-default-frame-alist for terminal type nil should not cause
changes for a graphical display, regardless what desktop.el does, right?
Unless desktop.el messes with these variables in the wrong way.  So
there is either a problem with the interpretation of these variables or
with desktop.el setting them wrong.  And it is not a problem caused by
an .emacs.desktop saved with the previous version.

benny





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17957; Package emacs. Full text available.

Message received at 17957 <at> debbugs.gnu.org:


Received: (at 17957) by debbugs.gnu.org; 16 Jul 2014 04:35:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 16 00:35:16 2014
Received: from localhost ([127.0.0.1]:56052 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1X7Gvz-0000H8-Vu
	for submit <at> debbugs.gnu.org; Wed, 16 Jul 2014 00:35:16 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:55687 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1X7Gvx-0000Gv-C9
 for 17957 <at> debbugs.gnu.org; Wed, 16 Jul 2014 00:35:14 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>)
 id 1X7Gvw-0003JN-8x; Wed, 16 Jul 2014 00:35:12 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
Subject: Re: bug#17957: 24.3.92;
 Bad interaction between "emacs --daemon" and "desktop-save-mode"
References: <m31ttyv3zw.fsf@HIDDEN>
X-Spook: Baranyi ANZUS Treasury BATF Blowpipe Vickie Weaver
X-Ran: ?@#mp&vq;>g;Jc5Jev7[$T,u]}7$Gna1&2mDOk@#uC;n-?w7W:67VAdtEh^B6Z2,;0$7JQ
X-Hue: red
X-Attribution: GM
Date: Wed, 16 Jul 2014 00:35:11 -0400
In-Reply-To: <m31ttyv3zw.fsf@HIDDEN> (Benjamin
 Riefenstahl's message of "Sun, 06 Jul 2014 18:36:19 +0200")
Message-ID: <na1ttlexa8.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 17957
Cc: 17957 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Benjamin Riefenstahl wrote:

>   mkdir /tmp/t
>   cd /tmp/t
>   cat > .emacs <<EOF
>     (add-to-list 'window-system-default-frame-alist '(nil . ((menu-bar-lines . 0))))
>     (desktop-save-mode 1)
>   EOF
>   HOME=$PWD emacs --daemon
>   emacsclient -n -c
>
> Now in Emacs execute the commands 
>
>   desktop-save
>   kill-emacs
>
> Restart Emacs with
>
>   HOME=$PWD emacs --daemon
>
> The menu bar has disappeared and a get an error message:
>
>   Error (frameset): Wrong type argument: number-or-marker-p, nil


Thanks for the nice report.

Following my change for

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17693

this issue does not seem to occur any more.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17957; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Jul 2014 16:37:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 06 12:37:06 2014
Received: from localhost ([127.0.0.1]:45086 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1X3pR3-000214-Ha
	for submit <at> debbugs.gnu.org; Sun, 06 Jul 2014 12:37:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60657)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <benny@HIDDEN>) id 1X3pR1-0001zd-4b
 for submit <at> debbugs.gnu.org; Sun, 06 Jul 2014 12:37:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <benny@HIDDEN>) id 1X3pQn-0007z1-0q
 for submit <at> debbugs.gnu.org; Sun, 06 Jul 2014 12:36:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34427)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <benny@HIDDEN>) id 1X3pQm-0007yu-U9
 for submit <at> debbugs.gnu.org; Sun, 06 Jul 2014 12:36:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34021)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <benny@HIDDEN>) id 1X3pQg-0004XF-Ow
 for bug-gnu-emacs@HIDDEN; Sun, 06 Jul 2014 12:36:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <benny@HIDDEN>) id 1X3pQa-0007wO-KJ
 for bug-gnu-emacs@HIDDEN; Sun, 06 Jul 2014 12:36:42 -0400
Received: from odoacer.turtle-trading.net ([217.91.34.180]:40898)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <benny@HIDDEN>) id 1X3pQa-0007vQ-Dp
 for bug-gnu-emacs@HIDDEN; Sun, 06 Jul 2014 12:36:36 -0400
Received: from odoacer.turtle-trading.net ([217.91.34.180]
 helo=justinian.turtle-trading.net)
 by odoacer.turtle-trading.net with esmtp (Exim 4.80)
 (envelope-from <benny@HIDDEN>)
 id 1X3pQQ-0001aG-OV; Sun, 06 Jul 2014 18:36:29 +0200
Received: from justinian.turtle-trading.net (localhost [127.0.0.1])
 by justinian.turtle-trading.net (8.14.8/8.14.7) with ESMTP id s66GaKW8007037; 
 Sun, 6 Jul 2014 18:36:21 +0200
Received: (from benny@localhost)
 by justinian.turtle-trading.net (8.14.8/8.14.8/Submit) id s66GaKiB007036;
 Sun, 6 Jul 2014 18:36:20 +0200
From: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.92;
 Bad interaction between "emacs --daemon" and "desktop-save-mode"
Date: Sun, 06 Jul 2014 18:36:19 +0200
Message-ID: <m31ttyv3zw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Receipe from a command line:

  mkdir /tmp/t
  cd /tmp/t
  cat > .emacs <<EOF
    (add-to-list 'window-system-default-frame-alist '(nil . ((menu-bar-lines . 0))))
    (desktop-save-mode 1)
  EOF
  HOME=$PWD emacs --daemon
  emacsclient -n -c

Now in Emacs execute the commands 

  desktop-save
  kill-emacs

Restart Emacs with

  HOME=$PWD emacs --daemon

The menu bar has disappeared and a get an error message:

  Error (frameset): Wrong type argument: number-or-marker-p, nil

-----------------
In GNU Emacs 24.3.92.1 (i686-pc-linux-gnu, GTK+ Version 3.10.9)
 of 2014-06-27 on justinian
Windowing system distributor `Fedora Project', version 11.0.11404000
Configured using:
 `configure --prefix=/usr/local/emacs-24.3.92'

Important settings:
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix




Acknowledgement sent to Benjamin Riefenstahl <b.riefenstahl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#17957; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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