From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.help Subject: Re: [smartLitchi@gmail.com: anyone knows automatic completation elisp script?] Date: 25 Apr 2005 14:04:15 +0100 Organization: School of Computer Science, University of Manchester, U.K. Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114437674 2374 80.91.229.2 (25 Apr 2005 14:01:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Apr 2005 14:01:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 25 16:01:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQ47f-0000Q4-FF for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Apr 2005 15:59:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQ4DC-0004J2-DJ for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Apr 2005 10:05:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!easynet-quince!easynet.net!feed4.jnfs.ja.net!jnfs.ja.net!peernews.mcc.ac.uk!cs.man.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: rpc71.cs.man.ac.uk Original-X-Trace: wapping.cs.man.ac.uk 1114434255 15279 130.88.198.228 (25 Apr 2005 13:04:15 GMT) Original-X-Complaints-To: news@wapping.cs.man.ac.uk Original-NNTP-Posting-Date: Mon, 25 Apr 2005 13:04:15 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:130451 Original-To: help-gnu-emacs@gnu.org 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:26022 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26022 >>>>> "litchi" == litchi writes: litchi> From: litchi Subject: anyone knows litchi> automatic completation elisp script? To: Emacs litchi> Date: Mon, 25 Apr 2005 20:30:11 litchi> +0800 Reply-To: smartLitchi@gmail.com litchi> I wander anyone who knows an automatic completation tools~? litchi> I mean if I want to input the word automatic and I have litchi> inputed four characters a,u,t and o then the rest litchi> (m,a,t,i,c) can be pushed to the screen automatilly ---need litchi> no complete command such as M-/ litchi> If only one word (eg, only the word automatic) matches the litchi> regular expression ^auto no other words such as litchi> automatilly(this also match ^auto) exists in this buffer litchi> then we can use some keys to accept the auto litchi> completation(eg,) then if also some other matches,We litchi> can use some keys to change the one we wanted from all the litchi> matches, eg, M-/. pabbrev.el It doesn't do exactly what you are asking for. It works on prefix matching, rather than regexp. You need to hit tab at any time to accept the completion, but the completion, where there is one, is always shown on screen. Cheers Phil