LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-30-2005, 11:19 PM   #16
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138

You can always use XEmacs which opens emacs in a window in the X environment.
 
Old 05-31-2005, 12:35 AM   #17
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
That is ture, but it's more a matter of whether or not I should have to. I shouldn't have to use Xemacs and therefore, I'd like to resolve this problem. It is a worthy contribution, however. I have thought before of using Xemacs but would rather stick with Emacs (not knowing much about Xemacs).
 
Old 05-31-2005, 12:37 AM   #18
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Emacs will run only in a terminal, I think. How can it run in its "own" Window unless it's a GUI app? It's a text-based application, is it not?
 
Old 05-31-2005, 12:39 AM   #19
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
By the way, when I run emacs & in a terminal, it opens the XEmacs.

XEmacs is nothing more than Emacs packaged in a X window rather than a terminal window. I don't think there are any differences between the two.
 
Old 05-31-2005, 01:00 AM   #20
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
That's true. So you think the only workaround is using Xemacs instead of Emacs, eh. The frustrating part of this is that I'm positive I have gotten this to work before when using a different distribution.

I just installed Xemacs and it looks nothing like what I'm accustomed to. I seriously doubt this is what emacs& launched when I had it working before. I have to say that I do not like the graphical representation of Xemacs nearly as much as Emacs, as it is much more bloated

The following is a quote from the 'Emacs Manual':
Quote:
If you run Emacs from a shell window under the X Window System, run it in the background with emacs&. This way, Emacs does not tie up the shell window, so you can use that to run other shell commands while Emacs operates its own X windows. You can begin typing Emacs commands as soon as you direct your keyboard input to the Emacs frame.
Thanks

Last edited by verbose; 05-31-2005 at 01:01 AM.
 
Old 05-31-2005, 01:52 AM   #21
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
The behaviour of Emacs seem rather different on my system than on yours.

When I run emacs in a console (not X) then the normal emacs21 opens.

When I run emacs from a terminal in X, then the emacs21-x runs in a separate window.

There is a menu in Debian

KDE Start -> Debian -> Apps -> Editors -> Emacs21 (text)
KDE Start -> Debian -> Apps -> Editors -> Emacs21 (X11)

You can launch it from there and see rather than opening a terminal and typing emacs.

This way you can avoid your problem altogether!

Last edited by vharishankar; 05-31-2005 at 01:55 AM.
 
Old 06-01-2005, 03:37 AM   #22
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
Quote:
KDE Start -> Debian -> Apps -> Editors -> Emacs21 (text)
KDE Start -> Debian -> Apps -> Editors -> Emacs21 (X11)
I see no Emacs21 here, only XEmacs21-mule.

I don't know what the deal is...
 
Old 06-01-2005, 03:49 AM   #23
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Ok, it seems that I don't have the XEmacs installed on my system as those packages are not installed. Just plain emacs.

Then what was the emacs window that opened for me in X? Maybe that is just plain emacs in an X Window. Maybe that is what you wanted.

These are the three emacs executables I have in my system:
Code:
emacs
emacs21-x
emacs21
What are the emacs executables that you have on your system?
 
Old 06-01-2005, 03:53 AM   #24
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I believe there are two versions of emacs. One compiled with support for X and the package you need is probably emacs21-nox if you don't need X support at all. Which version of emacs do you have installed? Check in your synaptic package manager and see.
 
Old 06-01-2005, 04:15 AM   #25
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
I definitely think you're on to something (thems gold in these here hills).
When searching synaptic for emacs I find the following packages are installed:
emacsen-common
xemacs [...]

It doesn't show emacs21 as being installed but that's because synaptic correlates with apt-get. I installed Emacs from source and Xemacs using apt-get.

I am going to uninstall Emacs and install using apt-get.

Thanks
 
Old 06-01-2005, 04:34 AM   #26
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
I finally got it to work by installing with apt-get.

Thanks for you dedicated help.
 
Old 06-01-2005, 05:06 AM   #27
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Glad to know that you got it working
 
Old 06-01-2005, 07:20 AM   #28
lsj
LQ Newbie
 
Registered: Feb 2004
Posts: 28

Rep: Reputation: 15
i have the similar problem with my stardict.
i have to launch stardict two times untile it shows up.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Japanese canna won't work : Warning: かな漢字変&am OrganicOrange84 Debian 3 06-30-2005 02:28 PM
RightAlt doesn't work in Emacs kornerr Linux - General 1 06-13-2005 12:42 PM
VI Editor & Emacs drumstick Linux - Software 9 05-30-2005 07:26 AM
VISUAL=emacs does not work GooGooMuk Slackware 2 01-25-2005 06:24 PM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration