Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-19-2006, 04:23 PM
|
#1
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
The obNOXious flavour of Emacs
Hey guys,
I am trying to use emacs-nox (without x) on a small slackware machine .
First of all, I don't know how to connect the emacs command to the executable (should I just rename it?) which is emacs-21.4-no-x11. I know on a "normal" installation you can just type emacs or emacs filename and it works.
Secondly, I am getting an error, and I can't open anything. When emacs starts it says:
Cannot open load file: disp-table
and this happens when I type emacs-21.4.no-x11 with or without a filename as an argument.
Thanks
Rand
|
|
|
02-19-2006, 05:36 PM
|
#2
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
Code:
ln -s /usr/bin/emacs-21.4-no-x11 /usr/bin/emacs
As for the disp-table, can you post ~/.emacs?
|
|
|
02-19-2006, 06:02 PM
|
#3
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
Thanks very much, you've been a big help! I notice that you have answered several questions of mine and I appreciate it very much.
I can't do this at the moment as I'm downloading a gentoo torrent on my Windoze (there, I said it) machine. I'll get back to you asap.
Thanks again,
Rand
|
|
|
02-20-2006, 05:00 AM
|
#4
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
Matt, I can't find .emacs on my system where emacs isn't working. I also couldn't find one on my system where it is working! I have a directory, .emacs.d but it is empty except for an auto-save-list directory.
The link command built a nice link but I still can't use emacs! Now whattamIsuppozedtodo!
Thanks,
Rand
|
|
|
02-21-2006, 03:35 AM
|
#5
|
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
|
Randux,
did you try the following??
Code:
emacs -nw $filename
regards,
slackie1000
|
|
|
02-21-2006, 04:12 AM
|
#6
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
Quote:
Originally Posted by slackie1000
Randux,
did you try the following??
Code:
emacs -nw $filename
regards,
slackie1000
|
Hi Slackie,
No, I was using emacs $filename because I installed the emacs-nox package which isn't supposed to use x at all. I didn't install the normal (x-enabled) version of emacs on that system.
Maybe there is something wrong with the package. I will download it from gnu.org and see if it works any better. For now I am using teco on that machine. Teco is nice, but I would like to have one editor on all my machines.
Thanks,
Rand
|
|
|
02-21-2006, 05:56 AM
|
#7
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
Try installing the emacs-lisp package, it sounds like you're simply missing a LISP file emacs depends on:
http://slackware.it/en/pb/package.ph...21.4a-noarch-1
|
|
|
02-21-2006, 03:45 PM
|
#8
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
Quote:
Originally Posted by mdarby
|
You da man!
But...I can't believe they advertise that emacs-nox is 400k smaller than the x-enabled version since you have to load 27M (yes, megabytes) of lisp SOURCE FILES!!! to get the nox to work! Nice going, gnu!
Thanks!
Rand
|
|
|
02-21-2006, 04:03 PM
|
#9
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
Ouch. Ever thought about switching to vim? ;0)
|
|
|
02-21-2006, 04:31 PM
|
#10
|
Member
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 468
Rep:
|
Quote:
Originally Posted by dive
Ouch. Ever thought about switching to vim? ;0)
|
ahh! Vim! http://www.oualline.com/10/top_10.html
|
|
|
02-21-2006, 04:38 PM
|
#11
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
Quote:
Originally Posted by dive
Ouch. Ever thought about switching to vim? ;0)
|
No, man. Everyone has limits 
|
|
|
All times are GMT -5. The time now is 07:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|