[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: Eli Zaretskii
Subject: Re: emacs master + org Wrong type argument: number-or-marker-p
Date: Mon, 01 Aug 2022 21:25:22 +0300

> Date: Mon, 01 Aug 2022 18:06:50 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: Mattias Engdegård <mattiase@acm.org>, philipk@posteo.net, 
>     silent2600@gmail.com, emacs-devel@gnu.org
> > If we don't, my suggestion is to make a 3-arg C function whose guts is 
> > the current code of Fnarrow_to_region, and then have Fnarrow_to_region 
> > call that with the last argument nil. Then the changes in the byte 
> > compiler, byte-interpreter, and native-compiler can be reverted.
> I'll do that.  But that wouldn't solve the "unbalanced specbinds" Mattias 
> mentions.  Is it not allowed to specbind in a function and to unbind in 
> its caller?  I don't see why it wouldn't, but I may be missing something.

It's a bit...unorthodox.

Can't we instead specbind in the caller and unbind after the call
returns?  If this isn't required from Lisp, I see no problem with
that.  Do you?

reply via email to

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