unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Re: problems porting .emacs to NTemacs
       [not found]   ` <3D67761D.8060601@nortelnetworks.com>
@ 2002-08-25 19:15     ` Stefan Monnier <foo@acm.com>
  2002-08-26 12:53       ` Richard Stallman
  2002-08-27 22:59       ` Michael Soulier
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Monnier <foo@acm.com> @ 2002-08-25 19:15 UTC (permalink / raw)
  Cc: bug-gnu-emacs

The following message is a courtesy copy of an article
that has been posted to gnu.emacs.help as well.

>>>>> "Michael" == Michael Soulier <msoulier@nortelnetworks.com> writes:
> Stefan Monnier  wrote:
>>> '(default ((t (:stipple nil :background "#e5e5e5" :foreground
>>> "black" :inverse-video nil :box nil :strike-through nil :overline
>>> nil :underline nil :slant normal :weight normal :height 87 :width
>>> normal :family "adobe-courier"))))
>> Options => Enter Debugger on Error
> Ok. This is a piece of the backtrace. It would seem that face-spec-choose
> has run amock, but I'm guessing.
[...]
> Debugger entered--Lisp error: (error "Variable binding depth exceeds
> max-specpdl-size")
>    face-spec-choose((((... ...) (:foreground "red")) ((... ...) (:foreground "red" :bold t)) ((... ...) (:foreground "Pink" :bold t)) (t (:inverse-video t :bold t))) #<frame emacs@MSOULIER-2 0x144fc00\ >)
>    face-spec-set(font-lock-warning-face (((... ...) (:foreground "red")) ((... ...) (:foreground "Red" :bold t)) ((... ...) (:foreground "Pink" :bold t)) (t (:inverse-video t :bold t))) #<frame emacs@MSOULIER-2 0x144fc00\ >)
>    face-set-after-frame-default(#<frame emacs@MSOULIER-2 0x144fc00\ >)
>    internal-set-lisp-face-attribute(default :family "adobe-courier" #<frame emacs@MSOULIER-2 0x144fc00\ >)
>    set-face-attribute(default #<frame emacs@MSOULIER-2 0x144fc00\ > :family "adobe-courier")
>    face-spec-set(default ((t (:stipple nil :background "#e5e5e5" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 87 :width normal :family "adobe-courier"))) #<frame emacs@MSOULIER-2 0x144fc00\ >)
>    face-set-after-frame-default(#<frame emacs@MSOULIER-2 0x144fc00\ >)

It seems that when set-face-attribute is called on the `default' face to
change some font-related property (the family in this case), it does a
`modify-frame-parameter' to change its `font' setting which in turn then calls
`face-set-after-frame-default' to refresh all the faces which in turns
tries to use the `default' setting which changes the `family' again, ...

Looks like a bug.  Does it also happen under Xwindow ?
Please reply to gnu.emacs.bug.


        Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problems porting .emacs to NTemacs
  2002-08-25 19:15     ` problems porting .emacs to NTemacs Stefan Monnier <foo@acm.com>
@ 2002-08-26 12:53       ` Richard Stallman
  2002-08-27 22:59       ` Michael Soulier
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2002-08-26 12:53 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    It seems that when set-face-attribute is called on the `default' face to
    change some font-related property (the family in this case), it does a
    `modify-frame-parameter' to change its `font' setting which in turn then calls
    `face-set-after-frame-default' to refresh all the faces which in turns
    tries to use the `default' setting which changes the `family' again, ...

That bug is fixed already for 21.3.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problems porting .emacs to NTemacs
  2002-08-25 19:15     ` problems porting .emacs to NTemacs Stefan Monnier <foo@acm.com>
  2002-08-26 12:53       ` Richard Stallman
@ 2002-08-27 22:59       ` Michael Soulier
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Soulier @ 2002-08-27 22:59 UTC (permalink / raw)


Stefan Monnier  wrote:
> [...]
> 
>>Debugger entered--Lisp error: (error "Variable binding depth exceeds
>>max-specpdl-size")
>>   face-spec-choose((((... ...) (:foreground "red")) ((... ...) (:foreground "red" :bold t)) ((... ...) (:foreground "Pink" :bold t)) (t (:inverse-video t :bold t))) #<frame emacs@MSOULIER-2 0x144fc00\ >)
>>   face-spec-set(font-lock-warning-face (((... ...) (:foreground "red")) ((... ...) (:foreground "Red" :bold t)) ((... ...) (:foreground "Pink" :bold t)) (t (:inverse-video t :bold t))) #<frame emacs@MSOULIER-2 0x144fc00\ >)
>>   face-set-after-frame-default(#<frame emacs@MSOULIER-2 0x144fc00\ >)
>>   internal-set-lisp-face-attribute(default :family "adobe-courier" #<frame emacs@MSOULIER-2 0x144fc00\ >)
>>   set-face-attribute(default #<frame emacs@MSOULIER-2 0x144fc00\ > :family "adobe-courier")
>>   face-spec-set(default ((t (:stipple nil :background "#e5e5e5" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 87 :width normal :family "adobe-courier"))) #<frame emacs@MSOULIER-2 0x144fc00\ >)
>>   face-set-after-frame-default(#<frame emacs@MSOULIER-2 0x144fc00\ >)
> 
> 
> It seems that when set-face-attribute is called on the `default' face to
> change some font-related property (the family in this case), it does a
> `modify-frame-parameter' to change its `font' setting which in turn then calls
> `face-set-after-frame-default' to refresh all the faces which in turns
> tries to use the `default' setting which changes the `family' again, ...
> 
> Looks like a bug.  Does it also happen under Xwindow ?
> Please reply to gnu.emacs.bug.


No, it doesn't happen under X on Linux. This problem is only happening 
with Win2k.

Mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-27 22:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3D63E035.60209@nortelnetworks.com>
     [not found] ` <5lofbtxxgd.fsf@rum.cs.yale.edu>
     [not found]   ` <3D67761D.8060601@nortelnetworks.com>
2002-08-25 19:15     ` problems porting .emacs to NTemacs Stefan Monnier <foo@acm.com>
2002-08-26 12:53       ` Richard Stallman
2002-08-27 22:59       ` Michael Soulier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).