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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:12:50+00:00 2026-06-04T18:12:50+00:00

After adding the following code in my .emacs file, comes up some error during

  • 0

After adding the following code in my .emacs file, comes up some error during startup of emacs. I am a newbie of emacs, is there some one can help me figure out where are the errors come from?

Added code in .emacs:

;; Auto-saving the Desktop
(require 'desktop)
(desktop-save-mode 1)
(defun my-desktop-save ()
  (interactive)
  ;; Don't call desktop-save-in-desktop-dir, as it prints a message.
  (if (eq (desktop-owner) (emacs-pid))
      (desktop-save desktop-dirname)))
(add-hook 'auto-save-hook 'my-desktop-save)

Errors:
enter image description here

  • 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-04T18:12:52+00:00Added an answer on June 4, 2026 at 6:12 pm

    Looking at the function definition for what’s breaking, it seems that the error is that prj-file is NIL in line 492. (The other expand-filename call in the function shouldn’t ever have a nil, since it’s the car of a non-nil list of filenames).

    Now, prj-file is the first filename in /home/shenyan/Test/memcached-1.4.11 matching the regexp "\\(Root\\)?ProjStep.ede" and presumably there isn’t one. Since memcached presumably doesn’t have an EDE project file, what’s gone wrong must be that line 508’s call to ede-project-p did something weird when called with this subdirectory of /home/shenyan/Test/.

    I can’t work out exactly why that happened, but you can debug things quite easily. First bring up your *scratch* buffer to type emacs lisp easily. To check my guess, insert the following code into the buffer

    (ede-directory-project-p "/home/shenyan/Test/memcached-1.4.11")
    

    and run it by hitting C-x C-e with cursor on the closing bracket. If it returns nil I was wrong. Otherwise, you’ve found the culprit and should probably debug it further by hunting through the bits of ede-directory-project-p in ede-files.el.

    Probably what’s going on is that your /home/shenyan/Test/ directory has something that tells EDE to search subdirectories (or maybe that’s the default?) and then the memcached subdirectory has a file whose name makes EDE think it should be searched for a project file. If you work out exactly what happened, you might consider submitting a bug to the EDE developers: they probably shouldn’t error out if the project file doesn’t exist.

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

Sidebar

Related Questions

I am getting this error after adding the libxml2.2.dylib file Linking /Users/Biranchi/Desktop/Funmovies TabBarController/build/Debug-iphonesimulator/funmovies.app/funmovies (1
I am getting a segmentation fault with the following code after adding structs to
After adding the following .htaccess file to my site I noticed that forms had
After adding the following lines to the .xml file, the App crashs. And how
In the following code,after removing the checkboxes and adding it again.The alert always becomes
After adding the /TSAWARE linker flag to one of my projects (Visual Studio 6),
After adding elements to page using something like this, $('#blah').append('<div id=bugsbunny></div>'); how can I
I have the following code that worked perfectly before adding cufon in the HTML:
Have the following code throwing an error. I've always just jury-rigged something before but
The following code adds tasks that perform some processing on files from the blobstore,

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.