GNU bug report logs - #2249
23.0.90; default-frame-alist: Invalid function: (menu-bar-lines . 1)

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Mon, 9 Feb 2009 16:10:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#2249: closed (23.0.90; default-frame-alist: Invalid function:
 (menu-bar-lines . 1))
Date: Sun, 27 Jun 2010 00:37:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 26 Jun 2010 20:36:48 -0400
with message-id <8739w9z4yn.fsf <at> stupidchicken.com>
and subject line Re: bug#2249: 23.0.90; default-frame-alist: Invalid function: (menu-bar-lines . 1)
has caused the GNU bug report #2249,
regarding 23.0.90; default-frame-alist: Invalid function: (menu-bar-lines . 1)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
2249: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2249
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stephen Berman <stephen.berman <at> gmx.net>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.90; default-frame-alist: Invalid function: (menu-bar-lines . 1)
Date: Mon, 09 Feb 2009 17:04:31 +0100
1. emacs -Q
2. M-x customize-variable RET default-frame-alist RET
3. Custom buffer shows:

        Default Frame Alist: 
	Parameter: menu-bar-lines
	            Value: 1
	Parameter: tool-bar-lines
	            Value: 1
	   State: CHANGED outside Customize; operating on it here may be unreliable.

4. Click "State" button, select "Show Saved Lisp Expresion".  Custom
   buffer now shows:

	default-frame-alist: nil
        State: CHANGED outside Customize; operating on it here may be unreliable. (lisp)

The above just shows that Emacs sets a non-STANDARD default for
default-frame-alist.  Now comes the bug:

5. Let ~/.emacs and/or custom-file contain no setting of
   default-frame-alist. Invoke emacs (i.e. user-init-file is read).
6. Repeat step 2 above, the Custom buffer is again as in step 3.
7. Change the values of menu-bar-lines and tool-bar-lines to 0, then
   click button "Save for current session".  Custom buffer now shows:

	Default Frame Alist: 
	INS DEL Parameter: menu-bar-lines
	            Value: 0
	INS DEL Parameter: tool-bar-lines
	            Value: 0
	INS
	   State: SAVED and set.

8. Click button "Erase customizations"
   => Emacs beeps, shows message "Invalid function: (menu-bar-lines . 1)"

If in step 8 I click the button "Save for future sessions" and then
repeat steps 5 and 6, the display is as in step 7, and doing step 8
results in the same error.

If after step 6 I click "Erase customizations" without changing any
value, then the entries are flushed and the state is: STANDARD.  But
when I then repeat steps 5 and 6 again, the display is again as in 3.


In GNU Emacs 23.0.90.2 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-02-09 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t


[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Stephen Berman <stephen.berman <at> gmx.net>, 2249-done <at> debbugs.gnu.org
Subject: Re: bug#2249: 23.0.90;
	default-frame-alist: Invalid function: (menu-bar-lines . 1)
Date: Sat, 26 Jun 2010 20:36:48 -0400
>> 3. Custom buffer shows:
>>
>>     Default Frame Alist:
>>  Parameter: menu-bar-lines
>>             Value: 1
>>  Parameter: tool-bar-lines
>>             Value: 1
>>      State: CHANGED outside Customize; operating on it here may be
>>             unreliable.
>
> This is an old issue, see, for example
>
> http://lists.gnu.org/archive/html/emacs-devel/2000-11/msg00244.html
> http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg01194.html

I have checked a fix into the trunk that changes the way we handle
menu-bar and tool-bar lines.  The value of initial- and
default-frame-alist should now be nil, by default, at startup.


This bug report was last modified 14 years and 334 days ago.

Previous Next


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