2012-01-03 14 views
29

मैं ECB (Emacs कोड ब्राउज़र) का उपयोग कर रहा है और मेरे डिफ़ॉल्ट लेआउट इस प्रकार है वे संपादित बफर में दिखाई देते हैं, फिर भी मैं उन्हें नाम से क्रमबद्ध करने का एक तरीका खोज रहा हूं। मैं ecb-methods-sort-method जैसे कुछ उपयोग करना चाहता था लेकिन ऐसा प्रतीत नहीं होता है। इसे कैसे सेट अप करें इस पर कोई संकेत?नाम से अनुक्रमित ईसीबी-तरीकों में प्रस्तुत तरीकों बफ़र

+0

संभवतः, यह किया जा सकता है उदाहरण के लिए, ईसीबी कोड और नई अनुकूलन पैरामीटर परिचय बदलकर। क्या आपको अभी भी इसकी आवश्यकता है? –

+0

हां, लेकिन यह स्पष्ट रूप से महत्वपूर्ण नहीं है, बस मैं इसे अन्य संपादकों (जैसे टेक्स्टमैट) पर प्रस्तुत करता हूं और यह निश्चित रूप से समझ में आता है। अब मैं स्वीकार करता हूं कि मैं ईसीबी कोड में जाने के लिए पर्याप्त रूप से अच्छा lisp प्रोग्रामर नहीं हूं ... –

+8

कृपया मुझे ई-मेल के माध्यम से लिखें या https://github.com/alexott/ecb पर संबंधित समस्या दर्ज करें - मैं कोशिश करूंगा इस –

उत्तर

1

मैंने दस्तावेज़ों पर तुरंत ध्यान दिया, देखो 'आप ecb-methods-menu-sorter' को अनुकूलित कर सकते हैं।

C-h v ecb-methods-menu-sorter 
डॉक्स से

:

*Function which re-sorts the menu-entries of the directories buffer.   
If a function then this function is called to re-arrange the menu-entries of 
the combined menu-entries of the user-menu-extensions of      
`ecb-directories-menu-user-extension' and the built-in-menu     
`ecb-directories-menu'. If nil then no special sorting will be done and the 
user-extensions are placed in front of the built-in-entries.     

The function get one argument, a list of menu-entries. For the format of this 
argument see `ecb-directories-menu-user-extension'. The function must return a 
new list in the same format. Of course this function can not only re-arrange 
the entries but also delete entries or add new entries.      
+0

को लागू करने के लिए समय खोजने के लिए मुझे बताएं कि अगर आपको सॉर्ट फ़ंक्शन – Raghu

+0

को कार्यान्वित करने में सहायता की आवश्यकता है तो इसे देखने के लिए धन्यवाद! –