From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Dziulko Newsgroups: gmane.emacs.help Subject: C with embedded SQL Date: Tue, 9 Mar 2004 05:06:35 -0800 (PST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040309130635.88987.qmail@web41808.mail.yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0524148385==" X-Trace: sea.gmane.org 1079026770 5505 80.91.224.253 (11 Mar 2004 17:39:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2004 17:39:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 11 18:39:20 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1U9Q-0007FP-00 for ; Thu, 11 Mar 2004 18:39:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1U81-0007AM-Kv for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Mar 2004 12:37:53 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B0h7u-000654-NV for help-gnu-emacs@gnu.org; Tue, 09 Mar 2004 08:18:30 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B0gyc-0004HW-Eu for help-gnu-emacs@gnu.org; Tue, 09 Mar 2004 08:09:26 -0500 Original-Received: from [66.218.93.142] (helo=web41808.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.30) id 1B0gwU-00048T-V2 for help-gnu-emacs@gnu.org; Tue, 09 Mar 2004 08:06:43 -0500 Original-Received: from [192.68.108.35] by web41808.mail.yahoo.com via HTTP; Tue, 09 Mar 2004 05:06:35 PST Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Mime-version: 1.0 Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17533 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17533 --===============0524148385== Content-Type: multipart/alternative; boundary="0-528618918-1078837595=:87665" --0-528618918-1078837595=:87665 Content-Type: text/plain; charset=us-ascii Hello I frequently write / edit C code that has embedded SQL (used within an Ingres system). The embedded SQL contains many colons, like: int x; printf("before embedded sql"); exec sql select junk into :x from sometable where column = :col; printf("after sql"); The colons mess up the indentation. Does any one know of a mode or setting that would be helpful? Thanks in advance! Kevin Dziulko --------------------------------- Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster. --0-528618918-1078837595=:87665 Content-Type: text/html; charset=us-ascii
Hello
 
I frequently write / edit C code that has embedded SQL (used within an Ingres system).  The embedded SQL contains many colons, like:
 
int x;
printf("before embedded sql");
 
exec sql select junk
             into :x
             from sometable
             where column = :col;
 
printf("after sql");
 
The colons mess up the indentation.  Does any one know of a mode or setting that would be helpful?
 
Thanks in advance!
 
Kevin Dziulko


Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster. --0-528618918-1078837595=:87665-- --===============0524148385== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs --===============0524148385==--