I would like to learn how to add functions to zencoding-mode.el
(Zen Coding)。 請列出一個新的Emacs用戶需要採取哪些步驟才能讓他們學習Emacs Lisp。如何將功能添加到Zencoding-mode.el中以製作 - <a>標記 - 展開爲<a href=" " target=" ">?
我很想幫助擴展這個Emacs模式。
I would like to learn how to add functions to zencoding-mode.el
(Zen Coding)。 請列出一個新的Emacs用戶需要採取哪些步驟才能讓他們學習Emacs Lisp。如何將功能添加到Zencoding-mode.el中以製作 - <a>標記 - 展開爲<a href=" " target=" ">?
我很想幫助擴展這個Emacs模式。
它看起來好像禪宗編碼模式不是你想要修改的那樣。從代碼快速瀏覽看,除了將它識別爲「單一」,「內聯」或「塊」標籤之外,它看起來並沒有任何每個標籤規則。
您可以清楚地寫出a.href.target
以獲得所需的效果,但我不認爲Zen Coding模式適用於除您明確指定的模式之外的任何自動擴展。
但是,它也似乎與YASnippet有一些整合,其中最確定的是是適合該任務。如果Zen Coding模式已經做了類似的事情,你可能會猜測它實際上可能是YASnippet。
至於學習的Emacs Lisp,我會重定向到這樣一個問題:
https://stackoverflow.com/questions/41522/tips-for-learning-elisp