From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#27952: 26.0.50; Combine archive-int-to-mode and tar-grind-file-mode Date: Wed, 16 Aug 2017 22:10:17 +0900 (JST) Message-ID: References: <8760e3zf6v.fsf@calancha-pc> <87efsb7n6y.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1502889085 908 195.159.176.226 (16 Aug 2017 13:11:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Aug 2017 13:11:25 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: 27952@debbugs.gnu.org, stefan monnier , Tino Calancha To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 16 15:11:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dhy6H-0007sh-O2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Aug 2017 15:11:09 +0200 Original-Received: from localhost ([::1]:45578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhy6O-0005IT-6V for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Aug 2017 09:11:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhy6F-0005H7-Ds for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 09:11:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhy6B-0004RU-CY for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 09:11:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59941) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhy6B-0004RM-8d for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 09:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dhy6B-0004vb-3A for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 09:11:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Aug 2017 13:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27952 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 27952-submit@debbugs.gnu.org id=B27952.150288903018899 (code B ref 27952); Wed, 16 Aug 2017 13:11:03 +0000 Original-Received: (at 27952) by debbugs.gnu.org; 16 Aug 2017 13:10:30 +0000 Original-Received: from localhost ([127.0.0.1]:40388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhy5d-0004ul-L7 for submit@debbugs.gnu.org; Wed, 16 Aug 2017 09:10:29 -0400 Original-Received: from mail-pg0-f52.google.com ([74.125.83.52]:34890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhy5b-0004uW-UR for 27952@debbugs.gnu.org; Wed, 16 Aug 2017 09:10:28 -0400 Original-Received: by mail-pg0-f52.google.com with SMTP id v189so22847175pgd.2 for <27952@debbugs.gnu.org>; Wed, 16 Aug 2017 06:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=DjYECUcztDEK76GPE/AuXfm1oxfMDqNaCzESzACTs+w=; b=Xhcj6yvo/wc/k90NGvDRSVnMtsoG6oqs6faxFgOdpTqemeGAmn6lnA0lYCV9cVSkj3 QhKfIiuDlRE3D8jl37iq/FLnc6APE2TpxXRy7Q2lze6Pnn80by/n8ln1bCGJixm9n0r8 OGFyDFTJxt1/tDZHkkJf5BJwnW7tFaXJvGvq3OcwWn1xJEF8KFSvwUb7b74ej+7jHEiS ls7yXHtngAz/0VoDZYCfSFQpnB8S13go8uVf8as060BS6+8Zr40yF+4Z91UQizHhEIGp h1mDsjBeDiaWZGHbQhpq3tK85ZnteTnSd3ASSnZDX7QlgAxb5gcEPy8pUXjwFRn0NnUy 61Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=DjYECUcztDEK76GPE/AuXfm1oxfMDqNaCzESzACTs+w=; b=Byh/3HfWYty+bkrYon5+naxmOyoxKY8IxzYvElgs+g5gvVLvclEsMh0RnOKltv6b/2 F/itKvBeoNKczxxAcg/qKbInkMDNAELrb5AXE9MApBXUMW9MgwM3jI/GUFPCsYNwI8/L 3uOV4GGdtJSR3UZ+awUA9kZIVx06PZKjvMefLVyK1eL9RqfSD5xVeORvrK1mrKywRJII 0EeP9A2Jzzga5nugl/ef3OvBmA8iLeTbgF6Bg8NVYVFyHUubeiO2IM61TBHk+9azuY4z rl9WC3etPcESp5XuqkOWTiU0qYJ30GDcL1YMN1AvuH0xkEQcb6FPZP4Km0F8HEZMrbVV DVow== X-Gm-Message-State: AHYfb5hHOzEARgyl+ltLNWcjB+G5lG41Nh6wreKjbSXC+026olg9rMjW ifbSVYJA1wEEHA== X-Received: by 10.84.143.1 with SMTP id 1mr1888964ply.103.1502889021856; Wed, 16 Aug 2017 06:10:21 -0700 (PDT) Original-Received: from calancha-pc (170.224.128.101.dy.bbexcite.jp. [101.128.224.170]) by smtp.gmail.com with ESMTPSA id s3sm3830704pgn.70.2017.08.16.06.10.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Aug 2017 06:10:20 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135810 Archived-At: On Wed, 16 Aug 2017, Andreas Schwab wrote: > On Aug 16 2017, Tino Calancha wrote: > >> +Note: This is not the inverse of `file-modes-symbolic-to-number'; >> +The reason is that this function might return an string containing 'S' >> +or 'T' i.e., not valid characters for `file-modes-symbolic-to-number'. >> +For example, (file-modes-symbolic-to-number \"o=t\") returns 512; >> +and (file-modes-number-to-symbolic 512 t) returns \"o=T\"." > > Why would it use uppercase T in the detailed case? Uppercase is only > needed when it would overlay the 'x' position in the non-detailed case. Not special reason i think. To keep more similar with the case when DETAILED is nil. (file-modes-number-to-symbolic 512) => "---------T" At the end of the function that is changed into "o=T" with: (funcall replace-fn (replace-regexp-in-string "-" "" ... I liked like this when i wrote the patch. We could changed it in case is confusing.