emacs-devel
[Top][All Lists]
Advanced

[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 20:59:41 +0300

> From: Mattias Engdegård <mattiase@acm.org>
> Date: Mon, 1 Aug 2022 19:36:56 +0200
> Cc: philipk@posteo.net, gregory@heytings.org, silent2600@gmail.com,
>         emacs-devel@gnu.org
> 
> Frankly I'd recommend that the whole change be reverted because it performs 
> unbalanced specbinds which we expect functions not to do. I don't think it 
> can be salvaged in its current form; better back it out and let the author 
> submit a new proposal for how to handle the problem.

OK, thanks.

Gregory, we don't really need to be able to make such "locked"
narrowing from Lisp, do we?  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.

If we do need to have a 3-arg version exposed to Lisp, a separate
DEFUN is probably the best alternative.



reply via email to

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