hi, Timothy, > I’ve just pushed three commits that > 1. Add “o555” as an octal shorthand > 2. Perform a simple check that integer modes are valid* > 3. Make the ls-style regex stricter > ... > * For example, “:tangle-mode 755” will now produce the warning: > “1363 is not a valid file mode octal. Did you give the decimal value 755 by > mistake?”. Maybe it would be worth adding “if so try o755” or similar?
i'd push back, even here, on allowing decimal. file modes are bit masks. to me, offering a way to set a bit mask via a *decimal* value seems a mistake. my +/- one cent. cheers, Greg