Code Monkey home page Code Monkey logo

Comments (14)

purcell avatar purcell commented on May 26, 2024

Okay, so:

  1. svn is no longer required, so don't worry about that.
  2. If there were problems installing packages, please paste the contents of the *Messages* buffer, which should contain information about what went wrong.
  3. If you install packages yourself, they are unlikely to work correctly with the rest of the config, as you have discovered with slime.

In short, try making a fresh checkout of my emacs.d repo, then start Emacs. After a couple of minutes, once the packages have had time to download and install, restart Emacs. Then, if things don't work correctly or you see error messages, send me the contents of your *Messages* buffer together with details of your emacs version and OS etc.

Cheers,

-Steve

from emacs.d.

 avatar commented on May 26, 2024

Hi Steve,
first of all I want to thank you for your reply. I just tried it again, and this time I wrote down all of the errors.

  1. the first time when I start the emacs I got :
    error: Please run 'make relaxng' in site-lisp/html5-el .
    I just solved it as it said 'make relaxng'. But sometimes it just download very slowly except this time.

  2. error: Required feature `package' was not provided .
    So I just entered the "site-lisp/package", I found that the package.el was empty. I think this is the reason why I couldn't download some packages. As I have tried elpa before , so I just put the package.el into the directory. When I start the emacs, it starts to download packages. During the time I find about two errors but it 's so fast that I can't write it down. But it's a good start.

  3. Debugger entered--lisp error: (void-function ido-everywhere)
    (ido-everywhere t) .... init-ido.el
    require(init-ido)...
    I have met this problem before. I just replace it with "(setq ido-everywhere t)", but I don't know if it's right.

  4. SymbolSymbol's function definition is void: ido-init-completion-maps
    I read the ido.el and I can't find "ido-init-completion-maps".

  5. It almost work util I start the emacs with "--debug-init", I get:
    Debugger entered--Lisp error: (file-error "Searching for program" "no such file or directory" "notify-send")
    start-process("todochiku" nil "notify-send" "-i" "/home/wall/.emacs-cfg/todochiku-icons/clean.png" "-t" "10000" "Emacs" "Todochiku (growl for emacs) is ready.")
    apply(start-process "todochiku" nil "notify-send" ("-i" "/home/wall/.emacs-cfg/todochiku-icons/clean.png" "-t" "10000" "Emacs" "Todochiku (growl for emacs) is ready."))
    todochiku-message("Emacs" "Todochiku (growl for emacs) is ready." "/home/wall/.emacs-cfg/todochiku-icons/clean.png")
    byte-code("!#!!" [todochiku-message "Emacs" "Todochiku (growl for emacs) is ready." todochiku-icon check provide growl todochiku] 5)
    require(todochiku)
    eval-buffer(#<buffer load<2>> nil "/home/wall/.emacs.d/init-growl.el" nil t) ; Reading at buffer position 21
    load-with-code-conversion("/home/wall/.emacs.d/init-growl.el" "/home/wall/.emacs.d/init-growl.el" nil t)
    require(init-growl)
    eval-buffer(#<buffer load> nil "/home/wall/.emacs.d/init.el" nil t) ; Reading at buffer position 1753
    load-with-code-conversion("/home/wall/.emacs.d/init.el" "/home/wall/.emacs.d/init.el" t t)
    load("/home/wall/.emacs.d/init" t t)

    Thanks for seeing my issues.
    -wall

from emacs.d.

purcell avatar purcell commented on May 26, 2024
  1. It's possible that the repo.or.cz git repo was unavailable when the first attempt was made to download package.el. (Make sure the package.el you have is the one from http://bit.ly/pkg-el23)
  2. Do you have a version of Emacs older than 23? The 'ido-everywhere' function should be present in all recent emacs versions, and I don't support Emacs 22.
  3. See 2.
  4. On Linux, you might need to install a package such as notify-osd to get todochiku notifications to work: http://ubuntuforums.org/showthread.php?t=1411620

-Steve

from emacs.d.

 avatar commented on May 26, 2024

Hi Steve,
Thanks very much for your work! I think I should change my issue name because it is rather than a problem with slime.
once I used emacs 23 and the OS is ubuntu 10.10. This time I install emacs24 on my system. I like emacs24 but the last time I tried it with starter-kit, it seemed like that the cedet couldn't work. Anyway this time I just start the emacs several times cause the brand speed is not good. I think it just download all of the packages needed. Still I got three problems:

The first:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match("^/tmp_mnt/" nil)
abbreviate-file-name(nil)
mapcar(abbreviate-file-name ("/home/wall/Tmp-Wall/test.c" "/home/wall/Tmp-Wall/www" "/home/wall/Tmp-Wall/ggg" "/home/wall/Tmp-Wall/hhh" "/home/wall/Tmp-Wall/testaa" "/home/wall/Tmp-Wall/emacs.g" "/home/wall/Tmp-Wall/hello" "/home/wall/.vim_runtime/vimrc" "/home/wall/Tmp-Wall/testss.c" "/home/wall/WallData/Book/Computer-Science/emacs-config-and-programming/crazybaby-.my-emacs-config-ded518c/git.sh" "/home/wall/Tmp-Wall/hello.c" "/home/wall/dot.emacs.d/init.el" "/home/wall/test.c" nil))
recentf-load-list()
recentf-mode(1)
eval-buffer(#<buffer load<2>> nil "/home/wall/.emacs.d/init-recentf.el" nil t) ; Reading at buffer position 17
load-with-code-conversion("/home/wall/.emacs.d/init-recentf.el" "/home/wall/.emacs.d/init-recentf.el" nil t)
require(init-recentf)
eval-buffer(#<buffer load> nil "/home/wall/.emacs.d/init.el" nil t) ; Reading at buffer position 1560
load-with-code-conversion("/home/wall/.emacs.d/init.el" "/home/wall/.emacs.d/init.el" t t)
load("/home/wall/.emacs.d/init" t t)

It seems that it try to open or get my recent sessions and I really saved some files wrong in my ~/Tmp-Wall directory. But I can't solve it.

The Second:
It is still something about last one I just post hours before. But I just installed "notify-osd" when I wanted to use a lyrics script.
The Third :
Searching for program: no such file or directory , cmucl
I intalled cmucl in the directory of /opt/cmucl. And once I just did as the slime website said "(setq inferior-lisp-program "clisp") " , It was ok to start slime with "M-x slime". So How to config "clisp" rather than the default cmucl?

It's really nice of you. It almost work but recently I want to learn lisp and I like it very much . So It really annoys me that the slime module just willn't work. I really appreciate your help!
-Wall

from emacs.d.

purcell avatar purcell commented on May 26, 2024

Try removing your ~/.recentf file -- it appears to be corrupted.

I no longer use slime with Common Lisp, so I can't really help with that: I'm a Clojure user these days.

By the way, since you're using Emacs 24, package.el is bundled with emacs itself, so you can remove the ~/.emacs.d/site-lisp/package directory entirely.

from emacs.d.

 avatar commented on May 26, 2024

As I did what you said, It really worked! Thank you very much. I'm very surprised that I just posted it 21 minutes ago and I get the reply. I think I can handle the problem with slime. I know that the emacs24 has package.el and thanks again!

-Wall

from emacs.d.

 avatar commented on May 26, 2024

I just read todochiku.el and I know that my linux system needs libnotify so I intall it and find notify-send in /usr/bin and It works now. this time I start the emacs I get the notify from emacs. I wouldn't enjoy your work without your help. Thank you, mr Steve.
-wall

from emacs.d.

purcell avatar purcell commented on May 26, 2024

Great, happy to help. Enjoy your hacking. :-)

from emacs.d.

 avatar commented on May 26, 2024

Can I get your email? It's really very nice of you, cause I have sended
something about emacs to a guy in my country several days before, I still
get no reply. I'm not complaining but It really frustrate me. When I want
to open the url you provide for package.el, I just can't open it without
using the proxy(I use ssh proxy and opened it). God, this is what my
country did, it just black something out. I think that's one reason why our
technology just was not as good as yours. You are just doing everything so
earnest and conscientious. I think that is the spirits of Open source
software, to share with each other and help each other. Thank you very much!

from emacs.d.

purcell avatar purcell commented on May 26, 2024

My email address is at the top of this file: https://github.com/purcell/ac-slime/blob/master/ac-slime.el

I guess maybe bit.ly URLs are blocked for you... that must be annoying.

-Steve

from emacs.d.

 avatar commented on May 26, 2024

I find it's not the problem about slime, it's the init-common.el. It says (cmucl ("cmucl") :coding-system iso-latin-1-unix), But in the directory of /opt/cmucl/bin/, it is lisp not cmucl , so I change it to lisp, and it works now. I also can start slime with
"C-u M-x" , and then I can choose which lisp implementation to start. But It trys to load swank-loader.el but in the slime* directory , there is no swank. I have use elpa to install or download slime, there are swank files. I don't know if it is the problem that the installing didn't download all of the files or it's just fine with the slime. Anyway the slime works fine with clisp and sbcl.
-Wall

from emacs.d.

 avatar commented on May 26, 2024

Hi Steve:

 How are you doing. I am very sorry to bother you , but I just wanna

some suggestions about formula interpreter. I will be very appreciated if
you just have done something like that and giving me some suggestion. I
just wanna to find a solution or algorithms to interpret a formula , but
until now I just got the algorithm of Reverse Polish notation--RPN. So do
you have any idea about that. My problem is that I have to resolve
something that the user input a formula into the excel and interpret it. I
know it may be abrupt for me to ask help. It is just like you will say: who
the hell are you. Ok , I just used you configuration of emacs and I know
you are a excellent programmer or software engineer . And above that , you
are a nice man. Maybe you can just give me some advice like which book I
should read. Thanks for reading this email. May god bless you and your
family everyday.

Yours sincerely, Wall Wang

from emacs.d.

purcell avatar purcell commented on May 26, 2024

So you want to read formulae out of a spreadsheet, and then evaluate them outside Excel? Is that right?

If so, it's something I was interested in several years ago, but never actually did! Since you have some experience (or interest) in lisp, I'd suggest reading through calc.el, which comes with Emacs. It supports several styles of input including RPN, so it may be a good starting point for you.

-Steve

from emacs.d.

 avatar commented on May 26, 2024

Yeah, I just want to do something like that. And last night I just googled
and have found some algorithms such as shunting-yard-algorithm. And I think
"calc.el" is a very good idea, cause I prefer to read a program in lisp.
Thank you very muck for your advice!

--Wall

from emacs.d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.