all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 6155@debbugs.gnu.org
Subject: bug#6155: Crashes on w32 because of bad frame initialization
Date: Mon, 10 May 2010 21:17:43 +0200	[thread overview]
Message-ID: <AANLkTilRob3JVDcHEeX8sJxVkTRf2fYrkNRErNGGnA_I@mail.gmail.com> (raw)
In-Reply-To: <o2ke01d8a51005101155pb20da0daj992fb598a485abd0@mail.gmail.com>

> This should perhaps be

No, I don't think it *should*.

>  (let ((frame-alist (delete '(menu-bar-lines . 1) default-frame-alist)))

Unnecessary. `assoc' and friends will find the first matching key.

>    (setq frame-alist (cons '(menu-bar-lines . t) frame-alist))

Identical to my `push', only I was using `default-frame-alist' (on purpose).

>    (make-frame frame-alist))

Unnecessary in my example. `make-frame' already uses `default-frame-alist'.

Please try

(let ((default-frame-alist default-frame-alist))
  (push '(menu-bar-lines . 0) default-frame-alist)
  (make-frame))

to see that it works.

    Juanma





  reply	other threads:[~2010-05-10 19:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10 14:13 bug#6155: Crashes on w32 because of bad frame initialization Lennart Borgman
2010-05-10 15:12 ` Juanma Barranquero
2010-05-10 16:00   ` Lennart Borgman
2010-05-10 17:41     ` Juanma Barranquero
2010-05-10 18:55       ` Lennart Borgman
2010-05-10 19:17         ` Juanma Barranquero [this message]
2011-07-11 23:16           ` Glenn Morris
2011-07-12 10:23             ` Lennart Borgman

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=AANLkTilRob3JVDcHEeX8sJxVkTRf2fYrkNRErNGGnA_I@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=6155@debbugs.gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.