From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Is is a major or minor mode? Date: Thu, 31 Oct 2002 10:22:00 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3DC166B8.3070400@ihs.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036085648 5921 80.91.224.249 (31 Oct 2002 17:34:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2002 17:34:08 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 187JA0-0001MM-00 for ; Thu, 31 Oct 2002 18:31:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 187J7w-0003YG-00; Thu, 31 Oct 2002 12:29:04 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!peernews3.colt.net!news0.de.colt.net!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: fu-berlin.de 1036084910 4672425 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:106626 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3177 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3177 Phillip Lord wrote: >>>>>>"Galen" == Galen Boyer writes: >>>>>> > > Galen> I want this to be available in both SQLi and sql-mode buffers > Galen> and piggyback on its comint integration. I was planning to > Galen> write a wrapper around the login functionality of sql.el > Galen> which would then define the specific variables that the > Galen> sql-mode and sqli buffers needed to know about to get at the > Galen> *bsh* variables. I'm just not sure if this is the right plan > Galen> to proceed with. Should I make my own major-mode and steal > Galen> liberally from sql.el? > > > I think that the answer to this is partly sociological. Is sql.el very > large? Is it being actively developed? If the answer is yes to either > of these the code stealing option would be much less attractive. But it would make define-derived-mode an attractive approach to implementing it as a major mode. -- Kevin Rodgers