2016-03-26 21 views

cevap

0

company-emoji paketini kullanabilirsiniz. init dosyası aşağıdaki indirin ve sonra koyun:

(require 'company-emoji) 
(add-to-list 'company-backends 'company-emoji) 

O benim için org-html-ihracat-to-html çalışır. Öte yandan öküz hakkında bir şey bilmiyorsunuz ama emojiyi de göstereceklerini varsayalım.

0

Bu amaçla özelleştirilebilir değişken olduğu ortaya çıkıyor:

Sadece benim .emacs bu koymak (sert çekirdekli Emacs Lisp kullanıcı olmamak) Yani şimdilik
org-export-html-protect-char-alist is a variable defined in `org-html.el'. 
Its value is (("&" . "&amp;") ("<" . "&lt;") (">" . "&gt;")) 

Documentation: 
Alist of characters to be converted by `org-html-protect'. 

You can customize this variable. 

This variable was introduced, or its default value was changed, in 
version 24.1 of Emacs. 

:

(defcustom org-export-html-protect-char-alist 
    '(("&" . "&amp;") 
    ("<" . "&lt;") 
    (">" . "&gt;") 
    (":turtle:" . "&#x1f422;") 
    (":dash:" . "&#x1f4a8;") 
    (":-)" . "&#x1f60a;") 
    (":-(" . "&#x1f61e;")) 
    "Alist of characters to be converted by `org-html-protect'." 
    :group 'org-export-html 
    :version "24.1" 
    :type '(repeat (cons (string :tag "Character") 
      (string :tag "HTML equivalent")))) 

Bu güzel çalışır, ancak özelleştirilebilir değişkeni eklemenin daha iyi bir yolu olabilir mi?