all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sandipchitale@yahoo.com (Sandip Chitale)
Subject: Re: fontify a buffer using JDEE's fontification without switching to jde-mode
Date: 29 Jan 2003 16:41:12 -0800	[thread overview]
Message-ID: <b607d812.0301291641.2097509f@posting.google.com> (raw)
In-Reply-To: 8465s968wv.fsf@lucy.is.informatik.uni-duisburg.de

kai.grossjohann@uni-duisburg.de (Kai Großjohann wrote in message news:<8465s968wv.fsf@lucy.is.informatik.uni-duisburg.de>...
> sandipchitale@yahoo.com (Sandip Chitale) writes:
> 
> > How do I use jde font locking mechanism to fontify a buffer without
> > switching to jde-mode ?
> 
> It's difficult.  Why do you want to do that?  If the indentation is
> wrong, you could just customize that until it's right...

I am writing a JDEE add-in tool to display info about type at
point using introspection. I did not want to force use of JDEE
mode in the output buffer of my tool.

The following three forms seem to do what I asked for.

(set-syntax-table java-mode-syntax-table)
(derived-mode-set-syntax-table 'jde-mode)
(jde-setup-syntax-coloring)

  reply	other threads:[~2003-01-30  0:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-28  0:24 fontify a buffer using JDEE's fontification without switching to jde-mode Sandip Chitale
2003-01-28  7:16 ` Kai Großjohann
2003-01-30  0:41   ` Sandip Chitale [this message]
2003-01-30 15:33     ` Stefan Monnier <foo@acm.com>
2003-01-30 22:03       ` Sandip Chitale

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

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

  git send-email \
    --in-reply-to=b607d812.0301291641.2097509f@posting.google.com \
    --to=sandipchitale@yahoo.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.