GNU bug report logs -
#17957
24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode"
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17957 in the body.
You can then email your comments to 17957 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17957
; Package
emacs
.
(Sun, 06 Jul 2014 16:38:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Benjamin Riefenstahl <b.riefenstahl <at> turtle-trading.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 06 Jul 2014 16:38:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17957
; Package
emacs
.
(Wed, 16 Jul 2014 04:36:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 17957 <at> debbugs.gnu.org (full text, mbox):
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 <at> gnu.org
:
bug#17957
; Package
emacs
.
(Thu, 17 Jul 2014 21:28:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 17957 <at> debbugs.gnu.org (full text, mbox):
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 <at> gnu.org
:
bug#17957
; Package
emacs
.
(Wed, 14 Jul 2021 09:24:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 17957 <at> debbugs.gnu.org (full text, mbox):
Benjamin Riefenstahl <b.riefenstahl <at> turtle-trading.net> writes:
> 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.
(I'm going through old bug reports that unfortunately got little response at
the time.)
I tried following the recipe (in Emacs 28), but I was unable to
reproduce the problem. Are you still seeing this issue in more recent
versions of Emacs?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 14 Jul 2021 09:24:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17957
; Package
emacs
.
(Sat, 17 Jul 2021 13:54:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 17957 <at> debbugs.gnu.org (full text, mbox):
Hi Lars,
> Benjamin Riefenstahl <b.riefenstahl <at> turtle-trading.net> writes:
>> OTOH I still think there is another issue. [...]
Lars Ingebrigtsen writes:
> I tried following the recipe (in Emacs 28), but I was unable to
> reproduce the problem. Are you still seeing this issue in more recent
> versions of Emacs?
The original issue was fixed. I was somehow wondering about a more
fundmental problem, but I can not at this time reconstruct what it was
or why I thought that the patch was not sufficient for that (I assume we
were talking about #c9f7ec736b here).
I think we can just close the bug and assume that any other issues have
been or will be dealt with when they cause actual problems.
Thanks, benny
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17957
; Package
emacs
.
(Sat, 17 Jul 2021 14:11:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 17957 <at> debbugs.gnu.org (full text, mbox):
Benjamin Riefenstahl <b.riefenstahl <at> turtle-trading.net> writes:
> I think we can just close the bug and assume that any other issues have
> been or will be dealt with when they cause actual problems.
Yup. I'm closing this bug report, then.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
17957 <at> debbugs.gnu.org and Benjamin Riefenstahl <b.riefenstahl <at> turtle-trading.net>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 17 Jul 2021 14:11:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 15 Aug 2021 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 314 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.