-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helm adds space after completing directory name in M-x shell #2274
Comments
Joe Corneli <notifications@github.com> writes:
Instead, I see "cd ~/Downloads/ " with a trailing space.
Indeed, should be fixed now.
Thanks to catch this.
…--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
|
@thierryvolpiatto just an FYI. I cloned |
thierryvolpiatto
added a commit
that referenced
this issue
Dec 27, 2020
Don't add space after completing a (possible) directory in shell completion. For this the exit-function should be called with 'exact and not 'finished.
Manuel Uberti <notifications@github.com> writes:
@thierryvolpiatto just an FYI. I cloned helm repository and from emacs-helm.sh the problem is still present.
Yes the issue is here again after fixing issues #2356 and #2265, should
be fixed in devel branch (will merge soon) hopefully without breaking
anything else.
Thanks.
…--
Thierry
|
Fantastic, it works as expected now. Thank you for the quick fix. |
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
I would expect to see "
cd ~/Downloads/
" <- no trailing space as the result of completion when I presscd ~/Down<TAB>
in a shell buffer. This behaviour is useful because it allows to change to subdirectories quickly, by pressing TAB again.Actual behavior (from
emacs-helm.sh
if possible, see note at the bottom)Instead, I see "
cd ~/Downloads/
" <- with a trailing space.Steps to reproduce (recipe)
Reproduction:
...Note that the Expected Behaviour above is produced if I instead run
emacs -Q --no-site-file
. In other words, Helm changes a default behaviour in a way that isn't entirely obvious, since I never see a Helm buffer pop up in this interaction.Describe versions of Helm, Emacs, operating system, etc.
GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-01-27
Are you using
emacs-helm.sh
to reproduce this bug? (yes/no):Yes
Are you using Spacemacs? (yes/no):
No
The text was updated successfully, but these errors were encountered: