all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17957: 24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode"
@ 2014-07-06 16:36 Benjamin Riefenstahl
  2014-07-16  4:35 ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Riefenstahl @ 2014-07-06 16:36 UTC (permalink / raw)
  To: 17957

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#17957: 24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode"
  2014-07-06 16:36 bug#17957: 24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode" Benjamin Riefenstahl
@ 2014-07-16  4:35 ` Glenn Morris
  2014-07-17 21:26   ` Benjamin Riefenstahl
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2014-07-16  4:35 UTC (permalink / raw)
  To: Benjamin Riefenstahl; +Cc: 17957

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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#17957: 24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode"
  2014-07-16  4:35 ` Glenn Morris
@ 2014-07-17 21:26   ` Benjamin Riefenstahl
  2021-07-14  9:23     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Riefenstahl @ 2014-07-17 21:26 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 17957

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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#17957: 24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode"
  2014-07-17 21:26   ` Benjamin Riefenstahl
@ 2021-07-14  9:23     ` Lars Ingebrigtsen
  2021-07-17 13:52       ` Benjamin Riefenstahl
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-14  9:23 UTC (permalink / raw)
  To: Benjamin Riefenstahl; +Cc: Glenn Morris, 17957

Benjamin Riefenstahl <b.riefenstahl@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#17957: 24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode"
  2021-07-14  9:23     ` Lars Ingebrigtsen
@ 2021-07-17 13:52       ` Benjamin Riefenstahl
  2021-07-17 14:10         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Riefenstahl @ 2021-07-17 13:52 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Glenn Morris, 17957

Hi Lars,

> Benjamin Riefenstahl <b.riefenstahl@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#17957: 24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode"
  2021-07-17 13:52       ` Benjamin Riefenstahl
@ 2021-07-17 14:10         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-17 14:10 UTC (permalink / raw)
  To: Benjamin Riefenstahl; +Cc: Glenn Morris, 17957

Benjamin Riefenstahl <b.riefenstahl@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-17 14:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-06 16:36 bug#17957: 24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode" Benjamin Riefenstahl
2014-07-16  4:35 ` Glenn Morris
2014-07-17 21:26   ` Benjamin Riefenstahl
2021-07-14  9:23     ` Lars Ingebrigtsen
2021-07-17 13:52       ` Benjamin Riefenstahl
2021-07-17 14:10         ` Lars Ingebrigtsen

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.