From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#27952: 26.0.50; Combine archive-int-to-mode and tar-grind-file-mode Date: Fri, 08 May 2020 16:06:27 -0400 Message-ID: References: <8760e3zf6v.fsf@calancha-pc> <87h83bqfem.fsf@marxist.se> <871rnzzzgd.fsf@stefankangas.se> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="73337"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Kangas , Lars Ingebrigtsen , 27952@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 08 22:07:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jX9H4-000Ivu-RW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 May 2020 22:07:10 +0200 Original-Received: from localhost ([::1]:60920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jX9H3-0006tw-QF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 May 2020 16:07:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jX9Gw-0006t8-GF for bug-gnu-emacs@gnu.org; Fri, 08 May 2020 16:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jX9Gw-0003F5-6e for bug-gnu-emacs@gnu.org; Fri, 08 May 2020 16:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jX9Gw-0005lV-15 for bug-gnu-emacs@gnu.org; Fri, 08 May 2020 16:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 May 2020 20:07:01 +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.158896839822128 (code B ref 27952); Fri, 08 May 2020 20:07:01 +0000 Original-Received: (at 27952) by debbugs.gnu.org; 8 May 2020 20:06:38 +0000 Original-Received: from localhost ([127.0.0.1]:46392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jX9GY-0005kq-He for submit@debbugs.gnu.org; Fri, 08 May 2020 16:06:38 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:48809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jX9GV-0005kY-Ut for 27952@debbugs.gnu.org; Fri, 08 May 2020 16:06:36 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 6CBF7450AD7; Fri, 8 May 2020 16:06:30 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EEC85450AD4; Fri, 8 May 2020 16:06:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1588968388; bh=ja97boTAacq3jriGY9/pj/Guiliw2wmHdJY+96AUqAk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=YJiebz6Si/NKM9sir3iXIPfnp9RTEVWLZNGvL0Sq9365yky/sQVrewym37nJ3fyoK BHH8Zn+GueC4TfQpCGpQ1YV3JAve2sdccnMPdgb3fxfBRzpnBrpnoDpBesken8OMAd oGYGwXNVdv9PFyYw+qG/Ka2iHB5d+ON9a8GT9WhvXUtQsHYZPDPxAT6Z3kF7SXnPx3 XqEaKfjdtkJZ1zuMEkxyLHLehoVy8mHTXC+UsW01tCAnmXILUt6UGRXIYpceErH2uZ mEdZn9NbmXg2WrrUFaoEeKsH15EHlrF53anVLQaTraSK0VtcZdmPu1Wv8bnn3FnJe/ aCAwRj+TxgJjQ== Original-Received: from alfajor (unknown [216.154.3.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 85683120735; Fri, 8 May 2020 16:06:28 -0400 (EDT) In-Reply-To: (Tino Calancha's message of "Fri, 8 May 2020 21:53:24 +0200 (CEST)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179940 Archived-At: > +(defalias 'archive-int-to-mode 'file-modes-number-to-symbolic) Make it a `define-obsolete-function-alias`. > (defun tar-grind-file-mode (mode) > "Construct a `rw-r--r--' string indicating MODE. [...] > +MODE should be an integer which is a file mode value. > +For instance, if mode is #o700, then it produces `rwx------'." > + (substring (file-modes-number-to-symbolic mode) 1)) LGTM. A second step might be to mark this function as obsolete and update all the call sites so they are happy with the output format of `file-modes-number-to-symbolic`. Stefan