Closing buffer in Emacs


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Closing buffer in Emacs
# 1  
Old 02-04-2004
Closing buffer in Emacs

What command is used to close buffer in emacs running on Linux?
SS
# 2  
Old 02-04-2004
Try the suggestion here.
Quote:
Buffers:

You can have multiple buffers (files) open at once. Only 1 or 2 will be visible, depending on whether you split your window.

To move between buffers, you can either:
1) select the buffer you want from the Buffers menu
2) "open" the file (If the file is already open, this just switches buffers.)

To close a buffer:
1) select "close buffer" or "delete buffer" from File or Buffers menu. (Different versions of emacs name this function differently. Do not worry, this does NOT delete the file; it just closes the buffer.)

See multiple buffers at once:
1) Split the screen (C-x C-2), then open a 2nd buffer in the 2nd window. (This is useful for viewing your code and compilation errors together.)
You've been asking alot of questions about this.. have you considered just buying a book?

Learning GNU Emacs, 2nd Edition
GNU Emacs and XEmacs (With CD-ROM)
GNU Emacs Manual, For Version 21, 15th Edition

Last edited by oombera; 02-04-2004 at 06:44 PM..
# 3  
Old 02-05-2004
yes, I have got one emacs manual.
what, I am asking one can always close the buffer from File and then slecting close buffer but here must be some key combination to do that.
SS
# 4  
Old 02-05-2004
Here's the official GNU Emacs page.

You'll want to take a look at the manuals and the FAQ (specifically the faq for unix).

Your answer's in there somewhere, but it's a lot to look through! Smilie
# 5  
Old 02-05-2004
That's is what I have!! Couldn't find it easily that's why asked you guys if anyone out there is doing this!!
Will try to hunt again.!!
# 6  
Old 02-05-2004
If you're patient, someone here will probably come forward with an answer ... personally I don't use emacs (stick with good ol' vi) so I have less of a clue than you do. Just trying to point you towards the resources out there... Smilie
# 7  
Old 02-05-2004
Thanks a lot, guys like you keep newbies motivated to learn!!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Closing thread

Hi, I guess, users do not have rights to close a thread. Please close thread 'Small automation' as it is resolved. Regards, snjksh (1 Reply)
Discussion started by: snjksh
1 Replies

2. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

3. What is on Your Mind?

AllTheWeb closing

It was officially announced that AllTheWeb is closing. Yahoo! no longer supports the function as per april 2011: AlltheWeb.com Before the world turned to google by default, there used to be a plethora of search engines. Most of them gave a headache with the prolific use of colors and animated gifs... (4 Replies)
Discussion started by: figaro
4 Replies

4. Post Here to Contact Site Administrators and Moderators

Thread Closing

Not sure as to How to close a thread so people understand that the issue was solved and the issue is not just sitting in limbo still waiting for a resolution. (1 Reply)
Discussion started by: mrmurdock
1 Replies

5. IP Networking

Closing the socket

Hi, I have a question on closing the listen socket in server. In the application I am working, the server is continously receiving requests from the client in its master socket to handle each request. There is an option to shutdown the server process. In this case do I need to explicitly close... (1 Reply)
Discussion started by: naan
1 Replies

6. Shell Programming and Scripting

closing windows

Ok i know to open a window from a script (mac); open whatever(name of a directory) but i don't how to close it. please some help. thanks. (0 Replies)
Discussion started by: Tártaro
0 Replies

7. Post Here to Contact Site Administrators and Moderators

Closing a thread

hi, Just wondering if there could be a way to close threads whose creator has got the desired reply. however if someone still wants to give a remark or suggest further on the thread one can still do so. Besides on the control panel there should be some kind of selection criteria to view... (3 Replies)
Discussion started by: linuxpenguin
3 Replies

8. IP Networking

Closing out ports???

Hi all Is there a command that I can use to close out open ports? I did a netstat - a -p and got a long list of ports open (see sample below). I have disabled the some of the applications from /etc/services/. But there are still applications listening on certain ports. I need to know how to... (6 Replies)
Discussion started by: skotapal
6 Replies
Login or Register to Ask a Question