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 6107015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:08:34+00:00 2026-05-23T14:08:34+00:00

I have two problems which are somewhat related I believe: 1) In IDO I’d

  • 0

I have two problems which are somewhat related I believe:

1) In IDO I’d like to change ido-restrict-to-matches to samething else than C-SPC or C-@. Unfortunately I do not know how to tell emacs that I want a different shortcut (say C-0).

2) I’d like to protect my C-; but whenever flyspell-mode is running it overtakes C-;. My definition is in .emacs as:

(global-set-key (kbd "C-;") 'mark-paragraph)

but apparently flyspell overwrites this… (although even then, if I look in the help M-h k C-; it does say mark-paragraph)

Could somebody please tell me how to bind/unbind keys in these conditions? It has to work without modifying ido.el and flyspell.el and re-building, right?

Thanks very much!

  • 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-05-23T14:08:35+00:00Added an answer on May 23, 2026 at 2:08 pm

    Flyspell provides a customization for the C-; binding, so you can either M-x customize RET flyspell-auto-correct-binding RET or put something like this in your ~/.emacs:

    (setq flyspell-auto-correct-binding (kbd "C-~")) ; or a binding of your choice
    

    As for ido, your question is slightly confusing, because it implies there are times when you’re using ido outside the minibuffer…

    The documentation in ido.el contains the following advice:

    ;; To modify the keybindings, use the ido-setup-hook.  For example:
    ;;(add-hook 'ido-setup-hook 'ido-my-keys)
    ;;
    ;;(defun ido-my-keys ()
    ;;  "Add my keybindings for ido."
    ;;  (define-key ido-completion-map " " 'ido-next-match)
    ;;  )
    

    Using that knowledge, you can change the key bindings like this in your own “ido-my-keys” function:

    (define-key ido-completion-map (kbd "C-SPC") nil)
    (define-key ido-completion-map (kbd "C-@") nil)
    (define-key ido-completion-map (kbd "C-0") 'ido-restrict-to-matches)
    

    There’s an additional ido hook specifically for the minibuffer, too, but it’s not clear why you would need that: ido-minibuffer-setup-hook.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two divs which should looks like one figure. The problem is with
I have two cmake-related problems: first, I can't make it to find the includes
I have a somewhat grouping system which all the elements between two divs are
I have two console applications to which I would like to add GUIs. The
So we have two problems here, both of which can be seen in this
I am a newbie to SWT. There are two problems which have taken up
I have a file in which each line contains two numbers. The problem is
I'm using devexpress and i have two problems. My insert stored procedure work fine.
I have my program that can draw rectangles. I have two problems I can't
I have some localization problems in my webpage. There are basically two problems (that

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.