bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27952: 26.0.50; Combine archive-int-to-mode and tar-grind-file-mode


From: Tino Calancha
Subject: bug#27952: 26.0.50; Combine archive-int-to-mode and tar-grind-file-mode
Date: Wed, 16 Aug 2017 22:13:48 +0900 (JST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)



On Wed, 16 Aug 2017, npostavs@users.sourceforge.net wrote:

Tino Calancha <tino.calancha@gmail.com> writes:

+                          (replace-regexp-in-string
+                           ",\\`" ""

This regex doesn't match anything, did you mean \\' at the end?
Yes, you are right.  I wanted to drop comma 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.
Yeah, for those people not having nbc.el (num-base-converters) might be
easier to follow.  Opps, i am the only one having nbc.el! :-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]