[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] font-latex.el [3/4]: Saved value of face customization do
From: |
Ikumi Keita |
Subject: |
[AUCTeX-devel] font-latex.el [3/4]: Saved value of face customization doesn't appear in customize buffer. |
Date: |
Thu, 16 Feb 2017 22:23:40 +0900 |
(Continued from the previous message)
If we save customization to `font-latex-user-keyword-classes',
restart emacs and call `customize-option' again, the saved specification
of the face does not appear in customization buffer.
[Observation]
1. Save the customization to `font-latex-user-keyword-classes' in the
previous message.
----------------------------------------------------------------------
Hide Font Latex User Keyword Classes:
INS DEL List:
Name: foo
Choice: Value Menu Keywords:
INS DEL Keyword: bar
INS
Choice: Value Menu Face name: (sample) underline
Type: Value Menu Command without arguments
...
----------------------------------------------------------------------
2. Restart emacs and open circ.tex.
3. Type M-x customize-option RET font-latex-user-keyword-classes RET.
Then the buffer looks as:
----------------------------------------------------------------------
Hide Font Latex User Keyword Classes:
INS DEL List:
Name: foo
Choice: Value Menu Keywords:
INS DEL Keyword: bar
INS
Choice: Value Menu -- Empty face --
Show All Attributes
Type: Value Menu Command without arguments
----------------------------------------------------------------------
The specified face `underline' doesn't show up and "-- Empty face --" is
there instead.
[Patch]
I don't understand the exact reason, but it seems that exchanging the
order of `face' and `custom-face-edit' in type declaration of defcustom
of `font-latex-user-keyword-classes' resolves this problem. The
attached patch also tweak the doc string a little because newly added
entries to `font-latex-user-keyword-classes' does not take effect
immediately after using customize interface.
[And...]
I will add other patch to fix doc strings and trivial improvements in
the next mail.
Regards,
Ikumi Keita
make_face_to_appear
Description: exchange the order of cusomize option
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-devel] font-latex.el [3/4]: Saved value of face customization doesn't appear in customize buffer.,
Ikumi Keita <=