[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28568: 26.0.60; [eshell] Incompatible change in alias argument handl
From: |
Jay Kamat |
Subject: |
bug#28568: 26.0.60; [eshell] Incompatible change in alias argument handling |
Date: |
Wed, 27 Sep 2017 00:28:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) |
Hi!
I was getting quite annoyed with this bug (since it breaks all my eshell
aliases), and I would really hate to see this bug in the emacs 26
release, so I wanted to push it along. I've attached a patch that simply
reverts the fix to #27954 (commit e66e81679c), which seems to solve the
problem.
>From bug #27954, the issue was:
> In eshell:
>
> alias ll ls -l
>
> gives a full listing of all files as result of the following eshell-command:
>
> ll test.txt
>
> But, I expect only the listing for the file test.txt.
which can be fixed by changing the alias to:
alias ll 'ls -l $*'
which works fine for me in both cases ('ll' and 'll test.txt').
All this patch is doing is reverting commit e66e81679c and updating the
alias documentation, so feel free to remake and commit this yourself if
you wish (or if I'm doing it wrong).
Thanks,
-Jay
0001-Revert-change-to-eshell-alias-argument-parsing-Bug-2.patch
Description: Text Data