From: Arjan Bos <Arjan.Bos@nospam.icu.nl>
Subject: Re: Fill-paragraph for javadoc in netrexx mode
Date: Tue, 23 Sep 2003 23:38:02 +0200 [thread overview]
Message-ID: <3f70bd37$0$34888$1b62eedf@news.wanadoo.nl> (raw)
In-Reply-To: <jwvad8vfrk4.fsf@vor.iro.umontreal.ca>
Stefan Monnier wrote:
>
>>>Do I need to copy the relevant elisp-code to my own mode?
>>
>>I think borrowing would be best in this case as jde is kinda heavy to
>>include, although its great for java development.
>
>
> I'd say, make a derived-mode:
>
> (define-derived-mode netrexx-mode java-mode "NetRexx"
> "A mode to edit NetRexx files."
> ...)
>
> and in the `...' part, just change whatever needs to behave differently.
> You can derive from jde-mode if you prefer, of course.
>
>
> Stefan "The derived-mode guy"
Derived Sir,
Is there a kind of tutorial or example I can shamelessly steal from that
shows how to do a derived-mode?
By the way, I already rolled some 1100 lines of elisp and doc-strings,
so I guess I'm a bit passed the derived-mode station. So I'll figure out
the requirements for fill-paragraph for javadoc and build my own. That
way I might learn a bit more about lisp.
And yes, I used the Source, Luke ;-)
TIA,
Arjan
next prev parent reply other threads:[~2003-09-23 21:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-22 19:39 Fill-paragraph for javadoc in netrexx mode Arjan Bos
2003-09-23 12:10 ` jorussel
2003-09-23 15:33 ` Stefan Monnier
2003-09-23 19:14 ` jorussel
2003-09-23 19:48 ` Stefan Monnier
2003-09-23 19:50 ` John Russell
2003-09-23 21:38 ` Arjan Bos [this message]
2003-10-08 21:17 ` Kai Grossjohann
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='3f70bd37$0$34888$1b62eedf@news.wanadoo.nl' \
--to=arjan.bos@nospam.icu.nl \
--cc=Arjan.Bos@icu.nl \
/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).