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

  • Home
  • SEARCH
  • 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 587813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:15:08+00:00 2026-05-13T15:15:08+00:00

When doing a M-x describe-mode in a .el file, I noticed that the Emacs-Lisp

  • 0

When doing a M-x describe-mode in a .el file, I noticed that the Emacs-Lisp mode actually does code completion. However, lisp-complete-symbol is bound to M-TAB. In Windows, this key binding is taken by Windows for switching the active window. Most IDE’s use C-SPC, but that’s taken in Emacs as well. What is a good, fairly common key binding for code completion?

  • 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-13T15:15:09+00:00Added an answer on May 13, 2026 at 3:15 pm

    If you like completion of all kinds, I recommend M-/ and binding that to hippie-expand.

    (global-set-key (kbd "M-/") 'hippie-expand)
    

    It does a variety of completions, which are controlled by the variable hippie-expand-try-functions-list. In the .el files, you can set that to do the 'try-complete-lisp-symbol first to get the behavior you’re asking for above, along with all the other expansions hippie-expand provides.

    This would do that for you:

    (add-hook 'emacs-lisp-mode-hook 'move-lisp-completion-to-front)
    (defun move-lisp-completion-to-front ()
      "Adjust hippie-expand-try-functions-list to have lisp completion at the front."
      (make-local-variable 'hippie-expand-try-functions-list)
      (setq hippie-expand-try-functions-list 
            (cons 'try-complete-lisp-symbol
                  (delq 'try-complete-lisp-symbol hippie-expand-try-functions-list)))
      (setq hippie-expand-try-functions-list 
            (cons 'try-complete-lisp-symbol-partially
                  (delq 'try-complete-lisp-symbol-partially hippie-expand-try-functions-list))))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm going to try and describe the code in my view, without actually posting
I am facing some strange behavior with file-name completion in emacs. C-x C-f to
I am doing a describe on a file: ct desc -ahlink -all 5.txt 5.txt@@/main/52
What does this mean exactly? I'm doing something like this: File.Copy(@\\foo\bar\baz.txt, @c:\test\baz.txt); MSDN doesn't
So I will describe what I am trying to doing general. I have customers(the
Doing an ajax get request works as expected using the following code: $.ajax({ type:
I have a set of classes that describe a set of logical boxes that
I don't really know how to describe what I'm doing, but this example should
Shouldn't models just describe data that will be passed from a controller to a
Sorry that I have to describe the functionality in such a roundabout manner, but

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.