[Mew-dist 11086] Re: Mew 1.94.1 quirks
Shun-ichi GOTO
gotoh at example.com
1999年 10月 27日 (水) 15:14:51 JST
>>>>> at Wed, 27 Oct 1999 08:09:08 +0900, kazu <kazu at example.com> said,
> 3. A strange thing happens. If I launch Mew, then open a new frame
> (C-x 5 2) and view a message, the `bold' attribute is not set
> anymore. In the previously opened frames, no problem. This also
> happens when composing a message and doing C-x 5 2...
kazu> At least in my environment, fold faces appear in a new frame.
At least in Meadow 1.xx (Emacs 20.1/20.4), bold face
(i.e. `mew-highlight-header-face-to') is apeared as unbolded face
in a new frame. It seems to be bolded only in first frame.
It's problem on making face by `copy-face', I think.
Temporarily, following patch makes it good, but I don't know why and
it may not be right way. :-)
--- Regards,
Shun-ichi Goto <gotoh at example.com>
R&D Group, TAIYO Corp., Tokyo, JAPAN
--- mew-highlight.el.orig Thu Oct 21 02:17:47 1999
+++ mew-highlight.el Wed Oct 27 06:06:33 1999
@@ -254,6 +254,14 @@ (defun mew-highlight-face-setup (flist)
(setq color (intern-soft
(concat (mew-match 1 str) "color" (mew-match 2 str))))
(copy-face (symbol-value style) fname)
+ (condition-case nil
+ (if (memq (symbol-value style) '(bold bold-italic))
+ (make-face-bold fname))
+ (error)) ; ignore error
+ (condition-case nil
+ (if (memq (symbol-value style) '(italic bold-italic))
+ (make-face-italic fname))
+ (error)) ; ignore error
(set-face-foreground fname (symbol-value color))))))
(defun mew-highlight-make-keywords-regex ()
Mew-dist メーリングリストの案内