में कर्सर रंग बदल सकते हैं नहीं और फिर emacsclient -c
, नव निर्मित फ्रेम काला कर्सर रंग है,। अधिक सटीक, मैं कुछ भी टाइप करने से पहले, कर्सर रंग सफेद (या अन्य रंग) है, लेकिन पहली कीप्रेस के साथ यह काला हो जाता है और set-cursor-color
के माध्यम से बदला नहीं जा सकता है। दोनों डिफ़ॉल्ट और मेरे कस्टम colorthemes काले हैं, तो यह संपादन बहुत असहज बनाता है।अगर मैं <code>emacs --daemon</code> चलाने (<code>.xinitrc</code> में या बाद में) परवाह किए बिना colortheme या किसी अन्य सेटिंग्स पर emacsclient
यदि मैं emacs --daemon
के बजाय emacs
और M-x server-start
चलाता हूं तो यह समस्या प्रकट नहीं होती है। लेकिन इस तरह मुझे एक emacs "मुख्य" फ्रेम रखने की आवश्यकता है और इसे आकस्मिक रूप से मारना नहीं है, यह एक अच्छा समाधान की तरह प्रतीत नहीं होता है।
मैं .emacs.d/init.el
में ब्लॉक निम्नलिखित है लेकिन यह मदद नहीं करता है:
(set-cursor-color "red")
(setq initial-frame-alist '((cursor-color . "red")))
(setq default-frame-alist '((cursor-color . "red")))
(add-hook 'window-setup-hook '(lambda() (set-cursor-color "red")))
(add-hook 'after-make-frame-functions '(lambda (f) (with-selected-frame f (set-cursor-color "red"))))
अगर मैं M-x describe-face RET cursor
चलाने मैं:
(...)
Defined in `faces.el'.
Family: unspecified
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: unspecified
Foreground: unspecified
Background: black
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Inherit: unspecified
इस मामले पर कोई खबर नहीं, क्या आपको अंत में काम करने वाली कुछ भी मिली? मुझे एक समान समस्या का सामना करना पड़ रहा है जहां रंग-विषय emacsclient द्वारा लोड नहीं किया जाएगा, लेकिन emacs खुशी से मेरे बैंगनी कर्सर लागू करेंगे। – kristianlm