Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9128995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:38:50+00:00 2026-06-17T07:38:50+00:00

How do I clear a binding or edit a binding an emacs package provide?

  • 0

How do I clear a binding or edit a binding an emacs package provide?

For instance I had keybindings M-c to capitalize a word.
After I install some 3rd party emacs package, it is changed to calc-dispatch.

I’d like to use M-c as capitalize as before, and set calc-dispatch to something else.

How can I do this in general?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:38:51+00:00Added an answer on June 17, 2026 at 7:38 am

    The keybind maps are loaded by order. The keybind map which loaded later will have higher priority. This is why the local key map will override the global keymap, because the global key map is loaded before the local key map(the mode key map). Something is wrong here. Look phils’s comment.

    What I solve this problem is add a hook to that specify mode to disable that key bind and rebind it to other key in that key map.

    First, you need to find the key-map name which defines the M-c bind to calc-dispatch.
    It is usually the combination of mode name and mode-map.

    For example, the name of python mode key map is py-mode-map.

    Second, remove the M-c bind in that mode and rebind to other key using hook.

    For example, in python mode, I want to remove the bind C-j (py-newline-and-indent). And rebind it to C-i. Because globally I bind C-j to linum-ace-jump. This is the similar case with yours.

    (add-hook 'python-mode-hook 
              #'(lambda () 
                  (define-key py-mode-map "\C-j" nil)
                  (define-key py-mode-map "\C-i" 'py-newline-and-indent)))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do you Clear/Remove DataBinding in Silverlight? similar to: Remove binding in WPF using
Not clear on some fundamental syntax here. define-key accepts a set of inputs, one
If I understand correctly, when running bash under M-x shell , Emacs overrides some
All, please clear up my confusion on how the model binding works with IEnumerables
I need some help here. Here is my situation: I have a binding list
Anyone clear on how big a role Javascript will play when HTML 5 comes
Pretty clear from the title itself, what is meant by porting an application X
Collection.clear() will delete children whenever Session flushes. What about OneToOne? Setting to null is
In clear case terminology, what is the difference between integration stream and integration view?
Possible Duplicate: list.clear() vs list = new ArrayList<int>(); I have a list: List<Integer> l1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.