From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net 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 08:00:03 -0400 Message-ID: <87fucrzprw.fsf@users.sourceforge.net> References: <8760e3zf6v.fsf@calancha-pc> <87efsb7n6y.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502884754 7084 195.159.176.226 (16 Aug 2017 11:59:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Aug 2017 11:59:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: 27952@debbugs.gnu.org, stefan monnier To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 16 13:59:10 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 1dhwyY-0001R3-I9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Aug 2017 13:59:06 +0200 Original-Received: from localhost ([::1]:41254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhwyf-0001d5-1g for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Aug 2017 07:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhwyY-0001cK-Ns for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 07:59:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhwyU-0002pl-W4 for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 07:59:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhwyU-0002pa-S3 for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 07:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dhwyU-00034b-Jx for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 07:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Aug 2017 11:59:02 +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.150288471311772 (code B ref 27952); Wed, 16 Aug 2017 11:59:02 +0000 Original-Received: (at 27952) by debbugs.gnu.org; 16 Aug 2017 11:58:33 +0000 Original-Received: from localhost ([127.0.0.1]:40278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhwy0-00033o-Nc for submit@debbugs.gnu.org; Wed, 16 Aug 2017 07:58:32 -0400 Original-Received: from mail-it0-f53.google.com ([209.85.214.53]:35236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhwxz-00033Z-8X for 27952@debbugs.gnu.org; Wed, 16 Aug 2017 07:58:31 -0400 Original-Received: by mail-it0-f53.google.com with SMTP id 76so16329973ith.0 for <27952@debbugs.gnu.org>; Wed, 16 Aug 2017 04:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=KoVUT4ViE9p9YNnKiGMXyLnibN0jq6EG+uq4C1D/h1k=; b=MbBONnV3Mty3s1xy1j+CJD4F9BrH1pE2b512UJ7uHLI9CJ0J3wRoED9Eil36BbUvp1 s6uQmHKTK72WprJsaGnPb+DQBQMNfNDvgbnQH2qh8rNg9n0D0k6cBBuqZO+5XWVyjQfy WIG0586M0wcXFnO8t6xKsaQn8w4STOunmD0kNAfkka7sq/TqqRryjCz+ZqHDfILOu3Hq WEnocNvs1ik7VLljbvih4ovrg864GS/ctry6JTXavjL+xrvrVeT0PwP+xvwEToAt5KCS gl9nFwd66AQAca5UbKMfEgASYuP9CFxv62kgPwjqircC8VHUquEbzs1xI+j6hiWY6ZBu 0ruw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=KoVUT4ViE9p9YNnKiGMXyLnibN0jq6EG+uq4C1D/h1k=; b=lLssVbm+sH/Zicz7+gfItPJIATnfJmJYF3J2G+nJMCgmgFlqfJ+f0uyInegcHThn+R bx+j/oUD4WOkogB7ZY40CuiM48FboQAQvwO5MtxHEdt9foIZxAbSkMTj0TxuB5tKyIId Z/ot8E3jMWqPjt/Jb5agToaeVHx3lZ9OyCgB+8xliRQIp7siffwJiCIhcZD4eAi8gREd YOeY2TYbnfkqoVm2KetHbHCf+afbo3mxNvdvu13U4dPYjBNq8IcjRz7Q3iWoMOSAQpvH sA9mo8Hb9bcPi0T09zO4aZwTuX615smCMTKmPudiPM/Do+GwDEotKNjuDwmRdUQcugfk lVeQ== X-Gm-Message-State: AHYfb5gliVAl7Ad++n8gbUq00DzHRC5/b/LkQIhC6nXoYd48RFTKb7SH uzPbIQw7xfmCnQ== X-Received: by 10.36.41.143 with SMTP id p137mr1467766itp.98.1502884705666; Wed, 16 Aug 2017 04:58:25 -0700 (PDT) Original-Received: from zony ([45.2.119.49]) by smtp.googlemail.com with ESMTPSA id o10sm256830ioe.27.2017.08.16.04.58.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Aug 2017 04:58:25 -0700 (PDT) In-Reply-To: <87efsb7n6y.fsf@calancha-pc> (Tino Calancha's message of "Wed, 16 Aug 2017 20:43:17 +0900") 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:135807 Archived-At: Tino Calancha writes: > + (replace-regexp-in-string > + ",\\`" "" This regex doesn't match anything, did you mean \\' at the end? > (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 448, then it produces `rwx------'." IMO, it's clearer if you write #o700 instead of 448 here, perhaps in the code too.