If you don't know enough about emacs to even know how to start it, I would be very wary of editing a real file. You might get stuck, or damage it by mistake. Learn how to use the editor on some test files.
------------------
If you get past the learning stage, are you in a command window or using some kind of GUI? If a command window, how about:
Quote:
how to open existing emacs files with .cgi format
There is no such thing as an "emacs file", to my understanding. It is just a text file you are editing. Any text editor, including emacs, will edit the file. And there is no such thing as ".cgi format". If a cgi file is a text file, you can edit it. If it's a binary file, you will just see gobbledy-gook.
Hi,
I am working with xEmacs 21.1 patch 14.
I see I can configure it to be very User Friendly.
I can highlight variables, color them, and actually make it look like a Visual IDE.
How do I configure it?
How do I color Variables in one color, and make them bold, and how do I change the... (1 Reply)
I have been teaching myself unix a little here and a little there. I would like to learn emacs, or an editor that I would get the most use out of. What is the most used editor in unix? (1 Reply)
Hi
How can I do ftp using emacs. I strart the function by M-x ftp. It connects to the server where I can see the list of files. how can I do put or get there?
Thanks
SS (1 Reply)
I am using emacs to write c++ code. How to configure it to let the system highlight C++ keywords, variables, etc; and let it automatically indent, just like a common C++ IDE does?
Any suggestions? Thanks! (1 Reply)
Hello, Does anyone know where there is an nice step by step to install emacs?
Or is ti just as easy as download, untar, run an install script sort of deal? (3 Replies)
could someone please tell me how do I work emacs on unix?? how do you input the command and open up files and edit stuff. I know M-x info will lauch the info viewer, C-x u is undo, M-x spell-region run a spell check but when i use some of these command on emacs in Unix, I'm getting no results or... (1 Reply)
After I had successfully installed bash I wanted to install emacs. I downloaded the packages from IBM (emacs, emacs-nox, and emacs-X11), but I could not install emacs-X11. It needs libjpeg and libtiff, but I couldn't install both libs. Error messages:
file /opt/freeware/64 from install of... (2 Replies)
Discussion started by: BuSchu
2 Replies
LEARN ABOUT XFREE86
mailcap.order
MAILCAP.ORDER(5) Order Mailcap Entries MAILCAP.ORDER(5)NAME
/etc/mailcap.order - the mailcap ordering specifications
DESCRIPTION
The order of entries in the /etc/mailcap file can be altered by editing the /etc/mailcap.order file. Each line of that file specifies a
package and an optional mime type. Mailcap entries that match will be placed in the order of this file. Entries that don't match will be
placed later.
Example
mime-support:*/*
gv:application/postscript
netscape:text/html
less:text/*
emacs:text/*
The above would make any entries provided by the mime-support package (as found in the /usr/lib/mime/packages directory) take priority over
everything else. The gv package will be used over anything else when it comes to postscript documents. Netscape will be used for any html
documents and less will be used for any remaining text documents. However, since neither netscape or less provide for editing documents,
any edit or compose actions will fall through to the emacs rules.
After modifying this file, be sure to run /usr/sbin/update-mime (as root) to propagate the changes into the /etc/mailcap file.
Remember that this files takes package names and not executable names. If you want to define rules that reference specific programs, the
best way is to include them in ~/.mailcap or the user section of the /etc/mailcap file.
LIMITATIONS
There is currently no way to break out a certain type from a wildcard rule. If, for example, both xv and gimp were to specify "image/*"
rules, it isn't possible to use xv for gif images but use gimp for jpeg images.
Also, I would like to add the ability to specify certain actions in the rules. For example, if netscape were to have an edit rule but I
wanted to use emacs for editing/creating html documents, I could place a line like
emacs:text/* action=edit|compose
before the netscape entry. The update-mime program would then spit out entries such that netscape view rule comes before the emacs view
rule but have the netscape edit rule comes after the emacs edit rule.
SEE ALSO mailcap(5)run-mailcap(1)update-mime(8)AUTHOR
The mailcap.order specification was written by Brian White <bcwhite@pobox.com>
Debian Project 16th Aug 1998 MAILCAP.ORDER(5)