LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2006, 01:58 PM   #1
mr.simmons
LQ Newbie
 
Registered: Sep 2006
Location: sweden
Posts: 4

Rep: Reputation: 0
emacs trouble


Hello! I'm very new to Linux and its programs. I was trying out emacs basically for the first time and what happened was that after I'd played around for a while, typing, saving and moving files around.
Now I'm unable to save anything when I start emacs.
It tells me that the "Minibuffer window is not active" and that's about it. I have no idea where to go from there.
I'd really appreciate your help.
thanks
 
Old 09-04-2006, 03:51 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, and welcome to LQ!

Are you running emacs X or nox?

Can you click to focus on the minibuffer?


Cheers,
Tink
 
Old 09-05-2006, 04:02 AM   #3
mr.simmons
LQ Newbie
 
Registered: Sep 2006
Location: sweden
Posts: 4

Original Poster
Rep: Reputation: 0
thank you!
Well you see, I really have no idea. It merely says GNU emacs. I suppose it's whatever red hat 9 uses as standard.
I can't even see a minibuffer. When I click C-x C-f it does add another option right next to Tools and Help that says minibuf, but I don't know what to do with it.
However I can save by creating the name of the file at the same time as I kick off emacs in the terminal, then when I close emacs it asks if I want to save.
But I am unable to just start emacs, write stuff and then type in the bar bellow the location and name of the file I just created. once I click the box that's when it tells me "minibuffer window is not active". please help a noob in need
 
Old 09-05-2006, 04:12 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Oh, I see. Well, when you're done typing your text you press C-x C-w
and then just start typing. Emacs will automatically take you to the
minibuffer (that's the bit where you type the name) after the 'w' in
'C-x C-w'.

'C-x C-f' will let you OPEN an existing file, not save it.



Cheers,
Tink
 
Old 09-05-2006, 05:56 AM   #5
mr.simmons
LQ Newbie
 
Registered: Sep 2006
Location: sweden
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you very much! I only have one further question though. Before I could just click the minibuffer.
Do I really have to do C-x C-w every time?
 
Old 09-05-2006, 06:39 AM   #6
orie0943
LQ Newbie
 
Registered: Jul 2005
Location: London
Distribution: Fedora Core 3
Posts: 5

Rep: Reputation: 0
C-x C-w is a keyboard shortcut for Save Buffer As, identical to Save As in most office type programs. This command is also available in the file menu, and via a button in the toolbar (floppy disk with a pen pointed at it). The Minibuffer at the bottom of emacs is used for many useful things, search/replace for example, so at different times it will have different uses, and clicking on it could have ambiguous meaning, hence the need for commands.

Also, after a while, I honestly believe you'll find keyboard commands to be the easiest method controlling many Linux programs (be glad you started with emacs and not vi which uses the mouse for almost nothing)

Hope this helps.
 
Old 09-05-2006, 08:06 AM   #7
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
Eventhough not everyone would agree, I beleive "orie0943" is right. You can go around emacs with the click of a mouse.

The more you will be working with emacs, the more you will see the possibilities that it offers. Then you might want to do other stuff that you can't click to it.

You are probably better to learn the basic shortcuts of emacs right away. This way, you will not be limited by the click of a mouse in the future. And, you will find that you gain alot of time with the shortcuts.

Cheers
 
Old 09-05-2006, 10:11 AM   #8
mr.simmons
LQ Newbie
 
Registered: Sep 2006
Location: sweden
Posts: 4

Original Poster
Rep: Reputation: 0
I'll keep that in mind! And once again thank you very much for your excellent support.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Emacs Font Trouble after X Upgrade AlgebraicSpore Linux - Software 0 08-05-2006 12:58 PM
trouble installing emacs mjp053000 Linux - Newbie 2 07-02-2006 04:39 PM
trouble installing emacs mjp053000 Linux - Software 3 06-30-2006 07:17 AM
Emacs and mmm-mode trouble aliensub Linux - Software 6 01-15-2006 07:52 PM
Emacs Trouble, Meta key not working chandru.in Slackware 6 07-18-2005 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration