【发布时间】:2013-03-29 23:56:07
【问题描述】:
我正在尝试在 gnus-group-mode 中设置主题名称的颜色。我尝试查找人脸名称,以便设置颜色属性,但根据我正在查找的主题的字母,我将默认或 ascii 字符作为人脸名称。
查找gnus的源代码我想出了这个功能。但是,在阅读文档的面部部分后,我不确定如何为函数分配面部(如果这是正确的处理方式)。
(defun gnus-group-topic-name ()
"The name of the topic on the current line."
(let ((topic (get-text-property (point-at-bol) 'gnus-topic)))
(and topic (symbol-name topic))))
【问题讨论】:
标签: emacs emacs24 emacs-faces gnus