[Top][All Lists]

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

Re: emacs master + org Wrong type argument: number-or-marker-p

From: Gerd Möllmann
Subject: Re: emacs master + org Wrong type argument: number-or-marker-p
Date: Mon, 01 Aug 2022 19:36:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

Hi Lars!

> I had a quick look at some things in byte-defop-compiler that have
> changed arity (or made things optional) to see whether that's happened
> before, and it has.  So I'm not sure that's the explanation.

I can confirm that narrow-to-region in its new form is not compatible
with old byte code.  The reason: old byte code puts 2 values on the byte
stack, the new byte code implementation expects 3 values on the stack.
What the third value will be is whatever happenes to be there.  And what
happens when it finds an integer or marker is also less desirable.

> Other bug reports about this has mentioned `file-name-sans-extension',
> which doesn't use `narrow-to-region' as far as I can see.

That's unrelated: It was an error in nextstep/Makefile.in by which Emacs
didn't have a .pdmp, and hence didn't have a file-name-sans-extension

reply via email to

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