unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
Subject: Re: Syntax highlighting for another languaje
Date: 27 Nov 2002 17:55:12 +0100	[thread overview]
Message-ID: <m3y97fq7f3.fsf@cicero.benny.turtle-trading.net> (raw)
In-Reply-To: mailman.1038342860.17701.help-gnu-emacs@gnu.org

Hi Leo,


"Bermudez, Leonardo " <lbcd@ChevronTexaco.com> writes:
> I was wondering how can I define font-locking for another
> languaje. This languaje is just comment lines that start with "--",
> some comands in uppercase and numbers (its an input file for another
> program).

Have a look at lisp/generic.el and lisp/generic-x.el.  The first
defines the function define-generic-mode (see also C-h f
define-generic-mode), the other uses that for a number of simple
modes that you can use as examples. 

> The other problem that I have is that I am just at user level in a
> linux box and I do not have administrative rights.

You can define a generic mode in your ~/.emacs.  If things get larger
or you want to use code from other sources, you can always create your
own elisp directory in your home and add that to your load-path
variable in ~/.emacs.


Hope this helps, benny

  parent reply	other threads:[~2002-11-27 16:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1038342860.17701.help-gnu-emacs@gnu.org>
2002-11-27  8:39 ` Syntax highlighting for another languaje Oliver Scholz
2002-11-27 16:55 ` Benjamin Riefenstahl [this message]
2002-11-26 20:33 Bermudez, Leonardo 

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3y97fq7f3.fsf@cicero.benny.turtle-trading.net \
    --to=benjamin.riefenstahl@epost.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).