unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Simen Heggestøyl" <simenheg@gmail.com>
Cc: 31732@debbugs.gnu.org
Subject: bug#31732: 26.1; vc-dir: Deleting unregistered files
Date: Sat, 13 Jul 2019 06:12:00 +0200	[thread overview]
Message-ID: <87wogmwp2n.fsf@mouse.gnus.org> (raw)
In-Reply-To: <1528271796.7580.1@smtp.gmail.com> ("Simen \=\?utf-8\?Q\?Heggest\?\= \=\?utf-8\?Q\?\=C3\=B8yl\=22's\?\= message of "Wed, 06 Jun 2018 09:56:36 +0200")

Simen Heggestøyl <simenheg@gmail.com> writes:

> I'd find it handy to be able to delete unregistered files directly
> from the VC Directory buffer, similar to what Magit does when typing
> 'k' on an untracked file.
>
> Maybe there could be a way to delete multiple files at once too, by
> marking them first.

Yes, that's a command I've always missed.  I've added it to the trunk
now, bound to the `d' keystroke.

By the way, there's already a `vc-dir-delete-file' command, but it only
works for tracked files, and will notify the underlying VC.  So the new
command is called `vc-dir-delete-files-no-vc', which is a pretty awkward
name.  If anybody wants to change it -- please do.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-07-13  4:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06  7:56 bug#31732: 26.1; vc-dir: Deleting unregistered files Simen Heggestøyl
2019-07-13  4:12 ` Lars Ingebrigtsen [this message]
2019-07-14  1:16   ` Noam Postavsky
2019-07-14 12:26     ` Lars Ingebrigtsen

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=87wogmwp2n.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=31732@debbugs.gnu.org \
    --cc=simenheg@gmail.com \
    /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).