From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: beaubert Newsgroups: gmane.emacs.help Subject: Re: How to use elisp's closure Date: Mon, 16 Jun 2008 17:49:58 +0200 Organization: UVHC - LME Message-ID: <200806161749.58507.francois.beaubert@univ-valenciennes.fr> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1213631448 18665 80.91.229.12 (16 Jun 2008 15:50:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2008 15:50:48 +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 Jun 16 17:51:32 2008 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 1K8GzT-0000Q6-IZ for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jun 2008 17:51:31 +0200 Original-Received: from localhost ([127.0.0.1]:58544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8Gyf-00018J-FK for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jun 2008 11:50:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8GyO-000183-2u for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 11:50:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8GyM-00017k-Oc for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 11:50:23 -0400 Original-Received: from [199.232.76.173] (port=48538 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8GyM-00017h-Hf for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 11:50:22 -0400 Original-Received: from eiger.univ-valenciennes.fr ([193.50.192.7]:34766) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8GyM-0004KQ-6B for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 11:50:22 -0400 Original-Received: from ensi-beaubert-pb.univ-valenciennes.fr (ensi-beaubert-pb.univ-valenciennes.fr [192.168.8.172]) by eiger.univ-valenciennes.fr (Postfix) with ESMTP id 834189354 for ; Mon, 16 Jun 2008 17:49:58 +0200 (CEST) User-Agent: KMail/1.9.9 In-Reply-To: Content-Disposition: inline X-UvhcEiger-MailScanner-Information: Please contact the ISP for more information X-UvhcEiger-MailScanner: Found to be clean X-UvhcEiger-MailScanner-From: francois.beaubert@univ-valenciennes.fr X-detected-kernel: by monty-python.gnu.org: 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:54895 Archived-At: On Monday 16 June 2008 16:15:21 netawater wrote:=0A= > In most usual modes, TAB key is bound to an indent function and=0A= > M-TAB key is bound to a complete symbol function.=0A= > I want to write a function if cursor is at the end of word then=0A= > try to complete symbol, else indent. It is my function.=0A= >=0A= Have a look at my previous post about tabkey2.el=0A= It may be interesting for what you want to do ...=0A= =0A= =0A= =0A= --=20=0A= Fran=E7ois BEAUBERT=0A= ENSIAME/LME=0A= Bureau A9=0A= Universit=E9 de Valenciennes - Le Mont Houy - 59313 Valenciennes Cedex 9=0A= T=E9l=E9phone: (0/33)3 27 51 19 72=0A= T=E9l=E9copie: (0/33)3 27 51 19 61=0A= Mel: francois.beaubert@univ-valenciennes.fr=0A= =0A= --=20=0A= Ce message a =E9t=E9 v=E9rifi=E9 par MailScanner=0A= pour des virus ou des polluriels et rien de=0A= suspect n'a =E9t=E9 trouv=E9.=0A= =0A=