emacs-faces

    1热度

    2回答

    一次,我使用buffer-face-mode做保缓冲用面部模式。 (确切地说,我使用鼠标&从对话框中选择一个)。一旦我设置了它,我希望它保持为该缓冲区设置,即使我改变模式,所以我尝试了定制。我们的想法是添加一个change-major-mode-hook(它在缓冲区本地被杀死之前运行),如果它被设置,将会保存缓冲区的面,在一个稍后调用的函数中,这似乎很有效。但是那个函数似乎被称为过早,并且当模式更

    1热度

    1回答

    注意我的自定义设置这一形象: 你可以清楚地看到这似乎是沿着左侧滚动条那里(也是在屏幕右侧),尽管显示设置。此外,我在我的.emacs中有: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be carefu

    1热度

    1回答

    我想设置的标签自定义颜色背景,但其他不碰 (define-derived-mode php-mode fundamental-mode "php-mode" :syntax-table php-syntax-table (setq font-lock-defaults '(php-keywords))) (defvar php-syntax-table (make

    0热度

    3回答

    我是一个emacs noob。 我完全满意tomorrow-night-bright-theme除了下面 荧光一个我心中已经读过一些文章,解释如何更改字体的面孔在Emacs。 1. Changing highlight line color in emacs 2. Change Emacs syntax highlighting colors 不过,我不知道是什么符号与该颜色。

    11热度

    2回答

    当M-x term使用NPM,它生成这样的(即使-q)颜色信息: 信息从what-cursor-position There are text properties here: font-lock-face (:foreground "red3" :background "black" :inverse-video nil) fontified t 这是难看,而且难以阅读在其他主题,

    0热度

    1回答

    突出显示函数调用但不是第一个引用列表在emacs lisp模式下,我想要突出显示所有函数调用一种颜色,并且所有引用符号都是另一种颜色。例如,在(foo 1 2 'bar)中,foo应该突出显示颜色1,'bar应该突出显示颜色2. 我能够用下面的代码执行此操作,但是,它也突出显示列表中的第一个符号列表被引用。例如,在'(nil a b c)中,零应该而不是被突出显示为一个函数调用,并且该列表中的所有

    1热度

    1回答

    我在Emacs中定义了新面部,但着色不生效。这里是~/.emacs脸和模式的定义: (defface sml-highlight-operator-face '((t (:foreground "red"))) "SML operator highlighting" :group 'basic-faces) (defvar sml-font-lock-keywor

    0热度

    1回答

    我有一个字符串,我通过调用buffer-substring得到。有没有办法根据它的face设置从该字符串中删除文本?作为一个随便举个例子: (save-excursion (let ((end (point))) (ignore-errors (while (not (looking-at "[^][ \t\r\n(){}]+:")) (backward-sexp)

    5热度

    2回答

    问题解决 我决定使用名为Ricty的音阶自定义字体。这是一个更简单的方法。 - 我用面字体的重新调整,ALIST像以下设置Emacs的字体大小。 (create-fontset-from-ascii-font "Inconsolata-12:weight=normal:slant=normal" nil "myfavoritefontset") (set-fontset-font "fontse

    0热度

    1回答

    我想使用SourceCodePro作为我的默认字体,但它并不涵盖范围内的波斯语字符,例如#x0600直到#x06FF。 我试过这样的东西 (set-fontset-font t 'ascii "Source Code Pro-12") (set-fontset-font t (cons (decode-char 'ucs #x0600) (