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

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

global font lock and default face


From: Chris Judge
Subject: global font lock and default face
Date: Fri, 9 Aug 2002 15:56:57 -0500

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-04-08 on porky.devel.redhat.com
configured using `configure  i386-redhat-linux --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --with-gcc --with-pop --with-sound'
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.iso885915
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

1)   I `saved for future sessions' the state of `default face' to: 

Basic default face.
Parent groups: Basic Faces
Attributes: [X] Font family: Value Menu Family: adobe-courier
            [X] Width: Value Menu medium
            [X] Height: Value Menu Height in 1/10 pt: 164
            [X] Weight: Value Menu medium
            [X] Slant: Value Menu normal
            [X] Underline: Value Menu Off
            [X] Overline: Value Menu Off
            [X] Strike-through: Value Menu Off
            [X] Box around text: Value Menu Off
            [X] Inverse-video: Value Menu Off
            [X] Foreground: Value Menu Color: light blue  (sample)
            [X] Background: Value Menu Color: dark slate gray  (sample)
            [X] Stipple: Value Menu None
            [ ] Inherit:
                INS

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

2)  I saved the cursor to 

Basic face for the cursor color under X.
Parent groups: Cursor Basic Faces
Attributes: [ ] Font family: Value Menu *
            [ ] Width: Value Menu *
            [ ] Height: Value Menu *
            [ ] Weight: Value Menu *
            [ ] Slant: Value Menu *
            [ ] Underline: Value Menu *
            [ ] Overline: Value Menu *
            [ ] Strike-through: Value Menu *
            [ ] Box around text: Value Menu *
            [ ] Inverse-video: Value Menu *
            [ ] Foreground: Value Menu *
            [X] Background: Value Menu Color: Dark Olive Green  (sample)
            [ ] Stipple: Value Menu *
            [ ] Inherit:
                INS


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

2)   I turned `global font lock' on via the `options' menu.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

3)   I closed and restarted emacs.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

4)   The termial first showed a dark slate gray color (with no foreground).
     After a few seconds it the LaTeX buffer appeared with

      i) dark olive green cursor
     ii) 164 font
    iii) black foreground  (???????)
     iv) white background  (???????)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

5)  I bang my head for several hours trying to figure out 
    why the damn thing is ignoring the switch in fg and bg colors!

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

6)  I look again at the contents of `default' face.
    The font size remains the same but fg and bg have changed:

Default face: (sample) Hide
State: this face has been set and saved.
Basic default face.
Parent groups: Basic Faces
Attributes: [X] Font family: Value Menu Family: adobe-courier
            [X] Width: Value Menu medium
            [X] Height: Value Menu Height in 1/10 pt: 164
            [X] Weight: Value Menu medium
            [X] Slant: Value Menu normal
            [X] Underline: Value Menu Off
            [X] Overline: Value Menu Off
            [X] Strike-through: Value Menu Off
            [X] Box around text: Value Menu Off
            [X] Inverse-video: Value Menu Off
            [X] Foreground: Value Menu Color: #000000     (sample)
            [X] Background: Value Menu Color: #ffffff     (sample)
            [X] Stipple: Value Menu None
            [ ] Inherit:
                INS

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

7)     I look at ~/.emacs. The colors that I set are still there:


address@hidden cjudge]$ more .emacs
(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(case-fold-search t)
 '(current-language-environment "Latin-9")
 '(default-input-method "latin-9-prefix")
 '(global-font-lock-mode t nil (font-lock)))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(default ((t (:stipple nil :background "dark slate gray" :foreground "light bl
ue" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil
 :slant normal :weight normal :height 164 :width normal :family "adobe-courier")
)))
 '(cursor ((t (:background "Dark Olive Green")))))

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

8)  Finally, I note a separate bug:  One can use `save options' on the `options'
    menu to save `global font lock' in the `on' position, but  one can NOT use
    `save options' to save `global font lock' in the off position.
    
Best wishes,
Chris Judge
address@hidden


PS   I've been using emacs since about 1990, and the more stuff you guys do to 
it
     the more painful it becomes to me. Global font lock is the only 
improvement 
     that has affected me. I liked the good ole days when one just wrote 
emacs*font...






Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <emacs-version> 
<down-mouse-1> <drag-mouse-1> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <emacs-version> 
<help-echo> <down-mouse-1> <mouse-1> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <emacs-version> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
Loading tex-mode...
Loading easy-mmode...done
Loading mule-util...done
Loading tex-mode...done
GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 
2002-04-08 on porky.devel.redhat.com
mouse-minibuffer-check: Minibuffer window is not active [2 times]
GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 
2002-04-08 on porky.devel.redhat.com
mouse-minibuffer-check: Minibuffer window is not active [2 times]
GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 
2002-04-08 on porky.devel.redhat.com
Loading emacsbug...done




reply via email to

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