From: Eli Zaretskii <eliz@gnu.org>
To: charles@aurox.ch
Cc: 33682@debbugs.gnu.org
Subject: bug#33682: 27.0.50; enriched-mode cannot save anonymous faces
Date: Sun, 09 Dec 2018 14:55:39 +0200 [thread overview]
Message-ID: <831s6q506s.fsf@gnu.org> (raw)
In-Reply-To: <m2mupfxaf0.fsf@aurox.ch> (charles@aurox.ch)
> Date: Sun, 09 Dec 2018 11:27:15 +0100
> From: charles@aurox.ch (Charles A. Roelli)
>
> C-x C-f /tmp/test-file
> M-x enriched-mode RET
> M-: (insert (propertize "foo" 'face '(:background "red"))) RET
> C-x C-s
>
> Error: Invalid face: :background
Thanks.
When setting colors and other properties in Enriched mode, you are
supposed to use commands from facemenu.el (and/or the menu-bar menu
items it produces, under Edit->Text Properties).
The immediate reason for the error is that you should do this instead:
M-: (insert (propertize "foo" 'face '((:background "red")))) RET
but I'm not sure we want to extend enriched.el to support arbitrary
face specs. What is the real-life use case for that?
next prev parent reply other threads:[~2018-12-09 12:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-09 10:27 bug#33682: 27.0.50; enriched-mode cannot save anonymous faces Charles A. Roelli
2018-12-09 12:55 ` Eli Zaretskii [this message]
2018-12-09 16:35 ` Charles A. Roelli
2018-12-09 17:00 ` Eli Zaretskii
2021-08-11 20:29 ` Lars Ingebrigtsen
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=831s6q506s.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=33682@debbugs.gnu.org \
--cc=charles@aurox.ch \
/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.