GNU bug report logs - #7106
Unable to customize menu-bar startup from .emacs file

Previous Next

Package: emacs22;

Reported by: Avery Chan <avery <at> ootbdev.com>

Date: Sun, 26 Sep 2010 02:05:02 UTC

Severity: normal

Tags: moreinfo

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7106 in the body.
You can then email your comments to 7106 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7106; Package emacs. (Sun, 26 Sep 2010 02:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Avery Chan <avery <at> ootbdev.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 26 Sep 2010 02:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Avery Chan <avery <at> ootbdev.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Unable to customize menu-bar startup from .emacs file 
Date: Sun, 26 Sep 2010 09:03:55 +0800
I put this in my .emacs file:

(custom-set-variables
 '(gud-gdb-command-name "gdb --annotate=1")
 '(large-file-warning-threshold nil)
 '(menu-bar-mode t)
 '(shell-dirtrack-verbose nil))
(custom-set-faces
 )
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
Note the (menu-bar-mode t). When I fire up emacs, I have to M-x menu- 
bar-mode to get a menu bar. I am running GNU Emacs 22.1.1 (mac-apple- 
darwin, Carbon Version 1.6.0)

I have posted my problem to http://stackoverflow.com/questions/3793806/how-do-i-display-the-menu-bar-in-emacs-every-time-i-start-up

The suggestions there didn't work; other users noted they did not have  
this type of a problem; I am concluding, then, that the problem lies  
with this particular build.


In GNU Emacs 22.1.1 (mac-apple-darwin, Carbon Version 1.6.0)
 of 2009-11-23 on Avericity.local
Windowing system distributor `Apple Inc.', version 10.5.8
configured using `configure  '--prefix=/usr' '--mandir=/usr/share/man'  
'--infodir=/usr/share/info' '--disable-dependency-tracking' '--without- 
x' '--enable-carbon-app=/BinaryCache/emacs/emacs-70.1~296/Root/ 
AppleInternal/Applications' 'ac_cv_host=mac-apple-darwin' 'CFLAGS=- 
arch i386 -arch ppc -g -Os -pipe -no-cpp-precomp -mdynamic-no-pic -Wno- 
pointer-sign -arch i386 -arch ppc -pipe' 'LDFLAGS=-arch i386 -arch ppc  
-Wl,-headerpad,0x1000''

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
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  encoded-kbd-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
ESC x r e p o r TAB RET

Recent messages:
("emacs")
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7106; Package emacs. (Mon, 27 Sep 2010 17:48:02 GMT) Full text and rfc822 format available.

Message #8 received at 7106 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Avery Chan <avery <at> ootbdev.com>
Cc: 7106 <at> debbugs.gnu.org
Subject: Re: bug#7106: Unable to customize menu-bar startup from .emacs file
Date: Mon, 27 Sep 2010 13:50:16 -0400
Avery Chan wrote:

> (custom-set-variables
>  '(gud-gdb-command-name "gdb --annotate=1")
>  '(large-file-warning-threshold nil)
>  '(menu-bar-mode t)
>  '(shell-dirtrack-verbose nil))
> (custom-set-faces
>  )
> (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
> Note the (menu-bar-mode t). When I fire up emacs, I have to M-x menu- 
> bar-mode to get a menu bar.

Works for me in GNU/Linux with Emacs 22.1 through 23.2.
Note that the menu-bar is on by default anyway, so you should not need
to do anything in the first place.

> I am concluding, then, that the problem lies with this particular
> build.
>
> In GNU Emacs 22.1.1 (mac-apple-darwin, Carbon Version 1.6.0)
>  of 2009-11-23 on Avericity.local

I am afraid that is quite old and no longer supported. Please try the
latest, Emacs 23.2.

As a workaround, you could stick

(menu-bar-mode 1)

at the end of your .emacs.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7106; Package emacs22. (Fri, 01 Oct 2010 03:18:01 GMT) Full text and rfc822 format available.

Message #11 received at 7106 <at> debbugs.gnu.org (full text, mbox):

From: Avery Chan <avery <at> ootbdev.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 7106 <at> debbugs.gnu.org
Subject: Re: bug#7106: Unable to customize menu-bar startup from .emacs file
Date: Fri, 1 Oct 2010 10:36:38 +0800
Upgrading to 23.2.1 fixed this. Is there a process for letting Apple  
know that their stock installation is broken? I *am* using an older  
version of the OS so it might be fixed in 10.6.*. I don't know what  
kind of relationship gnu.org has with Apple; if there's a process for  
this it might be beneficial to push this to them.

Thanks again for looking into this. I appreciate it.

Avery

On Sep 28, 2010, at 1:50 AM, Glenn Morris wrote:

> Avery Chan wrote:
>
>> (custom-set-variables
>> '(gud-gdb-command-name "gdb --annotate=1")
>> '(large-file-warning-threshold nil)
>> '(menu-bar-mode t)
>> '(shell-dirtrack-verbose nil))
>> (custom-set-faces
>> )
>> (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
>> Note the (menu-bar-mode t). When I fire up emacs, I have to M-x menu-
>> bar-mode to get a menu bar.
>
> Works for me in GNU/Linux with Emacs 22.1 through 23.2.
> Note that the menu-bar is on by default anyway, so you should not need
> to do anything in the first place.
>
>> I am concluding, then, that the problem lies with this particular
>> build.
>>
>> In GNU Emacs 22.1.1 (mac-apple-darwin, Carbon Version 1.6.0)
>> of 2009-11-23 on Avericity.local
>
> I am afraid that is quite old and no longer supported. Please try the
> latest, Emacs 23.2.
>
> As a workaround, you could stick
>
> (menu-bar-mode 1)
>
> at the end of your .emacs.





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 01 Oct 2010 03:28:02 GMT) Full text and rfc822 format available.

Notification sent to Avery Chan <avery <at> ootbdev.com>:
bug acknowledged by developer. (Fri, 01 Oct 2010 03:28:02 GMT) Full text and rfc822 format available.

Message #16 received at 7106-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 7106-done <at> debbugs.gnu.org
Subject: Re: bug#7106: Unable to customize menu-bar startup from .emacs file
Date: Thu, 30 Sep 2010 23:30:31 -0400
Avery Chan wrote:

> Upgrading to 23.2.1 fixed this. Is there a process for letting Apple
> know that their stock installation is broken? I *am* using an older
> version of the OS so it might be fixed in 10.6.*. I don't know what
> kind of relationship gnu.org has with Apple; if there's a process for
> this it might be beneficial to push this to them.

There is no relationship between gnu.org and Apple in this regard.
You could report it to them through whatever channels they have for
users of their system to report bugs and make requests.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Oct 2010 11:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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