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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:18:18+00:00 2026-05-31T05:18:18+00:00

The question arises with connection to the problem of adding child dirs to the

  • 0

The question arises with connection to the problem of adding child dirs to the load-path. Here’s a solution. Unfortunately – it seems to revert the load-path. I tried to fix it myself, but can’t do and need help.

So my question is: how do I revert a load-path.

I tried (setq load-path (reverse load-path)) but it fails – which suggests that load-path is not a list…

Edit:

Reversing load path works, indeed – I don’t know what I did wrong when I tried it before posting.

I’m facing a very strange problem simple.el shadows sunrise-commander.el – while it supposed to load before that. I thought – the problem is in the order in which I have dirs in a load path – but now – when I reversed the load-path – progmodes dir is before the sunrise one – the problem is still around. I’m puzzled.

I’ll reformulate my question then: how do I make sure that a given extension is loading after the core Emacs’s code?

Edit 2:

In case shadow doesn’t mean, what I think – my actual problem is that many sunrise-commander and icicles keys are binded to core emacs functions. For example when I use icicles M-p is binded to

M-p runs the command recenter-top-bottom, which is an interactive
compiled Lisp function in `window.el'.

While it should be previous-history-element. Similarly, when I use sunrise-commander M-u is binded to

M-u runs the command subword-backward, which is an interactive
compiled Lisp function in `subword.el'.

while it realy should be sr-history-next.

Edit 3:

Oh I solved it! In the old days I used to install emacs things system-wide, thru synaptic package manager. Then I came with a resolution – that this way it is impossible to have my customizations with me. And after that I maintain a local emacs and emacs packages. So all I has to do is to remove all the system-wide emacs stuff.

** Edit 4**:

Nope it is not that. It way ErgoEmacs keybindings extension. After I commented it out I have M-n and M-p working fine in icicles. Though RET in Sunrise commander still calls dired function – not the sunrise one. Hopefully will solve it later.

  • 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-31T05:18:19+00:00Added an answer on May 31, 2026 at 5:18 am

    Extensions are loaded by either require or load. The load-path simply specifies a list of folders in which require will search. Imagine you have the .emacs.d/vendor dir full of Emacs extensions and it’s added to your load-path (the order of entries in the load path doesn’t matter unless the same extension is in several of the folders there – something known as load-path shadowing, that can be examined with M-x list-load-path-shadows). You can do one of two things at this point:

    (require 'extension)
    ;; or
    (load "~/emacs.d/vendor/extension.el)
    

    require has the added benefit, that it wouldn’t load a library twice. So, to answer you question – to make sure that an extensions is loaded after the core (very few things are loaded automatically by Emacs) it just has to be required or loaded after the stuff you want it loaded after.

    After you second edit I think you should take a look at this great article on keybindings in Emacs.

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

Sidebar

Related Questions

This Question arises from a Q&A here I have some doubts that i think
In reference to the problem diskussed in article OpenGL clipping a new question arises.
My question arises from the post Plain English Explanation of Big O . I
I'm loading an assembly at runtime and the question that arises everytime I call
A question that occasionally arises is what is the best way to determine the
Slightly unorthodox question here: I'm currently trying to break an Apache with a handful
Is ResultSet Thread safe? My question arises because in my program i have used
This question arises out of a combination of this being my first time working
A question arises while reading about socket programming, So far I have read routing
When designing a schema for a DB (e.g. MySQL) the question arises whether or

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.