all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Robert Marshall <robert@capuchin.co.uk>
Cc: Juanma Barranquero <lekktu@gmail.com>, 17046@debbugs.gnu.org
Subject: bug#17046: 24.3.50; On startup emacs frame has no minibuffer or windows decorations
Date: Sat, 22 Mar 2014 14:44:57 +0100	[thread overview]
Message-ID: <532D93D9.10101@gmx.at> (raw)
In-Reply-To: <21293.30111.645044.742129@capuchin.co.uk>

 >>   > 2) Exit Emacs (saving the desktop)
 >   >  > 3) Copy the "(setq desktop-saved-frameset ...)" line from .emacs.desktop
 >   >  > 4) emacs -Q
 >   >
 >   > Robert please try here both variants with and without -Q so we can see
 >   > whether something in your .emacs has any impact.
 >   >
 >
 > OK, I'm having problems at the moment getting it to replicate either
 > with a -Q -l loading:
 >       (desktop-save-mode 1)
 >       (setq desktop-save nil) ;; so that the desktop which was giving probs is kept!
 >       (desktop-read "/home/robert/tmp")

IIUC Juanma means that you must _not_ call `desktop-read' but rather
copy the

(setq desktop-saved-frameset ...)

form from your .emacs.desktop to *scratch* in the new emacs you just
started, evaluate that form and then do

    (frameset-restore desktop-saved-frameset
                      :reuse-frames t
                      :cleanup-frames t
                      :force-onscreen t)

in *scratch*.  If this does _not_ reproduce the problem after at most
two or three attempts I would conclude that the problem is with the
(Juanma might correct me) yet invisible frame used in the original
scenario by `desktop-read'.  For an invisible frame x_set_window_size_1
chooses the else clause in

   if (FRAME_VISIBLE_P (f))
     x_wait_for_event (f, ConfigureNotify);
   else
     {
       change_frame_size (f, width, height, 0, 1, 0, 1);
       x_sync (f);
     }

so there's no synchronization with the window manager right here and
maybe subsequently making the frame visible is not catching up with the
changes induced by change_frame_size.  This is the only conclusion I
currently have left.

