From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs master + org Wrong type argument: number-or-marker-p Date: Mon, 01 Aug 2022 19:39:47 +0300 Message-ID: <83zggn2a0c.fsf@gnu.org> References: <83bkt42ifq.fsf@gnu.org> <87a68ovw0b.fsf@posteo.net> <835yjc2c6f.fsf@gnu.org> <8335eg2ao9.fsf@gnu.org> <875yjbexde.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25001"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, silent2600@gmail.com, emacs-devel@gnu.org To: Philip Kaludercic , Mattias =?utf-8?Q?Engdeg=C3=A5?= =?utf-8?Q?rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 01 18:51:49 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIYdx-0006KD-Qs for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Aug 2022 18:51:49 +0200 Original-Received: from localhost ([::1]:46692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIYdw-0003zU-JA for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Aug 2022 12:51:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIYSZ-0003Yh-4a for emacs-devel@gnu.org; Mon, 01 Aug 2022 12:40:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIYSY-00083a-FH; Mon, 01 Aug 2022 12:40:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=MEkoXrZ8kpnBQhu3Sdth0IpE/pcs8mIcEobSMZKeORI=; b=N21wZK+oSiMB2HmwyDyt 9bjLhGjfDF0fQEgkyb3v+Tt0ffW9TOawjGTjdlvv5UzjDrVhll33hwMDw+EjnLvZtnwsJ2xGFVNXC uRtdKThVmiE8mBwM+P2lfUYwcITbFvct9ChDRnnecJ/dfnNZ2wZRxY5w3s71UjObCTlRrULRtq8gi XAJLh165mJXVtp88yRYWPzOwNImSGhRkL1Vk/e5KHNaY/LSHezB+dXTTmiSDoA9L5sYOkJGPZihrN ZcOkPwItzoXQwbBNj9QOXPZj2gdi1lLKh9qifDR4iPehR97wATi4CwEh3AfOJoWUXssbcfb2rCmPz FhU8I5Gla+fwQQ==; Original-Received: from [87.69.77.57] (port=3253 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIYSU-0005h8-Sj; Mon, 01 Aug 2022 12:40:00 -0400 In-Reply-To: <875yjbexde.fsf@posteo.net> (message from Philip Kaludercic on Mon, 01 Aug 2022 16:34:21 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292946 Archived-At: > From: Philip Kaludercic > Cc: Gregory Heytings , silent2600@gmail.com, > emacs-devel@gnu.org > Date: Mon, 01 Aug 2022 16:34:21 +0000 > > Eli Zaretskii writes: > > >> I think it's the new optional argument to narrow-to-region, which adds an > >> argument to the narrow-to-region opcode in byte-compiled code. > > > > If that's the reason, why didn't it affect more files? > > narrow-to-region is called in much more places. > > > > And if it's indeed due to narrow-to-region, we may have a problem: it > > means old bytecode will not work with Emacs 29 and later. > > Should the functionality be moved out into a separate command > (e.g. `narrow-to-region-lock')? It isn't a command. Anyway, please hold your horses. Mattias, can you please look into this? If indeed the change in narrow-to-region caused the problem, can we make the change in a way that doesn't break backward compatibility of the byte code, or is that impossible with primitives that have their own operation bytecode?