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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:31:38+00:00 2026-06-01T20:31:38+00:00

There is el-get emacs project which is something alike package manager. I have in

  • 0

There is el-get emacs project which is something alike package manager.

I have in my init.el :

;; ==== el-get stuff ========================================================
(add-to-list 'load-path "~/.emacs.d/el-get/el-get") 
  (unless (require 'el-get nil t) 
    (url-retrieve "https://raw.github.com/dimitri/el-get/master/el-get-install.el" 
                  (lambda (s) 
                    (end-of-buffer) 
                    (eval-print-last-sexp))))
;; ==== el-get ==============================================================
(setq my-packages 
      (append 
       '(nav) 
       (mapcar 'el-get-source-name el-get-sources))) 
(el-get 'sync my-packages)

So in first run it will install el-get if it’s not installed and it works, in the next step I want it install nav (emacs package) using el-get but it doesn’t work in first run (right after el-get installation) even it runs even before installation is finished.

How can I make it alike: First run -> install el-get -> install my package?

I think core question here is how to wait until el-get will be installed?

  • 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-01T20:31:39+00:00Added an answer on June 1, 2026 at 8:31 pm

    I use el-get to manage all my package. I like it very much. This is the modified snippet in my init.el

    (unless (require 'el-get nil t)
      (setq el-get-install-branch "master")
      (with-current-buffer
          (url-retrieve-synchronously
           "https://raw.github.com/dimitri/el-get/master/el-get-install.el")
        (end-of-buffer)
        (eval-print-last-sexp))
      (el-get-emacswiki-refresh el-get-recipe-path-emacswiki t))
    

    Having this around in init.el, if i go to any new computer I just need to put new init.el in place and fire up emacs.

    The above snippet checks weather el-get is available or not. if its not available it installs rigtaway.

    once el-get comes down it will take of rest of the packages.

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

Sidebar

Related Questions

In emacs, is there a way to get hideshow-mode to recognize multiple regular expressions
I'm a clojure noob trying to get emacs & slime set up. There doesn't
I have cloned a git repo which has my emacs config files in. I
If I do a diff from emacs, I get something that looks like a
Is there some way to get transliteration to work in Emacs, sort of like
Is there any get() function for this instead? {% for key, value in choices.items
I am exporting data from php page to word,, there i get 'n' number
Is there anyway to get the THotkey component in delphi to support the windows
Is there any to get the an AUTO_INCREMENT field of a InnoDB to start
Is there any to get the entire remote repository, say from http://repo1.maven.org/maven2/ , to

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.