From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: eshell: How to ignore a word? Date: Tue, 16 Nov 2004 11:08:50 +0100 Message-ID: <86d5ye6r7x.fsf@ketchup.de.uu.net> References: <86oeicr6nx.fsf@ketchup.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100599857 29737 80.91.229.6 (16 Nov 2004 10:10:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2004 10:10:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 16 11:10:46 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CU0IP-00073G-00 for ; Tue, 16 Nov 2004 11:10:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CU0R9-0000GE-IT for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Nov 2004 05:19:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CU0Qc-0000F5-Go for help-gnu-emacs@gnu.org; Tue, 16 Nov 2004 05:19:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CU0QV-0000Di-ML for help-gnu-emacs@gnu.org; Tue, 16 Nov 2004 05:19:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CU0QU-0000DZ-TL for help-gnu-emacs@gnu.org; Tue, 16 Nov 2004 05:19:07 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CU0Gp-0005vD-Pz for help-gnu-emacs@gnu.org; Tue, 16 Nov 2004 05:09:07 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CU0Go-0005G6-00 for ; Tue, 16 Nov 2004 11:09:06 +0100 Original-Received: from ketchup.de.uu.net ([139.4.38.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2004 11:09:05 +0100 Original-Received: from kai by ketchup.de.uu.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2004 11:09:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ketchup.de.uu.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:arJyJcZGQ3qmWTibARnn7imHOkA= 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: main.gmane.org gmane.emacs.help:22043 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22043 Kai Grossjohann writes: > Say I wanted to define eshell completion for the command nohup. How > would I go about this? > > Essentially, pcomplete should complete the command line "nohup foo > bar" as if the "nohup" wasn't there. I found out that eshell already knows to complete xargs, and it works to do (defalias 'pcomplete/nohup 'pcomplete/xargs) Well, actually, I have a command "ec" that I used this with, and I didn't try for nohup. But I think it will also work for nohup. Kai