From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: reader@newsguy.com Newsgroups: gmane.emacs.help Subject: Re: problem on edit similar files. Date: Mon, 16 Jul 2007 08:24:57 -0500 Organization: Still searching... Message-ID: <87veck5vme.fsf@newsguy.com> References: <20070716071844.8E33E16DDD5@smtp2.263.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1184592392 3369 80.91.229.12 (16 Jul 2007 13:26:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2007 13:26:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 15:26:31 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IAQas-0008C6-L0 for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jul 2007 15:26:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAQas-0004Jb-5D for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jul 2007 09:26:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAQZi-0003kU-15 for help-gnu-emacs@gnu.org; Mon, 16 Jul 2007 09:25:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAQZh-0003k7-CL for help-gnu-emacs@gnu.org; Mon, 16 Jul 2007 09:25:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAQZh-0003k2-5g for help-gnu-emacs@gnu.org; Mon, 16 Jul 2007 09:25:17 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IAQZg-00028v-OM for help-gnu-emacs@gnu.org; Mon, 16 Jul 2007 09:25:16 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IAQZc-0001Fv-LW for help-gnu-emacs@gnu.org; Mon, 16 Jul 2007 15:25:12 +0200 Original-Received: from adsl-70-131-53-52.dsl.emhril.sbcglobal.net ([70.131.53.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jul 2007 15:25:12 +0200 Original-Received: from reader by adsl-70-131-53-52.dsl.emhril.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jul 2007 15:25:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-70-131-53-52.dsl.emhril.sbcglobal.net User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:H1h/JGHxR92twxYO0LR9Q/FQ9vg= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45708 Archived-At: 邓量 writes: > Hello, > > > > I want to write some operation scripts for each my database tables, these > scrips do the same thing, create trigger on each tables. They have same > format, but different in table's name and column name. I want to know if i > give emacs a template and a table's name and column name, how can emacs give > me a complete script that these table name and column name are automatic > filled in right places. You may get a more complete or detailed answer but until then start here: (I'm sure there is a less round-about way to get to this info but here is one way) Type M-x apropos skeleton-insert On the resulting buffer (if running emacs in X) click on the line of hypertext that says: skeleton-insert Start reading there and look thru skeleton.el as well. An hypertext link to skeleton.el is there too.