* bug#3586: Invalid face height
@ 2009-06-16 8:46 Willi Richert
2009-06-16 21:19 ` Stefan Monnier
0 siblings, 1 reply; 6+ messages in thread
From: Willi Richert @ 2009-06-16 8:46 UTC (permalink / raw)
To: bug-gnu-emacs
Hi,
with the latest Emacs CVS version
GNU Emacs 23.0.94.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1)
of 2009-06-15 on lychee, modified by Debian
there are several bugs related to the following error:
Debugger entered--Lisp error: (error "Invalid face height" 0.0)
internal-set-lisp-face-attribute(tabbar-default :height 0.0 #<frame 0xa3fd8b8>)
set-face-attribute(tabbar-default #<frame 0xa3fd8b8> :inherit variable-pitch :height 0.0 :foreground "gray50"
:background "gray75")
apply(set-face-attribute tabbar-default #<frame 0xa3fd8b8> (:inherit variable-pitch :height 0.0 :foreground "gray50"
:background "gray75"))
face-spec-set-2(tabbar-default #<frame 0xa3fd8b8> (((... ...) :inherit variable-pitch :height 0.0 :foreground "grey75"
:background "gray50") ((... ...) :inherit variable-pitch :height 0.0 :foreground "black" :background "white") ((... ...)
:inherit variable-pitch :height 0.0 :foreground "white" :background "black") (t :inherit variable-pitch :height 0.0
:foreground "gray50" :background "gray75")))
custom-declare-face(tabbar-default (((... ...) :inherit variable-pitch :height 0.0 :foreground "grey75" :background
"gray50") ((... ...) :inherit variable-pitch :height 0.0 :foreground "black" :background "white") ((... ...) :inherit
variable-pitch :height 0.0 :foreground "white" :background "black") (t :inherit variable-pitch :height 0.0 :foreground
"gray50" :background "gray75")) "Default face used in the tab bar." :group tabbar)
(defface tabbar-default (quote (... ... ... ...)) "Default face used in the tab bar." :group (quote tabbar))
eval-buffer(#<buffer *load*> nil "/usr/share/emacs/site-lisp/emacs-goodies-el/tabbar.el" nil t) ; Reading at buffer
position 22128
load-with-code-conversion("/usr/share/emacs/site-lisp/emacs-goodies-el/tabbar.el" "/usr/share/emacs/site-lisp/emacs-
goodies-el/tabbar.el" nil t)
require(tabbar)
eval((require (quote tabbar)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
Basically the following modes pose problems or are unsuable at all:
ecb: does not start
tabbar: does not start
org-mode: does not switch automatically to agenda buffer if width not big enough for horizontal split
Unfortunately, no bug in the archives resembles this one from my understanding.
Regards,
wr
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#3586: Invalid face height
2009-06-16 8:46 bug#3586: Invalid face height Willi Richert
@ 2009-06-16 21:19 ` Stefan Monnier
2009-06-17 11:31 ` Willi Richert
0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2009-06-16 21:19 UTC (permalink / raw)
To: Willi Richert; +Cc: bug-gnu-emacs, 3586
> Debugger entered--Lisp error: (error "Invalid face height" 0.0)
[...]
> custom-declare-face(tabbar-default (((... ...) :inherit variable-pitch :height 0.0 :foreground "grey75" :background "gray50") ((... ...) :inherit variable-pitch :height 0.0 :foreground "black" :background "white") ((... ...) :inherit variable-pitch :height 0.0 :foreground "white" :background "black") (t :inherit variable-pitch :height 0.0 :foreground "gray50" :background "gray75")) "Default face used in the tab bar." :group tabbar)
Why is this face defined to have a height of 0.0?
This looks really odd (I'm not surprised Emacs signals it as an invalid
face height, although it might also be OK to change Emacs to accept such
values).
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#3586: Invalid face height
2009-06-16 21:19 ` Stefan Monnier
@ 2009-06-17 11:31 ` Willi Richert
0 siblings, 0 replies; 6+ messages in thread
From: Willi Richert @ 2009-06-17 11:31 UTC (permalink / raw)
To: Stefan Monnier; +Cc: bug-gnu-emacs, 3586
Am Dienstag, 16. Juni 2009 23:19:00 schrieben Sie:
> > Debugger entered--Lisp error: (error "Invalid face height" 0.0)
>
> [...]
>
> > custom-declare-face(tabbar-default (((... ...) :inherit variable-pitch
> > :height 0.0 :foreground "grey75" :background "gray50") ((... ...)
> > :inherit variable-pitch :height 0.0 :foreground "black" :background
> > "white") ((... ...) :inherit variable-pitch :height 0.0 :foreground
> > "white" :background "black") (t :inherit variable-pitch :height 0.0
> > :foreground "gray50" :background "gray75")) "Default face used in the tab
> > bar." :group tabbar)
>
> Why is this face defined to have a height of 0.0?
> This looks really odd (I'm not surprised Emacs signals it as an invalid
> face height, although it might also be OK to change Emacs to accept such
> values).
>
>
> Stefan
Your question actually helped to enable tabbar again. In face customization of
tabbar I set "With Defaults" in "Value Menu". Now it works again.
wr
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#3586: Invalid face height
@ 2009-06-17 15:23 Chong Yidong
2009-06-19 9:50 ` Willi Richert
0 siblings, 1 reply; 6+ messages in thread
From: Chong Yidong @ 2009-06-17 15:23 UTC (permalink / raw)
To: Willi Richert; +Cc: 3586
Tabbar mode is not distributed with Emacs, so you will have to point us
to the exact version you are using.
> Alternative 3:
> 2. start latex file, switch to latex-mode
> 3. Alt-x reftex-toc
> 4. Window height 0 too small (after splitting)
I can't reproduce this, using the reftex-toc mode distributed with Emacs
CVS.
emacs -Q
M-: (require 'reftex-toc) RET
C-x C-f /path/to/file.tex RET
M-x reftex-toc RET
The reftex-toc window shows up, with no problems.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#3586: Invalid face height
2009-06-17 15:23 Chong Yidong
@ 2009-06-19 9:50 ` Willi Richert
0 siblings, 0 replies; 6+ messages in thread
From: Willi Richert @ 2009-06-19 9:50 UTC (permalink / raw)
To: Chong Yidong; +Cc: 3586
Hi,
I finally found the bug: My locale was not the default one:
$ echo $LANG
de_DE.UTF-8
After setting it LANG=C emacs works with tabbar, reftex, and ecb!
So the question is, why?
Maybe you retry to reproduce the bug by setting LANG to the German locale?
Regards,
wr
Am Mittwoch, 17. Juni 2009 17:23:53 schrieb Chong Yidong:
> Tabbar mode is not distributed with Emacs, so you will have to point us
> to the exact version you are using.
>
> > Alternative 3:
> > 2. start latex file, switch to latex-mode
> > 3. Alt-x reftex-toc
> > 4. Window height 0 too small (after splitting)
>
> I can't reproduce this, using the reftex-toc mode distributed with Emacs
> CVS.
>
> emacs -Q
> M-: (require 'reftex-toc) RET
> C-x C-f /path/to/file.tex RET
> M-x reftex-toc RET
>
> The reftex-toc window shows up, with no problems.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#3586: Invalid face height
@ 2009-06-27 22:12 Chong Yidong
0 siblings, 0 replies; 6+ messages in thread
From: Chong Yidong @ 2009-06-27 22:12 UTC (permalink / raw)
To: Willi Richert; +Cc: 3586
> I finally found the bug: My locale was not the default one:
>
> $ echo $LANG
> de_DE.UTF-8
>
> After setting it LANG=C emacs works with tabbar, reftex, and ecb!
>
> So the question is, why?
>
> Maybe you retry to reproduce the bug by setting LANG to the German locale?
I am unable to reproduce the bug with de_DE.UTF-8.
LANG=de_DE.UTF-8 emacs -Q
M-: (require 'reftex-toc) RET
C-x C-f /path/to/file.tex RET
M-x reftex-toc RET
=> no error.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-06-27 22:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-16 8:46 bug#3586: Invalid face height Willi Richert
2009-06-16 21:19 ` Stefan Monnier
2009-06-17 11:31 ` Willi Richert
-- strict thread matches above, loose matches on Subject: below --
2009-06-17 15:23 Chong Yidong
2009-06-19 9:50 ` Willi Richert
2009-06-27 22:12 Chong Yidong
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.