From: Sebastian Rose <sebastian_rose@gmx.de>
To: "[emacs.devel]" <emacs-devel@gnu.org>
Subject: customize face-font-family-alternatives detroys it's value
Date: Sun, 07 Sep 2008 16:36:22 +0200 [thread overview]
Message-ID: <48C3E6E6.20200@gmx.de> (raw)
Hi list,
M-x customize RET face-font-alternatives
distorts the value.
It always displayes and saves
'((DejaVu\ Sans\ Mono Courier\ New)
(Arial Verdana Helvetica fixed))
I can set it to a correct value
'(("DejaVu Sans Mono" "Courier New")
("Arial" "Verdana" "Helvetica" "fixed"))
and save it correctly. But when I customize the same value again,
and refuse to save it.
Then I get this warning:
>>>>
Error setting face-font-family-alternatives: (wrong-type-argument
stringp DejaVu\ Sans\ Mono)
<<<<
BTW: the documentation in customize for "face-font-family-alternatives"
is wrong??
This is what it is (emacs-23 CVS, two days ago:
Alist of alternative font family names. Hide Rest
Each element has the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...).
If fonts of family FAMILY can't be loaded, try ALTERNATIVE1, then
ALTERNATIVE2 etc.
This is misleading as a value like that triggers the same message
(missing quotes).
M-x emacs-version
GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of
2008-09-06 on orgon
Patch for the doc string:
--- faces.el 2008-09-07 15:16:03.000000000 +0200
+++ lisp/faces.el 2008-09-07 15:16:38.000000000 +0200
@@ -74,7 +74,7 @@
("Sans Serif" "helv" "helvetica" "arial" "fixed")
("helv" "helvetica" "arial" "fixed"))
"*Alist of alternative font family names.
-Each element has the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...).
+Each element has the form (\"FAMILY\" \"ALTERNATIVE1\" \"ALTERNATIVE2\"
...).
If fonts of family FAMILY can't be loaded, try ALTERNATIVE1, then
ALTERNATIVE2 etc."
:tag "Alternative font families to try"
next reply other threads:[~2008-09-07 14:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-07 14:36 Sebastian Rose [this message]
2008-09-14 18:00 ` customize face-font-family-alternatives detroys it's value martin rudalics
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=48C3E6E6.20200@gmx.de \
--to=sebastian_rose@gmx.de \
--cc=emacs-devel@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 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.