GNU bug report logs - #52119
29.0.50; Blank lines in vc-git-stash-pop with fido-vertical-mode

Previous Next

Package: emacs;

Reported by: Manuel Uberti <manuel.uberti <at> inventati.org>

Date: Fri, 26 Nov 2021 07:52:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Manuel Uberti <manuel.uberti <at> inventati.org>, 52119 <at> debbugs.gnu.org
Subject: bug#52119: 29.0.50; Blank lines in vc-git-stash-pop with fido-vertical-mode
Date: Fri, 26 Nov 2021 15:40:10 +0300
On 26.11.2021 10:51, Manuel Uberti via Bug reports for GNU Emacs, the 
Swiss army knife of text editors wrote:
> This is what I did from emacs -Q:
> 
> - M-x fido-vertical-mode
> - C-x p p and I picked a project where I had previously stashed a change 
> with vc-git-stash
> - hit v for VC-Dir
> - M-x vc-git-stash-pop
> - See attached screenshot

Hi!

Does this help?

diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 3f89fad235..24c4535ed1 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1685,7 +1685,7 @@ vc-git-stash-read
   (let ((stash (completing-read
                  prompt
                  (split-string
-                  (or (vc-git--run-command-string nil "stash" "list") 
"") "\n")
+                  (or (vc-git--run-command-string nil "stash" "list") 
"") "\n" t)
                  nil :require-match nil 'vc-git-stash-read-history)))
     (if (string-equal stash "")
         (user-error "Not a stash")




This bug report was last modified 3 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.