From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lof Newsgroups: gmane.emacs.help Subject: about set key Date: Tue, 1 Jan 2008 10:11:10 -0800 (PST) Organization: http://groups.google.com Message-ID: <663d74fb-04c4-451a-9410-8a1f10121b30@s8g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199225031 6392 80.91.229.12 (1 Jan 2008 22:03:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jan 2008 22:03:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 01 23:04:10 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 1J9pDT-0007Bq-Ml for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2008 23:04:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9pD7-0006dt-T5 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2008 17:03:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s8g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 210.77.22.85 Original-X-Trace: posting.google.com 1199211070 31182 127.0.0.1 (1 Jan 2008 18:11:10 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 1 Jan 2008 18:11:10 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s8g2000prg.googlegroups.com; posting-host=210.77.22.85; posting-account=lnS_SgoAAABM7mxMCIP_ZijKannshEF3 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; GreenBrowser),gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:154997 X-Mailman-Approved-At: Tue, 01 Jan 2008 17:03:29 -0500 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:50428 Archived-At: I want to set tab as hippie-expand hot key for text writing so I write: (defun my-indent-or-complete () (interactive) (if (looking-at "\\>") (hippie-expand nil) (indent-for-tab-command) )) (global-set-key [(tab)] 'my-indent-or-complete) but there is a problem when I want to use a command, I hit M-x and then I donnot remember the command before , I hit M-x s ,so that it can give me some options but now it start hippie-expand , I cannot get the options how could I prevent hippie-expand start when I input command? thank you