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..
8 More Discussions You Might Find Interesting
1. IP Networking
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
2. Post Here to Contact Site Administrators and Moderators
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
3. Shell Programming and Scripting
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
4. IP Networking
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
5. Post Here to Contact Site Administrators and Moderators
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
6. What is on Your Mind?
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
7. UNIX for Dummies Questions & Answers
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
8. Post Here to Contact Site Administrators and Moderators
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
LEARN ABOUT ULTRIX
emacsclient
EMACSCLIENT(1) General Commands Manual EMACSCLIENT(1)
NAME
emacsclient - tells a running Emacs to visit a file
SYNOPSIS
emacsclient [options] files ...
DESCRIPTION
This manual page documents briefly the emacsclient command. Full documentation is available in the GNU Info format; see below. This man-
ual page was originally written for the Debian GNU/Linux distribution, but is not specific to that system.
emacsclient works in conjunction with the built-in Emacs server.
You can either call emacsclient directly or let other programs run it for you when necessary. On GNU and Unix systems many programs con-
sult the environment variable EDITOR (sometimes also VISUAL) to obtain the command used for editing. Thus, setting this environment vari-
able to 'emacsclient' will allow these programs to use an already running Emacs for editing. Other operating systems might have their own
methods for defining the default editor.
For emacsclient to work, you need an already running Emacs with a server. Within Emacs, call the functions `server-start' or `server-
mode'. (Your `.emacs' file can do this automatically if you add either `(server-start)' or `(server-mode 1)' to it.)
When you've finished editing the buffer, type `C-x #' (`server-edit'). This saves the file and sends a message back to the `emacsclient'
program telling it to exit. The programs that use `EDITOR' wait for the "editor" (actually, `emacsclient') to exit. `C-x #' also checks
for other pending external requests to edit various files, and selects the next such file.
If you set the variable `server-window' to a window or a frame, `C-x #' displays the server buffer in that window or in that frame.
OPTIONS
The programs follow the usual GNU command line syntax, with long options starting with two dashes (`-').
-nw, -t, --tty
open a new Emacs frame on the current terminal
-c, --create-frame
create a new frame instead of trying to use the current Emacs frame
-e, --eval
do not visit files but instead evaluate the arguments as Emacs Lisp expressions.
-n, --no-wait
returns immediately without waiting for you to "finish" the buffer in Emacs.
-s, --socket-name=FILENAME
use socket named FILENAME for communication.
-f, --server-file=FILENAME
use TCP configuration file FILENAME for communication. This can also be specified via the `EMACS_SERVER_FILE' environment variable.
-a, --alternate-editor=EDITOR
if the Emacs server is not running, run the specified editor instead. This can also be specified via the `ALTERNATE_EDITOR' envi-
ronment variable. If the value of EDITOR is the empty string, then Emacs is started in daemon mode and emacsclient will try to con-
nect to it.
-d, --display=DISPLAY
tell the server to display the files on the given display.
-V, --version
print version information and exit
-H, --help
print this usage information message and exit
SEE ALSO
The program is documented fully in Using Emacs as a Server available via the Info system.
AUTHOR
This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>, for the Debian GNU/Linux system (but may be used by others).
COPYING
This manual page is in the public domain.
EMACSCLIENT(1)