From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Friendlier dired experience [CODE INCLUDED] Date: Wed, 4 Nov 2020 11:28:44 -0800 Message-ID: References: <20201103104340.q34kqfita55w2u7h@E15-2016.optimum.net> <20201103171627.f33ud4xkwv6rqvcq@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29647"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs-Devel List To: Boruch Baum , Jean Louis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 04 20:29:21 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kaOTA-0007Ya-LM for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Nov 2020 20:29:20 +0100 Original-Received: from localhost ([::1]:34374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaOT9-0002NF-L8 for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Nov 2020 14:29:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaOSe-0001wh-2A for emacs-devel@gnu.org; Wed, 04 Nov 2020 14:28:48 -0500 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:44716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kaOSc-00084Y-J5 for emacs-devel@gnu.org; Wed, 04 Nov 2020 14:28:47 -0500 Original-Received: by mail-ed1-x535.google.com with SMTP id w1so22547980edv.11 for ; Wed, 04 Nov 2020 11:28:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=/gHmQKxhKAf3QC2s1QFw+JLHg4eRwknvdU/OS8HFcsU=; b=ku4+pxEbuHBOqsaGv/o7EtaJyHx0sqxZdZomaeeXcLExjwcfxHZEMLqiVXD8RNxwHN I72PheR3pW5M4cL4Khen4M1vMMTveiwpxEtx8UgMDFIbyF0O9fWsDHdcw5bl4esO5HfG Z3muzQe42N5Czm0lG9rZrNX7mPy9UHozJvc0Mqw1NDrSPgigRw+n4amHDduTB46afzFT 3EoO/+zY9NaKEGJGHojvyWeQAS3FK3FbA+El79H3tYT51UDckOBjZ4MajNf1eEyriOQs pqEN9pWB8ohgswUBmX2hOx950ihASTyhCKkO2nBl3Bfu619XvMhrkfqwW+1PJn0pgteC 5LjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=/gHmQKxhKAf3QC2s1QFw+JLHg4eRwknvdU/OS8HFcsU=; b=WINJkViAC7WHKbYUVmfpjyZii7uxjBYf2SG4NCtCqSl4ehu6qKXv66OxbtIhtD4K6n y5pxyUNZUC8q/ndbbf9VHjwINqGyLZFwcMpHi7wrmacolMsvaGP+J+ZuEAZjLFmw69mn egzeyNDmIn2ciDlUdbDSTvV0uEvO3x1Za/BsuE3p+Rzgx6pSkuFEe+h6jFuFWvBL9yVl WHCoTfjCiUaColu71IDyXs99/sokLOG2UxKBoT23hLpIK8eOp3xjcbOjx2oSxTKIvAPR IInv+f+28ePsEaPpFbnWZDU0l+k8uy0ns012Aw192PSrOD0tojs/BFMpxZW0LNbwOfNm XSfQ== X-Gm-Message-State: AOAM532HFPCH/m8cr/XVFdWgPMIagG+bNsmpOZqcKdRk96GqxMi578v0 2CVM0p0tskyK/vHElORqeVZ8ehonR0burEWlUs4= X-Google-Smtp-Source: ABdhPJwlcLPgl2XcB2bgnUPeB/xxiCVhQGVKIrMZQ0j8rx6efCP/FxC/J+4Gg5VM4UCFb4sE93x73vnp/ceD6X6N1Vk= X-Received: by 2002:aa7:d888:: with SMTP id u8mr27892878edq.210.1604518125153; Wed, 04 Nov 2020 11:28:45 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 4 Nov 2020 11:28:44 -0800 In-Reply-To: <20201103171627.f33ud4xkwv6rqvcq@E15-2016.optimum.net> Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x535.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258698 Archived-At: Boruch Baum writes: > On 2020-11-03 19:10, Jean Louis wrote: >> I use trash folder as to prevent some mistakes when deleting >> stuff. This package should support the built-in features and not >> deviate, though I do not know if it deviates in relation to trashing. > > It's designed not to deviate. You can look at the source code to see > that it handles all cases. But it seems to extend the functionality, right? I don't know, but I don't think Emacs can currently: - restore trashed files to their original locations - empty the trash - view trash summary information The only command I can find here is `move-file-to-trash'. So why not add that stuff directly to Emacs? It seems to me that it would be useful. Say we use the prefix `trash' to get: `trash-empty', `trash-view-summary', `trash-restore' or something along those lines.