So once more: If you can't reproduce the problem here with very few
attempts don't insist.  In this case we should try the following: Strip
your .emacs.desktop from any irrelevant entries.  This means to
construct a new .emacs.desktop that is sufficient to cause the original
problem and otherwise minimal enough so we can debug it.  Juanma: Can we
get a pretty printed version of Robert's .emacs.desktop such that he can
process it with `desktop-read' and we can comment out entries easily?
Then we could start in a first step do things like

;;      (foreground-color . "DarkOrchid1")
;;      (background-color . "mint cream")
;;      (mouse-color . "#221f1e")
;;      (border-color . "black")
;;      (screen-gamma)
;;      (line-spacing)
      (left-fringe . 8)
      (right-fringe . 8)
;;      (scroll-bar-foreground . "#221f1e")
;;      (scroll-bar-background . "grey75")
      (menu-bar-lines . 1)
      (tool-bar-lines . 1)
;;      (title)
      (wait-for-wm . t)
;;      (fullscreen)
      (tool-bar-position . top)
;;      (icon-type . t)
;;      (auto-raise)
;;      (auto-lower)
;;      (cursor-type . box)
      (scroll-bar-width . 16)
;;      (alpha . 90)
      (horizontal-scroll-bars . t)
;;      (display-type . color)
;;      (background-mode . light)
;;      (cursor-color . "#221f1e")
;;      (sticky)
;;      (environment)

Ideally we could comment out everything but the height and width entries
but I suppose we need some additional entry to produce the bug.  Any
such entry already should provide a first clue.

 > or with my normal .emacs will let you know when I manage to generate
 > the same problem again!

martin






  reply	other threads:[~2014-03-22 13:44 UTC|newest]

Thread overview: 135+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-20  9:08 bug#17046: 24.3.50; On startup emacs frame has no minibuffer or windows decorations Robert Marshall
2014-03-20  9:52 ` martin rudalics
2014-03-20 12:22   ` Robert Marshall
2014-03-20 13:08     ` martin rudalics
2014-03-20 14:28       ` Robert Marshall
2014-03-20 19:23         ` martin rudalics
2014-03-20 20:25           ` Robert Marshall
2014-03-20 20:37             ` Juanma Barranquero
2014-03-20 20:51               ` Robert Marshall
2014-03-20 20:59                 ` Juanma Barranquero
2014-03-21  8:02               ` martin rudalics
2014-03-21  8:03             ` martin rudalics
     [not found]               ` <21292.6903.499178.348@capuchin.co.uk>
2014-03-21 15:07                 ` martin rudalics
2014-03-21 16:53                   ` Robert Marshall
2014-03-21 17:42                     ` martin rudalics
2014-03-22  1:53                       ` Juanma Barranquero
2014-03-22  9:40                         ` martin rudalics
2014-03-22 11:35                           ` Robert Marshall
2014-03-22 13:44                             ` martin rudalics [this message]
2014-03-22 14:02                               ` Juanma Barranquero
2014-03-22 14:20                                 ` martin rudalics
2014-03-22 14:33                                   ` Juanma Barranquero
2014-03-22 15:20                                     ` martin rudalics
2014-03-22 15:26                                       ` Juanma Barranquero
2014-03-22 15:33                                         ` martin rudalics
2014-03-22 16:28                                           ` Robert Marshall
2014-03-22 16:38                                             ` Juanma Barranquero
2014-03-22 17:00                                               ` Robert Marshall
2014-03-22 17:34                                                 ` Juanma Barranquero
2014-03-22 18:36                                               ` Robert Marshall
2014-03-22 19:09                                                 ` Juanma Barranquero
2014-03-22 19:18                                                 ` martin rudalics
2014-03-22 19:22                                                   ` Juanma Barranquero
2014-03-22 18:43                                             ` martin rudalics
2014-03-22 19:17                                               ` Juanma Barranquero
2014-03-22 19:34                                                 ` martin rudalics
2014-03-22 20:17                                                   ` Robert Marshall
2014-03-22 21:17                                                     ` Juanma Barranquero
2014-03-22 21:35                                                       ` martin rudalics
2014-03-22 21:35                                                     ` martin rudalics
2014-03-22 21:42                                                       ` Juanma Barranquero
2014-03-22 22:16                                                         ` Robert Marshall
2014-03-23 10:11                                                           ` martin rudalics
2014-03-23 11:14                                                             ` Robert Marshall
2014-03-23 11:39                                                               ` martin rudalics
2014-03-23 12:13                                                                 ` Robert Marshall
2014-03-23 13:39                                                                 ` Robert Marshall
2014-03-23 13:51                                                                   ` martin rudalics
2014-03-23 14:11                                                                     ` martin rudalics
2014-03-23 14:30                                                                     ` Robert Marshall
2014-03-23 14:55                                                                       ` martin rudalics
2014-03-23 15:03                                                                         ` martin rudalics
2014-03-23 15:34                                                                           ` Robert Marshall
2014-03-23 15:17                                                                         ` Robert Marshall
2014-03-23 15:28                                                                           ` martin rudalics
2014-03-23 16:10                                                                             ` Robert Marshall
2014-03-23 16:37                                                                               ` Juanma Barranquero
2014-03-23 16:57                                                                                 ` martin rudalics
2014-03-23 17:19                                                                                   ` martin rudalics
2014-03-23 17:07                                                                                 ` Robert Marshall
2014-03-23 16:50                                                                               ` martin rudalics
2014-03-23 17:11                                                                                 ` Robert Marshall
2014-03-23 17:28                                                                                   ` martin rudalics
2014-03-23 17:43                                                                                     ` Robert Marshall
2014-03-23 18:09                                                                                       ` martin rudalics
2014-03-23 19:06                                                                                         ` Robert Marshall
2014-03-23 19:11                                                                                       ` Juanma Barranquero
2014-03-23 19:32                                                                                         ` Robert Marshall
2014-03-23 20:17                                                                                           ` Juanma Barranquero
2014-03-23 21:01                                                                                             ` Robert Marshall
2014-03-23 21:08                                                                                               ` Juanma Barranquero
2014-03-23 21:17                                                                                           ` Juanma Barranquero
2014-03-23 21:35                                                                                             ` Robert Marshall
2014-03-24  0:13                                                                                               ` Juanma Barranquero
2014-03-24  8:09                                                                                                 ` Robert Marshall
2014-03-24 11:32                                                                                                   ` Juanma Barranquero
2014-03-24 11:36                                                                                                     ` Juanma Barranquero
2014-03-24 12:03                                                                                                       ` Robert Marshall
2014-03-24 12:56                                                                                                         ` Juanma Barranquero
2014-03-24 13:23                                                                                                           ` Robert Marshall
2014-03-24 14:57                                                                                                             ` Juanma Barranquero
2014-03-24 15:22                                                                                                               ` Robert Marshall
2014-03-24 15:41                                                                                                                 ` Juanma Barranquero
2014-03-24 16:09                                                                                                                   ` Robert Marshall
2014-03-24 16:16                                                                                                                     ` Juanma Barranquero
2014-03-24 17:13                                                                                                                       ` Robert Marshall
2014-03-24 17:24                                                                                                                         ` Juanma Barranquero
2014-03-24 18:48                                                                                                                           ` Robert Marshall
     [not found]                                                                                                                             ` <CAAeL0SQ=mwj+FAf_vR8F5-9bdFw0FcejGFvfNKAAPNwZHZruHw@mail.gmail.com>
