unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Make my own file mode??
@ 2005-08-03 21:06 Paminu
  2005-08-03 21:15 ` rgb
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paminu @ 2005-08-03 21:06 UTC (permalink / raw)


I have downloaded different .el files that gets activated when I start
writing ie C, sql etc.

Is it possible to make these files on my own? I use FVWM window manager and
would like to make a mode for the .fvwm2rc file, any good hints on how to
get started?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Make my own file mode??
  2005-08-03 21:06 Make my own file mode?? Paminu
@ 2005-08-03 21:15 ` rgb
  2005-08-03 21:59 ` Edward O'Connor
  2005-08-04 10:54 ` William XWL
  2 siblings, 0 replies; 4+ messages in thread
From: rgb @ 2005-08-03 21:15 UTC (permalink / raw)


Paminu wrote:
> I have downloaded different .el files that gets activated when I start
> writing ie C, sql etc.
>
> Is it possible to make these files on my own? I use FVWM window manager and
> would like to make a mode for the .fvwm2rc file, any good hints on how to
> get started?

Both the Emacs Lisp Reference Manual
http://www.gnu.org/software/emacs/elisp-manual/
and the Emacs Wiki have a wealth of information on the subject.
http://www.emacswiki.org/cgi-bin/wiki/CreateNewMajorMode
http://www.emacswiki.org/cgi-bin/wiki/CategoryCode

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Make my own file mode??
  2005-08-03 21:06 Make my own file mode?? Paminu
  2005-08-03 21:15 ` rgb
@ 2005-08-03 21:59 ` Edward O'Connor
  2005-08-04 10:54 ` William XWL
  2 siblings, 0 replies; 4+ messages in thread
From: Edward O'Connor @ 2005-08-03 21:59 UTC (permalink / raw)


> I use FVWM window manager and would like to make a mode for the
> .fvwm2rc file, any good hints on how to get started?

Add this line to your .emacs file:

(require 'generic-x)

And then use `fvwm-generic-mode' to edit your .fvwm2rc file.


Ted

-- 
Edward O'Connor
hober0@gmail.com

Ense petit placidam sub libertate quietem.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Make my own file mode??
  2005-08-03 21:06 Make my own file mode?? Paminu
  2005-08-03 21:15 ` rgb
  2005-08-03 21:59 ` Edward O'Connor
@ 2005-08-04 10:54 ` William XWL
  2 siblings, 0 replies; 4+ messages in thread
From: William XWL @ 2005-08-04 10:54 UTC (permalink / raw)


Paminu <jadajada@asd.com> writes:

> I have downloaded different .el files that gets activated when I start
> writing ie C, sql etc.
>
> Is it possible to make these files on my own? I use FVWM window manager and
> would like to make a mode for the .fvwm2rc file, any good hints on how to
> get started?

There's fvwm-mode.el.

-- 
William

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-04 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-03 21:06 Make my own file mode?? Paminu
2005-08-03 21:15 ` rgb
2005-08-03 21:59 ` Edward O'Connor
2005-08-04 10:54 ` William XWL

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).