emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Treat :tangle-mode as an octal value not integer


From: tomas
Subject: Re: [PATCH] Treat :tangle-mode as an octal value not integer
Date: Wed, 29 Sep 2021 10:22:23 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Sep 29, 2021 at 09:52:23AM +0200, dkrm wrote:
> 
> Jeremy Cowgar <jeremy@cowgar.com> writes:

[...]

> > Are you suggesting this currently works or that the patch should be
> > changed to make that work? A quick try on my local system (pre-patch),
> > I receive the error:
> >
> >   Wrong type argument: fixnump, "#o660"
> 
> You have to use the `identity` function for it to works: :tangle-mode 
> (identity #o660)

Not the original poster, but I'd understand if they think
this is "too roundabout" to just express a file mode.

I think #o would have been acceptable, but changing that
now might break a lot of stuff out there (every param
beginning with `#o'?

OTOH, adding special rules for params seems at least as
dangerous.

Are there better ideas?

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


reply via email to

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