From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: Boris Goldowsky <boris@gnu.org>
Subject: Patch for bug in facemenu.el
Date: Wed, 1 Sep 2004 20:52:12 -0500 (CDT) [thread overview]
Message-ID: <200409020152.i821qC609788@gecko.dms.auburn.edu> (raw)
Do `emacs -q'
C-x C-f enr.text M-x enriched-mode
Insert: qqq
C-x h
M-g l
Now all q's are in bold italic.
C-x h
M-x facemenu-set-foreground RET green
Now the q's are green, but no longer bold or italic.
I believe that this is a bug.
The following small patch would fix this.
===File ~/facemenu.el-diff==================================
*** facemenu.el 20 May 2004 12:11:30 -0500 1.72
--- facemenu.el 01 Sep 2004 17:39:21 -0500
***************
*** 617,623 ****
(check-face (car face-list)))))
(i mask-len)
(useful nil))
! (while (> (setq i (1- i)) 1)
(and (not (memq (aref face-atts i) '(nil unspecified)))
(memq (aref mask-atts i) '(nil unspecified))
(aset mask-atts i (setq useful t))))
--- 617,623 ----
(check-face (car face-list)))))
(i mask-len)
(useful nil))
! (while (>= (setq i (1- i)) 0)
(and (not (memq (aref face-atts i) '(nil unspecified)))
(memq (aref mask-atts i) '(nil unspecified))
(aset mask-atts i (setq useful t))))
============================================================
next reply other threads:[~2004-09-02 1:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-02 1:52 Luc Teirlinck [this message]
2004-09-02 1:56 ` Patch for bug in facemenu.el Luc Teirlinck
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200409020152.i821qC609788@gecko.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=boris@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).