From: Robert Pollard <rpollard@apple.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Looking for mode for Oracle Pro*C. AKA embedded SQL/C.
Date: Mon, 19 May 2003 14:22:48 -0700 [thread overview]
Message-ID: <0A02E4D1-8A40-11D7-B3A8-0003930A6566@apple.com> (raw)
In-Reply-To: <g1iacvo3d2nts3vhd7ruqeh9b4j5akaehd@4ax.com>
I am sorry I can't help you with your question but I believe you could
help me. I have been looking for a way to define my own colorization
scheme for a particular mode type. One of the ones I was needing to
define was PL/SQL. You indicated there was a SQL and PL/SQL mode in
Emacs. I was not aware that this existed. How can I get this mode?
And, maybe you can help me understand how I can define my own mode or
colorizations as well. I have bought books on Emacs (which are few and
far between) but none of them talk about defining your own mode.
I have asked this list the question of how you define your own colors.
After a few responses of RTFM to you can colorize text with the
font-lock-mode command I gave up on getting what I was looking for.
The manual describes and gives examples of adding keywords. This is
not what I am looking for. I want to know how adding keywords works.
It appears when you add keywords you use a type face definition like
font-lock-warning-face. I don't want to use whatever
font-lock-warning-face is using as a color or type definition. I want
to be able to use my own colors when defining patterns. This is what I
need to know.
Could/would you point me in a direction to find out how to define my
own colors for specific patterns?
Could/would you point me in a direction to understanding what it would
take to define my own mode?
Could/would you let me know how to use SQL or PL/SQL editing modes?
Thanks,
Robert Pollard
On Friday, May 16, 2003, at 02:07 PM, Mamouliane wrote:
>
> Oracle Pro*C is basically a pre-processor. It takes a source file
> written in C and containing SQL statements. Hence the name embedded
> SQL.
> The pre-processor replaces all SQL statements by C statements &
> function calls. In the end what you have is C source code that is
> then compiled and linked with Oracle libraries.
> This is a very basic description of what it does but you get the idea.
>
> Is anyone aware of such a mode available for Pro*C? I know of a SQL
> mode and PL/SQL mode but can't find a mode for Pro*C or embedded
> SQL/C.
> Should I write such a mode? Is it very difficult? It would basically
> be an extension to the available C mode. There is already modes
> for SQL and PL/SQL out there so I figure I would use that too.
>
> What do you guys think?
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>
next prev parent reply other threads:[~2003-05-19 21:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-16 21:07 Looking for mode for Oracle Pro*C. AKA embedded SQL/C Mamouliane
2003-05-17 7:12 ` Tim X
2003-05-19 12:19 ` Kevin Dziulko
[not found] ` <873cjdsxz3.fsf@gnu.org>
2003-05-20 14:45 ` Mamouliane
2003-05-19 21:22 ` Robert Pollard [this message]
[not found] ` <mailman.6420.1053382303.21513.help-gnu-emacs@gnu.org>
2003-05-19 23:31 ` Johan Bockgård
2003-05-20 9:43 ` Tim X
2003-05-20 16:13 ` Mamouliane
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=0A02E4D1-8A40-11D7-B3A8-0003930A6566@apple.com \
--to=rpollard@apple.com \
--cc=help-gnu-emacs@gnu.org \
/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.