unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Manuel Uberti <manuel.uberti@inventati.org>, 52119@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	[thread overview]
Message-ID: <3e62c885-b9aa-c8ea-541c-9e9fca6da740@yandex.ru> (raw)
In-Reply-To: <8f8cf7c9-1b15-5d4b-add3-05559fad16e2@inventati.org>

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")





  parent reply	other threads:[~2021-11-26 12:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26  7:51 bug#52119: 29.0.50; Blank lines in vc-git-stash-pop with fido-vertical-mode Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-26  7:53 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-26 12:40 ` Dmitry Gutov [this message]
2021-11-26 12:48   ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-26 13:04     ` Dmitry Gutov

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=3e62c885-b9aa-c8ea-541c-9e9fca6da740@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=52119@debbugs.gnu.org \
    --cc=manuel.uberti@inventati.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).