emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when creating new frame


From: Lennart Borgman (gmail)
Subject: Re: Error when creating new frame
Date: Sun, 08 Apr 2007 15:53:10 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

jpff wrote:
I attempted to create a new frame from the File menu.
The frame is created but I always get this error:
Debugger entered--Lisp error: (wrong-number-of-arguments #[nil "=8c0=8c1!=83 =8c1=8c2!=88=8c0=8c3!=85=8c3=8c2!=87" [functionp tool-bar-mode -1 blink-cursor-mode] 2] 1) #[nil "=8c0=8c1!=83\n=8c1=8c2!=88=8c0=8c3!=85=8c3=8c2!=87" [functionp tool-bar-mode -1 blink-cursor-mode] 2](#<frame address@hidden 0x9312880>) run-hook-with-args(#[nil "=8c0=8c1!=83\n=8c1=8c2!=88=8c0=8c3!=85=8c3=8c2!=87" [functionp tool-bar-mode -1 blink-cursor-mode] 2] #<frame address@hidden 0x9312880>)
  make-frame()
  make-frame-command()
  call-interactively(make-frame-command)

As far as I can tell the problem is my initialisation
(setq after-make-frame-functions
      (function (lambda (f) (tool-bar-mode -1))))

But the documentation for after-make-frame-functions suggests this is
correct and I call (tool-bar-mode -1) always in .emacs


I do not know the cause of the problem you see, but here are some comments:

- I think you should write (tool-bar-mode 1) now to turn on tool-bar-mode.

- I can not reproduce the traceback when I just set after-make-frame-functions after start up. (I did not try to put it .emacs)

- What is the value of your after-make-frame-functions? From the traceback it looks a bit strange.


I really cannot see the problem and it did work in emac 21


In GNU Emacs 22.0.97.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-04-07 on cardew





reply via email to

[Prev in Thread] Current Thread [Next in Thread]