[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bold by moving pixels problem
From: |
Robert J. Chassell |
Subject: |
Re: Bold by moving pixels problem |
Date: |
Mon, 11 Aug 2003 18:54:58 +0000 (UTC) |
.... That could be different colors, different font or whatever. ....
Speaking of fonts, has anyone permanently fixed the font problem I
reported last November? I am still using the second patch from Miles
on 18 Dec 2002, which solves the problem for me personally.
I just checked. The font problem still exists with
Today's CVS snapshot, Mon, 2003 Aug 11 18:39 UTC
GNU Emacs 21.3.50.29 (i686-pc-linux-gnu, X toolkit)
and is fixed when I patch emacs/src/xfaces.c with what Miles sent.
Miles said his second patch should not be widely used since it could
cause a race condition. While I suffered initially, I have not
suffered any problems for several months and wonder if other changes
to the emacs/src/xfaces.c code have taken care of the potential
problem. Or have I just been lucky?
To remind you, this is the font issue:
Date: Wed, 20 Nov 2002 13:09:10 +0000 (UTC)
Subject: Bold by moving pixels problem
From: "Robert J. Chassell" <address@hidden>
... on 19 Nov 2002, mode-line-buffer-identification
suddenly started showing buffer names in bold.
This applies both to a plain vanilla instance of Emacs started
with:
/usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)'
and to the instance I start with a .emacs file.
The change does not look too bad with the plain vanilla instance.
However, there are three problems with the consequences of the
change for instances of emacs started with my .emacs file:
* the new bold creation technique fills in letters such as `m'
so that they become unreadable rectangles
I am using a `10x20' font,
-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1
which has been very clear for the screen I am using.
* I cannot permanently change
:weight bold
to
:weight normal
in the variable `mode-line-buffer-identification', which is
buffer-local.
That is to say, when I reset the value of
`mode-line-buffer-identification' so its face is :weight
normal rather than :weight bold, that change is only
temporary. I don't know what to write in my .emacs file that
can make a permanent global change to a variable that is
buffer local. If there is a method please tell me!
* I do not know how to set the value that is associated with
(face (:weight bold) ...
in my .emacs.
Put another way, evaluating the following works temporarily
but not permanently:
(setq
mode-line-buffer-identification
(quote
(#("%14b" 0 4
(face
;; (:weight bold)
(:weight normal)
help-echo
"mouse-1: other buffer, mouse-2: prev, M-mouse-2: next,
mouse-3: buffer menu"
local-map
(keymap
(header-line keymap
(down-mouse-3 . mouse-buffer-menu)
(mouse-2 . bury-buffer)
(M-mouse-2 . mode-line-unbury-buffer)
(mouse-1 . mode-line-other-buffer))
(mode-line keymap
(down-mouse-3 . mouse-buffer-menu)
(mouse-2 . bury-buffer)
(M-mouse-2 . mode-line-unbury-buffer))))))
))
On the other hand, the following produces the face that I
specify when I evaluate it:
(custom-set-faces
...
'(bold ((t (:background "DodgerBlue4" :foreground "cyan"))))
...)
How do I reset the bold characteristic of the face in
`mode-line-buffer-identification' when it is a local variable?
We had another discussion about this in May 2003.
Miles' second patch is in this message:
Subject: Re: Bold by moving pixels problem
Date: 18 Dec 2002 19:01:01 +0900
From: Miles Bader <address@hidden>
To: address@hidden
Cc: address@hidden
Reply-To: Miles Bader <address@hidden>
In-Reply-To: <address@hidden>
Thanks!
--
Robert J. Chassell Rattlesnake Enterprises
http://www.rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.teak.cc address@hidden