From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dimitri Fontaine Newsgroups: gmane.emacs.devel Subject: Re: How to make a mode dependent operation ? Date: Sat, 04 Dec 2010 21:08:24 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291493321 12452 80.91.229.12 (4 Dec 2010 20:08:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2010 20:08:41 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Fren Zeee Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 04 21:08:37 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1POyPM-0005NK-Dl for ged-emacs-devel@m.gmane.org; Sat, 04 Dec 2010 21:08:37 +0100 Original-Received: from localhost ([127.0.0.1]:44507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POyPL-0007ZV-Uy for ged-emacs-devel@m.gmane.org; Sat, 04 Dec 2010 15:08:35 -0500 Original-Received: from [140.186.70.92] (port=50808 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POyPH-0007ZE-2w for emacs-devel@gnu.org; Sat, 04 Dec 2010 15:08:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POyPG-0008G0-49 for emacs-devel@gnu.org; Sat, 04 Dec 2010 15:08:30 -0500 Original-Received: from prometheus.naquadah.org ([212.85.154.174]:60922 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POyPF-0008FE-Vg for emacs-devel@gnu.org; Sat, 04 Dec 2010 15:08:30 -0500 Original-Received: by mx1.naquadah.org (Postfix, from userid 8) id E9F075C168; Sat, 4 Dec 2010 21:08:26 +0100 (CET) Original-Received: from DimIMac.local (89-158-241-48.rev.dartybox.com [89.158.241.48]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id 2F8F95C15D; Sat, 4 Dec 2010 21:08:25 +0100 (CET) Original-Received: by DimIMac.local (Postfix, from userid 501) id BFCF11341801; Sat, 4 Dec 2010 21:08:24 +0100 (CET) User-Mail-Address: dim@tapoueh.org In-Reply-To: (Fren Zeee's message of "Sat, 4 Dec 2010 11:50:58 -0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (darwin) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133416 Archived-At: Fren Zeee writes: > In c-mode, I want to insert a skeleton of function as [...] > and similarly in scheme, java, python, haskell, pascal ... See either (info "(autotype) Top") in bare Emacs, or yasnippet here: http://code.google.com/p/yasnippet/ Regards, -- dim