From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 18369@debbugs.gnu.org
Subject: bug#18369: 24.4.50; interactive spec of `facemenu-add-face'
Date: Sat, 30 Apr 2016 15:52:07 +0200 [thread overview]
Message-ID: <87twijqk54.fsf@gnus.org> (raw)
In-Reply-To: <62d59397-d3d8-474c-aced-78018b70e6e8@default> (Drew Adams's message of "Sat, 30 Aug 2014 22:06:11 -0700 (PDT)")
Drew Adams <drew.adams@oracle.com> writes:
> The interactive use of this command is not as convenient as it could be.
> Is there a good reason for this?
>
> Why does the interactive spec use "*xFace: \nr" (reading a sexp, no
> completion etc.)? Why does it not use `read-face-name', as does
> `facemenu-set-face' (which calls `facemenu-add-face')?
I find these functions odd.
`facemenu-set-face' just does this:
(facemenu-add-new-face face)
(facemenu-add-face face start end)
after reading a face name with `read-face-name'. So it's a very thin
shim over `facemenu-add-face'.
`M-x facemenu-add-face RET foo RET' and nothing happened. Then I did
`M-x facemenu-add-face RET bold RET', and it errored out saying
Invalid face reference: foo
Huh?
I have no idea what these two functions are supposed to be doing, but I
don't think... they are doing... whatever they should be doing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2016-04-30 13:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-31 5:06 bug#18369: 24.4.50; interactive spec of `facemenu-add-face' Drew Adams
2016-04-30 13:52 ` Lars Ingebrigtsen [this message]
2016-04-30 16:47 ` Drew Adams
2021-07-13 22:13 ` 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=87twijqk54.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=18369@debbugs.gnu.org \
--cc=drew.adams@oracle.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.