From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#31765: 26.1; Can't define alias for git in eshell Date: Sat, 9 Jun 2018 12:35:05 -0300 Message-ID: References: <87vaask6mj.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1528558736 30349 195.159.176.226 (9 Jun 2018 15:38:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Jun 2018 15:38:56 +0000 (UTC) To: 31765@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 09 17:38:52 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRfx5-0007nW-Ef for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jun 2018 17:38:51 +0200 Original-Received: from localhost ([::1]:40736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRfzC-00012b-FH for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jun 2018 11:41:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRfuM-0005VZ-Rx for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 11:36:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRfuM-0003Wg-1M for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 11:36:02 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33544) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRfuL-0003WY-Ta for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 11:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fRfuL-0007x0-Ho for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 11:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jun 2018 15:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31765 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152855853930529 (code B ref -1); Sat, 09 Jun 2018 15:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Jun 2018 15:35:39 +0000 Original-Received: from localhost ([127.0.0.1]:41441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRftx-0007wI-3k for submit@debbugs.gnu.org; Sat, 09 Jun 2018 11:35:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRftv-0007w6-GP for submit@debbugs.gnu.org; Sat, 09 Jun 2018 11:35:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRftp-0003RI-9C for submit@debbugs.gnu.org; Sat, 09 Jun 2018 11:35:30 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fRftp-0003R9-5k for submit@debbugs.gnu.org; Sat, 09 Jun 2018 11:35:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRftn-00055h-TP for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 11:35:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRftn-0003PP-5z for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 11:35:27 -0400 Original-Received: from mail-it0-x22e.google.com ([2607:f8b0:4001:c0b::22e]:56247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRftm-0003Nq-MK for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2018 11:35:27 -0400 Original-Received: by mail-it0-x22e.google.com with SMTP id 16-v6so1085655itl.5 for ; Sat, 09 Jun 2018 08:35:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=xy5eZDVMs/6B49sGf5NRZGKqiHGuw/ei7lvy7SDeR2M=; b=EtNzPkzyGvIBzM9ieStXfVdyqNiSElwjP8B7knZaA4uOx3kdwf9gdoOYNUKdcm1s05 8TFaKWY1aqXfusKegT+0lYCo3cWc+ft5z1O9nqPzIo6QgNv71OZW6oJo41qkSofUDtVD Air+Sj49Qf7efyvs/YCVnSGQtKzNfimBLXobvjgz+I11sjgofYyoj8ZRrVmLAAslfMbS b97DBkPK+y4deXLv9LN0qfUHtPFPs26G0033VbCg1uz/UiC5/46+ONHThcnKUjNWy5Kp VoL1O7maeEsqVbngsQ4WdDQ3EnkCycK48LpvBt2xFEoDezytCNn3SGt+cGSE6aoJL53a aEgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=xy5eZDVMs/6B49sGf5NRZGKqiHGuw/ei7lvy7SDeR2M=; b=e0mOsZ4wdGiAJKXQY969m7UH7+rGjKt1tQQVRuN4tgfv43fCW+v0byMoeWs3tJQAGx 5l90VnuRxJP6XkOi7kC0hCvb9cIuXr8e6NfpbTwKeuBlD9uFl2emuAOsGwK/3GHOvsVF tl5x8aik4QAM3pUNb8kVdukhBkAkvvpBFXyDaxSPmoE/6FUFlSUtM8xz4bm+/4Rr6vCi NmkjK0CsOwKE9eJvBpqQ8oVMI0nFepAxC65P9hBqKJHedzYzG8nECmMp3j1g3sQnNxZB giQxJUbR03GSCvJAIhUN7m8pVtxwLYSfPXQ/rZyOIoq9cnVZUOXQAQJU+xJ+VLTshqPD +TXg== X-Gm-Message-State: APt69E11JBCan+23CuNSSLAhxXjThddz5crDKX1dT14mcwEQAXndDOc5 6vqJcdtVWRIQZ8Ij9WvdyL0gINIWRb9GF5ueo54JQg== X-Google-Smtp-Source: ADUXVKLkA/cZpi39moFf3bVpM5Z6HErwsNLkZHoWYCe/I2W6E1sJ12GFf825ugHx8lvVEW7vq8aS/pHlpa4bVT6XCIQ= X-Received: by 2002:a24:4457:: with SMTP id o84-v6mr5466407ita.142.1528558525841; Sat, 09 Jun 2018 08:35:25 -0700 (PDT) Original-Received: by 2002:a02:97bb:0:0:0:0:0 with HTTP; Sat, 9 Jun 2018 08:35:05 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147246 Archived-At: By trial & error I came to the conclusion that the "juxtaposition" case is not valid anymore. The example in the documentation: > For example, ll is a common alias for ls -l, and would be defined > with the command invocation =E2=80=98alias ll ls -l=E2=80=99; with t= his defined, > running =E2=80=98ll foo=E2=80=99 in Eshell will actually run =E2=80= =98ls -l foo=E2=80=99. plainly fails, it doesn't list foo but the current directory, foo is simply ignored. The correct way seems to be: alias ll 'ls -l $*' which is not documented (not even in the draft guide [1]). --- [1] https://www.gnu.org/software/emacs/draft/manual/html_node/eshell/Aliase= s.html#Aliases