From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: Re: Bold by moving pixels problem
Date: Mon, 11 Aug 2003 18:54:58 +0000 (UTC) [thread overview]
Message-ID: <m19mHoo-000IeAC@rattlesnake.com> (raw)
In-Reply-To: 200308111759.h7BHxaM20880@raven.dms.auburn.edu
.... 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" <bob@rattlesnake.com>
... 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 <miles@lsi.nec.co.jp>
To: bob@rattlesnake.com
Cc: emacs-devel@gnu.org
Reply-To: Miles Bader <miles@gnu.org>
In-Reply-To: <buoisxtazqu.fsf@mcspd15.ucom.lsi.nec.co.jp>
Thanks!
--
Robert J. Chassell Rattlesnake Enterprises
http://www.rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.teak.cc bob@rattlesnake.com
next prev parent reply other threads:[~2003-08-11 18:54 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-07 6:04 last-sexp-toggle-display Richard Stallman
2003-08-07 16:56 ` last-sexp-toggle-display Luc Teirlinck
2003-08-11 12:53 ` last-sexp-toggle-display Richard Stallman
2003-08-11 17:59 ` last-sexp-toggle-display Luc Teirlinck
2003-08-11 18:54 ` Robert J. Chassell [this message]
2003-08-12 23:21 ` last-sexp-toggle-display Richard Stallman
2003-08-12 23:22 ` last-sexp-toggle-display Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2003-06-04 8:54 Bold by moving pixels problem Richard Stallman
2003-06-04 14:35 ` Stefan Monnier
2003-06-05 10:58 ` Richard Stallman
2004-01-21 5:39 ` Stefan Monnier
2003-06-04 23:30 ` Kim F. Storm
[not found] ` <E19O2Z4-0002Rk-GY@fencepost.gnu.org>
2003-06-06 1:45 ` Kim F. Storm
2003-06-06 0:46 ` Miles Bader
2002-11-13 5:42 Gtk version getting closer Eli Zaretskii
2002-11-13 13:21 ` Robert J. Chassell
2002-11-14 12:16 ` Richard Stallman
2002-11-14 16:46 ` Robert J. Chassell
2002-11-15 2:20 ` Miles Bader
[not found] ` <m18EUbO-000IeAC@localhost>
2002-11-20 22:08 ` Bold by moving pixels problem Miles Bader
2002-11-21 0:21 ` Robert J. Chassell
2002-11-21 1:33 ` Stefan Monnier
2002-11-21 1:44 ` Miles Bader
[not found] ` <m18HRR2-000IeBC@localhost>
2002-12-17 5:00 ` Miles Bader
2002-12-17 6:28 ` Miles Bader
2002-12-17 7:08 ` Miles Bader
2002-12-18 10:01 ` Miles Bader
2002-12-18 12:26 ` Kim F. Storm
2002-12-19 8:34 ` Miles Bader
2002-12-19 10:18 ` Miles Bader
2002-12-19 12:18 ` Kim F. Storm
2002-12-19 11:27 ` Miles Bader
2002-12-19 12:25 ` Miles Bader
2002-12-19 13:55 ` Kim F. Storm
2003-01-07 11:02 ` Kim F. Storm
2003-01-07 14:02 ` Miles Bader
2003-01-09 7:28 ` Richard Stallman
2003-01-09 7:52 ` Miles Bader
2002-12-18 14:25 ` Robert J. Chassell
2002-12-17 10:31 ` Kim F. Storm
2002-12-17 16:38 ` Robert J. Chassell
2002-12-17 23:54 ` Miles Bader
2002-11-21 6:01 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m19mHoo-000IeAC@rattlesnake.com \
--to=bob@rattlesnake.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.