The definition key of cssag in Emacs is invalid.

Source: Internet
Author: User

The definition key of cssag in Emacs is invalid.

1. The cssag El plug-in is xcssag. El. Use "sudo find/-name xcs.pdf. El" to find the location of the file.

2. Open xcsloud. El
Find the "(define-key csbol: Map" \ c-CSS "'cscope-find-this-symbol)" modified statement
On my machine, the "\ c-CSS" definition method cannot accept key input, and is redefined as "\ c-c \ c-S \ c-s"
That is, the following statement: (define-key csbol: Map "\ c-c \ c-S \ c-s" 'cscope-find-this-symbol)
Modify the key combination defined in the same way ("\ c-CSS ")

3. Enter Emacs and test whether the definition key is successful.

Problem to be resolved
1. When defining keys, they cannot be case sensitive, resulting in overwriting.
For example
(Define-key csbol: Map "\ c-c \ c-S \ c-s" 'cscope-find-this-symbol) is overwritten by the following key binding
(Define-key cscope: Map "\ c-c \ c-S \ C-S" 'csbench-tell-user-about-directory)

Appendix
1. function used to view the shortcut key binding: C-h k (describe-key)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.