From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: [found the culprit] Date: Sat, 17 Nov 2018 15:04:16 +0700 Message-ID: References: <27024.1542249282@alto> <699bb0e3-e2b9-43e9-b5e5-8113a7219d6b@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542441754 29514 195.159.176.226 (17 Nov 2018 08:02:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2018 08:02:34 +0000 (UTC) Cc: =?UTF-8?Q?Cl=C3=A9ment_Pit=2DClaudel?= , Drew Adams , Emacs developers To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 17 09:02:29 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNvYj-0007a3-89 for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2018 09:02:29 +0100 Original-Received: from localhost ([::1]:48373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNvap-0004gU-QL for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2018 03:04:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNvah-0004gP-EI for emacs-devel@gnu.org; Sat, 17 Nov 2018 03:04:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNvag-0002Ro-Lr for emacs-devel@gnu.org; Sat, 17 Nov 2018 03:04:31 -0500 Original-Received: from mail-ot1-x342.google.com ([2607:f8b0:4864:20::342]:40688) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gNvaf-0002Pn-M8; Sat, 17 Nov 2018 03:04:29 -0500 Original-Received: by mail-ot1-x342.google.com with SMTP id s5so23470185oth.7; Sat, 17 Nov 2018 00:04:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JdsisC5jCwOKM3HwA9TVajkOcDT+M/9NJb9MH7tTHBE=; b=gWjmAibVtYXmDsheWYb4SRnmWKNPOJKym/tM3GBzz47NkzxK49knJMBK3syTXE32GL TQ8lIyA4IBBdiF2A0qv0oNxtVe8izDdgrEJyHsj+Qhy1pUxFP/DAfbfcx7Q8qZHtTmrW m7zAh94XOH69UMJHHstyUYn0KOqfnoSOVXN8IoHV2wmHfiCqvYCfsKHPx366WEYIUGNd NRElC6MgNlaF/lUeQ1qh/sPnsaLlZVUcte2zbcXYzkWm4riMPyfMeyxs6DEJB3jK9QAq dB0OPb8idap0WqKyrmvPBF1Us7LkCegCcZngXHMQujt5quaRoKMgdUSSn4gXPHzma6ZG pbJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JdsisC5jCwOKM3HwA9TVajkOcDT+M/9NJb9MH7tTHBE=; b=Dio1lY4di1pUA4tDtZPpRqhbdlDhMkfF4dCMJiO1DDcnoNPhVr7yvepZlkhPsLqAwz dsYIok8oB8Bo8ocwCYO5Lw41IOG9vgthtSPScGFvNRkViPfOziJd50zzFZ5YYPNIhnxr QjF9VXniU28xYyhINcemDJu+iSGdPIJOb9qgnQ2Iai1lWozIPz1a8KZ6sLC8pQKPC5FC VgkN7reQgh/s2pRMA3YU0Wisi7MMc6010gqS+Ti7R0vKY1cMFewpNcMGodtGh4ecaYoC YMqI+Fxf24Ru/fpIS60jzmm7NfLgTE9Rd1dJcv3zjhdb725d0+JXbGhjEP37q6xp7PMs O2EQ== X-Gm-Message-State: AGRZ1gIV0j+7fy8cNO/+0Yy9g/INEt0UW9I+wKnYsfDH6zdSrlciSKOL cYQJEpDtdHGz8XgtlbCvPqpP/O+bVvdeRCScfHGOhA== X-Google-Smtp-Source: AJdET5eMt70YKmzzOigyJOwHj09u/NXxgd3Vhts+NAwBUoXrZntreKyUaEHGPcLrmza0sYdVRZinSnsv0HTfShrABEw= X-Received: by 2002:a9d:bee:: with SMTP id 101mr8728349oth.120.1542441868907; Sat, 17 Nov 2018 00:04:28 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::342 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231212 Archived-At: On Sat, Nov 17, 2018 at 6:02 AM Richard Stallman wrote: > I do not see how to support packing an archive in Dired, because I do > not see a clean and simple way to specify which files to put in it. In the majority of the actual use cases, one wants to pack one or more files or subdirectories located in the current directory, with directories packed recursively with all their contents. The natural UI to that is =E2=80=9Coptionally mark everything you want packed, type a key, enter the archive name=E2=80=9D. If no items are marked, pack the file or directory at point. A more involved scenario is that one has a tree where some files should and others should not go into the archive. Any other file manager would be hard-pressed to support this efficiently, but Dired has the =E2=80=98dired-maybe-insert-subdir=E2=80=99 feature (bound to =E2= =80=98i=E2=80=99 by default) that expands a subdirectory in the same buffer. So one could expand as many subdirectories as are necessary to make the selection, set marks, and invoke the archiving command, which would pack the files keeping the relative directory structure. An even more involved case is where one has a tree and wants to pack its files into a different directory structure. Most command-line archivers do not even provide for that case, so Dired needn=E2=80=99t eithe= r.