unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: 31765@debbugs.gnu.org
Subject: bug#31765: 26.1; Can't define alias for git in eshell
Date: Sat, 9 Jun 2018 12:35:05 -0300	[thread overview]
Message-ID: <CAELgYheA3Qm=Lswzeza4BqS32ZsUvDrCsAZq0Yjp4L2G3_J81A@mail.gmail.com> (raw)
In-Reply-To: <CAELgYhd=torFXftPPnjgiQKuKCn+n7T_YHJyfVV6BeMLjW3Z6w@mail.gmail.com>

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 ‘alias ll ls -l’; with this defined,
     > running ‘ll foo’ in Eshell will actually run ‘ls -l foo’.

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/Aliases.html#Aliases





  reply	other threads:[~2018-06-09 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-09  2:59 bug#31765: 26.1; Can't define alias for git in eshell Carlos Pita
2018-06-09  3:08 ` Carlos Pita
2018-06-09 15:35   ` Carlos Pita [this message]
2018-06-09 19:34     ` Noam Postavsky
2018-07-11 13:11     ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAELgYheA3Qm=Lswzeza4BqS32ZsUvDrCsAZq0Yjp4L2G3_J81A@mail.gmail.com' \
    --to=carlosjosepita@gmail.com \
    --cc=31765@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).