Date: Mon, 29 Nov 1999 08:54:33 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Leon cc: djgpp AT delorie DOT com Subject: Re: anyon uses Emacs there with Djgpp and if so... In-Reply-To: <199911282218.RAA08235@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 29 Nov 1999, Leon wrote: > 1) is there a documented way to create your own modes (ie c++, c, > funadmental, myOwn) You need to download the Elisp manual from a GNU FTP site. It explains this. But I seriously doubt that you'd need that, since Emacs already has special modes for every language on Earth. > 2) with the existing c++ mode - do people find that color (ie font-lock) > mode only colors lines that are not tabbed (except comment lines) > for example: > > if () > > would be coloured blue but the moment i tab it - it goes back to black... That's because Emacs treats this as a function, unless it is indented. You may want to turn on font-lock-maximum-decoration. See the provided example _emacs init file (called _emacs.xmpl) for how to set up the color syntax highlighting. You might just rename it to _emacs, restart Emacs and see if that does what you want. > 3) any documented way to *select* text? I mean like in modern traditional > editors where one can hold shift key and then use up/down/left/right > arrows? Type "Alt-x pc-selection-mode RET", and you will have this. > and then to copy the selection? See above. > I have tried to search the FAQ and tutorial - but to no avail. Use "C-h a", the `apropos' command. It will save you hours of looking. Emacs has too many features to find them in a tutorial.