2014-03-24 21:33                                                                                                                               ` Robert Marshall
2014-03-24 21:52                                                                                                                                 ` Juanma Barranquero
2014-03-24 22:43                                                                                                                                   ` Robert Marshall
2014-03-24 23:37                                                                                                                                     ` Juanma Barranquero
2014-03-25  7:12                                                                                                                                       ` Robert Marshall
2014-03-25 10:40                                                                                                                                         ` Juanma Barranquero
2014-03-25 11:09                                                                                                                                           ` Robert Marshall
2014-03-25 12:32                                                                                                                                             ` Juanma Barranquero
2014-03-25 14:57                                                                                                                                               ` martin rudalics
2014-03-25 15:48                                                                                                                                                 ` Eli Zaretskii
2014-03-26 16:34                                                                                                                                                   ` Juanma Barranquero
2014-03-26 17:08                                                                                                                                                     ` Robert Marshall
2014-03-26 17:15                                                                                                                                                       ` Juanma Barranquero
2014-03-26 17:29                                                                                                                                                         ` Robert Marshall
2014-03-26 17:54                                                                                                                                                         ` Eli Zaretskii
2014-03-26 18:19                                                                                                                                                           ` Juanma Barranquero
2014-03-26 19:14                                                                                                                                                             ` Robert Marshall
2014-03-26 20:18                                                                                                                                                               ` Juanma Barranquero
2014-03-26 22:58                                                                                                                                                                 ` Robert Marshall
2014-03-26 23:00                                                                                                                                                                   ` Juanma Barranquero
2014-03-27  0:59                                                                                                                                                                   ` Juanma Barranquero
2014-03-27  7:15                                                                                                                                                                     ` Robert Marshall
2014-03-26 23:05                                                                                                                                                             ` Juanma Barranquero
2014-03-27 15:06                                                                                                                                                               ` Juanma Barranquero
2014-03-22 22:10                                                       ` Robert Marshall
2014-03-22 22:14                                                         ` Juanma Barranquero
2014-03-22 16:56                         ` Robert Marshall
2014-03-22 17:39                           ` Juanma Barranquero
2014-03-23 16:07               ` Robert Marshall
2014-03-20 12:24 ` Juanma Barranquero
2014-03-20 12:57   ` Robert Marshall
2014-03-20 14:02     ` Juanma Barranquero
2014-03-20 16:32       ` Robert Marshall
2014-03-20 16:54         ` Juanma Barranquero
2014-03-20 19:24           ` martin rudalics
2014-03-20 20:23             ` Juanma Barranquero
2014-03-21  8:02               ` martin rudalics
2014-03-21 16:18                 ` Juanma Barranquero
2014-03-22  9:39                   ` martin rudalics
2014-03-22 11:43                     ` Juanma Barranquero
2014-03-22 13:45                       ` martin rudalics
2014-03-22 14:04                         ` Juanma Barranquero
2014-03-22 14:21                           ` martin rudalics
2014-03-22 14:27                         ` Eli Zaretskii
2014-03-22 15:21                           ` martin rudalics
2014-03-22 14:39                     ` Stefan
2014-03-22 15:21                       ` martin rudalics

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=532D93D9.10101@gmx.at \
    --to=rudalics@gmx.at \
    --cc=17046@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    --cc=robert@capuchin.co.uk \
    /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.