emacs - How to automatically evaluate certain lisp code after starting an emacsclient? -


इमैक शुरू करते समय, init.el (या .emacs.el) का मूल्यांकन किया जाता है। हालांकि, जब emacsclient शुरू करने के लिए, कोई समान lisp कोड का मूल्यांकन नहीं किया जाता है।

मैं एक नया emacsclient खोलने के लिए हर बार मूल्यांकन करने के लिए एक lisp फ़ाइल कैसे प्राप्त कर सकता हूं?

(यह आसान होगा फ्रेम विशिष्ट अनुकूलन के लिए।)

मुझे लगता है कि जवाब कुछ हुक का उपयोग करना है, लेकिन मुझे लगता है कि उपयोग करने के लिए सही हुक नहीं मिल सकता है।

मैं आपके उत्तर की आशा करता हूं ।

आप हुक 'server-visit-hook , जो हर बार सर्वर को बुलाया जाता है (हर बार जब आप emacsclient कहते हैं)।


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -