From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.help Subject: Re: completion in M-x shell after the word "ssh" Date: Sat, 16 Jul 2011 08:00:49 +0800 Message-ID: <87ipr3xff2.fsf@jidanni.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310774580 23369 80.91.229.12 (16 Jul 2011 00:03:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2011 00:03:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 16 02:02:56 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhsLP-0005K5-5w for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Jul 2011 02:02:55 +0200 Original-Received: from localhost ([::1]:58914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhsLN-00014z-Lr for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 20:02:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhsJT-00014K-70 for help-gnu-emacs@gnu.org; Fri, 15 Jul 2011 20:00:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhsJR-00022o-Rm for help-gnu-emacs@gnu.org; Fri, 15 Jul 2011 20:00:54 -0400 Original-Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66]:55563 helo=homiemail-a4.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhsJR-00022k-F8 for help-gnu-emacs@gnu.org; Fri, 15 Jul 2011 20:00:53 -0400 Original-Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id A31AA51C063 for ; Fri, 15 Jul 2011 17:00:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=DMUUdyUFApShhtDEIDqN43uWdn5IRI0sdF/ZRgPkujs4OAWgT qcJOU+fPwHZm5nDVwqW/DrkXIjtLypwlyS07peiQsVfoYRvqFeS+8CT+N/2+YPAN IoiaYZVcCr2406qdWq4MCag4uq9Rm6X1WTL8eCK8WnCFDEMNKjV3ke3I+Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=kcKuUKwNZ2JTStreEJvOl0CD/TI=; b=D1UmrJYk4w/st ih2LzztpXGLPbb5SINK2NuvLCVjrZXH+bvqBtN95HStVK7gRX5WeituTGQkJqzZk 8ALCkG2QbjIEnytPHn0LkaDjsIhqmuGI6QcQGmAbfCJvNeH24p9WXtmEYBsUNMiW wecI7pEZZlQSlu7R+97uCaoQt2BOvU= Original-Received: from jidanni.org (218-163-1-108.dynamic.hinet.net [218.163.1.108]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id 41F7F51C062 for ; Fri, 15 Jul 2011 17:00:52 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.97.132.66 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81611 Archived-At: >>>>> "j" == jidanni writes: j> Recently in M-x shell, j> after j> $ ssh j> completion becomes different. j> Either tell me a way to turn this bonus feature off. j> Or tell me a way to add my favorite hosts to a list that it is trying to j> complete. j> I did C-h k TAB but that is a forest help pages. Our first step into the forest is TAB (translated from ) runs the command completion-at-point, which is an interactive compiled Lisp function in `minibuffer.el'. It is bound to TAB, . (completion-at-point) Perform completion on the text around point. The completion method is determined by `completion-at-point-functions'.